]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tagdemo/configure.ac, tagdemo/configure.in: USe the former instead of
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 28 Jun 2001 22:46:43 +0000 (22:46 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 28 Jun 2001 22:46:43 +0000 (22:46 +0000)
the latter.

ChangeLog
tagdemo/configure.ac [moved from tagdemo/configure.in with 79% similarity]

index 6daf9ff812fc54dd09c5d208bcf16a61ff04b9a1..9e15f2ed480c300be22b472723c0ca6b5649cec9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
        * 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
@@ -23,7 +24,7 @@
 
 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>
similarity index 79%
rename from tagdemo/configure.in
rename to tagdemo/configure.ac
index ab17f3613e84c5b2882166badf47784927b60778..623fa297fa41a660b3cfed5c45a24f4e73feff04 100644 (file)
@@ -8,10 +8,11 @@ dnl Process this file with autoconf to produce a configure script.
 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
@@ -30,7 +31,7 @@ AC_PROG_CXX
 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!
@@ -39,11 +40,13 @@ AC_LANG_CPLUSPLUS
 # 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
 
@@ -55,9 +58,10 @@ AC_CHECK_HEADERS(math.h)
 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