]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - configure.ac
Lib: Improve printf() tests
[thirdparty/bird.git] / configure.ac
index ae2710f54a71a23369d43d433e58aaebb6e66da5..da1a8f44d8904cbaa691059c40b1d55d2516a7d1 100644 (file)
@@ -271,7 +271,7 @@ if test "$enable_mpls_kernel" != no ; then
   fi
 fi
 
-all_protocols="$proto_bfd babel bgp mrt ospf pipe radv rip $proto_rpki static"
+all_protocols="$proto_bfd babel bgp mrt ospf perf pipe radv rip $proto_rpki static"
 
 all_protocols=`echo $all_protocols | sed 's/ /,/g'`
 
@@ -343,7 +343,10 @@ fi
 if test "$enable_debug" = yes ; then
   AC_DEFINE([DEBUGGING], [1], [Define to 1 if debugging is enabled])
   LDFLAGS="$LDFLAGS -rdynamic"
-  CFLAGS="$CFLAGS -O0 -ggdb -g3 -gdwarf-4"
+  CFLAGS="$CFLAGS -O0 -ggdb -g3"
+
+  BIRD_CHECK_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4], [])
+  BIRD_ADD_GCC_OPTION([bird_cv_c_option_dwarf4], [-gdwarf-4])
 
   AC_CHECK_HEADER([execinfo.h],
     [