summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorajs <ajs>2004-12-29 17:50:22 +0000
committerajs <ajs>2004-12-29 17:50:22 +0000
commit25dcfda377e29fc7a66553cd3c6c966e056c2a5f (patch)
tree9c1aca7af16d8118ffd893c2768da962259ea087 /configure.ac
parent7c77454a9b35f8b8aa9c3e9e796ea677ae6c0b6b (diff)
downloadquagga-25dcfda377e29fc7a66553cd3c6c966e056c2a5f.tar.bz2
quagga-25dcfda377e29fc7a66553cd3c6c966e056c2a5f.tar.xz
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-xconfigure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 341b42ca..6294eb06 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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