diff options
| author | Jan Djärv | 2004-10-06 12:28:31 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-10-06 12:28:31 +0000 |
| commit | 05cf15c600b4131921a51cceb2708a293da70bd1 (patch) | |
| tree | 48b909b4838b1f56fdaca438983f7a10148b2a8d | |
| parent | 96fcad045a178e675e6c9be966e6143b75cb056f (diff) | |
| download | emacs-05cf15c600b4131921a51cceb2708a293da70bd1.tar.gz emacs-05cf15c600b4131921a51cceb2708a293da70bd1.zip | |
configure.in (HAVE_RANDOM_HEAPSTART): Move output of warning message to end
of configure run.
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rwxr-xr-x | configure | 44 | ||||
| -rw-r--r-- | configure.in | 25 |
3 files changed, 40 insertions, 31 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | 2004-10-06 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 1 | 2004-10-06 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * configure.in (HAVE_RANDOM_HEAPSTART): Change AC_MSG_ERROR to | 3 | * configure.in (HAVE_RANDOM_HEAPSTART): Change AC_MSG_ERROR to |
| 4 | AC_MSG_WARN. | 4 | AC_MSG_WARN. Move output of warning message to end of configure run. |
| 5 | 5 | ||
| 6 | 2004-10-05 Jan Dj,Ad(Brv. <jan.h.d@swipnet.se> | 6 | 2004-10-05 Jan Dj,Ad(Brv. <jan.h.d@swipnet.se> |
| 7 | 7 | ||
| @@ -7854,26 +7854,7 @@ cat >>confdefs.h <<\_ACEOF | |||
| 7854 | _ACEOF | 7854 | _ACEOF |
| 7855 | 7855 | ||
| 7856 | else | 7856 | else |
| 7857 | { echo "$as_me:$LINENO: WARNING: | 7857 | emacs_cv_randomheap=warn |
| 7858 | ********************************************************************** | ||
| 7859 | |||
| 7860 | Heap start address is randomized and no workaround is known. | ||
| 7861 | Emacs will probably dump core when temacs is run in the build phase. | ||
| 7862 | Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' | ||
| 7863 | 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 | 7858 | fi |
| 7878 | fi | 7859 | fi |
| 7879 | 7860 | ||
| @@ -21452,6 +21433,29 @@ echo " Does Emacs use -lpng? ${HAVE_PNG}" | |||
| 21452 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" | 21433 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |
| 21453 | echo | 21434 | echo |
| 21454 | 21435 | ||
| 21436 | if test "$emacs_cv_randomheap" = warn; then | ||
| 21437 | { echo "$as_me:$LINENO: WARNING: | ||
| 21438 | ********************************************************************** | ||
| 21439 | |||
| 21440 | Heap start address is randomized and no workaround is known. | ||
| 21441 | Emacs will probably dump core when temacs is run in the build phase. | ||
| 21442 | Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' | ||
| 21443 | for further information. | ||
| 21444 | |||
| 21445 | ********************************************************************** | ||
| 21446 | " >&5 | ||
| 21447 | echo "$as_me: WARNING: | ||
| 21448 | ********************************************************************** | ||
| 21449 | |||
| 21450 | Heap start address is randomized and no workaround is known. | ||
| 21451 | Emacs will probably dump core when temacs is run in the build phase. | ||
| 21452 | Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' | ||
| 21453 | for further information. | ||
| 21454 | |||
| 21455 | ********************************************************************** | ||
| 21456 | " >&2;} | ||
| 21457 | fi | ||
| 21458 | |||
| 21455 | # Remove any trailing slashes in these variables. | 21459 | # Remove any trailing slashes in these variables. |
| 21456 | test "${prefix}" != NONE && | 21460 | test "${prefix}" != NONE && |
| 21457 | prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 21461 | prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |
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 | |||
| 1613 | AC_DEFINE(HAVE_RANDOM_HEAPSTART, 1, | 1613 | AC_DEFINE(HAVE_RANDOM_HEAPSTART, 1, |
| 1614 | [Define to 1 if this OS randomizes the start address of the heap.]) | 1614 | [Define to 1 if this OS randomizes the start address of the heap.]) |
| 1615 | else | 1615 | else |
| 1616 | AC_MSG_WARN([ | 1616 | dnl We do the warning at the end of the configure run so it is seen. |
| 1617 | ********************************************************************** | 1617 | emacs_cv_randomheap=warn |
| 1618 | |||
| 1619 | Heap start address is randomized and no workaround is known. | ||
| 1620 | Emacs will probably dump core when temacs is run in the build phase. | ||
| 1621 | Maybe exec-shield is turned on. Read about exec-shield in `etc/PROBLEMS' | ||
| 1622 | for further information. | ||
| 1623 | |||
| 1624 | ********************************************************************** | ||
| 1625 | ]) | ||
| 1626 | fi | 1618 | fi |
| 1627 | fi | 1619 | fi |
| 1628 | 1620 | ||
| @@ -3094,6 +3086,19 @@ echo " Does Emacs use -lpng? ${HAVE_PNG}" | |||
| 3094 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" | 3086 | echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |
| 3095 | echo | 3087 | echo |
| 3096 | 3088 | ||
| 3089 | if test "$emacs_cv_randomheap" = warn; then | ||
| 3090 | AC_MSG_WARN([ | ||
| 3091 | ********************************************************************** | ||
| 3092 | |||
| 3093 | Heap start address is randomized and no workaround is known. | ||
| 3094 | Emacs will probably dump core when temacs is run in the build phase. | ||
| 3095 | Maybe exec-shield is turned on. Read about exec-shield in `etc/PROBLEMS' | ||
| 3096 | for further information. | ||
| 3097 | |||
| 3098 | ********************************************************************** | ||
| 3099 | ]) | ||
| 3100 | fi | ||
| 3101 | |||
| 3097 | # Remove any trailing slashes in these variables. | 3102 | # Remove any trailing slashes in these variables. |
| 3098 | [test "${prefix}" != NONE && | 3103 | [test "${prefix}" != NONE && |
| 3099 | prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 3104 | prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |