diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-04-28 13:23:32 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-04-28 13:23:32 -0500 |
commit | 00a39d453558d82a5d8845e552e2b2648f71ae37 (patch) | |
tree | 72e9f362763da62f44f7588b1c1ea0c6ee8fc525 /autogen.sh | |
download | dconf-00a39d453558d82a5d8845e552e2b2648f71ae37.tar.gz |
Initial commit
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..857505a --- /dev/null +++ b/autogen.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e + +if [ "$1" = "clean" ]; then + rm -f aclocal.m4 configure missing install-sh depcomp ltmain.sh \ + config.* `find . -name Makefile.in` compile libtool + rm -rf autom4te.cache + exit +fi + +libtoolize --automake +aclocal +automake --add-missing --foreign +autoconf + +CFLAGS=${CFLAGS=-ggdb -Werror} +LDFLAGS=${LDFLAGS=-Wl,-O1} +export CFLAGS LDFLAGS + +./configure --enable-silent-rules "$@" |