[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Must call AC_CONFIG_AUX_DIR before AM_INIT_AUTOMAKE
From: |
Albert Strasheim |
Subject: |
Must call AC_CONFIG_AUX_DIR before AM_INIT_AUTOMAKE |
Date: |
Sun, 12 Jan 2003 14:27:28 +0200 |
User-agent: |
Mutt/1.4i |
Hello,
You might want to consider updating the info documentation of the
AC_CONFIG_AUX_DIR macro to reflect the fact that it should be called
before the AM_INIT_AUTOMAKE macro.
If this is not done, two sections of code to work out the value of the
ac_aux_dir variable are added to the generated configure script.
For example, calling the macros as follows:
AM_INIT_AUTOMAKE
AC_CONFIG_AUX_DIR(config)
results this error message being printed when configure is run:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
Essentially, at the time the for loop in AC_CONFIG_AUX_DIRS is first
executed, the list of directories it uses to figure out the value of
ac_aux_dir does not yet contain the directory passed to
AC_CONFIG_AUX_DIR.
The info documentation of AM_INIT_AUTOMAKE might also be updated.
On the other hand, maybe this behaviour qualifies as a bug.
Cheers,
Albert
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Must call AC_CONFIG_AUX_DIR before AM_INIT_AUTOMAKE,
Albert Strasheim <=