]>
Commit | Line | Data |
---|---|---|
79bf2081 | 1 | #! /bin/sh |
91f972bb | 2 | |
8893c514 | 3 | autoreconf -v -f --install "$(dirname "$0")" || exit 1 |
91f972bb | 4 | |
d73f480d AC |
5 | CFLAGS="-O2" |
6 | CFLAGS="$CFLAGS -Wall" | |
028e3e27 | 7 | CFLAGS="$CFLAGS -Wextra" |
d73f480d | 8 | CFLAGS="$CFLAGS -Werror=implicit-function-declaration" |
d74ffd3c AC |
9 | CFLAGS="$CFLAGS -Werror=implicit-int" |
10 | CFLAGS="$CFLAGS -Werror=incompatible-pointer-types" | |
11 | CFLAGS="$CFLAGS -Werror=int-conversion" | |
d2aa177c | 12 | CFLAGS="$CFLAGS -Wno-expansion-to-defined" |
6fcc0f67 | 13 | CFLAGS="$CFLAGS -Wno-unknown-attributes" |
d74ffd3c | 14 | CFLAGS="$CFLAGS -Wno-unknown-warning-option" |
d73f480d | 15 | |
8893c514 | 16 | "$(dirname "$0")"/configure \ |
d73f480d | 17 | CFLAGS="$CFLAGS" \ |
c89b3263 | 18 | --enable-lastlog \ |
79bf2081 | 19 | --enable-man \ |
20 | --enable-maintainer-mode \ | |
97241473 | 21 | --enable-shared \ |
79bf2081 | 22 | --without-libpam \ |
23 | --with-selinux \ | |
24 | "$@" |