diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-05-12 08:03:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-05-12 08:03:50 +0000 |
commit | 64236f908d1d76f07512288e37760b1c5435f757 (patch) | |
tree | d9c8aa83f07c54313b4912fe9920ab4c88b77c44 /autogen.sh | |
parent | baf04bead6ef0ef2aa4c7d9d968bd5939716b24e (diff) | |
download | fetchmail-64236f908d1d76f07512288e37760b1c5435f757.tar.gz fetchmail-64236f908d1d76f07512288e37760b1c5435f757.tar.bz2 fetchmail-64236f908d1d76f07512288e37760b1c5435f757.zip |
Initial revision
svn path=/trunk/; revision=3309
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 00000000..0e9d52a5 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,42 @@ +#!/bin/sh +# +# autogen.sh glue for fetchmail +# $Id: autogen.sh,v 1.1 2001/05/12 08:03:50 esr Exp $ +# +set -e + +# +# Refresh GNU gettext, but do not allow symlinks +# +rm -f po/Makefile.in.in po/ChangeLog po/ChangeLog~ || true +gettextize -c -f || true + +# The idea is that we make sure we're always using an up-to-date +# version of all the auto* script chain for the build. The GNU autotools +# are rather badly designed in that area. + +aclocal +autoheader +#automake --verbose --foreign --add-missing + +#we don't use symlinks because of debian's build system, +#but they would be a better choice. +for i in config.guess config.sub missing install-sh mkinstalldirs ; do + test -r /usr/share/automake/${i} && cp -f /usr/share/automake/${i} . + chmod 755 ${i} +done + +autoconf + +# +# For the Debian build, refresh list of +x scripts, to avoid +# possible breakage if upstream tarball does not include the file +# or if it is mispackaged for whatever reason +# + +test -d debian && { + rm -f debian/executable.files + find -type f -perm +111 ! -name '.*' -fprint debian/executable.files +} + +exit 0 |