Code

configure: Don't use -Wunreachable-code.
[sysdb.git] / configure.ac
index f765d5f56f9efe9edb8bfbc9b1a721e3d8e5f558..148b76dbf5089f2710a9a5f153a3ad551014ae18 100644 (file)
@@ -171,8 +171,7 @@ if test "x$enable_strict_checks" = "xyes"; then
                        -Wmissing-prototypes \
                        -Wpointer-arith \
                        -Wshadow \
-                       -Wstrict-prototypes \
-                       -Wunreachable-code; do
+                       -Wstrict-prototypes; do
                AC_MSG_CHECKING([whether $CC accepts $flag])
 
                if test_cc_flags $flag; then
@@ -224,7 +223,7 @@ AC_SUBST([A2X])
 
 dnl Plugin checks.
 puppet_storeconfigs_default=$with_libdbi
-if test "x$puppet_storeconfigs_default" = "xno"; then
+if test "x$puppet_storeconfigs_default" != "xyes"; then
        puppet_storeconfigs_default="no (requires libdbi)"
 fi