autogen.sh.in: split out core-specific default configure options
authorTim-Philipp Müller <tim@centricular.net>
Sun, 14 Apr 2013 15:11:24 +0000 (16:11 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 14 Apr 2013 16:12:43 +0000 (17:12 +0100)
autogen.sh.in

index 3f91cd6..96f4238 100755 (executable)
@@ -38,7 +38,11 @@ if test -d po ; then
   touch -t 200001010000 po/@PACKAGE@-@API_VERSION@.pot
 fi
 
-CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-failing-tests --enable-poisoning --enable-gtk-doc --enable-docbook'
+CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-gtk-doc'
+
+if test "x$package" = "xgstreamer"; then
+  CONFIGURE_DEF_OPT="$CONFIGURE_DEF_OPT --enable-docbook --enable-failing-tests --enable-poisoning"
+fi
 
 autogen_options $@