AIX 6.1 may have a broken fmemopen().

We only use it for the fuzzers so ignore it for AIX < 7.1.
This commit is contained in:
Todd C. Miller
2021-03-07 07:51:59 -07:00
parent 2b564cd7b2
commit 7bce330ffa
2 changed files with 18 additions and 6 deletions

12
configure vendored
View File

@@ -16193,14 +16193,20 @@ fi
# strnlen/strndup may be broken on AIX < 6 depending
# on the libc version, use our own.
if test $OSMAJOR -lt 6; then
ac_cv_func_strnlen=no
: ${ac_cv_func_strnlen='no'}
fi
# fmemopen(3) may be broken on AIX < 7.1 depending
# on the libc version.
if test $OSMAJOR -lt 7; then
: ${ac_cv_func_fmemopen='no'}
fi
# getdelim() may or may not be present on AIX <= 6.1.
# bos610 is missing getdelim but bos61J has it.
if test "$enable_package_build" = "yes"; then
if test $OSMAJOR -le 6; then
ac_cv_func_getdelim=no
: ${ac_cv_func_getdelim='no'}
fi
fi
@@ -16208,7 +16214,7 @@ fi
# bos710 is missing memset_s but bos71L has it.
if test "$enable_package_build" = "yes"; then
if test $OSMAJOR -le 7; then
ac_cv_func_memset_s=no
: ${ac_cv_func_memset_s='no'}
fi
fi

View File

@@ -1951,14 +1951,20 @@ case "$host" in
# strnlen/strndup may be broken on AIX < 6 depending
# on the libc version, use our own.
if test $OSMAJOR -lt 6; then
ac_cv_func_strnlen=no
: ${ac_cv_func_strnlen='no'}
fi
# fmemopen(3) may be broken on AIX < 7.1 depending
# on the libc version.
if test $OSMAJOR -lt 7; then
: ${ac_cv_func_fmemopen='no'}
fi
# getdelim() may or may not be present on AIX <= 6.1.
# bos610 is missing getdelim but bos61J has it.
if test "$enable_package_build" = "yes"; then
if test $OSMAJOR -le 6; then
ac_cv_func_getdelim=no
: ${ac_cv_func_getdelim='no'}
fi
fi
@@ -1966,7 +1972,7 @@ case "$host" in
# bos710 is missing memset_s but bos71L has it.
if test "$enable_package_build" = "yes"; then
if test $OSMAJOR -le 7; then
ac_cv_func_memset_s=no
: ${ac_cv_func_memset_s='no'}
fi
fi