aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2001-01-27 19:51:13 +0000
committerMichael Sokolov <msokolov@gcc.gnu.org>2001-01-27 19:51:13 +0000
commit8a8de62d6de62c383785f84e0d5b3956f73d4f47 (patch)
treef1e1aebc3a81d3281d9e668d16e0ce2b0abc1665
parent92769744aed0bae7bcfb6a1621aac62484922e62 (diff)
downloadgcc-8a8de62d6de62c383785f84e0d5b3956f73d4f47.zip
gcc-8a8de62d6de62c383785f84e0d5b3956f73d4f47.tar.gz
gcc-8a8de62d6de62c383785f84e0d5b3956f73d4f47.tar.bz2
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
-rw-r--r--ChangeLog6
-rw-r--r--ltcf-cxx.sh5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b7715c4..28e7e81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index 3469e37..1a5a60e 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -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,'