Cosmetic: Removed unused "NEVER" AM_CONDITIONAL.
authorshort <>
Fri, 21 May 2004 19:14:01 +0000 (19:14 +0000)
committershort <>
Fri, 21 May 2004 19:14:01 +0000 (19:14 +0000)
Gnome UI is now optional.

configure.ac

index 66b8eef..8cbaf6a 100644 (file)
@@ -60,9 +60,6 @@ AC_ARG_ENABLE(man-pages,
                [  --enable-man-pages=no/yes/auto   pod2man(1) required for man pages (def.=yes)],,enable_man_pages=yes)
 
 
-dnl Permit 'if NEVER' for Makefile.am-s; symbol 'FALSE' forbidden by automake
-AM_CONDITIONAL(NEVER,false)
-
 PERL=
 AC_PATH_PROGS(PERL,perl5 perl)
 AM_CONDITIONAL(HAVE_PERL,test -n "$PERL")
@@ -211,6 +208,11 @@ GLADE_W_INIT([
        ])
 AC_SUBST(GNOMEUI_CFLAGS)
 AC_SUBST(GNOMEUI_LIBS)
+if $have_gnome
+then
+       AC_DEFINE(HAVE_GNOME,,[Compile Gnome support.])
+fi
+AM_CONDITIONAL(HAVE_GNOME,[ $have_gnome ])
 AM_CONDITIONAL(HAVE_GLADE_WRITESOURCE,[ test "x$PATH_GLADE" != "x" ])
 dnl Do not: AM_CONDITIONAL(BUILD_GLADESRC,[ test "xyes" = "x$BUILD_GLADESRC" ])
 dnl as we do not need it as we are conditioned by ENABLE_INSTALL_PKG