Wireshark-commits: [Wireshark-commits] master-2.2 d1abbf6: Fix the check for getexecname().
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 05 May 2018 06:08:40 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d1abbf6e0e3923beb8dec03ab5698649fafa97b0
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

d1abbf6 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/27357
    

Actions performed:

    from  57005c1   On Solaris, check for getexecname in CMake.
    adds  d1abbf6   Fix the check for getexecname().


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