Diff for /libelwix/configure between versions 1.64.2.1 and 1.64.2.2

version 1.64.2.1, 2023/03/14 22:37:40 version 1.64.2.2, 2023/07/27 21:52:03
Line 3922  then : Line 3922  then :
   
 fi  fi
   
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for strlcpy in -lbsd" >&5  
 printf %s "checking for strlcpy in -lbsd... " >&6; }  
 if test ${ac_cv_lib_bsd_strlcpy+y}  
 then :  
   printf %s "(cached) " >&6  
 else $as_nop  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lbsd  $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.  */  
 char strlcpy ();  
 int  
 main (void)  
 {  
 return strlcpy ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"  
 then :  
   ac_cv_lib_bsd_strlcpy=yes  
 else $as_nop  
   ac_cv_lib_bsd_strlcpy=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.beam \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_strlcpy" >&5  
 printf "%s\n" "$ac_cv_lib_bsd_strlcpy" >&6; }  
 if test "x$ac_cv_lib_bsd_strlcpy" = xyes  
 then :  
   printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h  
   
   LIBS="-lbsd $LIBS"  
   
 fi  
   
   
 # Checks for header files.  # Checks for header files.
 ac_header= ac_cache=  ac_header= ac_cache=
 for ac_item in $ac_header_c_list  for ac_item in $ac_header_c_list
Line 4027  then : Line 3984  then :
   
 fi  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  
   
   
 # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 printf %s "checking for inline... " >&6; }  printf %s "checking for inline... " >&6; }
Line 4246  ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_str Line 4196  ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_str
 if test "x$ac_cv_func_strlcpy" = xyes  if test "x$ac_cv_func_strlcpy" = xyes
 then :  then :
   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h    printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   
   fi
   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   if test "x$ac_cv_func_strlcat" = xyes
   then :
     printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   
 fi  fi
   

Removed from v.1.64.2.1  
changed lines
  Added in v.1.64.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>