emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/configure
Date: Fri, 04 Mar 2005 11:46:04 -0500

Index: emacs/configure
diff -c emacs/configure:1.146 emacs/configure:1.147
*** emacs/configure:1.146       Wed Jan 19 19:09:00 2005
--- emacs/configure     Fri Mar  4 16:45:54 2005
***************
*** 856,861 ****
--- 856,862 ----
    --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,1525 ****
--- 1521,1534 ----
     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,22004 ****
  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;}
  fi
  
  # Remove any trailing slashes in these variables.
  test "${prefix}" != NONE &&
    prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
--- 21985,21999 ----
  echo "  Does Emacs use X toolkit scroll bars?                   
${USE_TOOLKIT_SCROLL_BARS}"
  echo
  
! 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,'`




reply via email to

[Prev in Thread] Current Thread [Next in Thread]