ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/configure
(Generate patch)

Comparing hopm/trunk/configure (file contents):
Revision 5260 by michael, Thu Jan 1 17:53:18 2015 UTC vs.
Revision 5264 by michael, Thu Jan 1 18:15:57 2015 UTC

# Line 12074 | Line 12074 | CC=$lt_save_CC
12074  
12075  
12076  
12077 < for ac_header in fcntl.h sys/time.h unistd.h
12077 > for ac_header in sys/time.h
12078   do :
12079 <  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12080 < ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12081 < if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12079 >  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12080 > if test "x$ac_cv_header_sys_time_h" = xyes; then :
12081    cat >>confdefs.h <<_ACEOF
12082 < #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12082 > #define HAVE_SYS_TIME_H 1
12083   _ACEOF
12084  
12085   fi
# Line 12123 | Line 12122 | $as_echo "#define TIME_WITH_SYS_TIME 1"
12122  
12123   fi
12124  
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12127 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12128 if ${ac_cv_struct_tm+:} false; then :
12129  $as_echo_n "(cached) " >&6
12130 else
12131  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h.  */
12133 #include <sys/types.h>
12134 #include <time.h>
12135
12136 int
12137 main ()
12138 {
12139 struct tm tm;
12140                                     int *p = &tm.tm_sec;
12141                                     return !p;
12142  ;
12143  return 0;
12144 }
12145 _ACEOF
12146 if ac_fn_c_try_compile "$LINENO"; then :
12147  ac_cv_struct_tm=time.h
12148 else
12149  ac_cv_struct_tm=sys/time.h
12150 fi
12151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12152 fi
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12154 $as_echo "$ac_cv_struct_tm" >&6; }
12155 if test $ac_cv_struct_tm = sys/time.h; then
12156
12157 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12158
12159 fi
12160
12125  
12126  
12127   for ac_prog in 'bison -y' byacc
# Line 12550 | Line 12514 | fi
12514   fi
12515  
12516  
12517 < for ac_func in strlcpy strlcat socket
12517 > for ac_func in strlcpy strlcat
12518   do :
12519    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12520   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)