summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2008-06-30 13:00:09 -0700
committerDavid Schleef <ds@schleef.org>2008-06-30 13:00:09 -0700
commitb3208ae93e99f0d6259d1e49f995bf9c6c00b430 (patch)
tree72685ba732a8efc83e0376f67fd43e3f3faf2303
parent6b4c918198f6c2c8574cc6b357a9bbb8ce0cdd5f (diff)
downloadliboil-b3208ae93e99f0d6259d1e49f995bf9c6c00b430.tar.gz
make autogen flags dependent on username
-rwxr-xr-xautogen.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index d832102..60a9966 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,12 @@
#!/bin/sh
+if [ $(whoami) = ds ] ; then
+ confflags="--enable-gtk-doc"
+else
+ confflags="--enable-gtk-doc"
+fi
+
autoreconf -i -f &&
-./configure --enable-maintainer-mode --disable-static --enable-gtk-doc $@
-#./configure --enable-maintainer-mode --disable-static --with-alternate-optimization="-O3 -funroll-all-loops" $@
+ ./configure --enable-maintainer-mode --disable-static $confflags $@
+
+