summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0d5270)
raw | patch | inline | side by side (parent: b0d5270)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 18 Feb 2003 22:56:29 +0000 (22:56 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Tue, 18 Feb 2003 22:56:29 +0000 (22:56 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@343 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 896912bc50ec433a60bd48d41a77c47371f8da4d..5d9e45cdaa157284ef1746f164d8cecd5720df4a 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_REVISION ($Revision$)
AC_INIT(Helper.pm)
VER=1.3.0
-REL=beta2
+REL=beta3
AC_SUBST(VER)
AC_SUBST(REL)
PACKAGE_VERSION="${VER}-${REL}"
AC_CHECK_HEADERS(pgsql/libpq-fe.h)
AC_CHECK_HEADERS(postgresql/libpq-fe.h)
AC_CHECK_HEADERS(libpq-fe.h)
- if test "$ac_cv_header_pgsql_libpq_fe_h" = "yes"; then
+ if [[ -n "$PGSQL" -a "$ac_cv_header_libpq_fe_h" = "yes" ]]; then
+ PGLIBS="-L$PGSQL/lib -lpq -lcrypt"
+ PGINCLUDE="-I$PGSQL/include"
+ elif test "$ac_cv_header_pgsql_libpq_fe_h" = "yes"; then
PGLIBS="-lpq -lcrypt"
PGINCLUDE="-I/usr/include/pgsql"
elif test "$ac_cv_header_postgresql_libpq_fe_h" = "yes"; then