* libltdl/configure.ac, libltdl/configure.in: Ditto.
* mdemo/configure.ac, mdemo/configure.in: Ditto.
* pdemo/configure.ac, pdemo/configure.in: Ditto.
+ * tagdemo/configure.ac, tagdemo/configure.in: Ditto.
* libltdl/acconfig.h: Deleted.
* Makefile.am (libtool): libtool now depends on configure.ac.
* libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP
2001-06-28 Tim Van Holder <tim.van.holder@pandora.be>
- * pdemo/Makefile.am: Use '=' isntead of '+=' to shut up
+ * pdemo/Makefile.am: Use '=' instead of '+=' to shut up
automake.
2001-06-27 Gary V. Vaughan <gary@gnu.org>
dnl
-AC_INIT(foo.cpp)dnl
+AC_INIT
+AC_CONFIG_SRCDIR([foo.cpp])dnl
dnl Check what platform we are running on.
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET([])
dnl Cause GNU Automake to initialize the state of things and run
dnl some sanity checks
AC_PROG_CXXCPP
dnl Set the test language to C++.
-AC_LANG_CPLUSPLUS
+AC_LANG([C++])
# As of the writing of this demo, GNU Autoconf's AC_OBJEXT and
# AC_EXEEXT macros only works for C compilers!
# called so that the proper values are cached beforehand. We also do
# it before any linker flags (LDFLAGS) are set so that C++ specific
# ones don't break the tests.
-AC_LANG_SAVE
-AC_LANG_C
+AC_DIAGNOSE([obsolete],[instead of using `AC_LANG', `AC_LANG_SAVE',
+and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.])
+
+AC_LANG_PUSH([C])
AC_OBJEXT
AC_EXEEXT
-AC_LANG_RESTORE
+AC_LANG_POP
dnl Setup Libtool
AC_CHECK_LIBM
AC_SUBST(LIBM)
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
- ],
- [
- echo "Done configuring package $PACKAGE"
])
+AC_CONFIG_COMMANDS([default],[[
+ echo "Done configuring package $PACKAGE"
+ ]],[[]])
+AC_OUTPUT