From: short <> Date: Fri, 21 May 2004 19:14:01 +0000 (+0000) Subject: Cosmetic: Removed unused "NEVER" AM_CONDITIONAL. X-Git-Tag: udpgate-1_0~40 X-Git-Url: https://git.jankratochvil.net/?p=udpgate.git;a=commitdiff_plain;h=b353d3fab1012544dd671d0c05f7be754a5be661 Cosmetic: Removed unused "NEVER" AM_CONDITIONAL. Gnome UI is now optional. --- diff --git a/configure.ac b/configure.ac index 66b8eef..8cbaf6a 100644 --- a/configure.ac +++ b/configure.ac @@ -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