[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CONFIG_SUBDIRS and subdirs
From: |
Akim Demaille |
Subject: |
Re: AC_CONFIG_SUBDIRS and subdirs |
Date: |
06 Mar 2002 17:00:06 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
>>>>> "Ralf" == Ralf Corsepius <address@hidden> writes:
Ralf> Hi, I think, we've had this issue, before ;):
:)
Ralf> Alternatively, it should be clearly documented that that
Ralf> AC_CONFIG_SUBDIRS does not support conditionally present subdirs
Ralf> and users are supposed to check for presence of directories
Ralf> themselves. (Which, IMHO, would contradict the intention of
Ralf> current autoconf's documentation on AC_CONFIG_SUBDIRS).
Well, maybe the doc ought to be adjusted, nevertheless, I think this
is the correct feature. Being able to detect an error seems better to
me. In addition, this is consistent with all the other AC_CONFIG.
So I don't plan to change this. Please, help us improve the doc, but
if foo is optional, then the correct directives are
if test -f foo.in; then
AC_CONFIG_FILES(foo)
fi
and
if test -d foo; then
AC_CONFIG_SUBDIRS(foo)
fi