• Guy Harris's avatar
    Fix the #defines for the presence of structure names. · 5f68435a
    Guy Harris authored
    AC_CHECK_MEMBER() and AC_CHECK_MEMBERS() use a standard name for the
    {structurename} being the name of the structure type, complete with
    "struct" if a typedef wasn't used, and with all letters mapped to upper
    case, and with {membername} being the name of the structure member, with
    all letters mapped to upper case.
    
    check_struct_has_member() lets you choose the name; choose the same name
    that the autoconf macros use, and fix the code to check for them.
    
    Change-Id: Ifb3cf65e7e94907ad0a2f8aacca0c21a531f0c5b
    Reviewed-on: https://code.wireshark.org/review/18382
    Petri-Dish: Guy Harris <guy@alum.mit.edu>
    Reviewed-by: 's avatarGuy Harris <guy@alum.mit.edu>
    5f68435a
cmakeconfig.h.in 13.4 KB