This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with AMDEP does not appear in AM_CONDITIONAL


Have you run aclocal ?

Rob
----- Original Message -----
From: "Adam Tee" <eenajt@electeng.leeds.ac.uk>
To: <automake@gnu.org>
Sent: Friday, October 12, 2001 6:47 PM
Subject: Problems with AMDEP does not appear in AM_CONDITIONAL


> Hi all,
>
> I've just upgraded my machine to use automake 1.5 and autoconf 2.5
> and am having problems with the automake and autoconf process.
> I get the following messages:
>
> /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
> /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
> /usr/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
> /usr/share/automake/am/lang-compile.am: AMDEP does not appear in
> AM_CONDITIONAL
>
> The toplevel makefile.am is as follows:
>
> SUBDIRS = src macros TestCode
>
> and the configure.in is
>
> dnl Process this file with autoconf to produce a configure script.
> AC_INIT(src/kscore.cc)
>
>
> AM_CONFIG_HEADER(config.h)
> AC_CANONICAL_SYSTEM
> AM_INIT_AUTOMAKE(Simulation, 0.2.6)
>
> dnl Checks for programs.
> #AM_ACLOCAL_INCLUDE(macros)
>
> AC_PROG_CC
> AC_PROG_CPP
> AC_PROG_CXX
> AM_PROG_LEX
> AC_PROG_YACC
>
> dnl Checks for libraries.
> #AM_PATH_GTK(1.2.0, [LIBS="$LIBS $GTK_LIBS"
> #                   CFLAGS="$CFLAGS $GTK_CFLAGS"
> #                   LDFLAGS="$LDFLAGS $GTK_LDFLAGS"],
> #                   AC_MSG_ERROR(Cannot find GTK: Is gtk-config in
path?))
>  #AM_PATH_SIGC(1.0.0,,
> #        AC_MSG_ERROR(Cannot find libsigc++ >= 1.0.0))
> #AM_PATH_GTKMM(1.2.0,,
> #       AC_MSG_ERROR(Cannot find GTK-- >= 1.2.0))
>
> #AM_PATH_GTKEXTRA(0.99.13, [LIBS="$LIBS $GTK_EXTRA_LIBS"
> #                           CFLAGS="$CFLAGS $GTK_EXTRA_CFLAGS"],
> #                           AC_MSG_ERROR(Cannot find GTK+Extra: Is
> #gtkextra-config in path?))
>
> CXXFLAGS="$CFLAGS -g -Wall -O2"
>
> dnl Checks for header files.
>
> dnl Checks for typedefs, structures, and compiler characteristics.
> AC_C_CONST
>
> dnl Checks for library functions.
> AC_SUBST(CFLAGS)
> AC_SUBST(CPPFLAGS)
> AC_SUBST(LDFLAGS)
>
> AC_OUTPUT([Makefile src/Makefile macros/Makefile TestCode/Makefile])
>
> Other projects that I have do not have this problem.
>
>
> Adam
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]