# HG changeset patch # User Sadrul Habib Chowdhury # Date 1156576315 0 # Node ID 12156328fb4fa0de20206544693d638c4560e309 # Parent 1c104df05a38044beb6457adf7ea0c2b71ae3d62 [gaim-migrate @ 17039] Patch #1546776 from Georgi Georgiev. This fixes things if someone uses --enable-gntgaim or --enable-gtkgaim. This also fixes things for --disable-gnt/gtkgaim, so I am reverting some bits from my earlier changes to fix those. committer: Tailor Script diff -r 1c104df05a38 -r 12156328fb4f COPYRIGHT --- a/COPYRIGHT Sat Aug 26 06:26:39 2006 +0000 +++ b/COPYRIGHT Sat Aug 26 07:11:55 2006 +0000 @@ -108,6 +108,7 @@ François Gagné Evgueni V. Gavrilov Ignacy Gawedzki +Georgi Georgiev Ike Gingerich Gustavo Giráldez Richard Gobeille diff -r 1c104df05a38 -r 12156328fb4f configure.ac --- a/configure.ac Sat Aug 26 06:26:39 2006 +0000 +++ b/configure.ac Sat Aug 26 07:11:55 2006 +0000 @@ -528,8 +528,10 @@ AC_ARG_WITH(tkconfig, [ --with-tkconfig=DIR directory containing tkConfig.sh]) AC_ARG_ENABLE(gtkspell, [ --disable-gtkspell compile without GtkSpell automatic spell checking],,enable_gtkspell=yes) AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) -AC_ARG_ENABLE(gtkgaim, [AC_HELP_STRING([--disable-gtkgaim], [compile without GtkGaim client])], , enable_gtk=yes) -AC_ARG_ENABLE(gntgaim, [AC_HELP_STRING([--disable-gntgaim], [compile without GntGaim console client])], , enable_gnt=yes) +AC_ARG_ENABLE(gtkgaim, [AC_HELP_STRING([--disable-gtkgaim], [compile without GtkGaim client])], + enable_gtk=$enableval, enable_gtk=yes) +AC_ARG_ENABLE(gntgaim, [AC_HELP_STRING([--disable-gntgaim], [compile without GntGaim console client])], + enable_gnt=$enableval, enable_gnt=yes) AC_ARG_ENABLE(fatal-asserts, [ --enable-fatal-asserts make assertions fatal (useful for debugging)],,enable_fatal_asserts=no) dnl We know Gaim won't compile with deprecated APIs disabled. dnl We have no desire to support two different versions of the @@ -661,8 +663,6 @@ ]) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) -else - enable_gtk=no fi AC_PATH_XTRA @@ -812,8 +812,6 @@ # Some distros put the headers in ncursesw/, some don't AC_CHECK_HEADER(ncursesw/ncurses.h, [AC_DEFINE(HAVE_NCURSESW_INC, 1, [Define if you have the ncursesw headers in ncursesw/])]) -else - enable_gnt=no fi AC_SUBST(GNT_LIBS) AM_CONDITIONAL(ENABLE_GNT, test "x$enable_gnt" = "xyes")