summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2001-12-20 23:13:50 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2001-12-20 23:13:50 +0000
commit7b8037423b79b59463415ef169bdef6b4feae1fc (patch)
tree3faf6233d153425a8abbeb3d24d47025f4a3e3ba /autogen.sh
parent2f7d491580259044e1bcd2a59ee73a19616511ef (diff)
added esd added new autogen.sh feature : list all of the libs/plugins you want to disable in a file called "disable" ...
Original commit message from CVS: added esd added new autogen.sh feature : list all of the libs/plugins you want to disable in a file called "disable" and they will. makes it easier to check stuff when you're working on one a file "enable" does the opposite. You're on your own if you make them conflict ;) CML2 anyone ? fixed some xvideo stuff, can't remember what though
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 78c2cac1..73793c61 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -152,6 +152,21 @@ automake -a -c || {
CONFIGURE_OPT='--enable-maintainer-mode --enable-plugin-builddir --enable-debug --enable-DEBUG'
+# if enable exists, add an -enable option for each of the lines in that file
+if test -f enable; then
+ for a in `cat enable`; do
+ CONFIGURE_OPT="$CONFIGURE_OPT --enable-$a"
+ done
+fi
+
+# if disable exists, add an -disable option for each of the lines in that file
+if test -f disable; then
+ for a in `cat disable`; do
+ CONFIGURE_OPT="$CONFIGURE_OPT --disable-$a"
+ done
+fi
+
+
echo "+ running configure ... "
echo "./configure default flags: $CONFIGURE_OPT"
echo "using: $CONFIGURE_OPT $@"