summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-06-26 13:45:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-06-26 13:45:07 +0000
commit8761079f3c4fe2e877bead6cf7f69e99f5d3c897 (patch)
treed69d60bf31451ecac5eefadacda06cc7b72c0a44
parent05c80896b24d78b5de0398ec76fd8ee5324a3040 (diff)
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
-rw-r--r--configure.in8
1 files changed, 7 insertions, 1 deletions
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