httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/helpers find-dbm-lib
Date Tue, 10 Aug 1999 12:15:56 GMT
martin      99/08/10 05:15:55

  Modified:    src/helpers find-dbm-lib
  Log:
  Add a dbm-library check for the "usual places" (-ldbm, -lndbm, -ldb)
  for other platforms as well.
  
  Revision  Changes    Path
  1.9       +11 -0     apache-1.3/src/helpers/find-dbm-lib
  
  Index: find-dbm-lib
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/helpers/find-dbm-lib,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- find-dbm-lib	1999/02/07 23:26:52	1.8
  +++ find-dbm-lib	1999/08/10 12:15:53	1.9
  @@ -33,6 +33,17 @@
   			found_dbm=0
   			LIBS="$oldLIBS"
   		    fi
  +		else
  +		    for dblib in dbm ndbm db
  +		    do
  +			DBM_LIB=""
  +			if ./helpers/TestCompile lib $dblib dbm_open; then
  +			    DBM_LIB="-l${dblib}"
  +			    LIBS="$LIBS $DBM_LIB"
  +			    found_dbm=1
  +			    break
  +			fi
  +		    done
   		fi
   		;;
   	esac
  
  
  

Mime
View raw message