Unix-like system's developer should use 'autoreconf -vis' instead of './autogen.sh'.
This commit is contained in:
parent
f05e432df8
commit
67fd8ecd0e
1 changed files with 0 additions and 35 deletions
35
autogen.sh
35
autogen.sh
|
@ -1,35 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rm -rf autom4te.cache
|
|
||||||
rm -f aclocal.m4 ltmain.sh
|
|
||||||
|
|
||||||
touch README
|
|
||||||
|
|
||||||
LIBTOOLIZE=libtoolize
|
|
||||||
ACLOCAL_ARGS="-I m4"
|
|
||||||
case `uname -s` in
|
|
||||||
Darwin)
|
|
||||||
LIBTOOLIZE=glibtoolize
|
|
||||||
ACLOCAL_ARGS="$ACLOCAL_ARGS -I /opt/local/share/aclocal/"
|
|
||||||
# SKIP_PCSC="1"
|
|
||||||
;;
|
|
||||||
FreeBSD)
|
|
||||||
ACLOCAL_ARGS="$ACLOCAL_ARGS -I /usr/local/share/aclocal/"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
ACLOCAL_TITLE=`aclocal --version | head -n 1`
|
|
||||||
AUTOHEADER_TITLE=`autoheader --version | head -n 1`
|
|
||||||
AUTOCONF_TITLE=`autoconf --version | head -n 1`
|
|
||||||
LIBTOOLIZE_TITLE=`$LIBTOOLIZE --version | head -n 1`
|
|
||||||
AUTOMAKE_TITLE=`automake --version | head -n 1`
|
|
||||||
|
|
||||||
echo "Running $ACLOCAL_TITLE..." ; aclocal $ACLOCAL_ARGS || exit 1
|
|
||||||
echo "Running $AUTOHEADER_TITLE..." ; autoheader || exit 1
|
|
||||||
echo "Running $AUTOCONF_TITLE..." ; autoconf || exit 1
|
|
||||||
echo "Running $LIBTOOLIZE_TITLE..." ; $LIBTOOLIZE --copy --automake || exit 1
|
|
||||||
echo "Running $AUTOMAKE_TITLE..." ; automake --add-missing --copy --gnu || exit 1
|
|
||||||
|
|
||||||
if [ -z "$NOCONFIGURE" ]; then
|
|
||||||
./configure "$@"
|
|
||||||
fi
|
|
Loading…
Add table
Reference in a new issue