Re: [ID 20010825.006] -DCRIPPLED_CC is broken
[p5sagit/p5-mst-13.2.git] / hints / linux.sh
index b8aafd2..3234aea 100644 (file)
@@ -119,7 +119,7 @@ main() {
        exit(0); /* succeed (yes, it's ELF) */
 }
 EOM
-if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then
+if ${cc:-gcc} try.c >/dev/null 2>&1 && $run ./a.out; then
     cat <<'EOM' >&4
 
 You appear to have ELF support.  I'll try to use it for dynamic loading.
@@ -289,45 +289,3 @@ ccflags_uselargefiles="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
        ;;
 esac
 EOCBU
-
-# Change by wpm 10 April 2001
-#
-# XXX -- This isn't right, since you still don't want perl itself
-# linked with -ldb, even if you *do* build the DB_File extension.
-# Linking perl with -ldb will prevent you from building the
-# Sybase::DBlib extension, due to a conflict between dbopen() in both
-# libdb.so and libsybdb.so.
-#
-case "$i_db" in
-undef)
-    set `echo X "$libswanted "|sed -e 's/ db / /'`
-    shift
-    libswanted="$*" ;;
-esac
-
-#
-# XXX -- Same is true for libgdbm.  This makes it hard for us to build
-# our own GDBM_File.
-#
-case "$i_gdbm" in
-undef)
-    set `echo X "$libswanted "|sed -e 's/ gdbm / /'`
-    shift
-    libswanted="$*" ;;
-esac
-
-#
-# XXX -- damn.  We also need to strip ndbm as well because:
-#
-# mglnxcs01$ ls -al /usr/lib/*ndbm*
-# lrwxrwxrwx    1 root     wheel           7 Oct  4  2000 /usr/lib/libndbm.a -> libdb.a
-# lrwxrwxrwx    1 root     wheel           8 Oct  4  2000 /usr/lib/libndbm.so -> libdb.so
-#
-case "$i_db" in
-undef)
-    set `echo X "$libswanted "|sed -e 's/ ndbm / /'`
-    shift
-    libswanted="$*" ;;
-esac
-
-