[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why do I need both AC_INIT and AM_INIT_AUTOMAKE???
From: |
Dr. David Kirkby |
Subject: |
Why do I need both AC_INIT and AM_INIT_AUTOMAKE??? |
Date: |
Mon, 07 Apr 2003 09:32:22 +0100 |
I have a configure.ac file. Unless I have both AC_INIT and
AM_INIT_AUTOMAKE, automake complains
i.e. starting like this is okay, but there seems duplication of the
package name, my email address and version number:
AC_PREREQ(2.57)
AC_INIT(atlc, 4.2.12, address@hidden)
AM_INIT_AUTOMAKE(atlc, 4.2.12, address@hidden)
yet removing 'AM_INIT_AUTOMAKE' prevents the configure script from
being generated - see below, despite the fact I have run 'aclocal',
which is from automake 1.7 and not an old version of automake I have
lying around as the error message suggests.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
sparrow /export/home/davek/atlc % automake
configure.ac: `AM_INIT_AUTOMAKE' must be used
automake: your implementation of AM_INIT_AUTOMAKE comes from an
automake: old Automake version. You should recreate aclocal.m4
automake: with aclocal and run automake again.
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am:
am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am: AMDEP
does not appear in AM_CONDITIONAL
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am:
am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am: AMDEP
does not appear in AM_CONDITIONAL
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am:
am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/stow/automake-1.7/share/automake-1.7/am/depend2.am: AMDEP
does not appear in AM_CONDITIONAL
--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail address@hidden
- Why do I need both AC_INIT and AM_INIT_AUTOMAKE???,
Dr. David Kirkby <=