From: Brian Cameron Date: Wed, 25 Jun 2003 10:42:13 +0000 (+0000) Subject: Allow disable/enable/with options to be passed to configure from the autogen.sh scrip... X-Git-Tag: RELEASE-0_1_0~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e379694ae9ff9843d65cf08928642eea44abdf8;p=platform%2Fupstream%2Fgst-common.git Allow disable/enable/with options to be passed to configure from the autogen.sh script. So you don't have to re-run ... Original commit message from CVS: Allow disable/enable/with options to be passed to configure from the autogen.sh script. So you don't have to re-run configure to specify that you do not want a particular plugin to be built, etc. --- diff --git a/gst-autogen.sh b/gst-autogen.sh index 6cc0c1d..a6094c8 100644 --- a/gst-autogen.sh +++ b/gst-autogen.sh @@ -262,6 +262,11 @@ autogen_options () CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --with-autoconf=$AUTOCONF" shift ;; + --disable*|--enable*|--with*) + echo "+ passing option $1 to configure" + CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT $1" + shift + ;; --) shift ; break ;; *) echo "- ignoring unknown autogen.sh argument $1"; shift ;; esac