6 LTV="libtoolize (GNU libtool) 1.4"
7 ACV="Autoconf version 2.13"
8 AMV="automake (GNU automake) 1.4-p5"
10 This script documents the versions of the tools I'm using to build rpm:
14 Simply edit this script to change the libtool/autoconf/automake versions
15 checked if you need to, as rpm should build (and has built) with all
16 recent versions of libtool/autoconf/automake.
19 [ "`libtoolize --version`" != "$LTV" ] && echo "$USAGE" && exit 1
20 [ "`autoconf --version`" != "$ACV" ] && echo "$USAGE" && exit 1
21 [ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" && exit 1
23 (cd popt; ./autogen.sh --noconfigure "$@")
24 (cd zlib; ./autogen.sh --noconfigure "$@")
25 libtoolize --copy --force
31 if [ "$1" = "--noconfigure" ]; then
35 if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
36 if [ -d /usr/share/man ]; then
38 infodir=/usr/share/info
43 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} "$@"