summaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.harhan.org>2001-01-27 19:36:45 +0000
committerMichael Sokolov <msokolov@ivan.harhan.org>2001-01-27 19:36:45 +0000
commitf5374dcf3359d038d12ebd8e813cbdd4bd02d0d1 (patch)
tree1d2a388905c446a77e197e493ecf8fe07c6d2ddd /ltcf-cxx.sh
parent37235e125b9918ee64053fbe5291734ac1d67194 (diff)
downloadbinutils-redhat-f5374dcf3359d038d12ebd8e813cbdd4bd02d0d1.tar.gz
* 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.
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index bccc30bf7a..ab9e62721d 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -576,9 +576,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,'