[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error because README is missing

From: Andreas Schwab
Subject: Re: Error because README is missing
Date: Tue, 30 Nov 2004 00:31:41 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

"Paul D. Smith" <address@hidden> writes:

> However, I actually had a second error that I didn't mention because I
> figured it would be the same problem... but it's not.
> The second error is this:
>   $ automake --add-missing --no-force
> required file `' not found
> This file is being created with this in my file:
>   if test -f $srcdir/; then
>   fi

AC_CONFIG_FILES is a declaration-like macro, you can't execute it
conditionallyon the shell level.  If you want to make it conditional on
the existence of the input file you need to do that on the m4 level.

Untested code ahead.

m4_syscmd([test -f])dnl
m4_if(m4_sysval, 0, [AC_CONFIG_FILES(])


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]