]> git.ipfire.org Git - thirdparty/shadow.git/blame - autogen.sh
src/sulogin.c: Invert logic to reduce indentation
[thirdparty/shadow.git] / autogen.sh
CommitLineData
79bf2081 1#! /bin/sh
91f972bb 2
8893c514 3autoreconf -v -f --install "$(dirname "$0")" || exit 1
91f972bb 4
d73f480d
AC
5CFLAGS="-O2"
6CFLAGS="$CFLAGS -Wall"
028e3e27 7CFLAGS="$CFLAGS -Wextra"
d73f480d 8CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
d74ffd3c
AC
9CFLAGS="$CFLAGS -Werror=implicit-int"
10CFLAGS="$CFLAGS -Werror=incompatible-pointer-types"
11CFLAGS="$CFLAGS -Werror=int-conversion"
d2aa177c 12CFLAGS="$CFLAGS -Wno-expansion-to-defined"
6fcc0f67 13CFLAGS="$CFLAGS -Wno-unknown-attributes"
d74ffd3c 14CFLAGS="$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 "$@"