From 4e379694ae9ff9843d65cf08928642eea44abdf8 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 25 Jun 2003 10:42:13 +0000 Subject: [PATCH] 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. --- gst-autogen.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.7.4