Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3b11f79b
Commit
3b11f79b
authored
Jul 06, 2011
by
Natanael Copa
Committed by
Alexandre Julliard
Jul 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Test for isinf and isnan needs link to -lm.
parent
266cd6c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
configure
configure
+3
-0
configure.ac
configure.ac
+3
-0
No files found.
configure
View file @
3b11f79b
...
...
@@ -14270,6 +14270,8 @@ $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
fi
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lm"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for isinf"
>
&5
$as_echo_n
"checking for isinf... "
>
&6
;
}
if
${
ac_cv_have_isinf
+
:
}
false
;
then
:
...
...
@@ -14335,6 +14337,7 @@ then
$as_echo
"#define HAVE_ISNAN 1"
>>
confdefs.h
fi
LIBS
=
"
$ac_save_LIBS
"
case
$host_cpu
in
...
...
configure.ac
View file @
3b11f79b
...
...
@@ -2327,6 +2327,8 @@ then
fi
dnl Check for isinf
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lm"
AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; return isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
if test "$ac_cv_have_isinf" = "yes"
...
...
@@ -2341,6 +2343,7 @@ if test "$ac_cv_have_isnan" = "yes"
then
AC_DEFINE(HAVE_ISNAN, 1, [Define to 1 if you have the `isnan' function.])
fi
LIBS="$ac_save_LIBS"
dnl *** check for the need to define platform-specific symbols
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment