Wireshark-commits: [Wireshark-commits] master-2.4 c95df54: Fix the check for getexecname().

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 05 May 2018 06:08:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c95df54f4f418f6903e99d2386f16c3abf43235f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

c95df54 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>
    (cherry picked from commit 2613d1d0ee1568d3c1abec2cef85293933b4d176)
    Reviewed-on: https://code.wireshark.org/review/27356
    

Actions performed:

    from  7bc2f74   On Solaris, check for getexecname in CMake.
    adds  c95df54   Fix the check for getexecname().


Summary of changes:
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)