aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-10-05 07:59:15 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-10-05 07:59:15 +0000
commite8fee3a50011a4644de4bbb64b6ba72905b4e4b3 (patch)
tree28931385940331ea5ab0cdca57425a1fd0fa799f
parent6af1bae3aa930ec70d495ddd644c00bce14eb3fb (diff)
fix PATH before calculating fqpn of autoreconf
svn path=/trunk/externals/zexy/; revision=15508
-rwxr-xr-xautogen.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/autogen.sh b/autogen.sh
index 19d1361..8ecea6b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,16 +3,6 @@
package=zexy
-AUTORECONF=$(which autoreconf)
-
-AUTOHEADER=$(which autoheader)
-AUTOMAKE=$(which automake)
-ACLOCAL=$(which aclocal)
-LIBTOOL=$(which libtool)
-LIBTOOLIZE=$(which libtoolize)
-AUTOCONF=$(which autoconf)
-
-
KERN=$(uname -s)
case "${KERN}" in
Darwin)
@@ -29,6 +19,16 @@ esac
echo PATH: $PATH
+AUTORECONF=$(which autoreconf)
+
+AUTOHEADER=$(which autoheader)
+AUTOMAKE=$(which automake)
+ACLOCAL=$(which aclocal)
+LIBTOOL=$(which libtool)
+LIBTOOLIZE=$(which libtoolize)
+AUTOCONF=$(which autoconf)
+
+
#check whether the system supports pushd/popd
if pushd . > /dev/null 2>&1
then
@@ -148,7 +148,7 @@ done
if test x$AUTORECONF != x; then
- echo running autoreconf
+ echo running autoreconf ${AUTORECONF}
$AUTORECONF --force --verbose --install
else
echo not running autoreconf...