From a1a8f1b6c3830afdd89c8a1bf54ff078c558f182 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 15 Mar 2002 21:35:38 +0000 Subject: [PATCH] Set MATH_LIB to empty also on Win32. 2002-03-15 Tor Lillqvist * configure.in: Set MATH_LIB to empty also on Win32. --- ChangeLog | 4 ++++ ChangeLog.pre-2-0 | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-2 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ configure.in | 3 ++- 8 files changed, 30 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 942535e87b..6858c150a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 942535e87b..6858c150a2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2002-03-15 Tor Lillqvist + + * configure.in: Set MATH_LIB to empty also on Win32. + Fri Mar 15 15:37:01 2002 Owen Taylor * gdk/x11/gdkdrawable-x11.c (convert_to_format): diff --git a/configure.in b/configure.in index 93ce83d657..1d0cf9a6de 100644 --- a/configure.in +++ b/configure.in @@ -132,10 +132,12 @@ esac AC_MSG_RESULT([$platform_win32]) AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") +MATH_LIB=-lm AC_MSG_CHECKING([for native Win32]) case "$host" in *-*-mingw*) os_win32=yes + MATH_LIB= ;; *) os_win32=no @@ -383,7 +385,6 @@ AC_TRY_RUN([#include ) LIBS=$gtk_save_LIBS -MATH_LIB=-lm AC_MSG_CHECKING(for the BeOS) case $host in *-*-beos*)