[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
*.in strangeness
From: |
Harlan Stenn |
Subject: |
*.in strangeness |
Date: |
Sat, 27 Apr 2002 23:30:02 -0400 |
User-agent: |
EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) |
Some of you might remember a message I posted here a while ago where I was
(implicitly) using LIBOBJS (or whatever, it was a side effect of
AC_REPLCE_FUNCS) and getting messages about "*.c" not being found.
I "solved" this last problem (with 1.5 and 2.53) by changing my
Makefile.am's to not use that sort of logic anymore.
Well, I'm working on a different project and I thought I'd lose some of the
AC_CONFIG_FILES($foo) and replace them with things like:
test foo && AC_CONFIG_FILES(foo/Makefile)
and discovered that automake Really Hated seeing that in a configure.in
file.
So I changed the logic to:
...
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(snmplib/Makefile)
AC_CONFIG_FILES(agent/Makefile)
AC_CONFIG_FILES(apps/Makefile)
AC_CONFIG_FILES(apps/snmpnetstat/Makefile)
AC_CONFIG_FILES(agent/mibgroup/Makefile)
AC_CONFIG_FILES(local/Makefile)
case "$PERLPROG" in
'') ;;
*) 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
AC_CONFIG_FILES(testing/Makefile)
AC_CONFIG_FILES(man/Makefile)
AC_CONFIG_FILES(ov/Makefile)
AC_CONFIG_FILES(mibs/Makefile) # line 2029 (this comment isn't in the code)
AC_CONFIG_COMMANDS(time-stamp, [echo timestamp > stamp-h])
AC_OUTPUT
and now I get the following turd in Makefile.in:
...
*: $(top_builddir)/config.status *.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS=
$(SHELL) ./config.status
...
and the following message:
% autoreconf
autoreconf: `aclocal.m4' is updated
configure.in:7: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
configure.in: 2029: required file `./*.in' not found
autoreconf: automake failed with exit status: 1
at /.../autoreconf line 368
% automake
configure.in: 2029: required file `./*.in' not found
%
I get the same message with automake-1.6.1.
Ideas?
H
- *.in strangeness,
Harlan Stenn <=