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:
12
configure
vendored
12
configure
vendored
@@ -16193,14 +16193,20 @@ fi
|
|||||||
# strnlen/strndup may be broken on AIX < 6 depending
|
# strnlen/strndup may be broken on AIX < 6 depending
|
||||||
# on the libc version, use our own.
|
# on the libc version, use our own.
|
||||||
if test $OSMAJOR -lt 6; then
|
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
|
fi
|
||||||
|
|
||||||
# getdelim() may or may not be present on AIX <= 6.1.
|
# getdelim() may or may not be present on AIX <= 6.1.
|
||||||
# bos610 is missing getdelim but bos61J has it.
|
# bos610 is missing getdelim but bos61J has it.
|
||||||
if test "$enable_package_build" = "yes"; then
|
if test "$enable_package_build" = "yes"; then
|
||||||
if test $OSMAJOR -le 6; then
|
if test $OSMAJOR -le 6; then
|
||||||
ac_cv_func_getdelim=no
|
: ${ac_cv_func_getdelim='no'}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -16208,7 +16214,7 @@ fi
|
|||||||
# bos710 is missing memset_s but bos71L has it.
|
# bos710 is missing memset_s but bos71L has it.
|
||||||
if test "$enable_package_build" = "yes"; then
|
if test "$enable_package_build" = "yes"; then
|
||||||
if test $OSMAJOR -le 7; then
|
if test $OSMAJOR -le 7; then
|
||||||
ac_cv_func_memset_s=no
|
: ${ac_cv_func_memset_s='no'}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
12
configure.ac
12
configure.ac
@@ -1951,14 +1951,20 @@ case "$host" in
|
|||||||
# strnlen/strndup may be broken on AIX < 6 depending
|
# strnlen/strndup may be broken on AIX < 6 depending
|
||||||
# on the libc version, use our own.
|
# on the libc version, use our own.
|
||||||
if test $OSMAJOR -lt 6; then
|
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
|
fi
|
||||||
|
|
||||||
# getdelim() may or may not be present on AIX <= 6.1.
|
# getdelim() may or may not be present on AIX <= 6.1.
|
||||||
# bos610 is missing getdelim but bos61J has it.
|
# bos610 is missing getdelim but bos61J has it.
|
||||||
if test "$enable_package_build" = "yes"; then
|
if test "$enable_package_build" = "yes"; then
|
||||||
if test $OSMAJOR -le 6; then
|
if test $OSMAJOR -le 6; then
|
||||||
ac_cv_func_getdelim=no
|
: ${ac_cv_func_getdelim='no'}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1966,7 +1972,7 @@ case "$host" in
|
|||||||
# bos710 is missing memset_s but bos71L has it.
|
# bos710 is missing memset_s but bos71L has it.
|
||||||
if test "$enable_package_build" = "yes"; then
|
if test "$enable_package_build" = "yes"; then
|
||||||
if test $OSMAJOR -le 7; then
|
if test $OSMAJOR -le 7; then
|
||||||
ac_cv_func_memset_s=no
|
: ${ac_cv_func_memset_s='no'}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user