]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
New separately configurable autoconf-lib-link directory.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2003 20:17:41 +0000 (20:17 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:02 +0000 (12:10 +0200)
81 files changed:
autoconf-lib-link/.cvsignore [new file with mode: 0644]
autoconf-lib-link/AUTHORS [new file with mode: 0644]
autoconf-lib-link/COPYING [new file with mode: 0644]
autoconf-lib-link/ChangeLog [new file with mode: 0644]
autoconf-lib-link/INSTALL [new file with mode: 0644]
autoconf-lib-link/Makefile.am [new file with mode: 0644]
autoconf-lib-link/NEWS [new file with mode: 0644]
autoconf-lib-link/README [new file with mode: 0644]
autoconf-lib-link/configure.ac [new file with mode: 0644]
autoconf-lib-link/m4/Makefile.am [new file with mode: 0644]
autoconf-lib-link/tests/Makefile.am [new file with mode: 0644]
autoconf-lib-link/tests/rpath-1
autoconf-lib-link/tests/rpath-2_a
autoconf-lib-link/tests/rpath-2_b
autoconf-lib-link/tests/rpath-2aaa
autoconf-lib-link/tests/rpath-2aab
autoconf-lib-link/tests/rpath-2aac
autoconf-lib-link/tests/rpath-2aad
autoconf-lib-link/tests/rpath-2aba
autoconf-lib-link/tests/rpath-2abb
autoconf-lib-link/tests/rpath-2abc
autoconf-lib-link/tests/rpath-2abd
autoconf-lib-link/tests/rpath-2baa
autoconf-lib-link/tests/rpath-2bab
autoconf-lib-link/tests/rpath-2bac
autoconf-lib-link/tests/rpath-2bad
autoconf-lib-link/tests/rpath-2bba
autoconf-lib-link/tests/rpath-2bbb
autoconf-lib-link/tests/rpath-2bbc
autoconf-lib-link/tests/rpath-2bbd
autoconf-lib-link/tests/rpath-3_a
autoconf-lib-link/tests/rpath-3_b
autoconf-lib-link/tests/rpath-3aaa
autoconf-lib-link/tests/rpath-3aab
autoconf-lib-link/tests/rpath-3aac
autoconf-lib-link/tests/rpath-3aad
autoconf-lib-link/tests/rpath-3aae
autoconf-lib-link/tests/rpath-3aaf
autoconf-lib-link/tests/rpath-3aag
autoconf-lib-link/tests/rpath-3aah
autoconf-lib-link/tests/rpath-3aba
autoconf-lib-link/tests/rpath-3abb
autoconf-lib-link/tests/rpath-3abc
autoconf-lib-link/tests/rpath-3abd
autoconf-lib-link/tests/rpath-3abe
autoconf-lib-link/tests/rpath-3abf
autoconf-lib-link/tests/rpath-3abg
autoconf-lib-link/tests/rpath-3abh
autoconf-lib-link/tests/rpath-3baa
autoconf-lib-link/tests/rpath-3bab
autoconf-lib-link/tests/rpath-3bac
autoconf-lib-link/tests/rpath-3bad
autoconf-lib-link/tests/rpath-3bae
autoconf-lib-link/tests/rpath-3baf
autoconf-lib-link/tests/rpath-3bag
autoconf-lib-link/tests/rpath-3bah
autoconf-lib-link/tests/rpath-3bba
autoconf-lib-link/tests/rpath-3bbb
autoconf-lib-link/tests/rpath-3bbc
autoconf-lib-link/tests/rpath-3bbd
autoconf-lib-link/tests/rpath-3bbe
autoconf-lib-link/tests/rpath-3bbf
autoconf-lib-link/tests/rpath-3bbg
autoconf-lib-link/tests/rpath-3bbh
autoconf-lib-link/tests/rpathcfg.sh
autoconf-lib-link/tests/rpathlx/Makefile.am
autoconf-lib-link/tests/rpathlx/configure.ac
autoconf-lib-link/tests/rpathly/Makefile.am
autoconf-lib-link/tests/rpathly/configure.ac
autoconf-lib-link/tests/rpathlyx/Makefile.am
autoconf-lib-link/tests/rpathlyx/configure.ac
autoconf-lib-link/tests/rpathlz/Makefile.am
autoconf-lib-link/tests/rpathlz/configure.ac
autoconf-lib-link/tests/rpathlzyx/Makefile.am
autoconf-lib-link/tests/rpathlzyx/configure.ac
autoconf-lib-link/tests/rpathx/Makefile.am
autoconf-lib-link/tests/rpathx/configure.ac
autoconf-lib-link/tests/rpathy/Makefile.am
autoconf-lib-link/tests/rpathy/configure.ac
autoconf-lib-link/tests/rpathz/Makefile.am
autoconf-lib-link/tests/rpathz/configure.ac

diff --git a/autoconf-lib-link/.cvsignore b/autoconf-lib-link/.cvsignore
new file mode 100644 (file)
index 0000000..04290fc
--- /dev/null
@@ -0,0 +1,4 @@
+Makefile
+config.cache
+config.log
+config.status
diff --git a/autoconf-lib-link/AUTHORS b/autoconf-lib-link/AUTHORS
new file mode 100644 (file)
index 0000000..31b3bc9
--- /dev/null
@@ -0,0 +1 @@
+Bruno Haible wrote these autoconf macros.
diff --git a/autoconf-lib-link/COPYING b/autoconf-lib-link/COPYING
new file mode 100644 (file)
index 0000000..5b8319d
--- /dev/null
@@ -0,0 +1 @@
+This subpackage is under the GPL, see file COPYING in the toplevel directory.
diff --git a/autoconf-lib-link/ChangeLog b/autoconf-lib-link/ChangeLog
new file mode 100644 (file)
index 0000000..4e2c8ec
--- /dev/null
@@ -0,0 +1,24 @@
+2003-02-12  Bruno Haible  <bruno@clisp.org>
+
+       Extracted from gettext package.
+       * configure.ac: New file.
+       * Makefile.am: New file.
+       * AUTHORS, COPYING, INSTALL, NEWS, README: New files.
+       * m4/Makefile.am: New file.
+       * tests/Makefile.am: New file.
+       * tests/rpath-1: Move temporary directories down under tstdir.
+       Rename global_top_srcdir to global_top_auxdir.
+       * tests/rpath-2_a: Likewise.
+       * tests/rpath-2_b: Likewise.
+       * tests/rpath-3_a: Likewise.
+       * tests/rpath-3_b: Likewise.
+       * tests/rpath-2???: Use $srcdir instead of $top_srcdir/tests.
+       * tests/rpath-3???: Likewise.
+       * tests/rpathcfg.sh: Move temporary directories down under tstdir.
+       Use $srcdir instead of $top_srcdir/tests.
+       * tests/rpath*/Makefile.am: Use global_top_auxdir instead of
+       global_top_srcdir.
+       * tests/rpath*/configure.ac: Use AC_CONFIG_AUX_DIR instead of
+       AC_CONFIG_AUX_DIRS; the latter is undocumented and doesn't work
+       with automake-1.7.2.
+
diff --git a/autoconf-lib-link/INSTALL b/autoconf-lib-link/INSTALL
new file mode 100644 (file)
index 0000000..863ccc3
--- /dev/null
@@ -0,0 +1,207 @@
+Basic Installation
+==================
+
+   These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+
+   The file `configure.in' is used to create `configure' by a program
+called `autoconf'.  You only need `configure.in' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes awhile.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+   Some systems require unusual options for compilation or linking that
+the `configure' script does not know about.  You can give `configure'
+initial values for variables by setting them in the environment.  Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+   You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory.  After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+Installation Names
+==================
+
+   By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+   Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+   For packages that use the GNU libiconv library, you can use the
+`configure' option `--with-libiconv-prefix' to specify the prefix you
+used while installing libiconv.
+
+Particular Systems
+==================
+
+   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU CC
+is not installed, it is recommended to use the following options in order
+to use an ANSI C compiler:
+
+     env CC="cc -Ae" ./configure
+
+   On AIX 3, the C include files by default don't define some necessary
+prototype declarations.  If GNU CC is not installed, it is recommended to
+use the following options:
+
+     env CC="xlc -D_ALL_SOURCE" ./configure
+
+   On BeOS, user installed software goes in /boot/home/config, not
+/usr/local.  It is recommended to use the following options:
+
+     ./configure --prefix=/boot/home/config
+
+Specifying the System Type
+==========================
+
+   There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on.  Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+     CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+   If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+   If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+   `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+     Use and save the results of the tests in FILE instead of
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
+     debugging `configure'.
+
+`--help'
+     Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`--version'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
+
diff --git a/autoconf-lib-link/Makefile.am b/autoconf-lib-link/Makefile.am
new file mode 100644 (file)
index 0000000..a591aab
--- /dev/null
@@ -0,0 +1,164 @@
+## Makefile for the autoconf-lib-link directory of GNU gettext
+## Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+ACLOCAL_AMFLAGS = -I m4 -I ../config/m4
+EXTRA_DIST =
+DISTCLEANFILES =
+
+SUBDIRS = m4 tests
+
+EXTRA_DIST += config.rpath
+
+
+# We want to maintain only one copy of config.rpath. The one in this directory
+# is the source.
+
+all-local: $(srcdir)/../config/config.rpath
+
+$(srcdir)/../config/config.rpath: $(srcdir)/config.rpath
+       cp $(srcdir)/config.rpath $(srcdir)/../config/config.rpath
+
+
+# The AC_CONFIG_AUX_DIR argument in the tests/rpath*/configure.ac files is
+# interpreted in two different contexts:
+#   1. at "make distrib" time, when we call automake, relative to
+#      SRCDIR/tests/rpath*/,
+#   2. at "make check" time, when the directory is copied and configured,
+#      relative to BUILDDIR/tests/tstdir/rp-*/.
+# We choose this argument to be '../../../config', for case 1, and therefore
+# we need to make a local copy of the config directory, for case 2.
+
+all-local: config/config.guess config/config.sub config/install-sh config/ltmain.sh config/mkinstalldirs config/missing config/config.rpath
+
+config/config.guess: $(srcdir)/../config/config.guess
+       test -d config || mkdir config
+       cp $(srcdir)/../config/config.guess config/config.guess
+
+config/config.sub: $(srcdir)/../config/config.sub
+       test -d config || mkdir config
+       cp $(srcdir)/../config/config.sub config/config.sub
+
+config/install-sh: $(srcdir)/../config/install-sh
+       test -d config || mkdir config
+       cp $(srcdir)/../config/install-sh config/install-sh
+
+config/ltmain.sh: $(srcdir)/../config/ltmain.sh
+       test -d config || mkdir config
+       cp $(srcdir)/../config/ltmain.sh config/ltmain.sh
+
+config/mkinstalldirs: $(srcdir)/../config/mkinstalldirs
+       test -d config || mkdir config
+       cp $(srcdir)/../config/mkinstalldirs config/mkinstalldirs
+
+config/missing: $(srcdir)/../config/missing
+       test -d config || mkdir config
+       cp $(srcdir)/../config/missing config/missing
+
+config/config.rpath: $(srcdir)/config.rpath
+       test -d config || mkdir config
+       cp $(srcdir)/config.rpath config/config.rpath
+
+DISTCLEANFILES += config/config.guess config/config.sub config/install-sh config/ltmain.sh config/mkinstalldirs config/missing config/config.rpath
+
+distclean-am:
+       rm -rf config
+
+
+# Documentation tags not known to automake.
+
+ps:
+
+pdf:
+
+html:
+
+
+# Subdirectories with separate autoconfiguration.
+
+CONFIGURES_RPATHX = $(srcdir)/tests/rpathx/Makefile.in $(srcdir)/tests/rpathx/aclocal.m4 $(srcdir)/tests/rpathx/configure
+$(srcdir)/tests/rpathx/Makefile.in: $(srcdir)/tests/rpathx/Makefile.am $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
+       cd $(srcdir)/tests/rpathx && automake Makefile
+$(srcdir)/tests/rpathx/aclocal.m4: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/../config/m4/libtool.m4
+       cd $(srcdir)/tests/rpathx && aclocal -I ../../m4 -I ../../../config/m4
+$(srcdir)/tests/rpathx/configure: $(srcdir)/tests/rpathx/configure.ac $(srcdir)/tests/rpathx/aclocal.m4
+       cd $(srcdir)/tests/rpathx && autoconf
+
+CONFIGURES_RPATHY = $(srcdir)/tests/rpathy/Makefile.in $(srcdir)/tests/rpathy/aclocal.m4 $(srcdir)/tests/rpathy/configure
+$(srcdir)/tests/rpathy/Makefile.in: $(srcdir)/tests/rpathy/Makefile.am $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
+       cd $(srcdir)/tests/rpathy && automake Makefile
+$(srcdir)/tests/rpathy/aclocal.m4: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/../config/m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathy && aclocal -I ../../m4 -I ../../../config/m4
+$(srcdir)/tests/rpathy/configure: $(srcdir)/tests/rpathy/configure.ac $(srcdir)/tests/rpathy/aclocal.m4
+       cd $(srcdir)/tests/rpathy && autoconf
+
+CONFIGURES_RPATHZ = $(srcdir)/tests/rpathz/Makefile.in $(srcdir)/tests/rpathz/aclocal.m4 $(srcdir)/tests/rpathz/configure
+$(srcdir)/tests/rpathz/Makefile.in: $(srcdir)/tests/rpathz/Makefile.am $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
+       cd $(srcdir)/tests/rpathz && automake Makefile
+$(srcdir)/tests/rpathz/aclocal.m4: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/../config/m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathz && aclocal -I ../../m4 -I ../../../config/m4
+$(srcdir)/tests/rpathz/configure: $(srcdir)/tests/rpathz/configure.ac $(srcdir)/tests/rpathz/aclocal.m4
+       cd $(srcdir)/tests/rpathz && autoconf
+
+CONFIGURES_RPATHLX = $(srcdir)/tests/rpathlx/Makefile.in $(srcdir)/tests/rpathlx/aclocal.m4 $(srcdir)/tests/rpathlx/configure
+$(srcdir)/tests/rpathlx/Makefile.in: $(srcdir)/tests/rpathlx/Makefile.am $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
+       cd $(srcdir)/tests/rpathlx && automake Makefile
+$(srcdir)/tests/rpathlx/aclocal.m4: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathlx && aclocal -I ../../m4
+$(srcdir)/tests/rpathlx/configure: $(srcdir)/tests/rpathlx/configure.ac $(srcdir)/tests/rpathlx/aclocal.m4
+       cd $(srcdir)/tests/rpathlx && autoconf
+
+CONFIGURES_RPATHLY = $(srcdir)/tests/rpathly/Makefile.in $(srcdir)/tests/rpathly/aclocal.m4 $(srcdir)/tests/rpathly/configure
+$(srcdir)/tests/rpathly/Makefile.in: $(srcdir)/tests/rpathly/Makefile.am $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
+       cd $(srcdir)/tests/rpathly && automake Makefile
+$(srcdir)/tests/rpathly/aclocal.m4: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathly && aclocal -I ../../m4
+$(srcdir)/tests/rpathly/configure: $(srcdir)/tests/rpathly/configure.ac $(srcdir)/tests/rpathly/aclocal.m4
+       cd $(srcdir)/tests/rpathly && autoconf
+
+CONFIGURES_RPATHLYX = $(srcdir)/tests/rpathlyx/Makefile.in $(srcdir)/tests/rpathlyx/aclocal.m4 $(srcdir)/tests/rpathlyx/configure
+$(srcdir)/tests/rpathlyx/Makefile.in: $(srcdir)/tests/rpathlyx/Makefile.am $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
+       cd $(srcdir)/tests/rpathlyx && automake Makefile
+$(srcdir)/tests/rpathlyx/aclocal.m4: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathlyx && aclocal -I ../../m4
+$(srcdir)/tests/rpathlyx/configure: $(srcdir)/tests/rpathlyx/configure.ac $(srcdir)/tests/rpathlyx/aclocal.m4
+       cd $(srcdir)/tests/rpathlyx && autoconf
+
+CONFIGURES_RPATHLZ = $(srcdir)/tests/rpathlz/Makefile.in $(srcdir)/tests/rpathlz/aclocal.m4 $(srcdir)/tests/rpathlz/configure
+$(srcdir)/tests/rpathlz/Makefile.in: $(srcdir)/tests/rpathlz/Makefile.am $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
+       cd $(srcdir)/tests/rpathlz && automake Makefile
+$(srcdir)/tests/rpathlz/aclocal.m4: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathlz && aclocal -I ../../m4
+$(srcdir)/tests/rpathlz/configure: $(srcdir)/tests/rpathlz/configure.ac $(srcdir)/tests/rpathlz/aclocal.m4
+       cd $(srcdir)/tests/rpathlz && autoconf
+
+CONFIGURES_RPATHLZYX = $(srcdir)/tests/rpathlzyx/Makefile.in $(srcdir)/tests/rpathlzyx/aclocal.m4 $(srcdir)/tests/rpathlzyx/configure
+$(srcdir)/tests/rpathlzyx/Makefile.in: $(srcdir)/tests/rpathlzyx/Makefile.am $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
+       cd $(srcdir)/tests/rpathlzyx && automake Makefile
+$(srcdir)/tests/rpathlzyx/aclocal.m4: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4
+       cd $(srcdir)/tests/rpathlzyx && aclocal -I ../../m4
+$(srcdir)/tests/rpathlzyx/configure: $(srcdir)/tests/rpathlzyx/configure.ac $(srcdir)/tests/rpathlzyx/aclocal.m4
+       cd $(srcdir)/tests/rpathlzyx && autoconf
+
+SUBCONFIGURES = $(CONFIGURES_RPATHX) $(CONFIGURES_RPATHY) $(CONFIGURES_RPATHZ) $(CONFIGURES_RPATHLX) $(CONFIGURES_RPATHLY) $(CONFIGURES_RPATHLYX) $(CONFIGURES_RPATHLZ) $(CONFIGURES_RPATHLZYX)
+
+subconfigures: $(SUBCONFIGURES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: subconfigures
diff --git a/autoconf-lib-link/NEWS b/autoconf-lib-link/NEWS
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/autoconf-lib-link/README b/autoconf-lib-link/README
new file mode 100644 (file)
index 0000000..ca04d46
--- /dev/null
@@ -0,0 +1 @@
+This subpackage defines autoconf macros for linking with shared libraries.
diff --git a/autoconf-lib-link/configure.ac b/autoconf-lib-link/configure.ac
new file mode 100644 (file)
index 0000000..889fbd8
--- /dev/null
@@ -0,0 +1,67 @@
+dnl Configuration for the autoconf-lib-link directory of GNU gettext
+dnl Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.57)
+AC_INIT
+AC_CONFIG_SRCDIR(tests/rpath-1a)
+AC_CONFIG_AUX_DIR(../config)
+. $srcdir/../version.sh
+AM_INIT_AUTOMAKE(autoconf-lib-link, $VERSION_NUMBER)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+
+dnl Check for host type.
+AC_CANONICAL_HOST
+
+dnl Checks for UNIX variants that set DEFS,
+
+dnl Checks for compiler output filename suffixes.
+AC_OBJEXT
+AC_EXEEXT
+
+dnl Check for build configuration.
+AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
+
+dnl Checks for libraries.
+
+dnl Checks for header files.
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+
+dnl Checks for library functions.
+
+dnl Checks for tests/rpathcfg.
+AC_SUBST(GCC)
+AC_SUBST(LD)
+AC_SUBST(with_gnu_ld)
+
+aclocaldir='${datadir}/aclocal'
+AC_SUBST(aclocaldir)
+
+AC_CONFIG_FILES([Makefile],
+                [FIX_MAKEFILE_DISTRIB([Makefile])])
+
+AC_CONFIG_FILES([m4/Makefile])
+
+AC_CONFIG_FILES([tests/Makefile])
+
+AC_OUTPUT
diff --git a/autoconf-lib-link/m4/Makefile.am b/autoconf-lib-link/m4/Makefile.am
new file mode 100644 (file)
index 0000000..7102e38
--- /dev/null
@@ -0,0 +1,16 @@
+## Process this file with automake to produce Makefile.in -*-Makefile-*-
+
+# Files installed for use by aclocal.
+
+aclocaldir = @aclocaldir@
+aclocal_DATA = \
+  lib-ld.m4 \
+  lib-link.m4 \
+  lib-prefix.m4
+
+# Generate this list with
+# find . -type f -name '*.m4' -printf '%f\n' | sort | tr '\012' @ | sed 's/@$/%/;s/@/ \\@/g' | tr @% '\012\012'
+EXTRA_DIST = README \
+lib-ld.m4 \
+lib-link.m4 \
+lib-prefix.m4
diff --git a/autoconf-lib-link/tests/Makefile.am b/autoconf-lib-link/tests/Makefile.am
new file mode 100644 (file)
index 0000000..3424f61
--- /dev/null
@@ -0,0 +1,79 @@
+## Makefile for the autoconf-lib-link/tests subdirectory of GNU gettext
+## Copyright (C) 1995-1997, 2001-2003 Free Software Foundation, Inc.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
+MOSTLYCLEANFILES =
+
+TESTS = rpath-1a rpath-1b \
+       rpath-2aaa rpath-2aab rpath-2aac rpath-2aad \
+       rpath-2aba rpath-2abb rpath-2abc rpath-2abd \
+       rpath-2baa rpath-2bab rpath-2bac rpath-2bad \
+       rpath-2bba rpath-2bbb rpath-2bbc rpath-2bbd \
+       rpath-3aaa rpath-3aab rpath-3aac rpath-3aad \
+                  rpath-3aaf            rpath-3aah \
+       rpath-3aba rpath-3abb rpath-3abc rpath-3abd \
+                  rpath-3abf            rpath-3abh \
+       rpath-3baa rpath-3bab rpath-3bac rpath-3bad \
+       rpath-3bae rpath-3baf rpath-3bag rpath-3bah \
+       rpath-3bba rpath-3bbb rpath-3bbc rpath-3bbd \
+       rpath-3bbe rpath-3bbf rpath-3bbg rpath-3bbh
+
+EXTRA_DIST = $(TESTS) \
+       rpathx/configure.ac rpathx/aclocal.m4 rpathx/configure \
+       rpathx/Makefile.am rpathx/Makefile.in rpathx/rpathx.c \
+       rpathy/configure.ac rpathy/aclocal.m4 rpathy/configure \
+       rpathy/Makefile.am rpathy/Makefile.in rpathy/rpathy.c \
+       rpathz/configure.ac rpathz/aclocal.m4 rpathz/configure \
+       rpathz/Makefile.am rpathz/Makefile.in rpathz/rpathz.c \
+       rpathlx/configure.ac rpathlx/aclocal.m4 rpathlx/configure \
+       rpathlx/Makefile.am rpathlx/Makefile.in rpathlx/usex.c \
+       rpathly/configure.ac rpathly/aclocal.m4 rpathly/configure \
+       rpathly/Makefile.am rpathly/Makefile.in rpathly/usey.c \
+       rpathlyx/configure.ac rpathlyx/aclocal.m4 rpathlyx/configure \
+       rpathlyx/Makefile.am rpathlyx/Makefile.in rpathlyx/usey.c \
+       rpathlz/configure.ac rpathlz/aclocal.m4 rpathlz/configure \
+       rpathlz/Makefile.am rpathlz/Makefile.in rpathlz/usez.c \
+       rpathlzyx/configure.ac rpathlzyx/aclocal.m4 rpathlzyx/configure \
+       rpathlzyx/Makefile.am rpathlzyx/Makefile.in rpathlzyx/usez.c \
+       rpath-1 rpath-2_a rpath-2_b rpath-3_a rpath-3_b rpath.README \
+       rpath-3aae rpath-3aag rpath-3abe rpath-3abg \
+       rpathcfg.sh
+
+TESTS_ENVIRONMENT = top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
+                   OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \
+                   LIBTOOL='@LIBTOOL@' \
+                   CC='@CC@' CFLAGS='@CFLAGS@' \
+                   CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' \
+                   CONFIG_SHELL='$(SHELL)' \
+                   $(SHELL)
+
+# Help maintaining config.rpath.
+rpathcfg: rpathcfg.sh
+       top_srcdir=$(srcdir)/../.. srcdir=$(srcdir) \
+       CONFIG_SHELL='$(SHELL)' \
+       CC='@CC@' GCC='@GCC@' \
+       LDFLAGS='@LDFLAGS@' \
+       LD='@LD@' with_gnu_ld='@with_gnu_ld@' \
+       host='@host@' \
+       $(SHELL) $(srcdir)/rpathcfg.sh > rpathcfg 2> rpathcfg.log
+MOSTLYCLEANFILES += rpathcfg rpathcfg.log
+
+# Clean up the intermediate directory created by running the tests.
+distclean-am:
+       rm -rf tstdir
index bf186be7b090e297870f9aeb844afca9ed3fa66d..0abcff5ab413355f620ac3baab93ee39478c9162 100644 (file)
@@ -4,28 +4,30 @@ tmpfiles=""
 trap 'rm -fr $tmpfiles' 1 2 3 15
 
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
+
+test -d tstdir || mkdir tstdir
 
 tmpfiles="$tmpfiles $rp-prefix"
 rm -rf $rp-prefix
 mkdir $rp-prefix
 
-tmpfiles="$tmpfiles $rp-build1"
-rm -rf $rp-build1
-mkdir $rp-build1
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd $rp-build1 && tar xf -)
-(cd $rp-build1
+tmpfiles="$tmpfiles tstdir/$rp-build1"
+rm -rf tstdir/$rp-build1
+mkdir tstdir/$rp-build1
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
+(cd tstdir/$rp-build1
  ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
 )
 
-tmpfiles="$tmpfiles $rp-build2"
-rm -rf $rp-build2
-mkdir $rp-build2
-(cd $top_srcdir/tests/rpathlx && tar cf - *) | (cd $rp-build2 && tar xf -)
-(cd $rp-build2
+tmpfiles="$tmpfiles tstdir/$rp-build2"
+rm -rf tstdir/$rp-build2
+mkdir tstdir/$rp-build2
+(cd $srcdir/rpathlx && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
+(cd tstdir/$rp-build2
  ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make check >> make.log
index cbe0e7eb8bd4819504928c040deca7229973dd8e..86a743ec4048f9b1059179f24918dfdd9dca333f 100644 (file)
@@ -4,18 +4,20 @@ tmpfiles=""
 trap 'rm -fr $tmpfiles' 1 2 3 15
 
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
+
+test -d tstdir || mkdir tstdir
 
 tmpfiles="$tmpfiles $rp-prefix"
 rm -rf $rp-prefix
 mkdir $rp-prefix
 
-tmpfiles="$tmpfiles $rp-build1"
-rm -rf $rp-build1
-mkdir $rp-build1
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd $rp-build1 && tar xf -)
-(cd $rp-build1
+tmpfiles="$tmpfiles tstdir/$rp-build1"
+rm -rf tstdir/$rp-build1
+mkdir tstdir/$rp-build1
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
+(cd tstdir/$rp-build1
  ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -24,11 +26,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix/lib/librpathx.la
 fi
 
-tmpfiles="$tmpfiles $rp-build2"
-rm -rf $rp-build2
-mkdir $rp-build2
-(cd $top_srcdir/tests/rpathy && tar cf - *) | (cd $rp-build2 && tar xf -)
-(cd $rp-build2
+tmpfiles="$tmpfiles tstdir/$rp-build2"
+rm -rf tstdir/$rp-build2
+mkdir tstdir/$rp-build2
+(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
+(cd tstdir/$rp-build2
  ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -37,11 +39,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix/lib/librpathy.la
 fi
 
-tmpfiles="$tmpfiles $rp-build3"
-rm -rf $rp-build3
-mkdir $rp-build3
-(cd $top_srcdir/tests/$build3_package && tar cf - *) | (cd $rp-build3 && tar xf -)
-(cd $rp-build3
+tmpfiles="$tmpfiles tstdir/$rp-build3"
+rm -rf tstdir/$rp-build3
+mkdir tstdir/$rp-build3
+(cd $srcdir/$build3_package && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
+(cd tstdir/$rp-build3
  ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make check >> make.log
index da6a3c48cc9fd004457e75a023775aa31febfecd..354a42561838f4893c669841d55601fde5a2472c 100644 (file)
@@ -4,8 +4,10 @@ tmpfiles=""
 trap 'rm -fr $tmpfiles' 1 2 3 15
 
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
+
+test -d tstdir || mkdir tstdir
 
 tmpfiles="$tmpfiles $rp-prefix1"
 rm -rf $rp-prefix1
@@ -19,11 +21,11 @@ tmpfiles="$tmpfiles $rp-prefix"
 rm -rf $rp-prefix
 mkdir $rp-prefix
 
-tmpfiles="$tmpfiles $rp-build1"
-rm -rf $rp-build1
-mkdir $rp-build1
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd $rp-build1 && tar xf -)
-(cd $rp-build1
+tmpfiles="$tmpfiles tstdir/$rp-build1"
+rm -rf tstdir/$rp-build1
+mkdir tstdir/$rp-build1
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
+(cd tstdir/$rp-build1
  ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix1 > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -32,11 +34,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix1/lib/librpathx.la
 fi
 
-tmpfiles="$tmpfiles $rp-build2"
-rm -rf $rp-build2
-mkdir $rp-build2
-(cd $top_srcdir/tests/rpathy && tar cf - *) | (cd $rp-build2 && tar xf -)
-(cd $rp-build2
+tmpfiles="$tmpfiles tstdir/$rp-build2"
+rm -rf tstdir/$rp-build2
+mkdir tstdir/$rp-build2
+(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
+(cd tstdir/$rp-build2
  ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix2 --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -45,11 +47,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix2/lib/librpathy.la
 fi
 
-tmpfiles="$tmpfiles $rp-build3"
-rm -rf $rp-build3
-mkdir $rp-build3
-(cd $top_srcdir/tests/$build3_package && tar cf - *) | (cd $rp-build3 && tar xf -)
-(cd $rp-build3
+tmpfiles="$tmpfiles tstdir/$rp-build3"
+rm -rf tstdir/$rp-build3
+mkdir tstdir/$rp-build3
+(cd $srcdir/$build3_package && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
+(cd tstdir/$rp-build3
  if test $remove_la = yes; then
    build3_configure_flags=--with-librpathx-prefix=$builddir/$rp-prefix1
  else
index 1c69777e18a3794d6b1067589c89c8c3471478e0..02b0bdda53b4a06bc319dac2e9e8347bf24d3379 100755 (executable)
@@ -9,4 +9,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index c06cff1448232676f45ca3827e11d2605fee83a1..a8e8760be8b0082cf71908dd7c5fa06a04a11099 100755 (executable)
@@ -9,4 +9,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index 08779b6258de7dc28c920473895a36572fdda8f9..9bf805e1c115ae5eb5da05e5e1a694ffa28db71b 100755 (executable)
@@ -9,4 +9,4 @@ build2_configure_flags=
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index 749a2430458730e615858825c3fc1d74c31d8580..17ac5d6e647591734ea00fcfbdd04694b010e572 100755 (executable)
@@ -9,4 +9,4 @@ build2_configure_flags=
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index dd3986025b0e59aa827c0761d4d49b92712dd2e7..507e7de73421641675034ab25c30e24034934cff 100755 (executable)
@@ -10,4 +10,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index 86b37b24d9aa361eed2a7d0dee3b571949e55696..95ce66e0e899436e3746f16bd744db0a545edab3 100755 (executable)
@@ -10,4 +10,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index b38d21d6b238af56bdcc2b061b21ead33a4f162f..39b39fc7dce3dce99da0235fb72e6e58c0539043 100755 (executable)
@@ -10,4 +10,4 @@ build2_configure_flags=
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index 3c54053f19a1495f479b77ab889ef9ee432d48f6..7182fb3643f69a5201c40d2f0a62315c27223f61 100755 (executable)
@@ -10,4 +10,4 @@ build2_configure_flags=
 build3_package=rpathly
 remove_la=no
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index b056e7f8721efd6d6878e7c89beadf6a8f1525a9..916c6fdad82d5fe57942ff4e8e4c32d8a3396dfe 100755 (executable)
@@ -11,4 +11,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index 57bdd259297fc0c2e6a46e92315a8affbcf6ab48..00b35aa8d719420237c87744ce3370fa05a8f2d5 100755 (executable)
@@ -11,4 +11,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index a4d9f5c35bfb2530cc42a09796dba3a619bc2ff3..ba379b998fab99d24edb1a0452fa6a26d30ee9bb 100755 (executable)
@@ -11,4 +11,4 @@ build2_configure_flags=
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index 8768b9c5b900f441a43a7ab8549fc28056676792..0dabed0d37c971dd4b933fd9c4aad1ced065110a 100755 (executable)
@@ -11,4 +11,4 @@ build2_configure_flags=
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_a
+. $srcdir/rpath-2_a
index 13069eec95bf5b7d575fd44bcebfb4727efb6cb4..64f8a648e12acb25c5acdec4071be9d5d5a86509 100755 (executable)
@@ -12,4 +12,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index 09a54420cf39554e2ef9ca013b22faf65a82b004..259104771c8cbb9d9de95b5bf1cb645cebea8ff6 100755 (executable)
@@ -12,4 +12,4 @@ build2_configure_flags=--disable-shared
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index e62a9ef46957b7af5023e289e62dacb4746e836d..0423d3ef5f3d4147bdb519fb6eb9532e9f80dde9 100755 (executable)
@@ -12,4 +12,4 @@ build2_configure_flags=
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index 9f97ec1b7078f8c1fc961cbc6c4bf7e5971c63a3..921d014702f7ed38f5b270c0eb91857ff68268bf 100755 (executable)
@@ -12,4 +12,4 @@ build2_configure_flags=
 build3_package=rpathlyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-2_b
+. $srcdir/rpath-2_b
index 4d5d6608bec2641c9236a8edfe0011ef955b45b8..41852882330e62bc9bbdb000ea33c65de5d531a5 100644 (file)
@@ -4,18 +4,20 @@ tmpfiles=""
 trap 'rm -fr $tmpfiles' 1 2 3 15
 
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
+
+test -d tstdir || mkdir tstdir
 
 tmpfiles="$tmpfiles $rp-prefix"
 rm -rf $rp-prefix
 mkdir $rp-prefix
 
-tmpfiles="$tmpfiles $rp-build1"
-rm -rf $rp-build1
-mkdir $rp-build1
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd $rp-build1 && tar xf -)
-(cd $rp-build1
+tmpfiles="$tmpfiles tstdir/$rp-build1"
+rm -rf tstdir/$rp-build1
+mkdir tstdir/$rp-build1
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
+(cd tstdir/$rp-build1
  ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -24,11 +26,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix/lib/librpathx.la
 fi
 
-tmpfiles="$tmpfiles $rp-build2"
-rm -rf $rp-build2
-mkdir $rp-build2
-(cd $top_srcdir/tests/rpathy && tar cf - *) | (cd $rp-build2 && tar xf -)
-(cd $rp-build2
+tmpfiles="$tmpfiles tstdir/$rp-build2"
+rm -rf tstdir/$rp-build2
+mkdir tstdir/$rp-build2
+(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
+(cd tstdir/$rp-build2
  ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -37,11 +39,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix/lib/librpathy.la
 fi
 
-tmpfiles="$tmpfiles $rp-build3"
-rm -rf $rp-build3
-mkdir $rp-build3
-(cd $top_srcdir/tests/rpathz && tar cf - *) | (cd $rp-build3 && tar xf -)
-(cd $rp-build3
+tmpfiles="$tmpfiles tstdir/$rp-build3"
+rm -rf tstdir/$rp-build3
+mkdir tstdir/$rp-build3
+(cd $srcdir/rpathz && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
+(cd tstdir/$rp-build3
  ${CONFIG_SHELL-/bin/sh} ./configure $build3_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -50,11 +52,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix/lib/librpathz.la
 fi
 
-tmpfiles="$tmpfiles $rp-build4"
-rm -rf $rp-build4
-mkdir $rp-build4
-(cd $top_srcdir/tests/$build4_package && tar cf - *) | (cd $rp-build4 && tar xf -)
-(cd $rp-build4
+tmpfiles="$tmpfiles tstdir/$rp-build4"
+rm -rf tstdir/$rp-build4
+mkdir tstdir/$rp-build4
+(cd $srcdir/$build4_package && tar cf - *) | (cd tstdir/$rp-build4 && tar xf -)
+(cd tstdir/$rp-build4
  ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix > configure.log 2>&1
  make > make.log 2>&1
  make check >> make.log
index 875ff24f250a7d8ebc862c01a8fe478e3f938a2c..bdcbe55b536ad6ce7c3c5938e14ecd901a6cece1 100644 (file)
@@ -4,8 +4,10 @@ tmpfiles=""
 trap 'rm -fr $tmpfiles' 1 2 3 15
 
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
+
+test -d tstdir || mkdir tstdir
 
 tmpfiles="$tmpfiles $rp-prefix1"
 rm -rf $rp-prefix1
@@ -23,11 +25,11 @@ tmpfiles="$tmpfiles $rp-prefix"
 rm -rf $rp-prefix
 mkdir $rp-prefix
 
-tmpfiles="$tmpfiles $rp-build1"
-rm -rf $rp-build1
-mkdir $rp-build1
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd $rp-build1 && tar xf -)
-(cd $rp-build1
+tmpfiles="$tmpfiles tstdir/$rp-build1"
+rm -rf tstdir/$rp-build1
+mkdir tstdir/$rp-build1
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
+(cd tstdir/$rp-build1
  ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix1 > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -36,11 +38,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix1/lib/librpathx.la
 fi
 
-tmpfiles="$tmpfiles $rp-build2"
-rm -rf $rp-build2
-mkdir $rp-build2
-(cd $top_srcdir/tests/rpathy && tar cf - *) | (cd $rp-build2 && tar xf -)
-(cd $rp-build2
+tmpfiles="$tmpfiles tstdir/$rp-build2"
+rm -rf tstdir/$rp-build2
+mkdir tstdir/$rp-build2
+(cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
+(cd tstdir/$rp-build2
  ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix2 --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -49,11 +51,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix2/lib/librpathy.la
 fi
 
-tmpfiles="$tmpfiles $rp-build3"
-rm -rf $rp-build3
-mkdir $rp-build3
-(cd $top_srcdir/tests/rpathz && tar cf - *) | (cd $rp-build3 && tar xf -)
-(cd $rp-build3
+tmpfiles="$tmpfiles tstdir/$rp-build3"
+rm -rf tstdir/$rp-build3
+mkdir tstdir/$rp-build3
+(cd $srcdir/rpathz && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -)
+(cd tstdir/$rp-build3
  ${CONFIG_SHELL-/bin/sh} ./configure $build3_configure_flags --prefix=$builddir/$rp-prefix3 --with-librpathx-prefix=$builddir/$rp-prefix1 --with-librpathy-prefix=$builddir/$rp-prefix2 > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
@@ -62,11 +64,11 @@ if test $remove_la = yes; then
   rm -f $rp-prefix3/lib/librpathz.la
 fi
 
-tmpfiles="$tmpfiles $rp-build4"
-rm -rf $rp-build4
-mkdir $rp-build4
-(cd $top_srcdir/tests/$build4_package && tar cf - *) | (cd $rp-build4 && tar xf -)
-(cd $rp-build4
+tmpfiles="$tmpfiles tstdir/$rp-build4"
+rm -rf tstdir/$rp-build4
+mkdir tstdir/$rp-build4
+(cd $srcdir/$build4_package && tar cf - *) | (cd tstdir/$rp-build4 && tar xf -)
+(cd tstdir/$rp-build4
  if test $remove_la = yes; then
    build4_configure_flags="--with-librpathx-prefix=$builddir/$rp-prefix1 --with-librpathy-prefix=$builddir/$rp-prefix2"
  else
index f1ec2d2efbc7c26111fb37fa6123a2ef39ec89ae..f353d807138f152d80c7e4498067b369254b96bf 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 9f828eb04618e07585ecba2f78ad8a5c4780f007..93d157eaf37b388c7073933ad64515e3a4c17062 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 19494cdb0891508f21cb01d9cd14cadac64e2ac0..3d2d6cc4c3198d0bc3908383f5c38102b319a37f 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 3b6bc6e1d04026f930fb14d02fb3e685b5831ccd..3e35be000b4d0e705eb0dcb44bcb56511f636956 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 2f22fd03f7ad2e78ba0ce4d35e584a23fed254d0..6bea00fa4c31969f0ed422ad6a840d8cfc7b84a0 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index d4a5e4a0057d56700efde963dfa28eea2ace39ed..102d4eb960ccd730df6b891adf75bd472700ffed 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 72b1863f11ee204bc838d708b306537dd738ea2c..e7f636829c9195efbe99bfc352adc98e87ec6b26 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 96580e7a9c917a43ac734b5a9a624213238a7451..21677ee37719330e46af16d4683e3219fab4a58b 100755 (executable)
@@ -11,4 +11,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index ba015234888a3183c2d2bd0a892d65040a8d5ead..020cf211d0a2f8a7a14c170c58fd0d6b8eef0254 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 042066841f78a163875445140c2635bb179ac02e..89542f69c2ba472925f9b7944bdcbdc0f915ba47 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index f216b5d7668b304b825d8358b8b4c25756671523..9fd989619491b3d110cd8df3c9a8f39742155962 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 864b00e8a96c771d20fc2f0af7e3f16d31930ceb..ecf34b9f5453c7ce3ff452eb331b70afd3996c9e 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index b7016e9b265fdcff9bfa005b4810307927900165..2590a85a2025de5988511392b4e640c9da91acf2 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 9fe55ddf45984b8d125b8d5e41f43161588272ff..860c77ae854e8239f0ced5b98d092d86f41664c6 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index b01f42f72c724e5eed3cd7c755ff1119e78eee24..56c6db5946c6913fe067feba0f3420e0b88b1dcd 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 4e9e6376f590b66322a4eab7ec74657bdb7de473..c088dbd55b0b27e7219b8ca0b2865001bcf0dc94 100755 (executable)
@@ -12,4 +12,4 @@ build3_configure_flags=
 build4_package=rpathlz
 remove_la=no
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index eeada94020ab0612ab1949d92090920a6b838a0a..721d4f4f808a52bc2337a7060e17abb28c64416f 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 9eb1d8db3bed5c099636bf01beb068c30d7f9f29..ed5038b722dfb14fd3e12f8b2759d7b75fda4122 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index f5043880dcc7814feac5eaffc736cd6c1dbe83c6..27f5b49c2f5cb0d024417220db7f24c5d56f4557 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 728e454a4038e6950c04a8930afabcf4d80cdb8b..95b3c2f5b4caa068713c003873655843dc8c2ff8 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index 8766b1f03e623108d43a79d8d9c17d2863c8d264..c90beb3629c1097779997a1f635057de27670eeb 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index fd140a4c26fe48ebd33bcebcd65605401209fa77..57b906d9c383b23c6c0dd7c0fe1d8339d0a94555 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index be5c71468d00e46f3b8a22596380964e8b294ec1..52a83a3a8d339504edb18b3b6289e5e11a888ab4 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index a6d8112e8d4113d5a605fb42f5c97e6aff3af94e..2ec95194ae69f7973a80a4973ee526d19328d9e7 100755 (executable)
@@ -13,4 +13,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_a
+. $srcdir/rpath-3_a
index a90ee1439ec07bc3073092b5f599311683b68920..33fa2d9b5ec18f53ab9147d302eb570ccb1cb315 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 1276d7e025599e1600099614b27d8e709044ea92..32dcde7e57d4314e1624ce953f48e0a300b16c01 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 14cd18faef139ab06c7302ea978cd17786252b20..f37295a2f637d036e1676e2a6a1c28c6e71b6a76 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index df72cf7bc5e64b25106a49e859075ad0ec353b81..9d5faef4651a3c205ac45818eeadc38058c730b9 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=--disable-shared
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index ea9c458ec42f3d3b2e5fe9f6babf02f7ce7d666d..3e2d96dc652aae6c1069335cb7214fa783e65308 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 674fac18edcbf9cb1d9c6ca94d97087082af4d2b..b03f0db79c5759b7b6e47244a38ef76976febc1e 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index d824b5dfb5e712eebf2cc0228e32e7854b4b5534..0a6476c1395d32f9ea141b06b684fa14e2c7762b 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 6bf6c9ae50aa6098b7f6428265933e7665ebc340..02c0bda477f4f9b443f9803f7a118900158157e8 100755 (executable)
@@ -14,4 +14,4 @@ build3_configure_flags=
 build4_package=rpathlzyx
 remove_la=yes
 
-. $top_srcdir/tests/rpath-3_b
+. $srcdir/rpath-3_b
index 11f241edc5a27f90380cc55fa3d4992eac9dd73a..25b828b7f6e5385afe16663e980b67e7b9dfabad 100755 (executable)
@@ -2,32 +2,34 @@
 # Prints information for maintaining config.rpath.
 
 # The caller should set the environment variables
-# top_srcdir, CONFIG_SHELL, CC, GCC, LDFLAGS, LD, with_gnu_ld, host.
+# top_srcdir, srcdir, CONFIG_SHELL, CC, GCC, LDFLAGS, LD, with_gnu_ld, host.
 
 echo "=============== rpathcfg for $host ==============="
 echo
 echo "--------------- config.rpath output ---------------"
-${CONFIG_SHELL-/bin/sh} $top_srcdir/config.rpath "$host" | sed -e 's/^acl_cv_//'
+${CONFIG_SHELL-/bin/sh} $srcdir/../config.rpath "$host" | sed -e 's/^acl_cv_//'
 echo "--------------- experimentally determined ---------------"
-abs_top_srcdir=`cd $top_srcdir && pwd`
 builddir=`pwd`
-global_top_srcdir=`cd "$top_srcdir" && pwd`
-export global_top_srcdir
-rm -rf tstprefix tstbuild tstlib
+global_top_auxdir=`cd "$top_srcdir"/config && pwd`
+export global_top_auxdir
 
-eval `${CONFIG_SHELL-/bin/sh} $top_srcdir/config.rpath "$host" | grep '^acl_cv_wl='`
+test -d tstdir || mkdir tstdir
+
+rm -rf tstprefix tstdir/build tstlib
+
+eval `${CONFIG_SHELL-/bin/sh} $srcdir/../config.rpath "$host" | grep '^acl_cv_wl='`
 wl="$acl_cv_wl"
 
 # Static library suffix (normally "a").
 mkdir tstprefix
-mkdir tstbuild
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd tstbuild && tar xf -)
-(cd tstbuild
+mkdir tstdir/build
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
+(cd tstdir/build
  ${CONFIG_SHELL-/bin/sh} ./configure --disable-shared --prefix=$builddir/tstprefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
 )
-rm -rf tstbuild
+rm -rf tstdir/build
 libext=
 cd tstprefix/lib
 for f in *; do
@@ -45,14 +47,14 @@ rm -rf tstprefix
 
 # Shared library suffix (normally "so").
 mkdir tstprefix
-mkdir tstbuild
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd tstbuild && tar xf -)
-(cd tstbuild
+mkdir tstdir/build
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
+(cd tstdir/build
  ${CONFIG_SHELL-/bin/sh} ./configure --disable-static --prefix=$builddir/tstprefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
 )
-rm -rf tstbuild
+rm -rf tstdir/build
 shlibext=
 cd tstprefix/lib || exit 1
 for f in *; do
@@ -70,14 +72,14 @@ rm -rf tstprefix
 
 # Prepare hardcoding tests.
 mkdir tstprefix
-mkdir tstbuild
-(cd $top_srcdir/tests/rpathx && tar cf - *) | (cd tstbuild && tar xf -)
-(cd tstbuild
+mkdir tstdir/build
+(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/build && tar xf -)
+(cd tstdir/build
  ${CONFIG_SHELL-/bin/sh} ./configure --disable-static --prefix=$builddir/tstprefix > configure.log 2>&1
  make > make.log 2>&1
  make install > install.log 2>&1
 )
-rm -rf tstbuild
+rm -rf tstdir/build
 
 # Flag to hardcode \$libdir into a binary during linking.
 # This must work even if \$libdir does not exist.
@@ -95,8 +97,8 @@ for spec in \
   libdir=`pwd`/tstprefix/lib
   eval flag=\"$spec\"
   echo 1>&2
-  echo "$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
-  $CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
+  echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
+  $CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
   if test $? = 0; then
     mv tstlib tstprefix/lib
     echo "ok, running created a.out." 1>&2
@@ -121,8 +123,8 @@ if test -n "$hardcode_libdir_flag_spec"; then
   libdir=/tmp
   eval flag2=\"$spec\"
   echo 1>&2
-  echo "$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out" 1>&2
-  $CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out
+  echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out" 1>&2
+  $CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag1 $flag2 -o a.out
   if test $? = 0; then
     mv tstlib tstprefix/lib
     echo "ok, running created a.out." 1>&2
@@ -139,8 +141,8 @@ if test -n "$hardcode_libdir_flag_spec"; then
     libdir=`pwd`/tstprefix/lib:/tmp
     eval flag=\"$spec\"
     echo 1>&2
-    echo "$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
-    $CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
+    echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out" 1>&2
+    $CC $LDFLAGS $srcdir/rpathlx/usex.c tstlib/librpathx.$shlibext $flag -o a.out
     if test $? = 0; then
       mv tstlib tstprefix/lib
       echo "ok, running created a.out." 1>&2
@@ -165,8 +167,8 @@ fi
 # resulting binary.
 hardcode_direct=no
 echo 1>&2
-echo "$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out" 1>&2
-$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out
+echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out" 1>&2
+$CC $LDFLAGS $srcdir/rpathlx/usex.c tstprefix/lib/librpathx.$shlibext -o a.out
 if test $? = 0; then
   echo "ok, running created a.out." 1>&2
   if ./a.out; then
@@ -179,8 +181,8 @@ rm -f a.out
 # resulting binary.
 hardcode_minus_L=no
 echo 1>&2
-echo "$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out" 1>&2
-$CC $LDFLAGS $top_srcdir/tests/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out
+echo "$CC $LDFLAGS $srcdir/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out" 1>&2
+$CC $LDFLAGS $srcdir/rpathlx/usex.c -Ltstprefix/lib -lrpathx -o a.out
 if test $? = 0; then
   echo "ok, running created a.out." 1>&2
   if ./a.out; then
@@ -190,7 +192,7 @@ fi
 rm -f a.out
 
 # Clean up.
-rm -rf tstprefix
+rm -rf tstprefix tstdir
 
 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
index a104bf59e1cf1a784536a6ff8d25e614c90186d9..233aa84e3c4923b055065a42e855081605d0e289 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 bin_PROGRAMS = usex
 usex_SOURCES = usex.c
 LDADD = @LIBRPATHX@
index cfcbd3d9a036be7b939901e370612fe91fc0f2c5..73b180e7de35d44fbe1bdb66e8503c3660e9c0b7 100644 (file)
@@ -1,8 +1,25 @@
-# Configuration of a program that links with librpathx.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of a program that links with librpathx.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathlx, 0)
 AC_PROG_CC
 AC_LIB_LINKFLAGS([rpathx])
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 46be50d1c90d4e4a8324c374cca7ddb3f7107ee4..d0d4a276bc83033dae973b1a306e559e6dcb7c28 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 bin_PROGRAMS = usey
 usey_SOURCES = usey.c
 LDADD = @LIBRPATHY@
index e793eb0bc6595f431fe202ac9d149a81611c0c90..53559f1267a2b311eb47e34f1c093113fb9334d3 100644 (file)
@@ -1,8 +1,25 @@
-# Configuration of a program that links with librpathy.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of a program that links with librpathy.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathly, 0)
 AC_PROG_CC
 AC_LIB_LINKFLAGS([rpathy])
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 46be50d1c90d4e4a8324c374cca7ddb3f7107ee4..d0d4a276bc83033dae973b1a306e559e6dcb7c28 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 bin_PROGRAMS = usey
 usey_SOURCES = usey.c
 LDADD = @LIBRPATHY@
index 47cccb11ab062244867076ee605892bab36c0d10..6d685c52e9977c721db65cb4e54d3ecba9ead0d5 100644 (file)
@@ -1,10 +1,27 @@
-# Configuration of a program that links with librpathy.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of a program that links with librpathy.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathlyx, 0)
 AC_PROG_CC
 AC_LIB_LINKFLAGS([rpathx])
 AC_LIB_LINKFLAGS([rpathy],[rpathx])
 LIBRPATHY="$LIBRPATHY $LIBRPATHX"
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 5359ceab95f451a33d1c5131b7521d3b09c2c2bc..8c4327c4a5987cb44f9d146505c78c048799498b 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 bin_PROGRAMS = usez
 usez_SOURCES = usez.c
 LDADD = @LIBRPATHZ@
index cf45456e777b3bc847742ac9209352dcfb03e456..e9e896305ea97e2e2f3f0a96da5d1e7818024b71 100644 (file)
@@ -1,8 +1,25 @@
-# Configuration of a program that links with librpathz.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of a program that links with librpathz.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathlz, 0)
 AC_PROG_CC
 AC_LIB_LINKFLAGS([rpathz])
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 5359ceab95f451a33d1c5131b7521d3b09c2c2bc..8c4327c4a5987cb44f9d146505c78c048799498b 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 bin_PROGRAMS = usez
 usez_SOURCES = usez.c
 LDADD = @LIBRPATHZ@
index b8f479931c92a191501533953399bc030c2d1faa..a1e5b3bd9646b85ebe5fa77f9d3c57282d60d1f7 100644 (file)
@@ -1,11 +1,28 @@
-# Configuration of a program that links with librpathz.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of a program that links with librpathz.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathlzyx, 0)
 AC_PROG_CC
 AC_LIB_LINKFLAGS([rpathx])
 AC_LIB_LINKFLAGS([rpathy],[rpathx])
 AC_LIB_LINKFLAGS([rpathz],[rpathx rpathy])
 LIBRPATHZ="$LIBRPATHZ $LIBRPATHY $LIBRPATHX"
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 378fda3b199ca69cfd234f460f4089077877fbae..525ce4df6dc65558f27a51114aba054e68bd72d5 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 lib_LTLIBRARIES = librpathx.la
 librpathx_la_SOURCES = rpathx.c
 librpathx_la_LDFLAGS = -lc -no-undefined
index 5308a0cbb026dc0e9b2c39df821d874fae717ccd..4975c318819bffb5996ea95ff8337b255db2789e 100644 (file)
@@ -1,8 +1,25 @@
-# Configuration of librpathx.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of librpathx.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathx, 0)
 AC_PROG_CC
 AM_PROG_LIBTOOL
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 8859f84f658f617d883ac640f305e3ccdf761306..26f288b1edbada509293e65ee29b73139cc5a3d0 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 lib_LTLIBRARIES = librpathy.la
 librpathy_la_SOURCES = rpathy.c
 librpathy_la_LDFLAGS = @LTLIBRPATHX@ -lc -no-undefined
index 6b7a44e565c9253de7fb8ad17e9a72877c6d947d..e415df09c8638d6106f83af2dcde50388acf4216 100644 (file)
@@ -1,9 +1,26 @@
-# Configuration of librpathy that depends on librpathx.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of librpathy that depends on librpathx.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathy, 0)
 AC_PROG_CC
 AM_PROG_LIBTOOL
 AC_LIB_LINKFLAGS([rpathx])
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])
index 34b851386fa7a3aee5896c474b30d25e65fc8233..e90f44a542f8194432ef5b566f2d56e83a4ed173 100644 (file)
@@ -1,5 +1,5 @@
 AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies
-mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs
+mkinstalldirs = $(SHELL) @global_top_auxdir@/mkinstalldirs
 lib_LTLIBRARIES = librpathz.la
 librpathz_la_SOURCES = rpathz.c
 librpathz_la_LDFLAGS = @LTLIBRPATHX@ @LTLIBRPATHY@ -lc -no-undefined
index 87db95fe8cfedf513eab170bc813273da293d582..3dc8f0cdd046e01c0b1f3d90384852f5745a61f0 100644 (file)
@@ -1,10 +1,27 @@
-# Configuration of librpathz that depends on librpathx and librpathy.
-AC_INIT(configure.in)
-AC_CONFIG_AUX_DIRS($global_top_srcdir ../..)
+dnl Configuration of librpathz that depends on librpathx and librpathy.
+dnl
+dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
+dnl
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AC_INIT(configure.ac)
+AC_CONFIG_AUX_DIR(../../../config)
 AM_INIT_AUTOMAKE(gettext_rpathz, 0)
 AC_PROG_CC
 AM_PROG_LIBTOOL
 AC_LIB_LINKFLAGS([rpathx])
 AC_LIB_LINKFLAGS([rpathy],[rpathx])
-AC_SUBST(global_top_srcdir)
+AC_SUBST(global_top_auxdir)
 AC_OUTPUT([Makefile])