automake
[Top][All Lists]
Advanced

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

Re: *.in strangeness


From: Alexandre Duret-Lutz
Subject: Re: *.in strangeness
Date: Sun, 28 Apr 2002 12:41:10 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

>>> "Harlan" == Harlan Stenn <address@hidden> writes:

[...]

 Harlan> case "$PERLPROG" in
 Harlan> '') ;;
 Harlan> *) AC_CONFIG_FILES(local/fixproc)
 Harlan> AC_CONFIG_FILES(local/snmpcheck)
 Harlan> AC_CONFIG_FILES(local/tkmib)
 Harlan> AC_CONFIG_FILES(local/mib2c)
 Harlan> AC_CONFIG_FILES(local/ipf-mod.pl)
 Harlan> AC_CONFIG_FILES(local/rsnmp)
 Harlan> AC_CONFIG_FILES(local/snmpconf)
 Harlan> ;;
 Harlan> esac
 Harlan> AC_CONFIG_FILES(testing/Makefile)
 Harlan> AC_CONFIG_FILES(man/Makefile)
 Harlan> AC_CONFIG_FILES(ov/Makefile)
 Harlan> AC_CONFIG_FILES(mibs/Makefile) # line 2029 (this comment isn't in the 
code)
 Harlan> AC_CONFIG_COMMANDS(time-stamp, [echo timestamp > stamp-h])

[...]

 Harlan> % automake
 Harlan> configure.in: 2029: required file `./*.in' not found
 Harlan> %

 Harlan> I get the same message with automake-1.6.1.

Paul D. Smith complained about this a few days ago.  The regexes
used to parse AC_CONFIG_FILES suck.  The '*' comes from your
case statement.  Try to rewrite it as

case "$PERLPROG" in
'') ;;
*) # New line here!
   AC_CONFIG_FILES(local/fixproc)
   AC_CONFIG_FILES(local/snmpcheck)
   AC_CONFIG_FILES(local/tkmib)
   AC_CONFIG_FILES(local/mib2c)
   AC_CONFIG_FILES(local/ipf-mod.pl)
   AC_CONFIG_FILES(local/rsnmp)
   AC_CONFIG_FILES(local/snmpconf)
;;
esac

Thanks to Akim, this issue will vanish with the next major
release of Automake, since it will rely on "autoconf --trace" to
parse configure.in.  (You can try it, it's in CVS HEAD.)
-- 
Alexandre Duret-Lutz




reply via email to

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