httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@locus.apache.org
Subject cvs commit: apache-1.3/src Configure
Date Tue, 07 Nov 2000 20:43:27 GMT
martin      00/11/07 12:43:24

  Modified:    src/helpers GuessOS
               src      Configure
  Log:
  Here is a patch that has been created against the latest 1.3.x src to use
  "cc -shared" to create shared libraries on OpenBSD 2.8 and up.
  
  Submitted by:	brad@comstyle.com / brad@openbsd.org
  Reviewed by:	Martin Kraemer
  
  Revision  Changes    Path
  1.70      +2 -1      apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -u -r1.69 -r1.70
  --- GuessOS	2000/11/05 02:56:17	1.69
  +++ GuessOS	2000/11/07 20:43:14	1.70
  @@ -165,7 +165,8 @@
   	;;
   
       OpenBSD:*)
  -	echo "${MACHINE}-whatever-openbsd"; exit 0
  +	OPENBSDVERS=`echo ${RELEASE}|sed -e 's/[-(].*//'`
  +	echo "${MACHINE}-whatever-openbsd${OPENBSDVERS}"; exit 0
   	;;
   
       OSF1:*:*:*alpha*)
  
  
  
  1.409     +10 -1     apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.408
  retrieving revision 1.409
  diff -u -u -r1.408 -r1.409
  --- Configure	2000/11/05 02:56:16	1.408
  +++ Configure	2000/11/07 20:43:20	1.409
  @@ -1086,8 +1086,17 @@
   	    fi  
   	    ;;
   	*-openbsd*)
  +	    PLATOSVERS=`echo $PLAT | sed 's/^.*openbsd//'`
   	    CFLAGS_SHLIB="-fPIC"
  -	    LDFLAGS_SHLIB="-Bforcearchive -Bshareable"
  +	    case "$PLATOSVERS" in
  +		2.[01234567])
  +		   LDFLAGS_SHLIB="-Bshareable -Bforcearchive"
  +		;;
  +		*)
  +		   LD_SHLIB="gcc"
  +		   LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)"
  +		;;
  +	    esac
   	    LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
   	    LDFLAGS_SHLIB_EXPORT=""
   	    SHLIB_SUFFIX_DEPTH=2
  
  
  

Mime
View raw message