Re: PATCH: Amaya 1.3b build FAILS on i586-pc-linux-gnu (Red Hat 5.1).

In-reply-to: Your message of Mon, 07 Dec 1998 10:31:46 -0500."
             <Pine.SUN.4.01.9812071009570.23353-100000@galileo.cris.com> 

> One possible solution is to add the following code to configure.in right
> after 'AC_PROG_CPP':
> 
> if test "$GCC" = "yes"
> then
> 	CPP="$CPP -x c"
> fi
> 
> This should add '-x c' to CPP flags on gcc-based preprocessors only.
> 
> 

The final solution is to add the following lines in the file configure.in
if test "${CC}" = "gcc"; then
   CPP="${CPP} -x c"
fi

Regards
  Irene.

Received on Tuesday, 8 December 1998 07:14:18 UTC