From: Paul Eggert Date: Sun, 31 Aug 2014 02:50:10 +0000 (-0700) Subject: * configure.ac (__restrict_arr): Remove; no longer used. X-Git-Tag: emacs-25.0.90~2635^2~679^2~383 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53d815b09fe53c749acce4c8aaf427367050f2bd;p=emacs.git * configure.ac (__restrict_arr): Remove; no longer used. --- diff --git a/ChangeLog b/ChangeLog index b61def192ad..18ded9664fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * configure.ac (MAKE): Export it, for config.status. Needed on AIX when 'configure' infers MAKE=gmake. + (__restrict_arr): Remove; no longer used. 2014-08-30 Paul Eggert diff --git a/configure.ac b/configure.ac index 32a55fc46e9..596fab64a05 100644 --- a/configure.ac +++ b/configure.ac @@ -4005,15 +4005,6 @@ fi AC_TYPE_MBSTATE_T -AC_CACHE_CHECK([for C restricted array declarations], emacs_cv_c_restrict_arr, - [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[void fred (int x[__restrict]);]], [[]])], - emacs_cv_c_restrict_arr=yes, emacs_cv_c_restrict_arr=no)]) -if test "$emacs_cv_c_restrict_arr" = yes; then - AC_DEFINE(__restrict_arr, __restrict, - [Define to compiler's equivalent of C99 restrict keyword in array - declarations. Define as empty for no equivalent.]) -fi - dnl Fixme: AC_SYS_POSIX_TERMIOS should probably be used, but it's not clear dnl how the tty code is related to POSIX and/or other versions of termios. dnl The following looks like a useful start.