libtool/tests
Ralf Wildenhues 64377ca9da Use config.cache variable for PIC flag, to allow override.
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) <lt_prog_compiler_pic>:
Save result, and allow override, through cache variable
lt_cv_prog_compiler_pic{,_CXX,_F77,_FC}.  The cache variable
needs to contain an eventual -DPIC.
* doc/libtool.texi (): Document it.
* tests/pic_flag.at (override pic_flag at configure time):
New file, new test.
* Makefile.am (TESTSUITE_AT): Update.
* NEWS, THANKS: Update.
Suggestion by Joakim Tjernlund and Paolo Bonzini.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2010-06-19 06:47:42 +02:00
..
cdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
demo Fix incompatible struct declarations. 2010-04-09 21:37:09 +02:00
depdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
f77demo Add .gitignore files. 2008-04-16 21:31:03 +02:00
fcdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
mdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
mdemo2 Add .gitignore files. 2008-04-16 21:31:03 +02:00
pdemo Fix incompatible struct declarations. 2010-04-09 21:37:09 +02:00
tagdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
.cvsignore * .cvsignore, doc/.cvsignore, libltdl/.cvsignore, 2006-06-13 18:36:56 +00:00
.gitignore Add .gitignore files. 2008-04-16 21:31:03 +02:00
am-subdir.at Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT. 2008-03-08 12:14:15 +00:00
archive-in-archive.at * tests/archive-in-archive.at 2008-02-08 06:55:07 +00:00
bindir.at Skip bindir install test if we're not building shared. 2010-06-11 14:39:31 -05:00
cdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
cdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-undef.test Fix checks for unsupported allow_undefined_flag. 2008-10-28 20:47:44 +01:00
cmdline_wrap.at Document INNER_TESTSUITEFLAGS, drop leading space. 2009-03-03 19:53:46 +01:00
configure-iface.at testsuite: avoid failures due to old Automake. 2009-06-07 12:01:56 +02:00
convenience.at Factorize testing gcj installation in the testsuite. 2010-06-09 19:41:13 +02:00
ctor.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
cwrapper.at Enable runtime cwrapper debugging; add tests 2010-02-21 00:32:17 -05:00
darwin.at Fix redirect in test case. 2009-09-07 15:17:03 -05:00
defs.m4sh Fix func_exec_init. 2009-01-29 20:37:13 +01:00
demo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-deplibs.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-hardcode.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-nofast.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-noinst-link.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-nopic.test Skip demo-nopic tests if SELinux policy will cause failure. 2010-06-09 11:45:51 -05:00
demo-pic.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-relink.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-nofast.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-relink.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
deplib-in-subdir.at Testsuite exposure for relative output file names and deplibs. 2010-01-11 21:49:38 +01:00
deplibs-ident.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
deplibs-mingw.at Fix deplibs check fallback for 64-bit Windows and Windows CE. 2010-02-28 05:46:16 +01:00
destdir.at Fix destdir tests in cross compile mode. 2008-11-11 22:25:45 +01:00
dlloader-api.at Skip some tests in --disable-ltdl-install mode. 2010-05-21 04:21:38 +07:00
duplicate_conv.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
duplicate_deps.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
duplicate_members.at Use AT_CHECK more liberally in duplicate members test. 2009-01-31 11:27:11 +01:00
early-libtool.at LT_OUTPUT should always create the libtool script. 2009-03-20 16:42:55 +01:00
exceptions.at Use LTDL_SET_PRELOADED_SYMBOLS to avoid failure. 2010-06-13 22:30:08 -05:00
execute-mode.at Fix cross build issue in execute mode test. 2009-11-25 17:29:34 -05:00
export.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
f77demo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
f77demo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fail.at Fix failure test in the presence of --with-pic or -prefer-pic. 2009-09-06 12:42:34 +02:00
fcdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
fcdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
flags.at Factorize testing gcj installation in the testsuite. 2010-06-09 19:41:13 +02:00
help.at Document --mode short-hands better, and test them. 2009-01-29 19:55:19 +01:00
indirect_deps.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
infer-tag.at Factorize testing gcj installation in the testsuite. 2010-06-09 19:41:13 +02:00
inherited_flags.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
install.at Do not pass $INSTALL via TESTS_ENVIRONMENT. 2009-02-16 21:59:34 +01:00
lalib-syntax.at Skip some tests in --disable-ltdl-install mode. 2010-05-21 04:21:38 +07:00
libtoolize.at Fix libtoolize test failure with aclocal < 1.10.1 2008-05-05 01:07:14 -04:00
link-2.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
link-order2.at Testsuite keyword 'interactive' and check-* rules. 2009-09-06 19:38:06 +02:00
link-order.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
link.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
loadlibrary.at Skip some tests in --disable-ltdl-install mode. 2010-05-21 04:21:38 +07:00
localization.at Avoid spurious localization testsuite failure on HP-UX/ia64. 2009-06-14 11:35:59 +02:00
lt_dladvise.at Avoid failure for --disable-shared. 2010-06-13 22:30:53 -05:00
lt_dlexit.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
lt_dlopen_a.at Only use preopen loader to load preopened archives 2009-11-15 20:49:55 -06:00
lt_dlopen.at New test for bogus lt_dlopen error message. 2009-01-31 16:07:50 +01:00
lt_dlopenext.at Skip some tests in --disable-ltdl-install mode. 2010-05-21 04:21:38 +07:00
ltdl-api.at Remove unnecessary global argz functions. 2008-08-26 12:41:25 -05:00
ltdl-libdir.at Improve libdir usage from within ltdl on MinGW. 2010-06-12 10:09:26 +02:00
mdemo2-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo2-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
mdemo2-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-dryrun.test Fix flakey mdemo-dryrun test on MSYS (again!) 2009-01-14 09:04:40 +01:00
mdemo-exec.test * tests/mdemo-exec.test: Also try absolute library names. 2007-07-24 05:10:03 +00:00
mdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
mdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
need_lib_prefix.at Fix expout and experr line ending issues. 2008-11-23 22:58:06 +01:00
no-executables.at Add cache variables to link tests. 2008-12-17 20:42:45 +01:00
nocase.at On Windows, find potential libs regardless of file name case. 2010-06-15 22:52:33 +02:00
nomode.test * libltdl/config/ltmain.m4sh (func_win32_libid, 2008-04-10 17:43:39 +00:00
nonrecursive.at testsuite: avoid failures due to old Automake. 2009-06-07 12:01:56 +02:00
objectlist.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
old-m4-iface.at testsuite: add missing @LIBS@ in a link command line. 2009-06-07 11:58:59 +02:00
pdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
pdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
pdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
pdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
pic_flag.at Use config.cache variable for PIC flag, to allow override. 2010-06-19 06:47:42 +02:00
quote.test Revenge of the $ECHO. Kill most uses of Xsed. 2008-11-23 14:42:06 +01:00
recursive.at Fix several test failures on Cygwin and MinGW. 2008-03-08 18:02:39 +00:00
resident.at Pass resident test with --disable-shared too. 2010-06-14 11:04:17 -05:00
runpath-in-lalib.at Another missing $EXEEXT in the new testsuite. 2008-11-24 07:36:29 +01:00
search-path.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
sh.test * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI 2008-04-10 21:18:02 +00:00
shlibpath.at Another LT_AT_EXEC_CHECK fixup. 2009-01-19 21:54:52 +01:00
slist.at Test and fix slist.c. 2009-12-02 23:13:05 +01:00
standalone.at Avoid newlines in some AT_CHECK commands. 2008-11-23 15:17:34 +01:00
static.at Testsuite keyword 'interactive' and check-* rules. 2009-09-06 19:38:06 +02:00
stresstest.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
subproject.at Avoid newlines in some AT_CHECK commands. 2008-11-23 15:17:34 +01:00
suffix.test * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>: 2008-04-10 21:01:54 +00:00
tagdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
tagdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-undef.test Fix checks for unsupported allow_undefined_flag. 2008-10-28 20:47:44 +01:00
tagtrace.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
template.at Add $EXEEXT to all linked programs in the new testsuite. 2008-11-23 22:42:59 +01:00
testsuite.at Enable colored Autotest testsuite output if available. 2010-06-14 20:39:43 +02:00
TODO Add a test to simulate a failure visible on systems which 2007-06-24 20:46:47 +00:00
versioning.at Make versioning test stricter for w32, enable shared libs. 2010-06-07 22:39:23 +02:00