summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2002-03-15 21:35:38 +0000
committerTor Lillqvist <tml@src.gnome.org>2002-03-15 21:35:38 +0000
commita1a8f1b6c3830afdd89c8a1bf54ff078c558f182 (patch)
treeebd8d1274aaea644507fdbf263f209f5d600ccf1 /configure.in
parent4997dc2aa5d89155452b5acbe3217aba51b4b6fb (diff)
downloadgtk+-a1a8f1b6c3830afdd89c8a1bf54ff078c558f182.tar.gz
Set MATH_LIB to empty also on Win32.
2002-03-15 Tor Lillqvist <tml@iki.fi> * configure.in: Set MATH_LIB to empty also on Win32.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
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 <math.h>
)
LIBS=$gtk_save_LIBS
-MATH_LIB=-lm
AC_MSG_CHECKING(for the BeOS)
case $host in
*-*-beos*)