6 LTV="libtoolize (GNU libtool) 1.3.5"
7 ACV="Autoconf version 2.13"
8 AMV="automake (GNU automake) 1.4"
16 [ "`libtoolize --version`" != "$LTV" ] && echo "$USAGE" && exit 1
17 [ "`autoconf --version`" != "$ACV" ] && echo "$USAGE" && exit 1
18 [ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" && exit 1
20 (cd popt; ./autogen.sh --noconfigure "$@")
21 libtoolize --copy --force
27 if [ "$1" = "--noconfigure" ]; then
31 if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
32 if [ -d /usr/share/man ]; then
34 infodir=/usr/share/info
39 CFLAGS="-O2 -pg" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} "$@"