]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
improved error trace in case ./configure cannot find pgsql dependencies 111-configure-options-with-pgsql-not-working-properly
authorMichal Nowikowski <godfryd@isc.org>
Tue, 29 Jan 2019 09:54:20 +0000 (10:54 +0100)
committerMichal Nowikowski <godfryd@isc.org>
Tue, 29 Jan 2019 09:54:49 +0000 (10:54 +0100)
configure.ac

index 72c0cbb593525f2e79b63c3786ed6d81a4305689..73e1577ba7cb5b9f54451385cb3776d3d4797c99 100644 (file)
@@ -764,7 +764,7 @@ fi
 
 if test "$PG_CONFIG" != "" ; then
     if test -d "$PG_CONFIG" -o ! -x "$PG_CONFIG" ; then
-        AC_MSG_ERROR([--with-pgsql should point to a pg_config program])
+        AC_MSG_ERROR([PostgreSQL dependencies cannot be found. Please install PostgreSQL libraries or point --with-pgsql to pg_config program if it is located in non-default directory, eg. --with-pgsql=/opt/pgsql/bin/pg_config.])
     fi
 
     PGSQL_CPPFLAGS=`$PG_CONFIG --cppflags`