[PATCH] fixincludes/Makefile for Interix

Bruce Korb bkorb@gnu.org
Sun Jun 5 17:19:00 GMT 2011


On 06/04/11 13:43, Douglas B Rupp wrote:
> Here's my proposed patch, along the lines you suggested.

Hi Doug,

Excellent.  Just a couple nits:

It is more normal and easier to read when you quote the entire shell
script fragment, as below (removing unnecessary "eval", too):

> diff -rupN gcc.orig/fixincludes/configure.ac gcc/fixincludes/configure.ac
> --- gcc.orig/fixincludes/configure.ac	2011-04-06 17:01:09.000000000 -0700
> +++ gcc/fixincludes/configure.ac	2011-06-04 13:18:23.000000000 -0700
> @@ -23,6 +23,20 @@ ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual]
>  # Determine the noncanonical target name, for directory use.
>  ACX_NONCANONICAL_TARGET
>
> +[host_makefile_frag=/dev/null
> +if test -d ${srcdir}/../config ; then
> +case "${host}" in
> +  *-interix[3-9]*)
> +    host_makefile_frag="${srcdir}/../config/mh-interix"
> +    ;;
> +esac
> +fi]
> +AC_SUBST_FILE(host_makefile_frag)
> +
>  # Specify the local prefix
>  local_prefix=
>  AC_ARG_WITH(local-prefix,



More information about the Gcc-patches mailing list