Make it abort if GNOME cannot be found and the --without-gnome parameter

1998-12-06  Martin Baulig  <martin@home-of-linux.org>

	* configure.in: Make it abort if GNOME cannot be found and
	the --without-gnome parameter was not given.
This commit is contained in:
Martin Baulig
1998-12-06 13:38:28 +00:00
committed by Martin Baulig
parent 213fb37f26
commit 151c5ee80e
2 changed files with 13 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
1998-12-06 Martin Baulig <martin@home-of-linux.org>
* configure.in: Make it abort if GNOME cannot be found and
the --without-gnome parameter was not given.
1998-12-03 Martin Baulig <martin@home-of-linux.org>
* LIBGTOP-VERSION (LIBGTOP_VERSION_CODE): Pipe the expression
+8 -1
View File
@@ -62,10 +62,17 @@ AM_PROG_LIBTOOL
dnl Let the user enable compiler warnings
GNOME_COMPILE_WARNINGS
dnl If you want to use libgtop without gnome, comment the following line out.
GNOME_INIT_HOOK(gnome_found=yes)
if test "x$gnome_found" != xyes; then
if test "x$want_gnome" != xno ; then
AC_MSG_ERROR([
*** GNOME was not found on this system. ***
*** If you want to use LibGTop without GNOME, you need
*** to give configure the --without-gnome parameter.
])
fi
GNOME_SUPPORT_CHECKS
else
AM_CONDITIONAL(BUILD_GNOME_SUPPORT, false)