Wireshark-commits: [Wireshark-commits] master-2.6 2613d1d: Fix the check for getexecname().
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2613d1d0ee1568d3c1abec2cef85293933b4d176
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
2613d1d by Guy Harris (guy@xxxxxxxxxxxx):
Fix the check for getexecname().
We want HAVE_GETEXECNAME set if it's available, so use AC_CHECK_FUNCS()
rather than AC_CHECK_FUNC() - the latter doesn't do anything other than
check, and expects to have "if it's found" or "if it isn't found" code,
the former will define a HAVE_ macro even with no "if it's found" or "if
it isn't found" code.
Change-Id: I0e7ab2b8077734b5b9d820b689136f1ef8859e61
Reviewed-on: https://code.wireshark.org/review/27355
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 0ac0411 On Solaris, check for getexecname in CMake.
adds 2613d1d Fix the check for getexecname().
Summary of changes:
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)