mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 08:16:04 +08:00
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:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user