[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ac_aux_dir not set
From: |
Stepan Kasal |
Subject: |
ac_aux_dir not set |
Date: |
Wed, 10 Jan 2007 20:46:13 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Hello,
I encountered a problem with a configure script which used
ac_aux_dir before it was set.
I found out that the macro AM_AUX_DIR_EXPAND supposes that ac_aux_dir
is ready. The natural way to express this assumption is:
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])
This bug does not hit in the usual case when AM_INIT_AUTOMAKE is
called before any other AM_* macros, and the above AC_REQUIRE is
brought in by AC_PROG_INSTALL.
In my case, AM_PROG_CC_C_O was called before AM_INIT_AUTOMAKE.
I looked quickly to the Automake manual, and I haven't found the rule
that AM_INIT_AUTOMAKE should be the first AM_* macro; is it really
there?
In any case, I suppose the attached patch should not hurt.
Thanks,
Stepan Kasal
automake-20070109-ac_aux_dir.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ac_aux_dir not set,
Stepan Kasal <=