From fc990ef48b29b1b5995d9fe5ef229bb223ad5095 Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 29 Nov 2002 21:35:53 +0000 Subject: - build with external elfutils (preferred), if available. CVS patchset: 5900 CVS date: 2002/11/29 21:35:53 --- autogen.sh | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index cec02e8b1..41a5a208e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,11 +20,21 @@ recent versions of libtool/autoconf/automake. [ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" && exit 1 [ "`automake --version | head -1 | sed -e 's/1\.4[a-z]/1.4/'`" != "$AMV" ] && echo "$USAGE" && exit 1 -(echo "--- popt"; cd popt; ./autogen.sh --noconfigure "$@") -(echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@") -(echo "--- beecrypt"; cd beecrypt; ./autogen.sh --noconfigure "$@") -(echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@") -(echo "--- file"; cd file; ./autogen.sh --noconfigure "$@") +if [ -d popt ]; then + (echo "--- popt"; cd popt; ./autogen.sh --noconfigure "$@") +fi +if [ -d zlib ]; then + (echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@") +fi +if [ -d beecrypt ]; then + (echo "--- beecrypt"; cd beecrypt; ./autogen.sh --noconfigure "$@") +fi +if [ -d elfutils ]; then + (echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@") +fi +if [ -d file ]; then + (echo "--- file"; cd file; ./autogen.sh --noconfigure "$@") +fi echo "--- rpm" libtoolize --copy --force -- cgit v1.2.3