@@ -13973,6 +13973,76 @@ _ACEOF
1397313973fi
1397413974
1397513975
13976+ echo "$as_me:$LINENO: checking whether strlcat is declared" >&5
13977+ echo $ECHO_N "checking whether strlcat is declared... $ECHO_C" >&6
13978+ if test "${ac_cv_have_decl_strlcat+set}" = set; then
13979+ echo $ECHO_N "(cached) $ECHO_C" >&6
13980+ else
13981+ cat >conftest.$ac_ext <<_ACEOF
13982+ /* confdefs.h. */
13983+ _ACEOF
13984+ cat confdefs.h >>conftest.$ac_ext
13985+ cat >>conftest.$ac_ext <<_ACEOF
13986+ /* end confdefs.h. */
13987+ $ac_includes_default
13988+ int
13989+ main ()
13990+ {
13991+ #ifndef strlcat
13992+ char *p = (char *) strlcat;
13993+ #endif
13994+
13995+ ;
13996+ return 0;
13997+ }
13998+ _ACEOF
13999+ rm -f conftest.$ac_objext
14000+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001+ (eval $ac_compile) 2>conftest.er1
14002+ ac_status=$?
14003+ grep -v '^ *+' conftest.er1 >conftest.err
14004+ rm -f conftest.er1
14005+ cat conftest.err >&5
14006+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007+ (exit $ac_status); } &&
14008+ { ac_try='test -z "$ac_c_werror_flag"
14009+ || test ! -s conftest.err'
14010+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011+ (eval $ac_try) 2>&5
14012+ ac_status=$?
14013+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014+ (exit $ac_status); }; } &&
14015+ { ac_try='test -s conftest.$ac_objext'
14016+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017+ (eval $ac_try) 2>&5
14018+ ac_status=$?
14019+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020+ (exit $ac_status); }; }; then
14021+ ac_cv_have_decl_strlcat=yes
14022+ else
14023+ echo "$as_me: failed program was:" >&5
14024+ sed 's/^/| /' conftest.$ac_ext >&5
14025+
14026+ ac_cv_have_decl_strlcat=no
14027+ fi
14028+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14029+ fi
14030+ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strlcat" >&5
14031+ echo "${ECHO_T}$ac_cv_have_decl_strlcat" >&6
14032+ if test $ac_cv_have_decl_strlcat = yes; then
14033+
14034+ cat >>confdefs.h <<_ACEOF
14035+ #define HAVE_DECL_STRLCAT 1
14036+ _ACEOF
14037+
14038+
14039+ else
14040+ cat >>confdefs.h <<_ACEOF
14041+ #define HAVE_DECL_STRLCAT 0
14042+ _ACEOF
14043+
14044+
14045+ fi
1397614046echo "$as_me:$LINENO: checking whether strlcpy is declared" >&5
1397714047echo $ECHO_N "checking whether strlcpy is declared... $ECHO_C" >&6
1397814048if test "${ac_cv_have_decl_strlcpy+set}" = set; then
@@ -14850,7 +14920,8 @@ LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1485014920
1485114921
1485214922
14853- for ac_func in crypt fseeko getopt getrusage inet_aton random rint srandom strdup strerror strlcpy strtol strtoul unsetenv
14923+
14924+ for ac_func in crypt fseeko getopt getrusage inet_aton random rint srandom strdup strerror strlcat strlcpy strtol strtoul unsetenv
1485414925do
1485514926as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1485614927echo "$as_me:$LINENO: checking for $ac_func" >&5
0 commit comments