fix detection of mapnik-config

This commit is contained in:
Dane Springmeyer
2014-08-13 12:01:31 -07:00
parent 253d98a272
commit e6e1cfffc4
2 changed files with 13 additions and 15 deletions

View File

@ -10,7 +10,7 @@ before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
install: install:
- sudo apt-get -qq install build-essential apache2-threaded-dev - sudo apt-get -qq install build-essential apache2-threaded-dev autotools-dev automake libtool
- sudo apt-get install -y gcc-4.8 g++-4.8 - sudo apt-get install -y gcc-4.8 g++-4.8
before_script: before_script:

View File

@ -70,7 +70,6 @@ AC_DEFUN([AX_LIB_MAPNIK],
AC_PATH_PROG([MAPNIK_CONFIG], [mapnik-config], []) AC_PATH_PROG([MAPNIK_CONFIG], [mapnik-config], [])
fi fi
if test ! -x "$MAPNIK_CONFIG"; then
if test "$MAPNIK_CONFIG" != "no"; then if test "$MAPNIK_CONFIG" != "no"; then
AC_MSG_CHECKING([for mapnik libraries]) AC_MSG_CHECKING([for mapnik libraries])
@ -88,7 +87,6 @@ AC_DEFUN([AX_LIB_MAPNIK],
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
fi fi
fi
AC_SUBST([MAPNIK_VERSION]) AC_SUBST([MAPNIK_VERSION])
AC_SUBST([MAPNIK_CFLAGS]) AC_SUBST([MAPNIK_CFLAGS])