diff --git a/configure.in b/configure.in index 118d255f602..161ee2d8ebe 100644 --- a/configure.in +++ b/configure.in @@ -99,7 +99,7 @@ AC_ARG_ENABLE(spit, AC_MSG_CHECKING([for SPIT]) if test x"$ac_spit" = "xyes"; then - if test x"$with_pg" = "xyes" -o x"$with_pg" = "x" ; then + if test x"$ac_postgresql" = "xyes"; then AC_MSG_RESULT([yes]) else ac_spit="no"