summaryrefslogtreecommitdiff
path: root/Build/source/libs/poppler/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/poppler/configure.ac')
-rw-r--r--Build/source/libs/poppler/configure.ac11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/libs/poppler/configure.ac b/Build/source/libs/poppler/configure.ac
index 774d54afe4c..63bacfbfb23 100644
--- a/Build/source/libs/poppler/configure.ac
+++ b/Build/source/libs/poppler/configure.ac
@@ -50,12 +50,12 @@ AC_PROG_LN_S
dnl **** Checks for header files ****
-AC_CHECK_HEADERS([strings.h sys/select.h time.h])
+AC_CHECK_HEADERS([strings.h sys/select.h time.h sys/time.h])
AC_HEADER_DIRENT
dnl **** Checks for library functions ****
-AC_CHECK_FUNCS([popen mkstemp mkstemps])
+AC_CHECK_FUNCS([popen mkstemp mkstemps gettimeofday])
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
@@ -78,11 +78,10 @@ AH_TOP([/*
#undef USE_EXCEPTIONS])
AH_BOTTOM([#endif])
-POPPLER_TREE=poppler-[]poppler_version
-AC_SUBST([POPPLER_TREE])
+AC_CONFIG_HEADERS([config.h:poppler-]poppler_version[/config.h.in])
-AC_CONFIG_FILES([Makefile poppler/Makefile goo/Makefile fofi/Makefile])
+AC_SUBST([POPPLER_TREE], [poppler-]poppler_version)
-AC_CONFIG_HEADERS([poppler-]poppler_version[/config.h])
+AC_CONFIG_FILES([Makefile poppler/Makefile goo/Makefile fofi/Makefile])
AC_OUTPUT