| Hi, | I am on linux, redhat 7.3. | I am trying to use automake/autoconf with pam_ssh. aclocal is aclocal-1.4, | automake is automake-1.4 and autoconf is autoconf-2.13. | Here are the commands and outputs: | | $ aclocal | $ automake -a -c | automake: configure.in: installing `./install-sh' | automake: configure.in: installing `./mkinstalldirs' | automake: configure.in: installing `./missing' | configure.in: 196: required file `./ltmain.sh' not found | automake: Makefile.am: installing `./INSTALL' | $ autoconf | configure.in:98: warning: AC_TRY_RUN called without default to allow cross compiling | configure.in:157: warning: AC_TRY_RUN called without default to allow cross compiling | configure.in:195: warning: AC_TRY_RUN called without default to allow cross compiling | autoconf: Undefined macros: | ***BUG in Autoconf--please report*** AC_LIBOBJ | configure.in:10:AC_SUBST(LIBTOOL_DEPS) | configure.in:211:AC_FUNC_MALLOC | configure.in:216:AC_CONFIG_FILES([Makefile]) | configure.in:217:AC_CONFIG_COMMANDS_PRE( | configure.in:219:AC_SUBST(LTLIBOBJS)]) | configure.in:6:AC_CONFIG_SRCDIR([pam_ssh.c]) | | | | If I use aclocal-1.5, automake-1.5 and autoconf-2.53, I get for autoconf | configure.in:218: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section |`AC_LIBOBJ vs. LIBOBJS' | When I modify configure.in according to what I found in documentation, | everything goes fine.
So what is the problem? Add AC_PREREQ(2.53) above AC_INIT.