X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=2f0ec9ae73f973302ab6038223f98ea79c454cb3;hb=15ec8bd3773cff3bb8cd36c5890569fdc19e1356;hp=4cc51d6b53b383097f75e89b40d7c2123c181422;hpb=4325a586836f118c0ad68a68d66c7c242af98ab4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 4cc51d6b5..2f0ec9ae7 100755 --- a/configure +++ b/configure @@ -26,6 +26,7 @@ NICK_LENGT=32 CHAN_LENGT=64 MAX_CHANNE=20 MAXI_MODES=20 +HAS_STRLCPY=0 OSNAME=`(uname -s) 2>/dev/null` || OSNAME="unknown" if [ -z $MAX_CLIENT_T ] ; then @@ -56,12 +57,12 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then case "$OSNAME" in FreeBSD) LDLIBS="-Ldl" - FLAGS="-fPIC -frtti $OPTIMISATI" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" MAKEPROG="gmake" ;; *) LDLIBS="-ldl" - FLAGS="-fPIC -frtti $OPTIMISATI" + FLAGS="-fPIC -frtti $OPTIMISATI -Wcomment -Wformat -Wunused -Wshadow -Werror -Wswitch -Wchar-subscripts -Wparentheses" MAKEPROG="make" ;; esac