--- libtool.m4 Tue Feb 4 22:06:40 2003 +++ /usr/share/aclocal/libtool.m4 Tue Feb 4 22:27:39 2003 @@ -972,6 +972,21 @@ fi ;; + linux*) + $rm conftest.c + cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + # All DEC C code is PIC. + lt_cv_prog_cc_static='-non_shared' + lt_cv_prog_cc_wl='-Wl,' + fi + $rm conftest.c + ;; + *) lt_cv_prog_cc_can_build_shared=no ;;