diff options
author | devzero2000 <devzero2000> | 2010-05-18 16:45:52 +0000 |
---|---|---|
committer | devzero2000 <devzero2000> | 2010-05-18 16:45:52 +0000 |
commit | bfd0c5e6d5416bd0ee29074283727ed3231f905b (patch) | |
tree | 3576453995c045e9a7dec96f32054287ab40fdf0 /autogen.sh | |
parent | 68bf8cc5ccd3bcfa9754228bf685e3256bc61ed8 (diff) | |
download | libpopt-bfd0c5e6d5416bd0ee29074283727ed3231f905b.tar.gz |
update to new autofu/automagic. Do make distcheck work
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 32 |
1 files changed, 4 insertions, 28 deletions
@@ -1,10 +1,4 @@ #!/bin/sh - -srcdir="`dirname $0`" -test -z "$srcdir" && srcdir=. - -THEDIR="`pwd`" - libtoolize=`which glibtoolize 2>/dev/null` case $libtoolize in /*) ;; @@ -14,25 +8,7 @@ case $libtoolize in *) libtoolize=libtoolize esac esac - -cd "$srcdir" -$libtoolize --copy --force -gettextize --copy --force --no-changelog -perl -p -i~ -e 's/(po\/Makefile\.in)\s+po\/Makefile\.in/$1/' configure.ac -perl -p -i~ -e 's/(SUBDIRS\s+=\s+po)\s+po/$1/' Makefile.am -aclocal -I m4 -autoheader -automake -Wall -Wno-override -a -c -autoconf - -if [ "$1" = "--noconfigure" ]; then - exit 0; -fi - -cd "$THEDIR" - -if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then - $srcdir/configure --prefix=/usr --libdir=/lib "$@" -else - $srcdir/configure "$@" -fi +find . -name "autom4te.cache" | xargs rm -rf +[ ! -d m4 ] && mkdir m4 +[ ! -d build-aux ] && mkdir build-aux +autopoint -f && autoreconf -vfi |