e: Use autoreconf

SVN revision: 78722
This commit is contained in:
Lucas De Marchi 2012-10-31 20:40:51 +00:00
parent f80f878d4c
commit 6a1d3275de
2 changed files with 3 additions and 36 deletions

View File

@ -1,5 +1,7 @@
SUBDIRS = src data doc config SUBDIRS = src data doc config
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
if HAVE_PO if HAVE_PO
SUBDIRS += po SUBDIRS += po
@ -70,8 +72,6 @@ EXTRA_DIST = config.rpath README AUTHORS COPYING \
filesdir = $(datadir)/enlightenment/ filesdir = $(datadir)/enlightenment/
files_DATA = AUTHORS COPYING files_DATA = AUTHORS COPYING
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = enlightenment.pc pkgconfig_DATA = enlightenment.pc

View File

@ -1,39 +1,6 @@
#!/bin/sh #!/bin/sh
rm -rf autom4te.cache autoreconf --symlink --install
rm -f aclocal.m4 ltmain.sh
touch README
touch ABOUT-NLS
echo "Running autopoint..." ; autopoint -f || :
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
W=0
rm -f config.cache-env.tmp
echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp
echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp
echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp
echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp
echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp
cmp config.cache-env.tmp config.cache-env >> /dev/null
if [ $? -ne 0 ]; then
W=1;
fi
if [ $W -ne 0 ]; then
echo "Cleaning configure cache...";
rm -f config.cache config.cache-env
mv config.cache-env.tmp config.cache-env
else
rm -f config.cache-env.tmp
fi
if [ -z "$NOCONFIGURE" ]; then if [ -z "$NOCONFIGURE" ]; then
./configure -C "$@" ./configure -C "$@"