6 LTV="libtoolize (GNU libtool) 1.5"
7 ACV="autoconf (GNU Autoconf) 2.57"
8 AMV="automake (GNU automake) 1.7.9"
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 | head -1`" != "$LTV" ] && echo "$USAGE" && exit 1
20 [ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" && exit 1
21 [ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" && exit 1
24 (echo "--- popt"; cd popt; ./autogen.sh --noconfigure "$@")
27 (echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@")
29 if [ -d beecrypt ]; then
30 (echo "--- beecrypt"; cd beecrypt; ./autogen.sh --noconfigure "$@")
32 if [ -d elfutils ]; then
33 (echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@")
36 (echo "--- file"; cd file; ./autogen.sh --noconfigure "$@")
40 libtoolize --copy --force
46 if [ "$1" = "--noconfigure" ]; then
50 if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
51 if [ -d /usr/share/man ]; then
53 infodir=/usr/share/info
58 if [ -d /usr/lib/nptl ]; then
59 enable_posixmutexes="--enable-posixmutexes"
63 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} ${enable_posixmutexes} "$@"