diff options
| author | 2009-12-10 18:40:08 +0100 | |
|---|---|---|
| committer | 2009-12-10 18:40:08 +0100 | |
| commit | 7b153ef8ca43c4b437cb9e4e6f2777bdb7047677 (patch) | |
| tree | 04472b547ed5363dc1d6d4b9c4766823683ebc9d /m4/ac_pkg_swig.m4 | |
| parent | 444b4d94afa6ff15129922f0dc2b82ae69deeac8 (diff) | |
| parent | 318cc4f7b336109819c7b4c6a1a9f2e8d37d9bed (diff) | |
| download | libimobiledevice-7b153ef8ca43c4b437cb9e4e6f2777bdb7047677.tar.gz libimobiledevice-7b153ef8ca43c4b437cb9e4e6f2777bdb7047677.tar.bz2 | |
Merge branch 'master' of git://github.com/MattColyer/libiphone into martin
Diffstat (limited to 'm4/ac_pkg_swig.m4')
| -rw-r--r-- | m4/ac_pkg_swig.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ac_pkg_swig.m4 b/m4/ac_pkg_swig.m4 index 738f69d..97244bc 100644 --- a/m4/ac_pkg_swig.m4 +++ b/m4/ac_pkg_swig.m4 | |||
| @@ -64,8 +64,8 @@ | |||
| 64 | AC_DEFUN([AC_PROG_SWIG],[ | 64 | AC_DEFUN([AC_PROG_SWIG],[ |
| 65 | AC_PATH_PROG([SWIG],[swig]) | 65 | AC_PATH_PROG([SWIG],[swig]) |
| 66 | if test -z "$SWIG" ; then | 66 | if test -z "$SWIG" ; then |
| 67 | AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org]) | 67 | AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org] or install your distribution specific swig package.) |
| 68 | SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false' | 68 | SWIG=false |
| 69 | elif test -n "$1" ; then | 69 | elif test -n "$1" ; then |
| 70 | AC_MSG_CHECKING([for SWIG version]) | 70 | AC_MSG_CHECKING([for SWIG version]) |
| 71 | [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`] | 71 | [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`] |
| @@ -107,7 +107,7 @@ AC_DEFUN([AC_PROG_SWIG],[ | |||
| 107 | -o $available_minor -ne $required_minor \ | 107 | -o $available_minor -ne $required_minor \ |
| 108 | -o $available_patch -lt $required_patch ; then | 108 | -o $available_patch -lt $required_patch ; then |
| 109 | AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org]) | 109 | AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org]) |
| 110 | SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false' | 110 | SWIG=false |
| 111 | else | 111 | else |
| 112 | AC_MSG_NOTICE([SWIG executable is '$SWIG']) | 112 | AC_MSG_NOTICE([SWIG executable is '$SWIG']) |
| 113 | SWIG_LIB=`$SWIG -swiglib` | 113 | SWIG_LIB=`$SWIG -swiglib` |
| @@ -115,7 +115,7 @@ AC_DEFUN([AC_PROG_SWIG],[ | |||
| 115 | fi | 115 | fi |
| 116 | else | 116 | else |
| 117 | AC_MSG_WARN([cannot determine SWIG version]) | 117 | AC_MSG_WARN([cannot determine SWIG version]) |
| 118 | SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false' | 118 | SWIG=false |
| 119 | fi | 119 | fi |
| 120 | fi | 120 | fi |
| 121 | AC_SUBST([SWIG_LIB]) | 121 | AC_SUBST([SWIG_LIB]) |
