version 1.59.2.2, 2024/08/19 15:44:17
|
version 1.60, 2025/07/16 11:07:06
|
Line 4000 fi
|
Line 4000 fi
|
|
|
|
|
if test "${ac_cv_env_CFLAGS_set}" != "set"; then |
if test "${ac_cv_env_CFLAGS_set}" != "set"; then |
CFLAGS="-Wall -O2" | CFLAGS="-Wall -O2 -I${includedir}" |
else |
else |
CFLAGS="${ac_cv_env_CFLAGS_value}" |
CFLAGS="${ac_cv_env_CFLAGS_value}" |
fi |
fi |
if test "${ac_cv_env_LDFLAGS_set}" = "set"; then |
if test "${ac_cv_env_LDFLAGS_set}" = "set"; then |
LDFLAGS="${ac_cv_env_LDFLAGS_value}" |
LDFLAGS="${ac_cv_env_LDFLAGS_value}" |
|
else |
|
LDFLAGS="-L${libdir}" |
fi |
fi |
|
|
|
|
Line 4113 then :
|
Line 4115 then :
|
|
|
fi |
fi |
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lelwix" >&5 |
|
printf %s "checking for strlcpy in -lelwix... " >&6; } |
|
if test ${ac_cv_lib_elwix_strlcpy+y} |
|
then : |
|
printf %s "(cached) " >&6 |
|
else case e in #( |
|
e) ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lelwix $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. |
|
The 'extern "C"' is for builds by C++ compilers; |
|
although this is not generally supported in C code supporting it here |
|
has little cost and some practical benefit (sr 110532). */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char strlcpy (void); |
|
int |
|
main (void) |
|
{ |
|
return strlcpy (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO" |
|
then : |
|
ac_cv_lib_elwix_strlcpy=yes |
|
else case e in #( |
|
e) ac_cv_lib_elwix_strlcpy=no ;; |
|
esac |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS ;; |
|
esac |
|
fi |
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_strlcpy" >&5 |
|
printf "%s\n" "$ac_cv_lib_elwix_strlcpy" >&6; } |
|
if test "x$ac_cv_lib_elwix_strlcpy" = xyes |
|
then : |
|
printf "%s\n" "#define HAVE_LIBELWIX 1" >>confdefs.h |
|
|
|
LIBS="-lelwix $LIBS" |
|
|
|
fi |
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5 |
printf %s "checking for strlcpy in -lbsd... " >&6; } |
printf %s "checking for strlcpy in -lbsd... " >&6; } |
if test ${ac_cv_lib_bsd_strlcpy+y} |
if test ${ac_cv_lib_bsd_strlcpy+y} |
Line 4223 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_
|
Line 4276 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_
|
if test "x$ac_cv_header_unistd_h" = xyes |
if test "x$ac_cv_header_unistd_h" = xyes |
then : |
then : |
printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
|
|
fi |
|
|
|
ac_fn_c_check_header_compile "$LINENO" "bsd/string.h" "ac_cv_header_bsd_string_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_bsd_string_h" = xyes |
|
then : |
|
printf "%s\n" "#define HAVE_BSD_STRING_H 1" >>confdefs.h |
|
|
|
fi |
fi |
|
|