summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-11-29 21:35:53 +0000
committerjbj <devnull@localhost>2002-11-29 21:35:53 +0000
commitfc990ef48b29b1b5995d9fe5ef229bb223ad5095 (patch)
tree487fa0ecc9a34ff4a36e744a917b44682ac5c618 /autogen.sh
parenta972f919a69bafb970237b102048699cfa81b3f9 (diff)
downloadrpm-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.tar.gz
rpm-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.tar.bz2
rpm-fc990ef48b29b1b5995d9fe5ef229bb223ad5095.zip
- build with external elfutils (preferred), if available.
CVS patchset: 5900 CVS date: 2002/11/29 21:35:53
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh20
1 files changed, 15 insertions, 5 deletions
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