From 6de1659640fa5d2a3b27bec69cd13d87b905d5c4 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 24 Sep 1998 08:34:21 +0000 Subject: check whether system type is the same as stored in the cache (full stand-alone macro, candidate for inclusion in the next release of autoconf) create configure flag --enable-maintainer-mode, that enables automatic rebuilding of configure from configure.in and aclocal.m4, and of config.h.in based on acconfig.h. This assumes autoconf and autoheader are available. Maintainer mode also introduces automatic dependency tracking of include files, but it depends on features provided by gcc and GNU make, so you must not enable maintainer mode if you are not using any of these (This used to be commit 64cba1cc8e689bcde2dc124c511da086c33fa4a8) --- source3/configure.in | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 214682a830..ba7320ff4a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -22,13 +22,8 @@ case "$host_os" in *next2*) AC_DEFINE(NEXT2);; esac -if test x"$ac_cv_canonical_host" != x && - test x"$ac_cv_canonical_host" != x"$host"; then - echo "system config has changed - remove config.cache"; exit 1; -fi - -AC_CACHE_VAL(ac_cv_canonical_host, ac_cv_canonical_host=$host;) - +AC_VALIDATE_CACHE_SYSTEM_TYPE +SAMBA_MAINTAINER_MODE AC_INLINE AC_HEADER_STDC @@ -810,7 +805,6 @@ AC_TRY_RUN([#include "${srcdir-.}/tests/summary.c"], echo "configure OK";, AC_MSG_ERROR([summary failure. Aborting config]),:) - AC_OUTPUT(Makefile tests/dummy client/dummy lib/dummy ubiqx/dummy web/dummy param/dummy nmbd/dummy smbd/dummy rpc_server/dummy rpc_client/dummy rpc_parse/dummy locking/dummy passdb/dummy -- cgit