summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-04-14 20:13:13 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-04-14 20:13:13 +0200
commit8c72b730bef6f3c5c4b5daece1d2baa84f663f7f (patch)
tree47d6a4729c449e78f670c1813dfb79753f8e6fda /autogen.sh
parent655193fdbe876506009dbb4d87e4cc9bf3ab32d1 (diff)
do not use libtool
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/autogen.sh b/autogen.sh
index fb96d4a..136ca78 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,24 +8,15 @@ CFLAGS="-g -Wall \
-Wpointer-arith -Wsign-compare -Wchar-subscripts \
-Wstrict-prototypes -Wshadow \
-Wformat=2 -Wtype-limits"
-args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux"
-libdir=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd))
+args="--prefix=/usr --exec-prefix="
case "$1" in
*install|"")
- args="$args --with-libdir-name=$libdir"
export CFLAGS="$CFLAGS -O2"
echo " configure: $args"
echo
./configure $args
;;
- *devel)
- args="$args --enable-debug --with-libdir-name=$libdir"
- export CFLAGS="$CFLAGS -O0"
- echo " configure: $args"
- echo
- ./configure $args
- ;;
*clean)
./configure
make maintainer-clean