2006-11-22 04:35:56 +00:00
|
|
|
#!/bin/sh
|
2016-10-31 12:01:20 +03:00
|
|
|
|
2016-10-31 22:37:16 +03:00
|
|
|
MAKE=make
|
|
|
|
if command -v gmake >/dev/null 2>/dev/null; then
|
|
|
|
MAKE=gmake
|
|
|
|
fi
|
|
|
|
$MAKE maintainer-clean >/dev/null 2>/dev/null
|
2016-10-31 12:01:20 +03:00
|
|
|
|
2010-09-03 15:12:35 -04:00
|
|
|
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
|
|
|
exec autoreconf -ivf
|
|
|
|
fi
|
|
|
|
|
2006-11-22 04:35:56 +00:00
|
|
|
LIBTOOLIZE=libtoolize
|
2007-09-20 18:26:56 +00:00
|
|
|
SYSNAME=`uname`
|
2021-11-24 14:41:33 +08:00
|
|
|
if [ "$SYSNAME" = "Darwin" ] ; then
|
2006-11-22 04:35:56 +00:00
|
|
|
LIBTOOLIZE=glibtoolize
|
|
|
|
fi
|
2008-03-02 21:18:33 +00:00
|
|
|
aclocal -I m4 && \
|
2006-11-22 04:35:56 +00:00
|
|
|
autoheader && \
|
|
|
|
$LIBTOOLIZE && \
|
|
|
|
autoconf && \
|
2010-06-17 10:33:06 -04:00
|
|
|
automake --add-missing --force-missing --copy
|