aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-05-19 15:04:25 -0700
committerBruce A. Mah <bmah@es.net>2014-05-19 15:04:25 -0700
commit99b5861c22f1b9728237c5336a390ec7077d32d3 (patch)
tree2b96b7cc848c54584c7297173eb4e1f72e3f0b5b /configure
parent8de51b589fa0daa00ebfee7a4ec8ee91bc968f7b (diff)
downloadiperf3-99b5861c22f1b9728237c5336a390ec7077d32d3.tar.gz
Regen.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 8ebfe73..edd2934 100755
--- a/configure
+++ b/configure
@@ -11561,6 +11561,13 @@ CC="$lt_save_CC"
+# Add -Wall -Werror if we are using GCC.
+# We also need -Wno-deprecated-declarations, primarily because on MacOS, daemon(3)
+# is deprecated starting from MacOS 10.5.
+if test "x$GCC" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall -Werror -Wno-deprecated-declarations"
+fi
+
# Checks for header files.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }