mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
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
This commit is contained in:
parent
55f1acba73
commit
f364368350
@ -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=:]],
|
||||
|
Loading…
Reference in New Issue
Block a user