diff options
author | ajs <ajs> | 2004-12-29 17:50:22 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-12-29 17:50:22 +0000 |
commit | 3cade26fea2febf99780288d31d0bfe7e1b16ef1 (patch) | |
tree | 3b5e7d4b0ce07d3e724412e3018911a92204c947 /configure.ac | |
parent | f2d8257fe428504bb3378ea1e1ddbec0c82e0b81 (diff) |
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* configure.ac: Add new option --enable-gcc-rdynamic to link
with -rdynamic.
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1f489474..608672b6 100755 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ ## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org> ## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st> ## -## $Id: configure.ac,v 1.80 2004/12/23 20:09:44 paul Exp $ +## $Id: configure.ac,v 1.81 2004/12/29 17:50:22 ajs Exp $ AC_PREREQ(2.53) AC_INIT(Quagga, 0.97.4, [http://bugzilla.quagga.net]) @@ -155,6 +155,8 @@ AC_ARG_ENABLE(capabilities, [ --disable-capabilities disable using POSIX capabilities]) AC_ARG_ENABLE(gcc_ultra_verbose, [ --enable-gcc-ultra-verbose enable ultra verbose GCC warnings]) +AC_ARG_ENABLE(gcc-rdynamic, +[ --enable-gcc-rdynamic enable gcc linking with -rdynamic for better backtraces]) if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes" @@ -163,6 +165,10 @@ if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then CFLAGS="${CFLAGS} -Wpacked -Wpadded" fi +if test x"${enable_gcc_rdynamic}" = x"yes" ; then + LDFLAGS="${LDFLAGS} -rdynamic" +fi + if test "${enable_broken_aliases}" = "yes"; then if test "${enable_netlink}" = "yes" then |