Mercurial > hg > xemacs-beta
comparison configure.ac @ 5604:e9f58d024c3c
Disable ASLR on Mac OS X Lion.
2011-11-27 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
* configure.ac:
Add "-Wl,-no_pie" to linker flags on Mac OS X Lion to disable ASLR
that breaks pdump.
* configure: Regenerate.
author | Marcus Crestani <crestani@informatik.uni-tuebingen.de> |
---|---|
date | Tue, 29 Nov 2011 16:19:53 +0100 |
parents | 3e5d5e8e4bb7 |
children | bc51e191aaea |
comparison
equal
deleted
inserted
replaced
5603:2b2f37e84792 | 5604:e9f58d024c3c |
---|---|
2784 *) AC_MSG_RESULT(no) ;; | 2784 *) AC_MSG_RESULT(no) ;; |
2785 esac | 2785 esac |
2786 fi | 2786 fi |
2787 fi | 2787 fi |
2788 | 2788 |
2789 dnl Disable ASLR on systems where it breaks pdump. | |
2790 AC_MSG_CHECKING([whether ASLR needs to be disabled]) | |
2791 case `uname -s`:`uname -r` in | |
2792 dnl Mac OS X 10.7 Lion | |
2793 Darwin:11.*) | |
2794 AC_MSG_RESULT(yes) | |
2795 XE_APPEND([-Wl,-no_pie], LDFLAGS) | |
2796 ;; | |
2797 *) AC_MSG_RESULT(no) ;; | |
2798 esac | |
2799 | |
2789 dnl ---------------------- | 2800 dnl ---------------------- |
2790 dnl Choose a window system | 2801 dnl Choose a window system |
2791 dnl ---------------------- | 2802 dnl ---------------------- |
2792 | 2803 |
2793 AC_MSG_CHECKING([for specified window system]) | 2804 AC_MSG_CHECKING([for specified window system]) |