diff options
author | David Schleef <ds@schleef.org> | 2008-06-30 13:00:09 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-06-30 13:00:09 -0700 |
commit | b3208ae93e99f0d6259d1e49f995bf9c6c00b430 (patch) | |
tree | 72685ba732a8efc83e0376f67fd43e3f3faf2303 | |
parent | 6b4c918198f6c2c8574cc6b357a9bbb8ce0cdd5f (diff) | |
download | liboil-b3208ae93e99f0d6259d1e49f995bf9c6c00b430.tar.gz |
make autogen flags dependent on username
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 $@ + + |