Mercurial > emacs
comparison configure.in @ 57355:333180b73b52
configure.in (HAVE_RANDOM_HEAPSTART): Move output of warning message to end
of configure run.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 06 Oct 2004 12:28:31 +0000 |
parents | c36defd6923f |
children | f95883a41a23 |
comparison
equal
deleted
inserted
replaced
57354:96eaddf5d495 | 57355:333180b73b52 |
---|---|
1611 AC_SUBST(SETARCH) | 1611 AC_SUBST(SETARCH) |
1612 if test "$SETARCH" != no && test "$machine" = "intel386"; then | 1612 if test "$SETARCH" != no && test "$machine" = "intel386"; 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 |
1629 | 1621 |
1630 dnl This could be used for targets which can have both byte sexes. | 1622 dnl This could be used for targets which can have both byte sexes. |
3092 echo " Does Emacs use -lungif? ${HAVE_GIF}" | 3084 echo " Does Emacs use -lungif? ${HAVE_GIF}" |
3093 echo " Does Emacs use -lpng? ${HAVE_PNG}" | 3085 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,'` |
3100 test "${exec_prefix}" != NONE && | 3105 test "${exec_prefix}" != NONE && |
3101 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`] | 3106 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`] |