This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [RFA] tk needs win32 patches too
- To: Christopher Faylor <cgf at redhat dot com>
- Subject: Re: [RFA] tk needs win32 patches too
- From: Ian Roxborough <irox at redhat dot com>
- Date: Wed, 10 Oct 2001 19:55:05 -0700
- CC: insight at sources dot redhat dot com
- References: <20011010210742.A3465@redhat.com>
Christopher Faylor wrote:
>
> Does insight/tcl/tk have an obvious checkin rule?
I'm not sure of the formal checkin rule.
But your patch looks fine.
Ian.
> Wed Oct 10 21:06:11 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/tk/win/configure.in,v
> retrieving revision 1.3
> diff -p -r1.3 configure.in
> *** configure.in 2001/09/13 00:42:07 1.3
> --- configure.in 2001/10/11 01:05:44
> *************** 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.)
> #--------------------------------------------------------------------