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] tk needs win32 patches too


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.)
>   #--------------------------------------------------------------------


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