]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Sep 2006 18:16:34 +0000 (18:16 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 12 Sep 2006 18:16:34 +0000 (18:16 +0000)
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
for the existence of the directory at configure-time.  That's
too late, anyway, and possibly the directory isn't part of the
distribution.  Problem reported by Stefan Seefeld.

ChangeLog
doc/autoconf.texi
lib/autoconf/general.m4

index f2a384ab161bb6058d0504d8273c0d86edfa3973..054a0d8733e66f459e97f3842b40c9795b7d2e9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
+       * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
+       for the existence of the directory at configure-time.  That's
+       too late, anyway, and possibly the directory isn't part of the
+       distribution.  Problem reported by Stefan Seefeld.
+
        * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare
        7.1.4 /usr/bin/posix/sh described by Tim Rice in
        <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>.
index 957a3a6f675489740eab6d312217a7e715559721..bfc0bf96c091bc27a97c2fbb7bad7495e7149f86 100644 (file)
@@ -1901,12 +1901,11 @@ local macros can be found using @code{AC_CONFIG_MACRO_DIR}.
 
 @defmac AC_CONFIG_MACRO_DIR (@var{dir})
 @acindex{CONFIG_MACRO_DIR}
-Future versions of @command{autopoint}, @command{libtoolize},
-@command{aclocal} and @command{autoreconf} will use directory
-@var{dir} as the location of additional local Autoconf macros.  Be
-sure to call this macro directly from @file{configure.ac} so that
-tools that install macros for @command{aclocal} can find the
-declaration before @option{--trace} can be called safely.
+Specify @var{dir} as the location of additional local Autoconf macros.
+This macro is intended for use by future versions of commands like
+@command{autoreconf} that trace macro calls.  It should be called
+directly from @file{configure.ac} so that tools that install macros for
+@command{aclocal} can find the macros' declarations.
 @end defmac
 
 
index ce0f9a5bf33fabfc1e2ec74bba30730772085847..05ecfe94197c61d3cf017b4881ffb18ab133ff1b 100644 (file)
@@ -1632,9 +1632,7 @@ AC_DEFUN([AC_CONFIG_MACRO_DIR],
 [case $1 in
   [[\\/]]* | ?:[[\\/]]* ) ac_macro_dir=$1         ;;
   *)                      ac_macro_dir=$srcdir/$1 ;;
-esac
-test -d "$ac_macro_dir" ||
-  AC_MSG_ERROR([cannot find macro directory `$1'])
+esac[]dnl
 ])# AC_CONFIG_MACRO_DIR