diff options
Diffstat (limited to 'autoconf-lib-link')
86 files changed, 19 insertions, 1849 deletions
diff --git a/autoconf-lib-link/ChangeLog b/autoconf-lib-link/ChangeLog index 97bb570e9..57ae61f9d 100644 --- a/autoconf-lib-link/ChangeLog +++ b/autoconf-lib-link/ChangeLog @@ -1,3 +1,17 @@ +2010-04-02 Bruno Haible <bruno@clisp.org> + + Move unit tests to gnulib. + * tests: Remove subdirectory. + * Makefile.am (SUBDIRS): Remove tests. + (all-local, build-aux-dir, build-aux/*): Remove targets. + (DISTCLEANFILES): Remove augmentation. + (distclean-local): Remove target. + (CONFIGURES_RPATH*, SUBCONFIGURES): Remove variables. + ($(srcdir)/tests/rpath*/*, subconfigures): Remove targets. + * configure.ac: Remove checks for tests/rpathcfg and tests/rpath*. + (AC_CONFIG_FILES): Drop postprocessing of Makefile. Drop + tests/Makefile. + 2009-05-23 Bruno Haible <bruno@clisp.org> * configure.ac (AM_INIT_AUTOMAKE): Add 'silent-rules' option. diff --git a/autoconf-lib-link/Makefile.am b/autoconf-lib-link/Makefile.am index 7c04b0b03..af97033a5 100644 --- a/autoconf-lib-link/Makefile.am +++ b/autoconf-lib-link/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the autoconf-lib-link directory of GNU gettext -## Copyright (C) 1995-1999, 2000-2003, 2005-2006 Free Software Foundation, Inc. +## Copyright (C) 1995-1999, 2000-2003, 2005-2006, 2010 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 @@ -22,7 +22,7 @@ ACLOCAL_AMFLAGS = -I m4 -I ../m4 EXTRA_DIST = DISTCLEANFILES = -SUBDIRS = m4 tests +SUBDIRS = m4 EXTRA_DIST += config.rpath @@ -34,116 +34,3 @@ all-local: $(srcdir)/../build-aux/config.rpath $(srcdir)/../build-aux/config.rpath: $(srcdir)/config.rpath cp $(srcdir)/config.rpath $(srcdir)/../build-aux/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 '../../../build-aux', for case 1, and therefore -# we need to make a local copy of the build-aux directory, for case 2. - -all-local: build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath - -build-aux-dir: - test -d build-aux || mkdir build-aux - touch build-aux-dir - -build-aux/config.guess: $(srcdir)/../build-aux/config.guess build-aux-dir - cp $(srcdir)/../build-aux/config.guess build-aux/config.guess - -build-aux/config.sub: $(srcdir)/../build-aux/config.sub build-aux-dir - cp $(srcdir)/../build-aux/config.sub build-aux/config.sub - -build-aux/install-sh: $(srcdir)/../build-aux/install-sh build-aux-dir - cp $(srcdir)/../build-aux/install-sh build-aux/install-sh - -build-aux/ltmain.sh: $(srcdir)/../build-aux/ltmain.sh build-aux-dir - cp $(srcdir)/../build-aux/ltmain.sh build-aux/ltmain.sh - -build-aux/missing: $(srcdir)/../build-aux/missing build-aux-dir - cp $(srcdir)/../build-aux/missing build-aux/missing - -build-aux/config.rpath: $(srcdir)/config.rpath build-aux-dir - cp $(srcdir)/config.rpath build-aux/config.rpath - -DISTCLEANFILES += build-aux/config.guess build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh build-aux/missing build-aux/config.rpath - -distclean-local: - rm -rf build-aux build-aux-dir - - -# 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)/../m4/libtool.m4 - cd $(srcdir)/tests/rpathx && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` -$(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)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 - cd $(srcdir)/tests/rpathy && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` -$(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)/../m4/libtool.m4 $(srcdir)/m4/lib-link.m4 $(srcdir)/m4/lib-prefix.m4 $(srcdir)/m4/lib-ld.m4 - cd $(srcdir)/tests/rpathz && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -I `cd ../../../m4 && pwd` -$(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 && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -$(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 && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -$(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 && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -$(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 && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -$(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 && ../../../build-aux/fixaclocal aclocal -I `cd ../../m4 && pwd` -$(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/configure.ac b/autoconf-lib-link/configure.ac index f8ee785c2..0f1da6788 100644 --- a/autoconf-lib-link/configure.ac +++ b/autoconf-lib-link/configure.ac @@ -1,5 +1,5 @@ dnl Configuration for the autoconf-lib-link directory of GNU gettext -dnl Copyright (C) 1995-1999, 2000-2003, 2005-2006, 2008-2009 Free Software Foundation, Inc. +dnl Copyright (C) 1995-1999, 2000-2003, 2005-2006, 2008-2010 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 @@ -18,7 +18,7 @@ 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_SRCDIR([m4/lib-link.m4]) AC_CONFIG_AUX_DIR([../build-aux]) . $srcdir/../version.sh gl_INIT_PACKAGE([autoconf-lib-link], [$VERSION_NUMBER]) @@ -49,23 +49,11 @@ 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_LIB_PREPARE_MULTILIB -LIBDIRSTEM=$acl_libdirstem -AC_SUBST([LIBDIRSTEM]) - -AC_CONFIG_FILES([Makefile], - [FIX_MAKEFILE_DISTRIB]) +AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([m4/Makefile]) -AC_CONFIG_FILES([tests/Makefile]) - AC_OUTPUT diff --git a/autoconf-lib-link/tests/.gitignore b/autoconf-lib-link/tests/.gitignore deleted file mode 100644 index c9f4eb582..000000000 --- a/autoconf-lib-link/tests/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Files generated by the autotools: -/Makefile.in - -# Files generated by the autotools, from autogen.sh or "make dist": -rpathlx/aclocal.m4 -rpathlx/configure -rpathlx/Makefile.in -rpathly/aclocal.m4 -rpathly/configure -rpathly/Makefile.in -rpathlyx/aclocal.m4 -rpathlyx/configure -rpathlyx/Makefile.in -rpathlz/aclocal.m4 -rpathlz/configure -rpathlz/Makefile.in -rpathlzyx/aclocal.m4 -rpathlzyx/configure -rpathlzyx/Makefile.in -rpathx/aclocal.m4 -rpathx/configure -rpathx/Makefile.in -rpathy/aclocal.m4 -rpathy/configure -rpathy/Makefile.in -rpathz/aclocal.m4 -rpathz/configure -rpathz/Makefile.in - diff --git a/autoconf-lib-link/tests/Makefile.am b/autoconf-lib-link/tests/Makefile.am deleted file mode 100644 index 3b608c73d..000000000 --- a/autoconf-lib-link/tests/Makefile.am +++ /dev/null @@ -1,79 +0,0 @@ -## Makefile for the autoconf-lib-link/tests subdirectory of GNU gettext -## Copyright (C) 1995-1997, 2001-2003, 2006, 2009 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. - -## Process this file with automake to produce Makefile.in. - -AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests -MOSTLYCLEANFILES = - -TESTS = rpath-1a rpath-1b \ - rpath-2aaa rpath-2aab rpath-2aad \ - rpath-2aba rpath-2abb rpath-2abd \ - rpath-2baa rpath-2bab rpath-2bad \ - rpath-2bba rpath-2bbb rpath-2bbd \ - rpath-3aaa rpath-3aab rpath-3aad \ - rpath-3aah \ - rpath-3aba rpath-3abb rpath-3abd \ - rpath-3abh \ - rpath-3baa rpath-3bab rpath-3bad \ - rpath-3bah \ - rpath-3bba rpath-3bbb rpath-3bbd \ - 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@' \ - LIBDIRSTEM='@LIBDIRSTEM@' \ - 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-local: - rm -rf tstdir diff --git a/autoconf-lib-link/tests/rpath-1 b/autoconf-lib-link/tests/rpath-1 deleted file mode 100644 index 4a5a76b60..000000000 --- a/autoconf-lib-link/tests/rpath-1 +++ /dev/null @@ -1,39 +0,0 @@ -# Common portion of all rpath-1* tests. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -test -d tstdir || mkdir tstdir - -tmpfiles="$tmpfiles $rp-prefix" -rm -rf $rp-prefix -mkdir $rp-prefix - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make check >> make.log -) -result=$? - -rm -rf $tmpfiles - -exit $result diff --git a/autoconf-lib-link/tests/rpath-1a b/autoconf-lib-link/tests/rpath-1a deleted file mode 100755 index 413a48c68..000000000 --- a/autoconf-lib-link/tests/rpath-1a +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# Simple case: a static library. - -rp=rp1a -build1_configure_flags=--disable-shared - -. $srcdir/rpath-1 diff --git a/autoconf-lib-link/tests/rpath-1b b/autoconf-lib-link/tests/rpath-1b deleted file mode 100755 index 3170d81a4..000000000 --- a/autoconf-lib-link/tests/rpath-1b +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# Simple case: a shared library. - -rp=rp1b -build1_configure_flags= - -. $srcdir/rpath-1 diff --git a/autoconf-lib-link/tests/rpath-2_a b/autoconf-lib-link/tests/rpath-2_a deleted file mode 100644 index 1f4eec62e..000000000 --- a/autoconf-lib-link/tests/rpath-2_a +++ /dev/null @@ -1,55 +0,0 @@ -# Common portion of all rpath-2?a? tests. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -test -d tstdir || mkdir tstdir - -tmpfiles="$tmpfiles $rp-prefix" -rm -rf $rp-prefix -mkdir $rp-prefix - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix/lib/librpathx.la -fi - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix/lib/librpathy.la -fi - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make check >> make.log -) -result=$? - -rm -rf $tmpfiles - -exit $result diff --git a/autoconf-lib-link/tests/rpath-2_b b/autoconf-lib-link/tests/rpath-2_b deleted file mode 100644 index 61205d0f6..000000000 --- a/autoconf-lib-link/tests/rpath-2_b +++ /dev/null @@ -1,68 +0,0 @@ -# Common portion of all rpath-2?b? tests. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -test -d tstdir || mkdir tstdir - -tmpfiles="$tmpfiles $rp-prefix1" -rm -rf $rp-prefix1 -mkdir $rp-prefix1 - -tmpfiles="$tmpfiles $rp-prefix2" -rm -rf $rp-prefix2 -mkdir $rp-prefix2 - -tmpfiles="$tmpfiles $rp-prefix" -rm -rf $rp-prefix -mkdir $rp-prefix - -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 --libdir=$builddir/$rp-prefix1/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix1/lib/librpathx.la -fi - -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 --libdir=$builddir/$rp-prefix2/$LIBDIRSTEM --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix2/lib/librpathy.la -fi - -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 - build3_configure_flags= - fi - ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM --with-librpathy-prefix=$builddir/$rp-prefix2 $build3_configure_flags > configure.log 2>&1 - make > make.log 2>&1 - make check >> make.log -) -result=$? - -rm -rf $tmpfiles - -exit $result diff --git a/autoconf-lib-link/tests/rpath-2aaa b/autoconf-lib-link/tests/rpath-2aaa deleted file mode 100755 index 02b0bdda5..000000000 --- a/autoconf-lib-link/tests/rpath-2aaa +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library. - -rp=rp2aaa -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2aab b/autoconf-lib-link/tests/rpath-2aab deleted file mode 100755 index a8e8760be..000000000 --- a/autoconf-lib-link/tests/rpath-2aab +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library. - -rp=rp2aab -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2aac b/autoconf-lib-link/tests/rpath-2aac deleted file mode 100755 index 9bf805e1c..000000000 --- a/autoconf-lib-link/tests/rpath-2aac +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library. - -rp=rp2aac -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2aad b/autoconf-lib-link/tests/rpath-2aad deleted file mode 100755 index 17ac5d6e6..000000000 --- a/autoconf-lib-link/tests/rpath-2aad +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library. - -rp=rp2aad -build1_configure_flags= -build2_configure_flags= -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2aba b/autoconf-lib-link/tests/rpath-2aba deleted file mode 100755 index 507e7de73..000000000 --- a/autoconf-lib-link/tests/rpath-2aba +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library. -# Each library installed with a different prefix. - -rp=rp2aba -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2abb b/autoconf-lib-link/tests/rpath-2abb deleted file mode 100755 index 95ce66e0e..000000000 --- a/autoconf-lib-link/tests/rpath-2abb +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library. -# Each library installed with a different prefix. - -rp=rp2abb -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2abc b/autoconf-lib-link/tests/rpath-2abc deleted file mode 100755 index 39b39fc7d..000000000 --- a/autoconf-lib-link/tests/rpath-2abc +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library. -# Each library installed with a different prefix. - -rp=rp2abc -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2abd b/autoconf-lib-link/tests/rpath-2abd deleted file mode 100755 index 7182fb364..000000000 --- a/autoconf-lib-link/tests/rpath-2abd +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library. -# Each library installed with a different prefix. - -rp=rp2abd -build1_configure_flags= -build2_configure_flags= -build3_package=rpathly -remove_la=no - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2baa b/autoconf-lib-link/tests/rpath-2baa deleted file mode 100755 index 916c6fdad..000000000 --- a/autoconf-lib-link/tests/rpath-2baa +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp2baa -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2bab b/autoconf-lib-link/tests/rpath-2bab deleted file mode 100755 index 00b35aa8d..000000000 --- a/autoconf-lib-link/tests/rpath-2bab +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp2bab -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2bac b/autoconf-lib-link/tests/rpath-2bac deleted file mode 100755 index ba379b998..000000000 --- a/autoconf-lib-link/tests/rpath-2bac +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp2bac -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2bad b/autoconf-lib-link/tests/rpath-2bad deleted file mode 100755 index 0dabed0d3..000000000 --- a/autoconf-lib-link/tests/rpath-2bad +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp2bad -build1_configure_flags= -build2_configure_flags= -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_a diff --git a/autoconf-lib-link/tests/rpath-2bba b/autoconf-lib-link/tests/rpath-2bba deleted file mode 100755 index 64f8a648e..000000000 --- a/autoconf-lib-link/tests/rpath-2bba +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp2bba -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2bbb b/autoconf-lib-link/tests/rpath-2bbb deleted file mode 100755 index 259104771..000000000 --- a/autoconf-lib-link/tests/rpath-2bbb +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp2bbb -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2bbc b/autoconf-lib-link/tests/rpath-2bbc deleted file mode 100755 index 0423d3ef5..000000000 --- a/autoconf-lib-link/tests/rpath-2bbc +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp2bbc -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-2bbd b/autoconf-lib-link/tests/rpath-2bbd deleted file mode 100755 index 921d01470..000000000 --- a/autoconf-lib-link/tests/rpath-2bbd +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp2bbd -build1_configure_flags= -build2_configure_flags= -build3_package=rpathlyx -remove_la=yes - -. $srcdir/rpath-2_b diff --git a/autoconf-lib-link/tests/rpath-3_a b/autoconf-lib-link/tests/rpath-3_a deleted file mode 100644 index 0e59c7c3a..000000000 --- a/autoconf-lib-link/tests/rpath-3_a +++ /dev/null @@ -1,68 +0,0 @@ -# Common portion of all rpath-3?a? tests. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -test -d tstdir || mkdir tstdir - -tmpfiles="$tmpfiles $rp-prefix" -rm -rf $rp-prefix -mkdir $rp-prefix - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix/lib/librpathx.la -fi - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix/lib/librpathy.la -fi - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix/lib/librpathz.la -fi - -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 --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make check >> make.log -) -result=$? - -rm -rf $tmpfiles - -exit $result diff --git a/autoconf-lib-link/tests/rpath-3_b b/autoconf-lib-link/tests/rpath-3_b deleted file mode 100644 index 4ebd3fb43..000000000 --- a/autoconf-lib-link/tests/rpath-3_b +++ /dev/null @@ -1,85 +0,0 @@ -# Common portion of all rpath-3?b? tests. - -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -test -d tstdir || mkdir tstdir - -tmpfiles="$tmpfiles $rp-prefix1" -rm -rf $rp-prefix1 -mkdir $rp-prefix1 - -tmpfiles="$tmpfiles $rp-prefix2" -rm -rf $rp-prefix2 -mkdir $rp-prefix2 - -tmpfiles="$tmpfiles $rp-prefix3" -rm -rf $rp-prefix3 -mkdir $rp-prefix3 - -tmpfiles="$tmpfiles $rp-prefix" -rm -rf $rp-prefix -mkdir $rp-prefix - -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 --libdir=$builddir/$rp-prefix1/$LIBDIRSTEM > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix1/lib/librpathx.la -fi - -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 --libdir=$builddir/$rp-prefix2/$LIBDIRSTEM --with-librpathx-prefix=$builddir/$rp-prefix1 > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -if test $remove_la = yes; then - rm -f $rp-prefix2/lib/librpathy.la -fi - -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 --libdir=$builddir/$rp-prefix3/$LIBDIRSTEM --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 -) -if test $remove_la = yes; then - rm -f $rp-prefix3/lib/librpathz.la -fi - -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 - build4_configure_flags= - fi - ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM --with-librpathz-prefix=$builddir/$rp-prefix3 $build4_configure_flags > configure.log 2>&1 - make > make.log 2>&1 - make check >> make.log -) -result=$? - -rm -rf $tmpfiles - -exit $result diff --git a/autoconf-lib-link/tests/rpath-3aaa b/autoconf-lib-link/tests/rpath-3aaa deleted file mode 100755 index f353d8071..000000000 --- a/autoconf-lib-link/tests/rpath-3aaa +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a static library depending on both. - -rp=rp3aaa -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aab b/autoconf-lib-link/tests/rpath-3aab deleted file mode 100755 index 93d157eaf..000000000 --- a/autoconf-lib-link/tests/rpath-3aab +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a static library depending on both. - -rp=rp3aab -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aac b/autoconf-lib-link/tests/rpath-3aac deleted file mode 100755 index 3d2d6cc4c..000000000 --- a/autoconf-lib-link/tests/rpath-3aac +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a static library depending on both. - -rp=rp3aac -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aad b/autoconf-lib-link/tests/rpath-3aad deleted file mode 100755 index 3e35be000..000000000 --- a/autoconf-lib-link/tests/rpath-3aad +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a static library depending on both. - -rp=rp3aad -build1_configure_flags= -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aae b/autoconf-lib-link/tests/rpath-3aae deleted file mode 100755 index 6bea00fa4..000000000 --- a/autoconf-lib-link/tests/rpath-3aae +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a shared library depending on both. - -rp=rp3aae -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aaf b/autoconf-lib-link/tests/rpath-3aaf deleted file mode 100755 index 102d4eb96..000000000 --- a/autoconf-lib-link/tests/rpath-3aaf +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a shared library depending on both. - -rp=rp3aaf -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aag b/autoconf-lib-link/tests/rpath-3aag deleted file mode 100755 index e7f636829..000000000 --- a/autoconf-lib-link/tests/rpath-3aag +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a shared library depending on both. - -rp=rp3aag -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aah b/autoconf-lib-link/tests/rpath-3aah deleted file mode 100755 index 21677ee37..000000000 --- a/autoconf-lib-link/tests/rpath-3aah +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a shared library depending on both. - -rp=rp3aah -build1_configure_flags= -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3aba b/autoconf-lib-link/tests/rpath-3aba deleted file mode 100755 index 020cf211d..000000000 --- a/autoconf-lib-link/tests/rpath-3aba +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a static library depending on both. -# Each library installed with a different prefix. - -rp=rp3aba -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abb b/autoconf-lib-link/tests/rpath-3abb deleted file mode 100755 index 89542f69c..000000000 --- a/autoconf-lib-link/tests/rpath-3abb +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a static library depending on both. -# Each library installed with a different prefix. - -rp=rp3abb -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abc b/autoconf-lib-link/tests/rpath-3abc deleted file mode 100755 index 9fd989619..000000000 --- a/autoconf-lib-link/tests/rpath-3abc +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a static library depending on both. -# Each library installed with a different prefix. - -rp=rp3abc -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abd b/autoconf-lib-link/tests/rpath-3abd deleted file mode 100755 index ecf34b9f5..000000000 --- a/autoconf-lib-link/tests/rpath-3abd +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a static library depending on both. -# Each library installed with a different prefix. - -rp=rp3abd -build1_configure_flags= -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abe b/autoconf-lib-link/tests/rpath-3abe deleted file mode 100755 index 2590a85a2..000000000 --- a/autoconf-lib-link/tests/rpath-3abe +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a shared library depending on both. -# Each library installed with a different prefix. - -rp=rp3abe -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abf b/autoconf-lib-link/tests/rpath-3abf deleted file mode 100755 index 860c77ae8..000000000 --- a/autoconf-lib-link/tests/rpath-3abf +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a shared library depending on both. -# Each library installed with a different prefix. - -rp=rp3abf -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abg b/autoconf-lib-link/tests/rpath-3abg deleted file mode 100755 index 56c6db594..000000000 --- a/autoconf-lib-link/tests/rpath-3abg +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a shared library depending on both. -# Each library installed with a different prefix. - -rp=rp3abg -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3abh b/autoconf-lib-link/tests/rpath-3abh deleted file mode 100755 index c088dbd55..000000000 --- a/autoconf-lib-link/tests/rpath-3abh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a shared library depending on both. -# Each library installed with a different prefix. - -rp=rp3abh -build1_configure_flags= -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlz -remove_la=no - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3baa b/autoconf-lib-link/tests/rpath-3baa deleted file mode 100755 index 721d4f4f8..000000000 --- a/autoconf-lib-link/tests/rpath-3baa +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3baa -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bab b/autoconf-lib-link/tests/rpath-3bab deleted file mode 100755 index ed5038b72..000000000 --- a/autoconf-lib-link/tests/rpath-3bab +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bab -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bac b/autoconf-lib-link/tests/rpath-3bac deleted file mode 100755 index 27f5b49c2..000000000 --- a/autoconf-lib-link/tests/rpath-3bac +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bac -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bad b/autoconf-lib-link/tests/rpath-3bad deleted file mode 100755 index 95b3c2f5b..000000000 --- a/autoconf-lib-link/tests/rpath-3bad +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bad -build1_configure_flags= -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bae b/autoconf-lib-link/tests/rpath-3bae deleted file mode 100755 index c90beb362..000000000 --- a/autoconf-lib-link/tests/rpath-3bae +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bae -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3baf b/autoconf-lib-link/tests/rpath-3baf deleted file mode 100755 index 57b906d9c..000000000 --- a/autoconf-lib-link/tests/rpath-3baf +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3baf -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bag b/autoconf-lib-link/tests/rpath-3bag deleted file mode 100755 index 52a83a3a8..000000000 --- a/autoconf-lib-link/tests/rpath-3bag +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bag -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bah b/autoconf-lib-link/tests/rpath-3bah deleted file mode 100755 index 2ec95194a..000000000 --- a/autoconf-lib-link/tests/rpath-3bah +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. - -rp=rp3bah -build1_configure_flags= -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_a diff --git a/autoconf-lib-link/tests/rpath-3bba b/autoconf-lib-link/tests/rpath-3bba deleted file mode 100755 index 33fa2d9b5..000000000 --- a/autoconf-lib-link/tests/rpath-3bba +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bba -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbb b/autoconf-lib-link/tests/rpath-3bbb deleted file mode 100755 index 32dcde7e5..000000000 --- a/autoconf-lib-link/tests/rpath-3bbb +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbb -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbc b/autoconf-lib-link/tests/rpath-3bbc deleted file mode 100755 index f37295a2f..000000000 --- a/autoconf-lib-link/tests/rpath-3bbc +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbc -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbd b/autoconf-lib-link/tests/rpath-3bbd deleted file mode 100755 index 9d5faef46..000000000 --- a/autoconf-lib-link/tests/rpath-3bbd +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a static library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbd -build1_configure_flags= -build2_configure_flags= -build3_configure_flags=--disable-shared -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbe b/autoconf-lib-link/tests/rpath-3bbe deleted file mode 100755 index 3e2d96dc6..000000000 --- a/autoconf-lib-link/tests/rpath-3bbe +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a static library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbe -build1_configure_flags=--disable-shared -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbf b/autoconf-lib-link/tests/rpath-3bbf deleted file mode 100755 index b03f0db79..000000000 --- a/autoconf-lib-link/tests/rpath-3bbf +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a static library depending on a shared library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbf -build1_configure_flags= -build2_configure_flags=--disable-shared -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbg b/autoconf-lib-link/tests/rpath-3bbg deleted file mode 100755 index 0a6476c13..000000000 --- a/autoconf-lib-link/tests/rpath-3bbg +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a static library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbg -build1_configure_flags=--disable-shared -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath-3bbh b/autoconf-lib-link/tests/rpath-3bbh deleted file mode 100755 index 02c0bda47..000000000 --- a/autoconf-lib-link/tests/rpath-3bbh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -# Test config.rpath and AC_LIB_LINKFLAGS macro. -# With dependencies: a shared library depending on a shared library, -# and a shared library depending on both. -# No libtool *.la files are assumed, dependencies given as AC_LIB_LINKFLAGS -# argument instead. -# Each library installed with a different prefix. - -rp=rp3bbh -build1_configure_flags= -build2_configure_flags= -build3_configure_flags= -build4_package=rpathlzyx -remove_la=yes - -. $srcdir/rpath-3_b diff --git a/autoconf-lib-link/tests/rpath.README b/autoconf-lib-link/tests/rpath.README deleted file mode 100644 index 220351ad8..000000000 --- a/autoconf-lib-link/tests/rpath.README +++ /dev/null @@ -1,78 +0,0 @@ -Tests for config.rpath and lib-link.m4. - -rpath-1 w - | - +---- a = static, b = shared - -rpath-2 u v w - | | | - | | +---- a = static/static, b = static/shared, - | | c = shared/static, d = shared/shared. - | | - | +------ a = all libraries and the program have the same prefix, - | b = the libraries are in different directories. - | - +-------- a = all shared libraries use the libtool *.la files for - resolving dependencies, b = dependencies are given as - AC_LIB_LINKFLAGS argument instead. - -rpath-3 u v w - | | | - | | +---- a = static/static/static, b = static/static/shared, - | | c = static/shared/static, d = static/shared/shared, - | | e = shared/static/static, f = shared/static/shared, - | | g = shared/shared/static, h = shared/shared/shared. - | | - | +------ a = all libraries and the program have the same prefix, - | b = the libraries are in different directories. - | - +-------- a = all shared libraries use the libtool *.la files for - resolving dependencies, b = dependencies are given as - AC_LIB_LINKFLAGS argument instead. - -The rpath-2* tests are sensitive to - - incomplete shared library support in the system, - - bugs in libtool that creates the shared libraries, - - bugs in lib-link.m4. - -The rpath-3* tests are sensitive to - - incomplete shared library support in the system, - - bugs in libtool that creates the shared libraries. - -Known failures: - -* On all platforms supporting shared libraries, - rpath-3aae rpath-3aag - rpath-3abe rpath-3abg - fail. This is a libtool 1.4.2 bug: When a shared library depends on a - static library indirectly through two different dependency paths, - libtool attempts to link together invalid sets of object files. - -* OSF/1 4.0: the tests - rpath-2bbd - rpath-3bbd rpath-3bbf rpath-3bbg rpath-3bbh - fail, because -rpath options are not cumulative: - The last -rpath option overrides all previous ones. One would need to - pass all directories, separated by colons, in a single -rpath option. - -* On Linux/x86_64: the tests - rpath-2aac rpath-2abc rpath-2bac rpath-2bbc - rpath-3aac rpath-3aaf rpath-3abc rpath-3abf - rpath-3bac rpath-3bae rpath-3baf rpath-3bag - rpath-3bbc rpath-3bbe rpath-3bbf rpath-3bbg - fail, because code from static libraries not compiled with -fPIC cannot - be integrated into shared libraries: linker error about relocations. - -* Solaris: the tests - rpath-3bae rpath-3bbe - rpath-3aaf rpath-3abf - rpath-3baf rpath-3bbf - fail, because code from static libraries not compiled with -fPIC cannot - be integrated into shared libraries: linker error "Text relocation remains". - -* Cygwin: The tests - rpath-2aac rpath-2abc - rpath-3aac rpath-3aaf - rpath-3abc rpath-3abf - fail. - diff --git a/autoconf-lib-link/tests/rpathcfg.sh b/autoconf-lib-link/tests/rpathcfg.sh deleted file mode 100755 index 2f89f6ea8..000000000 --- a/autoconf-lib-link/tests/rpathcfg.sh +++ /dev/null @@ -1,225 +0,0 @@ -#!/bin/sh -# Prints information for maintaining config.rpath. - -# The caller should set the environment variables -# top_srcdir, srcdir, CONFIG_SHELL, CC, GCC, LDFLAGS, LD, LIBDIRSTEM, with_gnu_ld, host. - -echo "=============== rpathcfg for $host ===============" -echo -echo "--------------- config.rpath output ---------------" -${CONFIG_SHELL-/bin/sh} $srcdir/../config.rpath "$host" | sed -e 's/^acl_cv_//' -echo "--------------- experimentally determined ---------------" -builddir=`pwd` -global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` -export global_top_auxdir - -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 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 --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -rm -rf tstdir/build -libext= -cd tstprefix/lib -for f in *; do - case $f in - *.la) ;; - *[0-9]) ;; - *) libext=`echo $f | sed -e 's/^.*\.//'`;; - esac - if test -n "$libext"; then - break - fi -done -cd ../.. -rm -rf tstprefix - -# Shared library suffix (normally "so"). -mkdir tstprefix -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 --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -rm -rf tstdir/build -shlibext= -cd tstprefix/lib || exit 1 -for f in *; do - case $f in - *.la) ;; - *[0-9]) ;; - *) shlibext=`echo $f | sed -e 's/^.*\.//'`;; - esac - if test -n "$shlibext"; then - break - fi -done -cd ../.. -rm -rf tstprefix - -# Prepare hardcoding tests. -mkdir tstprefix -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 --libdir=$builddir/tstprefix/${LIBDIRSTEM-lib} > configure.log 2>&1 - make > make.log 2>&1 - make install > install.log 2>&1 -) -rm -rf tstdir/build - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec= -for spec in \ - '-L$libdir' \ - '-R$libdir' \ - '-rpath $libdir' '${wl}-rpath ${wl}$libdir' \ - '${wl}+b ${wl}$libdir' \ - '${wl}-R $libdir:/usr/lib:/lib' \ - '${wl}-blibpath:$libdir:/usr/lib:/lib' \ - '${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' \ - ; do - mv tstprefix/lib tstlib - libdir=`pwd`/tstprefix/lib - eval flag=\"$spec\" - echo 1>&2 - 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 - if ./a.out; then - hardcode_libdir_flag_spec="$hardcode_libdir_flag_spec$spec -" - fi - else - mv tstlib tstprefix/lib - fi - rm -f a.out -done - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator= -if test -n "$hardcode_libdir_flag_spec"; then - spec=`echo "$hardcode_libdir_flag_spec" | sed -e '2,$d'` - # Try with multiple -rpath flags. - mv tstprefix/lib tstlib - libdir=`pwd`/tstprefix/lib - eval flag1=\"$spec\" - libdir=/tmp - eval flag2=\"$spec\" - echo 1>&2 - 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 - if ./a.out; then - hardcode_libdir_separator=NONE - fi - else - mv tstlib tstprefix/lib - fi - rm -f a.out - if test -z "$hardcode_libdir_separator"; then - # Try with a single -rpath flag. - mv tstprefix/lib tstlib - libdir=`pwd`/tstprefix/lib:/tmp - eval flag=\"$spec\" - echo 1>&2 - 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 - if ./a.out; then - hardcode_libdir_separator=: - fi - else - mv tstlib tstprefix/lib - fi - rm -f a.out - fi - if test -z "$hardcode_libdir_separator"; then - echo "hardcode_libdir_separator test failed!" 1>&2 - else - if test "$hardcode_libdir_separator" = NONE; then - hardcode_libdir_separator= - fi - fi -fi - -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=no -echo 1>&2 -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 - hardcode_direct=yes - fi -fi -rm -f a.out - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=no -echo 1>&2 -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 - hardcode_minus_L=yes - fi -fi -rm -f a.out - -# Clean up. -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"` -escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` -escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` - -cat <<EOF - -# Static library suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally "so"). -shlibext="$shlibext" - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec" - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator="$hardcode_libdir_separator" - -# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the -# resulting binary. -hardcode_direct="$hardcode_direct" - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L="$hardcode_minus_L" - -EOF diff --git a/autoconf-lib-link/tests/rpathlx/Makefile.am b/autoconf-lib-link/tests/rpathlx/Makefile.am deleted file mode 100644 index da6a22c51..000000000 --- a/autoconf-lib-link/tests/rpathlx/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -bin_PROGRAMS = usex -usex_SOURCES = usex.c -LDADD = @LIBRPATHX@ - -check: all - ./usex diff --git a/autoconf-lib-link/tests/rpathlx/configure.ac b/autoconf-lib-link/tests/rpathlx/configure.ac deleted file mode 100644 index a0225e8b6..000000000 --- a/autoconf-lib-link/tests/rpathlx/configure.ac +++ /dev/null @@ -1,24 +0,0 @@ -dnl Configuration of a program that links with librpathx. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -AM_INIT_AUTOMAKE(gettext_rpathlx, 0) -AC_PROG_CC -AC_LIB_LINKFLAGS([rpathx]) -AC_SUBST(global_top_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathlx/usex.c b/autoconf-lib-link/tests/rpathlx/usex.c deleted file mode 100644 index d09b11176..000000000 --- a/autoconf-lib-link/tests/rpathlx/usex.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathx_value (void); -int main () { return !(rpathx_value () == 5); } diff --git a/autoconf-lib-link/tests/rpathly/Makefile.am b/autoconf-lib-link/tests/rpathly/Makefile.am deleted file mode 100644 index 44812b5bc..000000000 --- a/autoconf-lib-link/tests/rpathly/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -bin_PROGRAMS = usey -usey_SOURCES = usey.c -LDADD = @LIBRPATHY@ - -check: all - ./usey diff --git a/autoconf-lib-link/tests/rpathly/configure.ac b/autoconf-lib-link/tests/rpathly/configure.ac deleted file mode 100644 index bd9584f84..000000000 --- a/autoconf-lib-link/tests/rpathly/configure.ac +++ /dev/null @@ -1,24 +0,0 @@ -dnl Configuration of a program that links with librpathy. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -AM_INIT_AUTOMAKE(gettext_rpathly, 0) -AC_PROG_CC -AC_LIB_LINKFLAGS([rpathy]) -AC_SUBST(global_top_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathly/usey.c b/autoconf-lib-link/tests/rpathly/usey.c deleted file mode 100644 index 9fff7871b..000000000 --- a/autoconf-lib-link/tests/rpathly/usey.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathy_value (void); -int main () { return !(rpathy_value () == 57); } diff --git a/autoconf-lib-link/tests/rpathlyx/Makefile.am b/autoconf-lib-link/tests/rpathlyx/Makefile.am deleted file mode 100644 index 44812b5bc..000000000 --- a/autoconf-lib-link/tests/rpathlyx/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -bin_PROGRAMS = usey -usey_SOURCES = usey.c -LDADD = @LIBRPATHY@ - -check: all - ./usey diff --git a/autoconf-lib-link/tests/rpathlyx/configure.ac b/autoconf-lib-link/tests/rpathlyx/configure.ac deleted file mode 100644 index 4615f6cfc..000000000 --- a/autoconf-lib-link/tests/rpathlyx/configure.ac +++ /dev/null @@ -1,26 +0,0 @@ -dnl Configuration of a program that links with librpathy. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -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_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathlyx/usey.c b/autoconf-lib-link/tests/rpathlyx/usey.c deleted file mode 100644 index 9fff7871b..000000000 --- a/autoconf-lib-link/tests/rpathlyx/usey.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathy_value (void); -int main () { return !(rpathy_value () == 57); } diff --git a/autoconf-lib-link/tests/rpathlz/Makefile.am b/autoconf-lib-link/tests/rpathlz/Makefile.am deleted file mode 100644 index ff0e6027a..000000000 --- a/autoconf-lib-link/tests/rpathlz/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -bin_PROGRAMS = usez -usez_SOURCES = usez.c -LDADD = @LIBRPATHZ@ - -check: all - ./usez diff --git a/autoconf-lib-link/tests/rpathlz/configure.ac b/autoconf-lib-link/tests/rpathlz/configure.ac deleted file mode 100644 index f81c9a9e8..000000000 --- a/autoconf-lib-link/tests/rpathlz/configure.ac +++ /dev/null @@ -1,24 +0,0 @@ -dnl Configuration of a program that links with librpathz. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -AM_INIT_AUTOMAKE(gettext_rpathlz, 0) -AC_PROG_CC -AC_LIB_LINKFLAGS([rpathz]) -AC_SUBST(global_top_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathlz/usez.c b/autoconf-lib-link/tests/rpathlz/usez.c deleted file mode 100644 index 18d86897b..000000000 --- a/autoconf-lib-link/tests/rpathlz/usez.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathz_value (void); -int main () { return !(rpathz_value () == 5171); } diff --git a/autoconf-lib-link/tests/rpathlzyx/Makefile.am b/autoconf-lib-link/tests/rpathlzyx/Makefile.am deleted file mode 100644 index ff0e6027a..000000000 --- a/autoconf-lib-link/tests/rpathlzyx/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -bin_PROGRAMS = usez -usez_SOURCES = usez.c -LDADD = @LIBRPATHZ@ - -check: all - ./usez diff --git a/autoconf-lib-link/tests/rpathlzyx/configure.ac b/autoconf-lib-link/tests/rpathlzyx/configure.ac deleted file mode 100644 index 5203dfcf8..000000000 --- a/autoconf-lib-link/tests/rpathlzyx/configure.ac +++ /dev/null @@ -1,27 +0,0 @@ -dnl Configuration of a program that links with librpathz. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -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_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathlzyx/usez.c b/autoconf-lib-link/tests/rpathlzyx/usez.c deleted file mode 100644 index 18d86897b..000000000 --- a/autoconf-lib-link/tests/rpathlzyx/usez.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathz_value (void); -int main () { return !(rpathz_value () == 5171); } diff --git a/autoconf-lib-link/tests/rpathx/Makefile.am b/autoconf-lib-link/tests/rpathx/Makefile.am deleted file mode 100644 index 69b4cc987..000000000 --- a/autoconf-lib-link/tests/rpathx/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -lib_LTLIBRARIES = librpathx.la -librpathx_la_SOURCES = rpathx.c -librpathx_la_LDFLAGS = -lc -no-undefined diff --git a/autoconf-lib-link/tests/rpathx/configure.ac b/autoconf-lib-link/tests/rpathx/configure.ac deleted file mode 100644 index d434d89fe..000000000 --- a/autoconf-lib-link/tests/rpathx/configure.ac +++ /dev/null @@ -1,24 +0,0 @@ -dnl Configuration of librpathx. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -AM_INIT_AUTOMAKE(gettext_rpathx, 0) -AC_PROG_CC -AM_PROG_LIBTOOL -AC_SUBST(global_top_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathx/rpathx.c b/autoconf-lib-link/tests/rpathx/rpathx.c deleted file mode 100644 index fd1a3772f..000000000 --- a/autoconf-lib-link/tests/rpathx/rpathx.c +++ /dev/null @@ -1 +0,0 @@ -int rpathx_value () { return 5; } diff --git a/autoconf-lib-link/tests/rpathy/Makefile.am b/autoconf-lib-link/tests/rpathy/Makefile.am deleted file mode 100644 index 6b44f37f6..000000000 --- a/autoconf-lib-link/tests/rpathy/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -lib_LTLIBRARIES = librpathy.la -librpathy_la_SOURCES = rpathy.c -librpathy_la_LDFLAGS = @LTLIBRPATHX@ -lc -no-undefined diff --git a/autoconf-lib-link/tests/rpathy/configure.ac b/autoconf-lib-link/tests/rpathy/configure.ac deleted file mode 100644 index 54580d0fe..000000000 --- a/autoconf-lib-link/tests/rpathy/configure.ac +++ /dev/null @@ -1,25 +0,0 @@ -dnl Configuration of librpathy that depends on librpathx. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -AM_INIT_AUTOMAKE(gettext_rpathy, 0) -AC_PROG_CC -AM_PROG_LIBTOOL -AC_LIB_LINKFLAGS([rpathx]) -AC_SUBST(global_top_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathy/rpathy.c b/autoconf-lib-link/tests/rpathy/rpathy.c deleted file mode 100644 index 42514bf1a..000000000 --- a/autoconf-lib-link/tests/rpathy/rpathy.c +++ /dev/null @@ -1,2 +0,0 @@ -extern int rpathx_value (void); -int rpathy_value () { return 10 * rpathx_value () + 7; } diff --git a/autoconf-lib-link/tests/rpathz/Makefile.am b/autoconf-lib-link/tests/rpathz/Makefile.am deleted file mode 100644 index 675dda261..000000000 --- a/autoconf-lib-link/tests/rpathz/Makefile.am +++ /dev/null @@ -1,4 +0,0 @@ -AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies -lib_LTLIBRARIES = librpathz.la -librpathz_la_SOURCES = rpathz.c -librpathz_la_LDFLAGS = @LTLIBRPATHX@ @LTLIBRPATHY@ -lc -no-undefined diff --git a/autoconf-lib-link/tests/rpathz/configure.ac b/autoconf-lib-link/tests/rpathz/configure.ac deleted file mode 100644 index a2e3ee289..000000000 --- a/autoconf-lib-link/tests/rpathz/configure.ac +++ /dev/null @@ -1,26 +0,0 @@ -dnl Configuration of librpathz that depends on librpathx and librpathy. -dnl -dnl Copyright (C) 2002-2003, 2005 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 3 of the License, or -dnl (at your option) 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, see <http://www.gnu.org/licenses/>. - -AC_INIT(configure.ac) -AC_CONFIG_AUX_DIR(../../../build-aux) -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_auxdir) -AC_OUTPUT([Makefile]) diff --git a/autoconf-lib-link/tests/rpathz/rpathz.c b/autoconf-lib-link/tests/rpathz/rpathz.c deleted file mode 100644 index da34af1c8..000000000 --- a/autoconf-lib-link/tests/rpathz/rpathz.c +++ /dev/null @@ -1,3 +0,0 @@ -extern int rpathx_value (void); -extern int rpathy_value (void); -int rpathz_value () { return 1000 * rpathx_value () + 3 * rpathy_value (); } |