* configure.in: Added --enable-asserts.
* configure: Regenerate.
This commit is contained in:
parent
524352d621
commit
d0098f13fb
3 changed files with 33 additions and 32 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-03-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* configure.in: Added --enable-asserts.
|
||||
* configure: Regenerate.
|
||||
|
||||
2005-02-09 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
Change release version from 21.4 to 22.1 throughout.
|
||||
|
|
37
configure
vendored
37
configure
vendored
|
@ -856,6 +856,7 @@ Optional Features:
|
|||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--enable-carbon-app[=DIR] [DIR=/Application]
|
||||
specify install directory for Emacs.app on Mac OS X
|
||||
--enable-asserts compile code with asserts enabled
|
||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer
|
||||
--disable-largefile omit support for large files
|
||||
|
@ -1520,6 +1521,14 @@ if test "${enable_carbon_app+set}" = set; then
|
|||
carbon_appdir_x=${enableval}
|
||||
fi;
|
||||
|
||||
# Check whether --enable-asserts or --disable-asserts was given.
|
||||
if test "${enable_asserts+set}" = set; then
|
||||
enableval="$enable_asserts"
|
||||
USE_XASSERTS=$enableval
|
||||
else
|
||||
USE_XASSERTS=no
|
||||
fi;
|
||||
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
|
@ -21976,29 +21985,15 @@ 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
|
||||
{ echo "$as_me:$LINENO: WARNING:
|
||||
**********************************************************************
|
||||
|
||||
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.
|
||||
|
||||
**********************************************************************
|
||||
" >&5
|
||||
echo "$as_me: WARNING:
|
||||
**********************************************************************
|
||||
|
||||
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.
|
||||
|
||||
**********************************************************************
|
||||
" >&2;}
|
||||
if test $USE_XASSERTS = yes; then
|
||||
echo " Compiling with asserts turned on."
|
||||
CFLAGS="$CFLAGS -DXASSERTS=1"
|
||||
CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
|
||||
echo
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Remove any trailing slashes in these variables.
|
||||
test "${prefix}" != NONE &&
|
||||
prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
|
||||
|
|
23
configure.in
23
configure.in
|
@ -125,6 +125,11 @@ AC_ARG_ENABLE(carbon-app,
|
|||
specify install directory for Emacs.app on Mac OS X]],
|
||||
[ carbon_appdir_x=${enableval}])
|
||||
|
||||
AC_ARG_ENABLE(asserts,
|
||||
[ --enable-asserts compile code with asserts enabled],
|
||||
USE_XASSERTS=$enableval,
|
||||
USE_XASSERTS=no)
|
||||
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
|
@ -3096,19 +3101,15 @@ 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.
|
||||
|
||||
**********************************************************************
|
||||
])
|
||||
if test $USE_XASSERTS = yes; then
|
||||
echo " Compiling with asserts turned on."
|
||||
CFLAGS="$CFLAGS -DXASSERTS=1"
|
||||
CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
|
||||
echo
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Remove any trailing slashes in these variables.
|
||||
[test "${prefix}" != NONE &&
|
||||
prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
|
||||
|
|
Loading…
Add table
Reference in a new issue