Mercurial > emacs
comparison configure @ 60378:01e39f456dc6
* configure.in: Added --enable-asserts.
* configure: Regenerate.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 04 Mar 2005 16:45:54 +0000 |
parents | d30fc301d0d8 |
children | 86d5f68886d5 29e773288013 |
comparison
equal
deleted
inserted
replaced
60377:c75c721c0479 | 60378:01e39f456dc6 |
---|---|
854 Optional Features: | 854 Optional Features: |
855 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 855 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
856 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 856 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
857 --enable-carbon-app[=DIR] [DIR=/Application] | 857 --enable-carbon-app[=DIR] [DIR=/Application] |
858 specify install directory for Emacs.app on Mac OS X | 858 specify install directory for Emacs.app on Mac OS X |
859 --enable-asserts compile code with asserts enabled | |
859 --enable-maintainer-mode enable make rules and dependencies not useful | 860 --enable-maintainer-mode enable make rules and dependencies not useful |
860 (and sometimes confusing) to the casual installer | 861 (and sometimes confusing) to the casual installer |
861 --disable-largefile omit support for large files | 862 --disable-largefile omit support for large files |
862 | 863 |
863 Optional Packages: | 864 Optional Packages: |
1516 fi; | 1517 fi; |
1517 # Check whether --enable-carbon-app or --disable-carbon-app was given. | 1518 # Check whether --enable-carbon-app or --disable-carbon-app was given. |
1518 if test "${enable_carbon_app+set}" = set; then | 1519 if test "${enable_carbon_app+set}" = set; then |
1519 enableval="$enable_carbon_app" | 1520 enableval="$enable_carbon_app" |
1520 carbon_appdir_x=${enableval} | 1521 carbon_appdir_x=${enableval} |
1522 fi; | |
1523 | |
1524 # Check whether --enable-asserts or --disable-asserts was given. | |
1525 if test "${enable_asserts+set}" = set; then | |
1526 enableval="$enable_asserts" | |
1527 USE_XASSERTS=$enableval | |
1528 else | |
1529 USE_XASSERTS=no | |
1521 fi; | 1530 fi; |
1522 | 1531 |
1523 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 1532 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
1524 if test "${enable_maintainer_mode+set}" = set; then | 1533 if test "${enable_maintainer_mode+set}" = set; then |
1525 enableval="$enable_maintainer_mode" | 1534 enableval="$enable_maintainer_mode" |
21974 echo " Does Emacs use -lungif? ${HAVE_GIF}" | 21983 echo " Does Emacs use -lungif? ${HAVE_GIF}" |
21975 echo " Does Emacs use -lpng? ${HAVE_PNG}" | 21984 echo " Does Emacs use -lpng? ${HAVE_PNG}" |
21976 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" | 21985 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}" |
21977 echo | 21986 echo |
21978 | 21987 |
21979 if test "$emacs_cv_randomheap" = warn; then | 21988 if test $USE_XASSERTS = yes; then |
21980 { echo "$as_me:$LINENO: WARNING: | 21989 echo " Compiling with asserts turned on." |
21981 ********************************************************************** | 21990 CFLAGS="$CFLAGS -DXASSERTS=1" |
21982 | 21991 CPPFLAGS="$CPPFLAGS -DXASSERTS=1" |
21983 Heap start address is randomized and no workaround is known. | 21992 echo |
21984 Emacs will probably dump core when temacs is run in the build phase. | 21993 fi |
21985 Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' | 21994 |
21986 for further information. | 21995 |
21987 | |
21988 ********************************************************************** | |
21989 " >&5 | |
21990 echo "$as_me: WARNING: | |
21991 ********************************************************************** | |
21992 | |
21993 Heap start address is randomized and no workaround is known. | |
21994 Emacs will probably dump core when temacs is run in the build phase. | |
21995 Maybe exec-shield is turned on. Read about exec-shield in \`etc/PROBLEMS' | |
21996 for further information. | |
21997 | |
21998 ********************************************************************** | |
21999 " >&2;} | |
22000 fi | |
22001 | 21996 |
22002 # Remove any trailing slashes in these variables. | 21997 # Remove any trailing slashes in these variables. |
22003 test "${prefix}" != NONE && | 21998 test "${prefix}" != NONE && |
22004 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 21999 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |
22005 test "${exec_prefix}" != NONE && | 22000 test "${exec_prefix}" != NONE && |