7746 |
if test x"$ac_cv_header_unistd_h" != x && test x"$ac_cv_header_stdlib_h" != x |
if test x"$ac_cv_header_unistd_h" != x && test x"$ac_cv_header_stdlib_h" != x |
7747 |
then |
then |
7748 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
7749 |
emacs_cv_execshield='assuming no' |
emacs_cv_randomheap='assuming no' |
7750 |
else |
else |
7751 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
7752 |
/* confdefs.h. */ |
/* confdefs.h. */ |
7788 |
ac_status=$? |
ac_status=$? |
7789 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7790 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
7791 |
emacs_cv_execshield=yes |
emacs_cv_randomheap=yes |
7792 |
else |
else |
7793 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
7794 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
7795 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
7796 |
|
|
7797 |
( exit $ac_status ) |
( exit $ac_status ) |
7798 |
emacs_cv_execshield=no |
emacs_cv_randomheap=no |
7799 |
fi |
fi |
7800 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7801 |
fi |
fi |
7802 |
else |
else |
7803 |
emacs_cv_execshield='assuming no' |
emacs_cv_randomheap='assuming no' |
7804 |
fi |
fi |
7805 |
echo "$as_me:$LINENO: result: $emacs_cv_execshield" >&5 |
echo "$as_me:$LINENO: result: $emacs_cv_randomheap" >&5 |
7806 |
echo "${ECHO_T}$emacs_cv_execshield" >&6 |
echo "${ECHO_T}$emacs_cv_randomheap" >&6 |
7807 |
|
|
7808 |
if test "$emacs_cv_execshield" = yes; then |
if test "$emacs_cv_randomheap" = yes; then |
7809 |
# Extract the first word of "setarch", so it can be a program name with args. |
# Extract the first word of "setarch", so it can be a program name with args. |
7810 |
set dummy setarch; ac_word=$2 |
set dummy setarch; ac_word=$2 |
7811 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7854 |
_ACEOF |
_ACEOF |
7855 |
|
|
7856 |
else |
else |
7857 |
{ { echo "$as_me:$LINENO: error: Heap start address is randomized and no workaround is known. |
{ echo "$as_me:$LINENO: WARNING: |
7858 |
Probably exec-shield is turned on. Emacs can not dump itself if this is the |
********************************************************************** |
7859 |
case. Read about exec-shield in \`etc/PROBLEMS' for further information." >&5 |
|
7860 |
echo "$as_me: error: Heap start address is randomized and no workaround is known. |
Heap start address is randomized and no workaround is known. |
7861 |
Probably exec-shield is turned on. Emacs can not dump itself if this is the |
Emacs will probably dump core when temacs is run in the build phase. |
7862 |
case. Read about exec-shield in \`etc/PROBLEMS' for further information." >&2;} |
Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' |
7863 |
{ (exit 1); exit 1; }; } |
for further information. |
7864 |
|
|
7865 |
|
********************************************************************** |
7866 |
|
" >&5 |
7867 |
|
echo "$as_me: WARNING: |
7868 |
|
********************************************************************** |
7869 |
|
|
7870 |
|
Heap start address is randomized and no workaround is known. |
7871 |
|
Emacs will probably dump core when temacs is run in the build phase. |
7872 |
|
Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' |
7873 |
|
for further information. |
7874 |
|
|
7875 |
|
********************************************************************** |
7876 |
|
" >&2;} |
7877 |
fi |
fi |
7878 |
fi |
fi |
7879 |
|
|