Fix comments to reflect reality.

Change-Id: Id56f5844932371a89785f4ddce87eb66789acdc8
Reviewed-on: https://code.wireshark.org/review/2754
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-07-01 12:26:35 -07:00
parent 27d320112e
commit b378f72545
2 changed files with 10 additions and 6 deletions

View File

@ -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"

View File

@ -227,8 +227,8 @@ if test "x$GCC" = "xyes" -o "x$CC" = "xxlc" -o "x$CC" = "xclang" ; then
fi
#
# Set "ac_supports_attribute_unused" if the compiler is known to
# support "__attribute__(unused)".
# Set "ac_supports_W_linker_passthrough" if the compiler is known to
# support "-Wl,{option}" to pass options through to the linker.
# Currently, we assume GCC and clang do; other compilers should
# be added here.
#