aboutsummaryrefslogtreecommitdiff
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
commit8679174dc4b5c7438406157cedf8af7bfabc7fb4 (patch)
tree68f2234b675a3e47bce0e9b38df0c42f1f9ac3ed
parent02d01ed4c83d955898f7ce2c5c144d6127d8cfc4 (diff)
downloadfsf-binutils-gdb-8679174dc4b5c7438406157cedf8af7bfabc7fb4.zip
fsf-binutils-gdb-8679174dc4b5c7438406157cedf8af7bfabc7fb4.tar.gz
fsf-binutils-gdb-8679174dc4b5c7438406157cedf8af7bfabc7fb4.tar.bz2
* 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.
-rw-r--r--ChangeLog6
-rw-r--r--ltcf-cxx.sh5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ea01fcf..0350b6c 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 bccc30b..ab9e627 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,'