125 |
specify install directory for Emacs.app on Mac OS X]], |
specify install directory for Emacs.app on Mac OS X]], |
126 |
[ carbon_appdir_x=${enableval}]) |
[ carbon_appdir_x=${enableval}]) |
127 |
|
|
128 |
|
AC_ARG_ENABLE(asserts, |
129 |
|
[ --enable-asserts compile code with asserts enabled], |
130 |
|
USE_XASSERTS=$enableval, |
131 |
|
USE_XASSERTS=no) |
132 |
|
|
133 |
AC_ARG_ENABLE(maintainer-mode, |
AC_ARG_ENABLE(maintainer-mode, |
134 |
[ --enable-maintainer-mode enable make rules and dependencies not useful |
[ --enable-maintainer-mode enable make rules and dependencies not useful |
135 |
(and sometimes confusing) to the casual installer], |
(and sometimes confusing) to the casual installer], |
3101 |
echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |
echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |
3102 |
echo |
echo |
3103 |
|
|
3104 |
if test "$emacs_cv_randomheap" = warn; then |
if test $USE_XASSERTS = yes; then |
3105 |
AC_MSG_WARN([ |
echo " Compiling with asserts turned on." |
3106 |
********************************************************************** |
CFLAGS="$CFLAGS -DXASSERTS=1" |
3107 |
|
CPPFLAGS="$CPPFLAGS -DXASSERTS=1" |
3108 |
Heap start address is randomized and no workaround is known. |
echo |
|
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. |
|
|
|
|
|
********************************************************************** |
|
|
]) |
|
3109 |
fi |
fi |
3110 |
|
|
3111 |
|
|
3112 |
|
|
3113 |
# Remove any trailing slashes in these variables. |
# Remove any trailing slashes in these variables. |
3114 |
[test "${prefix}" != NONE && |
[test "${prefix}" != NONE && |
3115 |
prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |
prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |