Fix autogen.sh usage on MacOS X.

This commit is contained in:
Romuald Conty 2010-04-20 20:20:27 +00:00
parent 942dcfa631
commit f05e432df8

View file

@ -6,14 +6,15 @@ rm -f aclocal.m4 ltmain.sh
touch README touch README
LIBTOOLIZE=libtoolize LIBTOOLIZE=libtoolize
ACLOCAL_ARGS="-I m4"
case `uname -s` in case `uname -s` in
Darwin) Darwin)
LIBTOOLIZE=glibtoolize LIBTOOLIZE=glibtoolize
ACLOCAL_ARGS="-I /opt/local/share/aclocal/" ACLOCAL_ARGS="$ACLOCAL_ARGS -I /opt/local/share/aclocal/"
# SKIP_PCSC="1" # SKIP_PCSC="1"
;; ;;
FreeBSD) FreeBSD)
ACLOCAL_ARGS="-I /usr/local/share/aclocal/" ACLOCAL_ARGS="$ACLOCAL_ARGS -I /usr/local/share/aclocal/"
;; ;;
esac esac