From 8761079f3c4fe2e877bead6cf7f69e99f5d3c897 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 26 Jun 2006 13:45:07 +0000 Subject: Revert change to --enable-cygwin option since ARCHFLAGS does not work with the configure tests for strlcpy and friends. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 8ec6f04ed..2249ee909 100644 --- a/configure.in +++ b/configure.in @@ -71,7 +71,13 @@ case $uname in # Handle Cygwin option *first*, before all other tests. AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [default=no]]) if test x$enable_cygwin != xyes; then - ARCHFLAGS="$ARCHFLAGS -mno-cygwin" + # NOTE: We can't use ARCHFLAGS for this, since it does not work + # with some of the function tests - Cygwin uses a + # different C library... + CFLAGS="$CFLAGS -mno-cygwin" + CPPFLAGS="$CPPFLAGS -mno-cygwin" + CXXFLAGS="$CXXFLAGS -mno-cygwin" + LDFLAGS="$LDFLAGS -mno-cygwin" fi ;; esac -- cgit v1.2.3