diff options
author | Albert Astals Cid <aacid@kde.org> | 2007-08-14 22:47:30 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2007-08-14 22:47:30 +0000 |
commit | 1ba884b6b98ac8d755c9adc9f23a7a68d8b17b54 (patch) | |
tree | 0ea21106e427e38781496c6783e018c18110070f /configure.ac | |
parent | 3c31f923fcf1aeb361910eb1e9445cc28aa5b3ca (diff) |
* configure.ac:
* pòppler/Makefile.am: Patch by Vincent Torri <vtorri@univ-evry.fr> to
fix linking under MinGW
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1afee685..cd2f6934 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,19 @@ AC_DEFINE([OPI_SUPPORT], [1], [Generate OPI comments in PS output.]) AC_DEFINE([MULTITHREADED], [1], [Enable multithreading support.]) AC_DEFINE([TEXTOUT_WORD_LIST], [1], [Enable word list support.]) +dnl Check for OS specific flags +win32_libs="" +create_shared_lib="" +case "$host_os" in + mingw|mingw32) + win32_libs="-lgdi32" + create_shared_lib="-no-undefined" + ;; +esac + +AC_SUBST(win32_libs) +AC_SUBST(create_shared_lib) + dnl Install xpdf headers AC_ARG_ENABLE(xpdf-headers, AC_HELP_STRING([--enable-xpdf-headers], |