diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-06 13:47:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-06 13:47:45 -0700 |
commit | c8199d0f9eb45a99de074ec10b893f737f738cd8 (patch) | |
tree | ce31864f7f951b86b84a9f8cd2ae8c33c4883341 /configure.in | |
parent | 369e19fc45a4c2d4bf84da0d8e3f27050624a38c (diff) | |
download | emacs-c8199d0f9eb45a99de074ec10b893f737f738cd8.tar.gz |
isnan: Fix porting problem to Solaris 10 with bundled gcc.
Without this fix, the command to link temacs failed due to an
undefined symbol __builtin_isnan. This is because
/usr/include/iso/math_c99.h #defines isnan(x) to
__builtin_isnan(x), but the bundled gcc, which identifies itself
as gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath), does not have
a __builtin_isnan.
* configure.in (isnan): Remove now-unnecessary check.
* src/floatfns.c (isnan): #undef, and then #define to a clone of
what's in data.c.
(Fisnan): Always define, since it's always available now.
(syms_of_floatfns): Always define isnan at the Lisp level.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index a89297854a8..5116648c32a 100644 --- a/configure.in +++ b/configure.in @@ -2708,7 +2708,7 @@ __fpending mblen mbrlen mbsinit strsignal setitimer ualarm \ sendto recvfrom getsockopt setsockopt getsockname getpeername \ gai_strerror mkstemp getline getdelim mremap fsync sync \ difftime mempcpy mblen mbrlen posix_memalign \ -cfmakeraw cfsetspeed isnan copysign __executable_start) +cfmakeraw cfsetspeed copysign __executable_start) dnl Cannot use AC_CHECK_FUNCS AC_CACHE_CHECK([for __builtin_unwind_init], |