summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-02-06 14:46:40 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-02-06 14:46:40 +0000
commit84d0db13189731456c1104b34f141ea351b9f0dd (patch)
tree5b3bd74e0c3eece5d336bc7fbda1ebb8f9f7cd28
parentdce0fbe6eff76a4f0cd92c56a3fe73ad555f8cf2 (diff)
Removed superfluous -mno-cygwin from MinGW builds and corrected spelling
of "MinGW" and "Cygwin", where appropriate. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--configure.in22
1 files changed, 11 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index 9b3191494..4431fa525 100644
--- a/configure.in
+++ b/configure.in
@@ -60,8 +60,9 @@ if test "x$uname" = xIRIX64; then
uname="IRIX"
fi
if test "x$uname" = x; then
- # MingW doesn't provide any output when uname is run, even with "-s"...
- uname="CYGWIN"
+ # Older MinGW doesn't provide any output when uname is run, even with "-s".
+ # Current MinGW (as of Jan. 2011) however does, so this is not necessary anymore...
+ uname="MINGW"
fi
dnl Do not automatically add "-g" to compiler options...
@@ -87,14 +88,13 @@ if test "x$cross_compiling" != xno ; then
fi
dnl OS-specific pre-tests...
-dnl uname_GUI equals $uname unless we target cygwin
-dnl in combination with X11.
+dnl uname_GUI equals $uname unless we target Cygwin in combination with X11.
uname_GUI=$uname
case $uname in
- CYGWIN* | MINGW*)
+ CYGWIN*)
# Handle Cygwin option *first*, before all other tests.
- AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the CygWin libraries [(default=no)]])
- AC_ARG_ENABLE(x11, [ --enable-x11 use CygWin with X11 [(default=no)]])
+ AC_ARG_ENABLE(cygwin, [ --enable-cygwin use the Cygwin libraries [(default=no)]])
+ AC_ARG_ENABLE(x11, [ --enable-x11 use Cygwin with X11 [(default=no)]])
if test x$enable_cygwin != xyes; then
# NOTE: We can't use ARCHFLAGS for this, since it does not work
# with some of the function tests - Cygwin uses a
@@ -105,7 +105,7 @@ case $uname in
LDFLAGS="$LDFLAGS -mno-cygwin"
DSOFLAGS="$DSOFLAGS -mno-cygwin"
else
- # we target cygwin in combination with X11
+ # we target Cygwin in combination with X11
if test x$enable_x11 = xyes; then
uname_GUI="X11$uname"
fi
@@ -815,7 +815,7 @@ case $uname_GUI in
DSOFLAGS="-mwindows $DSOFLAGS"
LIBS="$LIBS -lole32 -luuid -lcomctl32"
if test "x$with_optim" = x; then
- dnl Avoid -Os optimization on Cygwin/Mingw
+ dnl Avoid -Os optimization on Cygwin/MinGW
with_optim="-O3"
fi
@@ -882,7 +882,7 @@ case $uname_GUI in
*)
# All others are UNIX/X11...
- # This includes cygwin target combined with X11
+ # This includes Cygwin target combined with X11
if test x$have_pthread = xyes; then
AC_DEFINE(HAVE_PTHREAD)
THREADS="threads$EXEEXT"
@@ -1000,7 +1000,7 @@ case $uname_GUI in
fi
# Make symlinks since UNIX/Linux is case sensitive,
- # but cygwin in general not.
+ # but Cygwin in general not.
case $uname in
CYGWIN*)
HLINKS="#"