make_install_system
;;
- *-ubuntu-quantal-*)
+ *-precise-*)
run_configure
assert_exec_file 'configure'
;;
h) # help
echo "bootstrap.sh [options] optional_target ..."
+ echo " -a # Just run autoreconf";
+ echo " -p # Print ENV";
+ echo " -c # Just run configure";
+ echo " -m # Just run maintainer-clean";
+ echo " -t # Make target";
+ echo " -d # Enable debug";
+ echo " -h # Show help";
+ echo " -v # Be more verbose in output";
exit
;;
v) # verbose
if [[ -z "$BOOTSTRAP_LIBTOOLIZE" ]]; then
echo "Couldn't find user supplied libtoolize, it is required"
+ return 1
fi
else
# If we are using OSX, we first check to see glibtoolize is available
if [[ -z "$BOOTSTRAP_LIBTOOLIZE" ]]; then
echo "Couldn't find glibtoolize, it is required on OSX"
+ return 1
fi
else
BOOTSTRAP_LIBTOOLIZE=`type -p libtoolize`
if [[ -z "$BOOTSTRAP_LIBTOOLIZE" ]]; then
echo "Couldn't find libtoolize, it is required"
+ return 1
fi
fi
fi
echo 'BOOTSTRAP ENV'
echo "AUTORECONF=$AUTORECONF"
echo "HOST_OS=$HOST_OS"
+ echo "VENDOR=$VENDOR"
+ echo "VENDOR_DISTRIBUTION=$VENDOR_DISTRIBUTION"
+ echo "VENDOR_RELEASE=$VENDOR_RELEASE"
echo "getopt()"
if $AUTORECONF_OPTION; then
# Set up whatever we need to do to use autoreconf later
require_libtoolise
- autoreconf_setup
+ if ! autoreconf_setup; then
+ return 1
+ fi
if [ -z "$MAKE_TARGET" ]; then
MAKE_TARGET="make_default"