Fix compilation of PostgreSQL backend.
[onak.git] / configure.ac
index 4cbf68afdd9b7f5ac2f1dbc504d6b6b008196328..e41971bfc26f11173138513cc4c39badb315bc52 100644 (file)
@@ -19,7 +19,7 @@ then
                AC_MSG_ERROR([cannot compile DB3 backend without libdb3]))
 else if test "x$enable_backend" = "xpg"
 then
-       AC_CHECK_LIB(pq, PQsetdbLoginx,,
+       AC_CHECK_LIB(pq, PQsetdbLogin,,
                AC_MSG_ERROR([cannot compile PostgreSQL backend without libpq]))
 fi
 fi