httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject [PATCH] Re: [STATUS] Sun May 4 21:48:59 PDT 1997
Date Mon, 05 May 1997 23:59:49 GMT
Marc Slemko wrote:
> 
> On Mon, 5 May 1997, Jim Jagielski wrote:
> 
> > > 
> > >   * HP/UX 10 compilation problems ... it's a popular enough platform that
> > >     these should be fixed before release.
> > 
> > ?? What were the problems :/
> > 
> 
> I think Dean is referring to needing the -Ae and no -O2 compilation flags
> when using HP's cc. 
> 
> 

This should fix it:

Index: apache/src/Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.93
diff -c -r1.93 Configure
*** Configure	1997/04/27 07:52:16	1.93
--- Configure	1997/05/05 23:58:36
***************
*** 165,170 ****
--- 165,182 ----
  fi
  
  #
+ # Also look for the standard compilers
+ #
+ for compilers in "gcc" "cc" "acc" "c89"
+ do
+     lookedfor="$lookedfor $compilers"
+     if ./helpers/PrintPath -s $compilers; then
+ 	COMPILER="$compilers"
+     	break
+     fi
+ done
+ 
+ #
  SHELL="/bin/sh"
  
  case "$PLAT" in
***************
*** 210,232 ****
  	OS='HI-UX'
  	CFLAGS="$CFLAGS -DHIUX"
  	# if we're using the HIUX compiler, add a few flags.
! 	if [ "$CC" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HIUX_SOURCE"
  	fi
  	;;
      *-hp-hpux10.*)
  	OS='HP-UX 10'
  	CFLAGS="$CFLAGS -DHPUX10"
  	# if we're using the HPUX compiler, add a few flags.
! 	if [ "$CC" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
  	fi
  	;;
      *-hp-hpux*)
  	OS='HP-UX'
  	CFLAGS="$CFLAGS -DHPUX"
! 	if [ "$CC" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
  	fi
  	;;
      *-sgi-irix64)
--- 222,247 ----
  	OS='HI-UX'
  	CFLAGS="$CFLAGS -DHIUX"
  	# if we're using the HIUX compiler, add a few flags.
! 	if [ "$CC" = "cc" ] || [ "$COMPILER" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HIUX_SOURCE"
+ 	    OPTIM=""
  	fi
  	;;
      *-hp-hpux10.*)
  	OS='HP-UX 10'
  	CFLAGS="$CFLAGS -DHPUX10"
  	# if we're using the HPUX compiler, add a few flags.
! 	if [ "$CC" = "cc" ] || [ "$COMPILER" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
+ 	    OPTIM=""
  	fi
  	;;
      *-hp-hpux*)
  	OS='HP-UX'
  	CFLAGS="$CFLAGS -DHPUX"
! 	if [ "$CC" = "cc" ] || [ "$COMPILER" = "cc" ]; then
  	    CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
+ 	    OPTIM=""
  	fi
  	;;
      *-sgi-irix64)
***************
*** 321,327 ****
  	;;
      *-isc4*)
  	OS='ISC 4'
! 	CC=gcc
  	CFLAGS="$CFLAGS -posix -DISC"
  	LFLAGS="$LFLAGS -posix"
  	LIBS="$LIBS -linet"
--- 336,342 ----
  	;;
      *-isc4*)
  	OS='ISC 4'
! 	CC='gcc'
  	CFLAGS="$CFLAGS -posix -DISC"
  	LFLAGS="$LFLAGS -posix"
  	LIBS="$LIBS -linet"
***************
*** 473,487 ****
  # then we look for some popular compilers in our $PATH
  # and set a "safe" optimization level
  #
- 
- for compilers in "gcc" "cc" "acc" "c89"
- do
-     lookedfor="$lookedfor $compilers"
-     if ./helpers/PrintPath -s $compilers; then
- 	COMPILER="$compilers"
-     	break
-     fi
- done
  
  if grep "CC=" Makefile > /dev/null; then
      CC=""	# clear it just in case
--- 488,493 ----

-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"

Mime
View raw message