Commit 51c3b9b4 authored by Glenn Morris's avatar Glenn Morris
Browse files

Move setting of NO_MATHERR for Darwin from src/s to configure

* (NO_MATHERR): Unconditionally define for Darwin;
as src/s/darwin.h used to.

* src/s/darwin.h (NO_MATHERR): Let configure set it.
parent 308aab79
2012-07-12 Glenn Morris <>
* (NO_MATHERR): Unconditionally define for Darwin;
as src/s/darwin.h used to.
* (NARROWPROTO): Move here from src/s.
2012-07-11 Glenn Morris <>
......@@ -1266,7 +1266,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]],
[[static struct exception x; x.arg1 = x.arg2 = x.retval; = ""; x.type = 1;]])],
emacs_cv_struct_exception=yes, emacs_cv_struct_exception=no))
if test $emacs_cv_struct_exception != yes; then
dnl Define on Darwin so emacs symbols will not conflict with those
dnl in the System framework. Otherwise -prebind will not work.
if test $emacs_cv_struct_exception != yes || test $opsys = darwin; then
AC_DEFINE(NO_MATHERR, 1, [Define to 1 if you don't have struct exception in math.h.])
2012-07-12 Glenn Morris <>
* s/darwin.h (NO_MATHERR): Let configure set it.
* s/bsd-common.h, s/cygwin.h, s/gnu-linux.h, s/irix6-5.h:
* s/template.h: Move NARROWPROTO to configure.
......@@ -82,9 +82,6 @@ along with GNU Emacs. If not, see <>. */
/* Do not define abort in emacs.c. */
#define NO_ABORT
/* Do not define matherr in floatfns.c. */
#define NO_MATHERR
/* The following solves the problem that Emacs hangs when evaluating
(make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile
does not exist. Also, setsid is not allowed in the vfork child's
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment