Commit 48f3eef4 authored by Bernd Paysan's avatar Bernd Paysan

Find correct libtool on Mac OS X

parent 4721df9a
......@@ -34,9 +34,6 @@ case "$host_alias" in
;;
esac
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(GNU_LIBTOOL,"glibtool --tag=CC" libtool)
AC_ARG_ENABLE([fast],
[ --enable-fast Turn on optional fast library with non-standard CPU features],
[case "${enableval}" in
......@@ -53,7 +50,9 @@ LT_INIT
PRECC=${CC%gcc*}
PRECLANG=${PRECC%clang*}
LIBTOOL=${PRECLANG}libtool
dnl MacOS X has a libtool that does something else
AC_CHECK_PROGS(LIBTOOL,"glibtool --tag=CC" libtool)
LIBTOOL=${PRECLANG}${LIBTOOL}
echo "Libtool: $PRECC, $PRECLANG, $LIBTOOL"
AC_SUBST(fastflags)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment