[poppler] 3 commits - configure.ac

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Mar 10 16:42:16 PDT 2009


 configure.ac |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

New commits:
commit 0ca9ae2848808d15e7a2b00f5eb33bb8f990c887
Author: Vincent Torri <vtorri at univ-evry.fr>
Date:   Wed Mar 11 00:39:59 2009 +0100

    remove the fortran check during the initialisation of libtool

diff --git a/configure.ac b/configure.ac
index 63a3a41..b1136a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,7 @@ AM_CONFIG_HEADER(poppler/poppler-config.h)
 
 dnl ##### Initialize libtool.
 AC_LIBTOOL_WIN32_DLL
+define([AC_LIBTOOL_LANG_F77_CONFIG], [:])
 AC_PROG_LIBTOOL
 
 dnl ##### Checks for programs.
commit 710e329a3a6a9ee2eed997c9eeaea21c44237423
Author: Vincent Torri <vtorri at univ-evry.fr>
Date:   Wed Mar 11 00:37:11 2009 +0100

    Add AC_CONFIG_MACRO_DIR([m4])
    
    It is used by autoreconf to trace changes in m4 macros that are in the m4/ subdirectory.

diff --git a/configure.ac b/configure.ac
index 69eca91..63a3a41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,6 @@
 AC_PREREQ(2.59)
 AC_INIT(poppler, 0.10.0)
+AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([foreign])
 AM_CONFIG_HEADER(config.h)
 AM_CONFIG_HEADER(poppler/poppler-config.h)
commit d15e47158ae31909212d3875159046afb208de97
Author: Vincent Torri <vtorri at univ-evry.fr>
Date:   Wed Mar 11 00:36:27 2009 +0100

    Better check for pkg-config

diff --git a/configure.ac b/configure.ac
index d32f048..69eca91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,10 +22,7 @@ AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Defines if gettimeo
 AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Defines if localtime_r is available on your system]))
 
 dnl ##### Check for pkgconfig
-AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
-if test "x$HAVE_PKGCONFIG" = "xno"; then
-  AC_MSG_ERROR("*** pkg-config not found ***")
-fi
+PKG_PROG_PKG_CONFIG
 
 dnl Enable these unconditionally.
 AC_DEFINE([OPI_SUPPORT], [1], [Generate OPI comments in PS output.])


More information about the poppler mailing list