##// END OF EJS Templates
Fixed x86_linux regression -> read returns without timeout isn't good at all!...
jeandet@pc-de-jeandet.lpp.polytechnique.fr -
r37:27201139c7da alexis
parent child
Show More
@@ -1,13 +1,11
1 1 @%:@! /bin/sh
2 2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for librs232 2.1.0.
3 @%:@ Generated by GNU Autoconf 2.69 for librs232 2.1.0.
4 4 @%:@
5 5 @%:@ Report bugs to <alexis.jeandet@lpp.polytechnique.fr>.
6 6 @%:@
7 7 @%:@
8 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 @%:@ Foundation, Inc.
8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 9 @%:@
12 10 @%:@
13 11 @%:@ This configure script is free software; the Free Software Foundation
@@ -136,6 +134,31 export LANGUAGE
136 134 # CDPATH.
137 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in @%:@ ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
139 162 if test "x$CONFIG_SHELL" = x; then
140 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 164 emulate sh
@@ -169,7 +192,8 if ( set x; as_fn_ret_success y && test
169 192 else
170 193 exitcode=1; echo positional parameters were not saved.
171 194 fi
172 test x\$exitcode = x0 || exit 1"
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
173 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -222,21 +246,25 IFS=$as_save_IFS
222 246
223 247
224 248 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in @%:@ ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in @%:@ ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
240 268 fi
241 269
242 270 if test x$as_have_required = xno; then :
@@ -339,6 +367,14 as_fn_mkdir_p ()
339 367
340 368
341 369 } @%:@ as_fn_mkdir_p
370
371 @%:@ as_fn_executable_p FILE
372 @%:@ -----------------------
373 @%:@ Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } @%:@ as_fn_executable_p
342 378 @%:@ as_fn_append VAR VALUE
343 379 @%:@ ----------------------
344 380 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -460,6 +496,10 as_cr_alnum=$as_cr_Letters$as_cr_digits
460 496 chmod +x "$as_me.lineno" ||
461 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462 498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
463 503 # Don't try to exec as it changes $[0], causing all sort of problems
464 504 # (the dirname of $[0] is not the place where we might find the
465 505 # original and so on. Autoconf is especially sensitive to this).
@@ -494,16 +534,16 if (echo >conf$$.file) 2>/dev/null; then
494 534 # ... but there are two gotchas:
495 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
537 # In both cases, we have to default to `cp -pR'.
498 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
539 as_ln_s='cp -pR'
500 540 elif ln conf$$.file conf$$ 2>/dev/null; then
501 541 as_ln_s=ln
502 542 else
503 as_ln_s='cp -p'
504 fi
505 else
506 as_ln_s='cp -p'
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
507 547 fi
508 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 549 rmdir conf$$.dir 2>/dev/null
@@ -515,28 +555,8 else
515 555 as_mkdir_p=false
516 556 fi
517 557
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in @%:@(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
538 fi
539 as_executable_p=$as_test_x
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
540 560
541 561 # Sed expression to map a string onto a valid CPP name.
542 562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -1202,8 +1222,6 target=$target_alias
1202 1222 if test "x$host_alias" != x; then
1203 1223 if test "x$build_alias" = x; then
1204 1224 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used" >&2
1207 1225 elif test "x$build_alias" != "x$host_alias"; then
1208 1226 cross_compiling=yes
1209 1227 fi
@@ -1462,9 +1480,9 test -n "$ac_init_help" && exit $ac_stat
1462 1480 if $ac_init_version; then
1463 1481 cat <<\_ACEOF
1464 1482 librs232 configure 2.1.0
1465 generated by GNU Autoconf 2.68
1466
1467 Copyright (C) 2010 Free Software Foundation, Inc.
1483 generated by GNU Autoconf 2.69
1484
1485 Copyright (C) 2012 Free Software Foundation, Inc.
1468 1486 This configure script is free software; the Free Software Foundation
1469 1487 gives unlimited permission to copy, distribute and modify it.
1470 1488 _ACEOF
@@ -1540,7 +1558,7 eval ac_try_echo="\"\$as_me:${as_lineno-
1540 1558 test ! -s conftest.err
1541 1559 } && test -s conftest$ac_exeext && {
1542 1560 test "$cross_compiling" = yes ||
1543 $as_test_x conftest$ac_exeext
1561 test -x conftest$ac_exeext
1544 1562 }; then :
1545 1563 ac_retval=0
1546 1564 else
@@ -1831,7 +1849,7 This file contains any messages produced
1831 1849 running configure, to aid debugging if configure makes a mistake.
1832 1850
1833 1851 It was created by librs232 $as_me 2.1.0, which was
1834 generated by GNU Autoconf 2.68. Invocation command line was
1852 generated by GNU Autoconf 2.69. Invocation command line was
1835 1853
1836 1854 $ $0 $@
1837 1855
@@ -2246,7 +2264,7 case $as_dir/ in @%:@((
2246 2264 # by default.
2247 2265 for ac_prog in ginstall scoinst install; do
2248 2266 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2267 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2250 2268 if test $ac_prog = install &&
2251 2269 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2252 2270 # AIX install. It has an incompatible calling convention.
@@ -2415,7 +2433,7 do
2415 2433 IFS=$as_save_IFS
2416 2434 test -z "$as_dir" && as_dir=.
2417 2435 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 2437 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2420 2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 2439 break 2
@@ -2455,7 +2473,7 do
2455 2473 IFS=$as_save_IFS
2456 2474 test -z "$as_dir" && as_dir=.
2457 2475 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 2477 ac_cv_prog_ac_ct_STRIP="strip"
2460 2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 2479 break 2
@@ -2506,7 +2524,7 do
2506 2524 test -z "$as_dir" && as_dir=.
2507 2525 for ac_prog in mkdir gmkdir; do
2508 2526 for ac_exec_ext in '' $ac_executable_extensions; do
2509 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2527 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2510 2528 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2511 2529 'mkdir (GNU coreutils) '* | \
2512 2530 'mkdir (coreutils) '* | \
@@ -2559,7 +2577,7 do
2559 2577 IFS=$as_save_IFS
2560 2578 test -z "$as_dir" && as_dir=.
2561 2579 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 2581 ac_cv_prog_AWK="$ac_prog"
2564 2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 2583 break 2
@@ -2712,7 +2730,7 do
2712 2730 IFS=$as_save_IFS
2713 2731 test -z "$as_dir" && as_dir=.
2714 2732 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 2734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717 2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 2736 break 2
@@ -2752,7 +2770,7 do
2752 2770 IFS=$as_save_IFS
2753 2771 test -z "$as_dir" && as_dir=.
2754 2772 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 2774 ac_cv_prog_ac_ct_CC="gcc"
2757 2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 2776 break 2
@@ -2805,7 +2823,7 do
2805 2823 IFS=$as_save_IFS
2806 2824 test -z "$as_dir" && as_dir=.
2807 2825 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 2827 ac_cv_prog_CC="${ac_tool_prefix}cc"
2810 2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 2829 break 2
@@ -2846,7 +2864,7 do
2846 2864 IFS=$as_save_IFS
2847 2865 test -z "$as_dir" && as_dir=.
2848 2866 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2851 2869 ac_prog_rejected=yes
2852 2870 continue
@@ -2904,7 +2922,7 do
2904 2922 IFS=$as_save_IFS
2905 2923 test -z "$as_dir" && as_dir=.
2906 2924 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909 2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 2928 break 2
@@ -2948,7 +2966,7 do
2948 2966 IFS=$as_save_IFS
2949 2967 test -z "$as_dir" && as_dir=.
2950 2968 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 2970 ac_cv_prog_ac_ct_CC="$ac_prog"
2953 2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 2972 break 2
@@ -3394,8 +3412,7 cat confdefs.h - <<_ACEOF >conftest.$ac_
3394 3412 /* end confdefs.h. */
3395 3413 #include <stdarg.h>
3396 3414 #include <stdio.h>
3397 #include <sys/types.h>
3398 #include <sys/stat.h>
3415 struct stat;
3399 3416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3400 3417 struct buf { int x; };
3401 3418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3693,7 +3710,7 do
3693 3710 IFS=$as_save_IFS
3694 3711 test -z "$as_dir" && as_dir=.
3695 3712 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 3714 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3698 3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 3716 break 2
@@ -3733,7 +3750,7 do
3733 3750 IFS=$as_save_IFS
3734 3751 test -z "$as_dir" && as_dir=.
3735 3752 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737 3754 ac_cv_prog_ac_ct_CC="gcc"
3738 3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 3756 break 2
@@ -3786,7 +3803,7 do
3786 3803 IFS=$as_save_IFS
3787 3804 test -z "$as_dir" && as_dir=.
3788 3805 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 3807 ac_cv_prog_CC="${ac_tool_prefix}cc"
3791 3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 3809 break 2
@@ -3827,7 +3844,7 do
3827 3844 IFS=$as_save_IFS
3828 3845 test -z "$as_dir" && as_dir=.
3829 3846 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 3848 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3832 3849 ac_prog_rejected=yes
3833 3850 continue
@@ -3885,7 +3902,7 do
3885 3902 IFS=$as_save_IFS
3886 3903 test -z "$as_dir" && as_dir=.
3887 3904 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 3906 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3890 3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 3908 break 2
@@ -3929,7 +3946,7 do
3929 3946 IFS=$as_save_IFS
3930 3947 test -z "$as_dir" && as_dir=.
3931 3948 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 3950 ac_cv_prog_ac_ct_CC="$ac_prog"
3934 3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 3952 break 2
@@ -4125,8 +4142,7 cat confdefs.h - <<_ACEOF >conftest.$ac_
4125 4142 /* end confdefs.h. */
4126 4143 #include <stdarg.h>
4127 4144 #include <stdio.h>
4128 #include <sys/types.h>
4129 #include <sys/stat.h>
4145 struct stat;
4130 4146 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4131 4147 struct buf { int x; };
4132 4148 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4355,11 +4371,11 else
4355 4371 int
4356 4372 main ()
4357 4373 {
4358 /* FIXME: Include the comments suggested by Paul. */
4374
4359 4375 #ifndef __cplusplus
4360 /* Ultrix mips cc rejects this. */
4376 /* Ultrix mips cc rejects this sort of thing. */
4361 4377 typedef int charset[2];
4362 const charset cs;
4378 const charset cs = { 0, 0 };
4363 4379 /* SunOS 4.1.1 cc rejects this. */
4364 4380 char const *const *pcpcc;
4365 4381 char **ppc;
@@ -4376,8 +4392,9 main ()
4376 4392 ++pcpcc;
4377 4393 ppc = (char**) pcpcc;
4378 4394 pcpcc = (char const *const *) ppc;
4379 { /* SCO 3.2v4 cc rejects this. */
4380 char *t;
4395 { /* SCO 3.2v4 cc rejects this sort of thing. */
4396 char tx;
4397 char *t = &tx;
4381 4398 char const *s = 0 ? (char *) 0 : (char const *) 0;
4382 4399
4383 4400 *t++ = 0;
@@ -4393,10 +4410,10 main ()
4393 4410 iptr p = 0;
4394 4411 ++p;
4395 4412 }
4396 { /* AIX XL C 1.02.0.0 rejects this saying
4413 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4397 4414 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4398 struct s { int j; const int *ap[3]; };
4399 struct s *b; b->j = 5;
4415 struct s { int j; const int *ap[3]; } bx;
4416 struct s *b = &bx; b->j = 5;
4400 4417 }
4401 4418 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4402 4419 const int foo = 10;
@@ -4516,7 +4533,7 do
4516 4533 IFS=$as_save_IFS
4517 4534 test -z "$as_dir" && as_dir=.
4518 4535 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 4537 ac_cv_prog_AS="${ac_tool_prefix}as"
4521 4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 4539 break 2
@@ -4556,7 +4573,7 do
4556 4573 IFS=$as_save_IFS
4557 4574 test -z "$as_dir" && as_dir=.
4558 4575 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 4577 ac_cv_prog_ac_ct_AS="as"
4561 4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 4579 break 2
@@ -4608,7 +4625,7 do
4608 4625 IFS=$as_save_IFS
4609 4626 test -z "$as_dir" && as_dir=.
4610 4627 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4612 4629 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4613 4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 4631 break 2
@@ -4648,7 +4665,7 do
4648 4665 IFS=$as_save_IFS
4649 4666 test -z "$as_dir" && as_dir=.
4650 4667 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 4669 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4653 4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 4671 break 2
@@ -4700,7 +4717,7 do
4700 4717 IFS=$as_save_IFS
4701 4718 test -z "$as_dir" && as_dir=.
4702 4719 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 4721 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4705 4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 4723 break 2
@@ -4740,7 +4757,7 do
4740 4757 IFS=$as_save_IFS
4741 4758 test -z "$as_dir" && as_dir=.
4742 4759 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 4761 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4745 4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 4763 break 2
@@ -4914,7 +4931,7 do
4914 4931 for ac_prog in sed gsed; do
4915 4932 for ac_exec_ext in '' $ac_executable_extensions; do
4916 4933 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4917 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4934 as_fn_executable_p "$ac_path_SED" || continue
4918 4935 # Check for GNU ac_path_SED and select it if it is found.
4919 4936 # Check for GNU $ac_path_SED
4920 4937 case `"$ac_path_SED" --version 2>&1` in
@@ -4990,7 +5007,7 do
4990 5007 for ac_prog in grep ggrep; do
4991 5008 for ac_exec_ext in '' $ac_executable_extensions; do
4992 5009 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4993 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5010 as_fn_executable_p "$ac_path_GREP" || continue
4994 5011 # Check for GNU ac_path_GREP and select it if it is found.
4995 5012 # Check for GNU $ac_path_GREP
4996 5013 case `"$ac_path_GREP" --version 2>&1` in
@@ -5056,7 +5073,7 do
5056 5073 for ac_prog in egrep; do
5057 5074 for ac_exec_ext in '' $ac_executable_extensions; do
5058 5075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5059 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5076 as_fn_executable_p "$ac_path_EGREP" || continue
5060 5077 # Check for GNU ac_path_EGREP and select it if it is found.
5061 5078 # Check for GNU $ac_path_EGREP
5062 5079 case `"$ac_path_EGREP" --version 2>&1` in
@@ -5123,7 +5140,7 do
5123 5140 for ac_prog in fgrep; do
5124 5141 for ac_exec_ext in '' $ac_executable_extensions; do
5125 5142 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5126 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5143 as_fn_executable_p "$ac_path_FGREP" || continue
5127 5144 # Check for GNU ac_path_FGREP and select it if it is found.
5128 5145 # Check for GNU $ac_path_FGREP
5129 5146 case `"$ac_path_FGREP" --version 2>&1` in
@@ -5379,7 +5396,7 do
5379 5396 IFS=$as_save_IFS
5380 5397 test -z "$as_dir" && as_dir=.
5381 5398 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 5400 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5384 5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 5402 break 2
@@ -5423,7 +5440,7 do
5423 5440 IFS=$as_save_IFS
5424 5441 test -z "$as_dir" && as_dir=.
5425 5442 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 5444 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5428 5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 5446 break 2
@@ -5847,7 +5864,7 do
5847 5864 IFS=$as_save_IFS
5848 5865 test -z "$as_dir" && as_dir=.
5849 5866 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 5868 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5852 5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 5870 break 2
@@ -5887,7 +5904,7 do
5887 5904 IFS=$as_save_IFS
5888 5905 test -z "$as_dir" && as_dir=.
5889 5906 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 5908 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5892 5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 5910 break 2
@@ -6190,7 +6207,7 do
6190 6207 IFS=$as_save_IFS
6191 6208 test -z "$as_dir" && as_dir=.
6192 6209 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 6211 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6195 6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 6213 break 2
@@ -6230,7 +6247,7 do
6230 6247 IFS=$as_save_IFS
6231 6248 test -z "$as_dir" && as_dir=.
6232 6249 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 6251 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6235 6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236 6253 break 2
@@ -6330,7 +6347,7 do
6330 6347 IFS=$as_save_IFS
6331 6348 test -z "$as_dir" && as_dir=.
6332 6349 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 6351 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6335 6352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 6353 break 2
@@ -6374,7 +6391,7 do
6374 6391 IFS=$as_save_IFS
6375 6392 test -z "$as_dir" && as_dir=.
6376 6393 for ac_exec_ext in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6378 6395 ac_cv_prog_ac_ct_AR="$ac_prog"
6379 6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 6397 break 2
@@ -6499,7 +6516,7 do
6499 6516 IFS=$as_save_IFS
6500 6517 test -z "$as_dir" && as_dir=.
6501 6518 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 6520 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6504 6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 6522 break 2
@@ -6539,7 +6556,7 do
6539 6556 IFS=$as_save_IFS
6540 6557 test -z "$as_dir" && as_dir=.
6541 6558 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 6560 ac_cv_prog_ac_ct_STRIP="strip"
6544 6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 6562 break 2
@@ -6598,7 +6615,7 do
6598 6615 IFS=$as_save_IFS
6599 6616 test -z "$as_dir" && as_dir=.
6600 6617 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 6619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6603 6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 6621 break 2
@@ -6638,7 +6655,7 do
6638 6655 IFS=$as_save_IFS
6639 6656 test -z "$as_dir" && as_dir=.
6640 6657 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 6659 ac_cv_prog_ac_ct_RANLIB="ranlib"
6643 6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 6661 break 2
@@ -7287,7 +7304,7 do
7287 7304 IFS=$as_save_IFS
7288 7305 test -z "$as_dir" && as_dir=.
7289 7306 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7291 7308 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7292 7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 7310 break 2
@@ -7327,7 +7344,7 do
7327 7344 IFS=$as_save_IFS
7328 7345 test -z "$as_dir" && as_dir=.
7329 7346 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7331 7348 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7332 7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 7350 break 2
@@ -7407,7 +7424,7 do
7407 7424 IFS=$as_save_IFS
7408 7425 test -z "$as_dir" && as_dir=.
7409 7426 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411 7428 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7412 7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 7430 break 2
@@ -7447,7 +7464,7 do
7447 7464 IFS=$as_save_IFS
7448 7465 test -z "$as_dir" && as_dir=.
7449 7466 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451 7468 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7452 7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 7470 break 2
@@ -7499,7 +7516,7 do
7499 7516 IFS=$as_save_IFS
7500 7517 test -z "$as_dir" && as_dir=.
7501 7518 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 7520 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7504 7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 7522 break 2
@@ -7539,7 +7556,7 do
7539 7556 IFS=$as_save_IFS
7540 7557 test -z "$as_dir" && as_dir=.
7541 7558 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 7560 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7544 7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 7562 break 2
@@ -7591,7 +7608,7 do
7591 7608 IFS=$as_save_IFS
7592 7609 test -z "$as_dir" && as_dir=.
7593 7610 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 7612 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7596 7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 7614 break 2
@@ -7631,7 +7648,7 do
7631 7648 IFS=$as_save_IFS
7632 7649 test -z "$as_dir" && as_dir=.
7633 7650 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 7652 ac_cv_prog_ac_ct_LIPO="lipo"
7636 7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 7654 break 2
@@ -7683,7 +7700,7 do
7683 7700 IFS=$as_save_IFS
7684 7701 test -z "$as_dir" && as_dir=.
7685 7702 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7687 7704 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7688 7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 7706 break 2
@@ -7723,7 +7740,7 do
7723 7740 IFS=$as_save_IFS
7724 7741 test -z "$as_dir" && as_dir=.
7725 7742 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727 7744 ac_cv_prog_ac_ct_OTOOL="otool"
7728 7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 7746 break 2
@@ -7775,7 +7792,7 do
7775 7792 IFS=$as_save_IFS
7776 7793 test -z "$as_dir" && as_dir=.
7777 7794 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779 7796 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7780 7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 7798 break 2
@@ -7815,7 +7832,7 do
7815 7832 IFS=$as_save_IFS
7816 7833 test -z "$as_dir" && as_dir=.
7817 7834 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 7836 ac_cv_prog_ac_ct_OTOOL64="otool64"
7820 7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 7838 break 2
@@ -12359,7 +12376,7 do
12359 12376 IFS=$as_save_IFS
12360 12377 test -z "$as_dir" && as_dir=.
12361 12378 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12363 12380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12364 12381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 12382 break 2
@@ -12399,7 +12416,7 do
12399 12416 IFS=$as_save_IFS
12400 12417 test -z "$as_dir" && as_dir=.
12401 12418 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403 12420 ac_cv_prog_ac_ct_RANLIB="ranlib"
12404 12421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405 12422 break 2
@@ -12892,16 +12909,16 if (echo >conf$$.file) 2>/dev/null; then
12892 12909 # ... but there are two gotchas:
12893 12910 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12894 12911 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12895 # In both cases, we have to default to `cp -p'.
12912 # In both cases, we have to default to `cp -pR'.
12896 12913 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12897 as_ln_s='cp -p'
12914 as_ln_s='cp -pR'
12898 12915 elif ln conf$$.file conf$$ 2>/dev/null; then
12899 12916 as_ln_s=ln
12900 12917 else
12901 as_ln_s='cp -p'
12902 fi
12903 else
12904 as_ln_s='cp -p'
12918 as_ln_s='cp -pR'
12919 fi
12920 else
12921 as_ln_s='cp -pR'
12905 12922 fi
12906 12923 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12907 12924 rmdir conf$$.dir 2>/dev/null
@@ -12961,28 +12978,16 else
12961 12978 as_mkdir_p=false
12962 12979 fi
12963 12980
12964 if test -x / >/dev/null 2>&1; then
12965 as_test_x='test -x'
12966 else
12967 if ls -dL / >/dev/null 2>&1; then
12968 as_ls_L_option=L
12969 else
12970 as_ls_L_option=
12971 fi
12972 as_test_x='
12973 eval sh -c '\''
12974 if test -d "$1"; then
12975 test -d "$1/.";
12976 else
12977 case $1 in @%:@(
12978 -*)set "./$1";;
12979 esac;
12980 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
12981 ???[sx]*):;;*)false;;esac;fi
12982 '\'' sh
12983 '
12984 fi
12985 as_executable_p=$as_test_x
12981
12982 @%:@ as_fn_executable_p FILE
12983 @%:@ -----------------------
12984 @%:@ Test if FILE is an executable regular file.
12985 as_fn_executable_p ()
12986 {
12987 test -f "$1" && test -x "$1"
12988 } @%:@ as_fn_executable_p
12989 as_test_x='test -x'
12990 as_executable_p=as_fn_executable_p
12986 12991
12987 12992 # Sed expression to map a string onto a valid CPP name.
12988 12993 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -13004,7 +13009,7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
13004 13009 # values after options handling.
13005 13010 ac_log="
13006 13011 This file was extended by librs232 $as_me 2.1.0, which was
13007 generated by GNU Autoconf 2.68. Invocation command line was
13012 generated by GNU Autoconf 2.69. Invocation command line was
13008 13013
13009 13014 CONFIG_FILES = $CONFIG_FILES
13010 13015 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -13071,10 +13076,10 cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
13071 13076 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13072 13077 ac_cs_version="\\
13073 13078 librs232 config.status 2.1.0
13074 configured by $0, generated by GNU Autoconf 2.68,
13079 configured by $0, generated by GNU Autoconf 2.69,
13075 13080 with options \\"\$ac_cs_config\\"
13076 13081
13077 Copyright (C) 2010 Free Software Foundation, Inc.
13082 Copyright (C) 2012 Free Software Foundation, Inc.
13078 13083 This config.status script is free software; the Free Software Foundation
13079 13084 gives unlimited permission to copy, distribute and modify it."
13080 13085
@@ -13165,7 +13170,7 fi
13165 13170 _ACEOF
13166 13171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13167 13172 if \$ac_cs_recheck; then
13168 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13173 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13169 13174 shift
13170 13175 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13171 13176 CONFIG_SHELL='$SHELL'
@@ -253,6 +253,7
253 253 'm4_sinclude' => 1,
254 254 'AM_MAINTAINER_MODE' => 1,
255 255 'AM_NLS' => 1,
256 'AC_FC_PP_DEFINE' => 1,
256 257 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
257 258 '_m4_warn' => 1,
258 259 'AM_MAKEFILE_INCLUDE' => 1,
@@ -272,6 +273,7
272 273 'AM_PROG_FC_C_O' => 1,
273 274 'AC_FC_FREEFORM' => 1,
274 275 'AH_OUTPUT' => 1,
276 'AC_FC_PP_SRCEXT' => 1,
275 277 'AC_CONFIG_AUX_DIR' => 1,
276 278 '_AM_SUBST_NOTMAKE' => 1,
277 279 'm4_pattern_allow' => 1,
@@ -1,13 +1,11
1 1 #! /bin/sh
2 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for librs232 2.1.0.
3 # Generated by GNU Autoconf 2.69 for librs232 2.1.0.
4 4 #
5 5 # Report bugs to <alexis.jeandet@lpp.polytechnique.fr>.
6 6 #
7 7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 9 #
12 10 #
13 11 # This configure script is free software; the Free Software Foundation
@@ -136,6 +134,31 export LANGUAGE
136 134 # CDPATH.
137 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
139 162 if test "x$CONFIG_SHELL" = x; then
140 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 164 emulate sh
@@ -169,7 +192,8 if ( set x; as_fn_ret_success y && test
169 192 else
170 193 exitcode=1; echo positional parameters were not saved.
171 194 fi
172 test x\$exitcode = x0 || exit 1"
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
173 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -222,21 +246,25 IFS=$as_save_IFS
222 246
223 247
224 248 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
240 268 fi
241 269
242 270 if test x$as_have_required = xno; then :
@@ -339,6 +367,14 as_fn_mkdir_p ()
339 367
340 368
341 369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
342 378 # as_fn_append VAR VALUE
343 379 # ----------------------
344 380 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -460,6 +496,10 as_cr_alnum=$as_cr_Letters$as_cr_digits
460 496 chmod +x "$as_me.lineno" ||
461 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462 498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
463 503 # Don't try to exec as it changes $[0], causing all sort of problems
464 504 # (the dirname of $[0] is not the place where we might find the
465 505 # original and so on. Autoconf is especially sensitive to this).
@@ -494,16 +534,16 if (echo >conf$$.file) 2>/dev/null; then
494 534 # ... but there are two gotchas:
495 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
537 # In both cases, we have to default to `cp -pR'.
498 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
539 as_ln_s='cp -pR'
500 540 elif ln conf$$.file conf$$ 2>/dev/null; then
501 541 as_ln_s=ln
502 542 else
503 as_ln_s='cp -p'
504 fi
505 else
506 as_ln_s='cp -p'
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
507 547 fi
508 548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 549 rmdir conf$$.dir 2>/dev/null
@@ -515,28 +555,8 else
515 555 as_mkdir_p=false
516 556 fi
517 557
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
538 fi
539 as_executable_p=$as_test_x
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
540 560
541 561 # Sed expression to map a string onto a valid CPP name.
542 562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -1202,8 +1222,6 target=$target_alias
1202 1222 if test "x$host_alias" != x; then
1203 1223 if test "x$build_alias" = x; then
1204 1224 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used" >&2
1207 1225 elif test "x$build_alias" != "x$host_alias"; then
1208 1226 cross_compiling=yes
1209 1227 fi
@@ -1462,9 +1480,9 test -n "$ac_init_help" && exit $ac_stat
1462 1480 if $ac_init_version; then
1463 1481 cat <<\_ACEOF
1464 1482 librs232 configure 2.1.0
1465 generated by GNU Autoconf 2.68
1466
1467 Copyright (C) 2010 Free Software Foundation, Inc.
1483 generated by GNU Autoconf 2.69
1484
1485 Copyright (C) 2012 Free Software Foundation, Inc.
1468 1486 This configure script is free software; the Free Software Foundation
1469 1487 gives unlimited permission to copy, distribute and modify it.
1470 1488 _ACEOF
@@ -1540,7 +1558,7 eval ac_try_echo="\"\$as_me:${as_lineno-
1540 1558 test ! -s conftest.err
1541 1559 } && test -s conftest$ac_exeext && {
1542 1560 test "$cross_compiling" = yes ||
1543 $as_test_x conftest$ac_exeext
1561 test -x conftest$ac_exeext
1544 1562 }; then :
1545 1563 ac_retval=0
1546 1564 else
@@ -1831,7 +1849,7 This file contains any messages produced
1831 1849 running configure, to aid debugging if configure makes a mistake.
1832 1850
1833 1851 It was created by librs232 $as_me 2.1.0, which was
1834 generated by GNU Autoconf 2.68. Invocation command line was
1852 generated by GNU Autoconf 2.69. Invocation command line was
1835 1853
1836 1854 $ $0 $@
1837 1855
@@ -2246,7 +2264,7 case $as_dir/ in #((
2246 2264 # by default.
2247 2265 for ac_prog in ginstall scoinst install; do
2248 2266 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2267 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2250 2268 if test $ac_prog = install &&
2251 2269 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2252 2270 # AIX install. It has an incompatible calling convention.
@@ -2415,7 +2433,7 do
2415 2433 IFS=$as_save_IFS
2416 2434 test -z "$as_dir" && as_dir=.
2417 2435 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 2437 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2420 2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 2439 break 2
@@ -2455,7 +2473,7 do
2455 2473 IFS=$as_save_IFS
2456 2474 test -z "$as_dir" && as_dir=.
2457 2475 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 2477 ac_cv_prog_ac_ct_STRIP="strip"
2460 2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 2479 break 2
@@ -2506,7 +2524,7 do
2506 2524 test -z "$as_dir" && as_dir=.
2507 2525 for ac_prog in mkdir gmkdir; do
2508 2526 for ac_exec_ext in '' $ac_executable_extensions; do
2509 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2527 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2510 2528 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2511 2529 'mkdir (GNU coreutils) '* | \
2512 2530 'mkdir (coreutils) '* | \
@@ -2559,7 +2577,7 do
2559 2577 IFS=$as_save_IFS
2560 2578 test -z "$as_dir" && as_dir=.
2561 2579 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 2581 ac_cv_prog_AWK="$ac_prog"
2564 2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 2583 break 2
@@ -2712,7 +2730,7 do
2712 2730 IFS=$as_save_IFS
2713 2731 test -z "$as_dir" && as_dir=.
2714 2732 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 2734 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717 2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 2736 break 2
@@ -2752,7 +2770,7 do
2752 2770 IFS=$as_save_IFS
2753 2771 test -z "$as_dir" && as_dir=.
2754 2772 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 2774 ac_cv_prog_ac_ct_CC="gcc"
2757 2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 2776 break 2
@@ -2805,7 +2823,7 do
2805 2823 IFS=$as_save_IFS
2806 2824 test -z "$as_dir" && as_dir=.
2807 2825 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 2827 ac_cv_prog_CC="${ac_tool_prefix}cc"
2810 2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 2829 break 2
@@ -2846,7 +2864,7 do
2846 2864 IFS=$as_save_IFS
2847 2865 test -z "$as_dir" && as_dir=.
2848 2866 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850 2868 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2851 2869 ac_prog_rejected=yes
2852 2870 continue
@@ -2904,7 +2922,7 do
2904 2922 IFS=$as_save_IFS
2905 2923 test -z "$as_dir" && as_dir=.
2906 2924 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909 2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 2928 break 2
@@ -2948,7 +2966,7 do
2948 2966 IFS=$as_save_IFS
2949 2967 test -z "$as_dir" && as_dir=.
2950 2968 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952 2970 ac_cv_prog_ac_ct_CC="$ac_prog"
2953 2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 2972 break 2
@@ -3394,8 +3412,7 cat confdefs.h - <<_ACEOF >conftest.$ac_
3394 3412 /* end confdefs.h. */
3395 3413 #include <stdarg.h>
3396 3414 #include <stdio.h>
3397 #include <sys/types.h>
3398 #include <sys/stat.h>
3415 struct stat;
3399 3416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3400 3417 struct buf { int x; };
3401 3418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3693,7 +3710,7 do
3693 3710 IFS=$as_save_IFS
3694 3711 test -z "$as_dir" && as_dir=.
3695 3712 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 3714 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3698 3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 3716 break 2
@@ -3733,7 +3750,7 do
3733 3750 IFS=$as_save_IFS
3734 3751 test -z "$as_dir" && as_dir=.
3735 3752 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737 3754 ac_cv_prog_ac_ct_CC="gcc"
3738 3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 3756 break 2
@@ -3786,7 +3803,7 do
3786 3803 IFS=$as_save_IFS
3787 3804 test -z "$as_dir" && as_dir=.
3788 3805 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 3807 ac_cv_prog_CC="${ac_tool_prefix}cc"
3791 3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 3809 break 2
@@ -3827,7 +3844,7 do
3827 3844 IFS=$as_save_IFS
3828 3845 test -z "$as_dir" && as_dir=.
3829 3846 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 3848 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3832 3849 ac_prog_rejected=yes
3833 3850 continue
@@ -3885,7 +3902,7 do
3885 3902 IFS=$as_save_IFS
3886 3903 test -z "$as_dir" && as_dir=.
3887 3904 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 3906 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3890 3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 3908 break 2
@@ -3929,7 +3946,7 do
3929 3946 IFS=$as_save_IFS
3930 3947 test -z "$as_dir" && as_dir=.
3931 3948 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3933 3950 ac_cv_prog_ac_ct_CC="$ac_prog"
3934 3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 3952 break 2
@@ -4125,8 +4142,7 cat confdefs.h - <<_ACEOF >conftest.$ac_
4125 4142 /* end confdefs.h. */
4126 4143 #include <stdarg.h>
4127 4144 #include <stdio.h>
4128 #include <sys/types.h>
4129 #include <sys/stat.h>
4145 struct stat;
4130 4146 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4131 4147 struct buf { int x; };
4132 4148 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4355,11 +4371,11 else
4355 4371 int
4356 4372 main ()
4357 4373 {
4358 /* FIXME: Include the comments suggested by Paul. */
4374
4359 4375 #ifndef __cplusplus
4360 /* Ultrix mips cc rejects this. */
4376 /* Ultrix mips cc rejects this sort of thing. */
4361 4377 typedef int charset[2];
4362 const charset cs;
4378 const charset cs = { 0, 0 };
4363 4379 /* SunOS 4.1.1 cc rejects this. */
4364 4380 char const *const *pcpcc;
4365 4381 char **ppc;
@@ -4376,8 +4392,9 main ()
4376 4392 ++pcpcc;
4377 4393 ppc = (char**) pcpcc;
4378 4394 pcpcc = (char const *const *) ppc;
4379 { /* SCO 3.2v4 cc rejects this. */
4380 char *t;
4395 { /* SCO 3.2v4 cc rejects this sort of thing. */
4396 char tx;
4397 char *t = &tx;
4381 4398 char const *s = 0 ? (char *) 0 : (char const *) 0;
4382 4399
4383 4400 *t++ = 0;
@@ -4393,10 +4410,10 main ()
4393 4410 iptr p = 0;
4394 4411 ++p;
4395 4412 }
4396 { /* AIX XL C 1.02.0.0 rejects this saying
4413 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4397 4414 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4398 struct s { int j; const int *ap[3]; };
4399 struct s *b; b->j = 5;
4415 struct s { int j; const int *ap[3]; } bx;
4416 struct s *b = &bx; b->j = 5;
4400 4417 }
4401 4418 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4402 4419 const int foo = 10;
@@ -4516,7 +4533,7 do
4516 4533 IFS=$as_save_IFS
4517 4534 test -z "$as_dir" && as_dir=.
4518 4535 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 4537 ac_cv_prog_AS="${ac_tool_prefix}as"
4521 4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 4539 break 2
@@ -4556,7 +4573,7 do
4556 4573 IFS=$as_save_IFS
4557 4574 test -z "$as_dir" && as_dir=.
4558 4575 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 4577 ac_cv_prog_ac_ct_AS="as"
4561 4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 4579 break 2
@@ -4608,7 +4625,7 do
4608 4625 IFS=$as_save_IFS
4609 4626 test -z "$as_dir" && as_dir=.
4610 4627 for ac_exec_ext in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4612 4629 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4613 4630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 4631 break 2
@@ -4648,7 +4665,7 do
4648 4665 IFS=$as_save_IFS
4649 4666 test -z "$as_dir" && as_dir=.
4650 4667 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4652 4669 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4653 4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 4671 break 2
@@ -4700,7 +4717,7 do
4700 4717 IFS=$as_save_IFS
4701 4718 test -z "$as_dir" && as_dir=.
4702 4719 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 4721 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4705 4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 4723 break 2
@@ -4740,7 +4757,7 do
4740 4757 IFS=$as_save_IFS
4741 4758 test -z "$as_dir" && as_dir=.
4742 4759 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 4761 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4745 4762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 4763 break 2
@@ -4914,7 +4931,7 do
4914 4931 for ac_prog in sed gsed; do
4915 4932 for ac_exec_ext in '' $ac_executable_extensions; do
4916 4933 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4917 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4934 as_fn_executable_p "$ac_path_SED" || continue
4918 4935 # Check for GNU ac_path_SED and select it if it is found.
4919 4936 # Check for GNU $ac_path_SED
4920 4937 case `"$ac_path_SED" --version 2>&1` in
@@ -4990,7 +5007,7 do
4990 5007 for ac_prog in grep ggrep; do
4991 5008 for ac_exec_ext in '' $ac_executable_extensions; do
4992 5009 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4993 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5010 as_fn_executable_p "$ac_path_GREP" || continue
4994 5011 # Check for GNU ac_path_GREP and select it if it is found.
4995 5012 # Check for GNU $ac_path_GREP
4996 5013 case `"$ac_path_GREP" --version 2>&1` in
@@ -5056,7 +5073,7 do
5056 5073 for ac_prog in egrep; do
5057 5074 for ac_exec_ext in '' $ac_executable_extensions; do
5058 5075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5059 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5076 as_fn_executable_p "$ac_path_EGREP" || continue
5060 5077 # Check for GNU ac_path_EGREP and select it if it is found.
5061 5078 # Check for GNU $ac_path_EGREP
5062 5079 case `"$ac_path_EGREP" --version 2>&1` in
@@ -5123,7 +5140,7 do
5123 5140 for ac_prog in fgrep; do
5124 5141 for ac_exec_ext in '' $ac_executable_extensions; do
5125 5142 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5126 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5143 as_fn_executable_p "$ac_path_FGREP" || continue
5127 5144 # Check for GNU ac_path_FGREP and select it if it is found.
5128 5145 # Check for GNU $ac_path_FGREP
5129 5146 case `"$ac_path_FGREP" --version 2>&1` in
@@ -5379,7 +5396,7 do
5379 5396 IFS=$as_save_IFS
5380 5397 test -z "$as_dir" && as_dir=.
5381 5398 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 5400 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5384 5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 5402 break 2
@@ -5423,7 +5440,7 do
5423 5440 IFS=$as_save_IFS
5424 5441 test -z "$as_dir" && as_dir=.
5425 5442 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 5444 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5428 5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 5446 break 2
@@ -5847,7 +5864,7 do
5847 5864 IFS=$as_save_IFS
5848 5865 test -z "$as_dir" && as_dir=.
5849 5866 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 5868 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5852 5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 5870 break 2
@@ -5887,7 +5904,7 do
5887 5904 IFS=$as_save_IFS
5888 5905 test -z "$as_dir" && as_dir=.
5889 5906 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 5908 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5892 5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 5910 break 2
@@ -6190,7 +6207,7 do
6190 6207 IFS=$as_save_IFS
6191 6208 test -z "$as_dir" && as_dir=.
6192 6209 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 6211 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6195 6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 6213 break 2
@@ -6230,7 +6247,7 do
6230 6247 IFS=$as_save_IFS
6231 6248 test -z "$as_dir" && as_dir=.
6232 6249 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 6251 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6235 6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236 6253 break 2
@@ -6330,7 +6347,7 do
6330 6347 IFS=$as_save_IFS
6331 6348 test -z "$as_dir" && as_dir=.
6332 6349 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334 6351 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6335 6352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336 6353 break 2
@@ -6374,7 +6391,7 do
6374 6391 IFS=$as_save_IFS
6375 6392 test -z "$as_dir" && as_dir=.
6376 6393 for ac_exec_ext in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6378 6395 ac_cv_prog_ac_ct_AR="$ac_prog"
6379 6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6380 6397 break 2
@@ -6499,7 +6516,7 do
6499 6516 IFS=$as_save_IFS
6500 6517 test -z "$as_dir" && as_dir=.
6501 6518 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 6520 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6504 6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 6522 break 2
@@ -6539,7 +6556,7 do
6539 6556 IFS=$as_save_IFS
6540 6557 test -z "$as_dir" && as_dir=.
6541 6558 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 6560 ac_cv_prog_ac_ct_STRIP="strip"
6544 6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 6562 break 2
@@ -6598,7 +6615,7 do
6598 6615 IFS=$as_save_IFS
6599 6616 test -z "$as_dir" && as_dir=.
6600 6617 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 6619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6603 6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 6621 break 2
@@ -6638,7 +6655,7 do
6638 6655 IFS=$as_save_IFS
6639 6656 test -z "$as_dir" && as_dir=.
6640 6657 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 6659 ac_cv_prog_ac_ct_RANLIB="ranlib"
6643 6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 6661 break 2
@@ -7287,7 +7304,7 do
7287 7304 IFS=$as_save_IFS
7288 7305 test -z "$as_dir" && as_dir=.
7289 7306 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7291 7308 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7292 7309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 7310 break 2
@@ -7327,7 +7344,7 do
7327 7344 IFS=$as_save_IFS
7328 7345 test -z "$as_dir" && as_dir=.
7329 7346 for ac_exec_ext in '' $ac_executable_extensions; do
7330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7331 7348 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7332 7349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 7350 break 2
@@ -7407,7 +7424,7 do
7407 7424 IFS=$as_save_IFS
7408 7425 test -z "$as_dir" && as_dir=.
7409 7426 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411 7428 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7412 7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 7430 break 2
@@ -7447,7 +7464,7 do
7447 7464 IFS=$as_save_IFS
7448 7465 test -z "$as_dir" && as_dir=.
7449 7466 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451 7468 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7452 7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 7470 break 2
@@ -7499,7 +7516,7 do
7499 7516 IFS=$as_save_IFS
7500 7517 test -z "$as_dir" && as_dir=.
7501 7518 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 7520 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7504 7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 7522 break 2
@@ -7539,7 +7556,7 do
7539 7556 IFS=$as_save_IFS
7540 7557 test -z "$as_dir" && as_dir=.
7541 7558 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 7560 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7544 7561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 7562 break 2
@@ -7591,7 +7608,7 do
7591 7608 IFS=$as_save_IFS
7592 7609 test -z "$as_dir" && as_dir=.
7593 7610 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 7612 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7596 7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 7614 break 2
@@ -7631,7 +7648,7 do
7631 7648 IFS=$as_save_IFS
7632 7649 test -z "$as_dir" && as_dir=.
7633 7650 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 7652 ac_cv_prog_ac_ct_LIPO="lipo"
7636 7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 7654 break 2
@@ -7683,7 +7700,7 do
7683 7700 IFS=$as_save_IFS
7684 7701 test -z "$as_dir" && as_dir=.
7685 7702 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7687 7704 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7688 7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 7706 break 2
@@ -7723,7 +7740,7 do
7723 7740 IFS=$as_save_IFS
7724 7741 test -z "$as_dir" && as_dir=.
7725 7742 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727 7744 ac_cv_prog_ac_ct_OTOOL="otool"
7728 7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 7746 break 2
@@ -7775,7 +7792,7 do
7775 7792 IFS=$as_save_IFS
7776 7793 test -z "$as_dir" && as_dir=.
7777 7794 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7779 7796 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7780 7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 7798 break 2
@@ -7815,7 +7832,7 do
7815 7832 IFS=$as_save_IFS
7816 7833 test -z "$as_dir" && as_dir=.
7817 7834 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7819 7836 ac_cv_prog_ac_ct_OTOOL64="otool64"
7820 7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 7838 break 2
@@ -12359,7 +12376,7 do
12359 12376 IFS=$as_save_IFS
12360 12377 test -z "$as_dir" && as_dir=.
12361 12378 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12363 12380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12364 12381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 12382 break 2
@@ -12399,7 +12416,7 do
12399 12416 IFS=$as_save_IFS
12400 12417 test -z "$as_dir" && as_dir=.
12401 12418 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403 12420 ac_cv_prog_ac_ct_RANLIB="ranlib"
12404 12421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405 12422 break 2
@@ -12892,16 +12909,16 if (echo >conf$$.file) 2>/dev/null; then
12892 12909 # ... but there are two gotchas:
12893 12910 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12894 12911 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12895 # In both cases, we have to default to `cp -p'.
12912 # In both cases, we have to default to `cp -pR'.
12896 12913 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12897 as_ln_s='cp -p'
12914 as_ln_s='cp -pR'
12898 12915 elif ln conf$$.file conf$$ 2>/dev/null; then
12899 12916 as_ln_s=ln
12900 12917 else
12901 as_ln_s='cp -p'
12902 fi
12903 else
12904 as_ln_s='cp -p'
12918 as_ln_s='cp -pR'
12919 fi
12920 else
12921 as_ln_s='cp -pR'
12905 12922 fi
12906 12923 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12907 12924 rmdir conf$$.dir 2>/dev/null
@@ -12961,28 +12978,16 else
12961 12978 as_mkdir_p=false
12962 12979 fi
12963 12980
12964 if test -x / >/dev/null 2>&1; then
12965 as_test_x='test -x'
12966 else
12967 if ls -dL / >/dev/null 2>&1; then
12968 as_ls_L_option=L
12969 else
12970 as_ls_L_option=
12971 fi
12972 as_test_x='
12973 eval sh -c '\''
12974 if test -d "$1"; then
12975 test -d "$1/.";
12976 else
12977 case $1 in #(
12978 -*)set "./$1";;
12979 esac;
12980 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12981 ???[sx]*):;;*)false;;esac;fi
12982 '\'' sh
12983 '
12984 fi
12985 as_executable_p=$as_test_x
12981
12982 # as_fn_executable_p FILE
12983 # -----------------------
12984 # Test if FILE is an executable regular file.
12985 as_fn_executable_p ()
12986 {
12987 test -f "$1" && test -x "$1"
12988 } # as_fn_executable_p
12989 as_test_x='test -x'
12990 as_executable_p=as_fn_executable_p
12986 12991
12987 12992 # Sed expression to map a string onto a valid CPP name.
12988 12993 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -13004,7 +13009,7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
13004 13009 # values after options handling.
13005 13010 ac_log="
13006 13011 This file was extended by librs232 $as_me 2.1.0, which was
13007 generated by GNU Autoconf 2.68. Invocation command line was
13012 generated by GNU Autoconf 2.69. Invocation command line was
13008 13013
13009 13014 CONFIG_FILES = $CONFIG_FILES
13010 13015 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -13071,10 +13076,10 cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
13071 13076 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13072 13077 ac_cs_version="\\
13073 13078 librs232 config.status 2.1.0
13074 configured by $0, generated by GNU Autoconf 2.68,
13079 configured by $0, generated by GNU Autoconf 2.69,
13075 13080 with options \\"\$ac_cs_config\\"
13076 13081
13077 Copyright (C) 2010 Free Software Foundation, Inc.
13082 Copyright (C) 2012 Free Software Foundation, Inc.
13078 13083 This config.status script is free software; the Free Software Foundation
13079 13084 gives unlimited permission to copy, distribute and modify it."
13080 13085
@@ -13165,7 +13170,7 fi
13165 13170 _ACEOF
13166 13171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13167 13172 if \$ac_cs_recheck; then
13168 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13173 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13169 13174 shift
13170 13175 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13171 13176 CONFIG_SHELL='$SHELL'
@@ -26,11 +26,22 rs232speed_t rs232cfspeed(unsigned int B
26 26 rs232port_t rs232open(char* psPortName)
27 27 {
28 28 rs232port_t fd;
29 fd = (rs232port_t)open(psPortName, O_RDWR | O_NOCTTY | O_NDELAY);
30 fcntl((int)fd, F_SETFL, FNDELAY);
29 int flags;
30 fd = (rs232port_t)open(psPortName, O_RDWR | O_NOCTTY );//| O_NDELAY);
31 //fcntl((int)fd, F_SETFL, FNDELAY);
31 32 //fd = open(psPortName, O_RDWR | O_NOCTTY);
32 33 #ifdef debug
33 34 if(fd==-1)printf("can't open Port\n");
35 #else
36 if(fd!=-1)
37 {
38 //flags = fcntl(fd, F_GETFL);
39 //flags |= O_NONBLOCK;
40 //flags|=FNDELAY;
41 //fcntl(fd, F_SETFL, flags);
42 //fcntl((int)fd, F_SETFL, FNDELAY);
43 }
44
34 45 #endif
35 46 return fd;
36 47 }
General Comments 0
You need to be logged in to leave comments. Login now