]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* bootstrap: Rewritten to use autoreconf.
authorGary V. Vaughan <gary@gnu.org>
Thu, 25 Sep 2003 11:22:29 +0000 (11:22 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 25 Sep 2003 11:22:29 +0000 (11:22 +0000)
* config.guess, config.sub, mkstamp:  Moved from here...
* config/config.guess, config/config.sub, config/mkstamp: ...to
here, respectively.
* libtool.m4, ltdl.m4: Moved from here...
* m4/libtool.m4, m4/ltdl.m4: ...to here, respectively.
* configure.ac: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
* Makefile.am: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
(AUTOMAKE_OPTIONS): Require CVS automake.
(CONF_SUBDIRS, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, FFLAGS, FLIBS):
Automake now makes a Make variable from every AC_SUBST, so these
are NOP.
(aclocal_macros): These files are now in their own m4 subdir.
Changed all clients.
(EXTRA_DIST): mkstamp has moved to the new config subdir.  Changed
all clients.
(pkgdata_SCRIPTS): Ditto wrt config.guess and config.sub.
(pkgdata_DATA): Ditto wrt ltmain.sh.
* f77demo/configure.ac, libltdl/configure.ac (AM_CONFIG_HEADER):
Is deprecated in favour of AC_CONFIG_HEADERS.  Updated to the
latter.
* Makefile.am, cdemo/Makefile.am, demo/Makefile.am,
depdemo/Makefile.am, f77demo/Makefile.am, mdemo/Makefile.am,
mdemo2/Makefile.am, pdemo/Makefile.am, tagdemo/Makefile.am
(EXTRA_DIST): Remove acinclude.m4.
(ACLOCAL_AMFLAGS): Search new `m4' macro directory.
* configure.ac, cdemo/configure.ac, demo/configure.ac,
depdemo/configure.ac, f77demo/configure.ac, mdemo/configure.ac,
mdemo2/configure.ac, pdemo/configure.ac, tagdemo/configure.ac
(AC_CONFIG_AUX_DIR): Declare that config helper scripts are now
kept in the new config subdir.
* libltdl/configure.ac (AC_CONFIG_AUX_DIR): Removed.  Defaults to
`.' anyway.

27 files changed:
ChangeLog
Makefile.am
bootstrap
cdemo/Makefile.am
cdemo/configure.ac
config/config.guess [moved from config.guess with 99% similarity]
config/config.sub [moved from config.sub with 99% similarity]
config/mkstamp [moved from mkstamp with 100% similarity]
configure.ac
demo/Makefile.am
demo/configure.ac
depdemo/Makefile.am
depdemo/configure.ac
f77demo/Makefile.am
f77demo/configure.ac
libltdl/Makefile.am
libltdl/configure.ac
m4/libtool.m4 [moved from libtool.m4 with 100% similarity]
m4/ltdl.m4 [moved from ltdl.m4 with 100% similarity]
mdemo/Makefile.am
mdemo/configure.ac
mdemo2/Makefile.am
mdemo2/configure.ac
pdemo/Makefile.am
pdemo/configure.ac
tagdemo/Makefile.am
tagdemo/configure.ac

index 05d3039556c6e9cd4ed8636780766d50852b035b..7f566776aaaa7e645ec510c0c66d111de419b1ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,41 @@
+2003-09-24  Gary V. Vaughan  <gary@gnu.org>
+
+       * bootstrap: Rewritten to use autoreconf.
+       * config.guess, config.sub, mkstamp:  Moved from here...
+       * config/config.guess, config/config.sub, config/mkstamp: ...to
+       here, respectively.
+       * libtool.m4, ltdl.m4: Moved from here...
+       * m4/libtool.m4, m4/ltdl.m4: ...to here, respectively.
+       * configure.ac: Removed various acinclude.m4 hackery, as these
+       files are no longer needed with automake 1.8.
+       * Makefile.am: Removed various acinclude.m4 hackery, as these
+       files are no longer needed with automake 1.8.
+       (AUTOMAKE_OPTIONS): Require CVS automake.
+       (CONF_SUBDIRS, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, FFLAGS, FLIBS):
+       Automake now makes a Make variable from every AC_SUBST, so these
+       are NOP.
+       (aclocal_macros): These files are now in their own m4 subdir.
+       Changed all clients.
+       (EXTRA_DIST): mkstamp has moved to the new config subdir.  Changed
+       all clients.
+       (pkgdata_SCRIPTS): Ditto wrt config.guess and config.sub.
+       (pkgdata_DATA): Ditto wrt ltmain.sh.
+       * f77demo/configure.ac, libltdl/configure.ac (AM_CONFIG_HEADER):
+       Is deprecated in favour of AC_CONFIG_HEADERS.  Updated to the
+       latter.
+       * Makefile.am, cdemo/Makefile.am, demo/Makefile.am,
+       depdemo/Makefile.am, f77demo/Makefile.am, mdemo/Makefile.am,
+       mdemo2/Makefile.am, pdemo/Makefile.am, tagdemo/Makefile.am
+       (EXTRA_DIST): Remove acinclude.m4.
+       (ACLOCAL_AMFLAGS): Search new `m4' macro directory.
+       * configure.ac, cdemo/configure.ac, demo/configure.ac,
+       depdemo/configure.ac, f77demo/configure.ac, mdemo/configure.ac,
+       mdemo2/configure.ac, pdemo/configure.ac, tagdemo/configure.ac
+       (AC_CONFIG_AUX_DIR): Declare that config helper scripts are now
+       kept in the new config subdir.
+       * libltdl/configure.ac (AC_CONFIG_AUX_DIR): Removed.  Defaults to
+       `.' anyway.
+
 2003-09-21  Robert Millan  <robertmh@gnu.org>
 
        * libtool.m4: Add GNU/KNetBSD support.
@@ -8,7 +46,7 @@
        * libtool.m4: allow STRIP to contain spaces and additional
        arguments.  (Debian Bug #183055)
        * ltmain.in: include newline in "sensible default" for IFS.
-       (Debian Bug #98492 and #95447)  
+       (Debian Bug #98492 and #95447)
 
 2003-09-11  Peter O'Gorman  <peter@pogma.com>
 
index e4228012c1c0373662a3d99043917e7922ed2269..9b1c7db6642eb07cadfb2b690353b0ab7b5b24de 100644 (file)
@@ -1,29 +1,21 @@
 ## Process this file with automake to produce Makefile.in
 
-AUTOMAKE_OPTIONS = 1.3e gnu
+AUTOMAKE_OPTIONS = 1.7a gnu
+ACLOCAL_AMFLAGS  = -I m4
 
 BUILD_SUBDIRS = . libltdl doc tests
-CONF_SUBDIRS = @CONF_SUBDIRS@
 SUBDIRS = $(BUILD_SUBDIRS)
 DIST_SUBDIRS = $(BUILD_SUBDIRS) $(CONF_SUBDIRS)
 
-# We need to export these variables
-CFLAGS = @CFLAGS@
-CPPLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS= @LIBS@
-FFLAGS = @FFLAGS@
-FLIBS = @FLIBS@
-
-aclocal_macros = libtool.m4 ltdl.m4
+aclocal_macros = m4/libtool.m4 m4/ltdl.m4
 
 EXTRA_DIST = $(aclocal_macros) bootstrap libtoolize.in ltmain.in \
-       mkstamp ChangeLog.0 ChangeLog.1
+       config/mkstamp ChangeLog.0 ChangeLog.1
 CLEANFILES = libtool libtoolize ltmain.shT
 
 # These are required by libtoolize.
-pkgdata_SCRIPTS = config.guess config.sub
-pkgdata_DATA = ltmain.sh
+pkgdata_SCRIPTS = config/config.guess config/config.sub
+pkgdata_DATA = config/ltmain.sh
 
 # This macro file should be visible to Automake's aclocal.
 aclocal_DATA = $(aclocal_macros)
@@ -31,7 +23,7 @@ aclocal_DATA = $(aclocal_macros)
 # The standalone libtool script, and the libtool distributor.
 bin_SCRIPTS = libtool libtoolize
 
-libtool: $(srcdir)/ltmain.sh $(top_builddir)/configure.ac
+libtool: $(srcdir)/config/ltmain.sh $(top_builddir)/configure.ac
        $(SHELL) $(top_builddir)/config.status --recheck
        chmod +x $@
 
@@ -39,9 +31,9 @@ libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
        CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) $(top_builddir)/config.status
        chmod +x $@
 
-$(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(TSDEPS)
+$(srcdir)/config/ltmain.sh: $(srcdir)/ltmain.in $(TSDEPS)
        -rm -f ltmain.shT
-       date=`$(SHELL) $(srcdir)/mkstamp < $(srcdir)/ChangeLog` && \
+       date=`$(SHELL) $(srcdir)/config/mkstamp < $(srcdir)/ChangeLog` && \
        sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \
            -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
        mv -f ltmain.shT $@ || \
@@ -50,7 +42,7 @@ $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(TSDEPS)
 
 # TSDEPS will be defined to TSDEPS_DIST at `make dist' time
 TSDEPS =
-TSDEPS_DIST = ChangeLog libtool.m4
+TSDEPS_DIST = ChangeLog config/libtool.m4
 CVS = cvs # set it to `:' to avoid CVS operations
 
 .PHONY: timestamps update-timestamps
@@ -60,19 +52,6 @@ update-timestamps:
            $(CVS) -n update $(TSDEPS_DIST) | grep '^M'); then \
                echo "Cannot make dist before commit"; exit 1; else :; fi
 
-# All our rules should depend on these demo files.
-all-recursive: $(srcdir)/libltdl/acinclude.m4 $(ACINCLUDE_M4_LIST)
-
-@srcdir@/libltdl/acinclude.m4: $(srcdir)/libtool.m4 $(srcdir)/ltdl.m4
-       -rm -f $@ $@T
-       cat $(srcdir)/libtool.m4 $(srcdir)/ltdl.m4 > $@T
-       mv $@T $@
-
-@ACINCLUDE_M4_LIST@: $(srcdir)/libtool.m4
-       -rm -f $@ $@T
-       cat $(srcdir)/libtool.m4 > $@T
-       mv $@T $@
-
 .PHONY: configure-subdirs
 configure-subdirs distdir: $(DIST_MAKEFILE_LIST)
 @DIST_MAKEFILE_LIST@:
index 303ae9cec1466cded5891d521b3d7f94728ea931..b50b52f2ad88cd3fb8aa7bc9f30374f8a5076a09 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,14 +1,7 @@
 #! /bin/sh
 
 # helps bootstrapping libtool, when checked out from CVS
-# requires at least GNU autoconf 2.56 and GNU automake 1.7
-
-rm -rf `find . \( -name autom4te.cache -o -name libtool \) -print`
-
-: ${ACLOCAL=aclocal}
-: ${AUTOMAKE=automake}
-: ${AUTOCONF=autoconf}
-: ${AUTOHEADER=autoheader}
+# requires at least GNU autoconf 2.58 and GNU automake 1.8
 
 # Upgrade caveat
 
@@ -21,44 +14,23 @@ WARNING: them with `libtool.m4' as shipped with this distribution.
 WARNING: After that, retry this bootstrap.
 EOF
 
-# fake the libtool scripts
-touch ltmain.sh
-touch libtoolize
-(cd libltdl && touch ltmain.sh)
+rm -rf `find . \( -name autom4te.cache -o -name libtool \) -print`
 
-for sub in . libltdl cdemo demo depdemo mdemo mdemo2 pdemo tagdemo f77demo; do
-  case $sub in
-  .)
-    top_srcdir=.
-    acfiles="$top_srcdir/libtool.m4"
-    AUTOMAKE_FLAGS="--gnu --add-missing --copy"
-    ;;
-  libltdl)
-    top_srcdir=..
-    acfiles="$top_srcdir/libtool.m4 $top_srcdir/ltdl.m4"
-    AUTOMAKE_FLAGS="--gnits --add-missing --copy"
-    ;;
-  *)
-    top_srcdir=..
-    acfiles="$top_srcdir/libtool.m4"
-    AUTOMAKE_FLAGS="--gnits --add-missing"
-    ;;
-  esac
+fakes="config/ltmain.sh config/libtoolize libltdl/ltmain.sh libltdl/libtoolize"
 
-  cd $sub
-  rm -f acinclude.m4 aclocal.m4 Makefile configure
-  for file in $acfiles; do
-    cat $file >> ./acinclude.m4
-  done
+for file in $fakes; do
+  touch $file
+done
+
+for sub in . *demo *demo[1-9]; do
+  autoreconf --force --verbose --install $sub
+done
 
-  $ACLOCAL
-  test $sub = libltdl && $AUTOHEADER
-  test $sub = f77demo && $AUTOHEADER
-  eval $AUTOMAKE $AUTOMAKE_FLAGS
-  $AUTOCONF
-  cd $top_srcdir
+for file in $fakes; do
+  rm -f $file
 done
 
-rm -f ltmain.sh libtoolize libltdl/ltmain.sh
+# These files con cause an infinite configure loop if left behind.
+rm -f Makefile libltdl/Makefile libtool
 
 exit 0
index 62c930f8738dfdd56aeced65ecefaa55f4e07ca3..78c9af2be596cc8189e8320593945419db409b32 100644 (file)
@@ -1,8 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
-
-EXTRA_DIST = acinclude.m4
+ACLOCAL_AMFLAGS  = -I ../m4
 
 noinst_LTLIBRARIES = libfoo.la
 
index 0340ed98179d01750c81f500a20934897d3447c9..962b40d3c1f1b474ed703498fc63db5b28cbac8d 100644 (file)
 
 AC_PREREQ(2.50)
 
-
 ## ------------------------ ##
 ## Autoconf initialisation. ##
 ## ------------------------ ##
 AC_INIT([cdemo], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([main.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
similarity index 99%
rename from config.guess
rename to config/config.guess
index 0e30d56e94e09336675d596da079d04cc520d257..d56c46d843362172e11b76a2888d964a460f0af7 100755 (executable)
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
-timestamp='2003-07-02'
+timestamp='2003-08-18'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -734,7 +734,7 @@ EOF
        echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
        exit 0 ;;
     *:UNICOS/mp:*:*)
-       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 
+       echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
        exit 0 ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
        FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
@@ -948,6 +948,9 @@ EOF
        LIBC=gnuaout
        #endif
        #endif
+       #ifdef __dietlibc__
+       LIBC=dietlibc
+       #endif
 EOF
        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
        test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
similarity index 99%
rename from config.sub
rename to config/config.sub
index c8a01bed986dccd59db49c022d37eda82e30da73..689009918111faa938343ef6f53ab3d8a6fb86e8 100755 (executable)
@@ -3,7 +3,7 @@
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
-timestamp='2003-07-04'
+timestamp='2003-08-18'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -118,7 +118,7 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+  nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -228,13 +228,14 @@ case $basic_machine in
        | a29k \
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+       | am33_2.0 \
        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
        | c4x | clipper \
        | d10v | d30v | dlx | dsp16xx \
        | fr30 | frv \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
        | i370 | i860 | i960 | ia64 \
-       | ip2k \
+       | ip2k | iq2000 \
        | m32r | m68000 | m68k | m88k | mcore \
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips16 \
@@ -304,7 +305,7 @@ case $basic_machine in
        | h8300-* | h8500-* \
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
        | i*86-* | i860-* | i960-* | ia64-* \
-       | ip2k-* \
+       | ip2k-* | iq2000-* \
        | m32r-* \
        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
        | m88110-* | m88k-* | mcore-* \
@@ -1164,6 +1165,9 @@ case $os in
        -mac*)
                os=`echo $os | sed -e 's|mac|macos|'`
                ;;
+       -linux-dietlibc)
+               os=-linux-dietlibc
+               ;;
        -linux*)
                os=`echo $os | sed -e 's|linux|linux-gnu|'`
                ;;
similarity index 100%
rename from mkstamp
rename to config/mkstamp
index 5708fb9cd162a8221a34399537f2227b709a98ab..e17ae0e909d5374f3da3d7a39652c00f31046737 100644 (file)
@@ -27,7 +27,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([libtool], [1.5a], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([ltmain.in])
-
+AC_CONFIG_AUX_DIR([config])
 
 
 ## ---------------------------------------- ##
@@ -40,7 +40,7 @@ AC_CONFIG_SRCDIR([ltmain.in])
 TIMESTAMP=
 case AC_PACKAGE_VERSION in
   [*[acegikmoqsuwy])]
-    TIMESTAMP=`${CONFIG_SHELL} ${srcdir}/mkstamp < ${srcdir}/ChangeLog`
+    TIMESTAMP=`${CONFIG_SHELL} ${ac_aux_dir}/mkstamp < ${srcdir}/ChangeLog`
     AS_BOX([Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION$TIMESTAMP])
     echo
     ;;
@@ -77,13 +77,10 @@ AC_CONFIG_SUBDIRS([libltdl])
 CONF_SUBDIRS="cdemo pdemo demo depdemo mdemo mdemo2 tagdemo f77demo"
 AC_SUBST([CONF_SUBDIRS])
 
-ACINCLUDE_M4_LIST="${srcdir}/acinclude.m4"
 DIST_MAKEFILE_LIST=
 for dir in $CONF_SUBDIRS; do
-  ACINCLUDE_M4_LIST="$ACINCLUDE_M4_LIST ${srcdir}/$dir/acinclude.m4"
   DIST_MAKEFILE_LIST="$DIST_MAKEFILE_LIST$dir/Makefile "
 done
-AC_SUBST([ACINCLUDE_M4_LIST])
 AC_SUBST([DIST_MAKEFILE_LIST])
 
 
index 68ae80895c913587db46dbee6cd7a52f0155bb44..ed078a76ec43c17df472ecf7ffd46449d2b4b1e7 100644 (file)
@@ -1,8 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
-
-EXTRA_DIST = acinclude.m4
+ACLOCAL_AMFLAGS  = -I ../m4
 
 # Build a libtool library, libhello.la for installation in libdir.
 lib_LTLIBRARIES = libhello.la
index 89c98a0744cd3696185686b44f40a3f02778c00d..db47bdc379ca00b02ba9b2d245612b8e3d26b508 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([demo], [1.0], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([hello.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
index 2108b7faf2fdddf8e33d1b032ef62e4c27e3a008..ebbef1371c5ae859cf36214c73b48c6d16be940e 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
+ACLOCAL_AMFLAGS  = -I ../m4
 
 SUBDIRS = l1 l2 l3 l4
 
index d39f8cc0f5240ee581f4802f6142a2c2c0d36d42..fb0904a13d637045cfaa099688eb60bedf9a69ae 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([depdemo], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([main.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
index 702a3526851a6b60f3b95814aa9c61f0e7024d24..1b5830959777867593b1d74ac4f676d30d43cae9 100644 (file)
@@ -3,18 +3,17 @@
 ## $Id$
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
-
-EXTRA_DIST = acinclude.m4
+ACLOCAL_AMFLAGS  = -I ../m4
 
 noinst_LTLIBRARIES = libfoo.la libmix.la
 
 libfoo_la_SOURCES = foof.f
 libfoo_la_LDFLAGS = -no-undefined
 
-libmix_la_SOURCES = foof.f fooc.c 
+libmix_la_SOURCES = foof.f fooc.c
 libmix_la_LDFLAGS = -no-undefined
 
-noinst_HEADERS = foo.h 
+noinst_HEADERS = foo.h
 
 bin_PROGRAMS = fprogram cprogram
 
@@ -27,8 +26,3 @@ cprogram_LDADD = libmix.la
 $(OBJECTS): libtool
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
-
-
-
-
-
index 411c7366ccde7f393e95b2c63ed3b59ed1f98e48..ac428255b15b4c2f4836f1339c42a4863f895911 100644 (file)
@@ -22,13 +22,14 @@ AC_PREREQ(2.50)
 ## Autoconf initialisation. ##
 ## ------------------------ ##
 AC_INIT([f77demo], [0.1], [bug-libtool@gnu.org])
-AC_CONFIG_SRCDIR([foof.f])dnl
+AC_CONFIG_HEADERS([config.h:config-h.in])
+AC_CONFIG_SRCDIR([foof.f])
+AC_CONFIG_AUX_DIR([../config])
 
 ## ------------------------ ##
 ## Automake Initialisation. ##
 ## ------------------------ ##
 AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION)
-AM_CONFIG_HEADER([config.h:config-h.in])
 
 
 ## ------------------ ##
@@ -42,7 +43,7 @@ AC_PROG_CC
 AC_PROG_F77
 dnl Check the flags needed to link f77 programs with ld (i.e. cc)
 AC_F77_LIBRARY_LDFLAGS
-dnl Check for underscoring of external names  
+dnl Check for underscoring of external names
 AC_F77_WRAPPERS
 
 # As of the writing of this demo, GNU Autoconf's AC_OBJEXT and
index aa2a2728b88353d6892d117666f9b16042b211b4..329958aec1e27109307ae41be081ccc43887b869 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
+ACLOCAL_AMFLAGS  = -I ../m4
 
 if INSTALL_LTDL
 include_HEADERS = ltdl.h
index 66ad0e5f2d746327d41f2d5052eae3b567166da4..b75f9ca5da1832879b121dfeb9b43c6635bfbe80 100644 (file)
@@ -24,7 +24,8 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 ## Autoconf initialisation. ##
 ## ------------------------ ##
-AC_INIT([libltdl], [1.2], [bug-libtool@gnu.org])
+AC_INIT([libltdl], [1.3], [bug-libtool@gnu.org])
+AC_CONFIG_HEADERS([config.h:config-h.in])
 AC_CONFIG_SRCDIR([ltdl.c])
 
 
@@ -32,8 +33,6 @@ AC_CONFIG_SRCDIR([ltdl.c])
 ## Libltdl specific configuration. ##
 ## ------------------------------- ##
 
-AC_CONFIG_AUX_DIR([.])
-
 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
   if test -f ${srcdir}/ltmain.sh; then
     # if libltdl is libtoolized, it is assumed to be stand-alone and
@@ -51,7 +50,6 @@ fi
 ## Automake Initialisation. ##
 ## ------------------------ ##
 AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION, -)
-AM_CONFIG_HEADER([config.h:config-h.in])
 
 
 ## ------------------ ##
similarity index 100%
rename from libtool.m4
rename to m4/libtool.m4
similarity index 100%
rename from ltdl.m4
rename to m4/ltdl.m4
index 8136c4351ea30edf2829c32632e1e5f20329fa00..9a9a30d2743cc7b5076012cf0cf16ff3a0fb04b7 100644 (file)
@@ -1,11 +1,10 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
+ACLOCAL_AMFLAGS  = -I ../m4
 
 INCLUDES = $(INCLTDL)
 
-EXTRA_DIST = acinclude.m4
-
 lib_LTLIBRARIES = libsub.la foo1.la libfoo2.la libmlib.la
 
 foo1_la_SOURCES = foo1.c
index e7f9121b2480f4be562950b44ad8ff8f44d8ccdc..3d8f2644cdd45a306c230a631d65c8c57590ad39 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([mdemo], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([main.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
index 92be306dce42f0e610cec0ff487debdd5be86f44..b0cd3b1e7b8ad455acf56bf2f196ed7f134e7ee0 100644 (file)
@@ -1,11 +1,10 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
+ACLOCAL_AMFLAGS  = -I ../m4
 
 INCLUDES = -I../libltdl
 
-EXTRA_DIST = acinclude.m4
-
 bin_PROGRAMS = mdemo2 mdemo2_static
 
 # Create a version of mdemo2 that links a library that does dlopen.
index 8efaf9b0c158c5869804c389eff14921f1f72f36..c364f354558d6581e2a08a604c61ffe0bc3d5341 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([mdemo2], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([main.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
index 43e25303fe3b907a06fb45a3593eff3977ba78cf..8158f8e7fb7e5ac28df44ed2e7168a160260eaf9 100644 (file)
@@ -1,8 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
-
-EXTRA_DIST = acinclude.m4
+ACLOCAL_AMFLAGS  = -I ../m4
 
 # Build a libtool library, libhello.la for installation in libdir.
 lib_LTLIBRARIES = libhello.la
index 89bfbe9adf46518f21e2aa52373b5a08c63b84c1..aa7c656024183746c4119fdff7dc0289bba55533 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([pdemo], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([longer_file_name_hello.c])
+AC_CONFIG_AUX_DIR([../config])
 
 
 ## ------------------------ ##
index db5ae4aa50fedf718964ed8efe2aea7d283210e6..72674acf4d3f1e185ee8342057aa8aae61c66fab 100644 (file)
@@ -3,8 +3,7 @@
 ## $Id$
 
 AUTOMAKE_OPTIONS = no-dependencies foreign
-
-EXTRA_DIST = acinclude.m4
+ACLOCAL_AMFLAGS  = -I ../m4
 
 noinst_LTLIBRARIES = libfoo.la
 lib_LTLIBRARIES = libbaz.la
index c4f50d739ddb423ddaec32beeba819f5b700249e..2de4923ab0a5284261143cda0e2fd818d752f1a2 100644 (file)
@@ -24,6 +24,7 @@ AC_PREREQ(2.50)
 ## ------------------------ ##
 AC_INIT([tagdemo], [0.1], [bug-libtool@gnu.org])
 AC_CONFIG_SRCDIR([foo.cpp])
+AC_CONFIG_AUX_DIR([../config])
 
 AC_CANONICAL_TARGET