source:
rtems-tools/tools/4.11/ntp/rtems-ntp-4.2.6p5.diff
@
f25fed3
Last change on this file since f25fed3 was f25fed3, checked in by Chris Johns <chrisj@…>, on 06/16/14 at 03:11:28 | |
---|---|
|
|
File size: 41.2 KB |
-
ntp-4.2.6p5
Only in ntp-4.2.6p5: autom4te.cache diff -rwu ntp-4.2.6p5.orig/configure ntp-4.2.6p5/configure
old new 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 8for ntp 4.2.6p5.3 # Generated by GNU Autoconf 2.69 for ntp 4.2.6p5. 4 4 # 5 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 7 # 10 8 # 11 9 # This configure script is free software; the Free Software Foundation … … 134 132 # CDPATH. 135 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 137 160 if test "x$CONFIG_SHELL" = x; then 138 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 162 emulate sh … … 167 190 else 168 191 exitcode=1; echo positional parameters were not saved. 169 192 fi 170 test x\$exitcode = x0 || exit 1" 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 171 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && … … 220 244 221 245 222 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 223 248 # We cannot yet assume a decent shell, so we have to provide a 224 249 # neutralization value for shells without unset; and this also 225 250 # works around shells that cannot unset nonexistent variables. … … 227 252 BASH_ENV=/dev/null 228 253 ENV=/dev/null 229 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 230 export CONFIG_SHELL231 255 case $- in # (((( 232 256 *v*x* | *x*v* ) as_opts=-vx ;; 233 257 *v* ) as_opts=-v ;; 234 258 *x* ) as_opts=-x ;; 235 259 * ) as_opts= ;; 236 260 esac 237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 238 266 fi 239 267 240 268 if test x$as_have_required = xno; then : … … 336 364 337 365 338 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 339 375 # as_fn_append VAR VALUE 340 376 # ---------------------- 341 377 # Append the text in VALUE to the end of the definition contained in VAR. Take … … 457 493 chmod +x "$as_me.lineno" || 458 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 459 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 460 500 # Don't try to exec as it changes $[0], causing all sort of problems 461 501 # (the dirname of $[0] is not the place where we might find the 462 502 # original and so on. Autoconf is especially sensitive to this). … … 491 531 # ... but there are two gotchas: 492 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 493 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 494 # In both cases, we have to default to `cp -p '.534 # In both cases, we have to default to `cp -pR'. 495 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 496 as_ln_s='cp -p '536 as_ln_s='cp -pR' 497 537 elif ln conf$$.file conf$$ 2>/dev/null; then 498 538 as_ln_s=ln 499 539 else 500 as_ln_s='cp -p '540 as_ln_s='cp -pR' 501 541 fi 502 542 else 503 as_ln_s='cp -p '543 as_ln_s='cp -pR' 504 544 fi 505 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 506 546 rmdir conf$$.dir 2>/dev/null … … 512 552 as_mkdir_p=false 513 553 fi 514 554 515 if test -x / >/dev/null 2>&1; then516 555 as_test_x='test -x' 517 else 518 if ls -dL / >/dev/null 2>&1; then 519 as_ls_L_option=L 520 else 521 as_ls_L_option= 522 fi 523 as_test_x=' 524 eval sh -c '\'' 525 if test -d "$1"; then 526 test -d "$1/."; 527 else 528 case $1 in #( 529 -*)set "./$1";; 530 esac; 531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 532 ???[sx]*):;;*)false;;esac;fi 533 '\'' sh 534 ' 535 fi 536 as_executable_p=$as_test_x 556 as_executable_p=as_fn_executable_p 537 557 538 558 # Sed expression to map a string onto a valid CPP name. 539 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" … … 1341 1361 if test "x$host_alias" != x; then 1342 1362 if test "x$build_alias" = x; then 1343 1363 cross_compiling=maybe 1344 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.1345 If a cross compiler is detected then cross compile mode will be used" >&21346 1364 elif test "x$build_alias" != "x$host_alias"; then 1347 1365 cross_compiling=yes 1348 1366 fi … … 1705 1723 if $ac_init_version; then 1706 1724 cat <<\_ACEOF 1707 1725 ntp configure 4.2.6p5 1708 generated by GNU Autoconf 2.6 81726 generated by GNU Autoconf 2.69 1709 1727 1710 Copyright (C) 201 0Free Software Foundation, Inc.1728 Copyright (C) 2012 Free Software Foundation, Inc. 1711 1729 This configure script is free software; the Free Software Foundation 1712 1730 gives unlimited permission to copy, distribute and modify it. 1713 1731 _ACEOF … … 1980 1998 test ! -s conftest.err 1981 1999 } && test -s conftest$ac_exeext && { 1982 2000 test "$cross_compiling" = yes || 1983 $as_test_x conftest$ac_exeext2001 test -x conftest$ac_exeext 1984 2002 }; then : 1985 2003 ac_retval=0 1986 2004 else … … 2070 2088 main () 2071 2089 { 2072 2090 static int test_array [1 - 2 * !(($2) >= 0)]; 2073 test_array [0] = 0 2091 test_array [0] = 0; 2092 return test_array [0]; 2074 2093 2075 2094 ; 2076 2095 return 0; … … 2086 2105 main () 2087 2106 { 2088 2107 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2089 test_array [0] = 0 2108 test_array [0] = 0; 2109 return test_array [0]; 2090 2110 2091 2111 ; 2092 2112 return 0; … … 2112 2132 main () 2113 2133 { 2114 2134 static int test_array [1 - 2 * !(($2) < 0)]; 2115 test_array [0] = 0 2135 test_array [0] = 0; 2136 return test_array [0]; 2116 2137 2117 2138 ; 2118 2139 return 0; … … 2128 2149 main () 2129 2150 { 2130 2151 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2131 test_array [0] = 0 2152 test_array [0] = 0; 2153 return test_array [0]; 2132 2154 2133 2155 ; 2134 2156 return 0; … … 2162 2184 main () 2163 2185 { 2164 2186 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2165 test_array [0] = 0 2187 test_array [0] = 0; 2188 return test_array [0]; 2166 2189 2167 2190 ; 2168 2191 return 0; … … 2359 2382 running configure, to aid debugging if configure makes a mistake. 2360 2383 2361 2384 It was created by ntp $as_me 4.2.6p5, which was 2362 generated by GNU Autoconf 2.6 8. Invocation command line was2385 generated by GNU Autoconf 2.69. Invocation command line was 2363 2386 2364 2387 $ $0 $@ 2365 2388 … … 2899 2922 # by default. 2900 2923 for ac_prog in ginstall scoinst install; do 2901 2924 for ac_exec_ext in '' $ac_executable_extensions; do 2902 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2925 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2903 2926 if test $ac_prog = install && 2904 2927 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2905 2928 # AIX install. It has an incompatible calling convention. … … 3068 3091 IFS=$as_save_IFS 3069 3092 test -z "$as_dir" && as_dir=. 3070 3093 for ac_exec_ext in '' $ac_executable_extensions; do 3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3072 3095 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3073 3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3074 3097 break 2 … … 3108 3131 IFS=$as_save_IFS 3109 3132 test -z "$as_dir" && as_dir=. 3110 3133 for ac_exec_ext in '' $ac_executable_extensions; do 3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3112 3135 ac_cv_prog_ac_ct_STRIP="strip" 3113 3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3114 3137 break 2 … … 3159 3182 test -z "$as_dir" && as_dir=. 3160 3183 for ac_prog in mkdir gmkdir; do 3161 3184 for ac_exec_ext in '' $ac_executable_extensions; do 3162 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }|| continue3185 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3163 3186 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3164 3187 'mkdir (GNU coreutils) '* | \ 3165 3188 'mkdir (coreutils) '* | \ … … 3212 3235 IFS=$as_save_IFS 3213 3236 test -z "$as_dir" && as_dir=. 3214 3237 for ac_exec_ext in '' $ac_executable_extensions; do 3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3216 3239 ac_cv_prog_AWK="$ac_prog" 3217 3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3218 3241 break 2 … … 3507 3530 IFS=$as_save_IFS 3508 3531 test -z "$as_dir" && as_dir=. 3509 3532 for ac_exec_ext in '' $ac_executable_extensions; do 3510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3511 3534 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3512 3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3513 3536 break 2 … … 3547 3570 IFS=$as_save_IFS 3548 3571 test -z "$as_dir" && as_dir=. 3549 3572 for ac_exec_ext in '' $ac_executable_extensions; do 3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3551 3574 ac_cv_prog_ac_ct_CC="gcc" 3552 3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3553 3576 break 2 … … 3600 3623 IFS=$as_save_IFS 3601 3624 test -z "$as_dir" && as_dir=. 3602 3625 for ac_exec_ext in '' $ac_executable_extensions; do 3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3604 3627 ac_cv_prog_CC="${ac_tool_prefix}cc" 3605 3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3606 3629 break 2 … … 3641 3664 IFS=$as_save_IFS 3642 3665 test -z "$as_dir" && as_dir=. 3643 3666 for ac_exec_ext in '' $ac_executable_extensions; do 3644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3645 3668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3646 3669 ac_prog_rejected=yes 3647 3670 continue … … 3699 3722 IFS=$as_save_IFS 3700 3723 test -z "$as_dir" && as_dir=. 3701 3724 for ac_exec_ext in '' $ac_executable_extensions; do 3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3703 3726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3704 3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3705 3728 break 2 … … 3743 3766 IFS=$as_save_IFS 3744 3767 test -z "$as_dir" && as_dir=. 3745 3768 for ac_exec_ext in '' $ac_executable_extensions; do 3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3747 3770 ac_cv_prog_ac_ct_CC="$ac_prog" 3748 3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3749 3772 break 2 … … 4189 4212 /* end confdefs.h. */ 4190 4213 #include <stdarg.h> 4191 4214 #include <stdio.h> 4192 #include <sys/types.h> 4193 #include <sys/stat.h> 4215 struct stat; 4194 4216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4195 4217 struct buf { int x; }; 4196 4218 FILE * (*rcsopen) (struct buf *, struct stat *, int); … … 4557 4579 for ac_prog in grep ggrep; do 4558 4580 for ac_exec_ext in '' $ac_executable_extensions; do 4559 4581 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4560 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; }|| continue4582 as_fn_executable_p "$ac_path_GREP" || continue 4561 4583 # Check for GNU ac_path_GREP and select it if it is found. 4562 4584 # Check for GNU $ac_path_GREP 4563 4585 case `"$ac_path_GREP" --version 2>&1` in … … 4623 4645 for ac_prog in egrep; do 4624 4646 for ac_exec_ext in '' $ac_executable_extensions; do 4625 4647 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4626 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; }|| continue4648 as_fn_executable_p "$ac_path_EGREP" || continue 4627 4649 # Check for GNU ac_path_EGREP and select it if it is found. 4628 4650 # Check for GNU $ac_path_EGREP 4629 4651 case `"$ac_path_EGREP" --version 2>&1` in … … 4920 4942 IFS=$as_save_IFS 4921 4943 test -z "$as_dir" && as_dir=. 4922 4944 for ac_exec_ext in '' $ac_executable_extensions; do 4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4924 4946 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4925 4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4926 4948 break 2 … … 4960 4982 IFS=$as_save_IFS 4961 4983 test -z "$as_dir" && as_dir=. 4962 4984 for ac_exec_ext in '' $ac_executable_extensions; do 4963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4964 4986 ac_cv_prog_ac_ct_CC="gcc" 4965 4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4966 4988 break 2 … … 5013 5035 IFS=$as_save_IFS 5014 5036 test -z "$as_dir" && as_dir=. 5015 5037 for ac_exec_ext in '' $ac_executable_extensions; do 5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5017 5039 ac_cv_prog_CC="${ac_tool_prefix}cc" 5018 5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5019 5041 break 2 … … 5054 5076 IFS=$as_save_IFS 5055 5077 test -z "$as_dir" && as_dir=. 5056 5078 for ac_exec_ext in '' $ac_executable_extensions; do 5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5058 5080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5059 5081 ac_prog_rejected=yes 5060 5082 continue … … 5112 5134 IFS=$as_save_IFS 5113 5135 test -z "$as_dir" && as_dir=. 5114 5136 for ac_exec_ext in '' $ac_executable_extensions; do 5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5116 5138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5117 5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5118 5140 break 2 … … 5156 5178 IFS=$as_save_IFS 5157 5179 test -z "$as_dir" && as_dir=. 5158 5180 for ac_exec_ext in '' $ac_executable_extensions; do 5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5160 5182 ac_cv_prog_ac_ct_CC="$ac_prog" 5161 5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5162 5184 break 2 … … 5352 5374 /* end confdefs.h. */ 5353 5375 #include <stdarg.h> 5354 5376 #include <stdio.h> 5355 #include <sys/types.h> 5356 #include <sys/stat.h> 5377 struct stat; 5357 5378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5358 5379 struct buf { int x; }; 5359 5380 FILE * (*rcsopen) (struct buf *, struct stat *, int); … … 5848 5869 IFS=$as_save_IFS 5849 5870 test -z "$as_dir" && as_dir=. 5850 5871 for ac_exec_ext in '' $ac_executable_extensions; do 5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5852 5873 ac_cv_prog_YACC="$ac_prog" 5853 5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5854 5875 break 2 … … 6030 6051 return 0; 6031 6052 } 6032 6053 _ACEOF 6033 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 - xc99=all-qlanglvl=extc996054 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 6034 6055 do 6035 6056 CC="$ac_save_CC $ac_arg" 6036 6057 if ac_fn_c_try_compile "$LINENO"; then : … … 6070 6091 /* end confdefs.h. */ 6071 6092 #include <stdarg.h> 6072 6093 #include <stdio.h> 6073 #include <sys/types.h> 6074 #include <sys/stat.h> 6094 struct stat; 6075 6095 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 6076 6096 struct buf { int x; }; 6077 6097 FILE * (*rcsopen) (struct buf *, struct stat *, int); … … 7266 7286 for ac_prog in sed gsed; do 7267 7287 for ac_exec_ext in '' $ac_executable_extensions; do 7268 7288 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 7269 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; }|| continue7289 as_fn_executable_p "$ac_path_SED" || continue 7270 7290 # Check for GNU ac_path_SED and select it if it is found. 7271 7291 # Check for GNU $ac_path_SED 7272 7292 case `"$ac_path_SED" --version 2>&1` in … … 7887 7907 IFS=$as_save_IFS 7888 7908 test -z "$as_dir" && as_dir=. 7889 7909 for ac_exec_ext in '' $ac_executable_extensions; do 7890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7891 7911 ac_cv_prog_AWK="$ac_prog" 7892 7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7893 7913 break 2 … … 8118 8138 for ac_prog in sed gsed; do 8119 8139 for ac_exec_ext in '' $ac_executable_extensions; do 8120 8140 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 8121 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; }|| continue8141 as_fn_executable_p "$ac_path_SED" || continue 8122 8142 # Check for GNU ac_path_SED and select it if it is found. 8123 8143 # Check for GNU $ac_path_SED 8124 8144 case `"$ac_path_SED" --version 2>&1` in … … 8197 8217 for ac_prog in fgrep; do 8198 8218 for ac_exec_ext in '' $ac_executable_extensions; do 8199 8219 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 8200 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; }|| continue8220 as_fn_executable_p "$ac_path_FGREP" || continue 8201 8221 # Check for GNU ac_path_FGREP and select it if it is found. 8202 8222 # Check for GNU $ac_path_FGREP 8203 8223 case `"$ac_path_FGREP" --version 2>&1` in … … 8453 8473 IFS=$as_save_IFS 8454 8474 test -z "$as_dir" && as_dir=. 8455 8475 for ac_exec_ext in '' $ac_executable_extensions; do 8456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8457 8477 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 8458 8478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8459 8479 break 2 … … 8497 8517 IFS=$as_save_IFS 8498 8518 test -z "$as_dir" && as_dir=. 8499 8519 for ac_exec_ext in '' $ac_executable_extensions; do 8500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8501 8521 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 8502 8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8503 8523 break 2 … … 8916 8936 IFS=$as_save_IFS 8917 8937 test -z "$as_dir" && as_dir=. 8918 8938 for ac_exec_ext in '' $ac_executable_extensions; do 8919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8920 8940 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 8921 8941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8922 8942 break 2 … … 8956 8976 IFS=$as_save_IFS 8957 8977 test -z "$as_dir" && as_dir=. 8958 8978 for ac_exec_ext in '' $ac_executable_extensions; do 8959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then8979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8960 8980 ac_cv_prog_ac_ct_OBJDUMP="objdump" 8961 8981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8962 8982 break 2 … … 9262 9282 IFS=$as_save_IFS 9263 9283 test -z "$as_dir" && as_dir=. 9264 9284 for ac_exec_ext in '' $ac_executable_extensions; do 9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9266 9286 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 9267 9287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9268 9288 break 2 … … 9302 9322 IFS=$as_save_IFS 9303 9323 test -z "$as_dir" && as_dir=. 9304 9324 for ac_exec_ext in '' $ac_executable_extensions; do 9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9306 9326 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 9307 9327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9308 9328 break 2 … … 9405 9425 IFS=$as_save_IFS 9406 9426 test -z "$as_dir" && as_dir=. 9407 9427 for ac_exec_ext in '' $ac_executable_extensions; do 9408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9409 9429 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 9410 9430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9411 9431 break 2 … … 9449 9469 IFS=$as_save_IFS 9450 9470 test -z "$as_dir" && as_dir=. 9451 9471 for ac_exec_ext in '' $ac_executable_extensions; do 9452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9453 9473 ac_cv_prog_ac_ct_AR="$ac_prog" 9454 9474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9455 9475 break 2 … … 9574 9594 IFS=$as_save_IFS 9575 9595 test -z "$as_dir" && as_dir=. 9576 9596 for ac_exec_ext in '' $ac_executable_extensions; do 9577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9578 9598 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 9579 9599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9580 9600 break 2 … … 9614 9634 IFS=$as_save_IFS 9615 9635 test -z "$as_dir" && as_dir=. 9616 9636 for ac_exec_ext in '' $ac_executable_extensions; do 9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9618 9638 ac_cv_prog_ac_ct_STRIP="strip" 9619 9639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9620 9640 break 2 … … 9673 9693 IFS=$as_save_IFS 9674 9694 test -z "$as_dir" && as_dir=. 9675 9695 for ac_exec_ext in '' $ac_executable_extensions; do 9676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9677 9697 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 9678 9698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9679 9699 break 2 … … 9713 9733 IFS=$as_save_IFS 9714 9734 test -z "$as_dir" && as_dir=. 9715 9735 for ac_exec_ext in '' $ac_executable_extensions; do 9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then9736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9717 9737 ac_cv_prog_ac_ct_RANLIB="ranlib" 9718 9738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9719 9739 break 2 … … 10348 10368 IFS=$as_save_IFS 10349 10369 test -z "$as_dir" && as_dir=. 10350 10370 for ac_exec_ext in '' $ac_executable_extensions; do 10351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10352 10372 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 10353 10373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10354 10374 break 2 … … 10388 10408 IFS=$as_save_IFS 10389 10409 test -z "$as_dir" && as_dir=. 10390 10410 for ac_exec_ext in '' $ac_executable_extensions; do 10391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10392 10412 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 10393 10413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10394 10414 break 2 … … 10468 10488 IFS=$as_save_IFS 10469 10489 test -z "$as_dir" && as_dir=. 10470 10490 for ac_exec_ext in '' $ac_executable_extensions; do 10471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10472 10492 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 10473 10493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10474 10494 break 2 … … 10508 10528 IFS=$as_save_IFS 10509 10529 test -z "$as_dir" && as_dir=. 10510 10530 for ac_exec_ext in '' $ac_executable_extensions; do 10511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10512 10532 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 10513 10533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10514 10534 break 2 … … 10560 10580 IFS=$as_save_IFS 10561 10581 test -z "$as_dir" && as_dir=. 10562 10582 for ac_exec_ext in '' $ac_executable_extensions; do 10563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10564 10584 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 10565 10585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10566 10586 break 2 … … 10600 10620 IFS=$as_save_IFS 10601 10621 test -z "$as_dir" && as_dir=. 10602 10622 for ac_exec_ext in '' $ac_executable_extensions; do 10603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10604 10624 ac_cv_prog_ac_ct_NMEDIT="nmedit" 10605 10625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10606 10626 break 2 … … 10652 10672 IFS=$as_save_IFS 10653 10673 test -z "$as_dir" && as_dir=. 10654 10674 for ac_exec_ext in '' $ac_executable_extensions; do 10655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10656 10676 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 10657 10677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10658 10678 break 2 … … 10692 10712 IFS=$as_save_IFS 10693 10713 test -z "$as_dir" && as_dir=. 10694 10714 for ac_exec_ext in '' $ac_executable_extensions; do 10695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10696 10716 ac_cv_prog_ac_ct_LIPO="lipo" 10697 10717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10698 10718 break 2 … … 10744 10764 IFS=$as_save_IFS 10745 10765 test -z "$as_dir" && as_dir=. 10746 10766 for ac_exec_ext in '' $ac_executable_extensions; do 10747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10748 10768 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 10749 10769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10750 10770 break 2 … … 10784 10804 IFS=$as_save_IFS 10785 10805 test -z "$as_dir" && as_dir=. 10786 10806 for ac_exec_ext in '' $ac_executable_extensions; do 10787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10788 10808 ac_cv_prog_ac_ct_OTOOL="otool" 10789 10809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10790 10810 break 2 … … 10836 10856 IFS=$as_save_IFS 10837 10857 test -z "$as_dir" && as_dir=. 10838 10858 for ac_exec_ext in '' $ac_executable_extensions; do 10839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10840 10860 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 10841 10861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10842 10862 break 2 … … 10876 10896 IFS=$as_save_IFS 10877 10897 test -z "$as_dir" && as_dir=. 10878 10898 for ac_exec_ext in '' $ac_executable_extensions; do 10879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then10899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 10880 10900 ac_cv_prog_ac_ct_OTOOL64="otool64" 10881 10901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10882 10902 break 2 … … 15194 15214 IFS=$as_save_IFS 15195 15215 test -z "$as_dir" && as_dir=. 15196 15216 for ac_exec_ext in '' $ac_executable_extensions; do 15197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then15217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15198 15218 ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext" 15199 15219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15200 15220 break 2 … … 15234 15254 IFS=$as_save_IFS 15235 15255 test -z "$as_dir" && as_dir=. 15236 15256 for ac_exec_ext in '' $ac_executable_extensions; do 15237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then15257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15238 15258 ac_cv_path_PATH_SH="$as_dir/$ac_word$ac_exec_ext" 15239 15259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15240 15260 break 2 … … 15274 15294 IFS=$as_save_IFS 15275 15295 test -z "$as_dir" && as_dir=. 15276 15296 for ac_exec_ext in '' $ac_executable_extensions; do 15277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then15297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15278 15298 ac_cv_path_PATH_TEST="$as_dir/$ac_word$ac_exec_ext" 15279 15299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15280 15300 break 2 … … 15347 15367 IFS=$as_save_IFS 15348 15368 test -z "$as_dir" && as_dir=. 15349 15369 for ac_exec_ext in '' $ac_executable_extensions; do 15350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then15370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15351 15371 ac_cv_path_PATH_NET_SNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15352 15372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15353 15373 break 2 … … 17493 17513 int 17494 17514 main () 17495 17515 { 17496 /* FIXME: Include the comments suggested by Paul. */ 17516 17497 17517 #ifndef __cplusplus 17498 /* Ultrix mips cc rejects this . */17518 /* Ultrix mips cc rejects this sort of thing. */ 17499 17519 typedef int charset[2]; 17500 const charset cs ;17520 const charset cs = { 0, 0 }; 17501 17521 /* SunOS 4.1.1 cc rejects this. */ 17502 17522 char const *const *pcpcc; 17503 17523 char **ppc; … … 17514 17534 ++pcpcc; 17515 17535 ppc = (char**) pcpcc; 17516 17536 pcpcc = (char const *const *) ppc; 17517 { /* SCO 3.2v4 cc rejects this. */ 17518 char *t; 17537 { /* SCO 3.2v4 cc rejects this sort of thing. */ 17538 char tx; 17539 char *t = &tx; 17519 17540 char const *s = 0 ? (char *) 0 : (char const *) 0; 17520 17541 17521 17542 *t++ = 0; … … 17531 17552 iptr p = 0; 17532 17553 ++p; 17533 17554 } 17534 { /* AIX XL C 1.02.0.0 rejects this s aying17555 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 17535 17556 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 17536 struct s { int j; const int *ap[3]; } ;17537 struct s *b ; b->j = 5;17557 struct s { int j; const int *ap[3]; } bx; 17558 struct s *b = &bx; b->j = 5; 17538 17559 } 17539 17560 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 17540 17561 const int foo = 10; … … 18852 18873 main () 18853 18874 { 18854 18875 static int test_array [1 - 2 * !(((char) -1) < 0)]; 18855 test_array [0] = 0 18876 test_array [0] = 0; 18877 return test_array [0]; 18856 18878 18857 18879 ; 18858 18880 return 0; … … 20649 20671 m68k-*-mint*) 20650 20672 ans=no 20651 20673 ;; 20674 *-*-rtems*) 20675 ans=no 20676 ;; 20652 20677 esac 20653 20678 ;; 20654 20679 esac … … 20775 20800 *-*-kfreebsd*) 20776 20801 ans=no 20777 20802 ;; 20803 *-*-rtems*) 20804 ans=no 20805 ;; 20778 20806 *) ans=yes 20779 20807 ;; 20780 20808 esac … … 20842 20870 *-*-kfreebsd*) 20843 20871 ans=no 20844 20872 ;; 20873 *-*-rtems*) 20874 ans=no 20875 ;; 20845 20876 *) ans=yes 20846 20877 ;; 20847 20878 esac … … 23860 23891 23861 23892 esac 23862 23893 23894 case "$host" in 23895 *-*-rtems*) 23896 ntp_cv_make_tickadj=no 23897 ;; 23898 *) 23863 23899 ntp_cv_make_tickadj=yes 23900 ;; 23901 esac 23902 23864 23903 case "$can_kmem$ac_cv_var_tick$default_tickadj" in 23865 23904 nonono) # Don't read KMEM, no presets. Bogus. 23866 23905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem, no PRESET_TICK or PRESET_TICKADJ. No tickadj." >&5 … … 23895 23934 esac 23896 23935 23897 23936 23937 23898 23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want and can make the ntptime utility" >&5 23899 23939 $as_echo_n "checking if we want and can make the ntptime utility... " >&6; } 23900 23940 if ${ac_cv_make_ntptime+:} false; then : … … 23928 23968 # Do not bother 23929 23969 ntp_cv_make_tickadj=no 23930 23970 ;; 23971 *-*-rtems*) 23972 ntp_cv_make_tickadj=no 23973 ;; 23931 23974 *-*-irix*) 23932 23975 ntp_cv_make_tickadj=no 23933 23976 ;; … … 23955 23998 # 23956 23999 { ntp_cv_make_tickadj=; unset ntp_cv_make_tickadj;} 23957 24000 24001 case "$host" in 24002 *-*-rtems*) 24003 ntp_cv_make_tickadj=no 24004 ;; 24005 esac 24006 23958 24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want and can make the tickadj utility" >&5 23959 24008 $as_echo_n "checking if we want and can make the tickadj utility... " >&6; } 23960 24009 if ${ntp_cv_make_tickadj+:} false; then : … … 24614 24663 if ${isc_cv_platform_havesalen+:} false; then : 24615 24664 $as_echo_n "(cached) " >&6 24616 24665 else 24617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24666 case "$host" in 24667 *-*-rtems*) 24668 isc_cv_platform_havesalen=no 24669 ;; 24670 *) cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24618 24671 /* end confdefs.h. */ 24619 24672 24620 24673 #include <sys/types.h> … … 24636 24689 isc_cv_platform_havesalen=yes 24637 24690 else 24638 24691 isc_cv_platform_havesalen=no 24639 24640 24692 fi 24641 24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24694 ;; 24695 esac 24642 24696 24643 24697 fi 24644 24698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_platform_havesalen" >&5 … … 25628 25682 # ... but there are two gotchas: 25629 25683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 25630 25684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 25631 # In both cases, we have to default to `cp -p '.25685 # In both cases, we have to default to `cp -pR'. 25632 25686 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 25633 as_ln_s='cp -p '25687 as_ln_s='cp -pR' 25634 25688 elif ln conf$$.file conf$$ 2>/dev/null; then 25635 25689 as_ln_s=ln 25636 25690 else 25637 as_ln_s='cp -p '25691 as_ln_s='cp -pR' 25638 25692 fi 25639 25693 else 25640 as_ln_s='cp -p '25694 as_ln_s='cp -pR' 25641 25695 fi 25642 25696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 25643 25697 rmdir conf$$.dir 2>/dev/null … … 25697 25751 as_mkdir_p=false 25698 25752 fi 25699 25753 25700 if test -x / >/dev/null 2>&1; then 25754 25755 # as_fn_executable_p FILE 25756 # ----------------------- 25757 # Test if FILE is an executable regular file. 25758 as_fn_executable_p () 25759 { 25760 test -f "$1" && test -x "$1" 25761 } # as_fn_executable_p 25701 25762 as_test_x='test -x' 25702 else 25703 if ls -dL / >/dev/null 2>&1; then 25704 as_ls_L_option=L 25705 else 25706 as_ls_L_option= 25707 fi 25708 as_test_x=' 25709 eval sh -c '\'' 25710 if test -d "$1"; then 25711 test -d "$1/."; 25712 else 25713 case $1 in #( 25714 -*)set "./$1";; 25715 esac; 25716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 25717 ???[sx]*):;;*)false;;esac;fi 25718 '\'' sh 25719 ' 25720 fi 25721 as_executable_p=$as_test_x 25763 as_executable_p=as_fn_executable_p 25722 25764 25723 25765 # Sed expression to map a string onto a valid CPP name. 25724 25766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" … … 25740 25782 # values after options handling. 25741 25783 ac_log=" 25742 25784 This file was extended by ntp $as_me 4.2.6p5, which was 25743 generated by GNU Autoconf 2.6 8. Invocation command line was25785 generated by GNU Autoconf 2.69. Invocation command line was 25744 25786 25745 25787 CONFIG_FILES = $CONFIG_FILES 25746 25788 CONFIG_HEADERS = $CONFIG_HEADERS … … 25806 25848 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 25807 25849 ac_cs_version="\\ 25808 25850 ntp config.status 4.2.6p5 25809 configured by $0, generated by GNU Autoconf 2.6 8,25851 configured by $0, generated by GNU Autoconf 2.69, 25810 25852 with options \\"\$ac_cs_config\\" 25811 25853 25812 Copyright (C) 201 0Free Software Foundation, Inc.25854 Copyright (C) 2012 Free Software Foundation, Inc. 25813 25855 This config.status script is free software; the Free Software Foundation 25814 25856 gives unlimited permission to copy, distribute and modify it." 25815 25857 … … 25900 25942 _ACEOF 25901 25943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25902 25944 if \$ac_cs_recheck; then 25903 set X '$SHELL''$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion25945 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25904 25946 shift 25905 25947 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 25906 25948 CONFIG_SHELL='$SHELL' -
configure.ac
diff -rwu ntp-4.2.6p5.orig/configure.ac ntp-4.2.6p5/configure.ac
old new 2224 2224 m68k-*-mint*) 2225 2225 ans=no 2226 2226 ;; 2227 *-*-rtems*) 2228 ans=no 2229 ;; 2227 2230 esac 2228 2231 ;; 2229 2232 esac … … 2320 2323 *-*-kfreebsd*) 2321 2324 ans=no 2322 2325 ;; 2326 *-*-rtems*) 2327 ans=no 2328 ;; 2323 2329 *) ans=yes 2324 2330 ;; 2325 2331 esac … … 2380 2386 *-*-kfreebsd*) 2381 2387 ans=no 2382 2388 ;; 2389 *-*-rtems*) 2390 ans=no 2391 ;; 2383 2392 *) ans=yes 2384 2393 ;; 2385 2394 esac … … 4646 4655 AC_DEFINE([SCO5_CLOCK], [1], [Do we want the SCO clock hacks?]) 4647 4656 esac 4648 4657 4658 case "$host" in 4659 *-*-rtems*) 4660 ntp_cv_make_tickadj=no 4661 ;; 4662 *) 4649 4663 ntp_cv_make_tickadj=yes 4664 ;; 4665 esac 4666 4650 4667 case "$can_kmem$ac_cv_var_tick$default_tickadj" in 4651 4668 nonono) # Don't read KMEM, no presets. Bogus. 4652 4669 AC_MSG_WARN([Can't read kmem, no PRESET_TICK or PRESET_TICKADJ. No tickadj.]) … … 4676 4693 ;; 4677 4694 esac 4678 4695 4696 4679 4697 AC_SUBST(MAKE_NTPTIME) 4680 4698 AC_CACHE_CHECK([if we want and can make the ntptime utility], ac_cv_make_ntptime, 4681 4699 [case "$host" in … … 4703 4721 # Do not bother 4704 4722 ntp_cv_make_tickadj=no 4705 4723 ;; 4724 *-*-rtems*) 4725 ntp_cv_make_tickadj=no 4726 ;; 4706 4727 *-*-irix*) 4707 4728 ntp_cv_make_tickadj=no 4708 4729 ;; … … 4730 4751 # 4731 4752 AS_UNSET([ntp_cv_make_tickadj]) 4732 4753 4754 case "$host" in 4755 *-*-rtems*) 4756 ntp_cv_make_tickadj=no 4757 ;; 4758 esac 4759 4733 4760 AC_CACHE_CHECK( 4734 4761 [if we want and can make the tickadj utility], 4735 4762 [ntp_cv_make_tickadj], … … 5270 5297 AC_CACHE_CHECK( 5271 5298 [struct sockaddr for sa_len], 5272 5299 [isc_cv_platform_havesalen], 5273 [AC_COMPILE_IFELSE( 5300 [case "$host" in 5301 *-*-rtems*) 5302 isc_cv_platform_havesalen=no 5303 ;; 5304 *) AC_COMPILE_IFELSE( 5274 5305 [AC_LANG_PROGRAM( 5275 5306 [[ 5276 5307 #include <sys/types.h> … … 5282 5313 ]] 5283 5314 )], 5284 5315 [isc_cv_platform_havesalen=yes], 5285 [isc_cv_platform_havesalen=no] 5286 )] 5316 [isc_cv_platform_havesalen=no]) 5317 ;; 5318 esac] 5287 5319 ) 5288 5320 case "$isc_cv_platform_havesalen" in 5289 5321 yes) -
include/ntp_machine.h
diff -rwu ntp-4.2.6p5.orig/include/ntp_machine.h ntp-4.2.6p5/include/ntp_machine.h
old new 243 243 #define __int64 long long 244 244 #endif 245 245 246 /*chrisj Tue June 10 22:03:55 2014*/ 247 #ifdef __rtems__ 248 249 #define TIMEOFDAY 0x0 /* system wide realtime clock */ 250 #define HAVE_GETCLOCK 1 /* configure does not set this ... */ 251 #define HAVE_NO_NICE 1 /* configure does not set this ... */ 252 #define HAVE_RANDOM 1 /* configure does not set this ... */ 253 #define HAVE_SRANDOM 1 /* configure does not set this ... */ 254 255 /* RTEMS specific additions to take care of its 256 * unix (non)complicance 257 */ 258 259 #include <rtems.h> 260 261 #define _getch getchar 262 263 #endif /* RTEMS */ 264 246 265 /*casey Tue May 27 15:45:25 SAT 1997*/ 247 266 #ifdef SYS_VXWORKS 248 267 -
libntp/machines.c
diff -rwu ntp-4.2.6p5.orig/libntp/machines.c ntp-4.2.6p5/libntp/machines.c
old new 526 526 527 527 #endif /* not SYS_WINNT */ 528 528 529 #if defined (SYS_WINNT) || defined (SYS_VXWORKS) || defined(MPE) 529 static int tz_minuteswest; 530 static int tz_dsttime; 531 532 #if __rtems__ 533 #include <rtems.h> 534 #include <rtems/rtems/clock.h> 535 #include <rtems/score/todimpl.h> 536 int settimeofday(const struct timeval *tp, const struct timezone *tpz) 537 { 538 int error = 0; 539 if (tp) { 540 Timestamp_Control tod_as_timestamp; 541 if (tp->tv_usec >= 0 || tp->tv_usec < 1000000) { 542 _Timestamp_Set( &tod_as_timestamp, tp->tv_sec, tp->tv_usec * 1000UL ); 543 // _Thread_Disable_dispatch(); 544 _TOD_Set_with_timestamp( &tod_as_timestamp ); 545 // _Thread_Enable_dispatch(); 546 } 547 else { 548 error = EINVAL; 549 } 550 } 551 if (tpz && error == 0) { 552 tz_minuteswest = tpz->tz_minuteswest; 553 tz_dsttime = tpz->tz_dsttime; 554 } 555 return error; 556 } 557 #endif 558 559 #if defined (SYS_WINNT) || defined (SYS_VXWORKS) || defined(MPE) || defined(__rtems__) 530 560 /* getpass is used in ntpq.c and ntpdc.c */ 531 561 532 562 char *
Note: See TracBrowser
for help on using the repository browser.