1
0
Fork 0

rewrite powf stuff a bit.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2718
This commit is contained in:
Peter Veenstra 2006-11-07 11:43:13 +00:00
parent 60b6c06b54
commit 4510807269
3 changed files with 14 additions and 6 deletions

View file

@ -60,6 +60,8 @@ AC_MSG_CHECKING(if environ can be linked)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[extern char ** environ;]],[[*environ;]])],
[AC_MSG_RESULT(yes);AC_DEFINE(ENVIRON_LINKED,1,[environ can be linked])],AC_MSG_RESULT(no))
AC_CHECK_LIB([m],[powf],,[AC_DEFINE([DB_HAVE_NO_POWF],[1],[libm doesn't include powf])])
dnl Checks for libraries.
#Check if the compiler support attributes