When compiling for Gtk2, make sure we link with gthread as well.

svn path=/trunk/; revision=6181
This commit is contained in:
Ronnie Sahlberg 2002-09-04 22:12:30 +00:00
parent 174fb49854
commit 159eb51139
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.175 2002/08/31 09:55:18 oabad Exp $
# $Id: configure.in,v 1.176 2002/09/04 22:12:30 sahlberg Exp $
dnl
dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that
@ -227,7 +227,7 @@ AM_CONDITIONAL(USE_GTK2, test x$enable_gtk2 = xyes)
#
if test "x$enable_gtk2" = "xyes" -a "x$enable_ethereal" = "xyes" ; then
GTK_OK=two
AM_PATH_GTK_2_0(2.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no )
AM_PATH_GTK_2_0(2.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no, gthread)
elif test "x$enable_gtk2" = "xno" -a "x$enable_ethereal" = "xyes" ; then
GTK_OK=one
AM_PATH_GTK(1.2.0, CFLAGS="$CFLAGS $GTK_CFLAGS", GTK_OK=no )