summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-01 12:26:35 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-01 19:27:01 +0000
commitb378f725453526883d087b5e57165dd7dee13c67 (patch)
treee27deea5b07091cdb228635fc0461312df2c42b6 /acinclude.m4
parent27d320112e451b0d4568d422c6576fba366a59b6 (diff)
downloadwireshark-b378f725453526883d087b5e57165dd7dee13c67.tar.gz
Fix comments to reflect reality.
Change-Id: Id56f5844932371a89785f4ddce87eb66789acdc8 Reviewed-on: https://code.wireshark.org/review/2754 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 35263ea139..66615b354a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1553,10 +1553,14 @@ AC_DEFUN([AC_WIRESHARK_GEOIP_CHECK],
#
# $1 : ldflag(s) to test
#
-# The macro first determines if the compiler supports "-Wl,{option}" to
-# pass options through to the linker. Then it attempts to compile with
-# the defined ldflags. The defined flags are added to LDFLAGS only if
-# the compilation succeeds.
+# If we've determined that the compiler supports "-Wl,{option}" to
+# pass options through to the linker, we use that to attempt to
+# compile with the defined ldflags. The defined flags are added to
+# LDFLAGS only if the compilation succeeds.
+#
+# XXX - not all flags passed to AC_WIRESHARK_LDFLAGS_CHECK are
+# -Wl,{option} flags; should we just try the flag without bothering
+# to check whether -Wl,{option} is supported?
#
AC_DEFUN([AC_WIRESHARK_LDFLAGS_CHECK],
[GCC_OPTION="$1"