This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[RFA] tk needs win32 patches too
- To: insight at sources dot redhat dot com
- Subject: [RFA] tk needs win32 patches too
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 10 Oct 2001 21:07:42 -0400
Does insight/tcl/tk have an obvious checkin rule?
cgf
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.)
#--------------------------------------------------------------------