You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/07/25 03:17:53 UTC
Re: [PATCH] Barf if using HP-UXs cc compiler
Surely we can get some version info out of the compiler to see what
we are working with?
> Is this too simple?
>
> Index: apache/src/Configure
> ===================================================================
> RCS file: /export/home/cvs/apache/src/Configure,v
> retrieving revision 1.120
> diff -u -r1.120 Configure
> --- Configure 1997/07/24 04:35:45 1.120
> +++ Configure 1997/07/25 00:43:59
> @@ -629,9 +629,9 @@
> ;;
> 'HP-UX'|'HP-UX 10')
> if [ "$TCC" = "cc" ]; then
> - CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
> - OPTIM=" "
> - TOPTIM=""
> + echo "** Apache will not compile using HP-UX's 'cc' compiler"
> + echo "** We strongly suggest installing 'gcc'"
> + exit 1
> fi
> ;;
> esac
> --
> ====================================================================
> Jim Jagielski | jaguNET Access Services
> jim@jaguNET.com | http://www.jaguNET.com/
> "Look at me! I'm wearing a cardboard belt!"