httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [STATUS] Tue May 6 13:15:56 PDT 1997
Date Tue, 06 May 1997 20:26:15 GMT
Jim Jagielski wrote:
> 
> Dean Gaudet wrote:
> > 
> >   * HP/UX 10 compilation problems ... it's a popular enough platform that
> >     these should be fixed before release.  Jim posted a patch but it
> >     didn't work for Marc.
> 
> This does... I've also sent a copy to the originator of the PR:

PS: This also requires a small patch to comment out the OPTIM line
in Configuration.tmpl/Configuration
> 
> 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/06 18:23:31
> ***************
> *** 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!"
> 


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

Mime
View raw message