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
This commit is contained in:
Michael R Sweet
2006-06-26 13:45:07 +00:00
parent 05c80896b2
commit 8761079f3c
+7 -1
View File
@@ -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