summaryrefslogtreecommitdiff
path: root/wiretap/configure.in
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2003-01-30 10:20:47 +0000
committerJörg Mayer <jmayer@loplof.de>2003-01-30 10:20:47 +0000
commit758685ca0db1f0cf8e50bf30d632372777e68dcb (patch)
tree750329a0be267014ac148110fb221d62578ca135 /wiretap/configure.in
parent5dc66497b74c45fcd25fe82f34e173585734846d (diff)
downloadwireshark-758685ca0db1f0cf8e50bf30d632372777e68dcb.tar.gz
AC_ARG_ENABLE takes 4 argument: The 3rd specifies what to do in case a
configure option is given on the command line. The value of the arguement is passwd in the enableval variable. The 4th argument tells what to do in case no command line argument was given. This causes --disable-gtk2 (which is the default) to behave differently from the case when no option is given. I do not really understand where the difference in the behaviour of the generated codes comes from, but I definitely see a difference. Fixed all occurrences where the 3rd arguement was empty. svn path=/trunk/; revision=7044
Diffstat (limited to 'wiretap/configure.in')
-rw-r--r--wiretap/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/configure.in b/wiretap/configure.in
index 4c8c19fbe2..5f937d1145 100644
--- a/wiretap/configure.in
+++ b/wiretap/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.44 2002/11/28 04:21:31 guy Exp $
+# $Id: configure.in,v 1.45 2003/01/30 10:20:44 jmayer 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
@@ -106,7 +106,7 @@ else
fi
AC_ARG_ENABLE(gtk2,
-[ --enable-gtk2 build Glib2/Gtk2+-based (t)ethereal. [default=no]],enable_gtk2=yes,enable_gtk2=no)
+[ --enable-gtk2 build Glib2/Gtk2+-based (t)ethereal. [default=no]],enable_gtk2=$enableval,enable_gtk2=no)
if test "x$enable_gtk2" = "xyes" ; then
AM_PATH_GLIB_2_0(2.0.0, CFLAGS="$CFLAGS $GLIB_CFLAGS" LIBS="$LIBS $GLIB_LIBS", , gmodule)