summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-22 20:38:55 +0100
committerAaron Griffin <aaron@archlinux.org>2006-12-22 20:38:55 +0100
commite3aace4a4d821d388a40545d6497069a973636d8 (patch)
treea5043edfd56135b43162587c34669515ed3ba613 /configure.ac
parentd8d82215561305cb7af0a33d7810cbb9cadb2cea (diff)
downloadpacman-e3aace4a4d821d388a40545d6497069a973636d8.tar.gz
pacman-e3aace4a4d821d388a40545d6497069a973636d8.tar.xz
Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel <juergen@hoetzel.info>
* configure swig check * misc libalpm cleanup
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index d4e3f428..af741d1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ CFLAGS=""
AC_PREREQ(2.59)
dnl Update it right before the release since $pkgver_foo are all _post_ release snapshots
-AC_INIT([Pacman package manager], 3.4.0, [pacman-dev@archlinux.org], pacman)
+AC_INIT([Pacman package manager], 3.0.0, [pacman-dev@archlinux.org], pacman)
AC_LANG(C)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_SYSTEM
@@ -214,10 +214,12 @@ else
DOXYSTATUS="no, disabled by configure"
fi
+dnl Check for swig binary
+AC_CHECK_PROGS([SWIG], [swig])
+
dnl Check for python support
AC_MSG_CHECKING(if Python bindings should be generated)
if test x$wantpython = xyes ; then
- AC_CHECK_PROGS([SWIG], [swig])
AM_CONDITIONAL(HAS_PYTHON, test $SWIG)
if test $SWIG ; then
AC_DEFINE([HAS_PYTHON], [TRUE], [Enabled Python Support])
@@ -238,7 +240,6 @@ fi
dnl Check for perl support
AC_MSG_CHECKING(if Perl bindings should be generated)
if test x$wantperl = xyes ; then
- AC_CHECK_PROGS([SWIG], [swig])
AM_CONDITIONAL(HAS_PERL, test $SWIG)
if test $SWIG ; then
AC_DEFINE([HAS_PERL], [TRUE], [Enabled Perl Support])
@@ -259,9 +260,8 @@ fi
dnl Check for java support
AC_MSG_CHECKING(if Java bindings should be generated)
if test x$wantjava = xyes ; then
- AC_CHECK_PROGS([SWIG], [swig])
AC_CHECK_PROGS([JAVAC], [javac])
- AM_CONDITIONAL(HAS_JAVA, test $JAVAC -a $SWIG)
+ AM_CONDITIONAL(HAS_JAVA, test "$JAVAC" -a "$SWIG")
if test $JAVAC ; then
if test $SWIG ; then
AC_DEFINE([HAS_JAVA], [TRUE], [Enabled Java Support (javac=ok swig=ok)])