Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
93274220
Commit
93274220
authored
May 09, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --with-fpectl. Change checks for -lm, -lc.
parent
7a24c374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
4 deletions
+25
-4
configure.in
configure.in
+25
-4
No files found.
configure.in
View file @
93274220
...
...
@@ -500,25 +500,46 @@ AC_MSG_RESULT($va_list_is_array)
# Linux requires this for correct f.p. operations
AC_CHECK_LIB(ieee, __fpu_control)
# Check for --with-fpectl
AC_SUBST(WANT_SIGFPE_HANDLER)
AC_MSG_CHECKING(for --with-fpectl)
AC_ARG_WITH(fpectl, [--with-fpectl enable SIGFPE catching], [
if test "$withval" != no
then AC_DEFINE(WANT_SIGFPE_HANDLER) AC_MSG_RESULT(yes)
else AC_MSG_RESULT(no)
fi])
# check for --with-libm=...
AC_SUBST(LIBM)
case $ac_sys_system in
next) ;;
*) LIBM=-lm
esac
AC_MSG_CHECKING(for --with-libm=STRING)
AC_ARG_WITH(libm, [--with-libm=STRING math library], [
if test "$withval" != yes
if test "$withval" = no
then LIBM=
AC_MSG_RESULT(force LIBM empty)
elif test "$withval" != yes
then LIBM=$withval
AC_MSG_RESULT(set LIBM=\"$withval\")
else AC_ERROR(proper usage is --with-libm=STRING)
fi])
fi],
[AC_MSG_RESULT(default LIBM=\"$LIBM\")])
# check for --with-libc=...
AC_SUBST(LIBC)
AC_MSG_CHECKING(for --with-libc=STRING)
AC_ARG_WITH(libc, [--with-libc=STRING C library], [
if test "$withval" != yes
if test "$withval" = no
then LIBC=
AC_MSG_RESULT(force LIBC empty)
elif test "$withval" != yes
then LIBC=$withval
AC_MSG_RESULT(set LIBC=\"$withval\")
else AC_ERROR(proper usage is --with-libc=STRING)
fi])
fi],
[AC_MSG_RESULT(default LIBC=\"$LIBC\")])
# check for hypot() in math library
LIBS_SAVE=$LIBS
...
...
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