Changeset 4013

Show
Ignore:
Timestamp:
04/02/06 17:26:30 (2 years ago)
Author:
morris
Message:

Remove unneeded

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trackerd/trunk/config.h.in

    r3350 r4013  
    33/* Define to 1 if you have the <CoreServices/CoreServices.h> header file. */ 
    44#undef HAVE_CORESERVICES_CORESERVICES_H 
    5  
    6 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 
    7 #undef HAVE_FSEEKO 
    85 
    96/* Define to 1 if you have glibc. */ 
     
    2522#undef HAVE_PTHREAD_H 
    2623 
    27 /* Define to 1 if you have the `setproctitle' function. */ 
    28 #undef HAVE_SETPROCTITLE 
    29  
    3024/* Define to 1 if you have the <stdint.h> header file. */ 
    3125#undef HAVE_STDINT_H 
     
    3933/* Define to 1 if you have the <string.h> header file. */ 
    4034#undef HAVE_STRING_H 
    41  
    42 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 
    43 #undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 
    44  
    45 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 
    46 #undef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 
    47  
    48 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */ 
    49 #undef HAVE_STRUCT_SOCKADDR_SA_LEN 
    5035 
    5136/* Define to 1 if you have the <sys/stat.h> header file. */ 
     
    10388#undef _GNU_SOURCE 
    10489 
    105 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 
    106 #undef _LARGEFILE_SOURCE 
    107  
    10890/* Define for large files, on AIX-style hosts. */ 
    10991#undef _LARGE_FILES 
  • trackerd/trunk/configure

    r4010 r4013  
    48224822 
    48234823 
    4824 # Check if the sockaddr structs have length members 
    4825 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5 
    4826 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6 
    4827 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then 
    4828   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4829 else 
    4830   cat >conftest.$ac_ext <<_ACEOF 
    4831 /* confdefs.h.  */ 
    4832 _ACEOF 
    4833 cat confdefs.h >>conftest.$ac_ext 
    4834 cat >>conftest.$ac_ext <<_ACEOF 
    4835 /* end confdefs.h.  */ 
    4836  
    4837         #include <sys/types.h> 
    4838         #include <sys/socket.h> 
    4839         #include <netinet/in.h> 
    4840         #include <netdb.h> 
    4841  
    4842  
    4843 int 
    4844 main () 
    4845 { 
    4846 static struct sockaddr ac_aggr; 
    4847 if (ac_aggr.sa_len) 
    4848 return 0; 
    4849   ; 
    4850   return 0; 
    4851 } 
    4852 _ACEOF 
    4853 rm -f conftest.$ac_objext 
    4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4855   (eval $ac_compile) 2>conftest.er1 
    4856   ac_status=$? 
    4857   grep -v '^ *+' conftest.er1 >conftest.err 
    4858   rm -f conftest.er1 
    4859   cat conftest.err >&5 
    4860   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4861   (exit $ac_status); } && 
    4862          { ac_try='test -z "$ac_c_werror_flag" 
    4863                          || test ! -s conftest.err' 
    4864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4865   (eval $ac_try) 2>&5 
    4866   ac_status=$? 
    4867   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4868   (exit $ac_status); }; } && 
    4869          { ac_try='test -s conftest.$ac_objext' 
    4870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4871   (eval $ac_try) 2>&5 
    4872   ac_status=$? 
    4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4874   (exit $ac_status); }; }; then 
    4875   ac_cv_member_struct_sockaddr_sa_len=yes 
    4876 else 
    4877   echo "$as_me: failed program was:" >&5 
    4878 sed 's/^/| /' conftest.$ac_ext >&5 
    4879  
    4880 cat >conftest.$ac_ext <<_ACEOF 
    4881 /* confdefs.h.  */ 
    4882 _ACEOF 
    4883 cat confdefs.h >>conftest.$ac_ext 
    4884 cat >>conftest.$ac_ext <<_ACEOF 
    4885 /* end confdefs.h.  */ 
    4886  
    4887         #include <sys/types.h> 
    4888         #include <sys/socket.h> 
    4889         #include <netinet/in.h> 
    4890         #include <netdb.h> 
    4891  
    4892  
    4893 int 
    4894 main () 
    4895 { 
    4896 static struct sockaddr ac_aggr; 
    4897 if (sizeof ac_aggr.sa_len) 
    4898 return 0; 
    4899   ; 
    4900   return 0; 
    4901 } 
    4902 _ACEOF 
    4903 rm -f conftest.$ac_objext 
    4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4905   (eval $ac_compile) 2>conftest.er1 
    4906   ac_status=$? 
    4907   grep -v '^ *+' conftest.er1 >conftest.err 
    4908   rm -f conftest.er1 
    4909   cat conftest.err >&5 
    4910   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4911   (exit $ac_status); } && 
    4912          { ac_try='test -z "$ac_c_werror_flag" 
    4913                          || test ! -s conftest.err' 
    4914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4915   (eval $ac_try) 2>&5 
    4916   ac_status=$? 
    4917   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4918   (exit $ac_status); }; } && 
    4919          { ac_try='test -s conftest.$ac_objext' 
    4920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4921   (eval $ac_try) 2>&5 
    4922   ac_status=$? 
    4923   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4924   (exit $ac_status); }; }; then 
    4925   ac_cv_member_struct_sockaddr_sa_len=yes 
    4926 else 
    4927   echo "$as_me: failed program was:" >&5 
    4928 sed 's/^/| /' conftest.$ac_ext >&5 
    4929  
    4930 ac_cv_member_struct_sockaddr_sa_len=no 
    4931 fi 
    4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4933 fi 
    4934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    4935 fi 
    4936 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5 
    4937 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6 
    4938 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then 
    4939  
    4940 cat >>confdefs.h <<_ACEOF 
    4941 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1 
    4942 _ACEOF 
    4943  
    4944  
    4945 fi 
    4946 echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 
    4947 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6 
    4948 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 
    4949   echo $ECHO_N "(cached) $ECHO_C" >&6 
    4950 else 
    4951   cat >conftest.$ac_ext <<_ACEOF 
    4952 /* confdefs.h.  */ 
    4953 _ACEOF 
    4954 cat confdefs.h >>conftest.$ac_ext 
    4955 cat >>conftest.$ac_ext <<_ACEOF 
    4956 /* end confdefs.h.  */ 
    4957  
    4958         #include <sys/types.h> 
    4959         #include <sys/socket.h> 
    4960         #include <netinet/in.h> 
    4961         #include <netdb.h> 
    4962  
    4963  
    4964 int 
    4965 main () 
    4966 { 
    4967 static struct sockaddr_in ac_aggr; 
    4968 if (ac_aggr.sin_len) 
    4969 return 0; 
    4970   ; 
    4971   return 0; 
    4972 } 
    4973 _ACEOF 
    4974 rm -f conftest.$ac_objext 
    4975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    4976   (eval $ac_compile) 2>conftest.er1 
    4977   ac_status=$? 
    4978   grep -v '^ *+' conftest.er1 >conftest.err 
    4979   rm -f conftest.er1 
    4980   cat conftest.err >&5 
    4981   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4982   (exit $ac_status); } && 
    4983          { ac_try='test -z "$ac_c_werror_flag" 
    4984                          || test ! -s conftest.err' 
    4985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4986   (eval $ac_try) 2>&5 
    4987   ac_status=$? 
    4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4989   (exit $ac_status); }; } && 
    4990          { ac_try='test -s conftest.$ac_objext' 
    4991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    4992   (eval $ac_try) 2>&5 
    4993   ac_status=$? 
    4994   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    4995   (exit $ac_status); }; }; then 
    4996   ac_cv_member_struct_sockaddr_in_sin_len=yes 
    4997 else 
    4998   echo "$as_me: failed program was:" >&5 
    4999 sed 's/^/| /' conftest.$ac_ext >&5 
    5000  
    5001 cat >conftest.$ac_ext <<_ACEOF 
    5002 /* confdefs.h.  */ 
    5003 _ACEOF 
    5004 cat confdefs.h >>conftest.$ac_ext 
    5005 cat >>conftest.$ac_ext <<_ACEOF 
    5006 /* end confdefs.h.  */ 
    5007  
    5008         #include <sys/types.h> 
    5009         #include <sys/socket.h> 
    5010         #include <netinet/in.h> 
    5011         #include <netdb.h> 
    5012  
    5013  
    5014 int 
    5015 main () 
    5016 { 
    5017 static struct sockaddr_in ac_aggr; 
    5018 if (sizeof ac_aggr.sin_len) 
    5019 return 0; 
    5020   ; 
    5021   return 0; 
    5022 } 
    5023 _ACEOF 
    5024 rm -f conftest.$ac_objext 
    5025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5026   (eval $ac_compile) 2>conftest.er1 
    5027   ac_status=$? 
    5028   grep -v '^ *+' conftest.er1 >conftest.err 
    5029   rm -f conftest.er1 
    5030   cat conftest.err >&5 
    5031   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5032   (exit $ac_status); } && 
    5033          { ac_try='test -z "$ac_c_werror_flag" 
    5034                          || test ! -s conftest.err' 
    5035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5036   (eval $ac_try) 2>&5 
    5037   ac_status=$? 
    5038   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5039   (exit $ac_status); }; } && 
    5040          { ac_try='test -s conftest.$ac_objext' 
    5041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5042   (eval $ac_try) 2>&5 
    5043   ac_status=$? 
    5044   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5045   (exit $ac_status); }; }; then 
    5046   ac_cv_member_struct_sockaddr_in_sin_len=yes 
    5047 else 
    5048   echo "$as_me: failed program was:" >&5 
    5049 sed 's/^/| /' conftest.$ac_ext >&5 
    5050  
    5051 ac_cv_member_struct_sockaddr_in_sin_len=no 
    5052 fi 
    5053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5054 fi 
    5055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5056 fi 
    5057 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 
    5058 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6 
    5059 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then 
    5060  
    5061 cat >>confdefs.h <<_ACEOF 
    5062 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 
    5063 _ACEOF 
    5064  
    5065  
    5066 fi 
    5067 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_len" >&5 
    5068 echo $ECHO_N "checking for struct sockaddr_in6.sin6_len... $ECHO_C" >&6 
    5069 if test "${ac_cv_member_struct_sockaddr_in6_sin6_len+set}" = set; then 
    5070   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5071 else 
    5072   cat >conftest.$ac_ext <<_ACEOF 
    5073 /* confdefs.h.  */ 
    5074 _ACEOF 
    5075 cat confdefs.h >>conftest.$ac_ext 
    5076 cat >>conftest.$ac_ext <<_ACEOF 
    5077 /* end confdefs.h.  */ 
    5078  
    5079         #include <sys/types.h> 
    5080         #include <sys/socket.h> 
    5081         #include <netinet/in.h> 
    5082         #include <netdb.h> 
    5083  
    5084  
    5085 int 
    5086 main () 
    5087 { 
    5088 static struct sockaddr_in6 ac_aggr; 
    5089 if (ac_aggr.sin6_len) 
    5090 return 0; 
    5091   ; 
    5092   return 0; 
    5093 } 
    5094 _ACEOF 
    5095 rm -f conftest.$ac_objext 
    5096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5097   (eval $ac_compile) 2>conftest.er1 
    5098   ac_status=$? 
    5099   grep -v '^ *+' conftest.er1 >conftest.err 
    5100   rm -f conftest.er1 
    5101   cat conftest.err >&5 
    5102   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5103   (exit $ac_status); } && 
    5104          { ac_try='test -z "$ac_c_werror_flag" 
    5105                          || test ! -s conftest.err' 
    5106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5107   (eval $ac_try) 2>&5 
    5108   ac_status=$? 
    5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5110   (exit $ac_status); }; } && 
    5111          { ac_try='test -s conftest.$ac_objext' 
    5112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5113   (eval $ac_try) 2>&5 
    5114   ac_status=$? 
    5115   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5116   (exit $ac_status); }; }; then 
    5117   ac_cv_member_struct_sockaddr_in6_sin6_len=yes 
    5118 else 
    5119   echo "$as_me: failed program was:" >&5 
    5120 sed 's/^/| /' conftest.$ac_ext >&5 
    5121  
    5122 cat >conftest.$ac_ext <<_ACEOF 
    5123 /* confdefs.h.  */ 
    5124 _ACEOF 
    5125 cat confdefs.h >>conftest.$ac_ext 
    5126 cat >>conftest.$ac_ext <<_ACEOF 
    5127 /* end confdefs.h.  */ 
    5128  
    5129         #include <sys/types.h> 
    5130         #include <sys/socket.h> 
    5131         #include <netinet/in.h> 
    5132         #include <netdb.h> 
    5133  
    5134  
    5135 int 
    5136 main () 
    5137 { 
    5138 static struct sockaddr_in6 ac_aggr; 
    5139 if (sizeof ac_aggr.sin6_len) 
    5140 return 0; 
    5141   ; 
    5142   return 0; 
    5143 } 
    5144 _ACEOF 
    5145 rm -f conftest.$ac_objext 
    5146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5147   (eval $ac_compile) 2>conftest.er1 
    5148   ac_status=$? 
    5149   grep -v '^ *+' conftest.er1 >conftest.err 
    5150   rm -f conftest.er1 
    5151   cat conftest.err >&5 
    5152   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5153   (exit $ac_status); } && 
    5154          { ac_try='test -z "$ac_c_werror_flag" 
    5155                          || test ! -s conftest.err' 
    5156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5157   (eval $ac_try) 2>&5 
    5158   ac_status=$? 
    5159   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5160   (exit $ac_status); }; } && 
    5161          { ac_try='test -s conftest.$ac_objext' 
    5162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5163   (eval $ac_try) 2>&5 
    5164   ac_status=$? 
    5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5166   (exit $ac_status); }; }; then 
    5167   ac_cv_member_struct_sockaddr_in6_sin6_len=yes 
    5168 else 
    5169   echo "$as_me: failed program was:" >&5 
    5170 sed 's/^/| /' conftest.$ac_ext >&5 
    5171  
    5172 ac_cv_member_struct_sockaddr_in6_sin6_len=no 
    5173 fi 
    5174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5175 fi 
    5176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5177 fi 
    5178 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_len" >&5 
    5179 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_len" >&6 
    5180 if test $ac_cv_member_struct_sockaddr_in6_sin6_len = yes; then 
    5181  
    5182 cat >>confdefs.h <<_ACEOF 
    5183 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1 
    5184 _ACEOF 
    5185  
    5186  
    5187 fi 
    5188  
    5189  
    5190  
    51914824####################################################################### 
    51924825# Check for host-specific semantics 
     
    63425975rm -f conftest* 
    63435976fi 
    6344  
    6345  
    6346  
    6347 ####################################################################### 
    6348 # Checks for library functions 
    6349  
    6350 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 
    6351 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 
    6352 if test "${ac_cv_sys_largefile_source+set}" = set; then 
    6353   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6354 else 
    6355   while :; do 
    6356   ac_cv_sys_largefile_source=no 
    6357   cat >conftest.$ac_ext <<_ACEOF 
    6358 /* confdefs.h.  */ 
    6359 _ACEOF 
    6360 cat confdefs.h >>conftest.$ac_ext 
    6361 cat >>conftest.$ac_ext <<_ACEOF 
    6362 /* end confdefs.h.  */ 
    6363 #include <stdio.h> 
    6364 int 
    6365 main () 
    6366 { 
    6367 return !fseeko; 
    6368   ; 
    6369   return 0; 
    6370 } 
    6371 _ACEOF 
    6372 rm -f conftest.$ac_objext 
    6373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6374   (eval $ac_compile) 2>conftest.er1 
    6375   ac_status=$? 
    6376   grep -v '^ *+' conftest.er1 >conftest.err 
    6377   rm -f conftest.er1 
    6378   cat conftest.err >&5 
    6379   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6380   (exit $ac_status); } && 
    6381          { ac_try='test -z "$ac_c_werror_flag" 
    6382                          || test ! -s conftest.err' 
    6383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6384   (eval $ac_try) 2>&5 
    6385   ac_status=$? 
    6386   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6387   (exit $ac_status); }; } && 
    6388          { ac_try='test -s conftest.$ac_objext' 
    6389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6390   (eval $ac_try) 2>&5 
    6391   ac_status=$? 
    6392   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6393   (exit $ac_status); }; }; then 
    6394   break 
    6395 else 
    6396   echo "$as_me: failed program was:" >&5 
    6397 sed 's/^/| /' conftest.$ac_ext >&5 
    6398  
    6399 fi 
    6400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6401   cat >conftest.$ac_ext <<_ACEOF 
    6402 /* confdefs.h.  */ 
    6403 _ACEOF 
    6404 cat confdefs.h >>conftest.$ac_ext 
    6405 cat >>conftest.$ac_ext <<_ACEOF 
    6406 /* end confdefs.h.  */ 
    6407 #define _LARGEFILE_SOURCE 1 
    6408 #include <stdio.h> 
    6409 int 
    6410 main () 
    6411 { 
    6412 return !fseeko; 
    6413   ; 
    6414   return 0; 
    6415 } 
    6416 _ACEOF 
    6417 rm -f conftest.$ac_objext 
    6418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6419   (eval $ac_compile) 2>conftest.er1 
    6420   ac_status=$? 
    6421   grep -v '^ *+' conftest.er1 >conftest.err 
    6422   rm -f conftest.er1 
    6423   cat conftest.err >&5 
    6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6425   (exit $ac_status); } && 
    6426          { ac_try='test -z "$ac_c_werror_flag" 
    6427                          || test ! -s conftest.err' 
    6428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6429   (eval $ac_try) 2>&5 
    6430   ac_status=$? 
    6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6432   (exit $ac_status); }; } && 
    6433          { ac_try='test -s conftest.$ac_objext' 
    6434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6435   (eval $ac_try) 2>&5 
    6436   ac_status=$? 
    6437   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6438   (exit $ac_status); }; }; then 
    6439   ac_cv_sys_largefile_source=1; break 
    6440 else 
    6441   echo "$as_me: failed program was:" >&5 
    6442 sed 's/^/| /' conftest.$ac_ext >&5 
    6443  
    6444 fi 
    6445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6446   break 
    6447 done 
    6448 fi 
    6449 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 
    6450 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 
    6451 if test "$ac_cv_sys_largefile_source" != no; then 
    6452  
    6453 cat >>confdefs.h <<_ACEOF 
    6454 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 
    6455 _ACEOF 
    6456  
    6457 fi 
    6458 rm -f conftest* 
    6459  
    6460 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 
    6461 # in glibc 2.1.3, but that breaks too many other things. 
    6462 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 
    6463 echo "$as_me:$LINENO: checking for fseeko" >&5 
    6464 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 
    6465 if test "${ac_cv_func_fseeko+set}" = set; then 
    6466   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6467 else 
    6468   cat >conftest.$ac_ext <<_ACEOF 
    6469 /* confdefs.h.  */ 
    6470 _ACEOF 
    6471 cat confdefs.h >>conftest.$ac_ext 
    6472 cat >>conftest.$ac_ext <<_ACEOF 
    6473 /* end confdefs.h.  */ 
    6474 #include <stdio.h> 
    6475 int 
    6476 main () 
    6477 { 
    6478 return fseeko && fseeko (stdin, 0, 0); 
    6479   ; 
    6480   return 0; 
    6481 } 
    6482 _ACEOF 
    6483 rm -f conftest.$ac_objext conftest$ac_exeext 
    6484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    6485   (eval $ac_link) 2>conftest.er1 
    6486   ac_status=$? 
    6487   grep -v '^ *+' conftest.er1 >conftest.err 
    6488   rm -f conftest.er1 
    6489   cat conftest.err >&5 
    6490   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6491   (exit $ac_status); } && 
    6492          { ac_try='test -z "$ac_c_werror_flag" 
    6493                          || test ! -s conftest.err' 
    6494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6495   (eval $ac_try) 2>&5 
    6496   ac_status=$? 
    6497   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6498   (exit $ac_status); }; } && 
    6499          { ac_try='test -s conftest$ac_exeext' 
    6500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6501   (eval $ac_try) 2>&5 
    6502   ac_status=$? 
    6503   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6504   (exit $ac_status); }; }; then 
    6505   ac_cv_func_fseeko=yes 
    6506 else 
    6507   echo "$as_me: failed program was:" >&5 
    6508 sed 's/^/| /' conftest.$ac_ext >&5 
    6509  
    6510 ac_cv_func_fseeko=no 
    6511 fi 
    6512 rm -f conftest.err conftest.$ac_objext \ 
    6513       conftest$ac_exeext conftest.$ac_ext 
    6514 fi 
    6515 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 
    6516 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 
    6517 if test $ac_cv_func_fseeko = yes; then 
    6518  
    6519 cat >>confdefs.h <<\_ACEOF 
    6520 #define HAVE_FSEEKO 1 
    6521 _ACEOF 
    6522  
    6523 fi 
    6524  
    6525  
    6526 for ac_func in  \ 
    6527         setproctitle \ 
    6528  
    6529 do 
    6530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
    6531 echo "$as_me:$LINENO: checking for $ac_func" >&5 
    6532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
    6533 if eval "test \"\${$as_ac_var+set}\" = set"; then 
    6534   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6535 else 
    6536   cat >conftest.$ac_ext <<_ACEOF 
    6537 /* confdefs.h.  */ 
    6538 _ACEOF 
    6539 cat confdefs.h >>conftest.$ac_ext 
    6540 cat >>conftest.$ac_ext <<_ACEOF 
    6541 /* end confdefs.h.  */ 
    6542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 
    6543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ 
    6544 #define $ac_func innocuous_$ac_func 
    6545  
    6546 /* System header to define __stub macros and hopefully few prototypes, 
    6547     which can conflict with char $ac_func (); below. 
    6548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6549     <limits.h> exists even on freestanding compilers.  */ 
    6550  
    6551 #ifdef __STDC__ 
    6552 # include <limits.h> 
    6553 #else 
    6554 # include <assert.h> 
    6555 #endif 
    6556  
    6557 #undef $ac_func 
    6558  
    6559 /* Override any gcc2 internal prototype to avoid an error.  */ 
    6560 #ifdef __cplusplus 
    6561 extern "C" 
    6562 { 
    6563 #endif 
    6564 /* We use char because int might match the return type of a gcc2 
    6565    builtin and then its argument prototype would still apply.  */ 
    6566 char $ac_func (); 
    6567 /* The GNU C library defines this for functions which it implements 
    6568     to always fail with ENOSYS.  Some functions are actually named 
    6569     something starting with __ and the normal name is an alias.  */ 
    6570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
    6571 choke me 
    6572 #else 
    6573 char (*f) () = $ac_func; 
    6574 #endif 
    6575 #ifdef __cplusplus 
    6576 } 
    6577 #endif 
    6578  
    6579 int 
    6580 main () 
    6581 { 
    6582 return f != $ac_func; 
    6583   ; 
    6584   return 0; 
    6585 } 
    6586 _ACEOF 
    6587 rm -f conftest.$ac_objext conftest$ac_exeext 
    6588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    6589   (eval $ac_link) 2>conftest.er1 
    6590   ac_status=$? 
    6591   grep -v '^ *+' conftest.er1 >conftest.err 
    6592   rm -f conftest.er1 
    6593   cat conftest.err >&5 
    6594   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6595   (exit $ac_status); } && 
    6596          { ac_try='test -z "$ac_c_werror_flag" 
    6597                          || test ! -s conftest.err' 
    6598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6599   (eval $ac_try) 2>&5 
    6600   ac_status=$? 
    6601   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6602   (exit $ac_status); }; } && 
    6603          { ac_try='test -s conftest$ac_exeext' 
    6604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6605   (eval $ac_try) 2>&5 
    6606   ac_status=$? 
    6607   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6608   (exit $ac_status); }; }; then 
    6609   eval "$as_ac_var=yes" 
    6610 else 
    6611   echo "$as_me: failed program was:" >&5 
    6612 sed 's/^/| /' conftest.$ac_ext >&5 
    6613  
    6614 eval "$as_ac_var=no" 
    6615 fi 
    6616 rm -f conftest.err conftest.$ac_objext \ 
    6617       conftest$ac_exeext conftest.$ac_ext 
    6618 fi 
    6619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
    6620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
    6621 if test `eval echo '${'$as_ac_var'}'` = yes; then 
    6622   cat >>confdefs.h <<_ACEOF 
    6623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
    6624 _ACEOF 
    6625  
    6626 fi 
    6627 done 
    66285977 
    66295978 
  • trackerd/trunk/configure.in

    r4010 r4013  
    267267AC_CHECK_HEADERS([CoreServices/CoreServices.h], [ 
    268268        LIBS="$LIBS -framework CoreServices -framework Carbon" 
    269 ]) 
    270  
    271  
    272 # Check if the sockaddr structs have length members 
    273 AC_CHECK_MEMBERS([struct sockaddr.sa_len, struct sockaddr_in.sin_len, struct sockaddr_in6.sin6_len], [], [], [ 
    274         #include <sys/types.h> 
    275         #include <sys/socket.h> 
    276         #include <netinet/in.h> 
    277         #include <netdb.h> 
    278269]) 
    279270 
     
    393384 
    394385####################################################################### 
    395 # Checks for library functions 
    396  
    397 AC_FUNC_FSEEKO 
    398 AC_CHECK_FUNCS([ \ 
    399         setproctitle \ 
    400 ]) 
    401  
    402  
    403 ####################################################################### 
    404386# Output 
    405387