]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure.ac
Update .gitignore for other configurations
[tcpdump] / configure.ac
index 4b113c48be0e394d723d964d1924a295b9644548..2439aaa70c4656de5d2b89cc0d7836b77696cdd0 100644 (file)
@@ -20,7 +20,14 @@ AC_CONFIG_SRCDIR(tcpdump.c)
 AC_CANONICAL_HOST
 
 AC_LBL_C_INIT_BEFORE_CC(V_INCLS)
+#
+# Try to enable as many C99 features as we can.
+# At minimum, we want C++/C99-style // comments.
+#
 AC_PROG_CC_C99
+if test "$ac_cv_prog_cc_c99" = "no"; then
+       AC_MSG_WARN([The C compiler does not support C99; there may be compiler errors])
+fi
 AC_LBL_C_INIT(V_CCOPT, V_INCLS)
 AC_LBL_C_INLINE
 
@@ -145,7 +152,6 @@ AC_ARG_ENABLE(smb,
    enableval=yes)
 case "$enableval" in
 yes)   AC_MSG_RESULT(yes)
-       AC_WARN([The SMB printer may have exploitable buffer overflows!!!])
        AC_DEFINE(ENABLE_SMB, 1,
            [define if you want to build the possibly-buggy SMB printer])
        LOCALSRC="print-smb.c smbutil.c $LOCALSRC"