diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2015-05-03 18:27:27 +0200 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2015-05-03 18:27:27 +0200 |
| commit | 8bf1b1976b435b851d09c4fd5a0c7231008c4094 (patch) | |
| tree | d57b08b7e9e40d4099bb7524a0ae43c069a1dff4 /server/configure.ac | |
| parent | 63977497bb78a913a8de7867493b0165d5cbd2d5 (diff) | |
Corrected configure check
* server/configure.ac: Use proper CFLAGS when checking for error.h .
Diffstat (limited to 'server/configure.ac')
| -rw-r--r-- | server/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/configure.ac b/server/configure.ac index 730964b..721f162 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -57,12 +57,15 @@ fi AC_CHECK_HEADERS([stdlib.h string.h strings.h]) AC_MSG_CHECKING([for error.h]) +SAVED_CFLAGS=$CFLAGS +CFLAGS="$poppler_CFLAGS $poppler_glib_CFLAGS" AC_LANG_PUSH([C]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <error.h>],[error (0, 0, "");])], [AC_DEFINE([HAVE_ERROR_H],1, [Define to 1 if error.h is useable.]) AC_MSG_RESULT([yes])], AC_MSG_RESULT([no])) AC_LANG_POP([C]) +CFLAGS=$SAVED_CFLAGS # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T |
