diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-10-31 20:40:51 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-10-31 20:40:51 +0000 |
commit | 6a1d3275de281bb180601170aea36a0da98167f8 (patch) | |
tree | f18bad92a8fd5d32698460338660f0888c3c78a8 /autogen.sh | |
parent | f80f878d4c04cdc0ca81f2380e4769f73b3f49c4 (diff) | |
download | enlightenment-6a1d3275de281bb180601170aea36a0da98167f8.tar.gz |
e: Use autoreconf
SVN revision: 78722
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/autogen.sh b/autogen.sh index b814903b86..9b3aff66cd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,39 +1,6 @@ #!/bin/sh -rm -rf autom4te.cache -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 +autoreconf --symlink --install if [ -z "$NOCONFIGURE" ]; then ./configure -C "$@" |