X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=ea9f69fd4b3fbc95efc10facfa2f69ea81b865cb;hb=572fab1a5ed253a07a182e273c666315d0e696cd;hp=499128b3c5e524aa46f2abb650cf5c43f4b642f4;hpb=cb586666724d5fcbdb658ce471b85484f0a7babe;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index 499128b3..ea9f69fd 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,10 @@ dnl Process this file with autoconf to produce a configure script. dnl Initialize. -AC_PREREQ(2.60) +AC_PREREQ(2.63) AC_INIT([pspp],[0.7.3],[bug-gnu-pspp@gnu.org]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_TESTDIR([tests]) AM_INIT_AUTOMAKE dnl Checks for programs. @@ -40,6 +41,7 @@ fi dnl Checks for libraries. AC_SYS_LARGEFILE AC_SEARCH_LIBS([sin], [m]) +AC_SEARCH_LIBS([dcgettext], [intl]) PSPP_LC_PAPER @@ -60,6 +62,8 @@ if test "$with_cairo" != no; then AC_DEFINE([HAVE_CAIRO], 1, [Define to 1 if Cairo and Pango are available.])], [PSPP_REQUIRED_PREREQ([cairo 1.5 or later and pango 1.20 or later (or use --without-cairo)])]) + AC_PATH_PROG([XMLLINT], [xmllint], [echo], [$PATH]) + AC_SUBST(XMLLINT) fi # Support for GUI. @@ -225,7 +229,7 @@ RELOCATABLE_STRIP=: PSPP_CHECK_PREREQS -AC_CONFIG_FILES([Makefile gl/Makefile]) +AC_CONFIG_FILES([Makefile gl/Makefile tests/atlocal]) AC_OUTPUT echo "PSPP configured successfully."