/[emacs]/emacs/configure.in
ViewVC logotype

Diff of /emacs/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.371 by jhd, Tue Oct 5 20:24:19 2004 UTC revision 1.372 by jhd, Wed Oct 6 07:24:40 2004 UTC
# Line 1599  int main (int argc, char *argv[]) Line 1599  int main (int argc, char *argv[])
1599      exit (-1);      exit (-1);
1600    }    }
1601    exit (this_sbrk == old_sbrk);    exit (this_sbrk == old_sbrk);
1602  }], emacs_cv_execshield=yes, emacs_cv_execshield=no,  }], emacs_cv_randomheap=yes, emacs_cv_randomheap=no,
1603       emacs_cv_execshield='assuming no')       emacs_cv_randomheap='assuming no')
1604  else  else
1605    emacs_cv_execshield='assuming no'    emacs_cv_randomheap='assuming no'
1606  fi  fi
1607  AC_MSG_RESULT($emacs_cv_execshield)  AC_MSG_RESULT($emacs_cv_randomheap)
1608    
1609  if test "$emacs_cv_execshield" = yes; then  if test "$emacs_cv_randomheap" = yes; then
1610    AC_PATH_PROG(SETARCH, setarch, no)    AC_PATH_PROG(SETARCH, setarch, no)
1611    AC_SUBST(SETARCH)    AC_SUBST(SETARCH)
1612    if test "$SETARCH" != no && test "$machine" = "intel386"; then    if test "$SETARCH" != no && test "$machine" = "intel386"; then
1613      AC_DEFINE(HAVE_RANDOM_HEAPSTART, 1,      AC_DEFINE(HAVE_RANDOM_HEAPSTART, 1,
1614      [Define to 1 if this OS randomizes the start address of the heap.])      [Define to 1 if this OS randomizes the start address of the heap.])
1615    else    else
1616      AC_MSG_ERROR([Heap start address is randomized and no workaround is known.      AC_MSG_WARN([
1617  Probably exec-shield is turned on.  Emacs can not dump itself if this is the  **********************************************************************
1618  case.  Read about exec-shield in `etc/PROBLEMS' for further information.])  
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    fi
1627  fi  fi
1628    

Legend:
Removed from v.1.371  
changed lines
  Added in v.1.372

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26