| @@ -1,23 +1,23 @@ | | | @@ -1,23 +1,23 @@ |
1 | #! /bin/sh | | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.65 for libnbcompat 20080605. | | 3 | # Generated by GNU Autoconf 2.68 for libnbcompat 20080605. |
4 | # | | 4 | # |
5 | # Report bugs to <grant@NetBSD.org>. | | 5 | # Report bugs to <grant@NetBSD.org>. |
6 | # | | 6 | # |
7 | # | | 7 | # |
8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | | 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
10 | # Inc. | | 10 | # Foundation, Inc. |
11 | # | | 11 | # |
12 | # | | 12 | # |
13 | # This configure script is free software; the Free Software Foundation | | 13 | # This configure script is free software; the Free Software Foundation |
14 | # gives unlimited permission to copy, distribute and modify it. | | 14 | # gives unlimited permission to copy, distribute and modify it. |
15 | ## -------------------- ## | | 15 | ## -------------------- ## |
16 | ## M4sh Initialization. ## | | 16 | ## M4sh Initialization. ## |
17 | ## -------------------- ## | | 17 | ## -------------------- ## |
18 | | | 18 | |
19 | # Be more Bourne compatible | | 19 | # Be more Bourne compatible |
20 | DUALCASE=1; export DUALCASE # for MKS sh | | 20 | DUALCASE=1; export DUALCASE # for MKS sh |
21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | | 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
22 | emulate sh | | 22 | emulate sh |
23 | NULLCMD=: | | 23 | NULLCMD=: |
| @@ -81,26 +81,27 @@ if test "${PATH_SEPARATOR+set}" != set; | | | @@ -81,26 +81,27 @@ if test "${PATH_SEPARATOR+set}" != set; |
81 | PATH_SEPARATOR=';' | | 81 | PATH_SEPARATOR=';' |
82 | } | | 82 | } |
83 | fi | | 83 | fi |
84 | | | 84 | |
85 | | | 85 | |
86 | # IFS | | 86 | # IFS |
87 | # We need space, tab and new line, in precisely that order. Quoting is | | 87 | # We need space, tab and new line, in precisely that order. Quoting is |
88 | # there to prevent editors from complaining about space-tab. | | 88 | # there to prevent editors from complaining about space-tab. |
89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | | 89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
90 | # splitting by setting IFS to empty value.) | | 90 | # splitting by setting IFS to empty value.) |
91 | IFS=" "" $as_nl" | | 91 | IFS=" "" $as_nl" |
92 | | | 92 | |
93 | # Find who we are. Look in the path if we contain no directory separator. | | 93 | # Find who we are. Look in the path if we contain no directory separator. |
| | | 94 | as_myself= |
94 | case $0 in #(( | | 95 | case $0 in #(( |
95 | *[\\/]* ) as_myself=$0 ;; | | 96 | *[\\/]* ) as_myself=$0 ;; |
96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
97 | for as_dir in $PATH | | 98 | for as_dir in $PATH |
98 | do | | 99 | do |
99 | IFS=$as_save_IFS | | 100 | IFS=$as_save_IFS |
100 | test -z "$as_dir" && as_dir=. | | 101 | test -z "$as_dir" && as_dir=. |
101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | | 102 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
102 | done | | 103 | done |
103 | IFS=$as_save_IFS | | 104 | IFS=$as_save_IFS |
104 | | | 105 | |
105 | ;; | | 106 | ;; |
106 | esac | | 107 | esac |
| @@ -206,31 +207,38 @@ fi | | | @@ -206,31 +207,38 @@ fi |
206 | as_found=false | | 207 | as_found=false |
207 | done | | 208 | done |
208 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | | 209 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
209 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | | 210 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
210 | CONFIG_SHELL=$SHELL as_have_required=yes | | 211 | CONFIG_SHELL=$SHELL as_have_required=yes |
211 | fi; } | | 212 | fi; } |
212 | IFS=$as_save_IFS | | 213 | IFS=$as_save_IFS |
213 | | | 214 | |
214 | | | 215 | |
215 | if test "x$CONFIG_SHELL" != x; then : | | 216 | if test "x$CONFIG_SHELL" != x; then : |
216 | # We cannot yet assume a decent shell, so we have to provide a | | 217 | # We cannot yet assume a decent shell, so we have to provide a |
217 | # neutralization value for shells without unset; and this also | | 218 | # neutralization value for shells without unset; and this also |
218 | # works around shells that cannot unset nonexistent variables. | | 219 | # works around shells that cannot unset nonexistent variables. |
| | | 220 | # Preserve -v and -x to the replacement shell. |
219 | BASH_ENV=/dev/null | | 221 | BASH_ENV=/dev/null |
220 | ENV=/dev/null | | 222 | ENV=/dev/null |
221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | | 223 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
222 | export CONFIG_SHELL | | 224 | export CONFIG_SHELL |
223 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | | 225 | case $- in # (((( |
| | | 226 | *v*x* | *x*v* ) as_opts=-vx ;; |
| | | 227 | *v* ) as_opts=-v ;; |
| | | 228 | *x* ) as_opts=-x ;; |
| | | 229 | * ) as_opts= ;; |
| | | 230 | esac |
| | | 231 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
224 | fi | | 232 | fi |
225 | | | 233 | |
226 | if test x$as_have_required = xno; then : | | 234 | if test x$as_have_required = xno; then : |
227 | $as_echo "$0: This script requires a shell more modern than all" | | 235 | $as_echo "$0: This script requires a shell more modern than all" |
228 | $as_echo "$0: the shells that I found on your system." | | 236 | $as_echo "$0: the shells that I found on your system." |
229 | if test x${ZSH_VERSION+set} = xset ; then | | 237 | if test x${ZSH_VERSION+set} = xset ; then |
230 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | | 238 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
231 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | | 239 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
232 | else | | 240 | else |
233 | $as_echo "$0: Please tell bug-autoconf@gnu.org and grant@NetBSD.org | | 241 | $as_echo "$0: Please tell bug-autoconf@gnu.org and grant@NetBSD.org |
234 | $0: about your system, including any error possibly output | | 242 | $0: about your system, including any error possibly output |
235 | $0: before this message. Then install a modern shell, or | | 243 | $0: before this message. Then install a modern shell, or |
236 | $0: manually run the script under such a shell if you do | | 244 | $0: manually run the script under such a shell if you do |
| @@ -309,27 +317,27 @@ $as_echo X"$as_dir" | | | | @@ -309,27 +317,27 @@ $as_echo X"$as_dir" | |
309 | } | | 317 | } |
310 | /^X\(\/\/\)$/{ | | 318 | /^X\(\/\/\)$/{ |
311 | s//\1/ | | 319 | s//\1/ |
312 | q | | 320 | q |
313 | } | | 321 | } |
314 | /^X\(\/\).*/{ | | 322 | /^X\(\/\).*/{ |
315 | s//\1/ | | 323 | s//\1/ |
316 | q | | 324 | q |
317 | } | | 325 | } |
318 | s/.*/./; q'` | | 326 | s/.*/./; q'` |
319 | test -d "$as_dir" && break | | 327 | test -d "$as_dir" && break |
320 | done | | 328 | done |
321 | test -z "$as_dirs" || eval "mkdir $as_dirs" | | 329 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
322 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | | 330 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
323 | | | 331 | |
324 | | | 332 | |
325 | } # as_fn_mkdir_p | | 333 | } # as_fn_mkdir_p |
326 | # as_fn_append VAR VALUE | | 334 | # as_fn_append VAR VALUE |
327 | # ---------------------- | | 335 | # ---------------------- |
328 | # Append the text in VALUE to the end of the definition contained in VAR. Take | | 336 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
329 | # advantage of any shell optimizations that allow amortized linear growth over | | 337 | # advantage of any shell optimizations that allow amortized linear growth over |
330 | # repeated appends, instead of the typical quadratic growth present in naive | | 338 | # repeated appends, instead of the typical quadratic growth present in naive |
331 | # implementations. | | 339 | # implementations. |
332 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | | 340 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
333 | eval 'as_fn_append () | | 341 | eval 'as_fn_append () |
334 | { | | 342 | { |
335 | eval $1+=\$2 | | 343 | eval $1+=\$2 |
| @@ -349,39 +357,39 @@ fi # as_fn_append | | | @@ -349,39 +357,39 @@ fi # as_fn_append |
349 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | | 357 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
350 | eval 'as_fn_arith () | | 358 | eval 'as_fn_arith () |
351 | { | | 359 | { |
352 | as_val=$(( $* )) | | 360 | as_val=$(( $* )) |
353 | }' | | 361 | }' |
354 | else | | 362 | else |
355 | as_fn_arith () | | 363 | as_fn_arith () |
356 | { | | 364 | { |
357 | as_val=`expr "$@" || test $? -eq 1` | | 365 | as_val=`expr "$@" || test $? -eq 1` |
358 | } | | 366 | } |
359 | fi # as_fn_arith | | 367 | fi # as_fn_arith |
360 | | | 368 | |
361 | | | 369 | |
362 | # as_fn_error ERROR [LINENO LOG_FD] | | 370 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
363 | # --------------------------------- | | 371 | # ---------------------------------------- |
364 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | | 372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
365 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | | 373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
366 | # script with status $?, using 1 if that was 0. | | 374 | # script with STATUS, using 1 if that was 0. |
367 | as_fn_error () | | 375 | as_fn_error () |
368 | { | | 376 | { |
369 | as_status=$?; test $as_status -eq 0 && as_status=1 | | 377 | as_status=$1; test $as_status -eq 0 && as_status=1 |
370 | if test "$3"; then | | 378 | if test "$4"; then |
371 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 379 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
372 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | | 380 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
373 | fi | | 381 | fi |
374 | $as_echo "$as_me: error: $1" >&2 | | 382 | $as_echo "$as_me: error: $2" >&2 |
375 | as_fn_exit $as_status | | 383 | as_fn_exit $as_status |
376 | } # as_fn_error | | 384 | } # as_fn_error |
377 | | | 385 | |
378 | if expr a : '\(a\)' >/dev/null 2>&1 && | | 386 | if expr a : '\(a\)' >/dev/null 2>&1 && |
379 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | | 387 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
380 | as_expr=expr | | 388 | as_expr=expr |
381 | else | | 389 | else |
382 | as_expr=false | | 390 | as_expr=false |
383 | fi | | 391 | fi |
384 | | | 392 | |
385 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | | 393 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
386 | as_basename=basename | | 394 | as_basename=basename |
387 | else | | 395 | else |
| @@ -523,27 +531,27 @@ fi | | | @@ -523,27 +531,27 @@ fi |
523 | as_executable_p=$as_test_x | | 531 | as_executable_p=$as_test_x |
524 | | | 532 | |
525 | # Sed expression to map a string onto a valid CPP name. | | 533 | # Sed expression to map a string onto a valid CPP name. |
526 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | | 534 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
527 | | | 535 | |
528 | # Sed expression to map a string onto a valid variable name. | | 536 | # Sed expression to map a string onto a valid variable name. |
529 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | | 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
530 | | | 538 | |
531 | | | 539 | |
532 | test -n "$DJDIR" || exec 7<&0 </dev/null | | 540 | test -n "$DJDIR" || exec 7<&0 </dev/null |
533 | exec 6>&1 | | 541 | exec 6>&1 |
534 | | | 542 | |
535 | # Name of the host. | | 543 | # Name of the host. |
536 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | | 544 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
537 | # so uname gets run too. | | 545 | # so uname gets run too. |
538 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | | 546 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
539 | | | 547 | |
540 | # | | 548 | # |
541 | # Initializations. | | 549 | # Initializations. |
542 | # | | 550 | # |
543 | ac_default_prefix=/usr/local | | 551 | ac_default_prefix=/usr/local |
544 | ac_clean_files= | | 552 | ac_clean_files= |
545 | ac_config_libobj_dir=. | | 553 | ac_config_libobj_dir=. |
546 | LIBOBJS= | | 554 | LIBOBJS= |
547 | cross_compiling=no | | 555 | cross_compiling=no |
548 | subdirs= | | 556 | subdirs= |
549 | MFLAGS= | | 557 | MFLAGS= |
| @@ -731,28 +739,29 @@ mandir='${datarootdir}/man' | | | @@ -731,28 +739,29 @@ mandir='${datarootdir}/man' |
731 | | | 739 | |
732 | ac_prev= | | 740 | ac_prev= |
733 | ac_dashdash= | | 741 | ac_dashdash= |
734 | for ac_option | | 742 | for ac_option |
735 | do | | 743 | do |
736 | # If the previous option needs an argument, assign it. | | 744 | # If the previous option needs an argument, assign it. |
737 | if test -n "$ac_prev"; then | | 745 | if test -n "$ac_prev"; then |
738 | eval $ac_prev=\$ac_option | | 746 | eval $ac_prev=\$ac_option |
739 | ac_prev= | | 747 | ac_prev= |
740 | continue | | 748 | continue |
741 | fi | | 749 | fi |
742 | | | 750 | |
743 | case $ac_option in | | 751 | case $ac_option in |
744 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | | 752 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
745 | *) ac_optarg=yes ;; | | 753 | *=) ac_optarg= ;; |
| | | 754 | *) ac_optarg=yes ;; |
746 | esac | | 755 | esac |
747 | | | 756 | |
748 | # Accept the important Cygnus configure options, so we can diagnose typos. | | 757 | # Accept the important Cygnus configure options, so we can diagnose typos. |
749 | | | 758 | |
750 | case $ac_dashdash$ac_option in | | 759 | case $ac_dashdash$ac_option in |
751 | --) | | 760 | --) |
752 | ac_dashdash=yes ;; | | 761 | ac_dashdash=yes ;; |
753 | | | 762 | |
754 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | | 763 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
755 | ac_prev=bindir ;; | | 764 | ac_prev=bindir ;; |
756 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | | 765 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
757 | bindir=$ac_optarg ;; | | 766 | bindir=$ac_optarg ;; |
758 | | | 767 | |
| @@ -777,53 +786,53 @@ do | | | @@ -777,53 +786,53 @@ do |
777 | datadir=$ac_optarg ;; | | 786 | datadir=$ac_optarg ;; |
778 | | | 787 | |
779 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | | 788 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
780 | | --dataroo | --dataro | --datar) | | 789 | | --dataroo | --dataro | --datar) |
781 | ac_prev=datarootdir ;; | | 790 | ac_prev=datarootdir ;; |
782 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | | 791 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
783 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | | 792 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
784 | datarootdir=$ac_optarg ;; | | 793 | datarootdir=$ac_optarg ;; |
785 | | | 794 | |
786 | -disable-* | --disable-*) | | 795 | -disable-* | --disable-*) |
787 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | | 796 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
788 | # Reject names that are not valid shell variable names. | | 797 | # Reject names that are not valid shell variable names. |
789 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | | 798 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
790 | as_fn_error "invalid feature name: $ac_useropt" | | 799 | as_fn_error $? "invalid feature name: $ac_useropt" |
791 | ac_useropt_orig=$ac_useropt | | 800 | ac_useropt_orig=$ac_useropt |
792 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | | 801 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
793 | case $ac_user_opts in | | 802 | case $ac_user_opts in |
794 | *" | | 803 | *" |
795 | "enable_$ac_useropt" | | 804 | "enable_$ac_useropt" |
796 | "*) ;; | | 805 | "*) ;; |
797 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | | 806 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
798 | ac_unrecognized_sep=', ';; | | 807 | ac_unrecognized_sep=', ';; |
799 | esac | | 808 | esac |
800 | eval enable_$ac_useropt=no ;; | | 809 | eval enable_$ac_useropt=no ;; |
801 | | | 810 | |
802 | -docdir | --docdir | --docdi | --doc | --do) | | 811 | -docdir | --docdir | --docdi | --doc | --do) |
803 | ac_prev=docdir ;; | | 812 | ac_prev=docdir ;; |
804 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | | 813 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
805 | docdir=$ac_optarg ;; | | 814 | docdir=$ac_optarg ;; |
806 | | | 815 | |
807 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | | 816 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
808 | ac_prev=dvidir ;; | | 817 | ac_prev=dvidir ;; |
809 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | | 818 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
810 | dvidir=$ac_optarg ;; | | 819 | dvidir=$ac_optarg ;; |
811 | | | 820 | |
812 | -enable-* | --enable-*) | | 821 | -enable-* | --enable-*) |
813 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | | 822 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
814 | # Reject names that are not valid shell variable names. | | 823 | # Reject names that are not valid shell variable names. |
815 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | | 824 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
816 | as_fn_error "invalid feature name: $ac_useropt" | | 825 | as_fn_error $? "invalid feature name: $ac_useropt" |
817 | ac_useropt_orig=$ac_useropt | | 826 | ac_useropt_orig=$ac_useropt |
818 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | | 827 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
819 | case $ac_user_opts in | | 828 | case $ac_user_opts in |
820 | *" | | 829 | *" |
821 | "enable_$ac_useropt" | | 830 | "enable_$ac_useropt" |
822 | "*) ;; | | 831 | "*) ;; |
823 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | | 832 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
824 | ac_unrecognized_sep=', ';; | | 833 | ac_unrecognized_sep=', ';; |
825 | esac | | 834 | esac |
826 | eval enable_$ac_useropt=\$ac_optarg ;; | | 835 | eval enable_$ac_useropt=\$ac_optarg ;; |
827 | | | 836 | |
828 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | | 837 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
829 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | 838 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| @@ -1007,43 +1016,43 @@ do | | | @@ -1007,43 +1016,43 @@ do |
1007 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | | 1016 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1008 | target_alias=$ac_optarg ;; | | 1017 | target_alias=$ac_optarg ;; |
1009 | | | 1018 | |
1010 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | | 1019 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1011 | verbose=yes ;; | | 1020 | verbose=yes ;; |
1012 | | | 1021 | |
1013 | -version | --version | --versio | --versi | --vers | -V) | | 1022 | -version | --version | --versio | --versi | --vers | -V) |
1014 | ac_init_version=: ;; | | 1023 | ac_init_version=: ;; |
1015 | | | 1024 | |
1016 | -with-* | --with-*) | | 1025 | -with-* | --with-*) |
1017 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | | 1026 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1018 | # Reject names that are not valid shell variable names. | | 1027 | # Reject names that are not valid shell variable names. |
1019 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | | 1028 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1020 | as_fn_error "invalid package name: $ac_useropt" | | 1029 | as_fn_error $? "invalid package name: $ac_useropt" |
1021 | ac_useropt_orig=$ac_useropt | | 1030 | ac_useropt_orig=$ac_useropt |
1022 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | | 1031 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1023 | case $ac_user_opts in | | 1032 | case $ac_user_opts in |
1024 | *" | | 1033 | *" |
1025 | "with_$ac_useropt" | | 1034 | "with_$ac_useropt" |
1026 | "*) ;; | | 1035 | "*) ;; |
1027 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | | 1036 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1028 | ac_unrecognized_sep=', ';; | | 1037 | ac_unrecognized_sep=', ';; |
1029 | esac | | 1038 | esac |
1030 | eval with_$ac_useropt=\$ac_optarg ;; | | 1039 | eval with_$ac_useropt=\$ac_optarg ;; |
1031 | | | 1040 | |
1032 | -without-* | --without-*) | | 1041 | -without-* | --without-*) |
1033 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | | 1042 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1034 | # Reject names that are not valid shell variable names. | | 1043 | # Reject names that are not valid shell variable names. |
1035 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | | 1044 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1036 | as_fn_error "invalid package name: $ac_useropt" | | 1045 | as_fn_error $? "invalid package name: $ac_useropt" |
1037 | ac_useropt_orig=$ac_useropt | | 1046 | ac_useropt_orig=$ac_useropt |
1038 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | | 1047 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1039 | case $ac_user_opts in | | 1048 | case $ac_user_opts in |
1040 | *" | | 1049 | *" |
1041 | "with_$ac_useropt" | | 1050 | "with_$ac_useropt" |
1042 | "*) ;; | | 1051 | "*) ;; |
1043 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | | 1052 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1044 | ac_unrecognized_sep=', ';; | | 1053 | ac_unrecognized_sep=', ';; |
1045 | esac | | 1054 | esac |
1046 | eval with_$ac_useropt=no ;; | | 1055 | eval with_$ac_useropt=no ;; |
1047 | | | 1056 | |
1048 | --x) | | 1057 | --x) |
1049 | # Obsolete; use --with-x. | | 1058 | # Obsolete; use --with-x. |
| @@ -1053,115 +1062,115 @@ do | | | @@ -1053,115 +1062,115 @@ do |
1053 | | --x-incl | --x-inc | --x-in | --x-i) | | 1062 | | --x-incl | --x-inc | --x-in | --x-i) |
1054 | ac_prev=x_includes ;; | | 1063 | ac_prev=x_includes ;; |
1055 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | | 1064 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1056 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | | 1065 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1057 | x_includes=$ac_optarg ;; | | 1066 | x_includes=$ac_optarg ;; |
1058 | | | 1067 | |
1059 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | | 1068 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1060 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | | 1069 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1061 | ac_prev=x_libraries ;; | | 1070 | ac_prev=x_libraries ;; |
1062 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | | 1071 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1063 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | | 1072 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1064 | x_libraries=$ac_optarg ;; | | 1073 | x_libraries=$ac_optarg ;; |
1065 | | | 1074 | |
1066 | -*) as_fn_error "unrecognized option: \`$ac_option' | | 1075 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1067 | Try \`$0 --help' for more information." | | 1076 | Try \`$0 --help' for more information" |
1068 | ;; | | 1077 | ;; |
1069 | | | 1078 | |
1070 | *=*) | | 1079 | *=*) |
1071 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | | 1080 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1072 | # Reject names that are not valid shell variable names. | | 1081 | # Reject names that are not valid shell variable names. |
1073 | case $ac_envvar in #( | | 1082 | case $ac_envvar in #( |
1074 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | | 1083 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1075 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | | 1084 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1076 | esac | | 1085 | esac |
1077 | eval $ac_envvar=\$ac_optarg | | 1086 | eval $ac_envvar=\$ac_optarg |
1078 | export $ac_envvar ;; | | 1087 | export $ac_envvar ;; |
1079 | | | 1088 | |
1080 | *) | | 1089 | *) |
1081 | # FIXME: should be removed in autoconf 3.0. | | 1090 | # FIXME: should be removed in autoconf 3.0. |
1082 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | | 1091 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1083 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | | 1092 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1084 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | | 1093 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1085 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | | 1094 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1086 | ;; | | 1095 | ;; |
1087 | | | 1096 | |
1088 | esac | | 1097 | esac |
1089 | done | | 1098 | done |
1090 | | | 1099 | |
1091 | if test -n "$ac_prev"; then | | 1100 | if test -n "$ac_prev"; then |
1092 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | | 1101 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1093 | as_fn_error "missing argument to $ac_option" | | 1102 | as_fn_error $? "missing argument to $ac_option" |
1094 | fi | | 1103 | fi |
1095 | | | 1104 | |
1096 | if test -n "$ac_unrecognized_opts"; then | | 1105 | if test -n "$ac_unrecognized_opts"; then |
1097 | case $enable_option_checking in | | 1106 | case $enable_option_checking in |
1098 | no) ;; | | 1107 | no) ;; |
1099 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | | 1108 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1100 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | | 1109 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1101 | esac | | 1110 | esac |
1102 | fi | | 1111 | fi |
1103 | | | 1112 | |
1104 | # Check all directory arguments for consistency. | | 1113 | # Check all directory arguments for consistency. |
1105 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | | 1114 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1106 | datadir sysconfdir sharedstatedir localstatedir includedir \ | | 1115 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1107 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | | 1116 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1108 | libdir localedir mandir | | 1117 | libdir localedir mandir |
1109 | do | | 1118 | do |
1110 | eval ac_val=\$$ac_var | | 1119 | eval ac_val=\$$ac_var |
1111 | # Remove trailing slashes. | | 1120 | # Remove trailing slashes. |
1112 | case $ac_val in | | 1121 | case $ac_val in |
1113 | */ ) | | 1122 | */ ) |
1114 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | | 1123 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1115 | eval $ac_var=\$ac_val;; | | 1124 | eval $ac_var=\$ac_val;; |
1116 | esac | | 1125 | esac |
1117 | # Be sure to have absolute directory names. | | 1126 | # Be sure to have absolute directory names. |
1118 | case $ac_val in | | 1127 | case $ac_val in |
1119 | [\\/$]* | ?:[\\/]* ) continue;; | | 1128 | [\\/$]* | ?:[\\/]* ) continue;; |
1120 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | | 1129 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1121 | esac | | 1130 | esac |
1122 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | | 1131 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1123 | done | | 1132 | done |
1124 | | | 1133 | |
1125 | # There might be people who depend on the old broken behavior: `$host' | | 1134 | # There might be people who depend on the old broken behavior: `$host' |
1126 | # used to hold the argument of --host etc. | | 1135 | # used to hold the argument of --host etc. |
1127 | # FIXME: To remove some day. | | 1136 | # FIXME: To remove some day. |
1128 | build=$build_alias | | 1137 | build=$build_alias |
1129 | host=$host_alias | | 1138 | host=$host_alias |
1130 | target=$target_alias | | 1139 | target=$target_alias |
1131 | | | 1140 | |
1132 | # FIXME: To remove some day. | | 1141 | # FIXME: To remove some day. |
1133 | if test "x$host_alias" != x; then | | 1142 | if test "x$host_alias" != x; then |
1134 | if test "x$build_alias" = x; then | | 1143 | if test "x$build_alias" = x; then |
1135 | cross_compiling=maybe | | 1144 | cross_compiling=maybe |
1136 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | | 1145 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1137 | If a cross compiler is detected then cross compile mode will be used." >&2 | | 1146 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1138 | elif test "x$build_alias" != "x$host_alias"; then | | 1147 | elif test "x$build_alias" != "x$host_alias"; then |
1139 | cross_compiling=yes | | 1148 | cross_compiling=yes |
1140 | fi | | 1149 | fi |
1141 | fi | | 1150 | fi |
1142 | | | 1151 | |
1143 | ac_tool_prefix= | | 1152 | ac_tool_prefix= |
1144 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | | 1153 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1145 | | | 1154 | |
1146 | test "$silent" = yes && exec 6>/dev/null | | 1155 | test "$silent" = yes && exec 6>/dev/null |
1147 | | | 1156 | |
1148 | | | 1157 | |
1149 | ac_pwd=`pwd` && test -n "$ac_pwd" && | | 1158 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1150 | ac_ls_di=`ls -di .` && | | 1159 | ac_ls_di=`ls -di .` && |
1151 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | | 1160 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1152 | as_fn_error "working directory cannot be determined" | | 1161 | as_fn_error $? "working directory cannot be determined" |
1153 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | | 1162 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1154 | as_fn_error "pwd does not report name of working directory" | | 1163 | as_fn_error $? "pwd does not report name of working directory" |
1155 | | | 1164 | |
1156 | | | 1165 | |
1157 | # Find the source files, if location was not specified. | | 1166 | # Find the source files, if location was not specified. |
1158 | if test -z "$srcdir"; then | | 1167 | if test -z "$srcdir"; then |
1159 | ac_srcdir_defaulted=yes | | 1168 | ac_srcdir_defaulted=yes |
1160 | # Try the directory containing this script, then the parent directory. | | 1169 | # Try the directory containing this script, then the parent directory. |
1161 | ac_confdir=`$as_dirname -- "$as_myself" || | | 1170 | ac_confdir=`$as_dirname -- "$as_myself" || |
1162 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 1171 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1163 | X"$as_myself" : 'X\(//\)[^/]' \| \ | | 1172 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1164 | X"$as_myself" : 'X\(//\)$' \| \ | | 1173 | X"$as_myself" : 'X\(//\)$' \| \ |
1165 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | | 1174 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1166 | $as_echo X"$as_myself" | | | 1175 | $as_echo X"$as_myself" | |
1167 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | | 1176 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| @@ -1180,31 +1189,31 @@ $as_echo X"$as_myself" | | | | @@ -1180,31 +1189,31 @@ $as_echo X"$as_myself" | |
1180 | s//\1/ | | 1189 | s//\1/ |
1181 | q | | 1190 | q |
1182 | } | | 1191 | } |
1183 | s/.*/./; q'` | | 1192 | s/.*/./; q'` |
1184 | srcdir=$ac_confdir | | 1193 | srcdir=$ac_confdir |
1185 | if test ! -r "$srcdir/$ac_unique_file"; then | | 1194 | if test ! -r "$srcdir/$ac_unique_file"; then |
1186 | srcdir=.. | | 1195 | srcdir=.. |
1187 | fi | | 1196 | fi |
1188 | else | | 1197 | else |
1189 | ac_srcdir_defaulted=no | | 1198 | ac_srcdir_defaulted=no |
1190 | fi | | 1199 | fi |
1191 | if test ! -r "$srcdir/$ac_unique_file"; then | | 1200 | if test ! -r "$srcdir/$ac_unique_file"; then |
1192 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | | 1201 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1193 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | | 1202 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1194 | fi | | 1203 | fi |
1195 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | | 1204 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1196 | ac_abs_confdir=`( | | 1205 | ac_abs_confdir=`( |
1197 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | | 1206 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1198 | pwd)` | | 1207 | pwd)` |
1199 | # When building in place, set srcdir=. | | 1208 | # When building in place, set srcdir=. |
1200 | if test "$ac_abs_confdir" = "$ac_pwd"; then | | 1209 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1201 | srcdir=. | | 1210 | srcdir=. |
1202 | fi | | 1211 | fi |
1203 | # Remove unnecessary trailing slashes from srcdir. | | 1212 | # Remove unnecessary trailing slashes from srcdir. |
1204 | # Double slashes in file names in object file debugging info | | 1213 | # Double slashes in file names in object file debugging info |
1205 | # mess up M-x gdb in Emacs. | | 1214 | # mess up M-x gdb in Emacs. |
1206 | case $srcdir in | | 1215 | case $srcdir in |
1207 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | | 1216 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1208 | esac | | 1217 | esac |
1209 | for ac_var in $ac_precious_vars; do | | 1218 | for ac_var in $ac_precious_vars; do |
1210 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | | 1219 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| @@ -1224,27 +1233,27 @@ if test "$ac_init_help" = "long"; then | | | @@ -1224,27 +1233,27 @@ if test "$ac_init_help" = "long"; then |
1224 | | | 1233 | |
1225 | Usage: $0 [OPTION]... [VAR=VALUE]... | | 1234 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1226 | | | 1235 | |
1227 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | | 1236 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1228 | VAR=VALUE. See below for descriptions of some of the useful variables. | | 1237 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1229 | | | 1238 | |
1230 | Defaults for the options are specified in brackets. | | 1239 | Defaults for the options are specified in brackets. |
1231 | | | 1240 | |
1232 | Configuration: | | 1241 | Configuration: |
1233 | -h, --help display this help and exit | | 1242 | -h, --help display this help and exit |
1234 | --help=short display options specific to this package | | 1243 | --help=short display options specific to this package |
1235 | --help=recursive display the short help of all the included packages | | 1244 | --help=recursive display the short help of all the included packages |
1236 | -V, --version display version information and exit | | 1245 | -V, --version display version information and exit |
1237 | -q, --quiet, --silent do not print \`checking...' messages | | 1246 | -q, --quiet, --silent do not print \`checking ...' messages |
1238 | --cache-file=FILE cache test results in FILE [disabled] | | 1247 | --cache-file=FILE cache test results in FILE [disabled] |
1239 | -C, --config-cache alias for \`--cache-file=config.cache' | | 1248 | -C, --config-cache alias for \`--cache-file=config.cache' |
1240 | -n, --no-create do not create output files | | 1249 | -n, --no-create do not create output files |
1241 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | | 1250 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1242 | | | 1251 | |
1243 | Installation directories: | | 1252 | Installation directories: |
1244 | --prefix=PREFIX install architecture-independent files in PREFIX | | 1253 | --prefix=PREFIX install architecture-independent files in PREFIX |
1245 | [$ac_default_prefix] | | 1254 | [$ac_default_prefix] |
1246 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | | 1255 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1247 | [PREFIX] | | 1256 | [PREFIX] |
1248 | | | 1257 | |
1249 | By default, \`make install' will install all the files in | | 1258 | By default, \`make install' will install all the files in |
1250 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | | 1259 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| @@ -1368,29 +1377,29 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ | | | @@ -1368,29 +1377,29 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ |
1368 | echo && | | 1377 | echo && |
1369 | $SHELL "$ac_srcdir/configure" --help=recursive | | 1378 | $SHELL "$ac_srcdir/configure" --help=recursive |
1370 | else | | 1379 | else |
1371 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | | 1380 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1372 | fi || ac_status=$? | | 1381 | fi || ac_status=$? |
1373 | cd "$ac_pwd" || { ac_status=$?; break; } | | 1382 | cd "$ac_pwd" || { ac_status=$?; break; } |
1374 | done | | 1383 | done |
1375 | fi | | 1384 | fi |
1376 | | | 1385 | |
1377 | test -n "$ac_init_help" && exit $ac_status | | 1386 | test -n "$ac_init_help" && exit $ac_status |
1378 | if $ac_init_version; then | | 1387 | if $ac_init_version; then |
1379 | cat <<\_ACEOF | | 1388 | cat <<\_ACEOF |
1380 | libnbcompat configure 20080605 | | 1389 | libnbcompat configure 20080605 |
1381 | generated by GNU Autoconf 2.65 | | 1390 | generated by GNU Autoconf 2.68 |
1382 | | | 1391 | |
1383 | Copyright (C) 2009 Free Software Foundation, Inc. | | 1392 | Copyright (C) 2010 Free Software Foundation, Inc. |
1384 | This configure script is free software; the Free Software Foundation | | 1393 | This configure script is free software; the Free Software Foundation |
1385 | gives unlimited permission to copy, distribute and modify it. | | 1394 | gives unlimited permission to copy, distribute and modify it. |
1386 | _ACEOF | | 1395 | _ACEOF |
1387 | exit | | 1396 | exit |
1388 | fi | | 1397 | fi |
1389 | | | 1398 | |
1390 | ## ------------------------ ## | | 1399 | ## ------------------------ ## |
1391 | ## Autoconf initialization. ## | | 1400 | ## Autoconf initialization. ## |
1392 | ## ------------------------ ## | | 1401 | ## ------------------------ ## |
1393 | | | 1402 | |
1394 | # ac_fn_c_try_compile LINENO | | 1403 | # ac_fn_c_try_compile LINENO |
1395 | # -------------------------- | | 1404 | # -------------------------- |
1396 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | | 1405 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| @@ -1414,27 +1423,27 @@ $as_echo "$ac_try_echo"; } >&5 | | | @@ -1414,27 +1423,27 @@ $as_echo "$ac_try_echo"; } >&5 |
1414 | fi | | 1423 | fi |
1415 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | | 1424 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1416 | test $ac_status = 0; } && { | | 1425 | test $ac_status = 0; } && { |
1417 | test -z "$ac_c_werror_flag" || | | 1426 | test -z "$ac_c_werror_flag" || |
1418 | test ! -s conftest.err | | 1427 | test ! -s conftest.err |
1419 | } && test -s conftest.$ac_objext; then : | | 1428 | } && test -s conftest.$ac_objext; then : |
1420 | ac_retval=0 | | 1429 | ac_retval=0 |
1421 | else | | 1430 | else |
1422 | $as_echo "$as_me: failed program was:" >&5 | | 1431 | $as_echo "$as_me: failed program was:" >&5 |
1423 | sed 's/^/| /' conftest.$ac_ext >&5 | | 1432 | sed 's/^/| /' conftest.$ac_ext >&5 |
1424 | | | 1433 | |
1425 | ac_retval=1 | | 1434 | ac_retval=1 |
1426 | fi | | 1435 | fi |
1427 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1436 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1428 | as_fn_set_status $ac_retval | | 1437 | as_fn_set_status $ac_retval |
1429 | | | 1438 | |
1430 | } # ac_fn_c_try_compile | | 1439 | } # ac_fn_c_try_compile |
1431 | | | 1440 | |
1432 | # ac_fn_c_try_link LINENO | | 1441 | # ac_fn_c_try_link LINENO |
1433 | # ----------------------- | | 1442 | # ----------------------- |
1434 | # Try to link conftest.$ac_ext, and return whether this succeeded. | | 1443 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1435 | ac_fn_c_try_link () | | 1444 | ac_fn_c_try_link () |
1436 | { | | 1445 | { |
1437 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1446 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1438 | rm -f conftest.$ac_objext conftest$ac_exeext | | 1447 | rm -f conftest.$ac_objext conftest$ac_exeext |
1439 | if { { ac_try="$ac_link" | | 1448 | if { { ac_try="$ac_link" |
1440 | case "(($ac_try" in | | 1449 | case "(($ac_try" in |
| @@ -1460,64 +1469,64 @@ $as_echo "$ac_try_echo"; } >&5 | | | @@ -1460,64 +1469,64 @@ $as_echo "$ac_try_echo"; } >&5 |
1460 | }; then : | | 1469 | }; then : |
1461 | ac_retval=0 | | 1470 | ac_retval=0 |
1462 | else | | 1471 | else |
1463 | $as_echo "$as_me: failed program was:" >&5 | | 1472 | $as_echo "$as_me: failed program was:" >&5 |
1464 | sed 's/^/| /' conftest.$ac_ext >&5 | | 1473 | sed 's/^/| /' conftest.$ac_ext >&5 |
1465 | | | 1474 | |
1466 | ac_retval=1 | | 1475 | ac_retval=1 |
1467 | fi | | 1476 | fi |
1468 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | | 1477 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1469 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | | 1478 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1470 | # interfere with the next link command; also delete a directory that is | | 1479 | # interfere with the next link command; also delete a directory that is |
1471 | # left behind by Apple's compiler. We do this before executing the actions. | | 1480 | # left behind by Apple's compiler. We do this before executing the actions. |
1472 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | | 1481 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1473 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1482 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1474 | as_fn_set_status $ac_retval | | 1483 | as_fn_set_status $ac_retval |
1475 | | | 1484 | |
1476 | } # ac_fn_c_try_link | | 1485 | } # ac_fn_c_try_link |
1477 | | | 1486 | |
1478 | # ac_fn_c_try_cpp LINENO | | 1487 | # ac_fn_c_try_cpp LINENO |
1479 | # ---------------------- | | 1488 | # ---------------------- |
1480 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | | 1489 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1481 | ac_fn_c_try_cpp () | | 1490 | ac_fn_c_try_cpp () |
1482 | { | | 1491 | { |
1483 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1492 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1484 | if { { ac_try="$ac_cpp conftest.$ac_ext" | | 1493 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
1485 | case "(($ac_try" in | | 1494 | case "(($ac_try" in |
1486 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 1495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1487 | *) ac_try_echo=$ac_try;; | | 1496 | *) ac_try_echo=$ac_try;; |
1488 | esac | | 1497 | esac |
1489 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | | 1498 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1490 | $as_echo "$ac_try_echo"; } >&5 | | 1499 | $as_echo "$ac_try_echo"; } >&5 |
1491 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | | 1500 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1492 | ac_status=$? | | 1501 | ac_status=$? |
1493 | if test -s conftest.err; then | | 1502 | if test -s conftest.err; then |
1494 | grep -v '^ *+' conftest.err >conftest.er1 | | 1503 | grep -v '^ *+' conftest.err >conftest.er1 |
1495 | cat conftest.er1 >&5 | | 1504 | cat conftest.er1 >&5 |
1496 | mv -f conftest.er1 conftest.err | | 1505 | mv -f conftest.er1 conftest.err |
1497 | fi | | 1506 | fi |
1498 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | | 1507 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1499 | test $ac_status = 0; } >/dev/null && { | | 1508 | test $ac_status = 0; } > conftest.i && { |
1500 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | | 1509 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1501 | test ! -s conftest.err | | 1510 | test ! -s conftest.err |
1502 | }; then : | | 1511 | }; then : |
1503 | ac_retval=0 | | 1512 | ac_retval=0 |
1504 | else | | 1513 | else |
1505 | $as_echo "$as_me: failed program was:" >&5 | | 1514 | $as_echo "$as_me: failed program was:" >&5 |
1506 | sed 's/^/| /' conftest.$ac_ext >&5 | | 1515 | sed 's/^/| /' conftest.$ac_ext >&5 |
1507 | | | 1516 | |
1508 | ac_retval=1 | | 1517 | ac_retval=1 |
1509 | fi | | 1518 | fi |
1510 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1519 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1511 | as_fn_set_status $ac_retval | | 1520 | as_fn_set_status $ac_retval |
1512 | | | 1521 | |
1513 | } # ac_fn_c_try_cpp | | 1522 | } # ac_fn_c_try_cpp |
1514 | | | 1523 | |
1515 | # ac_fn_c_try_run LINENO | | 1524 | # ac_fn_c_try_run LINENO |
1516 | # ---------------------- | | 1525 | # ---------------------- |
1517 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | | 1526 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1518 | # that executables *can* be run. | | 1527 | # that executables *can* be run. |
1519 | ac_fn_c_try_run () | | 1528 | ac_fn_c_try_run () |
1520 | { | | 1529 | { |
1521 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1530 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1522 | if { { ac_try="$ac_link" | | 1531 | if { { ac_try="$ac_link" |
1523 | case "(($ac_try" in | | 1532 | case "(($ac_try" in |
| @@ -1539,41 +1548,41 @@ $as_echo "$ac_try_echo"; } >&5 | | | @@ -1539,41 +1548,41 @@ $as_echo "$ac_try_echo"; } >&5 |
1539 | (eval "$ac_try") 2>&5 | | 1548 | (eval "$ac_try") 2>&5 |
1540 | ac_status=$? | | 1549 | ac_status=$? |
1541 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | | 1550 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1542 | test $ac_status = 0; }; }; then : | | 1551 | test $ac_status = 0; }; }; then : |
1543 | ac_retval=0 | | 1552 | ac_retval=0 |
1544 | else | | 1553 | else |
1545 | $as_echo "$as_me: program exited with status $ac_status" >&5 | | 1554 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
1546 | $as_echo "$as_me: failed program was:" >&5 | | 1555 | $as_echo "$as_me: failed program was:" >&5 |
1547 | sed 's/^/| /' conftest.$ac_ext >&5 | | 1556 | sed 's/^/| /' conftest.$ac_ext >&5 |
1548 | | | 1557 | |
1549 | ac_retval=$ac_status | | 1558 | ac_retval=$ac_status |
1550 | fi | | 1559 | fi |
1551 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | | 1560 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1552 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1561 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1553 | as_fn_set_status $ac_retval | | 1562 | as_fn_set_status $ac_retval |
1554 | | | 1563 | |
1555 | } # ac_fn_c_try_run | | 1564 | } # ac_fn_c_try_run |
1556 | | | 1565 | |
1557 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | | 1566 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1558 | # ------------------------------------------- | | 1567 | # ------------------------------------------- |
1559 | # Tests whether TYPE exists after having included INCLUDES, setting cache | | 1568 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1560 | # variable VAR accordingly. | | 1569 | # variable VAR accordingly. |
1561 | ac_fn_c_check_type () | | 1570 | ac_fn_c_check_type () |
1562 | { | | 1571 | { |
1563 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1572 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | | 1573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1565 | $as_echo_n "checking for $2... " >&6; } | | 1574 | $as_echo_n "checking for $2... " >&6; } |
1566 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1575 | if eval \${$3+:} false; then : |
1567 | $as_echo_n "(cached) " >&6 | | 1576 | $as_echo_n "(cached) " >&6 |
1568 | else | | 1577 | else |
1569 | eval "$3=no" | | 1578 | eval "$3=no" |
1570 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1579 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1571 | /* end confdefs.h. */ | | 1580 | /* end confdefs.h. */ |
1572 | $4 | | 1581 | $4 |
1573 | int | | 1582 | int |
1574 | main () | | 1583 | main () |
1575 | { | | 1584 | { |
1576 | if (sizeof ($2)) | | 1585 | if (sizeof ($2)) |
1577 | return 0; | | 1586 | return 0; |
1578 | ; | | 1587 | ; |
1579 | return 0; | | 1588 | return 0; |
| @@ -1594,73 +1603,73 @@ if (sizeof (($2))) | | | @@ -1594,73 +1603,73 @@ if (sizeof (($2))) |
1594 | _ACEOF | | 1603 | _ACEOF |
1595 | if ac_fn_c_try_compile "$LINENO"; then : | | 1604 | if ac_fn_c_try_compile "$LINENO"; then : |
1596 | | | 1605 | |
1597 | else | | 1606 | else |
1598 | eval "$3=yes" | | 1607 | eval "$3=yes" |
1599 | fi | | 1608 | fi |
1600 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1609 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1601 | fi | | 1610 | fi |
1602 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1611 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1603 | fi | | 1612 | fi |
1604 | eval ac_res=\$$3 | | 1613 | eval ac_res=\$$3 |
1605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1614 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1606 | $as_echo "$ac_res" >&6; } | | 1615 | $as_echo "$ac_res" >&6; } |
1607 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1616 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1608 | | | 1617 | |
1609 | } # ac_fn_c_check_type | | 1618 | } # ac_fn_c_check_type |
1610 | | | 1619 | |
1611 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | | 1620 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1612 | # ------------------------------------------------------- | | 1621 | # ------------------------------------------------------- |
1613 | # Tests whether HEADER exists and can be compiled using the include files in | | 1622 | # Tests whether HEADER exists and can be compiled using the include files in |
1614 | # INCLUDES, setting the cache variable VAR accordingly. | | 1623 | # INCLUDES, setting the cache variable VAR accordingly. |
1615 | ac_fn_c_check_header_compile () | | 1624 | ac_fn_c_check_header_compile () |
1616 | { | | 1625 | { |
1617 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1626 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1618 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | | 1627 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1619 | $as_echo_n "checking for $2... " >&6; } | | 1628 | $as_echo_n "checking for $2... " >&6; } |
1620 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1629 | if eval \${$3+:} false; then : |
1621 | $as_echo_n "(cached) " >&6 | | 1630 | $as_echo_n "(cached) " >&6 |
1622 | else | | 1631 | else |
1623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1624 | /* end confdefs.h. */ | | 1633 | /* end confdefs.h. */ |
1625 | $4 | | 1634 | $4 |
1626 | #include <$2> | | 1635 | #include <$2> |
1627 | _ACEOF | | 1636 | _ACEOF |
1628 | if ac_fn_c_try_compile "$LINENO"; then : | | 1637 | if ac_fn_c_try_compile "$LINENO"; then : |
1629 | eval "$3=yes" | | 1638 | eval "$3=yes" |
1630 | else | | 1639 | else |
1631 | eval "$3=no" | | 1640 | eval "$3=no" |
1632 | fi | | 1641 | fi |
1633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1642 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1634 | fi | | 1643 | fi |
1635 | eval ac_res=\$$3 | | 1644 | eval ac_res=\$$3 |
1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1645 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1637 | $as_echo "$ac_res" >&6; } | | 1646 | $as_echo "$ac_res" >&6; } |
1638 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1647 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1639 | | | 1648 | |
1640 | } # ac_fn_c_check_header_compile | | 1649 | } # ac_fn_c_check_header_compile |
1641 | | | 1650 | |
1642 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | | 1651 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1643 | # ------------------------------------------------------- | | 1652 | # ------------------------------------------------------- |
1644 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | | 1653 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1645 | # the include files in INCLUDES and setting the cache variable VAR | | 1654 | # the include files in INCLUDES and setting the cache variable VAR |
1646 | # accordingly. | | 1655 | # accordingly. |
1647 | ac_fn_c_check_header_mongrel () | | 1656 | ac_fn_c_check_header_mongrel () |
1648 | { | | 1657 | { |
1649 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1658 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1650 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1659 | if eval \${$3+:} false; then : |
1651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | | 1660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1652 | $as_echo_n "checking for $2... " >&6; } | | 1661 | $as_echo_n "checking for $2... " >&6; } |
1653 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1662 | if eval \${$3+:} false; then : |
1654 | $as_echo_n "(cached) " >&6 | | 1663 | $as_echo_n "(cached) " >&6 |
1655 | fi | | 1664 | fi |
1656 | eval ac_res=\$$3 | | 1665 | eval ac_res=\$$3 |
1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1666 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1658 | $as_echo "$ac_res" >&6; } | | 1667 | $as_echo "$ac_res" >&6; } |
1659 | else | | 1668 | else |
1660 | # Is the header compilable? | | 1669 | # Is the header compilable? |
1661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | | 1670 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1662 | $as_echo_n "checking $2 usability... " >&6; } | | 1671 | $as_echo_n "checking $2 usability... " >&6; } |
1663 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1672 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1664 | /* end confdefs.h. */ | | 1673 | /* end confdefs.h. */ |
1665 | $4 | | 1674 | $4 |
1666 | #include <$2> | | 1675 | #include <$2> |
| @@ -1676,81 +1685,79 @@ $as_echo "$ac_header_compiler" >&6; } | | | @@ -1676,81 +1685,79 @@ $as_echo "$ac_header_compiler" >&6; } |
1676 | | | 1685 | |
1677 | # Is the header present? | | 1686 | # Is the header present? |
1678 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | | 1687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1679 | $as_echo_n "checking $2 presence... " >&6; } | | 1688 | $as_echo_n "checking $2 presence... " >&6; } |
1680 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1681 | /* end confdefs.h. */ | | 1690 | /* end confdefs.h. */ |
1682 | #include <$2> | | 1691 | #include <$2> |
1683 | _ACEOF | | 1692 | _ACEOF |
1684 | if ac_fn_c_try_cpp "$LINENO"; then : | | 1693 | if ac_fn_c_try_cpp "$LINENO"; then : |
1685 | ac_header_preproc=yes | | 1694 | ac_header_preproc=yes |
1686 | else | | 1695 | else |
1687 | ac_header_preproc=no | | 1696 | ac_header_preproc=no |
1688 | fi | | 1697 | fi |
1689 | rm -f conftest.err conftest.$ac_ext | | 1698 | rm -f conftest.err conftest.i conftest.$ac_ext |
1690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | | 1699 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1691 | $as_echo "$ac_header_preproc" >&6; } | | 1700 | $as_echo "$ac_header_preproc" >&6; } |
1692 | | | 1701 | |
1693 | # So? What about this header? | | 1702 | # So? What about this header? |
1694 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | | 1703 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1695 | yes:no: ) | | 1704 | yes:no: ) |
1696 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | | 1705 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1697 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | | 1706 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1698 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | | 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1699 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | | 1708 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1700 | ;; | | 1709 | ;; |
1701 | no:yes:* ) | | 1710 | no:yes:* ) |
1702 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | | 1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1703 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | | 1712 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1704 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | | 1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1705 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | | 1714 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1706 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | | 1715 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1707 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | | 1716 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1708 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | | 1717 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1709 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | | 1718 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1710 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | | 1719 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1711 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | | 1720 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1712 | ( cat <<\_ASBOX | | 1721 | ( $as_echo "## ------------------------------- ## |
1713 | ## ------------------------------- ## | | | |
1714 | ## Report this to grant@NetBSD.org ## | | 1722 | ## Report this to grant@NetBSD.org ## |
1715 | ## ------------------------------- ## | | 1723 | ## ------------------------------- ##" |
1716 | _ASBOX | | | |
1717 | ) | sed "s/^/$as_me: WARNING: /" >&2 | | 1724 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
1718 | ;; | | 1725 | ;; |
1719 | esac | | 1726 | esac |
1720 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | | 1727 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1721 | $as_echo_n "checking for $2... " >&6; } | | 1728 | $as_echo_n "checking for $2... " >&6; } |
1722 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1729 | if eval \${$3+:} false; then : |
1723 | $as_echo_n "(cached) " >&6 | | 1730 | $as_echo_n "(cached) " >&6 |
1724 | else | | 1731 | else |
1725 | eval "$3=\$ac_header_compiler" | | 1732 | eval "$3=\$ac_header_compiler" |
1726 | fi | | 1733 | fi |
1727 | eval ac_res=\$$3 | | 1734 | eval ac_res=\$$3 |
1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1729 | $as_echo "$ac_res" >&6; } | | 1736 | $as_echo "$ac_res" >&6; } |
1730 | fi | | 1737 | fi |
1731 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1738 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1732 | | | 1739 | |
1733 | } # ac_fn_c_check_header_mongrel | | 1740 | } # ac_fn_c_check_header_mongrel |
1734 | | | 1741 | |
1735 | # ac_fn_c_check_func LINENO FUNC VAR | | 1742 | # ac_fn_c_check_func LINENO FUNC VAR |
1736 | # ---------------------------------- | | 1743 | # ---------------------------------- |
1737 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | | 1744 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1738 | ac_fn_c_check_func () | | 1745 | ac_fn_c_check_func () |
1739 | { | | 1746 | { |
1740 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1747 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | | 1748 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1742 | $as_echo_n "checking for $2... " >&6; } | | 1749 | $as_echo_n "checking for $2... " >&6; } |
1743 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1750 | if eval \${$3+:} false; then : |
1744 | $as_echo_n "(cached) " >&6 | | 1751 | $as_echo_n "(cached) " >&6 |
1745 | else | | 1752 | else |
1746 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1753 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1747 | /* end confdefs.h. */ | | 1754 | /* end confdefs.h. */ |
1748 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | | 1755 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1749 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | | 1756 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1750 | #define $2 innocuous_$2 | | 1757 | #define $2 innocuous_$2 |
1751 | | | 1758 | |
1752 | /* System header to define __stub macros and hopefully few prototypes, | | 1759 | /* System header to define __stub macros and hopefully few prototypes, |
1753 | which can conflict with char $2 (); below. | | 1760 | which can conflict with char $2 (); below. |
1754 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 1761 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1755 | <limits.h> exists even on freestanding compilers. */ | | 1762 | <limits.h> exists even on freestanding compilers. */ |
1756 | | | 1763 | |
| @@ -1785,154 +1792,160 @@ return $2 (); | | | @@ -1785,154 +1792,160 @@ return $2 (); |
1785 | } | | 1792 | } |
1786 | _ACEOF | | 1793 | _ACEOF |
1787 | if ac_fn_c_try_link "$LINENO"; then : | | 1794 | if ac_fn_c_try_link "$LINENO"; then : |
1788 | eval "$3=yes" | | 1795 | eval "$3=yes" |
1789 | else | | 1796 | else |
1790 | eval "$3=no" | | 1797 | eval "$3=no" |
1791 | fi | | 1798 | fi |
1792 | rm -f core conftest.err conftest.$ac_objext \ | | 1799 | rm -f core conftest.err conftest.$ac_objext \ |
1793 | conftest$ac_exeext conftest.$ac_ext | | 1800 | conftest$ac_exeext conftest.$ac_ext |
1794 | fi | | 1801 | fi |
1795 | eval ac_res=\$$3 | | 1802 | eval ac_res=\$$3 |
1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1797 | $as_echo "$ac_res" >&6; } | | 1804 | $as_echo "$ac_res" >&6; } |
1798 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1805 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1799 | | | 1806 | |
1800 | } # ac_fn_c_check_func | | 1807 | } # ac_fn_c_check_func |
1801 | | | 1808 | |
1802 | # ac_fn_c_check_decl LINENO SYMBOL VAR | | 1809 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1803 | # ------------------------------------ | | 1810 | # --------------------------------------------- |
1804 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | | 1811 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| | | 1812 | # accordingly. |
1805 | ac_fn_c_check_decl () | | 1813 | ac_fn_c_check_decl () |
1806 | { | | 1814 | { |
1807 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1815 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | | 1816 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
1809 | $as_echo_n "checking whether $2 is declared... " >&6; } | | 1817 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1810 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| | | 1819 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| | | 1820 | if eval \${$3+:} false; then : |
1811 | $as_echo_n "(cached) " >&6 | | 1821 | $as_echo_n "(cached) " >&6 |
1812 | else | | 1822 | else |
1813 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1823 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1814 | /* end confdefs.h. */ | | 1824 | /* end confdefs.h. */ |
1815 | $4 | | 1825 | $4 |
1816 | int | | 1826 | int |
1817 | main () | | 1827 | main () |
1818 | { | | 1828 | { |
1819 | #ifndef $2 | | 1829 | #ifndef $as_decl_name |
1820 | (void) $2; | | 1830 | #ifdef __cplusplus |
| | | 1831 | (void) $as_decl_use; |
| | | 1832 | #else |
| | | 1833 | (void) $as_decl_name; |
| | | 1834 | #endif |
1821 | #endif | | 1835 | #endif |
1822 | | | 1836 | |
1823 | ; | | 1837 | ; |
1824 | return 0; | | 1838 | return 0; |
1825 | } | | 1839 | } |
1826 | _ACEOF | | 1840 | _ACEOF |
1827 | if ac_fn_c_try_compile "$LINENO"; then : | | 1841 | if ac_fn_c_try_compile "$LINENO"; then : |
1828 | eval "$3=yes" | | 1842 | eval "$3=yes" |
1829 | else | | 1843 | else |
1830 | eval "$3=no" | | 1844 | eval "$3=no" |
1831 | fi | | 1845 | fi |
1832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1846 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1833 | fi | | 1847 | fi |
1834 | eval ac_res=\$$3 | | 1848 | eval ac_res=\$$3 |
1835 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1836 | $as_echo "$ac_res" >&6; } | | 1850 | $as_echo "$ac_res" >&6; } |
1837 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1851 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1838 | | | 1852 | |
1839 | } # ac_fn_c_check_decl | | 1853 | } # ac_fn_c_check_decl |
1840 | | | 1854 | |
1841 | # ac_fn_c_find_intX_t LINENO BITS VAR | | 1855 | # ac_fn_c_find_intX_t LINENO BITS VAR |
1842 | # ----------------------------------- | | 1856 | # ----------------------------------- |
1843 | # Finds a signed integer type with width BITS, setting cache variable VAR | | 1857 | # Finds a signed integer type with width BITS, setting cache variable VAR |
1844 | # accordingly. | | 1858 | # accordingly. |
1845 | ac_fn_c_find_intX_t () | | 1859 | ac_fn_c_find_intX_t () |
1846 | { | | 1860 | { |
1847 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1861 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1848 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 | | 1862 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 |
1849 | $as_echo_n "checking for int$2_t... " >&6; } | | 1863 | $as_echo_n "checking for int$2_t... " >&6; } |
1850 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1864 | if eval \${$3+:} false; then : |
1851 | $as_echo_n "(cached) " >&6 | | 1865 | $as_echo_n "(cached) " >&6 |
1852 | else | | 1866 | else |
1853 | eval "$3=no" | | 1867 | eval "$3=no" |
1854 | # Order is important - never check a type that is potentially smaller | | 1868 | # Order is important - never check a type that is potentially smaller |
1855 | # than half of the expected target width. | | 1869 | # than half of the expected target width. |
1856 | for ac_type in int$2_t 'int' 'long int' \ | | 1870 | for ac_type in int$2_t 'int' 'long int' \ |
1857 | 'long long int' 'short int' 'signed char'; do | | 1871 | 'long long int' 'short int' 'signed char'; do |
1858 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1872 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1859 | /* end confdefs.h. */ | | 1873 | /* end confdefs.h. */ |
1860 | $ac_includes_default | | 1874 | $ac_includes_default |
| | | 1875 | enum { N = $2 / 2 - 1 }; |
1861 | int | | 1876 | int |
1862 | main () | | 1877 | main () |
1863 | { | | 1878 | { |
1864 | static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; | | 1879 | static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
1865 | 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; | | | |
1866 | test_array [0] = 0 | | 1880 | test_array [0] = 0 |
1867 | | | 1881 | |
1868 | ; | | 1882 | ; |
1869 | return 0; | | 1883 | return 0; |
1870 | } | | 1884 | } |
1871 | _ACEOF | | 1885 | _ACEOF |
1872 | if ac_fn_c_try_compile "$LINENO"; then : | | 1886 | if ac_fn_c_try_compile "$LINENO"; then : |
1873 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1887 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1874 | /* end confdefs.h. */ | | 1888 | /* end confdefs.h. */ |
1875 | $ac_includes_default | | 1889 | $ac_includes_default |
| | | 1890 | enum { N = $2 / 2 - 1 }; |
1876 | int | | 1891 | int |
1877 | main () | | 1892 | main () |
1878 | { | | 1893 | { |
1879 | static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; | | 1894 | static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
1880 | ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) | | | |
1881 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; | | 1895 | < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
1882 | test_array [0] = 0 | | 1896 | test_array [0] = 0 |
1883 | | | 1897 | |
1884 | ; | | 1898 | ; |
1885 | return 0; | | 1899 | return 0; |
1886 | } | | 1900 | } |
1887 | _ACEOF | | 1901 | _ACEOF |
1888 | if ac_fn_c_try_compile "$LINENO"; then : | | 1902 | if ac_fn_c_try_compile "$LINENO"; then : |
1889 | | | 1903 | |
1890 | else | | 1904 | else |
1891 | case $ac_type in #( | | 1905 | case $ac_type in #( |
1892 | int$2_t) : | | 1906 | int$2_t) : |
1893 | eval "$3=yes" ;; #( | | 1907 | eval "$3=yes" ;; #( |
1894 | *) : | | 1908 | *) : |
1895 | eval "$3=\$ac_type" ;; | | 1909 | eval "$3=\$ac_type" ;; |
1896 | esac | | 1910 | esac |
1897 | fi | | 1911 | fi |
1898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1912 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1899 | fi | | 1913 | fi |
1900 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1914 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1901 | eval as_val=\$$3 | | 1915 | if eval test \"x\$"$3"\" = x"no"; then : |
1902 | if test "x$as_val" = x""no; then : | | | |
1903 | | | 1916 | |
1904 | else | | 1917 | else |
1905 | break | | 1918 | break |
1906 | fi | | 1919 | fi |
1907 | done | | 1920 | done |
1908 | fi | | 1921 | fi |
1909 | eval ac_res=\$$3 | | 1922 | eval ac_res=\$$3 |
1910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1911 | $as_echo "$ac_res" >&6; } | | 1924 | $as_echo "$ac_res" >&6; } |
1912 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1925 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1913 | | | 1926 | |
1914 | } # ac_fn_c_find_intX_t | | 1927 | } # ac_fn_c_find_intX_t |
1915 | | | 1928 | |
1916 | # ac_fn_c_find_uintX_t LINENO BITS VAR | | 1929 | # ac_fn_c_find_uintX_t LINENO BITS VAR |
1917 | # ------------------------------------ | | 1930 | # ------------------------------------ |
1918 | # Finds an unsigned integer type with width BITS, setting cache variable VAR | | 1931 | # Finds an unsigned integer type with width BITS, setting cache variable VAR |
1919 | # accordingly. | | 1932 | # accordingly. |
1920 | ac_fn_c_find_uintX_t () | | 1933 | ac_fn_c_find_uintX_t () |
1921 | { | | 1934 | { |
1922 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1935 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | | 1936 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
1924 | $as_echo_n "checking for uint$2_t... " >&6; } | | 1937 | $as_echo_n "checking for uint$2_t... " >&6; } |
1925 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | | 1938 | if eval \${$3+:} false; then : |
1926 | $as_echo_n "(cached) " >&6 | | 1939 | $as_echo_n "(cached) " >&6 |
1927 | else | | 1940 | else |
1928 | eval "$3=no" | | 1941 | eval "$3=no" |
1929 | # Order is important - never check a type that is potentially smaller | | 1942 | # Order is important - never check a type that is potentially smaller |
1930 | # than half of the expected target width. | | 1943 | # than half of the expected target width. |
1931 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | | 1944 | for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
1932 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 1945 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
1933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 1946 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1934 | /* end confdefs.h. */ | | 1947 | /* end confdefs.h. */ |
1935 | $ac_includes_default | | 1948 | $ac_includes_default |
1936 | int | | 1949 | int |
1937 | main () | | 1950 | main () |
1938 | { | | 1951 | { |
| @@ -1942,38 +1955,37 @@ test_array [0] = 0 | | | @@ -1942,38 +1955,37 @@ test_array [0] = 0 |
1942 | ; | | 1955 | ; |
1943 | return 0; | | 1956 | return 0; |
1944 | } | | 1957 | } |
1945 | _ACEOF | | 1958 | _ACEOF |
1946 | if ac_fn_c_try_compile "$LINENO"; then : | | 1959 | if ac_fn_c_try_compile "$LINENO"; then : |
1947 | case $ac_type in #( | | 1960 | case $ac_type in #( |
1948 | uint$2_t) : | | 1961 | uint$2_t) : |
1949 | eval "$3=yes" ;; #( | | 1962 | eval "$3=yes" ;; #( |
1950 | *) : | | 1963 | *) : |
1951 | eval "$3=\$ac_type" ;; | | 1964 | eval "$3=\$ac_type" ;; |
1952 | esac | | 1965 | esac |
1953 | fi | | 1966 | fi |
1954 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 1967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1955 | eval as_val=\$$3 | | 1968 | if eval test \"x\$"$3"\" = x"no"; then : |
1956 | if test "x$as_val" = x""no; then : | | | |
1957 | | | 1969 | |
1958 | else | | 1970 | else |
1959 | break | | 1971 | break |
1960 | fi | | 1972 | fi |
1961 | done | | 1973 | done |
1962 | fi | | 1974 | fi |
1963 | eval ac_res=\$$3 | | 1975 | eval ac_res=\$$3 |
1964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 1976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1965 | $as_echo "$ac_res" >&6; } | | 1977 | $as_echo "$ac_res" >&6; } |
1966 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 1978 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1967 | | | 1979 | |
1968 | } # ac_fn_c_find_uintX_t | | 1980 | } # ac_fn_c_find_uintX_t |
1969 | | | 1981 | |
1970 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | | 1982 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
1971 | # -------------------------------------------- | | 1983 | # -------------------------------------------- |
1972 | # Tries to find the compile-time value of EXPR in a program that includes | | 1984 | # Tries to find the compile-time value of EXPR in a program that includes |
1973 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | | 1985 | # INCLUDES, setting VAR accordingly. Returns whether the value could be |
1974 | # computed | | 1986 | # computed |
1975 | ac_fn_c_compute_int () | | 1987 | ac_fn_c_compute_int () |
1976 | { | | 1988 | { |
1977 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 1989 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1978 | if test "$cross_compiling" = yes; then | | 1990 | if test "$cross_compiling" = yes; then |
1979 | # Depending upon the size, compute the lo and hi bounds. | | 1991 | # Depending upon the size, compute the lo and hi bounds. |
| @@ -2130,41 +2142,41 @@ main () | | | @@ -2130,41 +2142,41 @@ main () |
2130 | return 0; | | 2142 | return 0; |
2131 | } | | 2143 | } |
2132 | _ACEOF | | 2144 | _ACEOF |
2133 | if ac_fn_c_try_run "$LINENO"; then : | | 2145 | if ac_fn_c_try_run "$LINENO"; then : |
2134 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | | 2146 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2135 | else | | 2147 | else |
2136 | ac_retval=1 | | 2148 | ac_retval=1 |
2137 | fi | | 2149 | fi |
2138 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | | 2150 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2139 | conftest.$ac_objext conftest.beam conftest.$ac_ext | | 2151 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
2140 | rm -f conftest.val | | 2152 | rm -f conftest.val |
2141 | | | 2153 | |
2142 | fi | | 2154 | fi |
2143 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 2155 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2144 | as_fn_set_status $ac_retval | | 2156 | as_fn_set_status $ac_retval |
2145 | | | 2157 | |
2146 | } # ac_fn_c_compute_int | | 2158 | } # ac_fn_c_compute_int |
2147 | | | 2159 | |
2148 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | | 2160 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2149 | # ---------------------------------------------------- | | 2161 | # ---------------------------------------------------- |
2150 | # Tries to find if the field MEMBER exists in type AGGR, after including | | 2162 | # Tries to find if the field MEMBER exists in type AGGR, after including |
2151 | # INCLUDES, setting cache variable VAR accordingly. | | 2163 | # INCLUDES, setting cache variable VAR accordingly. |
2152 | ac_fn_c_check_member () | | 2164 | ac_fn_c_check_member () |
2153 | { | | 2165 | { |
2154 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 2166 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | | 2167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2156 | $as_echo_n "checking for $2.$3... " >&6; } | | 2168 | $as_echo_n "checking for $2.$3... " >&6; } |
2157 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | | 2169 | if eval \${$4+:} false; then : |
2158 | $as_echo_n "(cached) " >&6 | | 2170 | $as_echo_n "(cached) " >&6 |
2159 | else | | 2171 | else |
2160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 2172 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2161 | /* end confdefs.h. */ | | 2173 | /* end confdefs.h. */ |
2162 | $5 | | 2174 | $5 |
2163 | int | | 2175 | int |
2164 | main () | | 2176 | main () |
2165 | { | | 2177 | { |
2166 | static $2 ac_aggr; | | 2178 | static $2 ac_aggr; |
2167 | if (ac_aggr.$3) | | 2179 | if (ac_aggr.$3) |
2168 | return 0; | | 2180 | return 0; |
2169 | ; | | 2181 | ; |
2170 | return 0; | | 2182 | return 0; |
| @@ -2188,35 +2200,35 @@ return 0; | | | @@ -2188,35 +2200,35 @@ return 0; |
2188 | _ACEOF | | 2200 | _ACEOF |
2189 | if ac_fn_c_try_compile "$LINENO"; then : | | 2201 | if ac_fn_c_try_compile "$LINENO"; then : |
2190 | eval "$4=yes" | | 2202 | eval "$4=yes" |
2191 | else | | 2203 | else |
2192 | eval "$4=no" | | 2204 | eval "$4=no" |
2193 | fi | | 2205 | fi |
2194 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2206 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2195 | fi | | 2207 | fi |
2196 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 2208 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2197 | fi | | 2209 | fi |
2198 | eval ac_res=\$$4 | | 2210 | eval ac_res=\$$4 |
2199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | | 2211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2200 | $as_echo "$ac_res" >&6; } | | 2212 | $as_echo "$ac_res" >&6; } |
2201 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | | 2213 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2202 | | | 2214 | |
2203 | } # ac_fn_c_check_member | | 2215 | } # ac_fn_c_check_member |
2204 | cat >config.log <<_ACEOF | | 2216 | cat >config.log <<_ACEOF |
2205 | This file contains any messages produced by compilers while | | 2217 | This file contains any messages produced by compilers while |
2206 | running configure, to aid debugging if configure makes a mistake. | | 2218 | running configure, to aid debugging if configure makes a mistake. |
2207 | | | 2219 | |
2208 | It was created by libnbcompat $as_me 20080605, which was | | 2220 | It was created by libnbcompat $as_me 20080605, which was |
2209 | generated by GNU Autoconf 2.65. Invocation command line was | | 2221 | generated by GNU Autoconf 2.68. Invocation command line was |
2210 | | | 2222 | |
2211 | $ $0 $@ | | 2223 | $ $0 $@ |
2212 | | | 2224 | |
2213 | _ACEOF | | 2225 | _ACEOF |
2214 | exec 5>>config.log | | 2226 | exec 5>>config.log |
2215 | { | | 2227 | { |
2216 | cat <<_ASUNAME | | 2228 | cat <<_ASUNAME |
2217 | ## --------- ## | | 2229 | ## --------- ## |
2218 | ## Platform. ## | | 2230 | ## Platform. ## |
2219 | ## --------- ## | | 2231 | ## --------- ## |
2220 | | | 2232 | |
2221 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | | 2233 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2222 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | | 2234 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| @@ -2306,31 +2318,29 @@ done | | | @@ -2306,31 +2318,29 @@ done |
2306 | { ac_configure_args0=; unset ac_configure_args0;} | | 2318 | { ac_configure_args0=; unset ac_configure_args0;} |
2307 | { ac_configure_args1=; unset ac_configure_args1;} | | 2319 | { ac_configure_args1=; unset ac_configure_args1;} |
2308 | | | 2320 | |
2309 | # When interrupted or exit'd, cleanup temporary files, and complete | | 2321 | # When interrupted or exit'd, cleanup temporary files, and complete |
2310 | # config.log. We remove comments because anyway the quotes in there | | 2322 | # config.log. We remove comments because anyway the quotes in there |
2311 | # would cause problems or look ugly. | | 2323 | # would cause problems or look ugly. |
2312 | # WARNING: Use '\'' to represent an apostrophe within the trap. | | 2324 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2313 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | | 2325 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2314 | trap 'exit_status=$? | | 2326 | trap 'exit_status=$? |
2315 | # Save into config.log some information that might help in debugging. | | 2327 | # Save into config.log some information that might help in debugging. |
2316 | { | | 2328 | { |
2317 | echo | | 2329 | echo |
2318 | | | 2330 | |
2319 | cat <<\_ASBOX | | 2331 | $as_echo "## ---------------- ## |
2320 | ## ---------------- ## | | | |
2321 | ## Cache variables. ## | | 2332 | ## Cache variables. ## |
2322 | ## ---------------- ## | | 2333 | ## ---------------- ##" |
2323 | _ASBOX | | | |
2324 | echo | | 2334 | echo |
2325 | # The following way of writing the cache mishandles newlines in values, | | 2335 | # The following way of writing the cache mishandles newlines in values, |
2326 | ( | | 2336 | ( |
2327 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | | 2337 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2328 | eval ac_val=\$$ac_var | | 2338 | eval ac_val=\$$ac_var |
2329 | case $ac_val in #( | | 2339 | case $ac_val in #( |
2330 | *${as_nl}*) | | 2340 | *${as_nl}*) |
2331 | case $ac_var in #( | | 2341 | case $ac_var in #( |
2332 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | | 2342 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2333 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | | 2343 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2334 | esac | | 2344 | esac |
2335 | case $ac_var in #( | | 2345 | case $ac_var in #( |
2336 | _ | IFS | as_nl) ;; #( | | 2346 | _ | IFS | as_nl) ;; #( |
| @@ -2344,66 +2354,60 @@ $as_echo "$as_me: WARNING: cache variabl | | | @@ -2344,66 +2354,60 @@ $as_echo "$as_me: WARNING: cache variabl |
2344 | *${as_nl}ac_space=\ *) | | 2354 | *${as_nl}ac_space=\ *) |
2345 | sed -n \ | | 2355 | sed -n \ |
2346 | "s/'\''/'\''\\\\'\'''\''/g; | | 2356 | "s/'\''/'\''\\\\'\'''\''/g; |
2347 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | | 2357 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2348 | ;; #( | | 2358 | ;; #( |
2349 | *) | | 2359 | *) |
2350 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | | 2360 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2351 | ;; | | 2361 | ;; |
2352 | esac | | | 2362 | esac | |
2353 | sort | | 2363 | sort |
2354 | ) | | 2364 | ) |
2355 | echo | | 2365 | echo |
2356 | | | 2366 | |
2357 | cat <<\_ASBOX | | 2367 | $as_echo "## ----------------- ## |
2358 | ## ----------------- ## | | | |
2359 | ## Output variables. ## | | 2368 | ## Output variables. ## |
2360 | ## ----------------- ## | | 2369 | ## ----------------- ##" |
2361 | _ASBOX | | | |
2362 | echo | | 2370 | echo |
2363 | for ac_var in $ac_subst_vars | | 2371 | for ac_var in $ac_subst_vars |
2364 | do | | 2372 | do |
2365 | eval ac_val=\$$ac_var | | 2373 | eval ac_val=\$$ac_var |
2366 | case $ac_val in | | 2374 | case $ac_val in |
2367 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | | 2375 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2368 | esac | | 2376 | esac |
2369 | $as_echo "$ac_var='\''$ac_val'\''" | | 2377 | $as_echo "$ac_var='\''$ac_val'\''" |
2370 | done | sort | | 2378 | done | sort |
2371 | echo | | 2379 | echo |
2372 | | | 2380 | |
2373 | if test -n "$ac_subst_files"; then | | 2381 | if test -n "$ac_subst_files"; then |
2374 | cat <<\_ASBOX | | 2382 | $as_echo "## ------------------- ## |
2375 | ## ------------------- ## | | | |
2376 | ## File substitutions. ## | | 2383 | ## File substitutions. ## |
2377 | ## ------------------- ## | | 2384 | ## ------------------- ##" |
2378 | _ASBOX | | | |
2379 | echo | | 2385 | echo |
2380 | for ac_var in $ac_subst_files | | 2386 | for ac_var in $ac_subst_files |
2381 | do | | 2387 | do |
2382 | eval ac_val=\$$ac_var | | 2388 | eval ac_val=\$$ac_var |
2383 | case $ac_val in | | 2389 | case $ac_val in |
2384 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | | 2390 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2385 | esac | | 2391 | esac |
2386 | $as_echo "$ac_var='\''$ac_val'\''" | | 2392 | $as_echo "$ac_var='\''$ac_val'\''" |
2387 | done | sort | | 2393 | done | sort |
2388 | echo | | 2394 | echo |
2389 | fi | | 2395 | fi |
2390 | | | 2396 | |
2391 | if test -s confdefs.h; then | | 2397 | if test -s confdefs.h; then |
2392 | cat <<\_ASBOX | | 2398 | $as_echo "## ----------- ## |
2393 | ## ----------- ## | | | |
2394 | ## confdefs.h. ## | | 2399 | ## confdefs.h. ## |
2395 | ## ----------- ## | | 2400 | ## ----------- ##" |
2396 | _ASBOX | | | |
2397 | echo | | 2401 | echo |
2398 | cat confdefs.h | | 2402 | cat confdefs.h |
2399 | echo | | 2403 | echo |
2400 | fi | | 2404 | fi |
2401 | test "$ac_signal" != 0 && | | 2405 | test "$ac_signal" != 0 && |
2402 | $as_echo "$as_me: caught signal $ac_signal" | | 2406 | $as_echo "$as_me: caught signal $ac_signal" |
2403 | $as_echo "$as_me: exit $exit_status" | | 2407 | $as_echo "$as_me: exit $exit_status" |
2404 | } >&5 | | 2408 | } >&5 |
2405 | rm -f core *.core core.conftest.* && | | 2409 | rm -f core *.core core.conftest.* && |
2406 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | | 2410 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2407 | exit $exit_status | | 2411 | exit $exit_status |
2408 | ' 0 | | 2412 | ' 0 |
2409 | for ac_signal in 1 2 13 15; do | | 2413 | for ac_signal in 1 2 13 15; do |
| @@ -2438,42 +2442,51 @@ cat >>confdefs.h <<_ACEOF | | | @@ -2438,42 +2442,51 @@ cat >>confdefs.h <<_ACEOF |
2438 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | | 2442 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2439 | _ACEOF | | 2443 | _ACEOF |
2440 | | | 2444 | |
2441 | cat >>confdefs.h <<_ACEOF | | 2445 | cat >>confdefs.h <<_ACEOF |
2442 | #define PACKAGE_URL "$PACKAGE_URL" | | 2446 | #define PACKAGE_URL "$PACKAGE_URL" |
2443 | _ACEOF | | 2447 | _ACEOF |
2444 | | | 2448 | |
2445 | | | 2449 | |
2446 | # Let the site file select an alternate cache file if it wants to. | | 2450 | # Let the site file select an alternate cache file if it wants to. |
2447 | # Prefer an explicitly selected file to automatically selected ones. | | 2451 | # Prefer an explicitly selected file to automatically selected ones. |
2448 | ac_site_file1=NONE | | 2452 | ac_site_file1=NONE |
2449 | ac_site_file2=NONE | | 2453 | ac_site_file2=NONE |
2450 | if test -n "$CONFIG_SITE"; then | | 2454 | if test -n "$CONFIG_SITE"; then |
2451 | ac_site_file1=$CONFIG_SITE | | 2455 | # We do not want a PATH search for config.site. |
| | | 2456 | case $CONFIG_SITE in #(( |
| | | 2457 | -*) ac_site_file1=./$CONFIG_SITE;; |
| | | 2458 | */*) ac_site_file1=$CONFIG_SITE;; |
| | | 2459 | *) ac_site_file1=./$CONFIG_SITE;; |
| | | 2460 | esac |
2452 | elif test "x$prefix" != xNONE; then | | 2461 | elif test "x$prefix" != xNONE; then |
2453 | ac_site_file1=$prefix/share/config.site | | 2462 | ac_site_file1=$prefix/share/config.site |
2454 | ac_site_file2=$prefix/etc/config.site | | 2463 | ac_site_file2=$prefix/etc/config.site |
2455 | else | | 2464 | else |
2456 | ac_site_file1=$ac_default_prefix/share/config.site | | 2465 | ac_site_file1=$ac_default_prefix/share/config.site |
2457 | ac_site_file2=$ac_default_prefix/etc/config.site | | 2466 | ac_site_file2=$ac_default_prefix/etc/config.site |
2458 | fi | | 2467 | fi |
2459 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | | 2468 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2460 | do | | 2469 | do |
2461 | test "x$ac_site_file" = xNONE && continue | | 2470 | test "x$ac_site_file" = xNONE && continue |
2462 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | | 2471 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2463 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | | 2472 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2464 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | | 2473 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2465 | sed 's/^/| /' "$ac_site_file" >&5 | | 2474 | sed 's/^/| /' "$ac_site_file" >&5 |
2466 | . "$ac_site_file" | | 2475 | . "$ac_site_file" \ |
| | | 2476 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| | | 2477 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2478 | as_fn_error $? "failed to load site script $ac_site_file |
| | | 2479 | See \`config.log' for more details" "$LINENO" 5; } |
2467 | fi | | 2480 | fi |
2468 | done | | 2481 | done |
2469 | | | 2482 | |
2470 | if test -r "$cache_file"; then | | 2483 | if test -r "$cache_file"; then |
2471 | # Some versions of bash will fail to source /dev/null (special files | | 2484 | # Some versions of bash will fail to source /dev/null (special files |
2472 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | | 2485 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2473 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | | 2486 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2474 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | | 2487 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2475 | $as_echo "$as_me: loading cache $cache_file" >&6;} | | 2488 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2476 | case $cache_file in | | 2489 | case $cache_file in |
2477 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | | 2490 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2478 | *) . "./$cache_file";; | | 2491 | *) . "./$cache_file";; |
2479 | esac | | 2492 | esac |
| @@ -2529,27 +2542,27 @@ $as_echo "$as_me: current value: \`$ac | | | @@ -2529,27 +2542,27 @@ $as_echo "$as_me: current value: \`$ac |
2529 | *) ac_arg=$ac_var=$ac_new_val ;; | | 2542 | *) ac_arg=$ac_var=$ac_new_val ;; |
2530 | esac | | 2543 | esac |
2531 | case " $ac_configure_args " in | | 2544 | case " $ac_configure_args " in |
2532 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | | 2545 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2533 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | | 2546 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2534 | esac | | 2547 | esac |
2535 | fi | | 2548 | fi |
2536 | done | | 2549 | done |
2537 | if $ac_cache_corrupted; then | | 2550 | if $ac_cache_corrupted; then |
2538 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 2551 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2539 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 2552 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2540 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | | 2553 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2541 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | | 2554 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2542 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | | 2555 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2543 | fi | | 2556 | fi |
2544 | ## -------------------- ## | | 2557 | ## -------------------- ## |
2545 | ## Main body of script. ## | | 2558 | ## Main body of script. ## |
2546 | ## -------------------- ## | | 2559 | ## -------------------- ## |
2547 | | | 2560 | |
2548 | ac_ext=c | | 2561 | ac_ext=c |
2549 | ac_cpp='$CPP $CPPFLAGS' | | 2562 | ac_cpp='$CPP $CPPFLAGS' |
2550 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 2563 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2551 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 2564 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2552 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 2565 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2553 | | | 2566 | |
2554 | | | 2567 | |
2555 | ac_config_headers="$ac_config_headers nbcompat/config.h" | | 2568 | ac_config_headers="$ac_config_headers nbcompat/config.h" |
| @@ -2557,136 +2570,142 @@ ac_config_headers="$ac_config_headers nb | | | @@ -2557,136 +2570,142 @@ ac_config_headers="$ac_config_headers nb |
2557 | test "$program_prefix" != NONE && | | 2570 | test "$program_prefix" != NONE && |
2558 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | | 2571 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2559 | # Use a double $ so make ignores it. | | 2572 | # Use a double $ so make ignores it. |
2560 | test "$program_suffix" != NONE && | | 2573 | test "$program_suffix" != NONE && |
2561 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | | 2574 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2562 | # Double any \ or $. | | 2575 | # Double any \ or $. |
2563 | # By default was `s,x,x', remove it if useless. | | 2576 | # By default was `s,x,x', remove it if useless. |
2564 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | | 2577 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2565 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | | 2578 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2566 | | | 2579 | |
2567 | | | 2580 | |
2568 | ac_aux_dir= | | 2581 | ac_aux_dir= |
2569 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | | 2582 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2570 | for ac_t in install-sh install.sh shtool; do | | 2583 | if test -f "$ac_dir/install-sh"; then |
2571 | if test -f "$ac_dir/$ac_t"; then | | 2584 | ac_aux_dir=$ac_dir |
2572 | ac_aux_dir=$ac_dir | | 2585 | ac_install_sh="$ac_aux_dir/install-sh -c" |
2573 | ac_install_sh="$ac_aux_dir/$ac_t -c" | | 2586 | break |
2574 | break 2 | | 2587 | elif test -f "$ac_dir/install.sh"; then |
2575 | fi | | 2588 | ac_aux_dir=$ac_dir |
2576 | done | | 2589 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| | | 2590 | break |
| | | 2591 | elif test -f "$ac_dir/shtool"; then |
| | | 2592 | ac_aux_dir=$ac_dir |
| | | 2593 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| | | 2594 | break |
| | | 2595 | fi |
2577 | done | | 2596 | done |
2578 | if test -z "$ac_aux_dir"; then | | 2597 | if test -z "$ac_aux_dir"; then |
2579 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | | 2598 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2580 | fi | | 2599 | fi |
2581 | | | 2600 | |
2582 | # These three variables are undocumented and unsupported, | | 2601 | # These three variables are undocumented and unsupported, |
2583 | # and are intended to be withdrawn in a future Autoconf release. | | 2602 | # and are intended to be withdrawn in a future Autoconf release. |
2584 | # They can cause serious problems if a builder's source tree is in a directory | | 2603 | # They can cause serious problems if a builder's source tree is in a directory |
2585 | # whose full name contains unusual characters. | | 2604 | # whose full name contains unusual characters. |
2586 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | | 2605 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2587 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | | 2606 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2588 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | | 2607 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2589 | | | 2608 | |
2590 | | | 2609 | |
2591 | # Make sure we can run config.sub. | | 2610 | # Make sure we can run config.sub. |
2592 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | | 2611 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2593 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | | 2612 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2594 | | | 2613 | |
2595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | | 2614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2596 | $as_echo_n "checking build system type... " >&6; } | | 2615 | $as_echo_n "checking build system type... " >&6; } |
2597 | if test "${ac_cv_build+set}" = set; then : | | 2616 | if ${ac_cv_build+:} false; then : |
2598 | $as_echo_n "(cached) " >&6 | | 2617 | $as_echo_n "(cached) " >&6 |
2599 | else | | 2618 | else |
2600 | ac_build_alias=$build_alias | | 2619 | ac_build_alias=$build_alias |
2601 | test "x$ac_build_alias" = x && | | 2620 | test "x$ac_build_alias" = x && |
2602 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | | 2621 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2603 | test "x$ac_build_alias" = x && | | 2622 | test "x$ac_build_alias" = x && |
2604 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | | 2623 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
2605 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | | 2624 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2606 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | | 2625 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
2607 | | | 2626 | |
2608 | fi | | 2627 | fi |
2609 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | | 2628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2610 | $as_echo "$ac_cv_build" >&6; } | | 2629 | $as_echo "$ac_cv_build" >&6; } |
2611 | case $ac_cv_build in | | 2630 | case $ac_cv_build in |
2612 | *-*-*) ;; | | 2631 | *-*-*) ;; |
2613 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | | 2632 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2614 | esac | | 2633 | esac |
2615 | build=$ac_cv_build | | 2634 | build=$ac_cv_build |
2616 | ac_save_IFS=$IFS; IFS='-' | | 2635 | ac_save_IFS=$IFS; IFS='-' |
2617 | set x $ac_cv_build | | 2636 | set x $ac_cv_build |
2618 | shift | | 2637 | shift |
2619 | build_cpu=$1 | | 2638 | build_cpu=$1 |
2620 | build_vendor=$2 | | 2639 | build_vendor=$2 |
2621 | shift; shift | | 2640 | shift; shift |
2622 | # Remember, the first character of IFS is used to create $*, | | 2641 | # Remember, the first character of IFS is used to create $*, |
2623 | # except with old shells: | | 2642 | # except with old shells: |
2624 | build_os=$* | | 2643 | build_os=$* |
2625 | IFS=$ac_save_IFS | | 2644 | IFS=$ac_save_IFS |
2626 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | | 2645 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2627 | | | 2646 | |
2628 | | | 2647 | |
2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | | 2648 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2630 | $as_echo_n "checking host system type... " >&6; } | | 2649 | $as_echo_n "checking host system type... " >&6; } |
2631 | if test "${ac_cv_host+set}" = set; then : | | 2650 | if ${ac_cv_host+:} false; then : |
2632 | $as_echo_n "(cached) " >&6 | | 2651 | $as_echo_n "(cached) " >&6 |
2633 | else | | 2652 | else |
2634 | if test "x$host_alias" = x; then | | 2653 | if test "x$host_alias" = x; then |
2635 | ac_cv_host=$ac_cv_build | | 2654 | ac_cv_host=$ac_cv_build |
2636 | else | | 2655 | else |
2637 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | | 2656 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2638 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | | 2657 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
2639 | fi | | 2658 | fi |
2640 | | | 2659 | |
2641 | fi | | 2660 | fi |
2642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | | 2661 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2643 | $as_echo "$ac_cv_host" >&6; } | | 2662 | $as_echo "$ac_cv_host" >&6; } |
2644 | case $ac_cv_host in | | 2663 | case $ac_cv_host in |
2645 | *-*-*) ;; | | 2664 | *-*-*) ;; |
2646 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | | 2665 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2647 | esac | | 2666 | esac |
2648 | host=$ac_cv_host | | 2667 | host=$ac_cv_host |
2649 | ac_save_IFS=$IFS; IFS='-' | | 2668 | ac_save_IFS=$IFS; IFS='-' |
2650 | set x $ac_cv_host | | 2669 | set x $ac_cv_host |
2651 | shift | | 2670 | shift |
2652 | host_cpu=$1 | | 2671 | host_cpu=$1 |
2653 | host_vendor=$2 | | 2672 | host_vendor=$2 |
2654 | shift; shift | | 2673 | shift; shift |
2655 | # Remember, the first character of IFS is used to create $*, | | 2674 | # Remember, the first character of IFS is used to create $*, |
2656 | # except with old shells: | | 2675 | # except with old shells: |
2657 | host_os=$* | | 2676 | host_os=$* |
2658 | IFS=$ac_save_IFS | | 2677 | IFS=$ac_save_IFS |
2659 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | | 2678 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2660 | | | 2679 | |
2661 | | | 2680 | |
2662 | CANONICAL_HOST=$host | | 2681 | CANONICAL_HOST=$host |
2663 | | | 2682 | |
2664 | | | 2683 | |
2665 | | | 2684 | |
2666 | # Checks for programs. | | 2685 | # Checks for programs. |
2667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | | 2686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2668 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | | 2687 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2669 | set x ${MAKE-make} | | 2688 | set x ${MAKE-make} |
2670 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | | 2689 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2671 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | | 2690 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2672 | $as_echo_n "(cached) " >&6 | | 2691 | $as_echo_n "(cached) " >&6 |
2673 | else | | 2692 | else |
2674 | cat >conftest.make <<\_ACEOF | | 2693 | cat >conftest.make <<\_ACEOF |
2675 | SHELL = /bin/sh | | 2694 | SHELL = /bin/sh |
2676 | all: | | 2695 | all: |
2677 | @echo '@@@%%%=$(MAKE)=@@@%%%' | | 2696 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2678 | _ACEOF | | 2697 | _ACEOF |
2679 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | | 2698 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2680 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | | 2699 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2681 | *@@@%%%=?*=@@@%%%*) | | 2700 | *@@@%%%=?*=@@@%%%*) |
2682 | eval ac_cv_prog_make_${ac_make}_set=yes;; | | 2701 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2683 | *) | | 2702 | *) |
2684 | eval ac_cv_prog_make_${ac_make}_set=no;; | | 2703 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2685 | esac | | 2704 | esac |
2686 | rm -f conftest.make | | 2705 | rm -f conftest.make |
2687 | fi | | 2706 | fi |
2688 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | | 2707 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2690 | $as_echo "yes" >&6; } | | 2709 | $as_echo "yes" >&6; } |
2691 | SET_MAKE= | | 2710 | SET_MAKE= |
2692 | else | | 2711 | else |
| @@ -2695,27 +2714,27 @@ $as_echo "no" >&6; } | | | @@ -2695,27 +2714,27 @@ $as_echo "no" >&6; } |
2695 | SET_MAKE="MAKE=${MAKE-make}" | | 2714 | SET_MAKE="MAKE=${MAKE-make}" |
2696 | fi | | 2715 | fi |
2697 | | | 2716 | |
2698 | ac_ext=c | | 2717 | ac_ext=c |
2699 | ac_cpp='$CPP $CPPFLAGS' | | 2718 | ac_cpp='$CPP $CPPFLAGS' |
2700 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 2719 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2701 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 2720 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2702 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 2721 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2703 | if test -n "$ac_tool_prefix"; then | | 2722 | if test -n "$ac_tool_prefix"; then |
2704 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | | 2723 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2705 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | | 2724 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2707 | $as_echo_n "checking for $ac_word... " >&6; } | | 2726 | $as_echo_n "checking for $ac_word... " >&6; } |
2708 | if test "${ac_cv_prog_CC+set}" = set; then : | | 2727 | if ${ac_cv_prog_CC+:} false; then : |
2709 | $as_echo_n "(cached) " >&6 | | 2728 | $as_echo_n "(cached) " >&6 |
2710 | else | | 2729 | else |
2711 | if test -n "$CC"; then | | 2730 | if test -n "$CC"; then |
2712 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2731 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2713 | else | | 2732 | else |
2714 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2733 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2715 | for as_dir in $PATH | | 2734 | for as_dir in $PATH |
2716 | do | | 2735 | do |
2717 | IFS=$as_save_IFS | | 2736 | IFS=$as_save_IFS |
2718 | test -z "$as_dir" && as_dir=. | | 2737 | test -z "$as_dir" && as_dir=. |
2719 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2738 | for ac_exec_ext in '' $ac_executable_extensions; do |
2720 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2739 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2721 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | | 2740 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| @@ -2735,27 +2754,27 @@ $as_echo "$CC" >&6; } | | | @@ -2735,27 +2754,27 @@ $as_echo "$CC" >&6; } |
2735 | else | | 2754 | else |
2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 2755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2737 | $as_echo "no" >&6; } | | 2756 | $as_echo "no" >&6; } |
2738 | fi | | 2757 | fi |
2739 | | | 2758 | |
2740 | | | 2759 | |
2741 | fi | | 2760 | fi |
2742 | if test -z "$ac_cv_prog_CC"; then | | 2761 | if test -z "$ac_cv_prog_CC"; then |
2743 | ac_ct_CC=$CC | | 2762 | ac_ct_CC=$CC |
2744 | # Extract the first word of "gcc", so it can be a program name with args. | | 2763 | # Extract the first word of "gcc", so it can be a program name with args. |
2745 | set dummy gcc; ac_word=$2 | | 2764 | set dummy gcc; ac_word=$2 |
2746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2765 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2747 | $as_echo_n "checking for $ac_word... " >&6; } | | 2766 | $as_echo_n "checking for $ac_word... " >&6; } |
2748 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | | 2767 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2749 | $as_echo_n "(cached) " >&6 | | 2768 | $as_echo_n "(cached) " >&6 |
2750 | else | | 2769 | else |
2751 | if test -n "$ac_ct_CC"; then | | 2770 | if test -n "$ac_ct_CC"; then |
2752 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | 2771 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2753 | else | | 2772 | else |
2754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2773 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2755 | for as_dir in $PATH | | 2774 | for as_dir in $PATH |
2756 | do | | 2775 | do |
2757 | IFS=$as_save_IFS | | 2776 | IFS=$as_save_IFS |
2758 | test -z "$as_dir" && as_dir=. | | 2777 | test -z "$as_dir" && as_dir=. |
2759 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2778 | for ac_exec_ext in '' $ac_executable_extensions; do |
2760 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2779 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2761 | ac_cv_prog_ac_ct_CC="gcc" | | 2780 | ac_cv_prog_ac_ct_CC="gcc" |
| @@ -2788,27 +2807,27 @@ ac_tool_warned=yes ;; | | | @@ -2788,27 +2807,27 @@ ac_tool_warned=yes ;; |
2788 | esac | | 2807 | esac |
2789 | CC=$ac_ct_CC | | 2808 | CC=$ac_ct_CC |
2790 | fi | | 2809 | fi |
2791 | else | | 2810 | else |
2792 | CC="$ac_cv_prog_CC" | | 2811 | CC="$ac_cv_prog_CC" |
2793 | fi | | 2812 | fi |
2794 | | | 2813 | |
2795 | if test -z "$CC"; then | | 2814 | if test -z "$CC"; then |
2796 | if test -n "$ac_tool_prefix"; then | | 2815 | if test -n "$ac_tool_prefix"; then |
2797 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | | 2816 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2798 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | | 2817 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2818 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2800 | $as_echo_n "checking for $ac_word... " >&6; } | | 2819 | $as_echo_n "checking for $ac_word... " >&6; } |
2801 | if test "${ac_cv_prog_CC+set}" = set; then : | | 2820 | if ${ac_cv_prog_CC+:} false; then : |
2802 | $as_echo_n "(cached) " >&6 | | 2821 | $as_echo_n "(cached) " >&6 |
2803 | else | | 2822 | else |
2804 | if test -n "$CC"; then | | 2823 | if test -n "$CC"; then |
2805 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2824 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2806 | else | | 2825 | else |
2807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2826 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2808 | for as_dir in $PATH | | 2827 | for as_dir in $PATH |
2809 | do | | 2828 | do |
2810 | IFS=$as_save_IFS | | 2829 | IFS=$as_save_IFS |
2811 | test -z "$as_dir" && as_dir=. | | 2830 | test -z "$as_dir" && as_dir=. |
2812 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2831 | for ac_exec_ext in '' $ac_executable_extensions; do |
2813 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2832 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2814 | ac_cv_prog_CC="${ac_tool_prefix}cc" | | 2833 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| @@ -2828,27 +2847,27 @@ $as_echo "$CC" >&6; } | | | @@ -2828,27 +2847,27 @@ $as_echo "$CC" >&6; } |
2828 | else | | 2847 | else |
2829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 2848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2830 | $as_echo "no" >&6; } | | 2849 | $as_echo "no" >&6; } |
2831 | fi | | 2850 | fi |
2832 | | | 2851 | |
2833 | | | 2852 | |
2834 | fi | | 2853 | fi |
2835 | fi | | 2854 | fi |
2836 | if test -z "$CC"; then | | 2855 | if test -z "$CC"; then |
2837 | # Extract the first word of "cc", so it can be a program name with args. | | 2856 | # Extract the first word of "cc", so it can be a program name with args. |
2838 | set dummy cc; ac_word=$2 | | 2857 | set dummy cc; ac_word=$2 |
2839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2840 | $as_echo_n "checking for $ac_word... " >&6; } | | 2859 | $as_echo_n "checking for $ac_word... " >&6; } |
2841 | if test "${ac_cv_prog_CC+set}" = set; then : | | 2860 | if ${ac_cv_prog_CC+:} false; then : |
2842 | $as_echo_n "(cached) " >&6 | | 2861 | $as_echo_n "(cached) " >&6 |
2843 | else | | 2862 | else |
2844 | if test -n "$CC"; then | | 2863 | if test -n "$CC"; then |
2845 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2864 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2846 | else | | 2865 | else |
2847 | ac_prog_rejected=no | | 2866 | ac_prog_rejected=no |
2848 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2867 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2849 | for as_dir in $PATH | | 2868 | for as_dir in $PATH |
2850 | do | | 2869 | do |
2851 | IFS=$as_save_IFS | | 2870 | IFS=$as_save_IFS |
2852 | test -z "$as_dir" && as_dir=. | | 2871 | test -z "$as_dir" && as_dir=. |
2853 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2872 | for ac_exec_ext in '' $ac_executable_extensions; do |
2854 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2873 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| @@ -2887,27 +2906,27 @@ else | | | @@ -2887,27 +2906,27 @@ else |
2887 | $as_echo "no" >&6; } | | 2906 | $as_echo "no" >&6; } |
2888 | fi | | 2907 | fi |
2889 | | | 2908 | |
2890 | | | 2909 | |
2891 | fi | | 2910 | fi |
2892 | if test -z "$CC"; then | | 2911 | if test -z "$CC"; then |
2893 | if test -n "$ac_tool_prefix"; then | | 2912 | if test -n "$ac_tool_prefix"; then |
2894 | for ac_prog in cl.exe | | 2913 | for ac_prog in cl.exe |
2895 | do | | 2914 | do |
2896 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | | 2915 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2897 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | | 2916 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2899 | $as_echo_n "checking for $ac_word... " >&6; } | | 2918 | $as_echo_n "checking for $ac_word... " >&6; } |
2900 | if test "${ac_cv_prog_CC+set}" = set; then : | | 2919 | if ${ac_cv_prog_CC+:} false; then : |
2901 | $as_echo_n "(cached) " >&6 | | 2920 | $as_echo_n "(cached) " >&6 |
2902 | else | | 2921 | else |
2903 | if test -n "$CC"; then | | 2922 | if test -n "$CC"; then |
2904 | ac_cv_prog_CC="$CC" # Let the user override the test. | | 2923 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2905 | else | | 2924 | else |
2906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2925 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2907 | for as_dir in $PATH | | 2926 | for as_dir in $PATH |
2908 | do | | 2927 | do |
2909 | IFS=$as_save_IFS | | 2928 | IFS=$as_save_IFS |
2910 | test -z "$as_dir" && as_dir=. | | 2929 | test -z "$as_dir" && as_dir=. |
2911 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2930 | for ac_exec_ext in '' $ac_executable_extensions; do |
2912 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2931 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2913 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | | 2932 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| @@ -2931,27 +2950,27 @@ fi | | | @@ -2931,27 +2950,27 @@ fi |
2931 | | | 2950 | |
2932 | | | 2951 | |
2933 | test -n "$CC" && break | | 2952 | test -n "$CC" && break |
2934 | done | | 2953 | done |
2935 | fi | | 2954 | fi |
2936 | if test -z "$CC"; then | | 2955 | if test -z "$CC"; then |
2937 | ac_ct_CC=$CC | | 2956 | ac_ct_CC=$CC |
2938 | for ac_prog in cl.exe | | 2957 | for ac_prog in cl.exe |
2939 | do | | 2958 | do |
2940 | # Extract the first word of "$ac_prog", so it can be a program name with args. | | 2959 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2941 | set dummy $ac_prog; ac_word=$2 | | 2960 | set dummy $ac_prog; ac_word=$2 |
2942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 2961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2943 | $as_echo_n "checking for $ac_word... " >&6; } | | 2962 | $as_echo_n "checking for $ac_word... " >&6; } |
2944 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | | 2963 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2945 | $as_echo_n "(cached) " >&6 | | 2964 | $as_echo_n "(cached) " >&6 |
2946 | else | | 2965 | else |
2947 | if test -n "$ac_ct_CC"; then | | 2966 | if test -n "$ac_ct_CC"; then |
2948 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | | 2967 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2949 | else | | 2968 | else |
2950 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 2969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2951 | for as_dir in $PATH | | 2970 | for as_dir in $PATH |
2952 | do | | 2971 | do |
2953 | IFS=$as_save_IFS | | 2972 | IFS=$as_save_IFS |
2954 | test -z "$as_dir" && as_dir=. | | 2973 | test -z "$as_dir" && as_dir=. |
2955 | for ac_exec_ext in '' $ac_executable_extensions; do | | 2974 | for ac_exec_ext in '' $ac_executable_extensions; do |
2956 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 2975 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2957 | ac_cv_prog_ac_ct_CC="$ac_prog" | | 2976 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| @@ -2985,28 +3004,28 @@ yes:) | | | @@ -2985,28 +3004,28 @@ yes:) |
2985 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | | 3004 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2986 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | | 3005 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2987 | ac_tool_warned=yes ;; | | 3006 | ac_tool_warned=yes ;; |
2988 | esac | | 3007 | esac |
2989 | CC=$ac_ct_CC | | 3008 | CC=$ac_ct_CC |
2990 | fi | | 3009 | fi |
2991 | fi | | 3010 | fi |
2992 | | | 3011 | |
2993 | fi | | 3012 | fi |
2994 | | | 3013 | |
2995 | | | 3014 | |
2996 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3015 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2997 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3016 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2998 | as_fn_error "no acceptable C compiler found in \$PATH | | 3017 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2999 | See \`config.log' for more details." "$LINENO" 5; } | | 3018 | See \`config.log' for more details" "$LINENO" 5; } |
3000 | | | 3019 | |
3001 | # Provide some information about the compiler. | | 3020 | # Provide some information about the compiler. |
3002 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | | 3021 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3003 | set X $ac_compile | | 3022 | set X $ac_compile |
3004 | ac_compiler=$2 | | 3023 | ac_compiler=$2 |
3005 | for ac_option in --version -v -V -qversion; do | | 3024 | for ac_option in --version -v -V -qversion; do |
3006 | { { ac_try="$ac_compiler $ac_option >&5" | | 3025 | { { ac_try="$ac_compiler $ac_option >&5" |
3007 | case "(($ac_try" in | | 3026 | case "(($ac_try" in |
3008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 3027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3009 | *) ac_try_echo=$ac_try;; | | 3028 | *) ac_try_echo=$ac_try;; |
3010 | esac | | 3029 | esac |
3011 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | | 3030 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3012 | $as_echo "$ac_try_echo"; } >&5 | | 3031 | $as_echo "$ac_try_echo"; } >&5 |
| @@ -3100,29 +3119,28 @@ done | | | @@ -3100,29 +3119,28 @@ done |
3100 | test "$ac_cv_exeext" = no && ac_cv_exeext= | | 3119 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3101 | | | 3120 | |
3102 | else | | 3121 | else |
3103 | ac_file='' | | 3122 | ac_file='' |
3104 | fi | | 3123 | fi |
3105 | if test -z "$ac_file"; then : | | 3124 | if test -z "$ac_file"; then : |
3106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 3125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3107 | $as_echo "no" >&6; } | | 3126 | $as_echo "no" >&6; } |
3108 | $as_echo "$as_me: failed program was:" >&5 | | 3127 | $as_echo "$as_me: failed program was:" >&5 |
3109 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3128 | sed 's/^/| /' conftest.$ac_ext >&5 |
3110 | | | 3129 | |
3111 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3130 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3112 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3131 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3113 | { as_fn_set_status 77 | | 3132 | as_fn_error 77 "C compiler cannot create executables |
3114 | as_fn_error "C compiler cannot create executables | | 3133 | See \`config.log' for more details" "$LINENO" 5; } |
3115 | See \`config.log' for more details." "$LINENO" 5; }; } | | | |
3116 | else | | 3134 | else |
3117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 3135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3118 | $as_echo "yes" >&6; } | | 3136 | $as_echo "yes" >&6; } |
3119 | fi | | 3137 | fi |
3120 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | | 3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3121 | $as_echo_n "checking for C compiler default output file name... " >&6; } | | 3139 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
3122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | | 3140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3123 | $as_echo "$ac_file" >&6; } | | 3141 | $as_echo "$ac_file" >&6; } |
3124 | ac_exeext=$ac_cv_exeext | | 3142 | ac_exeext=$ac_cv_exeext |
3125 | | | 3143 | |
3126 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | | 3144 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3127 | ac_clean_files=$ac_clean_files_save | | 3145 | ac_clean_files=$ac_clean_files_save |
3128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | | 3146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| @@ -3144,28 +3162,28 @@ $as_echo "$ac_try_echo"; } >&5 | | | @@ -3144,28 +3162,28 @@ $as_echo "$ac_try_echo"; } >&5 |
3144 | # `rm'. | | 3162 | # `rm'. |
3145 | for ac_file in conftest.exe conftest conftest.*; do | | 3163 | for ac_file in conftest.exe conftest conftest.*; do |
3146 | test -f "$ac_file" || continue | | 3164 | test -f "$ac_file" || continue |
3147 | case $ac_file in | | 3165 | case $ac_file in |
3148 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | | 3166 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3149 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | | 3167 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3150 | break;; | | 3168 | break;; |
3151 | * ) break;; | | 3169 | * ) break;; |
3152 | esac | | 3170 | esac |
3153 | done | | 3171 | done |
3154 | else | | 3172 | else |
3155 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3173 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3156 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3174 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3157 | as_fn_error "cannot compute suffix of executables: cannot compile and link | | 3175 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3158 | See \`config.log' for more details." "$LINENO" 5; } | | 3176 | See \`config.log' for more details" "$LINENO" 5; } |
3159 | fi | | 3177 | fi |
3160 | rm -f conftest conftest$ac_cv_exeext | | 3178 | rm -f conftest conftest$ac_cv_exeext |
3161 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | | 3179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3162 | $as_echo "$ac_cv_exeext" >&6; } | | 3180 | $as_echo "$ac_cv_exeext" >&6; } |
3163 | | | 3181 | |
3164 | rm -f conftest.$ac_ext | | 3182 | rm -f conftest.$ac_ext |
3165 | EXEEXT=$ac_cv_exeext | | 3183 | EXEEXT=$ac_cv_exeext |
3166 | ac_exeext=$EXEEXT | | 3184 | ac_exeext=$EXEEXT |
3167 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3168 | /* end confdefs.h. */ | | 3186 | /* end confdefs.h. */ |
3169 | #include <stdio.h> | | 3187 | #include <stdio.h> |
3170 | int | | 3188 | int |
3171 | main () | | 3189 | main () |
| @@ -3202,40 +3220,40 @@ esac | | | @@ -3202,40 +3220,40 @@ esac |
3202 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | | 3220 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3203 | $as_echo "$ac_try_echo"; } >&5 | | 3221 | $as_echo "$ac_try_echo"; } >&5 |
3204 | (eval "$ac_try") 2>&5 | | 3222 | (eval "$ac_try") 2>&5 |
3205 | ac_status=$? | | 3223 | ac_status=$? |
3206 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | | 3224 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3207 | test $ac_status = 0; }; }; then | | 3225 | test $ac_status = 0; }; }; then |
3208 | cross_compiling=no | | 3226 | cross_compiling=no |
3209 | else | | 3227 | else |
3210 | if test "$cross_compiling" = maybe; then | | 3228 | if test "$cross_compiling" = maybe; then |
3211 | cross_compiling=yes | | 3229 | cross_compiling=yes |
3212 | else | | 3230 | else |
3213 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3231 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3214 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3232 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3215 | as_fn_error "cannot run C compiled programs. | | 3233 | as_fn_error $? "cannot run C compiled programs. |
3216 | If you meant to cross compile, use \`--host'. | | 3234 | If you meant to cross compile, use \`--host'. |
3217 | See \`config.log' for more details." "$LINENO" 5; } | | 3235 | See \`config.log' for more details" "$LINENO" 5; } |
3218 | fi | | 3236 | fi |
3219 | fi | | 3237 | fi |
3220 | fi | | 3238 | fi |
3221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | | 3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3222 | $as_echo "$cross_compiling" >&6; } | | 3240 | $as_echo "$cross_compiling" >&6; } |
3223 | | | 3241 | |
3224 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | | 3242 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3225 | ac_clean_files=$ac_clean_files_save | | 3243 | ac_clean_files=$ac_clean_files_save |
3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | | 3244 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3227 | $as_echo_n "checking for suffix of object files... " >&6; } | | 3245 | $as_echo_n "checking for suffix of object files... " >&6; } |
3228 | if test "${ac_cv_objext+set}" = set; then : | | 3246 | if ${ac_cv_objext+:} false; then : |
3229 | $as_echo_n "(cached) " >&6 | | 3247 | $as_echo_n "(cached) " >&6 |
3230 | else | | 3248 | else |
3231 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3249 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3232 | /* end confdefs.h. */ | | 3250 | /* end confdefs.h. */ |
3233 | | | 3251 | |
3234 | int | | 3252 | int |
3235 | main () | | 3253 | main () |
3236 | { | | 3254 | { |
3237 | | | 3255 | |
3238 | ; | | 3256 | ; |
3239 | return 0; | | 3257 | return 0; |
3240 | } | | 3258 | } |
3241 | _ACEOF | | 3259 | _ACEOF |
| @@ -3255,38 +3273,38 @@ $as_echo "$ac_try_echo"; } >&5 | | | @@ -3255,38 +3273,38 @@ $as_echo "$ac_try_echo"; } >&5 |
3255 | test -f "$ac_file" || continue; | | 3273 | test -f "$ac_file" || continue; |
3256 | case $ac_file in | | 3274 | case $ac_file in |
3257 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | | 3275 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3258 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | | 3276 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3259 | break;; | | 3277 | break;; |
3260 | esac | | 3278 | esac |
3261 | done | | 3279 | done |
3262 | else | | 3280 | else |
3263 | $as_echo "$as_me: failed program was:" >&5 | | 3281 | $as_echo "$as_me: failed program was:" >&5 |
3264 | sed 's/^/| /' conftest.$ac_ext >&5 | | 3282 | sed 's/^/| /' conftest.$ac_ext >&5 |
3265 | | | 3283 | |
3266 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3284 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3267 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3285 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3268 | as_fn_error "cannot compute suffix of object files: cannot compile | | 3286 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3269 | See \`config.log' for more details." "$LINENO" 5; } | | 3287 | See \`config.log' for more details" "$LINENO" 5; } |
3270 | fi | | 3288 | fi |
3271 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | | 3289 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3272 | fi | | 3290 | fi |
3273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | | 3291 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3274 | $as_echo "$ac_cv_objext" >&6; } | | 3292 | $as_echo "$ac_cv_objext" >&6; } |
3275 | OBJEXT=$ac_cv_objext | | 3293 | OBJEXT=$ac_cv_objext |
3276 | ac_objext=$OBJEXT | | 3294 | ac_objext=$OBJEXT |
3277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | | 3295 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3278 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | | 3296 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3279 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | | 3297 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3280 | $as_echo_n "(cached) " >&6 | | 3298 | $as_echo_n "(cached) " >&6 |
3281 | else | | 3299 | else |
3282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3300 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3283 | /* end confdefs.h. */ | | 3301 | /* end confdefs.h. */ |
3284 | | | 3302 | |
3285 | int | | 3303 | int |
3286 | main () | | 3304 | main () |
3287 | { | | 3305 | { |
3288 | #ifndef __GNUC__ | | 3306 | #ifndef __GNUC__ |
3289 | choke me | | 3307 | choke me |
3290 | #endif | | 3308 | #endif |
3291 | | | 3309 | |
3292 | ; | | 3310 | ; |
| @@ -3303,27 +3321,27 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu | | | @@ -3303,27 +3321,27 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3303 | | | 3321 | |
3304 | fi | | 3322 | fi |
3305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | | 3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3306 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | | 3324 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3307 | if test $ac_compiler_gnu = yes; then | | 3325 | if test $ac_compiler_gnu = yes; then |
3308 | GCC=yes | | 3326 | GCC=yes |
3309 | else | | 3327 | else |
3310 | GCC= | | 3328 | GCC= |
3311 | fi | | 3329 | fi |
3312 | ac_test_CFLAGS=${CFLAGS+set} | | 3330 | ac_test_CFLAGS=${CFLAGS+set} |
3313 | ac_save_CFLAGS=$CFLAGS | | 3331 | ac_save_CFLAGS=$CFLAGS |
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | | 3332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3315 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | | 3333 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3316 | if test "${ac_cv_prog_cc_g+set}" = set; then : | | 3334 | if ${ac_cv_prog_cc_g+:} false; then : |
3317 | $as_echo_n "(cached) " >&6 | | 3335 | $as_echo_n "(cached) " >&6 |
3318 | else | | 3336 | else |
3319 | ac_save_c_werror_flag=$ac_c_werror_flag | | 3337 | ac_save_c_werror_flag=$ac_c_werror_flag |
3320 | ac_c_werror_flag=yes | | 3338 | ac_c_werror_flag=yes |
3321 | ac_cv_prog_cc_g=no | | 3339 | ac_cv_prog_cc_g=no |
3322 | CFLAGS="-g" | | 3340 | CFLAGS="-g" |
3323 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3324 | /* end confdefs.h. */ | | 3342 | /* end confdefs.h. */ |
3325 | | | 3343 | |
3326 | int | | 3344 | int |
3327 | main () | | 3345 | main () |
3328 | { | | 3346 | { |
3329 | | | 3347 | |
| @@ -3381,27 +3399,27 @@ elif test $ac_cv_prog_cc_g = yes; then | | | @@ -3381,27 +3399,27 @@ elif test $ac_cv_prog_cc_g = yes; then |
3381 | CFLAGS="-g -O2" | | 3399 | CFLAGS="-g -O2" |
3382 | else | | 3400 | else |
3383 | CFLAGS="-g" | | 3401 | CFLAGS="-g" |
3384 | fi | | 3402 | fi |
3385 | else | | 3403 | else |
3386 | if test "$GCC" = yes; then | | 3404 | if test "$GCC" = yes; then |
3387 | CFLAGS="-O2" | | 3405 | CFLAGS="-O2" |
3388 | else | | 3406 | else |
3389 | CFLAGS= | | 3407 | CFLAGS= |
3390 | fi | | 3408 | fi |
3391 | fi | | 3409 | fi |
3392 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | | 3410 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3393 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | | 3411 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3394 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | | 3412 | if ${ac_cv_prog_cc_c89+:} false; then : |
3395 | $as_echo_n "(cached) " >&6 | | 3413 | $as_echo_n "(cached) " >&6 |
3396 | else | | 3414 | else |
3397 | ac_cv_prog_cc_c89=no | | 3415 | ac_cv_prog_cc_c89=no |
3398 | ac_save_CC=$CC | | 3416 | ac_save_CC=$CC |
3399 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3417 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3400 | /* end confdefs.h. */ | | 3418 | /* end confdefs.h. */ |
3401 | #include <stdarg.h> | | 3419 | #include <stdarg.h> |
3402 | #include <stdio.h> | | 3420 | #include <stdio.h> |
3403 | #include <sys/types.h> | | 3421 | #include <sys/types.h> |
3404 | #include <sys/stat.h> | | 3422 | #include <sys/stat.h> |
3405 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | | 3423 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3406 | struct buf { int x; }; | | 3424 | struct buf { int x; }; |
3407 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | | 3425 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| @@ -3493,27 +3511,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | | | @@ -3493,27 +3511,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3493 | # SunOS /usr/etc/install | | 3511 | # SunOS /usr/etc/install |
3494 | # IRIX /sbin/install | | 3512 | # IRIX /sbin/install |
3495 | # AIX /bin/install | | 3513 | # AIX /bin/install |
3496 | # AmigaOS /C/install, which installs bootblocks on floppy discs | | 3514 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
3497 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | | 3515 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3498 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | | 3516 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3499 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | | 3517 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3500 | # OS/2's system install, which has a completely different semantic | | 3518 | # OS/2's system install, which has a completely different semantic |
3501 | # ./install, which can be erroneously created by make from ./install.sh. | | 3519 | # ./install, which can be erroneously created by make from ./install.sh. |
3502 | # Reject install programs that cannot install multiple files. | | 3520 | # Reject install programs that cannot install multiple files. |
3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | | 3521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3504 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | | 3522 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3505 | if test -z "$INSTALL"; then | | 3523 | if test -z "$INSTALL"; then |
3506 | if test "${ac_cv_path_install+set}" = set; then : | | 3524 | if ${ac_cv_path_install+:} false; then : |
3507 | $as_echo_n "(cached) " >&6 | | 3525 | $as_echo_n "(cached) " >&6 |
3508 | else | | 3526 | else |
3509 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3527 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3510 | for as_dir in $PATH | | 3528 | for as_dir in $PATH |
3511 | do | | 3529 | do |
3512 | IFS=$as_save_IFS | | 3530 | IFS=$as_save_IFS |
3513 | test -z "$as_dir" && as_dir=. | | 3531 | test -z "$as_dir" && as_dir=. |
3514 | # Account for people who put trailing slashes in PATH elements. | | 3532 | # Account for people who put trailing slashes in PATH elements. |
3515 | case $as_dir/ in #(( | | 3533 | case $as_dir/ in #(( |
3516 | ./ | .// | /[cC]/* | \ | | 3534 | ./ | .// | /[cC]/* | \ |
3517 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | | 3535 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3518 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | | 3536 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3519 | /usr/ucb/* ) ;; | | 3537 | /usr/ucb/* ) ;; |
| @@ -3585,27 +3603,27 @@ LN_S=$as_ln_s | | | @@ -3585,27 +3603,27 @@ LN_S=$as_ln_s |
3585 | if test "$LN_S" = "ln -s"; then | | 3603 | if test "$LN_S" = "ln -s"; then |
3586 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | | 3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3587 | $as_echo "yes" >&6; } | | 3605 | $as_echo "yes" >&6; } |
3588 | else | | 3606 | else |
3589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | | 3607 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
3590 | $as_echo "no, using $LN_S" >&6; } | | 3608 | $as_echo "no, using $LN_S" >&6; } |
3591 | fi | | 3609 | fi |
3592 | | | 3610 | |
3593 | if test -n "$ac_tool_prefix"; then | | 3611 | if test -n "$ac_tool_prefix"; then |
3594 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | | 3612 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3595 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | | 3613 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3596 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 3614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3597 | $as_echo_n "checking for $ac_word... " >&6; } | | 3615 | $as_echo_n "checking for $ac_word... " >&6; } |
3598 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | | 3616 | if ${ac_cv_prog_RANLIB+:} false; then : |
3599 | $as_echo_n "(cached) " >&6 | | 3617 | $as_echo_n "(cached) " >&6 |
3600 | else | | 3618 | else |
3601 | if test -n "$RANLIB"; then | | 3619 | if test -n "$RANLIB"; then |
3602 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | | 3620 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3603 | else | | 3621 | else |
3604 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3622 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3605 | for as_dir in $PATH | | 3623 | for as_dir in $PATH |
3606 | do | | 3624 | do |
3607 | IFS=$as_save_IFS | | 3625 | IFS=$as_save_IFS |
3608 | test -z "$as_dir" && as_dir=. | | 3626 | test -z "$as_dir" && as_dir=. |
3609 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3627 | for ac_exec_ext in '' $ac_executable_extensions; do |
3610 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 3628 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3611 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | | 3629 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| @@ -3625,27 +3643,27 @@ $as_echo "$RANLIB" >&6; } | | | @@ -3625,27 +3643,27 @@ $as_echo "$RANLIB" >&6; } |
3625 | else | | 3643 | else |
3626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 3644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3627 | $as_echo "no" >&6; } | | 3645 | $as_echo "no" >&6; } |
3628 | fi | | 3646 | fi |
3629 | | | 3647 | |
3630 | | | 3648 | |
3631 | fi | | 3649 | fi |
3632 | if test -z "$ac_cv_prog_RANLIB"; then | | 3650 | if test -z "$ac_cv_prog_RANLIB"; then |
3633 | ac_ct_RANLIB=$RANLIB | | 3651 | ac_ct_RANLIB=$RANLIB |
3634 | # Extract the first word of "ranlib", so it can be a program name with args. | | 3652 | # Extract the first word of "ranlib", so it can be a program name with args. |
3635 | set dummy ranlib; ac_word=$2 | | 3653 | set dummy ranlib; ac_word=$2 |
3636 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 3654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3637 | $as_echo_n "checking for $ac_word... " >&6; } | | 3655 | $as_echo_n "checking for $ac_word... " >&6; } |
3638 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | | 3656 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
3639 | $as_echo_n "(cached) " >&6 | | 3657 | $as_echo_n "(cached) " >&6 |
3640 | else | | 3658 | else |
3641 | if test -n "$ac_ct_RANLIB"; then | | 3659 | if test -n "$ac_ct_RANLIB"; then |
3642 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | | 3660 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3643 | else | | 3661 | else |
3644 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3662 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3645 | for as_dir in $PATH | | 3663 | for as_dir in $PATH |
3646 | do | | 3664 | do |
3647 | IFS=$as_save_IFS | | 3665 | IFS=$as_save_IFS |
3648 | test -z "$as_dir" && as_dir=. | | 3666 | test -z "$as_dir" && as_dir=. |
3649 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3667 | for ac_exec_ext in '' $ac_executable_extensions; do |
3650 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 3668 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3651 | ac_cv_prog_ac_ct_RANLIB="ranlib" | | 3669 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| @@ -3678,27 +3696,27 @@ ac_tool_warned=yes ;; | | | @@ -3678,27 +3696,27 @@ ac_tool_warned=yes ;; |
3678 | esac | | 3696 | esac |
3679 | RANLIB=$ac_ct_RANLIB | | 3697 | RANLIB=$ac_ct_RANLIB |
3680 | fi | | 3698 | fi |
3681 | else | | 3699 | else |
3682 | RANLIB="$ac_cv_prog_RANLIB" | | 3700 | RANLIB="$ac_cv_prog_RANLIB" |
3683 | fi | | 3701 | fi |
3684 | | | 3702 | |
3685 | for ac_prog in gawk mawk nawk awk | | 3703 | for ac_prog in gawk mawk nawk awk |
3686 | do | | 3704 | do |
3687 | # Extract the first word of "$ac_prog", so it can be a program name with args. | | 3705 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3688 | set dummy $ac_prog; ac_word=$2 | | 3706 | set dummy $ac_prog; ac_word=$2 |
3689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 3707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3690 | $as_echo_n "checking for $ac_word... " >&6; } | | 3708 | $as_echo_n "checking for $ac_word... " >&6; } |
3691 | if test "${ac_cv_prog_AWK+set}" = set; then : | | 3709 | if ${ac_cv_prog_AWK+:} false; then : |
3692 | $as_echo_n "(cached) " >&6 | | 3710 | $as_echo_n "(cached) " >&6 |
3693 | else | | 3711 | else |
3694 | if test -n "$AWK"; then | | 3712 | if test -n "$AWK"; then |
3695 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | | 3713 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3696 | else | | 3714 | else |
3697 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3698 | for as_dir in $PATH | | 3716 | for as_dir in $PATH |
3699 | do | | 3717 | do |
3700 | IFS=$as_save_IFS | | 3718 | IFS=$as_save_IFS |
3701 | test -z "$as_dir" && as_dir=. | | 3719 | test -z "$as_dir" && as_dir=. |
3702 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3720 | for ac_exec_ext in '' $ac_executable_extensions; do |
3703 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 3721 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3704 | ac_cv_prog_AWK="$ac_prog" | | 3722 | ac_cv_prog_AWK="$ac_prog" |
| @@ -3718,27 +3736,27 @@ $as_echo "$AWK" >&6; } | | | @@ -3718,27 +3736,27 @@ $as_echo "$AWK" >&6; } |
3718 | else | | 3736 | else |
3719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | | 3737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3720 | $as_echo "no" >&6; } | | 3738 | $as_echo "no" >&6; } |
3721 | fi | | 3739 | fi |
3722 | | | 3740 | |
3723 | | | 3741 | |
3724 | test -n "$AWK" && break | | 3742 | test -n "$AWK" && break |
3725 | done | | 3743 | done |
3726 | | | 3744 | |
3727 | # Extract the first word of "ar", so it can be a program name with args. | | 3745 | # Extract the first word of "ar", so it can be a program name with args. |
3728 | set dummy ar; ac_word=$2 | | 3746 | set dummy ar; ac_word=$2 |
3729 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | | 3747 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3730 | $as_echo_n "checking for $ac_word... " >&6; } | | 3748 | $as_echo_n "checking for $ac_word... " >&6; } |
3731 | if test "${ac_cv_prog_AR+set}" = set; then : | | 3749 | if ${ac_cv_prog_AR+:} false; then : |
3732 | $as_echo_n "(cached) " >&6 | | 3750 | $as_echo_n "(cached) " >&6 |
3733 | else | | 3751 | else |
3734 | if test -n "$AR"; then | | 3752 | if test -n "$AR"; then |
3735 | ac_cv_prog_AR="$AR" # Let the user override the test. | | 3753 | ac_cv_prog_AR="$AR" # Let the user override the test. |
3736 | else | | 3754 | else |
3737 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3755 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3738 | for as_dir in $PATH | | 3756 | for as_dir in $PATH |
3739 | do | | 3757 | do |
3740 | IFS=$as_save_IFS | | 3758 | IFS=$as_save_IFS |
3741 | test -z "$as_dir" && as_dir=. | | 3759 | test -z "$as_dir" && as_dir=. |
3742 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3760 | for ac_exec_ext in '' $ac_executable_extensions; do |
3743 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | | 3761 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3744 | ac_cv_prog_AR="ar" | | 3762 | ac_cv_prog_AR="ar" |
| @@ -3760,27 +3778,27 @@ else | | | @@ -3760,27 +3778,27 @@ else |
3760 | $as_echo "no" >&6; } | | 3778 | $as_echo "no" >&6; } |
3761 | fi | | 3779 | fi |
3762 | | | 3780 | |
3763 | | | 3781 | |
3764 | | | 3782 | |
3765 | AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} | | 3783 | AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} |
3766 | | | 3784 | |
3767 | AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} | | 3785 | AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} |
3768 | | | 3786 | |
3769 | | | 3787 | |
3770 | | | 3788 | |
3771 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 | | 3789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 |
3772 | $as_echo_n "checking for fparseln in -lutil... " >&6; } | | 3790 | $as_echo_n "checking for fparseln in -lutil... " >&6; } |
3773 | if test "${ac_cv_lib_util_fparseln+set}" = set; then : | | 3791 | if ${ac_cv_lib_util_fparseln+:} false; then : |
3774 | $as_echo_n "(cached) " >&6 | | 3792 | $as_echo_n "(cached) " >&6 |
3775 | else | | 3793 | else |
3776 | ac_check_lib_save_LIBS=$LIBS | | 3794 | ac_check_lib_save_LIBS=$LIBS |
3777 | LIBS="-lutil $LIBS" | | 3795 | LIBS="-lutil $LIBS" |
3778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3796 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3779 | /* end confdefs.h. */ | | 3797 | /* end confdefs.h. */ |
3780 | | | 3798 | |
3781 | /* Override any GCC internal prototype to avoid an error. | | 3799 | /* Override any GCC internal prototype to avoid an error. |
3782 | Use char because int might match the return type of a GCC | | 3800 | Use char because int might match the return type of a GCC |
3783 | builtin and then its argument prototype would still apply. */ | | 3801 | builtin and then its argument prototype would still apply. */ |
3784 | #ifdef __cplusplus | | 3802 | #ifdef __cplusplus |
3785 | extern "C" | | 3803 | extern "C" |
3786 | #endif | | 3804 | #endif |
| @@ -3794,49 +3812,49 @@ return fparseln (); | | | @@ -3794,49 +3812,49 @@ return fparseln (); |
3794 | } | | 3812 | } |
3795 | _ACEOF | | 3813 | _ACEOF |
3796 | if ac_fn_c_try_link "$LINENO"; then : | | 3814 | if ac_fn_c_try_link "$LINENO"; then : |
3797 | ac_cv_lib_util_fparseln=yes | | 3815 | ac_cv_lib_util_fparseln=yes |
3798 | else | | 3816 | else |
3799 | ac_cv_lib_util_fparseln=no | | 3817 | ac_cv_lib_util_fparseln=no |
3800 | fi | | 3818 | fi |
3801 | rm -f core conftest.err conftest.$ac_objext \ | | 3819 | rm -f core conftest.err conftest.$ac_objext \ |
3802 | conftest$ac_exeext conftest.$ac_ext | | 3820 | conftest$ac_exeext conftest.$ac_ext |
3803 | LIBS=$ac_check_lib_save_LIBS | | 3821 | LIBS=$ac_check_lib_save_LIBS |
3804 | fi | | 3822 | fi |
3805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5 | | 3823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5 |
3806 | $as_echo "$ac_cv_lib_util_fparseln" >&6; } | | 3824 | $as_echo "$ac_cv_lib_util_fparseln" >&6; } |
3807 | if test "x$ac_cv_lib_util_fparseln" = x""yes; then : | | 3825 | if test "x$ac_cv_lib_util_fparseln" = xyes; then : |
3808 | cat >>confdefs.h <<_ACEOF | | 3826 | cat >>confdefs.h <<_ACEOF |
3809 | #define HAVE_LIBUTIL 1 | | 3827 | #define HAVE_LIBUTIL 1 |
3810 | _ACEOF | | 3828 | _ACEOF |
3811 | | | 3829 | |
3812 | LIBS="-lutil $LIBS" | | 3830 | LIBS="-lutil $LIBS" |
3813 | | | 3831 | |
3814 | fi | | 3832 | fi |
3815 | | | 3833 | |
3816 | | | 3834 | |
3817 | ac_ext=c | | 3835 | ac_ext=c |
3818 | ac_cpp='$CPP $CPPFLAGS' | | 3836 | ac_cpp='$CPP $CPPFLAGS' |
3819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 3837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 3838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 3839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3822 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | | 3840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3823 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | | 3841 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3824 | # On Suns, sometimes $CPP names a directory. | | 3842 | # On Suns, sometimes $CPP names a directory. |
3825 | if test -n "$CPP" && test -d "$CPP"; then | | 3843 | if test -n "$CPP" && test -d "$CPP"; then |
3826 | CPP= | | 3844 | CPP= |
3827 | fi | | 3845 | fi |
3828 | if test -z "$CPP"; then | | 3846 | if test -z "$CPP"; then |
3829 | if test "${ac_cv_prog_CPP+set}" = set; then : | | 3847 | if ${ac_cv_prog_CPP+:} false; then : |
3830 | $as_echo_n "(cached) " >&6 | | 3848 | $as_echo_n "(cached) " >&6 |
3831 | else | | 3849 | else |
3832 | # Double quotes because CPP needs to be expanded | | 3850 | # Double quotes because CPP needs to be expanded |
3833 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | | 3851 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3834 | do | | 3852 | do |
3835 | ac_preproc_ok=false | | 3853 | ac_preproc_ok=false |
3836 | for ac_c_preproc_warn_flag in '' yes | | 3854 | for ac_c_preproc_warn_flag in '' yes |
3837 | do | | 3855 | do |
3838 | # Use a header file that comes with gcc, so configuring glibc | | 3856 | # Use a header file that comes with gcc, so configuring glibc |
3839 | # with a fresh cross-compiler works. | | 3857 | # with a fresh cross-compiler works. |
3840 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | | 3858 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3841 | # <limits.h> exists even on freestanding compilers. | | 3859 | # <limits.h> exists even on freestanding compilers. |
3842 | # On the NeXT, cc -E runs the code through the compiler's parser, | | 3860 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| @@ -3846,47 +3864,47 @@ do | | | @@ -3846,47 +3864,47 @@ do |
3846 | #ifdef __STDC__ | | 3864 | #ifdef __STDC__ |
3847 | # include <limits.h> | | 3865 | # include <limits.h> |
3848 | #else | | 3866 | #else |
3849 | # include <assert.h> | | 3867 | # include <assert.h> |
3850 | #endif | | 3868 | #endif |
3851 | Syntax error | | 3869 | Syntax error |
3852 | _ACEOF | | 3870 | _ACEOF |
3853 | if ac_fn_c_try_cpp "$LINENO"; then : | | 3871 | if ac_fn_c_try_cpp "$LINENO"; then : |
3854 | | | 3872 | |
3855 | else | | 3873 | else |
3856 | # Broken: fails on valid input. | | 3874 | # Broken: fails on valid input. |
3857 | continue | | 3875 | continue |
3858 | fi | | 3876 | fi |
3859 | rm -f conftest.err conftest.$ac_ext | | 3877 | rm -f conftest.err conftest.i conftest.$ac_ext |
3860 | | | 3878 | |
3861 | # OK, works on sane cases. Now check whether nonexistent headers | | 3879 | # OK, works on sane cases. Now check whether nonexistent headers |
3862 | # can be detected and how. | | 3880 | # can be detected and how. |
3863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3864 | /* end confdefs.h. */ | | 3882 | /* end confdefs.h. */ |
3865 | #include <ac_nonexistent.h> | | 3883 | #include <ac_nonexistent.h> |
3866 | _ACEOF | | 3884 | _ACEOF |
3867 | if ac_fn_c_try_cpp "$LINENO"; then : | | 3885 | if ac_fn_c_try_cpp "$LINENO"; then : |
3868 | # Broken: success on invalid input. | | 3886 | # Broken: success on invalid input. |
3869 | continue | | 3887 | continue |
3870 | else | | 3888 | else |
3871 | # Passes both tests. | | 3889 | # Passes both tests. |
3872 | ac_preproc_ok=: | | 3890 | ac_preproc_ok=: |
3873 | break | | 3891 | break |
3874 | fi | | 3892 | fi |
3875 | rm -f conftest.err conftest.$ac_ext | | 3893 | rm -f conftest.err conftest.i conftest.$ac_ext |
3876 | | | 3894 | |
3877 | done | | 3895 | done |
3878 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | 3896 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3879 | rm -f conftest.err conftest.$ac_ext | | 3897 | rm -f conftest.i conftest.err conftest.$ac_ext |
3880 | if $ac_preproc_ok; then : | | 3898 | if $ac_preproc_ok; then : |
3881 | break | | 3899 | break |
3882 | fi | | 3900 | fi |
3883 | | | 3901 | |
3884 | done | | 3902 | done |
3885 | ac_cv_prog_CPP=$CPP | | 3903 | ac_cv_prog_CPP=$CPP |
3886 | | | 3904 | |
3887 | fi | | 3905 | fi |
3888 | CPP=$ac_cv_prog_CPP | | 3906 | CPP=$ac_cv_prog_CPP |
3889 | else | | 3907 | else |
3890 | ac_cv_prog_CPP=$CPP | | 3908 | ac_cv_prog_CPP=$CPP |
3891 | fi | | 3909 | fi |
3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | | 3910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| @@ -3905,66 +3923,66 @@ do | | | @@ -3905,66 +3923,66 @@ do |
3905 | #ifdef __STDC__ | | 3923 | #ifdef __STDC__ |
3906 | # include <limits.h> | | 3924 | # include <limits.h> |
3907 | #else | | 3925 | #else |
3908 | # include <assert.h> | | 3926 | # include <assert.h> |
3909 | #endif | | 3927 | #endif |
3910 | Syntax error | | 3928 | Syntax error |
3911 | _ACEOF | | 3929 | _ACEOF |
3912 | if ac_fn_c_try_cpp "$LINENO"; then : | | 3930 | if ac_fn_c_try_cpp "$LINENO"; then : |
3913 | | | 3931 | |
3914 | else | | 3932 | else |
3915 | # Broken: fails on valid input. | | 3933 | # Broken: fails on valid input. |
3916 | continue | | 3934 | continue |
3917 | fi | | 3935 | fi |
3918 | rm -f conftest.err conftest.$ac_ext | | 3936 | rm -f conftest.err conftest.i conftest.$ac_ext |
3919 | | | 3937 | |
3920 | # OK, works on sane cases. Now check whether nonexistent headers | | 3938 | # OK, works on sane cases. Now check whether nonexistent headers |
3921 | # can be detected and how. | | 3939 | # can be detected and how. |
3922 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 3940 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3923 | /* end confdefs.h. */ | | 3941 | /* end confdefs.h. */ |
3924 | #include <ac_nonexistent.h> | | 3942 | #include <ac_nonexistent.h> |
3925 | _ACEOF | | 3943 | _ACEOF |
3926 | if ac_fn_c_try_cpp "$LINENO"; then : | | 3944 | if ac_fn_c_try_cpp "$LINENO"; then : |
3927 | # Broken: success on invalid input. | | 3945 | # Broken: success on invalid input. |
3928 | continue | | 3946 | continue |
3929 | else | | 3947 | else |
3930 | # Passes both tests. | | 3948 | # Passes both tests. |
3931 | ac_preproc_ok=: | | 3949 | ac_preproc_ok=: |
3932 | break | | 3950 | break |
3933 | fi | | 3951 | fi |
3934 | rm -f conftest.err conftest.$ac_ext | | 3952 | rm -f conftest.err conftest.i conftest.$ac_ext |
3935 | | | 3953 | |
3936 | done | | 3954 | done |
3937 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | | 3955 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3938 | rm -f conftest.err conftest.$ac_ext | | 3956 | rm -f conftest.i conftest.err conftest.$ac_ext |
3939 | if $ac_preproc_ok; then : | | 3957 | if $ac_preproc_ok; then : |
3940 | | | 3958 | |
3941 | else | | 3959 | else |
3942 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 3960 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3943 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 3961 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3944 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | | 3962 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3945 | See \`config.log' for more details." "$LINENO" 5; } | | 3963 | See \`config.log' for more details" "$LINENO" 5; } |
3946 | fi | | 3964 | fi |
3947 | | | 3965 | |
3948 | ac_ext=c | | 3966 | ac_ext=c |
3949 | ac_cpp='$CPP $CPPFLAGS' | | 3967 | ac_cpp='$CPP $CPPFLAGS' |
3950 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | | 3968 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3951 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | | 3969 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3952 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | | 3970 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3953 | | | 3971 | |
3954 | | | 3972 | |
3955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | | 3973 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3956 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | | 3974 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3957 | if test "${ac_cv_path_GREP+set}" = set; then : | | 3975 | if ${ac_cv_path_GREP+:} false; then : |
3958 | $as_echo_n "(cached) " >&6 | | 3976 | $as_echo_n "(cached) " >&6 |
3959 | else | | 3977 | else |
3960 | if test -z "$GREP"; then | | 3978 | if test -z "$GREP"; then |
3961 | ac_path_GREP_found=false | | 3979 | ac_path_GREP_found=false |
3962 | # Loop through the user's path and test for each of PROGNAME-LIST | | 3980 | # Loop through the user's path and test for each of PROGNAME-LIST |
3963 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 3981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3964 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | | 3982 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3965 | do | | 3983 | do |
3966 | IFS=$as_save_IFS | | 3984 | IFS=$as_save_IFS |
3967 | test -z "$as_dir" && as_dir=. | | 3985 | test -z "$as_dir" && as_dir=. |
3968 | for ac_prog in grep ggrep; do | | 3986 | for ac_prog in grep ggrep; do |
3969 | for ac_exec_ext in '' $ac_executable_extensions; do | | 3987 | for ac_exec_ext in '' $ac_executable_extensions; do |
3970 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | | 3988 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| @@ -3993,41 +4011,41 @@ case `"$ac_path_GREP" --version 2>&1` in | | | @@ -3993,41 +4011,41 @@ case `"$ac_path_GREP" --version 2>&1` in |
3993 | fi | | 4011 | fi |
3994 | # 10*(2^10) chars as input seems more than enough | | 4012 | # 10*(2^10) chars as input seems more than enough |
3995 | test $ac_count -gt 10 && break | | 4013 | test $ac_count -gt 10 && break |
3996 | done | | 4014 | done |
3997 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | | 4015 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3998 | esac | | 4016 | esac |
3999 | | | 4017 | |
4000 | $ac_path_GREP_found && break 3 | | 4018 | $ac_path_GREP_found && break 3 |
4001 | done | | 4019 | done |
4002 | done | | 4020 | done |
4003 | done | | 4021 | done |
4004 | IFS=$as_save_IFS | | 4022 | IFS=$as_save_IFS |
4005 | if test -z "$ac_cv_path_GREP"; then | | 4023 | if test -z "$ac_cv_path_GREP"; then |
4006 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | | 4024 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4007 | fi | | 4025 | fi |
4008 | else | | 4026 | else |
4009 | ac_cv_path_GREP=$GREP | | 4027 | ac_cv_path_GREP=$GREP |
4010 | fi | | 4028 | fi |
4011 | | | 4029 | |
4012 | fi | | 4030 | fi |
4013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | | 4031 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4014 | $as_echo "$ac_cv_path_GREP" >&6; } | | 4032 | $as_echo "$ac_cv_path_GREP" >&6; } |
4015 | GREP="$ac_cv_path_GREP" | | 4033 | GREP="$ac_cv_path_GREP" |
4016 | | | 4034 | |
4017 | | | 4035 | |
4018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | | 4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4019 | $as_echo_n "checking for egrep... " >&6; } | | 4037 | $as_echo_n "checking for egrep... " >&6; } |
4020 | if test "${ac_cv_path_EGREP+set}" = set; then : | | 4038 | if ${ac_cv_path_EGREP+:} false; then : |
4021 | $as_echo_n "(cached) " >&6 | | 4039 | $as_echo_n "(cached) " >&6 |
4022 | else | | 4040 | else |
4023 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | | 4041 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4024 | then ac_cv_path_EGREP="$GREP -E" | | 4042 | then ac_cv_path_EGREP="$GREP -E" |
4025 | else | | 4043 | else |
4026 | if test -z "$EGREP"; then | | 4044 | if test -z "$EGREP"; then |
4027 | ac_path_EGREP_found=false | | 4045 | ac_path_EGREP_found=false |
4028 | # Loop through the user's path and test for each of PROGNAME-LIST | | 4046 | # Loop through the user's path and test for each of PROGNAME-LIST |
4029 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 4047 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4030 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | | 4048 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4031 | do | | 4049 | do |
4032 | IFS=$as_save_IFS | | 4050 | IFS=$as_save_IFS |
4033 | test -z "$as_dir" && as_dir=. | | 4051 | test -z "$as_dir" && as_dir=. |
| @@ -4059,42 +4077,42 @@ case `"$ac_path_EGREP" --version 2>&1` i | | | @@ -4059,42 +4077,42 @@ case `"$ac_path_EGREP" --version 2>&1` i |
4059 | fi | | 4077 | fi |
4060 | # 10*(2^10) chars as input seems more than enough | | 4078 | # 10*(2^10) chars as input seems more than enough |
4061 | test $ac_count -gt 10 && break | | 4079 | test $ac_count -gt 10 && break |
4062 | done | | 4080 | done |
4063 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | | 4081 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4064 | esac | | 4082 | esac |
4065 | | | 4083 | |
4066 | $ac_path_EGREP_found && break 3 | | 4084 | $ac_path_EGREP_found && break 3 |
4067 | done | | 4085 | done |
4068 | done | | 4086 | done |
4069 | done | | 4087 | done |
4070 | IFS=$as_save_IFS | | 4088 | IFS=$as_save_IFS |
4071 | if test -z "$ac_cv_path_EGREP"; then | | 4089 | if test -z "$ac_cv_path_EGREP"; then |
4072 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | | 4090 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4073 | fi | | 4091 | fi |
4074 | else | | 4092 | else |
4075 | ac_cv_path_EGREP=$EGREP | | 4093 | ac_cv_path_EGREP=$EGREP |
4076 | fi | | 4094 | fi |
4077 | | | 4095 | |
4078 | fi | | 4096 | fi |
4079 | fi | | 4097 | fi |
4080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | | 4098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4081 | $as_echo "$ac_cv_path_EGREP" >&6; } | | 4099 | $as_echo "$ac_cv_path_EGREP" >&6; } |
4082 | EGREP="$ac_cv_path_EGREP" | | 4100 | EGREP="$ac_cv_path_EGREP" |
4083 | | | 4101 | |
4084 | | | 4102 | |
4085 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | | 4103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4086 | $as_echo_n "checking for ANSI C header files... " >&6; } | | 4104 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4087 | if test "${ac_cv_header_stdc+set}" = set; then : | | 4105 | if ${ac_cv_header_stdc+:} false; then : |
4088 | $as_echo_n "(cached) " >&6 | | 4106 | $as_echo_n "(cached) " >&6 |
4089 | else | | 4107 | else |
4090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4108 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4091 | /* end confdefs.h. */ | | 4109 | /* end confdefs.h. */ |
4092 | #include <stdlib.h> | | 4110 | #include <stdlib.h> |
4093 | #include <stdarg.h> | | 4111 | #include <stdarg.h> |
4094 | #include <string.h> | | 4112 | #include <string.h> |
4095 | #include <float.h> | | 4113 | #include <float.h> |
4096 | | | 4114 | |
4097 | int | | 4115 | int |
4098 | main () | | 4116 | main () |
4099 | { | | 4117 | { |
4100 | | | 4118 | |
| @@ -4186,27 +4204,27 @@ fi | | | @@ -4186,27 +4204,27 @@ fi |
4186 | | | 4204 | |
4187 | fi | | 4205 | fi |
4188 | fi | | 4206 | fi |
4189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | | 4207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
4190 | $as_echo "$ac_cv_header_stdc" >&6; } | | 4208 | $as_echo "$ac_cv_header_stdc" >&6; } |
4191 | if test $ac_cv_header_stdc = yes; then | | 4209 | if test $ac_cv_header_stdc = yes; then |
4192 | | | 4210 | |
4193 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | | 4211 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
4194 | | | 4212 | |
4195 | fi | | 4213 | fi |
4196 | | | 4214 | |
4197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | | 4215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
4198 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | | 4216 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
4199 | if test "${ac_cv_header_time+set}" = set; then : | | 4217 | if ${ac_cv_header_time+:} false; then : |
4200 | $as_echo_n "(cached) " >&6 | | 4218 | $as_echo_n "(cached) " >&6 |
4201 | else | | 4219 | else |
4202 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4203 | /* end confdefs.h. */ | | 4221 | /* end confdefs.h. */ |
4204 | #include <sys/types.h> | | 4222 | #include <sys/types.h> |
4205 | #include <sys/time.h> | | 4223 | #include <sys/time.h> |
4206 | #include <time.h> | | 4224 | #include <time.h> |
4207 | | | 4225 | |
4208 | int | | 4226 | int |
4209 | main () | | 4227 | main () |
4210 | { | | 4228 | { |
4211 | if ((struct tm *) 0) | | 4229 | if ((struct tm *) 0) |
4212 | return 0; | | 4230 | return 0; |
| @@ -4226,40 +4244,39 @@ $as_echo "$ac_cv_header_time" >&6; } | | | @@ -4226,40 +4244,39 @@ $as_echo "$ac_cv_header_time" >&6; } |
4226 | if test $ac_cv_header_time = yes; then | | 4244 | if test $ac_cv_header_time = yes; then |
4227 | | | 4245 | |
4228 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | | 4246 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
4229 | | | 4247 | |
4230 | fi | | 4248 | fi |
4231 | | | 4249 | |
4232 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | | 4250 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4233 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | | 4251 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4234 | inttypes.h stdint.h unistd.h | | 4252 | inttypes.h stdint.h unistd.h |
4235 | do : | | 4253 | do : |
4236 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 4254 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4237 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | | 4255 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4238 | " | | 4256 | " |
4239 | eval as_val=\$$as_ac_Header | | 4257 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4240 | if test "x$as_val" = x""yes; then : | | | |
4241 | cat >>confdefs.h <<_ACEOF | | 4258 | cat >>confdefs.h <<_ACEOF |
4242 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 4259 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4243 | _ACEOF | | 4260 | _ACEOF |
4244 | | | 4261 | |
4245 | fi | | 4262 | fi |
4246 | | | 4263 | |
4247 | done | | 4264 | done |
4248 | | | 4265 | |
4249 | | | 4266 | |
4250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 | | 4267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
4251 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } | | 4268 | $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
4252 | if test "${ac_cv_header_stdbool_h+set}" = set; then : | | 4269 | if ${ac_cv_header_stdbool_h+:} false; then : |
4253 | $as_echo_n "(cached) " >&6 | | 4270 | $as_echo_n "(cached) " >&6 |
4254 | else | | 4271 | else |
4255 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4272 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4256 | /* end confdefs.h. */ | | 4273 | /* end confdefs.h. */ |
4257 | | | 4274 | |
4258 | #include <stdbool.h> | | 4275 | #include <stdbool.h> |
4259 | #ifndef bool | | 4276 | #ifndef bool |
4260 | "error: bool is not defined" | | 4277 | "error: bool is not defined" |
4261 | #endif | | 4278 | #endif |
4262 | #ifndef false | | 4279 | #ifndef false |
4263 | "error: false is not defined" | | 4280 | "error: false is not defined" |
4264 | #endif | | 4281 | #endif |
4265 | #if false | | 4282 | #if false |
| @@ -4271,88 +4288,70 @@ else | | | @@ -4271,88 +4288,70 @@ else |
4271 | #if true != 1 | | 4288 | #if true != 1 |
4272 | "error: true is not 1" | | 4289 | "error: true is not 1" |
4273 | #endif | | 4290 | #endif |
4274 | #ifndef __bool_true_false_are_defined | | 4291 | #ifndef __bool_true_false_are_defined |
4275 | "error: __bool_true_false_are_defined is not defined" | | 4292 | "error: __bool_true_false_are_defined is not defined" |
4276 | #endif | | 4293 | #endif |
4277 | | | 4294 | |
4278 | struct s { _Bool s: 1; _Bool t; } s; | | 4295 | struct s { _Bool s: 1; _Bool t; } s; |
4279 | | | 4296 | |
4280 | char a[true == 1 ? 1 : -1]; | | 4297 | char a[true == 1 ? 1 : -1]; |
4281 | char b[false == 0 ? 1 : -1]; | | 4298 | char b[false == 0 ? 1 : -1]; |
4282 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | | 4299 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
4283 | char d[(bool) 0.5 == true ? 1 : -1]; | | 4300 | char d[(bool) 0.5 == true ? 1 : -1]; |
4284 | bool e = &s; | | 4301 | /* See body of main program for 'e'. */ |
4285 | char f[(_Bool) 0.0 == false ? 1 : -1]; | | 4302 | char f[(_Bool) 0.0 == false ? 1 : -1]; |
4286 | char g[true]; | | 4303 | char g[true]; |
4287 | char h[sizeof (_Bool)]; | | 4304 | char h[sizeof (_Bool)]; |
4288 | char i[sizeof s.t]; | | 4305 | char i[sizeof s.t]; |
4289 | enum { j = false, k = true, l = false * true, m = true * 256 }; | | 4306 | enum { j = false, k = true, l = false * true, m = true * 256 }; |
4290 | /* The following fails for | | 4307 | /* The following fails for |
4291 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ | | 4308 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
4292 | _Bool n[m]; | | 4309 | _Bool n[m]; |
4293 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; | | 4310 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
4294 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; | | 4311 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
4295 | # if defined __xlc__ || defined __GNUC__ | | | |
4296 | /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 | | | |
4297 | reported by James Lemley on 2005-10-05; see | | | |
4298 | http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html | | | |
4299 | This test is not quite right, since xlc is allowed to | | | |
4300 | reject this program, as the initializer for xlcbug is | | | |
4301 | not one of the forms that C requires support for. | | | |
4302 | However, doing the test right would require a runtime | | | |
4303 | test, and that would make cross-compilation harder. | | | |
4304 | Let us hope that IBM fixes the xlc bug, and also adds | | | |
4305 | support for this kind of constant expression. In the | | | |
4306 | meantime, this test will reject xlc, which is OK, since | | | |
4307 | our stdbool.h substitute should suffice. We also test | | | |
4308 | this with GCC, where it should work, to detect more | | | |
4309 | quickly whether someone messes up the test in the | | | |
4310 | future. */ | | | |
4311 | char digs[] = "0123456789"; | | | |
4312 | int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); | | | |
4313 | # endif | | | |
4314 | /* Catch a bug in an HP-UX C compiler. See | | 4312 | /* Catch a bug in an HP-UX C compiler. See |
4315 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html | | 4313 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
4316 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html | | 4314 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
4317 | */ | | 4315 | */ |
4318 | _Bool q = true; | | 4316 | _Bool q = true; |
4319 | _Bool *pq = &q; | | 4317 | _Bool *pq = &q; |
4320 | | | 4318 | |
4321 | int | | 4319 | int |
4322 | main () | | 4320 | main () |
4323 | { | | 4321 | { |
4324 | | | 4322 | |
| | | 4323 | bool e = &s; |
4325 | *pq |= q; | | 4324 | *pq |= q; |
4326 | *pq |= ! q; | | 4325 | *pq |= ! q; |
4327 | /* Refer to every declared value, to avoid compiler optimizations. */ | | 4326 | /* Refer to every declared value, to avoid compiler optimizations. */ |
4328 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l | | 4327 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
4329 | + !m + !n + !o + !p + !q + !pq); | | 4328 | + !m + !n + !o + !p + !q + !pq); |
4330 | | | 4329 | |
4331 | ; | | 4330 | ; |
4332 | return 0; | | 4331 | return 0; |
4333 | } | | 4332 | } |
4334 | _ACEOF | | 4333 | _ACEOF |
4335 | if ac_fn_c_try_compile "$LINENO"; then : | | 4334 | if ac_fn_c_try_compile "$LINENO"; then : |
4336 | ac_cv_header_stdbool_h=yes | | 4335 | ac_cv_header_stdbool_h=yes |
4337 | else | | 4336 | else |
4338 | ac_cv_header_stdbool_h=no | | 4337 | ac_cv_header_stdbool_h=no |
4339 | fi | | 4338 | fi |
4340 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4339 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4341 | fi | | 4340 | fi |
4342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 | | 4341 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
4343 | $as_echo "$ac_cv_header_stdbool_h" >&6; } | | 4342 | $as_echo "$ac_cv_header_stdbool_h" >&6; } |
4344 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" | | 4343 | ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
4345 | if test "x$ac_cv_type__Bool" = x""yes; then : | | 4344 | if test "x$ac_cv_type__Bool" = xyes; then : |
4346 | | | 4345 | |
4347 | cat >>confdefs.h <<_ACEOF | | 4346 | cat >>confdefs.h <<_ACEOF |
4348 | #define HAVE__BOOL 1 | | 4347 | #define HAVE__BOOL 1 |
4349 | _ACEOF | | 4348 | _ACEOF |
4350 | | | 4349 | |
4351 | | | 4350 | |
4352 | fi | | 4351 | fi |
4353 | | | 4352 | |
4354 | if test $ac_cv_header_stdbool_h = yes; then | | 4353 | if test $ac_cv_header_stdbool_h = yes; then |
4355 | | | 4354 | |
4356 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h | | 4355 | $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
4357 | | | 4356 | |
4358 | fi | | 4357 | fi |
| @@ -4361,109 +4360,108 @@ fi | | | @@ -4361,109 +4360,108 @@ fi |
4361 | for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \ | | 4360 | for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \ |
4362 | fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ | | 4361 | fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ |
4363 | machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ | | 4362 | machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ |
4364 | stdarg.h stddef.h stdint.h stdio.h \ | | 4363 | stdarg.h stddef.h stdint.h stdio.h \ |
4365 | stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ | | 4364 | stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ |
4366 | sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \ | | 4365 | sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \ |
4367 | sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \ | | 4366 | sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \ |
4368 | sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \ | | 4367 | sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \ |
4369 | util.h utime.h | | 4368 | util.h utime.h |
4370 | | | 4369 | |
4371 | do : | | 4370 | do : |
4372 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 4371 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4373 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | | 4372 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
4374 | eval as_val=\$$as_ac_Header | | 4373 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4375 | if test "x$as_val" = x""yes; then : | | | |
4376 | cat >>confdefs.h <<_ACEOF | | 4374 | cat >>confdefs.h <<_ACEOF |
4377 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 4375 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4378 | _ACEOF | | 4376 | _ACEOF |
4379 | | | 4377 | |
4380 | fi | | 4378 | fi |
4381 | | | 4379 | |
4382 | done | | 4380 | done |
4383 | | | 4381 | |
4384 | for ac_header in sys/mount.h | | 4382 | for ac_header in sys/mount.h |
4385 | do : | | 4383 | do : |
4386 | ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " | | 4384 | ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " |
4387 | $ac_includes_default | | 4385 | $ac_includes_default |
4388 | #ifdef HAVE_SYS_PARAM_H | | 4386 | #ifdef HAVE_SYS_PARAM_H |
4389 | #include <sys/param.h> | | 4387 | #include <sys/param.h> |
4390 | #endif | | 4388 | #endif |
4391 | | | 4389 | |
4392 | " | | 4390 | " |
4393 | if test "x$ac_cv_header_sys_mount_h" = x""yes; then : | | 4391 | if test "x$ac_cv_header_sys_mount_h" = xyes; then : |
4394 | cat >>confdefs.h <<_ACEOF | | 4392 | cat >>confdefs.h <<_ACEOF |
4395 | #define HAVE_SYS_MOUNT_H 1 | | 4393 | #define HAVE_SYS_MOUNT_H 1 |
4396 | _ACEOF | | 4394 | _ACEOF |
4397 | : | | 4395 | : |
4398 | else | | 4396 | else |
4399 | : | | 4397 | : |
4400 | fi | | 4398 | fi |
4401 | | | 4399 | |
4402 | done | | 4400 | done |
4403 | | | 4401 | |
4404 | | | 4402 | |
4405 | for ac_header in glob.h | | 4403 | for ac_header in glob.h |
4406 | do : | | 4404 | do : |
4407 | ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" | | 4405 | ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" |
4408 | if test "x$ac_cv_header_glob_h" = x""yes; then : | | 4406 | if test "x$ac_cv_header_glob_h" = xyes; then : |
4409 | cat >>confdefs.h <<_ACEOF | | 4407 | cat >>confdefs.h <<_ACEOF |
4410 | #define HAVE_GLOB_H 1 | | 4408 | #define HAVE_GLOB_H 1 |
4411 | _ACEOF | | 4409 | _ACEOF |
4412 | | | 4410 | |
4413 | fi | | 4411 | fi |
4414 | | | 4412 | |
4415 | done | | 4413 | done |
4416 | | | 4414 | |
4417 | $as_echo "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h | | 4415 | $as_echo "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h |
4418 | | | 4416 | |
4419 | | | 4417 | |
4420 | case " $LIBOBJS " in | | 4418 | case " $LIBOBJS " in |
4421 | *" glob.$ac_objext "* ) ;; | | 4419 | *" glob.$ac_objext "* ) ;; |
4422 | *) LIBOBJS="$LIBOBJS glob.$ac_objext" | | 4420 | *) LIBOBJS="$LIBOBJS glob.$ac_objext" |
4423 | ;; | | 4421 | ;; |
4424 | esac | | 4422 | esac |
4425 | | | 4423 | |
4426 | | | 4424 | |
4427 | for ac_header in sys/queue.h | | 4425 | for ac_header in sys/queue.h |
4428 | do : | | 4426 | do : |
4429 | ac_fn_c_check_header_mongrel "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default" | | 4427 | ac_fn_c_check_header_mongrel "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default" |
4430 | if test "x$ac_cv_header_sys_queue_h" = x""yes; then : | | 4428 | if test "x$ac_cv_header_sys_queue_h" = xyes; then : |
4431 | cat >>confdefs.h <<_ACEOF | | 4429 | cat >>confdefs.h <<_ACEOF |
4432 | #define HAVE_SYS_QUEUE_H 1 | | 4430 | #define HAVE_SYS_QUEUE_H 1 |
4433 | _ACEOF | | 4431 | _ACEOF |
4434 | | | 4432 | |
4435 | fi | | 4433 | fi |
4436 | | | 4434 | |
4437 | done | | 4435 | done |
4438 | | | 4436 | |
4439 | $as_echo "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h | | 4437 | $as_echo "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h |
4440 | | | 4438 | |
4441 | | | 4439 | |
4442 | | | 4440 | |
4443 | for ac_header in regex.h | | 4441 | for ac_header in regex.h |
4444 | do : | | 4442 | do : |
4445 | ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" | | 4443 | ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" |
4446 | if test "x$ac_cv_header_regex_h" = x""yes; then : | | 4444 | if test "x$ac_cv_header_regex_h" = xyes; then : |
4447 | cat >>confdefs.h <<_ACEOF | | 4445 | cat >>confdefs.h <<_ACEOF |
4448 | #define HAVE_REGEX_H 1 | | 4446 | #define HAVE_REGEX_H 1 |
4449 | _ACEOF | | 4447 | _ACEOF |
4450 | | | 4448 | |
4451 | fi | | 4449 | fi |
4452 | | | 4450 | |
4453 | done | | 4451 | done |
4454 | | | 4452 | |
4455 | ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" | | 4453 | ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" |
4456 | if test "x$ac_cv_func_regexec" = x""yes; then : | | 4454 | if test "x$ac_cv_func_regexec" = xyes; then : |
4457 | : | | 4455 | : |
4458 | else | | 4456 | else |
4459 | | | 4457 | |
4460 | $as_echo "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h | | 4458 | $as_echo "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h |
4461 | | | 4459 | |
4462 | | | 4460 | |
4463 | case " $LIBOBJS " in | | 4461 | case " $LIBOBJS " in |
4464 | *" regcomp.$ac_objext "* ) ;; | | 4462 | *" regcomp.$ac_objext "* ) ;; |
4465 | *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" | | 4463 | *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" |
4466 | ;; | | 4464 | ;; |
4467 | esac | | 4465 | esac |
4468 | | | 4466 | |
4469 | case " $LIBOBJS " in | | 4467 | case " $LIBOBJS " in |
| @@ -4481,35 +4479,35 @@ esac | | | @@ -4481,35 +4479,35 @@ esac |
4481 | case " $LIBOBJS " in | | 4479 | case " $LIBOBJS " in |
4482 | *" regfree.$ac_objext "* ) ;; | | 4480 | *" regfree.$ac_objext "* ) ;; |
4483 | *) LIBOBJS="$LIBOBJS regfree.$ac_objext" | | 4481 | *) LIBOBJS="$LIBOBJS regfree.$ac_objext" |
4484 | ;; | | 4482 | ;; |
4485 | esac | | 4483 | esac |
4486 | | | 4484 | |
4487 | | | 4485 | |
4488 | fi | | 4486 | fi |
4489 | | | 4487 | |
4490 | | | 4488 | |
4491 | for ac_header in md5.h | | 4489 | for ac_header in md5.h |
4492 | do : | | 4490 | do : |
4493 | ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" | | 4491 | ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" |
4494 | if test "x$ac_cv_header_md5_h" = x""yes; then : | | 4492 | if test "x$ac_cv_header_md5_h" = xyes; then : |
4495 | cat >>confdefs.h <<_ACEOF | | 4493 | cat >>confdefs.h <<_ACEOF |
4496 | #define HAVE_MD5_H 1 | | 4494 | #define HAVE_MD5_H 1 |
4497 | _ACEOF | | 4495 | _ACEOF |
4498 | | | 4496 | |
4499 | | | 4497 | |
4500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5 | | 4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5 |
4501 | $as_echo_n "checking for MD5Init in md5.h... " >&6; } | | 4499 | $as_echo_n "checking for MD5Init in md5.h... " >&6; } |
4502 | if test "${pkg_cv_have_md5init+set}" = set; then : | | 4500 | if ${pkg_cv_have_md5init+:} false; then : |
4503 | $as_echo_n "(cached) " >&6 | | 4501 | $as_echo_n "(cached) " >&6 |
4504 | else | | 4502 | else |
4505 | | | 4503 | |
4506 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4507 | /* end confdefs.h. */ | | 4505 | /* end confdefs.h. */ |
4508 | | | 4506 | |
4509 | #include <sys/types.h> | | 4507 | #include <sys/types.h> |
4510 | #include <md5.h> | | 4508 | #include <md5.h> |
4511 | | | 4509 | |
4512 | int | | 4510 | int |
4513 | main () | | 4511 | main () |
4514 | { | | 4512 | { |
4515 | | | 4513 | |
| @@ -4541,108 +4539,107 @@ $as_echo "$pkg_cv_have_md5init" >&6; } | | | @@ -4541,108 +4539,107 @@ $as_echo "$pkg_cv_have_md5init" >&6; } |
4541 | : | | 4539 | : |
4542 | fi | | 4540 | fi |
4543 | | | 4541 | |
4544 | | | 4542 | |
4545 | fi | | 4543 | fi |
4546 | | | 4544 | |
4547 | done | | 4545 | done |
4548 | | | 4546 | |
4549 | | | 4547 | |
4550 | for ac_header in md5.h rmd160.h sha1.h sha2.h | | 4548 | for ac_header in md5.h rmd160.h sha1.h sha2.h |
4551 | do : | | 4549 | do : |
4552 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 4550 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4553 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | | 4551 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
4554 | eval as_val=\$$as_ac_Header | | 4552 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4555 | if test "x$as_val" = x""yes; then : | | | |
4556 | cat >>confdefs.h <<_ACEOF | | 4553 | cat >>confdefs.h <<_ACEOF |
4557 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 4554 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4558 | _ACEOF | | 4555 | _ACEOF |
4559 | | | 4556 | |
4560 | fi | | 4557 | fi |
4561 | | | 4558 | |
4562 | done | | 4559 | done |
4563 | | | 4560 | |
4564 | ac_fn_c_check_func "$LINENO" "MD5File" "ac_cv_func_MD5File" | | 4561 | ac_fn_c_check_func "$LINENO" "MD5File" "ac_cv_func_MD5File" |
4565 | if test "x$ac_cv_func_MD5File" = x""yes; then : | | 4562 | if test "x$ac_cv_func_MD5File" = xyes; then : |
4566 | : | | 4563 | : |
4567 | else | | 4564 | else |
4568 | | | 4565 | |
4569 | $as_echo "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h | | 4566 | $as_echo "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h |
4570 | | | 4567 | |
4571 | | | 4568 | |
4572 | case " $LIBOBJS " in | | 4569 | case " $LIBOBJS " in |
4573 | *" md5c.$ac_objext "* ) ;; | | 4570 | *" md5c.$ac_objext "* ) ;; |
4574 | *) LIBOBJS="$LIBOBJS md5c.$ac_objext" | | 4571 | *) LIBOBJS="$LIBOBJS md5c.$ac_objext" |
4575 | ;; | | 4572 | ;; |
4576 | esac | | 4573 | esac |
4577 | | | 4574 | |
4578 | case " $LIBOBJS " in | | 4575 | case " $LIBOBJS " in |
4579 | *" md5hl.$ac_objext "* ) ;; | | 4576 | *" md5hl.$ac_objext "* ) ;; |
4580 | *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" | | 4577 | *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" |
4581 | ;; | | 4578 | ;; |
4582 | esac | | 4579 | esac |
4583 | | | 4580 | |
4584 | | | 4581 | |
4585 | fi | | 4582 | fi |
4586 | | | 4583 | |
4587 | ac_fn_c_check_func "$LINENO" "RMD160File" "ac_cv_func_RMD160File" | | 4584 | ac_fn_c_check_func "$LINENO" "RMD160File" "ac_cv_func_RMD160File" |
4588 | if test "x$ac_cv_func_RMD160File" = x""yes; then : | | 4585 | if test "x$ac_cv_func_RMD160File" = xyes; then : |
4589 | : | | 4586 | : |
4590 | else | | 4587 | else |
4591 | | | 4588 | |
4592 | $as_echo "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h | | 4589 | $as_echo "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h |
4593 | | | 4590 | |
4594 | | | 4591 | |
4595 | case " $LIBOBJS " in | | 4592 | case " $LIBOBJS " in |
4596 | *" rmd160.$ac_objext "* ) ;; | | 4593 | *" rmd160.$ac_objext "* ) ;; |
4597 | *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" | | 4594 | *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" |
4598 | ;; | | 4595 | ;; |
4599 | esac | | 4596 | esac |
4600 | | | 4597 | |
4601 | case " $LIBOBJS " in | | 4598 | case " $LIBOBJS " in |
4602 | *" rmd160hl.$ac_objext "* ) ;; | | 4599 | *" rmd160hl.$ac_objext "* ) ;; |
4603 | *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" | | 4600 | *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" |
4604 | ;; | | 4601 | ;; |
4605 | esac | | 4602 | esac |
4606 | | | 4603 | |
4607 | | | 4604 | |
4608 | fi | | 4605 | fi |
4609 | | | 4606 | |
4610 | ac_fn_c_check_func "$LINENO" "SHA1File" "ac_cv_func_SHA1File" | | 4607 | ac_fn_c_check_func "$LINENO" "SHA1File" "ac_cv_func_SHA1File" |
4611 | if test "x$ac_cv_func_SHA1File" = x""yes; then : | | 4608 | if test "x$ac_cv_func_SHA1File" = xyes; then : |
4612 | : | | 4609 | : |
4613 | else | | 4610 | else |
4614 | | | 4611 | |
4615 | $as_echo "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h | | 4612 | $as_echo "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h |
4616 | | | 4613 | |
4617 | | | 4614 | |
4618 | case " $LIBOBJS " in | | 4615 | case " $LIBOBJS " in |
4619 | *" sha1.$ac_objext "* ) ;; | | 4616 | *" sha1.$ac_objext "* ) ;; |
4620 | *) LIBOBJS="$LIBOBJS sha1.$ac_objext" | | 4617 | *) LIBOBJS="$LIBOBJS sha1.$ac_objext" |
4621 | ;; | | 4618 | ;; |
4622 | esac | | 4619 | esac |
4623 | | | 4620 | |
4624 | case " $LIBOBJS " in | | 4621 | case " $LIBOBJS " in |
4625 | *" sha1hl.$ac_objext "* ) ;; | | 4622 | *" sha1hl.$ac_objext "* ) ;; |
4626 | *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" | | 4623 | *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" |
4627 | ;; | | 4624 | ;; |
4628 | esac | | 4625 | esac |
4629 | | | 4626 | |
4630 | | | 4627 | |
4631 | fi | | 4628 | fi |
4632 | | | 4629 | |
4633 | | | 4630 | |
4634 | ac_fn_c_check_func "$LINENO" "SHA512_File" "ac_cv_func_SHA512_File" | | 4631 | ac_fn_c_check_func "$LINENO" "SHA512_File" "ac_cv_func_SHA512_File" |
4635 | if test "x$ac_cv_func_SHA512_File" = x""yes; then : | | 4632 | if test "x$ac_cv_func_SHA512_File" = xyes; then : |
4636 | : | | 4633 | : |
4637 | else | | 4634 | else |
4638 | | | 4635 | |
4639 | $as_echo "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h | | 4636 | $as_echo "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h |
4640 | | | 4637 | |
4641 | | | 4638 | |
4642 | case " $LIBOBJS " in | | 4639 | case " $LIBOBJS " in |
4643 | *" sha2.$ac_objext "* ) ;; | | 4640 | *" sha2.$ac_objext "* ) ;; |
4644 | *) LIBOBJS="$LIBOBJS sha2.$ac_objext" | | 4641 | *) LIBOBJS="$LIBOBJS sha2.$ac_objext" |
4645 | ;; | | 4642 | ;; |
4646 | esac | | 4643 | esac |
4647 | | | 4644 | |
4648 | case " $LIBOBJS " in | | 4645 | case " $LIBOBJS " in |
| @@ -4666,166 +4663,168 @@ case $host in | | | @@ -4666,166 +4663,168 @@ case $host in |
4666 | ;; | | 4663 | ;; |
4667 | esac | | 4664 | esac |
4668 | | | 4665 | |
4669 | # Check whether --enable-db was given. | | 4666 | # Check whether --enable-db was given. |
4670 | if test "${enable_db+set}" = set; then : | | 4667 | if test "${enable_db+set}" = set; then : |
4671 | enableval=$enable_db; | | 4668 | enableval=$enable_db; |
4672 | fi | | 4669 | fi |
4673 | | | 4670 | |
4674 | WITH_DB=$enable_db | | 4671 | WITH_DB=$enable_db |
4675 | | | 4672 | |
4676 | for ac_func in issetugid | | 4673 | for ac_func in issetugid |
4677 | do : | | 4674 | do : |
4678 | ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" | | 4675 | ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" |
4679 | if test "x$ac_cv_func_issetugid" = x""yes; then : | | 4676 | if test "x$ac_cv_func_issetugid" = xyes; then : |
4680 | cat >>confdefs.h <<_ACEOF | | 4677 | cat >>confdefs.h <<_ACEOF |
4681 | #define HAVE_ISSETUGID 1 | | 4678 | #define HAVE_ISSETUGID 1 |
4682 | _ACEOF | | 4679 | _ACEOF |
4683 | | | 4680 | |
4684 | fi | | 4681 | fi |
4685 | done | | 4682 | done |
4686 | | | 4683 | |
4687 | | | 4684 | |
4688 | # Check whether --enable-bsd-getopt was given. | | 4685 | # Check whether --enable-bsd-getopt was given. |
4689 | if test "${enable_bsd_getopt+set}" = set; then : | | 4686 | if test "${enable_bsd_getopt+set}" = set; then : |
4690 | enableval=$enable_bsd_getopt; | | 4687 | enableval=$enable_bsd_getopt; |
4691 | fi | | 4688 | fi |
4692 | | | 4689 | |
4693 | | | 4690 | |
4694 | ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" " | | 4691 | ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" " |
4695 | #include <stdio.h> | | 4692 | #include <stdio.h> |
4696 | #include <stdlib.h> | | 4693 | #include <stdlib.h> |
4697 | #include <unistd.h> | | 4694 | #include <unistd.h> |
4698 | | | 4695 | |
4699 | " | | 4696 | " |
4700 | if test "x$ac_cv_have_decl_optarg" = x""yes; then : | | 4697 | if test "x$ac_cv_have_decl_optarg" = xyes; then : |
4701 | ac_have_decl=1 | | 4698 | ac_have_decl=1 |
4702 | else | | 4699 | else |
4703 | ac_have_decl=0 | | 4700 | ac_have_decl=0 |
4704 | fi | | 4701 | fi |
4705 | | | 4702 | |
4706 | cat >>confdefs.h <<_ACEOF | | 4703 | cat >>confdefs.h <<_ACEOF |
4707 | #define HAVE_DECL_OPTARG $ac_have_decl | | 4704 | #define HAVE_DECL_OPTARG $ac_have_decl |
4708 | _ACEOF | | 4705 | _ACEOF |
4709 | if test $ac_have_decl = 1; then : | | 4706 | if test $ac_have_decl = 1; then : |
4710 | : | | 4707 | : |
4711 | else | | 4708 | else |
4712 | : | | 4709 | : |
4713 | fi | | 4710 | fi |
4714 | ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " | | 4711 | ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " |
4715 | #include <stdio.h> | | 4712 | #include <stdio.h> |
4716 | #include <stdlib.h> | | 4713 | #include <stdlib.h> |
4717 | #include <unistd.h> | | 4714 | #include <unistd.h> |
4718 | | | 4715 | |
4719 | " | | 4716 | " |
4720 | if test "x$ac_cv_have_decl_optind" = x""yes; then : | | 4717 | if test "x$ac_cv_have_decl_optind" = xyes; then : |
4721 | ac_have_decl=1 | | 4718 | ac_have_decl=1 |
4722 | else | | 4719 | else |
4723 | ac_have_decl=0 | | 4720 | ac_have_decl=0 |
4724 | fi | | 4721 | fi |
4725 | | | 4722 | |
4726 | cat >>confdefs.h <<_ACEOF | | 4723 | cat >>confdefs.h <<_ACEOF |
4727 | #define HAVE_DECL_OPTIND $ac_have_decl | | 4724 | #define HAVE_DECL_OPTIND $ac_have_decl |
4728 | _ACEOF | | 4725 | _ACEOF |
4729 | if test $ac_have_decl = 1; then : | | 4726 | if test $ac_have_decl = 1; then : |
4730 | : | | 4727 | : |
4731 | else | | 4728 | else |
4732 | : | | 4729 | : |
4733 | fi | | 4730 | fi |
4734 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " | | 4731 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " |
4735 | #include <stdio.h> | | 4732 | #include <stdio.h> |
4736 | #include <stdlib.h> | | 4733 | #include <stdlib.h> |
4737 | #include <unistd.h> | | 4734 | #include <unistd.h> |
4738 | | | 4735 | |
4739 | " | | 4736 | " |
4740 | if test "x$ac_cv_have_decl_optreset" = x""yes; then : | | 4737 | if test "x$ac_cv_have_decl_optreset" = xyes; then : |
4741 | ac_have_decl=1 | | 4738 | ac_have_decl=1 |
4742 | else | | 4739 | else |
4743 | ac_have_decl=0 | | 4740 | ac_have_decl=0 |
4744 | fi | | 4741 | fi |
4745 | | | 4742 | |
4746 | cat >>confdefs.h <<_ACEOF | | 4743 | cat >>confdefs.h <<_ACEOF |
4747 | #define HAVE_DECL_OPTRESET $ac_have_decl | | 4744 | #define HAVE_DECL_OPTRESET $ac_have_decl |
4748 | _ACEOF | | 4745 | _ACEOF |
4749 | if test $ac_have_decl = 1; then : | | 4746 | if test $ac_have_decl = 1; then : |
4750 | : | | 4747 | : |
4751 | else | | 4748 | else |
4752 | : | | 4749 | : |
4753 | fi | | 4750 | fi |
4754 | | | 4751 | |
4755 | | | 4752 | |
4756 | | | 4753 | our_getopt_long=no |
4757 | for ac_header in getopt.h | | 4754 | for ac_header in getopt.h |
4758 | do : | | 4755 | do : |
4759 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | | 4756 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
4760 | if test "x$ac_cv_header_getopt_h" = x""yes; then : | | 4757 | if test "x$ac_cv_header_getopt_h" = xyes; then : |
4761 | cat >>confdefs.h <<_ACEOF | | 4758 | cat >>confdefs.h <<_ACEOF |
4762 | #define HAVE_GETOPT_H 1 | | 4759 | #define HAVE_GETOPT_H 1 |
4763 | _ACEOF | | 4760 | _ACEOF |
4764 | ac_fn_c_check_type "$LINENO" "struct option" "ac_cv_type_struct_option" "#include <getopt.h> | | 4761 | ac_fn_c_check_type "$LINENO" "struct option" "ac_cv_type_struct_option" "#include <getopt.h> |
4765 | " | | 4762 | " |
4766 | if test "x$ac_cv_type_struct_option" = x""yes; then : | | 4763 | if test "x$ac_cv_type_struct_option" = xyes; then : |
4767 | | | 4764 | |
4768 | cat >>confdefs.h <<_ACEOF | | 4765 | cat >>confdefs.h <<_ACEOF |
4769 | #define HAVE_STRUCT_OPTION 1 | | 4766 | #define HAVE_STRUCT_OPTION 1 |
4770 | _ACEOF | | 4767 | _ACEOF |
4771 | | | 4768 | |
4772 | : | | 4769 | : |
4773 | else | | 4770 | else |
4774 | case " $LIBOBJS " in | | 4771 | our_getopt_long=yes |
4775 | *" getopt_long.$ac_objext "* ) ;; | | | |
4776 | *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" | | | |
4777 | ;; | | | |
4778 | esac | | | |
4779 | | | | |
4780 | fi | | 4772 | fi |
4781 | | | 4773 | |
4782 | else | | 4774 | else |
4783 | case " $LIBOBJS " in | | 4775 | our_getopt_long=yes |
4784 | *" getopt_long.$ac_objext "* ) ;; | | | |
4785 | *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" | | | |
4786 | ;; | | | |
4787 | esac | | | |
4788 | | | | |
4789 | | | 4776 | |
4790 | fi | | 4777 | fi |
4791 | | | 4778 | |
4792 | done | | 4779 | done |
4793 | | | 4780 | |
4794 | | | 4781 | |
4795 | if test "$enable_bsd_getopt" = yes; then | | 4782 | if test "$enable_bsd_getopt" = yes; then |
4796 | if test "$ac_cv_have_decl_optreset" = no; then | | 4783 | if test "$ac_cv_have_decl_optreset" = no; then |
| | | 4784 | { $as_echo "$as_me:${as_lineno-$LINENO}: Using included getopt and getopt_long" >&5 |
| | | 4785 | $as_echo "$as_me: Using included getopt and getopt_long" >&6;} |
4797 | case " $LIBOBJS " in | | 4786 | case " $LIBOBJS " in |
4798 | *" getopt.$ac_objext "* ) ;; | | 4787 | *" getopt.$ac_objext "* ) ;; |
4799 | *) LIBOBJS="$LIBOBJS getopt.$ac_objext" | | 4788 | *) LIBOBJS="$LIBOBJS getopt.$ac_objext" |
4800 | ;; | | 4789 | ;; |
4801 | esac | | 4790 | esac |
4802 | | | 4791 | |
| | | 4792 | our_getopt_long=yes |
4803 | fi | | 4793 | fi |
4804 | fi | | 4794 | fi |
4805 | | | 4795 | |
| | | 4796 | if test "$our_getopt_long" = "yes"; then |
| | | 4797 | case " $LIBOBJS " in |
| | | 4798 | *" getopt_long.$ac_objext "* ) ;; |
| | | 4799 | *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" |
| | | 4800 | ;; |
| | | 4801 | esac |
| | | 4802 | |
| | | 4803 | fi |
| | | 4804 | |
4806 | pkg_use_nbcompat_vis=yes | | 4805 | pkg_use_nbcompat_vis=yes |
4807 | for ac_header in vis.h | | 4806 | for ac_header in vis.h |
4808 | do : | | 4807 | do : |
4809 | ac_fn_c_check_header_mongrel "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default" | | 4808 | ac_fn_c_check_header_mongrel "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default" |
4810 | if test "x$ac_cv_header_vis_h" = x""yes; then : | | 4809 | if test "x$ac_cv_header_vis_h" = xyes; then : |
4811 | cat >>confdefs.h <<_ACEOF | | 4810 | cat >>confdefs.h <<_ACEOF |
4812 | #define HAVE_VIS_H 1 | | 4811 | #define HAVE_VIS_H 1 |
4813 | _ACEOF | | 4812 | _ACEOF |
4814 | | | 4813 | |
4815 | | | 4814 | |
4816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5 | | 4815 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5 |
4817 | $as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } | | 4816 | $as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } |
4818 | if test "${pkg_cv_have_vis_white+set}" = set; then : | | 4817 | if ${pkg_cv_have_vis_white+:} false; then : |
4819 | $as_echo_n "(cached) " >&6 | | 4818 | $as_echo_n "(cached) " >&6 |
4820 | else | | 4819 | else |
4821 | | | 4820 | |
4822 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4823 | /* end confdefs.h. */ | | 4822 | /* end confdefs.h. */ |
4824 | | | 4823 | |
4825 | #include <sys/types.h> | | 4824 | #include <sys/types.h> |
4826 | #include <vis.h> | | 4825 | #include <vis.h> |
4827 | | | 4826 | |
4828 | int | | 4827 | int |
4829 | main () | | 4828 | main () |
4830 | { | | 4829 | { |
4831 | int X = VIS_WHITE; ; | | 4830 | int X = VIS_WHITE; ; |
| @@ -4839,41 +4838,39 @@ else | | | @@ -4839,41 +4838,39 @@ else |
4839 | pkg_cv_have_vis_white=no | | 4838 | pkg_cv_have_vis_white=no |
4840 | fi | | 4839 | fi |
4841 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4840 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4842 | | | 4841 | |
4843 | fi | | 4842 | fi |
4844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5 | | 4843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5 |
4845 | $as_echo "$pkg_cv_have_vis_white" >&6; } | | 4844 | $as_echo "$pkg_cv_have_vis_white" >&6; } |
4846 | if test "x$pkg_cv_have_vis_white" = "xyes"; then | | 4845 | if test "x$pkg_cv_have_vis_white" = "xyes"; then |
4847 | | | 4846 | |
4848 | for ac_func in strunvis strvis strsvis svis unvis vis | | 4847 | for ac_func in strunvis strvis strsvis svis unvis vis |
4849 | do : | | 4848 | do : |
4850 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 4849 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4851 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 4850 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
4852 | eval as_val=\$$as_ac_var | | 4851 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
4853 | if test "x$as_val" = x""yes; then : | | | |
4854 | cat >>confdefs.h <<_ACEOF | | 4852 | cat >>confdefs.h <<_ACEOF |
4855 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 4853 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4856 | _ACEOF | | 4854 | _ACEOF |
4857 | | | 4855 | |
4858 | fi | | 4856 | fi |
4859 | done | | 4857 | done |
4860 | | | 4858 | |
4861 | for ac_func in strunvis strvis strsvis svis unvis vis | | 4859 | for ac_func in strunvis strvis strsvis svis unvis vis |
4862 | do : | | 4860 | do : |
4863 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 4861 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4864 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 4862 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
4865 | eval as_val=\$$as_ac_var | | 4863 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
4866 | if test "x$as_val" = x""yes; then : | | | |
4867 | cat >>confdefs.h <<_ACEOF | | 4864 | cat >>confdefs.h <<_ACEOF |
4868 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 4865 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4869 | _ACEOF | | 4866 | _ACEOF |
4870 | pkg_use_nbcompat_vis=no | | 4867 | pkg_use_nbcompat_vis=no |
4871 | else | | 4868 | else |
4872 | pkg_use_nbcompat_vis=yes; break | | 4869 | pkg_use_nbcompat_vis=yes; break |
4873 | fi | | 4870 | fi |
4874 | done | | 4871 | done |
4875 | | | 4872 | |
4876 | | | 4873 | |
4877 | else | | 4874 | else |
4878 | | | 4875 | |
4879 | : | | 4876 | : |
| @@ -4896,27 +4893,27 @@ if test $pkg_use_nbcompat_vis = yes; the | | | @@ -4896,27 +4893,27 @@ if test $pkg_use_nbcompat_vis = yes; the |
4896 | esac | | 4893 | esac |
4897 | | | 4894 | |
4898 | case " $LIBOBJS " in | | 4895 | case " $LIBOBJS " in |
4899 | *" unvis.$ac_objext "* ) ;; | | 4896 | *" unvis.$ac_objext "* ) ;; |
4900 | *) LIBOBJS="$LIBOBJS unvis.$ac_objext" | | 4897 | *) LIBOBJS="$LIBOBJS unvis.$ac_objext" |
4901 | ;; | | 4898 | ;; |
4902 | esac | | 4899 | esac |
4903 | | | 4900 | |
4904 | fi | | 4901 | fi |
4905 | | | 4902 | |
4906 | | | 4903 | |
4907 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 | | 4904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 |
4908 | $as_echo_n "checking for __attribute__... " >&6; } | | 4905 | $as_echo_n "checking for __attribute__... " >&6; } |
4909 | if test "${ac_cv___attribute__+set}" = set; then : | | 4906 | if ${ac_cv___attribute__+:} false; then : |
4910 | $as_echo_n "(cached) " >&6 | | 4907 | $as_echo_n "(cached) " >&6 |
4911 | else | | 4908 | else |
4912 | | | 4909 | |
4913 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4914 | /* end confdefs.h. */ | | 4911 | /* end confdefs.h. */ |
4915 | #include <stdlib.h> | | 4912 | #include <stdlib.h> |
4916 | static void foo(void) __attribute__ ((noreturn)); | | 4913 | static void foo(void) __attribute__ ((noreturn)); |
4917 | | | 4914 | |
4918 | static void | | 4915 | static void |
4919 | foo(void) | | 4916 | foo(void) |
4920 | { | | 4917 | { |
4921 | exit(1); | | 4918 | exit(1); |
4922 | } | | 4919 | } |
| @@ -4929,39 +4926,39 @@ else | | | @@ -4929,39 +4926,39 @@ else |
4929 | fi | | 4926 | fi |
4930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 4927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4931 | fi | | 4928 | fi |
4932 | | | 4929 | |
4933 | if test "$ac_cv___attribute__" = "yes"; then | | 4930 | if test "$ac_cv___attribute__" = "yes"; then |
4934 | | | 4931 | |
4935 | $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h | | 4932 | $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h |
4936 | | | 4933 | |
4937 | fi | | 4934 | fi |
4938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 | | 4935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 |
4939 | $as_echo "$ac_cv___attribute__" >&6; } | | 4936 | $as_echo "$ac_cv___attribute__" >&6; } |
4940 | | | 4937 | |
4941 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | | 4938 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
4942 | if test "x$ac_cv_type_size_t" = x""yes; then : | | 4939 | if test "x$ac_cv_type_size_t" = xyes; then : |
4943 | | | 4940 | |
4944 | else | | 4941 | else |
4945 | | | 4942 | |
4946 | cat >>confdefs.h <<_ACEOF | | 4943 | cat >>confdefs.h <<_ACEOF |
4947 | #define size_t unsigned int | | 4944 | #define size_t unsigned int |
4948 | _ACEOF | | 4945 | _ACEOF |
4949 | | | 4946 | |
4950 | fi | | 4947 | fi |
4951 | | | 4948 | |
4952 | | | 4949 | |
4953 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" | | 4950 | ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" |
4954 | if test "x$ac_cv_type_uintptr_t" = x""yes; then : | | 4951 | if test "x$ac_cv_type_uintptr_t" = xyes; then : |
4955 | | | 4952 | |
4956 | $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h | | 4953 | $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h |
4957 | | | 4954 | |
4958 | else | | 4955 | else |
4959 | for ac_type in 'unsigned int' 'unsigned long int' \ | | 4956 | for ac_type in 'unsigned int' 'unsigned long int' \ |
4960 | 'unsigned long long int'; do | | 4957 | 'unsigned long long int'; do |
4961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 4958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4962 | /* end confdefs.h. */ | | 4959 | /* end confdefs.h. */ |
4963 | $ac_includes_default | | 4960 | $ac_includes_default |
4964 | int | | 4961 | int |
4965 | main () | | 4962 | main () |
4966 | { | | 4963 | { |
4967 | static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; | | 4964 | static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; |
| @@ -5087,82 +5084,82 @@ ac_fn_c_check_type "$LINENO" "long long" | | | @@ -5087,82 +5084,82 @@ ac_fn_c_check_type "$LINENO" "long long" |
5087 | #include <stdlib.h> | | 5084 | #include <stdlib.h> |
5088 | #include <stddef.h> | | 5085 | #include <stddef.h> |
5089 | #endif | | 5086 | #endif |
5090 | #if HAVE_INTTYPES_H | | 5087 | #if HAVE_INTTYPES_H |
5091 | #include <inttypes.h> | | 5088 | #include <inttypes.h> |
5092 | #endif | | 5089 | #endif |
5093 | #if HAVE_SYS_TYPES_H | | 5090 | #if HAVE_SYS_TYPES_H |
5094 | #include <sys/types.h> | | 5091 | #include <sys/types.h> |
5095 | #endif | | 5092 | #endif |
5096 | #if HAVE_SYS_BITYPES_H | | 5093 | #if HAVE_SYS_BITYPES_H |
5097 | #include <sys/bitypes.h> | | 5094 | #include <sys/bitypes.h> |
5098 | #endif | | 5095 | #endif |
5099 | " | | 5096 | " |
5100 | if test "x$ac_cv_type_long_long" = x""yes; then : | | 5097 | if test "x$ac_cv_type_long_long" = xyes; then : |
5101 | | | 5098 | |
5102 | cat >>confdefs.h <<_ACEOF | | 5099 | cat >>confdefs.h <<_ACEOF |
5103 | #define HAVE_LONG_LONG 1 | | 5100 | #define HAVE_LONG_LONG 1 |
5104 | _ACEOF | | 5101 | _ACEOF |
5105 | | | 5102 | |
5106 | | | 5103 | |
5107 | fi | | 5104 | fi |
5108 | ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "#if STDC_HEADERS | | 5105 | ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "#if STDC_HEADERS |
5109 | #include <stdlib.h> | | 5106 | #include <stdlib.h> |
5110 | #include <stddef.h> | | 5107 | #include <stddef.h> |
5111 | #endif | | 5108 | #endif |
5112 | #if HAVE_INTTYPES_H | | 5109 | #if HAVE_INTTYPES_H |
5113 | #include <inttypes.h> | | 5110 | #include <inttypes.h> |
5114 | #endif | | 5111 | #endif |
5115 | #if HAVE_SYS_TYPES_H | | 5112 | #if HAVE_SYS_TYPES_H |
5116 | #include <sys/types.h> | | 5113 | #include <sys/types.h> |
5117 | #endif | | 5114 | #endif |
5118 | #if HAVE_SYS_BITYPES_H | | 5115 | #if HAVE_SYS_BITYPES_H |
5119 | #include <sys/bitypes.h> | | 5116 | #include <sys/bitypes.h> |
5120 | #endif | | 5117 | #endif |
5121 | " | | 5118 | " |
5122 | if test "x$ac_cv_type_long_double" = x""yes; then : | | 5119 | if test "x$ac_cv_type_long_double" = xyes; then : |
5123 | | | 5120 | |
5124 | cat >>confdefs.h <<_ACEOF | | 5121 | cat >>confdefs.h <<_ACEOF |
5125 | #define HAVE_LONG_DOUBLE 1 | | 5122 | #define HAVE_LONG_DOUBLE 1 |
5126 | _ACEOF | | 5123 | _ACEOF |
5127 | | | 5124 | |
5128 | | | 5125 | |
5129 | fi | | 5126 | fi |
5130 | | | 5127 | |
5131 | ac_fn_c_check_type "$LINENO" "fsid_t" "ac_cv_type_fsid_t" "#if HAVE_SYS_TYPES_H | | 5128 | ac_fn_c_check_type "$LINENO" "fsid_t" "ac_cv_type_fsid_t" "#if HAVE_SYS_TYPES_H |
5132 | #include <sys/types.h> | | 5129 | #include <sys/types.h> |
5133 | #endif | | 5130 | #endif |
5134 | #if HAVE_SYS_PARAM_H | | 5131 | #if HAVE_SYS_PARAM_H |
5135 | #include <sys/param.h> | | 5132 | #include <sys/param.h> |
5136 | #endif | | 5133 | #endif |
5137 | #if HAVE_SYS_MOUNT_H | | 5134 | #if HAVE_SYS_MOUNT_H |
5138 | #include <sys/mount.h> | | 5135 | #include <sys/mount.h> |
5139 | #endif | | 5136 | #endif |
5140 | #if HAVE_SYS_VFS_H | | 5137 | #if HAVE_SYS_VFS_H |
5141 | #include <sys/vfs.h> | | 5138 | #include <sys/vfs.h> |
5142 | #endif | | 5139 | #endif |
5143 | " | | 5140 | " |
5144 | if test "x$ac_cv_type_fsid_t" = x""yes; then : | | 5141 | if test "x$ac_cv_type_fsid_t" = xyes; then : |
5145 | | | 5142 | |
5146 | cat >>confdefs.h <<_ACEOF | | 5143 | cat >>confdefs.h <<_ACEOF |
5147 | #define HAVE_FSID_T 1 | | 5144 | #define HAVE_FSID_T 1 |
5148 | _ACEOF | | 5145 | _ACEOF |
5149 | | | 5146 | |
5150 | | | 5147 | |
5151 | fi | | 5148 | fi |
5152 | | | 5149 | |
5153 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | | 5150 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
5154 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | | 5151 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
5155 | if test "${ac_cv_c_bigendian+set}" = set; then : | | 5152 | if ${ac_cv_c_bigendian+:} false; then : |
5156 | $as_echo_n "(cached) " >&6 | | 5153 | $as_echo_n "(cached) " >&6 |
5157 | else | | 5154 | else |
5158 | ac_cv_c_bigendian=unknown | | 5155 | ac_cv_c_bigendian=unknown |
5159 | # See if we're dealing with a universal compiler. | | 5156 | # See if we're dealing with a universal compiler. |
5160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 5157 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5161 | /* end confdefs.h. */ | | 5158 | /* end confdefs.h. */ |
5162 | #ifndef __APPLE_CC__ | | 5159 | #ifndef __APPLE_CC__ |
5163 | not a universal capable compiler | | 5160 | not a universal capable compiler |
5164 | #endif | | 5161 | #endif |
5165 | typedef int dummy; | | 5162 | typedef int dummy; |
5166 | | | 5163 | |
5167 | _ACEOF | | 5164 | _ACEOF |
5168 | if ac_fn_c_try_compile "$LINENO"; then : | | 5165 | if ac_fn_c_try_compile "$LINENO"; then : |
| @@ -5360,81 +5357,80 @@ fi | | | @@ -5360,81 +5357,80 @@ fi |
5360 | $as_echo "$ac_cv_c_bigendian" >&6; } | | 5357 | $as_echo "$ac_cv_c_bigendian" >&6; } |
5361 | case $ac_cv_c_bigendian in #( | | 5358 | case $ac_cv_c_bigendian in #( |
5362 | yes) | | 5359 | yes) |
5363 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | | 5360 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
5364 | ;; #( | | 5361 | ;; #( |
5365 | no) | | 5362 | no) |
5366 | ;; #( | | 5363 | ;; #( |
5367 | universal) | | 5364 | universal) |
5368 | | | 5365 | |
5369 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | | 5366 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
5370 | | | 5367 | |
5371 | ;; #( | | 5368 | ;; #( |
5372 | *) | | 5369 | *) |
5373 | as_fn_error "unknown endianness | | 5370 | as_fn_error $? "unknown endianness |
5374 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | | 5371 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
5375 | esac | | 5372 | esac |
5376 | | | 5373 | |
5377 | # The cast to long int works around a bug in the HP C Compiler | | 5374 | # The cast to long int works around a bug in the HP C Compiler |
5378 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | | 5375 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
5379 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | | 5376 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
5380 | # This bug is HP SR number 8606223364. | | 5377 | # This bug is HP SR number 8606223364. |
5381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 | | 5378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 |
5382 | $as_echo_n "checking size of off_t... " >&6; } | | 5379 | $as_echo_n "checking size of off_t... " >&6; } |
5383 | if test "${ac_cv_sizeof_off_t+set}" = set; then : | | 5380 | if ${ac_cv_sizeof_off_t+:} false; then : |
5384 | $as_echo_n "(cached) " >&6 | | 5381 | $as_echo_n "(cached) " >&6 |
5385 | else | | 5382 | else |
5386 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : | | 5383 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : |
5387 | | | 5384 | |
5388 | else | | 5385 | else |
5389 | if test "$ac_cv_type_off_t" = yes; then | | 5386 | if test "$ac_cv_type_off_t" = yes; then |
5390 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | | 5387 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5391 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | | 5388 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5392 | { as_fn_set_status 77 | | 5389 | as_fn_error 77 "cannot compute sizeof (off_t) |
5393 | as_fn_error "cannot compute sizeof (off_t) | | 5390 | See \`config.log' for more details" "$LINENO" 5; } |
5394 | See \`config.log' for more details." "$LINENO" 5; }; } | | | |
5395 | else | | 5391 | else |
5396 | ac_cv_sizeof_off_t=0 | | 5392 | ac_cv_sizeof_off_t=0 |
5397 | fi | | 5393 | fi |
5398 | fi | | 5394 | fi |
5399 | | | 5395 | |
5400 | fi | | 5396 | fi |
5401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 | | 5397 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 |
5402 | $as_echo "$ac_cv_sizeof_off_t" >&6; } | | 5398 | $as_echo "$ac_cv_sizeof_off_t" >&6; } |
5403 | | | 5399 | |
5404 | | | 5400 | |
5405 | | | 5401 | |
5406 | cat >>confdefs.h <<_ACEOF | | 5402 | cat >>confdefs.h <<_ACEOF |
5407 | #define SIZEOF_OFF_T $ac_cv_sizeof_off_t | | 5403 | #define SIZEOF_OFF_T $ac_cv_sizeof_off_t |
5408 | _ACEOF | | 5404 | _ACEOF |
5409 | | | 5405 | |
5410 | | | 5406 | |
5411 | | | 5407 | |
5412 | # Checks for library functions. | | 5408 | # Checks for library functions. |
5413 | for ac_header in stdlib.h | | 5409 | for ac_header in stdlib.h |
5414 | do : | | 5410 | do : |
5415 | ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" | | 5411 | ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
5416 | if test "x$ac_cv_header_stdlib_h" = x""yes; then : | | 5412 | if test "x$ac_cv_header_stdlib_h" = xyes; then : |
5417 | cat >>confdefs.h <<_ACEOF | | 5413 | cat >>confdefs.h <<_ACEOF |
5418 | #define HAVE_STDLIB_H 1 | | 5414 | #define HAVE_STDLIB_H 1 |
5419 | _ACEOF | | 5415 | _ACEOF |
5420 | | | 5416 | |
5421 | fi | | 5417 | fi |
5422 | | | 5418 | |
5423 | done | | 5419 | done |
5424 | | | 5420 | |
5425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 | | 5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
5426 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } | | 5422 | $as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
5427 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : | | 5423 | if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
5428 | $as_echo_n "(cached) " >&6 | | 5424 | $as_echo_n "(cached) " >&6 |
5429 | else | | 5425 | else |
5430 | if test "$cross_compiling" = yes; then : | | 5426 | if test "$cross_compiling" = yes; then : |
5431 | ac_cv_func_malloc_0_nonnull=no | | 5427 | ac_cv_func_malloc_0_nonnull=no |
5432 | else | | 5428 | else |
5433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 5429 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5434 | /* end confdefs.h. */ | | 5430 | /* end confdefs.h. */ |
5435 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H | | 5431 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
5436 | # include <stdlib.h> | | 5432 | # include <stdlib.h> |
5437 | #else | | 5433 | #else |
5438 | char *malloc (); | | 5434 | char *malloc (); |
5439 | #endif | | 5435 | #endif |
5440 | | | 5436 | |
| @@ -5468,50 +5464,50 @@ else | | | @@ -5468,50 +5464,50 @@ else |
5468 | case " $LIBOBJS " in | | 5464 | case " $LIBOBJS " in |
5469 | *" malloc.$ac_objext "* ) ;; | | 5465 | *" malloc.$ac_objext "* ) ;; |
5470 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" | | 5466 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
5471 | ;; | | 5467 | ;; |
5472 | esac | | 5468 | esac |
5473 | | | 5469 | |
5474 | | | 5470 | |
5475 | $as_echo "#define malloc rpl_malloc" >>confdefs.h | | 5471 | $as_echo "#define malloc rpl_malloc" >>confdefs.h |
5476 | | | 5472 | |
5477 | fi | | 5473 | fi |
5478 | | | 5474 | |
5479 | | | 5475 | |
5480 | ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" | | 5476 | ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" |
5481 | if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : | | 5477 | if test "x$ac_cv_have_decl_strerror_r" = xyes; then : |
5482 | ac_have_decl=1 | | 5478 | ac_have_decl=1 |
5483 | else | | 5479 | else |
5484 | ac_have_decl=0 | | 5480 | ac_have_decl=0 |
5485 | fi | | 5481 | fi |
5486 | | | 5482 | |
5487 | cat >>confdefs.h <<_ACEOF | | 5483 | cat >>confdefs.h <<_ACEOF |
5488 | #define HAVE_DECL_STRERROR_R $ac_have_decl | | 5484 | #define HAVE_DECL_STRERROR_R $ac_have_decl |
5489 | _ACEOF | | 5485 | _ACEOF |
5490 | | | 5486 | |
5491 | for ac_func in strerror_r | | 5487 | for ac_func in strerror_r |
5492 | do : | | 5488 | do : |
5493 | ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" | | 5489 | ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" |
5494 | if test "x$ac_cv_func_strerror_r" = x""yes; then : | | 5490 | if test "x$ac_cv_func_strerror_r" = xyes; then : |
5495 | cat >>confdefs.h <<_ACEOF | | 5491 | cat >>confdefs.h <<_ACEOF |
5496 | #define HAVE_STRERROR_R 1 | | 5492 | #define HAVE_STRERROR_R 1 |
5497 | _ACEOF | | 5493 | _ACEOF |
5498 | | | 5494 | |
5499 | fi | | 5495 | fi |
5500 | done | | 5496 | done |
5501 | | | 5497 | |
5502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 | | 5498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 |
5503 | $as_echo_n "checking whether strerror_r returns char *... " >&6; } | | 5499 | $as_echo_n "checking whether strerror_r returns char *... " >&6; } |
5504 | if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : | | 5500 | if ${ac_cv_func_strerror_r_char_p+:} false; then : |
5505 | $as_echo_n "(cached) " >&6 | | 5501 | $as_echo_n "(cached) " >&6 |
5506 | else | | 5502 | else |
5507 | | | 5503 | |
5508 | ac_cv_func_strerror_r_char_p=no | | 5504 | ac_cv_func_strerror_r_char_p=no |
5509 | if test $ac_cv_have_decl_strerror_r = yes; then | | 5505 | if test $ac_cv_have_decl_strerror_r = yes; then |
5510 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 5506 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5511 | /* end confdefs.h. */ | | 5507 | /* end confdefs.h. */ |
5512 | $ac_includes_default | | 5508 | $ac_includes_default |
5513 | int | | 5509 | int |
5514 | main () | | 5510 | main () |
5515 | { | | 5511 | { |
5516 | | | 5512 | |
5517 | char buf[100]; | | 5513 | char buf[100]; |
| @@ -5560,65 +5556,64 @@ fi | | | @@ -5560,65 +5556,64 @@ fi |
5560 | | | 5556 | |
5561 | fi | | 5557 | fi |
5562 | | | 5558 | |
5563 | fi | | 5559 | fi |
5564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 | | 5560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 |
5565 | $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } | | 5561 | $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } |
5566 | if test $ac_cv_func_strerror_r_char_p = yes; then | | 5562 | if test $ac_cv_func_strerror_r_char_p = yes; then |
5567 | | | 5563 | |
5568 | $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h | | 5564 | $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h |
5569 | | | 5565 | |
5570 | fi | | 5566 | fi |
5571 | | | 5567 | |
5572 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | | 5568 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
5573 | if test "x$ac_cv_type_pid_t" = x""yes; then : | | 5569 | if test "x$ac_cv_type_pid_t" = xyes; then : |
5574 | | | 5570 | |
5575 | else | | 5571 | else |
5576 | | | 5572 | |
5577 | cat >>confdefs.h <<_ACEOF | | 5573 | cat >>confdefs.h <<_ACEOF |
5578 | #define pid_t int | | 5574 | #define pid_t int |
5579 | _ACEOF | | 5575 | _ACEOF |
5580 | | | 5576 | |
5581 | fi | | 5577 | fi |
5582 | | | 5578 | |
5583 | for ac_header in vfork.h | | 5579 | for ac_header in vfork.h |
5584 | do : | | 5580 | do : |
5585 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | | 5581 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
5586 | if test "x$ac_cv_header_vfork_h" = x""yes; then : | | 5582 | if test "x$ac_cv_header_vfork_h" = xyes; then : |
5587 | cat >>confdefs.h <<_ACEOF | | 5583 | cat >>confdefs.h <<_ACEOF |
5588 | #define HAVE_VFORK_H 1 | | 5584 | #define HAVE_VFORK_H 1 |
5589 | _ACEOF | | 5585 | _ACEOF |
5590 | | | 5586 | |
5591 | fi | | 5587 | fi |
5592 | | | 5588 | |
5593 | done | | 5589 | done |
5594 | | | 5590 | |
5595 | for ac_func in fork vfork | | 5591 | for ac_func in fork vfork |
5596 | do : | | 5592 | do : |
5597 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 5593 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5598 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 5594 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
5599 | eval as_val=\$$as_ac_var | | 5595 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
5600 | if test "x$as_val" = x""yes; then : | | | |
5601 | cat >>confdefs.h <<_ACEOF | | 5596 | cat >>confdefs.h <<_ACEOF |
5602 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 5597 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5603 | _ACEOF | | 5598 | _ACEOF |
5604 | | | 5599 | |
5605 | fi | | 5600 | fi |
5606 | done | | 5601 | done |
5607 | | | 5602 | |
5608 | if test "x$ac_cv_func_fork" = xyes; then | | 5603 | if test "x$ac_cv_func_fork" = xyes; then |
5609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | | 5604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
5610 | $as_echo_n "checking for working fork... " >&6; } | | 5605 | $as_echo_n "checking for working fork... " >&6; } |
5611 | if test "${ac_cv_func_fork_works+set}" = set; then : | | 5606 | if ${ac_cv_func_fork_works+:} false; then : |
5612 | $as_echo_n "(cached) " >&6 | | 5607 | $as_echo_n "(cached) " >&6 |
5613 | else | | 5608 | else |
5614 | if test "$cross_compiling" = yes; then : | | 5609 | if test "$cross_compiling" = yes; then : |
5615 | ac_cv_func_fork_works=cross | | 5610 | ac_cv_func_fork_works=cross |
5616 | else | | 5611 | else |
5617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 5612 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5618 | /* end confdefs.h. */ | | 5613 | /* end confdefs.h. */ |
5619 | $ac_includes_default | | 5614 | $ac_includes_default |
5620 | int | | 5615 | int |
5621 | main () | | 5616 | main () |
5622 | { | | 5617 | { |
5623 | | | 5618 | |
5624 | /* By Ruediger Kuhlmann. */ | | 5619 | /* By Ruediger Kuhlmann. */ |
| @@ -5651,27 +5646,27 @@ if test "x$ac_cv_func_fork_works" = xcro | | | @@ -5651,27 +5646,27 @@ if test "x$ac_cv_func_fork_works" = xcro |
5651 | ac_cv_func_fork_works=no | | 5646 | ac_cv_func_fork_works=no |
5652 | ;; | | 5647 | ;; |
5653 | *) | | 5648 | *) |
5654 | ac_cv_func_fork_works=yes | | 5649 | ac_cv_func_fork_works=yes |
5655 | ;; | | 5650 | ;; |
5656 | esac | | 5651 | esac |
5657 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | | 5652 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
5658 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | | 5653 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
5659 | fi | | 5654 | fi |
5660 | ac_cv_func_vfork_works=$ac_cv_func_vfork | | 5655 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
5661 | if test "x$ac_cv_func_vfork" = xyes; then | | 5656 | if test "x$ac_cv_func_vfork" = xyes; then |
5662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | | 5657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
5663 | $as_echo_n "checking for working vfork... " >&6; } | | 5658 | $as_echo_n "checking for working vfork... " >&6; } |
5664 | if test "${ac_cv_func_vfork_works+set}" = set; then : | | 5659 | if ${ac_cv_func_vfork_works+:} false; then : |
5665 | $as_echo_n "(cached) " >&6 | | 5660 | $as_echo_n "(cached) " >&6 |
5666 | else | | 5661 | else |
5667 | if test "$cross_compiling" = yes; then : | | 5662 | if test "$cross_compiling" = yes; then : |
5668 | ac_cv_func_vfork_works=cross | | 5663 | ac_cv_func_vfork_works=cross |
5669 | else | | 5664 | else |
5670 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 5665 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5671 | /* end confdefs.h. */ | | 5666 | /* end confdefs.h. */ |
5672 | /* Thanks to Paul Eggert for this test. */ | | 5667 | /* Thanks to Paul Eggert for this test. */ |
5673 | $ac_includes_default | | 5668 | $ac_includes_default |
5674 | #include <sys/wait.h> | | 5669 | #include <sys/wait.h> |
5675 | #ifdef HAVE_VFORK_H | | 5670 | #ifdef HAVE_VFORK_H |
5676 | # include <vfork.h> | | 5671 | # include <vfork.h> |
5677 | #endif | | 5672 | #endif |
| @@ -5787,103 +5782,482 @@ else | | | @@ -5787,103 +5782,482 @@ else |
5787 | | | 5782 | |
5788 | $as_echo "#define vfork fork" >>confdefs.h | | 5783 | $as_echo "#define vfork fork" >>confdefs.h |
5789 | | | 5784 | |
5790 | fi | | 5785 | fi |
5791 | if test "x$ac_cv_func_fork_works" = xyes; then | | 5786 | if test "x$ac_cv_func_fork_works" = xyes; then |
5792 | | | 5787 | |
5793 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | | 5788 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h |
5794 | | | 5789 | |
5795 | fi | | 5790 | fi |
5796 | | | 5791 | |
5797 | for ac_func in vprintf | | 5792 | for ac_func in vprintf |
5798 | do : | | 5793 | do : |
5799 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" | | 5794 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" |
5800 | if test "x$ac_cv_func_vprintf" = x""yes; then : | | 5795 | if test "x$ac_cv_func_vprintf" = xyes; then : |
5801 | cat >>confdefs.h <<_ACEOF | | 5796 | cat >>confdefs.h <<_ACEOF |
5802 | #define HAVE_VPRINTF 1 | | 5797 | #define HAVE_VPRINTF 1 |
5803 | _ACEOF | | 5798 | _ACEOF |
5804 | | | 5799 | |
5805 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" | | 5800 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" |
5806 | if test "x$ac_cv_func__doprnt" = x""yes; then : | | 5801 | if test "x$ac_cv_func__doprnt" = xyes; then : |
5807 | | | 5802 | |
5808 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h | | 5803 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h |
5809 | | | 5804 | |
5810 | fi | | 5805 | fi |
5811 | | | 5806 | |
5812 | fi | | 5807 | fi |
5813 | done | | 5808 | done |
5814 | | | 5809 | |
5815 | | | 5810 | |
5816 | | | 5811 | |
5817 | ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h> | | 5812 | ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h> |
5818 | " | | 5813 | " |
5819 | if test "x$ac_cv_have_decl_snprintf" = x""yes; then : | | 5814 | if test "x$ac_cv_have_decl_snprintf" = xyes; then : |
5820 | ac_have_decl=1 | | 5815 | ac_have_decl=1 |
5821 | else | | 5816 | else |
5822 | ac_have_decl=0 | | 5817 | ac_have_decl=0 |
5823 | fi | | 5818 | fi |
5824 | | | 5819 | |
5825 | cat >>confdefs.h <<_ACEOF | | 5820 | cat >>confdefs.h <<_ACEOF |
5826 | #define HAVE_DECL_SNPRINTF $ac_have_decl | | 5821 | #define HAVE_DECL_SNPRINTF $ac_have_decl |
5827 | _ACEOF | | 5822 | _ACEOF |
5828 | ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include <stdio.h> | | 5823 | ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include <stdio.h> |
5829 | " | | 5824 | " |
5830 | if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : | | 5825 | if test "x$ac_cv_have_decl_vasprintf" = xyes; then : |
5831 | ac_have_decl=1 | | 5826 | ac_have_decl=1 |
5832 | else | | 5827 | else |
5833 | ac_have_decl=0 | | 5828 | ac_have_decl=0 |
5834 | fi | | 5829 | fi |
5835 | | | 5830 | |
5836 | cat >>confdefs.h <<_ACEOF | | 5831 | cat >>confdefs.h <<_ACEOF |
5837 | #define HAVE_DECL_VASPRINTF $ac_have_decl | | 5832 | #define HAVE_DECL_VASPRINTF $ac_have_decl |
5838 | _ACEOF | | 5833 | _ACEOF |
5839 | | | 5834 | |
5840 | | | 5835 | |
5841 | case $host_os in | | 5836 | case $host_os in |
5842 | darwin*) | | 5837 | darwin*) |
5843 | # NetBSD PR 38488: warnx(3) escapes certain characters like \n | | 5838 | # NetBSD PR 38488: warnx(3) escapes certain characters like \n |
5844 | ac_cv_func_warn=no | | 5839 | ac_cv_func_warn=no |
5845 | ;; | | 5840 | ;; |
5846 | esac | | 5841 | esac |
5847 | | | 5842 | |
5848 | for ac_func in asprintf err fgetln fnmatch fparseln getenv isblank \ | | 5843 | ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf" |
5849 | lchflags lchmod lchown lutimes mkdtemp mkstemp setenv setgroupent \ | | 5844 | if test "x$ac_cv_func_asprintf" = xyes; then : |
5850 | setpassent setprogname shquote snprintf statvfs strdup strerror \ | | 5845 | $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h |
5851 | strlcat strlcpy strmode strsep strtoll unsetenv usleep utimes warn | | | |
5852 | | | 5846 | |
5853 | do : | | 5847 | else |
5854 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 5848 | case " $LIBOBJS " in |
5855 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 5849 | *" asprintf.$ac_objext "* ) ;; |
5856 | eval as_val=\$$as_ac_var | | 5850 | *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" |
5857 | if test "x$as_val" = x""yes; then : | | 5851 | ;; |
5858 | cat >>confdefs.h <<_ACEOF | | 5852 | esac |
5859 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 5853 | |
5860 | _ACEOF | | 5854 | fi |
| | | 5855 | |
| | | 5856 | ac_fn_c_check_func "$LINENO" "err" "ac_cv_func_err" |
| | | 5857 | if test "x$ac_cv_func_err" = xyes; then : |
| | | 5858 | $as_echo "#define HAVE_ERR 1" >>confdefs.h |
5861 | | | 5859 | |
5862 | else | | 5860 | else |
5863 | case " $LIBOBJS " in | | 5861 | case " $LIBOBJS " in |
5864 | *" $ac_func.$ac_objext "* ) ;; | | 5862 | *" err.$ac_objext "* ) ;; |
5865 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" | | 5863 | *) LIBOBJS="$LIBOBJS err.$ac_objext" |
| | | 5864 | ;; |
| | | 5865 | esac |
| | | 5866 | |
| | | 5867 | fi |
| | | 5868 | |
| | | 5869 | ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln" |
| | | 5870 | if test "x$ac_cv_func_fgetln" = xyes; then : |
| | | 5871 | $as_echo "#define HAVE_FGETLN 1" >>confdefs.h |
| | | 5872 | |
| | | 5873 | else |
| | | 5874 | case " $LIBOBJS " in |
| | | 5875 | *" fgetln.$ac_objext "* ) ;; |
| | | 5876 | *) LIBOBJS="$LIBOBJS fgetln.$ac_objext" |
| | | 5877 | ;; |
| | | 5878 | esac |
| | | 5879 | |
| | | 5880 | fi |
| | | 5881 | |
| | | 5882 | ac_fn_c_check_func "$LINENO" "fnmatch" "ac_cv_func_fnmatch" |
| | | 5883 | if test "x$ac_cv_func_fnmatch" = xyes; then : |
| | | 5884 | $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h |
| | | 5885 | |
| | | 5886 | else |
| | | 5887 | case " $LIBOBJS " in |
| | | 5888 | *" fnmatch.$ac_objext "* ) ;; |
| | | 5889 | *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" |
| | | 5890 | ;; |
| | | 5891 | esac |
| | | 5892 | |
| | | 5893 | fi |
| | | 5894 | |
| | | 5895 | ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln" |
| | | 5896 | if test "x$ac_cv_func_fparseln" = xyes; then : |
| | | 5897 | $as_echo "#define HAVE_FPARSELN 1" >>confdefs.h |
| | | 5898 | |
| | | 5899 | else |
| | | 5900 | case " $LIBOBJS " in |
| | | 5901 | *" fparseln.$ac_objext "* ) ;; |
| | | 5902 | *) LIBOBJS="$LIBOBJS fparseln.$ac_objext" |
| | | 5903 | ;; |
| | | 5904 | esac |
| | | 5905 | |
| | | 5906 | fi |
| | | 5907 | |
| | | 5908 | ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" |
| | | 5909 | if test "x$ac_cv_func_getenv" = xyes; then : |
| | | 5910 | $as_echo "#define HAVE_GETENV 1" >>confdefs.h |
| | | 5911 | |
| | | 5912 | else |
| | | 5913 | case " $LIBOBJS " in |
| | | 5914 | *" getenv.$ac_objext "* ) ;; |
| | | 5915 | *) LIBOBJS="$LIBOBJS getenv.$ac_objext" |
| | | 5916 | ;; |
| | | 5917 | esac |
| | | 5918 | |
| | | 5919 | fi |
| | | 5920 | |
| | | 5921 | ac_fn_c_check_func "$LINENO" "isblank" "ac_cv_func_isblank" |
| | | 5922 | if test "x$ac_cv_func_isblank" = xyes; then : |
| | | 5923 | $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h |
| | | 5924 | |
| | | 5925 | else |
| | | 5926 | case " $LIBOBJS " in |
| | | 5927 | *" isblank.$ac_objext "* ) ;; |
| | | 5928 | *) LIBOBJS="$LIBOBJS isblank.$ac_objext" |
| | | 5929 | ;; |
| | | 5930 | esac |
| | | 5931 | |
| | | 5932 | fi |
| | | 5933 | |
| | | 5934 | ac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags" |
| | | 5935 | if test "x$ac_cv_func_lchflags" = xyes; then : |
| | | 5936 | $as_echo "#define HAVE_LCHFLAGS 1" >>confdefs.h |
| | | 5937 | |
| | | 5938 | else |
| | | 5939 | case " $LIBOBJS " in |
| | | 5940 | *" lchflags.$ac_objext "* ) ;; |
| | | 5941 | *) LIBOBJS="$LIBOBJS lchflags.$ac_objext" |
| | | 5942 | ;; |
| | | 5943 | esac |
| | | 5944 | |
| | | 5945 | fi |
| | | 5946 | |
| | | 5947 | ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod" |
| | | 5948 | if test "x$ac_cv_func_lchmod" = xyes; then : |
| | | 5949 | $as_echo "#define HAVE_LCHMOD 1" >>confdefs.h |
| | | 5950 | |
| | | 5951 | else |
| | | 5952 | case " $LIBOBJS " in |
| | | 5953 | *" lchmod.$ac_objext "* ) ;; |
| | | 5954 | *) LIBOBJS="$LIBOBJS lchmod.$ac_objext" |
| | | 5955 | ;; |
| | | 5956 | esac |
| | | 5957 | |
| | | 5958 | fi |
| | | 5959 | |
| | | 5960 | ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown" |
| | | 5961 | if test "x$ac_cv_func_lchown" = xyes; then : |
| | | 5962 | $as_echo "#define HAVE_LCHOWN 1" >>confdefs.h |
| | | 5963 | |
| | | 5964 | else |
| | | 5965 | case " $LIBOBJS " in |
| | | 5966 | *" lchown.$ac_objext "* ) ;; |
| | | 5967 | *) LIBOBJS="$LIBOBJS lchown.$ac_objext" |
| | | 5968 | ;; |
| | | 5969 | esac |
| | | 5970 | |
| | | 5971 | fi |
| | | 5972 | |
| | | 5973 | ac_fn_c_check_func "$LINENO" "lutimes" "ac_cv_func_lutimes" |
| | | 5974 | if test "x$ac_cv_func_lutimes" = xyes; then : |
| | | 5975 | $as_echo "#define HAVE_LUTIMES 1" >>confdefs.h |
| | | 5976 | |
| | | 5977 | else |
| | | 5978 | case " $LIBOBJS " in |
| | | 5979 | *" lutimes.$ac_objext "* ) ;; |
| | | 5980 | *) LIBOBJS="$LIBOBJS lutimes.$ac_objext" |
| | | 5981 | ;; |
| | | 5982 | esac |
| | | 5983 | |
| | | 5984 | fi |
| | | 5985 | |
| | | 5986 | ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" |
| | | 5987 | if test "x$ac_cv_func_mkdtemp" = xyes; then : |
| | | 5988 | $as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h |
| | | 5989 | |
| | | 5990 | else |
| | | 5991 | case " $LIBOBJS " in |
| | | 5992 | *" mkdtemp.$ac_objext "* ) ;; |
| | | 5993 | *) LIBOBJS="$LIBOBJS mkdtemp.$ac_objext" |
| | | 5994 | ;; |
| | | 5995 | esac |
| | | 5996 | |
| | | 5997 | fi |
| | | 5998 | |
| | | 5999 | ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" |
| | | 6000 | if test "x$ac_cv_func_mkstemp" = xyes; then : |
| | | 6001 | $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h |
| | | 6002 | |
| | | 6003 | else |
| | | 6004 | case " $LIBOBJS " in |
| | | 6005 | *" mkstemp.$ac_objext "* ) ;; |
| | | 6006 | *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" |
| | | 6007 | ;; |
| | | 6008 | esac |
| | | 6009 | |
| | | 6010 | fi |
| | | 6011 | |
| | | 6012 | ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" |
| | | 6013 | if test "x$ac_cv_func_setenv" = xyes; then : |
| | | 6014 | $as_echo "#define HAVE_SETENV 1" >>confdefs.h |
| | | 6015 | |
| | | 6016 | else |
| | | 6017 | case " $LIBOBJS " in |
| | | 6018 | *" setenv.$ac_objext "* ) ;; |
| | | 6019 | *) LIBOBJS="$LIBOBJS setenv.$ac_objext" |
| | | 6020 | ;; |
| | | 6021 | esac |
| | | 6022 | |
| | | 6023 | fi |
| | | 6024 | |
| | | 6025 | ac_fn_c_check_func "$LINENO" "setgroupent" "ac_cv_func_setgroupent" |
| | | 6026 | if test "x$ac_cv_func_setgroupent" = xyes; then : |
| | | 6027 | $as_echo "#define HAVE_SETGROUPENT 1" >>confdefs.h |
| | | 6028 | |
| | | 6029 | else |
| | | 6030 | case " $LIBOBJS " in |
| | | 6031 | *" setgroupent.$ac_objext "* ) ;; |
| | | 6032 | *) LIBOBJS="$LIBOBJS setgroupent.$ac_objext" |
| | | 6033 | ;; |
| | | 6034 | esac |
| | | 6035 | |
| | | 6036 | fi |
| | | 6037 | |
| | | 6038 | ac_fn_c_check_func "$LINENO" "setpassent" "ac_cv_func_setpassent" |
| | | 6039 | if test "x$ac_cv_func_setpassent" = xyes; then : |
| | | 6040 | $as_echo "#define HAVE_SETPASSENT 1" >>confdefs.h |
| | | 6041 | |
| | | 6042 | else |
| | | 6043 | case " $LIBOBJS " in |
| | | 6044 | *" setpassent.$ac_objext "* ) ;; |
| | | 6045 | *) LIBOBJS="$LIBOBJS setpassent.$ac_objext" |
| | | 6046 | ;; |
| | | 6047 | esac |
| | | 6048 | |
| | | 6049 | fi |
| | | 6050 | |
| | | 6051 | ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname" |
| | | 6052 | if test "x$ac_cv_func_setprogname" = xyes; then : |
| | | 6053 | $as_echo "#define HAVE_SETPROGNAME 1" >>confdefs.h |
| | | 6054 | |
| | | 6055 | else |
| | | 6056 | case " $LIBOBJS " in |
| | | 6057 | *" setprogname.$ac_objext "* ) ;; |
| | | 6058 | *) LIBOBJS="$LIBOBJS setprogname.$ac_objext" |
| | | 6059 | ;; |
| | | 6060 | esac |
| | | 6061 | |
| | | 6062 | fi |
| | | 6063 | |
| | | 6064 | ac_fn_c_check_func "$LINENO" "shquote" "ac_cv_func_shquote" |
| | | 6065 | if test "x$ac_cv_func_shquote" = xyes; then : |
| | | 6066 | $as_echo "#define HAVE_SHQUOTE 1" >>confdefs.h |
| | | 6067 | |
| | | 6068 | else |
| | | 6069 | case " $LIBOBJS " in |
| | | 6070 | *" shquote.$ac_objext "* ) ;; |
| | | 6071 | *) LIBOBJS="$LIBOBJS shquote.$ac_objext" |
| | | 6072 | ;; |
| | | 6073 | esac |
| | | 6074 | |
| | | 6075 | fi |
| | | 6076 | |
| | | 6077 | ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" |
| | | 6078 | if test "x$ac_cv_func_snprintf" = xyes; then : |
| | | 6079 | $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h |
| | | 6080 | |
| | | 6081 | else |
| | | 6082 | case " $LIBOBJS " in |
| | | 6083 | *" snprintf.$ac_objext "* ) ;; |
| | | 6084 | *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" |
| | | 6085 | ;; |
| | | 6086 | esac |
| | | 6087 | |
| | | 6088 | fi |
| | | 6089 | |
| | | 6090 | ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" |
| | | 6091 | if test "x$ac_cv_func_statvfs" = xyes; then : |
| | | 6092 | $as_echo "#define HAVE_STATVFS 1" >>confdefs.h |
| | | 6093 | |
| | | 6094 | else |
| | | 6095 | case " $LIBOBJS " in |
| | | 6096 | *" statvfs.$ac_objext "* ) ;; |
| | | 6097 | *) LIBOBJS="$LIBOBJS statvfs.$ac_objext" |
| | | 6098 | ;; |
| | | 6099 | esac |
| | | 6100 | |
| | | 6101 | fi |
| | | 6102 | |
| | | 6103 | ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" |
| | | 6104 | if test "x$ac_cv_func_strdup" = xyes; then : |
| | | 6105 | $as_echo "#define HAVE_STRDUP 1" >>confdefs.h |
| | | 6106 | |
| | | 6107 | else |
| | | 6108 | case " $LIBOBJS " in |
| | | 6109 | *" strdup.$ac_objext "* ) ;; |
| | | 6110 | *) LIBOBJS="$LIBOBJS strdup.$ac_objext" |
| | | 6111 | ;; |
| | | 6112 | esac |
| | | 6113 | |
| | | 6114 | fi |
| | | 6115 | |
| | | 6116 | ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" |
| | | 6117 | if test "x$ac_cv_func_strerror" = xyes; then : |
| | | 6118 | $as_echo "#define HAVE_STRERROR 1" >>confdefs.h |
| | | 6119 | |
| | | 6120 | else |
| | | 6121 | case " $LIBOBJS " in |
| | | 6122 | *" strerror.$ac_objext "* ) ;; |
| | | 6123 | *) LIBOBJS="$LIBOBJS strerror.$ac_objext" |
| | | 6124 | ;; |
| | | 6125 | esac |
| | | 6126 | |
| | | 6127 | fi |
| | | 6128 | |
| | | 6129 | ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" |
| | | 6130 | if test "x$ac_cv_func_strlcat" = xyes; then : |
| | | 6131 | $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h |
| | | 6132 | |
| | | 6133 | else |
| | | 6134 | case " $LIBOBJS " in |
| | | 6135 | *" strlcat.$ac_objext "* ) ;; |
| | | 6136 | *) LIBOBJS="$LIBOBJS strlcat.$ac_objext" |
| | | 6137 | ;; |
| | | 6138 | esac |
| | | 6139 | |
| | | 6140 | fi |
| | | 6141 | |
| | | 6142 | ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" |
| | | 6143 | if test "x$ac_cv_func_strlcpy" = xyes; then : |
| | | 6144 | $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h |
| | | 6145 | |
| | | 6146 | else |
| | | 6147 | case " $LIBOBJS " in |
| | | 6148 | *" strlcpy.$ac_objext "* ) ;; |
| | | 6149 | *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" |
| | | 6150 | ;; |
| | | 6151 | esac |
| | | 6152 | |
| | | 6153 | fi |
| | | 6154 | |
| | | 6155 | ac_fn_c_check_func "$LINENO" "strmode" "ac_cv_func_strmode" |
| | | 6156 | if test "x$ac_cv_func_strmode" = xyes; then : |
| | | 6157 | $as_echo "#define HAVE_STRMODE 1" >>confdefs.h |
| | | 6158 | |
| | | 6159 | else |
| | | 6160 | case " $LIBOBJS " in |
| | | 6161 | *" strmode.$ac_objext "* ) ;; |
| | | 6162 | *) LIBOBJS="$LIBOBJS strmode.$ac_objext" |
| | | 6163 | ;; |
| | | 6164 | esac |
| | | 6165 | |
| | | 6166 | fi |
| | | 6167 | |
| | | 6168 | ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" |
| | | 6169 | if test "x$ac_cv_func_strsep" = xyes; then : |
| | | 6170 | $as_echo "#define HAVE_STRSEP 1" >>confdefs.h |
| | | 6171 | |
| | | 6172 | else |
| | | 6173 | case " $LIBOBJS " in |
| | | 6174 | *" strsep.$ac_objext "* ) ;; |
| | | 6175 | *) LIBOBJS="$LIBOBJS strsep.$ac_objext" |
| | | 6176 | ;; |
| | | 6177 | esac |
| | | 6178 | |
| | | 6179 | fi |
| | | 6180 | |
| | | 6181 | ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" |
| | | 6182 | if test "x$ac_cv_func_strtoll" = xyes; then : |
| | | 6183 | $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h |
| | | 6184 | |
| | | 6185 | else |
| | | 6186 | case " $LIBOBJS " in |
| | | 6187 | *" strtoll.$ac_objext "* ) ;; |
| | | 6188 | *) LIBOBJS="$LIBOBJS strtoll.$ac_objext" |
| | | 6189 | ;; |
| | | 6190 | esac |
| | | 6191 | |
| | | 6192 | fi |
| | | 6193 | |
| | | 6194 | ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
| | | 6195 | if test "x$ac_cv_func_unsetenv" = xyes; then : |
| | | 6196 | $as_echo "#define HAVE_UNSETENV 1" >>confdefs.h |
| | | 6197 | |
| | | 6198 | else |
| | | 6199 | case " $LIBOBJS " in |
| | | 6200 | *" unsetenv.$ac_objext "* ) ;; |
| | | 6201 | *) LIBOBJS="$LIBOBJS unsetenv.$ac_objext" |
| | | 6202 | ;; |
| | | 6203 | esac |
| | | 6204 | |
| | | 6205 | fi |
| | | 6206 | |
| | | 6207 | ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep" |
| | | 6208 | if test "x$ac_cv_func_usleep" = xyes; then : |
| | | 6209 | $as_echo "#define HAVE_USLEEP 1" >>confdefs.h |
| | | 6210 | |
| | | 6211 | else |
| | | 6212 | case " $LIBOBJS " in |
| | | 6213 | *" usleep.$ac_objext "* ) ;; |
| | | 6214 | *) LIBOBJS="$LIBOBJS usleep.$ac_objext" |
| | | 6215 | ;; |
| | | 6216 | esac |
| | | 6217 | |
| | | 6218 | fi |
| | | 6219 | |
| | | 6220 | ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" |
| | | 6221 | if test "x$ac_cv_func_utimes" = xyes; then : |
| | | 6222 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
| | | 6223 | |
| | | 6224 | else |
| | | 6225 | case " $LIBOBJS " in |
| | | 6226 | *" utimes.$ac_objext "* ) ;; |
| | | 6227 | *) LIBOBJS="$LIBOBJS utimes.$ac_objext" |
| | | 6228 | ;; |
| | | 6229 | esac |
| | | 6230 | |
| | | 6231 | fi |
| | | 6232 | |
| | | 6233 | ac_fn_c_check_func "$LINENO" "warn" "ac_cv_func_warn" |
| | | 6234 | if test "x$ac_cv_func_warn" = xyes; then : |
| | | 6235 | $as_echo "#define HAVE_WARN 1" >>confdefs.h |
| | | 6236 | |
| | | 6237 | else |
| | | 6238 | case " $LIBOBJS " in |
| | | 6239 | *" warn.$ac_objext "* ) ;; |
| | | 6240 | *) LIBOBJS="$LIBOBJS warn.$ac_objext" |
5866 | ;; | | 6241 | ;; |
5867 | esac | | 6242 | esac |
5868 | | | 6243 | |
5869 | fi | | 6244 | fi |
5870 | done | | | |
5871 | | | 6245 | |
5872 | | | 6246 | |
5873 | | | 6247 | |
5874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 | | 6248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
5875 | $as_echo_n "checking for library containing socket... " >&6; } | | 6249 | $as_echo_n "checking for library containing socket... " >&6; } |
5876 | if test "${ac_cv_search_socket+set}" = set; then : | | 6250 | if ${ac_cv_search_socket+:} false; then : |
5877 | $as_echo_n "(cached) " >&6 | | 6251 | $as_echo_n "(cached) " >&6 |
5878 | else | | 6252 | else |
5879 | ac_func_search_save_LIBS=$LIBS | | 6253 | ac_func_search_save_LIBS=$LIBS |
5880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 6254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5881 | /* end confdefs.h. */ | | 6255 | /* end confdefs.h. */ |
5882 | | | 6256 | |
5883 | /* Override any GCC internal prototype to avoid an error. | | 6257 | /* Override any GCC internal prototype to avoid an error. |
5884 | Use char because int might match the return type of a GCC | | 6258 | Use char because int might match the return type of a GCC |
5885 | builtin and then its argument prototype would still apply. */ | | 6259 | builtin and then its argument prototype would still apply. */ |
5886 | #ifdef __cplusplus | | 6260 | #ifdef __cplusplus |
5887 | extern "C" | | 6261 | extern "C" |
5888 | #endif | | 6262 | #endif |
5889 | char socket (); | | 6263 | char socket (); |
| @@ -5897,49 +6271,49 @@ return socket (); | | | @@ -5897,49 +6271,49 @@ return socket (); |
5897 | _ACEOF | | 6271 | _ACEOF |
5898 | for ac_lib in '' socket network; do | | 6272 | for ac_lib in '' socket network; do |
5899 | if test -z "$ac_lib"; then | | 6273 | if test -z "$ac_lib"; then |
5900 | ac_res="none required" | | 6274 | ac_res="none required" |
5901 | else | | 6275 | else |
5902 | ac_res=-l$ac_lib | | 6276 | ac_res=-l$ac_lib |
5903 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | | 6277 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5904 | fi | | 6278 | fi |
5905 | if ac_fn_c_try_link "$LINENO"; then : | | 6279 | if ac_fn_c_try_link "$LINENO"; then : |
5906 | ac_cv_search_socket=$ac_res | | 6280 | ac_cv_search_socket=$ac_res |
5907 | fi | | 6281 | fi |
5908 | rm -f core conftest.err conftest.$ac_objext \ | | 6282 | rm -f core conftest.err conftest.$ac_objext \ |
5909 | conftest$ac_exeext | | 6283 | conftest$ac_exeext |
5910 | if test "${ac_cv_search_socket+set}" = set; then : | | 6284 | if ${ac_cv_search_socket+:} false; then : |
5911 | break | | 6285 | break |
5912 | fi | | 6286 | fi |
5913 | done | | 6287 | done |
5914 | if test "${ac_cv_search_socket+set}" = set; then : | | 6288 | if ${ac_cv_search_socket+:} false; then : |
5915 | | | 6289 | |
5916 | else | | 6290 | else |
5917 | ac_cv_search_socket=no | | 6291 | ac_cv_search_socket=no |
5918 | fi | | 6292 | fi |
5919 | rm conftest.$ac_ext | | 6293 | rm conftest.$ac_ext |
5920 | LIBS=$ac_func_search_save_LIBS | | 6294 | LIBS=$ac_func_search_save_LIBS |
5921 | fi | | 6295 | fi |
5922 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 | | 6296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 |
5923 | $as_echo "$ac_cv_search_socket" >&6; } | | 6297 | $as_echo "$ac_cv_search_socket" >&6; } |
5924 | ac_res=$ac_cv_search_socket | | 6298 | ac_res=$ac_cv_search_socket |
5925 | if test "$ac_res" != no; then : | | 6299 | if test "$ac_res" != no; then : |
5926 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | | 6300 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
5927 | | | 6301 | |
5928 | fi | | 6302 | fi |
5929 | | | 6303 | |
5930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 | | 6304 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
5931 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } | | 6305 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
5932 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : | | 6306 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
5933 | $as_echo_n "(cached) " >&6 | | 6307 | $as_echo_n "(cached) " >&6 |
5934 | else | | 6308 | else |
5935 | ac_check_lib_save_LIBS=$LIBS | | 6309 | ac_check_lib_save_LIBS=$LIBS |
5936 | LIBS="-lnsl $LIBS" | | 6310 | LIBS="-lnsl $LIBS" |
5937 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 6311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5938 | /* end confdefs.h. */ | | 6312 | /* end confdefs.h. */ |
5939 | | | 6313 | |
5940 | /* Override any GCC internal prototype to avoid an error. | | 6314 | /* Override any GCC internal prototype to avoid an error. |
5941 | Use char because int might match the return type of a GCC | | 6315 | Use char because int might match the return type of a GCC |
5942 | builtin and then its argument prototype would still apply. */ | | 6316 | builtin and then its argument prototype would still apply. */ |
5943 | #ifdef __cplusplus | | 6317 | #ifdef __cplusplus |
5944 | extern "C" | | 6318 | extern "C" |
5945 | #endif | | 6319 | #endif |
| @@ -5953,351 +6327,343 @@ return gethostbyname (); | | | @@ -5953,351 +6327,343 @@ return gethostbyname (); |
5953 | } | | 6327 | } |
5954 | _ACEOF | | 6328 | _ACEOF |
5955 | if ac_fn_c_try_link "$LINENO"; then : | | 6329 | if ac_fn_c_try_link "$LINENO"; then : |
5956 | ac_cv_lib_nsl_gethostbyname=yes | | 6330 | ac_cv_lib_nsl_gethostbyname=yes |
5957 | else | | 6331 | else |
5958 | ac_cv_lib_nsl_gethostbyname=no | | 6332 | ac_cv_lib_nsl_gethostbyname=no |
5959 | fi | | 6333 | fi |
5960 | rm -f core conftest.err conftest.$ac_objext \ | | 6334 | rm -f core conftest.err conftest.$ac_objext \ |
5961 | conftest$ac_exeext conftest.$ac_ext | | 6335 | conftest$ac_exeext conftest.$ac_ext |
5962 | LIBS=$ac_check_lib_save_LIBS | | 6336 | LIBS=$ac_check_lib_save_LIBS |
5963 | fi | | 6337 | fi |
5964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 | | 6338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
5965 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } | | 6339 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
5966 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : | | 6340 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
5967 | cat >>confdefs.h <<_ACEOF | | 6341 | cat >>confdefs.h <<_ACEOF |
5968 | #define HAVE_LIBNSL 1 | | 6342 | #define HAVE_LIBNSL 1 |
5969 | _ACEOF | | 6343 | _ACEOF |
5970 | | | 6344 | |
5971 | LIBS="-lnsl $LIBS" | | 6345 | LIBS="-lnsl $LIBS" |
5972 | | | 6346 | |
5973 | fi | | 6347 | fi |
5974 | | | 6348 | |
5975 | | | 6349 | |
5976 | need_getaddrinfo=no | | 6350 | need_getaddrinfo=no |
5977 | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef HAVE_SYS_TYPES_H | | 6351 | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef HAVE_SYS_TYPES_H |
5978 | # include <sys/types.h> | | 6352 | # include <sys/types.h> |
5979 | #endif | | 6353 | #endif |
5980 | | | 6354 | |
5981 | #include <sys/socket.h> | | 6355 | #include <sys/socket.h> |
5982 | | | 6356 | |
5983 | " | | 6357 | " |
5984 | if test "x$ac_cv_type_socklen_t" = x""yes; then : | | 6358 | if test "x$ac_cv_type_socklen_t" = xyes; then : |
5985 | | | 6359 | |
5986 | cat >>confdefs.h <<_ACEOF | | 6360 | cat >>confdefs.h <<_ACEOF |
5987 | #define HAVE_SOCKLEN_T 1 | | 6361 | #define HAVE_SOCKLEN_T 1 |
5988 | _ACEOF | | 6362 | _ACEOF |
5989 | | | 6363 | |
5990 | | | 6364 | |
5991 | fi | | 6365 | fi |
5992 | | | 6366 | |
5993 | ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h> | | 6367 | ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h> |
5994 | " | | 6368 | " |
5995 | if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : | | 6369 | if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
5996 | | | 6370 | |
5997 | cat >>confdefs.h <<_ACEOF | | 6371 | cat >>confdefs.h <<_ACEOF |
5998 | #define HAVE_STRUCT_ADDRINFO 1 | | 6372 | #define HAVE_STRUCT_ADDRINFO 1 |
5999 | _ACEOF | | 6373 | _ACEOF |
6000 | | | 6374 | |
6001 | | | 6375 | |
6002 | fi | | 6376 | fi |
6003 | | | 6377 | |
6004 | ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef HAVE_SYS_TYPES_H | | 6378 | ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef HAVE_SYS_TYPES_H |
6005 | # include <sys/types.h> | | 6379 | # include <sys/types.h> |
6006 | #endif | | 6380 | #endif |
6007 | #include <netinet/in.h> | | 6381 | #include <netinet/in.h> |
6008 | | | 6382 | |
6009 | " | | 6383 | " |
6010 | if test "x$ac_cv_type_struct_in6_addr" = x""yes; then : | | 6384 | if test "x$ac_cv_type_struct_in6_addr" = xyes; then : |
6011 | | | 6385 | |
6012 | cat >>confdefs.h <<_ACEOF | | 6386 | cat >>confdefs.h <<_ACEOF |
6013 | #define HAVE_STRUCT_IN6_ADDR 1 | | 6387 | #define HAVE_STRUCT_IN6_ADDR 1 |
6014 | _ACEOF | | 6388 | _ACEOF |
6015 | | | 6389 | |
6016 | | | 6390 | |
6017 | fi | | 6391 | fi |
6018 | | | 6392 | |
6019 | ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef HAVE_SYS_TYPES_H | | 6393 | ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef HAVE_SYS_TYPES_H |
6020 | # include <sys/types.h> | | 6394 | # include <sys/types.h> |
6021 | #endif | | 6395 | #endif |
6022 | #include <netinet/in.h> | | 6396 | #include <netinet/in.h> |
6023 | | | 6397 | |
6024 | " | | 6398 | " |
6025 | if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : | | 6399 | if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
6026 | | | 6400 | |
6027 | cat >>confdefs.h <<_ACEOF | | 6401 | cat >>confdefs.h <<_ACEOF |
6028 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | | 6402 | #define HAVE_STRUCT_SOCKADDR_IN6 1 |
6029 | _ACEOF | | 6403 | _ACEOF |
6030 | | | 6404 | |
6031 | | | 6405 | |
6032 | fi | | 6406 | fi |
6033 | | | 6407 | |
6034 | ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#ifdef HAVE_SYS_TYPES_H | | 6408 | ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#ifdef HAVE_SYS_TYPES_H |
6035 | # include <sys/types.h> | | 6409 | # include <sys/types.h> |
6036 | #endif | | 6410 | #endif |
6037 | #include <sys/socket.h> | | 6411 | #include <sys/socket.h> |
6038 | | | 6412 | |
6039 | " | | 6413 | " |
6040 | if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : | | 6414 | if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
6041 | | | 6415 | |
6042 | cat >>confdefs.h <<_ACEOF | | 6416 | cat >>confdefs.h <<_ACEOF |
6043 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | | 6417 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
6044 | _ACEOF | | 6418 | _ACEOF |
6045 | | | 6419 | |
6046 | | | 6420 | |
6047 | fi | | 6421 | fi |
6048 | | | 6422 | |
6049 | for ac_func in getnameinfo gai_strerror getaddrinfo | | 6423 | for ac_func in getnameinfo gai_strerror getaddrinfo |
6050 | do : | | 6424 | do : |
6051 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6425 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6052 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6426 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6053 | eval as_val=\$$as_ac_var | | 6427 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6054 | if test "x$as_val" = x""yes; then : | | | |
6055 | cat >>confdefs.h <<_ACEOF | | 6428 | cat >>confdefs.h <<_ACEOF |
6056 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6429 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6057 | _ACEOF | | 6430 | _ACEOF |
6058 | : | | 6431 | : |
6059 | else | | 6432 | else |
6060 | need_getaddrinfo=yes | | 6433 | need_getaddrinfo=yes |
6061 | fi | | 6434 | fi |
6062 | done | | 6435 | done |
6063 | | | 6436 | |
6064 | if test $need_getaddrinfo = yes; then | | 6437 | if test $need_getaddrinfo = yes; then |
6065 | case " $LIBOBJS " in | | 6438 | case " $LIBOBJS " in |
6066 | *" getaddrinfo.$ac_objext "* ) ;; | | 6439 | *" getaddrinfo.$ac_objext "* ) ;; |
6067 | *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" | | 6440 | *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" |
6068 | ;; | | 6441 | ;; |
6069 | esac | | 6442 | esac |
6070 | | | 6443 | |
6071 | fi | | 6444 | fi |
6072 | | | 6445 | |
6073 | need_findenv=no | | 6446 | need_findenv=no |
6074 | for ac_func in getenv setenv unsetenv | | 6447 | for ac_func in getenv setenv unsetenv |
6075 | do : | | 6448 | do : |
6076 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6449 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6077 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6450 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6078 | eval as_val=\$$as_ac_var | | 6451 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6079 | if test "x$as_val" = x""yes; then : | | | |
6080 | cat >>confdefs.h <<_ACEOF | | 6452 | cat >>confdefs.h <<_ACEOF |
6081 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6453 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6082 | _ACEOF | | 6454 | _ACEOF |
6083 | : | | 6455 | : |
6084 | else | | 6456 | else |
6085 | need_findenv=yes | | 6457 | need_findenv=yes |
6086 | fi | | 6458 | fi |
6087 | done | | 6459 | done |
6088 | | | 6460 | |
6089 | if test $need_findenv = yes; then | | 6461 | if test $need_findenv = yes; then |
6090 | case " $LIBOBJS " in | | 6462 | case " $LIBOBJS " in |
6091 | *" findenv.$ac_objext "* ) ;; | | 6463 | *" findenv.$ac_objext "* ) ;; |
6092 | *) LIBOBJS="$LIBOBJS findenv.$ac_objext" | | 6464 | *) LIBOBJS="$LIBOBJS findenv.$ac_objext" |
6093 | ;; | | 6465 | ;; |
6094 | esac | | 6466 | esac |
6095 | | | 6467 | |
6096 | fi | | 6468 | fi |
6097 | | | 6469 | |
6098 | need_gettemp=no | | 6470 | need_gettemp=no |
6099 | for ac_func in mkdtemp mkstemp | | 6471 | for ac_func in mkdtemp mkstemp |
6100 | do : | | 6472 | do : |
6101 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6473 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6102 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6474 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6103 | eval as_val=\$$as_ac_var | | 6475 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6104 | if test "x$as_val" = x""yes; then : | | | |
6105 | cat >>confdefs.h <<_ACEOF | | 6476 | cat >>confdefs.h <<_ACEOF |
6106 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6477 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6107 | _ACEOF | | 6478 | _ACEOF |
6108 | : | | 6479 | : |
6109 | else | | 6480 | else |
6110 | need_gettemp=yes | | 6481 | need_gettemp=yes |
6111 | fi | | 6482 | fi |
6112 | done | | 6483 | done |
6113 | | | 6484 | |
6114 | if test $need_gettemp = yes; then | | 6485 | if test $need_gettemp = yes; then |
6115 | case " $LIBOBJS " in | | 6486 | case " $LIBOBJS " in |
6116 | *" gettemp.$ac_objext "* ) ;; | | 6487 | *" gettemp.$ac_objext "* ) ;; |
6117 | *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" | | 6488 | *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" |
6118 | ;; | | 6489 | ;; |
6119 | esac | | 6490 | esac |
6120 | | | 6491 | |
6121 | fi | | 6492 | fi |
6122 | | | 6493 | |
6123 | for ac_func in bcopy bzero memset memcpy setlocale | | 6494 | for ac_func in bcopy bzero memset memcpy setlocale |
6124 | do : | | 6495 | do : |
6125 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6496 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6126 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6497 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6127 | eval as_val=\$$as_ac_var | | 6498 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6128 | if test "x$as_val" = x""yes; then : | | | |
6129 | cat >>confdefs.h <<_ACEOF | | 6499 | cat >>confdefs.h <<_ACEOF |
6130 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6500 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6131 | _ACEOF | | 6501 | _ACEOF |
6132 | | | 6502 | |
6133 | fi | | 6503 | fi |
6134 | done | | 6504 | done |
6135 | | | 6505 | |
6136 | | | 6506 | |
6137 | need_setmode=no | | 6507 | need_setmode=no |
6138 | for ac_func in getmode setmode | | 6508 | for ac_func in getmode setmode |
6139 | do : | | 6509 | do : |
6140 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6510 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6141 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6511 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6142 | eval as_val=\$$as_ac_var | | 6512 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6143 | if test "x$as_val" = x""yes; then : | | | |
6144 | cat >>confdefs.h <<_ACEOF | | 6513 | cat >>confdefs.h <<_ACEOF |
6145 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6514 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6146 | _ACEOF | | 6515 | _ACEOF |
6147 | : | | 6516 | : |
6148 | else | | 6517 | else |
6149 | need_setmode=yes | | 6518 | need_setmode=yes |
6150 | fi | | 6519 | fi |
6151 | done | | 6520 | done |
6152 | | | 6521 | |
6153 | | | 6522 | |
6154 | if test $need_setmode = yes; then | | 6523 | if test $need_setmode = yes; then |
6155 | case " $LIBOBJS " in | | 6524 | case " $LIBOBJS " in |
6156 | *" setmode.$ac_objext "* ) ;; | | 6525 | *" setmode.$ac_objext "* ) ;; |
6157 | *) LIBOBJS="$LIBOBJS setmode.$ac_objext" | | 6526 | *) LIBOBJS="$LIBOBJS setmode.$ac_objext" |
6158 | ;; | | 6527 | ;; |
6159 | esac | | 6528 | esac |
6160 | | | 6529 | |
6161 | fi | | 6530 | fi |
6162 | | | 6531 | |
6163 | ac_fn_c_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default" | | 6532 | ac_fn_c_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default" |
6164 | if test "x$ac_cv_have_decl_endgrent" = x""yes; then : | | 6533 | if test "x$ac_cv_have_decl_endgrent" = xyes; then : |
6165 | ac_have_decl=1 | | 6534 | ac_have_decl=1 |
6166 | else | | 6535 | else |
6167 | ac_have_decl=0 | | 6536 | ac_have_decl=0 |
6168 | fi | | 6537 | fi |
6169 | | | 6538 | |
6170 | cat >>confdefs.h <<_ACEOF | | 6539 | cat >>confdefs.h <<_ACEOF |
6171 | #define HAVE_DECL_ENDGRENT $ac_have_decl | | 6540 | #define HAVE_DECL_ENDGRENT $ac_have_decl |
6172 | _ACEOF | | 6541 | _ACEOF |
6173 | ac_fn_c_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default" | | 6542 | ac_fn_c_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default" |
6174 | if test "x$ac_cv_have_decl_endpwent" = x""yes; then : | | 6543 | if test "x$ac_cv_have_decl_endpwent" = xyes; then : |
6175 | ac_have_decl=1 | | 6544 | ac_have_decl=1 |
6176 | else | | 6545 | else |
6177 | ac_have_decl=0 | | 6546 | ac_have_decl=0 |
6178 | fi | | 6547 | fi |
6179 | | | 6548 | |
6180 | cat >>confdefs.h <<_ACEOF | | 6549 | cat >>confdefs.h <<_ACEOF |
6181 | #define HAVE_DECL_ENDPWENT $ac_have_decl | | 6550 | #define HAVE_DECL_ENDPWENT $ac_have_decl |
6182 | _ACEOF | | 6551 | _ACEOF |
6183 | | | 6552 | |
6184 | | | 6553 | |
6185 | need_pwcache=no | | 6554 | need_pwcache=no |
6186 | for ac_func in gid_from_group group_from_gid pwcache_groupdb \ | | 6555 | for ac_func in gid_from_group group_from_gid pwcache_groupdb \ |
6187 | pwcache_userdb uid_from_user user_from_uid \ | | 6556 | pwcache_userdb uid_from_user user_from_uid \ |
6188 | | | 6557 | |
6189 | do : | | 6558 | do : |
6190 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6559 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6191 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6560 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6192 | eval as_val=\$$as_ac_var | | 6561 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6193 | if test "x$as_val" = x""yes; then : | | | |
6194 | cat >>confdefs.h <<_ACEOF | | 6562 | cat >>confdefs.h <<_ACEOF |
6195 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6563 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6196 | _ACEOF | | 6564 | _ACEOF |
6197 | : | | 6565 | : |
6198 | else | | 6566 | else |
6199 | need_pwcache=yes | | 6567 | need_pwcache=yes |
6200 | fi | | 6568 | fi |
6201 | done | | 6569 | done |
6202 | | | 6570 | |
6203 | | | 6571 | |
6204 | if test $need_pwcache = yes; then | | 6572 | if test $need_pwcache = yes; then |
6205 | case " $LIBOBJS " in | | 6573 | case " $LIBOBJS " in |
6206 | *" pwcache.$ac_objext "* ) ;; | | 6574 | *" pwcache.$ac_objext "* ) ;; |
6207 | *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" | | 6575 | *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" |
6208 | ;; | | 6576 | ;; |
6209 | esac | | 6577 | esac |
6210 | | | 6578 | |
6211 | fi | | 6579 | fi |
6212 | | | 6580 | |
6213 | ac_fn_c_check_func "$LINENO" "fts_open" "ac_cv_func_fts_open" | | 6581 | ac_fn_c_check_func "$LINENO" "fts_open" "ac_cv_func_fts_open" |
6214 | if test "x$ac_cv_func_fts_open" = x""yes; then : | | 6582 | if test "x$ac_cv_func_fts_open" = xyes; then : |
6215 | : | | 6583 | : |
6216 | else | | 6584 | else |
6217 | | | 6585 | |
6218 | $as_echo "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h | | 6586 | $as_echo "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h |
6219 | | | 6587 | |
6220 | | | 6588 | |
6221 | case " $LIBOBJS " in | | 6589 | case " $LIBOBJS " in |
6222 | *" fts.$ac_objext "* ) ;; | | 6590 | *" fts.$ac_objext "* ) ;; |
6223 | *) LIBOBJS="$LIBOBJS fts.$ac_objext" | | 6591 | *) LIBOBJS="$LIBOBJS fts.$ac_objext" |
6224 | ;; | | 6592 | ;; |
6225 | esac | | 6593 | esac |
6226 | | | 6594 | |
6227 | | | 6595 | |
6228 | fi | | 6596 | fi |
6229 | | | 6597 | |
6230 | | | 6598 | |
6231 | ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm" | | 6599 | ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm" |
6232 | if test "x$ac_cv_func_timegm" = x""yes; then : | | 6600 | if test "x$ac_cv_func_timegm" = xyes; then : |
6233 | : | | 6601 | : |
6234 | else | | 6602 | else |
6235 | case " $LIBOBJS " in | | 6603 | case " $LIBOBJS " in |
6236 | *" timegm.$ac_objext "* ) ;; | | 6604 | *" timegm.$ac_objext "* ) ;; |
6237 | *) LIBOBJS="$LIBOBJS timegm.$ac_objext" | | 6605 | *) LIBOBJS="$LIBOBJS timegm.$ac_objext" |
6238 | ;; | | 6606 | ;; |
6239 | esac | | 6607 | esac |
6240 | | | 6608 | |
6241 | fi | | 6609 | fi |
6242 | | | 6610 | |
6243 | | | 6611 | |
6244 | # Handle Darwin 7 having a poll() compatibility function. Be | | 6612 | # Handle Darwin 7 having a poll() compatibility function. Be |
6245 | # conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then | | 6613 | # conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then |
6246 | # use our own poll() implementation. | | 6614 | # use our own poll() implementation. |
6247 | # | | 6615 | # |
6248 | pkg_cv_have_poll_h=no | | 6616 | pkg_cv_have_poll_h=no |
6249 | for ac_header in poll.h sys/poll.h | | 6617 | for ac_header in poll.h sys/poll.h |
6250 | do : | | 6618 | do : |
6251 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 6619 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6252 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | | 6620 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6253 | eval as_val=\$$as_ac_Header | | 6621 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6254 | if test "x$as_val" = x""yes; then : | | | |
6255 | cat >>confdefs.h <<_ACEOF | | 6622 | cat >>confdefs.h <<_ACEOF |
6256 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 6623 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6257 | _ACEOF | | 6624 | _ACEOF |
6258 | | | 6625 | |
6259 | fi | | 6626 | fi |
6260 | | | 6627 | |
6261 | done | | 6628 | done |
6262 | | | 6629 | |
6263 | for ac_header in poll.h sys/poll.h | | 6630 | for ac_header in poll.h sys/poll.h |
6264 | do : | | 6631 | do : |
6265 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 6632 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6266 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | | 6633 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6267 | eval as_val=\$$as_ac_Header | | 6634 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6268 | if test "x$as_val" = x""yes; then : | | | |
6269 | cat >>confdefs.h <<_ACEOF | | 6635 | cat >>confdefs.h <<_ACEOF |
6270 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 6636 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6271 | _ACEOF | | 6637 | _ACEOF |
6272 | pkg_cv_have_poll_h=yes | | 6638 | pkg_cv_have_poll_h=yes |
6273 | fi | | 6639 | fi |
6274 | | | 6640 | |
6275 | done | | 6641 | done |
6276 | | | 6642 | |
6277 | | | 6643 | |
6278 | pkg_use_nbcompat_poll=yes | | 6644 | pkg_use_nbcompat_poll=yes |
6279 | if test $pkg_cv_have_poll_h = yes; then | | 6645 | if test $pkg_cv_have_poll_h = yes; then |
6280 | pkg_use_nbcompat_poll=no | | 6646 | pkg_use_nbcompat_poll=no |
6281 | fi | | 6647 | fi |
6282 | | | 6648 | |
6283 | if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then | | 6649 | if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then |
6284 | ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" | | 6650 | ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" |
6285 | if test "x$ac_cv_func_poll" = x""yes; then : | | 6651 | if test "x$ac_cv_func_poll" = xyes; then : |
6286 | | | 6652 | |
6287 | | | 6653 | |
6288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5 | | 6654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5 |
6289 | $as_echo_n "checking if poll() is implemented natively... " >&6; } | | 6655 | $as_echo_n "checking if poll() is implemented natively... " >&6; } |
6290 | if test "${pkg_cv_native_poll+set}" = set; then : | | 6656 | if ${pkg_cv_native_poll+:} false; then : |
6291 | $as_echo_n "(cached) " >&6 | | 6657 | $as_echo_n "(cached) " >&6 |
6292 | else | | 6658 | else |
6293 | | | 6659 | |
6294 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 6660 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6295 | /* end confdefs.h. */ | | 6661 | /* end confdefs.h. */ |
6296 | #if HAVE_POLL_H | | 6662 | #if HAVE_POLL_H |
6297 | #include <poll.h> | | 6663 | #include <poll.h> |
6298 | #endif | | 6664 | #endif |
6299 | #if HAVE_SYS_POLL_H | | 6665 | #if HAVE_SYS_POLL_H |
6300 | #include <sys/poll.h> | | 6666 | #include <sys/poll.h> |
6301 | #endif | | 6667 | #endif |
6302 | | | 6668 | |
6303 | int | | 6669 | int |
| @@ -6339,41 +6705,40 @@ if test $pkg_use_nbcompat_poll = yes; th | | | @@ -6339,41 +6705,40 @@ if test $pkg_use_nbcompat_poll = yes; th |
6339 | | | 6705 | |
6340 | case " $LIBOBJS " in | | 6706 | case " $LIBOBJS " in |
6341 | *" poll.$ac_objext "* ) ;; | | 6707 | *" poll.$ac_objext "* ) ;; |
6342 | *) LIBOBJS="$LIBOBJS poll.$ac_objext" | | 6708 | *) LIBOBJS="$LIBOBJS poll.$ac_objext" |
6343 | ;; | | 6709 | ;; |
6344 | esac | | 6710 | esac |
6345 | | | 6711 | |
6346 | fi | | 6712 | fi |
6347 | | | 6713 | |
6348 | for ac_func in getpassphrase getpgrp memmove select | | 6714 | for ac_func in getpassphrase getpgrp memmove select |
6349 | do : | | 6715 | do : |
6350 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 6716 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6351 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | | 6717 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6352 | eval as_val=\$$as_ac_var | | 6718 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6353 | if test "x$as_val" = x""yes; then : | | | |
6354 | cat >>confdefs.h <<_ACEOF | | 6719 | cat >>confdefs.h <<_ACEOF |
6355 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 6720 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6356 | _ACEOF | | 6721 | _ACEOF |
6357 | | | 6722 | |
6358 | fi | | 6723 | fi |
6359 | done | | 6724 | done |
6360 | | | 6725 | |
6361 | | | 6726 | |
6362 | ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" | | 6727 | ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" |
6363 | if test "x$ac_cv_func_getpgrp" = x""yes; then : | | 6728 | if test "x$ac_cv_func_getpgrp" = xyes; then : |
6364 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | | 6729 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 |
6365 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | | 6730 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
6366 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : | | 6731 | if ${ac_cv_func_getpgrp_void+:} false; then : |
6367 | $as_echo_n "(cached) " >&6 | | 6732 | $as_echo_n "(cached) " >&6 |
6368 | else | | 6733 | else |
6369 | # Use it with a single arg. | | 6734 | # Use it with a single arg. |
6370 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | | 6735 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6371 | /* end confdefs.h. */ | | 6736 | /* end confdefs.h. */ |
6372 | $ac_includes_default | | 6737 | $ac_includes_default |
6373 | int | | 6738 | int |
6374 | main () | | 6739 | main () |
6375 | { | | 6740 | { |
6376 | getpgrp (0); | | 6741 | getpgrp (0); |
6377 | ; | | 6742 | ; |
6378 | return 0; | | 6743 | return 0; |
6379 | } | | 6744 | } |
| @@ -6389,106 +6754,106 @@ fi | | | @@ -6389,106 +6754,106 @@ fi |
6389 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | | 6754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 |
6390 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | | 6755 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
6391 | if test $ac_cv_func_getpgrp_void = yes; then | | 6756 | if test $ac_cv_func_getpgrp_void = yes; then |
6392 | | | 6757 | |
6393 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | | 6758 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
6394 | | | 6759 | |
6395 | fi | | 6760 | fi |
6396 | | | 6761 | |
6397 | fi | | 6762 | fi |
6398 | | | 6763 | |
6399 | | | 6764 | |
6400 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" " #include <sys/statfs.h> | | 6765 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" " #include <sys/statfs.h> |
6401 | " | | 6766 | " |
6402 | if test "x$ac_cv_member_struct_statfs_f_flags" = x""yes; then : | | 6767 | if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : |
6403 | | | 6768 | |
6404 | cat >>confdefs.h <<_ACEOF | | 6769 | cat >>confdefs.h <<_ACEOF |
6405 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | | 6770 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 |
6406 | _ACEOF | | 6771 | _ACEOF |
6407 | | | 6772 | |
6408 | : | | 6773 | : |
6409 | else | | 6774 | else |
6410 | : | | 6775 | : |
6411 | fi | | 6776 | fi |
6412 | | | 6777 | |
6413 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsize" "ac_cv_member_struct_statfs_f_fsize" " #include <sys/statfs.h> | | 6778 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsize" "ac_cv_member_struct_statfs_f_fsize" " #include <sys/statfs.h> |
6414 | " | | 6779 | " |
6415 | if test "x$ac_cv_member_struct_statfs_f_fsize" = x""yes; then : | | 6780 | if test "x$ac_cv_member_struct_statfs_f_fsize" = xyes; then : |
6416 | | | 6781 | |
6417 | cat >>confdefs.h <<_ACEOF | | 6782 | cat >>confdefs.h <<_ACEOF |
6418 | #define HAVE_STRUCT_STATFS_F_FSIZE 1 | | 6783 | #define HAVE_STRUCT_STATFS_F_FSIZE 1 |
6419 | _ACEOF | | 6784 | _ACEOF |
6420 | | | 6785 | |
6421 | : | | 6786 | : |
6422 | else | | 6787 | else |
6423 | : | | 6788 | : |
6424 | fi | | 6789 | fi |
6425 | | | 6790 | |
6426 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_iosize" "ac_cv_member_struct_statfs_f_iosize" " #include <sys/statfs.h> | | 6791 | ac_fn_c_check_member "$LINENO" "struct statfs" "f_iosize" "ac_cv_member_struct_statfs_f_iosize" " #include <sys/statfs.h> |
6427 | " | | 6792 | " |
6428 | if test "x$ac_cv_member_struct_statfs_f_iosize" = x""yes; then : | | 6793 | if test "x$ac_cv_member_struct_statfs_f_iosize" = xyes; then : |
6429 | | | 6794 | |
6430 | cat >>confdefs.h <<_ACEOF | | 6795 | cat >>confdefs.h <<_ACEOF |
6431 | #define HAVE_STRUCT_STATFS_F_IOSIZE 1 | | 6796 | #define HAVE_STRUCT_STATFS_F_IOSIZE 1 |
6432 | _ACEOF | | 6797 | _ACEOF |
6433 | | | 6798 | |
6434 | : | | 6799 | : |
6435 | else | | 6800 | else |
6436 | : | | 6801 | : |
6437 | fi | | 6802 | fi |
6438 | | | 6803 | |
6439 | ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" " #include <sys/types.h> | | 6804 | ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" " #include <sys/types.h> |
6440 | #if HAVE_DIRENT_H | | 6805 | #if HAVE_DIRENT_H |
6441 | # include <dirent.h> | | 6806 | # include <dirent.h> |
6442 | #else | | 6807 | #else |
6443 | # define dirent direct | | 6808 | # define dirent direct |
6444 | # if HAVE_SYS_NDIR_H | | 6809 | # if HAVE_SYS_NDIR_H |
6445 | # include <sys/ndir.h> | | 6810 | # include <sys/ndir.h> |
6446 | # endif | | 6811 | # endif |
6447 | # if HAVE_SYS_DIR_H | | 6812 | # if HAVE_SYS_DIR_H |
6448 | # include <sys/dir.h> | | 6813 | # include <sys/dir.h> |
6449 | # endif | | 6814 | # endif |
6450 | # if HAVE_NDIR_H | | 6815 | # if HAVE_NDIR_H |
6451 | # include <ndir.h> | | 6816 | # include <ndir.h> |
6452 | # endif | | 6817 | # endif |
6453 | #endif | | 6818 | #endif |
6454 | " | | 6819 | " |
6455 | if test "x$ac_cv_member_struct_dirent_d_namlen" = x""yes; then : | | 6820 | if test "x$ac_cv_member_struct_dirent_d_namlen" = xyes; then : |
6456 | | | 6821 | |
6457 | cat >>confdefs.h <<_ACEOF | | 6822 | cat >>confdefs.h <<_ACEOF |
6458 | #define HAVE_STRUCT_DIRENT_D_NAMLEN 1 | | 6823 | #define HAVE_STRUCT_DIRENT_D_NAMLEN 1 |
6459 | _ACEOF | | 6824 | _ACEOF |
6460 | | | 6825 | |
6461 | : | | 6826 | : |
6462 | else | | 6827 | else |
6463 | : | | 6828 | : |
6464 | fi | | 6829 | fi |
6465 | ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" " #include <sys/types.h> | | 6830 | ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" " #include <sys/types.h> |
6466 | #if HAVE_DIRENT_H | | 6831 | #if HAVE_DIRENT_H |
6467 | # include <dirent.h> | | 6832 | # include <dirent.h> |
6468 | #else | | 6833 | #else |
6469 | # define dirent direct | | 6834 | # define dirent direct |
6470 | # if HAVE_SYS_NDIR_H | | 6835 | # if HAVE_SYS_NDIR_H |
6471 | # include <sys/ndir.h> | | 6836 | # include <sys/ndir.h> |
6472 | # endif | | 6837 | # endif |
6473 | # if HAVE_SYS_DIR_H | | 6838 | # if HAVE_SYS_DIR_H |
6474 | # include <sys/dir.h> | | 6839 | # include <sys/dir.h> |
6475 | # endif | | 6840 | # endif |
6476 | # if HAVE_NDIR_H | | 6841 | # if HAVE_NDIR_H |
6477 | # include <ndir.h> | | 6842 | # include <ndir.h> |
6478 | # endif | | 6843 | # endif |
6479 | #endif | | 6844 | #endif |
6480 | " | | 6845 | " |
6481 | if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then : | | 6846 | if test "x$ac_cv_member_DIR_dd_fd" = xyes; then : |
6482 | | | 6847 | |
6483 | cat >>confdefs.h <<_ACEOF | | 6848 | cat >>confdefs.h <<_ACEOF |
6484 | #define HAVE_DIR_DD_FD 1 | | 6849 | #define HAVE_DIR_DD_FD 1 |
6485 | _ACEOF | | 6850 | _ACEOF |
6486 | | | 6851 | |
6487 | : | | 6852 | : |
6488 | else | | 6853 | else |
6489 | : | | 6854 | : |
6490 | fi | | 6855 | fi |
6491 | | | 6856 | |
6492 | | | 6857 | |
6493 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5 | | 6858 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5 |
6494 | $as_echo_n "checking for dirfd... " >&6; } | | 6859 | $as_echo_n "checking for dirfd... " >&6; } |
| @@ -6605,43 +6970,38 @@ else | | | @@ -6605,43 +6970,38 @@ else |
6605 | $as_echo "no" >&6; } | | 6970 | $as_echo "no" >&6; } |
6606 | | | 6971 | |
6607 | fi | | 6972 | fi |
6608 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | | 6973 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6609 | conftest.$ac_objext conftest.beam conftest.$ac_ext | | 6974 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
6610 | fi | | 6975 | fi |
6611 | | | 6976 | |
6612 | fi | | 6977 | fi |
6613 | | | 6978 | |
6614 | if test $can_printf_longlong = yes; then | | 6979 | if test $can_printf_longlong = yes; then |
6615 | $as_echo "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h | | 6980 | $as_echo "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h |
6616 | | | 6981 | |
6617 | | | 6982 | |
6618 | for ac_func in strtoll | | 6983 | ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" |
6619 | do : | | 6984 | if test "x$ac_cv_func_strtoll" = xyes; then : |
6620 | ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" | | 6985 | $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h |
6621 | if test "x$ac_cv_func_strtoll" = x""yes; then : | | | |
6622 | cat >>confdefs.h <<_ACEOF | | | |
6623 | #define HAVE_STRTOLL 1 | | | |
6624 | _ACEOF | | | |
6625 | | | 6986 | |
6626 | else | | 6987 | else |
6627 | case " $LIBOBJS " in | | 6988 | case " $LIBOBJS " in |
6628 | *" $ac_func.$ac_objext "* ) ;; | | 6989 | *" strtoll.$ac_objext "* ) ;; |
6629 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" | | 6990 | *) LIBOBJS="$LIBOBJS strtoll.$ac_objext" |
6630 | ;; | | 6991 | ;; |
6631 | esac | | 6992 | esac |
6632 | | | 6993 | |
6633 | fi | | 6994 | fi |
6634 | done | | | |
6635 | | | 6995 | |
6636 | | | 6996 | |
6637 | fi | | 6997 | fi |
6638 | | | 6998 | |
6639 | fi | | 6999 | fi |
6640 | | | 7000 | |
6641 | | | 7001 | |
6642 | | | 7002 | |
6643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5 | | 7003 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5 |
6644 | $as_echo_n "checking if vsnprintf is standards compliant... " >&6; } | | 7004 | $as_echo_n "checking if vsnprintf is standards compliant... " >&6; } |
6645 | have_std_vsnprintf=no | | 7005 | have_std_vsnprintf=no |
6646 | if test "$cross_compiling" = yes; then : | | 7006 | if test "$cross_compiling" = yes; then : |
6647 | : | | 7007 | : |
| @@ -6747,62 +7107,74 @@ $as_echo "$as_me: WARNING: cache variabl | | | @@ -6747,62 +7107,74 @@ $as_echo "$as_me: WARNING: cache variabl |
6747 | esac | | | 7107 | esac | |
6748 | sort | | 7108 | sort |
6749 | ) | | | 7109 | ) | |
6750 | sed ' | | 7110 | sed ' |
6751 | /^ac_cv_env_/b end | | 7111 | /^ac_cv_env_/b end |
6752 | t clear | | 7112 | t clear |
6753 | :clear | | 7113 | :clear |
6754 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | | 7114 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
6755 | t end | | 7115 | t end |
6756 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | | 7116 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6757 | :end' >>confcache | | 7117 | :end' >>confcache |
6758 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | | 7118 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6759 | if test -w "$cache_file"; then | | 7119 | if test -w "$cache_file"; then |
6760 | test "x$cache_file" != "x/dev/null" && | | 7120 | if test "x$cache_file" != "x/dev/null"; then |
6761 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | | 7121 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6762 | $as_echo "$as_me: updating cache $cache_file" >&6;} | | 7122 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
6763 | cat confcache >$cache_file | | 7123 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
| | | 7124 | cat confcache >"$cache_file" |
| | | 7125 | else |
| | | 7126 | case $cache_file in #( |
| | | 7127 | */* | ?:*) |
| | | 7128 | mv -f confcache "$cache_file"$$ && |
| | | 7129 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
| | | 7130 | *) |
| | | 7131 | mv -f confcache "$cache_file" ;; |
| | | 7132 | esac |
| | | 7133 | fi |
| | | 7134 | fi |
6764 | else | | 7135 | else |
6765 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | | 7136 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6766 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | | 7137 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6767 | fi | | 7138 | fi |
6768 | fi | | 7139 | fi |
6769 | rm -f confcache | | 7140 | rm -f confcache |
6770 | | | 7141 | |
6771 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | | 7142 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
6772 | # Let make expand exec_prefix. | | 7143 | # Let make expand exec_prefix. |
6773 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | | 7144 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
6774 | | | 7145 | |
6775 | DEFS=-DHAVE_CONFIG_H | | 7146 | DEFS=-DHAVE_CONFIG_H |
6776 | | | 7147 | |
6777 | ac_libobjs= | | 7148 | ac_libobjs= |
6778 | ac_ltlibobjs= | | 7149 | ac_ltlibobjs= |
| | | 7150 | U= |
6779 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | | 7151 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6780 | # 1. Remove the extension, and $U if already installed. | | 7152 | # 1. Remove the extension, and $U if already installed. |
6781 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | | 7153 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
6782 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | | 7154 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
6783 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | | 7155 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
6784 | # will be set to the directory where LIBOBJS objects are built. | | 7156 | # will be set to the directory where LIBOBJS objects are built. |
6785 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | | 7157 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6786 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | | 7158 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
6787 | done | | 7159 | done |
6788 | LIBOBJS=$ac_libobjs | | 7160 | LIBOBJS=$ac_libobjs |
6789 | | | 7161 | |
6790 | LTLIBOBJS=$ac_ltlibobjs | | 7162 | LTLIBOBJS=$ac_ltlibobjs |
6791 | | | 7163 | |
6792 | | | 7164 | |
6793 | | | 7165 | |
6794 | | | 7166 | |
6795 | : ${CONFIG_STATUS=./config.status} | | 7167 | : "${CONFIG_STATUS=./config.status}" |
6796 | ac_write_fail=0 | | 7168 | ac_write_fail=0 |
6797 | ac_clean_files_save=$ac_clean_files | | 7169 | ac_clean_files_save=$ac_clean_files |
6798 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | | 7170 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6799 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | | 7171 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
6800 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | | 7172 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6801 | as_write_fail=0 | | 7173 | as_write_fail=0 |
6802 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | | 7174 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
6803 | #! $SHELL | | 7175 | #! $SHELL |
6804 | # Generated by $as_me. | | 7176 | # Generated by $as_me. |
6805 | # Run this file to recreate the current configuration. | | 7177 | # Run this file to recreate the current configuration. |
6806 | # Compiler output produced by configure, useful for debugging | | 7178 | # Compiler output produced by configure, useful for debugging |
6807 | # configure, is in config.log if it exists. | | 7179 | # configure, is in config.log if it exists. |
6808 | | | 7180 | |
| @@ -6883,26 +7255,27 @@ if test "${PATH_SEPARATOR+set}" != set; | | | @@ -6883,26 +7255,27 @@ if test "${PATH_SEPARATOR+set}" != set; |
6883 | PATH_SEPARATOR=';' | | 7255 | PATH_SEPARATOR=';' |
6884 | } | | 7256 | } |
6885 | fi | | 7257 | fi |
6886 | | | 7258 | |
6887 | | | 7259 | |
6888 | # IFS | | 7260 | # IFS |
6889 | # We need space, tab and new line, in precisely that order. Quoting is | | 7261 | # We need space, tab and new line, in precisely that order. Quoting is |
6890 | # there to prevent editors from complaining about space-tab. | | 7262 | # there to prevent editors from complaining about space-tab. |
6891 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | | 7263 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
6892 | # splitting by setting IFS to empty value.) | | 7264 | # splitting by setting IFS to empty value.) |
6893 | IFS=" "" $as_nl" | | 7265 | IFS=" "" $as_nl" |
6894 | | | 7266 | |
6895 | # Find who we are. Look in the path if we contain no directory separator. | | 7267 | # Find who we are. Look in the path if we contain no directory separator. |
| | | 7268 | as_myself= |
6896 | case $0 in #(( | | 7269 | case $0 in #(( |
6897 | *[\\/]* ) as_myself=$0 ;; | | 7270 | *[\\/]* ) as_myself=$0 ;; |
6898 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | | 7271 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6899 | for as_dir in $PATH | | 7272 | for as_dir in $PATH |
6900 | do | | 7273 | do |
6901 | IFS=$as_save_IFS | | 7274 | IFS=$as_save_IFS |
6902 | test -z "$as_dir" && as_dir=. | | 7275 | test -z "$as_dir" && as_dir=. |
6903 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | | 7276 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6904 | done | | 7277 | done |
6905 | IFS=$as_save_IFS | | 7278 | IFS=$as_save_IFS |
6906 | | | 7279 | |
6907 | ;; | | 7280 | ;; |
6908 | esac | | 7281 | esac |
| @@ -6928,39 +7301,39 @@ PS1='$ ' | | | @@ -6928,39 +7301,39 @@ PS1='$ ' |
6928 | PS2='> ' | | 7301 | PS2='> ' |
6929 | PS4='+ ' | | 7302 | PS4='+ ' |
6930 | | | 7303 | |
6931 | # NLS nuisances. | | 7304 | # NLS nuisances. |
6932 | LC_ALL=C | | 7305 | LC_ALL=C |
6933 | export LC_ALL | | 7306 | export LC_ALL |
6934 | LANGUAGE=C | | 7307 | LANGUAGE=C |
6935 | export LANGUAGE | | 7308 | export LANGUAGE |
6936 | | | 7309 | |
6937 | # CDPATH. | | 7310 | # CDPATH. |
6938 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | | 7311 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6939 | | | 7312 | |
6940 | | | 7313 | |
6941 | # as_fn_error ERROR [LINENO LOG_FD] | | 7314 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
6942 | # --------------------------------- | | 7315 | # ---------------------------------------- |
6943 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | | 7316 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
6944 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | | 7317 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
6945 | # script with status $?, using 1 if that was 0. | | 7318 | # script with STATUS, using 1 if that was 0. |
6946 | as_fn_error () | | 7319 | as_fn_error () |
6947 | { | | 7320 | { |
6948 | as_status=$?; test $as_status -eq 0 && as_status=1 | | 7321 | as_status=$1; test $as_status -eq 0 && as_status=1 |
6949 | if test "$3"; then | | 7322 | if test "$4"; then |
6950 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | | 7323 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
6951 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | | 7324 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
6952 | fi | | 7325 | fi |
6953 | $as_echo "$as_me: error: $1" >&2 | | 7326 | $as_echo "$as_me: error: $2" >&2 |
6954 | as_fn_exit $as_status | | 7327 | as_fn_exit $as_status |
6955 | } # as_fn_error | | 7328 | } # as_fn_error |
6956 | | | 7329 | |
6957 | | | 7330 | |
6958 | # as_fn_set_status STATUS | | 7331 | # as_fn_set_status STATUS |
6959 | # ----------------------- | | 7332 | # ----------------------- |
6960 | # Set $? to STATUS, without forking. | | 7333 | # Set $? to STATUS, without forking. |
6961 | as_fn_set_status () | | 7334 | as_fn_set_status () |
6962 | { | | 7335 | { |
6963 | return $1 | | 7336 | return $1 |
6964 | } # as_fn_set_status | | 7337 | } # as_fn_set_status |
6965 | | | 7338 | |
6966 | # as_fn_exit STATUS | | 7339 | # as_fn_exit STATUS |
| @@ -7136,27 +7509,27 @@ $as_echo X"$as_dir" | | | | @@ -7136,27 +7509,27 @@ $as_echo X"$as_dir" | |
7136 | } | | 7509 | } |
7137 | /^X\(\/\/\)$/{ | | 7510 | /^X\(\/\/\)$/{ |
7138 | s//\1/ | | 7511 | s//\1/ |
7139 | q | | 7512 | q |
7140 | } | | 7513 | } |
7141 | /^X\(\/\).*/{ | | 7514 | /^X\(\/\).*/{ |
7142 | s//\1/ | | 7515 | s//\1/ |
7143 | q | | 7516 | q |
7144 | } | | 7517 | } |
7145 | s/.*/./; q'` | | 7518 | s/.*/./; q'` |
7146 | test -d "$as_dir" && break | | 7519 | test -d "$as_dir" && break |
7147 | done | | 7520 | done |
7148 | test -z "$as_dirs" || eval "mkdir $as_dirs" | | 7521 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
7149 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | | 7522 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
7150 | | | 7523 | |
7151 | | | 7524 | |
7152 | } # as_fn_mkdir_p | | 7525 | } # as_fn_mkdir_p |
7153 | if mkdir -p . 2>/dev/null; then | | 7526 | if mkdir -p . 2>/dev/null; then |
7154 | as_mkdir_p='mkdir -p "$as_dir"' | | 7527 | as_mkdir_p='mkdir -p "$as_dir"' |
7155 | else | | 7528 | else |
7156 | test -d ./-p && rmdir ./-p | | 7529 | test -d ./-p && rmdir ./-p |
7157 | as_mkdir_p=false | | 7530 | as_mkdir_p=false |
7158 | fi | | 7531 | fi |
7159 | | | 7532 | |
7160 | if test -x / >/dev/null 2>&1; then | | 7533 | if test -x / >/dev/null 2>&1; then |
7161 | as_test_x='test -x' | | 7534 | as_test_x='test -x' |
7162 | else | | 7535 | else |
| @@ -7190,27 +7563,27 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr | | | @@ -7190,27 +7563,27 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr |
7190 | exec 6>&1 | | 7563 | exec 6>&1 |
7191 | ## ----------------------------------- ## | | 7564 | ## ----------------------------------- ## |
7192 | ## Main body of $CONFIG_STATUS script. ## | | 7565 | ## Main body of $CONFIG_STATUS script. ## |
7193 | ## ----------------------------------- ## | | 7566 | ## ----------------------------------- ## |
7194 | _ASEOF | | 7567 | _ASEOF |
7195 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | | 7568 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
7196 | | | 7569 | |
7197 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 7570 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7198 | # Save the log message, to keep $0 and so on meaningful, and to | | 7571 | # Save the log message, to keep $0 and so on meaningful, and to |
7199 | # report actual input values of CONFIG_FILES etc. instead of their | | 7572 | # report actual input values of CONFIG_FILES etc. instead of their |
7200 | # values after options handling. | | 7573 | # values after options handling. |
7201 | ac_log=" | | 7574 | ac_log=" |
7202 | This file was extended by libnbcompat $as_me 20080605, which was | | 7575 | This file was extended by libnbcompat $as_me 20080605, which was |
7203 | generated by GNU Autoconf 2.65. Invocation command line was | | 7576 | generated by GNU Autoconf 2.68. Invocation command line was |
7204 | | | 7577 | |
7205 | CONFIG_FILES = $CONFIG_FILES | | 7578 | CONFIG_FILES = $CONFIG_FILES |
7206 | CONFIG_HEADERS = $CONFIG_HEADERS | | 7579 | CONFIG_HEADERS = $CONFIG_HEADERS |
7207 | CONFIG_LINKS = $CONFIG_LINKS | | 7580 | CONFIG_LINKS = $CONFIG_LINKS |
7208 | CONFIG_COMMANDS = $CONFIG_COMMANDS | | 7581 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
7209 | $ $0 $@ | | 7582 | $ $0 $@ |
7210 | | | 7583 | |
7211 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | | 7584 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
7212 | " | | 7585 | " |
7213 | | | 7586 | |
7214 | _ACEOF | | 7587 | _ACEOF |
7215 | | | 7588 | |
7216 | case $ac_config_files in *" | | 7589 | case $ac_config_files in *" |
| @@ -7252,94 +7625,100 @@ Usage: $0 [OPTION]... [TAG]... | | | @@ -7252,94 +7625,100 @@ Usage: $0 [OPTION]... [TAG]... |
7252 | Configuration files: | | 7625 | Configuration files: |
7253 | $config_files | | 7626 | $config_files |
7254 | | | 7627 | |
7255 | Configuration headers: | | 7628 | Configuration headers: |
7256 | $config_headers | | 7629 | $config_headers |
7257 | | | 7630 | |
7258 | Report bugs to <grant@NetBSD.org>." | | 7631 | Report bugs to <grant@NetBSD.org>." |
7259 | | | 7632 | |
7260 | _ACEOF | | 7633 | _ACEOF |
7261 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | | 7634 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7262 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | | 7635 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7263 | ac_cs_version="\\ | | 7636 | ac_cs_version="\\ |
7264 | libnbcompat config.status 20080605 | | 7637 | libnbcompat config.status 20080605 |
7265 | configured by $0, generated by GNU Autoconf 2.65, | | 7638 | configured by $0, generated by GNU Autoconf 2.68, |
7266 | with options \\"\$ac_cs_config\\" | | 7639 | with options \\"\$ac_cs_config\\" |
7267 | | | 7640 | |
7268 | Copyright (C) 2009 Free Software Foundation, Inc. | | 7641 | Copyright (C) 2010 Free Software Foundation, Inc. |
7269 | This config.status script is free software; the Free Software Foundation | | 7642 | This config.status script is free software; the Free Software Foundation |
7270 | gives unlimited permission to copy, distribute and modify it." | | 7643 | gives unlimited permission to copy, distribute and modify it." |
7271 | | | 7644 | |
7272 | ac_pwd='$ac_pwd' | | 7645 | ac_pwd='$ac_pwd' |
7273 | srcdir='$srcdir' | | 7646 | srcdir='$srcdir' |
7274 | INSTALL='$INSTALL' | | 7647 | INSTALL='$INSTALL' |
7275 | AWK='$AWK' | | 7648 | AWK='$AWK' |
7276 | test -n "\$AWK" || AWK=awk | | 7649 | test -n "\$AWK" || AWK=awk |
7277 | _ACEOF | | 7650 | _ACEOF |
7278 | | | 7651 | |
7279 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 7652 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7280 | # The default lists apply if the user does not specify any file. | | 7653 | # The default lists apply if the user does not specify any file. |
7281 | ac_need_defaults=: | | 7654 | ac_need_defaults=: |
7282 | while test $# != 0 | | 7655 | while test $# != 0 |
7283 | do | | 7656 | do |
7284 | case $1 in | | 7657 | case $1 in |
7285 | --*=*) | | 7658 | --*=?*) |
7286 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | | 7659 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
7287 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | | 7660 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
7288 | ac_shift=: | | 7661 | ac_shift=: |
7289 | ;; | | 7662 | ;; |
| | | 7663 | --*=) |
| | | 7664 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| | | 7665 | ac_optarg= |
| | | 7666 | ac_shift=: |
| | | 7667 | ;; |
7290 | *) | | 7668 | *) |
7291 | ac_option=$1 | | 7669 | ac_option=$1 |
7292 | ac_optarg=$2 | | 7670 | ac_optarg=$2 |
7293 | ac_shift=shift | | 7671 | ac_shift=shift |
7294 | ;; | | 7672 | ;; |
7295 | esac | | 7673 | esac |
7296 | | | 7674 | |
7297 | case $ac_option in | | 7675 | case $ac_option in |
7298 | # Handling of the options. | | 7676 | # Handling of the options. |
7299 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | | 7677 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
7300 | ac_cs_recheck=: ;; | | 7678 | ac_cs_recheck=: ;; |
7301 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | | 7679 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
7302 | $as_echo "$ac_cs_version"; exit ;; | | 7680 | $as_echo "$ac_cs_version"; exit ;; |
7303 | --config | --confi | --conf | --con | --co | --c ) | | 7681 | --config | --confi | --conf | --con | --co | --c ) |
7304 | $as_echo "$ac_cs_config"; exit ;; | | 7682 | $as_echo "$ac_cs_config"; exit ;; |
7305 | --debug | --debu | --deb | --de | --d | -d ) | | 7683 | --debug | --debu | --deb | --de | --d | -d ) |
7306 | debug=: ;; | | 7684 | debug=: ;; |
7307 | --file | --fil | --fi | --f ) | | 7685 | --file | --fil | --fi | --f ) |
7308 | $ac_shift | | 7686 | $ac_shift |
7309 | case $ac_optarg in | | 7687 | case $ac_optarg in |
7310 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | | 7688 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 7689 | '') as_fn_error $? "missing file argument" ;; |
7311 | esac | | 7690 | esac |
7312 | as_fn_append CONFIG_FILES " '$ac_optarg'" | | 7691 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
7313 | ac_need_defaults=false;; | | 7692 | ac_need_defaults=false;; |
7314 | --header | --heade | --head | --hea ) | | 7693 | --header | --heade | --head | --hea ) |
7315 | $ac_shift | | 7694 | $ac_shift |
7316 | case $ac_optarg in | | 7695 | case $ac_optarg in |
7317 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | | 7696 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
7318 | esac | | 7697 | esac |
7319 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | | 7698 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
7320 | ac_need_defaults=false;; | | 7699 | ac_need_defaults=false;; |
7321 | --he | --h) | | 7700 | --he | --h) |
7322 | # Conflict between --help and --header | | 7701 | # Conflict between --help and --header |
7323 | as_fn_error "ambiguous option: \`$1' | | 7702 | as_fn_error $? "ambiguous option: \`$1' |
7324 | Try \`$0 --help' for more information.";; | | 7703 | Try \`$0 --help' for more information.";; |
7325 | --help | --hel | -h ) | | 7704 | --help | --hel | -h ) |
7326 | $as_echo "$ac_cs_usage"; exit ;; | | 7705 | $as_echo "$ac_cs_usage"; exit ;; |
7327 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | | 7706 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7328 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | | 7707 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
7329 | ac_cs_silent=: ;; | | 7708 | ac_cs_silent=: ;; |
7330 | | | 7709 | |
7331 | # This is an error. | | 7710 | # This is an error. |
7332 | -*) as_fn_error "unrecognized option: \`$1' | | 7711 | -*) as_fn_error $? "unrecognized option: \`$1' |
7333 | Try \`$0 --help' for more information." ;; | | 7712 | Try \`$0 --help' for more information." ;; |
7334 | | | 7713 | |
7335 | *) as_fn_append ac_config_targets " $1" | | 7714 | *) as_fn_append ac_config_targets " $1" |
7336 | ac_need_defaults=false ;; | | 7715 | ac_need_defaults=false ;; |
7337 | | | 7716 | |
7338 | esac | | 7717 | esac |
7339 | shift | | 7718 | shift |
7340 | done | | 7719 | done |
7341 | | | 7720 | |
7342 | ac_configure_extra_args= | | 7721 | ac_configure_extra_args= |
7343 | | | 7722 | |
7344 | if $ac_cs_silent; then | | 7723 | if $ac_cs_silent; then |
7345 | exec 6>/dev/null | | 7724 | exec 6>/dev/null |
| @@ -7371,114 +7750,116 @@ _ASBOX | | | @@ -7371,114 +7750,116 @@ _ASBOX |
7371 | _ACEOF | | 7750 | _ACEOF |
7372 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | | 7751 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7373 | _ACEOF | | 7752 | _ACEOF |
7374 | | | 7753 | |
7375 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 7754 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7376 | | | 7755 | |
7377 | # Handling of arguments. | | 7756 | # Handling of arguments. |
7378 | for ac_config_target in $ac_config_targets | | 7757 | for ac_config_target in $ac_config_targets |
7379 | do | | 7758 | do |
7380 | case $ac_config_target in | | 7759 | case $ac_config_target in |
7381 | "nbcompat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;; | | 7760 | "nbcompat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;; |
7382 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | | 7761 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
7383 | | | 7762 | |
7384 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | | 7763 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
7385 | esac | | 7764 | esac |
7386 | done | | 7765 | done |
7387 | | | 7766 | |
7388 | | | 7767 | |
7389 | # If the user did not use the arguments to specify the items to instantiate, | | 7768 | # If the user did not use the arguments to specify the items to instantiate, |
7390 | # then the envvar interface is used. Set only those that are not. | | 7769 | # then the envvar interface is used. Set only those that are not. |
7391 | # We use the long form for the default assignment because of an extremely | | 7770 | # We use the long form for the default assignment because of an extremely |
7392 | # bizarre bug on SunOS 4.1.3. | | 7771 | # bizarre bug on SunOS 4.1.3. |
7393 | if $ac_need_defaults; then | | 7772 | if $ac_need_defaults; then |
7394 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | | 7773 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
7395 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | | 7774 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
7396 | fi | | 7775 | fi |
7397 | | | 7776 | |
7398 | # Have a temporary directory for convenience. Make it in the build tree | | 7777 | # Have a temporary directory for convenience. Make it in the build tree |
7399 | # simply because there is no reason against having it here, and in addition, | | 7778 | # simply because there is no reason against having it here, and in addition, |
7400 | # creating and moving files from /tmp can sometimes cause problems. | | 7779 | # creating and moving files from /tmp can sometimes cause problems. |
7401 | # Hook for its removal unless debugging. | | 7780 | # Hook for its removal unless debugging. |
7402 | # Note that there is a small window in which the directory will not be cleaned: | | 7781 | # Note that there is a small window in which the directory will not be cleaned: |
7403 | # after its creation but before its name has been assigned to `$tmp'. | | 7782 | # after its creation but before its name has been assigned to `$tmp'. |
7404 | $debug || | | 7783 | $debug || |
7405 | { | | 7784 | { |
7406 | tmp= | | 7785 | tmp= ac_tmp= |
7407 | trap 'exit_status=$? | | 7786 | trap 'exit_status=$? |
7408 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | | 7787 | : "${ac_tmp:=$tmp}" |
| | | 7788 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
7409 | ' 0 | | 7789 | ' 0 |
7410 | trap 'as_fn_exit 1' 1 2 13 15 | | 7790 | trap 'as_fn_exit 1' 1 2 13 15 |
7411 | } | | 7791 | } |
7412 | # Create a (secure) tmp directory for tmp files. | | 7792 | # Create a (secure) tmp directory for tmp files. |
7413 | | | 7793 | |
7414 | { | | 7794 | { |
7415 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | | 7795 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
7416 | test -n "$tmp" && test -d "$tmp" | | 7796 | test -d "$tmp" |
7417 | } || | | 7797 | } || |
7418 | { | | 7798 | { |
7419 | tmp=./conf$$-$RANDOM | | 7799 | tmp=./conf$$-$RANDOM |
7420 | (umask 077 && mkdir "$tmp") | | 7800 | (umask 077 && mkdir "$tmp") |
7421 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | | 7801 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| | | 7802 | ac_tmp=$tmp |
7422 | | | 7803 | |
7423 | # Set up the scripts for CONFIG_FILES section. | | 7804 | # Set up the scripts for CONFIG_FILES section. |
7424 | # No need to generate them if there are no CONFIG_FILES. | | 7805 | # No need to generate them if there are no CONFIG_FILES. |
7425 | # This happens for instance with `./config.status config.h'. | | 7806 | # This happens for instance with `./config.status config.h'. |
7426 | if test -n "$CONFIG_FILES"; then | | 7807 | if test -n "$CONFIG_FILES"; then |
7427 | | | 7808 | |
7428 | | | 7809 | |
7429 | ac_cr=`echo X | tr X '\015'` | | 7810 | ac_cr=`echo X | tr X '\015'` |
7430 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | | 7811 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
7431 | # But we know of no other shell where ac_cr would be empty at this | | 7812 | # But we know of no other shell where ac_cr would be empty at this |
7432 | # point, so we can use a bashism as a fallback. | | 7813 | # point, so we can use a bashism as a fallback. |
7433 | if test "x$ac_cr" = x; then | | 7814 | if test "x$ac_cr" = x; then |
7434 | eval ac_cr=\$\'\\r\' | | 7815 | eval ac_cr=\$\'\\r\' |
7435 | fi | | 7816 | fi |
7436 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | | 7817 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
7437 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | | 7818 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
7438 | ac_cs_awk_cr='\r' | | 7819 | ac_cs_awk_cr='\\r' |
7439 | else | | 7820 | else |
7440 | ac_cs_awk_cr=$ac_cr | | 7821 | ac_cs_awk_cr=$ac_cr |
7441 | fi | | 7822 | fi |
7442 | | | 7823 | |
7443 | echo 'BEGIN {' >"$tmp/subs1.awk" && | | 7824 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
7444 | _ACEOF | | 7825 | _ACEOF |
7445 | | | 7826 | |
7446 | | | 7827 | |
7447 | { | | 7828 | { |
7448 | echo "cat >conf$$subs.awk <<_ACEOF" && | | 7829 | echo "cat >conf$$subs.awk <<_ACEOF" && |
7449 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | | 7830 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
7450 | echo "_ACEOF" | | 7831 | echo "_ACEOF" |
7451 | } >conf$$subs.sh || | | 7832 | } >conf$$subs.sh || |
7452 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | | 7833 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
7453 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | | 7834 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
7454 | ac_delim='%!_!# ' | | 7835 | ac_delim='%!_!# ' |
7455 | for ac_last_try in false false false false false :; do | | 7836 | for ac_last_try in false false false false false :; do |
7456 | . ./conf$$subs.sh || | | 7837 | . ./conf$$subs.sh || |
7457 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | | 7838 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
7458 | | | 7839 | |
7459 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | | 7840 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
7460 | if test $ac_delim_n = $ac_delim_num; then | | 7841 | if test $ac_delim_n = $ac_delim_num; then |
7461 | break | | 7842 | break |
7462 | elif $ac_last_try; then | | 7843 | elif $ac_last_try; then |
7463 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | | 7844 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
7464 | else | | 7845 | else |
7465 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | | 7846 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
7466 | fi | | 7847 | fi |
7467 | done | | 7848 | done |
7468 | rm -f conf$$subs.sh | | 7849 | rm -f conf$$subs.sh |
7469 | | | 7850 | |
7470 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | | 7851 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7471 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | | 7852 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
7472 | _ACEOF | | 7853 | _ACEOF |
7473 | sed -n ' | | 7854 | sed -n ' |
7474 | h | | 7855 | h |
7475 | s/^/S["/; s/!.*/"]=/ | | 7856 | s/^/S["/; s/!.*/"]=/ |
7476 | p | | 7857 | p |
7477 | g | | 7858 | g |
7478 | s/^[^!]*!// | | 7859 | s/^[^!]*!// |
7479 | :repl | | 7860 | :repl |
7480 | t repl | | 7861 | t repl |
7481 | s/'"$ac_delim"'$// | | 7862 | s/'"$ac_delim"'$// |
7482 | t delim | | 7863 | t delim |
7483 | :nl | | 7864 | :nl |
7484 | h | | 7865 | h |
| @@ -7506,27 +7887,27 @@ s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | | | @@ -7506,27 +7887,27 @@ s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
7506 | p | | 7887 | p |
7507 | g | | 7888 | g |
7508 | s/.\{148\}// | | 7889 | s/.\{148\}// |
7509 | t delim | | 7890 | t delim |
7510 | ' <conf$$subs.awk | sed ' | | 7891 | ' <conf$$subs.awk | sed ' |
7511 | /^[^""]/{ | | 7892 | /^[^""]/{ |
7512 | N | | 7893 | N |
7513 | s/\n// | | 7894 | s/\n// |
7514 | } | | 7895 | } |
7515 | ' >>$CONFIG_STATUS || ac_write_fail=1 | | 7896 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
7516 | rm -f conf$$subs.awk | | 7897 | rm -f conf$$subs.awk |
7517 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | | 7898 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7518 | _ACAWK | | 7899 | _ACAWK |
7519 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | | 7900 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
7520 | for (key in S) S_is_set[key] = 1 | | 7901 | for (key in S) S_is_set[key] = 1 |
7521 | FS = "" | | 7902 | FS = "" |
7522 | | | 7903 | |
7523 | } | | 7904 | } |
7524 | { | | 7905 | { |
7525 | line = $ 0 | | 7906 | line = $ 0 |
7526 | nfields = split(line, field, "@") | | 7907 | nfields = split(line, field, "@") |
7527 | substed = 0 | | 7908 | substed = 0 |
7528 | len = length(field[1]) | | 7909 | len = length(field[1]) |
7529 | for (i = 2; i < nfields; i++) { | | 7910 | for (i = 2; i < nfields; i++) { |
7530 | key = field[i] | | 7911 | key = field[i] |
7531 | keylen = length(key) | | 7912 | keylen = length(key) |
7532 | if (S_is_set[key]) { | | 7913 | if (S_is_set[key]) { |
| @@ -7538,69 +7919,77 @@ cat >>"\$tmp/subs1.awk" <<_ACAWK && | | | @@ -7538,69 +7919,77 @@ cat >>"\$tmp/subs1.awk" <<_ACAWK && |
7538 | len += 1 + keylen | | 7919 | len += 1 + keylen |
7539 | } | | 7920 | } |
7540 | | | 7921 | |
7541 | print line | | 7922 | print line |
7542 | } | | 7923 | } |
7543 | | | 7924 | |
7544 | _ACAWK | | 7925 | _ACAWK |
7545 | _ACEOF | | 7926 | _ACEOF |
7546 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 7927 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7547 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | | 7928 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
7548 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | | 7929 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
7549 | else | | 7930 | else |
7550 | cat | | 7931 | cat |
7551 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | | 7932 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
7552 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | | 7933 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
7553 | _ACEOF | | 7934 | _ACEOF |
7554 | | | 7935 | |
7555 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | | 7936 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
7556 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | | 7937 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
7557 | # trailing colons and then remove the whole line if VPATH becomes empty | | 7938 | # trailing colons and then remove the whole line if VPATH becomes empty |
7558 | # (actually we leave an empty line to preserve line numbers). | | 7939 | # (actually we leave an empty line to preserve line numbers). |
7559 | if test "x$srcdir" = x.; then | | 7940 | if test "x$srcdir" = x.; then |
7560 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | | 7941 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
7561 | s/:*\$(srcdir):*/:/ | | 7942 | h |
7562 | s/:*\${srcdir}:*/:/ | | 7943 | s/// |
7563 | s/:*@srcdir@:*/:/ | | 7944 | s/^/:/ |
7564 | s/^\([^=]*=[ ]*\):*/\1/ | | 7945 | s/[ ]*$/:/ |
| | | 7946 | s/:\$(srcdir):/:/g |
| | | 7947 | s/:\${srcdir}:/:/g |
| | | 7948 | s/:@srcdir@:/:/g |
| | | 7949 | s/^:*// |
7565 | s/:*$// | | 7950 | s/:*$// |
| | | 7951 | x |
| | | 7952 | s/\(=[ ]*\).*/\1/ |
| | | 7953 | G |
| | | 7954 | s/\n// |
7566 | s/^[^=]*=[ ]*$// | | 7955 | s/^[^=]*=[ ]*$// |
7567 | }' | | 7956 | }' |
7568 | fi | | 7957 | fi |
7569 | | | 7958 | |
7570 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 7959 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7571 | fi # test -n "$CONFIG_FILES" | | 7960 | fi # test -n "$CONFIG_FILES" |
7572 | | | 7961 | |
7573 | # Set up the scripts for CONFIG_HEADERS section. | | 7962 | # Set up the scripts for CONFIG_HEADERS section. |
7574 | # No need to generate them if there are no CONFIG_HEADERS. | | 7963 | # No need to generate them if there are no CONFIG_HEADERS. |
7575 | # This happens for instance with `./config.status Makefile'. | | 7964 | # This happens for instance with `./config.status Makefile'. |
7576 | if test -n "$CONFIG_HEADERS"; then | | 7965 | if test -n "$CONFIG_HEADERS"; then |
7577 | cat >"$tmp/defines.awk" <<\_ACAWK || | | 7966 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
7578 | BEGIN { | | 7967 | BEGIN { |
7579 | _ACEOF | | 7968 | _ACEOF |
7580 | | | 7969 | |
7581 | # Transform confdefs.h into an awk script `defines.awk', embedded as | | 7970 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
7582 | # here-document in config.status, that substitutes the proper values into | | 7971 | # here-document in config.status, that substitutes the proper values into |
7583 | # config.h.in to produce config.h. | | 7972 | # config.h.in to produce config.h. |
7584 | | | 7973 | |
7585 | # Create a delimiter string that does not exist in confdefs.h, to ease | | 7974 | # Create a delimiter string that does not exist in confdefs.h, to ease |
7586 | # handling of long lines. | | 7975 | # handling of long lines. |
7587 | ac_delim='%!_!# ' | | 7976 | ac_delim='%!_!# ' |
7588 | for ac_last_try in false false :; do | | 7977 | for ac_last_try in false false :; do |
7589 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | | 7978 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
7590 | if test -z "$ac_t"; then | | 7979 | if test -z "$ac_tt"; then |
7591 | break | | 7980 | break |
7592 | elif $ac_last_try; then | | 7981 | elif $ac_last_try; then |
7593 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | | 7982 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
7594 | else | | 7983 | else |
7595 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | | 7984 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
7596 | fi | | 7985 | fi |
7597 | done | | 7986 | done |
7598 | | | 7987 | |
7599 | # For the awk script, D is an array of macro values keyed by name, | | 7988 | # For the awk script, D is an array of macro values keyed by name, |
7600 | # likewise P contains macro parameters if any. Preserve backslash | | 7989 | # likewise P contains macro parameters if any. Preserve backslash |
7601 | # newline sequences. | | 7990 | # newline sequences. |
7602 | | | 7991 | |
7603 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | | 7992 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
7604 | sed -n ' | | 7993 | sed -n ' |
7605 | s/.\{148\}/&'"$ac_delim"'/g | | 7994 | s/.\{148\}/&'"$ac_delim"'/g |
7606 | t rset | | 7995 | t rset |
| @@ -7665,95 +8054,95 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ | | | @@ -7665,95 +8054,95 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ |
7665 | # Replace #undef with comments. This is necessary, for example, | | 8054 | # Replace #undef with comments. This is necessary, for example, |
7666 | # in the case of _POSIX_SOURCE, which is predefined and required | | 8055 | # in the case of _POSIX_SOURCE, which is predefined and required |
7667 | # on some systems where configure will not decide to define it. | | 8056 | # on some systems where configure will not decide to define it. |
7668 | if (defundef == "undef") { | | 8057 | if (defundef == "undef") { |
7669 | print "/*", prefix defundef, macro, "*/" | | 8058 | print "/*", prefix defundef, macro, "*/" |
7670 | next | | 8059 | next |
7671 | } | | 8060 | } |
7672 | } | | 8061 | } |
7673 | } | | 8062 | } |
7674 | { print } | | 8063 | { print } |
7675 | _ACAWK | | 8064 | _ACAWK |
7676 | _ACEOF | | 8065 | _ACEOF |
7677 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | | 8066 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7678 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | | 8067 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
7679 | fi # test -n "$CONFIG_HEADERS" | | 8068 | fi # test -n "$CONFIG_HEADERS" |
7680 | | | 8069 | |
7681 | | | 8070 | |
7682 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | | 8071 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
7683 | shift | | 8072 | shift |
7684 | for ac_tag | | 8073 | for ac_tag |
7685 | do | | 8074 | do |
7686 | case $ac_tag in | | 8075 | case $ac_tag in |
7687 | :[FHLC]) ac_mode=$ac_tag; continue;; | | 8076 | :[FHLC]) ac_mode=$ac_tag; continue;; |
7688 | esac | | 8077 | esac |
7689 | case $ac_mode$ac_tag in | | 8078 | case $ac_mode$ac_tag in |
7690 | :[FHL]*:*);; | | 8079 | :[FHL]*:*);; |
7691 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | | 8080 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
7692 | :[FH]-) ac_tag=-:-;; | | 8081 | :[FH]-) ac_tag=-:-;; |
7693 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | | 8082 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
7694 | esac | | 8083 | esac |
7695 | ac_save_IFS=$IFS | | 8084 | ac_save_IFS=$IFS |
7696 | IFS=: | | 8085 | IFS=: |
7697 | set x $ac_tag | | 8086 | set x $ac_tag |
7698 | IFS=$ac_save_IFS | | 8087 | IFS=$ac_save_IFS |
7699 | shift | | 8088 | shift |
7700 | ac_file=$1 | | 8089 | ac_file=$1 |
7701 | shift | | 8090 | shift |
7702 | | | 8091 | |
7703 | case $ac_mode in | | 8092 | case $ac_mode in |
7704 | :L) ac_source=$1;; | | 8093 | :L) ac_source=$1;; |
7705 | :[FH]) | | 8094 | :[FH]) |
7706 | ac_file_inputs= | | 8095 | ac_file_inputs= |
7707 | for ac_f | | 8096 | for ac_f |
7708 | do | | 8097 | do |
7709 | case $ac_f in | | 8098 | case $ac_f in |
7710 | -) ac_f="$tmp/stdin";; | | 8099 | -) ac_f="$ac_tmp/stdin";; |
7711 | *) # Look for the file first in the build tree, then in the source tree | | 8100 | *) # Look for the file first in the build tree, then in the source tree |
7712 | # (if the path is not absolute). The absolute path cannot be DOS-style, | | 8101 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
7713 | # because $ac_f cannot contain `:'. | | 8102 | # because $ac_f cannot contain `:'. |
7714 | test -f "$ac_f" || | | 8103 | test -f "$ac_f" || |
7715 | case $ac_f in | | 8104 | case $ac_f in |
7716 | [\\/$]*) false;; | | 8105 | [\\/$]*) false;; |
7717 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | | 8106 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
7718 | esac || | | 8107 | esac || |
7719 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | | 8108 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
7720 | esac | | 8109 | esac |
7721 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | | 8110 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
7722 | as_fn_append ac_file_inputs " '$ac_f'" | | 8111 | as_fn_append ac_file_inputs " '$ac_f'" |
7723 | done | | 8112 | done |
7724 | | | 8113 | |
7725 | # Let's still pretend it is `configure' which instantiates (i.e., don't | | 8114 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
7726 | # use $as_me), people would be surprised to read: | | 8115 | # use $as_me), people would be surprised to read: |
7727 | # /* config.h. Generated by config.status. */ | | 8116 | # /* config.h. Generated by config.status. */ |
7728 | configure_input='Generated from '` | | 8117 | configure_input='Generated from '` |
7729 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | | 8118 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
7730 | `' by configure.' | | 8119 | `' by configure.' |
7731 | if test x"$ac_file" != x-; then | | 8120 | if test x"$ac_file" != x-; then |
7732 | configure_input="$ac_file. $configure_input" | | 8121 | configure_input="$ac_file. $configure_input" |
7733 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | | 8122 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
7734 | $as_echo "$as_me: creating $ac_file" >&6;} | | 8123 | $as_echo "$as_me: creating $ac_file" >&6;} |
7735 | fi | | 8124 | fi |
7736 | # Neutralize special characters interpreted by sed in replacement strings. | | 8125 | # Neutralize special characters interpreted by sed in replacement strings. |
7737 | case $configure_input in #( | | 8126 | case $configure_input in #( |
7738 | *\&* | *\|* | *\\* ) | | 8127 | *\&* | *\|* | *\\* ) |
7739 | ac_sed_conf_input=`$as_echo "$configure_input" | | | 8128 | ac_sed_conf_input=`$as_echo "$configure_input" | |
7740 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | | 8129 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
7741 | *) ac_sed_conf_input=$configure_input;; | | 8130 | *) ac_sed_conf_input=$configure_input;; |
7742 | esac | | 8131 | esac |
7743 | | | 8132 | |
7744 | case $ac_tag in | | 8133 | case $ac_tag in |
7745 | *:-:* | *:-) cat >"$tmp/stdin" \ | | 8134 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
7746 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | | 8135 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
7747 | esac | | 8136 | esac |
7748 | ;; | | 8137 | ;; |
7749 | esac | | 8138 | esac |
7750 | | | 8139 | |
7751 | ac_dir=`$as_dirname -- "$ac_file" || | | 8140 | ac_dir=`$as_dirname -- "$ac_file" || |
7752 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 8141 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7753 | X"$ac_file" : 'X\(//\)[^/]' \| \ | | 8142 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
7754 | X"$ac_file" : 'X\(//\)$' \| \ | | 8143 | X"$ac_file" : 'X\(//\)$' \| \ |
7755 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | | 8144 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
7756 | $as_echo X"$ac_file" | | | 8145 | $as_echo X"$ac_file" | |
7757 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | | 8146 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7758 | s//\1/ | | 8147 | s//\1/ |
7759 | q | | 8148 | q |
| @@ -7863,95 +8252,96 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri | | | @@ -7863,95 +8252,96 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri |
7863 | s|@configure_input@|$ac_sed_conf_input|;t t | | 8252 | s|@configure_input@|$ac_sed_conf_input|;t t |
7864 | s&@top_builddir@&$ac_top_builddir_sub&;t t | | 8253 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
7865 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | | 8254 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
7866 | s&@srcdir@&$ac_srcdir&;t t | | 8255 | s&@srcdir@&$ac_srcdir&;t t |
7867 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | | 8256 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
7868 | s&@top_srcdir@&$ac_top_srcdir&;t t | | 8257 | s&@top_srcdir@&$ac_top_srcdir&;t t |
7869 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | | 8258 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7870 | s&@builddir@&$ac_builddir&;t t | | 8259 | s&@builddir@&$ac_builddir&;t t |
7871 | s&@abs_builddir@&$ac_abs_builddir&;t t | | 8260 | s&@abs_builddir@&$ac_abs_builddir&;t t |
7872 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | | 8261 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7873 | s&@INSTALL@&$ac_INSTALL&;t t | | 8262 | s&@INSTALL@&$ac_INSTALL&;t t |
7874 | $ac_datarootdir_hack | | 8263 | $ac_datarootdir_hack |
7875 | " | | 8264 | " |
7876 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | | 8265 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
7877 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | | 8266 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7878 | | | 8267 | |
7879 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | | 8268 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
7880 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | | 8269 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
7881 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | | 8270 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| | | 8271 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
7882 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | | 8272 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7883 | which seems to be undefined. Please make sure it is defined." >&5 | | 8273 | which seems to be undefined. Please make sure it is defined" >&5 |
7884 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | | 8274 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7885 | which seems to be undefined. Please make sure it is defined." >&2;} | | 8275 | which seems to be undefined. Please make sure it is defined" >&2;} |
7886 | | | 8276 | |
7887 | rm -f "$tmp/stdin" | | 8277 | rm -f "$ac_tmp/stdin" |
7888 | case $ac_file in | | 8278 | case $ac_file in |
7889 | -) cat "$tmp/out" && rm -f "$tmp/out";; | | 8279 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
7890 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | | 8280 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
7891 | esac \ | | 8281 | esac \ |
7892 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | | 8282 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7893 | ;; | | 8283 | ;; |
7894 | :H) | | 8284 | :H) |
7895 | # | | 8285 | # |
7896 | # CONFIG_HEADER | | 8286 | # CONFIG_HEADER |
7897 | # | | 8287 | # |
7898 | if test x"$ac_file" != x-; then | | 8288 | if test x"$ac_file" != x-; then |
7899 | { | | 8289 | { |
7900 | $as_echo "/* $configure_input */" \ | | 8290 | $as_echo "/* $configure_input */" \ |
7901 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | | 8291 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
7902 | } >"$tmp/config.h" \ | | 8292 | } >"$ac_tmp/config.h" \ |
7903 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | | 8293 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7904 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | | 8294 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
7905 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | | 8295 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7906 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | | 8296 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7907 | else | | 8297 | else |
7908 | rm -f "$ac_file" | | 8298 | rm -f "$ac_file" |
7909 | mv "$tmp/config.h" "$ac_file" \ | | 8299 | mv "$ac_tmp/config.h" "$ac_file" \ |
7910 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | | 8300 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7911 | fi | | 8301 | fi |
7912 | else | | 8302 | else |
7913 | $as_echo "/* $configure_input */" \ | | 8303 | $as_echo "/* $configure_input */" \ |
7914 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | | 8304 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
7915 | || as_fn_error "could not create -" "$LINENO" 5 | | 8305 | || as_fn_error $? "could not create -" "$LINENO" 5 |
7916 | fi | | 8306 | fi |
7917 | ;; | | 8307 | ;; |
7918 | | | 8308 | |
7919 | | | 8309 | |
7920 | esac | | 8310 | esac |
7921 | | | 8311 | |
7922 | done # for ac_tag | | 8312 | done # for ac_tag |
7923 | | | 8313 | |
7924 | | | 8314 | |
7925 | as_fn_exit 0 | | 8315 | as_fn_exit 0 |
7926 | _ACEOF | | 8316 | _ACEOF |
7927 | ac_clean_files=$ac_clean_files_save | | 8317 | ac_clean_files=$ac_clean_files_save |
7928 | | | 8318 | |
7929 | test $ac_write_fail = 0 || | | 8319 | test $ac_write_fail = 0 || |
7930 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | | 8320 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7931 | | | 8321 | |
7932 | | | 8322 | |
7933 | # configure is writing to config.log, and then calls config.status. | | 8323 | # configure is writing to config.log, and then calls config.status. |
7934 | # config.status does its own redirection, appending to config.log. | | 8324 | # config.status does its own redirection, appending to config.log. |
7935 | # Unfortunately, on DOS this fails, as config.log is still kept open | | 8325 | # Unfortunately, on DOS this fails, as config.log is still kept open |
7936 | # by configure, so config.status won't be able to write to it; its | | 8326 | # by configure, so config.status won't be able to write to it; its |
7937 | # output is simply discarded. So we exec the FD to /dev/null, | | 8327 | # output is simply discarded. So we exec the FD to /dev/null, |
7938 | # effectively closing config.log, so it can be properly (re)opened and | | 8328 | # effectively closing config.log, so it can be properly (re)opened and |
7939 | # appended to by config.status. When coming back to configure, we | | 8329 | # appended to by config.status. When coming back to configure, we |
7940 | # need to make the FD available again. | | 8330 | # need to make the FD available again. |
7941 | if test "$no_create" != yes; then | | 8331 | if test "$no_create" != yes; then |
7942 | ac_cs_success=: | | 8332 | ac_cs_success=: |
7943 | ac_config_status_args= | | 8333 | ac_config_status_args= |
7944 | test "$silent" = yes && | | 8334 | test "$silent" = yes && |
7945 | ac_config_status_args="$ac_config_status_args --quiet" | | 8335 | ac_config_status_args="$ac_config_status_args --quiet" |
7946 | exec 5>/dev/null | | 8336 | exec 5>/dev/null |
7947 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | | 8337 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7948 | exec 5>>config.log | | 8338 | exec 5>>config.log |
7949 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | | 8339 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7950 | # would make configure fail if this is the last instruction. | | 8340 | # would make configure fail if this is the last instruction. |
7951 | $ac_cs_success || as_fn_exit $? | | 8341 | $ac_cs_success || as_fn_exit 1 |
7952 | fi | | 8342 | fi |
7953 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | | 8343 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7954 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | | 8344 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
7955 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | | 8345 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7956 | fi | | 8346 | fi |
7957 | | | 8347 | |