1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00
systemd/autogen.sh

20 lines
550 B
Bash
Raw Normal View History

2008-07-30 03:45:23 +04:00
#!/bin/sh -e
2009-06-15 15:22:21 +04:00
gtkdocize
2008-12-29 07:47:53 +03:00
autoreconf --install --symlink
2008-07-30 03:45:23 +04:00
CFLAGS="-g -Wall \
2008-08-12 13:19:32 +04:00
-Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wpointer-arith -Wsign-compare -Wchar-subscripts \
2009-02-05 21:01:27 +03:00
-Wstrict-prototypes -Wshadow \
-Wformat=2 -Wtype-limits"
2009-06-16 16:19:19 +04:00
libdirname=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd))
args="--prefix=/usr --exec-prefix= --sysconfdir=/etc \
--libdir=/usr/$libdirname --with-libdir-name=$libdirname \
--with-selinux --enable-gtk-doc --enable-extras"
2009-06-16 16:19:19 +04:00
export CFLAGS="$CFLAGS -O2"
./configure $args $@