This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Autoconf 2.52 and Automake 1.5
- To: automake at gnu dot org
- Subject: Autoconf 2.52 and Automake 1.5
- From: Lars von Wedel <vonWedel at lfpt dot rwth-aachen dot de>
- Date: Fri, 31 Aug 2001 10:07:41 +0200
- List-Id: Discussion list for automake <automake.gnu.org>
Hello,
I'm trying to migrate one of my projects from Autoconf 2.13/Automake 1.4 to
Autoconf 2.52/Automake 1.5. Actually I'm having a problems I couldn't
resolve yet:
Autoconf complains about the use of AC_CANONICAL_TARGET.
I call a macro that AC_REQUIRES the above, but calling it in my
configure.ac doesn't seem to work:
> autoconf
> configure.ac:15: warning: AC_ARG_PROGRAM was called before
AC_CANONICAL_TARGET
> configure.ac:31: warning: AC_CANONICAL_TARGET invoked multiple times
> configure.ac:31: warning: is m4_require'd but is not m4_defun'd
Anyone knows help? My configure.ac is attached for information.
Lars
dnl Process this file with autoconf to produce a configure script.
AC_INIT(realms, 0.1, bugs@lfpt.rwth-aachen.de)
AC_PREREQ(2.52)
AC_REVISION($Revision: $)
AC_CONFIG_SRCDIR(src/Makefile.am)
AC_CONFIG_AUX_DIR(config)
# AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE(realms, 0.1)
AM_CONFIG_HEADER(config.h)
dnl Check system type
AC_CANONICAL_TARGET
dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB
dnl dnl Handle dynamic linking using libtool
dnl AC_LIBTOOL_WIN32_DLL
dnl AM_PROG_LIBTOOL
dnl AC_SUBST(LIBTOOL_DEPS)
dnl
dnl AC_SUBST(INCLTDL)
dnl AC_SUBST(LIBLTDL)
dnl
LPT_CORBA
AC_CONFIG_FILES(Makefile
src/Makefile src/idl/Makefile)
AC_OUTPUT