diff options
author | Jonathan Stowe <gellyfish@gellyfish.com> | 2002-01-12 11:13:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-12 20:28:05 +0000 |
commit | 1c6861adf51b6b6cd373be518d8abc71a16f8496 (patch) | |
tree | b7ef3e7e3b35b84fa696d4210f68f88c8473e5c3 /Configure | |
parent | dd88d3935bdfc69516a2c60a26fdf18ab4ac88d7 (diff) | |
download | perl-1c6861adf51b6b6cd373be518d8abc71a16f8496.tar.gz |
Re: [PATCH Configure ext/NDBM_File/hints/linux.pl] Support for linux systems with gdbm
Message-ID: <Pine.LNX.4.44.0201121107400.26602-100000@orpheus.gellyfish.com>
p4raw-id: //depot/perl@14225
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sun Dec 30 19:31:52 EET 2001 [metaconfig 3.0 PL70] +# Generated on Sat Jan 12 23:16:55 EET 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -16051,6 +16051,19 @@ 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 + 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 |