53 lines
1.3 KiB
Diff
53 lines
1.3 KiB
Diff
|
--- perl-5.7.3/Configure.ndbm Mon May 27 13:27:19 2002
|
||
|
+++ perl-5.7.3/Configure Mon May 27 13:28:15 2002
|
||
|
@@ -1204,7 +1204,7 @@
|
||
|
|
||
|
: List of libraries we want.
|
||
|
: If anyone needs -lnet, put it in a hint file.
|
||
|
-libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl'
|
||
|
+libswanted='sfio socket bind inet nsl nm gdbm dbm db malloc dl'
|
||
|
libswanted="$libswanted dld ld sun m c cposix posix"
|
||
|
libswanted="$libswanted ndir dir crypt sec"
|
||
|
libswanted="$libswanted ucb bsd BSD PW x util"
|
||
|
@@ -18695,40 +18695,6 @@
|
||
|
set mntent.h i_mntent
|
||
|
eval $inhdr
|
||
|
|
||
|
-: see if ndbm.h is available
|
||
|
-set ndbm.h t_ndbm
|
||
|
-eval $inhdr
|
||
|
-
|
||
|
-case "$t_ndbm" in
|
||
|
-$undef)
|
||
|
- # Some Linux distributions such as RedHat 7.1 put the
|
||
|
- # ndbm.h header in /usr/include/gdbm/ndbm.h.
|
||
|
- if $test -f /usr/include/gdbm/ndbm.h; then
|
||
|
- echo '<gdbm/ndbm.h> found.'
|
||
|
- ccflags="$ccflags -I/usr/include/gdbm"
|
||
|
- cppflags="$cppflags -I/usr/include/gdbm"
|
||
|
- t_ndbm=$define
|
||
|
- fi
|
||
|
- ;;
|
||
|
-esac
|
||
|
-
|
||
|
-case "$t_ndbm" in
|
||
|
-$define)
|
||
|
- : see if dbm_open exists
|
||
|
- set dbm_open d_dbm_open
|
||
|
- eval $inlibc
|
||
|
- case "$d_dbm_open" in
|
||
|
- $undef)
|
||
|
- t_ndbm="$undef"
|
||
|
- echo "We won't be including <ndbm.h>"
|
||
|
- ;;
|
||
|
- esac
|
||
|
- ;;
|
||
|
-esac
|
||
|
-val="$t_ndbm"
|
||
|
-set i_ndbm
|
||
|
-eval $setvar
|
||
|
-
|
||
|
: see if net/errno.h is available
|
||
|
val=''
|
||
|
set net/errno.h val
|