diff options
author | Alexandre Oliva <oliva@samba.org> | 1998-09-24 08:34:21 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@samba.org> | 1998-09-24 08:34:21 +0000 |
commit | 6de1659640fa5d2a3b27bec69cd13d87b905d5c4 (patch) | |
tree | d8f5e7d6b3657f8904bfb4bd544e8ebc1e6f2d53 /source3/configure.in | |
parent | e5948ffd7f276b4c3ee6916d1dc6c5d8b28ad557 (diff) | |
download | samba-6de1659640fa5d2a3b27bec69cd13d87b905d5c4.tar.gz samba-6de1659640fa5d2a3b27bec69cd13d87b905d5c4.tar.bz2 samba-6de1659640fa5d2a3b27bec69cd13d87b905d5c4.zip |
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)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 10 |
1 files changed, 2 insertions, 8 deletions
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 |