Permalink
Browse files

adding external version of setup script

git-svn-id: svn+ssh://tubbs/svnroot/projects/phpembed/trunk@57440 2c7ba8d8-a2f7-0310-a573-de162e16dcc7
  • Loading branch information...
1 parent f3f5b51 commit 9adb9328ca36d50ec8a6cbbb57e8de7d01b50b9b mvaradachari committed Aug 29, 2007
Showing with 22 additions and 1 deletion.
  1. +1 −1 Makefile.am
  2. +21 −0 setup
View
@@ -3,7 +3,7 @@
SUBDIRS = src examples
-EXTRA_DIST = phpembedVersion.h
+EXTRA_DIST = phpembedVersion.h setup
# Update config if configure.ac or aclocal.m4 changes
#$(srcdir)/configure: configure.ac aclocal.m4
View
21 setup
@@ -0,0 +1,21 @@
+#!/bin/sh
+# $Id$
+
+# Script to set up environment.
+
+echo "aclocal..."
+ACLOCAL=`which aclocal-1.9 || which aclocal19 || which aclocal-1.7 || which aclocal17 || which aclocal-1.5 || which aclocal15 || which aclocal || exit 1`
+$ACLOCAL || exit 1
+
+echo "autoheader..."
+AUTOHEADER=${AUTOHEADER:-autoheader}
+$AUTOHEADER || exit 1
+
+echo "automake..."
+AUTOMAKE=`which automake-1.9 || which automake-1.7 || which automake`
+#$AUTOMAKE --foreign --add-missing || $AUTOMAKE --gnu --add-missing || exit 1
+$AUTOMAKE -a
+
+echo "autoconf..."
+AUTOCONF=${AUTOCONF:-autoconf}
+$AUTOCONF || exit 1

0 comments on commit 9adb932

Please sign in to comment.