summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2004-10-06 12:28:31 +0000
committerJan Djärv <jan.h.d@swipnet.se>2004-10-06 12:28:31 +0000
commit05cf15c600b4131921a51cceb2708a293da70bd1 (patch)
tree48b909b4838b1f56fdaca438983f7a10148b2a8d /configure.in
parent96fcad045a178e675e6c9be966e6143b75cb056f (diff)
downloademacs-05cf15c600b4131921a51cceb2708a293da70bd1.tar.gz
configure.in (HAVE_RANDOM_HEAPSTART): Move output of warning message to end
of configure run.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in25
1 files changed, 15 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 0bbcb76b262..4e534a53485 100644
--- a/configure.in
+++ b/configure.in
@@ -1613,16 +1613,8 @@ if test "$emacs_cv_randomheap" = yes; then
AC_DEFINE(HAVE_RANDOM_HEAPSTART, 1,
[Define to 1 if this OS randomizes the start address of the heap.])
else
- AC_MSG_WARN([
-**********************************************************************
-
-Heap start address is randomized and no workaround is known.
-Emacs will probably dump core when temacs is run in the build phase.
-Maybe exec-shield is turned on. Read about exec-shield in `etc/PROBLEMS'
-for further information.
-
-**********************************************************************
-])
+ dnl We do the warning at the end of the configure run so it is seen.
+ emacs_cv_randomheap=warn
fi
fi
@@ -3094,6 +3086,19 @@ echo " Does Emacs use -lpng? ${HAVE_PNG}"
echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
echo
+if test "$emacs_cv_randomheap" = warn; then
+ AC_MSG_WARN([
+**********************************************************************
+
+Heap start address is randomized and no workaround is known.
+Emacs will probably dump core when temacs is run in the build phase.
+Maybe exec-shield is turned on. Read about exec-shield in `etc/PROBLEMS'
+for further information.
+
+**********************************************************************
+])
+fi
+
# Remove any trailing slashes in these variables.
[test "${prefix}" != NONE &&
prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`