dgaudet     97/07/20 20:42:12

  Modified:    src       Configure
  Log:
  Don't print "+ using  for mod_auth_db" when DB_LIB="", similarly for DBM_LIB.
  Fix BSD44 archs which don't require -ldb for db functions.
  
  Revision  Changes    Path
  1.115     +10 -2     apache/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache/src/Configure,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -C3 -r1.114 -r1.115
  *** Configure 1997/07/21 03:37:48     1.114
  --- Configure 1997/07/21 03:42:11     1.115
  ***************
  *** 299,318 ****
  --- 299,322 ----
        OS='BSDI w/486'
        CFLAGS="$CFLAGS -m486"
        DBM_LIB=""
  +     DB_LIB=""
        ;;
        *-bsdi*)
        OS='BSDI'
        DBM_LIB=""
  +     DB_LIB=""
        ;;
        *486-*-freebsd*|*486-*-netbsd*)
        OS='FreeBSD/NETBSD on 486'
        LIBS="$LIBS -lcrypt"
        DBM_LIB=""
  +     DB_LIB=""
        ;;
        *-freebsd*|*-netbsd*)
        OS='FreeBSD/NetBSD'
        LIBS="$LIBS -lcrypt"
        DBM_LIB=""
  +     DB_LIB=""
        ;;
        *-openbsd*)
        OS='OpenBSD'
  ***************
  *** 699,709 ****
    #
    if grep mod_auth_dbm Makefile > /dev/null; then
        LIBS="$LIBS $DBM_LIB"
  !     echo " + using $DBM_LIB for mod_auth_dbm"
    fi
    if grep mod_auth_db Makefile > /dev/null; then
        LIBS="$LIBS $DB_LIB"
  !     echo " + using $DB_LIB for mod_auth_db"
    fi
    
    ####################################################################
  --- 703,717 ----
    #
    if grep mod_auth_dbm Makefile > /dev/null; then
        LIBS="$LIBS $DBM_LIB"
  !     if [ "X$DBM_LIB" != "X" ]; then
  !     echo " + using $DBM_LIB for mod_auth_dbm"
  !     fi
    fi
    if grep mod_auth_db Makefile > /dev/null; then
        LIBS="$LIBS $DB_LIB"
  !     if [ "X$DB_LIB" != "X" ]; then
  !     echo " + using $DB_LIB for mod_auth_db"
  !     fi
    fi
    
    ####################################################################
  
  
  

Reply via email to