From: Thomas Tanner Date: Mon, 14 Jun 1999 06:32:06 +0000 (+0000) Subject: * ltconfig.in: use eval when setting have_dlfcn_h, reformatting X-Git-Tag: release-1-3b~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ad923b9fe82f99d41fc464aeb8c4b2f490e966f;p=thirdparty%2Flibtool.git * ltconfig.in: use eval when setting have_dlfcn_h, reformatting --- diff --git a/ChangeLog b/ChangeLog index 4c12f6e74..958185545 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-06-14 Thomas Tanner + + * ltconfig.in: use eval when setting have_dlfcn_h, reformatting + 1999-06-12 Thomas Tanner * ltmain.in: store old archives in deplibs and old_deplibs, diff --git a/ltconfig.in b/ltconfig.in index c8b45a527..4e37aaeb7 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -528,9 +528,9 @@ else for dir in $PATH; do test -z "$dir" && dir=. if test -f $dir/ranlib || test -f $dir/ranlib$ac_exeext; then - result="ranlib" - ac_cv_prog_RANLIB="$result" - break + result="ranlib" + ac_cv_prog_RANLIB="$result" + break fi done IFS="$save_ifs" @@ -944,7 +944,7 @@ else ;; sysv4*MP*) if test -d /usr/nec; then - ac_cv_prog_cc_pic=-Kconform_pic + ac_cv_prog_cc_pic=-Kconform_pic fi ;; *) @@ -1015,8 +1015,8 @@ else sysv4*MP*) if test -d /usr/nec ;then - ac_cv_prog_cc_pic='-Kconform_pic' - ac_cv_prog_cc_static='-Bstatic' + ac_cv_prog_cc_pic='-Kconform_pic' + ac_cv_prog_cc_static='-Bstatic' fi ;; @@ -1048,22 +1048,22 @@ else case "$host_os" in hpux9* | hpux10* | hpux11*) - # On HP-UX, both CC and GCC only warn that PIC is supported... then + # On HP-UX, both CC and GCC only warn that PIC is supported... then # they create non-PIC objects. So, if there were any warnings, we # assume that PIC is not supported. - if test -s conftest.err; then + if test -s conftest.err; then ac_cv_prog_cc_pic_works=no ac_cv_prog_cc_can_build_shared=no ac_cv_prog_cc_pic= - else + else ac_cv_prog_cc_pic_works=yes ac_cv_prog_cc_pic=" $ac_cv_prog_cc_pic" - fi - ;; + fi + ;; *) ac_cv_prog_cc_pic_works=yes - ac_cv_prog_cc_pic=" $ac_cv_prog_cc_pic" - ;; + ac_cv_prog_cc_pic=" $ac_cv_prog_cc_pic" + ;; esac else # Append any errors to the config.log. @@ -2468,13 +2468,13 @@ ac_try="$ac_compile conftest.$ac_ext >/dev/null 2>conftest.out" ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* - ac_cv_header_$ac_safe=yes + eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ac_cv_header_$ac_safe=no + eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi