diff options
-rw-r--r-- | cpp/configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 1aa0a6fe63..5e478c68cf 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -175,14 +175,12 @@ AC_ARG_WITH([cpg], no) with_CPG=no ;; *) AC_MSG_ERROR([Bad value ${withval} for --with-cpg option]) ;; esac], - [ # not specified - enable if libs/headers available. - with_CPG=yes - AC_CHECK_LIB([cpg],[cpg_local_get],,[with_CPG=no]) - AC_CHECK_HEADERS([openais/cpg.h],,[with_CPG=no]) + [ # not specified - default no + with_CPG=no ] ) -# Remove from LIBS, we will link it explicitly in make files. LIBS=$tmp_LIBS + AM_CONDITIONAL([CPG], [test x$with_CPG = xyes]) if test x$with_CPG = xyes; then CPPFLAGS+=" -DCPG" |