ltcf-cxx.sh (ac_cv_prog_cc_pic_works, [...]): Don't unset, it's non-portable and no longer necessary, set to empty instead.

* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
	Don't unset, it's non-portable and no longer necessary, set to empty
	instead.

From-SVN: r39300
This commit is contained in:
Michael Sokolov 2001-01-27 19:51:13 +00:00 committed by Michael Sokolov
parent 92769744ae
commit 8a8de62d6d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Don't unset, it's non-portable and no longer necessary, set to empty
instead.
2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>, Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltconfig: Shell portability fix for the tagname validity check.

View File

@ -580,9 +580,8 @@ ac_cv_prog_cc_static=
ac_cv_prog_cc_no_builtin=
ac_cv_prog_cc_can_build_shared=$can_build_shared
# It is not enough to reset these cached values, they must be unset.
unset ac_cv_prog_cc_pic_works
unset ac_cv_prog_cc_static_works
ac_cv_prog_cc_pic_works=
ac_cv_prog_cc_static_works=
if test "$with_gcc" = yes; then
ac_cv_prog_cc_wl='-Wl,'