Allow disable/enable/with options to be passed to configure from the autogen.sh scrip...
authorBrian Cameron <brian.cameron@sun.com>
Wed, 25 Jun 2003 10:42:13 +0000 (10:42 +0000)
committerBrian Cameron <brian.cameron@sun.com>
Wed, 25 Jun 2003 10:42:13 +0000 (10:42 +0000)
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

index 6cc0c1d..a6094c8 100644 (file)
@@ -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