]> git.ipfire.org Git - thirdparty/libtool.git/commit
Use config.cache variable for PIC flag, to allow override.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 19 Jun 2010 04:47:42 +0000 (06:47 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 19 Jun 2010 04:47:42 +0000 (06:47 +0200)
commit64377ca9da7e0efec71e73d58b047de24fd27dd1
treea6528eae7c60963b4139d1a0816faf515d529d0c
parent4d3ac408c863b1110ce7782d44c80b24f24111f1
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>
ChangeLog
Makefile.am
THANKS
libltdl/m4/libtool.m4
tests/pic_flag.at [new file with mode: 0644]