--- somax/configure.ac 2007/04/19 12:59:32 1.21 +++ somax/configure.ac 2007/05/02 12:13:14 1.22 @@ -79,15 +79,16 @@ fi AH_VERBATIM([ENABLE_VTE],[#undef ENABLE_VTE]) AC_ARG_ENABLE(gtksourceview,AC_HELP_STRING([--enable-gtksourceview],[enable gtksourceview library support (default=yes)]), gtksourceview=$enableval, gtksourceview=yes) +AH_VERBATIM([ENABLE_GTKSOURCEVIEW],[#undef ENABLE_GTKSOURCEVIEW]) + if test "$gtksourceview" = yes; then GTKSOURCEVIEW="gtksourceview-1.0" - AM_CONDITIONAL(ENABLE_GTKSOURCEVIEW, ! test "$GTKSOURCEVIEW" = "") AC_DEFINE(ENABLE_GTKSOURCEVIEW, 1, [GtkSourceView support]) else GTKSOURCEVIEW= fi -AH_VERBATIM([ENABLE_GTKSOURCEVIEW],[#undef ENABLE_GTKSOURCEVIEW]) +AM_CONDITIONAL(ENABLE_GTKSOURCEVIEW, ! test "$GTKSOURCEVIEW" = "") AC_ARG_ENABLE(gnomeprint,AC_HELP_STRING([--enable-gnomeprint],[enable gnome print (default=yes)]), gnomeprint=$enableval, gnomeprint=yes) if test "$gnomeprint" = yes; then