httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src GuessCC Configure
Date Mon, 23 Sep 1996 10:15:03 GMT
ben         96/09/23 03:15:02

  Modified:    src       Configure
  Added:       src       GuessCC
  Log:
  Add C compile guessing to Configure.
  
  Revision  Changes    Path
  1.20      +14 -2     apache/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache/src/Configure,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -C3 -r1.19 -r1.20
  *** Configure	1996/09/18 16:52:46	1.19
  --- Configure	1996/09/23 10:14:59	1.20
  ***************
  *** 1,5 ****
    #!/bin/sh
  ! # $Id: Configure,v 1.19 1996/09/18 16:52:46 chuck Exp $
    trap 'rm $tmpfile; exit' 0 1 2 3 15
    
    # Apache configuration script, first cut --- rst.
  --- 1,5 ----
    #!/bin/sh
  ! # $Id: Configure,v 1.20 1996/09/23 10:14:59 ben Exp $
    trap 'rm $tmpfile; exit' 0 1 2 3 15
    
    # Apache configuration script, first cut --- rst.
  ***************
  *** 132,137 ****
  --- 132,141 ----
    
    PLAT=`./GuessOS`
    
  + # Preset DBM_LIB. Can be overridden on a per-platform basis.
  + 
  + DBM_LIB="-ldbm"
  + 
    case "$PLAT" in
        *-apple-aux3*)
    	OS='A/UX 3.1.x'
  ***************
  *** 307,313 ****
    if grep "CC=" Makefile > /dev/null; then
        CC=""	# clear it just in case
    else
  !     if [ "x$CC" = "x" ]; then CC="gcc"; fi
    fi
    
    #
  --- 311,318 ----
    if grep "CC=" Makefile > /dev/null; then
        CC=""	# clear it just in case
    else
  !     if [ "x$CC" = "x" ]; then CC=`GuessCC`; fi
  !     echo "Setting C compiler to $CC"
    fi
    
    #
  ***************
  *** 328,333 ****
  --- 333,345 ----
        if [ "$RULE_STATUS" = "yes" ]; then
    	CFLAGS="$CFLAGS -DSTATUS"
        fi
  + fi
  + 
  + #
  + # Are they using dbm auth? If so, add DBM library.
  + #
  + if grep mod_auth_dbm Makefile > /dev/null; then
  +     LIBS="$LIBS $DBM_LIB"
    fi
    
    #
  
  
  

Mime
View raw message