You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1999/08/10 14:15:56 UTC

cvs commit: apache-1.3/src/helpers find-dbm-lib

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