diff options
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 48 |
1 files changed, 8 insertions, 40 deletions
@@ -1,46 +1,14 @@ #!/bin/sh -# -# autogen.sh glue for hplip -# -# HPLIP used to have five or so different autotools trees. Upstream -# has reduced it to two. Still, this script is capable of cleaning -# just about any possible mess of autoconf files. -# -# BE CAREFUL with trees that are not completely automake-generated, -# this script deletes all Makefile.in files it can find. -# -# Requires: automake 1.9, autoconf 2.57+ -# Conflicts: autoconf 2.13 -set -e - -# Refresh GNU autotools toolchain. -echo Cleaning autotools files... -find . -type d -name autom4te.cache -print0 | xargs -0 rm -rf \; -find . -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \ - -o -name depcomp -o -name ltmain.sh -o -name configure \ - -o -name config.sub -o -name config.guess \ - -o -name Makefile.in \) -print0 | xargs -0 rm -f - -echo Running autoreconf... -autoreconf --force --install - -echo Running glib-gettextize -glib-gettextize --force --copy - -echo "Running intltoolize" -intltoolize --copy --force --automake - -conf_flags="--enable-maintainer-mode" +# Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile. || exit 1 -else - echo Skipping configure process. -fi +PKG_NAME="libgpod" -exit 0 +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level $PKG_NAME directory" + exit 1 +} +REQUIRED_AUTOMAKE_VERSION=1.7 . $srcdir/gnome-autogen.sh |
