mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 13:08:53 +02:00
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
From 8b2c1e32d3f290835e6db44788aab1c3114dd73a Mon Sep 17 00:00:00 2001
|
|
From: Adrien Destugues <pulkomandy@gmail.com>
|
|
Date: Thu, 19 Feb 2015 11:16:28 +0100
|
|
Subject: Fix detection of libm.
|
|
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index 00b99e7..b769abd 100755
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -68,7 +68,7 @@ AC_CHECK_LIB([SDL], [main], [], [AC_MSG_ERROR(Couldn't find SDL. Please go to ht
|
|
AC_CHECK_LIB([SDL_image], [main], [], [AC_MSG_ERROR(Couldn't find SDL_image. Please go to http://www.libsdl.org/projects/SDL_image and get it!)])
|
|
AC_CHECK_LIB([SDL_ttf], [main], [], [AC_MSG_ERROR(Couldn't find SDL_ttf. Please go to http://www.libsdl.org/projects/SDL_ttf and get it!)])
|
|
# Math
|
|
-AC_CHECK_LIB([m], [main], [], [AC_MSG_ERROR(Couldn't find math lib. Something is wrong with your C/C++ distribution)])
|
|
+AC_SEARCH_LIBS([cos], [m], [], [AC_MSG_ERROR(Couldn't find math lib. Something is wrong with your C/C++ distribution)])
|
|
# Cal3D
|
|
AC_CHECK_LIB([cal3d], [main], [], [AC_MSG_ERROR(Couldn't find cal3d. Go to http://home.gna.org/cal3d and get it.)])
|
|
#the intl is needed on not gnu systems
|
|
--
|
|
2.2.2
|
|
|