From: Derrick Brashear Date: Thu, 6 Sep 2012 18:26:32 +0000 (-0400) Subject: regen: look for glibtoolize also X-Git-Tag: openafs-stable-1_8_0pre1~2036 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=ef7cc7e3f50c7d443a84fbab6bf21a85e9796c5c regen: look for glibtoolize also macos uses the g prefix to avoid conflicting with a system tool called libtool. Change-Id: I867f5c4aa7e7c21bf47087b05a58299e11a5b70a Reviewed-on: http://gerrit.openafs.org/8049 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/regen.sh b/regen.sh index 295ca8c..28fecd7 100755 --- a/regen.sh +++ b/regen.sh @@ -17,7 +17,14 @@ done echo "Updating configuration..." echo "Running libtoolize" -libtoolize -c -f +if which libtoolize > /dev/null 2>&1; then + libtoolize -c -f +elif which glibtoolize > /dev/null 2>&1; then + glibtoolize -c -f +else + echo "No libtoolize found on your system (looked for libtoolize & glibtoolize)" + exit 1 +fi echo "Running aclocal" if which aclocal > /dev/null 2>&1; then