diff options
author | Albert Astals Cid <tsdgeos@bluebox.localdomain> | 2007-10-25 21:00:48 +0200 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@bluebox.localdomain> | 2007-10-25 21:00:48 +0200 |
commit | 5c321d37c8a129d134c43a99c6ea182a9fe8b502 (patch) | |
tree | 5f7be1ca61c1a4303d8a7da3ca4e9a0e54b0bba2 /configure.ac | |
parent | 02713c88d938b08f7b5efb3fc0f80c20a7498b13 (diff) |
Fix compilation on mingw. Bug 12493
Added a check for localtime_r in configure.ac
Moved test-poppler-glib.c to test-poppler-glib.cc to get the correct compiler
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ee5f6c10..3976da67 100644 --- a/configure.ac +++ b/configure.ac @@ -16,6 +16,7 @@ AC_PROG_CC_STDC AC_PROG_CXX AC_PROG_INSTALL AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defines if gettimeofday is available on your system])) +AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Defines if localtime_r is available on your system])) dnl Enable these unconditionally. AC_DEFINE([OPI_SUPPORT], [1], [Generate OPI comments in PS output.]) |