mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
configure: Remove the memset check and the HAVE_MEMSET macro
The compatibility workaround png_memset() has been removed long ago. The availability of memset() is a platform requirement.
This commit is contained in:
13
configure
vendored
13
configure
vendored
@@ -13066,19 +13066,6 @@ fi
|
||||
|
||||
fi
|
||||
|
||||
for ac_func in memset
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
|
||||
if test "x$ac_cv_func_memset" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_MEMSET 1
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
as_fn_error $? "memset not found in libc" "$LINENO" 5
|
||||
fi
|
||||
done
|
||||
|
||||
for ac_func in pow
|
||||
do :
|
||||
ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
|
||||
|
||||
Reference in New Issue
Block a user