diff options
author | Andreas Bießmann <andreas@biessmann.de> | 2014-03-18 17:01:10 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas@biessmann.de> | 2014-03-18 17:01:10 +0100 |
commit | f364368350841e9b119be39c569d829773bb711d (patch) | |
tree | 4b32e98808a950cb227529bf1ec3c89f1726ff28 /configure.ac | |
parent | 55f1acba73c6262a770fc8f06b133ca4ee9e8ebf (diff) | |
download | crosstool-ng-f364368350841e9b119be39c569d829773bb711d.tar.gz crosstool-ng-f364368350841e9b119be39c569d829773bb711d.tar.bz2 crosstool-ng-f364368350841e9b119be39c569d829773bb711d.zip |
configure.ac: respect 'g' variants of libtool/libtoolize
BSD OS'es (OS X for me) provide GNU tools with prefixed 'g'. To find correct
versions of libtool/libtoolize on those systems search also for
glibtool/glibtoolize.
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: search for the g-variant first]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <2f1530b54afcb6a00e1d.1395158786@andreas-mbp.er.biessmann.org>
Patchwork-Id: 331467
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index ce26b1c8..705980fe 100644 --- a/configure.ac +++ b/configure.ac @@ -242,7 +242,7 @@ AC_CACHE_VAL([ac_cv_path_LIBTOOL], [Specify the full PATH to GNU libtool >= 1.5.26]), [ac_cv_path_LIBTOOL=$withval])]) AC_CACHE_CHECK([for GNU libtool >= 1.5.26], [ac_cv_path_LIBTOOL], - [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOL], [libtool], + [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOL], [glibtool libtool], [[LIBTOOL_ver=$($ac_path_LIBTOOL --version 2>&1 \ |$EGREP '\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)') test -n "$LIBTOOL_ver" && ac_cv_path_LIBTOOL=$ac_path_LIBTOOL ac_path_LIBTOOL_found=:]], @@ -258,7 +258,7 @@ AC_CACHE_VAL([ac_cv_path_LIBTOOLIZE], [Specify the full PATH to GNU libtoolize >= 1.5.26]), [ac_cv_path_LIBTOOLIZE=$withval])]) AC_CACHE_CHECK([for GNU libtoolize >= 1.5.26], [ac_cv_path_LIBTOOLIZE], - [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [libtoolize], + [AC_PATH_PROGS_FEATURE_CHECK([LIBTOOLIZE], [glibtoolize libtoolize], [[LIBTOOLIZE_ver=$($ac_path_LIBTOOLIZE --version 2>&1 \ |$EGREP '\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)') test -n "$LIBTOOLIZE_ver" && ac_cv_path_LIBTOOLIZE=$ac_path_LIBTOOLIZE ac_path_LIBTOOLIZE_found=:]], |