]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure.ac
Update .gitignore for other configurations
[tcpdump] / configure.ac
index bdcb9e74ebc400d3646a4fa27b9382889276a2ea..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"
@@ -543,7 +549,7 @@ if test "$ac_cv_func_ether_ntohost" = yes -a \
                # This test fails if we don't have <arpa/inet.h>
                # (if we have ether_ntohost(), we should have
                # networking, and if we have networking, we should
-               # have <arapa/inet.h>) or if we do but it doesn't
+               # have <arpa/inet.h>) or if we do but it doesn't
                # declare ether_ntohost().
                #
                # Unset ac_cv_have_decl_ether_ntohost so we don't