Commit 1c5138ef authored by Andy Wingo Wingo's avatar Andy Wingo Wingo

gst-autogen.sh: Instead of only passing certain arguments to configure, pass...

gst-autogen.sh: Instead of only passing certain arguments to configure, pass anything that we didn't handle. Much fri...

Original commit message from CVS:
2008-02-25  Andy Wingo  <wingo@pobox.com>

* gst-autogen.sh: Instead of only passing certain arguments to
configure, pass anything that we didn't handle. Much friendlier.
Fixes #34412.
parent a574e621
2008-02-25 Andy Wingo <wingo@pobox.com>
* gst-autogen.sh: Instead of only passing certain arguments to
configure, pass anything that we didn't handle. Much friendlier.
Fixes #34412.
2008-02-23 Jan Schmidt <Jan.Schmidt@sun.com>
* m4/gst-error.m4:
......
......@@ -227,31 +227,18 @@ autogen_options ()
echo "+ debug output enabled"
shift
;;
--prefix=*)
CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT --prefix=$optarg"
echo "+ passing --prefix=$optarg to configure"
shift
;;
--prefix)
shift
echo "DEBUG: $1"
CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT --prefix=$1"
echo "+ passing --prefix=$1 to configure"
shift
;;
-h|--help)
echo "autogen.sh (autogen options) -- (configure options)"
echo "autogen.sh help options: "
echo " --noconfigure don't run the configure script"
echo " --nocheck don't do version checks"
echo " --debug debug the autogen process"
echo " --prefix will be passed on to configure"
echo
echo " --with-autoconf PATH use autoconf in PATH"
echo " --with-automake PATH use automake in PATH"
echo
echo "to pass options to configure, put them as arguments after -- "
echo "Any argument either not in the above list or after a '--' will be "
echo "passed to ./configure."
exit 1
;;
--with-automake=*)
......@@ -266,13 +253,12 @@ autogen_options ()
CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-autoconf=$AUTOCONF"
shift
;;
--disable*|--enable*|--with*)
echo "+ passing option $1 to configure"
--) shift ; break ;;
*)
echo "+ passing argument $1 to configure"
CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT $1"
shift
;;
--) shift ; break ;;
*) echo "- ignoring unknown autogen.sh argument $1"; shift ;;
esac
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment