]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac3663] Checking for errocodes.h in PostgreSQL headers
authorWlodek Wencel <wlodek@isc.org>
Mon, 29 Dec 2014 15:09:12 +0000 (16:09 +0100)
committerWlodek Wencel <wlodek@isc.org>
Mon, 29 Dec 2014 15:09:12 +0000 (16:09 +0100)
configure.ac

index 5248ed4a5c551619d2551a0e7f62c4c624957127..7be704c26954b3168e5750afb152e7e5bb9e7dde 100644 (file)
@@ -949,6 +949,9 @@ if test "$PG_CONFIG" != "" ; then
              AC_MSG_ERROR([Needs PostgreSQL library])]
     )
 
+    AC_CHECK_HEADERS([utils/errcodes.h],,
+    AC_MSG_ERROR([Missing required header files from PostgreSQL development package]))
+
     CPPFLAGS=$CPPFLAGS_SAVED
     LIBS=$LIBS_SAVED