This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] tcl/cygwin build fix


On Fri, 5 Oct 2001, Christopher Faylor wrote:

> This allows building of tcl without special options on Windows.
> It is similar to a test in the tcl/cygwin directory.
>
> Ok to apply?

I don't know who has control over tcl, since it really affects almost
everyone, but if it works, by all means, check it in!

Keith

> Fri Oct  5 16:03:53 2001  Christopher Faylor <cgf@cygnus.com>
>
> 	* win/configure.in: Add detection for -mwin32 option requirement under
> 	cygwin.
> 	* win/configure: Regenerate
>
> Index: win/configure.in
> ===================================================================
> RCS file: /cvs/uberbaum/tcl/win/configure.in,v
> retrieving revision 1.5
> diff -p -r1.5 configure.in
> *** configure.in	2001/09/13 00:38:49	1.5
> --- configure.in	2001/10/05 20:20:52
> *************** AC_PROG_MAKE_SET
> *** 41,46 ****
> --- 41,59 ----
>
>   AC_CYGWIN
>
> + case "${target}" in
> + *-*-cygwin*)
> +         touch ac$$.c
> +         if ${CC} -c -mwin32 ac$$.c >/dev/null 2>&1; then
> +             case "$EXTRA_CFLAGS" in
> +                 *-mwin32*) ;;
> +                 *) EXTRA_CFLAGS="-mwin32 $EXTRA_CFLAGS" ;;
> +             esac
> +         fi
> +         rm -f ac$$.o ac$$.c
> +         ;;
> + esac
> +
>   #--------------------------------------------------------------------
>   # Determines the correct binary file extension (.o, .obj, .exe etc.)
>   #--------------------------------------------------------------------
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]