comparison configure @ 104026:99fe3671cbc1

Regenerate with autoconf 2.62.
author Glenn Morris <rgm@gnu.org>
date Wed, 22 Jul 2009 02:55:17 +0000
parents 7bebd9bb90fc
children eb4193f4377b
comparison
equal deleted inserted replaced
104025:8e3613329929 104026:99fe3671cbc1
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.61 for emacs 23.1.50. 3 # Generated by GNU Autoconf 2.62 for emacs 23.1.50.
4 # 4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ## 9 ## --------------------- ##
10 ## M4sh Initialization. ## 10 ## M4sh Initialization. ##
11 ## --------------------- ## 11 ## --------------------- ##
13 # Be more Bourne compatible 13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh 14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh 16 emulate sh
17 NULLCMD=: 17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature. 19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"' 20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST 21 setopt NO_GLOB_SUBST
22 else 22 else
23 case `(set -o) 2>/dev/null` in 23 case `(set -o) 2>/dev/null` in
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789' 37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits 38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39 39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
40 # The user is always right. 72 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then 73 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh 74 PATH_SEPARATOR=:
43 echo "exit 0" >>conf$$.sh 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
44 chmod +x conf$$.sh 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 77 PATH_SEPARATOR=';'
46 PATH_SEPARATOR=';' 78 }
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51 fi 79 fi
52 80
53 # Support unset when possible. 81 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset 83 as_unset=unset
61 # IFS 89 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is 90 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab. 91 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.) 93 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" "" $as_nl" 94 IFS=" "" $as_nl"
69 95
70 # Find who we are. Look in the path if we contain no directory separator. 96 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in 97 case $0 in
72 *[\\/]* ) as_myself=$0 ;; 98 *[\\/]* ) as_myself=$0 ;;
85 # in which case we are not to be found in the path. 111 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then 112 if test "x$as_myself" = x; then
87 as_myself=$0 113 as_myself=$0
88 fi 114 fi
89 if test ! -f "$as_myself"; then 115 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; } 117 { (exit 1); exit 1; }
92 fi 118 fi
93 119
94 # Work around bugs in pre-3.0 UWIN ksh. 120 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH 121 for as_var in ENV MAIL MAILPATH
98 PS1='$ ' 124 PS1='$ '
99 PS2='> ' 125 PS2='> '
100 PS4='+ ' 126 PS4='+ '
101 127
102 # NLS nuisances. 128 # NLS nuisances.
103 for as_var in \ 129 LC_ALL=C
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 130 export LC_ALL
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 131 LANGUAGE=C
106 LC_TELEPHONE LC_TIME 132 export LANGUAGE
107 do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 fi
113 done
114 133
115 # Required to use basename. 134 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 && 135 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr 137 as_expr=expr
130 # Name of the executable. 149 # Name of the executable.
131 as_me=`$as_basename -- "$0" || 150 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \ 152 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" | 154 $as_echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 155 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/ 156 s//\1/
138 q 157 q
139 } 158 }
140 /^X\/\(\/\/\)$/{ 159 /^X\/\(\/\/\)$/{
156 as_have_required=yes 175 as_have_required=yes
157 else 176 else
158 as_have_required=no 177 as_have_required=no
159 fi 178 fi
160 179
161 if test $as_have_required = yes && (eval ": 180 if test $as_have_required = yes && (eval ":
162 (as_func_return () { 181 (as_func_return () {
163 (exit \$1) 182 (exit \$1)
164 } 183 }
165 as_func_success () { 184 as_func_success () {
166 as_func_return 0 185 as_func_return 0
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF 258 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh 260 emulate sh
242 NULLCMD=: 261 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature. 263 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"' 264 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST 265 setopt NO_GLOB_SUBST
247 else 266 else
248 case `(set -o) 2>/dev/null` in 267 case `(set -o) 2>/dev/null` in
259 as_have_required=yes 278 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF 279 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh 281 emulate sh
263 NULLCMD=: 282 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature. 284 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"' 285 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST 286 setopt NO_GLOB_SUBST
268 else 287 else
269 case `(set -o) 2>/dev/null` in 288 case `(set -o) 2>/dev/null` in
339 358
340 done 359 done
341 360
342 if test "x$CONFIG_SHELL" != x; then 361 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV 362 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done 364 done
346 export CONFIG_SHELL 365 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi 367 fi
349 368
350 369
351 if test $as_have_required = no; then 370 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the 371 echo This script requires a shell more modern than all the
411 echo positional parameters were not saved. 430 echo positional parameters were not saved.
412 fi 431 fi
413 432
414 test \$exitcode = 0") || { 433 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions. 434 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system, 435 echo Please tell bug-autoconf@gnu.org about your system,
417 echo including any error possibly output before this 436 echo including any error possibly output before this message.
418 echo message 437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
419 } 439 }
420 440
421 441
422 442
423 as_lineno_1=$LINENO 443 as_lineno_1=$LINENO
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop 470 t loop
451 s/-\n.*// 471 s/-\n.*//
452 ' >$as_me.lineno && 472 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" || 473 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; } 475 { (exit 1); exit 1; }; }
456 476
457 # Don't try to exec as it changes $[0], causing all sort of problems 477 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the 478 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this). 479 # original and so on. Autoconf is especially sensitive to this).
477 *) ECHO_C='\c';; 497 *) ECHO_C='\c';;
478 esac;; 498 esac;;
479 *) 499 *)
480 ECHO_N='-n';; 500 ECHO_N='-n';;
481 esac 501 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 && 502 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr 504 as_expr=expr
486 else 505 else
487 as_expr=false 506 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file 509 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then 510 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file 511 rm -f conf$$.dir/conf$$.file
493 else 512 else
494 rm -f conf$$.dir 513 rm -f conf$$.dir
495 mkdir conf$$.dir 514 mkdir conf$$.dir 2>/dev/null
496 fi 515 fi
497 echo >conf$$.file 516 if (echo >conf$$.file) 2>/dev/null; then
498 if ln -s conf$$.file conf$$ 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s' 518 as_ln_s='ln -s'
500 # ... but there are two gotchas: 519 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'. 522 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
505 as_ln_s='cp -p' 528 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then 529 fi
507 as_ln_s=ln
508 else 530 else
509 as_ln_s='cp -p' 531 as_ln_s='cp -p'
510 fi 532 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null 534 rmdir conf$$.dir 2>/dev/null
527 as_ls_L_option= 549 as_ls_L_option=
528 fi 550 fi
529 as_test_x=' 551 as_test_x='
530 eval sh -c '\'' 552 eval sh -c '\''
531 if test -d "$1"; then 553 if test -d "$1"; then
532 test -d "$1/."; 554 test -d "$1/.";
533 else 555 else
534 case $1 in 556 case $1 in
535 -*)set "./$1";; 557 -*)set "./$1";;
536 esac; 558 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi 560 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh 561 '\'' sh
540 ' 562 '
742 GNUSTEP_SYSTEM_LIBRARIES 764 GNUSTEP_SYSTEM_LIBRARIES
743 GNU_OBJC_CFLAGS 765 GNU_OBJC_CFLAGS
744 LIB_SRC_EXTRA_INSTALLABLES 766 LIB_SRC_EXTRA_INSTALLABLES
745 LTLIBOBJS' 767 LTLIBOBJS'
746 ac_subst_files='' 768 ac_subst_files=''
769 ac_user_opts='
770 enable_option_checking
771 with_pop
772 with_kerberos
773 with_kerberos5
774 with_hesiod
775 with_sound
776 with_sync_input
777 with_x_toolkit
778 with_xpm
779 with_jpeg
780 with_tiff
781 with_gif
782 with_png
783 with_rsvg
784 with_xft
785 with_libotf
786 with_m17n_flt
787 with_toolkit_scroll_bars
788 with_xaw3d
789 with_xim
790 with_ns
791 with_gpm
792 with_dbus
793 with_makeinfo
794 with_gtk
795 with_gcc
796 with_pkg_config_prog
797 with_gnustep_conf
798 enable_ns_self_contained
799 enable_asserts
800 enable_maintainer_mode
801 enable_locallisppath
802 enable_checking
803 enable_profiling
804 enable_largefile
805 with_x
806 '
747 ac_precious_vars='build_alias 807 ac_precious_vars='build_alias
748 host_alias 808 host_alias
749 target_alias 809 target_alias
750 CC 810 CC
751 CFLAGS 811 CFLAGS
757 817
758 818
759 # Initialize some variables set by options. 819 # Initialize some variables set by options.
760 ac_init_help= 820 ac_init_help=
761 ac_init_version=false 821 ac_init_version=false
822 ac_unrecognized_opts=
823 ac_unrecognized_sep=
762 # The variables have the same names as the options, with 824 # The variables have the same names as the options, with
763 # dashes changed to underlines. 825 # dashes changed to underlines.
764 cache_file=/dev/null 826 cache_file=/dev/null
765 exec_prefix=NONE 827 exec_prefix=NONE
766 no_create= 828 no_create=
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 917 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 918 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;; 919 datarootdir=$ac_optarg ;;
858 920
859 -disable-* | --disable-*) 921 -disable-* | --disable-*)
860 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 922 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names. 923 # Reject names that are not valid shell variable names.
862 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 925 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
864 { (exit 1); exit 1; }; } 926 { (exit 1); exit 1; }; }
865 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 927 ac_useropt_orig=$ac_useropt
866 eval enable_$ac_feature=no ;; 928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
930 *"
931 "enable_$ac_useropt"
932 "*) ;;
933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep=', ';;
935 esac
936 eval enable_$ac_useropt=no ;;
867 937
868 -docdir | --docdir | --docdi | --doc | --do) 938 -docdir | --docdir | --docdi | --doc | --do)
869 ac_prev=docdir ;; 939 ac_prev=docdir ;;
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
871 docdir=$ac_optarg ;; 941 docdir=$ac_optarg ;;
874 ac_prev=dvidir ;; 944 ac_prev=dvidir ;;
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
876 dvidir=$ac_optarg ;; 946 dvidir=$ac_optarg ;;
877 947
878 -enable-* | --enable-*) 948 -enable-* | --enable-*)
879 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names. 950 # Reject names that are not valid shell variable names.
881 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
883 { (exit 1); exit 1; }; } 953 { (exit 1); exit 1; }; }
884 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 954 ac_useropt_orig=$ac_useropt
885 eval enable_$ac_feature=\$ac_optarg ;; 955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
957 *"
958 "enable_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval enable_$ac_useropt=\$ac_optarg ;;
886 964
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 965 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 966 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889 | --exec | --exe | --ex) 967 | --exec | --exe | --ex)
890 ac_prev=exec_prefix ;; 968 ac_prev=exec_prefix ;;
1071 1149
1072 -version | --version | --versio | --versi | --vers | -V) 1150 -version | --version | --versio | --versi | --vers | -V)
1073 ac_init_version=: ;; 1151 ac_init_version=: ;;
1074 1152
1075 -with-* | --with-*) 1153 -with-* | --with-*)
1076 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1154 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names. 1155 # Reject names that are not valid shell variable names.
1078 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 { echo "$as_me: error: invalid package name: $ac_package" >&2 1157 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1080 { (exit 1); exit 1; }; } 1158 { (exit 1); exit 1; }; }
1081 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1159 ac_useropt_orig=$ac_useropt
1082 eval with_$ac_package=\$ac_optarg ;; 1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1162 *"
1163 "with_$ac_useropt"
1164 "*) ;;
1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep=', ';;
1167 esac
1168 eval with_$ac_useropt=\$ac_optarg ;;
1083 1169
1084 -without-* | --without-*) 1170 -without-* | --without-*)
1085 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086 # Reject names that are not valid shell variable names. 1172 # Reject names that are not valid shell variable names.
1087 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 { echo "$as_me: error: invalid package name: $ac_package" >&2 1174 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1089 { (exit 1); exit 1; }; } 1175 { (exit 1); exit 1; }; }
1090 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1176 ac_useropt_orig=$ac_useropt
1091 eval with_$ac_package=no ;; 1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1179 *"
1180 "with_$ac_useropt"
1181 "*) ;;
1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183 ac_unrecognized_sep=', ';;
1184 esac
1185 eval with_$ac_useropt=no ;;
1092 1186
1093 --x) 1187 --x)
1094 # Obsolete; use --with-x. 1188 # Obsolete; use --with-x.
1095 with_x=yes ;; 1189 with_x=yes ;;
1096 1190
1106 ac_prev=x_libraries ;; 1200 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1201 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1202 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;; 1203 x_libraries=$ac_optarg ;;
1110 1204
1111 -*) { echo "$as_me: error: unrecognized option: $ac_option 1205 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1112 Try \`$0 --help' for more information." >&2 1206 Try \`$0 --help' for more information." >&2
1113 { (exit 1); exit 1; }; } 1207 { (exit 1); exit 1; }; }
1114 ;; 1208 ;;
1115 1209
1116 *=*) 1210 *=*)
1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names. 1212 # Reject names that are not valid shell variable names.
1119 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1213 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1214 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121 { (exit 1); exit 1; }; } 1215 { (exit 1); exit 1; }; }
1122 eval $ac_envvar=\$ac_optarg 1216 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;; 1217 export $ac_envvar ;;
1124 1218
1125 *) 1219 *)
1126 # FIXME: should be removed in autoconf 3.0. 1220 # FIXME: should be removed in autoconf 3.0.
1127 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1224 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131 ;; 1225 ;;
1132 1226
1133 esac 1227 esac
1134 done 1228 done
1135 1229
1136 if test -n "$ac_prev"; then 1230 if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1231 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 { echo "$as_me: error: missing argument to $ac_option" >&2 1232 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1139 { (exit 1); exit 1; }; } 1233 { (exit 1); exit 1; }; }
1140 fi 1234 fi
1141 1235
1142 # Be sure to have absolute directory names. 1236 if test -n "$ac_unrecognized_opts"; then
1237 case $enable_option_checking in
1238 no) ;;
1239 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1240 { (exit 1); exit 1; }; } ;;
1241 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 esac
1243 fi
1244
1245 # Check all directory arguments for consistency.
1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1246 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144 datadir sysconfdir sharedstatedir localstatedir includedir \ 1247 datadir sysconfdir sharedstatedir localstatedir includedir \
1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146 libdir localedir mandir 1249 libdir localedir mandir
1147 do 1250 do
1148 eval ac_val=\$$ac_var 1251 eval ac_val=\$$ac_var
1252 # Remove trailing slashes.
1253 case $ac_val in
1254 */ )
1255 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1256 eval $ac_var=\$ac_val;;
1257 esac
1258 # Be sure to have absolute directory names.
1149 case $ac_val in 1259 case $ac_val in
1150 [\\/$]* | ?:[\\/]* ) continue;; 1260 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1261 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152 esac 1262 esac
1153 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1263 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1154 { (exit 1); exit 1; }; } 1264 { (exit 1); exit 1; }; }
1155 done 1265 done
1156 1266
1157 # There might be people who depend on the old broken behavior: `$host' 1267 # There might be people who depend on the old broken behavior: `$host'
1158 # used to hold the argument of --host etc. 1268 # used to hold the argument of --host etc.
1163 1273
1164 # FIXME: To remove some day. 1274 # FIXME: To remove some day.
1165 if test "x$host_alias" != x; then 1275 if test "x$host_alias" != x; then
1166 if test "x$build_alias" = x; then 1276 if test "x$build_alias" = x; then
1167 cross_compiling=maybe 1277 cross_compiling=maybe
1168 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1169 If a cross compiler is detected then cross compile mode will be used." >&2 1279 If a cross compiler is detected then cross compile mode will be used." >&2
1170 elif test "x$build_alias" != "x$host_alias"; then 1280 elif test "x$build_alias" != "x$host_alias"; then
1171 cross_compiling=yes 1281 cross_compiling=yes
1172 fi 1282 fi
1173 fi 1283 fi
1179 1289
1180 1290
1181 ac_pwd=`pwd` && test -n "$ac_pwd" && 1291 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182 ac_ls_di=`ls -di .` && 1292 ac_ls_di=`ls -di .` &&
1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1293 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184 { echo "$as_me: error: Working directory cannot be determined" >&2 1294 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1185 { (exit 1); exit 1; }; } 1295 { (exit 1); exit 1; }; }
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 { echo "$as_me: error: pwd does not report name of working directory" >&2 1297 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1188 { (exit 1); exit 1; }; } 1298 { (exit 1); exit 1; }; }
1189 1299
1190 1300
1191 # Find the source files, if location was not specified. 1301 # Find the source files, if location was not specified.
1192 if test -z "$srcdir"; then 1302 if test -z "$srcdir"; then
1193 ac_srcdir_defaulted=yes 1303 ac_srcdir_defaulted=yes
1194 # Try the directory containing this script, then the parent directory. 1304 # Try the directory containing this script, then the parent directory.
1195 ac_confdir=`$as_dirname -- "$0" || 1305 ac_confdir=`$as_dirname -- "$as_myself" ||
1196 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197 X"$0" : 'X\(//\)[^/]' \| \ 1307 X"$as_myself" : 'X\(//\)[^/]' \| \
1198 X"$0" : 'X\(//\)$' \| \ 1308 X"$as_myself" : 'X\(//\)$' \| \
1199 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1200 echo X"$0" | 1310 $as_echo X"$as_myself" |
1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 s//\1/ 1312 s//\1/
1203 q 1313 q
1204 } 1314 }
1205 /^X\(\/\/\)[^/].*/{ 1315 /^X\(\/\/\)[^/].*/{
1222 else 1332 else
1223 ac_srcdir_defaulted=no 1333 ac_srcdir_defaulted=no
1224 fi 1334 fi
1225 if test ! -r "$srcdir/$ac_unique_file"; then 1335 if test ! -r "$srcdir/$ac_unique_file"; then
1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1336 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1337 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1228 { (exit 1); exit 1; }; } 1338 { (exit 1); exit 1; }; }
1229 fi 1339 fi
1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 ac_abs_confdir=`( 1341 ac_abs_confdir=`(
1232 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1342 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1233 { (exit 1); exit 1; }; } 1343 { (exit 1); exit 1; }; }
1234 pwd)` 1344 pwd)`
1235 # When building in place, set srcdir=. 1345 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then 1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1237 srcdir=. 1347 srcdir=.
1276 -n, --no-create do not create output files 1386 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278 1388
1279 Installation directories: 1389 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX 1390 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix] 1391 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1283 [PREFIX] 1393 [PREFIX]
1284 1394
1285 By default, \`make install' will install all the files in 1395 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'. 1398 for instance \`--prefix=\$HOME'.
1289 1399
1290 For better control, use the options below. 1400 For better control, use the options below.
1291 1401
1292 Fine tuning of the installation directories: 1402 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin] 1403 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin] 1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec] 1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib] 1409 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include] 1410 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info] 1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man] 1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/emacs] 1417 --docdir=DIR documentation root [DATAROOTDIR/doc/emacs]
1308 --htmldir=DIR html documentation [DOCDIR] 1418 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR] 1419 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR] 1420 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR] 1421 --psdir=DIR ps documentation [DOCDIR]
1312 _ACEOF 1422 _ACEOF
1313 1423
1314 cat <<\_ACEOF 1424 cat <<\_ACEOF
1315 1425
1316 Program names: 1426 Program names:
1333 short | recursive ) echo "Configuration of emacs 23.1.50:";; 1443 short | recursive ) echo "Configuration of emacs 23.1.50:";;
1334 esac 1444 esac
1335 cat <<\_ACEOF 1445 cat <<\_ACEOF
1336 1446
1337 Optional Features: 1447 Optional Features:
1448 --disable-option-checking ignore unrecognized --enable/--with options
1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1340 --disable-ns-self-contained 1451 --disable-ns-self-contained
1341 disable self contained build under NeXTstep 1452 disable self contained build under NeXTstep
1342 --enable-asserts compile code with asserts enabled 1453 --enable-asserts compile code with asserts enabled
1411 fi 1522 fi
1412 1523
1413 if test "$ac_init_help" = "recursive"; then 1524 if test "$ac_init_help" = "recursive"; then
1414 # If there are subdirs, report their specific --help. 1525 # If there are subdirs, report their specific --help.
1415 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1526 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1416 test -d "$ac_dir" || continue 1527 test -d "$ac_dir" ||
1528 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1529 continue
1417 ac_builddir=. 1530 ac_builddir=.
1418 1531
1419 case "$ac_dir" in 1532 case "$ac_dir" in
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1421 *) 1534 *)
1422 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1535 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix. 1536 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1537 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in 1538 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 esac ;; 1541 esac ;;
1429 esac 1542 esac
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1568 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then 1569 elif test -f "$ac_srcdir/configure"; then
1457 echo && 1570 echo &&
1458 $SHELL "$ac_srcdir/configure" --help=recursive 1571 $SHELL "$ac_srcdir/configure" --help=recursive
1459 else 1572 else
1460 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1573 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1461 fi || ac_status=$? 1574 fi || ac_status=$?
1462 cd "$ac_pwd" || { ac_status=$?; break; } 1575 cd "$ac_pwd" || { ac_status=$?; break; }
1463 done 1576 done
1464 fi 1577 fi
1465 1578
1466 test -n "$ac_init_help" && exit $ac_status 1579 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then 1580 if $ac_init_version; then
1468 cat <<\_ACEOF 1581 cat <<\_ACEOF
1469 emacs configure 23.1.50 1582 emacs configure 23.1.50
1470 generated by GNU Autoconf 2.61 1583 generated by GNU Autoconf 2.62
1471 1584
1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1585 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1473 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1586 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation 1587 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it. 1588 gives unlimited permission to copy, distribute and modify it.
1476 _ACEOF 1589 _ACEOF
1477 exit 1590 exit
1478 fi 1591 fi
1479 cat >config.log <<_ACEOF 1592 cat >config.log <<_ACEOF
1480 This file contains any messages produced by compilers while 1593 This file contains any messages produced by compilers while
1481 running configure, to aid debugging if configure makes a mistake. 1594 running configure, to aid debugging if configure makes a mistake.
1482 1595
1483 It was created by emacs $as_me 23.1.50, which was 1596 It was created by emacs $as_me 23.1.50, which was
1484 generated by GNU Autoconf 2.61. Invocation command line was 1597 generated by GNU Autoconf 2.62. Invocation command line was
1485 1598
1486 $ $0 $@ 1599 $ $0 $@
1487 1600
1488 _ACEOF 1601 _ACEOF
1489 exec 5>>config.log 1602 exec 5>>config.log
1515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1516 for as_dir in $PATH 1629 for as_dir in $PATH
1517 do 1630 do
1518 IFS=$as_save_IFS 1631 IFS=$as_save_IFS
1519 test -z "$as_dir" && as_dir=. 1632 test -z "$as_dir" && as_dir=.
1520 echo "PATH: $as_dir" 1633 $as_echo "PATH: $as_dir"
1521 done 1634 done
1522 IFS=$as_save_IFS 1635 IFS=$as_save_IFS
1523 1636
1524 } >&5 1637 } >&5
1525 1638
1550 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1663 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1551 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1664 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1552 | -silent | --silent | --silen | --sile | --sil) 1665 | -silent | --silent | --silen | --sile | --sil)
1553 continue ;; 1666 continue ;;
1554 *\'*) 1667 *\'*)
1555 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1668 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1556 esac 1669 esac
1557 case $ac_pass in 1670 case $ac_pass in
1558 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1671 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1559 2) 1672 2)
1560 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1673 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1602 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1715 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1603 eval ac_val=\$$ac_var 1716 eval ac_val=\$$ac_var
1604 case $ac_val in #( 1717 case $ac_val in #(
1605 *${as_nl}*) 1718 *${as_nl}*)
1606 case $ac_var in #( 1719 case $ac_var in #(
1607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1720 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1721 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1609 esac 1722 esac
1610 case $ac_var in #( 1723 case $ac_var in #(
1611 _ | IFS | as_nl) ;; #( 1724 _ | IFS | as_nl) ;; #(
1725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1612 *) $as_unset $ac_var ;; 1726 *) $as_unset $ac_var ;;
1613 esac ;; 1727 esac ;;
1614 esac 1728 esac
1615 done 1729 done
1616 (set) 2>&1 | 1730 (set) 2>&1 |
1636 echo 1750 echo
1637 for ac_var in $ac_subst_vars 1751 for ac_var in $ac_subst_vars
1638 do 1752 do
1639 eval ac_val=\$$ac_var 1753 eval ac_val=\$$ac_var
1640 case $ac_val in 1754 case $ac_val in
1641 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1755 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1642 esac 1756 esac
1643 echo "$ac_var='\''$ac_val'\''" 1757 $as_echo "$ac_var='\''$ac_val'\''"
1644 done | sort 1758 done | sort
1645 echo 1759 echo
1646 1760
1647 if test -n "$ac_subst_files"; then 1761 if test -n "$ac_subst_files"; then
1648 cat <<\_ASBOX 1762 cat <<\_ASBOX
1653 echo 1767 echo
1654 for ac_var in $ac_subst_files 1768 for ac_var in $ac_subst_files
1655 do 1769 do
1656 eval ac_val=\$$ac_var 1770 eval ac_val=\$$ac_var
1657 case $ac_val in 1771 case $ac_val in
1658 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1772 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1659 esac 1773 esac
1660 echo "$ac_var='\''$ac_val'\''" 1774 $as_echo "$ac_var='\''$ac_val'\''"
1661 done | sort 1775 done | sort
1662 echo 1776 echo
1663 fi 1777 fi
1664 1778
1665 if test -s confdefs.h; then 1779 if test -s confdefs.h; then
1671 echo 1785 echo
1672 cat confdefs.h 1786 cat confdefs.h
1673 echo 1787 echo
1674 fi 1788 fi
1675 test "$ac_signal" != 0 && 1789 test "$ac_signal" != 0 &&
1676 echo "$as_me: caught signal $ac_signal" 1790 $as_echo "$as_me: caught signal $ac_signal"
1677 echo "$as_me: exit $exit_status" 1791 $as_echo "$as_me: exit $exit_status"
1678 } >&5 1792 } >&5
1679 rm -f core *.core core.conftest.* && 1793 rm -f core *.core core.conftest.* &&
1680 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1794 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1681 exit $exit_status 1795 exit $exit_status
1682 ' 0 1796 ' 0
1714 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1828 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1715 _ACEOF 1829 _ACEOF
1716 1830
1717 1831
1718 # Let the site file select an alternate cache file if it wants to. 1832 # Let the site file select an alternate cache file if it wants to.
1719 # Prefer explicitly selected file to automatically selected ones. 1833 # Prefer an explicitly selected file to automatically selected ones.
1834 ac_site_file1=NONE
1835 ac_site_file2=NONE
1720 if test -n "$CONFIG_SITE"; then 1836 if test -n "$CONFIG_SITE"; then
1721 set x "$CONFIG_SITE" 1837 ac_site_file1=$CONFIG_SITE
1722 elif test "x$prefix" != xNONE; then 1838 elif test "x$prefix" != xNONE; then
1723 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1839 ac_site_file1=$prefix/share/config.site
1724 else 1840 ac_site_file2=$prefix/etc/config.site
1725 set x "$ac_default_prefix/share/config.site" \ 1841 else
1726 "$ac_default_prefix/etc/config.site" 1842 ac_site_file1=$ac_default_prefix/share/config.site
1727 fi 1843 ac_site_file2=$ac_default_prefix/etc/config.site
1728 shift 1844 fi
1729 for ac_site_file 1845 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1730 do 1846 do
1847 test "x$ac_site_file" = xNONE && continue
1731 if test -r "$ac_site_file"; then 1848 if test -r "$ac_site_file"; then
1732 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1849 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1733 echo "$as_me: loading site script $ac_site_file" >&6;} 1850 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1734 sed 's/^/| /' "$ac_site_file" >&5 1851 sed 's/^/| /' "$ac_site_file" >&5
1735 . "$ac_site_file" 1852 . "$ac_site_file"
1736 fi 1853 fi
1737 done 1854 done
1738 1855
1739 if test -r "$cache_file"; then 1856 if test -r "$cache_file"; then
1740 # Some versions of bash will fail to source /dev/null (special 1857 # Some versions of bash will fail to source /dev/null (special
1741 # files actually), so we avoid doing that. 1858 # files actually), so we avoid doing that.
1742 if test -f "$cache_file"; then 1859 if test -f "$cache_file"; then
1743 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1860 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1744 echo "$as_me: loading cache $cache_file" >&6;} 1861 $as_echo "$as_me: loading cache $cache_file" >&6;}
1745 case $cache_file in 1862 case $cache_file in
1746 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1863 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1747 *) . "./$cache_file";; 1864 *) . "./$cache_file";;
1748 esac 1865 esac
1749 fi 1866 fi
1750 else 1867 else
1751 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1868 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1752 echo "$as_me: creating cache $cache_file" >&6;} 1869 $as_echo "$as_me: creating cache $cache_file" >&6;}
1753 >$cache_file 1870 >$cache_file
1754 fi 1871 fi
1755 1872
1756 ac_header_list="$ac_header_list sys/time.h" 1873 ac_header_list="$ac_header_list sys/time.h"
1757 ac_header_list="$ac_header_list unistd.h" 1874 ac_header_list="$ac_header_list unistd.h"
1764 eval ac_new_set=\$ac_env_${ac_var}_set 1881 eval ac_new_set=\$ac_env_${ac_var}_set
1765 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1882 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1766 eval ac_new_val=\$ac_env_${ac_var}_value 1883 eval ac_new_val=\$ac_env_${ac_var}_value
1767 case $ac_old_set,$ac_new_set in 1884 case $ac_old_set,$ac_new_set in
1768 set,) 1885 set,)
1769 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1886 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1770 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1887 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1771 ac_cache_corrupted=: ;; 1888 ac_cache_corrupted=: ;;
1772 ,set) 1889 ,set)
1773 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1890 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1774 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1891 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1775 ac_cache_corrupted=: ;; 1892 ac_cache_corrupted=: ;;
1776 ,);; 1893 ,);;
1777 *) 1894 *)
1778 if test "x$ac_old_val" != "x$ac_new_val"; then 1895 if test "x$ac_old_val" != "x$ac_new_val"; then
1779 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1896 # differences in whitespace do not lead to failure.
1780 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1897 ac_old_val_w=`echo x $ac_old_val`
1781 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1898 ac_new_val_w=`echo x $ac_new_val`
1782 echo "$as_me: former value: $ac_old_val" >&2;} 1899 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1783 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1900 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1784 echo "$as_me: current value: $ac_new_val" >&2;} 1901 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1785 ac_cache_corrupted=: 1902 ac_cache_corrupted=:
1903 else
1904 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1905 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1906 eval $ac_var=\$ac_old_val
1907 fi
1908 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1909 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1910 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1911 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1786 fi;; 1912 fi;;
1787 esac 1913 esac
1788 # Pass precious variables to config.status. 1914 # Pass precious variables to config.status.
1789 if test "$ac_new_set" = set; then 1915 if test "$ac_new_set" = set; then
1790 case $ac_new_val in 1916 case $ac_new_val in
1791 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1917 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1792 *) ac_arg=$ac_var=$ac_new_val ;; 1918 *) ac_arg=$ac_var=$ac_new_val ;;
1793 esac 1919 esac
1794 case " $ac_configure_args " in 1920 case " $ac_configure_args " in
1795 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1921 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1796 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1922 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1797 esac 1923 esac
1798 fi 1924 fi
1799 done 1925 done
1800 if $ac_cache_corrupted; then 1926 if $ac_cache_corrupted; then
1801 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1927 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1802 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1928 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1929 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1804 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1930 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1805 { (exit 1); exit 1; }; } 1931 { (exit 1); exit 1; }; }
1806 fi 1932 fi
1807 1933
1808 1934
1809 1935
1843 test "$program_prefix" != NONE && 1969 test "$program_prefix" != NONE &&
1844 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1970 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1845 # Use a double $ so make ignores it. 1971 # Use a double $ so make ignores it.
1846 test "$program_suffix" != NONE && 1972 test "$program_suffix" != NONE &&
1847 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1973 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1848 # Double any \ or $. echo might interpret backslashes. 1974 # Double any \ or $.
1849 # By default was `s,x,x', remove it if useless. 1975 # By default was `s,x,x', remove it if useless.
1850 cat <<\_ACEOF >conftest.sed 1976 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1851 s/[\\$]/&&/g;s/;s,x,x,$// 1977 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1852 _ACEOF
1853 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1854 rm -f conftest.sed
1855 1978
1856 1979
1857 lispdir='${datadir}/emacs/${version}/lisp' 1980 lispdir='${datadir}/emacs/${version}/lisp'
1858 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1981 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1859 '${datadir}/emacs/site-lisp' 1982 '${datadir}/emacs/site-lisp'
1972 l | lu | luc | luci | lucid ) val=lucid ;; 2095 l | lu | luc | luci | lucid ) val=lucid ;;
1973 a | at | ath | athe | athen | athena ) val=athena ;; 2096 a | at | ath | athe | athen | athena ) val=athena ;;
1974 m | mo | mot | moti | motif ) val=motif ;; 2097 m | mo | mot | moti | motif ) val=motif ;;
1975 g | gt | gtk ) val=gtk ;; 2098 g | gt | gtk ) val=gtk ;;
1976 * ) 2099 * )
1977 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; 2100 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
1978 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2101 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1979 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 2102 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
1980 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; 2103 $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
1981 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 2104 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
1982 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} 2105 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
1983 { (exit 1); exit 1; }; } 2106 { (exit 1); exit 1; }; }
1984 ;; 2107 ;;
1985 esac 2108 esac
2124 2247
2125 2248
2126 2249
2127 # Check whether --with-gtk was given. 2250 # Check whether --with-gtk was given.
2128 if test "${with_gtk+set}" = set; then 2251 if test "${with_gtk+set}" = set; then
2129 withval=$with_gtk; { { echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to 2252 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to
2130 specify a toolkit." >&5 2253 specify a toolkit." >&5
2131 echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to 2254 $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2132 specify a toolkit." >&2;} 2255 specify a toolkit." >&2;}
2133 { (exit 1); exit 1; }; } 2256 { (exit 1); exit 1; }; }
2134 fi 2257 fi
2135 2258
2136 2259
2137 2260
2138 # Check whether --with-gcc was given. 2261 # Check whether --with-gcc was given.
2139 if test "${with_gcc+set}" = set; then 2262 if test "${with_gcc+set}" = set; then
2140 withval=$with_gcc; { { echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment 2263 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment
2141 variable to specify a compiler." >&5 2264 variable to specify a compiler." >&5
2142 echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment 2265 $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2143 variable to specify a compiler." >&2;} 2266 variable to specify a compiler." >&2;}
2144 { (exit 1); exit 1; }; } 2267 { (exit 1); exit 1; }; }
2145 fi 2268 fi
2146 2269
2147 2270
2235 stringbytes) ac_gc_check_stringbytes=1 ;; 2358 stringbytes) ac_gc_check_stringbytes=1 ;;
2236 stringoverrun) ac_gc_check_string_overrun=1 ;; 2359 stringoverrun) ac_gc_check_string_overrun=1 ;;
2237 stringfreelist) ac_gc_check_string_free_list=1 ;; 2360 stringfreelist) ac_gc_check_string_free_list=1 ;;
2238 xmallocoverrun) ac_xmalloc_overrun=1 ;; 2361 xmallocoverrun) ac_xmalloc_overrun=1 ;;
2239 conslist) ac_gc_check_cons_list=1 ;; 2362 conslist) ac_gc_check_cons_list=1 ;;
2240 *) { { echo "$as_me:$LINENO: error: unknown check category $check" >&5 2363 *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5
2241 echo "$as_me: error: unknown check category $check" >&2;} 2364 $as_echo "$as_me: error: unknown check category $check" >&2;}
2242 { (exit 1); exit 1; }; } ;; 2365 { (exit 1); exit 1; }; } ;;
2243 esac 2366 esac
2244 done 2367 done
2245 IFS="$ac_save_IFS" 2368 IFS="$ac_save_IFS"
2246 2369
2325 esac 2448 esac
2326 2449
2327 #### Check if the source directory already has a configured system in it. 2450 #### Check if the source directory already has a configured system in it.
2328 if test `pwd` != `(cd ${srcdir} && pwd)` \ 2451 if test `pwd` != `(cd ${srcdir} && pwd)` \
2329 && test -f "${srcdir}/src/config.h" ; then 2452 && test -f "${srcdir}/src/config.h" ; then
2330 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 2453 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
2331 as a build directory right now; it has been configured in its own 2454 as a build directory right now; it has been configured in its own
2332 right. To configure in another directory as well, you MUST 2455 right. To configure in another directory as well, you MUST
2333 use GNU make. If you do not have GNU make, then you must 2456 use GNU make. If you do not have GNU make, then you must
2334 now do \`make distclean' in ${srcdir}, 2457 now do \`make distclean' in ${srcdir},
2335 and then run $0 again." >&5 2458 and then run $0 again." >&5
2336 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used 2459 $as_echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
2337 as a build directory right now; it has been configured in its own 2460 as a build directory right now; it has been configured in its own
2338 right. To configure in another directory as well, you MUST 2461 right. To configure in another directory as well, you MUST
2339 use GNU make. If you do not have GNU make, then you must 2462 use GNU make. If you do not have GNU make, then you must
2340 now do \`make distclean' in ${srcdir}, 2463 now do \`make distclean' in ${srcdir},
2341 and then run $0 again." >&2;} 2464 and then run $0 again." >&2;}
2361 ac_install_sh="$ac_aux_dir/shtool install -c" 2484 ac_install_sh="$ac_aux_dir/shtool install -c"
2362 break 2485 break
2363 fi 2486 fi
2364 done 2487 done
2365 if test -z "$ac_aux_dir"; then 2488 if test -z "$ac_aux_dir"; then
2366 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2489 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2367 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2490 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2368 { (exit 1); exit 1; }; } 2491 { (exit 1); exit 1; }; }
2369 fi 2492 fi
2370 2493
2371 # These three variables are undocumented and unsupported, 2494 # These three variables are undocumented and unsupported,
2372 # and are intended to be withdrawn in a future Autoconf release. 2495 # and are intended to be withdrawn in a future Autoconf release.
2377 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2500 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2378 2501
2379 2502
2380 # Make sure we can run config.sub. 2503 # Make sure we can run config.sub.
2381 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2504 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2382 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2505 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2383 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2506 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2384 { (exit 1); exit 1; }; } 2507 { (exit 1); exit 1; }; }
2385 2508
2386 { echo "$as_me:$LINENO: checking build system type" >&5 2509 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2387 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2510 $as_echo_n "checking build system type... " >&6; }
2388 if test "${ac_cv_build+set}" = set; then 2511 if test "${ac_cv_build+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6 2512 $as_echo_n "(cached) " >&6
2390 else 2513 else
2391 ac_build_alias=$build_alias 2514 ac_build_alias=$build_alias
2392 test "x$ac_build_alias" = x && 2515 test "x$ac_build_alias" = x &&
2393 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2516 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2394 test "x$ac_build_alias" = x && 2517 test "x$ac_build_alias" = x &&
2395 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2518 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2396 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2519 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2397 { (exit 1); exit 1; }; } 2520 { (exit 1); exit 1; }; }
2398 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2521 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2399 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2522 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2400 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2523 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2401 { (exit 1); exit 1; }; } 2524 { (exit 1); exit 1; }; }
2402 2525
2403 fi 2526 fi
2404 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2527 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2405 echo "${ECHO_T}$ac_cv_build" >&6; } 2528 $as_echo "$ac_cv_build" >&6; }
2406 case $ac_cv_build in 2529 case $ac_cv_build in
2407 *-*-*) ;; 2530 *-*-*) ;;
2408 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2531 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2409 echo "$as_me: error: invalid value of canonical build" >&2;} 2532 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2410 { (exit 1); exit 1; }; };; 2533 { (exit 1); exit 1; }; };;
2411 esac 2534 esac
2412 build=$ac_cv_build 2535 build=$ac_cv_build
2413 ac_save_IFS=$IFS; IFS='-' 2536 ac_save_IFS=$IFS; IFS='-'
2414 set x $ac_cv_build 2537 set x $ac_cv_build
2421 build_os=$* 2544 build_os=$*
2422 IFS=$ac_save_IFS 2545 IFS=$ac_save_IFS
2423 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2546 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2424 2547
2425 2548
2426 { echo "$as_me:$LINENO: checking host system type" >&5 2549 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2427 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2550 $as_echo_n "checking host system type... " >&6; }
2428 if test "${ac_cv_host+set}" = set; then 2551 if test "${ac_cv_host+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6 2552 $as_echo_n "(cached) " >&6
2430 else 2553 else
2431 if test "x$host_alias" = x; then 2554 if test "x$host_alias" = x; then
2432 ac_cv_host=$ac_cv_build 2555 ac_cv_host=$ac_cv_build
2433 else 2556 else
2434 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2557 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2435 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2558 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2436 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2559 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2437 { (exit 1); exit 1; }; } 2560 { (exit 1); exit 1; }; }
2438 fi 2561 fi
2439 2562
2440 fi 2563 fi
2441 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2564 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2442 echo "${ECHO_T}$ac_cv_host" >&6; } 2565 $as_echo "$ac_cv_host" >&6; }
2443 case $ac_cv_host in 2566 case $ac_cv_host in
2444 *-*-*) ;; 2567 *-*-*) ;;
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2568 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2446 echo "$as_me: error: invalid value of canonical host" >&2;} 2569 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2447 { (exit 1); exit 1; }; };; 2570 { (exit 1); exit 1; }; };;
2448 esac 2571 esac
2449 host=$ac_cv_host 2572 host=$ac_cv_host
2450 ac_save_IFS=$IFS; IFS='-' 2573 ac_save_IFS=$IFS; IFS='-'
2451 set x $ac_cv_host 2574 set x $ac_cv_host
2523 *-*-netbsd* ) 2646 *-*-netbsd* )
2524 opsys=netbsd 2647 opsys=netbsd
2525 if test -f /usr/lib/crti.o; then 2648 if test -f /usr/lib/crti.o; then
2526 2649
2527 cat >>confdefs.h <<\_ACEOF 2650 cat >>confdefs.h <<\_ACEOF
2528 #define HAVE_CRTIN 2651 #define HAVE_CRTIN /**/
2529 _ACEOF 2652 _ACEOF
2530 2653
2531 fi 2654 fi
2532 2655
2533 case "${canonical}" in 2656 case "${canonical}" in
2798 fi 2921 fi
2799 2922
2800 2923
2801 2924
2802 if test $unported = yes; then 2925 if test $unported = yes; then
2803 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 2926 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2804 Check \`etc/MACHINES' for recognized configuration names." >&5 2927 Check \`etc/MACHINES' for recognized configuration names." >&5
2805 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2928 $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2806 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2929 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2807 { (exit 1); exit 1; }; } 2930 { (exit 1); exit 1; }; }
2808 fi 2931 fi
2809 2932
2810 machfile="m/${machine}.h" 2933 machfile="m/${machine}.h"
2823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2825 if test -n "$ac_tool_prefix"; then 2948 if test -n "$ac_tool_prefix"; then
2826 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2949 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2827 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2950 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2828 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2952 $as_echo_n "checking for $ac_word... " >&6; }
2830 if test "${ac_cv_prog_CC+set}" = set; then 2953 if test "${ac_cv_prog_CC+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6 2954 $as_echo_n "(cached) " >&6
2832 else 2955 else
2833 if test -n "$CC"; then 2956 if test -n "$CC"; then
2834 ac_cv_prog_CC="$CC" # Let the user override the test. 2957 ac_cv_prog_CC="$CC" # Let the user override the test.
2835 else 2958 else
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 IFS=$as_save_IFS 2962 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=. 2963 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do 2964 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2966 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2967 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2 2968 break 2
2846 fi 2969 fi
2847 done 2970 done
2848 done 2971 done
2849 IFS=$as_save_IFS 2972 IFS=$as_save_IFS
2850 2973
2851 fi 2974 fi
2852 fi 2975 fi
2853 CC=$ac_cv_prog_CC 2976 CC=$ac_cv_prog_CC
2854 if test -n "$CC"; then 2977 if test -n "$CC"; then
2855 { echo "$as_me:$LINENO: result: $CC" >&5 2978 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2856 echo "${ECHO_T}$CC" >&6; } 2979 $as_echo "$CC" >&6; }
2857 else 2980 else
2858 { echo "$as_me:$LINENO: result: no" >&5 2981 { $as_echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6; } 2982 $as_echo "no" >&6; }
2860 fi 2983 fi
2861 2984
2862 2985
2863 fi 2986 fi
2864 if test -z "$ac_cv_prog_CC"; then 2987 if test -z "$ac_cv_prog_CC"; then
2865 ac_ct_CC=$CC 2988 ac_ct_CC=$CC
2866 # Extract the first word of "gcc", so it can be a program name with args. 2989 # Extract the first word of "gcc", so it can be a program name with args.
2867 set dummy gcc; ac_word=$2 2990 set dummy gcc; ac_word=$2
2868 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2992 $as_echo_n "checking for $ac_word... " >&6; }
2870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6 2994 $as_echo_n "(cached) " >&6
2872 else 2995 else
2873 if test -n "$ac_ct_CC"; then 2996 if test -n "$ac_ct_CC"; then
2874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2997 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2875 else 2998 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 IFS=$as_save_IFS 3002 IFS=$as_save_IFS
2880 test -z "$as_dir" && as_dir=. 3003 test -z "$as_dir" && as_dir=.
2881 for ac_exec_ext in '' $ac_executable_extensions; do 3004 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2883 ac_cv_prog_ac_ct_CC="gcc" 3006 ac_cv_prog_ac_ct_CC="gcc"
2884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 break 2 3008 break 2
2886 fi 3009 fi
2887 done 3010 done
2888 done 3011 done
2889 IFS=$as_save_IFS 3012 IFS=$as_save_IFS
2890 3013
2891 fi 3014 fi
2892 fi 3015 fi
2893 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3016 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2894 if test -n "$ac_ct_CC"; then 3017 if test -n "$ac_ct_CC"; then
2895 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3018 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2896 echo "${ECHO_T}$ac_ct_CC" >&6; } 3019 $as_echo "$ac_ct_CC" >&6; }
2897 else 3020 else
2898 { echo "$as_me:$LINENO: result: no" >&5 3021 { $as_echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6; } 3022 $as_echo "no" >&6; }
2900 fi 3023 fi
2901 3024
2902 if test "x$ac_ct_CC" = x; then 3025 if test "x$ac_ct_CC" = x; then
2903 CC="" 3026 CC=""
2904 else 3027 else
2905 case $cross_compiling:$ac_tool_warned in 3028 case $cross_compiling:$ac_tool_warned in
2906 yes:) 3029 yes:)
2907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3030 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2908 whose name does not start with the host triplet. If you think this 3031 whose name does not start with the host triplet. If you think this
2909 configuration is useful to you, please write to autoconf@gnu.org." >&5 3032 configuration is useful to you, please write to autoconf@gnu.org." >&5
2910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3033 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2911 whose name does not start with the host triplet. If you think this 3034 whose name does not start with the host triplet. If you think this
2912 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2913 ac_tool_warned=yes ;; 3036 ac_tool_warned=yes ;;
2914 esac 3037 esac
2915 CC=$ac_ct_CC 3038 CC=$ac_ct_CC
2920 3043
2921 if test -z "$CC"; then 3044 if test -z "$CC"; then
2922 if test -n "$ac_tool_prefix"; then 3045 if test -n "$ac_tool_prefix"; then
2923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3046 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2924 set dummy ${ac_tool_prefix}cc; ac_word=$2 3047 set dummy ${ac_tool_prefix}cc; ac_word=$2
2925 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3048 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3049 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test "${ac_cv_prog_CC+set}" = set; then 3050 if test "${ac_cv_prog_CC+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6 3051 $as_echo_n "(cached) " >&6
2929 else 3052 else
2930 if test -n "$CC"; then 3053 if test -n "$CC"; then
2931 ac_cv_prog_CC="$CC" # Let the user override the test. 3054 ac_cv_prog_CC="$CC" # Let the user override the test.
2932 else 3055 else
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 IFS=$as_save_IFS 3059 IFS=$as_save_IFS
2937 test -z "$as_dir" && as_dir=. 3060 test -z "$as_dir" && as_dir=.
2938 for ac_exec_ext in '' $ac_executable_extensions; do 3061 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_CC="${ac_tool_prefix}cc" 3063 ac_cv_prog_CC="${ac_tool_prefix}cc"
2941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3064 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 break 2 3065 break 2
2943 fi 3066 fi
2944 done 3067 done
2945 done 3068 done
2946 IFS=$as_save_IFS 3069 IFS=$as_save_IFS
2947 3070
2948 fi 3071 fi
2949 fi 3072 fi
2950 CC=$ac_cv_prog_CC 3073 CC=$ac_cv_prog_CC
2951 if test -n "$CC"; then 3074 if test -n "$CC"; then
2952 { echo "$as_me:$LINENO: result: $CC" >&5 3075 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2953 echo "${ECHO_T}$CC" >&6; } 3076 $as_echo "$CC" >&6; }
2954 else 3077 else
2955 { echo "$as_me:$LINENO: result: no" >&5 3078 { $as_echo "$as_me:$LINENO: result: no" >&5
2956 echo "${ECHO_T}no" >&6; } 3079 $as_echo "no" >&6; }
2957 fi 3080 fi
2958 3081
2959 3082
2960 fi 3083 fi
2961 fi 3084 fi
2962 if test -z "$CC"; then 3085 if test -z "$CC"; then
2963 # Extract the first word of "cc", so it can be a program name with args. 3086 # Extract the first word of "cc", so it can be a program name with args.
2964 set dummy cc; ac_word=$2 3087 set dummy cc; ac_word=$2
2965 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3089 $as_echo_n "checking for $ac_word... " >&6; }
2967 if test "${ac_cv_prog_CC+set}" = set; then 3090 if test "${ac_cv_prog_CC+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6 3091 $as_echo_n "(cached) " >&6
2969 else 3092 else
2970 if test -n "$CC"; then 3093 if test -n "$CC"; then
2971 ac_cv_prog_CC="$CC" # Let the user override the test. 3094 ac_cv_prog_CC="$CC" # Let the user override the test.
2972 else 3095 else
2973 ac_prog_rejected=no 3096 ac_prog_rejected=no
2981 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2982 ac_prog_rejected=yes 3105 ac_prog_rejected=yes
2983 continue 3106 continue
2984 fi 3107 fi
2985 ac_cv_prog_CC="cc" 3108 ac_cv_prog_CC="cc"
2986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 break 2 3110 break 2
2988 fi 3111 fi
2989 done 3112 done
2990 done 3113 done
2991 IFS=$as_save_IFS 3114 IFS=$as_save_IFS
3004 fi 3127 fi
3005 fi 3128 fi
3006 fi 3129 fi
3007 CC=$ac_cv_prog_CC 3130 CC=$ac_cv_prog_CC
3008 if test -n "$CC"; then 3131 if test -n "$CC"; then
3009 { echo "$as_me:$LINENO: result: $CC" >&5 3132 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3010 echo "${ECHO_T}$CC" >&6; } 3133 $as_echo "$CC" >&6; }
3011 else 3134 else
3012 { echo "$as_me:$LINENO: result: no" >&5 3135 { $as_echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6; } 3136 $as_echo "no" >&6; }
3014 fi 3137 fi
3015 3138
3016 3139
3017 fi 3140 fi
3018 if test -z "$CC"; then 3141 if test -z "$CC"; then
3019 if test -n "$ac_tool_prefix"; then 3142 if test -n "$ac_tool_prefix"; then
3020 for ac_prog in cl.exe 3143 for ac_prog in cl.exe
3021 do 3144 do
3022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3024 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3148 $as_echo_n "checking for $ac_word... " >&6; }
3026 if test "${ac_cv_prog_CC+set}" = set; then 3149 if test "${ac_cv_prog_CC+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6 3150 $as_echo_n "(cached) " >&6
3028 else 3151 else
3029 if test -n "$CC"; then 3152 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test. 3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3031 else 3154 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 IFS=$as_save_IFS 3158 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=. 3159 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do 3160 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3162 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2 3164 break 2
3042 fi 3165 fi
3043 done 3166 done
3044 done 3167 done
3045 IFS=$as_save_IFS 3168 IFS=$as_save_IFS
3046 3169
3047 fi 3170 fi
3048 fi 3171 fi
3049 CC=$ac_cv_prog_CC 3172 CC=$ac_cv_prog_CC
3050 if test -n "$CC"; then 3173 if test -n "$CC"; then
3051 { echo "$as_me:$LINENO: result: $CC" >&5 3174 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3052 echo "${ECHO_T}$CC" >&6; } 3175 $as_echo "$CC" >&6; }
3053 else 3176 else
3054 { echo "$as_me:$LINENO: result: no" >&5 3177 { $as_echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6; } 3178 $as_echo "no" >&6; }
3056 fi 3179 fi
3057 3180
3058 3181
3059 test -n "$CC" && break 3182 test -n "$CC" && break
3060 done 3183 done
3063 ac_ct_CC=$CC 3186 ac_ct_CC=$CC
3064 for ac_prog in cl.exe 3187 for ac_prog in cl.exe
3065 do 3188 do
3066 # Extract the first word of "$ac_prog", so it can be a program name with args. 3189 # Extract the first word of "$ac_prog", so it can be a program name with args.
3067 set dummy $ac_prog; ac_word=$2 3190 set dummy $ac_prog; ac_word=$2
3068 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3192 $as_echo_n "checking for $ac_word... " >&6; }
3070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6 3194 $as_echo_n "(cached) " >&6
3072 else 3195 else
3073 if test -n "$ac_ct_CC"; then 3196 if test -n "$ac_ct_CC"; then
3074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3075 else 3198 else
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 IFS=$as_save_IFS 3202 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=. 3203 test -z "$as_dir" && as_dir=.
3081 for ac_exec_ext in '' $ac_executable_extensions; do 3204 for ac_exec_ext in '' $ac_executable_extensions; do
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083 ac_cv_prog_ac_ct_CC="$ac_prog" 3206 ac_cv_prog_ac_ct_CC="$ac_prog"
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3207 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 break 2 3208 break 2
3086 fi 3209 fi
3087 done 3210 done
3088 done 3211 done
3089 IFS=$as_save_IFS 3212 IFS=$as_save_IFS
3090 3213
3091 fi 3214 fi
3092 fi 3215 fi
3093 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3094 if test -n "$ac_ct_CC"; then 3217 if test -n "$ac_ct_CC"; then
3095 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3218 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3096 echo "${ECHO_T}$ac_ct_CC" >&6; } 3219 $as_echo "$ac_ct_CC" >&6; }
3097 else 3220 else
3098 { echo "$as_me:$LINENO: result: no" >&5 3221 { $as_echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6; } 3222 $as_echo "no" >&6; }
3100 fi 3223 fi
3101 3224
3102 3225
3103 test -n "$ac_ct_CC" && break 3226 test -n "$ac_ct_CC" && break
3104 done 3227 done
3106 if test "x$ac_ct_CC" = x; then 3229 if test "x$ac_ct_CC" = x; then
3107 CC="" 3230 CC=""
3108 else 3231 else
3109 case $cross_compiling:$ac_tool_warned in 3232 case $cross_compiling:$ac_tool_warned in
3110 yes:) 3233 yes:)
3111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3234 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3112 whose name does not start with the host triplet. If you think this 3235 whose name does not start with the host triplet. If you think this
3113 configuration is useful to you, please write to autoconf@gnu.org." >&5 3236 configuration is useful to you, please write to autoconf@gnu.org." >&5
3114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3237 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3115 whose name does not start with the host triplet. If you think this 3238 whose name does not start with the host triplet. If you think this
3116 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3117 ac_tool_warned=yes ;; 3240 ac_tool_warned=yes ;;
3118 esac 3241 esac
3119 CC=$ac_ct_CC 3242 CC=$ac_ct_CC
3121 fi 3244 fi
3122 3245
3123 fi 3246 fi
3124 3247
3125 3248
3126 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3249 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3127 See \`config.log' for more details." >&5 3250 See \`config.log' for more details." >&5
3128 echo "$as_me: error: no acceptable C compiler found in \$PATH 3251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3129 See \`config.log' for more details." >&2;} 3252 See \`config.log' for more details." >&2;}
3130 { (exit 1); exit 1; }; } 3253 { (exit 1); exit 1; }; }
3131 3254
3132 # Provide some information about the compiler. 3255 # Provide some information about the compiler.
3133 echo "$as_me:$LINENO: checking for C compiler version" >&5 3256 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3134 ac_compiler=`set X $ac_compile; echo $2` 3257 set X $ac_compile
3258 ac_compiler=$2
3135 { (ac_try="$ac_compiler --version >&5" 3259 { (ac_try="$ac_compiler --version >&5"
3136 case "(($ac_try" in 3260 case "(($ac_try" in
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;; 3262 *) ac_try_echo=$ac_try;;
3139 esac 3263 esac
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3265 $as_echo "$ac_try_echo") >&5
3141 (eval "$ac_compiler --version >&5") 2>&5 3266 (eval "$ac_compiler --version >&5") 2>&5
3142 ac_status=$? 3267 ac_status=$?
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } 3269 (exit $ac_status); }
3145 { (ac_try="$ac_compiler -v >&5" 3270 { (ac_try="$ac_compiler -v >&5"
3146 case "(($ac_try" in 3271 case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;; 3273 *) ac_try_echo=$ac_try;;
3149 esac 3274 esac
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3276 $as_echo "$ac_try_echo") >&5
3151 (eval "$ac_compiler -v >&5") 2>&5 3277 (eval "$ac_compiler -v >&5") 2>&5
3152 ac_status=$? 3278 ac_status=$?
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } 3280 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -V >&5" 3281 { (ac_try="$ac_compiler -V >&5"
3156 case "(($ac_try" in 3282 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;; 3284 *) ac_try_echo=$ac_try;;
3159 esac 3285 esac
3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3287 $as_echo "$ac_try_echo") >&5
3161 (eval "$ac_compiler -V >&5") 2>&5 3288 (eval "$ac_compiler -V >&5") 2>&5
3162 ac_status=$? 3289 ac_status=$?
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } 3291 (exit $ac_status); }
3165 3292
3166 cat >conftest.$ac_ext <<_ACEOF 3293 cat >conftest.$ac_ext <<_ACEOF
3167 /* confdefs.h. */ 3294 /* confdefs.h. */
3168 _ACEOF 3295 _ACEOF
3177 ; 3304 ;
3178 return 0; 3305 return 0;
3179 } 3306 }
3180 _ACEOF 3307 _ACEOF
3181 ac_clean_files_save=$ac_clean_files 3308 ac_clean_files_save=$ac_clean_files
3182 ac_clean_files="$ac_clean_files a.out a.exe b.out" 3309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3183 # Try to create an executable without -o first, disregard a.out. 3310 # Try to create an executable without -o first, disregard a.out.
3184 # It will help us diagnose broken compilers, and finding out an intuition 3311 # It will help us diagnose broken compilers, and finding out an intuition
3185 # of exeext. 3312 # of exeext.
3186 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3313 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3187 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 3314 $as_echo_n "checking for C compiler default output file name... " >&6; }
3188 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3189 # 3316
3190 # List of possible output files, starting from the most likely. 3317 # The possible output files:
3191 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 3318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3192 # only as a last resort. b.out is created by i960 compilers. 3319
3193 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3194 #
3195 # The IRIX 6 linker writes into existing files which may not be
3196 # executable, retaining their permissions. Remove them first so a
3197 # subsequent execution test works.
3198 ac_rmfiles= 3320 ac_rmfiles=
3199 for ac_file in $ac_files 3321 for ac_file in $ac_files
3200 do 3322 do
3201 case $ac_file in 3323 case $ac_file in
3202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3203 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3204 esac 3326 esac
3205 done 3327 done
3206 rm -f $ac_rmfiles 3328 rm -f $ac_rmfiles
3207 3329
3208 if { (ac_try="$ac_link_default" 3330 if { (ac_try="$ac_link_default"
3209 case "(($ac_try" in 3331 case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;; 3333 *) ac_try_echo=$ac_try;;
3212 esac 3334 esac
3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3336 $as_echo "$ac_try_echo") >&5
3214 (eval "$ac_link_default") 2>&5 3337 (eval "$ac_link_default") 2>&5
3215 ac_status=$? 3338 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; then 3340 (exit $ac_status); }; then
3218 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3219 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3220 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3221 # so that the user can short-circuit this test for compilers unknown to 3344 # so that the user can short-circuit this test for compilers unknown to
3222 # Autoconf. 3345 # Autoconf.
3223 for ac_file in $ac_files '' 3346 for ac_file in $ac_files ''
3224 do 3347 do
3225 test -f "$ac_file" || continue 3348 test -f "$ac_file" || continue
3226 case $ac_file in 3349 case $ac_file in
3227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3228 ;; 3351 ;;
3229 [ab].out ) 3352 [ab].out )
3230 # We found the default executable, but exeext='' is most 3353 # We found the default executable, but exeext='' is most
3231 # certainly right. 3354 # certainly right.
3232 break;; 3355 break;;
3249 3372
3250 else 3373 else
3251 ac_file='' 3374 ac_file=''
3252 fi 3375 fi
3253 3376
3254 { echo "$as_me:$LINENO: result: $ac_file" >&5 3377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3255 echo "${ECHO_T}$ac_file" >&6; } 3378 $as_echo "$ac_file" >&6; }
3256 if test -z "$ac_file"; then 3379 if test -z "$ac_file"; then
3257 echo "$as_me: failed program was:" >&5 3380 $as_echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5 3381 sed 's/^/| /' conftest.$ac_ext >&5
3259 3382
3260 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 3383 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3261 See \`config.log' for more details." >&5 3384 See \`config.log' for more details." >&5
3262 echo "$as_me: error: C compiler cannot create executables 3385 $as_echo "$as_me: error: C compiler cannot create executables
3263 See \`config.log' for more details." >&2;} 3386 See \`config.log' for more details." >&2;}
3264 { (exit 77); exit 77; }; } 3387 { (exit 77); exit 77; }; }
3265 fi 3388 fi
3266 3389
3267 ac_exeext=$ac_cv_exeext 3390 ac_exeext=$ac_cv_exeext
3268 3391
3269 # Check that the compiler produces executables we can run. If not, either 3392 # Check that the compiler produces executables we can run. If not, either
3270 # the compiler is broken, or we cross compile. 3393 # the compiler is broken, or we cross compile.
3271 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3394 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3272 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 3395 $as_echo_n "checking whether the C compiler works... " >&6; }
3273 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3396 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3274 # If not cross compiling, check that we can run a simple program. 3397 # If not cross compiling, check that we can run a simple program.
3275 if test "$cross_compiling" != yes; then 3398 if test "$cross_compiling" != yes; then
3276 if { ac_try='./$ac_file' 3399 if { ac_try='./$ac_file'
3277 { (case "(($ac_try" in 3400 { (case "(($ac_try" in
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;; 3402 *) ac_try_echo=$ac_try;;
3280 esac 3403 esac
3281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3405 $as_echo "$ac_try_echo") >&5
3282 (eval "$ac_try") 2>&5 3406 (eval "$ac_try") 2>&5
3283 ac_status=$? 3407 ac_status=$?
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; }; then 3409 (exit $ac_status); }; }; then
3286 cross_compiling=no 3410 cross_compiling=no
3287 else 3411 else
3288 if test "$cross_compiling" = maybe; then 3412 if test "$cross_compiling" = maybe; then
3289 cross_compiling=yes 3413 cross_compiling=yes
3290 else 3414 else
3291 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3415 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3292 If you meant to cross compile, use \`--host'. 3416 If you meant to cross compile, use \`--host'.
3293 See \`config.log' for more details." >&5 3417 See \`config.log' for more details." >&5
3294 echo "$as_me: error: cannot run C compiled programs. 3418 $as_echo "$as_me: error: cannot run C compiled programs.
3295 If you meant to cross compile, use \`--host'. 3419 If you meant to cross compile, use \`--host'.
3296 See \`config.log' for more details." >&2;} 3420 See \`config.log' for more details." >&2;}
3297 { (exit 1); exit 1; }; } 3421 { (exit 1); exit 1; }; }
3298 fi 3422 fi
3299 fi 3423 fi
3300 fi 3424 fi
3301 { echo "$as_me:$LINENO: result: yes" >&5 3425 { $as_echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6; } 3426 $as_echo "yes" >&6; }
3303 3427
3304 rm -f a.out a.exe conftest$ac_cv_exeext b.out 3428 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3305 ac_clean_files=$ac_clean_files_save 3429 ac_clean_files=$ac_clean_files_save
3306 # Check that the compiler produces executables we can run. If not, either 3430 # Check that the compiler produces executables we can run. If not, either
3307 # the compiler is broken, or we cross compile. 3431 # the compiler is broken, or we cross compile.
3308 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3432 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3309 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3433 $as_echo_n "checking whether we are cross compiling... " >&6; }
3310 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 3434 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3311 echo "${ECHO_T}$cross_compiling" >&6; } 3435 $as_echo "$cross_compiling" >&6; }
3312 3436
3313 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 3437 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3314 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3438 $as_echo_n "checking for suffix of executables... " >&6; }
3315 if { (ac_try="$ac_link" 3439 if { (ac_try="$ac_link"
3316 case "(($ac_try" in 3440 case "(($ac_try" in
3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318 *) ac_try_echo=$ac_try;; 3442 *) ac_try_echo=$ac_try;;
3319 esac 3443 esac
3320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3445 $as_echo "$ac_try_echo") >&5
3321 (eval "$ac_link") 2>&5 3446 (eval "$ac_link") 2>&5
3322 ac_status=$? 3447 ac_status=$?
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; then 3449 (exit $ac_status); }; then
3325 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3450 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3326 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3451 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3327 # work properly (i.e., refer to `conftest.exe'), while it won't with 3452 # work properly (i.e., refer to `conftest.exe'), while it won't with
3328 # `rm'. 3453 # `rm'.
3329 for ac_file in conftest.exe conftest conftest.*; do 3454 for ac_file in conftest.exe conftest conftest.*; do
3330 test -f "$ac_file" || continue 3455 test -f "$ac_file" || continue
3331 case $ac_file in 3456 case $ac_file in
3332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3333 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3458 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3334 break;; 3459 break;;
3335 * ) break;; 3460 * ) break;;
3336 esac 3461 esac
3337 done 3462 done
3338 else 3463 else
3339 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3464 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3340 See \`config.log' for more details." >&5 3465 See \`config.log' for more details." >&5
3341 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3466 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3342 See \`config.log' for more details." >&2;} 3467 See \`config.log' for more details." >&2;}
3343 { (exit 1); exit 1; }; } 3468 { (exit 1); exit 1; }; }
3344 fi 3469 fi
3345 3470
3346 rm -f conftest$ac_cv_exeext 3471 rm -f conftest$ac_cv_exeext
3347 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3472 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3348 echo "${ECHO_T}$ac_cv_exeext" >&6; } 3473 $as_echo "$ac_cv_exeext" >&6; }
3349 3474
3350 rm -f conftest.$ac_ext 3475 rm -f conftest.$ac_ext
3351 EXEEXT=$ac_cv_exeext 3476 EXEEXT=$ac_cv_exeext
3352 ac_exeext=$EXEEXT 3477 ac_exeext=$EXEEXT
3353 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 3478 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3354 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3479 $as_echo_n "checking for suffix of object files... " >&6; }
3355 if test "${ac_cv_objext+set}" = set; then 3480 if test "${ac_cv_objext+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6 3481 $as_echo_n "(cached) " >&6
3357 else 3482 else
3358 cat >conftest.$ac_ext <<_ACEOF 3483 cat >conftest.$ac_ext <<_ACEOF
3359 /* confdefs.h. */ 3484 /* confdefs.h. */
3360 _ACEOF 3485 _ACEOF
3361 cat confdefs.h >>conftest.$ac_ext 3486 cat confdefs.h >>conftest.$ac_ext
3374 if { (ac_try="$ac_compile" 3499 if { (ac_try="$ac_compile"
3375 case "(($ac_try" in 3500 case "(($ac_try" in
3376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;; 3502 *) ac_try_echo=$ac_try;;
3378 esac 3503 esac
3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3505 $as_echo "$ac_try_echo") >&5
3380 (eval "$ac_compile") 2>&5 3506 (eval "$ac_compile") 2>&5
3381 ac_status=$? 3507 ac_status=$?
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; then 3509 (exit $ac_status); }; then
3384 for ac_file in conftest.o conftest.obj conftest.*; do 3510 for ac_file in conftest.o conftest.obj conftest.*; do
3385 test -f "$ac_file" || continue; 3511 test -f "$ac_file" || continue;
3386 case $ac_file in 3512 case $ac_file in
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3388 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3514 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3389 break;; 3515 break;;
3390 esac 3516 esac
3391 done 3517 done
3392 else 3518 else
3393 echo "$as_me: failed program was:" >&5 3519 $as_echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5 3520 sed 's/^/| /' conftest.$ac_ext >&5
3395 3521
3396 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3522 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3397 See \`config.log' for more details." >&5 3523 See \`config.log' for more details." >&5
3398 echo "$as_me: error: cannot compute suffix of object files: cannot compile 3524 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3399 See \`config.log' for more details." >&2;} 3525 See \`config.log' for more details." >&2;}
3400 { (exit 1); exit 1; }; } 3526 { (exit 1); exit 1; }; }
3401 fi 3527 fi
3402 3528
3403 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3529 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3404 fi 3530 fi
3405 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3531 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3406 echo "${ECHO_T}$ac_cv_objext" >&6; } 3532 $as_echo "$ac_cv_objext" >&6; }
3407 OBJEXT=$ac_cv_objext 3533 OBJEXT=$ac_cv_objext
3408 ac_objext=$OBJEXT 3534 ac_objext=$OBJEXT
3409 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3535 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3410 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3536 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3411 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3537 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6 3538 $as_echo_n "(cached) " >&6
3413 else 3539 else
3414 cat >conftest.$ac_ext <<_ACEOF 3540 cat >conftest.$ac_ext <<_ACEOF
3415 /* confdefs.h. */ 3541 /* confdefs.h. */
3416 _ACEOF 3542 _ACEOF
3417 cat confdefs.h >>conftest.$ac_ext 3543 cat confdefs.h >>conftest.$ac_ext
3433 if { (ac_try="$ac_compile" 3559 if { (ac_try="$ac_compile"
3434 case "(($ac_try" in 3560 case "(($ac_try" in
3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;; 3562 *) ac_try_echo=$ac_try;;
3437 esac 3563 esac
3438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3565 $as_echo "$ac_try_echo") >&5
3439 (eval "$ac_compile") 2>conftest.er1 3566 (eval "$ac_compile") 2>conftest.er1
3440 ac_status=$? 3567 ac_status=$?
3441 grep -v '^ *+' conftest.er1 >conftest.err 3568 grep -v '^ *+' conftest.er1 >conftest.err
3442 rm -f conftest.er1 3569 rm -f conftest.er1
3443 cat conftest.err >&5 3570 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } && { 3572 (exit $ac_status); } && {
3446 test -z "$ac_c_werror_flag" || 3573 test -z "$ac_c_werror_flag" ||
3447 test ! -s conftest.err 3574 test ! -s conftest.err
3448 } && test -s conftest.$ac_objext; then 3575 } && test -s conftest.$ac_objext; then
3449 ac_compiler_gnu=yes 3576 ac_compiler_gnu=yes
3450 else 3577 else
3451 echo "$as_me: failed program was:" >&5 3578 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5 3579 sed 's/^/| /' conftest.$ac_ext >&5
3453 3580
3454 ac_compiler_gnu=no 3581 ac_compiler_gnu=no
3455 fi 3582 fi
3456 3583
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3585 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3459 3586
3460 fi 3587 fi
3461 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3588 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3462 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3589 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3463 GCC=`test $ac_compiler_gnu = yes && echo yes` 3590 if test $ac_compiler_gnu = yes; then
3591 GCC=yes
3592 else
3593 GCC=
3594 fi
3464 ac_test_CFLAGS=${CFLAGS+set} 3595 ac_test_CFLAGS=${CFLAGS+set}
3465 ac_save_CFLAGS=$CFLAGS 3596 ac_save_CFLAGS=$CFLAGS
3466 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3597 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3467 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3598 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3468 if test "${ac_cv_prog_cc_g+set}" = set; then 3599 if test "${ac_cv_prog_cc_g+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6 3600 $as_echo_n "(cached) " >&6
3470 else 3601 else
3471 ac_save_c_werror_flag=$ac_c_werror_flag 3602 ac_save_c_werror_flag=$ac_c_werror_flag
3472 ac_c_werror_flag=yes 3603 ac_c_werror_flag=yes
3473 ac_cv_prog_cc_g=no 3604 ac_cv_prog_cc_g=no
3474 CFLAGS="-g" 3605 CFLAGS="-g"
3491 if { (ac_try="$ac_compile" 3622 if { (ac_try="$ac_compile"
3492 case "(($ac_try" in 3623 case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;; 3625 *) ac_try_echo=$ac_try;;
3495 esac 3626 esac
3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3628 $as_echo "$ac_try_echo") >&5
3497 (eval "$ac_compile") 2>conftest.er1 3629 (eval "$ac_compile") 2>conftest.er1
3498 ac_status=$? 3630 ac_status=$?
3499 grep -v '^ *+' conftest.er1 >conftest.err 3631 grep -v '^ *+' conftest.er1 >conftest.err
3500 rm -f conftest.er1 3632 rm -f conftest.er1
3501 cat conftest.err >&5 3633 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } && { 3635 (exit $ac_status); } && {
3504 test -z "$ac_c_werror_flag" || 3636 test -z "$ac_c_werror_flag" ||
3505 test ! -s conftest.err 3637 test ! -s conftest.err
3506 } && test -s conftest.$ac_objext; then 3638 } && test -s conftest.$ac_objext; then
3507 ac_cv_prog_cc_g=yes 3639 ac_cv_prog_cc_g=yes
3508 else 3640 else
3509 echo "$as_me: failed program was:" >&5 3641 $as_echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5 3642 sed 's/^/| /' conftest.$ac_ext >&5
3511 3643
3512 CFLAGS="" 3644 CFLAGS=""
3513 cat >conftest.$ac_ext <<_ACEOF 3645 cat >conftest.$ac_ext <<_ACEOF
3514 /* confdefs.h. */ 3646 /* confdefs.h. */
3529 if { (ac_try="$ac_compile" 3661 if { (ac_try="$ac_compile"
3530 case "(($ac_try" in 3662 case "(($ac_try" in
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;; 3664 *) ac_try_echo=$ac_try;;
3533 esac 3665 esac
3534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3667 $as_echo "$ac_try_echo") >&5
3535 (eval "$ac_compile") 2>conftest.er1 3668 (eval "$ac_compile") 2>conftest.er1
3536 ac_status=$? 3669 ac_status=$?
3537 grep -v '^ *+' conftest.er1 >conftest.err 3670 grep -v '^ *+' conftest.er1 >conftest.err
3538 rm -f conftest.er1 3671 rm -f conftest.er1
3539 cat conftest.err >&5 3672 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } && { 3674 (exit $ac_status); } && {
3542 test -z "$ac_c_werror_flag" || 3675 test -z "$ac_c_werror_flag" ||
3543 test ! -s conftest.err 3676 test ! -s conftest.err
3544 } && test -s conftest.$ac_objext; then 3677 } && test -s conftest.$ac_objext; then
3545 : 3678 :
3546 else 3679 else
3547 echo "$as_me: failed program was:" >&5 3680 $as_echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5 3681 sed 's/^/| /' conftest.$ac_ext >&5
3549 3682
3550 ac_c_werror_flag=$ac_save_c_werror_flag 3683 ac_c_werror_flag=$ac_save_c_werror_flag
3551 CFLAGS="-g" 3684 CFLAGS="-g"
3552 cat >conftest.$ac_ext <<_ACEOF 3685 cat >conftest.$ac_ext <<_ACEOF
3568 if { (ac_try="$ac_compile" 3701 if { (ac_try="$ac_compile"
3569 case "(($ac_try" in 3702 case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;; 3704 *) ac_try_echo=$ac_try;;
3572 esac 3705 esac
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707 $as_echo "$ac_try_echo") >&5
3574 (eval "$ac_compile") 2>conftest.er1 3708 (eval "$ac_compile") 2>conftest.er1
3575 ac_status=$? 3709 ac_status=$?
3576 grep -v '^ *+' conftest.er1 >conftest.err 3710 grep -v '^ *+' conftest.er1 >conftest.err
3577 rm -f conftest.er1 3711 rm -f conftest.er1
3578 cat conftest.err >&5 3712 cat conftest.err >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } && { 3714 (exit $ac_status); } && {
3581 test -z "$ac_c_werror_flag" || 3715 test -z "$ac_c_werror_flag" ||
3582 test ! -s conftest.err 3716 test ! -s conftest.err
3583 } && test -s conftest.$ac_objext; then 3717 } && test -s conftest.$ac_objext; then
3584 ac_cv_prog_cc_g=yes 3718 ac_cv_prog_cc_g=yes
3585 else 3719 else
3586 echo "$as_me: failed program was:" >&5 3720 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5 3721 sed 's/^/| /' conftest.$ac_ext >&5
3588 3722
3589 3723
3590 fi 3724 fi
3591 3725
3596 fi 3730 fi
3597 3731
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 ac_c_werror_flag=$ac_save_c_werror_flag 3733 ac_c_werror_flag=$ac_save_c_werror_flag
3600 fi 3734 fi
3601 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3735 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3602 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3736 $as_echo "$ac_cv_prog_cc_g" >&6; }
3603 if test "$ac_test_CFLAGS" = set; then 3737 if test "$ac_test_CFLAGS" = set; then
3604 CFLAGS=$ac_save_CFLAGS 3738 CFLAGS=$ac_save_CFLAGS
3605 elif test $ac_cv_prog_cc_g = yes; then 3739 elif test $ac_cv_prog_cc_g = yes; then
3606 if test "$GCC" = yes; then 3740 if test "$GCC" = yes; then
3607 CFLAGS="-g -O2" 3741 CFLAGS="-g -O2"
3613 CFLAGS="-O2" 3747 CFLAGS="-O2"
3614 else 3748 else
3615 CFLAGS= 3749 CFLAGS=
3616 fi 3750 fi
3617 fi 3751 fi
3618 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3752 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3619 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3753 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3620 if test "${ac_cv_prog_cc_c89+set}" = set; then 3754 if test "${ac_cv_prog_cc_c89+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3755 $as_echo_n "(cached) " >&6
3622 else 3756 else
3623 ac_cv_prog_cc_c89=no 3757 ac_cv_prog_cc_c89=no
3624 ac_save_CC=$CC 3758 ac_save_CC=$CC
3625 cat >conftest.$ac_ext <<_ACEOF 3759 cat >conftest.$ac_ext <<_ACEOF
3626 /* confdefs.h. */ 3760 /* confdefs.h. */
3687 if { (ac_try="$ac_compile" 3821 if { (ac_try="$ac_compile"
3688 case "(($ac_try" in 3822 case "(($ac_try" in
3689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;; 3824 *) ac_try_echo=$ac_try;;
3691 esac 3825 esac
3692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3827 $as_echo "$ac_try_echo") >&5
3693 (eval "$ac_compile") 2>conftest.er1 3828 (eval "$ac_compile") 2>conftest.er1
3694 ac_status=$? 3829 ac_status=$?
3695 grep -v '^ *+' conftest.er1 >conftest.err 3830 grep -v '^ *+' conftest.er1 >conftest.err
3696 rm -f conftest.er1 3831 rm -f conftest.er1
3697 cat conftest.err >&5 3832 cat conftest.err >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } && { 3834 (exit $ac_status); } && {
3700 test -z "$ac_c_werror_flag" || 3835 test -z "$ac_c_werror_flag" ||
3701 test ! -s conftest.err 3836 test ! -s conftest.err
3702 } && test -s conftest.$ac_objext; then 3837 } && test -s conftest.$ac_objext; then
3703 ac_cv_prog_cc_c89=$ac_arg 3838 ac_cv_prog_cc_c89=$ac_arg
3704 else 3839 else
3705 echo "$as_me: failed program was:" >&5 3840 $as_echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5 3841 sed 's/^/| /' conftest.$ac_ext >&5
3707 3842
3708 3843
3709 fi 3844 fi
3710 3845
3716 3851
3717 fi 3852 fi
3718 # AC_CACHE_VAL 3853 # AC_CACHE_VAL
3719 case "x$ac_cv_prog_cc_c89" in 3854 case "x$ac_cv_prog_cc_c89" in
3720 x) 3855 x)
3721 { echo "$as_me:$LINENO: result: none needed" >&5 3856 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3722 echo "${ECHO_T}none needed" >&6; } ;; 3857 $as_echo "none needed" >&6; } ;;
3723 xno) 3858 xno)
3724 { echo "$as_me:$LINENO: result: unsupported" >&5 3859 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3725 echo "${ECHO_T}unsupported" >&6; } ;; 3860 $as_echo "unsupported" >&6; } ;;
3726 *) 3861 *)
3727 CC="$CC $ac_cv_prog_cc_c89" 3862 CC="$CC $ac_cv_prog_cc_c89"
3728 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3863 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3729 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3864 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3730 esac 3865 esac
3731 3866
3732 3867
3733 ac_ext=c 3868 ac_ext=c
3734 ac_cpp='$CPP $CPPFLAGS' 3869 ac_cpp='$CPP $CPPFLAGS'
3744 3879
3745 ## If not using gcc, and on Solaris, and no CPP specified, see if 3880 ## If not using gcc, and on Solaris, and no CPP specified, see if
3746 ## using a Sun compiler, which needs -Xs to prevent whitespace. 3881 ## using a Sun compiler, which needs -Xs to prevent whitespace.
3747 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 3882 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
3748 test x"$CPP" = x; then 3883 test x"$CPP" = x; then
3749 { echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 3884 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5
3750 echo $ECHO_N "checking whether we are using a Sun C compiler... $ECHO_C" >&6; } 3885 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; }
3751 3886
3752 if test "${emacs_cv_sunpro_c+set}" = set; then 3887 if test "${emacs_cv_sunpro_c+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6 3888 $as_echo_n "(cached) " >&6
3754 else 3889 else
3755 cat >conftest.$ac_ext <<_ACEOF 3890 cat >conftest.$ac_ext <<_ACEOF
3756 /* confdefs.h. */ 3891 /* confdefs.h. */
3757 _ACEOF 3892 _ACEOF
3758 cat confdefs.h >>conftest.$ac_ext 3893 cat confdefs.h >>conftest.$ac_ext
3774 if { (ac_try="$ac_link" 3909 if { (ac_try="$ac_link"
3775 case "(($ac_try" in 3910 case "(($ac_try" in
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;; 3912 *) ac_try_echo=$ac_try;;
3778 esac 3913 esac
3779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3915 $as_echo "$ac_try_echo") >&5
3780 (eval "$ac_link") 2>conftest.er1 3916 (eval "$ac_link") 2>conftest.er1
3781 ac_status=$? 3917 ac_status=$?
3782 grep -v '^ *+' conftest.er1 >conftest.err 3918 grep -v '^ *+' conftest.er1 >conftest.err
3783 rm -f conftest.er1 3919 rm -f conftest.er1
3784 cat conftest.err >&5 3920 cat conftest.err >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } && { 3922 (exit $ac_status); } && {
3787 test -z "$ac_c_werror_flag" || 3923 test -z "$ac_c_werror_flag" ||
3788 test ! -s conftest.err 3924 test ! -s conftest.err
3789 } && test -s conftest$ac_exeext && 3925 } && test -s conftest$ac_exeext && {
3790 $as_test_x conftest$ac_exeext; then 3926 test "$cross_compiling" = yes ||
3927 $as_test_x conftest$ac_exeext
3928 }; then
3791 emacs_cv_sunpro_c=yes 3929 emacs_cv_sunpro_c=yes
3792 else 3930 else
3793 echo "$as_me: failed program was:" >&5 3931 $as_echo "$as_me: failed program was:" >&5
3794 sed 's/^/| /' conftest.$ac_ext >&5 3932 sed 's/^/| /' conftest.$ac_ext >&5
3795 3933
3796 emacs_cv_sunpro_c=no 3934 emacs_cv_sunpro_c=no
3797 fi 3935 fi
3798 3936
3937 rm -rf conftest.dSYM
3799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3800 conftest$ac_exeext conftest.$ac_ext 3939 conftest$ac_exeext conftest.$ac_ext
3801 fi 3940 fi
3802 3941
3803 { echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 3942 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5
3804 echo "${ECHO_T}$emacs_cv_sunpro_c" >&6; } 3943 $as_echo "$emacs_cv_sunpro_c" >&6; }
3805 3944
3806 if test x"$emacs_cv_sunpro_c" = xyes; then 3945 if test x"$emacs_cv_sunpro_c" = xyes; then
3807 NON_GNU_CPP="$CC -E -Xs" 3946 NON_GNU_CPP="$CC -E -Xs"
3808 fi 3947 fi
3809 fi 3948 fi
3833 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x 3972 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
3834 then 3973 then
3835 CC="$CC $NON_GCC_TEST_OPTIONS" 3974 CC="$CC $NON_GCC_TEST_OPTIONS"
3836 fi 3975 fi
3837 3976
3838
3839 cat >>confdefs.h <<\_ACEOF
3840 #define _GNU_SOURCE 1
3841 _ACEOF
3842
3843
3844 ac_ext=c 3977 ac_ext=c
3845 ac_cpp='$CPP $CPPFLAGS' 3978 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3982 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3850 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3983 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3851 # On Suns, sometimes $CPP names a directory. 3984 # On Suns, sometimes $CPP names a directory.
3852 if test -n "$CPP" && test -d "$CPP"; then 3985 if test -n "$CPP" && test -d "$CPP"; then
3853 CPP= 3986 CPP=
3854 fi 3987 fi
3855 if test -z "$CPP"; then 3988 if test -z "$CPP"; then
3856 if test "${ac_cv_prog_CPP+set}" = set; then 3989 if test "${ac_cv_prog_CPP+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6 3990 $as_echo_n "(cached) " >&6
3858 else 3991 else
3859 # Double quotes because CPP needs to be expanded 3992 # Double quotes because CPP needs to be expanded
3860 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3993 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3861 do 3994 do
3862 ac_preproc_ok=false 3995 ac_preproc_ok=false
3884 if { (ac_try="$ac_cpp conftest.$ac_ext" 4017 if { (ac_try="$ac_cpp conftest.$ac_ext"
3885 case "(($ac_try" in 4018 case "(($ac_try" in
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;; 4020 *) ac_try_echo=$ac_try;;
3888 esac 4021 esac
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4023 $as_echo "$ac_try_echo") >&5
3890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3891 ac_status=$? 4025 ac_status=$?
3892 grep -v '^ *+' conftest.er1 >conftest.err 4026 grep -v '^ *+' conftest.er1 >conftest.err
3893 rm -f conftest.er1 4027 rm -f conftest.er1
3894 cat conftest.err >&5 4028 cat conftest.err >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } >/dev/null && { 4030 (exit $ac_status); } >/dev/null && {
3897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3898 test ! -s conftest.err 4032 test ! -s conftest.err
3899 }; then 4033 }; then
3900 : 4034 :
3901 else 4035 else
3902 echo "$as_me: failed program was:" >&5 4036 $as_echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5 4037 sed 's/^/| /' conftest.$ac_ext >&5
3904 4038
3905 # Broken: fails on valid input. 4039 # Broken: fails on valid input.
3906 continue 4040 continue
3907 fi 4041 fi
3921 if { (ac_try="$ac_cpp conftest.$ac_ext" 4055 if { (ac_try="$ac_cpp conftest.$ac_ext"
3922 case "(($ac_try" in 4056 case "(($ac_try" in
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924 *) ac_try_echo=$ac_try;; 4058 *) ac_try_echo=$ac_try;;
3925 esac 4059 esac
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4061 $as_echo "$ac_try_echo") >&5
3927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3928 ac_status=$? 4063 ac_status=$?
3929 grep -v '^ *+' conftest.er1 >conftest.err 4064 grep -v '^ *+' conftest.er1 >conftest.err
3930 rm -f conftest.er1 4065 rm -f conftest.er1
3931 cat conftest.err >&5 4066 cat conftest.err >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } >/dev/null && { 4068 (exit $ac_status); } >/dev/null && {
3934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3935 test ! -s conftest.err 4070 test ! -s conftest.err
3936 }; then 4071 }; then
3937 # Broken: success on invalid input. 4072 # Broken: success on invalid input.
3938 continue 4073 continue
3939 else 4074 else
3940 echo "$as_me: failed program was:" >&5 4075 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5 4076 sed 's/^/| /' conftest.$ac_ext >&5
3942 4077
3943 # Passes both tests. 4078 # Passes both tests.
3944 ac_preproc_ok=: 4079 ac_preproc_ok=:
3945 break 4080 break
3960 fi 4095 fi
3961 CPP=$ac_cv_prog_CPP 4096 CPP=$ac_cv_prog_CPP
3962 else 4097 else
3963 ac_cv_prog_CPP=$CPP 4098 ac_cv_prog_CPP=$CPP
3964 fi 4099 fi
3965 { echo "$as_me:$LINENO: result: $CPP" >&5 4100 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3966 echo "${ECHO_T}$CPP" >&6; } 4101 $as_echo "$CPP" >&6; }
3967 ac_preproc_ok=false 4102 ac_preproc_ok=false
3968 for ac_c_preproc_warn_flag in '' yes 4103 for ac_c_preproc_warn_flag in '' yes
3969 do 4104 do
3970 # Use a header file that comes with gcc, so configuring glibc 4105 # Use a header file that comes with gcc, so configuring glibc
3971 # with a fresh cross-compiler works. 4106 # with a fresh cross-compiler works.
3989 if { (ac_try="$ac_cpp conftest.$ac_ext" 4124 if { (ac_try="$ac_cpp conftest.$ac_ext"
3990 case "(($ac_try" in 4125 case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;; 4127 *) ac_try_echo=$ac_try;;
3993 esac 4128 esac
3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4130 $as_echo "$ac_try_echo") >&5
3995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3996 ac_status=$? 4132 ac_status=$?
3997 grep -v '^ *+' conftest.er1 >conftest.err 4133 grep -v '^ *+' conftest.er1 >conftest.err
3998 rm -f conftest.er1 4134 rm -f conftest.er1
3999 cat conftest.err >&5 4135 cat conftest.err >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } >/dev/null && { 4137 (exit $ac_status); } >/dev/null && {
4002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4003 test ! -s conftest.err 4139 test ! -s conftest.err
4004 }; then 4140 }; then
4005 : 4141 :
4006 else 4142 else
4007 echo "$as_me: failed program was:" >&5 4143 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5 4144 sed 's/^/| /' conftest.$ac_ext >&5
4009 4145
4010 # Broken: fails on valid input. 4146 # Broken: fails on valid input.
4011 continue 4147 continue
4012 fi 4148 fi
4026 if { (ac_try="$ac_cpp conftest.$ac_ext" 4162 if { (ac_try="$ac_cpp conftest.$ac_ext"
4027 case "(($ac_try" in 4163 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;; 4165 *) ac_try_echo=$ac_try;;
4030 esac 4166 esac
4031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4168 $as_echo "$ac_try_echo") >&5
4032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4033 ac_status=$? 4170 ac_status=$?
4034 grep -v '^ *+' conftest.er1 >conftest.err 4171 grep -v '^ *+' conftest.er1 >conftest.err
4035 rm -f conftest.er1 4172 rm -f conftest.er1
4036 cat conftest.err >&5 4173 cat conftest.err >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); } >/dev/null && { 4175 (exit $ac_status); } >/dev/null && {
4039 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4040 test ! -s conftest.err 4177 test ! -s conftest.err
4041 }; then 4178 }; then
4042 # Broken: success on invalid input. 4179 # Broken: success on invalid input.
4043 continue 4180 continue
4044 else 4181 else
4045 echo "$as_me: failed program was:" >&5 4182 $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5 4183 sed 's/^/| /' conftest.$ac_ext >&5
4047 4184
4048 # Passes both tests. 4185 # Passes both tests.
4049 ac_preproc_ok=: 4186 ac_preproc_ok=:
4050 break 4187 break
4056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4057 rm -f conftest.err conftest.$ac_ext 4194 rm -f conftest.err conftest.$ac_ext
4058 if $ac_preproc_ok; then 4195 if $ac_preproc_ok; then
4059 : 4196 :
4060 else 4197 else
4061 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4062 See \`config.log' for more details." >&5 4199 See \`config.log' for more details." >&5
4063 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4064 See \`config.log' for more details." >&2;} 4201 See \`config.log' for more details." >&2;}
4065 { (exit 1); exit 1; }; } 4202 { (exit 1); exit 1; }; }
4066 fi 4203 fi
4067 4204
4068 ac_ext=c 4205 ac_ext=c
4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4073 4210
4074 4211
4075 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4212 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4076 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4213 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4077 if test "${ac_cv_path_GREP+set}" = set; then 4214 if test "${ac_cv_path_GREP+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6 4215 $as_echo_n "(cached) " >&6
4079 else 4216 else
4080 # Extract the first word of "grep ggrep" to use in msg output 4217 if test -z "$GREP"; then
4081 if test -z "$GREP"; then
4082 set dummy grep ggrep; ac_prog_name=$2
4083 if test "${ac_cv_path_GREP+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 else
4086 ac_path_GREP_found=false 4218 ac_path_GREP_found=false
4087 # Loop through the user's path and test for each of PROGNAME-LIST 4219 # Loop through the user's path and test for each of PROGNAME-LIST
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4221 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4090 do 4222 do
4091 IFS=$as_save_IFS 4223 IFS=$as_save_IFS
4092 test -z "$as_dir" && as_dir=. 4224 test -z "$as_dir" && as_dir=.
4093 for ac_prog in grep ggrep; do 4225 for ac_prog in grep ggrep; do
4094 for ac_exec_ext in '' $ac_executable_extensions; do 4226 for ac_exec_ext in '' $ac_executable_extensions; do
4095 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4096 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4228 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4097 # Check for GNU ac_path_GREP and select it if it is found. 4229 # Check for GNU ac_path_GREP and select it if it is found.
4098 # Check for GNU $ac_path_GREP 4230 # Check for GNU $ac_path_GREP
4099 case `"$ac_path_GREP" --version 2>&1` in 4231 case `"$ac_path_GREP" --version 2>&1` in
4100 *GNU*) 4232 *GNU*)
4101 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4233 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4102 *) 4234 *)
4103 ac_count=0 4235 ac_count=0
4104 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4236 $as_echo_n 0123456789 >"conftest.in"
4105 while : 4237 while :
4106 do 4238 do
4107 cat "conftest.in" "conftest.in" >"conftest.tmp" 4239 cat "conftest.in" "conftest.in" >"conftest.tmp"
4108 mv "conftest.tmp" "conftest.in" 4240 mv "conftest.tmp" "conftest.in"
4109 cp "conftest.in" "conftest.nl" 4241 cp "conftest.in" "conftest.nl"
4110 echo 'GREP' >> "conftest.nl" 4242 $as_echo 'GREP' >> "conftest.nl"
4111 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4112 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4113 ac_count=`expr $ac_count + 1` 4245 ac_count=`expr $ac_count + 1`
4114 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4246 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4115 # Best one so far, save it but keep looking for a better one 4247 # Best one so far, save it but keep looking for a better one
4120 test $ac_count -gt 10 && break 4252 test $ac_count -gt 10 && break
4121 done 4253 done
4122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4123 esac 4255 esac
4124 4256
4125 4257 $ac_path_GREP_found && break 3
4126 $ac_path_GREP_found && break 3 4258 done
4127 done 4259 done
4128 done 4260 done
4129
4130 done
4131 IFS=$as_save_IFS 4261 IFS=$as_save_IFS
4132 4262 if test -z "$ac_cv_path_GREP"; then
4133 4263 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4134 fi 4264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4135
4136 GREP="$ac_cv_path_GREP"
4137 if test -z "$GREP"; then
4138 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4139 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4140 { (exit 1); exit 1; }; } 4265 { (exit 1); exit 1; }; }
4141 fi 4266 fi
4142
4143 else 4267 else
4144 ac_cv_path_GREP=$GREP 4268 ac_cv_path_GREP=$GREP
4145 fi 4269 fi
4146 4270
4147 4271 fi
4148 fi 4272 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4149 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4273 $as_echo "$ac_cv_path_GREP" >&6; }
4150 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4151 GREP="$ac_cv_path_GREP" 4274 GREP="$ac_cv_path_GREP"
4152 4275
4153 4276
4154 { echo "$as_me:$LINENO: checking for egrep" >&5 4277 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4155 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4278 $as_echo_n "checking for egrep... " >&6; }
4156 if test "${ac_cv_path_EGREP+set}" = set; then 4279 if test "${ac_cv_path_EGREP+set}" = set; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6 4280 $as_echo_n "(cached) " >&6
4158 else 4281 else
4159 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4282 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4160 then ac_cv_path_EGREP="$GREP -E" 4283 then ac_cv_path_EGREP="$GREP -E"
4161 else 4284 else
4162 # Extract the first word of "egrep" to use in msg output 4285 if test -z "$EGREP"; then
4163 if test -z "$EGREP"; then
4164 set dummy egrep; ac_prog_name=$2
4165 if test "${ac_cv_path_EGREP+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 else
4168 ac_path_EGREP_found=false 4286 ac_path_EGREP_found=false
4169 # Loop through the user's path and test for each of PROGNAME-LIST 4287 # Loop through the user's path and test for each of PROGNAME-LIST
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4172 do 4290 do
4173 IFS=$as_save_IFS 4291 IFS=$as_save_IFS
4174 test -z "$as_dir" && as_dir=. 4292 test -z "$as_dir" && as_dir=.
4175 for ac_prog in egrep; do 4293 for ac_prog in egrep; do
4176 for ac_exec_ext in '' $ac_executable_extensions; do 4294 for ac_exec_ext in '' $ac_executable_extensions; do
4177 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4295 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4178 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4296 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4179 # Check for GNU ac_path_EGREP and select it if it is found. 4297 # Check for GNU ac_path_EGREP and select it if it is found.
4180 # Check for GNU $ac_path_EGREP 4298 # Check for GNU $ac_path_EGREP
4181 case `"$ac_path_EGREP" --version 2>&1` in 4299 case `"$ac_path_EGREP" --version 2>&1` in
4182 *GNU*) 4300 *GNU*)
4183 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4301 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4184 *) 4302 *)
4185 ac_count=0 4303 ac_count=0
4186 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4304 $as_echo_n 0123456789 >"conftest.in"
4187 while : 4305 while :
4188 do 4306 do
4189 cat "conftest.in" "conftest.in" >"conftest.tmp" 4307 cat "conftest.in" "conftest.in" >"conftest.tmp"
4190 mv "conftest.tmp" "conftest.in" 4308 mv "conftest.tmp" "conftest.in"
4191 cp "conftest.in" "conftest.nl" 4309 cp "conftest.in" "conftest.nl"
4192 echo 'EGREP' >> "conftest.nl" 4310 $as_echo 'EGREP' >> "conftest.nl"
4193 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4311 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4195 ac_count=`expr $ac_count + 1` 4313 ac_count=`expr $ac_count + 1`
4196 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4314 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4197 # Best one so far, save it but keep looking for a better one 4315 # Best one so far, save it but keep looking for a better one
4202 test $ac_count -gt 10 && break 4320 test $ac_count -gt 10 && break
4203 done 4321 done
4204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4322 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4205 esac 4323 esac
4206 4324
4207 4325 $ac_path_EGREP_found && break 3
4208 $ac_path_EGREP_found && break 3 4326 done
4209 done 4327 done
4210 done 4328 done
4211
4212 done
4213 IFS=$as_save_IFS 4329 IFS=$as_save_IFS
4214 4330 if test -z "$ac_cv_path_EGREP"; then
4215 4331 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4216 fi 4332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4217
4218 EGREP="$ac_cv_path_EGREP"
4219 if test -z "$EGREP"; then
4220 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4221 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4222 { (exit 1); exit 1; }; } 4333 { (exit 1); exit 1; }; }
4223 fi 4334 fi
4224
4225 else 4335 else
4226 ac_cv_path_EGREP=$EGREP 4336 ac_cv_path_EGREP=$EGREP
4227 fi 4337 fi
4228 4338
4229
4230 fi 4339 fi
4231 fi 4340 fi
4232 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4233 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4342 $as_echo "$ac_cv_path_EGREP" >&6; }
4234 EGREP="$ac_cv_path_EGREP" 4343 EGREP="$ac_cv_path_EGREP"
4235 4344
4236 4345
4237 4346 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4238 { echo "$as_me:$LINENO: checking for AIX" >&5 4347 $as_echo_n "checking for ANSI C header files... " >&6; }
4239 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4240 cat >conftest.$ac_ext <<_ACEOF
4241 /* confdefs.h. */
4242 _ACEOF
4243 cat confdefs.h >>conftest.$ac_ext
4244 cat >>conftest.$ac_ext <<_ACEOF
4245 /* end confdefs.h. */
4246 #ifdef _AIX
4247 yes
4248 #endif
4249
4250 _ACEOF
4251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4252 $EGREP "yes" >/dev/null 2>&1; then
4253 { echo "$as_me:$LINENO: result: yes" >&5
4254 echo "${ECHO_T}yes" >&6; }
4255 cat >>confdefs.h <<\_ACEOF
4256 #define _ALL_SOURCE 1
4257 _ACEOF
4258
4259 else
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4262 fi
4263 rm -f conftest*
4264
4265
4266 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4267 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4268 if test "${ac_cv_header_stdc+set}" = set; then 4348 if test "${ac_cv_header_stdc+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6 4349 $as_echo_n "(cached) " >&6
4270 else 4350 else
4271 cat >conftest.$ac_ext <<_ACEOF 4351 cat >conftest.$ac_ext <<_ACEOF
4272 /* confdefs.h. */ 4352 /* confdefs.h. */
4273 _ACEOF 4353 _ACEOF
4274 cat confdefs.h >>conftest.$ac_ext 4354 cat confdefs.h >>conftest.$ac_ext
4291 if { (ac_try="$ac_compile" 4371 if { (ac_try="$ac_compile"
4292 case "(($ac_try" in 4372 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;; 4374 *) ac_try_echo=$ac_try;;
4295 esac 4375 esac
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4377 $as_echo "$ac_try_echo") >&5
4297 (eval "$ac_compile") 2>conftest.er1 4378 (eval "$ac_compile") 2>conftest.er1
4298 ac_status=$? 4379 ac_status=$?
4299 grep -v '^ *+' conftest.er1 >conftest.err 4380 grep -v '^ *+' conftest.er1 >conftest.err
4300 rm -f conftest.er1 4381 rm -f conftest.er1
4301 cat conftest.err >&5 4382 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && { 4384 (exit $ac_status); } && {
4304 test -z "$ac_c_werror_flag" || 4385 test -z "$ac_c_werror_flag" ||
4305 test ! -s conftest.err 4386 test ! -s conftest.err
4306 } && test -s conftest.$ac_objext; then 4387 } && test -s conftest.$ac_objext; then
4307 ac_cv_header_stdc=yes 4388 ac_cv_header_stdc=yes
4308 else 4389 else
4309 echo "$as_me: failed program was:" >&5 4390 $as_echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5 4391 sed 's/^/| /' conftest.$ac_ext >&5
4311 4392
4312 ac_cv_header_stdc=no 4393 ac_cv_header_stdc=no
4313 fi 4394 fi
4314 4395
4396 if { (ac_try="$ac_link" 4477 if { (ac_try="$ac_link"
4397 case "(($ac_try" in 4478 case "(($ac_try" in
4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399 *) ac_try_echo=$ac_try;; 4480 *) ac_try_echo=$ac_try;;
4400 esac 4481 esac
4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4483 $as_echo "$ac_try_echo") >&5
4402 (eval "$ac_link") 2>&5 4484 (eval "$ac_link") 2>&5
4403 ac_status=$? 4485 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4406 { (case "(($ac_try" in 4488 { (case "(($ac_try" in
4407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;; 4490 *) ac_try_echo=$ac_try;;
4409 esac 4491 esac
4410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4493 $as_echo "$ac_try_echo") >&5
4411 (eval "$ac_try") 2>&5 4494 (eval "$ac_try") 2>&5
4412 ac_status=$? 4495 ac_status=$?
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }; }; then 4497 (exit $ac_status); }; }; then
4415 : 4498 :
4416 else 4499 else
4417 echo "$as_me: program exited with status $ac_status" >&5 4500 $as_echo "$as_me: program exited with status $ac_status" >&5
4418 echo "$as_me: failed program was:" >&5 4501 $as_echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.$ac_ext >&5 4502 sed 's/^/| /' conftest.$ac_ext >&5
4420 4503
4421 ( exit $ac_status ) 4504 ( exit $ac_status )
4422 ac_cv_header_stdc=no 4505 ac_cv_header_stdc=no
4423 fi 4506 fi
4507 rm -rf conftest.dSYM
4424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4425 fi 4509 fi
4426 4510
4427 4511
4428 fi 4512 fi
4429 fi 4513 fi
4430 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4431 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4515 $as_echo "$ac_cv_header_stdc" >&6; }
4432 if test $ac_cv_header_stdc = yes; then 4516 if test $ac_cv_header_stdc = yes; then
4433 4517
4434 cat >>confdefs.h <<\_ACEOF 4518 cat >>confdefs.h <<\_ACEOF
4435 #define STDC_HEADERS 1 4519 #define STDC_HEADERS 1
4436 _ACEOF 4520 _ACEOF
4448 4532
4449 4533
4450 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4534 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4451 inttypes.h stdint.h unistd.h 4535 inttypes.h stdint.h unistd.h
4452 do 4536 do
4453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4454 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4539 $as_echo_n "checking for $ac_header... " >&6; }
4456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6 4541 $as_echo_n "(cached) " >&6
4458 else 4542 else
4459 cat >conftest.$ac_ext <<_ACEOF 4543 cat >conftest.$ac_ext <<_ACEOF
4460 /* confdefs.h. */ 4544 /* confdefs.h. */
4461 _ACEOF 4545 _ACEOF
4462 cat confdefs.h >>conftest.$ac_ext 4546 cat confdefs.h >>conftest.$ac_ext
4470 if { (ac_try="$ac_compile" 4554 if { (ac_try="$ac_compile"
4471 case "(($ac_try" in 4555 case "(($ac_try" in
4472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4473 *) ac_try_echo=$ac_try;; 4557 *) ac_try_echo=$ac_try;;
4474 esac 4558 esac
4475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4560 $as_echo "$ac_try_echo") >&5
4476 (eval "$ac_compile") 2>conftest.er1 4561 (eval "$ac_compile") 2>conftest.er1
4477 ac_status=$? 4562 ac_status=$?
4478 grep -v '^ *+' conftest.er1 >conftest.err 4563 grep -v '^ *+' conftest.er1 >conftest.err
4479 rm -f conftest.er1 4564 rm -f conftest.er1
4480 cat conftest.err >&5 4565 cat conftest.err >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); } && { 4567 (exit $ac_status); } && {
4483 test -z "$ac_c_werror_flag" || 4568 test -z "$ac_c_werror_flag" ||
4484 test ! -s conftest.err 4569 test ! -s conftest.err
4485 } && test -s conftest.$ac_objext; then 4570 } && test -s conftest.$ac_objext; then
4486 eval "$as_ac_Header=yes" 4571 eval "$as_ac_Header=yes"
4487 else 4572 else
4488 echo "$as_me: failed program was:" >&5 4573 $as_echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5 4574 sed 's/^/| /' conftest.$ac_ext >&5
4490 4575
4491 eval "$as_ac_Header=no" 4576 eval "$as_ac_Header=no"
4492 fi 4577 fi
4493 4578
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 fi 4580 fi
4496 ac_res=`eval echo '${'$as_ac_Header'}'` 4581 ac_res=`eval 'as_val=${'$as_ac_Header'}
4497 { echo "$as_me:$LINENO: result: $ac_res" >&5 4582 $as_echo "$as_val"'`
4498 echo "${ECHO_T}$ac_res" >&6; } 4583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4499 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4584 $as_echo "$ac_res" >&6; }
4585 if test `eval 'as_val=${'$as_ac_Header'}
4586 $as_echo "$as_val"'` = yes; then
4500 cat >>confdefs.h <<_ACEOF 4587 cat >>confdefs.h <<_ACEOF
4501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4502 _ACEOF 4589 _ACEOF
4503 4590
4504 fi 4591 fi
4505 4592
4506 done 4593 done
4507 4594
4508 4595
4596
4597 if test "${ac_cv_header_minix_config_h+set}" = set; then
4598 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4599 $as_echo_n "checking for minix/config.h... " >&6; }
4509 if test "${ac_cv_header_minix_config_h+set}" = set; then 4600 if test "${ac_cv_header_minix_config_h+set}" = set; then
4510 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4601 $as_echo_n "(cached) " >&6
4511 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 4602 fi
4512 if test "${ac_cv_header_minix_config_h+set}" = set; then 4603 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4513 echo $ECHO_N "(cached) $ECHO_C" >&6 4604 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4514 fi
4515 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4516 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4517 else 4605 else
4518 # Is the header compilable? 4606 # Is the header compilable?
4519 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4607 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4520 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 4608 $as_echo_n "checking minix/config.h usability... " >&6; }
4521 cat >conftest.$ac_ext <<_ACEOF 4609 cat >conftest.$ac_ext <<_ACEOF
4522 /* confdefs.h. */ 4610 /* confdefs.h. */
4523 _ACEOF 4611 _ACEOF
4524 cat confdefs.h >>conftest.$ac_ext 4612 cat confdefs.h >>conftest.$ac_ext
4525 cat >>conftest.$ac_ext <<_ACEOF 4613 cat >>conftest.$ac_ext <<_ACEOF
4531 if { (ac_try="$ac_compile" 4619 if { (ac_try="$ac_compile"
4532 case "(($ac_try" in 4620 case "(($ac_try" in
4533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;; 4622 *) ac_try_echo=$ac_try;;
4535 esac 4623 esac
4536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4625 $as_echo "$ac_try_echo") >&5
4537 (eval "$ac_compile") 2>conftest.er1 4626 (eval "$ac_compile") 2>conftest.er1
4538 ac_status=$? 4627 ac_status=$?
4539 grep -v '^ *+' conftest.er1 >conftest.err 4628 grep -v '^ *+' conftest.er1 >conftest.err
4540 rm -f conftest.er1 4629 rm -f conftest.er1
4541 cat conftest.err >&5 4630 cat conftest.err >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } && { 4632 (exit $ac_status); } && {
4544 test -z "$ac_c_werror_flag" || 4633 test -z "$ac_c_werror_flag" ||
4545 test ! -s conftest.err 4634 test ! -s conftest.err
4546 } && test -s conftest.$ac_objext; then 4635 } && test -s conftest.$ac_objext; then
4547 ac_header_compiler=yes 4636 ac_header_compiler=yes
4548 else 4637 else
4549 echo "$as_me: failed program was:" >&5 4638 $as_echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5 4639 sed 's/^/| /' conftest.$ac_ext >&5
4551 4640
4552 ac_header_compiler=no 4641 ac_header_compiler=no
4553 fi 4642 fi
4554 4643
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4645 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4557 echo "${ECHO_T}$ac_header_compiler" >&6; } 4646 $as_echo "$ac_header_compiler" >&6; }
4558 4647
4559 # Is the header present? 4648 # Is the header present?
4560 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4649 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4561 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 4650 $as_echo_n "checking minix/config.h presence... " >&6; }
4562 cat >conftest.$ac_ext <<_ACEOF 4651 cat >conftest.$ac_ext <<_ACEOF
4563 /* confdefs.h. */ 4652 /* confdefs.h. */
4564 _ACEOF 4653 _ACEOF
4565 cat confdefs.h >>conftest.$ac_ext 4654 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF 4655 cat >>conftest.$ac_ext <<_ACEOF
4570 if { (ac_try="$ac_cpp conftest.$ac_ext" 4659 if { (ac_try="$ac_cpp conftest.$ac_ext"
4571 case "(($ac_try" in 4660 case "(($ac_try" in
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;; 4662 *) ac_try_echo=$ac_try;;
4574 esac 4663 esac
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4665 $as_echo "$ac_try_echo") >&5
4576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4577 ac_status=$? 4667 ac_status=$?
4578 grep -v '^ *+' conftest.er1 >conftest.err 4668 grep -v '^ *+' conftest.er1 >conftest.err
4579 rm -f conftest.er1 4669 rm -f conftest.er1
4580 cat conftest.err >&5 4670 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } >/dev/null && { 4672 (exit $ac_status); } >/dev/null && {
4583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4584 test ! -s conftest.err 4674 test ! -s conftest.err
4585 }; then 4675 }; then
4586 ac_header_preproc=yes 4676 ac_header_preproc=yes
4587 else 4677 else
4588 echo "$as_me: failed program was:" >&5 4678 $as_echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5 4679 sed 's/^/| /' conftest.$ac_ext >&5
4590 4680
4591 ac_header_preproc=no 4681 ac_header_preproc=no
4592 fi 4682 fi
4593 4683
4594 rm -f conftest.err conftest.$ac_ext 4684 rm -f conftest.err conftest.$ac_ext
4595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4685 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4596 echo "${ECHO_T}$ac_header_preproc" >&6; } 4686 $as_echo "$ac_header_preproc" >&6; }
4597 4687
4598 # So? What about this header? 4688 # So? What about this header?
4599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4600 yes:no: ) 4690 yes:no: )
4601 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4691 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4602 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4692 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4603 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4693 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4604 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4694 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4605 ac_header_preproc=yes 4695 ac_header_preproc=yes
4606 ;; 4696 ;;
4607 no:yes:* ) 4697 no:yes:* )
4608 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4698 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4609 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4699 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4610 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4700 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4611 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4701 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4612 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4702 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4613 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4703 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4614 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4704 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4615 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4705 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4616 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4706 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4617 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4707 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4618 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4708 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4619 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4709 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4620 4710
4621 ;; 4711 ;;
4622 esac 4712 esac
4623 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4713 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4624 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 4714 $as_echo_n "checking for minix/config.h... " >&6; }
4625 if test "${ac_cv_header_minix_config_h+set}" = set; then 4715 if test "${ac_cv_header_minix_config_h+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6 4716 $as_echo_n "(cached) " >&6
4627 else 4717 else
4628 ac_cv_header_minix_config_h=$ac_header_preproc 4718 ac_cv_header_minix_config_h=$ac_header_preproc
4629 fi 4719 fi
4630 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4720 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4631 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 4721 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4632 4722
4633 fi 4723 fi
4634 if test $ac_cv_header_minix_config_h = yes; then 4724 if test $ac_cv_header_minix_config_h = yes; then
4635 MINIX=yes 4725 MINIX=yes
4636 else 4726 else
4637 MINIX= 4727 MINIX=
4638 fi 4728 fi
4639 4729
4640 4730
4641 if test "$MINIX" = yes; then 4731 if test "$MINIX" = yes; then
4642 4732
4643 cat >>confdefs.h <<\_ACEOF 4733 cat >>confdefs.h <<\_ACEOF
4644 #define _POSIX_SOURCE 1 4734 #define _POSIX_SOURCE 1
4645 _ACEOF 4735 _ACEOF
4646 4736
4652 4742
4653 cat >>confdefs.h <<\_ACEOF 4743 cat >>confdefs.h <<\_ACEOF
4654 #define _MINIX 1 4744 #define _MINIX 1
4655 _ACEOF 4745 _ACEOF
4656 4746
4657 fi 4747 fi
4658 4748
4659 4749
4660 4750
4661 4751 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4662 4752 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4663
4664
4665
4666
4667
4668
4669 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4670 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4671 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4753 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6 4754 $as_echo_n "(cached) " >&6
4673 else 4755 else
4674 cat >conftest.$ac_ext <<_ACEOF 4756 cat >conftest.$ac_ext <<_ACEOF
4675 /* confdefs.h. */ 4757 /* confdefs.h. */
4676 _ACEOF 4758 _ACEOF
4677 cat confdefs.h >>conftest.$ac_ext 4759 cat confdefs.h >>conftest.$ac_ext
4692 if { (ac_try="$ac_compile" 4774 if { (ac_try="$ac_compile"
4693 case "(($ac_try" in 4775 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;; 4777 *) ac_try_echo=$ac_try;;
4696 esac 4778 esac
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4780 $as_echo "$ac_try_echo") >&5
4698 (eval "$ac_compile") 2>conftest.er1 4781 (eval "$ac_compile") 2>conftest.er1
4699 ac_status=$? 4782 ac_status=$?
4700 grep -v '^ *+' conftest.er1 >conftest.err 4783 grep -v '^ *+' conftest.er1 >conftest.err
4701 rm -f conftest.er1 4784 rm -f conftest.er1
4702 cat conftest.err >&5 4785 cat conftest.err >&5
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } && { 4787 (exit $ac_status); } && {
4705 test -z "$ac_c_werror_flag" || 4788 test -z "$ac_c_werror_flag" ||
4706 test ! -s conftest.err 4789 test ! -s conftest.err
4707 } && test -s conftest.$ac_objext; then 4790 } && test -s conftest.$ac_objext; then
4708 ac_cv_safe_to_define___extensions__=yes 4791 ac_cv_safe_to_define___extensions__=yes
4709 else 4792 else
4710 echo "$as_me: failed program was:" >&5 4793 $as_echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5 4794 sed 's/^/| /' conftest.$ac_ext >&5
4712 4795
4713 ac_cv_safe_to_define___extensions__=no 4796 ac_cv_safe_to_define___extensions__=no
4714 fi 4797 fi
4715 4798
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 fi 4800 fi
4718 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4801 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4719 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; } 4802 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4720 test $ac_cv_safe_to_define___extensions__ = yes && 4803 test $ac_cv_safe_to_define___extensions__ = yes &&
4721 cat >>confdefs.h <<\_ACEOF 4804 cat >>confdefs.h <<\_ACEOF
4722 #define __EXTENSIONS__ 1 4805 #define __EXTENSIONS__ 1
4723 _ACEOF 4806 _ACEOF
4724 4807
4725 cat >>confdefs.h <<\_ACEOF 4808 cat >>confdefs.h <<\_ACEOF
4809 #define _ALL_SOURCE 1
4810 _ACEOF
4811
4812 cat >>confdefs.h <<\_ACEOF
4813 #define _GNU_SOURCE 1
4814 _ACEOF
4815
4816 cat >>confdefs.h <<\_ACEOF
4726 #define _POSIX_PTHREAD_SEMANTICS 1 4817 #define _POSIX_PTHREAD_SEMANTICS 1
4727 _ACEOF 4818 _ACEOF
4728 4819
4729 cat >>confdefs.h <<\_ACEOF 4820 cat >>confdefs.h <<\_ACEOF
4730 #define _TANDEM_SOURCE 1 4821 #define _TANDEM_SOURCE 1
4731 _ACEOF 4822 _ACEOF
4732 4823
4733 4824
4734 4825
4735 ### Use -Wno-pointer-sign if the compiler supports it 4826 ### Use -Wno-pointer-sign if the compiler supports it
4736 { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4827 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
4737 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; } 4828 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; }
4738 SAVE_CFLAGS="$CFLAGS" 4829 SAVE_CFLAGS="$CFLAGS"
4739 CFLAGS="$CFLAGS -Wno-pointer-sign" 4830 CFLAGS="$CFLAGS -Wno-pointer-sign"
4740 cat >conftest.$ac_ext <<_ACEOF 4831 cat >conftest.$ac_ext <<_ACEOF
4741 /* confdefs.h. */ 4832 /* confdefs.h. */
4742 _ACEOF 4833 _ACEOF
4756 if { (ac_try="$ac_compile" 4847 if { (ac_try="$ac_compile"
4757 case "(($ac_try" in 4848 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;; 4850 *) ac_try_echo=$ac_try;;
4760 esac 4851 esac
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4853 $as_echo "$ac_try_echo") >&5
4762 (eval "$ac_compile") 2>conftest.er1 4854 (eval "$ac_compile") 2>conftest.er1
4763 ac_status=$? 4855 ac_status=$?
4764 grep -v '^ *+' conftest.er1 >conftest.err 4856 grep -v '^ *+' conftest.er1 >conftest.err
4765 rm -f conftest.er1 4857 rm -f conftest.er1
4766 cat conftest.err >&5 4858 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && { 4860 (exit $ac_status); } && {
4769 test -z "$ac_c_werror_flag" || 4861 test -z "$ac_c_werror_flag" ||
4770 test ! -s conftest.err 4862 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then 4863 } && test -s conftest.$ac_objext; then
4772 has_option=yes 4864 has_option=yes
4773 else 4865 else
4774 echo "$as_me: failed program was:" >&5 4866 $as_echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5 4867 sed 's/^/| /' conftest.$ac_ext >&5
4776 4868
4777 has_option=no 4869 has_option=no
4778 fi 4870 fi
4779 4871
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781 if test $has_option = yes; then 4873 if test $has_option = yes; then
4782 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4874 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4783 fi 4875 fi
4784 { echo "$as_me:$LINENO: result: $has_option" >&5 4876 { $as_echo "$as_me:$LINENO: result: $has_option" >&5
4785 echo "${ECHO_T}$has_option" >&6; } 4877 $as_echo "$has_option" >&6; }
4786 CFLAGS="$SAVE_CFLAGS" 4878 CFLAGS="$SAVE_CFLAGS"
4787 unset has_option 4879 unset has_option
4788 unset SAVE_CFLAGS 4880 unset SAVE_CFLAGS
4789 4881
4790 #### Some other nice autoconf tests. 4882 #### Some other nice autoconf tests.
4791 4883
4792 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 4884 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4793 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 4885 $as_echo_n "checking whether ln -s works... " >&6; }
4794 LN_S=$as_ln_s 4886 LN_S=$as_ln_s
4795 if test "$LN_S" = "ln -s"; then 4887 if test "$LN_S" = "ln -s"; then
4796 { echo "$as_me:$LINENO: result: yes" >&5 4888 { $as_echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6; } 4889 $as_echo "yes" >&6; }
4798 else 4890 else
4799 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4891 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4800 echo "${ECHO_T}no, using $LN_S" >&6; } 4892 $as_echo "no, using $LN_S" >&6; }
4801 fi 4893 fi
4802 4894
4803 ac_ext=c 4895 ac_ext=c
4804 ac_cpp='$CPP $CPPFLAGS' 4896 ac_cpp='$CPP $CPPFLAGS'
4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4808 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4900 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4809 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 4901 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4810 # On Suns, sometimes $CPP names a directory. 4902 # On Suns, sometimes $CPP names a directory.
4811 if test -n "$CPP" && test -d "$CPP"; then 4903 if test -n "$CPP" && test -d "$CPP"; then
4812 CPP= 4904 CPP=
4813 fi 4905 fi
4814 if test -z "$CPP"; then 4906 if test -z "$CPP"; then
4815 if test "${ac_cv_prog_CPP+set}" = set; then 4907 if test "${ac_cv_prog_CPP+set}" = set; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6 4908 $as_echo_n "(cached) " >&6
4817 else 4909 else
4818 # Double quotes because CPP needs to be expanded 4910 # Double quotes because CPP needs to be expanded
4819 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4911 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4820 do 4912 do
4821 ac_preproc_ok=false 4913 ac_preproc_ok=false
4843 if { (ac_try="$ac_cpp conftest.$ac_ext" 4935 if { (ac_try="$ac_cpp conftest.$ac_ext"
4844 case "(($ac_try" in 4936 case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;; 4938 *) ac_try_echo=$ac_try;;
4847 esac 4939 esac
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4941 $as_echo "$ac_try_echo") >&5
4849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4850 ac_status=$? 4943 ac_status=$?
4851 grep -v '^ *+' conftest.er1 >conftest.err 4944 grep -v '^ *+' conftest.er1 >conftest.err
4852 rm -f conftest.er1 4945 rm -f conftest.er1
4853 cat conftest.err >&5 4946 cat conftest.err >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); } >/dev/null && { 4948 (exit $ac_status); } >/dev/null && {
4856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4857 test ! -s conftest.err 4950 test ! -s conftest.err
4858 }; then 4951 }; then
4859 : 4952 :
4860 else 4953 else
4861 echo "$as_me: failed program was:" >&5 4954 $as_echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5 4955 sed 's/^/| /' conftest.$ac_ext >&5
4863 4956
4864 # Broken: fails on valid input. 4957 # Broken: fails on valid input.
4865 continue 4958 continue
4866 fi 4959 fi
4880 if { (ac_try="$ac_cpp conftest.$ac_ext" 4973 if { (ac_try="$ac_cpp conftest.$ac_ext"
4881 case "(($ac_try" in 4974 case "(($ac_try" in
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;; 4976 *) ac_try_echo=$ac_try;;
4884 esac 4977 esac
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4979 $as_echo "$ac_try_echo") >&5
4886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4887 ac_status=$? 4981 ac_status=$?
4888 grep -v '^ *+' conftest.er1 >conftest.err 4982 grep -v '^ *+' conftest.er1 >conftest.err
4889 rm -f conftest.er1 4983 rm -f conftest.er1
4890 cat conftest.err >&5 4984 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } >/dev/null && { 4986 (exit $ac_status); } >/dev/null && {
4893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4894 test ! -s conftest.err 4988 test ! -s conftest.err
4895 }; then 4989 }; then
4896 # Broken: success on invalid input. 4990 # Broken: success on invalid input.
4897 continue 4991 continue
4898 else 4992 else
4899 echo "$as_me: failed program was:" >&5 4993 $as_echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5 4994 sed 's/^/| /' conftest.$ac_ext >&5
4901 4995
4902 # Passes both tests. 4996 # Passes both tests.
4903 ac_preproc_ok=: 4997 ac_preproc_ok=:
4904 break 4998 break
4919 fi 5013 fi
4920 CPP=$ac_cv_prog_CPP 5014 CPP=$ac_cv_prog_CPP
4921 else 5015 else
4922 ac_cv_prog_CPP=$CPP 5016 ac_cv_prog_CPP=$CPP
4923 fi 5017 fi
4924 { echo "$as_me:$LINENO: result: $CPP" >&5 5018 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4925 echo "${ECHO_T}$CPP" >&6; } 5019 $as_echo "$CPP" >&6; }
4926 ac_preproc_ok=false 5020 ac_preproc_ok=false
4927 for ac_c_preproc_warn_flag in '' yes 5021 for ac_c_preproc_warn_flag in '' yes
4928 do 5022 do
4929 # Use a header file that comes with gcc, so configuring glibc 5023 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works. 5024 # with a fresh cross-compiler works.
4948 if { (ac_try="$ac_cpp conftest.$ac_ext" 5042 if { (ac_try="$ac_cpp conftest.$ac_ext"
4949 case "(($ac_try" in 5043 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;; 5045 *) ac_try_echo=$ac_try;;
4952 esac 5046 esac
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5048 $as_echo "$ac_try_echo") >&5
4954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4955 ac_status=$? 5050 ac_status=$?
4956 grep -v '^ *+' conftest.er1 >conftest.err 5051 grep -v '^ *+' conftest.er1 >conftest.err
4957 rm -f conftest.er1 5052 rm -f conftest.er1
4958 cat conftest.err >&5 5053 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } >/dev/null && { 5055 (exit $ac_status); } >/dev/null && {
4961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4962 test ! -s conftest.err 5057 test ! -s conftest.err
4963 }; then 5058 }; then
4964 : 5059 :
4965 else 5060 else
4966 echo "$as_me: failed program was:" >&5 5061 $as_echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5 5062 sed 's/^/| /' conftest.$ac_ext >&5
4968 5063
4969 # Broken: fails on valid input. 5064 # Broken: fails on valid input.
4970 continue 5065 continue
4971 fi 5066 fi
4985 if { (ac_try="$ac_cpp conftest.$ac_ext" 5080 if { (ac_try="$ac_cpp conftest.$ac_ext"
4986 case "(($ac_try" in 5081 case "(($ac_try" in
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;; 5083 *) ac_try_echo=$ac_try;;
4989 esac 5084 esac
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5086 $as_echo "$ac_try_echo") >&5
4991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4992 ac_status=$? 5088 ac_status=$?
4993 grep -v '^ *+' conftest.er1 >conftest.err 5089 grep -v '^ *+' conftest.er1 >conftest.err
4994 rm -f conftest.er1 5090 rm -f conftest.er1
4995 cat conftest.err >&5 5091 cat conftest.err >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } >/dev/null && { 5093 (exit $ac_status); } >/dev/null && {
4998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4999 test ! -s conftest.err 5095 test ! -s conftest.err
5000 }; then 5096 }; then
5001 # Broken: success on invalid input. 5097 # Broken: success on invalid input.
5002 continue 5098 continue
5003 else 5099 else
5004 echo "$as_me: failed program was:" >&5 5100 $as_echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5 5101 sed 's/^/| /' conftest.$ac_ext >&5
5006 5102
5007 # Passes both tests. 5103 # Passes both tests.
5008 ac_preproc_ok=: 5104 ac_preproc_ok=:
5009 break 5105 break
5015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5016 rm -f conftest.err conftest.$ac_ext 5112 rm -f conftest.err conftest.$ac_ext
5017 if $ac_preproc_ok; then 5113 if $ac_preproc_ok; then
5018 : 5114 :
5019 else 5115 else
5020 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 5116 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5021 See \`config.log' for more details." >&5 5117 See \`config.log' for more details." >&5
5022 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 5118 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5023 See \`config.log' for more details." >&2;} 5119 See \`config.log' for more details." >&2;}
5024 { (exit 1); exit 1; }; } 5120 { (exit 1); exit 1; }; }
5025 fi 5121 fi
5026 5122
5027 ac_ext=c 5123 ac_ext=c
5041 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5137 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5042 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 5138 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5043 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5139 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5044 # OS/2's system install, which has a completely different semantic 5140 # OS/2's system install, which has a completely different semantic
5045 # ./install, which can be erroneously created by make from ./install.sh. 5141 # ./install, which can be erroneously created by make from ./install.sh.
5046 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5142 # Reject install programs that cannot install multiple files.
5047 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 5143 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5144 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5048 if test -z "$INSTALL"; then 5145 if test -z "$INSTALL"; then
5049 if test "${ac_cv_path_install+set}" = set; then 5146 if test "${ac_cv_path_install+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6 5147 $as_echo_n "(cached) " >&6
5051 else 5148 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH 5150 for as_dir in $PATH
5054 do 5151 do
5055 IFS=$as_save_IFS 5152 IFS=$as_save_IFS
5074 elif test $ac_prog = install && 5171 elif test $ac_prog = install &&
5075 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5172 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5076 # program-specific install script used by HP pwplus--don't use. 5173 # program-specific install script used by HP pwplus--don't use.
5077 : 5174 :
5078 else 5175 else
5079 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 5176 rm -rf conftest.one conftest.two conftest.dir
5080 break 3 5177 echo one > conftest.one
5178 echo two > conftest.two
5179 mkdir conftest.dir
5180 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5181 test -s conftest.one && test -s conftest.two &&
5182 test -s conftest.dir/conftest.one &&
5183 test -s conftest.dir/conftest.two
5184 then
5185 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5186 break 3
5187 fi
5081 fi 5188 fi
5082 fi 5189 fi
5083 done 5190 done
5084 done 5191 done
5085 ;; 5192 ;;
5086 esac 5193 esac
5194
5087 done 5195 done
5088 IFS=$as_save_IFS 5196 IFS=$as_save_IFS
5089 5197
5198 rm -rf conftest.one conftest.two conftest.dir
5090 5199
5091 fi 5200 fi
5092 if test "${ac_cv_path_install+set}" = set; then 5201 if test "${ac_cv_path_install+set}" = set; then
5093 INSTALL=$ac_cv_path_install 5202 INSTALL=$ac_cv_path_install
5094 else 5203 else
5097 # break other packages using the cache if that directory is 5206 # break other packages using the cache if that directory is
5098 # removed, or if the value is a relative name. 5207 # removed, or if the value is a relative name.
5099 INSTALL=$ac_install_sh 5208 INSTALL=$ac_install_sh
5100 fi 5209 fi
5101 fi 5210 fi
5102 { echo "$as_me:$LINENO: result: $INSTALL" >&5 5211 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5103 echo "${ECHO_T}$INSTALL" >&6; } 5212 $as_echo "$INSTALL" >&6; }
5104 5213
5105 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5214 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5106 # It thinks the first close brace ends the variable substitution. 5215 # It thinks the first close brace ends the variable substitution.
5107 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5216 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5108 5217
5112 5221
5113 if test "x$RANLIB" = x; then 5222 if test "x$RANLIB" = x; then
5114 if test -n "$ac_tool_prefix"; then 5223 if test -n "$ac_tool_prefix"; then
5115 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5224 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5225 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5117 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5227 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_RANLIB+set}" = set; then 5228 if test "${ac_cv_prog_RANLIB+set}" = set; then
5120 echo $ECHO_N "(cached) $ECHO_C" >&6 5229 $as_echo_n "(cached) " >&6
5121 else 5230 else
5122 if test -n "$RANLIB"; then 5231 if test -n "$RANLIB"; then
5123 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5232 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5124 else 5233 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 IFS=$as_save_IFS 5237 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=. 5238 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do 5239 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5241 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2 5243 break 2
5135 fi 5244 fi
5136 done 5245 done
5137 done 5246 done
5138 IFS=$as_save_IFS 5247 IFS=$as_save_IFS
5139 5248
5140 fi 5249 fi
5141 fi 5250 fi
5142 RANLIB=$ac_cv_prog_RANLIB 5251 RANLIB=$ac_cv_prog_RANLIB
5143 if test -n "$RANLIB"; then 5252 if test -n "$RANLIB"; then
5144 { echo "$as_me:$LINENO: result: $RANLIB" >&5 5253 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5145 echo "${ECHO_T}$RANLIB" >&6; } 5254 $as_echo "$RANLIB" >&6; }
5146 else 5255 else
5147 { echo "$as_me:$LINENO: result: no" >&5 5256 { $as_echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6; } 5257 $as_echo "no" >&6; }
5149 fi 5258 fi
5150 5259
5151 5260
5152 fi 5261 fi
5153 if test -z "$ac_cv_prog_RANLIB"; then 5262 if test -z "$ac_cv_prog_RANLIB"; then
5154 ac_ct_RANLIB=$RANLIB 5263 ac_ct_RANLIB=$RANLIB
5155 # Extract the first word of "ranlib", so it can be a program name with args. 5264 # Extract the first word of "ranlib", so it can be a program name with args.
5156 set dummy ranlib; ac_word=$2 5265 set dummy ranlib; ac_word=$2
5157 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5267 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5268 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6 5269 $as_echo_n "(cached) " >&6
5161 else 5270 else
5162 if test -n "$ac_ct_RANLIB"; then 5271 if test -n "$ac_ct_RANLIB"; then
5163 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5272 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5164 else 5273 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 IFS=$as_save_IFS 5277 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=. 5278 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do 5279 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172 ac_cv_prog_ac_ct_RANLIB="ranlib" 5281 ac_cv_prog_ac_ct_RANLIB="ranlib"
5173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2 5283 break 2
5175 fi 5284 fi
5176 done 5285 done
5177 done 5286 done
5178 IFS=$as_save_IFS 5287 IFS=$as_save_IFS
5179 5288
5180 fi 5289 fi
5181 fi 5290 fi
5182 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5291 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5183 if test -n "$ac_ct_RANLIB"; then 5292 if test -n "$ac_ct_RANLIB"; then
5184 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5293 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5185 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 5294 $as_echo "$ac_ct_RANLIB" >&6; }
5186 else 5295 else
5187 { echo "$as_me:$LINENO: result: no" >&5 5296 { $as_echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6; } 5297 $as_echo "no" >&6; }
5189 fi 5298 fi
5190 5299
5191 if test "x$ac_ct_RANLIB" = x; then 5300 if test "x$ac_ct_RANLIB" = x; then
5192 RANLIB=":" 5301 RANLIB=":"
5193 else 5302 else
5194 case $cross_compiling:$ac_tool_warned in 5303 case $cross_compiling:$ac_tool_warned in
5195 yes:) 5304 yes:)
5196 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5305 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5197 whose name does not start with the host triplet. If you think this 5306 whose name does not start with the host triplet. If you think this
5198 configuration is useful to you, please write to autoconf@gnu.org." >&5 5307 configuration is useful to you, please write to autoconf@gnu.org." >&5
5199 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5308 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5200 whose name does not start with the host triplet. If you think this 5309 whose name does not start with the host triplet. If you think this
5201 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5310 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5202 ac_tool_warned=yes ;; 5311 ac_tool_warned=yes ;;
5203 esac 5312 esac
5204 RANLIB=$ac_ct_RANLIB 5313 RANLIB=$ac_ct_RANLIB
5208 fi 5317 fi
5209 5318
5210 fi 5319 fi
5211 # Extract the first word of "install-info", so it can be a program name with args. 5320 # Extract the first word of "install-info", so it can be a program name with args.
5212 set dummy install-info; ac_word=$2 5321 set dummy install-info; ac_word=$2
5213 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5323 $as_echo_n "checking for $ac_word... " >&6; }
5215 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5324 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6 5325 $as_echo_n "(cached) " >&6
5217 else 5326 else
5218 case $INSTALL_INFO in 5327 case $INSTALL_INFO in
5219 [\\/]* | ?:[\\/]*) 5328 [\\/]* | ?:[\\/]*)
5220 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5329 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5221 ;; 5330 ;;
5226 IFS=$as_save_IFS 5335 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=. 5336 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do 5337 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5230 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5339 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5340 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2 5341 break 2
5233 fi 5342 fi
5234 done 5343 done
5235 done 5344 done
5236 IFS=$as_save_IFS 5345 IFS=$as_save_IFS
5238 ;; 5347 ;;
5239 esac 5348 esac
5240 fi 5349 fi
5241 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5350 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5242 if test -n "$INSTALL_INFO"; then 5351 if test -n "$INSTALL_INFO"; then
5243 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5352 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5244 echo "${ECHO_T}$INSTALL_INFO" >&6; } 5353 $as_echo "$INSTALL_INFO" >&6; }
5245 else 5354 else
5246 { echo "$as_me:$LINENO: result: no" >&5 5355 { $as_echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6; } 5356 $as_echo "no" >&6; }
5248 fi 5357 fi
5249 5358
5250 5359
5251 # Extract the first word of "install-info", so it can be a program name with args. 5360 # Extract the first word of "install-info", so it can be a program name with args.
5252 set dummy install-info; ac_word=$2 5361 set dummy install-info; ac_word=$2
5253 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5363 $as_echo_n "checking for $ac_word... " >&6; }
5255 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5364 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6 5365 $as_echo_n "(cached) " >&6
5257 else 5366 else
5258 case $INSTALL_INFO in 5367 case $INSTALL_INFO in
5259 [\\/]* | ?:[\\/]*) 5368 [\\/]* | ?:[\\/]*)
5260 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5369 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5261 ;; 5370 ;;
5266 IFS=$as_save_IFS 5375 IFS=$as_save_IFS
5267 test -z "$as_dir" && as_dir=. 5376 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do 5377 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5270 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5379 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 break 2 5381 break 2
5273 fi 5382 fi
5274 done 5383 done
5275 done 5384 done
5276 IFS=$as_save_IFS 5385 IFS=$as_save_IFS
5278 ;; 5387 ;;
5279 esac 5388 esac
5280 fi 5389 fi
5281 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5390 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5282 if test -n "$INSTALL_INFO"; then 5391 if test -n "$INSTALL_INFO"; then
5283 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5392 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5284 echo "${ECHO_T}$INSTALL_INFO" >&6; } 5393 $as_echo "$INSTALL_INFO" >&6; }
5285 else 5394 else
5286 { echo "$as_me:$LINENO: result: no" >&5 5395 { $as_echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6; } 5396 $as_echo "no" >&6; }
5288 fi 5397 fi
5289 5398
5290 5399
5291 # Extract the first word of "install-info", so it can be a program name with args. 5400 # Extract the first word of "install-info", so it can be a program name with args.
5292 set dummy install-info; ac_word=$2 5401 set dummy install-info; ac_word=$2
5293 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5403 $as_echo_n "checking for $ac_word... " >&6; }
5295 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5404 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6 5405 $as_echo_n "(cached) " >&6
5297 else 5406 else
5298 case $INSTALL_INFO in 5407 case $INSTALL_INFO in
5299 [\\/]* | ?:[\\/]*) 5408 [\\/]* | ?:[\\/]*)
5300 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5409 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5301 ;; 5410 ;;
5306 IFS=$as_save_IFS 5415 IFS=$as_save_IFS
5307 test -z "$as_dir" && as_dir=. 5416 test -z "$as_dir" && as_dir=.
5308 for ac_exec_ext in '' $ac_executable_extensions; do 5417 for ac_exec_ext in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5419 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 break 2 5421 break 2
5313 fi 5422 fi
5314 done 5423 done
5315 done 5424 done
5316 IFS=$as_save_IFS 5425 IFS=$as_save_IFS
5319 ;; 5428 ;;
5320 esac 5429 esac
5321 fi 5430 fi
5322 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5431 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5323 if test -n "$INSTALL_INFO"; then 5432 if test -n "$INSTALL_INFO"; then
5324 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5433 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5325 echo "${ECHO_T}$INSTALL_INFO" >&6; } 5434 $as_echo "$INSTALL_INFO" >&6; }
5326 else 5435 else
5327 { echo "$as_me:$LINENO: result: no" >&5 5436 { $as_echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; } 5437 $as_echo "no" >&6; }
5329 fi 5438 fi
5330 5439
5331 5440
5332 # Extract the first word of "gzip", so it can be a program name with args. 5441 # Extract the first word of "gzip", so it can be a program name with args.
5333 set dummy gzip; ac_word=$2 5442 set dummy gzip; ac_word=$2
5334 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5444 $as_echo_n "checking for $ac_word... " >&6; }
5336 if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5445 if test "${ac_cv_path_GZIP_PROG+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6 5446 $as_echo_n "(cached) " >&6
5338 else 5447 else
5339 case $GZIP_PROG in 5448 case $GZIP_PROG in
5340 [\\/]* | ?:[\\/]*) 5449 [\\/]* | ?:[\\/]*)
5341 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 5450 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
5342 ;; 5451 ;;
5347 IFS=$as_save_IFS 5456 IFS=$as_save_IFS
5348 test -z "$as_dir" && as_dir=. 5457 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do 5458 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5351 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5460 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 break 2 5462 break 2
5354 fi 5463 fi
5355 done 5464 done
5356 done 5465 done
5357 IFS=$as_save_IFS 5466 IFS=$as_save_IFS
5359 ;; 5468 ;;
5360 esac 5469 esac
5361 fi 5470 fi
5362 GZIP_PROG=$ac_cv_path_GZIP_PROG 5471 GZIP_PROG=$ac_cv_path_GZIP_PROG
5363 if test -n "$GZIP_PROG"; then 5472 if test -n "$GZIP_PROG"; then
5364 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5473 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
5365 echo "${ECHO_T}$GZIP_PROG" >&6; } 5474 $as_echo "$GZIP_PROG" >&6; }
5366 else 5475 else
5367 { echo "$as_me:$LINENO: result: no" >&5 5476 { $as_echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; } 5477 $as_echo "no" >&6; }
5369 fi 5478 fi
5370 5479
5371 5480
5372 5481
5373 5482
5374 ## Need makeinfo >= 4.6 (?) to build the manuals. 5483 ## Need makeinfo >= 4.6 (?) to build the manuals.
5375 # Extract the first word of "makeinfo", so it can be a program name with args. 5484 # Extract the first word of "makeinfo", so it can be a program name with args.
5376 set dummy makeinfo; ac_word=$2 5485 set dummy makeinfo; ac_word=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5 5486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5487 $as_echo_n "checking for $ac_word... " >&6; }
5379 if test "${ac_cv_path_MAKEINFO+set}" = set; then 5488 if test "${ac_cv_path_MAKEINFO+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6 5489 $as_echo_n "(cached) " >&6
5381 else 5490 else
5382 case $MAKEINFO in 5491 case $MAKEINFO in
5383 [\\/]* | ?:[\\/]*) 5492 [\\/]* | ?:[\\/]*)
5384 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 5493 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
5385 ;; 5494 ;;
5390 IFS=$as_save_IFS 5499 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=. 5500 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do 5501 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5503 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2 5505 break 2
5397 fi 5506 fi
5398 done 5507 done
5399 done 5508 done
5400 IFS=$as_save_IFS 5509 IFS=$as_save_IFS
5403 ;; 5512 ;;
5404 esac 5513 esac
5405 fi 5514 fi
5406 MAKEINFO=$ac_cv_path_MAKEINFO 5515 MAKEINFO=$ac_cv_path_MAKEINFO
5407 if test -n "$MAKEINFO"; then 5516 if test -n "$MAKEINFO"; then
5408 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5 5517 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5409 echo "${ECHO_T}$MAKEINFO" >&6; } 5518 $as_echo "$MAKEINFO" >&6; }
5410 else 5519 else
5411 { echo "$as_me:$LINENO: result: no" >&5 5520 { $as_echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6; } 5521 $as_echo "no" >&6; }
5413 fi 5522 fi
5414 5523
5415 5524
5416 if test "$MAKEINFO" != "no" && \ 5525 if test "$MAKEINFO" != "no" && \
5417 test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[6-9]|4\.[1-5][0-9]+)'`" = x; then 5526 test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[6-9]|4\.[1-5][0-9]+)'`" = x; then
5429 ## with pre-built manuals, from a CVS checkout. 5538 ## with pre-built manuals, from a CVS checkout.
5430 if test "$MAKEINFO" = "no"; then 5539 if test "$MAKEINFO" = "no"; then
5431 if test "x${with_makeinfo}" = "xno"; then 5540 if test "x${with_makeinfo}" = "xno"; then
5432 MAKEINFO=off 5541 MAKEINFO=off
5433 elif ! test -e $srcdir/info/emacs; then 5542 elif ! test -e $srcdir/info/emacs; then
5434 { { echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your 5543 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your
5435 source tree does not seem to have pre-built manuals in the \`info' directory. 5544 source tree does not seem to have pre-built manuals in the \`info' directory.
5436 Either install a suitable version of makeinfo, or re-run configure 5545 Either install a suitable version of makeinfo, or re-run configure
5437 with the \`--without-makeinfo' option to build without the manuals. " >&5 5546 with the \`--without-makeinfo' option to build without the manuals. " >&5
5438 echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your 5547 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5439 source tree does not seem to have pre-built manuals in the \`info' directory. 5548 source tree does not seem to have pre-built manuals in the \`info' directory.
5440 Either install a suitable version of makeinfo, or re-run configure 5549 Either install a suitable version of makeinfo, or re-run configure
5441 with the \`--without-makeinfo' option to build without the manuals. " >&2;} 5550 with the \`--without-makeinfo' option to build without the manuals. " >&2;}
5442 { (exit 1); exit 1; }; } 5551 { (exit 1); exit 1; }; }
5443 fi 5552 fi
5460 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5569 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
5461 else 5570 else
5462 LDFLAGS="$LDFLAGS -znocombreloc" 5571 LDFLAGS="$LDFLAGS -znocombreloc"
5463 fi 5572 fi
5464 5573
5465 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5574 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5
5466 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; } 5575 $as_echo_n "checking for -znocombreloc... " >&6; }
5467 cat >conftest.$ac_ext <<_ACEOF 5576 cat >conftest.$ac_ext <<_ACEOF
5468 main(){return 0;} 5577 main(){return 0;}
5469 _ACEOF 5578 _ACEOF
5470 rm -f conftest.$ac_objext conftest$ac_exeext 5579 rm -f conftest.$ac_objext conftest$ac_exeext
5471 if { (ac_try="$ac_link" 5580 if { (ac_try="$ac_link"
5472 case "(($ac_try" in 5581 case "(($ac_try" in
5473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5474 *) ac_try_echo=$ac_try;; 5583 *) ac_try_echo=$ac_try;;
5475 esac 5584 esac
5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5586 $as_echo "$ac_try_echo") >&5
5477 (eval "$ac_link") 2>conftest.er1 5587 (eval "$ac_link") 2>conftest.er1
5478 ac_status=$? 5588 ac_status=$?
5479 grep -v '^ *+' conftest.er1 >conftest.err 5589 grep -v '^ *+' conftest.er1 >conftest.err
5480 rm -f conftest.er1 5590 rm -f conftest.er1
5481 cat conftest.err >&5 5591 cat conftest.err >&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); } && { 5593 (exit $ac_status); } && {
5484 test -z "$ac_c_werror_flag" || 5594 test -z "$ac_c_werror_flag" ||
5485 test ! -s conftest.err 5595 test ! -s conftest.err
5486 } && test -s conftest$ac_exeext && 5596 } && test -s conftest$ac_exeext && {
5487 $as_test_x conftest$ac_exeext; then 5597 test "$cross_compiling" = yes ||
5488 { echo "$as_me:$LINENO: result: yes" >&5 5598 $as_test_x conftest$ac_exeext
5489 echo "${ECHO_T}yes" >&6; } 5599 }; then
5490 else 5600 { $as_echo "$as_me:$LINENO: result: yes" >&5
5491 echo "$as_me: failed program was:" >&5 5601 $as_echo "yes" >&6; }
5602 else
5603 $as_echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.$ac_ext >&5 5604 sed 's/^/| /' conftest.$ac_ext >&5
5493 5605
5494 LDFLAGS=$late_LDFLAGS 5606 LDFLAGS=$late_LDFLAGS
5495 { echo "$as_me:$LINENO: result: no" >&5 5607 { $as_echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6; } 5608 $as_echo "no" >&6; }
5497 fi 5609 fi
5498 5610
5611 rm -rf conftest.dSYM
5499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5500 conftest$ac_exeext conftest.$ac_ext 5613 conftest$ac_exeext conftest.$ac_ext
5501 5614
5502 #### Extract some information from the operating system and machine files. 5615 #### Extract some information from the operating system and machine files.
5503 5616
5504 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5617 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
5505 - which libraries the lib-src programs will want, and 5618 - which libraries the lib-src programs will want, and
5506 - whether the GNU malloc routines are usable..." >&5 5619 - whether the GNU malloc routines are usable..." >&5
5507 echo "$as_me: checking the machine- and system-dependent files to find out 5620 $as_echo "$as_me: checking the machine- and system-dependent files to find out
5508 - which libraries the lib-src programs will want, and 5621 - which libraries the lib-src programs will want, and
5509 - whether the GNU malloc routines are usable..." >&6;} 5622 - whether the GNU malloc routines are usable..." >&6;}
5510 5623
5511 ### First figure out CFLAGS (which we use for running the compiler here) 5624 ### First figure out CFLAGS (which we use for running the compiler here)
5512 ### and REAL_CFLAGS (which we use for real compilation). 5625 ### and REAL_CFLAGS (which we use for real compilation).
5653 enableval=$enable_largefile; 5766 enableval=$enable_largefile;
5654 fi 5767 fi
5655 5768
5656 if test "$enable_largefile" != no; then 5769 if test "$enable_largefile" != no; then
5657 5770
5658 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5771 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5659 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } 5772 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5660 if test "${ac_cv_sys_largefile_CC+set}" = set; then 5773 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6 5774 $as_echo_n "(cached) " >&6
5662 else 5775 else
5663 ac_cv_sys_largefile_CC=no 5776 ac_cv_sys_largefile_CC=no
5664 if test "$GCC" != yes; then 5777 if test "$GCC" != yes; then
5665 ac_save_CC=$CC 5778 ac_save_CC=$CC
5666 while :; do 5779 while :; do
5693 if { (ac_try="$ac_compile" 5806 if { (ac_try="$ac_compile"
5694 case "(($ac_try" in 5807 case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;; 5809 *) ac_try_echo=$ac_try;;
5697 esac 5810 esac
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5812 $as_echo "$ac_try_echo") >&5
5699 (eval "$ac_compile") 2>conftest.er1 5813 (eval "$ac_compile") 2>conftest.er1
5700 ac_status=$? 5814 ac_status=$?
5701 grep -v '^ *+' conftest.er1 >conftest.err 5815 grep -v '^ *+' conftest.er1 >conftest.err
5702 rm -f conftest.er1 5816 rm -f conftest.er1
5703 cat conftest.err >&5 5817 cat conftest.err >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); } && { 5819 (exit $ac_status); } && {
5706 test -z "$ac_c_werror_flag" || 5820 test -z "$ac_c_werror_flag" ||
5707 test ! -s conftest.err 5821 test ! -s conftest.err
5708 } && test -s conftest.$ac_objext; then 5822 } && test -s conftest.$ac_objext; then
5709 break 5823 break
5710 else 5824 else
5711 echo "$as_me: failed program was:" >&5 5825 $as_echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.$ac_ext >&5 5826 sed 's/^/| /' conftest.$ac_ext >&5
5713 5827
5714 5828
5715 fi 5829 fi
5716 5830
5720 if { (ac_try="$ac_compile" 5834 if { (ac_try="$ac_compile"
5721 case "(($ac_try" in 5835 case "(($ac_try" in
5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723 *) ac_try_echo=$ac_try;; 5837 *) ac_try_echo=$ac_try;;
5724 esac 5838 esac
5725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5840 $as_echo "$ac_try_echo") >&5
5726 (eval "$ac_compile") 2>conftest.er1 5841 (eval "$ac_compile") 2>conftest.er1
5727 ac_status=$? 5842 ac_status=$?
5728 grep -v '^ *+' conftest.er1 >conftest.err 5843 grep -v '^ *+' conftest.er1 >conftest.err
5729 rm -f conftest.er1 5844 rm -f conftest.er1
5730 cat conftest.err >&5 5845 cat conftest.err >&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && { 5847 (exit $ac_status); } && {
5733 test -z "$ac_c_werror_flag" || 5848 test -z "$ac_c_werror_flag" ||
5734 test ! -s conftest.err 5849 test ! -s conftest.err
5735 } && test -s conftest.$ac_objext; then 5850 } && test -s conftest.$ac_objext; then
5736 ac_cv_sys_largefile_CC=' -n32'; break 5851 ac_cv_sys_largefile_CC=' -n32'; break
5737 else 5852 else
5738 echo "$as_me: failed program was:" >&5 5853 $as_echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5 5854 sed 's/^/| /' conftest.$ac_ext >&5
5740 5855
5741 5856
5742 fi 5857 fi
5743 5858
5746 done 5861 done
5747 CC=$ac_save_CC 5862 CC=$ac_save_CC
5748 rm -f conftest.$ac_ext 5863 rm -f conftest.$ac_ext
5749 fi 5864 fi
5750 fi 5865 fi
5751 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5866 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5752 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } 5867 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5753 if test "$ac_cv_sys_largefile_CC" != no; then 5868 if test "$ac_cv_sys_largefile_CC" != no; then
5754 CC=$CC$ac_cv_sys_largefile_CC 5869 CC=$CC$ac_cv_sys_largefile_CC
5755 fi 5870 fi
5756 5871
5757 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5872 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5758 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } 5873 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5759 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5874 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6 5875 $as_echo_n "(cached) " >&6
5761 else 5876 else
5762 while :; do 5877 while :; do
5763 cat >conftest.$ac_ext <<_ACEOF 5878 cat >conftest.$ac_ext <<_ACEOF
5764 /* confdefs.h. */ 5879 /* confdefs.h. */
5765 _ACEOF 5880 _ACEOF
5787 if { (ac_try="$ac_compile" 5902 if { (ac_try="$ac_compile"
5788 case "(($ac_try" in 5903 case "(($ac_try" in
5789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5790 *) ac_try_echo=$ac_try;; 5905 *) ac_try_echo=$ac_try;;
5791 esac 5906 esac
5792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5908 $as_echo "$ac_try_echo") >&5
5793 (eval "$ac_compile") 2>conftest.er1 5909 (eval "$ac_compile") 2>conftest.er1
5794 ac_status=$? 5910 ac_status=$?
5795 grep -v '^ *+' conftest.er1 >conftest.err 5911 grep -v '^ *+' conftest.er1 >conftest.err
5796 rm -f conftest.er1 5912 rm -f conftest.er1
5797 cat conftest.err >&5 5913 cat conftest.err >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } && { 5915 (exit $ac_status); } && {
5800 test -z "$ac_c_werror_flag" || 5916 test -z "$ac_c_werror_flag" ||
5801 test ! -s conftest.err 5917 test ! -s conftest.err
5802 } && test -s conftest.$ac_objext; then 5918 } && test -s conftest.$ac_objext; then
5803 ac_cv_sys_file_offset_bits=no; break 5919 ac_cv_sys_file_offset_bits=no; break
5804 else 5920 else
5805 echo "$as_me: failed program was:" >&5 5921 $as_echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5 5922 sed 's/^/| /' conftest.$ac_ext >&5
5807 5923
5808 5924
5809 fi 5925 fi
5810 5926
5837 if { (ac_try="$ac_compile" 5953 if { (ac_try="$ac_compile"
5838 case "(($ac_try" in 5954 case "(($ac_try" in
5839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5840 *) ac_try_echo=$ac_try;; 5956 *) ac_try_echo=$ac_try;;
5841 esac 5957 esac
5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5959 $as_echo "$ac_try_echo") >&5
5843 (eval "$ac_compile") 2>conftest.er1 5960 (eval "$ac_compile") 2>conftest.er1
5844 ac_status=$? 5961 ac_status=$?
5845 grep -v '^ *+' conftest.er1 >conftest.err 5962 grep -v '^ *+' conftest.er1 >conftest.err
5846 rm -f conftest.er1 5963 rm -f conftest.er1
5847 cat conftest.err >&5 5964 cat conftest.err >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } && { 5966 (exit $ac_status); } && {
5850 test -z "$ac_c_werror_flag" || 5967 test -z "$ac_c_werror_flag" ||
5851 test ! -s conftest.err 5968 test ! -s conftest.err
5852 } && test -s conftest.$ac_objext; then 5969 } && test -s conftest.$ac_objext; then
5853 ac_cv_sys_file_offset_bits=64; break 5970 ac_cv_sys_file_offset_bits=64; break
5854 else 5971 else
5855 echo "$as_me: failed program was:" >&5 5972 $as_echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5 5973 sed 's/^/| /' conftest.$ac_ext >&5
5857 5974
5858 5975
5859 fi 5976 fi
5860 5977
5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862 ac_cv_sys_file_offset_bits=unknown 5979 ac_cv_sys_file_offset_bits=unknown
5863 break 5980 break
5864 done 5981 done
5865 fi 5982 fi
5866 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5983 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5867 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } 5984 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5868 case $ac_cv_sys_file_offset_bits in #( 5985 case $ac_cv_sys_file_offset_bits in #(
5869 no | unknown) ;; 5986 no | unknown) ;;
5870 *) 5987 *)
5871 cat >>confdefs.h <<_ACEOF 5988 cat >>confdefs.h <<_ACEOF
5872 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5989 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5873 _ACEOF 5990 _ACEOF
5874 ;; 5991 ;;
5875 esac 5992 esac
5876 rm -f conftest* 5993 rm -rf conftest*
5877 if test $ac_cv_sys_file_offset_bits = unknown; then 5994 if test $ac_cv_sys_file_offset_bits = unknown; then
5878 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5995 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5879 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } 5996 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5880 if test "${ac_cv_sys_large_files+set}" = set; then 5997 if test "${ac_cv_sys_large_files+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6 5998 $as_echo_n "(cached) " >&6
5882 else 5999 else
5883 while :; do 6000 while :; do
5884 cat >conftest.$ac_ext <<_ACEOF 6001 cat >conftest.$ac_ext <<_ACEOF
5885 /* confdefs.h. */ 6002 /* confdefs.h. */
5886 _ACEOF 6003 _ACEOF
5908 if { (ac_try="$ac_compile" 6025 if { (ac_try="$ac_compile"
5909 case "(($ac_try" in 6026 case "(($ac_try" in
5910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911 *) ac_try_echo=$ac_try;; 6028 *) ac_try_echo=$ac_try;;
5912 esac 6029 esac
5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6031 $as_echo "$ac_try_echo") >&5
5914 (eval "$ac_compile") 2>conftest.er1 6032 (eval "$ac_compile") 2>conftest.er1
5915 ac_status=$? 6033 ac_status=$?
5916 grep -v '^ *+' conftest.er1 >conftest.err 6034 grep -v '^ *+' conftest.er1 >conftest.err
5917 rm -f conftest.er1 6035 rm -f conftest.er1
5918 cat conftest.err >&5 6036 cat conftest.err >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } && { 6038 (exit $ac_status); } && {
5921 test -z "$ac_c_werror_flag" || 6039 test -z "$ac_c_werror_flag" ||
5922 test ! -s conftest.err 6040 test ! -s conftest.err
5923 } && test -s conftest.$ac_objext; then 6041 } && test -s conftest.$ac_objext; then
5924 ac_cv_sys_large_files=no; break 6042 ac_cv_sys_large_files=no; break
5925 else 6043 else
5926 echo "$as_me: failed program was:" >&5 6044 $as_echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5 6045 sed 's/^/| /' conftest.$ac_ext >&5
5928 6046
5929 6047
5930 fi 6048 fi
5931 6049
5958 if { (ac_try="$ac_compile" 6076 if { (ac_try="$ac_compile"
5959 case "(($ac_try" in 6077 case "(($ac_try" in
5960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5961 *) ac_try_echo=$ac_try;; 6079 *) ac_try_echo=$ac_try;;
5962 esac 6080 esac
5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6082 $as_echo "$ac_try_echo") >&5
5964 (eval "$ac_compile") 2>conftest.er1 6083 (eval "$ac_compile") 2>conftest.er1
5965 ac_status=$? 6084 ac_status=$?
5966 grep -v '^ *+' conftest.er1 >conftest.err 6085 grep -v '^ *+' conftest.er1 >conftest.err
5967 rm -f conftest.er1 6086 rm -f conftest.er1
5968 cat conftest.err >&5 6087 cat conftest.err >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); } && { 6089 (exit $ac_status); } && {
5971 test -z "$ac_c_werror_flag" || 6090 test -z "$ac_c_werror_flag" ||
5972 test ! -s conftest.err 6091 test ! -s conftest.err
5973 } && test -s conftest.$ac_objext; then 6092 } && test -s conftest.$ac_objext; then
5974 ac_cv_sys_large_files=1; break 6093 ac_cv_sys_large_files=1; break
5975 else 6094 else
5976 echo "$as_me: failed program was:" >&5 6095 $as_echo "$as_me: failed program was:" >&5
5977 sed 's/^/| /' conftest.$ac_ext >&5 6096 sed 's/^/| /' conftest.$ac_ext >&5
5978 6097
5979 6098
5980 fi 6099 fi
5981 6100
5982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5983 ac_cv_sys_large_files=unknown 6102 ac_cv_sys_large_files=unknown
5984 break 6103 break
5985 done 6104 done
5986 fi 6105 fi
5987 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 6106 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5988 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } 6107 $as_echo "$ac_cv_sys_large_files" >&6; }
5989 case $ac_cv_sys_large_files in #( 6108 case $ac_cv_sys_large_files in #(
5990 no | unknown) ;; 6109 no | unknown) ;;
5991 *) 6110 *)
5992 cat >>confdefs.h <<_ACEOF 6111 cat >>confdefs.h <<_ACEOF
5993 #define _LARGE_FILES $ac_cv_sys_large_files 6112 #define _LARGE_FILES $ac_cv_sys_large_files
5994 _ACEOF 6113 _ACEOF
5995 ;; 6114 ;;
5996 esac 6115 esac
5997 rm -f conftest* 6116 rm -rf conftest*
5998 fi 6117 fi
5999 fi 6118 fi
6000 6119
6001 6120
6002 6121
6023 6142
6024 6143
6025 6144
6026 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 6145 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
6027 do 6146 do
6028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6030 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6149 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6150 $as_echo_n "checking for $ac_header... " >&6; }
6032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6 6152 $as_echo_n "(cached) " >&6
6034 fi 6153 fi
6035 ac_res=`eval echo '${'$as_ac_Header'}'` 6154 ac_res=`eval 'as_val=${'$as_ac_Header'}
6036 { echo "$as_me:$LINENO: result: $ac_res" >&5 6155 $as_echo "$as_val"'`
6037 echo "${ECHO_T}$ac_res" >&6; } 6156 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6157 $as_echo "$ac_res" >&6; }
6038 else 6158 else
6039 # Is the header compilable? 6159 # Is the header compilable?
6040 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6160 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6161 $as_echo_n "checking $ac_header usability... " >&6; }
6042 cat >conftest.$ac_ext <<_ACEOF 6162 cat >conftest.$ac_ext <<_ACEOF
6043 /* confdefs.h. */ 6163 /* confdefs.h. */
6044 _ACEOF 6164 _ACEOF
6045 cat confdefs.h >>conftest.$ac_ext 6165 cat confdefs.h >>conftest.$ac_ext
6046 cat >>conftest.$ac_ext <<_ACEOF 6166 cat >>conftest.$ac_ext <<_ACEOF
6052 if { (ac_try="$ac_compile" 6172 if { (ac_try="$ac_compile"
6053 case "(($ac_try" in 6173 case "(($ac_try" in
6054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055 *) ac_try_echo=$ac_try;; 6175 *) ac_try_echo=$ac_try;;
6056 esac 6176 esac
6057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6178 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_compile") 2>conftest.er1 6179 (eval "$ac_compile") 2>conftest.er1
6059 ac_status=$? 6180 ac_status=$?
6060 grep -v '^ *+' conftest.er1 >conftest.err 6181 grep -v '^ *+' conftest.er1 >conftest.err
6061 rm -f conftest.er1 6182 rm -f conftest.er1
6062 cat conftest.err >&5 6183 cat conftest.err >&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } && { 6185 (exit $ac_status); } && {
6065 test -z "$ac_c_werror_flag" || 6186 test -z "$ac_c_werror_flag" ||
6066 test ! -s conftest.err 6187 test ! -s conftest.err
6067 } && test -s conftest.$ac_objext; then 6188 } && test -s conftest.$ac_objext; then
6068 ac_header_compiler=yes 6189 ac_header_compiler=yes
6069 else 6190 else
6070 echo "$as_me: failed program was:" >&5 6191 $as_echo "$as_me: failed program was:" >&5
6071 sed 's/^/| /' conftest.$ac_ext >&5 6192 sed 's/^/| /' conftest.$ac_ext >&5
6072 6193
6073 ac_header_compiler=no 6194 ac_header_compiler=no
6074 fi 6195 fi
6075 6196
6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6198 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6078 echo "${ECHO_T}$ac_header_compiler" >&6; } 6199 $as_echo "$ac_header_compiler" >&6; }
6079 6200
6080 # Is the header present? 6201 # Is the header present?
6081 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6202 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6203 $as_echo_n "checking $ac_header presence... " >&6; }
6083 cat >conftest.$ac_ext <<_ACEOF 6204 cat >conftest.$ac_ext <<_ACEOF
6084 /* confdefs.h. */ 6205 /* confdefs.h. */
6085 _ACEOF 6206 _ACEOF
6086 cat confdefs.h >>conftest.$ac_ext 6207 cat confdefs.h >>conftest.$ac_ext
6087 cat >>conftest.$ac_ext <<_ACEOF 6208 cat >>conftest.$ac_ext <<_ACEOF
6091 if { (ac_try="$ac_cpp conftest.$ac_ext" 6212 if { (ac_try="$ac_cpp conftest.$ac_ext"
6092 case "(($ac_try" in 6213 case "(($ac_try" in
6093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6094 *) ac_try_echo=$ac_try;; 6215 *) ac_try_echo=$ac_try;;
6095 esac 6216 esac
6096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6218 $as_echo "$ac_try_echo") >&5
6097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6098 ac_status=$? 6220 ac_status=$?
6099 grep -v '^ *+' conftest.er1 >conftest.err 6221 grep -v '^ *+' conftest.er1 >conftest.err
6100 rm -f conftest.er1 6222 rm -f conftest.er1
6101 cat conftest.err >&5 6223 cat conftest.err >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } >/dev/null && { 6225 (exit $ac_status); } >/dev/null && {
6104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6105 test ! -s conftest.err 6227 test ! -s conftest.err
6106 }; then 6228 }; then
6107 ac_header_preproc=yes 6229 ac_header_preproc=yes
6108 else 6230 else
6109 echo "$as_me: failed program was:" >&5 6231 $as_echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.$ac_ext >&5 6232 sed 's/^/| /' conftest.$ac_ext >&5
6111 6233
6112 ac_header_preproc=no 6234 ac_header_preproc=no
6113 fi 6235 fi
6114 6236
6115 rm -f conftest.err conftest.$ac_ext 6237 rm -f conftest.err conftest.$ac_ext
6116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6238 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6117 echo "${ECHO_T}$ac_header_preproc" >&6; } 6239 $as_echo "$ac_header_preproc" >&6; }
6118 6240
6119 # So? What about this header? 6241 # So? What about this header?
6120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6121 yes:no: ) 6243 yes:no: )
6122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6245 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6247 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6126 ac_header_preproc=yes 6248 ac_header_preproc=yes
6127 ;; 6249 ;;
6128 no:yes:* ) 6250 no:yes:* )
6129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6252 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6254 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6256 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6258 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6260 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6261 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6262 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6141 6263
6142 ;; 6264 ;;
6143 esac 6265 esac
6144 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6266 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6267 $as_echo_n "checking for $ac_header... " >&6; }
6146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6 6269 $as_echo_n "(cached) " >&6
6148 else 6270 else
6149 eval "$as_ac_Header=\$ac_header_preproc" 6271 eval "$as_ac_Header=\$ac_header_preproc"
6150 fi 6272 fi
6151 ac_res=`eval echo '${'$as_ac_Header'}'` 6273 ac_res=`eval 'as_val=${'$as_ac_Header'}
6152 { echo "$as_me:$LINENO: result: $ac_res" >&5 6274 $as_echo "$as_val"'`
6153 echo "${ECHO_T}$ac_res" >&6; } 6275 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6154 6276 $as_echo "$ac_res" >&6; }
6155 fi 6277
6156 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6278 fi
6279 if test `eval 'as_val=${'$as_ac_Header'}
6280 $as_echo "$as_val"'` = yes; then
6157 cat >>confdefs.h <<_ACEOF 6281 cat >>confdefs.h <<_ACEOF
6158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6159 _ACEOF 6283 _ACEOF
6160 6284
6161 fi 6285 fi
6162 6286
6163 done 6287 done
6164 6288
6165 # Emulation library used on NetBSD. 6289 # Emulation library used on NetBSD.
6166 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 6290 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6167 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; } 6291 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6168 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 6292 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6 6293 $as_echo_n "(cached) " >&6
6170 else 6294 else
6171 ac_check_lib_save_LIBS=$LIBS 6295 ac_check_lib_save_LIBS=$LIBS
6172 LIBS="-lossaudio $LIBS" 6296 LIBS="-lossaudio $LIBS"
6173 cat >conftest.$ac_ext <<_ACEOF 6297 cat >conftest.$ac_ext <<_ACEOF
6174 /* confdefs.h. */ 6298 /* confdefs.h. */
6196 if { (ac_try="$ac_link" 6320 if { (ac_try="$ac_link"
6197 case "(($ac_try" in 6321 case "(($ac_try" in
6198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6199 *) ac_try_echo=$ac_try;; 6323 *) ac_try_echo=$ac_try;;
6200 esac 6324 esac
6201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6326 $as_echo "$ac_try_echo") >&5
6202 (eval "$ac_link") 2>conftest.er1 6327 (eval "$ac_link") 2>conftest.er1
6203 ac_status=$? 6328 ac_status=$?
6204 grep -v '^ *+' conftest.er1 >conftest.err 6329 grep -v '^ *+' conftest.er1 >conftest.err
6205 rm -f conftest.er1 6330 rm -f conftest.er1
6206 cat conftest.err >&5 6331 cat conftest.err >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } && { 6333 (exit $ac_status); } && {
6209 test -z "$ac_c_werror_flag" || 6334 test -z "$ac_c_werror_flag" ||
6210 test ! -s conftest.err 6335 test ! -s conftest.err
6211 } && test -s conftest$ac_exeext && 6336 } && test -s conftest$ac_exeext && {
6212 $as_test_x conftest$ac_exeext; then 6337 test "$cross_compiling" = yes ||
6338 $as_test_x conftest$ac_exeext
6339 }; then
6213 ac_cv_lib_ossaudio__oss_ioctl=yes 6340 ac_cv_lib_ossaudio__oss_ioctl=yes
6214 else 6341 else
6215 echo "$as_me: failed program was:" >&5 6342 $as_echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5 6343 sed 's/^/| /' conftest.$ac_ext >&5
6217 6344
6218 ac_cv_lib_ossaudio__oss_ioctl=no 6345 ac_cv_lib_ossaudio__oss_ioctl=no
6219 fi 6346 fi
6220 6347
6348 rm -rf conftest.dSYM
6221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6222 conftest$ac_exeext conftest.$ac_ext 6350 conftest$ac_exeext conftest.$ac_ext
6223 LIBS=$ac_check_lib_save_LIBS 6351 LIBS=$ac_check_lib_save_LIBS
6224 fi 6352 fi
6225 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6353 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6226 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6354 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6227 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 6355 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6228 LIBSOUND=-lossaudio 6356 LIBSOUND=-lossaudio
6229 else 6357 else
6230 LIBSOUND= 6358 LIBSOUND=
6231 fi 6359 fi
6237 6365
6238 succeeded=no 6366 succeeded=no
6239 6367
6240 # Extract the first word of "pkg-config", so it can be a program name with args. 6368 # Extract the first word of "pkg-config", so it can be a program name with args.
6241 set dummy pkg-config; ac_word=$2 6369 set dummy pkg-config; ac_word=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5 6370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6371 $as_echo_n "checking for $ac_word... " >&6; }
6244 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6372 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6 6373 $as_echo_n "(cached) " >&6
6246 else 6374 else
6247 case $PKG_CONFIG in 6375 case $PKG_CONFIG in
6248 [\\/]* | ?:[\\/]*) 6376 [\\/]* | ?:[\\/]*)
6249 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6377 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6250 ;; 6378 ;;
6255 IFS=$as_save_IFS 6383 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=. 6384 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do 6385 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6387 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2 6389 break 2
6262 fi 6390 fi
6263 done 6391 done
6264 done 6392 done
6265 IFS=$as_save_IFS 6393 IFS=$as_save_IFS
6268 ;; 6396 ;;
6269 esac 6397 esac
6270 fi 6398 fi
6271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6399 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6272 if test -n "$PKG_CONFIG"; then 6400 if test -n "$PKG_CONFIG"; then
6273 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6401 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6274 echo "${ECHO_T}$PKG_CONFIG" >&6; } 6402 $as_echo "$PKG_CONFIG" >&6; }
6275 else 6403 else
6276 { echo "$as_me:$LINENO: result: no" >&5 6404 { $as_echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6; } 6405 $as_echo "no" >&6; }
6278 fi 6406 fi
6279 6407
6280 6408
6281 6409
6282 if test "$PKG_CONFIG" = "no" ; then 6410 if test "$PKG_CONFIG" = "no" ; then
6283 HAVE_ALSA=no 6411 HAVE_ALSA=no
6284 else 6412 else
6285 PKG_CONFIG_MIN_VERSION=0.9.0 6413 PKG_CONFIG_MIN_VERSION=0.9.0
6286 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6414 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6287 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6415 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
6288 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; } 6416 $as_echo_n "checking for $ALSA_MODULES... " >&6; }
6289 6417
6290 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6418 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
6291 { echo "$as_me:$LINENO: result: yes" >&5 6419 { $as_echo "$as_me:$LINENO: result: yes" >&5
6292 echo "${ECHO_T}yes" >&6; } 6420 $as_echo "yes" >&6; }
6293 succeeded=yes 6421 succeeded=yes
6294 6422
6295 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6423 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
6296 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; } 6424 $as_echo_n "checking ALSA_CFLAGS... " >&6; }
6297 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6425 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6298 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6426 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
6299 echo "${ECHO_T}$ALSA_CFLAGS" >&6; } 6427 $as_echo "$ALSA_CFLAGS" >&6; }
6300 6428
6301 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6429 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
6302 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; } 6430 $as_echo_n "checking ALSA_LIBS... " >&6; }
6303 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6431 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6304 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6432 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
6305 echo "${ECHO_T}$ALSA_LIBS" >&6; } 6433 $as_echo "$ALSA_LIBS" >&6; }
6306 else 6434 else
6307 { echo "$as_me:$LINENO: result: no" >&5 6435 { $as_echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6; } 6436 $as_echo "no" >&6; }
6309 ALSA_CFLAGS="" 6437 ALSA_CFLAGS=""
6310 ALSA_LIBS="" 6438 ALSA_LIBS=""
6311 ## If we have a custom action on failure, don't print errors, but 6439 ## If we have a custom action on failure, don't print errors, but
6312 ## do set a variable so people can do so. 6440 ## do set a variable so people can do so.
6313 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` 6441 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
6352 if { (ac_try="$ac_compile" 6480 if { (ac_try="$ac_compile"
6353 case "(($ac_try" in 6481 case "(($ac_try" in
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;; 6483 *) ac_try_echo=$ac_try;;
6356 esac 6484 esac
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6486 $as_echo "$ac_try_echo") >&5
6358 (eval "$ac_compile") 2>conftest.er1 6487 (eval "$ac_compile") 2>conftest.er1
6359 ac_status=$? 6488 ac_status=$?
6360 grep -v '^ *+' conftest.er1 >conftest.err 6489 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1 6490 rm -f conftest.er1
6362 cat conftest.err >&5 6491 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && { 6493 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" || 6494 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err 6495 test ! -s conftest.err
6367 } && test -s conftest.$ac_objext; then 6496 } && test -s conftest.$ac_objext; then
6368 emacs_alsa_normal=yes 6497 emacs_alsa_normal=yes
6369 else 6498 else
6370 echo "$as_me: failed program was:" >&5 6499 $as_echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.$ac_ext >&5 6500 sed 's/^/| /' conftest.$ac_ext >&5
6372 6501
6373 emacs_alsa_normal=no 6502 emacs_alsa_normal=no
6374 fi 6503 fi
6375 6504
6394 if { (ac_try="$ac_compile" 6523 if { (ac_try="$ac_compile"
6395 case "(($ac_try" in 6524 case "(($ac_try" in
6396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6397 *) ac_try_echo=$ac_try;; 6526 *) ac_try_echo=$ac_try;;
6398 esac 6527 esac
6399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6529 $as_echo "$ac_try_echo") >&5
6400 (eval "$ac_compile") 2>conftest.er1 6530 (eval "$ac_compile") 2>conftest.er1
6401 ac_status=$? 6531 ac_status=$?
6402 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
6403 rm -f conftest.er1 6533 rm -f conftest.er1
6404 cat conftest.err >&5 6534 cat conftest.err >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } && { 6536 (exit $ac_status); } && {
6407 test -z "$ac_c_werror_flag" || 6537 test -z "$ac_c_werror_flag" ||
6408 test ! -s conftest.err 6538 test ! -s conftest.err
6409 } && test -s conftest.$ac_objext; then 6539 } && test -s conftest.$ac_objext; then
6410 emacs_alsa_subdir=yes 6540 emacs_alsa_subdir=yes
6411 else 6541 else
6412 echo "$as_me: failed program was:" >&5 6542 $as_echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5 6543 sed 's/^/| /' conftest.$ac_ext >&5
6414 6544
6415 emacs_alsa_subdir=no 6545 emacs_alsa_subdir=no
6416 fi 6546 fi
6417 6547
6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6419 if test "$emacs_alsa_subdir" != yes; then 6549 if test "$emacs_alsa_subdir" != yes; then
6420 { { echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 6550 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6421 echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} 6551 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6422 { (exit 1); exit 1; }; } 6552 { (exit 1); exit 1; }; }
6423 fi 6553 fi
6424 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6554 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6425 fi 6555 fi
6426 6556
6466 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6596 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6467 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6597 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6468 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6598 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6469 sys/utsname.h pwd.h 6599 sys/utsname.h pwd.h
6470 do 6600 do
6471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6473 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6603 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6604 $as_echo_n "checking for $ac_header... " >&6; }
6475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6 6606 $as_echo_n "(cached) " >&6
6477 fi 6607 fi
6478 ac_res=`eval echo '${'$as_ac_Header'}'` 6608 ac_res=`eval 'as_val=${'$as_ac_Header'}
6479 { echo "$as_me:$LINENO: result: $ac_res" >&5 6609 $as_echo "$as_val"'`
6480 echo "${ECHO_T}$ac_res" >&6; } 6610 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6611 $as_echo "$ac_res" >&6; }
6481 else 6612 else
6482 # Is the header compilable? 6613 # Is the header compilable?
6483 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6614 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6615 $as_echo_n "checking $ac_header usability... " >&6; }
6485 cat >conftest.$ac_ext <<_ACEOF 6616 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */ 6617 /* confdefs.h. */
6487 _ACEOF 6618 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext 6619 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF 6620 cat >>conftest.$ac_ext <<_ACEOF
6495 if { (ac_try="$ac_compile" 6626 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in 6627 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;; 6629 *) ac_try_echo=$ac_try;;
6499 esac 6630 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6632 $as_echo "$ac_try_echo") >&5
6501 (eval "$ac_compile") 2>conftest.er1 6633 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$? 6634 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err 6635 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1 6636 rm -f conftest.er1
6505 cat conftest.err >&5 6637 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && { 6639 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" || 6640 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err 6641 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then 6642 } && test -s conftest.$ac_objext; then
6511 ac_header_compiler=yes 6643 ac_header_compiler=yes
6512 else 6644 else
6513 echo "$as_me: failed program was:" >&5 6645 $as_echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5 6646 sed 's/^/| /' conftest.$ac_ext >&5
6515 6647
6516 ac_header_compiler=no 6648 ac_header_compiler=no
6517 fi 6649 fi
6518 6650
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6652 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6521 echo "${ECHO_T}$ac_header_compiler" >&6; } 6653 $as_echo "$ac_header_compiler" >&6; }
6522 6654
6523 # Is the header present? 6655 # Is the header present?
6524 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6656 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6657 $as_echo_n "checking $ac_header presence... " >&6; }
6526 cat >conftest.$ac_ext <<_ACEOF 6658 cat >conftest.$ac_ext <<_ACEOF
6527 /* confdefs.h. */ 6659 /* confdefs.h. */
6528 _ACEOF 6660 _ACEOF
6529 cat confdefs.h >>conftest.$ac_ext 6661 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF 6662 cat >>conftest.$ac_ext <<_ACEOF
6534 if { (ac_try="$ac_cpp conftest.$ac_ext" 6666 if { (ac_try="$ac_cpp conftest.$ac_ext"
6535 case "(($ac_try" in 6667 case "(($ac_try" in
6536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6537 *) ac_try_echo=$ac_try;; 6669 *) ac_try_echo=$ac_try;;
6538 esac 6670 esac
6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6672 $as_echo "$ac_try_echo") >&5
6540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6541 ac_status=$? 6674 ac_status=$?
6542 grep -v '^ *+' conftest.er1 >conftest.err 6675 grep -v '^ *+' conftest.er1 >conftest.err
6543 rm -f conftest.er1 6676 rm -f conftest.er1
6544 cat conftest.err >&5 6677 cat conftest.err >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); } >/dev/null && { 6679 (exit $ac_status); } >/dev/null && {
6547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6548 test ! -s conftest.err 6681 test ! -s conftest.err
6549 }; then 6682 }; then
6550 ac_header_preproc=yes 6683 ac_header_preproc=yes
6551 else 6684 else
6552 echo "$as_me: failed program was:" >&5 6685 $as_echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5 6686 sed 's/^/| /' conftest.$ac_ext >&5
6554 6687
6555 ac_header_preproc=no 6688 ac_header_preproc=no
6556 fi 6689 fi
6557 6690
6558 rm -f conftest.err conftest.$ac_ext 6691 rm -f conftest.err conftest.$ac_ext
6559 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6692 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6560 echo "${ECHO_T}$ac_header_preproc" >&6; } 6693 $as_echo "$ac_header_preproc" >&6; }
6561 6694
6562 # So? What about this header? 6695 # So? What about this header?
6563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6564 yes:no: ) 6697 yes:no: )
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6699 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6701 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6569 ac_header_preproc=yes 6702 ac_header_preproc=yes
6570 ;; 6703 ;;
6571 no:yes:* ) 6704 no:yes:* )
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6706 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6708 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6710 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6712 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6714 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6716 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6584 6717
6585 ;; 6718 ;;
6586 esac 6719 esac
6587 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6720 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6721 $as_echo_n "checking for $ac_header... " >&6; }
6589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6 6723 $as_echo_n "(cached) " >&6
6591 else 6724 else
6592 eval "$as_ac_Header=\$ac_header_preproc" 6725 eval "$as_ac_Header=\$ac_header_preproc"
6593 fi 6726 fi
6594 ac_res=`eval echo '${'$as_ac_Header'}'` 6727 ac_res=`eval 'as_val=${'$as_ac_Header'}
6595 { echo "$as_me:$LINENO: result: $ac_res" >&5 6728 $as_echo "$as_val"'`
6596 echo "${ECHO_T}$ac_res" >&6; } 6729 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6597 6730 $as_echo "$ac_res" >&6; }
6598 fi 6731
6599 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6732 fi
6733 if test `eval 'as_val=${'$as_ac_Header'}
6734 $as_echo "$as_val"'` = yes; then
6600 cat >>confdefs.h <<_ACEOF 6735 cat >>confdefs.h <<_ACEOF
6601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6602 _ACEOF 6737 _ACEOF
6603 6738
6604 fi 6739 fi
6605 6740
6606 done 6741 done
6607 6742
6608 6743
6609 { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6744 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
6610 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; } 6745 $as_echo_n "checking if personality LINUX32 can be set... " >&6; }
6611 cat >conftest.$ac_ext <<_ACEOF 6746 cat >conftest.$ac_ext <<_ACEOF
6612 /* confdefs.h. */ 6747 /* confdefs.h. */
6613 _ACEOF 6748 _ACEOF
6614 cat confdefs.h >>conftest.$ac_ext 6749 cat confdefs.h >>conftest.$ac_ext
6615 cat >>conftest.$ac_ext <<_ACEOF 6750 cat >>conftest.$ac_ext <<_ACEOF
6627 if { (ac_try="$ac_compile" 6762 if { (ac_try="$ac_compile"
6628 case "(($ac_try" in 6763 case "(($ac_try" in
6629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6630 *) ac_try_echo=$ac_try;; 6765 *) ac_try_echo=$ac_try;;
6631 esac 6766 esac
6632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6768 $as_echo "$ac_try_echo") >&5
6633 (eval "$ac_compile") 2>conftest.er1 6769 (eval "$ac_compile") 2>conftest.er1
6634 ac_status=$? 6770 ac_status=$?
6635 grep -v '^ *+' conftest.er1 >conftest.err 6771 grep -v '^ *+' conftest.er1 >conftest.err
6636 rm -f conftest.er1 6772 rm -f conftest.er1
6637 cat conftest.err >&5 6773 cat conftest.err >&5
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); } && { 6775 (exit $ac_status); } && {
6640 test -z "$ac_c_werror_flag" || 6776 test -z "$ac_c_werror_flag" ||
6641 test ! -s conftest.err 6777 test ! -s conftest.err
6642 } && test -s conftest.$ac_objext; then 6778 } && test -s conftest.$ac_objext; then
6643 emacs_cv_personality_linux32=yes 6779 emacs_cv_personality_linux32=yes
6644 else 6780 else
6645 echo "$as_me: failed program was:" >&5 6781 $as_echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5 6782 sed 's/^/| /' conftest.$ac_ext >&5
6647 6783
6648 emacs_cv_personality_linux32=no 6784 emacs_cv_personality_linux32=no
6649 fi 6785 fi
6650 6786
6651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6788 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
6653 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; } 6789 $as_echo "$emacs_cv_personality_linux32" >&6; }
6654 6790
6655 if test $emacs_cv_personality_linux32 = yes; then 6791 if test $emacs_cv_personality_linux32 = yes; then
6656 6792
6657 cat >>confdefs.h <<\_ACEOF 6793 cat >>confdefs.h <<\_ACEOF
6658 #define HAVE_PERSONALITY_LINUX32 1 6794 #define HAVE_PERSONALITY_LINUX32 1
6661 fi 6797 fi
6662 6798
6663 6799
6664 for ac_header in term.h 6800 for ac_header in term.h
6665 do 6801 do
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6804 $as_echo_n "checking for $ac_header... " >&6; }
6669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6 6806 $as_echo_n "(cached) " >&6
6671 else 6807 else
6672 cat >conftest.$ac_ext <<_ACEOF 6808 cat >conftest.$ac_ext <<_ACEOF
6673 /* confdefs.h. */ 6809 /* confdefs.h. */
6674 _ACEOF 6810 _ACEOF
6675 cat confdefs.h >>conftest.$ac_ext 6811 cat confdefs.h >>conftest.$ac_ext
6680 if { (ac_try="$ac_cpp conftest.$ac_ext" 6816 if { (ac_try="$ac_cpp conftest.$ac_ext"
6681 case "(($ac_try" in 6817 case "(($ac_try" in
6682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6683 *) ac_try_echo=$ac_try;; 6819 *) ac_try_echo=$ac_try;;
6684 esac 6820 esac
6685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6822 $as_echo "$ac_try_echo") >&5
6686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6687 ac_status=$? 6824 ac_status=$?
6688 grep -v '^ *+' conftest.er1 >conftest.err 6825 grep -v '^ *+' conftest.er1 >conftest.err
6689 rm -f conftest.er1 6826 rm -f conftest.er1
6690 cat conftest.err >&5 6827 cat conftest.err >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } >/dev/null && { 6829 (exit $ac_status); } >/dev/null && {
6693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6694 test ! -s conftest.err 6831 test ! -s conftest.err
6695 }; then 6832 }; then
6696 eval "$as_ac_Header=yes" 6833 eval "$as_ac_Header=yes"
6697 else 6834 else
6698 echo "$as_me: failed program was:" >&5 6835 $as_echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5 6836 sed 's/^/| /' conftest.$ac_ext >&5
6700 6837
6701 eval "$as_ac_Header=no" 6838 eval "$as_ac_Header=no"
6702 fi 6839 fi
6703 6840
6704 rm -f conftest.err conftest.$ac_ext 6841 rm -f conftest.err conftest.$ac_ext
6705 fi 6842 fi
6706 ac_res=`eval echo '${'$as_ac_Header'}'` 6843 ac_res=`eval 'as_val=${'$as_ac_Header'}
6707 { echo "$as_me:$LINENO: result: $ac_res" >&5 6844 $as_echo "$as_val"'`
6708 echo "${ECHO_T}$ac_res" >&6; } 6845 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6709 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6846 $as_echo "$ac_res" >&6; }
6847 if test `eval 'as_val=${'$as_ac_Header'}
6848 $as_echo "$as_val"'` = yes; then
6710 cat >>confdefs.h <<_ACEOF 6849 cat >>confdefs.h <<_ACEOF
6711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6712 _ACEOF 6851 _ACEOF
6713 6852
6714 fi 6853 fi
6715 6854
6716 done 6855 done
6717 6856
6718 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6857 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6719 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 6858 $as_echo_n "checking for ANSI C header files... " >&6; }
6720 if test "${ac_cv_header_stdc+set}" = set; then 6859 if test "${ac_cv_header_stdc+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6 6860 $as_echo_n "(cached) " >&6
6722 else 6861 else
6723 cat >conftest.$ac_ext <<_ACEOF 6862 cat >conftest.$ac_ext <<_ACEOF
6724 /* confdefs.h. */ 6863 /* confdefs.h. */
6725 _ACEOF 6864 _ACEOF
6726 cat confdefs.h >>conftest.$ac_ext 6865 cat confdefs.h >>conftest.$ac_ext
6743 if { (ac_try="$ac_compile" 6882 if { (ac_try="$ac_compile"
6744 case "(($ac_try" in 6883 case "(($ac_try" in
6745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6746 *) ac_try_echo=$ac_try;; 6885 *) ac_try_echo=$ac_try;;
6747 esac 6886 esac
6748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6888 $as_echo "$ac_try_echo") >&5
6749 (eval "$ac_compile") 2>conftest.er1 6889 (eval "$ac_compile") 2>conftest.er1
6750 ac_status=$? 6890 ac_status=$?
6751 grep -v '^ *+' conftest.er1 >conftest.err 6891 grep -v '^ *+' conftest.er1 >conftest.err
6752 rm -f conftest.er1 6892 rm -f conftest.er1
6753 cat conftest.err >&5 6893 cat conftest.err >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } && { 6895 (exit $ac_status); } && {
6756 test -z "$ac_c_werror_flag" || 6896 test -z "$ac_c_werror_flag" ||
6757 test ! -s conftest.err 6897 test ! -s conftest.err
6758 } && test -s conftest.$ac_objext; then 6898 } && test -s conftest.$ac_objext; then
6759 ac_cv_header_stdc=yes 6899 ac_cv_header_stdc=yes
6760 else 6900 else
6761 echo "$as_me: failed program was:" >&5 6901 $as_echo "$as_me: failed program was:" >&5
6762 sed 's/^/| /' conftest.$ac_ext >&5 6902 sed 's/^/| /' conftest.$ac_ext >&5
6763 6903
6764 ac_cv_header_stdc=no 6904 ac_cv_header_stdc=no
6765 fi 6905 fi
6766 6906
6848 if { (ac_try="$ac_link" 6988 if { (ac_try="$ac_link"
6849 case "(($ac_try" in 6989 case "(($ac_try" in
6850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851 *) ac_try_echo=$ac_try;; 6991 *) ac_try_echo=$ac_try;;
6852 esac 6992 esac
6853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6994 $as_echo "$ac_try_echo") >&5
6854 (eval "$ac_link") 2>&5 6995 (eval "$ac_link") 2>&5
6855 ac_status=$? 6996 ac_status=$?
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6858 { (case "(($ac_try" in 6999 { (case "(($ac_try" in
6859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860 *) ac_try_echo=$ac_try;; 7001 *) ac_try_echo=$ac_try;;
6861 esac 7002 esac
6862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7004 $as_echo "$ac_try_echo") >&5
6863 (eval "$ac_try") 2>&5 7005 (eval "$ac_try") 2>&5
6864 ac_status=$? 7006 ac_status=$?
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); }; }; then 7008 (exit $ac_status); }; }; then
6867 : 7009 :
6868 else 7010 else
6869 echo "$as_me: program exited with status $ac_status" >&5 7011 $as_echo "$as_me: program exited with status $ac_status" >&5
6870 echo "$as_me: failed program was:" >&5 7012 $as_echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.$ac_ext >&5 7013 sed 's/^/| /' conftest.$ac_ext >&5
6872 7014
6873 ( exit $ac_status ) 7015 ( exit $ac_status )
6874 ac_cv_header_stdc=no 7016 ac_cv_header_stdc=no
6875 fi 7017 fi
7018 rm -rf conftest.dSYM
6876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6877 fi 7020 fi
6878 7021
6879 7022
6880 fi 7023 fi
6881 fi 7024 fi
6882 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7025 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6883 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 7026 $as_echo "$ac_cv_header_stdc" >&6; }
6884 if test $ac_cv_header_stdc = yes; then 7027 if test $ac_cv_header_stdc = yes; then
6885 7028
6886 cat >>confdefs.h <<\_ACEOF 7029 cat >>confdefs.h <<\_ACEOF
6887 #define STDC_HEADERS 1 7030 #define STDC_HEADERS 1
6888 _ACEOF 7031 _ACEOF
6889 7032
6890 fi 7033 fi
6891 7034
6892 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 7035 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6893 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 7036 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6894 if test "${ac_cv_header_time+set}" = set; then 7037 if test "${ac_cv_header_time+set}" = set; then
6895 echo $ECHO_N "(cached) $ECHO_C" >&6 7038 $as_echo_n "(cached) " >&6
6896 else 7039 else
6897 cat >conftest.$ac_ext <<_ACEOF 7040 cat >conftest.$ac_ext <<_ACEOF
6898 /* confdefs.h. */ 7041 /* confdefs.h. */
6899 _ACEOF 7042 _ACEOF
6900 cat confdefs.h >>conftest.$ac_ext 7043 cat confdefs.h >>conftest.$ac_ext
6917 if { (ac_try="$ac_compile" 7060 if { (ac_try="$ac_compile"
6918 case "(($ac_try" in 7061 case "(($ac_try" in
6919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6920 *) ac_try_echo=$ac_try;; 7063 *) ac_try_echo=$ac_try;;
6921 esac 7064 esac
6922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7066 $as_echo "$ac_try_echo") >&5
6923 (eval "$ac_compile") 2>conftest.er1 7067 (eval "$ac_compile") 2>conftest.er1
6924 ac_status=$? 7068 ac_status=$?
6925 grep -v '^ *+' conftest.er1 >conftest.err 7069 grep -v '^ *+' conftest.er1 >conftest.err
6926 rm -f conftest.er1 7070 rm -f conftest.er1
6927 cat conftest.err >&5 7071 cat conftest.err >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } && { 7073 (exit $ac_status); } && {
6930 test -z "$ac_c_werror_flag" || 7074 test -z "$ac_c_werror_flag" ||
6931 test ! -s conftest.err 7075 test ! -s conftest.err
6932 } && test -s conftest.$ac_objext; then 7076 } && test -s conftest.$ac_objext; then
6933 ac_cv_header_time=yes 7077 ac_cv_header_time=yes
6934 else 7078 else
6935 echo "$as_me: failed program was:" >&5 7079 $as_echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5 7080 sed 's/^/| /' conftest.$ac_ext >&5
6937 7081
6938 ac_cv_header_time=no 7082 ac_cv_header_time=no
6939 fi 7083 fi
6940 7084
6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6942 fi 7086 fi
6943 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7087 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6944 echo "${ECHO_T}$ac_cv_header_time" >&6; } 7088 $as_echo "$ac_cv_header_time" >&6; }
6945 if test $ac_cv_header_time = yes; then 7089 if test $ac_cv_header_time = yes; then
6946 7090
6947 cat >>confdefs.h <<\_ACEOF 7091 cat >>confdefs.h <<\_ACEOF
6948 #define TIME_WITH_SYS_TIME 1 7092 #define TIME_WITH_SYS_TIME 1
6949 _ACEOF 7093 _ACEOF
6950 7094
6951 fi 7095 fi
6952 7096
6953 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 7097 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
6954 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; } 7098 $as_echo_n "checking whether sys_siglist is declared... " >&6; }
6955 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 7099 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6 7100 $as_echo_n "(cached) " >&6
6957 else 7101 else
6958 cat >conftest.$ac_ext <<_ACEOF 7102 cat >conftest.$ac_ext <<_ACEOF
6959 /* confdefs.h. */ 7103 /* confdefs.h. */
6960 _ACEOF 7104 _ACEOF
6961 cat confdefs.h >>conftest.$ac_ext 7105 cat confdefs.h >>conftest.$ac_ext
6977 if { (ac_try="$ac_compile" 7121 if { (ac_try="$ac_compile"
6978 case "(($ac_try" in 7122 case "(($ac_try" in
6979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6980 *) ac_try_echo=$ac_try;; 7124 *) ac_try_echo=$ac_try;;
6981 esac 7125 esac
6982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7127 $as_echo "$ac_try_echo") >&5
6983 (eval "$ac_compile") 2>conftest.er1 7128 (eval "$ac_compile") 2>conftest.er1
6984 ac_status=$? 7129 ac_status=$?
6985 grep -v '^ *+' conftest.er1 >conftest.err 7130 grep -v '^ *+' conftest.er1 >conftest.err
6986 rm -f conftest.er1 7131 rm -f conftest.er1
6987 cat conftest.err >&5 7132 cat conftest.err >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } && { 7134 (exit $ac_status); } && {
6990 test -z "$ac_c_werror_flag" || 7135 test -z "$ac_c_werror_flag" ||
6991 test ! -s conftest.err 7136 test ! -s conftest.err
6992 } && test -s conftest.$ac_objext; then 7137 } && test -s conftest.$ac_objext; then
6993 ac_cv_have_decl_sys_siglist=yes 7138 ac_cv_have_decl_sys_siglist=yes
6994 else 7139 else
6995 echo "$as_me: failed program was:" >&5 7140 $as_echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5 7141 sed 's/^/| /' conftest.$ac_ext >&5
6997 7142
6998 ac_cv_have_decl_sys_siglist=no 7143 ac_cv_have_decl_sys_siglist=no
6999 fi 7144 fi
7000 7145
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7002 fi 7147 fi
7003 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 7148 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7004 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; } 7149 $as_echo "$ac_cv_have_decl_sys_siglist" >&6; }
7005 if test $ac_cv_have_decl_sys_siglist = yes; then 7150 if test $ac_cv_have_decl_sys_siglist = yes; then
7006 7151
7007 cat >>confdefs.h <<_ACEOF 7152 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_DECL_SYS_SIGLIST 1 7153 #define HAVE_DECL_SYS_SIGLIST 1
7009 _ACEOF 7154 _ACEOF
7018 fi 7163 fi
7019 7164
7020 7165
7021 if test $ac_cv_have_decl_sys_siglist != yes; then 7166 if test $ac_cv_have_decl_sys_siglist != yes; then
7022 # For Tru64, at least: 7167 # For Tru64, at least:
7023 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 7168 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
7024 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; } 7169 $as_echo_n "checking whether __sys_siglist is declared... " >&6; }
7025 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 7170 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6 7171 $as_echo_n "(cached) " >&6
7027 else 7172 else
7028 cat >conftest.$ac_ext <<_ACEOF 7173 cat >conftest.$ac_ext <<_ACEOF
7029 /* confdefs.h. */ 7174 /* confdefs.h. */
7030 _ACEOF 7175 _ACEOF
7031 cat confdefs.h >>conftest.$ac_ext 7176 cat confdefs.h >>conftest.$ac_ext
7047 if { (ac_try="$ac_compile" 7192 if { (ac_try="$ac_compile"
7048 case "(($ac_try" in 7193 case "(($ac_try" in
7049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;; 7195 *) ac_try_echo=$ac_try;;
7051 esac 7196 esac
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7198 $as_echo "$ac_try_echo") >&5
7053 (eval "$ac_compile") 2>conftest.er1 7199 (eval "$ac_compile") 2>conftest.er1
7054 ac_status=$? 7200 ac_status=$?
7055 grep -v '^ *+' conftest.er1 >conftest.err 7201 grep -v '^ *+' conftest.er1 >conftest.err
7056 rm -f conftest.er1 7202 rm -f conftest.er1
7057 cat conftest.err >&5 7203 cat conftest.err >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } && { 7205 (exit $ac_status); } && {
7060 test -z "$ac_c_werror_flag" || 7206 test -z "$ac_c_werror_flag" ||
7061 test ! -s conftest.err 7207 test ! -s conftest.err
7062 } && test -s conftest.$ac_objext; then 7208 } && test -s conftest.$ac_objext; then
7063 ac_cv_have_decl___sys_siglist=yes 7209 ac_cv_have_decl___sys_siglist=yes
7064 else 7210 else
7065 echo "$as_me: failed program was:" >&5 7211 $as_echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.$ac_ext >&5 7212 sed 's/^/| /' conftest.$ac_ext >&5
7067 7213
7068 ac_cv_have_decl___sys_siglist=no 7214 ac_cv_have_decl___sys_siglist=no
7069 fi 7215 fi
7070 7216
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 fi 7218 fi
7073 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 7219 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7074 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; } 7220 $as_echo "$ac_cv_have_decl___sys_siglist" >&6; }
7075 if test $ac_cv_have_decl___sys_siglist = yes; then 7221 if test $ac_cv_have_decl___sys_siglist = yes; then
7076 7222
7077 cat >>confdefs.h <<_ACEOF 7223 cat >>confdefs.h <<_ACEOF
7078 #define HAVE_DECL___SYS_SIGLIST 1 7224 #define HAVE_DECL___SYS_SIGLIST 1
7079 _ACEOF 7225 _ACEOF
7094 #define sys_siglist __sys_siglist 7240 #define sys_siglist __sys_siglist
7095 _ACEOF 7241 _ACEOF
7096 7242
7097 fi 7243 fi
7098 fi 7244 fi
7099 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 7245 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7100 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } 7246 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7101 if test "${ac_cv_header_sys_wait_h+set}" = set; then 7247 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6 7248 $as_echo_n "(cached) " >&6
7103 else 7249 else
7104 cat >conftest.$ac_ext <<_ACEOF 7250 cat >conftest.$ac_ext <<_ACEOF
7105 /* confdefs.h. */ 7251 /* confdefs.h. */
7106 _ACEOF 7252 _ACEOF
7107 cat confdefs.h >>conftest.$ac_ext 7253 cat confdefs.h >>conftest.$ac_ext
7130 if { (ac_try="$ac_compile" 7276 if { (ac_try="$ac_compile"
7131 case "(($ac_try" in 7277 case "(($ac_try" in
7132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7133 *) ac_try_echo=$ac_try;; 7279 *) ac_try_echo=$ac_try;;
7134 esac 7280 esac
7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7282 $as_echo "$ac_try_echo") >&5
7136 (eval "$ac_compile") 2>conftest.er1 7283 (eval "$ac_compile") 2>conftest.er1
7137 ac_status=$? 7284 ac_status=$?
7138 grep -v '^ *+' conftest.er1 >conftest.err 7285 grep -v '^ *+' conftest.er1 >conftest.err
7139 rm -f conftest.er1 7286 rm -f conftest.er1
7140 cat conftest.err >&5 7287 cat conftest.err >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } && { 7289 (exit $ac_status); } && {
7143 test -z "$ac_c_werror_flag" || 7290 test -z "$ac_c_werror_flag" ||
7144 test ! -s conftest.err 7291 test ! -s conftest.err
7145 } && test -s conftest.$ac_objext; then 7292 } && test -s conftest.$ac_objext; then
7146 ac_cv_header_sys_wait_h=yes 7293 ac_cv_header_sys_wait_h=yes
7147 else 7294 else
7148 echo "$as_me: failed program was:" >&5 7295 $as_echo "$as_me: failed program was:" >&5
7149 sed 's/^/| /' conftest.$ac_ext >&5 7296 sed 's/^/| /' conftest.$ac_ext >&5
7150 7297
7151 ac_cv_header_sys_wait_h=no 7298 ac_cv_header_sys_wait_h=no
7152 fi 7299 fi
7153 7300
7154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155 fi 7302 fi
7156 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 7303 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7157 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } 7304 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7158 if test $ac_cv_header_sys_wait_h = yes; then 7305 if test $ac_cv_header_sys_wait_h = yes; then
7159 7306
7160 cat >>confdefs.h <<\_ACEOF 7307 cat >>confdefs.h <<\_ACEOF
7161 #define HAVE_SYS_WAIT_H 1 7308 #define HAVE_SYS_WAIT_H 1
7162 _ACEOF 7309 _ACEOF
7163 7310
7164 fi 7311 fi
7165 7312
7166 7313
7167 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5 7314 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5
7168 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; } 7315 $as_echo_n "checking for struct utimbuf... " >&6; }
7169 if test "${emacs_cv_struct_utimbuf+set}" = set; then 7316 if test "${emacs_cv_struct_utimbuf+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6 7317 $as_echo_n "(cached) " >&6
7171 else 7318 else
7172 cat >conftest.$ac_ext <<_ACEOF 7319 cat >conftest.$ac_ext <<_ACEOF
7173 /* confdefs.h. */ 7320 /* confdefs.h. */
7174 _ACEOF 7321 _ACEOF
7175 cat confdefs.h >>conftest.$ac_ext 7322 cat confdefs.h >>conftest.$ac_ext
7200 if { (ac_try="$ac_compile" 7347 if { (ac_try="$ac_compile"
7201 case "(($ac_try" in 7348 case "(($ac_try" in
7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 *) ac_try_echo=$ac_try;; 7350 *) ac_try_echo=$ac_try;;
7204 esac 7351 esac
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7353 $as_echo "$ac_try_echo") >&5
7206 (eval "$ac_compile") 2>conftest.er1 7354 (eval "$ac_compile") 2>conftest.er1
7207 ac_status=$? 7355 ac_status=$?
7208 grep -v '^ *+' conftest.er1 >conftest.err 7356 grep -v '^ *+' conftest.er1 >conftest.err
7209 rm -f conftest.er1 7357 rm -f conftest.er1
7210 cat conftest.err >&5 7358 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && { 7360 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" || 7361 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err 7362 test ! -s conftest.err
7215 } && test -s conftest.$ac_objext; then 7363 } && test -s conftest.$ac_objext; then
7216 emacs_cv_struct_utimbuf=yes 7364 emacs_cv_struct_utimbuf=yes
7217 else 7365 else
7218 echo "$as_me: failed program was:" >&5 7366 $as_echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5 7367 sed 's/^/| /' conftest.$ac_ext >&5
7220 7368
7221 emacs_cv_struct_utimbuf=no 7369 emacs_cv_struct_utimbuf=no
7222 fi 7370 fi
7223 7371
7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7225 fi 7373 fi
7226 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 7374 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
7227 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; } 7375 $as_echo "$emacs_cv_struct_utimbuf" >&6; }
7228 if test $emacs_cv_struct_utimbuf = yes; then 7376 if test $emacs_cv_struct_utimbuf = yes; then
7229 7377
7230 cat >>confdefs.h <<\_ACEOF 7378 cat >>confdefs.h <<\_ACEOF
7231 #define HAVE_STRUCT_UTIMBUF 1 7379 #define HAVE_STRUCT_UTIMBUF 1
7232 _ACEOF 7380 _ACEOF
7233 7381
7234 fi 7382 fi
7235 7383
7236 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7384 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7237 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 7385 $as_echo_n "checking return type of signal handlers... " >&6; }
7238 if test "${ac_cv_type_signal+set}" = set; then 7386 if test "${ac_cv_type_signal+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6 7387 $as_echo_n "(cached) " >&6
7240 else 7388 else
7241 cat >conftest.$ac_ext <<_ACEOF 7389 cat >conftest.$ac_ext <<_ACEOF
7242 /* confdefs.h. */ 7390 /* confdefs.h. */
7243 _ACEOF 7391 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext 7392 cat confdefs.h >>conftest.$ac_ext
7259 if { (ac_try="$ac_compile" 7407 if { (ac_try="$ac_compile"
7260 case "(($ac_try" in 7408 case "(($ac_try" in
7261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;; 7410 *) ac_try_echo=$ac_try;;
7263 esac 7411 esac
7264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7413 $as_echo "$ac_try_echo") >&5
7265 (eval "$ac_compile") 2>conftest.er1 7414 (eval "$ac_compile") 2>conftest.er1
7266 ac_status=$? 7415 ac_status=$?
7267 grep -v '^ *+' conftest.er1 >conftest.err 7416 grep -v '^ *+' conftest.er1 >conftest.err
7268 rm -f conftest.er1 7417 rm -f conftest.er1
7269 cat conftest.err >&5 7418 cat conftest.err >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } && { 7420 (exit $ac_status); } && {
7272 test -z "$ac_c_werror_flag" || 7421 test -z "$ac_c_werror_flag" ||
7273 test ! -s conftest.err 7422 test ! -s conftest.err
7274 } && test -s conftest.$ac_objext; then 7423 } && test -s conftest.$ac_objext; then
7275 ac_cv_type_signal=int 7424 ac_cv_type_signal=int
7276 else 7425 else
7277 echo "$as_me: failed program was:" >&5 7426 $as_echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5 7427 sed 's/^/| /' conftest.$ac_ext >&5
7279 7428
7280 ac_cv_type_signal=void 7429 ac_cv_type_signal=void
7281 fi 7430 fi
7282 7431
7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284 fi 7433 fi
7285 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7434 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7286 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 7435 $as_echo "$ac_cv_type_signal" >&6; }
7287 7436
7288 cat >>confdefs.h <<_ACEOF 7437 cat >>confdefs.h <<_ACEOF
7289 #define RETSIGTYPE $ac_cv_type_signal 7438 #define RETSIGTYPE $ac_cv_type_signal
7290 _ACEOF 7439 _ACEOF
7291 7440
7292 7441
7293 7442
7294 { echo "$as_me:$LINENO: checking for speed_t" >&5 7443 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5
7295 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; } 7444 $as_echo_n "checking for speed_t... " >&6; }
7296 if test "${emacs_cv_speed_t+set}" = set; then 7445 if test "${emacs_cv_speed_t+set}" = set; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6 7446 $as_echo_n "(cached) " >&6
7298 else 7447 else
7299 cat >conftest.$ac_ext <<_ACEOF 7448 cat >conftest.$ac_ext <<_ACEOF
7300 /* confdefs.h. */ 7449 /* confdefs.h. */
7301 _ACEOF 7450 _ACEOF
7302 cat confdefs.h >>conftest.$ac_ext 7451 cat confdefs.h >>conftest.$ac_ext
7315 if { (ac_try="$ac_compile" 7464 if { (ac_try="$ac_compile"
7316 case "(($ac_try" in 7465 case "(($ac_try" in
7317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318 *) ac_try_echo=$ac_try;; 7467 *) ac_try_echo=$ac_try;;
7319 esac 7468 esac
7320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7470 $as_echo "$ac_try_echo") >&5
7321 (eval "$ac_compile") 2>conftest.er1 7471 (eval "$ac_compile") 2>conftest.er1
7322 ac_status=$? 7472 ac_status=$?
7323 grep -v '^ *+' conftest.er1 >conftest.err 7473 grep -v '^ *+' conftest.er1 >conftest.err
7324 rm -f conftest.er1 7474 rm -f conftest.er1
7325 cat conftest.err >&5 7475 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && { 7477 (exit $ac_status); } && {
7328 test -z "$ac_c_werror_flag" || 7478 test -z "$ac_c_werror_flag" ||
7329 test ! -s conftest.err 7479 test ! -s conftest.err
7330 } && test -s conftest.$ac_objext; then 7480 } && test -s conftest.$ac_objext; then
7331 emacs_cv_speed_t=yes 7481 emacs_cv_speed_t=yes
7332 else 7482 else
7333 echo "$as_me: failed program was:" >&5 7483 $as_echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5 7484 sed 's/^/| /' conftest.$ac_ext >&5
7335 7485
7336 emacs_cv_speed_t=no 7486 emacs_cv_speed_t=no
7337 fi 7487 fi
7338 7488
7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7340 fi 7490 fi
7341 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 7491 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
7342 echo "${ECHO_T}$emacs_cv_speed_t" >&6; } 7492 $as_echo "$emacs_cv_speed_t" >&6; }
7343 if test $emacs_cv_speed_t = yes; then 7493 if test $emacs_cv_speed_t = yes; then
7344 7494
7345 cat >>confdefs.h <<\_ACEOF 7495 cat >>confdefs.h <<\_ACEOF
7346 #define HAVE_SPEED_T 1 7496 #define HAVE_SPEED_T 1
7347 _ACEOF 7497 _ACEOF
7348 7498
7349 fi 7499 fi
7350 7500
7351 { echo "$as_me:$LINENO: checking for struct timeval" >&5 7501 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5
7352 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } 7502 $as_echo_n "checking for struct timeval... " >&6; }
7353 if test "${emacs_cv_struct_timeval+set}" = set; then 7503 if test "${emacs_cv_struct_timeval+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6 7504 $as_echo_n "(cached) " >&6
7355 else 7505 else
7356 cat >conftest.$ac_ext <<_ACEOF 7506 cat >conftest.$ac_ext <<_ACEOF
7357 /* confdefs.h. */ 7507 /* confdefs.h. */
7358 _ACEOF 7508 _ACEOF
7359 cat confdefs.h >>conftest.$ac_ext 7509 cat confdefs.h >>conftest.$ac_ext
7381 if { (ac_try="$ac_compile" 7531 if { (ac_try="$ac_compile"
7382 case "(($ac_try" in 7532 case "(($ac_try" in
7383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7384 *) ac_try_echo=$ac_try;; 7534 *) ac_try_echo=$ac_try;;
7385 esac 7535 esac
7386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7537 $as_echo "$ac_try_echo") >&5
7387 (eval "$ac_compile") 2>conftest.er1 7538 (eval "$ac_compile") 2>conftest.er1
7388 ac_status=$? 7539 ac_status=$?
7389 grep -v '^ *+' conftest.er1 >conftest.err 7540 grep -v '^ *+' conftest.er1 >conftest.err
7390 rm -f conftest.er1 7541 rm -f conftest.er1
7391 cat conftest.err >&5 7542 cat conftest.err >&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } && { 7544 (exit $ac_status); } && {
7394 test -z "$ac_c_werror_flag" || 7545 test -z "$ac_c_werror_flag" ||
7395 test ! -s conftest.err 7546 test ! -s conftest.err
7396 } && test -s conftest.$ac_objext; then 7547 } && test -s conftest.$ac_objext; then
7397 emacs_cv_struct_timeval=yes 7548 emacs_cv_struct_timeval=yes
7398 else 7549 else
7399 echo "$as_me: failed program was:" >&5 7550 $as_echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5 7551 sed 's/^/| /' conftest.$ac_ext >&5
7401 7552
7402 emacs_cv_struct_timeval=no 7553 emacs_cv_struct_timeval=no
7403 fi 7554 fi
7404 7555
7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406 fi 7557 fi
7407 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 7558 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
7408 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; } 7559 $as_echo "$emacs_cv_struct_timeval" >&6; }
7409 HAVE_TIMEVAL=$emacs_cv_struct_timeval 7560 HAVE_TIMEVAL=$emacs_cv_struct_timeval
7410 if test $emacs_cv_struct_timeval = yes; then 7561 if test $emacs_cv_struct_timeval = yes; then
7411 7562
7412 cat >>confdefs.h <<\_ACEOF 7563 cat >>confdefs.h <<\_ACEOF
7413 #define HAVE_TIMEVAL 1 7564 #define HAVE_TIMEVAL 1
7414 _ACEOF 7565 _ACEOF
7415 7566
7416 fi 7567 fi
7417 7568
7418 { echo "$as_me:$LINENO: checking for struct exception" >&5 7569 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5
7419 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; } 7570 $as_echo_n "checking for struct exception... " >&6; }
7420 if test "${emacs_cv_struct_exception+set}" = set; then 7571 if test "${emacs_cv_struct_exception+set}" = set; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6 7572 $as_echo_n "(cached) " >&6
7422 else 7573 else
7423 cat >conftest.$ac_ext <<_ACEOF 7574 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */ 7575 /* confdefs.h. */
7425 _ACEOF 7576 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext 7577 cat confdefs.h >>conftest.$ac_ext
7439 if { (ac_try="$ac_compile" 7590 if { (ac_try="$ac_compile"
7440 case "(($ac_try" in 7591 case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;; 7593 *) ac_try_echo=$ac_try;;
7443 esac 7594 esac
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7596 $as_echo "$ac_try_echo") >&5
7445 (eval "$ac_compile") 2>conftest.er1 7597 (eval "$ac_compile") 2>conftest.er1
7446 ac_status=$? 7598 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err 7599 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1 7600 rm -f conftest.er1
7449 cat conftest.err >&5 7601 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && { 7603 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" || 7604 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err 7605 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then 7606 } && test -s conftest.$ac_objext; then
7455 emacs_cv_struct_exception=yes 7607 emacs_cv_struct_exception=yes
7456 else 7608 else
7457 echo "$as_me: failed program was:" >&5 7609 $as_echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5 7610 sed 's/^/| /' conftest.$ac_ext >&5
7459 7611
7460 emacs_cv_struct_exception=no 7612 emacs_cv_struct_exception=no
7461 fi 7613 fi
7462 7614
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7464 fi 7616 fi
7465 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 7617 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
7466 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; } 7618 $as_echo "$emacs_cv_struct_exception" >&6; }
7467 HAVE_EXCEPTION=$emacs_cv_struct_exception 7619 HAVE_EXCEPTION=$emacs_cv_struct_exception
7468 if test $emacs_cv_struct_exception != yes; then 7620 if test $emacs_cv_struct_exception != yes; then
7469 7621
7470 cat >>confdefs.h <<\_ACEOF 7622 cat >>confdefs.h <<\_ACEOF
7471 #define NO_MATHERR 1 7623 #define NO_MATHERR 1
7474 fi 7626 fi
7475 7627
7476 7628
7477 for ac_header in sys/socket.h 7629 for ac_header in sys/socket.h
7478 do 7630 do
7479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7633 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7634 $as_echo_n "checking for $ac_header... " >&6; }
7483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6 7636 $as_echo_n "(cached) " >&6
7485 fi 7637 fi
7486 ac_res=`eval echo '${'$as_ac_Header'}'` 7638 ac_res=`eval 'as_val=${'$as_ac_Header'}
7487 { echo "$as_me:$LINENO: result: $ac_res" >&5 7639 $as_echo "$as_val"'`
7488 echo "${ECHO_T}$ac_res" >&6; } 7640 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7641 $as_echo "$ac_res" >&6; }
7489 else 7642 else
7490 # Is the header compilable? 7643 # Is the header compilable?
7491 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7644 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7645 $as_echo_n "checking $ac_header usability... " >&6; }
7493 cat >conftest.$ac_ext <<_ACEOF 7646 cat >conftest.$ac_ext <<_ACEOF
7494 /* confdefs.h. */ 7647 /* confdefs.h. */
7495 _ACEOF 7648 _ACEOF
7496 cat confdefs.h >>conftest.$ac_ext 7649 cat confdefs.h >>conftest.$ac_ext
7497 cat >>conftest.$ac_ext <<_ACEOF 7650 cat >>conftest.$ac_ext <<_ACEOF
7503 if { (ac_try="$ac_compile" 7656 if { (ac_try="$ac_compile"
7504 case "(($ac_try" in 7657 case "(($ac_try" in
7505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506 *) ac_try_echo=$ac_try;; 7659 *) ac_try_echo=$ac_try;;
7507 esac 7660 esac
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7662 $as_echo "$ac_try_echo") >&5
7509 (eval "$ac_compile") 2>conftest.er1 7663 (eval "$ac_compile") 2>conftest.er1
7510 ac_status=$? 7664 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err 7665 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1 7666 rm -f conftest.er1
7513 cat conftest.err >&5 7667 cat conftest.err >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } && { 7669 (exit $ac_status); } && {
7516 test -z "$ac_c_werror_flag" || 7670 test -z "$ac_c_werror_flag" ||
7517 test ! -s conftest.err 7671 test ! -s conftest.err
7518 } && test -s conftest.$ac_objext; then 7672 } && test -s conftest.$ac_objext; then
7519 ac_header_compiler=yes 7673 ac_header_compiler=yes
7520 else 7674 else
7521 echo "$as_me: failed program was:" >&5 7675 $as_echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5 7676 sed 's/^/| /' conftest.$ac_ext >&5
7523 7677
7524 ac_header_compiler=no 7678 ac_header_compiler=no
7525 fi 7679 fi
7526 7680
7527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7682 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7529 echo "${ECHO_T}$ac_header_compiler" >&6; } 7683 $as_echo "$ac_header_compiler" >&6; }
7530 7684
7531 # Is the header present? 7685 # Is the header present?
7532 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7686 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7687 $as_echo_n "checking $ac_header presence... " >&6; }
7534 cat >conftest.$ac_ext <<_ACEOF 7688 cat >conftest.$ac_ext <<_ACEOF
7535 /* confdefs.h. */ 7689 /* confdefs.h. */
7536 _ACEOF 7690 _ACEOF
7537 cat confdefs.h >>conftest.$ac_ext 7691 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF 7692 cat >>conftest.$ac_ext <<_ACEOF
7542 if { (ac_try="$ac_cpp conftest.$ac_ext" 7696 if { (ac_try="$ac_cpp conftest.$ac_ext"
7543 case "(($ac_try" in 7697 case "(($ac_try" in
7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7545 *) ac_try_echo=$ac_try;; 7699 *) ac_try_echo=$ac_try;;
7546 esac 7700 esac
7547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7702 $as_echo "$ac_try_echo") >&5
7548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7549 ac_status=$? 7704 ac_status=$?
7550 grep -v '^ *+' conftest.er1 >conftest.err 7705 grep -v '^ *+' conftest.er1 >conftest.err
7551 rm -f conftest.er1 7706 rm -f conftest.er1
7552 cat conftest.err >&5 7707 cat conftest.err >&5
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); } >/dev/null && { 7709 (exit $ac_status); } >/dev/null && {
7555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7556 test ! -s conftest.err 7711 test ! -s conftest.err
7557 }; then 7712 }; then
7558 ac_header_preproc=yes 7713 ac_header_preproc=yes
7559 else 7714 else
7560 echo "$as_me: failed program was:" >&5 7715 $as_echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.$ac_ext >&5 7716 sed 's/^/| /' conftest.$ac_ext >&5
7562 7717
7563 ac_header_preproc=no 7718 ac_header_preproc=no
7564 fi 7719 fi
7565 7720
7566 rm -f conftest.err conftest.$ac_ext 7721 rm -f conftest.err conftest.$ac_ext
7567 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7722 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7568 echo "${ECHO_T}$ac_header_preproc" >&6; } 7723 $as_echo "$ac_header_preproc" >&6; }
7569 7724
7570 # So? What about this header? 7725 # So? What about this header?
7571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7572 yes:no: ) 7727 yes:no: )
7573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7729 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7731 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7577 ac_header_preproc=yes 7732 ac_header_preproc=yes
7578 ;; 7733 ;;
7579 no:yes:* ) 7734 no:yes:* )
7580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7736 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7738 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7740 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7742 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7744 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7746 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7592 7747
7593 ;; 7748 ;;
7594 esac 7749 esac
7595 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7750 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7751 $as_echo_n "checking for $ac_header... " >&6; }
7597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6 7753 $as_echo_n "(cached) " >&6
7599 else 7754 else
7600 eval "$as_ac_Header=\$ac_header_preproc" 7755 eval "$as_ac_Header=\$ac_header_preproc"
7601 fi 7756 fi
7602 ac_res=`eval echo '${'$as_ac_Header'}'` 7757 ac_res=`eval 'as_val=${'$as_ac_Header'}
7603 { echo "$as_me:$LINENO: result: $ac_res" >&5 7758 $as_echo "$as_val"'`
7604 echo "${ECHO_T}$ac_res" >&6; } 7759 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7605 7760 $as_echo "$ac_res" >&6; }
7606 fi 7761
7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7762 fi
7763 if test `eval 'as_val=${'$as_ac_Header'}
7764 $as_echo "$as_val"'` = yes; then
7608 cat >>confdefs.h <<_ACEOF 7765 cat >>confdefs.h <<_ACEOF
7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7610 _ACEOF 7767 _ACEOF
7611 7768
7612 fi 7769 fi
7613 7770
7614 done 7771 done
7615 7772
7616 7773
7617 for ac_header in net/if.h 7774 for ac_header in net/if.h
7618 do 7775 do
7619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7777 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7778 $as_echo_n "checking for $ac_header... " >&6; }
7622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7623 echo $ECHO_N "(cached) $ECHO_C" >&6 7780 $as_echo_n "(cached) " >&6
7624 else 7781 else
7625 cat >conftest.$ac_ext <<_ACEOF 7782 cat >conftest.$ac_ext <<_ACEOF
7626 /* confdefs.h. */ 7783 /* confdefs.h. */
7627 _ACEOF 7784 _ACEOF
7628 cat confdefs.h >>conftest.$ac_ext 7785 cat confdefs.h >>conftest.$ac_ext
7639 if { (ac_try="$ac_compile" 7796 if { (ac_try="$ac_compile"
7640 case "(($ac_try" in 7797 case "(($ac_try" in
7641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7642 *) ac_try_echo=$ac_try;; 7799 *) ac_try_echo=$ac_try;;
7643 esac 7800 esac
7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7802 $as_echo "$ac_try_echo") >&5
7645 (eval "$ac_compile") 2>conftest.er1 7803 (eval "$ac_compile") 2>conftest.er1
7646 ac_status=$? 7804 ac_status=$?
7647 grep -v '^ *+' conftest.er1 >conftest.err 7805 grep -v '^ *+' conftest.er1 >conftest.err
7648 rm -f conftest.er1 7806 rm -f conftest.er1
7649 cat conftest.err >&5 7807 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && { 7809 (exit $ac_status); } && {
7652 test -z "$ac_c_werror_flag" || 7810 test -z "$ac_c_werror_flag" ||
7653 test ! -s conftest.err 7811 test ! -s conftest.err
7654 } && test -s conftest.$ac_objext; then 7812 } && test -s conftest.$ac_objext; then
7655 eval "$as_ac_Header=yes" 7813 eval "$as_ac_Header=yes"
7656 else 7814 else
7657 echo "$as_me: failed program was:" >&5 7815 $as_echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.$ac_ext >&5 7816 sed 's/^/| /' conftest.$ac_ext >&5
7659 7817
7660 eval "$as_ac_Header=no" 7818 eval "$as_ac_Header=no"
7661 fi 7819 fi
7662 7820
7663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664 fi 7822 fi
7665 ac_res=`eval echo '${'$as_ac_Header'}'` 7823 ac_res=`eval 'as_val=${'$as_ac_Header'}
7666 { echo "$as_me:$LINENO: result: $ac_res" >&5 7824 $as_echo "$as_val"'`
7667 echo "${ECHO_T}$ac_res" >&6; } 7825 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7668 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7826 $as_echo "$ac_res" >&6; }
7827 if test `eval 'as_val=${'$as_ac_Header'}
7828 $as_echo "$as_val"'` = yes; then
7669 cat >>confdefs.h <<_ACEOF 7829 cat >>confdefs.h <<_ACEOF
7670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7671 _ACEOF 7831 _ACEOF
7672 7832
7673 fi 7833 fi
7674 7834
7675 done 7835 done
7676 7836
7677 7837
7678 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 7838 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7679 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 7839 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7680 if test "${ac_cv_struct_tm+set}" = set; then 7840 if test "${ac_cv_struct_tm+set}" = set; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6 7841 $as_echo_n "(cached) " >&6
7682 else 7842 else
7683 cat >conftest.$ac_ext <<_ACEOF 7843 cat >conftest.$ac_ext <<_ACEOF
7684 /* confdefs.h. */ 7844 /* confdefs.h. */
7685 _ACEOF 7845 _ACEOF
7686 cat confdefs.h >>conftest.$ac_ext 7846 cat confdefs.h >>conftest.$ac_ext
7692 int 7852 int
7693 main () 7853 main ()
7694 { 7854 {
7695 struct tm tm; 7855 struct tm tm;
7696 int *p = &tm.tm_sec; 7856 int *p = &tm.tm_sec;
7697 return !p; 7857 return !p;
7698 ; 7858 ;
7699 return 0; 7859 return 0;
7700 } 7860 }
7701 _ACEOF 7861 _ACEOF
7702 rm -f conftest.$ac_objext 7862 rm -f conftest.$ac_objext
7703 if { (ac_try="$ac_compile" 7863 if { (ac_try="$ac_compile"
7704 case "(($ac_try" in 7864 case "(($ac_try" in
7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;; 7866 *) ac_try_echo=$ac_try;;
7707 esac 7867 esac
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7869 $as_echo "$ac_try_echo") >&5
7709 (eval "$ac_compile") 2>conftest.er1 7870 (eval "$ac_compile") 2>conftest.er1
7710 ac_status=$? 7871 ac_status=$?
7711 grep -v '^ *+' conftest.er1 >conftest.err 7872 grep -v '^ *+' conftest.er1 >conftest.err
7712 rm -f conftest.er1 7873 rm -f conftest.er1
7713 cat conftest.err >&5 7874 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && { 7876 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" || 7877 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err 7878 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then 7879 } && test -s conftest.$ac_objext; then
7719 ac_cv_struct_tm=time.h 7880 ac_cv_struct_tm=time.h
7720 else 7881 else
7721 echo "$as_me: failed program was:" >&5 7882 $as_echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5 7883 sed 's/^/| /' conftest.$ac_ext >&5
7723 7884
7724 ac_cv_struct_tm=sys/time.h 7885 ac_cv_struct_tm=sys/time.h
7725 fi 7886 fi
7726 7887
7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7728 fi 7889 fi
7729 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7890 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7730 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 7891 $as_echo "$ac_cv_struct_tm" >&6; }
7731 if test $ac_cv_struct_tm = sys/time.h; then 7892 if test $ac_cv_struct_tm = sys/time.h; then
7732 7893
7733 cat >>confdefs.h <<\_ACEOF 7894 cat >>confdefs.h <<\_ACEOF
7734 #define TM_IN_SYS_TIME 1 7895 #define TM_IN_SYS_TIME 1
7735 _ACEOF 7896 _ACEOF
7736 7897
7737 fi 7898 fi
7738 7899
7739 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 7900 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7740 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } 7901 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
7741 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 7902 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6 7903 $as_echo_n "(cached) " >&6
7743 else 7904 else
7744 cat >conftest.$ac_ext <<_ACEOF 7905 cat >conftest.$ac_ext <<_ACEOF
7745 /* confdefs.h. */ 7906 /* confdefs.h. */
7746 _ACEOF 7907 _ACEOF
7747 cat confdefs.h >>conftest.$ac_ext 7908 cat confdefs.h >>conftest.$ac_ext
7765 if { (ac_try="$ac_compile" 7926 if { (ac_try="$ac_compile"
7766 case "(($ac_try" in 7927 case "(($ac_try" in
7767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7768 *) ac_try_echo=$ac_try;; 7929 *) ac_try_echo=$ac_try;;
7769 esac 7930 esac
7770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7932 $as_echo "$ac_try_echo") >&5
7771 (eval "$ac_compile") 2>conftest.er1 7933 (eval "$ac_compile") 2>conftest.er1
7772 ac_status=$? 7934 ac_status=$?
7773 grep -v '^ *+' conftest.er1 >conftest.err 7935 grep -v '^ *+' conftest.er1 >conftest.err
7774 rm -f conftest.er1 7936 rm -f conftest.er1
7775 cat conftest.err >&5 7937 cat conftest.err >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } && { 7939 (exit $ac_status); } && {
7778 test -z "$ac_c_werror_flag" || 7940 test -z "$ac_c_werror_flag" ||
7779 test ! -s conftest.err 7941 test ! -s conftest.err
7780 } && test -s conftest.$ac_objext; then 7942 } && test -s conftest.$ac_objext; then
7781 ac_cv_member_struct_tm_tm_zone=yes 7943 ac_cv_member_struct_tm_tm_zone=yes
7782 else 7944 else
7783 echo "$as_me: failed program was:" >&5 7945 $as_echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5 7946 sed 's/^/| /' conftest.$ac_ext >&5
7785 7947
7786 cat >conftest.$ac_ext <<_ACEOF 7948 cat >conftest.$ac_ext <<_ACEOF
7787 /* confdefs.h. */ 7949 /* confdefs.h. */
7788 _ACEOF 7950 _ACEOF
7807 if { (ac_try="$ac_compile" 7969 if { (ac_try="$ac_compile"
7808 case "(($ac_try" in 7970 case "(($ac_try" in
7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;; 7972 *) ac_try_echo=$ac_try;;
7811 esac 7973 esac
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7975 $as_echo "$ac_try_echo") >&5
7813 (eval "$ac_compile") 2>conftest.er1 7976 (eval "$ac_compile") 2>conftest.er1
7814 ac_status=$? 7977 ac_status=$?
7815 grep -v '^ *+' conftest.er1 >conftest.err 7978 grep -v '^ *+' conftest.er1 >conftest.err
7816 rm -f conftest.er1 7979 rm -f conftest.er1
7817 cat conftest.err >&5 7980 cat conftest.err >&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } && { 7982 (exit $ac_status); } && {
7820 test -z "$ac_c_werror_flag" || 7983 test -z "$ac_c_werror_flag" ||
7821 test ! -s conftest.err 7984 test ! -s conftest.err
7822 } && test -s conftest.$ac_objext; then 7985 } && test -s conftest.$ac_objext; then
7823 ac_cv_member_struct_tm_tm_zone=yes 7986 ac_cv_member_struct_tm_tm_zone=yes
7824 else 7987 else
7825 echo "$as_me: failed program was:" >&5 7988 $as_echo "$as_me: failed program was:" >&5
7826 sed 's/^/| /' conftest.$ac_ext >&5 7989 sed 's/^/| /' conftest.$ac_ext >&5
7827 7990
7828 ac_cv_member_struct_tm_tm_zone=no 7991 ac_cv_member_struct_tm_tm_zone=no
7829 fi 7992 fi
7830 7993
7831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7832 fi 7995 fi
7833 7996
7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7835 fi 7998 fi
7836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 7999 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7837 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } 8000 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
7838 if test $ac_cv_member_struct_tm_tm_zone = yes; then 8001 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7839 8002
7840 cat >>confdefs.h <<_ACEOF 8003 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_STRUCT_TM_TM_ZONE 1 8004 #define HAVE_STRUCT_TM_TM_ZONE 1
7842 _ACEOF 8005 _ACEOF
7849 cat >>confdefs.h <<\_ACEOF 8012 cat >>confdefs.h <<\_ACEOF
7850 #define HAVE_TM_ZONE 1 8013 #define HAVE_TM_ZONE 1
7851 _ACEOF 8014 _ACEOF
7852 8015
7853 else 8016 else
7854 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 8017 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7855 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } 8018 $as_echo_n "checking whether tzname is declared... " >&6; }
7856 if test "${ac_cv_have_decl_tzname+set}" = set; then 8019 if test "${ac_cv_have_decl_tzname+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6 8020 $as_echo_n "(cached) " >&6
7858 else 8021 else
7859 cat >conftest.$ac_ext <<_ACEOF 8022 cat >conftest.$ac_ext <<_ACEOF
7860 /* confdefs.h. */ 8023 /* confdefs.h. */
7861 _ACEOF 8024 _ACEOF
7862 cat confdefs.h >>conftest.$ac_ext 8025 cat confdefs.h >>conftest.$ac_ext
7879 if { (ac_try="$ac_compile" 8042 if { (ac_try="$ac_compile"
7880 case "(($ac_try" in 8043 case "(($ac_try" in
7881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7882 *) ac_try_echo=$ac_try;; 8045 *) ac_try_echo=$ac_try;;
7883 esac 8046 esac
7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8048 $as_echo "$ac_try_echo") >&5
7885 (eval "$ac_compile") 2>conftest.er1 8049 (eval "$ac_compile") 2>conftest.er1
7886 ac_status=$? 8050 ac_status=$?
7887 grep -v '^ *+' conftest.er1 >conftest.err 8051 grep -v '^ *+' conftest.er1 >conftest.err
7888 rm -f conftest.er1 8052 rm -f conftest.er1
7889 cat conftest.err >&5 8053 cat conftest.err >&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } && { 8055 (exit $ac_status); } && {
7892 test -z "$ac_c_werror_flag" || 8056 test -z "$ac_c_werror_flag" ||
7893 test ! -s conftest.err 8057 test ! -s conftest.err
7894 } && test -s conftest.$ac_objext; then 8058 } && test -s conftest.$ac_objext; then
7895 ac_cv_have_decl_tzname=yes 8059 ac_cv_have_decl_tzname=yes
7896 else 8060 else
7897 echo "$as_me: failed program was:" >&5 8061 $as_echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.$ac_ext >&5 8062 sed 's/^/| /' conftest.$ac_ext >&5
7899 8063
7900 ac_cv_have_decl_tzname=no 8064 ac_cv_have_decl_tzname=no
7901 fi 8065 fi
7902 8066
7903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7904 fi 8068 fi
7905 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 8069 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7906 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } 8070 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7907 if test $ac_cv_have_decl_tzname = yes; then 8071 if test $ac_cv_have_decl_tzname = yes; then
7908 8072
7909 cat >>confdefs.h <<_ACEOF 8073 cat >>confdefs.h <<_ACEOF
7910 #define HAVE_DECL_TZNAME 1 8074 #define HAVE_DECL_TZNAME 1
7911 _ACEOF 8075 _ACEOF
7918 8082
7919 8083
7920 fi 8084 fi
7921 8085
7922 8086
7923 { echo "$as_me:$LINENO: checking for tzname" >&5 8087 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7924 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } 8088 $as_echo_n "checking for tzname... " >&6; }
7925 if test "${ac_cv_var_tzname+set}" = set; then 8089 if test "${ac_cv_var_tzname+set}" = set; then
7926 echo $ECHO_N "(cached) $ECHO_C" >&6 8090 $as_echo_n "(cached) " >&6
7927 else 8091 else
7928 cat >conftest.$ac_ext <<_ACEOF 8092 cat >conftest.$ac_ext <<_ACEOF
7929 /* confdefs.h. */ 8093 /* confdefs.h. */
7930 _ACEOF 8094 _ACEOF
7931 cat confdefs.h >>conftest.$ac_ext 8095 cat confdefs.h >>conftest.$ac_ext
7948 if { (ac_try="$ac_link" 8112 if { (ac_try="$ac_link"
7949 case "(($ac_try" in 8113 case "(($ac_try" in
7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;; 8115 *) ac_try_echo=$ac_try;;
7952 esac 8116 esac
7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8118 $as_echo "$ac_try_echo") >&5
7954 (eval "$ac_link") 2>conftest.er1 8119 (eval "$ac_link") 2>conftest.er1
7955 ac_status=$? 8120 ac_status=$?
7956 grep -v '^ *+' conftest.er1 >conftest.err 8121 grep -v '^ *+' conftest.er1 >conftest.err
7957 rm -f conftest.er1 8122 rm -f conftest.er1
7958 cat conftest.err >&5 8123 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && { 8125 (exit $ac_status); } && {
7961 test -z "$ac_c_werror_flag" || 8126 test -z "$ac_c_werror_flag" ||
7962 test ! -s conftest.err 8127 test ! -s conftest.err
7963 } && test -s conftest$ac_exeext && 8128 } && test -s conftest$ac_exeext && {
7964 $as_test_x conftest$ac_exeext; then 8129 test "$cross_compiling" = yes ||
8130 $as_test_x conftest$ac_exeext
8131 }; then
7965 ac_cv_var_tzname=yes 8132 ac_cv_var_tzname=yes
7966 else 8133 else
7967 echo "$as_me: failed program was:" >&5 8134 $as_echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.$ac_ext >&5 8135 sed 's/^/| /' conftest.$ac_ext >&5
7969 8136
7970 ac_cv_var_tzname=no 8137 ac_cv_var_tzname=no
7971 fi 8138 fi
7972 8139
8140 rm -rf conftest.dSYM
7973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7974 conftest$ac_exeext conftest.$ac_ext 8142 conftest$ac_exeext conftest.$ac_ext
7975 fi 8143 fi
7976 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 8144 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7977 echo "${ECHO_T}$ac_cv_var_tzname" >&6; } 8145 $as_echo "$ac_cv_var_tzname" >&6; }
7978 if test $ac_cv_var_tzname = yes; then 8146 if test $ac_cv_var_tzname = yes; then
7979 8147
7980 cat >>confdefs.h <<\_ACEOF 8148 cat >>confdefs.h <<\_ACEOF
7981 #define HAVE_TZNAME 1 8149 #define HAVE_TZNAME 1
7982 _ACEOF 8150 _ACEOF
7983 8151
7984 fi 8152 fi
7985 fi 8153 fi
7986 8154
7987 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 8155 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7988 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; } 8156 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7989 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 8157 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7990 echo $ECHO_N "(cached) $ECHO_C" >&6 8158 $as_echo_n "(cached) " >&6
7991 else 8159 else
7992 cat >conftest.$ac_ext <<_ACEOF 8160 cat >conftest.$ac_ext <<_ACEOF
7993 /* confdefs.h. */ 8161 /* confdefs.h. */
7994 _ACEOF 8162 _ACEOF
7995 cat confdefs.h >>conftest.$ac_ext 8163 cat confdefs.h >>conftest.$ac_ext
8011 if { (ac_try="$ac_compile" 8179 if { (ac_try="$ac_compile"
8012 case "(($ac_try" in 8180 case "(($ac_try" in
8013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8014 *) ac_try_echo=$ac_try;; 8182 *) ac_try_echo=$ac_try;;
8015 esac 8183 esac
8016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8185 $as_echo "$ac_try_echo") >&5
8017 (eval "$ac_compile") 2>conftest.er1 8186 (eval "$ac_compile") 2>conftest.er1
8018 ac_status=$? 8187 ac_status=$?
8019 grep -v '^ *+' conftest.er1 >conftest.err 8188 grep -v '^ *+' conftest.er1 >conftest.err
8020 rm -f conftest.er1 8189 rm -f conftest.er1
8021 cat conftest.err >&5 8190 cat conftest.err >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } && { 8192 (exit $ac_status); } && {
8024 test -z "$ac_c_werror_flag" || 8193 test -z "$ac_c_werror_flag" ||
8025 test ! -s conftest.err 8194 test ! -s conftest.err
8026 } && test -s conftest.$ac_objext; then 8195 } && test -s conftest.$ac_objext; then
8027 ac_cv_member_struct_tm_tm_gmtoff=yes 8196 ac_cv_member_struct_tm_tm_gmtoff=yes
8028 else 8197 else
8029 echo "$as_me: failed program was:" >&5 8198 $as_echo "$as_me: failed program was:" >&5
8030 sed 's/^/| /' conftest.$ac_ext >&5 8199 sed 's/^/| /' conftest.$ac_ext >&5
8031 8200
8032 cat >conftest.$ac_ext <<_ACEOF 8201 cat >conftest.$ac_ext <<_ACEOF
8033 /* confdefs.h. */ 8202 /* confdefs.h. */
8034 _ACEOF 8203 _ACEOF
8051 if { (ac_try="$ac_compile" 8220 if { (ac_try="$ac_compile"
8052 case "(($ac_try" in 8221 case "(($ac_try" in
8053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8054 *) ac_try_echo=$ac_try;; 8223 *) ac_try_echo=$ac_try;;
8055 esac 8224 esac
8056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8226 $as_echo "$ac_try_echo") >&5
8057 (eval "$ac_compile") 2>conftest.er1 8227 (eval "$ac_compile") 2>conftest.er1
8058 ac_status=$? 8228 ac_status=$?
8059 grep -v '^ *+' conftest.er1 >conftest.err 8229 grep -v '^ *+' conftest.er1 >conftest.err
8060 rm -f conftest.er1 8230 rm -f conftest.er1
8061 cat conftest.err >&5 8231 cat conftest.err >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } && { 8233 (exit $ac_status); } && {
8064 test -z "$ac_c_werror_flag" || 8234 test -z "$ac_c_werror_flag" ||
8065 test ! -s conftest.err 8235 test ! -s conftest.err
8066 } && test -s conftest.$ac_objext; then 8236 } && test -s conftest.$ac_objext; then
8067 ac_cv_member_struct_tm_tm_gmtoff=yes 8237 ac_cv_member_struct_tm_tm_gmtoff=yes
8068 else 8238 else
8069 echo "$as_me: failed program was:" >&5 8239 $as_echo "$as_me: failed program was:" >&5
8070 sed 's/^/| /' conftest.$ac_ext >&5 8240 sed 's/^/| /' conftest.$ac_ext >&5
8071 8241
8072 ac_cv_member_struct_tm_tm_gmtoff=no 8242 ac_cv_member_struct_tm_tm_gmtoff=no
8073 fi 8243 fi
8074 8244
8075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8076 fi 8246 fi
8077 8247
8078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8079 fi 8249 fi
8080 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 8250 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8081 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; } 8251 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8082 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 8252 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8083 8253
8084 cat >>confdefs.h <<\_ACEOF 8254 cat >>confdefs.h <<\_ACEOF
8085 #define HAVE_TM_GMTOFF 1 8255 #define HAVE_TM_GMTOFF 1
8086 _ACEOF 8256 _ACEOF
8087 8257
8088 fi 8258 fi
8089 8259
8090 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 8260 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
8091 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; } 8261 $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; }
8092 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then 8262 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6 8263 $as_echo_n "(cached) " >&6
8094 else 8264 else
8095 cat >conftest.$ac_ext <<_ACEOF 8265 cat >conftest.$ac_ext <<_ACEOF
8096 /* confdefs.h. */ 8266 /* confdefs.h. */
8097 _ACEOF 8267 _ACEOF
8098 cat confdefs.h >>conftest.$ac_ext 8268 cat confdefs.h >>conftest.$ac_ext
8120 if { (ac_try="$ac_compile" 8290 if { (ac_try="$ac_compile"
8121 case "(($ac_try" in 8291 case "(($ac_try" in
8122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8123 *) ac_try_echo=$ac_try;; 8293 *) ac_try_echo=$ac_try;;
8124 esac 8294 esac
8125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8296 $as_echo "$ac_try_echo") >&5
8126 (eval "$ac_compile") 2>conftest.er1 8297 (eval "$ac_compile") 2>conftest.er1
8127 ac_status=$? 8298 ac_status=$?
8128 grep -v '^ *+' conftest.er1 >conftest.err 8299 grep -v '^ *+' conftest.er1 >conftest.err
8129 rm -f conftest.er1 8300 rm -f conftest.er1
8130 cat conftest.err >&5 8301 cat conftest.err >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } && { 8303 (exit $ac_status); } && {
8133 test -z "$ac_c_werror_flag" || 8304 test -z "$ac_c_werror_flag" ||
8134 test ! -s conftest.err 8305 test ! -s conftest.err
8135 } && test -s conftest.$ac_objext; then 8306 } && test -s conftest.$ac_objext; then
8136 ac_cv_member_struct_ifreq_ifr_flags=yes 8307 ac_cv_member_struct_ifreq_ifr_flags=yes
8137 else 8308 else
8138 echo "$as_me: failed program was:" >&5 8309 $as_echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.$ac_ext >&5 8310 sed 's/^/| /' conftest.$ac_ext >&5
8140 8311
8141 cat >conftest.$ac_ext <<_ACEOF 8312 cat >conftest.$ac_ext <<_ACEOF
8142 /* confdefs.h. */ 8313 /* confdefs.h. */
8143 _ACEOF 8314 _ACEOF
8166 if { (ac_try="$ac_compile" 8337 if { (ac_try="$ac_compile"
8167 case "(($ac_try" in 8338 case "(($ac_try" in
8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8169 *) ac_try_echo=$ac_try;; 8340 *) ac_try_echo=$ac_try;;
8170 esac 8341 esac
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8343 $as_echo "$ac_try_echo") >&5
8172 (eval "$ac_compile") 2>conftest.er1 8344 (eval "$ac_compile") 2>conftest.er1
8173 ac_status=$? 8345 ac_status=$?
8174 grep -v '^ *+' conftest.er1 >conftest.err 8346 grep -v '^ *+' conftest.er1 >conftest.err
8175 rm -f conftest.er1 8347 rm -f conftest.er1
8176 cat conftest.err >&5 8348 cat conftest.err >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && { 8350 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" || 8351 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err 8352 test ! -s conftest.err
8181 } && test -s conftest.$ac_objext; then 8353 } && test -s conftest.$ac_objext; then
8182 ac_cv_member_struct_ifreq_ifr_flags=yes 8354 ac_cv_member_struct_ifreq_ifr_flags=yes
8183 else 8355 else
8184 echo "$as_me: failed program was:" >&5 8356 $as_echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.$ac_ext >&5 8357 sed 's/^/| /' conftest.$ac_ext >&5
8186 8358
8187 ac_cv_member_struct_ifreq_ifr_flags=no 8359 ac_cv_member_struct_ifreq_ifr_flags=no
8188 fi 8360 fi
8189 8361
8190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8191 fi 8363 fi
8192 8364
8193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8194 fi 8366 fi
8195 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8367 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8196 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; } 8368 $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8197 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then 8369 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
8198 8370
8199 cat >>confdefs.h <<_ACEOF 8371 cat >>confdefs.h <<_ACEOF
8200 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8372 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
8201 _ACEOF 8373 _ACEOF
8202 8374
8203 8375
8204 fi 8376 fi
8205 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 8377 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
8206 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; } 8378 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; }
8207 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then 8379 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6 8380 $as_echo_n "(cached) " >&6
8209 else 8381 else
8210 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
8211 /* confdefs.h. */ 8383 /* confdefs.h. */
8212 _ACEOF 8384 _ACEOF
8213 cat confdefs.h >>conftest.$ac_ext 8385 cat confdefs.h >>conftest.$ac_ext
8235 if { (ac_try="$ac_compile" 8407 if { (ac_try="$ac_compile"
8236 case "(($ac_try" in 8408 case "(($ac_try" in
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;; 8410 *) ac_try_echo=$ac_try;;
8239 esac 8411 esac
8240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8413 $as_echo "$ac_try_echo") >&5
8241 (eval "$ac_compile") 2>conftest.er1 8414 (eval "$ac_compile") 2>conftest.er1
8242 ac_status=$? 8415 ac_status=$?
8243 grep -v '^ *+' conftest.er1 >conftest.err 8416 grep -v '^ *+' conftest.er1 >conftest.err
8244 rm -f conftest.er1 8417 rm -f conftest.er1
8245 cat conftest.err >&5 8418 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && { 8420 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" || 8421 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err 8422 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then 8423 } && test -s conftest.$ac_objext; then
8251 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8424 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8252 else 8425 else
8253 echo "$as_me: failed program was:" >&5 8426 $as_echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5 8427 sed 's/^/| /' conftest.$ac_ext >&5
8255 8428
8256 cat >conftest.$ac_ext <<_ACEOF 8429 cat >conftest.$ac_ext <<_ACEOF
8257 /* confdefs.h. */ 8430 /* confdefs.h. */
8258 _ACEOF 8431 _ACEOF
8281 if { (ac_try="$ac_compile" 8454 if { (ac_try="$ac_compile"
8282 case "(($ac_try" in 8455 case "(($ac_try" in
8283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;; 8457 *) ac_try_echo=$ac_try;;
8285 esac 8458 esac
8286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8460 $as_echo "$ac_try_echo") >&5
8287 (eval "$ac_compile") 2>conftest.er1 8461 (eval "$ac_compile") 2>conftest.er1
8288 ac_status=$? 8462 ac_status=$?
8289 grep -v '^ *+' conftest.er1 >conftest.err 8463 grep -v '^ *+' conftest.er1 >conftest.err
8290 rm -f conftest.er1 8464 rm -f conftest.er1
8291 cat conftest.err >&5 8465 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } && { 8467 (exit $ac_status); } && {
8294 test -z "$ac_c_werror_flag" || 8468 test -z "$ac_c_werror_flag" ||
8295 test ! -s conftest.err 8469 test ! -s conftest.err
8296 } && test -s conftest.$ac_objext; then 8470 } && test -s conftest.$ac_objext; then
8297 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8471 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8298 else 8472 else
8299 echo "$as_me: failed program was:" >&5 8473 $as_echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.$ac_ext >&5 8474 sed 's/^/| /' conftest.$ac_ext >&5
8301 8475
8302 ac_cv_member_struct_ifreq_ifr_hwaddr=no 8476 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8303 fi 8477 fi
8304 8478
8305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8306 fi 8480 fi
8307 8481
8308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8309 fi 8483 fi
8310 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 8484 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8311 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } 8485 $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8312 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then 8486 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
8313 8487
8314 cat >>confdefs.h <<_ACEOF 8488 cat >>confdefs.h <<_ACEOF
8315 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8489 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
8316 _ACEOF 8490 _ACEOF
8317 8491
8318 8492
8319 fi 8493 fi
8320 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 8494 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
8321 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; } 8495 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; }
8322 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then 8496 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6 8497 $as_echo_n "(cached) " >&6
8324 else 8498 else
8325 cat >conftest.$ac_ext <<_ACEOF 8499 cat >conftest.$ac_ext <<_ACEOF
8326 /* confdefs.h. */ 8500 /* confdefs.h. */
8327 _ACEOF 8501 _ACEOF
8328 cat confdefs.h >>conftest.$ac_ext 8502 cat confdefs.h >>conftest.$ac_ext
8350 if { (ac_try="$ac_compile" 8524 if { (ac_try="$ac_compile"
8351 case "(($ac_try" in 8525 case "(($ac_try" in
8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8353 *) ac_try_echo=$ac_try;; 8527 *) ac_try_echo=$ac_try;;
8354 esac 8528 esac
8355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8530 $as_echo "$ac_try_echo") >&5
8356 (eval "$ac_compile") 2>conftest.er1 8531 (eval "$ac_compile") 2>conftest.er1
8357 ac_status=$? 8532 ac_status=$?
8358 grep -v '^ *+' conftest.er1 >conftest.err 8533 grep -v '^ *+' conftest.er1 >conftest.err
8359 rm -f conftest.er1 8534 rm -f conftest.er1
8360 cat conftest.err >&5 8535 cat conftest.err >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } && { 8537 (exit $ac_status); } && {
8363 test -z "$ac_c_werror_flag" || 8538 test -z "$ac_c_werror_flag" ||
8364 test ! -s conftest.err 8539 test ! -s conftest.err
8365 } && test -s conftest.$ac_objext; then 8540 } && test -s conftest.$ac_objext; then
8366 ac_cv_member_struct_ifreq_ifr_netmask=yes 8541 ac_cv_member_struct_ifreq_ifr_netmask=yes
8367 else 8542 else
8368 echo "$as_me: failed program was:" >&5 8543 $as_echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5 8544 sed 's/^/| /' conftest.$ac_ext >&5
8370 8545
8371 cat >conftest.$ac_ext <<_ACEOF 8546 cat >conftest.$ac_ext <<_ACEOF
8372 /* confdefs.h. */ 8547 /* confdefs.h. */
8373 _ACEOF 8548 _ACEOF
8396 if { (ac_try="$ac_compile" 8571 if { (ac_try="$ac_compile"
8397 case "(($ac_try" in 8572 case "(($ac_try" in
8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8399 *) ac_try_echo=$ac_try;; 8574 *) ac_try_echo=$ac_try;;
8400 esac 8575 esac
8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8577 $as_echo "$ac_try_echo") >&5
8402 (eval "$ac_compile") 2>conftest.er1 8578 (eval "$ac_compile") 2>conftest.er1
8403 ac_status=$? 8579 ac_status=$?
8404 grep -v '^ *+' conftest.er1 >conftest.err 8580 grep -v '^ *+' conftest.er1 >conftest.err
8405 rm -f conftest.er1 8581 rm -f conftest.er1
8406 cat conftest.err >&5 8582 cat conftest.err >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } && { 8584 (exit $ac_status); } && {
8409 test -z "$ac_c_werror_flag" || 8585 test -z "$ac_c_werror_flag" ||
8410 test ! -s conftest.err 8586 test ! -s conftest.err
8411 } && test -s conftest.$ac_objext; then 8587 } && test -s conftest.$ac_objext; then
8412 ac_cv_member_struct_ifreq_ifr_netmask=yes 8588 ac_cv_member_struct_ifreq_ifr_netmask=yes
8413 else 8589 else
8414 echo "$as_me: failed program was:" >&5 8590 $as_echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5 8591 sed 's/^/| /' conftest.$ac_ext >&5
8416 8592
8417 ac_cv_member_struct_ifreq_ifr_netmask=no 8593 ac_cv_member_struct_ifreq_ifr_netmask=no
8418 fi 8594 fi
8419 8595
8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421 fi 8597 fi
8422 8598
8423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8424 fi 8600 fi
8425 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 8601 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8426 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } 8602 $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8427 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then 8603 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
8428 8604
8429 cat >>confdefs.h <<_ACEOF 8605 cat >>confdefs.h <<_ACEOF
8430 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8606 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
8431 _ACEOF 8607 _ACEOF
8432 8608
8433 8609
8434 fi 8610 fi
8435 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 8611 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
8436 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; } 8612 $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; }
8437 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then 8613 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8438 echo $ECHO_N "(cached) $ECHO_C" >&6 8614 $as_echo_n "(cached) " >&6
8439 else 8615 else
8440 cat >conftest.$ac_ext <<_ACEOF 8616 cat >conftest.$ac_ext <<_ACEOF
8441 /* confdefs.h. */ 8617 /* confdefs.h. */
8442 _ACEOF 8618 _ACEOF
8443 cat confdefs.h >>conftest.$ac_ext 8619 cat confdefs.h >>conftest.$ac_ext
8465 if { (ac_try="$ac_compile" 8641 if { (ac_try="$ac_compile"
8466 case "(($ac_try" in 8642 case "(($ac_try" in
8467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8468 *) ac_try_echo=$ac_try;; 8644 *) ac_try_echo=$ac_try;;
8469 esac 8645 esac
8470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8647 $as_echo "$ac_try_echo") >&5
8471 (eval "$ac_compile") 2>conftest.er1 8648 (eval "$ac_compile") 2>conftest.er1
8472 ac_status=$? 8649 ac_status=$?
8473 grep -v '^ *+' conftest.er1 >conftest.err 8650 grep -v '^ *+' conftest.er1 >conftest.err
8474 rm -f conftest.er1 8651 rm -f conftest.er1
8475 cat conftest.err >&5 8652 cat conftest.err >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); } && { 8654 (exit $ac_status); } && {
8478 test -z "$ac_c_werror_flag" || 8655 test -z "$ac_c_werror_flag" ||
8479 test ! -s conftest.err 8656 test ! -s conftest.err
8480 } && test -s conftest.$ac_objext; then 8657 } && test -s conftest.$ac_objext; then
8481 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8658 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8482 else 8659 else
8483 echo "$as_me: failed program was:" >&5 8660 $as_echo "$as_me: failed program was:" >&5
8484 sed 's/^/| /' conftest.$ac_ext >&5 8661 sed 's/^/| /' conftest.$ac_ext >&5
8485 8662
8486 cat >conftest.$ac_ext <<_ACEOF 8663 cat >conftest.$ac_ext <<_ACEOF
8487 /* confdefs.h. */ 8664 /* confdefs.h. */
8488 _ACEOF 8665 _ACEOF
8511 if { (ac_try="$ac_compile" 8688 if { (ac_try="$ac_compile"
8512 case "(($ac_try" in 8689 case "(($ac_try" in
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;; 8691 *) ac_try_echo=$ac_try;;
8515 esac 8692 esac
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8694 $as_echo "$ac_try_echo") >&5
8517 (eval "$ac_compile") 2>conftest.er1 8695 (eval "$ac_compile") 2>conftest.er1
8518 ac_status=$? 8696 ac_status=$?
8519 grep -v '^ *+' conftest.er1 >conftest.err 8697 grep -v '^ *+' conftest.er1 >conftest.err
8520 rm -f conftest.er1 8698 rm -f conftest.er1
8521 cat conftest.err >&5 8699 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && { 8701 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" || 8702 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err 8703 test ! -s conftest.err
8526 } && test -s conftest.$ac_objext; then 8704 } && test -s conftest.$ac_objext; then
8527 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8705 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8528 else 8706 else
8529 echo "$as_me: failed program was:" >&5 8707 $as_echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5 8708 sed 's/^/| /' conftest.$ac_ext >&5
8531 8709
8532 ac_cv_member_struct_ifreq_ifr_broadaddr=no 8710 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8533 fi 8711 fi
8534 8712
8535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 fi 8714 fi
8537 8715
8538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8539 fi 8717 fi
8540 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 8718 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8541 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } 8719 $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8542 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then 8720 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
8543 8721
8544 cat >>confdefs.h <<_ACEOF 8722 cat >>confdefs.h <<_ACEOF
8545 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8723 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
8546 _ACEOF 8724 _ACEOF
8547 8725
8548 8726
8549 fi 8727 fi
8550 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 8728 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
8551 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; } 8729 $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; }
8552 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then 8730 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8553 echo $ECHO_N "(cached) $ECHO_C" >&6 8731 $as_echo_n "(cached) " >&6
8554 else 8732 else
8555 cat >conftest.$ac_ext <<_ACEOF 8733 cat >conftest.$ac_ext <<_ACEOF
8556 /* confdefs.h. */ 8734 /* confdefs.h. */
8557 _ACEOF 8735 _ACEOF
8558 cat confdefs.h >>conftest.$ac_ext 8736 cat confdefs.h >>conftest.$ac_ext
8580 if { (ac_try="$ac_compile" 8758 if { (ac_try="$ac_compile"
8581 case "(($ac_try" in 8759 case "(($ac_try" in
8582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8583 *) ac_try_echo=$ac_try;; 8761 *) ac_try_echo=$ac_try;;
8584 esac 8762 esac
8585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8764 $as_echo "$ac_try_echo") >&5
8586 (eval "$ac_compile") 2>conftest.er1 8765 (eval "$ac_compile") 2>conftest.er1
8587 ac_status=$? 8766 ac_status=$?
8588 grep -v '^ *+' conftest.er1 >conftest.err 8767 grep -v '^ *+' conftest.er1 >conftest.err
8589 rm -f conftest.er1 8768 rm -f conftest.er1
8590 cat conftest.err >&5 8769 cat conftest.err >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } && { 8771 (exit $ac_status); } && {
8593 test -z "$ac_c_werror_flag" || 8772 test -z "$ac_c_werror_flag" ||
8594 test ! -s conftest.err 8773 test ! -s conftest.err
8595 } && test -s conftest.$ac_objext; then 8774 } && test -s conftest.$ac_objext; then
8596 ac_cv_member_struct_ifreq_ifr_addr=yes 8775 ac_cv_member_struct_ifreq_ifr_addr=yes
8597 else 8776 else
8598 echo "$as_me: failed program was:" >&5 8777 $as_echo "$as_me: failed program was:" >&5
8599 sed 's/^/| /' conftest.$ac_ext >&5 8778 sed 's/^/| /' conftest.$ac_ext >&5
8600 8779
8601 cat >conftest.$ac_ext <<_ACEOF 8780 cat >conftest.$ac_ext <<_ACEOF
8602 /* confdefs.h. */ 8781 /* confdefs.h. */
8603 _ACEOF 8782 _ACEOF
8626 if { (ac_try="$ac_compile" 8805 if { (ac_try="$ac_compile"
8627 case "(($ac_try" in 8806 case "(($ac_try" in
8628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8629 *) ac_try_echo=$ac_try;; 8808 *) ac_try_echo=$ac_try;;
8630 esac 8809 esac
8631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8811 $as_echo "$ac_try_echo") >&5
8632 (eval "$ac_compile") 2>conftest.er1 8812 (eval "$ac_compile") 2>conftest.er1
8633 ac_status=$? 8813 ac_status=$?
8634 grep -v '^ *+' conftest.er1 >conftest.err 8814 grep -v '^ *+' conftest.er1 >conftest.err
8635 rm -f conftest.er1 8815 rm -f conftest.er1
8636 cat conftest.err >&5 8816 cat conftest.err >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } && { 8818 (exit $ac_status); } && {
8639 test -z "$ac_c_werror_flag" || 8819 test -z "$ac_c_werror_flag" ||
8640 test ! -s conftest.err 8820 test ! -s conftest.err
8641 } && test -s conftest.$ac_objext; then 8821 } && test -s conftest.$ac_objext; then
8642 ac_cv_member_struct_ifreq_ifr_addr=yes 8822 ac_cv_member_struct_ifreq_ifr_addr=yes
8643 else 8823 else
8644 echo "$as_me: failed program was:" >&5 8824 $as_echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5 8825 sed 's/^/| /' conftest.$ac_ext >&5
8646 8826
8647 ac_cv_member_struct_ifreq_ifr_addr=no 8827 ac_cv_member_struct_ifreq_ifr_addr=no
8648 fi 8828 fi
8649 8829
8650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8651 fi 8831 fi
8652 8832
8653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8654 fi 8834 fi
8655 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 8835 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8656 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; } 8836 $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8657 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then 8837 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
8658 8838
8659 cat >>confdefs.h <<_ACEOF 8839 cat >>confdefs.h <<_ACEOF
8660 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8840 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
8661 _ACEOF 8841 _ACEOF
8663 8843
8664 fi 8844 fi
8665 8845
8666 8846
8667 8847
8668 { echo "$as_me:$LINENO: checking for function prototypes" >&5 8848 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
8669 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 8849 $as_echo_n "checking for function prototypes... " >&6; }
8670 if test "$ac_cv_prog_cc_c89" != no; then 8850 if test "$ac_cv_prog_cc_c89" != no; then
8671 { echo "$as_me:$LINENO: result: yes" >&5 8851 { $as_echo "$as_me:$LINENO: result: yes" >&5
8672 echo "${ECHO_T}yes" >&6; } 8852 $as_echo "yes" >&6; }
8673 8853
8674 cat >>confdefs.h <<\_ACEOF 8854 cat >>confdefs.h <<\_ACEOF
8675 #define PROTOTYPES 1 8855 #define PROTOTYPES 1
8676 _ACEOF 8856 _ACEOF
8677 8857
8679 cat >>confdefs.h <<\_ACEOF 8859 cat >>confdefs.h <<\_ACEOF
8680 #define __PROTOTYPES 1 8860 #define __PROTOTYPES 1
8681 _ACEOF 8861 _ACEOF
8682 8862
8683 else 8863 else
8684 { echo "$as_me:$LINENO: result: no" >&5 8864 { $as_echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6; } 8865 $as_echo "no" >&6; }
8686 fi 8866 fi
8687 8867
8688 { echo "$as_me:$LINENO: checking for working volatile" >&5 8868 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5
8689 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; } 8869 $as_echo_n "checking for working volatile... " >&6; }
8690 if test "${ac_cv_c_volatile+set}" = set; then 8870 if test "${ac_cv_c_volatile+set}" = set; then
8691 echo $ECHO_N "(cached) $ECHO_C" >&6 8871 $as_echo_n "(cached) " >&6
8692 else 8872 else
8693 cat >conftest.$ac_ext <<_ACEOF 8873 cat >conftest.$ac_ext <<_ACEOF
8694 /* confdefs.h. */ 8874 /* confdefs.h. */
8695 _ACEOF 8875 _ACEOF
8696 cat confdefs.h >>conftest.$ac_ext 8876 cat confdefs.h >>conftest.$ac_ext
8712 if { (ac_try="$ac_compile" 8892 if { (ac_try="$ac_compile"
8713 case "(($ac_try" in 8893 case "(($ac_try" in
8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8715 *) ac_try_echo=$ac_try;; 8895 *) ac_try_echo=$ac_try;;
8716 esac 8896 esac
8717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8898 $as_echo "$ac_try_echo") >&5
8718 (eval "$ac_compile") 2>conftest.er1 8899 (eval "$ac_compile") 2>conftest.er1
8719 ac_status=$? 8900 ac_status=$?
8720 grep -v '^ *+' conftest.er1 >conftest.err 8901 grep -v '^ *+' conftest.er1 >conftest.err
8721 rm -f conftest.er1 8902 rm -f conftest.er1
8722 cat conftest.err >&5 8903 cat conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && { 8905 (exit $ac_status); } && {
8725 test -z "$ac_c_werror_flag" || 8906 test -z "$ac_c_werror_flag" ||
8726 test ! -s conftest.err 8907 test ! -s conftest.err
8727 } && test -s conftest.$ac_objext; then 8908 } && test -s conftest.$ac_objext; then
8728 ac_cv_c_volatile=yes 8909 ac_cv_c_volatile=yes
8729 else 8910 else
8730 echo "$as_me: failed program was:" >&5 8911 $as_echo "$as_me: failed program was:" >&5
8731 sed 's/^/| /' conftest.$ac_ext >&5 8912 sed 's/^/| /' conftest.$ac_ext >&5
8732 8913
8733 ac_cv_c_volatile=no 8914 ac_cv_c_volatile=no
8734 fi 8915 fi
8735 8916
8736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 fi 8918 fi
8738 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 8919 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
8739 echo "${ECHO_T}$ac_cv_c_volatile" >&6; } 8920 $as_echo "$ac_cv_c_volatile" >&6; }
8740 if test $ac_cv_c_volatile = no; then 8921 if test $ac_cv_c_volatile = no; then
8741 8922
8742 cat >>confdefs.h <<\_ACEOF 8923 cat >>confdefs.h <<\_ACEOF
8743 #define volatile 8924 #define volatile /**/
8744 _ACEOF 8925 _ACEOF
8745 8926
8746 fi 8927 fi
8747 8928
8748 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8929 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8749 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 8930 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8750 if test "${ac_cv_c_const+set}" = set; then 8931 if test "${ac_cv_c_const+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6 8932 $as_echo_n "(cached) " >&6
8752 else 8933 else
8753 cat >conftest.$ac_ext <<_ACEOF 8934 cat >conftest.$ac_ext <<_ACEOF
8754 /* confdefs.h. */ 8935 /* confdefs.h. */
8755 _ACEOF 8936 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext 8937 cat confdefs.h >>conftest.$ac_ext
8818 if { (ac_try="$ac_compile" 8999 if { (ac_try="$ac_compile"
8819 case "(($ac_try" in 9000 case "(($ac_try" in
8820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8821 *) ac_try_echo=$ac_try;; 9002 *) ac_try_echo=$ac_try;;
8822 esac 9003 esac
8823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9005 $as_echo "$ac_try_echo") >&5
8824 (eval "$ac_compile") 2>conftest.er1 9006 (eval "$ac_compile") 2>conftest.er1
8825 ac_status=$? 9007 ac_status=$?
8826 grep -v '^ *+' conftest.er1 >conftest.err 9008 grep -v '^ *+' conftest.er1 >conftest.err
8827 rm -f conftest.er1 9009 rm -f conftest.er1
8828 cat conftest.err >&5 9010 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } && { 9012 (exit $ac_status); } && {
8831 test -z "$ac_c_werror_flag" || 9013 test -z "$ac_c_werror_flag" ||
8832 test ! -s conftest.err 9014 test ! -s conftest.err
8833 } && test -s conftest.$ac_objext; then 9015 } && test -s conftest.$ac_objext; then
8834 ac_cv_c_const=yes 9016 ac_cv_c_const=yes
8835 else 9017 else
8836 echo "$as_me: failed program was:" >&5 9018 $as_echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5 9019 sed 's/^/| /' conftest.$ac_ext >&5
8838 9020
8839 ac_cv_c_const=no 9021 ac_cv_c_const=no
8840 fi 9022 fi
8841 9023
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8843 fi 9025 fi
8844 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 9026 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8845 echo "${ECHO_T}$ac_cv_c_const" >&6; } 9027 $as_echo "$ac_cv_c_const" >&6; }
8846 if test $ac_cv_c_const = no; then 9028 if test $ac_cv_c_const = no; then
8847 9029
8848 cat >>confdefs.h <<\_ACEOF 9030 cat >>confdefs.h <<\_ACEOF
8849 #define const 9031 #define const /**/
8850 _ACEOF 9032 _ACEOF
8851 9033
8852 fi 9034 fi
8853 9035
8854 { echo "$as_me:$LINENO: checking for void * support" >&5 9036 { $as_echo "$as_me:$LINENO: checking for void * support" >&5
8855 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; } 9037 $as_echo_n "checking for void * support... " >&6; }
8856 if test "${emacs_cv_void_star+set}" = set; then 9038 if test "${emacs_cv_void_star+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6 9039 $as_echo_n "(cached) " >&6
8858 else 9040 else
8859 cat >conftest.$ac_ext <<_ACEOF 9041 cat >conftest.$ac_ext <<_ACEOF
8860 /* confdefs.h. */ 9042 /* confdefs.h. */
8861 _ACEOF 9043 _ACEOF
8862 cat confdefs.h >>conftest.$ac_ext 9044 cat confdefs.h >>conftest.$ac_ext
8875 if { (ac_try="$ac_compile" 9057 if { (ac_try="$ac_compile"
8876 case "(($ac_try" in 9058 case "(($ac_try" in
8877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8878 *) ac_try_echo=$ac_try;; 9060 *) ac_try_echo=$ac_try;;
8879 esac 9061 esac
8880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9063 $as_echo "$ac_try_echo") >&5
8881 (eval "$ac_compile") 2>conftest.er1 9064 (eval "$ac_compile") 2>conftest.er1
8882 ac_status=$? 9065 ac_status=$?
8883 grep -v '^ *+' conftest.er1 >conftest.err 9066 grep -v '^ *+' conftest.er1 >conftest.err
8884 rm -f conftest.er1 9067 rm -f conftest.er1
8885 cat conftest.err >&5 9068 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } && { 9070 (exit $ac_status); } && {
8888 test -z "$ac_c_werror_flag" || 9071 test -z "$ac_c_werror_flag" ||
8889 test ! -s conftest.err 9072 test ! -s conftest.err
8890 } && test -s conftest.$ac_objext; then 9073 } && test -s conftest.$ac_objext; then
8891 emacs_cv_void_star=yes 9074 emacs_cv_void_star=yes
8892 else 9075 else
8893 echo "$as_me: failed program was:" >&5 9076 $as_echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5 9077 sed 's/^/| /' conftest.$ac_ext >&5
8895 9078
8896 emacs_cv_void_star=no 9079 emacs_cv_void_star=no
8897 fi 9080 fi
8898 9081
8899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8900 fi 9083 fi
8901 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 9084 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
8902 echo "${ECHO_T}$emacs_cv_void_star" >&6; } 9085 $as_echo "$emacs_cv_void_star" >&6; }
8903 if test $emacs_cv_void_star = yes; then 9086 if test $emacs_cv_void_star = yes; then
8904 cat >>confdefs.h <<\_ACEOF 9087 cat >>confdefs.h <<\_ACEOF
8905 #define POINTER_TYPE void 9088 #define POINTER_TYPE void
8906 _ACEOF 9089 _ACEOF
8907 9090
8914 9097
8915 9098
8916 9099
8917 9100
8918 9101
8919 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 9102 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8920 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 9103 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8921 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 9104 set x ${MAKE-make}
9105 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8922 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 9106 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6 9107 $as_echo_n "(cached) " >&6
8924 else 9108 else
8925 cat >conftest.make <<\_ACEOF 9109 cat >conftest.make <<\_ACEOF
8926 SHELL = /bin/sh 9110 SHELL = /bin/sh
8927 all: 9111 all:
8928 @echo '@@@%%%=$(MAKE)=@@@%%%' 9112 @echo '@@@%%%=$(MAKE)=@@@%%%'
8935 eval ac_cv_prog_make_${ac_make}_set=no;; 9119 eval ac_cv_prog_make_${ac_make}_set=no;;
8936 esac 9120 esac
8937 rm -f conftest.make 9121 rm -f conftest.make
8938 fi 9122 fi
8939 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 9123 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8940 { echo "$as_me:$LINENO: result: yes" >&5 9124 { $as_echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6; } 9125 $as_echo "yes" >&6; }
8942 SET_MAKE= 9126 SET_MAKE=
8943 else 9127 else
8944 { echo "$as_me:$LINENO: result: no" >&5 9128 { $as_echo "$as_me:$LINENO: result: no" >&5
8945 echo "${ECHO_T}no" >&6; } 9129 $as_echo "no" >&6; }
8946 SET_MAKE="MAKE=${MAKE-make}" 9130 SET_MAKE="MAKE=${MAKE-make}"
8947 fi 9131 fi
8948 9132
8949 9133
8950 { echo "$as_me:$LINENO: checking for long file names" >&5 9134 { $as_echo "$as_me:$LINENO: checking for long file names" >&5
8951 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; } 9135 $as_echo_n "checking for long file names... " >&6; }
8952 if test "${ac_cv_sys_long_file_names+set}" = set; then 9136 if test "${ac_cv_sys_long_file_names+set}" = set; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6 9137 $as_echo_n "(cached) " >&6
8954 else 9138 else
8955 ac_cv_sys_long_file_names=yes 9139 ac_cv_sys_long_file_names=yes
8956 # Test for long file names in all the places we know might matter: 9140 # Test for long file names in all the places we know might matter:
8957 # . the current directory, where building will happen 9141 # . the current directory, where building will happen
8958 # $prefix/lib where we will be installing things 9142 # $prefix/lib where we will be installing things
8977 ac_cv_sys_long_file_names=no 9161 ac_cv_sys_long_file_names=no
8978 rm -f -r "$ac_xdir" 2>/dev/null 9162 rm -f -r "$ac_xdir" 2>/dev/null
8979 test $ac_cv_sys_long_file_names = no && break 9163 test $ac_cv_sys_long_file_names = no && break
8980 done 9164 done
8981 fi 9165 fi
8982 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 9166 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
8983 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; } 9167 $as_echo "$ac_cv_sys_long_file_names" >&6; }
8984 if test $ac_cv_sys_long_file_names = yes; then 9168 if test $ac_cv_sys_long_file_names = yes; then
8985 9169
8986 cat >>confdefs.h <<\_ACEOF 9170 cat >>confdefs.h <<\_ACEOF
8987 #define HAVE_LONG_FILE_NAMES 1 9171 #define HAVE_LONG_FILE_NAMES 1
8988 _ACEOF 9172 _ACEOF
8990 fi 9174 fi
8991 9175
8992 9176
8993 #### Choose a window system. 9177 #### Choose a window system.
8994 9178
8995 { echo "$as_me:$LINENO: checking for X" >&5 9179 { $as_echo "$as_me:$LINENO: checking for X" >&5
8996 echo $ECHO_N "checking for X... $ECHO_C" >&6; } 9180 $as_echo_n "checking for X... " >&6; }
8997 9181
8998 9182
8999 # Check whether --with-x was given. 9183 # Check whether --with-x was given.
9000 if test "${with_x+set}" = set; then 9184 if test "${with_x+set}" = set; then
9001 withval=$with_x; 9185 withval=$with_x;
9005 if test "x$with_x" = xno; then 9189 if test "x$with_x" = xno; then
9006 # The user explicitly disabled X. 9190 # The user explicitly disabled X.
9007 have_x=disabled 9191 have_x=disabled
9008 else 9192 else
9009 case $x_includes,$x_libraries in #( 9193 case $x_includes,$x_libraries in #(
9010 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 9194 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
9011 echo "$as_me: error: Cannot use X directory names containing '" >&2;} 9195 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
9012 { (exit 1); exit 1; }; };; #( 9196 { (exit 1); exit 1; }; };; #(
9013 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 9197 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 $as_echo_n "(cached) " >&6
9015 else 9199 else
9016 # One or both of the vars are not set, and there is no cached value. 9200 # One or both of the vars are not set, and there is no cached value.
9017 ac_x_includes=no ac_x_libraries=no 9201 ac_x_includes=no ac_x_libraries=no
9018 rm -f -r conftest.dir 9202 rm -f -r conftest.dir
9019 if mkdir conftest.dir; then 9203 if mkdir conftest.dir; then
9030 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 9214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9031 for ac_var in incroot usrlibdir libdir; do 9215 for ac_var in incroot usrlibdir libdir; do
9032 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 9216 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9033 done 9217 done
9034 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 9218 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9035 for ac_extension in a so sl; do 9219 for ac_extension in a so sl dylib la dll; do
9036 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 9220 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9037 test -f "$ac_im_libdir/libX11.$ac_extension"; then 9221 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9038 ac_im_usrlibdir=$ac_im_libdir; break 9222 ac_im_usrlibdir=$ac_im_libdir; break
9039 fi 9223 fi
9040 done 9224 done
9105 if { (ac_try="$ac_cpp conftest.$ac_ext" 9289 if { (ac_try="$ac_cpp conftest.$ac_ext"
9106 case "(($ac_try" in 9290 case "(($ac_try" in
9107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9108 *) ac_try_echo=$ac_try;; 9292 *) ac_try_echo=$ac_try;;
9109 esac 9293 esac
9110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9295 $as_echo "$ac_try_echo") >&5
9111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9112 ac_status=$? 9297 ac_status=$?
9113 grep -v '^ *+' conftest.er1 >conftest.err 9298 grep -v '^ *+' conftest.er1 >conftest.err
9114 rm -f conftest.er1 9299 rm -f conftest.er1
9115 cat conftest.err >&5 9300 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } >/dev/null && { 9302 (exit $ac_status); } >/dev/null && {
9118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9303 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9119 test ! -s conftest.err 9304 test ! -s conftest.err
9120 }; then 9305 }; then
9121 # We can compile using X headers with no special include directory. 9306 # We can compile using X headers with no special include directory.
9122 ac_x_includes= 9307 ac_x_includes=
9123 else 9308 else
9124 echo "$as_me: failed program was:" >&5 9309 $as_echo "$as_me: failed program was:" >&5
9125 sed 's/^/| /' conftest.$ac_ext >&5 9310 sed 's/^/| /' conftest.$ac_ext >&5
9126 9311
9127 for ac_dir in $ac_x_header_dirs; do 9312 for ac_dir in $ac_x_header_dirs; do
9128 if test -r "$ac_dir/X11/Xlib.h"; then 9313 if test -r "$ac_dir/X11/Xlib.h"; then
9129 ac_x_includes=$ac_dir 9314 ac_x_includes=$ac_dir
9160 if { (ac_try="$ac_link" 9345 if { (ac_try="$ac_link"
9161 case "(($ac_try" in 9346 case "(($ac_try" in
9162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9163 *) ac_try_echo=$ac_try;; 9348 *) ac_try_echo=$ac_try;;
9164 esac 9349 esac
9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9351 $as_echo "$ac_try_echo") >&5
9166 (eval "$ac_link") 2>conftest.er1 9352 (eval "$ac_link") 2>conftest.er1
9167 ac_status=$? 9353 ac_status=$?
9168 grep -v '^ *+' conftest.er1 >conftest.err 9354 grep -v '^ *+' conftest.er1 >conftest.err
9169 rm -f conftest.er1 9355 rm -f conftest.er1
9170 cat conftest.err >&5 9356 cat conftest.err >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } && { 9358 (exit $ac_status); } && {
9173 test -z "$ac_c_werror_flag" || 9359 test -z "$ac_c_werror_flag" ||
9174 test ! -s conftest.err 9360 test ! -s conftest.err
9175 } && test -s conftest$ac_exeext && 9361 } && test -s conftest$ac_exeext && {
9176 $as_test_x conftest$ac_exeext; then 9362 test "$cross_compiling" = yes ||
9363 $as_test_x conftest$ac_exeext
9364 }; then
9177 LIBS=$ac_save_LIBS 9365 LIBS=$ac_save_LIBS
9178 # We can link X programs with no special library path. 9366 # We can link X programs with no special library path.
9179 ac_x_libraries= 9367 ac_x_libraries=
9180 else 9368 else
9181 echo "$as_me: failed program was:" >&5 9369 $as_echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5 9370 sed 's/^/| /' conftest.$ac_ext >&5
9183 9371
9184 LIBS=$ac_save_LIBS 9372 LIBS=$ac_save_LIBS
9185 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9373 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9186 do 9374 do
9187 # Don't even attempt the hair of trying to link an X program! 9375 # Don't even attempt the hair of trying to link an X program!
9188 for ac_extension in a so sl; do 9376 for ac_extension in a so sl dylib la dll; do
9189 if test -r "$ac_dir/libX11.$ac_extension"; then 9377 if test -r "$ac_dir/libX11.$ac_extension"; then
9190 ac_x_libraries=$ac_dir 9378 ac_x_libraries=$ac_dir
9191 break 2 9379 break 2
9192 fi 9380 fi
9193 done 9381 done
9194 done 9382 done
9195 fi 9383 fi
9196 9384
9385 rm -rf conftest.dSYM
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext 9387 conftest$ac_exeext conftest.$ac_ext
9199 fi # $ac_x_libraries = no 9388 fi # $ac_x_libraries = no
9200 9389
9201 case $ac_x_includes,$ac_x_libraries in #( 9390 case $ac_x_includes,$ac_x_libraries in #(
9214 esac 9403 esac
9215 eval "$ac_cv_have_x" 9404 eval "$ac_cv_have_x"
9216 fi # $with_x != no 9405 fi # $with_x != no
9217 9406
9218 if test "$have_x" != yes; then 9407 if test "$have_x" != yes; then
9219 { echo "$as_me:$LINENO: result: $have_x" >&5 9408 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
9220 echo "${ECHO_T}$have_x" >&6; } 9409 $as_echo "$have_x" >&6; }
9221 no_x=yes 9410 no_x=yes
9222 else 9411 else
9223 # If each of the values was on the command line, it overrides each guess. 9412 # If each of the values was on the command line, it overrides each guess.
9224 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9413 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9225 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9414 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9226 # Update the cache value to reflect the command line values. 9415 # Update the cache value to reflect the command line values.
9227 ac_cv_have_x="have_x=yes\ 9416 ac_cv_have_x="have_x=yes\
9228 ac_x_includes='$x_includes'\ 9417 ac_x_includes='$x_includes'\
9229 ac_x_libraries='$x_libraries'" 9418 ac_x_libraries='$x_libraries'"
9230 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9419 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9231 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } 9420 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9232 fi 9421 fi
9233 9422
9234 if test "$no_x" = yes; then 9423 if test "$no_x" = yes; then
9235 window_system=none 9424 window_system=none
9236 else 9425 else
9322 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9511 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9323 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9512 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9324 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 9513 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
9325 fi 9514 fi
9326 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9515 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9327 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9516 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9328 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; } 9517 $as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9329 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9518 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6 9519 $as_echo_n "(cached) " >&6
9331 fi 9520 fi
9332 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9521 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9333 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; } 9522 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9334 else 9523 else
9335 # Is the header compilable? 9524 # Is the header compilable?
9336 { echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 9525 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9337 echo $ECHO_N "checking AppKit/AppKit.h usability... $ECHO_C" >&6; } 9526 $as_echo_n "checking AppKit/AppKit.h usability... " >&6; }
9338 cat >conftest.$ac_ext <<_ACEOF 9527 cat >conftest.$ac_ext <<_ACEOF
9339 /* confdefs.h. */ 9528 /* confdefs.h. */
9340 _ACEOF 9529 _ACEOF
9341 cat confdefs.h >>conftest.$ac_ext 9530 cat confdefs.h >>conftest.$ac_ext
9342 cat >>conftest.$ac_ext <<_ACEOF 9531 cat >>conftest.$ac_ext <<_ACEOF
9348 if { (ac_try="$ac_compile" 9537 if { (ac_try="$ac_compile"
9349 case "(($ac_try" in 9538 case "(($ac_try" in
9350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9351 *) ac_try_echo=$ac_try;; 9540 *) ac_try_echo=$ac_try;;
9352 esac 9541 esac
9353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9543 $as_echo "$ac_try_echo") >&5
9354 (eval "$ac_compile") 2>conftest.er1 9544 (eval "$ac_compile") 2>conftest.er1
9355 ac_status=$? 9545 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err 9546 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1 9547 rm -f conftest.er1
9358 cat conftest.err >&5 9548 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } && { 9550 (exit $ac_status); } && {
9361 test -z "$ac_c_werror_flag" || 9551 test -z "$ac_c_werror_flag" ||
9362 test ! -s conftest.err 9552 test ! -s conftest.err
9363 } && test -s conftest.$ac_objext; then 9553 } && test -s conftest.$ac_objext; then
9364 ac_header_compiler=yes 9554 ac_header_compiler=yes
9365 else 9555 else
9366 echo "$as_me: failed program was:" >&5 9556 $as_echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5 9557 sed 's/^/| /' conftest.$ac_ext >&5
9368 9558
9369 ac_header_compiler=no 9559 ac_header_compiler=no
9370 fi 9560 fi
9371 9561
9372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9373 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9563 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9374 echo "${ECHO_T}$ac_header_compiler" >&6; } 9564 $as_echo "$ac_header_compiler" >&6; }
9375 9565
9376 # Is the header present? 9566 # Is the header present?
9377 { echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 9567 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9378 echo $ECHO_N "checking AppKit/AppKit.h presence... $ECHO_C" >&6; } 9568 $as_echo_n "checking AppKit/AppKit.h presence... " >&6; }
9379 cat >conftest.$ac_ext <<_ACEOF 9569 cat >conftest.$ac_ext <<_ACEOF
9380 /* confdefs.h. */ 9570 /* confdefs.h. */
9381 _ACEOF 9571 _ACEOF
9382 cat confdefs.h >>conftest.$ac_ext 9572 cat confdefs.h >>conftest.$ac_ext
9383 cat >>conftest.$ac_ext <<_ACEOF 9573 cat >>conftest.$ac_ext <<_ACEOF
9387 if { (ac_try="$ac_cpp conftest.$ac_ext" 9577 if { (ac_try="$ac_cpp conftest.$ac_ext"
9388 case "(($ac_try" in 9578 case "(($ac_try" in
9389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9390 *) ac_try_echo=$ac_try;; 9580 *) ac_try_echo=$ac_try;;
9391 esac 9581 esac
9392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9583 $as_echo "$ac_try_echo") >&5
9393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9394 ac_status=$? 9585 ac_status=$?
9395 grep -v '^ *+' conftest.er1 >conftest.err 9586 grep -v '^ *+' conftest.er1 >conftest.err
9396 rm -f conftest.er1 9587 rm -f conftest.er1
9397 cat conftest.err >&5 9588 cat conftest.err >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } >/dev/null && { 9590 (exit $ac_status); } >/dev/null && {
9400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9401 test ! -s conftest.err 9592 test ! -s conftest.err
9402 }; then 9593 }; then
9403 ac_header_preproc=yes 9594 ac_header_preproc=yes
9404 else 9595 else
9405 echo "$as_me: failed program was:" >&5 9596 $as_echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5 9597 sed 's/^/| /' conftest.$ac_ext >&5
9407 9598
9408 ac_header_preproc=no 9599 ac_header_preproc=no
9409 fi 9600 fi
9410 9601
9411 rm -f conftest.err conftest.$ac_ext 9602 rm -f conftest.err conftest.$ac_ext
9412 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9603 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9413 echo "${ECHO_T}$ac_header_preproc" >&6; } 9604 $as_echo "$ac_header_preproc" >&6; }
9414 9605
9415 # So? What about this header? 9606 # So? What about this header?
9416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9417 yes:no: ) 9608 yes:no: )
9418 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 9609 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9419 echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9610 $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9420 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 9611 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9421 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} 9612 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9422 ac_header_preproc=yes 9613 ac_header_preproc=yes
9423 ;; 9614 ;;
9424 no:yes:* ) 9615 no:yes:* )
9425 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 9616 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9426 echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} 9617 $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9427 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 9618 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9428 echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} 9619 $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9429 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 9620 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9430 echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} 9621 $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9431 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 9622 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9432 echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} 9623 $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9433 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 9624 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9434 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} 9625 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9435 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 9626 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9436 echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} 9627 $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9437 9628
9438 ;; 9629 ;;
9439 esac 9630 esac
9440 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9631 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9441 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; } 9632 $as_echo_n "checking for AppKit/AppKit.h... " >&6; }
9442 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9633 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9443 echo $ECHO_N "(cached) $ECHO_C" >&6 9634 $as_echo_n "(cached) " >&6
9444 else 9635 else
9445 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc 9636 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9446 fi 9637 fi
9447 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9638 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9448 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; } 9639 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; }
9449 9640
9450 fi 9641 fi
9451 if test $ac_cv_header_AppKit_AppKit_h = yes; then 9642 if test $ac_cv_header_AppKit_AppKit_h = yes; then
9452 HAVE_NS=yes 9643 HAVE_NS=yes
9453 else 9644 else
9454 { { echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 9645 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
9455 files are missing or cannot be compiled." >&5 9646 files are missing or cannot be compiled." >&5
9456 echo "$as_me: error: \`--with-ns' was specified, but the include 9647 $as_echo "$as_me: error: \`--with-ns' was specified, but the include
9457 files are missing or cannot be compiled." >&2;} 9648 files are missing or cannot be compiled." >&2;}
9458 { (exit 1); exit 1; }; } 9649 { (exit 1); exit 1; }; }
9459 fi 9650 fi
9460 9651
9461 9652
9479 if { (ac_try="$ac_compile" 9670 if { (ac_try="$ac_compile"
9480 case "(($ac_try" in 9671 case "(($ac_try" in
9481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9482 *) ac_try_echo=$ac_try;; 9673 *) ac_try_echo=$ac_try;;
9483 esac 9674 esac
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9676 $as_echo "$ac_try_echo") >&5
9485 (eval "$ac_compile") 2>conftest.er1 9677 (eval "$ac_compile") 2>conftest.er1
9486 ac_status=$? 9678 ac_status=$?
9487 grep -v '^ *+' conftest.er1 >conftest.err 9679 grep -v '^ *+' conftest.er1 >conftest.err
9488 rm -f conftest.er1 9680 rm -f conftest.er1
9489 cat conftest.err >&5 9681 cat conftest.err >&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } && { 9683 (exit $ac_status); } && {
9492 test -z "$ac_c_werror_flag" || 9684 test -z "$ac_c_werror_flag" ||
9493 test ! -s conftest.err 9685 test ! -s conftest.err
9494 } && test -s conftest.$ac_objext; then 9686 } && test -s conftest.$ac_objext; then
9495 ns_have_nsinteger=yes 9687 ns_have_nsinteger=yes
9496 else 9688 else
9497 echo "$as_me: failed program was:" >&5 9689 $as_echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5 9690 sed 's/^/| /' conftest.$ac_ext >&5
9499 9691
9500 ns_have_nsinteger=no 9692 ns_have_nsinteger=no
9501 fi 9693 fi
9502 9694
9539 esac 9731 esac
9540 9732
9541 if test "$window_system" = none && test "X$with_x" != "Xno"; then 9733 if test "$window_system" = none && test "X$with_x" != "Xno"; then
9542 # Extract the first word of "X", so it can be a program name with args. 9734 # Extract the first word of "X", so it can be a program name with args.
9543 set dummy X; ac_word=$2 9735 set dummy X; ac_word=$2
9544 { echo "$as_me:$LINENO: checking for $ac_word" >&5 9736 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 9737 $as_echo_n "checking for $ac_word... " >&6; }
9546 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then 9738 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6 9739 $as_echo_n "(cached) " >&6
9548 else 9740 else
9549 if test -n "$HAVE_XSERVER"; then 9741 if test -n "$HAVE_XSERVER"; then
9550 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 9742 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
9551 else 9743 else
9552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 IFS=$as_save_IFS 9747 IFS=$as_save_IFS
9556 test -z "$as_dir" && as_dir=. 9748 test -z "$as_dir" && as_dir=.
9557 for ac_exec_ext in '' $ac_executable_extensions; do 9749 for ac_exec_ext in '' $ac_executable_extensions; do
9558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9559 ac_cv_prog_HAVE_XSERVER="true" 9751 ac_cv_prog_HAVE_XSERVER="true"
9560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9752 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9561 break 2 9753 break 2
9562 fi 9754 fi
9563 done 9755 done
9564 done 9756 done
9565 IFS=$as_save_IFS 9757 IFS=$as_save_IFS
9567 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 9759 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
9568 fi 9760 fi
9569 fi 9761 fi
9570 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 9762 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
9571 if test -n "$HAVE_XSERVER"; then 9763 if test -n "$HAVE_XSERVER"; then
9572 { echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 9764 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5
9573 echo "${ECHO_T}$HAVE_XSERVER" >&6; } 9765 $as_echo "$HAVE_XSERVER" >&6; }
9574 else 9766 else
9575 { echo "$as_me:$LINENO: result: no" >&5 9767 { $as_echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6; } 9768 $as_echo "no" >&6; }
9577 fi 9769 fi
9578 9770
9579 9771
9580 if test "$HAVE_XSERVER" = true || 9772 if test "$HAVE_XSERVER" = true ||
9581 test -n "$DISPLAY" || 9773 test -n "$DISPLAY" ||
9582 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 9774 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
9583 { { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries 9775 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
9584 were found. You should install the relevant development files for X 9776 were found. You should install the relevant development files for X
9585 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9777 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9586 sure you have development files for image handling, i.e. 9778 sure you have development files for image handling, i.e.
9587 tiff, gif, jpeg, png and xpm. 9779 tiff, gif, jpeg, png and xpm.
9588 If you are sure you want Emacs compiled without X window support, pass 9780 If you are sure you want Emacs compiled without X window support, pass
9589 --without-x 9781 --without-x
9590 to configure." >&5 9782 to configure." >&5
9591 echo "$as_me: error: You seem to be running X, but no X development libraries 9783 $as_echo "$as_me: error: You seem to be running X, but no X development libraries
9592 were found. You should install the relevant development files for X 9784 were found. You should install the relevant development files for X
9593 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9785 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9594 sure you have development files for image handling, i.e. 9786 sure you have development files for image handling, i.e.
9595 tiff, gif, jpeg, png and xpm. 9787 tiff, gif, jpeg, png and xpm.
9596 If you are sure you want Emacs compiled without X window support, pass 9788 If you are sure you want Emacs compiled without X window support, pass
9608 9800
9609 # Do the opsystem or machine files prohibit the use of the GNU malloc? 9801 # Do the opsystem or machine files prohibit the use of the GNU malloc?
9610 # Assume not, until told otherwise. 9802 # Assume not, until told otherwise.
9611 GNU_MALLOC=yes 9803 GNU_MALLOC=yes
9612 doug_lea_malloc=yes 9804 doug_lea_malloc=yes
9613 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5 9805 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5
9614 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; } 9806 $as_echo_n "checking for malloc_get_state... " >&6; }
9615 if test "${ac_cv_func_malloc_get_state+set}" = set; then 9807 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6 9808 $as_echo_n "(cached) " >&6
9617 else 9809 else
9618 cat >conftest.$ac_ext <<_ACEOF 9810 cat >conftest.$ac_ext <<_ACEOF
9619 /* confdefs.h. */ 9811 /* confdefs.h. */
9620 _ACEOF 9812 _ACEOF
9621 cat confdefs.h >>conftest.$ac_ext 9813 cat confdefs.h >>conftest.$ac_ext
9664 if { (ac_try="$ac_link" 9856 if { (ac_try="$ac_link"
9665 case "(($ac_try" in 9857 case "(($ac_try" in
9666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9667 *) ac_try_echo=$ac_try;; 9859 *) ac_try_echo=$ac_try;;
9668 esac 9860 esac
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9862 $as_echo "$ac_try_echo") >&5
9670 (eval "$ac_link") 2>conftest.er1 9863 (eval "$ac_link") 2>conftest.er1
9671 ac_status=$? 9864 ac_status=$?
9672 grep -v '^ *+' conftest.er1 >conftest.err 9865 grep -v '^ *+' conftest.er1 >conftest.err
9673 rm -f conftest.er1 9866 rm -f conftest.er1
9674 cat conftest.err >&5 9867 cat conftest.err >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && { 9869 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" || 9870 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err 9871 test ! -s conftest.err
9679 } && test -s conftest$ac_exeext && 9872 } && test -s conftest$ac_exeext && {
9680 $as_test_x conftest$ac_exeext; then 9873 test "$cross_compiling" = yes ||
9874 $as_test_x conftest$ac_exeext
9875 }; then
9681 ac_cv_func_malloc_get_state=yes 9876 ac_cv_func_malloc_get_state=yes
9682 else 9877 else
9683 echo "$as_me: failed program was:" >&5 9878 $as_echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.$ac_ext >&5 9879 sed 's/^/| /' conftest.$ac_ext >&5
9685 9880
9686 ac_cv_func_malloc_get_state=no 9881 ac_cv_func_malloc_get_state=no
9687 fi 9882 fi
9688 9883
9884 rm -rf conftest.dSYM
9689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9690 conftest$ac_exeext conftest.$ac_ext 9886 conftest$ac_exeext conftest.$ac_ext
9691 fi 9887 fi
9692 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 9888 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
9693 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; } 9889 $as_echo "$ac_cv_func_malloc_get_state" >&6; }
9694 if test $ac_cv_func_malloc_get_state = yes; then 9890 if test $ac_cv_func_malloc_get_state = yes; then
9695 : 9891 :
9696 else 9892 else
9697 doug_lea_malloc=no 9893 doug_lea_malloc=no
9698 fi 9894 fi
9699 9895
9700 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5 9896 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5
9701 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; } 9897 $as_echo_n "checking for malloc_set_state... " >&6; }
9702 if test "${ac_cv_func_malloc_set_state+set}" = set; then 9898 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6 9899 $as_echo_n "(cached) " >&6
9704 else 9900 else
9705 cat >conftest.$ac_ext <<_ACEOF 9901 cat >conftest.$ac_ext <<_ACEOF
9706 /* confdefs.h. */ 9902 /* confdefs.h. */
9707 _ACEOF 9903 _ACEOF
9708 cat confdefs.h >>conftest.$ac_ext 9904 cat confdefs.h >>conftest.$ac_ext
9751 if { (ac_try="$ac_link" 9947 if { (ac_try="$ac_link"
9752 case "(($ac_try" in 9948 case "(($ac_try" in
9753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9754 *) ac_try_echo=$ac_try;; 9950 *) ac_try_echo=$ac_try;;
9755 esac 9951 esac
9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9953 $as_echo "$ac_try_echo") >&5
9757 (eval "$ac_link") 2>conftest.er1 9954 (eval "$ac_link") 2>conftest.er1
9758 ac_status=$? 9955 ac_status=$?
9759 grep -v '^ *+' conftest.er1 >conftest.err 9956 grep -v '^ *+' conftest.er1 >conftest.err
9760 rm -f conftest.er1 9957 rm -f conftest.er1
9761 cat conftest.err >&5 9958 cat conftest.err >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } && { 9960 (exit $ac_status); } && {
9764 test -z "$ac_c_werror_flag" || 9961 test -z "$ac_c_werror_flag" ||
9765 test ! -s conftest.err 9962 test ! -s conftest.err
9766 } && test -s conftest$ac_exeext && 9963 } && test -s conftest$ac_exeext && {
9767 $as_test_x conftest$ac_exeext; then 9964 test "$cross_compiling" = yes ||
9965 $as_test_x conftest$ac_exeext
9966 }; then
9768 ac_cv_func_malloc_set_state=yes 9967 ac_cv_func_malloc_set_state=yes
9769 else 9968 else
9770 echo "$as_me: failed program was:" >&5 9969 $as_echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5 9970 sed 's/^/| /' conftest.$ac_ext >&5
9772 9971
9773 ac_cv_func_malloc_set_state=no 9972 ac_cv_func_malloc_set_state=no
9774 fi 9973 fi
9775 9974
9975 rm -rf conftest.dSYM
9776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9777 conftest$ac_exeext conftest.$ac_ext 9977 conftest$ac_exeext conftest.$ac_ext
9778 fi 9978 fi
9779 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 9979 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
9780 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; } 9980 $as_echo "$ac_cv_func_malloc_set_state" >&6; }
9781 if test $ac_cv_func_malloc_set_state = yes; then 9981 if test $ac_cv_func_malloc_set_state = yes; then
9782 : 9982 :
9783 else 9983 else
9784 doug_lea_malloc=no 9984 doug_lea_malloc=no
9785 fi 9985 fi
9786 9986
9787 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 9987 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
9788 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; } 9988 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; }
9789 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 9989 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9790 echo $ECHO_N "(cached) $ECHO_C" >&6 9990 $as_echo_n "(cached) " >&6
9791 else 9991 else
9792 cat >conftest.$ac_ext <<_ACEOF 9992 cat >conftest.$ac_ext <<_ACEOF
9793 /* confdefs.h. */ 9993 /* confdefs.h. */
9794 _ACEOF 9994 _ACEOF
9795 cat confdefs.h >>conftest.$ac_ext 9995 cat confdefs.h >>conftest.$ac_ext
9808 if { (ac_try="$ac_link" 10008 if { (ac_try="$ac_link"
9809 case "(($ac_try" in 10009 case "(($ac_try" in
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;; 10011 *) ac_try_echo=$ac_try;;
9812 esac 10012 esac
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10014 $as_echo "$ac_try_echo") >&5
9814 (eval "$ac_link") 2>conftest.er1 10015 (eval "$ac_link") 2>conftest.er1
9815 ac_status=$? 10016 ac_status=$?
9816 grep -v '^ *+' conftest.er1 >conftest.err 10017 grep -v '^ *+' conftest.er1 >conftest.err
9817 rm -f conftest.er1 10018 rm -f conftest.er1
9818 cat conftest.err >&5 10019 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } && { 10021 (exit $ac_status); } && {
9821 test -z "$ac_c_werror_flag" || 10022 test -z "$ac_c_werror_flag" ||
9822 test ! -s conftest.err 10023 test ! -s conftest.err
9823 } && test -s conftest$ac_exeext && 10024 } && test -s conftest$ac_exeext && {
9824 $as_test_x conftest$ac_exeext; then 10025 test "$cross_compiling" = yes ||
10026 $as_test_x conftest$ac_exeext
10027 }; then
9825 emacs_cv_var___after_morecore_hook=yes 10028 emacs_cv_var___after_morecore_hook=yes
9826 else 10029 else
9827 echo "$as_me: failed program was:" >&5 10030 $as_echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5 10031 sed 's/^/| /' conftest.$ac_ext >&5
9829 10032
9830 emacs_cv_var___after_morecore_hook=no 10033 emacs_cv_var___after_morecore_hook=no
9831 fi 10034 fi
9832 10035
10036 rm -rf conftest.dSYM
9833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9834 conftest$ac_exeext conftest.$ac_ext 10038 conftest$ac_exeext conftest.$ac_ext
9835 fi 10039 fi
9836 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 10040 { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
9837 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; } 10041 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; }
9838 if test $emacs_cv_var___after_morecore_hook = no; then 10042 if test $emacs_cv_var___after_morecore_hook = no; then
9839 doug_lea_malloc=no 10043 doug_lea_malloc=no
9840 fi 10044 fi
9841 if test "${system_malloc}" = "yes"; then 10045 if test "${system_malloc}" = "yes"; then
9842 GNU_MALLOC=no 10046 GNU_MALLOC=no
9862 10066
9863 10067
9864 10068
9865 for ac_header in stdlib.h unistd.h 10069 for ac_header in stdlib.h unistd.h
9866 do 10070 do
9867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9869 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10073 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10074 $as_echo_n "checking for $ac_header... " >&6; }
9871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6 10076 $as_echo_n "(cached) " >&6
9873 fi 10077 fi
9874 ac_res=`eval echo '${'$as_ac_Header'}'` 10078 ac_res=`eval 'as_val=${'$as_ac_Header'}
9875 { echo "$as_me:$LINENO: result: $ac_res" >&5 10079 $as_echo "$as_val"'`
9876 echo "${ECHO_T}$ac_res" >&6; } 10080 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10081 $as_echo "$ac_res" >&6; }
9877 else 10082 else
9878 # Is the header compilable? 10083 # Is the header compilable?
9879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 10084 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10085 $as_echo_n "checking $ac_header usability... " >&6; }
9881 cat >conftest.$ac_ext <<_ACEOF 10086 cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h. */ 10087 /* confdefs.h. */
9883 _ACEOF 10088 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext 10089 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF 10090 cat >>conftest.$ac_ext <<_ACEOF
9891 if { (ac_try="$ac_compile" 10096 if { (ac_try="$ac_compile"
9892 case "(($ac_try" in 10097 case "(($ac_try" in
9893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9894 *) ac_try_echo=$ac_try;; 10099 *) ac_try_echo=$ac_try;;
9895 esac 10100 esac
9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10102 $as_echo "$ac_try_echo") >&5
9897 (eval "$ac_compile") 2>conftest.er1 10103 (eval "$ac_compile") 2>conftest.er1
9898 ac_status=$? 10104 ac_status=$?
9899 grep -v '^ *+' conftest.er1 >conftest.err 10105 grep -v '^ *+' conftest.er1 >conftest.err
9900 rm -f conftest.er1 10106 rm -f conftest.er1
9901 cat conftest.err >&5 10107 cat conftest.err >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } && { 10109 (exit $ac_status); } && {
9904 test -z "$ac_c_werror_flag" || 10110 test -z "$ac_c_werror_flag" ||
9905 test ! -s conftest.err 10111 test ! -s conftest.err
9906 } && test -s conftest.$ac_objext; then 10112 } && test -s conftest.$ac_objext; then
9907 ac_header_compiler=yes 10113 ac_header_compiler=yes
9908 else 10114 else
9909 echo "$as_me: failed program was:" >&5 10115 $as_echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.$ac_ext >&5 10116 sed 's/^/| /' conftest.$ac_ext >&5
9911 10117
9912 ac_header_compiler=no 10118 ac_header_compiler=no
9913 fi 10119 fi
9914 10120
9915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10122 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9917 echo "${ECHO_T}$ac_header_compiler" >&6; } 10123 $as_echo "$ac_header_compiler" >&6; }
9918 10124
9919 # Is the header present? 10125 # Is the header present?
9920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 10126 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10127 $as_echo_n "checking $ac_header presence... " >&6; }
9922 cat >conftest.$ac_ext <<_ACEOF 10128 cat >conftest.$ac_ext <<_ACEOF
9923 /* confdefs.h. */ 10129 /* confdefs.h. */
9924 _ACEOF 10130 _ACEOF
9925 cat confdefs.h >>conftest.$ac_ext 10131 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF 10132 cat >>conftest.$ac_ext <<_ACEOF
9930 if { (ac_try="$ac_cpp conftest.$ac_ext" 10136 if { (ac_try="$ac_cpp conftest.$ac_ext"
9931 case "(($ac_try" in 10137 case "(($ac_try" in
9932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9933 *) ac_try_echo=$ac_try;; 10139 *) ac_try_echo=$ac_try;;
9934 esac 10140 esac
9935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10142 $as_echo "$ac_try_echo") >&5
9936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9937 ac_status=$? 10144 ac_status=$?
9938 grep -v '^ *+' conftest.er1 >conftest.err 10145 grep -v '^ *+' conftest.er1 >conftest.err
9939 rm -f conftest.er1 10146 rm -f conftest.er1
9940 cat conftest.err >&5 10147 cat conftest.err >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); } >/dev/null && { 10149 (exit $ac_status); } >/dev/null && {
9943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9944 test ! -s conftest.err 10151 test ! -s conftest.err
9945 }; then 10152 }; then
9946 ac_header_preproc=yes 10153 ac_header_preproc=yes
9947 else 10154 else
9948 echo "$as_me: failed program was:" >&5 10155 $as_echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.$ac_ext >&5 10156 sed 's/^/| /' conftest.$ac_ext >&5
9950 10157
9951 ac_header_preproc=no 10158 ac_header_preproc=no
9952 fi 10159 fi
9953 10160
9954 rm -f conftest.err conftest.$ac_ext 10161 rm -f conftest.err conftest.$ac_ext
9955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10162 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9956 echo "${ECHO_T}$ac_header_preproc" >&6; } 10163 $as_echo "$ac_header_preproc" >&6; }
9957 10164
9958 # So? What about this header? 10165 # So? What about this header?
9959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9960 yes:no: ) 10167 yes:no: )
9961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10169 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10171 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9965 ac_header_preproc=yes 10172 ac_header_preproc=yes
9966 ;; 10173 ;;
9967 no:yes:* ) 10174 no:yes:* )
9968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10176 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10178 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10180 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10182 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10184 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10186 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9980 10187
9981 ;; 10188 ;;
9982 esac 10189 esac
9983 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10190 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10191 $as_echo_n "checking for $ac_header... " >&6; }
9985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6 10193 $as_echo_n "(cached) " >&6
9987 else 10194 else
9988 eval "$as_ac_Header=\$ac_header_preproc" 10195 eval "$as_ac_Header=\$ac_header_preproc"
9989 fi 10196 fi
9990 ac_res=`eval echo '${'$as_ac_Header'}'` 10197 ac_res=`eval 'as_val=${'$as_ac_Header'}
9991 { echo "$as_me:$LINENO: result: $ac_res" >&5 10198 $as_echo "$as_val"'`
9992 echo "${ECHO_T}$ac_res" >&6; } 10199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9993 10200 $as_echo "$ac_res" >&6; }
9994 fi 10201
9995 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10202 fi
10203 if test `eval 'as_val=${'$as_ac_Header'}
10204 $as_echo "$as_val"'` = yes; then
9996 cat >>confdefs.h <<_ACEOF 10205 cat >>confdefs.h <<_ACEOF
9997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10206 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9998 _ACEOF 10207 _ACEOF
9999 10208
10000 fi 10209 fi
10001 10210
10002 done 10211 done
10003 10212
10004 10213
10005 for ac_func in getpagesize 10214 for ac_func in getpagesize
10006 do 10215 do
10007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10008 { echo "$as_me:$LINENO: checking for $ac_func" >&5 10217 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10218 $as_echo_n "checking for $ac_func... " >&6; }
10010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6 10220 $as_echo_n "(cached) " >&6
10012 else 10221 else
10013 cat >conftest.$ac_ext <<_ACEOF 10222 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */ 10223 /* confdefs.h. */
10015 _ACEOF 10224 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext 10225 cat confdefs.h >>conftest.$ac_ext
10059 if { (ac_try="$ac_link" 10268 if { (ac_try="$ac_link"
10060 case "(($ac_try" in 10269 case "(($ac_try" in
10061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10062 *) ac_try_echo=$ac_try;; 10271 *) ac_try_echo=$ac_try;;
10063 esac 10272 esac
10064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10274 $as_echo "$ac_try_echo") >&5
10065 (eval "$ac_link") 2>conftest.er1 10275 (eval "$ac_link") 2>conftest.er1
10066 ac_status=$? 10276 ac_status=$?
10067 grep -v '^ *+' conftest.er1 >conftest.err 10277 grep -v '^ *+' conftest.er1 >conftest.err
10068 rm -f conftest.er1 10278 rm -f conftest.er1
10069 cat conftest.err >&5 10279 cat conftest.err >&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); } && { 10281 (exit $ac_status); } && {
10072 test -z "$ac_c_werror_flag" || 10282 test -z "$ac_c_werror_flag" ||
10073 test ! -s conftest.err 10283 test ! -s conftest.err
10074 } && test -s conftest$ac_exeext && 10284 } && test -s conftest$ac_exeext && {
10075 $as_test_x conftest$ac_exeext; then 10285 test "$cross_compiling" = yes ||
10286 $as_test_x conftest$ac_exeext
10287 }; then
10076 eval "$as_ac_var=yes" 10288 eval "$as_ac_var=yes"
10077 else 10289 else
10078 echo "$as_me: failed program was:" >&5 10290 $as_echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5 10291 sed 's/^/| /' conftest.$ac_ext >&5
10080 10292
10081 eval "$as_ac_var=no" 10293 eval "$as_ac_var=no"
10082 fi 10294 fi
10083 10295
10296 rm -rf conftest.dSYM
10084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10085 conftest$ac_exeext conftest.$ac_ext 10298 conftest$ac_exeext conftest.$ac_ext
10086 fi 10299 fi
10087 ac_res=`eval echo '${'$as_ac_var'}'` 10300 ac_res=`eval 'as_val=${'$as_ac_var'}
10088 { echo "$as_me:$LINENO: result: $ac_res" >&5 10301 $as_echo "$as_val"'`
10089 echo "${ECHO_T}$ac_res" >&6; } 10302 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10090 if test `eval echo '${'$as_ac_var'}'` = yes; then 10303 $as_echo "$ac_res" >&6; }
10304 if test `eval 'as_val=${'$as_ac_var'}
10305 $as_echo "$as_val"'` = yes; then
10091 cat >>confdefs.h <<_ACEOF 10306 cat >>confdefs.h <<_ACEOF
10092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10093 _ACEOF 10308 _ACEOF
10094 10309
10095 fi 10310 fi
10096 done 10311 done
10097 10312
10098 { echo "$as_me:$LINENO: checking for working mmap" >&5 10313 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
10099 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } 10314 $as_echo_n "checking for working mmap... " >&6; }
10100 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 10315 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6 10316 $as_echo_n "(cached) " >&6
10102 else 10317 else
10103 if test "$cross_compiling" = yes; then 10318 if test "$cross_compiling" = yes; then
10104 ac_cv_func_mmap_fixed_mapped=no 10319 ac_cv_func_mmap_fixed_mapped=no
10105 else 10320 else
10106 cat >conftest.$ac_ext <<_ACEOF 10321 cat >conftest.$ac_ext <<_ACEOF
10240 if { (ac_try="$ac_link" 10455 if { (ac_try="$ac_link"
10241 case "(($ac_try" in 10456 case "(($ac_try" in
10242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10243 *) ac_try_echo=$ac_try;; 10458 *) ac_try_echo=$ac_try;;
10244 esac 10459 esac
10245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10461 $as_echo "$ac_try_echo") >&5
10246 (eval "$ac_link") 2>&5 10462 (eval "$ac_link") 2>&5
10247 ac_status=$? 10463 ac_status=$?
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10250 { (case "(($ac_try" in 10466 { (case "(($ac_try" in
10251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;; 10468 *) ac_try_echo=$ac_try;;
10253 esac 10469 esac
10254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10471 $as_echo "$ac_try_echo") >&5
10255 (eval "$ac_try") 2>&5 10472 (eval "$ac_try") 2>&5
10256 ac_status=$? 10473 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then 10475 (exit $ac_status); }; }; then
10259 ac_cv_func_mmap_fixed_mapped=yes 10476 ac_cv_func_mmap_fixed_mapped=yes
10260 else 10477 else
10261 echo "$as_me: program exited with status $ac_status" >&5 10478 $as_echo "$as_me: program exited with status $ac_status" >&5
10262 echo "$as_me: failed program was:" >&5 10479 $as_echo "$as_me: failed program was:" >&5
10263 sed 's/^/| /' conftest.$ac_ext >&5 10480 sed 's/^/| /' conftest.$ac_ext >&5
10264 10481
10265 ( exit $ac_status ) 10482 ( exit $ac_status )
10266 ac_cv_func_mmap_fixed_mapped=no 10483 ac_cv_func_mmap_fixed_mapped=no
10267 fi 10484 fi
10485 rm -rf conftest.dSYM
10268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10269 fi 10487 fi
10270 10488
10271 10489
10272 fi 10490 fi
10273 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 10491 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10274 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } 10492 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
10275 if test $ac_cv_func_mmap_fixed_mapped = yes; then 10493 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10276 10494
10277 cat >>confdefs.h <<\_ACEOF 10495 cat >>confdefs.h <<\_ACEOF
10278 #define HAVE_MMAP 1 10496 #define HAVE_MMAP 1
10279 _ACEOF 10497 _ACEOF
10286 fi 10504 fi
10287 10505
10288 LIBS="$libsrc_libs $LIBS" 10506 LIBS="$libsrc_libs $LIBS"
10289 10507
10290 10508
10291 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 10509 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10292 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } 10510 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10293 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 10511 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6 10512 $as_echo_n "(cached) " >&6
10295 else 10513 else
10296 ac_check_lib_save_LIBS=$LIBS 10514 ac_check_lib_save_LIBS=$LIBS
10297 LIBS="-ldnet $LIBS" 10515 LIBS="-ldnet $LIBS"
10298 cat >conftest.$ac_ext <<_ACEOF 10516 cat >conftest.$ac_ext <<_ACEOF
10299 /* confdefs.h. */ 10517 /* confdefs.h. */
10321 if { (ac_try="$ac_link" 10539 if { (ac_try="$ac_link"
10322 case "(($ac_try" in 10540 case "(($ac_try" in
10323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;; 10542 *) ac_try_echo=$ac_try;;
10325 esac 10543 esac
10326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10545 $as_echo "$ac_try_echo") >&5
10327 (eval "$ac_link") 2>conftest.er1 10546 (eval "$ac_link") 2>conftest.er1
10328 ac_status=$? 10547 ac_status=$?
10329 grep -v '^ *+' conftest.er1 >conftest.err 10548 grep -v '^ *+' conftest.er1 >conftest.err
10330 rm -f conftest.er1 10549 rm -f conftest.er1
10331 cat conftest.err >&5 10550 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } && { 10552 (exit $ac_status); } && {
10334 test -z "$ac_c_werror_flag" || 10553 test -z "$ac_c_werror_flag" ||
10335 test ! -s conftest.err 10554 test ! -s conftest.err
10336 } && test -s conftest$ac_exeext && 10555 } && test -s conftest$ac_exeext && {
10337 $as_test_x conftest$ac_exeext; then 10556 test "$cross_compiling" = yes ||
10557 $as_test_x conftest$ac_exeext
10558 }; then
10338 ac_cv_lib_dnet_dnet_ntoa=yes 10559 ac_cv_lib_dnet_dnet_ntoa=yes
10339 else 10560 else
10340 echo "$as_me: failed program was:" >&5 10561 $as_echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5 10562 sed 's/^/| /' conftest.$ac_ext >&5
10342 10563
10343 ac_cv_lib_dnet_dnet_ntoa=no 10564 ac_cv_lib_dnet_dnet_ntoa=no
10344 fi 10565 fi
10345 10566
10567 rm -rf conftest.dSYM
10346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10347 conftest$ac_exeext conftest.$ac_ext 10569 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS 10570 LIBS=$ac_check_lib_save_LIBS
10349 fi 10571 fi
10350 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10572 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10351 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10573 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10352 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 10574 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10353 cat >>confdefs.h <<_ACEOF 10575 cat >>confdefs.h <<_ACEOF
10354 #define HAVE_LIBDNET 1 10576 #define HAVE_LIBDNET 1
10355 _ACEOF 10577 _ACEOF
10356 10578
10357 LIBS="-ldnet $LIBS" 10579 LIBS="-ldnet $LIBS"
10358 10580
10359 fi 10581 fi
10360 10582
10361 10583
10362 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 10584 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
10363 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; } 10585 $as_echo_n "checking for main in -lXbsd... " >&6; }
10364 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 10586 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6 10587 $as_echo_n "(cached) " >&6
10366 else 10588 else
10367 ac_check_lib_save_LIBS=$LIBS 10589 ac_check_lib_save_LIBS=$LIBS
10368 LIBS="-lXbsd $LIBS" 10590 LIBS="-lXbsd $LIBS"
10369 cat >conftest.$ac_ext <<_ACEOF 10591 cat >conftest.$ac_ext <<_ACEOF
10370 /* confdefs.h. */ 10592 /* confdefs.h. */
10386 if { (ac_try="$ac_link" 10608 if { (ac_try="$ac_link"
10387 case "(($ac_try" in 10609 case "(($ac_try" in
10388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10389 *) ac_try_echo=$ac_try;; 10611 *) ac_try_echo=$ac_try;;
10390 esac 10612 esac
10391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10614 $as_echo "$ac_try_echo") >&5
10392 (eval "$ac_link") 2>conftest.er1 10615 (eval "$ac_link") 2>conftest.er1
10393 ac_status=$? 10616 ac_status=$?
10394 grep -v '^ *+' conftest.er1 >conftest.err 10617 grep -v '^ *+' conftest.er1 >conftest.err
10395 rm -f conftest.er1 10618 rm -f conftest.er1
10396 cat conftest.err >&5 10619 cat conftest.err >&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } && { 10621 (exit $ac_status); } && {
10399 test -z "$ac_c_werror_flag" || 10622 test -z "$ac_c_werror_flag" ||
10400 test ! -s conftest.err 10623 test ! -s conftest.err
10401 } && test -s conftest$ac_exeext && 10624 } && test -s conftest$ac_exeext && {
10402 $as_test_x conftest$ac_exeext; then 10625 test "$cross_compiling" = yes ||
10626 $as_test_x conftest$ac_exeext
10627 }; then
10403 ac_cv_lib_Xbsd_main=yes 10628 ac_cv_lib_Xbsd_main=yes
10404 else 10629 else
10405 echo "$as_me: failed program was:" >&5 10630 $as_echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5 10631 sed 's/^/| /' conftest.$ac_ext >&5
10407 10632
10408 ac_cv_lib_Xbsd_main=no 10633 ac_cv_lib_Xbsd_main=no
10409 fi 10634 fi
10410 10635
10636 rm -rf conftest.dSYM
10411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10412 conftest$ac_exeext conftest.$ac_ext 10638 conftest$ac_exeext conftest.$ac_ext
10413 LIBS=$ac_check_lib_save_LIBS 10639 LIBS=$ac_check_lib_save_LIBS
10414 fi 10640 fi
10415 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 10641 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
10416 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; } 10642 $as_echo "$ac_cv_lib_Xbsd_main" >&6; }
10417 if test $ac_cv_lib_Xbsd_main = yes; then 10643 if test $ac_cv_lib_Xbsd_main = yes; then
10418 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10644 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
10419 fi 10645 fi
10420 10646
10421 10647
10422 10648
10423 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 10649 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
10424 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; } 10650 $as_echo_n "checking for cma_open in -lpthreads... " >&6; }
10425 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 10651 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6 10652 $as_echo_n "(cached) " >&6
10427 else 10653 else
10428 ac_check_lib_save_LIBS=$LIBS 10654 ac_check_lib_save_LIBS=$LIBS
10429 LIBS="-lpthreads $LIBS" 10655 LIBS="-lpthreads $LIBS"
10430 cat >conftest.$ac_ext <<_ACEOF 10656 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h. */ 10657 /* confdefs.h. */
10453 if { (ac_try="$ac_link" 10679 if { (ac_try="$ac_link"
10454 case "(($ac_try" in 10680 case "(($ac_try" in
10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456 *) ac_try_echo=$ac_try;; 10682 *) ac_try_echo=$ac_try;;
10457 esac 10683 esac
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10685 $as_echo "$ac_try_echo") >&5
10459 (eval "$ac_link") 2>conftest.er1 10686 (eval "$ac_link") 2>conftest.er1
10460 ac_status=$? 10687 ac_status=$?
10461 grep -v '^ *+' conftest.er1 >conftest.err 10688 grep -v '^ *+' conftest.er1 >conftest.err
10462 rm -f conftest.er1 10689 rm -f conftest.er1
10463 cat conftest.err >&5 10690 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } && { 10692 (exit $ac_status); } && {
10466 test -z "$ac_c_werror_flag" || 10693 test -z "$ac_c_werror_flag" ||
10467 test ! -s conftest.err 10694 test ! -s conftest.err
10468 } && test -s conftest$ac_exeext && 10695 } && test -s conftest$ac_exeext && {
10469 $as_test_x conftest$ac_exeext; then 10696 test "$cross_compiling" = yes ||
10697 $as_test_x conftest$ac_exeext
10698 }; then
10470 ac_cv_lib_pthreads_cma_open=yes 10699 ac_cv_lib_pthreads_cma_open=yes
10471 else 10700 else
10472 echo "$as_me: failed program was:" >&5 10701 $as_echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.$ac_ext >&5 10702 sed 's/^/| /' conftest.$ac_ext >&5
10474 10703
10475 ac_cv_lib_pthreads_cma_open=no 10704 ac_cv_lib_pthreads_cma_open=no
10476 fi 10705 fi
10477 10706
10707 rm -rf conftest.dSYM
10478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10479 conftest$ac_exeext conftest.$ac_ext 10709 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_lib_save_LIBS 10710 LIBS=$ac_check_lib_save_LIBS
10481 fi 10711 fi
10482 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 10712 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
10483 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; } 10713 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; }
10484 if test $ac_cv_lib_pthreads_cma_open = yes; then 10714 if test $ac_cv_lib_pthreads_cma_open = yes; then
10485 cat >>confdefs.h <<_ACEOF 10715 cat >>confdefs.h <<_ACEOF
10486 #define HAVE_LIBPTHREADS 1 10716 #define HAVE_LIBPTHREADS 1
10487 _ACEOF 10717 _ACEOF
10488 10718
10492 10722
10493 10723
10494 10724
10495 case ${host_os} in 10725 case ${host_os} in
10496 aix*) 10726 aix*)
10497 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 10727 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
10498 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; } 10728 $as_echo_n "checking for -bbigtoc option... " >&6; }
10499 if test "${gdb_cv_bigtoc+set}" = set; then 10729 if test "${gdb_cv_bigtoc+set}" = set; then
10500 echo $ECHO_N "(cached) $ECHO_C" >&6 10730 $as_echo_n "(cached) " >&6
10501 else 10731 else
10502 10732
10503 case $GCC in 10733 case $GCC in
10504 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 10734 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
10505 *) gdb_cv_bigtoc=-bbigtoc ;; 10735 *) gdb_cv_bigtoc=-bbigtoc ;;
10525 if { (ac_try="$ac_link" 10755 if { (ac_try="$ac_link"
10526 case "(($ac_try" in 10756 case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;; 10758 *) ac_try_echo=$ac_try;;
10529 esac 10759 esac
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10761 $as_echo "$ac_try_echo") >&5
10531 (eval "$ac_link") 2>conftest.er1 10762 (eval "$ac_link") 2>conftest.er1
10532 ac_status=$? 10763 ac_status=$?
10533 grep -v '^ *+' conftest.er1 >conftest.err 10764 grep -v '^ *+' conftest.er1 >conftest.err
10534 rm -f conftest.er1 10765 rm -f conftest.er1
10535 cat conftest.err >&5 10766 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && { 10768 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" || 10769 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err 10770 test ! -s conftest.err
10540 } && test -s conftest$ac_exeext && 10771 } && test -s conftest$ac_exeext && {
10541 $as_test_x conftest$ac_exeext; then 10772 test "$cross_compiling" = yes ||
10773 $as_test_x conftest$ac_exeext
10774 }; then
10542 : 10775 :
10543 else 10776 else
10544 echo "$as_me: failed program was:" >&5 10777 $as_echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5 10778 sed 's/^/| /' conftest.$ac_ext >&5
10546 10779
10547 gdb_cv_bigtoc= 10780 gdb_cv_bigtoc=
10548 fi 10781 fi
10549 10782
10783 rm -rf conftest.dSYM
10550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10551 conftest$ac_exeext conftest.$ac_ext 10785 conftest$ac_exeext conftest.$ac_ext
10552 10786
10553 fi 10787 fi
10554 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 10788 { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
10555 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; } 10789 $as_echo "$gdb_cv_bigtoc" >&6; }
10556 ;; 10790 ;;
10557 esac 10791 esac
10558 10792
10559 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 10793 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
10560 # used for the tests that follow. We set them back to REAL_CFLAGS and 10794 # used for the tests that follow. We set them back to REAL_CFLAGS and
10577 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 10811 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
10578 export LD_RUN_PATH 10812 export LD_RUN_PATH
10579 fi 10813 fi
10580 10814
10581 if test "${opsys}" = "gnu-linux"; then 10815 if test "${opsys}" = "gnu-linux"; then
10582 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 10816 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
10583 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; } 10817 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; }
10584 cat >conftest.$ac_ext <<_ACEOF 10818 cat >conftest.$ac_ext <<_ACEOF
10585 /* confdefs.h. */ 10819 /* confdefs.h. */
10586 _ACEOF 10820 _ACEOF
10587 cat confdefs.h >>conftest.$ac_ext 10821 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF 10822 cat >>conftest.$ac_ext <<_ACEOF
10600 if { (ac_try="$ac_link" 10834 if { (ac_try="$ac_link"
10601 case "(($ac_try" in 10835 case "(($ac_try" in
10602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10603 *) ac_try_echo=$ac_try;; 10837 *) ac_try_echo=$ac_try;;
10604 esac 10838 esac
10605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10840 $as_echo "$ac_try_echo") >&5
10606 (eval "$ac_link") 2>conftest.er1 10841 (eval "$ac_link") 2>conftest.er1
10607 ac_status=$? 10842 ac_status=$?
10608 grep -v '^ *+' conftest.er1 >conftest.err 10843 grep -v '^ *+' conftest.er1 >conftest.err
10609 rm -f conftest.er1 10844 rm -f conftest.er1
10610 cat conftest.err >&5 10845 cat conftest.err >&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } && { 10847 (exit $ac_status); } && {
10613 test -z "$ac_c_werror_flag" || 10848 test -z "$ac_c_werror_flag" ||
10614 test ! -s conftest.err 10849 test ! -s conftest.err
10615 } && test -s conftest$ac_exeext && 10850 } && test -s conftest$ac_exeext && {
10616 $as_test_x conftest$ac_exeext; then 10851 test "$cross_compiling" = yes ||
10852 $as_test_x conftest$ac_exeext
10853 }; then
10617 xlinux_first_failure=no 10854 xlinux_first_failure=no
10618 else 10855 else
10619 echo "$as_me: failed program was:" >&5 10856 $as_echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5 10857 sed 's/^/| /' conftest.$ac_ext >&5
10621 10858
10622 xlinux_first_failure=yes 10859 xlinux_first_failure=yes
10623 fi 10860 fi
10624 10861
10862 rm -rf conftest.dSYM
10625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10626 conftest$ac_exeext conftest.$ac_ext 10864 conftest$ac_exeext conftest.$ac_ext
10627 if test "${xlinux_first_failure}" = "yes"; then 10865 if test "${xlinux_first_failure}" = "yes"; then
10628 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 10866 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
10629 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 10867 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
10652 if { (ac_try="$ac_link" 10890 if { (ac_try="$ac_link"
10653 case "(($ac_try" in 10891 case "(($ac_try" in
10654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10655 *) ac_try_echo=$ac_try;; 10893 *) ac_try_echo=$ac_try;;
10656 esac 10894 esac
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10896 $as_echo "$ac_try_echo") >&5
10658 (eval "$ac_link") 2>conftest.er1 10897 (eval "$ac_link") 2>conftest.er1
10659 ac_status=$? 10898 ac_status=$?
10660 grep -v '^ *+' conftest.er1 >conftest.err 10899 grep -v '^ *+' conftest.er1 >conftest.err
10661 rm -f conftest.er1 10900 rm -f conftest.er1
10662 cat conftest.err >&5 10901 cat conftest.err >&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } && { 10903 (exit $ac_status); } && {
10665 test -z "$ac_c_werror_flag" || 10904 test -z "$ac_c_werror_flag" ||
10666 test ! -s conftest.err 10905 test ! -s conftest.err
10667 } && test -s conftest$ac_exeext && 10906 } && test -s conftest$ac_exeext && {
10668 $as_test_x conftest$ac_exeext; then 10907 test "$cross_compiling" = yes ||
10908 $as_test_x conftest$ac_exeext
10909 }; then
10669 xlinux_second_failure=no 10910 xlinux_second_failure=no
10670 else 10911 else
10671 echo "$as_me: failed program was:" >&5 10912 $as_echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5 10913 sed 's/^/| /' conftest.$ac_ext >&5
10673 10914
10674 xlinux_second_failure=yes 10915 xlinux_second_failure=yes
10675 fi 10916 fi
10676 10917
10918 rm -rf conftest.dSYM
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext 10920 conftest$ac_exeext conftest.$ac_ext
10679 if test "${xlinux_second_failure}" = "yes"; then 10921 if test "${xlinux_second_failure}" = "yes"; then
10680 # If we get the same failure with -b, there is no use adding -b. 10922 # If we get the same failure with -b, there is no use adding -b.
10681 # So take it out. This plays safe. 10923 # So take it out. This plays safe.
10682 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 10924 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
10683 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 10925 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
10684 CPPFLAGS="$OLD_CPPFLAGS" 10926 CPPFLAGS="$OLD_CPPFLAGS"
10685 LIBS="$OLD_LIBS" 10927 LIBS="$OLD_LIBS"
10686 { echo "$as_me:$LINENO: result: no" >&5 10928 { $as_echo "$as_me:$LINENO: result: no" >&5
10687 echo "${ECHO_T}no" >&6; } 10929 $as_echo "no" >&6; }
10688 else 10930 else
10689 { echo "$as_me:$LINENO: result: yes" >&5 10931 { $as_echo "$as_me:$LINENO: result: yes" >&5
10690 echo "${ECHO_T}yes" >&6; } 10932 $as_echo "yes" >&6; }
10691 fi 10933 fi
10692 else 10934 else
10693 { echo "$as_me:$LINENO: result: no" >&5 10935 { $as_echo "$as_me:$LINENO: result: no" >&5
10694 echo "${ECHO_T}no" >&6; } 10936 $as_echo "no" >&6; }
10695 fi 10937 fi
10696 fi 10938 fi
10697 10939
10698 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 10940 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
10699 # header files included from there. 10941 # header files included from there.
10700 { echo "$as_me:$LINENO: checking for Xkb" >&5 10942 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5
10701 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; } 10943 $as_echo_n "checking for Xkb... " >&6; }
10702 cat >conftest.$ac_ext <<_ACEOF 10944 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */ 10945 /* confdefs.h. */
10704 _ACEOF 10946 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext 10947 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF 10948 cat >>conftest.$ac_ext <<_ACEOF
10719 if { (ac_try="$ac_link" 10961 if { (ac_try="$ac_link"
10720 case "(($ac_try" in 10962 case "(($ac_try" in
10721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10722 *) ac_try_echo=$ac_try;; 10964 *) ac_try_echo=$ac_try;;
10723 esac 10965 esac
10724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10967 $as_echo "$ac_try_echo") >&5
10725 (eval "$ac_link") 2>conftest.er1 10968 (eval "$ac_link") 2>conftest.er1
10726 ac_status=$? 10969 ac_status=$?
10727 grep -v '^ *+' conftest.er1 >conftest.err 10970 grep -v '^ *+' conftest.er1 >conftest.err
10728 rm -f conftest.er1 10971 rm -f conftest.er1
10729 cat conftest.err >&5 10972 cat conftest.err >&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } && { 10974 (exit $ac_status); } && {
10732 test -z "$ac_c_werror_flag" || 10975 test -z "$ac_c_werror_flag" ||
10733 test ! -s conftest.err 10976 test ! -s conftest.err
10734 } && test -s conftest$ac_exeext && 10977 } && test -s conftest$ac_exeext && {
10735 $as_test_x conftest$ac_exeext; then 10978 test "$cross_compiling" = yes ||
10979 $as_test_x conftest$ac_exeext
10980 }; then
10736 emacs_xkb=yes 10981 emacs_xkb=yes
10737 else 10982 else
10738 echo "$as_me: failed program was:" >&5 10983 $as_echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5 10984 sed 's/^/| /' conftest.$ac_ext >&5
10740 10985
10741 emacs_xkb=no 10986 emacs_xkb=no
10742 fi 10987 fi
10743 10988
10989 rm -rf conftest.dSYM
10744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10745 conftest$ac_exeext conftest.$ac_ext 10991 conftest$ac_exeext conftest.$ac_ext
10746 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5 10992 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5
10747 echo "${ECHO_T}$emacs_xkb" >&6; } 10993 $as_echo "$emacs_xkb" >&6; }
10748 if test $emacs_xkb = yes; then 10994 if test $emacs_xkb = yes; then
10749 10995
10750 cat >>confdefs.h <<\_ACEOF 10996 cat >>confdefs.h <<\_ACEOF
10751 #define HAVE_XKBGETKEYBOARD 1 10997 #define HAVE_XKBGETKEYBOARD 1
10752 _ACEOF 10998 _ACEOF
10758 11004
10759 11005
10760 for ac_func in XrmSetDatabase XScreenResourceString \ 11006 for ac_func in XrmSetDatabase XScreenResourceString \
10761 XScreenNumberOfScreen XSetWMProtocols 11007 XScreenNumberOfScreen XSetWMProtocols
10762 do 11008 do
10763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10764 { echo "$as_me:$LINENO: checking for $ac_func" >&5 11010 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
10765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11011 $as_echo_n "checking for $ac_func... " >&6; }
10766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6 11013 $as_echo_n "(cached) " >&6
10768 else 11014 else
10769 cat >conftest.$ac_ext <<_ACEOF 11015 cat >conftest.$ac_ext <<_ACEOF
10770 /* confdefs.h. */ 11016 /* confdefs.h. */
10771 _ACEOF 11017 _ACEOF
10772 cat confdefs.h >>conftest.$ac_ext 11018 cat confdefs.h >>conftest.$ac_ext
10815 if { (ac_try="$ac_link" 11061 if { (ac_try="$ac_link"
10816 case "(($ac_try" in 11062 case "(($ac_try" in
10817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10818 *) ac_try_echo=$ac_try;; 11064 *) ac_try_echo=$ac_try;;
10819 esac 11065 esac
10820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11067 $as_echo "$ac_try_echo") >&5
10821 (eval "$ac_link") 2>conftest.er1 11068 (eval "$ac_link") 2>conftest.er1
10822 ac_status=$? 11069 ac_status=$?
10823 grep -v '^ *+' conftest.er1 >conftest.err 11070 grep -v '^ *+' conftest.er1 >conftest.err
10824 rm -f conftest.er1 11071 rm -f conftest.er1
10825 cat conftest.err >&5 11072 cat conftest.err >&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } && { 11074 (exit $ac_status); } && {
10828 test -z "$ac_c_werror_flag" || 11075 test -z "$ac_c_werror_flag" ||
10829 test ! -s conftest.err 11076 test ! -s conftest.err
10830 } && test -s conftest$ac_exeext && 11077 } && test -s conftest$ac_exeext && {
10831 $as_test_x conftest$ac_exeext; then 11078 test "$cross_compiling" = yes ||
11079 $as_test_x conftest$ac_exeext
11080 }; then
10832 eval "$as_ac_var=yes" 11081 eval "$as_ac_var=yes"
10833 else 11082 else
10834 echo "$as_me: failed program was:" >&5 11083 $as_echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5 11084 sed 's/^/| /' conftest.$ac_ext >&5
10836 11085
10837 eval "$as_ac_var=no" 11086 eval "$as_ac_var=no"
10838 fi 11087 fi
10839 11088
11089 rm -rf conftest.dSYM
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext 11091 conftest$ac_exeext conftest.$ac_ext
10842 fi 11092 fi
10843 ac_res=`eval echo '${'$as_ac_var'}'` 11093 ac_res=`eval 'as_val=${'$as_ac_var'}
10844 { echo "$as_me:$LINENO: result: $ac_res" >&5 11094 $as_echo "$as_val"'`
10845 echo "${ECHO_T}$ac_res" >&6; } 11095 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10846 if test `eval echo '${'$as_ac_var'}'` = yes; then 11096 $as_echo "$ac_res" >&6; }
11097 if test `eval 'as_val=${'$as_ac_var'}
11098 $as_echo "$as_val"'` = yes; then
10847 cat >>confdefs.h <<_ACEOF 11099 cat >>confdefs.h <<_ACEOF
10848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10849 _ACEOF 11101 _ACEOF
10850 11102
10851 fi 11103 fi
10852 done 11104 done
10853 11105
10854 fi 11106 fi
10855 11107
10856 if test "${window_system}" = "x11"; then 11108 if test "${window_system}" = "x11"; then
10857 { echo "$as_me:$LINENO: checking X11 version 6" >&5 11109 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5
10858 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; } 11110 $as_echo_n "checking X11 version 6... " >&6; }
10859 if test "${emacs_cv_x11_version_6+set}" = set; then 11111 if test "${emacs_cv_x11_version_6+set}" = set; then
10860 echo $ECHO_N "(cached) $ECHO_C" >&6 11112 $as_echo_n "(cached) " >&6
10861 else 11113 else
10862 cat >conftest.$ac_ext <<_ACEOF 11114 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h. */ 11115 /* confdefs.h. */
10864 _ACEOF 11116 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext 11117 cat confdefs.h >>conftest.$ac_ext
10881 if { (ac_try="$ac_link" 11133 if { (ac_try="$ac_link"
10882 case "(($ac_try" in 11134 case "(($ac_try" in
10883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10884 *) ac_try_echo=$ac_try;; 11136 *) ac_try_echo=$ac_try;;
10885 esac 11137 esac
10886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11139 $as_echo "$ac_try_echo") >&5
10887 (eval "$ac_link") 2>conftest.er1 11140 (eval "$ac_link") 2>conftest.er1
10888 ac_status=$? 11141 ac_status=$?
10889 grep -v '^ *+' conftest.er1 >conftest.err 11142 grep -v '^ *+' conftest.er1 >conftest.err
10890 rm -f conftest.er1 11143 rm -f conftest.er1
10891 cat conftest.err >&5 11144 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && { 11146 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" || 11147 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err 11148 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext && 11149 } && test -s conftest$ac_exeext && {
10897 $as_test_x conftest$ac_exeext; then 11150 test "$cross_compiling" = yes ||
11151 $as_test_x conftest$ac_exeext
11152 }; then
10898 emacs_cv_x11_version_6=yes 11153 emacs_cv_x11_version_6=yes
10899 else 11154 else
10900 echo "$as_me: failed program was:" >&5 11155 $as_echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5 11156 sed 's/^/| /' conftest.$ac_ext >&5
10902 11157
10903 emacs_cv_x11_version_6=no 11158 emacs_cv_x11_version_6=no
10904 fi 11159 fi
10905 11160
11161 rm -rf conftest.dSYM
10906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10907 conftest$ac_exeext conftest.$ac_ext 11163 conftest$ac_exeext conftest.$ac_ext
10908 fi 11164 fi
10909 11165
10910 if test $emacs_cv_x11_version_6 = yes; then 11166 if test $emacs_cv_x11_version_6 = yes; then
10911 { echo "$as_me:$LINENO: result: 6 or newer" >&5 11167 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
10912 echo "${ECHO_T}6 or newer" >&6; } 11168 $as_echo "6 or newer" >&6; }
10913 11169
10914 cat >>confdefs.h <<\_ACEOF 11170 cat >>confdefs.h <<\_ACEOF
10915 #define HAVE_X11R6 1 11171 #define HAVE_X11R6 1
10916 _ACEOF 11172 _ACEOF
10917 11173
10918 else 11174 else
10919 { echo "$as_me:$LINENO: result: before 6" >&5 11175 { $as_echo "$as_me:$LINENO: result: before 6" >&5
10920 echo "${ECHO_T}before 6" >&6; } 11176 $as_echo "before 6" >&6; }
10921 fi 11177 fi
10922 fi 11178 fi
10923 11179
10924 11180
10925 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 11181 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
10932 11188
10933 succeeded=no 11189 succeeded=no
10934 11190
10935 # Extract the first word of "pkg-config", so it can be a program name with args. 11191 # Extract the first word of "pkg-config", so it can be a program name with args.
10936 set dummy pkg-config; ac_word=$2 11192 set dummy pkg-config; ac_word=$2
10937 { echo "$as_me:$LINENO: checking for $ac_word" >&5 11193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 11194 $as_echo_n "checking for $ac_word... " >&6; }
10939 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11195 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6 11196 $as_echo_n "(cached) " >&6
10941 else 11197 else
10942 case $PKG_CONFIG in 11198 case $PKG_CONFIG in
10943 [\\/]* | ?:[\\/]*) 11199 [\\/]* | ?:[\\/]*)
10944 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11200 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10945 ;; 11201 ;;
10950 IFS=$as_save_IFS 11206 IFS=$as_save_IFS
10951 test -z "$as_dir" && as_dir=. 11207 test -z "$as_dir" && as_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do 11208 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11210 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10956 break 2 11212 break 2
10957 fi 11213 fi
10958 done 11214 done
10959 done 11215 done
10960 IFS=$as_save_IFS 11216 IFS=$as_save_IFS
10963 ;; 11219 ;;
10964 esac 11220 esac
10965 fi 11221 fi
10966 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11222 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10967 if test -n "$PKG_CONFIG"; then 11223 if test -n "$PKG_CONFIG"; then
10968 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11224 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
10969 echo "${ECHO_T}$PKG_CONFIG" >&6; } 11225 $as_echo "$PKG_CONFIG" >&6; }
10970 else 11226 else
10971 { echo "$as_me:$LINENO: result: no" >&5 11227 { $as_echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6; } 11228 $as_echo "no" >&6; }
10973 fi 11229 fi
10974 11230
10975 11231
10976 11232
10977 if test "$PKG_CONFIG" = "no" ; then 11233 if test "$PKG_CONFIG" = "no" ; then
10978 : 11234 :
10979 else 11235 else
10980 PKG_CONFIG_MIN_VERSION=0.9.0 11236 PKG_CONFIG_MIN_VERSION=0.9.0
10981 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11237 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
10982 { echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 11238 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
10983 echo $ECHO_N "checking for $RSVG_MODULE... $ECHO_C" >&6; } 11239 $as_echo_n "checking for $RSVG_MODULE... " >&6; }
10984 11240
10985 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 11241 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
10986 { echo "$as_me:$LINENO: result: yes" >&5 11242 { $as_echo "$as_me:$LINENO: result: yes" >&5
10987 echo "${ECHO_T}yes" >&6; } 11243 $as_echo "yes" >&6; }
10988 succeeded=yes 11244 succeeded=yes
10989 11245
10990 { echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 11246 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
10991 echo $ECHO_N "checking RSVG_CFLAGS... $ECHO_C" >&6; } 11247 $as_echo_n "checking RSVG_CFLAGS... " >&6; }
10992 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11248 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
10993 { echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 11249 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
10994 echo "${ECHO_T}$RSVG_CFLAGS" >&6; } 11250 $as_echo "$RSVG_CFLAGS" >&6; }
10995 11251
10996 { echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 11252 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
10997 echo $ECHO_N "checking RSVG_LIBS... $ECHO_C" >&6; } 11253 $as_echo_n "checking RSVG_LIBS... " >&6; }
10998 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 11254 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
10999 { echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 11255 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
11000 echo "${ECHO_T}$RSVG_LIBS" >&6; } 11256 $as_echo "$RSVG_LIBS" >&6; }
11001 else 11257 else
11002 { echo "$as_me:$LINENO: result: no" >&5 11258 { $as_echo "$as_me:$LINENO: result: no" >&5
11003 echo "${ECHO_T}no" >&6; } 11259 $as_echo "no" >&6; }
11004 RSVG_CFLAGS="" 11260 RSVG_CFLAGS=""
11005 RSVG_LIBS="" 11261 RSVG_LIBS=""
11006 ## If we have a custom action on failure, don't print errors, but 11262 ## If we have a custom action on failure, don't print errors, but
11007 ## do set a variable so people can do so. 11263 ## do set a variable so people can do so.
11008 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"` 11264 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"`
11049 11305
11050 succeeded=no 11306 succeeded=no
11051 11307
11052 # Extract the first word of "pkg-config", so it can be a program name with args. 11308 # Extract the first word of "pkg-config", so it can be a program name with args.
11053 set dummy pkg-config; ac_word=$2 11309 set dummy pkg-config; ac_word=$2
11054 { echo "$as_me:$LINENO: checking for $ac_word" >&5 11310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 11311 $as_echo_n "checking for $ac_word... " >&6; }
11056 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11312 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6 11313 $as_echo_n "(cached) " >&6
11058 else 11314 else
11059 case $PKG_CONFIG in 11315 case $PKG_CONFIG in
11060 [\\/]* | ?:[\\/]*) 11316 [\\/]* | ?:[\\/]*)
11061 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11317 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11062 ;; 11318 ;;
11067 IFS=$as_save_IFS 11323 IFS=$as_save_IFS
11068 test -z "$as_dir" && as_dir=. 11324 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do 11325 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11327 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11328 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11073 break 2 11329 break 2
11074 fi 11330 fi
11075 done 11331 done
11076 done 11332 done
11077 IFS=$as_save_IFS 11333 IFS=$as_save_IFS
11080 ;; 11336 ;;
11081 esac 11337 esac
11082 fi 11338 fi
11083 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11339 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11084 if test -n "$PKG_CONFIG"; then 11340 if test -n "$PKG_CONFIG"; then
11085 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11341 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11086 echo "${ECHO_T}$PKG_CONFIG" >&6; } 11342 $as_echo "$PKG_CONFIG" >&6; }
11087 else 11343 else
11088 { echo "$as_me:$LINENO: result: no" >&5 11344 { $as_echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; } 11345 $as_echo "no" >&6; }
11090 fi 11346 fi
11091 11347
11092 11348
11093 11349
11094 if test "$PKG_CONFIG" = "no" ; then 11350 if test "$PKG_CONFIG" = "no" ; then
11095 pkg_check_gtk=no 11351 pkg_check_gtk=no
11096 else 11352 else
11097 PKG_CONFIG_MIN_VERSION=0.9.0 11353 PKG_CONFIG_MIN_VERSION=0.9.0
11098 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11354 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11099 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 11355 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
11100 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; } 11356 $as_echo_n "checking for $GTK_MODULES... " >&6; }
11101 11357
11102 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 11358 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
11103 { echo "$as_me:$LINENO: result: yes" >&5 11359 { $as_echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6; } 11360 $as_echo "yes" >&6; }
11105 succeeded=yes 11361 succeeded=yes
11106 11362
11107 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 11363 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11108 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; } 11364 $as_echo_n "checking GTK_CFLAGS... " >&6; }
11109 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 11365 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
11110 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 11366 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11111 echo "${ECHO_T}$GTK_CFLAGS" >&6; } 11367 $as_echo "$GTK_CFLAGS" >&6; }
11112 11368
11113 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5 11369 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11114 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; } 11370 $as_echo_n "checking GTK_LIBS... " >&6; }
11115 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 11371 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
11116 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 11372 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11117 echo "${ECHO_T}$GTK_LIBS" >&6; } 11373 $as_echo "$GTK_LIBS" >&6; }
11118 else 11374 else
11119 { echo "$as_me:$LINENO: result: no" >&5 11375 { $as_echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6; } 11376 $as_echo "no" >&6; }
11121 GTK_CFLAGS="" 11377 GTK_CFLAGS=""
11122 GTK_LIBS="" 11378 GTK_LIBS=""
11123 ## If we have a custom action on failure, don't print errors, but 11379 ## If we have a custom action on failure, don't print errors, but
11124 ## do set a variable so people can do so. 11380 ## do set a variable so people can do so.
11125 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 11381 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
11139 else 11395 else
11140 pkg_check_gtk=no 11396 pkg_check_gtk=no
11141 fi 11397 fi
11142 11398
11143 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11399 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
11144 { { echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 11400 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5
11145 echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} 11401 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11146 { (exit 1); exit 1; }; } 11402 { (exit 1); exit 1; }; }
11147 fi 11403 fi
11148 fi 11404 fi
11149 11405
11150 11406
11157 LIBS="$GTK_LIBS $LIBS" 11413 LIBS="$GTK_LIBS $LIBS"
11158 GTK_COMPILES=no 11414 GTK_COMPILES=no
11159 11415
11160 for ac_func in gtk_main 11416 for ac_func in gtk_main
11161 do 11417 do
11162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11163 { echo "$as_me:$LINENO: checking for $ac_func" >&5 11419 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11420 $as_echo_n "checking for $ac_func... " >&6; }
11165 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11421 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6 11422 $as_echo_n "(cached) " >&6
11167 else 11423 else
11168 cat >conftest.$ac_ext <<_ACEOF 11424 cat >conftest.$ac_ext <<_ACEOF
11169 /* confdefs.h. */ 11425 /* confdefs.h. */
11170 _ACEOF 11426 _ACEOF
11171 cat confdefs.h >>conftest.$ac_ext 11427 cat confdefs.h >>conftest.$ac_ext
11214 if { (ac_try="$ac_link" 11470 if { (ac_try="$ac_link"
11215 case "(($ac_try" in 11471 case "(($ac_try" in
11216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11217 *) ac_try_echo=$ac_try;; 11473 *) ac_try_echo=$ac_try;;
11218 esac 11474 esac
11219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11476 $as_echo "$ac_try_echo") >&5
11220 (eval "$ac_link") 2>conftest.er1 11477 (eval "$ac_link") 2>conftest.er1
11221 ac_status=$? 11478 ac_status=$?
11222 grep -v '^ *+' conftest.er1 >conftest.err 11479 grep -v '^ *+' conftest.er1 >conftest.err
11223 rm -f conftest.er1 11480 rm -f conftest.er1
11224 cat conftest.err >&5 11481 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } && { 11483 (exit $ac_status); } && {
11227 test -z "$ac_c_werror_flag" || 11484 test -z "$ac_c_werror_flag" ||
11228 test ! -s conftest.err 11485 test ! -s conftest.err
11229 } && test -s conftest$ac_exeext && 11486 } && test -s conftest$ac_exeext && {
11230 $as_test_x conftest$ac_exeext; then 11487 test "$cross_compiling" = yes ||
11488 $as_test_x conftest$ac_exeext
11489 }; then
11231 eval "$as_ac_var=yes" 11490 eval "$as_ac_var=yes"
11232 else 11491 else
11233 echo "$as_me: failed program was:" >&5 11492 $as_echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5 11493 sed 's/^/| /' conftest.$ac_ext >&5
11235 11494
11236 eval "$as_ac_var=no" 11495 eval "$as_ac_var=no"
11237 fi 11496 fi
11238 11497
11498 rm -rf conftest.dSYM
11239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11240 conftest$ac_exeext conftest.$ac_ext 11500 conftest$ac_exeext conftest.$ac_ext
11241 fi 11501 fi
11242 ac_res=`eval echo '${'$as_ac_var'}'` 11502 ac_res=`eval 'as_val=${'$as_ac_var'}
11243 { echo "$as_me:$LINENO: result: $ac_res" >&5 11503 $as_echo "$as_val"'`
11244 echo "${ECHO_T}$ac_res" >&6; } 11504 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11245 if test `eval echo '${'$as_ac_var'}'` = yes; then 11505 $as_echo "$ac_res" >&6; }
11506 if test `eval 'as_val=${'$as_ac_var'}
11507 $as_echo "$as_val"'` = yes; then
11246 cat >>confdefs.h <<_ACEOF 11508 cat >>confdefs.h <<_ACEOF
11247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11248 _ACEOF 11510 _ACEOF
11249 GTK_COMPILES=yes 11511 GTK_COMPILES=yes
11250 fi 11512 fi
11251 done 11513 done
11252 11514
11253 if test "${GTK_COMPILES}" != "yes"; then 11515 if test "${GTK_COMPILES}" != "yes"; then
11254 if test "$USE_X_TOOLKIT" != "maybe"; then 11516 if test "$USE_X_TOOLKIT" != "maybe"; then
11255 { { echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 11517 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5
11256 echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} 11518 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11257 { (exit 1); exit 1; }; }; 11519 { (exit 1); exit 1; }; };
11258 fi 11520 fi
11259 else 11521 else
11260 HAVE_GTK=yes 11522 HAVE_GTK=yes
11261 11523
11265 11527
11266 USE_X_TOOLKIT=none 11528 USE_X_TOOLKIT=none
11267 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 11529 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
11268 : 11530 :
11269 else 11531 else
11270 { echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with 11532 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with
11271 closing open displays. This is no problem if you just use 11533 closing open displays. This is no problem if you just use
11272 one display, but if you use more than one and close one of them 11534 one display, but if you use more than one and close one of them
11273 Emacs may crash." >&5 11535 Emacs may crash." >&5
11274 echo "$as_me: WARNING: Your version of Gtk+ will have problems with 11536 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with
11275 closing open displays. This is no problem if you just use 11537 closing open displays. This is no problem if you just use
11276 one display, but if you use more than one and close one of them 11538 one display, but if you use more than one and close one of them
11277 Emacs may crash." >&2;} 11539 Emacs may crash." >&2;}
11278 sleep 3 11540 sleep 3
11279 fi 11541 fi
11290 11552
11291 HAVE_GTK_MULTIDISPLAY=no 11553 HAVE_GTK_MULTIDISPLAY=no
11292 11554
11293 for ac_func in gdk_display_open 11555 for ac_func in gdk_display_open
11294 do 11556 do
11295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11296 { echo "$as_me:$LINENO: checking for $ac_func" >&5 11558 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11559 $as_echo_n "checking for $ac_func... " >&6; }
11298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6 11561 $as_echo_n "(cached) " >&6
11300 else 11562 else
11301 cat >conftest.$ac_ext <<_ACEOF 11563 cat >conftest.$ac_ext <<_ACEOF
11302 /* confdefs.h. */ 11564 /* confdefs.h. */
11303 _ACEOF 11565 _ACEOF
11304 cat confdefs.h >>conftest.$ac_ext 11566 cat confdefs.h >>conftest.$ac_ext
11347 if { (ac_try="$ac_link" 11609 if { (ac_try="$ac_link"
11348 case "(($ac_try" in 11610 case "(($ac_try" in
11349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11350 *) ac_try_echo=$ac_try;; 11612 *) ac_try_echo=$ac_try;;
11351 esac 11613 esac
11352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11615 $as_echo "$ac_try_echo") >&5
11353 (eval "$ac_link") 2>conftest.er1 11616 (eval "$ac_link") 2>conftest.er1
11354 ac_status=$? 11617 ac_status=$?
11355 grep -v '^ *+' conftest.er1 >conftest.err 11618 grep -v '^ *+' conftest.er1 >conftest.err
11356 rm -f conftest.er1 11619 rm -f conftest.er1
11357 cat conftest.err >&5 11620 cat conftest.err >&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); } && { 11622 (exit $ac_status); } && {
11360 test -z "$ac_c_werror_flag" || 11623 test -z "$ac_c_werror_flag" ||
11361 test ! -s conftest.err 11624 test ! -s conftest.err
11362 } && test -s conftest$ac_exeext && 11625 } && test -s conftest$ac_exeext && {
11363 $as_test_x conftest$ac_exeext; then 11626 test "$cross_compiling" = yes ||
11627 $as_test_x conftest$ac_exeext
11628 }; then
11364 eval "$as_ac_var=yes" 11629 eval "$as_ac_var=yes"
11365 else 11630 else
11366 echo "$as_me: failed program was:" >&5 11631 $as_echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5 11632 sed 's/^/| /' conftest.$ac_ext >&5
11368 11633
11369 eval "$as_ac_var=no" 11634 eval "$as_ac_var=no"
11370 fi 11635 fi
11371 11636
11637 rm -rf conftest.dSYM
11372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11373 conftest$ac_exeext conftest.$ac_ext 11639 conftest$ac_exeext conftest.$ac_ext
11374 fi 11640 fi
11375 ac_res=`eval echo '${'$as_ac_var'}'` 11641 ac_res=`eval 'as_val=${'$as_ac_var'}
11376 { echo "$as_me:$LINENO: result: $ac_res" >&5 11642 $as_echo "$as_val"'`
11377 echo "${ECHO_T}$ac_res" >&6; } 11643 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11378 if test `eval echo '${'$as_ac_var'}'` = yes; then 11644 $as_echo "$ac_res" >&6; }
11645 if test `eval 'as_val=${'$as_ac_var'}
11646 $as_echo "$as_val"'` = yes; then
11379 cat >>confdefs.h <<_ACEOF 11647 cat >>confdefs.h <<_ACEOF
11380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11381 _ACEOF 11649 _ACEOF
11382 HAVE_GTK_MULTIDISPLAY=yes 11650 HAVE_GTK_MULTIDISPLAY=yes
11383 fi 11651 fi
11384 done 11652 done
11385 11653
11390 _ACEOF 11658 _ACEOF
11391 11659
11392 fi 11660 fi
11393 11661
11394 HAVE_GTK_FILE_SELECTION=no 11662 HAVE_GTK_FILE_SELECTION=no
11395 { echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 11663 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5
11396 echo $ECHO_N "checking whether GTK_TYPE_FILE_SELECTION is declared... $ECHO_C" >&6; } 11664 $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; }
11397 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then 11665 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6 11666 $as_echo_n "(cached) " >&6
11399 else 11667 else
11400 cat >conftest.$ac_ext <<_ACEOF 11668 cat >conftest.$ac_ext <<_ACEOF
11401 /* confdefs.h. */ 11669 /* confdefs.h. */
11402 _ACEOF 11670 _ACEOF
11403 cat confdefs.h >>conftest.$ac_ext 11671 cat confdefs.h >>conftest.$ac_ext
11421 if { (ac_try="$ac_compile" 11689 if { (ac_try="$ac_compile"
11422 case "(($ac_try" in 11690 case "(($ac_try" in
11423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11424 *) ac_try_echo=$ac_try;; 11692 *) ac_try_echo=$ac_try;;
11425 esac 11693 esac
11426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11695 $as_echo "$ac_try_echo") >&5
11427 (eval "$ac_compile") 2>conftest.er1 11696 (eval "$ac_compile") 2>conftest.er1
11428 ac_status=$? 11697 ac_status=$?
11429 grep -v '^ *+' conftest.er1 >conftest.err 11698 grep -v '^ *+' conftest.er1 >conftest.err
11430 rm -f conftest.er1 11699 rm -f conftest.er1
11431 cat conftest.err >&5 11700 cat conftest.err >&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } && { 11702 (exit $ac_status); } && {
11434 test -z "$ac_c_werror_flag" || 11703 test -z "$ac_c_werror_flag" ||
11435 test ! -s conftest.err 11704 test ! -s conftest.err
11436 } && test -s conftest.$ac_objext; then 11705 } && test -s conftest.$ac_objext; then
11437 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes 11706 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
11438 else 11707 else
11439 echo "$as_me: failed program was:" >&5 11708 $as_echo "$as_me: failed program was:" >&5
11440 sed 's/^/| /' conftest.$ac_ext >&5 11709 sed 's/^/| /' conftest.$ac_ext >&5
11441 11710
11442 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no 11711 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
11443 fi 11712 fi
11444 11713
11445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11446 fi 11715 fi
11447 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 11716 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11448 echo "${ECHO_T}$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } 11717 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11449 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then 11718 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
11450 HAVE_GTK_FILE_SELECTION=yes 11719 HAVE_GTK_FILE_SELECTION=yes
11451 else 11720 else
11452 HAVE_GTK_FILE_SELECTION=no 11721 HAVE_GTK_FILE_SELECTION=no
11453 fi 11722 fi
11454 11723
11455 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 11724 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
11456 11725
11457 for ac_func in gtk_file_selection_new 11726 for ac_func in gtk_file_selection_new
11458 do 11727 do
11459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11460 { echo "$as_me:$LINENO: checking for $ac_func" >&5 11729 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11730 $as_echo_n "checking for $ac_func... " >&6; }
11462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11731 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11463 echo $ECHO_N "(cached) $ECHO_C" >&6 11732 $as_echo_n "(cached) " >&6
11464 else 11733 else
11465 cat >conftest.$ac_ext <<_ACEOF 11734 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h. */ 11735 /* confdefs.h. */
11467 _ACEOF 11736 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext 11737 cat confdefs.h >>conftest.$ac_ext
11511 if { (ac_try="$ac_link" 11780 if { (ac_try="$ac_link"
11512 case "(($ac_try" in 11781 case "(($ac_try" in
11513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11514 *) ac_try_echo=$ac_try;; 11783 *) ac_try_echo=$ac_try;;
11515 esac 11784 esac
11516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11786 $as_echo "$ac_try_echo") >&5
11517 (eval "$ac_link") 2>conftest.er1 11787 (eval "$ac_link") 2>conftest.er1
11518 ac_status=$? 11788 ac_status=$?
11519 grep -v '^ *+' conftest.er1 >conftest.err 11789 grep -v '^ *+' conftest.er1 >conftest.err
11520 rm -f conftest.er1 11790 rm -f conftest.er1
11521 cat conftest.err >&5 11791 cat conftest.err >&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } && { 11793 (exit $ac_status); } && {
11524 test -z "$ac_c_werror_flag" || 11794 test -z "$ac_c_werror_flag" ||
11525 test ! -s conftest.err 11795 test ! -s conftest.err
11526 } && test -s conftest$ac_exeext && 11796 } && test -s conftest$ac_exeext && {
11527 $as_test_x conftest$ac_exeext; then 11797 test "$cross_compiling" = yes ||
11798 $as_test_x conftest$ac_exeext
11799 }; then
11528 eval "$as_ac_var=yes" 11800 eval "$as_ac_var=yes"
11529 else 11801 else
11530 echo "$as_me: failed program was:" >&5 11802 $as_echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5 11803 sed 's/^/| /' conftest.$ac_ext >&5
11532 11804
11533 eval "$as_ac_var=no" 11805 eval "$as_ac_var=no"
11534 fi 11806 fi
11535 11807
11808 rm -rf conftest.dSYM
11536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11537 conftest$ac_exeext conftest.$ac_ext 11810 conftest$ac_exeext conftest.$ac_ext
11538 fi 11811 fi
11539 ac_res=`eval echo '${'$as_ac_var'}'` 11812 ac_res=`eval 'as_val=${'$as_ac_var'}
11540 { echo "$as_me:$LINENO: result: $ac_res" >&5 11813 $as_echo "$as_val"'`
11541 echo "${ECHO_T}$ac_res" >&6; } 11814 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11542 if test `eval echo '${'$as_ac_var'}'` = yes; then 11815 $as_echo "$ac_res" >&6; }
11816 if test `eval 'as_val=${'$as_ac_var'}
11817 $as_echo "$as_val"'` = yes; then
11543 cat >>confdefs.h <<_ACEOF 11818 cat >>confdefs.h <<_ACEOF
11544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11545 _ACEOF 11820 _ACEOF
11546 HAVE_GTK_FILE_SELECTION=yes 11821 HAVE_GTK_FILE_SELECTION=yes
11547 else 11822 else
11548 HAVE_GTK_FILE_SELECTION=no 11823 HAVE_GTK_FILE_SELECTION=no
11549 fi 11824 fi
11550 done 11825 done
11551 11826
11552 fi 11827 fi
11553 11828
11554 HAVE_GTK_FILE_CHOOSER=no 11829 HAVE_GTK_FILE_CHOOSER=no
11555 { echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 11830 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5
11556 echo $ECHO_N "checking whether GTK_TYPE_FILE_CHOOSER is declared... $ECHO_C" >&6; } 11831 $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; }
11557 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then 11832 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
11558 echo $ECHO_N "(cached) $ECHO_C" >&6 11833 $as_echo_n "(cached) " >&6
11559 else 11834 else
11560 cat >conftest.$ac_ext <<_ACEOF 11835 cat >conftest.$ac_ext <<_ACEOF
11561 /* confdefs.h. */ 11836 /* confdefs.h. */
11562 _ACEOF 11837 _ACEOF
11563 cat confdefs.h >>conftest.$ac_ext 11838 cat confdefs.h >>conftest.$ac_ext
11581 if { (ac_try="$ac_compile" 11856 if { (ac_try="$ac_compile"
11582 case "(($ac_try" in 11857 case "(($ac_try" in
11583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11584 *) ac_try_echo=$ac_try;; 11859 *) ac_try_echo=$ac_try;;
11585 esac 11860 esac
11586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11862 $as_echo "$ac_try_echo") >&5
11587 (eval "$ac_compile") 2>conftest.er1 11863 (eval "$ac_compile") 2>conftest.er1
11588 ac_status=$? 11864 ac_status=$?
11589 grep -v '^ *+' conftest.er1 >conftest.err 11865 grep -v '^ *+' conftest.er1 >conftest.err
11590 rm -f conftest.er1 11866 rm -f conftest.er1
11591 cat conftest.err >&5 11867 cat conftest.err >&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } && { 11869 (exit $ac_status); } && {
11594 test -z "$ac_c_werror_flag" || 11870 test -z "$ac_c_werror_flag" ||
11595 test ! -s conftest.err 11871 test ! -s conftest.err
11596 } && test -s conftest.$ac_objext; then 11872 } && test -s conftest.$ac_objext; then
11597 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes 11873 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
11598 else 11874 else
11599 echo "$as_me: failed program was:" >&5 11875 $as_echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5 11876 sed 's/^/| /' conftest.$ac_ext >&5
11601 11877
11602 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no 11878 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
11603 fi 11879 fi
11604 11880
11605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11606 fi 11882 fi
11607 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 11883 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
11608 echo "${ECHO_T}$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } 11884 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
11609 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then 11885 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
11610 HAVE_GTK_FILE_CHOOSER=yes 11886 HAVE_GTK_FILE_CHOOSER=yes
11611 else 11887 else
11612 HAVE_GTK_FILE_CHOOSER=no 11888 HAVE_GTK_FILE_CHOOSER=no
11613 fi 11889 fi
11614 11890
11615 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 11891 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
11616 11892
11617 for ac_func in gtk_file_chooser_dialog_new 11893 for ac_func in gtk_file_chooser_dialog_new
11618 do 11894 do
11619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11620 { echo "$as_me:$LINENO: checking for $ac_func" >&5 11896 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11897 $as_echo_n "checking for $ac_func... " >&6; }
11622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6 11899 $as_echo_n "(cached) " >&6
11624 else 11900 else
11625 cat >conftest.$ac_ext <<_ACEOF 11901 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */ 11902 /* confdefs.h. */
11627 _ACEOF 11903 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext 11904 cat confdefs.h >>conftest.$ac_ext
11671 if { (ac_try="$ac_link" 11947 if { (ac_try="$ac_link"
11672 case "(($ac_try" in 11948 case "(($ac_try" in
11673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11674 *) ac_try_echo=$ac_try;; 11950 *) ac_try_echo=$ac_try;;
11675 esac 11951 esac
11676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11953 $as_echo "$ac_try_echo") >&5
11677 (eval "$ac_link") 2>conftest.er1 11954 (eval "$ac_link") 2>conftest.er1
11678 ac_status=$? 11955 ac_status=$?
11679 grep -v '^ *+' conftest.er1 >conftest.err 11956 grep -v '^ *+' conftest.er1 >conftest.err
11680 rm -f conftest.er1 11957 rm -f conftest.er1
11681 cat conftest.err >&5 11958 cat conftest.err >&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } && { 11960 (exit $ac_status); } && {
11684 test -z "$ac_c_werror_flag" || 11961 test -z "$ac_c_werror_flag" ||
11685 test ! -s conftest.err 11962 test ! -s conftest.err
11686 } && test -s conftest$ac_exeext && 11963 } && test -s conftest$ac_exeext && {
11687 $as_test_x conftest$ac_exeext; then 11964 test "$cross_compiling" = yes ||
11965 $as_test_x conftest$ac_exeext
11966 }; then
11688 eval "$as_ac_var=yes" 11967 eval "$as_ac_var=yes"
11689 else 11968 else
11690 echo "$as_me: failed program was:" >&5 11969 $as_echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5 11970 sed 's/^/| /' conftest.$ac_ext >&5
11692 11971
11693 eval "$as_ac_var=no" 11972 eval "$as_ac_var=no"
11694 fi 11973 fi
11695 11974
11975 rm -rf conftest.dSYM
11696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11697 conftest$ac_exeext conftest.$ac_ext 11977 conftest$ac_exeext conftest.$ac_ext
11698 fi 11978 fi
11699 ac_res=`eval echo '${'$as_ac_var'}'` 11979 ac_res=`eval 'as_val=${'$as_ac_var'}
11700 { echo "$as_me:$LINENO: result: $ac_res" >&5 11980 $as_echo "$as_val"'`
11701 echo "${ECHO_T}$ac_res" >&6; } 11981 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11702 if test `eval echo '${'$as_ac_var'}'` = yes; then 11982 $as_echo "$ac_res" >&6; }
11983 if test `eval 'as_val=${'$as_ac_var'}
11984 $as_echo "$as_val"'` = yes; then
11703 cat >>confdefs.h <<_ACEOF 11985 cat >>confdefs.h <<_ACEOF
11704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11705 _ACEOF 11987 _ACEOF
11706 HAVE_GTK_FILE_CHOOSER=yes 11988 HAVE_GTK_FILE_CHOOSER=yes
11707 else 11989 else
11708 HAVE_GTK_FILE_CHOOSER=no 11990 HAVE_GTK_FILE_CHOOSER=no
11709 fi 11991 fi
11723 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 12005 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
11724 HAVE_GTK_AND_PTHREAD=no 12006 HAVE_GTK_AND_PTHREAD=no
11725 12007
11726 for ac_header in pthread.h 12008 for ac_header in pthread.h
11727 do 12009 do
11728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11730 { echo "$as_me:$LINENO: checking for $ac_header" >&5 12012 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 12013 $as_echo_n "checking for $ac_header... " >&6; }
11732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6 12015 $as_echo_n "(cached) " >&6
11734 fi 12016 fi
11735 ac_res=`eval echo '${'$as_ac_Header'}'` 12017 ac_res=`eval 'as_val=${'$as_ac_Header'}
11736 { echo "$as_me:$LINENO: result: $ac_res" >&5 12018 $as_echo "$as_val"'`
11737 echo "${ECHO_T}$ac_res" >&6; } 12019 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12020 $as_echo "$ac_res" >&6; }
11738 else 12021 else
11739 # Is the header compilable? 12022 # Is the header compilable?
11740 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 12023 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 12024 $as_echo_n "checking $ac_header usability... " >&6; }
11742 cat >conftest.$ac_ext <<_ACEOF 12025 cat >conftest.$ac_ext <<_ACEOF
11743 /* confdefs.h. */ 12026 /* confdefs.h. */
11744 _ACEOF 12027 _ACEOF
11745 cat confdefs.h >>conftest.$ac_ext 12028 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF 12029 cat >>conftest.$ac_ext <<_ACEOF
11752 if { (ac_try="$ac_compile" 12035 if { (ac_try="$ac_compile"
11753 case "(($ac_try" in 12036 case "(($ac_try" in
11754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11755 *) ac_try_echo=$ac_try;; 12038 *) ac_try_echo=$ac_try;;
11756 esac 12039 esac
11757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12041 $as_echo "$ac_try_echo") >&5
11758 (eval "$ac_compile") 2>conftest.er1 12042 (eval "$ac_compile") 2>conftest.er1
11759 ac_status=$? 12043 ac_status=$?
11760 grep -v '^ *+' conftest.er1 >conftest.err 12044 grep -v '^ *+' conftest.er1 >conftest.err
11761 rm -f conftest.er1 12045 rm -f conftest.er1
11762 cat conftest.err >&5 12046 cat conftest.err >&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); } && { 12048 (exit $ac_status); } && {
11765 test -z "$ac_c_werror_flag" || 12049 test -z "$ac_c_werror_flag" ||
11766 test ! -s conftest.err 12050 test ! -s conftest.err
11767 } && test -s conftest.$ac_objext; then 12051 } && test -s conftest.$ac_objext; then
11768 ac_header_compiler=yes 12052 ac_header_compiler=yes
11769 else 12053 else
11770 echo "$as_me: failed program was:" >&5 12054 $as_echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.$ac_ext >&5 12055 sed 's/^/| /' conftest.$ac_ext >&5
11772 12056
11773 ac_header_compiler=no 12057 ac_header_compiler=no
11774 fi 12058 fi
11775 12059
11776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11777 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12061 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11778 echo "${ECHO_T}$ac_header_compiler" >&6; } 12062 $as_echo "$ac_header_compiler" >&6; }
11779 12063
11780 # Is the header present? 12064 # Is the header present?
11781 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 12065 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 12066 $as_echo_n "checking $ac_header presence... " >&6; }
11783 cat >conftest.$ac_ext <<_ACEOF 12067 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */ 12068 /* confdefs.h. */
11785 _ACEOF 12069 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext 12070 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF 12071 cat >>conftest.$ac_ext <<_ACEOF
11791 if { (ac_try="$ac_cpp conftest.$ac_ext" 12075 if { (ac_try="$ac_cpp conftest.$ac_ext"
11792 case "(($ac_try" in 12076 case "(($ac_try" in
11793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11794 *) ac_try_echo=$ac_try;; 12078 *) ac_try_echo=$ac_try;;
11795 esac 12079 esac
11796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12081 $as_echo "$ac_try_echo") >&5
11797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11798 ac_status=$? 12083 ac_status=$?
11799 grep -v '^ *+' conftest.er1 >conftest.err 12084 grep -v '^ *+' conftest.er1 >conftest.err
11800 rm -f conftest.er1 12085 rm -f conftest.er1
11801 cat conftest.err >&5 12086 cat conftest.err >&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } >/dev/null && { 12088 (exit $ac_status); } >/dev/null && {
11804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11805 test ! -s conftest.err 12090 test ! -s conftest.err
11806 }; then 12091 }; then
11807 ac_header_preproc=yes 12092 ac_header_preproc=yes
11808 else 12093 else
11809 echo "$as_me: failed program was:" >&5 12094 $as_echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.$ac_ext >&5 12095 sed 's/^/| /' conftest.$ac_ext >&5
11811 12096
11812 ac_header_preproc=no 12097 ac_header_preproc=no
11813 fi 12098 fi
11814 12099
11815 rm -f conftest.err conftest.$ac_ext 12100 rm -f conftest.err conftest.$ac_ext
11816 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12101 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11817 echo "${ECHO_T}$ac_header_preproc" >&6; } 12102 $as_echo "$ac_header_preproc" >&6; }
11818 12103
11819 # So? What about this header? 12104 # So? What about this header?
11820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11821 yes:no: ) 12106 yes:no: )
11822 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12107 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11823 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12108 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12109 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11825 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12110 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11826 ac_header_preproc=yes 12111 ac_header_preproc=yes
11827 ;; 12112 ;;
11828 no:yes:* ) 12113 no:yes:* )
11829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12115 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12117 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11833 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11834 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12119 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11835 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11836 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12121 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12123 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11839 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11840 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12125 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11841 12126
11842 ;; 12127 ;;
11843 esac 12128 esac
11844 { echo "$as_me:$LINENO: checking for $ac_header" >&5 12129 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 12130 $as_echo_n "checking for $ac_header... " >&6; }
11846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6 12132 $as_echo_n "(cached) " >&6
11848 else 12133 else
11849 eval "$as_ac_Header=\$ac_header_preproc" 12134 eval "$as_ac_Header=\$ac_header_preproc"
11850 fi 12135 fi
11851 ac_res=`eval echo '${'$as_ac_Header'}'` 12136 ac_res=`eval 'as_val=${'$as_ac_Header'}
11852 { echo "$as_me:$LINENO: result: $ac_res" >&5 12137 $as_echo "$as_val"'`
11853 echo "${ECHO_T}$ac_res" >&6; } 12138 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11854 12139 $as_echo "$ac_res" >&6; }
11855 fi 12140
11856 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12141 fi
12142 if test `eval 'as_val=${'$as_ac_Header'}
12143 $as_echo "$as_val"'` = yes; then
11857 cat >>confdefs.h <<_ACEOF 12144 cat >>confdefs.h <<_ACEOF
11858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11859 _ACEOF 12146 _ACEOF
11860 12147
11861 fi 12148 fi
11862 12149
11863 done 12150 done
11864 12151
11865 if test "$ac_cv_header_pthread_h"; then 12152 if test "$ac_cv_header_pthread_h"; then
11866 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 12153 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
11867 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; } 12154 $as_echo_n "checking for pthread_self in -lpthread... " >&6; }
11868 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 12155 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6 12156 $as_echo_n "(cached) " >&6
11870 else 12157 else
11871 ac_check_lib_save_LIBS=$LIBS 12158 ac_check_lib_save_LIBS=$LIBS
11872 LIBS="-lpthread $LIBS" 12159 LIBS="-lpthread $LIBS"
11873 cat >conftest.$ac_ext <<_ACEOF 12160 cat >conftest.$ac_ext <<_ACEOF
11874 /* confdefs.h. */ 12161 /* confdefs.h. */
11896 if { (ac_try="$ac_link" 12183 if { (ac_try="$ac_link"
11897 case "(($ac_try" in 12184 case "(($ac_try" in
11898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 *) ac_try_echo=$ac_try;; 12186 *) ac_try_echo=$ac_try;;
11900 esac 12187 esac
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12189 $as_echo "$ac_try_echo") >&5
11902 (eval "$ac_link") 2>conftest.er1 12190 (eval "$ac_link") 2>conftest.er1
11903 ac_status=$? 12191 ac_status=$?
11904 grep -v '^ *+' conftest.er1 >conftest.err 12192 grep -v '^ *+' conftest.er1 >conftest.err
11905 rm -f conftest.er1 12193 rm -f conftest.er1
11906 cat conftest.err >&5 12194 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } && { 12196 (exit $ac_status); } && {
11909 test -z "$ac_c_werror_flag" || 12197 test -z "$ac_c_werror_flag" ||
11910 test ! -s conftest.err 12198 test ! -s conftest.err
11911 } && test -s conftest$ac_exeext && 12199 } && test -s conftest$ac_exeext && {
11912 $as_test_x conftest$ac_exeext; then 12200 test "$cross_compiling" = yes ||
12201 $as_test_x conftest$ac_exeext
12202 }; then
11913 ac_cv_lib_pthread_pthread_self=yes 12203 ac_cv_lib_pthread_pthread_self=yes
11914 else 12204 else
11915 echo "$as_me: failed program was:" >&5 12205 $as_echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5 12206 sed 's/^/| /' conftest.$ac_ext >&5
11917 12207
11918 ac_cv_lib_pthread_pthread_self=no 12208 ac_cv_lib_pthread_pthread_self=no
11919 fi 12209 fi
11920 12210
12211 rm -rf conftest.dSYM
11921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11922 conftest$ac_exeext conftest.$ac_ext 12213 conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_lib_save_LIBS 12214 LIBS=$ac_check_lib_save_LIBS
11924 fi 12215 fi
11925 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 12216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
11926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; } 12217 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; }
11927 if test $ac_cv_lib_pthread_pthread_self = yes; then 12218 if test $ac_cv_lib_pthread_pthread_self = yes; then
11928 HAVE_GTK_AND_PTHREAD=yes 12219 HAVE_GTK_AND_PTHREAD=yes
11929 fi 12220 fi
11930 12221
11931 fi 12222 fi
11948 12239
11949 succeeded=no 12240 succeeded=no
11950 12241
11951 # Extract the first word of "pkg-config", so it can be a program name with args. 12242 # Extract the first word of "pkg-config", so it can be a program name with args.
11952 set dummy pkg-config; ac_word=$2 12243 set dummy pkg-config; ac_word=$2
11953 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12245 $as_echo_n "checking for $ac_word... " >&6; }
11955 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12246 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6 12247 $as_echo_n "(cached) " >&6
11957 else 12248 else
11958 case $PKG_CONFIG in 12249 case $PKG_CONFIG in
11959 [\\/]* | ?:[\\/]*) 12250 [\\/]* | ?:[\\/]*)
11960 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12251 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11961 ;; 12252 ;;
11966 IFS=$as_save_IFS 12257 IFS=$as_save_IFS
11967 test -z "$as_dir" && as_dir=. 12258 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do 12259 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12261 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12262 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11972 break 2 12263 break 2
11973 fi 12264 fi
11974 done 12265 done
11975 done 12266 done
11976 IFS=$as_save_IFS 12267 IFS=$as_save_IFS
11979 ;; 12270 ;;
11980 esac 12271 esac
11981 fi 12272 fi
11982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12273 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11983 if test -n "$PKG_CONFIG"; then 12274 if test -n "$PKG_CONFIG"; then
11984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12275 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11985 echo "${ECHO_T}$PKG_CONFIG" >&6; } 12276 $as_echo "$PKG_CONFIG" >&6; }
11986 else 12277 else
11987 { echo "$as_me:$LINENO: result: no" >&5 12278 { $as_echo "$as_me:$LINENO: result: no" >&5
11988 echo "${ECHO_T}no" >&6; } 12279 $as_echo "no" >&6; }
11989 fi 12280 fi
11990 12281
11991 12282
11992 12283
11993 if test "$PKG_CONFIG" = "no" ; then 12284 if test "$PKG_CONFIG" = "no" ; then
11994 HAVE_DBUS=no 12285 HAVE_DBUS=no
11995 else 12286 else
11996 PKG_CONFIG_MIN_VERSION=0.9.0 12287 PKG_CONFIG_MIN_VERSION=0.9.0
11997 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12288 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11998 { echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 12289 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5
11999 echo $ECHO_N "checking for dbus-1 >= 1.0... $ECHO_C" >&6; } 12290 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; }
12000 12291
12001 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 12292 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
12002 { echo "$as_me:$LINENO: result: yes" >&5 12293 { $as_echo "$as_me:$LINENO: result: yes" >&5
12003 echo "${ECHO_T}yes" >&6; } 12294 $as_echo "yes" >&6; }
12004 succeeded=yes 12295 succeeded=yes
12005 12296
12006 { echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 12297 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
12007 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; } 12298 $as_echo_n "checking DBUS_CFLAGS... " >&6; }
12008 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12299 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12009 { echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 12300 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
12010 echo "${ECHO_T}$DBUS_CFLAGS" >&6; } 12301 $as_echo "$DBUS_CFLAGS" >&6; }
12011 12302
12012 { echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 12303 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
12013 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; } 12304 $as_echo_n "checking DBUS_LIBS... " >&6; }
12014 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 12305 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12015 { echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 12306 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
12016 echo "${ECHO_T}$DBUS_LIBS" >&6; } 12307 $as_echo "$DBUS_LIBS" >&6; }
12017 else 12308 else
12018 { echo "$as_me:$LINENO: result: no" >&5 12309 { $as_echo "$as_me:$LINENO: result: no" >&5
12019 echo "${ECHO_T}no" >&6; } 12310 $as_echo "no" >&6; }
12020 DBUS_CFLAGS="" 12311 DBUS_CFLAGS=""
12021 DBUS_LIBS="" 12312 DBUS_LIBS=""
12022 ## If we have a custom action on failure, don't print errors, but 12313 ## If we have a custom action on failure, don't print errors, but
12023 ## do set a variable so people can do so. 12314 ## do set a variable so people can do so.
12024 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"` 12315 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"`
12049 fi 12340 fi
12050 12341
12051 HAVE_XAW3D=no 12342 HAVE_XAW3D=no
12052 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 12343 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
12053 if test "$with_xaw3d" != no; then 12344 if test "$with_xaw3d" != no; then
12054 { echo "$as_me:$LINENO: checking for xaw3d" >&5 12345 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5
12055 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; } 12346 $as_echo_n "checking for xaw3d... " >&6; }
12056 if test "${emacs_cv_xaw3d+set}" = set; then 12347 if test "${emacs_cv_xaw3d+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6 12348 $as_echo_n "(cached) " >&6
12058 else 12349 else
12059 cat >conftest.$ac_ext <<_ACEOF 12350 cat >conftest.$ac_ext <<_ACEOF
12060 /* confdefs.h. */ 12351 /* confdefs.h. */
12061 _ACEOF 12352 _ACEOF
12062 cat confdefs.h >>conftest.$ac_ext 12353 cat confdefs.h >>conftest.$ac_ext
12077 if { (ac_try="$ac_link" 12368 if { (ac_try="$ac_link"
12078 case "(($ac_try" in 12369 case "(($ac_try" in
12079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12080 *) ac_try_echo=$ac_try;; 12371 *) ac_try_echo=$ac_try;;
12081 esac 12372 esac
12082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12374 $as_echo "$ac_try_echo") >&5
12083 (eval "$ac_link") 2>conftest.er1 12375 (eval "$ac_link") 2>conftest.er1
12084 ac_status=$? 12376 ac_status=$?
12085 grep -v '^ *+' conftest.er1 >conftest.err 12377 grep -v '^ *+' conftest.er1 >conftest.err
12086 rm -f conftest.er1 12378 rm -f conftest.er1
12087 cat conftest.err >&5 12379 cat conftest.err >&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } && { 12381 (exit $ac_status); } && {
12090 test -z "$ac_c_werror_flag" || 12382 test -z "$ac_c_werror_flag" ||
12091 test ! -s conftest.err 12383 test ! -s conftest.err
12092 } && test -s conftest$ac_exeext && 12384 } && test -s conftest$ac_exeext && {
12093 $as_test_x conftest$ac_exeext; then 12385 test "$cross_compiling" = yes ||
12386 $as_test_x conftest$ac_exeext
12387 }; then
12094 emacs_cv_xaw3d=yes 12388 emacs_cv_xaw3d=yes
12095 else 12389 else
12096 echo "$as_me: failed program was:" >&5 12390 $as_echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.$ac_ext >&5 12391 sed 's/^/| /' conftest.$ac_ext >&5
12098 12392
12099 emacs_cv_xaw3d=no 12393 emacs_cv_xaw3d=no
12100 fi 12394 fi
12101 12395
12396 rm -rf conftest.dSYM
12102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12103 conftest$ac_exeext conftest.$ac_ext 12398 conftest$ac_exeext conftest.$ac_ext
12104 fi 12399 fi
12105 12400
12106 else 12401 else
12107 emacs_cv_xaw3d=no 12402 emacs_cv_xaw3d=no
12108 fi 12403 fi
12109 if test $emacs_cv_xaw3d = yes; then 12404 if test $emacs_cv_xaw3d = yes; then
12110 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 12405 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12111 echo "${ECHO_T}yes; using Lucid toolkit" >&6; } 12406 $as_echo "yes; using Lucid toolkit" >&6; }
12112 USE_X_TOOLKIT=LUCID 12407 USE_X_TOOLKIT=LUCID
12113 HAVE_XAW3D=yes 12408 HAVE_XAW3D=yes
12114 12409
12115 cat >>confdefs.h <<\_ACEOF 12410 cat >>confdefs.h <<\_ACEOF
12116 #define HAVE_XAW3D 1 12411 #define HAVE_XAW3D 1
12117 _ACEOF 12412 _ACEOF
12118 12413
12119 else 12414 else
12120 { echo "$as_me:$LINENO: result: no" >&5 12415 { $as_echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; } 12416 $as_echo "no" >&6; }
12122 { echo "$as_me:$LINENO: checking for libXaw" >&5 12417 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5
12123 echo $ECHO_N "checking for libXaw... $ECHO_C" >&6; } 12418 $as_echo_n "checking for libXaw... " >&6; }
12124 if test "${emacs_cv_xaw+set}" = set; then 12419 if test "${emacs_cv_xaw+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6 12420 $as_echo_n "(cached) " >&6
12126 else 12421 else
12127 cat >conftest.$ac_ext <<_ACEOF 12422 cat >conftest.$ac_ext <<_ACEOF
12128 /* confdefs.h. */ 12423 /* confdefs.h. */
12129 _ACEOF 12424 _ACEOF
12130 cat confdefs.h >>conftest.$ac_ext 12425 cat confdefs.h >>conftest.$ac_ext
12145 if { (ac_try="$ac_link" 12440 if { (ac_try="$ac_link"
12146 case "(($ac_try" in 12441 case "(($ac_try" in
12147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12148 *) ac_try_echo=$ac_try;; 12443 *) ac_try_echo=$ac_try;;
12149 esac 12444 esac
12150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12446 $as_echo "$ac_try_echo") >&5
12151 (eval "$ac_link") 2>conftest.er1 12447 (eval "$ac_link") 2>conftest.er1
12152 ac_status=$? 12448 ac_status=$?
12153 grep -v '^ *+' conftest.er1 >conftest.err 12449 grep -v '^ *+' conftest.er1 >conftest.err
12154 rm -f conftest.er1 12450 rm -f conftest.er1
12155 cat conftest.err >&5 12451 cat conftest.err >&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } && { 12453 (exit $ac_status); } && {
12158 test -z "$ac_c_werror_flag" || 12454 test -z "$ac_c_werror_flag" ||
12159 test ! -s conftest.err 12455 test ! -s conftest.err
12160 } && test -s conftest$ac_exeext && 12456 } && test -s conftest$ac_exeext && {
12161 $as_test_x conftest$ac_exeext; then 12457 test "$cross_compiling" = yes ||
12458 $as_test_x conftest$ac_exeext
12459 }; then
12162 emacs_cv_xaw=yes 12460 emacs_cv_xaw=yes
12163 else 12461 else
12164 echo "$as_me: failed program was:" >&5 12462 $as_echo "$as_me: failed program was:" >&5
12165 sed 's/^/| /' conftest.$ac_ext >&5 12463 sed 's/^/| /' conftest.$ac_ext >&5
12166 12464
12167 emacs_cv_xaw=no 12465 emacs_cv_xaw=no
12168 fi 12466 fi
12169 12467
12468 rm -rf conftest.dSYM
12170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12171 conftest$ac_exeext conftest.$ac_ext 12470 conftest$ac_exeext conftest.$ac_ext
12172 fi 12471 fi
12173 12472
12174 if test $emacs_cv_xaw = yes; then 12473 if test $emacs_cv_xaw = yes; then
12175 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 12474 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12176 echo "${ECHO_T}yes; using Lucid toolkit" >&6; } 12475 $as_echo "yes; using Lucid toolkit" >&6; }
12177 USE_X_TOOLKIT=LUCID 12476 USE_X_TOOLKIT=LUCID
12178 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 12477 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
12179 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 12478 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12180 echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} 12479 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12181 { (exit 1); exit 1; }; } 12480 { (exit 1); exit 1; }; }
12182 else 12481 else
12183 { echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 12482 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
12184 echo "${ECHO_T}no; do not use toolkit by default" >&6; } 12483 $as_echo "no; do not use toolkit by default" >&6; }
12185 USE_X_TOOLKIT=none 12484 USE_X_TOOLKIT=none
12186 fi 12485 fi
12187 fi 12486 fi
12188 fi 12487 fi
12189 12488
12190 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 12489 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
12191 12490
12192 if test "${USE_X_TOOLKIT}" != "none"; then 12491 if test "${USE_X_TOOLKIT}" != "none"; then
12193 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5 12492 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5
12194 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; } 12493 $as_echo_n "checking X11 toolkit version... " >&6; }
12195 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 12494 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6 12495 $as_echo_n "(cached) " >&6
12197 else 12496 else
12198 cat >conftest.$ac_ext <<_ACEOF 12497 cat >conftest.$ac_ext <<_ACEOF
12199 /* confdefs.h. */ 12498 /* confdefs.h. */
12200 _ACEOF 12499 _ACEOF
12201 cat confdefs.h >>conftest.$ac_ext 12500 cat confdefs.h >>conftest.$ac_ext
12217 if { (ac_try="$ac_link" 12516 if { (ac_try="$ac_link"
12218 case "(($ac_try" in 12517 case "(($ac_try" in
12219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12220 *) ac_try_echo=$ac_try;; 12519 *) ac_try_echo=$ac_try;;
12221 esac 12520 esac
12222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12522 $as_echo "$ac_try_echo") >&5
12223 (eval "$ac_link") 2>conftest.er1 12523 (eval "$ac_link") 2>conftest.er1
12224 ac_status=$? 12524 ac_status=$?
12225 grep -v '^ *+' conftest.er1 >conftest.err 12525 grep -v '^ *+' conftest.er1 >conftest.err
12226 rm -f conftest.er1 12526 rm -f conftest.er1
12227 cat conftest.err >&5 12527 cat conftest.err >&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } && { 12529 (exit $ac_status); } && {
12230 test -z "$ac_c_werror_flag" || 12530 test -z "$ac_c_werror_flag" ||
12231 test ! -s conftest.err 12531 test ! -s conftest.err
12232 } && test -s conftest$ac_exeext && 12532 } && test -s conftest$ac_exeext && {
12233 $as_test_x conftest$ac_exeext; then 12533 test "$cross_compiling" = yes ||
12534 $as_test_x conftest$ac_exeext
12535 }; then
12234 emacs_cv_x11_toolkit_version_6=yes 12536 emacs_cv_x11_toolkit_version_6=yes
12235 else 12537 else
12236 echo "$as_me: failed program was:" >&5 12538 $as_echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5 12539 sed 's/^/| /' conftest.$ac_ext >&5
12238 12540
12239 emacs_cv_x11_toolkit_version_6=no 12541 emacs_cv_x11_toolkit_version_6=no
12240 fi 12542 fi
12241 12543
12544 rm -rf conftest.dSYM
12242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12243 conftest$ac_exeext conftest.$ac_ext 12546 conftest$ac_exeext conftest.$ac_ext
12244 fi 12547 fi
12245 12548
12246 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 12549 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
12247 if test $emacs_cv_x11_toolkit_version_6 = yes; then 12550 if test $emacs_cv_x11_toolkit_version_6 = yes; then
12248 { echo "$as_me:$LINENO: result: 6 or newer" >&5 12551 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5
12249 echo "${ECHO_T}6 or newer" >&6; } 12552 $as_echo "6 or newer" >&6; }
12250 12553
12251 cat >>confdefs.h <<\_ACEOF 12554 cat >>confdefs.h <<\_ACEOF
12252 #define HAVE_X11XTR6 1 12555 #define HAVE_X11XTR6 1
12253 _ACEOF 12556 _ACEOF
12254 12557
12255 else 12558 else
12256 { echo "$as_me:$LINENO: result: before 6" >&5 12559 { $as_echo "$as_me:$LINENO: result: before 6" >&5
12257 echo "${ECHO_T}before 6" >&6; } 12560 $as_echo "before 6" >&6; }
12258 fi 12561 fi
12259 12562
12260 OLDLIBS="$LIBS" 12563 OLDLIBS="$LIBS"
12261 if test x$HAVE_X11XTR6 = xyes; then 12564 if test x$HAVE_X11XTR6 = xyes; then
12262 LIBS="-lXt -lSM -lICE $LIBS" 12565 LIBS="-lXt -lSM -lICE $LIBS"
12263 else 12566 else
12264 LIBS="-lXt $LIBS" 12567 LIBS="-lXt $LIBS"
12265 fi 12568 fi
12266 12569
12267 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 12570 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
12268 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; } 12571 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; }
12269 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 12572 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6 12573 $as_echo_n "(cached) " >&6
12271 else 12574 else
12272 ac_check_lib_save_LIBS=$LIBS 12575 ac_check_lib_save_LIBS=$LIBS
12273 LIBS="-lXmu $LIBS" 12576 LIBS="-lXmu $LIBS"
12274 cat >conftest.$ac_ext <<_ACEOF 12577 cat >conftest.$ac_ext <<_ACEOF
12275 /* confdefs.h. */ 12578 /* confdefs.h. */
12297 if { (ac_try="$ac_link" 12600 if { (ac_try="$ac_link"
12298 case "(($ac_try" in 12601 case "(($ac_try" in
12299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12300 *) ac_try_echo=$ac_try;; 12603 *) ac_try_echo=$ac_try;;
12301 esac 12604 esac
12302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12606 $as_echo "$ac_try_echo") >&5
12303 (eval "$ac_link") 2>conftest.er1 12607 (eval "$ac_link") 2>conftest.er1
12304 ac_status=$? 12608 ac_status=$?
12305 grep -v '^ *+' conftest.er1 >conftest.err 12609 grep -v '^ *+' conftest.er1 >conftest.err
12306 rm -f conftest.er1 12610 rm -f conftest.er1
12307 cat conftest.err >&5 12611 cat conftest.err >&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } && { 12613 (exit $ac_status); } && {
12310 test -z "$ac_c_werror_flag" || 12614 test -z "$ac_c_werror_flag" ||
12311 test ! -s conftest.err 12615 test ! -s conftest.err
12312 } && test -s conftest$ac_exeext && 12616 } && test -s conftest$ac_exeext && {
12313 $as_test_x conftest$ac_exeext; then 12617 test "$cross_compiling" = yes ||
12618 $as_test_x conftest$ac_exeext
12619 }; then
12314 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 12620 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
12315 else 12621 else
12316 echo "$as_me: failed program was:" >&5 12622 $as_echo "$as_me: failed program was:" >&5
12317 sed 's/^/| /' conftest.$ac_ext >&5 12623 sed 's/^/| /' conftest.$ac_ext >&5
12318 12624
12319 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 12625 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
12320 fi 12626 fi
12321 12627
12628 rm -rf conftest.dSYM
12322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12323 conftest$ac_exeext conftest.$ac_ext 12630 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_lib_save_LIBS 12631 LIBS=$ac_check_lib_save_LIBS
12325 fi 12632 fi
12326 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 12633 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
12327 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 12634 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
12328 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 12635 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
12329 cat >>confdefs.h <<_ACEOF 12636 cat >>confdefs.h <<_ACEOF
12330 #define HAVE_LIBXMU 1 12637 #define HAVE_LIBXMU 1
12331 _ACEOF 12638 _ACEOF
12332 12639
12339 12646
12340 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 12647 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
12341 if test "${HAVE_X11}" = "yes"; then 12648 if test "${HAVE_X11}" = "yes"; then
12342 if test "${USE_X_TOOLKIT}" != "none"; then 12649 if test "${USE_X_TOOLKIT}" != "none"; then
12343 12650
12344 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 12651 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
12345 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } 12652 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
12346 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 12653 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6 12654 $as_echo_n "(cached) " >&6
12348 else 12655 else
12349 ac_check_lib_save_LIBS=$LIBS 12656 ac_check_lib_save_LIBS=$LIBS
12350 LIBS="-lXext $LIBS" 12657 LIBS="-lXext $LIBS"
12351 cat >conftest.$ac_ext <<_ACEOF 12658 cat >conftest.$ac_ext <<_ACEOF
12352 /* confdefs.h. */ 12659 /* confdefs.h. */
12374 if { (ac_try="$ac_link" 12681 if { (ac_try="$ac_link"
12375 case "(($ac_try" in 12682 case "(($ac_try" in
12376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12377 *) ac_try_echo=$ac_try;; 12684 *) ac_try_echo=$ac_try;;
12378 esac 12685 esac
12379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12687 $as_echo "$ac_try_echo") >&5
12380 (eval "$ac_link") 2>conftest.er1 12688 (eval "$ac_link") 2>conftest.er1
12381 ac_status=$? 12689 ac_status=$?
12382 grep -v '^ *+' conftest.er1 >conftest.err 12690 grep -v '^ *+' conftest.er1 >conftest.err
12383 rm -f conftest.er1 12691 rm -f conftest.er1
12384 cat conftest.err >&5 12692 cat conftest.err >&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } && { 12694 (exit $ac_status); } && {
12387 test -z "$ac_c_werror_flag" || 12695 test -z "$ac_c_werror_flag" ||
12388 test ! -s conftest.err 12696 test ! -s conftest.err
12389 } && test -s conftest$ac_exeext && 12697 } && test -s conftest$ac_exeext && {
12390 $as_test_x conftest$ac_exeext; then 12698 test "$cross_compiling" = yes ||
12699 $as_test_x conftest$ac_exeext
12700 }; then
12391 ac_cv_lib_Xext_XShapeQueryExtension=yes 12701 ac_cv_lib_Xext_XShapeQueryExtension=yes
12392 else 12702 else
12393 echo "$as_me: failed program was:" >&5 12703 $as_echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.$ac_ext >&5 12704 sed 's/^/| /' conftest.$ac_ext >&5
12395 12705
12396 ac_cv_lib_Xext_XShapeQueryExtension=no 12706 ac_cv_lib_Xext_XShapeQueryExtension=no
12397 fi 12707 fi
12398 12708
12709 rm -rf conftest.dSYM
12399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12400 conftest$ac_exeext conftest.$ac_ext 12711 conftest$ac_exeext conftest.$ac_ext
12401 LIBS=$ac_check_lib_save_LIBS 12712 LIBS=$ac_check_lib_save_LIBS
12402 fi 12713 fi
12403 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 12714 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12404 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 12715 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12405 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 12716 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
12406 cat >>confdefs.h <<_ACEOF 12717 cat >>confdefs.h <<_ACEOF
12407 #define HAVE_LIBXEXT 1 12718 #define HAVE_LIBXEXT 1
12408 _ACEOF 12719 _ACEOF
12409 12720
12413 12724
12414 fi 12725 fi
12415 fi 12726 fi
12416 12727
12417 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 12728 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
12418 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 12729 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
12419 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; } 12730 $as_echo_n "checking for Motif version 2.1... " >&6; }
12420 if test "${emacs_cv_motif_version_2_1+set}" = set; then 12731 if test "${emacs_cv_motif_version_2_1+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6 12732 $as_echo_n "(cached) " >&6
12422 else 12733 else
12423 cat >conftest.$ac_ext <<_ACEOF 12734 cat >conftest.$ac_ext <<_ACEOF
12424 /* confdefs.h. */ 12735 /* confdefs.h. */
12425 _ACEOF 12736 _ACEOF
12426 cat confdefs.h >>conftest.$ac_ext 12737 cat confdefs.h >>conftest.$ac_ext
12443 if { (ac_try="$ac_compile" 12754 if { (ac_try="$ac_compile"
12444 case "(($ac_try" in 12755 case "(($ac_try" in
12445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12446 *) ac_try_echo=$ac_try;; 12757 *) ac_try_echo=$ac_try;;
12447 esac 12758 esac
12448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12760 $as_echo "$ac_try_echo") >&5
12449 (eval "$ac_compile") 2>conftest.er1 12761 (eval "$ac_compile") 2>conftest.er1
12450 ac_status=$? 12762 ac_status=$?
12451 grep -v '^ *+' conftest.er1 >conftest.err 12763 grep -v '^ *+' conftest.er1 >conftest.err
12452 rm -f conftest.er1 12764 rm -f conftest.er1
12453 cat conftest.err >&5 12765 cat conftest.err >&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); } && { 12767 (exit $ac_status); } && {
12456 test -z "$ac_c_werror_flag" || 12768 test -z "$ac_c_werror_flag" ||
12457 test ! -s conftest.err 12769 test ! -s conftest.err
12458 } && test -s conftest.$ac_objext; then 12770 } && test -s conftest.$ac_objext; then
12459 emacs_cv_motif_version_2_1=yes 12771 emacs_cv_motif_version_2_1=yes
12460 else 12772 else
12461 echo "$as_me: failed program was:" >&5 12773 $as_echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.$ac_ext >&5 12774 sed 's/^/| /' conftest.$ac_ext >&5
12463 12775
12464 emacs_cv_motif_version_2_1=no 12776 emacs_cv_motif_version_2_1=no
12465 fi 12777 fi
12466 12778
12467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12468 fi 12780 fi
12469 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 12781 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
12470 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; } 12782 $as_echo "$emacs_cv_motif_version_2_1" >&6; }
12471 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 12783 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
12472 if test $emacs_cv_motif_version_2_1 = yes; then 12784 if test $emacs_cv_motif_version_2_1 = yes; then
12473 HAVE_LIBXP=no 12785 HAVE_LIBXP=no
12474 12786
12475 cat >>confdefs.h <<\_ACEOF 12787 cat >>confdefs.h <<\_ACEOF
12476 #define HAVE_MOTIF_2_1 1 12788 #define HAVE_MOTIF_2_1 1
12477 _ACEOF 12789 _ACEOF
12478 12790
12479 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 12791 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
12480 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; } 12792 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
12481 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 12793 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6 12794 $as_echo_n "(cached) " >&6
12483 else 12795 else
12484 ac_check_lib_save_LIBS=$LIBS 12796 ac_check_lib_save_LIBS=$LIBS
12485 LIBS="-lXp $LIBS" 12797 LIBS="-lXp $LIBS"
12486 cat >conftest.$ac_ext <<_ACEOF 12798 cat >conftest.$ac_ext <<_ACEOF
12487 /* confdefs.h. */ 12799 /* confdefs.h. */
12509 if { (ac_try="$ac_link" 12821 if { (ac_try="$ac_link"
12510 case "(($ac_try" in 12822 case "(($ac_try" in
12511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12512 *) ac_try_echo=$ac_try;; 12824 *) ac_try_echo=$ac_try;;
12513 esac 12825 esac
12514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12827 $as_echo "$ac_try_echo") >&5
12515 (eval "$ac_link") 2>conftest.er1 12828 (eval "$ac_link") 2>conftest.er1
12516 ac_status=$? 12829 ac_status=$?
12517 grep -v '^ *+' conftest.er1 >conftest.err 12830 grep -v '^ *+' conftest.er1 >conftest.err
12518 rm -f conftest.er1 12831 rm -f conftest.er1
12519 cat conftest.err >&5 12832 cat conftest.err >&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } && { 12834 (exit $ac_status); } && {
12522 test -z "$ac_c_werror_flag" || 12835 test -z "$ac_c_werror_flag" ||
12523 test ! -s conftest.err 12836 test ! -s conftest.err
12524 } && test -s conftest$ac_exeext && 12837 } && test -s conftest$ac_exeext && {
12525 $as_test_x conftest$ac_exeext; then 12838 test "$cross_compiling" = yes ||
12839 $as_test_x conftest$ac_exeext
12840 }; then
12526 ac_cv_lib_Xp_XpCreateContext=yes 12841 ac_cv_lib_Xp_XpCreateContext=yes
12527 else 12842 else
12528 echo "$as_me: failed program was:" >&5 12843 $as_echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5 12844 sed 's/^/| /' conftest.$ac_ext >&5
12530 12845
12531 ac_cv_lib_Xp_XpCreateContext=no 12846 ac_cv_lib_Xp_XpCreateContext=no
12532 fi 12847 fi
12533 12848
12849 rm -rf conftest.dSYM
12534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12535 conftest$ac_exeext conftest.$ac_ext 12851 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_lib_save_LIBS 12852 LIBS=$ac_check_lib_save_LIBS
12537 fi 12853 fi
12538 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 12854 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
12539 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; } 12855 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
12540 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 12856 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
12541 HAVE_LIBXP=yes 12857 HAVE_LIBXP=yes
12542 fi 12858 fi
12543 12859
12544 if test ${HAVE_LIBXP} = yes; then 12860 if test ${HAVE_LIBXP} = yes; then
12547 #define HAVE_LIBXP 1 12863 #define HAVE_LIBXP 1
12548 _ACEOF 12864 _ACEOF
12549 12865
12550 fi 12866 fi
12551 else 12867 else
12552 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 12868 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
12553 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; } 12869 $as_echo_n "checking for LessTif where some systems put it... " >&6; }
12554 if test "${emacs_cv_lesstif+set}" = set; then 12870 if test "${emacs_cv_lesstif+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6 12871 $as_echo_n "(cached) " >&6
12556 else 12872 else
12557 # We put this in CFLAGS temporarily to precede other -I options 12873 # We put this in CFLAGS temporarily to precede other -I options
12558 # that might be in CFLAGS temporarily. 12874 # that might be in CFLAGS temporarily.
12559 # We put this in CPPFLAGS where it precedes the other -I options. 12875 # We put this in CPPFLAGS where it precedes the other -I options.
12560 OLD_CPPFLAGS=$CPPFLAGS 12876 OLD_CPPFLAGS=$CPPFLAGS
12580 if { (ac_try="$ac_compile" 12896 if { (ac_try="$ac_compile"
12581 case "(($ac_try" in 12897 case "(($ac_try" in
12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;; 12899 *) ac_try_echo=$ac_try;;
12584 esac 12900 esac
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12902 $as_echo "$ac_try_echo") >&5
12586 (eval "$ac_compile") 2>conftest.er1 12903 (eval "$ac_compile") 2>conftest.er1
12587 ac_status=$? 12904 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err 12905 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1 12906 rm -f conftest.er1
12590 cat conftest.err >&5 12907 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } && { 12909 (exit $ac_status); } && {
12593 test -z "$ac_c_werror_flag" || 12910 test -z "$ac_c_werror_flag" ||
12594 test ! -s conftest.err 12911 test ! -s conftest.err
12595 } && test -s conftest.$ac_objext; then 12912 } && test -s conftest.$ac_objext; then
12596 emacs_cv_lesstif=yes 12913 emacs_cv_lesstif=yes
12597 else 12914 else
12598 echo "$as_me: failed program was:" >&5 12915 $as_echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5 12916 sed 's/^/| /' conftest.$ac_ext >&5
12600 12917
12601 emacs_cv_lesstif=no 12918 emacs_cv_lesstif=no
12602 fi 12919 fi
12603 12920
12604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12605 fi 12922 fi
12606 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 12923 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
12607 echo "${ECHO_T}$emacs_cv_lesstif" >&6; } 12924 $as_echo "$emacs_cv_lesstif" >&6; }
12608 if test $emacs_cv_lesstif = yes; then 12925 if test $emacs_cv_lesstif = yes; then
12609 # Make sure this -I option remains in CPPFLAGS after it is set 12926 # Make sure this -I option remains in CPPFLAGS after it is set
12610 # back to REAL_CPPFLAGS. 12927 # back to REAL_CPPFLAGS.
12611 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not 12928 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
12612 # have those other -I options anyway. Ultimately, having this 12929 # have those other -I options anyway. Ultimately, having this
12675 if { (ac_try="$ac_compile" 12992 if { (ac_try="$ac_compile"
12676 case "(($ac_try" in 12993 case "(($ac_try" in
12677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12678 *) ac_try_echo=$ac_try;; 12995 *) ac_try_echo=$ac_try;;
12679 esac 12996 esac
12680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12998 $as_echo "$ac_try_echo") >&5
12681 (eval "$ac_compile") 2>conftest.er1 12999 (eval "$ac_compile") 2>conftest.er1
12682 ac_status=$? 13000 ac_status=$?
12683 grep -v '^ *+' conftest.er1 >conftest.err 13001 grep -v '^ *+' conftest.er1 >conftest.err
12684 rm -f conftest.er1 13002 rm -f conftest.er1
12685 cat conftest.err >&5 13003 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } && { 13005 (exit $ac_status); } && {
12688 test -z "$ac_c_werror_flag" || 13006 test -z "$ac_c_werror_flag" ||
12689 test ! -s conftest.err 13007 test ! -s conftest.err
12690 } && test -s conftest.$ac_objext; then 13008 } && test -s conftest.$ac_objext; then
12691 HAVE_XIM=yes 13009 HAVE_XIM=yes
12693 cat >>confdefs.h <<\_ACEOF 13011 cat >>confdefs.h <<\_ACEOF
12694 #define HAVE_XIM 1 13012 #define HAVE_XIM 1
12695 _ACEOF 13013 _ACEOF
12696 13014
12697 else 13015 else
12698 echo "$as_me: failed program was:" >&5 13016 $as_echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5 13017 sed 's/^/| /' conftest.$ac_ext >&5
12700 13018
12701 HAVE_XIM=no 13019 HAVE_XIM=no
12702 fi 13020 fi
12703 13021
12752 if { (ac_try="$ac_compile" 13070 if { (ac_try="$ac_compile"
12753 case "(($ac_try" in 13071 case "(($ac_try" in
12754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12755 *) ac_try_echo=$ac_try;; 13073 *) ac_try_echo=$ac_try;;
12756 esac 13074 esac
12757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13076 $as_echo "$ac_try_echo") >&5
12758 (eval "$ac_compile") 2>conftest.er1 13077 (eval "$ac_compile") 2>conftest.er1
12759 ac_status=$? 13078 ac_status=$?
12760 grep -v '^ *+' conftest.er1 >conftest.err 13079 grep -v '^ *+' conftest.er1 >conftest.err
12761 rm -f conftest.er1 13080 rm -f conftest.er1
12762 cat conftest.err >&5 13081 cat conftest.err >&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); } && { 13083 (exit $ac_status); } && {
12765 test -z "$ac_c_werror_flag" || 13084 test -z "$ac_c_werror_flag" ||
12766 test ! -s conftest.err 13085 test ! -s conftest.err
12767 } && test -s conftest.$ac_objext; then 13086 } && test -s conftest.$ac_objext; then
12768 emacs_cv_arg6_star=yes 13087 emacs_cv_arg6_star=yes
12769 else 13088 else
12770 echo "$as_me: failed program was:" >&5 13089 $as_echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5 13090 sed 's/^/| /' conftest.$ac_ext >&5
12772 13091
12773 13092
12774 fi 13093 fi
12775 13094
12798 13117
12799 succeeded=no 13118 succeeded=no
12800 13119
12801 # Extract the first word of "pkg-config", so it can be a program name with args. 13120 # Extract the first word of "pkg-config", so it can be a program name with args.
12802 set dummy pkg-config; ac_word=$2 13121 set dummy pkg-config; ac_word=$2
12803 { echo "$as_me:$LINENO: checking for $ac_word" >&5 13122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 13123 $as_echo_n "checking for $ac_word... " >&6; }
12805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13124 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6 13125 $as_echo_n "(cached) " >&6
12807 else 13126 else
12808 case $PKG_CONFIG in 13127 case $PKG_CONFIG in
12809 [\\/]* | ?:[\\/]*) 13128 [\\/]* | ?:[\\/]*)
12810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13129 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12811 ;; 13130 ;;
12816 IFS=$as_save_IFS 13135 IFS=$as_save_IFS
12817 test -z "$as_dir" && as_dir=. 13136 test -z "$as_dir" && as_dir=.
12818 for ac_exec_ext in '' $ac_executable_extensions; do 13137 for ac_exec_ext in '' $ac_executable_extensions; do
12819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 break 2 13141 break 2
12823 fi 13142 fi
12824 done 13143 done
12825 done 13144 done
12826 IFS=$as_save_IFS 13145 IFS=$as_save_IFS
12829 ;; 13148 ;;
12830 esac 13149 esac
12831 fi 13150 fi
12832 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13151 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12833 if test -n "$PKG_CONFIG"; then 13152 if test -n "$PKG_CONFIG"; then
12834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13153 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12835 echo "${ECHO_T}$PKG_CONFIG" >&6; } 13154 $as_echo "$PKG_CONFIG" >&6; }
12836 else 13155 else
12837 { echo "$as_me:$LINENO: result: no" >&5 13156 { $as_echo "$as_me:$LINENO: result: no" >&5
12838 echo "${ECHO_T}no" >&6; } 13157 $as_echo "no" >&6; }
12839 fi 13158 fi
12840 13159
12841 13160
12842 13161
12843 if test "$PKG_CONFIG" = "no" ; then 13162 if test "$PKG_CONFIG" = "no" ; then
12844 HAVE_FC=no 13163 HAVE_FC=no
12845 else 13164 else
12846 PKG_CONFIG_MIN_VERSION=0.9.0 13165 PKG_CONFIG_MIN_VERSION=0.9.0
12847 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13166 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12848 { echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 13167 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5
12849 echo $ECHO_N "checking for fontconfig >= 2.2.0... $ECHO_C" >&6; } 13168 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; }
12850 13169
12851 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 13170 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
12852 { echo "$as_me:$LINENO: result: yes" >&5 13171 { $as_echo "$as_me:$LINENO: result: yes" >&5
12853 echo "${ECHO_T}yes" >&6; } 13172 $as_echo "yes" >&6; }
12854 succeeded=yes 13173 succeeded=yes
12855 13174
12856 { echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 13175 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5
12857 echo $ECHO_N "checking FONTCONFIG_CFLAGS... $ECHO_C" >&6; } 13176 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; }
12858 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13177 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
12859 { echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 13178 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5
12860 echo "${ECHO_T}$FONTCONFIG_CFLAGS" >&6; } 13179 $as_echo "$FONTCONFIG_CFLAGS" >&6; }
12861 13180
12862 { echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 13181 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5
12863 echo $ECHO_N "checking FONTCONFIG_LIBS... $ECHO_C" >&6; } 13182 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; }
12864 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 13183 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
12865 { echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 13184 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5
12866 echo "${ECHO_T}$FONTCONFIG_LIBS" >&6; } 13185 $as_echo "$FONTCONFIG_LIBS" >&6; }
12867 else 13186 else
12868 { echo "$as_me:$LINENO: result: no" >&5 13187 { $as_echo "$as_me:$LINENO: result: no" >&5
12869 echo "${ECHO_T}no" >&6; } 13188 $as_echo "no" >&6; }
12870 FONTCONFIG_CFLAGS="" 13189 FONTCONFIG_CFLAGS=""
12871 FONTCONFIG_LIBS="" 13190 FONTCONFIG_LIBS=""
12872 ## If we have a custom action on failure, don't print errors, but 13191 ## If we have a custom action on failure, don't print errors, but
12873 ## do set a variable so people can do so. 13192 ## do set a variable so people can do so.
12874 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"` 13193 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"`
12900 13219
12901 succeeded=no 13220 succeeded=no
12902 13221
12903 # Extract the first word of "pkg-config", so it can be a program name with args. 13222 # Extract the first word of "pkg-config", so it can be a program name with args.
12904 set dummy pkg-config; ac_word=$2 13223 set dummy pkg-config; ac_word=$2
12905 { echo "$as_me:$LINENO: checking for $ac_word" >&5 13224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 13225 $as_echo_n "checking for $ac_word... " >&6; }
12907 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12908 echo $ECHO_N "(cached) $ECHO_C" >&6 13227 $as_echo_n "(cached) " >&6
12909 else 13228 else
12910 case $PKG_CONFIG in 13229 case $PKG_CONFIG in
12911 [\\/]* | ?:[\\/]*) 13230 [\\/]* | ?:[\\/]*)
12912 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12913 ;; 13232 ;;
12918 IFS=$as_save_IFS 13237 IFS=$as_save_IFS
12919 test -z "$as_dir" && as_dir=. 13238 test -z "$as_dir" && as_dir=.
12920 for ac_exec_ext in '' $ac_executable_extensions; do 13239 for ac_exec_ext in '' $ac_executable_extensions; do
12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12922 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12924 break 2 13243 break 2
12925 fi 13244 fi
12926 done 13245 done
12927 done 13246 done
12928 IFS=$as_save_IFS 13247 IFS=$as_save_IFS
12931 ;; 13250 ;;
12932 esac 13251 esac
12933 fi 13252 fi
12934 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13253 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12935 if test -n "$PKG_CONFIG"; then 13254 if test -n "$PKG_CONFIG"; then
12936 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13255 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12937 echo "${ECHO_T}$PKG_CONFIG" >&6; } 13256 $as_echo "$PKG_CONFIG" >&6; }
12938 else 13257 else
12939 { echo "$as_me:$LINENO: result: no" >&5 13258 { $as_echo "$as_me:$LINENO: result: no" >&5
12940 echo "${ECHO_T}no" >&6; } 13259 $as_echo "no" >&6; }
12941 fi 13260 fi
12942 13261
12943 13262
12944 13263
12945 if test "$PKG_CONFIG" = "no" ; then 13264 if test "$PKG_CONFIG" = "no" ; then
12946 HAVE_XFT=no 13265 HAVE_XFT=no
12947 else 13266 else
12948 PKG_CONFIG_MIN_VERSION=0.9.0 13267 PKG_CONFIG_MIN_VERSION=0.9.0
12949 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13268 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12950 { echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 13269 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5
12951 echo $ECHO_N "checking for xft >= 0.13.0... $ECHO_C" >&6; } 13270 $as_echo_n "checking for xft >= 0.13.0... " >&6; }
12952 13271
12953 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 13272 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
12954 { echo "$as_me:$LINENO: result: yes" >&5 13273 { $as_echo "$as_me:$LINENO: result: yes" >&5
12955 echo "${ECHO_T}yes" >&6; } 13274 $as_echo "yes" >&6; }
12956 succeeded=yes 13275 succeeded=yes
12957 13276
12958 { echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 13277 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5
12959 echo $ECHO_N "checking XFT_CFLAGS... $ECHO_C" >&6; } 13278 $as_echo_n "checking XFT_CFLAGS... " >&6; }
12960 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13279 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
12961 { echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 13280 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5
12962 echo "${ECHO_T}$XFT_CFLAGS" >&6; } 13281 $as_echo "$XFT_CFLAGS" >&6; }
12963 13282
12964 { echo "$as_me:$LINENO: checking XFT_LIBS" >&5 13283 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5
12965 echo $ECHO_N "checking XFT_LIBS... $ECHO_C" >&6; } 13284 $as_echo_n "checking XFT_LIBS... " >&6; }
12966 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 13285 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
12967 { echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 13286 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5
12968 echo "${ECHO_T}$XFT_LIBS" >&6; } 13287 $as_echo "$XFT_LIBS" >&6; }
12969 else 13288 else
12970 { echo "$as_me:$LINENO: result: no" >&5 13289 { $as_echo "$as_me:$LINENO: result: no" >&5
12971 echo "${ECHO_T}no" >&6; } 13290 $as_echo "no" >&6; }
12972 XFT_CFLAGS="" 13291 XFT_CFLAGS=""
12973 XFT_LIBS="" 13292 XFT_LIBS=""
12974 ## If we have a custom action on failure, don't print errors, but 13293 ## If we have a custom action on failure, don't print errors, but
12975 ## do set a variable so people can do so. 13294 ## do set a variable so people can do so.
12976 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"` 13295 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"`
12997 OLD_LIBS="$LIBS" 13316 OLD_LIBS="$LIBS"
12998 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 13317 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
12999 CFLAGS="$CFLAGS $XFT_CFLAGS" 13318 CFLAGS="$CFLAGS $XFT_CFLAGS"
13000 LIBS="$XFT_LIBS $LIBS" 13319 LIBS="$XFT_LIBS $LIBS"
13001 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 13320 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13002 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 13321 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13003 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; } 13322 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
13004 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 13323 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6 13324 $as_echo_n "(cached) " >&6
13006 fi 13325 fi
13007 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 13326 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13008 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; } 13327 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13009 else 13328 else
13010 # Is the header compilable? 13329 # Is the header compilable?
13011 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 13330 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13012 echo $ECHO_N "checking X11/Xft/Xft.h usability... $ECHO_C" >&6; } 13331 $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; }
13013 cat >conftest.$ac_ext <<_ACEOF 13332 cat >conftest.$ac_ext <<_ACEOF
13014 /* confdefs.h. */ 13333 /* confdefs.h. */
13015 _ACEOF 13334 _ACEOF
13016 cat confdefs.h >>conftest.$ac_ext 13335 cat confdefs.h >>conftest.$ac_ext
13017 cat >>conftest.$ac_ext <<_ACEOF 13336 cat >>conftest.$ac_ext <<_ACEOF
13023 if { (ac_try="$ac_compile" 13342 if { (ac_try="$ac_compile"
13024 case "(($ac_try" in 13343 case "(($ac_try" in
13025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13026 *) ac_try_echo=$ac_try;; 13345 *) ac_try_echo=$ac_try;;
13027 esac 13346 esac
13028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13348 $as_echo "$ac_try_echo") >&5
13029 (eval "$ac_compile") 2>conftest.er1 13349 (eval "$ac_compile") 2>conftest.er1
13030 ac_status=$? 13350 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err 13351 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1 13352 rm -f conftest.er1
13033 cat conftest.err >&5 13353 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } && { 13355 (exit $ac_status); } && {
13036 test -z "$ac_c_werror_flag" || 13356 test -z "$ac_c_werror_flag" ||
13037 test ! -s conftest.err 13357 test ! -s conftest.err
13038 } && test -s conftest.$ac_objext; then 13358 } && test -s conftest.$ac_objext; then
13039 ac_header_compiler=yes 13359 ac_header_compiler=yes
13040 else 13360 else
13041 echo "$as_me: failed program was:" >&5 13361 $as_echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.$ac_ext >&5 13362 sed 's/^/| /' conftest.$ac_ext >&5
13043 13363
13044 ac_header_compiler=no 13364 ac_header_compiler=no
13045 fi 13365 fi
13046 13366
13047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13048 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13368 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13049 echo "${ECHO_T}$ac_header_compiler" >&6; } 13369 $as_echo "$ac_header_compiler" >&6; }
13050 13370
13051 # Is the header present? 13371 # Is the header present?
13052 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 13372 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13053 echo $ECHO_N "checking X11/Xft/Xft.h presence... $ECHO_C" >&6; } 13373 $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; }
13054 cat >conftest.$ac_ext <<_ACEOF 13374 cat >conftest.$ac_ext <<_ACEOF
13055 /* confdefs.h. */ 13375 /* confdefs.h. */
13056 _ACEOF 13376 _ACEOF
13057 cat confdefs.h >>conftest.$ac_ext 13377 cat confdefs.h >>conftest.$ac_ext
13058 cat >>conftest.$ac_ext <<_ACEOF 13378 cat >>conftest.$ac_ext <<_ACEOF
13062 if { (ac_try="$ac_cpp conftest.$ac_ext" 13382 if { (ac_try="$ac_cpp conftest.$ac_ext"
13063 case "(($ac_try" in 13383 case "(($ac_try" in
13064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13065 *) ac_try_echo=$ac_try;; 13385 *) ac_try_echo=$ac_try;;
13066 esac 13386 esac
13067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13388 $as_echo "$ac_try_echo") >&5
13068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13069 ac_status=$? 13390 ac_status=$?
13070 grep -v '^ *+' conftest.er1 >conftest.err 13391 grep -v '^ *+' conftest.er1 >conftest.err
13071 rm -f conftest.er1 13392 rm -f conftest.er1
13072 cat conftest.err >&5 13393 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } >/dev/null && { 13395 (exit $ac_status); } >/dev/null && {
13075 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13076 test ! -s conftest.err 13397 test ! -s conftest.err
13077 }; then 13398 }; then
13078 ac_header_preproc=yes 13399 ac_header_preproc=yes
13079 else 13400 else
13080 echo "$as_me: failed program was:" >&5 13401 $as_echo "$as_me: failed program was:" >&5
13081 sed 's/^/| /' conftest.$ac_ext >&5 13402 sed 's/^/| /' conftest.$ac_ext >&5
13082 13403
13083 ac_header_preproc=no 13404 ac_header_preproc=no
13084 fi 13405 fi
13085 13406
13086 rm -f conftest.err conftest.$ac_ext 13407 rm -f conftest.err conftest.$ac_ext
13087 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13408 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13088 echo "${ECHO_T}$ac_header_preproc" >&6; } 13409 $as_echo "$ac_header_preproc" >&6; }
13089 13410
13090 # So? What about this header? 13411 # So? What about this header?
13091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13092 yes:no: ) 13413 yes:no: )
13093 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 13414 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
13094 echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13415 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13095 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 13416 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
13096 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} 13417 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
13097 ac_header_preproc=yes 13418 ac_header_preproc=yes
13098 ;; 13419 ;;
13099 no:yes:* ) 13420 no:yes:* )
13100 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 13421 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
13101 echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} 13422 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
13102 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 13423 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
13103 echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} 13424 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
13104 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 13425 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
13105 echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} 13426 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
13106 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 13427 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
13107 echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} 13428 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
13108 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 13429 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
13109 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} 13430 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
13110 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 13431 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
13111 echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} 13432 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
13112 13433
13113 ;; 13434 ;;
13114 esac 13435 esac
13115 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 13436 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13116 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; } 13437 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; }
13117 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 13438 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6 13439 $as_echo_n "(cached) " >&6
13119 else 13440 else
13120 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc 13441 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
13121 fi 13442 fi
13122 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 13443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13123 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; } 13444 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; }
13124 13445
13125 fi 13446 fi
13126 if test $ac_cv_header_X11_Xft_Xft_h = yes; then 13447 if test $ac_cv_header_X11_Xft_Xft_h = yes; then
13127 { echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 13448 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
13128 echo $ECHO_N "checking for XftFontOpen in -lXft... $ECHO_C" >&6; } 13449 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
13129 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 13450 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
13130 echo $ECHO_N "(cached) $ECHO_C" >&6 13451 $as_echo_n "(cached) " >&6
13131 else 13452 else
13132 ac_check_lib_save_LIBS=$LIBS 13453 ac_check_lib_save_LIBS=$LIBS
13133 LIBS="-lXft $XFT_LIBS $LIBS" 13454 LIBS="-lXft $XFT_LIBS $LIBS"
13134 cat >conftest.$ac_ext <<_ACEOF 13455 cat >conftest.$ac_ext <<_ACEOF
13135 /* confdefs.h. */ 13456 /* confdefs.h. */
13157 if { (ac_try="$ac_link" 13478 if { (ac_try="$ac_link"
13158 case "(($ac_try" in 13479 case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;; 13481 *) ac_try_echo=$ac_try;;
13161 esac 13482 esac
13162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13484 $as_echo "$ac_try_echo") >&5
13163 (eval "$ac_link") 2>conftest.er1 13485 (eval "$ac_link") 2>conftest.er1
13164 ac_status=$? 13486 ac_status=$?
13165 grep -v '^ *+' conftest.er1 >conftest.err 13487 grep -v '^ *+' conftest.er1 >conftest.err
13166 rm -f conftest.er1 13488 rm -f conftest.er1
13167 cat conftest.err >&5 13489 cat conftest.err >&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); } && { 13491 (exit $ac_status); } && {
13170 test -z "$ac_c_werror_flag" || 13492 test -z "$ac_c_werror_flag" ||
13171 test ! -s conftest.err 13493 test ! -s conftest.err
13172 } && test -s conftest$ac_exeext && 13494 } && test -s conftest$ac_exeext && {
13173 $as_test_x conftest$ac_exeext; then 13495 test "$cross_compiling" = yes ||
13496 $as_test_x conftest$ac_exeext
13497 }; then
13174 ac_cv_lib_Xft_XftFontOpen=yes 13498 ac_cv_lib_Xft_XftFontOpen=yes
13175 else 13499 else
13176 echo "$as_me: failed program was:" >&5 13500 $as_echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5 13501 sed 's/^/| /' conftest.$ac_ext >&5
13178 13502
13179 ac_cv_lib_Xft_XftFontOpen=no 13503 ac_cv_lib_Xft_XftFontOpen=no
13180 fi 13504 fi
13181 13505
13506 rm -rf conftest.dSYM
13182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13183 conftest$ac_exeext conftest.$ac_ext 13508 conftest$ac_exeext conftest.$ac_ext
13184 LIBS=$ac_check_lib_save_LIBS 13509 LIBS=$ac_check_lib_save_LIBS
13185 fi 13510 fi
13186 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 13511 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
13187 echo "${ECHO_T}$ac_cv_lib_Xft_XftFontOpen" >&6; } 13512 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
13188 if test $ac_cv_lib_Xft_XftFontOpen = yes; then 13513 if test $ac_cv_lib_Xft_XftFontOpen = yes; then
13189 HAVE_XFT=yes 13514 HAVE_XFT=yes
13190 fi 13515 fi
13191 13516
13192 fi 13517 fi
13234 13559
13235 succeeded=no 13560 succeeded=no
13236 13561
13237 # Extract the first word of "pkg-config", so it can be a program name with args. 13562 # Extract the first word of "pkg-config", so it can be a program name with args.
13238 set dummy pkg-config; ac_word=$2 13563 set dummy pkg-config; ac_word=$2
13239 { echo "$as_me:$LINENO: checking for $ac_word" >&5 13564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 13565 $as_echo_n "checking for $ac_word... " >&6; }
13241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6 13567 $as_echo_n "(cached) " >&6
13243 else 13568 else
13244 case $PKG_CONFIG in 13569 case $PKG_CONFIG in
13245 [\\/]* | ?:[\\/]*) 13570 [\\/]* | ?:[\\/]*)
13246 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13571 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13247 ;; 13572 ;;
13252 IFS=$as_save_IFS 13577 IFS=$as_save_IFS
13253 test -z "$as_dir" && as_dir=. 13578 test -z "$as_dir" && as_dir=.
13254 for ac_exec_ext in '' $ac_executable_extensions; do 13579 for ac_exec_ext in '' $ac_executable_extensions; do
13255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13256 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13581 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13582 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13258 break 2 13583 break 2
13259 fi 13584 fi
13260 done 13585 done
13261 done 13586 done
13262 IFS=$as_save_IFS 13587 IFS=$as_save_IFS
13265 ;; 13590 ;;
13266 esac 13591 esac
13267 fi 13592 fi
13268 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13593 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13269 if test -n "$PKG_CONFIG"; then 13594 if test -n "$PKG_CONFIG"; then
13270 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13595 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13271 echo "${ECHO_T}$PKG_CONFIG" >&6; } 13596 $as_echo "$PKG_CONFIG" >&6; }
13272 else 13597 else
13273 { echo "$as_me:$LINENO: result: no" >&5 13598 { $as_echo "$as_me:$LINENO: result: no" >&5
13274 echo "${ECHO_T}no" >&6; } 13599 $as_echo "no" >&6; }
13275 fi 13600 fi
13276 13601
13277 13602
13278 13603
13279 if test "$PKG_CONFIG" = "no" ; then 13604 if test "$PKG_CONFIG" = "no" ; then
13280 HAVE_LIBOTF=no 13605 HAVE_LIBOTF=no
13281 else 13606 else
13282 PKG_CONFIG_MIN_VERSION=0.9.0 13607 PKG_CONFIG_MIN_VERSION=0.9.0
13283 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13608 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13284 { echo "$as_me:$LINENO: checking for libotf" >&5 13609 { $as_echo "$as_me:$LINENO: checking for libotf" >&5
13285 echo $ECHO_N "checking for libotf... $ECHO_C" >&6; } 13610 $as_echo_n "checking for libotf... " >&6; }
13286 13611
13287 if $PKG_CONFIG --exists "libotf" 2>&5; then 13612 if $PKG_CONFIG --exists "libotf" 2>&5; then
13288 { echo "$as_me:$LINENO: result: yes" >&5 13613 { $as_echo "$as_me:$LINENO: result: yes" >&5
13289 echo "${ECHO_T}yes" >&6; } 13614 $as_echo "yes" >&6; }
13290 succeeded=yes 13615 succeeded=yes
13291 13616
13292 { echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 13617 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
13293 echo $ECHO_N "checking LIBOTF_CFLAGS... $ECHO_C" >&6; } 13618 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
13294 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 13619 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
13295 { echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 13620 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
13296 echo "${ECHO_T}$LIBOTF_CFLAGS" >&6; } 13621 $as_echo "$LIBOTF_CFLAGS" >&6; }
13297 13622
13298 { echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 13623 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
13299 echo $ECHO_N "checking LIBOTF_LIBS... $ECHO_C" >&6; } 13624 $as_echo_n "checking LIBOTF_LIBS... " >&6; }
13300 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 13625 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
13301 { echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 13626 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
13302 echo "${ECHO_T}$LIBOTF_LIBS" >&6; } 13627 $as_echo "$LIBOTF_LIBS" >&6; }
13303 else 13628 else
13304 { echo "$as_me:$LINENO: result: no" >&5 13629 { $as_echo "$as_me:$LINENO: result: no" >&5
13305 echo "${ECHO_T}no" >&6; } 13630 $as_echo "no" >&6; }
13306 LIBOTF_CFLAGS="" 13631 LIBOTF_CFLAGS=""
13307 LIBOTF_LIBS="" 13632 LIBOTF_LIBS=""
13308 ## If we have a custom action on failure, don't print errors, but 13633 ## If we have a custom action on failure, don't print errors, but
13309 ## do set a variable so people can do so. 13634 ## do set a variable so people can do so.
13310 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"` 13635 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"`
13329 13654
13330 cat >>confdefs.h <<\_ACEOF 13655 cat >>confdefs.h <<\_ACEOF
13331 #define HAVE_LIBOTF 1 13656 #define HAVE_LIBOTF 1
13332 _ACEOF 13657 _ACEOF
13333 13658
13334 { echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 13659 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5
13335 echo $ECHO_N "checking for OTF_get_variation_glyphs in -lotf... $ECHO_C" >&6; } 13660 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; }
13336 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then 13661 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6 13662 $as_echo_n "(cached) " >&6
13338 else 13663 else
13339 ac_check_lib_save_LIBS=$LIBS 13664 ac_check_lib_save_LIBS=$LIBS
13340 LIBS="-lotf $LIBS" 13665 LIBS="-lotf $LIBS"
13341 cat >conftest.$ac_ext <<_ACEOF 13666 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */ 13667 /* confdefs.h. */
13364 if { (ac_try="$ac_link" 13689 if { (ac_try="$ac_link"
13365 case "(($ac_try" in 13690 case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;; 13692 *) ac_try_echo=$ac_try;;
13368 esac 13693 esac
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13695 $as_echo "$ac_try_echo") >&5
13370 (eval "$ac_link") 2>conftest.er1 13696 (eval "$ac_link") 2>conftest.er1
13371 ac_status=$? 13697 ac_status=$?
13372 grep -v '^ *+' conftest.er1 >conftest.err 13698 grep -v '^ *+' conftest.er1 >conftest.err
13373 rm -f conftest.er1 13699 rm -f conftest.er1
13374 cat conftest.err >&5 13700 cat conftest.err >&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } && { 13702 (exit $ac_status); } && {
13377 test -z "$ac_c_werror_flag" || 13703 test -z "$ac_c_werror_flag" ||
13378 test ! -s conftest.err 13704 test ! -s conftest.err
13379 } && test -s conftest$ac_exeext && 13705 } && test -s conftest$ac_exeext && {
13380 $as_test_x conftest$ac_exeext; then 13706 test "$cross_compiling" = yes ||
13707 $as_test_x conftest$ac_exeext
13708 }; then
13381 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 13709 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
13382 else 13710 else
13383 echo "$as_me: failed program was:" >&5 13711 $as_echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5 13712 sed 's/^/| /' conftest.$ac_ext >&5
13385 13713
13386 ac_cv_lib_otf_OTF_get_variation_glyphs=no 13714 ac_cv_lib_otf_OTF_get_variation_glyphs=no
13387 fi 13715 fi
13388 13716
13717 rm -rf conftest.dSYM
13389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13390 conftest$ac_exeext conftest.$ac_ext 13719 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_lib_save_LIBS 13720 LIBS=$ac_check_lib_save_LIBS
13392 fi 13721 fi
13393 { echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 13722 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
13394 echo "${ECHO_T}$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 13723 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
13395 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then 13724 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then
13396 HAVE_OTF_GET_VARIATION_GLYPHS=yes 13725 HAVE_OTF_GET_VARIATION_GLYPHS=yes
13397 else 13726 else
13398 HAVE_OTF_GET_VARIATION_GLYPHS=no 13727 HAVE_OTF_GET_VARIATION_GLYPHS=no
13399 fi 13728 fi
13415 13744
13416 succeeded=no 13745 succeeded=no
13417 13746
13418 # Extract the first word of "pkg-config", so it can be a program name with args. 13747 # Extract the first word of "pkg-config", so it can be a program name with args.
13419 set dummy pkg-config; ac_word=$2 13748 set dummy pkg-config; ac_word=$2
13420 { echo "$as_me:$LINENO: checking for $ac_word" >&5 13749 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 13750 $as_echo_n "checking for $ac_word... " >&6; }
13422 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6 13752 $as_echo_n "(cached) " >&6
13424 else 13753 else
13425 case $PKG_CONFIG in 13754 case $PKG_CONFIG in
13426 [\\/]* | ?:[\\/]*) 13755 [\\/]* | ?:[\\/]*)
13427 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13756 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13428 ;; 13757 ;;
13433 IFS=$as_save_IFS 13762 IFS=$as_save_IFS
13434 test -z "$as_dir" && as_dir=. 13763 test -z "$as_dir" && as_dir=.
13435 for ac_exec_ext in '' $ac_executable_extensions; do 13764 for ac_exec_ext in '' $ac_executable_extensions; do
13436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13437 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13766 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13439 break 2 13768 break 2
13440 fi 13769 fi
13441 done 13770 done
13442 done 13771 done
13443 IFS=$as_save_IFS 13772 IFS=$as_save_IFS
13446 ;; 13775 ;;
13447 esac 13776 esac
13448 fi 13777 fi
13449 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13778 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13450 if test -n "$PKG_CONFIG"; then 13779 if test -n "$PKG_CONFIG"; then
13451 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13780 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13452 echo "${ECHO_T}$PKG_CONFIG" >&6; } 13781 $as_echo "$PKG_CONFIG" >&6; }
13453 else 13782 else
13454 { echo "$as_me:$LINENO: result: no" >&5 13783 { $as_echo "$as_me:$LINENO: result: no" >&5
13455 echo "${ECHO_T}no" >&6; } 13784 $as_echo "no" >&6; }
13456 fi 13785 fi
13457 13786
13458 13787
13459 13788
13460 if test "$PKG_CONFIG" = "no" ; then 13789 if test "$PKG_CONFIG" = "no" ; then
13461 HAVE_M17N_FLT=no 13790 HAVE_M17N_FLT=no
13462 else 13791 else
13463 PKG_CONFIG_MIN_VERSION=0.9.0 13792 PKG_CONFIG_MIN_VERSION=0.9.0
13464 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13793 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13465 { echo "$as_me:$LINENO: checking for m17n-flt" >&5 13794 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5
13466 echo $ECHO_N "checking for m17n-flt... $ECHO_C" >&6; } 13795 $as_echo_n "checking for m17n-flt... " >&6; }
13467 13796
13468 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 13797 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
13469 { echo "$as_me:$LINENO: result: yes" >&5 13798 { $as_echo "$as_me:$LINENO: result: yes" >&5
13470 echo "${ECHO_T}yes" >&6; } 13799 $as_echo "yes" >&6; }
13471 succeeded=yes 13800 succeeded=yes
13472 13801
13473 { echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 13802 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5
13474 echo $ECHO_N "checking M17N_FLT_CFLAGS... $ECHO_C" >&6; } 13803 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; }
13475 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 13804 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
13476 { echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 13805 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5
13477 echo "${ECHO_T}$M17N_FLT_CFLAGS" >&6; } 13806 $as_echo "$M17N_FLT_CFLAGS" >&6; }
13478 13807
13479 { echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 13808 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5
13480 echo $ECHO_N "checking M17N_FLT_LIBS... $ECHO_C" >&6; } 13809 $as_echo_n "checking M17N_FLT_LIBS... " >&6; }
13481 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 13810 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
13482 { echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 13811 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5
13483 echo "${ECHO_T}$M17N_FLT_LIBS" >&6; } 13812 $as_echo "$M17N_FLT_LIBS" >&6; }
13484 else 13813 else
13485 { echo "$as_me:$LINENO: result: no" >&5 13814 { $as_echo "$as_me:$LINENO: result: no" >&5
13486 echo "${ECHO_T}no" >&6; } 13815 $as_echo "no" >&6; }
13487 M17N_FLT_CFLAGS="" 13816 M17N_FLT_CFLAGS=""
13488 M17N_FLT_LIBS="" 13817 M17N_FLT_LIBS=""
13489 ## If we have a custom action on failure, don't print errors, but 13818 ## If we have a custom action on failure, don't print errors, but
13490 ## do set a variable so people can do so. 13819 ## do set a variable so people can do so.
13491 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"` 13820 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"`
13535 ### Use -lXpm if available, unless `--with-xpm=no'. 13864 ### Use -lXpm if available, unless `--with-xpm=no'.
13536 HAVE_XPM=no 13865 HAVE_XPM=no
13537 if test "${HAVE_X11}" = "yes"; then 13866 if test "${HAVE_X11}" = "yes"; then
13538 if test "${with_xpm}" != "no"; then 13867 if test "${with_xpm}" != "no"; then
13539 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13868 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13540 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13869 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13541 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } 13870 $as_echo_n "checking for X11/xpm.h... " >&6; }
13542 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13871 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6 13872 $as_echo_n "(cached) " >&6
13544 fi 13873 fi
13545 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13546 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } 13875 $as_echo "$ac_cv_header_X11_xpm_h" >&6; }
13547 else 13876 else
13548 # Is the header compilable? 13877 # Is the header compilable?
13549 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 13878 { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
13550 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; } 13879 $as_echo_n "checking X11/xpm.h usability... " >&6; }
13551 cat >conftest.$ac_ext <<_ACEOF 13880 cat >conftest.$ac_ext <<_ACEOF
13552 /* confdefs.h. */ 13881 /* confdefs.h. */
13553 _ACEOF 13882 _ACEOF
13554 cat confdefs.h >>conftest.$ac_ext 13883 cat confdefs.h >>conftest.$ac_ext
13555 cat >>conftest.$ac_ext <<_ACEOF 13884 cat >>conftest.$ac_ext <<_ACEOF
13561 if { (ac_try="$ac_compile" 13890 if { (ac_try="$ac_compile"
13562 case "(($ac_try" in 13891 case "(($ac_try" in
13563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13564 *) ac_try_echo=$ac_try;; 13893 *) ac_try_echo=$ac_try;;
13565 esac 13894 esac
13566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13896 $as_echo "$ac_try_echo") >&5
13567 (eval "$ac_compile") 2>conftest.er1 13897 (eval "$ac_compile") 2>conftest.er1
13568 ac_status=$? 13898 ac_status=$?
13569 grep -v '^ *+' conftest.er1 >conftest.err 13899 grep -v '^ *+' conftest.er1 >conftest.err
13570 rm -f conftest.er1 13900 rm -f conftest.er1
13571 cat conftest.err >&5 13901 cat conftest.err >&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } && { 13903 (exit $ac_status); } && {
13574 test -z "$ac_c_werror_flag" || 13904 test -z "$ac_c_werror_flag" ||
13575 test ! -s conftest.err 13905 test ! -s conftest.err
13576 } && test -s conftest.$ac_objext; then 13906 } && test -s conftest.$ac_objext; then
13577 ac_header_compiler=yes 13907 ac_header_compiler=yes
13578 else 13908 else
13579 echo "$as_me: failed program was:" >&5 13909 $as_echo "$as_me: failed program was:" >&5
13580 sed 's/^/| /' conftest.$ac_ext >&5 13910 sed 's/^/| /' conftest.$ac_ext >&5
13581 13911
13582 ac_header_compiler=no 13912 ac_header_compiler=no
13583 fi 13913 fi
13584 13914
13585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13586 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13587 echo "${ECHO_T}$ac_header_compiler" >&6; } 13917 $as_echo "$ac_header_compiler" >&6; }
13588 13918
13589 # Is the header present? 13919 # Is the header present?
13590 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 13920 { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
13591 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; } 13921 $as_echo_n "checking X11/xpm.h presence... " >&6; }
13592 cat >conftest.$ac_ext <<_ACEOF 13922 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */ 13923 /* confdefs.h. */
13594 _ACEOF 13924 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext 13925 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF 13926 cat >>conftest.$ac_ext <<_ACEOF
13600 if { (ac_try="$ac_cpp conftest.$ac_ext" 13930 if { (ac_try="$ac_cpp conftest.$ac_ext"
13601 case "(($ac_try" in 13931 case "(($ac_try" in
13602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13603 *) ac_try_echo=$ac_try;; 13933 *) ac_try_echo=$ac_try;;
13604 esac 13934 esac
13605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13936 $as_echo "$ac_try_echo") >&5
13606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13607 ac_status=$? 13938 ac_status=$?
13608 grep -v '^ *+' conftest.er1 >conftest.err 13939 grep -v '^ *+' conftest.er1 >conftest.err
13609 rm -f conftest.er1 13940 rm -f conftest.er1
13610 cat conftest.err >&5 13941 cat conftest.err >&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } >/dev/null && { 13943 (exit $ac_status); } >/dev/null && {
13613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13614 test ! -s conftest.err 13945 test ! -s conftest.err
13615 }; then 13946 }; then
13616 ac_header_preproc=yes 13947 ac_header_preproc=yes
13617 else 13948 else
13618 echo "$as_me: failed program was:" >&5 13949 $as_echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5 13950 sed 's/^/| /' conftest.$ac_ext >&5
13620 13951
13621 ac_header_preproc=no 13952 ac_header_preproc=no
13622 fi 13953 fi
13623 13954
13624 rm -f conftest.err conftest.$ac_ext 13955 rm -f conftest.err conftest.$ac_ext
13625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13626 echo "${ECHO_T}$ac_header_preproc" >&6; } 13957 $as_echo "$ac_header_preproc" >&6; }
13627 13958
13628 # So? What about this header? 13959 # So? What about this header?
13629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13630 yes:no: ) 13961 yes:no: )
13631 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 13962 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
13632 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13963 $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13633 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 13964 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
13634 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} 13965 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
13635 ac_header_preproc=yes 13966 ac_header_preproc=yes
13636 ;; 13967 ;;
13637 no:yes:* ) 13968 no:yes:* )
13638 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 13969 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
13639 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} 13970 $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
13640 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 13971 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
13641 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} 13972 $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
13642 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 13973 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
13643 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} 13974 $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
13644 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 13975 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
13645 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 13976 $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
13646 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 13977 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
13647 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} 13978 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
13648 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 13979 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
13649 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} 13980 $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
13650 13981
13651 ;; 13982 ;;
13652 esac 13983 esac
13653 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13984 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13654 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } 13985 $as_echo_n "checking for X11/xpm.h... " >&6; }
13655 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13986 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13656 echo $ECHO_N "(cached) $ECHO_C" >&6 13987 $as_echo_n "(cached) " >&6
13657 else 13988 else
13658 ac_cv_header_X11_xpm_h=$ac_header_preproc 13989 ac_cv_header_X11_xpm_h=$ac_header_preproc
13659 fi 13990 fi
13660 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13661 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } 13992 $as_echo "$ac_cv_header_X11_xpm_h" >&6; }
13662 13993
13663 fi 13994 fi
13664 if test $ac_cv_header_X11_xpm_h = yes; then 13995 if test $ac_cv_header_X11_xpm_h = yes; then
13665 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 13996 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
13666 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; } 13997 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; }
13667 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 13998 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6 13999 $as_echo_n "(cached) " >&6
13669 else 14000 else
13670 ac_check_lib_save_LIBS=$LIBS 14001 ac_check_lib_save_LIBS=$LIBS
13671 LIBS="-lXpm -lX11 $LIBS" 14002 LIBS="-lXpm -lX11 $LIBS"
13672 cat >conftest.$ac_ext <<_ACEOF 14003 cat >conftest.$ac_ext <<_ACEOF
13673 /* confdefs.h. */ 14004 /* confdefs.h. */
13695 if { (ac_try="$ac_link" 14026 if { (ac_try="$ac_link"
13696 case "(($ac_try" in 14027 case "(($ac_try" in
13697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13698 *) ac_try_echo=$ac_try;; 14029 *) ac_try_echo=$ac_try;;
13699 esac 14030 esac
13700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14032 $as_echo "$ac_try_echo") >&5
13701 (eval "$ac_link") 2>conftest.er1 14033 (eval "$ac_link") 2>conftest.er1
13702 ac_status=$? 14034 ac_status=$?
13703 grep -v '^ *+' conftest.er1 >conftest.err 14035 grep -v '^ *+' conftest.er1 >conftest.err
13704 rm -f conftest.er1 14036 rm -f conftest.er1
13705 cat conftest.err >&5 14037 cat conftest.err >&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } && { 14039 (exit $ac_status); } && {
13708 test -z "$ac_c_werror_flag" || 14040 test -z "$ac_c_werror_flag" ||
13709 test ! -s conftest.err 14041 test ! -s conftest.err
13710 } && test -s conftest$ac_exeext && 14042 } && test -s conftest$ac_exeext && {
13711 $as_test_x conftest$ac_exeext; then 14043 test "$cross_compiling" = yes ||
14044 $as_test_x conftest$ac_exeext
14045 }; then
13712 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 14046 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
13713 else 14047 else
13714 echo "$as_me: failed program was:" >&5 14048 $as_echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.$ac_ext >&5 14049 sed 's/^/| /' conftest.$ac_ext >&5
13716 14050
13717 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 14051 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
13718 fi 14052 fi
13719 14053
14054 rm -rf conftest.dSYM
13720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13721 conftest$ac_exeext conftest.$ac_ext 14056 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_lib_save_LIBS 14057 LIBS=$ac_check_lib_save_LIBS
13723 fi 14058 fi
13724 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 14059 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
13725 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 14060 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
13726 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 14061 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
13727 HAVE_XPM=yes 14062 HAVE_XPM=yes
13728 fi 14063 fi
13729 14064
13730 fi 14065 fi
13731 14066
13732 14067
13733 if test "${HAVE_XPM}" = "yes"; then 14068 if test "${HAVE_XPM}" = "yes"; then
13734 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 14069 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
13735 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; } 14070 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; }
13736 cat >conftest.$ac_ext <<_ACEOF 14071 cat >conftest.$ac_ext <<_ACEOF
13737 /* confdefs.h. */ 14072 /* confdefs.h. */
13738 _ACEOF 14073 _ACEOF
13739 cat confdefs.h >>conftest.$ac_ext 14074 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF 14075 cat >>conftest.$ac_ext <<_ACEOF
13753 fi 14088 fi
13754 rm -f conftest* 14089 rm -f conftest*
13755 14090
13756 14091
13757 if test "${HAVE_XPM}" = "yes"; then 14092 if test "${HAVE_XPM}" = "yes"; then
13758 { echo "$as_me:$LINENO: result: yes" >&5 14093 { $as_echo "$as_me:$LINENO: result: yes" >&5
13759 echo "${ECHO_T}yes" >&6; } 14094 $as_echo "yes" >&6; }
13760 else 14095 else
13761 { echo "$as_me:$LINENO: result: no" >&5 14096 { $as_echo "$as_me:$LINENO: result: no" >&5
13762 echo "${ECHO_T}no" >&6; } 14097 $as_echo "no" >&6; }
13763 fi 14098 fi
13764 fi 14099 fi
13765 fi 14100 fi
13766 14101
13767 if test "${HAVE_XPM}" = "yes"; then 14102 if test "${HAVE_XPM}" = "yes"; then
13776 ### Use -ljpeg if available, unless `--with-jpeg=no'. 14111 ### Use -ljpeg if available, unless `--with-jpeg=no'.
13777 HAVE_JPEG=no 14112 HAVE_JPEG=no
13778 if test "${HAVE_X11}" = "yes"; then 14113 if test "${HAVE_X11}" = "yes"; then
13779 if test "${with_jpeg}" != "no"; then 14114 if test "${with_jpeg}" != "no"; then
13780 if test "${ac_cv_header_jerror_h+set}" = set; then 14115 if test "${ac_cv_header_jerror_h+set}" = set; then
13781 { echo "$as_me:$LINENO: checking for jerror.h" >&5 14116 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
13782 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } 14117 $as_echo_n "checking for jerror.h... " >&6; }
13783 if test "${ac_cv_header_jerror_h+set}" = set; then 14118 if test "${ac_cv_header_jerror_h+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6 14119 $as_echo_n "(cached) " >&6
13785 fi 14120 fi
13786 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 14121 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
13787 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } 14122 $as_echo "$ac_cv_header_jerror_h" >&6; }
13788 else 14123 else
13789 # Is the header compilable? 14124 # Is the header compilable?
13790 { echo "$as_me:$LINENO: checking jerror.h usability" >&5 14125 { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5
13791 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; } 14126 $as_echo_n "checking jerror.h usability... " >&6; }
13792 cat >conftest.$ac_ext <<_ACEOF 14127 cat >conftest.$ac_ext <<_ACEOF
13793 /* confdefs.h. */ 14128 /* confdefs.h. */
13794 _ACEOF 14129 _ACEOF
13795 cat confdefs.h >>conftest.$ac_ext 14130 cat confdefs.h >>conftest.$ac_ext
13796 cat >>conftest.$ac_ext <<_ACEOF 14131 cat >>conftest.$ac_ext <<_ACEOF
13802 if { (ac_try="$ac_compile" 14137 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in 14138 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;; 14140 *) ac_try_echo=$ac_try;;
13806 esac 14141 esac
13807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14143 $as_echo "$ac_try_echo") >&5
13808 (eval "$ac_compile") 2>conftest.er1 14144 (eval "$ac_compile") 2>conftest.er1
13809 ac_status=$? 14145 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err 14146 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1 14147 rm -f conftest.er1
13812 cat conftest.err >&5 14148 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } && { 14150 (exit $ac_status); } && {
13815 test -z "$ac_c_werror_flag" || 14151 test -z "$ac_c_werror_flag" ||
13816 test ! -s conftest.err 14152 test ! -s conftest.err
13817 } && test -s conftest.$ac_objext; then 14153 } && test -s conftest.$ac_objext; then
13818 ac_header_compiler=yes 14154 ac_header_compiler=yes
13819 else 14155 else
13820 echo "$as_me: failed program was:" >&5 14156 $as_echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5 14157 sed 's/^/| /' conftest.$ac_ext >&5
13822 14158
13823 ac_header_compiler=no 14159 ac_header_compiler=no
13824 fi 14160 fi
13825 14161
13826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13827 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14163 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13828 echo "${ECHO_T}$ac_header_compiler" >&6; } 14164 $as_echo "$ac_header_compiler" >&6; }
13829 14165
13830 # Is the header present? 14166 # Is the header present?
13831 { echo "$as_me:$LINENO: checking jerror.h presence" >&5 14167 { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5
13832 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; } 14168 $as_echo_n "checking jerror.h presence... " >&6; }
13833 cat >conftest.$ac_ext <<_ACEOF 14169 cat >conftest.$ac_ext <<_ACEOF
13834 /* confdefs.h. */ 14170 /* confdefs.h. */
13835 _ACEOF 14171 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext 14172 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF 14173 cat >>conftest.$ac_ext <<_ACEOF
13841 if { (ac_try="$ac_cpp conftest.$ac_ext" 14177 if { (ac_try="$ac_cpp conftest.$ac_ext"
13842 case "(($ac_try" in 14178 case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;; 14180 *) ac_try_echo=$ac_try;;
13845 esac 14181 esac
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14183 $as_echo "$ac_try_echo") >&5
13847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13848 ac_status=$? 14185 ac_status=$?
13849 grep -v '^ *+' conftest.er1 >conftest.err 14186 grep -v '^ *+' conftest.er1 >conftest.err
13850 rm -f conftest.er1 14187 rm -f conftest.er1
13851 cat conftest.err >&5 14188 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } >/dev/null && { 14190 (exit $ac_status); } >/dev/null && {
13854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13855 test ! -s conftest.err 14192 test ! -s conftest.err
13856 }; then 14193 }; then
13857 ac_header_preproc=yes 14194 ac_header_preproc=yes
13858 else 14195 else
13859 echo "$as_me: failed program was:" >&5 14196 $as_echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.$ac_ext >&5 14197 sed 's/^/| /' conftest.$ac_ext >&5
13861 14198
13862 ac_header_preproc=no 14199 ac_header_preproc=no
13863 fi 14200 fi
13864 14201
13865 rm -f conftest.err conftest.$ac_ext 14202 rm -f conftest.err conftest.$ac_ext
13866 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14203 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13867 echo "${ECHO_T}$ac_header_preproc" >&6; } 14204 $as_echo "$ac_header_preproc" >&6; }
13868 14205
13869 # So? What about this header? 14206 # So? What about this header?
13870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13871 yes:no: ) 14208 yes:no: )
13872 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 14209 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
13873 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14210 $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13874 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 14211 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
13875 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} 14212 $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
13876 ac_header_preproc=yes 14213 ac_header_preproc=yes
13877 ;; 14214 ;;
13878 no:yes:* ) 14215 no:yes:* )
13879 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 14216 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
13880 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} 14217 $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
13881 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 14218 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
13882 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} 14219 $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
13883 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 14220 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
13884 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} 14221 $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
13885 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 14222 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
13886 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} 14223 $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
13887 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 14224 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
13888 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} 14225 $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
13889 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 14226 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
13890 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} 14227 $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
13891 14228
13892 ;; 14229 ;;
13893 esac 14230 esac
13894 { echo "$as_me:$LINENO: checking for jerror.h" >&5 14231 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5
13895 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } 14232 $as_echo_n "checking for jerror.h... " >&6; }
13896 if test "${ac_cv_header_jerror_h+set}" = set; then 14233 if test "${ac_cv_header_jerror_h+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6 14234 $as_echo_n "(cached) " >&6
13898 else 14235 else
13899 ac_cv_header_jerror_h=$ac_header_preproc 14236 ac_cv_header_jerror_h=$ac_header_preproc
13900 fi 14237 fi
13901 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 14238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
13902 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } 14239 $as_echo "$ac_cv_header_jerror_h" >&6; }
13903 14240
13904 fi 14241 fi
13905 if test $ac_cv_header_jerror_h = yes; then 14242 if test $ac_cv_header_jerror_h = yes; then
13906 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 14243 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
13907 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; } 14244 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; }
13908 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 14245 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6 14246 $as_echo_n "(cached) " >&6
13910 else 14247 else
13911 ac_check_lib_save_LIBS=$LIBS 14248 ac_check_lib_save_LIBS=$LIBS
13912 LIBS="-ljpeg $LIBS" 14249 LIBS="-ljpeg $LIBS"
13913 cat >conftest.$ac_ext <<_ACEOF 14250 cat >conftest.$ac_ext <<_ACEOF
13914 /* confdefs.h. */ 14251 /* confdefs.h. */
13936 if { (ac_try="$ac_link" 14273 if { (ac_try="$ac_link"
13937 case "(($ac_try" in 14274 case "(($ac_try" in
13938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13939 *) ac_try_echo=$ac_try;; 14276 *) ac_try_echo=$ac_try;;
13940 esac 14277 esac
13941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14279 $as_echo "$ac_try_echo") >&5
13942 (eval "$ac_link") 2>conftest.er1 14280 (eval "$ac_link") 2>conftest.er1
13943 ac_status=$? 14281 ac_status=$?
13944 grep -v '^ *+' conftest.er1 >conftest.err 14282 grep -v '^ *+' conftest.er1 >conftest.err
13945 rm -f conftest.er1 14283 rm -f conftest.er1
13946 cat conftest.err >&5 14284 cat conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } && { 14286 (exit $ac_status); } && {
13949 test -z "$ac_c_werror_flag" || 14287 test -z "$ac_c_werror_flag" ||
13950 test ! -s conftest.err 14288 test ! -s conftest.err
13951 } && test -s conftest$ac_exeext && 14289 } && test -s conftest$ac_exeext && {
13952 $as_test_x conftest$ac_exeext; then 14290 test "$cross_compiling" = yes ||
14291 $as_test_x conftest$ac_exeext
14292 }; then
13953 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 14293 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
13954 else 14294 else
13955 echo "$as_me: failed program was:" >&5 14295 $as_echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.$ac_ext >&5 14296 sed 's/^/| /' conftest.$ac_ext >&5
13957 14297
13958 ac_cv_lib_jpeg_jpeg_destroy_compress=no 14298 ac_cv_lib_jpeg_jpeg_destroy_compress=no
13959 fi 14299 fi
13960 14300
14301 rm -rf conftest.dSYM
13961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13962 conftest$ac_exeext conftest.$ac_ext 14303 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS 14304 LIBS=$ac_check_lib_save_LIBS
13964 fi 14305 fi
13965 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 14306 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
13966 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 14307 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
13967 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 14308 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
13968 HAVE_JPEG=yes 14309 HAVE_JPEG=yes
13969 fi 14310 fi
13970 14311
13971 fi 14312 fi
13994 cat >>confdefs.h <<\_ACEOF 14335 cat >>confdefs.h <<\_ACEOF
13995 #define HAVE_JPEG 1 14336 #define HAVE_JPEG 1
13996 _ACEOF 14337 _ACEOF
13997 14338
13998 else 14339 else
13999 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 14340 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
14000 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 14341 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
14001 HAVE_JPEG=no 14342 HAVE_JPEG=no
14002 fi 14343 fi
14003 rm -f conftest* 14344 rm -f conftest*
14004 14345
14005 fi 14346 fi
14013 # in /usr/include/libpng. 14354 # in /usr/include/libpng.
14014 14355
14015 14356
14016 for ac_header in png.h libpng/png.h 14357 for ac_header in png.h libpng/png.h
14017 do 14358 do
14018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14020 { echo "$as_me:$LINENO: checking for $ac_header" >&5 14361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 14362 $as_echo_n "checking for $ac_header... " >&6; }
14022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6 14364 $as_echo_n "(cached) " >&6
14024 fi 14365 fi
14025 ac_res=`eval echo '${'$as_ac_Header'}'` 14366 ac_res=`eval 'as_val=${'$as_ac_Header'}
14026 { echo "$as_me:$LINENO: result: $ac_res" >&5 14367 $as_echo "$as_val"'`
14027 echo "${ECHO_T}$ac_res" >&6; } 14368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14369 $as_echo "$ac_res" >&6; }
14028 else 14370 else
14029 # Is the header compilable? 14371 # Is the header compilable?
14030 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 14372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 14373 $as_echo_n "checking $ac_header usability... " >&6; }
14032 cat >conftest.$ac_ext <<_ACEOF 14374 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */ 14375 /* confdefs.h. */
14034 _ACEOF 14376 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext 14377 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF 14378 cat >>conftest.$ac_ext <<_ACEOF
14042 if { (ac_try="$ac_compile" 14384 if { (ac_try="$ac_compile"
14043 case "(($ac_try" in 14385 case "(($ac_try" in
14044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14045 *) ac_try_echo=$ac_try;; 14387 *) ac_try_echo=$ac_try;;
14046 esac 14388 esac
14047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14390 $as_echo "$ac_try_echo") >&5
14048 (eval "$ac_compile") 2>conftest.er1 14391 (eval "$ac_compile") 2>conftest.er1
14049 ac_status=$? 14392 ac_status=$?
14050 grep -v '^ *+' conftest.er1 >conftest.err 14393 grep -v '^ *+' conftest.er1 >conftest.err
14051 rm -f conftest.er1 14394 rm -f conftest.er1
14052 cat conftest.err >&5 14395 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } && { 14397 (exit $ac_status); } && {
14055 test -z "$ac_c_werror_flag" || 14398 test -z "$ac_c_werror_flag" ||
14056 test ! -s conftest.err 14399 test ! -s conftest.err
14057 } && test -s conftest.$ac_objext; then 14400 } && test -s conftest.$ac_objext; then
14058 ac_header_compiler=yes 14401 ac_header_compiler=yes
14059 else 14402 else
14060 echo "$as_me: failed program was:" >&5 14403 $as_echo "$as_me: failed program was:" >&5
14061 sed 's/^/| /' conftest.$ac_ext >&5 14404 sed 's/^/| /' conftest.$ac_ext >&5
14062 14405
14063 ac_header_compiler=no 14406 ac_header_compiler=no
14064 fi 14407 fi
14065 14408
14066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14068 echo "${ECHO_T}$ac_header_compiler" >&6; } 14411 $as_echo "$ac_header_compiler" >&6; }
14069 14412
14070 # Is the header present? 14413 # Is the header present?
14071 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 14414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 14415 $as_echo_n "checking $ac_header presence... " >&6; }
14073 cat >conftest.$ac_ext <<_ACEOF 14416 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */ 14417 /* confdefs.h. */
14075 _ACEOF 14418 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext 14419 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF 14420 cat >>conftest.$ac_ext <<_ACEOF
14081 if { (ac_try="$ac_cpp conftest.$ac_ext" 14424 if { (ac_try="$ac_cpp conftest.$ac_ext"
14082 case "(($ac_try" in 14425 case "(($ac_try" in
14083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14084 *) ac_try_echo=$ac_try;; 14427 *) ac_try_echo=$ac_try;;
14085 esac 14428 esac
14086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14430 $as_echo "$ac_try_echo") >&5
14087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14088 ac_status=$? 14432 ac_status=$?
14089 grep -v '^ *+' conftest.er1 >conftest.err 14433 grep -v '^ *+' conftest.er1 >conftest.err
14090 rm -f conftest.er1 14434 rm -f conftest.er1
14091 cat conftest.err >&5 14435 cat conftest.err >&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); } >/dev/null && { 14437 (exit $ac_status); } >/dev/null && {
14094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14095 test ! -s conftest.err 14439 test ! -s conftest.err
14096 }; then 14440 }; then
14097 ac_header_preproc=yes 14441 ac_header_preproc=yes
14098 else 14442 else
14099 echo "$as_me: failed program was:" >&5 14443 $as_echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.$ac_ext >&5 14444 sed 's/^/| /' conftest.$ac_ext >&5
14101 14445
14102 ac_header_preproc=no 14446 ac_header_preproc=no
14103 fi 14447 fi
14104 14448
14105 rm -f conftest.err conftest.$ac_ext 14449 rm -f conftest.err conftest.$ac_ext
14106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14107 echo "${ECHO_T}$ac_header_preproc" >&6; } 14451 $as_echo "$ac_header_preproc" >&6; }
14108 14452
14109 # So? What about this header? 14453 # So? What about this header?
14110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14111 yes:no: ) 14455 yes:no: )
14112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14116 ac_header_preproc=yes 14460 ac_header_preproc=yes
14117 ;; 14461 ;;
14118 no:yes:* ) 14462 no:yes:* )
14119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14463 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14465 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14466 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14467 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14469 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14470 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14471 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14473 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14131 14475
14132 ;; 14476 ;;
14133 esac 14477 esac
14134 { echo "$as_me:$LINENO: checking for $ac_header" >&5 14478 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 14479 $as_echo_n "checking for $ac_header... " >&6; }
14136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6 14481 $as_echo_n "(cached) " >&6
14138 else 14482 else
14139 eval "$as_ac_Header=\$ac_header_preproc" 14483 eval "$as_ac_Header=\$ac_header_preproc"
14140 fi 14484 fi
14141 ac_res=`eval echo '${'$as_ac_Header'}'` 14485 ac_res=`eval 'as_val=${'$as_ac_Header'}
14142 { echo "$as_me:$LINENO: result: $ac_res" >&5 14486 $as_echo "$as_val"'`
14143 echo "${ECHO_T}$ac_res" >&6; } 14487 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14144 14488 $as_echo "$ac_res" >&6; }
14145 fi 14489
14146 if test `eval echo '${'$as_ac_Header'}'` = yes; then 14490 fi
14491 if test `eval 'as_val=${'$as_ac_Header'}
14492 $as_echo "$as_val"'` = yes; then
14147 cat >>confdefs.h <<_ACEOF 14493 cat >>confdefs.h <<_ACEOF
14148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 14494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14149 _ACEOF 14495 _ACEOF
14150 14496
14151 fi 14497 fi
14152 14498
14153 done 14499 done
14154 14500
14155 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 14501 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
14156 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 14502 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
14157 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; } 14503 $as_echo_n "checking for png_get_channels in -lpng... " >&6; }
14158 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 14504 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6 14505 $as_echo_n "(cached) " >&6
14160 else 14506 else
14161 ac_check_lib_save_LIBS=$LIBS 14507 ac_check_lib_save_LIBS=$LIBS
14162 LIBS="-lpng -lz -lm $LIBS" 14508 LIBS="-lpng -lz -lm $LIBS"
14163 cat >conftest.$ac_ext <<_ACEOF 14509 cat >conftest.$ac_ext <<_ACEOF
14164 /* confdefs.h. */ 14510 /* confdefs.h. */
14186 if { (ac_try="$ac_link" 14532 if { (ac_try="$ac_link"
14187 case "(($ac_try" in 14533 case "(($ac_try" in
14188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14189 *) ac_try_echo=$ac_try;; 14535 *) ac_try_echo=$ac_try;;
14190 esac 14536 esac
14191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14538 $as_echo "$ac_try_echo") >&5
14192 (eval "$ac_link") 2>conftest.er1 14539 (eval "$ac_link") 2>conftest.er1
14193 ac_status=$? 14540 ac_status=$?
14194 grep -v '^ *+' conftest.er1 >conftest.err 14541 grep -v '^ *+' conftest.er1 >conftest.err
14195 rm -f conftest.er1 14542 rm -f conftest.er1
14196 cat conftest.err >&5 14543 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } && { 14545 (exit $ac_status); } && {
14199 test -z "$ac_c_werror_flag" || 14546 test -z "$ac_c_werror_flag" ||
14200 test ! -s conftest.err 14547 test ! -s conftest.err
14201 } && test -s conftest$ac_exeext && 14548 } && test -s conftest$ac_exeext && {
14202 $as_test_x conftest$ac_exeext; then 14549 test "$cross_compiling" = yes ||
14550 $as_test_x conftest$ac_exeext
14551 }; then
14203 ac_cv_lib_png_png_get_channels=yes 14552 ac_cv_lib_png_png_get_channels=yes
14204 else 14553 else
14205 echo "$as_me: failed program was:" >&5 14554 $as_echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.$ac_ext >&5 14555 sed 's/^/| /' conftest.$ac_ext >&5
14207 14556
14208 ac_cv_lib_png_png_get_channels=no 14557 ac_cv_lib_png_png_get_channels=no
14209 fi 14558 fi
14210 14559
14560 rm -rf conftest.dSYM
14211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14212 conftest$ac_exeext conftest.$ac_ext 14562 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS 14563 LIBS=$ac_check_lib_save_LIBS
14214 fi 14564 fi
14215 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 14565 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
14216 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; } 14566 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; }
14217 if test $ac_cv_lib_png_png_get_channels = yes; then 14567 if test $ac_cv_lib_png_png_get_channels = yes; then
14218 HAVE_PNG=yes 14568 HAVE_PNG=yes
14219 fi 14569 fi
14220 14570
14221 fi 14571 fi
14233 ### Use -ltiff if available, unless `--with-tiff=no'. 14583 ### Use -ltiff if available, unless `--with-tiff=no'.
14234 HAVE_TIFF=no 14584 HAVE_TIFF=no
14235 if test "${HAVE_X11}" = "yes"; then 14585 if test "${HAVE_X11}" = "yes"; then
14236 if test "${with_tiff}" != "no"; then 14586 if test "${with_tiff}" != "no"; then
14237 if test "${ac_cv_header_tiffio_h+set}" = set; then 14587 if test "${ac_cv_header_tiffio_h+set}" = set; then
14238 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 14588 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
14239 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } 14589 $as_echo_n "checking for tiffio.h... " >&6; }
14240 if test "${ac_cv_header_tiffio_h+set}" = set; then 14590 if test "${ac_cv_header_tiffio_h+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6 14591 $as_echo_n "(cached) " >&6
14242 fi 14592 fi
14243 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14593 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14244 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } 14594 $as_echo "$ac_cv_header_tiffio_h" >&6; }
14245 else 14595 else
14246 # Is the header compilable? 14596 # Is the header compilable?
14247 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5 14597 { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5
14248 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; } 14598 $as_echo_n "checking tiffio.h usability... " >&6; }
14249 cat >conftest.$ac_ext <<_ACEOF 14599 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */ 14600 /* confdefs.h. */
14251 _ACEOF 14601 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext 14602 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF 14603 cat >>conftest.$ac_ext <<_ACEOF
14259 if { (ac_try="$ac_compile" 14609 if { (ac_try="$ac_compile"
14260 case "(($ac_try" in 14610 case "(($ac_try" in
14261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14262 *) ac_try_echo=$ac_try;; 14612 *) ac_try_echo=$ac_try;;
14263 esac 14613 esac
14264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14615 $as_echo "$ac_try_echo") >&5
14265 (eval "$ac_compile") 2>conftest.er1 14616 (eval "$ac_compile") 2>conftest.er1
14266 ac_status=$? 14617 ac_status=$?
14267 grep -v '^ *+' conftest.er1 >conftest.err 14618 grep -v '^ *+' conftest.er1 >conftest.err
14268 rm -f conftest.er1 14619 rm -f conftest.er1
14269 cat conftest.err >&5 14620 cat conftest.err >&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } && { 14622 (exit $ac_status); } && {
14272 test -z "$ac_c_werror_flag" || 14623 test -z "$ac_c_werror_flag" ||
14273 test ! -s conftest.err 14624 test ! -s conftest.err
14274 } && test -s conftest.$ac_objext; then 14625 } && test -s conftest.$ac_objext; then
14275 ac_header_compiler=yes 14626 ac_header_compiler=yes
14276 else 14627 else
14277 echo "$as_me: failed program was:" >&5 14628 $as_echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.$ac_ext >&5 14629 sed 's/^/| /' conftest.$ac_ext >&5
14279 14630
14280 ac_header_compiler=no 14631 ac_header_compiler=no
14281 fi 14632 fi
14282 14633
14283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14635 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14285 echo "${ECHO_T}$ac_header_compiler" >&6; } 14636 $as_echo "$ac_header_compiler" >&6; }
14286 14637
14287 # Is the header present? 14638 # Is the header present?
14288 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5 14639 { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5
14289 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; } 14640 $as_echo_n "checking tiffio.h presence... " >&6; }
14290 cat >conftest.$ac_ext <<_ACEOF 14641 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h. */ 14642 /* confdefs.h. */
14292 _ACEOF 14643 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext 14644 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF 14645 cat >>conftest.$ac_ext <<_ACEOF
14298 if { (ac_try="$ac_cpp conftest.$ac_ext" 14649 if { (ac_try="$ac_cpp conftest.$ac_ext"
14299 case "(($ac_try" in 14650 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;; 14652 *) ac_try_echo=$ac_try;;
14302 esac 14653 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14655 $as_echo "$ac_try_echo") >&5
14304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14305 ac_status=$? 14657 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err 14658 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1 14659 rm -f conftest.er1
14308 cat conftest.err >&5 14660 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } >/dev/null && { 14662 (exit $ac_status); } >/dev/null && {
14311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14312 test ! -s conftest.err 14664 test ! -s conftest.err
14313 }; then 14665 }; then
14314 ac_header_preproc=yes 14666 ac_header_preproc=yes
14315 else 14667 else
14316 echo "$as_me: failed program was:" >&5 14668 $as_echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.$ac_ext >&5 14669 sed 's/^/| /' conftest.$ac_ext >&5
14318 14670
14319 ac_header_preproc=no 14671 ac_header_preproc=no
14320 fi 14672 fi
14321 14673
14322 rm -f conftest.err conftest.$ac_ext 14674 rm -f conftest.err conftest.$ac_ext
14323 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14675 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14324 echo "${ECHO_T}$ac_header_preproc" >&6; } 14676 $as_echo "$ac_header_preproc" >&6; }
14325 14677
14326 # So? What about this header? 14678 # So? What about this header?
14327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14328 yes:no: ) 14680 yes:no: )
14329 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 14681 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
14330 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14682 $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14331 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 14683 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
14332 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} 14684 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
14333 ac_header_preproc=yes 14685 ac_header_preproc=yes
14334 ;; 14686 ;;
14335 no:yes:* ) 14687 no:yes:* )
14336 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 14688 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
14337 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} 14689 $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 14690 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
14339 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} 14691 $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
14340 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 14692 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
14341 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} 14693 $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
14342 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 14694 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
14343 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} 14695 $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
14344 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 14696 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
14345 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} 14697 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
14346 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 14698 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
14347 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} 14699 $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
14348 14700
14349 ;; 14701 ;;
14350 esac 14702 esac
14351 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 14703 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
14352 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } 14704 $as_echo_n "checking for tiffio.h... " >&6; }
14353 if test "${ac_cv_header_tiffio_h+set}" = set; then 14705 if test "${ac_cv_header_tiffio_h+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6 14706 $as_echo_n "(cached) " >&6
14355 else 14707 else
14356 ac_cv_header_tiffio_h=$ac_header_preproc 14708 ac_cv_header_tiffio_h=$ac_header_preproc
14357 fi 14709 fi
14358 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14710 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14359 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } 14711 $as_echo "$ac_cv_header_tiffio_h" >&6; }
14360 14712
14361 fi 14713 fi
14362 if test $ac_cv_header_tiffio_h = yes; then 14714 if test $ac_cv_header_tiffio_h = yes; then
14363 tifflibs="-lz -lm" 14715 tifflibs="-lz -lm"
14364 # At least one tiff package requires the jpeg library. 14716 # At least one tiff package requires the jpeg library.
14365 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 14717 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
14366 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 14718 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
14367 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; } 14719 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; }
14368 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 14720 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6 14721 $as_echo_n "(cached) " >&6
14370 else 14722 else
14371 ac_check_lib_save_LIBS=$LIBS 14723 ac_check_lib_save_LIBS=$LIBS
14372 LIBS="-ltiff $tifflibs $LIBS" 14724 LIBS="-ltiff $tifflibs $LIBS"
14373 cat >conftest.$ac_ext <<_ACEOF 14725 cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h. */ 14726 /* confdefs.h. */
14396 if { (ac_try="$ac_link" 14748 if { (ac_try="$ac_link"
14397 case "(($ac_try" in 14749 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;; 14751 *) ac_try_echo=$ac_try;;
14400 esac 14752 esac
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14754 $as_echo "$ac_try_echo") >&5
14402 (eval "$ac_link") 2>conftest.er1 14755 (eval "$ac_link") 2>conftest.er1
14403 ac_status=$? 14756 ac_status=$?
14404 grep -v '^ *+' conftest.er1 >conftest.err 14757 grep -v '^ *+' conftest.er1 >conftest.err
14405 rm -f conftest.er1 14758 rm -f conftest.er1
14406 cat conftest.err >&5 14759 cat conftest.err >&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } && { 14761 (exit $ac_status); } && {
14409 test -z "$ac_c_werror_flag" || 14762 test -z "$ac_c_werror_flag" ||
14410 test ! -s conftest.err 14763 test ! -s conftest.err
14411 } && test -s conftest$ac_exeext && 14764 } && test -s conftest$ac_exeext && {
14412 $as_test_x conftest$ac_exeext; then 14765 test "$cross_compiling" = yes ||
14766 $as_test_x conftest$ac_exeext
14767 }; then
14413 ac_cv_lib_tiff_TIFFGetVersion=yes 14768 ac_cv_lib_tiff_TIFFGetVersion=yes
14414 else 14769 else
14415 echo "$as_me: failed program was:" >&5 14770 $as_echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.$ac_ext >&5 14771 sed 's/^/| /' conftest.$ac_ext >&5
14417 14772
14418 ac_cv_lib_tiff_TIFFGetVersion=no 14773 ac_cv_lib_tiff_TIFFGetVersion=no
14419 fi 14774 fi
14420 14775
14776 rm -rf conftest.dSYM
14421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14422 conftest$ac_exeext conftest.$ac_ext 14778 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_lib_save_LIBS 14779 LIBS=$ac_check_lib_save_LIBS
14424 fi 14780 fi
14425 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 14781 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
14426 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 14782 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
14427 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 14783 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
14428 HAVE_TIFF=yes 14784 HAVE_TIFF=yes
14429 fi 14785 fi
14430 14786
14431 fi 14787 fi
14444 14800
14445 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 14801 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
14446 HAVE_GIF=no 14802 HAVE_GIF=no
14447 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 14803 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
14448 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14804 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14449 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14805 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14450 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } 14806 $as_echo_n "checking for gif_lib.h... " >&6; }
14451 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14807 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6 14808 $as_echo_n "(cached) " >&6
14453 fi 14809 fi
14454 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14810 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14455 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } 14811 $as_echo "$ac_cv_header_gif_lib_h" >&6; }
14456 else 14812 else
14457 # Is the header compilable? 14813 # Is the header compilable?
14458 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 14814 { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
14459 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; } 14815 $as_echo_n "checking gif_lib.h usability... " >&6; }
14460 cat >conftest.$ac_ext <<_ACEOF 14816 cat >conftest.$ac_ext <<_ACEOF
14461 /* confdefs.h. */ 14817 /* confdefs.h. */
14462 _ACEOF 14818 _ACEOF
14463 cat confdefs.h >>conftest.$ac_ext 14819 cat confdefs.h >>conftest.$ac_ext
14464 cat >>conftest.$ac_ext <<_ACEOF 14820 cat >>conftest.$ac_ext <<_ACEOF
14470 if { (ac_try="$ac_compile" 14826 if { (ac_try="$ac_compile"
14471 case "(($ac_try" in 14827 case "(($ac_try" in
14472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14473 *) ac_try_echo=$ac_try;; 14829 *) ac_try_echo=$ac_try;;
14474 esac 14830 esac
14475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14832 $as_echo "$ac_try_echo") >&5
14476 (eval "$ac_compile") 2>conftest.er1 14833 (eval "$ac_compile") 2>conftest.er1
14477 ac_status=$? 14834 ac_status=$?
14478 grep -v '^ *+' conftest.er1 >conftest.err 14835 grep -v '^ *+' conftest.er1 >conftest.err
14479 rm -f conftest.er1 14836 rm -f conftest.er1
14480 cat conftest.err >&5 14837 cat conftest.err >&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); } && { 14839 (exit $ac_status); } && {
14483 test -z "$ac_c_werror_flag" || 14840 test -z "$ac_c_werror_flag" ||
14484 test ! -s conftest.err 14841 test ! -s conftest.err
14485 } && test -s conftest.$ac_objext; then 14842 } && test -s conftest.$ac_objext; then
14486 ac_header_compiler=yes 14843 ac_header_compiler=yes
14487 else 14844 else
14488 echo "$as_me: failed program was:" >&5 14845 $as_echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5 14846 sed 's/^/| /' conftest.$ac_ext >&5
14490 14847
14491 ac_header_compiler=no 14848 ac_header_compiler=no
14492 fi 14849 fi
14493 14850
14494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14852 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14496 echo "${ECHO_T}$ac_header_compiler" >&6; } 14853 $as_echo "$ac_header_compiler" >&6; }
14497 14854
14498 # Is the header present? 14855 # Is the header present?
14499 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 14856 { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
14500 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; } 14857 $as_echo_n "checking gif_lib.h presence... " >&6; }
14501 cat >conftest.$ac_ext <<_ACEOF 14858 cat >conftest.$ac_ext <<_ACEOF
14502 /* confdefs.h. */ 14859 /* confdefs.h. */
14503 _ACEOF 14860 _ACEOF
14504 cat confdefs.h >>conftest.$ac_ext 14861 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF 14862 cat >>conftest.$ac_ext <<_ACEOF
14509 if { (ac_try="$ac_cpp conftest.$ac_ext" 14866 if { (ac_try="$ac_cpp conftest.$ac_ext"
14510 case "(($ac_try" in 14867 case "(($ac_try" in
14511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14512 *) ac_try_echo=$ac_try;; 14869 *) ac_try_echo=$ac_try;;
14513 esac 14870 esac
14514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14872 $as_echo "$ac_try_echo") >&5
14515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14516 ac_status=$? 14874 ac_status=$?
14517 grep -v '^ *+' conftest.er1 >conftest.err 14875 grep -v '^ *+' conftest.er1 >conftest.err
14518 rm -f conftest.er1 14876 rm -f conftest.er1
14519 cat conftest.err >&5 14877 cat conftest.err >&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } >/dev/null && { 14879 (exit $ac_status); } >/dev/null && {
14522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14523 test ! -s conftest.err 14881 test ! -s conftest.err
14524 }; then 14882 }; then
14525 ac_header_preproc=yes 14883 ac_header_preproc=yes
14526 else 14884 else
14527 echo "$as_me: failed program was:" >&5 14885 $as_echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.$ac_ext >&5 14886 sed 's/^/| /' conftest.$ac_ext >&5
14529 14887
14530 ac_header_preproc=no 14888 ac_header_preproc=no
14531 fi 14889 fi
14532 14890
14533 rm -f conftest.err conftest.$ac_ext 14891 rm -f conftest.err conftest.$ac_ext
14534 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14892 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14535 echo "${ECHO_T}$ac_header_preproc" >&6; } 14893 $as_echo "$ac_header_preproc" >&6; }
14536 14894
14537 # So? What about this header? 14895 # So? What about this header?
14538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14539 yes:no: ) 14897 yes:no: )
14540 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 14898 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
14541 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14899 $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 14900 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
14543 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} 14901 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
14544 ac_header_preproc=yes 14902 ac_header_preproc=yes
14545 ;; 14903 ;;
14546 no:yes:* ) 14904 no:yes:* )
14547 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 14905 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
14548 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} 14906 $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 14907 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
14550 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} 14908 $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 14909 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
14552 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} 14910 $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 14911 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
14554 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} 14912 $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 14913 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
14556 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 14914 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
14557 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 14915 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
14558 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 14916 $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
14559 14917
14560 ;; 14918 ;;
14561 esac 14919 esac
14562 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14920 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14563 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } 14921 $as_echo_n "checking for gif_lib.h... " >&6; }
14564 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14922 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6 14923 $as_echo_n "(cached) " >&6
14566 else 14924 else
14567 ac_cv_header_gif_lib_h=$ac_header_preproc 14925 ac_cv_header_gif_lib_h=$ac_header_preproc
14568 fi 14926 fi
14569 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14927 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14570 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } 14928 $as_echo "$ac_cv_header_gif_lib_h" >&6; }
14571 14929
14572 fi 14930 fi
14573 if test $ac_cv_header_gif_lib_h = yes; then 14931 if test $ac_cv_header_gif_lib_h = yes; then
14574 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 14932 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
14575 # Earlier versions can crash Emacs. 14933 # Earlier versions can crash Emacs.
14576 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 14934 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
14577 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; } 14935 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
14578 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then 14936 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6 14937 $as_echo_n "(cached) " >&6
14580 else 14938 else
14581 ac_check_lib_save_LIBS=$LIBS 14939 ac_check_lib_save_LIBS=$LIBS
14582 LIBS="-lgif $LIBS" 14940 LIBS="-lgif $LIBS"
14583 cat >conftest.$ac_ext <<_ACEOF 14941 cat >conftest.$ac_ext <<_ACEOF
14584 /* confdefs.h. */ 14942 /* confdefs.h. */
14606 if { (ac_try="$ac_link" 14964 if { (ac_try="$ac_link"
14607 case "(($ac_try" in 14965 case "(($ac_try" in
14608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14609 *) ac_try_echo=$ac_try;; 14967 *) ac_try_echo=$ac_try;;
14610 esac 14968 esac
14611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14970 $as_echo "$ac_try_echo") >&5
14612 (eval "$ac_link") 2>conftest.er1 14971 (eval "$ac_link") 2>conftest.er1
14613 ac_status=$? 14972 ac_status=$?
14614 grep -v '^ *+' conftest.er1 >conftest.err 14973 grep -v '^ *+' conftest.er1 >conftest.err
14615 rm -f conftest.er1 14974 rm -f conftest.er1
14616 cat conftest.err >&5 14975 cat conftest.err >&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } && { 14977 (exit $ac_status); } && {
14619 test -z "$ac_c_werror_flag" || 14978 test -z "$ac_c_werror_flag" ||
14620 test ! -s conftest.err 14979 test ! -s conftest.err
14621 } && test -s conftest$ac_exeext && 14980 } && test -s conftest$ac_exeext && {
14622 $as_test_x conftest$ac_exeext; then 14981 test "$cross_compiling" = yes ||
14982 $as_test_x conftest$ac_exeext
14983 }; then
14623 ac_cv_lib_gif_EGifPutExtensionLast=yes 14984 ac_cv_lib_gif_EGifPutExtensionLast=yes
14624 else 14985 else
14625 echo "$as_me: failed program was:" >&5 14986 $as_echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5 14987 sed 's/^/| /' conftest.$ac_ext >&5
14627 14988
14628 ac_cv_lib_gif_EGifPutExtensionLast=no 14989 ac_cv_lib_gif_EGifPutExtensionLast=no
14629 fi 14990 fi
14630 14991
14992 rm -rf conftest.dSYM
14631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14632 conftest$ac_exeext conftest.$ac_ext 14994 conftest$ac_exeext conftest.$ac_ext
14633 LIBS=$ac_check_lib_save_LIBS 14995 LIBS=$ac_check_lib_save_LIBS
14634 fi 14996 fi
14635 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 14997 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
14636 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 14998 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
14637 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then 14999 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
14638 HAVE_GIF=yes 15000 HAVE_GIF=yes
14639 else 15001 else
14640 try_libungif=yes 15002 try_libungif=yes
14641 fi 15003 fi
14648 ac_gif_lib_name="-lgif" 15010 ac_gif_lib_name="-lgif"
14649 fi 15011 fi
14650 15012
14651 # If gif_lib.h but no libgif, try libungif. 15013 # If gif_lib.h but no libgif, try libungif.
14652 if test x"$try_libungif" = xyes; then 15014 if test x"$try_libungif" = xyes; then
14653 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 15015 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
14654 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } 15016 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
14655 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 15017 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6 15018 $as_echo_n "(cached) " >&6
14657 else 15019 else
14658 ac_check_lib_save_LIBS=$LIBS 15020 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lungif $LIBS" 15021 LIBS="-lungif $LIBS"
14660 cat >conftest.$ac_ext <<_ACEOF 15022 cat >conftest.$ac_ext <<_ACEOF
14661 /* confdefs.h. */ 15023 /* confdefs.h. */
14683 if { (ac_try="$ac_link" 15045 if { (ac_try="$ac_link"
14684 case "(($ac_try" in 15046 case "(($ac_try" in
14685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14686 *) ac_try_echo=$ac_try;; 15048 *) ac_try_echo=$ac_try;;
14687 esac 15049 esac
14688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15051 $as_echo "$ac_try_echo") >&5
14689 (eval "$ac_link") 2>conftest.er1 15052 (eval "$ac_link") 2>conftest.er1
14690 ac_status=$? 15053 ac_status=$?
14691 grep -v '^ *+' conftest.er1 >conftest.err 15054 grep -v '^ *+' conftest.er1 >conftest.err
14692 rm -f conftest.er1 15055 rm -f conftest.er1
14693 cat conftest.err >&5 15056 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } && { 15058 (exit $ac_status); } && {
14696 test -z "$ac_c_werror_flag" || 15059 test -z "$ac_c_werror_flag" ||
14697 test ! -s conftest.err 15060 test ! -s conftest.err
14698 } && test -s conftest$ac_exeext && 15061 } && test -s conftest$ac_exeext && {
14699 $as_test_x conftest$ac_exeext; then 15062 test "$cross_compiling" = yes ||
15063 $as_test_x conftest$ac_exeext
15064 }; then
14700 ac_cv_lib_ungif_EGifPutExtensionLast=yes 15065 ac_cv_lib_ungif_EGifPutExtensionLast=yes
14701 else 15066 else
14702 echo "$as_me: failed program was:" >&5 15067 $as_echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5 15068 sed 's/^/| /' conftest.$ac_ext >&5
14704 15069
14705 ac_cv_lib_ungif_EGifPutExtensionLast=no 15070 ac_cv_lib_ungif_EGifPutExtensionLast=no
14706 fi 15071 fi
14707 15072
15073 rm -rf conftest.dSYM
14708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14709 conftest$ac_exeext conftest.$ac_ext 15075 conftest$ac_exeext conftest.$ac_ext
14710 LIBS=$ac_check_lib_save_LIBS 15076 LIBS=$ac_check_lib_save_LIBS
14711 fi 15077 fi
14712 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15078 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
14713 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 15079 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
14714 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 15080 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
14715 HAVE_GIF=yes 15081 HAVE_GIF=yes
14716 fi 15082 fi
14717 15083
14718 15084
14748 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 15114 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
14749 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 15115 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
14750 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 15116 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
14751 15117
14752 if test "X${MISSING}" != X; then 15118 if test "X${MISSING}" != X; then
14753 { { echo "$as_me:$LINENO: error: The following required libraries were not found: 15119 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found:
14754 $MISSING 15120 $MISSING
14755 Maybe some development libraries/packages are missing? 15121 Maybe some development libraries/packages are missing?
14756 If you don't want to link with them give 15122 If you don't want to link with them give
14757 $WITH_NO 15123 $WITH_NO
14758 as options to configure" >&5 15124 as options to configure" >&5
14759 echo "$as_me: error: The following required libraries were not found: 15125 $as_echo "$as_me: error: The following required libraries were not found:
14760 $MISSING 15126 $MISSING
14761 Maybe some development libraries/packages are missing? 15127 Maybe some development libraries/packages are missing?
14762 If you don't want to link with them give 15128 If you don't want to link with them give
14763 $WITH_NO 15129 $WITH_NO
14764 as options to configure" >&2;} 15130 as options to configure" >&2;}
14768 15134
14769 ### Use -lgpm if available, unless `--with-gpm=no'. 15135 ### Use -lgpm if available, unless `--with-gpm=no'.
14770 HAVE_GPM=no 15136 HAVE_GPM=no
14771 if test "${with_gpm}" != "no"; then 15137 if test "${with_gpm}" != "no"; then
14772 if test "${ac_cv_header_gpm_h+set}" = set; then 15138 if test "${ac_cv_header_gpm_h+set}" = set; then
14773 { echo "$as_me:$LINENO: checking for gpm.h" >&5 15139 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
14774 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; } 15140 $as_echo_n "checking for gpm.h... " >&6; }
14775 if test "${ac_cv_header_gpm_h+set}" = set; then 15141 if test "${ac_cv_header_gpm_h+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6 15142 $as_echo_n "(cached) " >&6
14777 fi 15143 fi
14778 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 15144 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
14779 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; } 15145 $as_echo "$ac_cv_header_gpm_h" >&6; }
14780 else 15146 else
14781 # Is the header compilable? 15147 # Is the header compilable?
14782 { echo "$as_me:$LINENO: checking gpm.h usability" >&5 15148 { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5
14783 echo $ECHO_N "checking gpm.h usability... $ECHO_C" >&6; } 15149 $as_echo_n "checking gpm.h usability... " >&6; }
14784 cat >conftest.$ac_ext <<_ACEOF 15150 cat >conftest.$ac_ext <<_ACEOF
14785 /* confdefs.h. */ 15151 /* confdefs.h. */
14786 _ACEOF 15152 _ACEOF
14787 cat confdefs.h >>conftest.$ac_ext 15153 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF 15154 cat >>conftest.$ac_ext <<_ACEOF
14794 if { (ac_try="$ac_compile" 15160 if { (ac_try="$ac_compile"
14795 case "(($ac_try" in 15161 case "(($ac_try" in
14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14797 *) ac_try_echo=$ac_try;; 15163 *) ac_try_echo=$ac_try;;
14798 esac 15164 esac
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15166 $as_echo "$ac_try_echo") >&5
14800 (eval "$ac_compile") 2>conftest.er1 15167 (eval "$ac_compile") 2>conftest.er1
14801 ac_status=$? 15168 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err 15169 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1 15170 rm -f conftest.er1
14804 cat conftest.err >&5 15171 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } && { 15173 (exit $ac_status); } && {
14807 test -z "$ac_c_werror_flag" || 15174 test -z "$ac_c_werror_flag" ||
14808 test ! -s conftest.err 15175 test ! -s conftest.err
14809 } && test -s conftest.$ac_objext; then 15176 } && test -s conftest.$ac_objext; then
14810 ac_header_compiler=yes 15177 ac_header_compiler=yes
14811 else 15178 else
14812 echo "$as_me: failed program was:" >&5 15179 $as_echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5 15180 sed 's/^/| /' conftest.$ac_ext >&5
14814 15181
14815 ac_header_compiler=no 15182 ac_header_compiler=no
14816 fi 15183 fi
14817 15184
14818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14819 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15186 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14820 echo "${ECHO_T}$ac_header_compiler" >&6; } 15187 $as_echo "$ac_header_compiler" >&6; }
14821 15188
14822 # Is the header present? 15189 # Is the header present?
14823 { echo "$as_me:$LINENO: checking gpm.h presence" >&5 15190 { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5
14824 echo $ECHO_N "checking gpm.h presence... $ECHO_C" >&6; } 15191 $as_echo_n "checking gpm.h presence... " >&6; }
14825 cat >conftest.$ac_ext <<_ACEOF 15192 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */ 15193 /* confdefs.h. */
14827 _ACEOF 15194 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext 15195 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF 15196 cat >>conftest.$ac_ext <<_ACEOF
14833 if { (ac_try="$ac_cpp conftest.$ac_ext" 15200 if { (ac_try="$ac_cpp conftest.$ac_ext"
14834 case "(($ac_try" in 15201 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;; 15203 *) ac_try_echo=$ac_try;;
14837 esac 15204 esac
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15206 $as_echo "$ac_try_echo") >&5
14839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14840 ac_status=$? 15208 ac_status=$?
14841 grep -v '^ *+' conftest.er1 >conftest.err 15209 grep -v '^ *+' conftest.er1 >conftest.err
14842 rm -f conftest.er1 15210 rm -f conftest.er1
14843 cat conftest.err >&5 15211 cat conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } >/dev/null && { 15213 (exit $ac_status); } >/dev/null && {
14846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14847 test ! -s conftest.err 15215 test ! -s conftest.err
14848 }; then 15216 }; then
14849 ac_header_preproc=yes 15217 ac_header_preproc=yes
14850 else 15218 else
14851 echo "$as_me: failed program was:" >&5 15219 $as_echo "$as_me: failed program was:" >&5
14852 sed 's/^/| /' conftest.$ac_ext >&5 15220 sed 's/^/| /' conftest.$ac_ext >&5
14853 15221
14854 ac_header_preproc=no 15222 ac_header_preproc=no
14855 fi 15223 fi
14856 15224
14857 rm -f conftest.err conftest.$ac_ext 15225 rm -f conftest.err conftest.$ac_ext
14858 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15226 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14859 echo "${ECHO_T}$ac_header_preproc" >&6; } 15227 $as_echo "$ac_header_preproc" >&6; }
14860 15228
14861 # So? What about this header? 15229 # So? What about this header?
14862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14863 yes:no: ) 15231 yes:no: )
14864 { echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 15232 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
14865 echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15233 $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14866 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 15234 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
14867 echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} 15235 $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
14868 ac_header_preproc=yes 15236 ac_header_preproc=yes
14869 ;; 15237 ;;
14870 no:yes:* ) 15238 no:yes:* )
14871 { echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 15239 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
14872 echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} 15240 $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
14873 { echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 15241 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
14874 echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} 15242 $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
14875 { echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 15243 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
14876 echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} 15244 $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
14877 { echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 15245 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
14878 echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 15246 $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
14879 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 15247 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
14880 echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} 15248 $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
14881 { echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 15249 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
14882 echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} 15250 $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
14883 15251
14884 ;; 15252 ;;
14885 esac 15253 esac
14886 { echo "$as_me:$LINENO: checking for gpm.h" >&5 15254 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5
14887 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; } 15255 $as_echo_n "checking for gpm.h... " >&6; }
14888 if test "${ac_cv_header_gpm_h+set}" = set; then 15256 if test "${ac_cv_header_gpm_h+set}" = set; then
14889 echo $ECHO_N "(cached) $ECHO_C" >&6 15257 $as_echo_n "(cached) " >&6
14890 else 15258 else
14891 ac_cv_header_gpm_h=$ac_header_preproc 15259 ac_cv_header_gpm_h=$ac_header_preproc
14892 fi 15260 fi
14893 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 15261 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
14894 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; } 15262 $as_echo "$ac_cv_header_gpm_h" >&6; }
14895 15263
14896 fi 15264 fi
14897 if test $ac_cv_header_gpm_h = yes; then 15265 if test $ac_cv_header_gpm_h = yes; then
14898 { echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 15266 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
14899 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; } 15267 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
14900 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 15268 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6 15269 $as_echo_n "(cached) " >&6
14902 else 15270 else
14903 ac_check_lib_save_LIBS=$LIBS 15271 ac_check_lib_save_LIBS=$LIBS
14904 LIBS="-lgpm $LIBS" 15272 LIBS="-lgpm $LIBS"
14905 cat >conftest.$ac_ext <<_ACEOF 15273 cat >conftest.$ac_ext <<_ACEOF
14906 /* confdefs.h. */ 15274 /* confdefs.h. */
14928 if { (ac_try="$ac_link" 15296 if { (ac_try="$ac_link"
14929 case "(($ac_try" in 15297 case "(($ac_try" in
14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;; 15299 *) ac_try_echo=$ac_try;;
14932 esac 15300 esac
14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15302 $as_echo "$ac_try_echo") >&5
14934 (eval "$ac_link") 2>conftest.er1 15303 (eval "$ac_link") 2>conftest.er1
14935 ac_status=$? 15304 ac_status=$?
14936 grep -v '^ *+' conftest.er1 >conftest.err 15305 grep -v '^ *+' conftest.er1 >conftest.err
14937 rm -f conftest.er1 15306 rm -f conftest.er1
14938 cat conftest.err >&5 15307 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } && { 15309 (exit $ac_status); } && {
14941 test -z "$ac_c_werror_flag" || 15310 test -z "$ac_c_werror_flag" ||
14942 test ! -s conftest.err 15311 test ! -s conftest.err
14943 } && test -s conftest$ac_exeext && 15312 } && test -s conftest$ac_exeext && {
14944 $as_test_x conftest$ac_exeext; then 15313 test "$cross_compiling" = yes ||
15314 $as_test_x conftest$ac_exeext
15315 }; then
14945 ac_cv_lib_gpm_Gpm_Open=yes 15316 ac_cv_lib_gpm_Gpm_Open=yes
14946 else 15317 else
14947 echo "$as_me: failed program was:" >&5 15318 $as_echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5 15319 sed 's/^/| /' conftest.$ac_ext >&5
14949 15320
14950 ac_cv_lib_gpm_Gpm_Open=no 15321 ac_cv_lib_gpm_Gpm_Open=no
14951 fi 15322 fi
14952 15323
15324 rm -rf conftest.dSYM
14953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14954 conftest$ac_exeext conftest.$ac_ext 15326 conftest$ac_exeext conftest.$ac_ext
14955 LIBS=$ac_check_lib_save_LIBS 15327 LIBS=$ac_check_lib_save_LIBS
14956 fi 15328 fi
14957 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 15329 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
14958 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; } 15330 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
14959 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 15331 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
14960 HAVE_GPM=yes 15332 HAVE_GPM=yes
14961 fi 15333 fi
14962 15334
14963 fi 15335 fi
14972 _ACEOF 15344 _ACEOF
14973 15345
14974 fi 15346 fi
14975 15347
14976 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15348 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
14977 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 15349 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
14978 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } 15350 $as_echo_n "checking for malloc/malloc.h... " >&6; }
14979 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15351 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6 15352 $as_echo_n "(cached) " >&6
14981 fi 15353 fi
14982 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 15354 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
14983 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } 15355 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
14984 else 15356 else
14985 # Is the header compilable? 15357 # Is the header compilable?
14986 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 15358 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
14987 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; } 15359 $as_echo_n "checking malloc/malloc.h usability... " >&6; }
14988 cat >conftest.$ac_ext <<_ACEOF 15360 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h. */ 15361 /* confdefs.h. */
14990 _ACEOF 15362 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext 15363 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF 15364 cat >>conftest.$ac_ext <<_ACEOF
14998 if { (ac_try="$ac_compile" 15370 if { (ac_try="$ac_compile"
14999 case "(($ac_try" in 15371 case "(($ac_try" in
15000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15001 *) ac_try_echo=$ac_try;; 15373 *) ac_try_echo=$ac_try;;
15002 esac 15374 esac
15003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15376 $as_echo "$ac_try_echo") >&5
15004 (eval "$ac_compile") 2>conftest.er1 15377 (eval "$ac_compile") 2>conftest.er1
15005 ac_status=$? 15378 ac_status=$?
15006 grep -v '^ *+' conftest.er1 >conftest.err 15379 grep -v '^ *+' conftest.er1 >conftest.err
15007 rm -f conftest.er1 15380 rm -f conftest.er1
15008 cat conftest.err >&5 15381 cat conftest.err >&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } && { 15383 (exit $ac_status); } && {
15011 test -z "$ac_c_werror_flag" || 15384 test -z "$ac_c_werror_flag" ||
15012 test ! -s conftest.err 15385 test ! -s conftest.err
15013 } && test -s conftest.$ac_objext; then 15386 } && test -s conftest.$ac_objext; then
15014 ac_header_compiler=yes 15387 ac_header_compiler=yes
15015 else 15388 else
15016 echo "$as_me: failed program was:" >&5 15389 $as_echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5 15390 sed 's/^/| /' conftest.$ac_ext >&5
15018 15391
15019 ac_header_compiler=no 15392 ac_header_compiler=no
15020 fi 15393 fi
15021 15394
15022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15023 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15396 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15024 echo "${ECHO_T}$ac_header_compiler" >&6; } 15397 $as_echo "$ac_header_compiler" >&6; }
15025 15398
15026 # Is the header present? 15399 # Is the header present?
15027 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 15400 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
15028 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; } 15401 $as_echo_n "checking malloc/malloc.h presence... " >&6; }
15029 cat >conftest.$ac_ext <<_ACEOF 15402 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */ 15403 /* confdefs.h. */
15031 _ACEOF 15404 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext 15405 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF 15406 cat >>conftest.$ac_ext <<_ACEOF
15037 if { (ac_try="$ac_cpp conftest.$ac_ext" 15410 if { (ac_try="$ac_cpp conftest.$ac_ext"
15038 case "(($ac_try" in 15411 case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;; 15413 *) ac_try_echo=$ac_try;;
15041 esac 15414 esac
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15416 $as_echo "$ac_try_echo") >&5
15043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15044 ac_status=$? 15418 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err 15419 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1 15420 rm -f conftest.er1
15047 cat conftest.err >&5 15421 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15422 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } >/dev/null && { 15423 (exit $ac_status); } >/dev/null && {
15050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15051 test ! -s conftest.err 15425 test ! -s conftest.err
15052 }; then 15426 }; then
15053 ac_header_preproc=yes 15427 ac_header_preproc=yes
15054 else 15428 else
15055 echo "$as_me: failed program was:" >&5 15429 $as_echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.$ac_ext >&5 15430 sed 's/^/| /' conftest.$ac_ext >&5
15057 15431
15058 ac_header_preproc=no 15432 ac_header_preproc=no
15059 fi 15433 fi
15060 15434
15061 rm -f conftest.err conftest.$ac_ext 15435 rm -f conftest.err conftest.$ac_ext
15062 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15436 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15063 echo "${ECHO_T}$ac_header_preproc" >&6; } 15437 $as_echo "$ac_header_preproc" >&6; }
15064 15438
15065 # So? What about this header? 15439 # So? What about this header?
15066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15067 yes:no: ) 15441 yes:no: )
15068 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 15442 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
15069 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15443 $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15070 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 15444 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
15071 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} 15445 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
15072 ac_header_preproc=yes 15446 ac_header_preproc=yes
15073 ;; 15447 ;;
15074 no:yes:* ) 15448 no:yes:* )
15075 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 15449 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
15076 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} 15450 $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
15077 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 15451 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
15078 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} 15452 $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
15079 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 15453 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
15080 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} 15454 $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
15081 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 15455 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
15082 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 15456 $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
15083 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 15457 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
15084 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} 15458 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
15085 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 15459 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
15086 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} 15460 $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
15087 15461
15088 ;; 15462 ;;
15089 esac 15463 esac
15090 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 15464 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15091 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } 15465 $as_echo_n "checking for malloc/malloc.h... " >&6; }
15092 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 15466 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6 15467 $as_echo_n "(cached) " >&6
15094 else 15468 else
15095 ac_cv_header_malloc_malloc_h=$ac_header_preproc 15469 ac_cv_header_malloc_malloc_h=$ac_header_preproc
15096 fi 15470 fi
15097 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 15471 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15098 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } 15472 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; }
15099 15473
15100 fi 15474 fi
15101 if test $ac_cv_header_malloc_malloc_h = yes; then 15475 if test $ac_cv_header_malloc_malloc_h = yes; then
15102 15476
15103 cat >>confdefs.h <<\_ACEOF 15477 cat >>confdefs.h <<\_ACEOF
15145 15519
15146 ### Use session management (-lSM -lICE) if available 15520 ### Use session management (-lSM -lICE) if available
15147 HAVE_X_SM=no 15521 HAVE_X_SM=no
15148 if test "${HAVE_X11}" = "yes"; then 15522 if test "${HAVE_X11}" = "yes"; then
15149 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15523 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15150 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15524 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15151 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } 15525 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
15152 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15526 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6 15527 $as_echo_n "(cached) " >&6
15154 fi 15528 fi
15155 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15529 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15156 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } 15530 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
15157 else 15531 else
15158 # Is the header compilable? 15532 # Is the header compilable?
15159 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 15533 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
15160 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; } 15534 $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; }
15161 cat >conftest.$ac_ext <<_ACEOF 15535 cat >conftest.$ac_ext <<_ACEOF
15162 /* confdefs.h. */ 15536 /* confdefs.h. */
15163 _ACEOF 15537 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext 15538 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF 15539 cat >>conftest.$ac_ext <<_ACEOF
15171 if { (ac_try="$ac_compile" 15545 if { (ac_try="$ac_compile"
15172 case "(($ac_try" in 15546 case "(($ac_try" in
15173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15174 *) ac_try_echo=$ac_try;; 15548 *) ac_try_echo=$ac_try;;
15175 esac 15549 esac
15176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15551 $as_echo "$ac_try_echo") >&5
15177 (eval "$ac_compile") 2>conftest.er1 15552 (eval "$ac_compile") 2>conftest.er1
15178 ac_status=$? 15553 ac_status=$?
15179 grep -v '^ *+' conftest.er1 >conftest.err 15554 grep -v '^ *+' conftest.er1 >conftest.err
15180 rm -f conftest.er1 15555 rm -f conftest.er1
15181 cat conftest.err >&5 15556 cat conftest.err >&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } && { 15558 (exit $ac_status); } && {
15184 test -z "$ac_c_werror_flag" || 15559 test -z "$ac_c_werror_flag" ||
15185 test ! -s conftest.err 15560 test ! -s conftest.err
15186 } && test -s conftest.$ac_objext; then 15561 } && test -s conftest.$ac_objext; then
15187 ac_header_compiler=yes 15562 ac_header_compiler=yes
15188 else 15563 else
15189 echo "$as_me: failed program was:" >&5 15564 $as_echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5 15565 sed 's/^/| /' conftest.$ac_ext >&5
15191 15566
15192 ac_header_compiler=no 15567 ac_header_compiler=no
15193 fi 15568 fi
15194 15569
15195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15571 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15197 echo "${ECHO_T}$ac_header_compiler" >&6; } 15572 $as_echo "$ac_header_compiler" >&6; }
15198 15573
15199 # Is the header present? 15574 # Is the header present?
15200 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 15575 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
15201 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; } 15576 $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; }
15202 cat >conftest.$ac_ext <<_ACEOF 15577 cat >conftest.$ac_ext <<_ACEOF
15203 /* confdefs.h. */ 15578 /* confdefs.h. */
15204 _ACEOF 15579 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext 15580 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF 15581 cat >>conftest.$ac_ext <<_ACEOF
15210 if { (ac_try="$ac_cpp conftest.$ac_ext" 15585 if { (ac_try="$ac_cpp conftest.$ac_ext"
15211 case "(($ac_try" in 15586 case "(($ac_try" in
15212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15213 *) ac_try_echo=$ac_try;; 15588 *) ac_try_echo=$ac_try;;
15214 esac 15589 esac
15215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15591 $as_echo "$ac_try_echo") >&5
15216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15217 ac_status=$? 15593 ac_status=$?
15218 grep -v '^ *+' conftest.er1 >conftest.err 15594 grep -v '^ *+' conftest.er1 >conftest.err
15219 rm -f conftest.er1 15595 rm -f conftest.er1
15220 cat conftest.err >&5 15596 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } >/dev/null && { 15598 (exit $ac_status); } >/dev/null && {
15223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15224 test ! -s conftest.err 15600 test ! -s conftest.err
15225 }; then 15601 }; then
15226 ac_header_preproc=yes 15602 ac_header_preproc=yes
15227 else 15603 else
15228 echo "$as_me: failed program was:" >&5 15604 $as_echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.$ac_ext >&5 15605 sed 's/^/| /' conftest.$ac_ext >&5
15230 15606
15231 ac_header_preproc=no 15607 ac_header_preproc=no
15232 fi 15608 fi
15233 15609
15234 rm -f conftest.err conftest.$ac_ext 15610 rm -f conftest.err conftest.$ac_ext
15235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15611 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15236 echo "${ECHO_T}$ac_header_preproc" >&6; } 15612 $as_echo "$ac_header_preproc" >&6; }
15237 15613
15238 # So? What about this header? 15614 # So? What about this header?
15239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15240 yes:no: ) 15616 yes:no: )
15241 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 15617 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15242 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15618 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15243 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 15619 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
15244 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} 15620 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
15245 ac_header_preproc=yes 15621 ac_header_preproc=yes
15246 ;; 15622 ;;
15247 no:yes:* ) 15623 no:yes:* )
15248 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 15624 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
15249 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} 15625 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
15250 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 15626 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
15251 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} 15627 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
15252 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 15628 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
15253 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} 15629 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
15254 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 15630 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
15255 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 15631 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15256 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 15632 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
15257 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} 15633 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
15258 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 15634 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
15259 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} 15635 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
15260 15636
15261 ;; 15637 ;;
15262 esac 15638 esac
15263 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15639 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15264 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } 15640 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; }
15265 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15641 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6 15642 $as_echo_n "(cached) " >&6
15267 else 15643 else
15268 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc 15644 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
15269 fi 15645 fi
15270 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15271 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } 15647 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; }
15272 15648
15273 fi 15649 fi
15274 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 15650 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
15275 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 15651 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
15276 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; } 15652 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
15277 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 15653 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6 15654 $as_echo_n "(cached) " >&6
15279 else 15655 else
15280 ac_check_lib_save_LIBS=$LIBS 15656 ac_check_lib_save_LIBS=$LIBS
15281 LIBS="-lSM -lICE $LIBS" 15657 LIBS="-lSM -lICE $LIBS"
15282 cat >conftest.$ac_ext <<_ACEOF 15658 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */ 15659 /* confdefs.h. */
15305 if { (ac_try="$ac_link" 15681 if { (ac_try="$ac_link"
15306 case "(($ac_try" in 15682 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;; 15684 *) ac_try_echo=$ac_try;;
15309 esac 15685 esac
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15687 $as_echo "$ac_try_echo") >&5
15311 (eval "$ac_link") 2>conftest.er1 15688 (eval "$ac_link") 2>conftest.er1
15312 ac_status=$? 15689 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err 15690 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1 15691 rm -f conftest.er1
15315 cat conftest.err >&5 15692 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && { 15694 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" || 15695 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err 15696 test ! -s conftest.err
15320 } && test -s conftest$ac_exeext && 15697 } && test -s conftest$ac_exeext && {
15321 $as_test_x conftest$ac_exeext; then 15698 test "$cross_compiling" = yes ||
15699 $as_test_x conftest$ac_exeext
15700 }; then
15322 ac_cv_lib_SM_SmcOpenConnection=yes 15701 ac_cv_lib_SM_SmcOpenConnection=yes
15323 else 15702 else
15324 echo "$as_me: failed program was:" >&5 15703 $as_echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5 15704 sed 's/^/| /' conftest.$ac_ext >&5
15326 15705
15327 ac_cv_lib_SM_SmcOpenConnection=no 15706 ac_cv_lib_SM_SmcOpenConnection=no
15328 fi 15707 fi
15329 15708
15709 rm -rf conftest.dSYM
15330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15331 conftest$ac_exeext conftest.$ac_ext 15711 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_check_lib_save_LIBS 15712 LIBS=$ac_check_lib_save_LIBS
15333 fi 15713 fi
15334 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 15714 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
15335 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; } 15715 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
15336 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 15716 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
15337 HAVE_X_SM=yes 15717 HAVE_X_SM=yes
15338 fi 15718 fi
15339 15719
15340 fi 15720 fi
15353 esac 15733 esac
15354 fi 15734 fi
15355 fi 15735 fi
15356 15736
15357 # If netdb.h doesn't declare h_errno, we must declare it by hand. 15737 # If netdb.h doesn't declare h_errno, we must declare it by hand.
15358 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 15738 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
15359 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; } 15739 $as_echo_n "checking whether netdb declares h_errno... " >&6; }
15360 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 15740 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6 15741 $as_echo_n "(cached) " >&6
15362 else 15742 else
15363 cat >conftest.$ac_ext <<_ACEOF 15743 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h. */ 15744 /* confdefs.h. */
15365 _ACEOF 15745 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext 15746 cat confdefs.h >>conftest.$ac_ext
15379 if { (ac_try="$ac_link" 15759 if { (ac_try="$ac_link"
15380 case "(($ac_try" in 15760 case "(($ac_try" in
15381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15382 *) ac_try_echo=$ac_try;; 15762 *) ac_try_echo=$ac_try;;
15383 esac 15763 esac
15384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15765 $as_echo "$ac_try_echo") >&5
15385 (eval "$ac_link") 2>conftest.er1 15766 (eval "$ac_link") 2>conftest.er1
15386 ac_status=$? 15767 ac_status=$?
15387 grep -v '^ *+' conftest.er1 >conftest.err 15768 grep -v '^ *+' conftest.er1 >conftest.err
15388 rm -f conftest.er1 15769 rm -f conftest.er1
15389 cat conftest.err >&5 15770 cat conftest.err >&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } && { 15772 (exit $ac_status); } && {
15392 test -z "$ac_c_werror_flag" || 15773 test -z "$ac_c_werror_flag" ||
15393 test ! -s conftest.err 15774 test ! -s conftest.err
15394 } && test -s conftest$ac_exeext && 15775 } && test -s conftest$ac_exeext && {
15395 $as_test_x conftest$ac_exeext; then 15776 test "$cross_compiling" = yes ||
15777 $as_test_x conftest$ac_exeext
15778 }; then
15396 emacs_cv_netdb_declares_h_errno=yes 15779 emacs_cv_netdb_declares_h_errno=yes
15397 else 15780 else
15398 echo "$as_me: failed program was:" >&5 15781 $as_echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.$ac_ext >&5 15782 sed 's/^/| /' conftest.$ac_ext >&5
15400 15783
15401 emacs_cv_netdb_declares_h_errno=no 15784 emacs_cv_netdb_declares_h_errno=no
15402 fi 15785 fi
15403 15786
15787 rm -rf conftest.dSYM
15404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15405 conftest$ac_exeext conftest.$ac_ext 15789 conftest$ac_exeext conftest.$ac_ext
15406 fi 15790 fi
15407 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 15791 { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
15408 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; } 15792 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; }
15409 if test $emacs_cv_netdb_declares_h_errno = yes; then 15793 if test $emacs_cv_netdb_declares_h_errno = yes; then
15410 15794
15411 cat >>confdefs.h <<\_ACEOF 15795 cat >>confdefs.h <<\_ACEOF
15412 #define HAVE_H_ERRNO 1 15796 #define HAVE_H_ERRNO 1
15413 _ACEOF 15797 _ACEOF
15414 15798
15415 fi 15799 fi
15416 15800
15417 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 15801 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15418 # for constant arguments. Useless! 15802 # for constant arguments. Useless!
15419 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 15803 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
15420 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 15804 $as_echo_n "checking for working alloca.h... " >&6; }
15421 if test "${ac_cv_working_alloca_h+set}" = set; then 15805 if test "${ac_cv_working_alloca_h+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6 15806 $as_echo_n "(cached) " >&6
15423 else 15807 else
15424 cat >conftest.$ac_ext <<_ACEOF 15808 cat >conftest.$ac_ext <<_ACEOF
15425 /* confdefs.h. */ 15809 /* confdefs.h. */
15426 _ACEOF 15810 _ACEOF
15427 cat confdefs.h >>conftest.$ac_ext 15811 cat confdefs.h >>conftest.$ac_ext
15441 if { (ac_try="$ac_link" 15825 if { (ac_try="$ac_link"
15442 case "(($ac_try" in 15826 case "(($ac_try" in
15443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;; 15828 *) ac_try_echo=$ac_try;;
15445 esac 15829 esac
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15831 $as_echo "$ac_try_echo") >&5
15447 (eval "$ac_link") 2>conftest.er1 15832 (eval "$ac_link") 2>conftest.er1
15448 ac_status=$? 15833 ac_status=$?
15449 grep -v '^ *+' conftest.er1 >conftest.err 15834 grep -v '^ *+' conftest.er1 >conftest.err
15450 rm -f conftest.er1 15835 rm -f conftest.er1
15451 cat conftest.err >&5 15836 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && { 15838 (exit $ac_status); } && {
15454 test -z "$ac_c_werror_flag" || 15839 test -z "$ac_c_werror_flag" ||
15455 test ! -s conftest.err 15840 test ! -s conftest.err
15456 } && test -s conftest$ac_exeext && 15841 } && test -s conftest$ac_exeext && {
15457 $as_test_x conftest$ac_exeext; then 15842 test "$cross_compiling" = yes ||
15843 $as_test_x conftest$ac_exeext
15844 }; then
15458 ac_cv_working_alloca_h=yes 15845 ac_cv_working_alloca_h=yes
15459 else 15846 else
15460 echo "$as_me: failed program was:" >&5 15847 $as_echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5 15848 sed 's/^/| /' conftest.$ac_ext >&5
15462 15849
15463 ac_cv_working_alloca_h=no 15850 ac_cv_working_alloca_h=no
15464 fi 15851 fi
15465 15852
15853 rm -rf conftest.dSYM
15466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15467 conftest$ac_exeext conftest.$ac_ext 15855 conftest$ac_exeext conftest.$ac_ext
15468 fi 15856 fi
15469 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 15857 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15470 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 15858 $as_echo "$ac_cv_working_alloca_h" >&6; }
15471 if test $ac_cv_working_alloca_h = yes; then 15859 if test $ac_cv_working_alloca_h = yes; then
15472 15860
15473 cat >>confdefs.h <<\_ACEOF 15861 cat >>confdefs.h <<\_ACEOF
15474 #define HAVE_ALLOCA_H 1 15862 #define HAVE_ALLOCA_H 1
15475 _ACEOF 15863 _ACEOF
15476 15864
15477 fi 15865 fi
15478 15866
15479 { echo "$as_me:$LINENO: checking for alloca" >&5 15867 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
15480 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 15868 $as_echo_n "checking for alloca... " >&6; }
15481 if test "${ac_cv_func_alloca_works+set}" = set; then 15869 if test "${ac_cv_func_alloca_works+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6 15870 $as_echo_n "(cached) " >&6
15483 else 15871 else
15484 cat >conftest.$ac_ext <<_ACEOF 15872 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */ 15873 /* confdefs.h. */
15486 _ACEOF 15874 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext 15875 cat confdefs.h >>conftest.$ac_ext
15521 if { (ac_try="$ac_link" 15909 if { (ac_try="$ac_link"
15522 case "(($ac_try" in 15910 case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15524 *) ac_try_echo=$ac_try;; 15912 *) ac_try_echo=$ac_try;;
15525 esac 15913 esac
15526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15915 $as_echo "$ac_try_echo") >&5
15527 (eval "$ac_link") 2>conftest.er1 15916 (eval "$ac_link") 2>conftest.er1
15528 ac_status=$? 15917 ac_status=$?
15529 grep -v '^ *+' conftest.er1 >conftest.err 15918 grep -v '^ *+' conftest.er1 >conftest.err
15530 rm -f conftest.er1 15919 rm -f conftest.er1
15531 cat conftest.err >&5 15920 cat conftest.err >&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && { 15922 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" || 15923 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err 15924 test ! -s conftest.err
15536 } && test -s conftest$ac_exeext && 15925 } && test -s conftest$ac_exeext && {
15537 $as_test_x conftest$ac_exeext; then 15926 test "$cross_compiling" = yes ||
15927 $as_test_x conftest$ac_exeext
15928 }; then
15538 ac_cv_func_alloca_works=yes 15929 ac_cv_func_alloca_works=yes
15539 else 15930 else
15540 echo "$as_me: failed program was:" >&5 15931 $as_echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5 15932 sed 's/^/| /' conftest.$ac_ext >&5
15542 15933
15543 ac_cv_func_alloca_works=no 15934 ac_cv_func_alloca_works=no
15544 fi 15935 fi
15545 15936
15937 rm -rf conftest.dSYM
15546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15547 conftest$ac_exeext conftest.$ac_ext 15939 conftest$ac_exeext conftest.$ac_ext
15548 fi 15940 fi
15549 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 15941 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15550 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 15942 $as_echo "$ac_cv_func_alloca_works" >&6; }
15551 15943
15552 if test $ac_cv_func_alloca_works = yes; then 15944 if test $ac_cv_func_alloca_works = yes; then
15553 15945
15554 cat >>confdefs.h <<\_ACEOF 15946 cat >>confdefs.h <<\_ACEOF
15555 #define HAVE_ALLOCA 1 15947 #define HAVE_ALLOCA 1
15566 cat >>confdefs.h <<\_ACEOF 15958 cat >>confdefs.h <<\_ACEOF
15567 #define C_ALLOCA 1 15959 #define C_ALLOCA 1
15568 _ACEOF 15960 _ACEOF
15569 15961
15570 15962
15571 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 15963 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15572 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 15964 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15573 if test "${ac_cv_os_cray+set}" = set; then 15965 if test "${ac_cv_os_cray+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6 15966 $as_echo_n "(cached) " >&6
15575 else 15967 else
15576 cat >conftest.$ac_ext <<_ACEOF 15968 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */ 15969 /* confdefs.h. */
15578 _ACEOF 15970 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext 15971 cat confdefs.h >>conftest.$ac_ext
15593 ac_cv_os_cray=no 15985 ac_cv_os_cray=no
15594 fi 15986 fi
15595 rm -f conftest* 15987 rm -f conftest*
15596 15988
15597 fi 15989 fi
15598 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 15990 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15599 echo "${ECHO_T}$ac_cv_os_cray" >&6; } 15991 $as_echo "$ac_cv_os_cray" >&6; }
15600 if test $ac_cv_os_cray = yes; then 15992 if test $ac_cv_os_cray = yes; then
15601 for ac_func in _getb67 GETB67 getb67; do 15993 for ac_func in _getb67 GETB67 getb67; do
15602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 { echo "$as_me:$LINENO: checking for $ac_func" >&5 15995 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15996 $as_echo_n "checking for $ac_func... " >&6; }
15605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6 15998 $as_echo_n "(cached) " >&6
15607 else 15999 else
15608 cat >conftest.$ac_ext <<_ACEOF 16000 cat >conftest.$ac_ext <<_ACEOF
15609 /* confdefs.h. */ 16001 /* confdefs.h. */
15610 _ACEOF 16002 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext 16003 cat confdefs.h >>conftest.$ac_ext
15654 if { (ac_try="$ac_link" 16046 if { (ac_try="$ac_link"
15655 case "(($ac_try" in 16047 case "(($ac_try" in
15656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15657 *) ac_try_echo=$ac_try;; 16049 *) ac_try_echo=$ac_try;;
15658 esac 16050 esac
15659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16052 $as_echo "$ac_try_echo") >&5
15660 (eval "$ac_link") 2>conftest.er1 16053 (eval "$ac_link") 2>conftest.er1
15661 ac_status=$? 16054 ac_status=$?
15662 grep -v '^ *+' conftest.er1 >conftest.err 16055 grep -v '^ *+' conftest.er1 >conftest.err
15663 rm -f conftest.er1 16056 rm -f conftest.er1
15664 cat conftest.err >&5 16057 cat conftest.err >&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } && { 16059 (exit $ac_status); } && {
15667 test -z "$ac_c_werror_flag" || 16060 test -z "$ac_c_werror_flag" ||
15668 test ! -s conftest.err 16061 test ! -s conftest.err
15669 } && test -s conftest$ac_exeext && 16062 } && test -s conftest$ac_exeext && {
15670 $as_test_x conftest$ac_exeext; then 16063 test "$cross_compiling" = yes ||
16064 $as_test_x conftest$ac_exeext
16065 }; then
15671 eval "$as_ac_var=yes" 16066 eval "$as_ac_var=yes"
15672 else 16067 else
15673 echo "$as_me: failed program was:" >&5 16068 $as_echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5 16069 sed 's/^/| /' conftest.$ac_ext >&5
15675 16070
15676 eval "$as_ac_var=no" 16071 eval "$as_ac_var=no"
15677 fi 16072 fi
15678 16073
16074 rm -rf conftest.dSYM
15679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15680 conftest$ac_exeext conftest.$ac_ext 16076 conftest$ac_exeext conftest.$ac_ext
15681 fi 16077 fi
15682 ac_res=`eval echo '${'$as_ac_var'}'` 16078 ac_res=`eval 'as_val=${'$as_ac_var'}
15683 { echo "$as_me:$LINENO: result: $ac_res" >&5 16079 $as_echo "$as_val"'`
15684 echo "${ECHO_T}$ac_res" >&6; } 16080 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15685 if test `eval echo '${'$as_ac_var'}'` = yes; then 16081 $as_echo "$ac_res" >&6; }
16082 if test `eval 'as_val=${'$as_ac_var'}
16083 $as_echo "$as_val"'` = yes; then
15686 16084
15687 cat >>confdefs.h <<_ACEOF 16085 cat >>confdefs.h <<_ACEOF
15688 #define CRAY_STACKSEG_END $ac_func 16086 #define CRAY_STACKSEG_END $ac_func
15689 _ACEOF 16087 _ACEOF
15690 16088
15692 fi 16090 fi
15693 16091
15694 done 16092 done
15695 fi 16093 fi
15696 16094
15697 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 16095 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15698 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } 16096 $as_echo_n "checking stack direction for C alloca... " >&6; }
15699 if test "${ac_cv_c_stack_direction+set}" = set; then 16097 if test "${ac_cv_c_stack_direction+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6 16098 $as_echo_n "(cached) " >&6
15701 else 16099 else
15702 if test "$cross_compiling" = yes; then 16100 if test "$cross_compiling" = yes; then
15703 ac_cv_c_stack_direction=0 16101 ac_cv_c_stack_direction=0
15704 else 16102 else
15705 cat >conftest.$ac_ext <<_ACEOF 16103 cat >conftest.$ac_ext <<_ACEOF
15733 if { (ac_try="$ac_link" 16131 if { (ac_try="$ac_link"
15734 case "(($ac_try" in 16132 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;; 16134 *) ac_try_echo=$ac_try;;
15737 esac 16135 esac
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16137 $as_echo "$ac_try_echo") >&5
15739 (eval "$ac_link") 2>&5 16138 (eval "$ac_link") 2>&5
15740 ac_status=$? 16139 ac_status=$?
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15743 { (case "(($ac_try" in 16142 { (case "(($ac_try" in
15744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;; 16144 *) ac_try_echo=$ac_try;;
15746 esac 16145 esac
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16147 $as_echo "$ac_try_echo") >&5
15748 (eval "$ac_try") 2>&5 16148 (eval "$ac_try") 2>&5
15749 ac_status=$? 16149 ac_status=$?
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then 16151 (exit $ac_status); }; }; then
15752 ac_cv_c_stack_direction=1 16152 ac_cv_c_stack_direction=1
15753 else 16153 else
15754 echo "$as_me: program exited with status $ac_status" >&5 16154 $as_echo "$as_me: program exited with status $ac_status" >&5
15755 echo "$as_me: failed program was:" >&5 16155 $as_echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5 16156 sed 's/^/| /' conftest.$ac_ext >&5
15757 16157
15758 ( exit $ac_status ) 16158 ( exit $ac_status )
15759 ac_cv_c_stack_direction=-1 16159 ac_cv_c_stack_direction=-1
15760 fi 16160 fi
16161 rm -rf conftest.dSYM
15761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15762 fi 16163 fi
15763 16164
15764 16165
15765 fi 16166 fi
15766 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 16167 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15767 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 16168 $as_echo "$ac_cv_c_stack_direction" >&6; }
15768 16169
15769 cat >>confdefs.h <<_ACEOF 16170 cat >>confdefs.h <<_ACEOF
15770 #define STACK_DIRECTION $ac_cv_c_stack_direction 16171 #define STACK_DIRECTION $ac_cv_c_stack_direction
15771 _ACEOF 16172 _ACEOF
15772 16173
15773 16174
15774 fi 16175 fi
15775 16176
15776 16177
15777 if test x"$ac_cv_func_alloca_works" != xyes; then 16178 if test x"$ac_cv_func_alloca_works" != xyes; then
15778 { { echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 16179 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5
15779 echo "$as_me: error: a system implementation of alloca is required " >&2;} 16180 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;}
15780 { (exit 1); exit 1; }; } 16181 { (exit 1); exit 1; }; }
15781 fi 16182 fi
15782 16183
15783 # fmod, logb, and frexp are found in -lm on most systems. 16184 # fmod, logb, and frexp are found in -lm on most systems.
15784 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 16185 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
15785 16186
15786 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 16187 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15787 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; } 16188 $as_echo_n "checking for sqrt in -lm... " >&6; }
15788 if test "${ac_cv_lib_m_sqrt+set}" = set; then 16189 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15789 echo $ECHO_N "(cached) $ECHO_C" >&6 16190 $as_echo_n "(cached) " >&6
15790 else 16191 else
15791 ac_check_lib_save_LIBS=$LIBS 16192 ac_check_lib_save_LIBS=$LIBS
15792 LIBS="-lm $LIBS" 16193 LIBS="-lm $LIBS"
15793 cat >conftest.$ac_ext <<_ACEOF 16194 cat >conftest.$ac_ext <<_ACEOF
15794 /* confdefs.h. */ 16195 /* confdefs.h. */
15816 if { (ac_try="$ac_link" 16217 if { (ac_try="$ac_link"
15817 case "(($ac_try" in 16218 case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;; 16220 *) ac_try_echo=$ac_try;;
15820 esac 16221 esac
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16223 $as_echo "$ac_try_echo") >&5
15822 (eval "$ac_link") 2>conftest.er1 16224 (eval "$ac_link") 2>conftest.er1
15823 ac_status=$? 16225 ac_status=$?
15824 grep -v '^ *+' conftest.er1 >conftest.err 16226 grep -v '^ *+' conftest.er1 >conftest.err
15825 rm -f conftest.er1 16227 rm -f conftest.er1
15826 cat conftest.err >&5 16228 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && { 16230 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" || 16231 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err 16232 test ! -s conftest.err
15831 } && test -s conftest$ac_exeext && 16233 } && test -s conftest$ac_exeext && {
15832 $as_test_x conftest$ac_exeext; then 16234 test "$cross_compiling" = yes ||
16235 $as_test_x conftest$ac_exeext
16236 }; then
15833 ac_cv_lib_m_sqrt=yes 16237 ac_cv_lib_m_sqrt=yes
15834 else 16238 else
15835 echo "$as_me: failed program was:" >&5 16239 $as_echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5 16240 sed 's/^/| /' conftest.$ac_ext >&5
15837 16241
15838 ac_cv_lib_m_sqrt=no 16242 ac_cv_lib_m_sqrt=no
15839 fi 16243 fi
15840 16244
16245 rm -rf conftest.dSYM
15841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15842 conftest$ac_exeext conftest.$ac_ext 16247 conftest$ac_exeext conftest.$ac_ext
15843 LIBS=$ac_check_lib_save_LIBS 16248 LIBS=$ac_check_lib_save_LIBS
15844 fi 16249 fi
15845 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 16250 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15846 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; } 16251 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
15847 if test $ac_cv_lib_m_sqrt = yes; then 16252 if test $ac_cv_lib_m_sqrt = yes; then
15848 cat >>confdefs.h <<_ACEOF 16253 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_LIBM 1 16254 #define HAVE_LIBM 1
15850 _ACEOF 16255 _ACEOF
15851 16256
15855 16260
15856 16261
15857 # Check for mail-locking functions in a "mail" library. Probably this should 16262 # Check for mail-locking functions in a "mail" library. Probably this should
15858 # have the same check as for liblockfile below. 16263 # have the same check as for liblockfile below.
15859 16264
15860 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 16265 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
15861 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; } 16266 $as_echo_n "checking for maillock in -lmail... " >&6; }
15862 if test "${ac_cv_lib_mail_maillock+set}" = set; then 16267 if test "${ac_cv_lib_mail_maillock+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6 16268 $as_echo_n "(cached) " >&6
15864 else 16269 else
15865 ac_check_lib_save_LIBS=$LIBS 16270 ac_check_lib_save_LIBS=$LIBS
15866 LIBS="-lmail $LIBS" 16271 LIBS="-lmail $LIBS"
15867 cat >conftest.$ac_ext <<_ACEOF 16272 cat >conftest.$ac_ext <<_ACEOF
15868 /* confdefs.h. */ 16273 /* confdefs.h. */
15890 if { (ac_try="$ac_link" 16295 if { (ac_try="$ac_link"
15891 case "(($ac_try" in 16296 case "(($ac_try" in
15892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15893 *) ac_try_echo=$ac_try;; 16298 *) ac_try_echo=$ac_try;;
15894 esac 16299 esac
15895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16301 $as_echo "$ac_try_echo") >&5
15896 (eval "$ac_link") 2>conftest.er1 16302 (eval "$ac_link") 2>conftest.er1
15897 ac_status=$? 16303 ac_status=$?
15898 grep -v '^ *+' conftest.er1 >conftest.err 16304 grep -v '^ *+' conftest.er1 >conftest.err
15899 rm -f conftest.er1 16305 rm -f conftest.er1
15900 cat conftest.err >&5 16306 cat conftest.err >&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && { 16308 (exit $ac_status); } && {
15903 test -z "$ac_c_werror_flag" || 16309 test -z "$ac_c_werror_flag" ||
15904 test ! -s conftest.err 16310 test ! -s conftest.err
15905 } && test -s conftest$ac_exeext && 16311 } && test -s conftest$ac_exeext && {
15906 $as_test_x conftest$ac_exeext; then 16312 test "$cross_compiling" = yes ||
16313 $as_test_x conftest$ac_exeext
16314 }; then
15907 ac_cv_lib_mail_maillock=yes 16315 ac_cv_lib_mail_maillock=yes
15908 else 16316 else
15909 echo "$as_me: failed program was:" >&5 16317 $as_echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5 16318 sed 's/^/| /' conftest.$ac_ext >&5
15911 16319
15912 ac_cv_lib_mail_maillock=no 16320 ac_cv_lib_mail_maillock=no
15913 fi 16321 fi
15914 16322
16323 rm -rf conftest.dSYM
15915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15916 conftest$ac_exeext conftest.$ac_ext 16325 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_lib_save_LIBS 16326 LIBS=$ac_check_lib_save_LIBS
15918 fi 16327 fi
15919 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 16328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
15920 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; } 16329 $as_echo "$ac_cv_lib_mail_maillock" >&6; }
15921 if test $ac_cv_lib_mail_maillock = yes; then 16330 if test $ac_cv_lib_mail_maillock = yes; then
15922 cat >>confdefs.h <<_ACEOF 16331 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_LIBMAIL 1 16332 #define HAVE_LIBMAIL 1
15924 _ACEOF 16333 _ACEOF
15925 16334
15926 LIBS="-lmail $LIBS" 16335 LIBS="-lmail $LIBS"
15927 16336
15928 fi 16337 fi
15929 16338
15930 16339
15931 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 16340 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
15932 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } 16341 $as_echo_n "checking for maillock in -llockfile... " >&6; }
15933 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 16342 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6 16343 $as_echo_n "(cached) " >&6
15935 else 16344 else
15936 ac_check_lib_save_LIBS=$LIBS 16345 ac_check_lib_save_LIBS=$LIBS
15937 LIBS="-llockfile $LIBS" 16346 LIBS="-llockfile $LIBS"
15938 cat >conftest.$ac_ext <<_ACEOF 16347 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */ 16348 /* confdefs.h. */
15961 if { (ac_try="$ac_link" 16370 if { (ac_try="$ac_link"
15962 case "(($ac_try" in 16371 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;; 16373 *) ac_try_echo=$ac_try;;
15965 esac 16374 esac
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16376 $as_echo "$ac_try_echo") >&5
15967 (eval "$ac_link") 2>conftest.er1 16377 (eval "$ac_link") 2>conftest.er1
15968 ac_status=$? 16378 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err 16379 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1 16380 rm -f conftest.er1
15971 cat conftest.err >&5 16381 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && { 16383 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" || 16384 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err 16385 test ! -s conftest.err
15976 } && test -s conftest$ac_exeext && 16386 } && test -s conftest$ac_exeext && {
15977 $as_test_x conftest$ac_exeext; then 16387 test "$cross_compiling" = yes ||
16388 $as_test_x conftest$ac_exeext
16389 }; then
15978 ac_cv_lib_lockfile_maillock=yes 16390 ac_cv_lib_lockfile_maillock=yes
15979 else 16391 else
15980 echo "$as_me: failed program was:" >&5 16392 $as_echo "$as_me: failed program was:" >&5
15981 sed 's/^/| /' conftest.$ac_ext >&5 16393 sed 's/^/| /' conftest.$ac_ext >&5
15982 16394
15983 ac_cv_lib_lockfile_maillock=no 16395 ac_cv_lib_lockfile_maillock=no
15984 fi 16396 fi
15985 16397
16398 rm -rf conftest.dSYM
15986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15987 conftest$ac_exeext conftest.$ac_ext 16400 conftest$ac_exeext conftest.$ac_ext
15988 LIBS=$ac_check_lib_save_LIBS 16401 LIBS=$ac_check_lib_save_LIBS
15989 fi 16402 fi
15990 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 16403 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
15991 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } 16404 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
15992 if test $ac_cv_lib_lockfile_maillock = yes; then 16405 if test $ac_cv_lib_lockfile_maillock = yes; then
15993 cat >>confdefs.h <<_ACEOF 16406 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_LIBLOCKFILE 1 16407 #define HAVE_LIBLOCKFILE 1
15995 _ACEOF 16408 _ACEOF
15996 16409
16002 # locking (e.g. Debian). If we couldn't link against liblockfile 16415 # locking (e.g. Debian). If we couldn't link against liblockfile
16003 # (no liblockfile.a installed), ensure that we don't need to. 16416 # (no liblockfile.a installed), ensure that we don't need to.
16004 if test "$ac_cv_lib_lockfile_maillock" = no; then 16417 if test "$ac_cv_lib_lockfile_maillock" = no; then
16005 # Extract the first word of "liblockfile.so", so it can be a program name with args. 16418 # Extract the first word of "liblockfile.so", so it can be a program name with args.
16006 set dummy liblockfile.so; ac_word=$2 16419 set dummy liblockfile.so; ac_word=$2
16007 { echo "$as_me:$LINENO: checking for $ac_word" >&5 16420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 16421 $as_echo_n "checking for $ac_word... " >&6; }
16009 if test "${ac_cv_prog_liblockfile+set}" = set; then 16422 if test "${ac_cv_prog_liblockfile+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6 16423 $as_echo_n "(cached) " >&6
16011 else 16424 else
16012 if test -n "$liblockfile"; then 16425 if test -n "$liblockfile"; then
16013 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 16426 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
16014 else 16427 else
16015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16019 IFS=$as_save_IFS 16432 IFS=$as_save_IFS
16020 test -z "$as_dir" && as_dir=. 16433 test -z "$as_dir" && as_dir=.
16021 for ac_exec_ext in '' $ac_executable_extensions; do 16434 for ac_exec_ext in '' $ac_executable_extensions; do
16022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16023 ac_cv_prog_liblockfile="yes" 16436 ac_cv_prog_liblockfile="yes"
16024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16025 break 2 16438 break 2
16026 fi 16439 fi
16027 done 16440 done
16028 done 16441 done
16029 IFS=$as_save_IFS 16442 IFS=$as_save_IFS
16031 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 16444 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
16032 fi 16445 fi
16033 fi 16446 fi
16034 liblockfile=$ac_cv_prog_liblockfile 16447 liblockfile=$ac_cv_prog_liblockfile
16035 if test -n "$liblockfile"; then 16448 if test -n "$liblockfile"; then
16036 { echo "$as_me:$LINENO: result: $liblockfile" >&5 16449 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5
16037 echo "${ECHO_T}$liblockfile" >&6; } 16450 $as_echo "$liblockfile" >&6; }
16038 else 16451 else
16039 { echo "$as_me:$LINENO: result: no" >&5 16452 { $as_echo "$as_me:$LINENO: result: no" >&5
16040 echo "${ECHO_T}no" >&6; } 16453 $as_echo "no" >&6; }
16041 fi 16454 fi
16042 16455
16043 16456
16044 if test $ac_cv_prog_liblockfile = yes; then 16457 if test $ac_cv_prog_liblockfile = yes; then
16045 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 16458 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
16046 This probably means that movemail could lose mail. 16459 This probably means that movemail could lose mail.
16047 There may be a \`development' package to install containing liblockfile." >&5 16460 There may be a \`development' package to install containing liblockfile." >&5
16048 echo "$as_me: error: Shared liblockfile found but can't link against it. 16461 $as_echo "$as_me: error: Shared liblockfile found but can't link against it.
16049 This probably means that movemail could lose mail. 16462 This probably means that movemail could lose mail.
16050 There may be a \`development' package to install containing liblockfile." >&2;} 16463 There may be a \`development' package to install containing liblockfile." >&2;}
16051 { (exit 1); exit 1; }; } 16464 { (exit 1); exit 1; }; }
16052 else : 16465 else :
16053 fi 16466 fi
16054 fi 16467 fi
16055 16468
16056 for ac_func in touchlock 16469 for ac_func in touchlock
16057 do 16470 do
16058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16059 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16472 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16473 $as_echo_n "checking for $ac_func... " >&6; }
16061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6 16475 $as_echo_n "(cached) " >&6
16063 else 16476 else
16064 cat >conftest.$ac_ext <<_ACEOF 16477 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */ 16478 /* confdefs.h. */
16066 _ACEOF 16479 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext 16480 cat confdefs.h >>conftest.$ac_ext
16110 if { (ac_try="$ac_link" 16523 if { (ac_try="$ac_link"
16111 case "(($ac_try" in 16524 case "(($ac_try" in
16112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16113 *) ac_try_echo=$ac_try;; 16526 *) ac_try_echo=$ac_try;;
16114 esac 16527 esac
16115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16529 $as_echo "$ac_try_echo") >&5
16116 (eval "$ac_link") 2>conftest.er1 16530 (eval "$ac_link") 2>conftest.er1
16117 ac_status=$? 16531 ac_status=$?
16118 grep -v '^ *+' conftest.er1 >conftest.err 16532 grep -v '^ *+' conftest.er1 >conftest.err
16119 rm -f conftest.er1 16533 rm -f conftest.er1
16120 cat conftest.err >&5 16534 cat conftest.err >&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } && { 16536 (exit $ac_status); } && {
16123 test -z "$ac_c_werror_flag" || 16537 test -z "$ac_c_werror_flag" ||
16124 test ! -s conftest.err 16538 test ! -s conftest.err
16125 } && test -s conftest$ac_exeext && 16539 } && test -s conftest$ac_exeext && {
16126 $as_test_x conftest$ac_exeext; then 16540 test "$cross_compiling" = yes ||
16541 $as_test_x conftest$ac_exeext
16542 }; then
16127 eval "$as_ac_var=yes" 16543 eval "$as_ac_var=yes"
16128 else 16544 else
16129 echo "$as_me: failed program was:" >&5 16545 $as_echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5 16546 sed 's/^/| /' conftest.$ac_ext >&5
16131 16547
16132 eval "$as_ac_var=no" 16548 eval "$as_ac_var=no"
16133 fi 16549 fi
16134 16550
16551 rm -rf conftest.dSYM
16135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16136 conftest$ac_exeext conftest.$ac_ext 16553 conftest$ac_exeext conftest.$ac_ext
16137 fi 16554 fi
16138 ac_res=`eval echo '${'$as_ac_var'}'` 16555 ac_res=`eval 'as_val=${'$as_ac_var'}
16139 { echo "$as_me:$LINENO: result: $ac_res" >&5 16556 $as_echo "$as_val"'`
16140 echo "${ECHO_T}$ac_res" >&6; } 16557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16141 if test `eval echo '${'$as_ac_var'}'` = yes; then 16558 $as_echo "$ac_res" >&6; }
16559 if test `eval 'as_val=${'$as_ac_var'}
16560 $as_echo "$as_val"'` = yes; then
16142 cat >>confdefs.h <<_ACEOF 16561 cat >>confdefs.h <<_ACEOF
16143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16144 _ACEOF 16563 _ACEOF
16145 16564
16146 fi 16565 fi
16147 done 16566 done
16148 16567
16149 16568
16150 for ac_header in maillock.h 16569 for ac_header in maillock.h
16151 do 16570 do
16152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16154 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16573 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16574 $as_echo_n "checking for $ac_header... " >&6; }
16156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6 16576 $as_echo_n "(cached) " >&6
16158 fi 16577 fi
16159 ac_res=`eval echo '${'$as_ac_Header'}'` 16578 ac_res=`eval 'as_val=${'$as_ac_Header'}
16160 { echo "$as_me:$LINENO: result: $ac_res" >&5 16579 $as_echo "$as_val"'`
16161 echo "${ECHO_T}$ac_res" >&6; } 16580 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16581 $as_echo "$ac_res" >&6; }
16162 else 16582 else
16163 # Is the header compilable? 16583 # Is the header compilable?
16164 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 16584 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 16585 $as_echo_n "checking $ac_header usability... " >&6; }
16166 cat >conftest.$ac_ext <<_ACEOF 16586 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */ 16587 /* confdefs.h. */
16168 _ACEOF 16588 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext 16589 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF 16590 cat >>conftest.$ac_ext <<_ACEOF
16176 if { (ac_try="$ac_compile" 16596 if { (ac_try="$ac_compile"
16177 case "(($ac_try" in 16597 case "(($ac_try" in
16178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16179 *) ac_try_echo=$ac_try;; 16599 *) ac_try_echo=$ac_try;;
16180 esac 16600 esac
16181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16602 $as_echo "$ac_try_echo") >&5
16182 (eval "$ac_compile") 2>conftest.er1 16603 (eval "$ac_compile") 2>conftest.er1
16183 ac_status=$? 16604 ac_status=$?
16184 grep -v '^ *+' conftest.er1 >conftest.err 16605 grep -v '^ *+' conftest.er1 >conftest.err
16185 rm -f conftest.er1 16606 rm -f conftest.er1
16186 cat conftest.err >&5 16607 cat conftest.err >&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } && { 16609 (exit $ac_status); } && {
16189 test -z "$ac_c_werror_flag" || 16610 test -z "$ac_c_werror_flag" ||
16190 test ! -s conftest.err 16611 test ! -s conftest.err
16191 } && test -s conftest.$ac_objext; then 16612 } && test -s conftest.$ac_objext; then
16192 ac_header_compiler=yes 16613 ac_header_compiler=yes
16193 else 16614 else
16194 echo "$as_me: failed program was:" >&5 16615 $as_echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.$ac_ext >&5 16616 sed 's/^/| /' conftest.$ac_ext >&5
16196 16617
16197 ac_header_compiler=no 16618 ac_header_compiler=no
16198 fi 16619 fi
16199 16620
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16201 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16622 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16202 echo "${ECHO_T}$ac_header_compiler" >&6; } 16623 $as_echo "$ac_header_compiler" >&6; }
16203 16624
16204 # Is the header present? 16625 # Is the header present?
16205 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 16626 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 16627 $as_echo_n "checking $ac_header presence... " >&6; }
16207 cat >conftest.$ac_ext <<_ACEOF 16628 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */ 16629 /* confdefs.h. */
16209 _ACEOF 16630 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext 16631 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF 16632 cat >>conftest.$ac_ext <<_ACEOF
16215 if { (ac_try="$ac_cpp conftest.$ac_ext" 16636 if { (ac_try="$ac_cpp conftest.$ac_ext"
16216 case "(($ac_try" in 16637 case "(($ac_try" in
16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;; 16639 *) ac_try_echo=$ac_try;;
16219 esac 16640 esac
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16642 $as_echo "$ac_try_echo") >&5
16221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16222 ac_status=$? 16644 ac_status=$?
16223 grep -v '^ *+' conftest.er1 >conftest.err 16645 grep -v '^ *+' conftest.er1 >conftest.err
16224 rm -f conftest.er1 16646 rm -f conftest.er1
16225 cat conftest.err >&5 16647 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } >/dev/null && { 16649 (exit $ac_status); } >/dev/null && {
16228 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16229 test ! -s conftest.err 16651 test ! -s conftest.err
16230 }; then 16652 }; then
16231 ac_header_preproc=yes 16653 ac_header_preproc=yes
16232 else 16654 else
16233 echo "$as_me: failed program was:" >&5 16655 $as_echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5 16656 sed 's/^/| /' conftest.$ac_ext >&5
16235 16657
16236 ac_header_preproc=no 16658 ac_header_preproc=no
16237 fi 16659 fi
16238 16660
16239 rm -f conftest.err conftest.$ac_ext 16661 rm -f conftest.err conftest.$ac_ext
16240 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16662 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16241 echo "${ECHO_T}$ac_header_preproc" >&6; } 16663 $as_echo "$ac_header_preproc" >&6; }
16242 16664
16243 # So? What about this header? 16665 # So? What about this header?
16244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16245 yes:no: ) 16667 yes:no: )
16246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16668 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16669 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16671 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16250 ac_header_preproc=yes 16672 ac_header_preproc=yes
16251 ;; 16673 ;;
16252 no:yes:* ) 16674 no:yes:* )
16253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16676 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16678 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16680 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16682 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16684 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16686 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16265 16687
16266 ;; 16688 ;;
16267 esac 16689 esac
16268 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16690 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16691 $as_echo_n "checking for $ac_header... " >&6; }
16270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6 16693 $as_echo_n "(cached) " >&6
16272 else 16694 else
16273 eval "$as_ac_Header=\$ac_header_preproc" 16695 eval "$as_ac_Header=\$ac_header_preproc"
16274 fi 16696 fi
16275 ac_res=`eval echo '${'$as_ac_Header'}'` 16697 ac_res=`eval 'as_val=${'$as_ac_Header'}
16276 { echo "$as_me:$LINENO: result: $ac_res" >&5 16698 $as_echo "$as_val"'`
16277 echo "${ECHO_T}$ac_res" >&6; } 16699 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16278 16700 $as_echo "$ac_res" >&6; }
16279 fi 16701
16280 if test `eval echo '${'$as_ac_Header'}'` = yes; then 16702 fi
16703 if test `eval 'as_val=${'$as_ac_Header'}
16704 $as_echo "$as_val"'` = yes; then
16281 cat >>confdefs.h <<_ACEOF 16705 cat >>confdefs.h <<_ACEOF
16282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16283 _ACEOF 16707 _ACEOF
16284 16708
16285 fi 16709 fi
16286 16710
16287 done 16711 done
16367 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 16791 sendto recvfrom getsockopt setsockopt getsockname getpeername \
16368 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 16792 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
16369 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 16793 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
16370 cfmakeraw cfsetspeed 16794 cfmakeraw cfsetspeed
16371 do 16795 do
16372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16373 { echo "$as_me:$LINENO: checking for $ac_func" >&5 16797 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16798 $as_echo_n "checking for $ac_func... " >&6; }
16375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6 16800 $as_echo_n "(cached) " >&6
16377 else 16801 else
16378 cat >conftest.$ac_ext <<_ACEOF 16802 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */ 16803 /* confdefs.h. */
16380 _ACEOF 16804 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext 16805 cat confdefs.h >>conftest.$ac_ext
16424 if { (ac_try="$ac_link" 16848 if { (ac_try="$ac_link"
16425 case "(($ac_try" in 16849 case "(($ac_try" in
16426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16427 *) ac_try_echo=$ac_try;; 16851 *) ac_try_echo=$ac_try;;
16428 esac 16852 esac
16429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16854 $as_echo "$ac_try_echo") >&5
16430 (eval "$ac_link") 2>conftest.er1 16855 (eval "$ac_link") 2>conftest.er1
16431 ac_status=$? 16856 ac_status=$?
16432 grep -v '^ *+' conftest.er1 >conftest.err 16857 grep -v '^ *+' conftest.er1 >conftest.err
16433 rm -f conftest.er1 16858 rm -f conftest.er1
16434 cat conftest.err >&5 16859 cat conftest.err >&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } && { 16861 (exit $ac_status); } && {
16437 test -z "$ac_c_werror_flag" || 16862 test -z "$ac_c_werror_flag" ||
16438 test ! -s conftest.err 16863 test ! -s conftest.err
16439 } && test -s conftest$ac_exeext && 16864 } && test -s conftest$ac_exeext && {
16440 $as_test_x conftest$ac_exeext; then 16865 test "$cross_compiling" = yes ||
16866 $as_test_x conftest$ac_exeext
16867 }; then
16441 eval "$as_ac_var=yes" 16868 eval "$as_ac_var=yes"
16442 else 16869 else
16443 echo "$as_me: failed program was:" >&5 16870 $as_echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5 16871 sed 's/^/| /' conftest.$ac_ext >&5
16445 16872
16446 eval "$as_ac_var=no" 16873 eval "$as_ac_var=no"
16447 fi 16874 fi
16448 16875
16876 rm -rf conftest.dSYM
16449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16450 conftest$ac_exeext conftest.$ac_ext 16878 conftest$ac_exeext conftest.$ac_ext
16451 fi 16879 fi
16452 ac_res=`eval echo '${'$as_ac_var'}'` 16880 ac_res=`eval 'as_val=${'$as_ac_var'}
16453 { echo "$as_me:$LINENO: result: $ac_res" >&5 16881 $as_echo "$as_val"'`
16454 echo "${ECHO_T}$ac_res" >&6; } 16882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16455 if test `eval echo '${'$as_ac_var'}'` = yes; then 16883 $as_echo "$ac_res" >&6; }
16884 if test `eval 'as_val=${'$as_ac_var'}
16885 $as_echo "$as_val"'` = yes; then
16456 cat >>confdefs.h <<_ACEOF 16886 cat >>confdefs.h <<_ACEOF
16457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16458 _ACEOF 16888 _ACEOF
16459 16889
16460 fi 16890 fi
16461 done 16891 done
16462 16892
16463 16893
16464 16894
16465 for ac_header in sys/un.h 16895 for ac_header in sys/un.h
16466 do 16896 do
16467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16469 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16900 $as_echo_n "checking for $ac_header... " >&6; }
16471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16472 echo $ECHO_N "(cached) $ECHO_C" >&6 16902 $as_echo_n "(cached) " >&6
16473 fi 16903 fi
16474 ac_res=`eval echo '${'$as_ac_Header'}'` 16904 ac_res=`eval 'as_val=${'$as_ac_Header'}
16475 { echo "$as_me:$LINENO: result: $ac_res" >&5 16905 $as_echo "$as_val"'`
16476 echo "${ECHO_T}$ac_res" >&6; } 16906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16907 $as_echo "$ac_res" >&6; }
16477 else 16908 else
16478 # Is the header compilable? 16909 # Is the header compilable?
16479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 16910 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 16911 $as_echo_n "checking $ac_header usability... " >&6; }
16481 cat >conftest.$ac_ext <<_ACEOF 16912 cat >conftest.$ac_ext <<_ACEOF
16482 /* confdefs.h. */ 16913 /* confdefs.h. */
16483 _ACEOF 16914 _ACEOF
16484 cat confdefs.h >>conftest.$ac_ext 16915 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF 16916 cat >>conftest.$ac_ext <<_ACEOF
16491 if { (ac_try="$ac_compile" 16922 if { (ac_try="$ac_compile"
16492 case "(($ac_try" in 16923 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;; 16925 *) ac_try_echo=$ac_try;;
16495 esac 16926 esac
16496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16928 $as_echo "$ac_try_echo") >&5
16497 (eval "$ac_compile") 2>conftest.er1 16929 (eval "$ac_compile") 2>conftest.er1
16498 ac_status=$? 16930 ac_status=$?
16499 grep -v '^ *+' conftest.er1 >conftest.err 16931 grep -v '^ *+' conftest.er1 >conftest.err
16500 rm -f conftest.er1 16932 rm -f conftest.er1
16501 cat conftest.err >&5 16933 cat conftest.err >&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } && { 16935 (exit $ac_status); } && {
16504 test -z "$ac_c_werror_flag" || 16936 test -z "$ac_c_werror_flag" ||
16505 test ! -s conftest.err 16937 test ! -s conftest.err
16506 } && test -s conftest.$ac_objext; then 16938 } && test -s conftest.$ac_objext; then
16507 ac_header_compiler=yes 16939 ac_header_compiler=yes
16508 else 16940 else
16509 echo "$as_me: failed program was:" >&5 16941 $as_echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.$ac_ext >&5 16942 sed 's/^/| /' conftest.$ac_ext >&5
16511 16943
16512 ac_header_compiler=no 16944 ac_header_compiler=no
16513 fi 16945 fi
16514 16946
16515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16517 echo "${ECHO_T}$ac_header_compiler" >&6; } 16949 $as_echo "$ac_header_compiler" >&6; }
16518 16950
16519 # Is the header present? 16951 # Is the header present?
16520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 16952 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 16953 $as_echo_n "checking $ac_header presence... " >&6; }
16522 cat >conftest.$ac_ext <<_ACEOF 16954 cat >conftest.$ac_ext <<_ACEOF
16523 /* confdefs.h. */ 16955 /* confdefs.h. */
16524 _ACEOF 16956 _ACEOF
16525 cat confdefs.h >>conftest.$ac_ext 16957 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF 16958 cat >>conftest.$ac_ext <<_ACEOF
16530 if { (ac_try="$ac_cpp conftest.$ac_ext" 16962 if { (ac_try="$ac_cpp conftest.$ac_ext"
16531 case "(($ac_try" in 16963 case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;; 16965 *) ac_try_echo=$ac_try;;
16534 esac 16966 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16968 $as_echo "$ac_try_echo") >&5
16536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16537 ac_status=$? 16970 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err 16971 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1 16972 rm -f conftest.er1
16540 cat conftest.err >&5 16973 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } >/dev/null && { 16975 (exit $ac_status); } >/dev/null && {
16543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16544 test ! -s conftest.err 16977 test ! -s conftest.err
16545 }; then 16978 }; then
16546 ac_header_preproc=yes 16979 ac_header_preproc=yes
16547 else 16980 else
16548 echo "$as_me: failed program was:" >&5 16981 $as_echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5 16982 sed 's/^/| /' conftest.$ac_ext >&5
16550 16983
16551 ac_header_preproc=no 16984 ac_header_preproc=no
16552 fi 16985 fi
16553 16986
16554 rm -f conftest.err conftest.$ac_ext 16987 rm -f conftest.err conftest.$ac_ext
16555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16556 echo "${ECHO_T}$ac_header_preproc" >&6; } 16989 $as_echo "$ac_header_preproc" >&6; }
16557 16990
16558 # So? What about this header? 16991 # So? What about this header?
16559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16560 yes:no: ) 16993 yes:no: )
16561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16994 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16995 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16997 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16565 ac_header_preproc=yes 16998 ac_header_preproc=yes
16566 ;; 16999 ;;
16567 no:yes:* ) 17000 no:yes:* )
16568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17001 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17002 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17004 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17006 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17008 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17010 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17012 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16580 17013
16581 ;; 17014 ;;
16582 esac 17015 esac
16583 { echo "$as_me:$LINENO: checking for $ac_header" >&5 17016 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 17017 $as_echo_n "checking for $ac_header... " >&6; }
16585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6 17019 $as_echo_n "(cached) " >&6
16587 else 17020 else
16588 eval "$as_ac_Header=\$ac_header_preproc" 17021 eval "$as_ac_Header=\$ac_header_preproc"
16589 fi 17022 fi
16590 ac_res=`eval echo '${'$as_ac_Header'}'` 17023 ac_res=`eval 'as_val=${'$as_ac_Header'}
16591 { echo "$as_me:$LINENO: result: $ac_res" >&5 17024 $as_echo "$as_val"'`
16592 echo "${ECHO_T}$ac_res" >&6; } 17025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16593 17026 $as_echo "$ac_res" >&6; }
16594 fi 17027
16595 if test `eval echo '${'$as_ac_Header'}'` = yes; then 17028 fi
17029 if test `eval 'as_val=${'$as_ac_Header'}
17030 $as_echo "$as_val"'` = yes; then
16596 cat >>confdefs.h <<_ACEOF 17031 cat >>confdefs.h <<_ACEOF
16597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 17032 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16598 _ACEOF 17033 _ACEOF
16599 17034
16600 fi 17035 fi
16601 17036
16602 done 17037 done
16606 17041
16607 17042
16608 17043
16609 for ac_header in $ac_header_list 17044 for ac_header in $ac_header_list
16610 do 17045 do
16611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 17046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16613 { echo "$as_me:$LINENO: checking for $ac_header" >&5 17048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 17049 $as_echo_n "checking for $ac_header... " >&6; }
16615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16616 echo $ECHO_N "(cached) $ECHO_C" >&6 17051 $as_echo_n "(cached) " >&6
16617 fi 17052 fi
16618 ac_res=`eval echo '${'$as_ac_Header'}'` 17053 ac_res=`eval 'as_val=${'$as_ac_Header'}
16619 { echo "$as_me:$LINENO: result: $ac_res" >&5 17054 $as_echo "$as_val"'`
16620 echo "${ECHO_T}$ac_res" >&6; } 17055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17056 $as_echo "$ac_res" >&6; }
16621 else 17057 else
16622 # Is the header compilable? 17058 # Is the header compilable?
16623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 17059 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 17060 $as_echo_n "checking $ac_header usability... " >&6; }
16625 cat >conftest.$ac_ext <<_ACEOF 17061 cat >conftest.$ac_ext <<_ACEOF
16626 /* confdefs.h. */ 17062 /* confdefs.h. */
16627 _ACEOF 17063 _ACEOF
16628 cat confdefs.h >>conftest.$ac_ext 17064 cat confdefs.h >>conftest.$ac_ext
16629 cat >>conftest.$ac_ext <<_ACEOF 17065 cat >>conftest.$ac_ext <<_ACEOF
16635 if { (ac_try="$ac_compile" 17071 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in 17072 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;; 17074 *) ac_try_echo=$ac_try;;
16639 esac 17075 esac
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17077 $as_echo "$ac_try_echo") >&5
16641 (eval "$ac_compile") 2>conftest.er1 17078 (eval "$ac_compile") 2>conftest.er1
16642 ac_status=$? 17079 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err 17080 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1 17081 rm -f conftest.er1
16645 cat conftest.err >&5 17082 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && { 17084 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" || 17085 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err 17086 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then 17087 } && test -s conftest.$ac_objext; then
16651 ac_header_compiler=yes 17088 ac_header_compiler=yes
16652 else 17089 else
16653 echo "$as_me: failed program was:" >&5 17090 $as_echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5 17091 sed 's/^/| /' conftest.$ac_ext >&5
16655 17092
16656 ac_header_compiler=no 17093 ac_header_compiler=no
16657 fi 17094 fi
16658 17095
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16661 echo "${ECHO_T}$ac_header_compiler" >&6; } 17098 $as_echo "$ac_header_compiler" >&6; }
16662 17099
16663 # Is the header present? 17100 # Is the header present?
16664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 17101 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 17102 $as_echo_n "checking $ac_header presence... " >&6; }
16666 cat >conftest.$ac_ext <<_ACEOF 17103 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */ 17104 /* confdefs.h. */
16668 _ACEOF 17105 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext 17106 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF 17107 cat >>conftest.$ac_ext <<_ACEOF
16674 if { (ac_try="$ac_cpp conftest.$ac_ext" 17111 if { (ac_try="$ac_cpp conftest.$ac_ext"
16675 case "(($ac_try" in 17112 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;; 17114 *) ac_try_echo=$ac_try;;
16678 esac 17115 esac
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17117 $as_echo "$ac_try_echo") >&5
16680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16681 ac_status=$? 17119 ac_status=$?
16682 grep -v '^ *+' conftest.er1 >conftest.err 17120 grep -v '^ *+' conftest.er1 >conftest.err
16683 rm -f conftest.er1 17121 rm -f conftest.er1
16684 cat conftest.err >&5 17122 cat conftest.err >&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } >/dev/null && { 17124 (exit $ac_status); } >/dev/null && {
16687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16688 test ! -s conftest.err 17126 test ! -s conftest.err
16689 }; then 17127 }; then
16690 ac_header_preproc=yes 17128 ac_header_preproc=yes
16691 else 17129 else
16692 echo "$as_me: failed program was:" >&5 17130 $as_echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5 17131 sed 's/^/| /' conftest.$ac_ext >&5
16694 17132
16695 ac_header_preproc=no 17133 ac_header_preproc=no
16696 fi 17134 fi
16697 17135
16698 rm -f conftest.err conftest.$ac_ext 17136 rm -f conftest.err conftest.$ac_ext
16699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16700 echo "${ECHO_T}$ac_header_preproc" >&6; } 17138 $as_echo "$ac_header_preproc" >&6; }
16701 17139
16702 # So? What about this header? 17140 # So? What about this header?
16703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16704 yes:no: ) 17142 yes:no: )
16705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17144 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17146 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16709 ac_header_preproc=yes 17147 ac_header_preproc=yes
16710 ;; 17148 ;;
16711 no:yes:* ) 17149 no:yes:* )
16712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17151 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17153 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17155 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17157 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17159 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17161 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16724 17162
16725 ;; 17163 ;;
16726 esac 17164 esac
16727 { echo "$as_me:$LINENO: checking for $ac_header" >&5 17165 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 17166 $as_echo_n "checking for $ac_header... " >&6; }
16729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6 17168 $as_echo_n "(cached) " >&6
16731 else 17169 else
16732 eval "$as_ac_Header=\$ac_header_preproc" 17170 eval "$as_ac_Header=\$ac_header_preproc"
16733 fi 17171 fi
16734 ac_res=`eval echo '${'$as_ac_Header'}'` 17172 ac_res=`eval 'as_val=${'$as_ac_Header'}
16735 { echo "$as_me:$LINENO: result: $ac_res" >&5 17173 $as_echo "$as_val"'`
16736 echo "${ECHO_T}$ac_res" >&6; } 17174 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16737 17175 $as_echo "$ac_res" >&6; }
16738 fi 17176
16739 if test `eval echo '${'$as_ac_Header'}'` = yes; then 17177 fi
17178 if test `eval 'as_val=${'$as_ac_Header'}
17179 $as_echo "$as_val"'` = yes; then
16740 cat >>confdefs.h <<_ACEOF 17180 cat >>confdefs.h <<_ACEOF
16741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 17181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16742 _ACEOF 17182 _ACEOF
16743 17183
16744 fi 17184 fi
16745 17185
16746 done 17186 done
16753 17193
16754 17194
16755 17195
16756 for ac_func in $ac_func_list 17196 for ac_func in $ac_func_list
16757 do 17197 do
16758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16759 { echo "$as_me:$LINENO: checking for $ac_func" >&5 17199 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 17200 $as_echo_n "checking for $ac_func... " >&6; }
16761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17201 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6 17202 $as_echo_n "(cached) " >&6
16763 else 17203 else
16764 cat >conftest.$ac_ext <<_ACEOF 17204 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */ 17205 /* confdefs.h. */
16766 _ACEOF 17206 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext 17207 cat confdefs.h >>conftest.$ac_ext
16810 if { (ac_try="$ac_link" 17250 if { (ac_try="$ac_link"
16811 case "(($ac_try" in 17251 case "(($ac_try" in
16812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16813 *) ac_try_echo=$ac_try;; 17253 *) ac_try_echo=$ac_try;;
16814 esac 17254 esac
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17256 $as_echo "$ac_try_echo") >&5
16816 (eval "$ac_link") 2>conftest.er1 17257 (eval "$ac_link") 2>conftest.er1
16817 ac_status=$? 17258 ac_status=$?
16818 grep -v '^ *+' conftest.er1 >conftest.err 17259 grep -v '^ *+' conftest.er1 >conftest.err
16819 rm -f conftest.er1 17260 rm -f conftest.er1
16820 cat conftest.err >&5 17261 cat conftest.err >&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } && { 17263 (exit $ac_status); } && {
16823 test -z "$ac_c_werror_flag" || 17264 test -z "$ac_c_werror_flag" ||
16824 test ! -s conftest.err 17265 test ! -s conftest.err
16825 } && test -s conftest$ac_exeext && 17266 } && test -s conftest$ac_exeext && {
16826 $as_test_x conftest$ac_exeext; then 17267 test "$cross_compiling" = yes ||
17268 $as_test_x conftest$ac_exeext
17269 }; then
16827 eval "$as_ac_var=yes" 17270 eval "$as_ac_var=yes"
16828 else 17271 else
16829 echo "$as_me: failed program was:" >&5 17272 $as_echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5 17273 sed 's/^/| /' conftest.$ac_ext >&5
16831 17274
16832 eval "$as_ac_var=no" 17275 eval "$as_ac_var=no"
16833 fi 17276 fi
16834 17277
17278 rm -rf conftest.dSYM
16835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16836 conftest$ac_exeext conftest.$ac_ext 17280 conftest$ac_exeext conftest.$ac_ext
16837 fi 17281 fi
16838 ac_res=`eval echo '${'$as_ac_var'}'` 17282 ac_res=`eval 'as_val=${'$as_ac_var'}
16839 { echo "$as_me:$LINENO: result: $ac_res" >&5 17283 $as_echo "$as_val"'`
16840 echo "${ECHO_T}$ac_res" >&6; } 17284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16841 if test `eval echo '${'$as_ac_var'}'` = yes; then 17285 $as_echo "$ac_res" >&6; }
17286 if test `eval 'as_val=${'$as_ac_var'}
17287 $as_echo "$as_val"'` = yes; then
16842 cat >>confdefs.h <<_ACEOF 17288 cat >>confdefs.h <<_ACEOF
16843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16844 _ACEOF 17290 _ACEOF
16845 17291
16846 fi 17292 fi
16847 done 17293 done
16848 17294
16860 17306
16861 17307
16862 17308
16863 17309
16864 17310
16865 { echo "$as_me:$LINENO: checking for working mktime" >&5 17311 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5
16866 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } 17312 $as_echo_n "checking for working mktime... " >&6; }
16867 if test "${ac_cv_func_working_mktime+set}" = set; then 17313 if test "${ac_cv_func_working_mktime+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6 17314 $as_echo_n "(cached) " >&6
16869 else 17315 else
16870 if test "$cross_compiling" = yes; then 17316 if test "$cross_compiling" = yes; then
16871 ac_cv_func_working_mktime=no 17317 ac_cv_func_working_mktime=no
16872 else 17318 else
16873 cat >conftest.$ac_ext <<_ACEOF 17319 cat >conftest.$ac_ext <<_ACEOF
17075 if { (ac_try="$ac_link" 17521 if { (ac_try="$ac_link"
17076 case "(($ac_try" in 17522 case "(($ac_try" in
17077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17078 *) ac_try_echo=$ac_try;; 17524 *) ac_try_echo=$ac_try;;
17079 esac 17525 esac
17080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17527 $as_echo "$ac_try_echo") >&5
17081 (eval "$ac_link") 2>&5 17528 (eval "$ac_link") 2>&5
17082 ac_status=$? 17529 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17085 { (case "(($ac_try" in 17532 { (case "(($ac_try" in
17086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17087 *) ac_try_echo=$ac_try;; 17534 *) ac_try_echo=$ac_try;;
17088 esac 17535 esac
17089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17537 $as_echo "$ac_try_echo") >&5
17090 (eval "$ac_try") 2>&5 17538 (eval "$ac_try") 2>&5
17091 ac_status=$? 17539 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then 17541 (exit $ac_status); }; }; then
17094 ac_cv_func_working_mktime=yes 17542 ac_cv_func_working_mktime=yes
17095 else 17543 else
17096 echo "$as_me: program exited with status $ac_status" >&5 17544 $as_echo "$as_me: program exited with status $ac_status" >&5
17097 echo "$as_me: failed program was:" >&5 17545 $as_echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5 17546 sed 's/^/| /' conftest.$ac_ext >&5
17099 17547
17100 ( exit $ac_status ) 17548 ( exit $ac_status )
17101 ac_cv_func_working_mktime=no 17549 ac_cv_func_working_mktime=no
17102 fi 17550 fi
17551 rm -rf conftest.dSYM
17103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17104 fi 17553 fi
17105 17554
17106 17555
17107 fi 17556 fi
17108 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 17557 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
17109 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } 17558 $as_echo "$ac_cv_func_working_mktime" >&6; }
17110 if test $ac_cv_func_working_mktime = no; then 17559 if test $ac_cv_func_working_mktime = no; then
17111 case " $LIBOBJS " in 17560 case " $LIBOBJS " in
17112 *" mktime.$ac_objext "* ) ;; 17561 *" mktime.$ac_objext "* ) ;;
17113 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 17562 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
17114 ;; 17563 ;;
17126 17575
17127 ac_have_func=no # yes means we've found a way to get the load average. 17576 ac_have_func=no # yes means we've found a way to get the load average.
17128 17577
17129 # Make sure getloadavg.c is where it belongs, at configure-time. 17578 # Make sure getloadavg.c is where it belongs, at configure-time.
17130 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 17579 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
17131 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 17580 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
17132 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} 17581 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
17133 { (exit 1); exit 1; }; } 17582 { (exit 1); exit 1; }; }
17134 17583
17135 ac_save_LIBS=$LIBS 17584 ac_save_LIBS=$LIBS
17136 17585
17137 # Check for getloadavg, but be sure not to touch the cache variable. 17586 # Check for getloadavg, but be sure not to touch the cache variable.
17138 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5 17587 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5
17139 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; } 17588 $as_echo_n "checking for getloadavg... " >&6; }
17140 if test "${ac_cv_func_getloadavg+set}" = set; then 17589 if test "${ac_cv_func_getloadavg+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6 17590 $as_echo_n "(cached) " >&6
17142 else 17591 else
17143 cat >conftest.$ac_ext <<_ACEOF 17592 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */ 17593 /* confdefs.h. */
17145 _ACEOF 17594 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext 17595 cat confdefs.h >>conftest.$ac_ext
17189 if { (ac_try="$ac_link" 17638 if { (ac_try="$ac_link"
17190 case "(($ac_try" in 17639 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;; 17641 *) ac_try_echo=$ac_try;;
17193 esac 17642 esac
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17644 $as_echo "$ac_try_echo") >&5
17195 (eval "$ac_link") 2>conftest.er1 17645 (eval "$ac_link") 2>conftest.er1
17196 ac_status=$? 17646 ac_status=$?
17197 grep -v '^ *+' conftest.er1 >conftest.err 17647 grep -v '^ *+' conftest.er1 >conftest.err
17198 rm -f conftest.er1 17648 rm -f conftest.er1
17199 cat conftest.err >&5 17649 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && { 17651 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" || 17652 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err 17653 test ! -s conftest.err
17204 } && test -s conftest$ac_exeext && 17654 } && test -s conftest$ac_exeext && {
17205 $as_test_x conftest$ac_exeext; then 17655 test "$cross_compiling" = yes ||
17656 $as_test_x conftest$ac_exeext
17657 }; then
17206 ac_cv_func_getloadavg=yes 17658 ac_cv_func_getloadavg=yes
17207 else 17659 else
17208 echo "$as_me: failed program was:" >&5 17660 $as_echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5 17661 sed 's/^/| /' conftest.$ac_ext >&5
17210 17662
17211 ac_cv_func_getloadavg=no 17663 ac_cv_func_getloadavg=no
17212 fi 17664 fi
17213 17665
17666 rm -rf conftest.dSYM
17214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 conftest$ac_exeext conftest.$ac_ext 17668 conftest$ac_exeext conftest.$ac_ext
17216 fi 17669 fi
17217 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 17670 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
17218 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; } 17671 $as_echo "$ac_cv_func_getloadavg" >&6; }
17219 if test $ac_cv_func_getloadavg = yes; then 17672 if test $ac_cv_func_getloadavg = yes; then
17220 exit 0 17673 exit 0
17221 else 17674 else
17222 exit 1 17675 exit 1
17223 fi 17676 fi
17225 17678
17226 # On HPUX9, an unprivileged user can get load averages through this function. 17679 # On HPUX9, an unprivileged user can get load averages through this function.
17227 17680
17228 for ac_func in pstat_getdynamic 17681 for ac_func in pstat_getdynamic
17229 do 17682 do
17230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17231 { echo "$as_me:$LINENO: checking for $ac_func" >&5 17684 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 17685 $as_echo_n "checking for $ac_func... " >&6; }
17233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17234 echo $ECHO_N "(cached) $ECHO_C" >&6 17687 $as_echo_n "(cached) " >&6
17235 else 17688 else
17236 cat >conftest.$ac_ext <<_ACEOF 17689 cat >conftest.$ac_ext <<_ACEOF
17237 /* confdefs.h. */ 17690 /* confdefs.h. */
17238 _ACEOF 17691 _ACEOF
17239 cat confdefs.h >>conftest.$ac_ext 17692 cat confdefs.h >>conftest.$ac_ext
17282 if { (ac_try="$ac_link" 17735 if { (ac_try="$ac_link"
17283 case "(($ac_try" in 17736 case "(($ac_try" in
17284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17285 *) ac_try_echo=$ac_try;; 17738 *) ac_try_echo=$ac_try;;
17286 esac 17739 esac
17287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17741 $as_echo "$ac_try_echo") >&5
17288 (eval "$ac_link") 2>conftest.er1 17742 (eval "$ac_link") 2>conftest.er1
17289 ac_status=$? 17743 ac_status=$?
17290 grep -v '^ *+' conftest.er1 >conftest.err 17744 grep -v '^ *+' conftest.er1 >conftest.err
17291 rm -f conftest.er1 17745 rm -f conftest.er1
17292 cat conftest.err >&5 17746 cat conftest.err >&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } && { 17748 (exit $ac_status); } && {
17295 test -z "$ac_c_werror_flag" || 17749 test -z "$ac_c_werror_flag" ||
17296 test ! -s conftest.err 17750 test ! -s conftest.err
17297 } && test -s conftest$ac_exeext && 17751 } && test -s conftest$ac_exeext && {
17298 $as_test_x conftest$ac_exeext; then 17752 test "$cross_compiling" = yes ||
17753 $as_test_x conftest$ac_exeext
17754 }; then
17299 eval "$as_ac_var=yes" 17755 eval "$as_ac_var=yes"
17300 else 17756 else
17301 echo "$as_me: failed program was:" >&5 17757 $as_echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5 17758 sed 's/^/| /' conftest.$ac_ext >&5
17303 17759
17304 eval "$as_ac_var=no" 17760 eval "$as_ac_var=no"
17305 fi 17761 fi
17306 17762
17763 rm -rf conftest.dSYM
17307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17308 conftest$ac_exeext conftest.$ac_ext 17765 conftest$ac_exeext conftest.$ac_ext
17309 fi 17766 fi
17310 ac_res=`eval echo '${'$as_ac_var'}'` 17767 ac_res=`eval 'as_val=${'$as_ac_var'}
17311 { echo "$as_me:$LINENO: result: $ac_res" >&5 17768 $as_echo "$as_val"'`
17312 echo "${ECHO_T}$ac_res" >&6; } 17769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17313 if test `eval echo '${'$as_ac_var'}'` = yes; then 17770 $as_echo "$ac_res" >&6; }
17771 if test `eval 'as_val=${'$as_ac_var'}
17772 $as_echo "$as_val"'` = yes; then
17314 cat >>confdefs.h <<_ACEOF 17773 cat >>confdefs.h <<_ACEOF
17315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17316 _ACEOF 17775 _ACEOF
17317 17776
17318 fi 17777 fi
17319 done 17778 done
17320 17779
17321 17780
17322 # Solaris has libkstat which does not require root. 17781 # Solaris has libkstat which does not require root.
17323 17782
17324 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 17783 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
17325 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; } 17784 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
17326 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 17785 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6 17786 $as_echo_n "(cached) " >&6
17328 else 17787 else
17329 ac_check_lib_save_LIBS=$LIBS 17788 ac_check_lib_save_LIBS=$LIBS
17330 LIBS="-lkstat $LIBS" 17789 LIBS="-lkstat $LIBS"
17331 cat >conftest.$ac_ext <<_ACEOF 17790 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */ 17791 /* confdefs.h. */
17354 if { (ac_try="$ac_link" 17813 if { (ac_try="$ac_link"
17355 case "(($ac_try" in 17814 case "(($ac_try" in
17356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;; 17816 *) ac_try_echo=$ac_try;;
17358 esac 17817 esac
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17819 $as_echo "$ac_try_echo") >&5
17360 (eval "$ac_link") 2>conftest.er1 17820 (eval "$ac_link") 2>conftest.er1
17361 ac_status=$? 17821 ac_status=$?
17362 grep -v '^ *+' conftest.er1 >conftest.err 17822 grep -v '^ *+' conftest.er1 >conftest.err
17363 rm -f conftest.er1 17823 rm -f conftest.er1
17364 cat conftest.err >&5 17824 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && { 17826 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" || 17827 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err 17828 test ! -s conftest.err
17369 } && test -s conftest$ac_exeext && 17829 } && test -s conftest$ac_exeext && {
17370 $as_test_x conftest$ac_exeext; then 17830 test "$cross_compiling" = yes ||
17831 $as_test_x conftest$ac_exeext
17832 }; then
17371 ac_cv_lib_kstat_kstat_open=yes 17833 ac_cv_lib_kstat_kstat_open=yes
17372 else 17834 else
17373 echo "$as_me: failed program was:" >&5 17835 $as_echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5 17836 sed 's/^/| /' conftest.$ac_ext >&5
17375 17837
17376 ac_cv_lib_kstat_kstat_open=no 17838 ac_cv_lib_kstat_kstat_open=no
17377 fi 17839 fi
17378 17840
17841 rm -rf conftest.dSYM
17379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17380 conftest$ac_exeext conftest.$ac_ext 17843 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS 17844 LIBS=$ac_check_lib_save_LIBS
17382 fi 17845 fi
17383 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 17846 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
17384 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; } 17847 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
17385 if test $ac_cv_lib_kstat_kstat_open = yes; then 17848 if test $ac_cv_lib_kstat_kstat_open = yes; then
17386 cat >>confdefs.h <<_ACEOF 17849 cat >>confdefs.h <<_ACEOF
17387 #define HAVE_LIBKSTAT 1 17850 #define HAVE_LIBKSTAT 1
17388 _ACEOF 17851 _ACEOF
17389 17852
17396 # Some systems with -lutil have (and need) -lkvm as well, some do not. 17859 # Some systems with -lutil have (and need) -lkvm as well, some do not.
17397 # On Solaris, -lkvm requires nlist from -lelf, so check that first 17860 # On Solaris, -lkvm requires nlist from -lelf, so check that first
17398 # to get the right answer into the cache. 17861 # to get the right answer into the cache.
17399 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 17862 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
17400 if test $ac_have_func = no; then 17863 if test $ac_have_func = no; then
17401 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 17864 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
17402 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; } 17865 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
17403 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 17866 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6 17867 $as_echo_n "(cached) " >&6
17405 else 17868 else
17406 ac_check_lib_save_LIBS=$LIBS 17869 ac_check_lib_save_LIBS=$LIBS
17407 LIBS="-lelf $LIBS" 17870 LIBS="-lelf $LIBS"
17408 cat >conftest.$ac_ext <<_ACEOF 17871 cat >conftest.$ac_ext <<_ACEOF
17409 /* confdefs.h. */ 17872 /* confdefs.h. */
17431 if { (ac_try="$ac_link" 17894 if { (ac_try="$ac_link"
17432 case "(($ac_try" in 17895 case "(($ac_try" in
17433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;; 17897 *) ac_try_echo=$ac_try;;
17435 esac 17898 esac
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17900 $as_echo "$ac_try_echo") >&5
17437 (eval "$ac_link") 2>conftest.er1 17901 (eval "$ac_link") 2>conftest.er1
17438 ac_status=$? 17902 ac_status=$?
17439 grep -v '^ *+' conftest.er1 >conftest.err 17903 grep -v '^ *+' conftest.er1 >conftest.err
17440 rm -f conftest.er1 17904 rm -f conftest.er1
17441 cat conftest.err >&5 17905 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && { 17907 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" || 17908 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err 17909 test ! -s conftest.err
17446 } && test -s conftest$ac_exeext && 17910 } && test -s conftest$ac_exeext && {
17447 $as_test_x conftest$ac_exeext; then 17911 test "$cross_compiling" = yes ||
17912 $as_test_x conftest$ac_exeext
17913 }; then
17448 ac_cv_lib_elf_elf_begin=yes 17914 ac_cv_lib_elf_elf_begin=yes
17449 else 17915 else
17450 echo "$as_me: failed program was:" >&5 17916 $as_echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5 17917 sed 's/^/| /' conftest.$ac_ext >&5
17452 17918
17453 ac_cv_lib_elf_elf_begin=no 17919 ac_cv_lib_elf_elf_begin=no
17454 fi 17920 fi
17455 17921
17922 rm -rf conftest.dSYM
17456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17457 conftest$ac_exeext conftest.$ac_ext 17924 conftest$ac_exeext conftest.$ac_ext
17458 LIBS=$ac_check_lib_save_LIBS 17925 LIBS=$ac_check_lib_save_LIBS
17459 fi 17926 fi
17460 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 17927 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
17461 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; } 17928 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
17462 if test $ac_cv_lib_elf_elf_begin = yes; then 17929 if test $ac_cv_lib_elf_elf_begin = yes; then
17463 LIBS="-lelf $LIBS" 17930 LIBS="-lelf $LIBS"
17464 fi 17931 fi
17465 17932
17466 fi 17933 fi
17467 if test $ac_have_func = no; then 17934 if test $ac_have_func = no; then
17468 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 17935 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
17469 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; } 17936 $as_echo_n "checking for kvm_open in -lkvm... " >&6; }
17470 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 17937 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6 17938 $as_echo_n "(cached) " >&6
17472 else 17939 else
17473 ac_check_lib_save_LIBS=$LIBS 17940 ac_check_lib_save_LIBS=$LIBS
17474 LIBS="-lkvm $LIBS" 17941 LIBS="-lkvm $LIBS"
17475 cat >conftest.$ac_ext <<_ACEOF 17942 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */ 17943 /* confdefs.h. */
17498 if { (ac_try="$ac_link" 17965 if { (ac_try="$ac_link"
17499 case "(($ac_try" in 17966 case "(($ac_try" in
17500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17501 *) ac_try_echo=$ac_try;; 17968 *) ac_try_echo=$ac_try;;
17502 esac 17969 esac
17503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17971 $as_echo "$ac_try_echo") >&5
17504 (eval "$ac_link") 2>conftest.er1 17972 (eval "$ac_link") 2>conftest.er1
17505 ac_status=$? 17973 ac_status=$?
17506 grep -v '^ *+' conftest.er1 >conftest.err 17974 grep -v '^ *+' conftest.er1 >conftest.err
17507 rm -f conftest.er1 17975 rm -f conftest.er1
17508 cat conftest.err >&5 17976 cat conftest.err >&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } && { 17978 (exit $ac_status); } && {
17511 test -z "$ac_c_werror_flag" || 17979 test -z "$ac_c_werror_flag" ||
17512 test ! -s conftest.err 17980 test ! -s conftest.err
17513 } && test -s conftest$ac_exeext && 17981 } && test -s conftest$ac_exeext && {
17514 $as_test_x conftest$ac_exeext; then 17982 test "$cross_compiling" = yes ||
17983 $as_test_x conftest$ac_exeext
17984 }; then
17515 ac_cv_lib_kvm_kvm_open=yes 17985 ac_cv_lib_kvm_kvm_open=yes
17516 else 17986 else
17517 echo "$as_me: failed program was:" >&5 17987 $as_echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5 17988 sed 's/^/| /' conftest.$ac_ext >&5
17519 17989
17520 ac_cv_lib_kvm_kvm_open=no 17990 ac_cv_lib_kvm_kvm_open=no
17521 fi 17991 fi
17522 17992
17993 rm -rf conftest.dSYM
17523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17524 conftest$ac_exeext conftest.$ac_ext 17995 conftest$ac_exeext conftest.$ac_ext
17525 LIBS=$ac_check_lib_save_LIBS 17996 LIBS=$ac_check_lib_save_LIBS
17526 fi 17997 fi
17527 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 17998 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
17528 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; } 17999 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
17529 if test $ac_cv_lib_kvm_kvm_open = yes; then 18000 if test $ac_cv_lib_kvm_kvm_open = yes; then
17530 LIBS="-lkvm $LIBS" 18001 LIBS="-lkvm $LIBS"
17531 fi 18002 fi
17532 18003
17533 # Check for the 4.4BSD definition of getloadavg. 18004 # Check for the 4.4BSD definition of getloadavg.
17534 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 18005 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
17535 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; } 18006 $as_echo_n "checking for getloadavg in -lutil... " >&6; }
17536 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 18007 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6 18008 $as_echo_n "(cached) " >&6
17538 else 18009 else
17539 ac_check_lib_save_LIBS=$LIBS 18010 ac_check_lib_save_LIBS=$LIBS
17540 LIBS="-lutil $LIBS" 18011 LIBS="-lutil $LIBS"
17541 cat >conftest.$ac_ext <<_ACEOF 18012 cat >conftest.$ac_ext <<_ACEOF
17542 /* confdefs.h. */ 18013 /* confdefs.h. */
17564 if { (ac_try="$ac_link" 18035 if { (ac_try="$ac_link"
17565 case "(($ac_try" in 18036 case "(($ac_try" in
17566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17567 *) ac_try_echo=$ac_try;; 18038 *) ac_try_echo=$ac_try;;
17568 esac 18039 esac
17569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18041 $as_echo "$ac_try_echo") >&5
17570 (eval "$ac_link") 2>conftest.er1 18042 (eval "$ac_link") 2>conftest.er1
17571 ac_status=$? 18043 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err 18044 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1 18045 rm -f conftest.er1
17574 cat conftest.err >&5 18046 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } && { 18048 (exit $ac_status); } && {
17577 test -z "$ac_c_werror_flag" || 18049 test -z "$ac_c_werror_flag" ||
17578 test ! -s conftest.err 18050 test ! -s conftest.err
17579 } && test -s conftest$ac_exeext && 18051 } && test -s conftest$ac_exeext && {
17580 $as_test_x conftest$ac_exeext; then 18052 test "$cross_compiling" = yes ||
18053 $as_test_x conftest$ac_exeext
18054 }; then
17581 ac_cv_lib_util_getloadavg=yes 18055 ac_cv_lib_util_getloadavg=yes
17582 else 18056 else
17583 echo "$as_me: failed program was:" >&5 18057 $as_echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5 18058 sed 's/^/| /' conftest.$ac_ext >&5
17585 18059
17586 ac_cv_lib_util_getloadavg=no 18060 ac_cv_lib_util_getloadavg=no
17587 fi 18061 fi
17588 18062
18063 rm -rf conftest.dSYM
17589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17590 conftest$ac_exeext conftest.$ac_ext 18065 conftest$ac_exeext conftest.$ac_ext
17591 LIBS=$ac_check_lib_save_LIBS 18066 LIBS=$ac_check_lib_save_LIBS
17592 fi 18067 fi
17593 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 18068 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
17594 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; } 18069 $as_echo "$ac_cv_lib_util_getloadavg" >&6; }
17595 if test $ac_cv_lib_util_getloadavg = yes; then 18070 if test $ac_cv_lib_util_getloadavg = yes; then
17596 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 18071 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
17597 fi 18072 fi
17598 18073
17599 fi 18074 fi
17601 if test $ac_have_func = no; then 18076 if test $ac_have_func = no; then
17602 # There is a commonly available library for RS/6000 AIX. 18077 # There is a commonly available library for RS/6000 AIX.
17603 # Since it is not a standard part of AIX, it might be installed locally. 18078 # Since it is not a standard part of AIX, it might be installed locally.
17604 ac_getloadavg_LIBS=$LIBS 18079 ac_getloadavg_LIBS=$LIBS
17605 LIBS="-L/usr/local/lib $LIBS" 18080 LIBS="-L/usr/local/lib $LIBS"
17606 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 18081 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
17607 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; } 18082 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
17608 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 18083 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6 18084 $as_echo_n "(cached) " >&6
17610 else 18085 else
17611 ac_check_lib_save_LIBS=$LIBS 18086 ac_check_lib_save_LIBS=$LIBS
17612 LIBS="-lgetloadavg $LIBS" 18087 LIBS="-lgetloadavg $LIBS"
17613 cat >conftest.$ac_ext <<_ACEOF 18088 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */ 18089 /* confdefs.h. */
17636 if { (ac_try="$ac_link" 18111 if { (ac_try="$ac_link"
17637 case "(($ac_try" in 18112 case "(($ac_try" in
17638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17639 *) ac_try_echo=$ac_try;; 18114 *) ac_try_echo=$ac_try;;
17640 esac 18115 esac
17641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18117 $as_echo "$ac_try_echo") >&5
17642 (eval "$ac_link") 2>conftest.er1 18118 (eval "$ac_link") 2>conftest.er1
17643 ac_status=$? 18119 ac_status=$?
17644 grep -v '^ *+' conftest.er1 >conftest.err 18120 grep -v '^ *+' conftest.er1 >conftest.err
17645 rm -f conftest.er1 18121 rm -f conftest.er1
17646 cat conftest.err >&5 18122 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } && { 18124 (exit $ac_status); } && {
17649 test -z "$ac_c_werror_flag" || 18125 test -z "$ac_c_werror_flag" ||
17650 test ! -s conftest.err 18126 test ! -s conftest.err
17651 } && test -s conftest$ac_exeext && 18127 } && test -s conftest$ac_exeext && {
17652 $as_test_x conftest$ac_exeext; then 18128 test "$cross_compiling" = yes ||
18129 $as_test_x conftest$ac_exeext
18130 }; then
17653 ac_cv_lib_getloadavg_getloadavg=yes 18131 ac_cv_lib_getloadavg_getloadavg=yes
17654 else 18132 else
17655 echo "$as_me: failed program was:" >&5 18133 $as_echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5 18134 sed 's/^/| /' conftest.$ac_ext >&5
17657 18135
17658 ac_cv_lib_getloadavg_getloadavg=no 18136 ac_cv_lib_getloadavg_getloadavg=no
17659 fi 18137 fi
17660 18138
18139 rm -rf conftest.dSYM
17661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17662 conftest$ac_exeext conftest.$ac_ext 18141 conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_check_lib_save_LIBS 18142 LIBS=$ac_check_lib_save_LIBS
17664 fi 18143 fi
17665 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 18144 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
17666 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; } 18145 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; }
17667 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 18146 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
17668 LIBS="-lgetloadavg $LIBS" 18147 LIBS="-lgetloadavg $LIBS"
17669 else 18148 else
17670 LIBS=$ac_getloadavg_LIBS 18149 LIBS=$ac_getloadavg_LIBS
17671 fi 18150 fi
17675 # Make sure it is really in the library, if we think we found it, 18154 # Make sure it is really in the library, if we think we found it,
17676 # otherwise set up the replacement function. 18155 # otherwise set up the replacement function.
17677 18156
17678 for ac_func in getloadavg 18157 for ac_func in getloadavg
17679 do 18158 do
17680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17681 { echo "$as_me:$LINENO: checking for $ac_func" >&5 18160 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18161 $as_echo_n "checking for $ac_func... " >&6; }
17683 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6 18163 $as_echo_n "(cached) " >&6
17685 else 18164 else
17686 cat >conftest.$ac_ext <<_ACEOF 18165 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */ 18166 /* confdefs.h. */
17688 _ACEOF 18167 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext 18168 cat confdefs.h >>conftest.$ac_ext
17732 if { (ac_try="$ac_link" 18211 if { (ac_try="$ac_link"
17733 case "(($ac_try" in 18212 case "(($ac_try" in
17734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17735 *) ac_try_echo=$ac_try;; 18214 *) ac_try_echo=$ac_try;;
17736 esac 18215 esac
17737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18217 $as_echo "$ac_try_echo") >&5
17738 (eval "$ac_link") 2>conftest.er1 18218 (eval "$ac_link") 2>conftest.er1
17739 ac_status=$? 18219 ac_status=$?
17740 grep -v '^ *+' conftest.er1 >conftest.err 18220 grep -v '^ *+' conftest.er1 >conftest.err
17741 rm -f conftest.er1 18221 rm -f conftest.er1
17742 cat conftest.err >&5 18222 cat conftest.err >&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } && { 18224 (exit $ac_status); } && {
17745 test -z "$ac_c_werror_flag" || 18225 test -z "$ac_c_werror_flag" ||
17746 test ! -s conftest.err 18226 test ! -s conftest.err
17747 } && test -s conftest$ac_exeext && 18227 } && test -s conftest$ac_exeext && {
17748 $as_test_x conftest$ac_exeext; then 18228 test "$cross_compiling" = yes ||
18229 $as_test_x conftest$ac_exeext
18230 }; then
17749 eval "$as_ac_var=yes" 18231 eval "$as_ac_var=yes"
17750 else 18232 else
17751 echo "$as_me: failed program was:" >&5 18233 $as_echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5 18234 sed 's/^/| /' conftest.$ac_ext >&5
17753 18235
17754 eval "$as_ac_var=no" 18236 eval "$as_ac_var=no"
17755 fi 18237 fi
17756 18238
18239 rm -rf conftest.dSYM
17757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17758 conftest$ac_exeext conftest.$ac_ext 18241 conftest$ac_exeext conftest.$ac_ext
17759 fi 18242 fi
17760 ac_res=`eval echo '${'$as_ac_var'}'` 18243 ac_res=`eval 'as_val=${'$as_ac_var'}
17761 { echo "$as_me:$LINENO: result: $ac_res" >&5 18244 $as_echo "$as_val"'`
17762 echo "${ECHO_T}$ac_res" >&6; } 18245 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17763 if test `eval echo '${'$as_ac_var'}'` = yes; then 18246 $as_echo "$ac_res" >&6; }
18247 if test `eval 'as_val=${'$as_ac_var'}
18248 $as_echo "$as_val"'` = yes; then
17764 cat >>confdefs.h <<_ACEOF 18249 cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17766 _ACEOF 18251 _ACEOF
17767 18252
17768 else 18253 else
17769 case " $LIBOBJS " in 18254 case " $LIBOBJS " in
17770 *" getloadavg.$ac_objext "* ) ;; 18255 *" getloadavg.$ac_objext "* ) ;;
17778 _ACEOF 18263 _ACEOF
17779 18264
17780 # Figure out what our getloadavg.c needs. 18265 # Figure out what our getloadavg.c needs.
17781 ac_have_func=no 18266 ac_have_func=no
17782 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18267 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
17783 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 18268 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
17784 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } 18269 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
17785 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18270 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6 18271 $as_echo_n "(cached) " >&6
17787 fi 18272 fi
17788 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 18273 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
17789 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } 18274 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
17790 else 18275 else
17791 # Is the header compilable? 18276 # Is the header compilable?
17792 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 18277 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
17793 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; } 18278 $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; }
17794 cat >conftest.$ac_ext <<_ACEOF 18279 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */ 18280 /* confdefs.h. */
17796 _ACEOF 18281 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext 18282 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF 18283 cat >>conftest.$ac_ext <<_ACEOF
17804 if { (ac_try="$ac_compile" 18289 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in 18290 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;; 18292 *) ac_try_echo=$ac_try;;
17808 esac 18293 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18295 $as_echo "$ac_try_echo") >&5
17810 (eval "$ac_compile") 2>conftest.er1 18296 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$? 18297 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err 18298 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1 18299 rm -f conftest.er1
17814 cat conftest.err >&5 18300 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && { 18302 (exit $ac_status); } && {
17817 test -z "$ac_c_werror_flag" || 18303 test -z "$ac_c_werror_flag" ||
17818 test ! -s conftest.err 18304 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then 18305 } && test -s conftest.$ac_objext; then
17820 ac_header_compiler=yes 18306 ac_header_compiler=yes
17821 else 18307 else
17822 echo "$as_me: failed program was:" >&5 18308 $as_echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5 18309 sed 's/^/| /' conftest.$ac_ext >&5
17824 18310
17825 ac_header_compiler=no 18311 ac_header_compiler=no
17826 fi 18312 fi
17827 18313
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18315 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17830 echo "${ECHO_T}$ac_header_compiler" >&6; } 18316 $as_echo "$ac_header_compiler" >&6; }
17831 18317
17832 # Is the header present? 18318 # Is the header present?
17833 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 18319 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
17834 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; } 18320 $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; }
17835 cat >conftest.$ac_ext <<_ACEOF 18321 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */ 18322 /* confdefs.h. */
17837 _ACEOF 18323 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext 18324 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF 18325 cat >>conftest.$ac_ext <<_ACEOF
17843 if { (ac_try="$ac_cpp conftest.$ac_ext" 18329 if { (ac_try="$ac_cpp conftest.$ac_ext"
17844 case "(($ac_try" in 18330 case "(($ac_try" in
17845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846 *) ac_try_echo=$ac_try;; 18332 *) ac_try_echo=$ac_try;;
17847 esac 18333 esac
17848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18335 $as_echo "$ac_try_echo") >&5
17849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17850 ac_status=$? 18337 ac_status=$?
17851 grep -v '^ *+' conftest.er1 >conftest.err 18338 grep -v '^ *+' conftest.er1 >conftest.err
17852 rm -f conftest.er1 18339 rm -f conftest.er1
17853 cat conftest.err >&5 18340 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } >/dev/null && { 18342 (exit $ac_status); } >/dev/null && {
17856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17857 test ! -s conftest.err 18344 test ! -s conftest.err
17858 }; then 18345 }; then
17859 ac_header_preproc=yes 18346 ac_header_preproc=yes
17860 else 18347 else
17861 echo "$as_me: failed program was:" >&5 18348 $as_echo "$as_me: failed program was:" >&5
17862 sed 's/^/| /' conftest.$ac_ext >&5 18349 sed 's/^/| /' conftest.$ac_ext >&5
17863 18350
17864 ac_header_preproc=no 18351 ac_header_preproc=no
17865 fi 18352 fi
17866 18353
17867 rm -f conftest.err conftest.$ac_ext 18354 rm -f conftest.err conftest.$ac_ext
17868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18355 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17869 echo "${ECHO_T}$ac_header_preproc" >&6; } 18356 $as_echo "$ac_header_preproc" >&6; }
17870 18357
17871 # So? What about this header? 18358 # So? What about this header?
17872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17873 yes:no: ) 18360 yes:no: )
17874 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 18361 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
17875 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18362 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17876 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 18363 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
17877 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} 18364 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
17878 ac_header_preproc=yes 18365 ac_header_preproc=yes
17879 ;; 18366 ;;
17880 no:yes:* ) 18367 no:yes:* )
17881 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 18368 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
17882 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} 18369 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
17883 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 18370 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
17884 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} 18371 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 18372 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
17886 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} 18373 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 18374 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
17888 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} 18375 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
17889 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 18376 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
17890 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} 18377 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
17891 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 18378 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
17892 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} 18379 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
17893 18380
17894 ;; 18381 ;;
17895 esac 18382 esac
17896 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 18383 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
17897 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } 18384 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; }
17898 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 18385 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
17899 echo $ECHO_N "(cached) $ECHO_C" >&6 18386 $as_echo_n "(cached) " >&6
17900 else 18387 else
17901 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc 18388 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
17902 fi 18389 fi
17903 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 18390 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
17904 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } 18391 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; }
17905 18392
17906 fi 18393 fi
17907 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 18394 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
17908 ac_have_func=yes 18395 ac_have_func=yes
17909 18396
17910 cat >>confdefs.h <<\_ACEOF 18397 cat >>confdefs.h <<\_ACEOF
17911 #define DGUX 1 18398 #define DGUX 1
17912 _ACEOF 18399 _ACEOF
17913 18400
17914 18401
17915 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 18402 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
17916 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; } 18403 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; }
17917 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 18404 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
17918 echo $ECHO_N "(cached) $ECHO_C" >&6 18405 $as_echo_n "(cached) " >&6
17919 else 18406 else
17920 ac_check_lib_save_LIBS=$LIBS 18407 ac_check_lib_save_LIBS=$LIBS
17921 LIBS="-ldgc $LIBS" 18408 LIBS="-ldgc $LIBS"
17922 cat >conftest.$ac_ext <<_ACEOF 18409 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */ 18410 /* confdefs.h. */
17945 if { (ac_try="$ac_link" 18432 if { (ac_try="$ac_link"
17946 case "(($ac_try" in 18433 case "(($ac_try" in
17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 *) ac_try_echo=$ac_try;; 18435 *) ac_try_echo=$ac_try;;
17949 esac 18436 esac
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18438 $as_echo "$ac_try_echo") >&5
17951 (eval "$ac_link") 2>conftest.er1 18439 (eval "$ac_link") 2>conftest.er1
17952 ac_status=$? 18440 ac_status=$?
17953 grep -v '^ *+' conftest.er1 >conftest.err 18441 grep -v '^ *+' conftest.er1 >conftest.err
17954 rm -f conftest.er1 18442 rm -f conftest.er1
17955 cat conftest.err >&5 18443 cat conftest.err >&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); } && { 18445 (exit $ac_status); } && {
17958 test -z "$ac_c_werror_flag" || 18446 test -z "$ac_c_werror_flag" ||
17959 test ! -s conftest.err 18447 test ! -s conftest.err
17960 } && test -s conftest$ac_exeext && 18448 } && test -s conftest$ac_exeext && {
17961 $as_test_x conftest$ac_exeext; then 18449 test "$cross_compiling" = yes ||
18450 $as_test_x conftest$ac_exeext
18451 }; then
17962 ac_cv_lib_dgc_dg_sys_info=yes 18452 ac_cv_lib_dgc_dg_sys_info=yes
17963 else 18453 else
17964 echo "$as_me: failed program was:" >&5 18454 $as_echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5 18455 sed 's/^/| /' conftest.$ac_ext >&5
17966 18456
17967 ac_cv_lib_dgc_dg_sys_info=no 18457 ac_cv_lib_dgc_dg_sys_info=no
17968 fi 18458 fi
17969 18459
18460 rm -rf conftest.dSYM
17970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17971 conftest$ac_exeext conftest.$ac_ext 18462 conftest$ac_exeext conftest.$ac_ext
17972 LIBS=$ac_check_lib_save_LIBS 18463 LIBS=$ac_check_lib_save_LIBS
17973 fi 18464 fi
17974 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 18465 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
17975 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; } 18466 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; }
17976 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 18467 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
17977 cat >>confdefs.h <<_ACEOF 18468 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_LIBDGC 1 18469 #define HAVE_LIBDGC 1
17979 _ACEOF 18470 _ACEOF
17980 18471
17985 fi 18476 fi
17986 18477
17987 18478
17988 18479
17989 if test "${ac_cv_header_locale_h+set}" = set; then 18480 if test "${ac_cv_header_locale_h+set}" = set; then
17990 { echo "$as_me:$LINENO: checking for locale.h" >&5 18481 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5
17991 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } 18482 $as_echo_n "checking for locale.h... " >&6; }
17992 if test "${ac_cv_header_locale_h+set}" = set; then 18483 if test "${ac_cv_header_locale_h+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6 18484 $as_echo_n "(cached) " >&6
17994 fi 18485 fi
17995 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 18486 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
17996 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } 18487 $as_echo "$ac_cv_header_locale_h" >&6; }
17997 else 18488 else
17998 # Is the header compilable? 18489 # Is the header compilable?
17999 { echo "$as_me:$LINENO: checking locale.h usability" >&5 18490 { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5
18000 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; } 18491 $as_echo_n "checking locale.h usability... " >&6; }
18001 cat >conftest.$ac_ext <<_ACEOF 18492 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */ 18493 /* confdefs.h. */
18003 _ACEOF 18494 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext 18495 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF 18496 cat >>conftest.$ac_ext <<_ACEOF
18011 if { (ac_try="$ac_compile" 18502 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in 18503 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;; 18505 *) ac_try_echo=$ac_try;;
18015 esac 18506 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18508 $as_echo "$ac_try_echo") >&5
18017 (eval "$ac_compile") 2>conftest.er1 18509 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$? 18510 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err 18511 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1 18512 rm -f conftest.er1
18021 cat conftest.err >&5 18513 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && { 18515 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" || 18516 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err 18517 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then 18518 } && test -s conftest.$ac_objext; then
18027 ac_header_compiler=yes 18519 ac_header_compiler=yes
18028 else 18520 else
18029 echo "$as_me: failed program was:" >&5 18521 $as_echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5 18522 sed 's/^/| /' conftest.$ac_ext >&5
18031 18523
18032 ac_header_compiler=no 18524 ac_header_compiler=no
18033 fi 18525 fi
18034 18526
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18528 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18037 echo "${ECHO_T}$ac_header_compiler" >&6; } 18529 $as_echo "$ac_header_compiler" >&6; }
18038 18530
18039 # Is the header present? 18531 # Is the header present?
18040 { echo "$as_me:$LINENO: checking locale.h presence" >&5 18532 { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5
18041 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; } 18533 $as_echo_n "checking locale.h presence... " >&6; }
18042 cat >conftest.$ac_ext <<_ACEOF 18534 cat >conftest.$ac_ext <<_ACEOF
18043 /* confdefs.h. */ 18535 /* confdefs.h. */
18044 _ACEOF 18536 _ACEOF
18045 cat confdefs.h >>conftest.$ac_ext 18537 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF 18538 cat >>conftest.$ac_ext <<_ACEOF
18050 if { (ac_try="$ac_cpp conftest.$ac_ext" 18542 if { (ac_try="$ac_cpp conftest.$ac_ext"
18051 case "(($ac_try" in 18543 case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;; 18545 *) ac_try_echo=$ac_try;;
18054 esac 18546 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18548 $as_echo "$ac_try_echo") >&5
18056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18057 ac_status=$? 18550 ac_status=$?
18058 grep -v '^ *+' conftest.er1 >conftest.err 18551 grep -v '^ *+' conftest.er1 >conftest.err
18059 rm -f conftest.er1 18552 rm -f conftest.er1
18060 cat conftest.err >&5 18553 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } >/dev/null && { 18555 (exit $ac_status); } >/dev/null && {
18063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18064 test ! -s conftest.err 18557 test ! -s conftest.err
18065 }; then 18558 }; then
18066 ac_header_preproc=yes 18559 ac_header_preproc=yes
18067 else 18560 else
18068 echo "$as_me: failed program was:" >&5 18561 $as_echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5 18562 sed 's/^/| /' conftest.$ac_ext >&5
18070 18563
18071 ac_header_preproc=no 18564 ac_header_preproc=no
18072 fi 18565 fi
18073 18566
18074 rm -f conftest.err conftest.$ac_ext 18567 rm -f conftest.err conftest.$ac_ext
18075 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18568 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18076 echo "${ECHO_T}$ac_header_preproc" >&6; } 18569 $as_echo "$ac_header_preproc" >&6; }
18077 18570
18078 # So? What about this header? 18571 # So? What about this header?
18079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18080 yes:no: ) 18573 yes:no: )
18081 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 18574 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
18082 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18575 $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18083 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 18576 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
18084 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} 18577 $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
18085 ac_header_preproc=yes 18578 ac_header_preproc=yes
18086 ;; 18579 ;;
18087 no:yes:* ) 18580 no:yes:* )
18088 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 18581 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
18089 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} 18582 $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
18090 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 18583 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
18091 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} 18584 $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
18092 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 18585 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
18093 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} 18586 $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
18094 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 18587 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
18095 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} 18588 $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
18096 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 18589 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
18097 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} 18590 $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
18098 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 18591 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
18099 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} 18592 $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
18100 18593
18101 ;; 18594 ;;
18102 esac 18595 esac
18103 { echo "$as_me:$LINENO: checking for locale.h" >&5 18596 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5
18104 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } 18597 $as_echo_n "checking for locale.h... " >&6; }
18105 if test "${ac_cv_header_locale_h+set}" = set; then 18598 if test "${ac_cv_header_locale_h+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6 18599 $as_echo_n "(cached) " >&6
18107 else 18600 else
18108 ac_cv_header_locale_h=$ac_header_preproc 18601 ac_cv_header_locale_h=$ac_header_preproc
18109 fi 18602 fi
18110 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 18603 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18111 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } 18604 $as_echo "$ac_cv_header_locale_h" >&6; }
18112 18605
18113 fi 18606 fi
18114 18607
18115 18608
18116 18609
18117 for ac_func in setlocale 18610 for ac_func in setlocale
18118 do 18611 do
18119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18612 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18120 { echo "$as_me:$LINENO: checking for $ac_func" >&5 18613 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18614 $as_echo_n "checking for $ac_func... " >&6; }
18122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6 18616 $as_echo_n "(cached) " >&6
18124 else 18617 else
18125 cat >conftest.$ac_ext <<_ACEOF 18618 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */ 18619 /* confdefs.h. */
18127 _ACEOF 18620 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext 18621 cat confdefs.h >>conftest.$ac_ext
18171 if { (ac_try="$ac_link" 18664 if { (ac_try="$ac_link"
18172 case "(($ac_try" in 18665 case "(($ac_try" in
18173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174 *) ac_try_echo=$ac_try;; 18667 *) ac_try_echo=$ac_try;;
18175 esac 18668 esac
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18670 $as_echo "$ac_try_echo") >&5
18177 (eval "$ac_link") 2>conftest.er1 18671 (eval "$ac_link") 2>conftest.er1
18178 ac_status=$? 18672 ac_status=$?
18179 grep -v '^ *+' conftest.er1 >conftest.err 18673 grep -v '^ *+' conftest.er1 >conftest.err
18180 rm -f conftest.er1 18674 rm -f conftest.er1
18181 cat conftest.err >&5 18675 cat conftest.err >&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && { 18677 (exit $ac_status); } && {
18184 test -z "$ac_c_werror_flag" || 18678 test -z "$ac_c_werror_flag" ||
18185 test ! -s conftest.err 18679 test ! -s conftest.err
18186 } && test -s conftest$ac_exeext && 18680 } && test -s conftest$ac_exeext && {
18187 $as_test_x conftest$ac_exeext; then 18681 test "$cross_compiling" = yes ||
18682 $as_test_x conftest$ac_exeext
18683 }; then
18188 eval "$as_ac_var=yes" 18684 eval "$as_ac_var=yes"
18189 else 18685 else
18190 echo "$as_me: failed program was:" >&5 18686 $as_echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5 18687 sed 's/^/| /' conftest.$ac_ext >&5
18192 18688
18193 eval "$as_ac_var=no" 18689 eval "$as_ac_var=no"
18194 fi 18690 fi
18195 18691
18692 rm -rf conftest.dSYM
18196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18197 conftest$ac_exeext conftest.$ac_ext 18694 conftest$ac_exeext conftest.$ac_ext
18198 fi 18695 fi
18199 ac_res=`eval echo '${'$as_ac_var'}'` 18696 ac_res=`eval 'as_val=${'$as_ac_var'}
18200 { echo "$as_me:$LINENO: result: $ac_res" >&5 18697 $as_echo "$as_val"'`
18201 echo "${ECHO_T}$ac_res" >&6; } 18698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18202 if test `eval echo '${'$as_ac_var'}'` = yes; then 18699 $as_echo "$ac_res" >&6; }
18700 if test `eval 'as_val=${'$as_ac_var'}
18701 $as_echo "$as_val"'` = yes; then
18203 cat >>confdefs.h <<_ACEOF 18702 cat >>confdefs.h <<_ACEOF
18204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18205 _ACEOF 18704 _ACEOF
18206 18705
18207 fi 18706 fi
18208 done 18707 done
18209 18708
18220 18719
18221 fi 18720 fi
18222 18721
18223 if test $ac_have_func = no; then 18722 if test $ac_have_func = no; then
18224 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18723 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18225 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18724 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18226 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } 18725 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
18227 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18726 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18228 echo $ECHO_N "(cached) $ECHO_C" >&6 18727 $as_echo_n "(cached) " >&6
18229 fi 18728 fi
18230 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18729 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18231 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } 18730 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
18232 else 18731 else
18233 # Is the header compilable? 18732 # Is the header compilable?
18234 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 18733 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
18235 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; } 18734 $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; }
18236 cat >conftest.$ac_ext <<_ACEOF 18735 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */ 18736 /* confdefs.h. */
18238 _ACEOF 18737 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext 18738 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF 18739 cat >>conftest.$ac_ext <<_ACEOF
18246 if { (ac_try="$ac_compile" 18745 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in 18746 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;; 18748 *) ac_try_echo=$ac_try;;
18250 esac 18749 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18751 $as_echo "$ac_try_echo") >&5
18252 (eval "$ac_compile") 2>conftest.er1 18752 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$? 18753 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err 18754 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1 18755 rm -f conftest.er1
18256 cat conftest.err >&5 18756 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && { 18758 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" || 18759 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err 18760 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then 18761 } && test -s conftest.$ac_objext; then
18262 ac_header_compiler=yes 18762 ac_header_compiler=yes
18263 else 18763 else
18264 echo "$as_me: failed program was:" >&5 18764 $as_echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5 18765 sed 's/^/| /' conftest.$ac_ext >&5
18266 18766
18267 ac_header_compiler=no 18767 ac_header_compiler=no
18268 fi 18768 fi
18269 18769
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18771 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18272 echo "${ECHO_T}$ac_header_compiler" >&6; } 18772 $as_echo "$ac_header_compiler" >&6; }
18273 18773
18274 # Is the header present? 18774 # Is the header present?
18275 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 18775 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
18276 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; } 18776 $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; }
18277 cat >conftest.$ac_ext <<_ACEOF 18777 cat >conftest.$ac_ext <<_ACEOF
18278 /* confdefs.h. */ 18778 /* confdefs.h. */
18279 _ACEOF 18779 _ACEOF
18280 cat confdefs.h >>conftest.$ac_ext 18780 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF 18781 cat >>conftest.$ac_ext <<_ACEOF
18285 if { (ac_try="$ac_cpp conftest.$ac_ext" 18785 if { (ac_try="$ac_cpp conftest.$ac_ext"
18286 case "(($ac_try" in 18786 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;; 18788 *) ac_try_echo=$ac_try;;
18289 esac 18789 esac
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18791 $as_echo "$ac_try_echo") >&5
18291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18292 ac_status=$? 18793 ac_status=$?
18293 grep -v '^ *+' conftest.er1 >conftest.err 18794 grep -v '^ *+' conftest.er1 >conftest.err
18294 rm -f conftest.er1 18795 rm -f conftest.er1
18295 cat conftest.err >&5 18796 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } >/dev/null && { 18798 (exit $ac_status); } >/dev/null && {
18298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18299 test ! -s conftest.err 18800 test ! -s conftest.err
18300 }; then 18801 }; then
18301 ac_header_preproc=yes 18802 ac_header_preproc=yes
18302 else 18803 else
18303 echo "$as_me: failed program was:" >&5 18804 $as_echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5 18805 sed 's/^/| /' conftest.$ac_ext >&5
18305 18806
18306 ac_header_preproc=no 18807 ac_header_preproc=no
18307 fi 18808 fi
18308 18809
18309 rm -f conftest.err conftest.$ac_ext 18810 rm -f conftest.err conftest.$ac_ext
18310 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18811 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18311 echo "${ECHO_T}$ac_header_preproc" >&6; } 18812 $as_echo "$ac_header_preproc" >&6; }
18312 18813
18313 # So? What about this header? 18814 # So? What about this header?
18314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18315 yes:no: ) 18816 yes:no: )
18316 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18817 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18317 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18818 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18318 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 18819 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
18319 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} 18820 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
18320 ac_header_preproc=yes 18821 ac_header_preproc=yes
18321 ;; 18822 ;;
18322 no:yes:* ) 18823 no:yes:* )
18323 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 18824 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
18324 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} 18825 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
18325 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 18826 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
18326 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} 18827 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
18327 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 18828 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
18328 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} 18829 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
18329 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18830 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18330 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18831 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18331 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 18832 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
18332 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} 18833 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
18333 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 18834 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
18334 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} 18835 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
18335 18836
18336 ;; 18837 ;;
18337 esac 18838 esac
18338 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18839 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18339 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } 18840 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; }
18340 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18841 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6 18842 $as_echo_n "(cached) " >&6
18342 else 18843 else
18343 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc 18844 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
18344 fi 18845 fi
18345 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18846 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18346 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } 18847 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; }
18347 18848
18348 fi 18849 fi
18349 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 18850 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
18350 ac_have_func=yes 18851 ac_have_func=yes
18351 18852
18363 18864
18364 fi 18865 fi
18365 18866
18366 if test $ac_have_func = no; then 18867 if test $ac_have_func = no; then
18367 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18868 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18368 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18869 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18369 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } 18870 $as_echo_n "checking for sys/cpustats.h... " >&6; }
18370 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18871 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18371 echo $ECHO_N "(cached) $ECHO_C" >&6 18872 $as_echo_n "(cached) " >&6
18372 fi 18873 fi
18373 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18374 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } 18875 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
18375 else 18876 else
18376 # Is the header compilable? 18877 # Is the header compilable?
18377 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 18878 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
18378 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; } 18879 $as_echo_n "checking sys/cpustats.h usability... " >&6; }
18379 cat >conftest.$ac_ext <<_ACEOF 18880 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */ 18881 /* confdefs.h. */
18381 _ACEOF 18882 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext 18883 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF 18884 cat >>conftest.$ac_ext <<_ACEOF
18389 if { (ac_try="$ac_compile" 18890 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in 18891 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;; 18893 *) ac_try_echo=$ac_try;;
18393 esac 18894 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18896 $as_echo "$ac_try_echo") >&5
18395 (eval "$ac_compile") 2>conftest.er1 18897 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$? 18898 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err 18899 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1 18900 rm -f conftest.er1
18399 cat conftest.err >&5 18901 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && { 18903 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" || 18904 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err 18905 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then 18906 } && test -s conftest.$ac_objext; then
18405 ac_header_compiler=yes 18907 ac_header_compiler=yes
18406 else 18908 else
18407 echo "$as_me: failed program was:" >&5 18909 $as_echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5 18910 sed 's/^/| /' conftest.$ac_ext >&5
18409 18911
18410 ac_header_compiler=no 18912 ac_header_compiler=no
18411 fi 18913 fi
18412 18914
18413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18415 echo "${ECHO_T}$ac_header_compiler" >&6; } 18917 $as_echo "$ac_header_compiler" >&6; }
18416 18918
18417 # Is the header present? 18919 # Is the header present?
18418 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 18920 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
18419 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; } 18921 $as_echo_n "checking sys/cpustats.h presence... " >&6; }
18420 cat >conftest.$ac_ext <<_ACEOF 18922 cat >conftest.$ac_ext <<_ACEOF
18421 /* confdefs.h. */ 18923 /* confdefs.h. */
18422 _ACEOF 18924 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext 18925 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF 18926 cat >>conftest.$ac_ext <<_ACEOF
18428 if { (ac_try="$ac_cpp conftest.$ac_ext" 18930 if { (ac_try="$ac_cpp conftest.$ac_ext"
18429 case "(($ac_try" in 18931 case "(($ac_try" in
18430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18431 *) ac_try_echo=$ac_try;; 18933 *) ac_try_echo=$ac_try;;
18432 esac 18934 esac
18433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18936 $as_echo "$ac_try_echo") >&5
18434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18435 ac_status=$? 18938 ac_status=$?
18436 grep -v '^ *+' conftest.er1 >conftest.err 18939 grep -v '^ *+' conftest.er1 >conftest.err
18437 rm -f conftest.er1 18940 rm -f conftest.er1
18438 cat conftest.err >&5 18941 cat conftest.err >&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); } >/dev/null && { 18943 (exit $ac_status); } >/dev/null && {
18441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18442 test ! -s conftest.err 18945 test ! -s conftest.err
18443 }; then 18946 }; then
18444 ac_header_preproc=yes 18947 ac_header_preproc=yes
18445 else 18948 else
18446 echo "$as_me: failed program was:" >&5 18949 $as_echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.$ac_ext >&5 18950 sed 's/^/| /' conftest.$ac_ext >&5
18448 18951
18449 ac_header_preproc=no 18952 ac_header_preproc=no
18450 fi 18953 fi
18451 18954
18452 rm -f conftest.err conftest.$ac_ext 18955 rm -f conftest.err conftest.$ac_ext
18453 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18454 echo "${ECHO_T}$ac_header_preproc" >&6; } 18957 $as_echo "$ac_header_preproc" >&6; }
18455 18958
18456 # So? What about this header? 18959 # So? What about this header?
18457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18458 yes:no: ) 18961 yes:no: )
18459 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18962 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18460 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18963 $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18461 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 18964 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
18462 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} 18965 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
18463 ac_header_preproc=yes 18966 ac_header_preproc=yes
18464 ;; 18967 ;;
18465 no:yes:* ) 18968 no:yes:* )
18466 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 18969 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
18467 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} 18970 $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
18468 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 18971 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
18469 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} 18972 $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
18470 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 18973 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
18471 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} 18974 $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
18472 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18975 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18473 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18976 $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18474 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 18977 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
18475 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} 18978 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
18476 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 18979 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
18477 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} 18980 $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
18478 18981
18479 ;; 18982 ;;
18480 esac 18983 esac
18481 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18984 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18482 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } 18985 $as_echo_n "checking for sys/cpustats.h... " >&6; }
18483 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18986 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6 18987 $as_echo_n "(cached) " >&6
18485 else 18988 else
18486 ac_cv_header_sys_cpustats_h=$ac_header_preproc 18989 ac_cv_header_sys_cpustats_h=$ac_header_preproc
18487 fi 18990 fi
18488 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18489 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } 18992 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; }
18490 18993
18491 fi 18994 fi
18492 if test $ac_cv_header_sys_cpustats_h = yes; then 18995 if test $ac_cv_header_sys_cpustats_h = yes; then
18493 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 18996 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
18494 #define UMAX 1 18997 #define UMAX 1
18501 19004
18502 if test $ac_have_func = no; then 19005 if test $ac_have_func = no; then
18503 19006
18504 for ac_header in mach/mach.h 19007 for ac_header in mach/mach.h
18505 do 19008 do
18506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18508 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19011 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19012 $as_echo_n "checking for $ac_header... " >&6; }
18510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6 19014 $as_echo_n "(cached) " >&6
18512 fi 19015 fi
18513 ac_res=`eval echo '${'$as_ac_Header'}'` 19016 ac_res=`eval 'as_val=${'$as_ac_Header'}
18514 { echo "$as_me:$LINENO: result: $ac_res" >&5 19017 $as_echo "$as_val"'`
18515 echo "${ECHO_T}$ac_res" >&6; } 19018 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19019 $as_echo "$ac_res" >&6; }
18516 else 19020 else
18517 # Is the header compilable? 19021 # Is the header compilable?
18518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 19022 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 19023 $as_echo_n "checking $ac_header usability... " >&6; }
18520 cat >conftest.$ac_ext <<_ACEOF 19024 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */ 19025 /* confdefs.h. */
18522 _ACEOF 19026 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext 19027 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF 19028 cat >>conftest.$ac_ext <<_ACEOF
18530 if { (ac_try="$ac_compile" 19034 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in 19035 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;; 19037 *) ac_try_echo=$ac_try;;
18534 esac 19038 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19040 $as_echo "$ac_try_echo") >&5
18536 (eval "$ac_compile") 2>conftest.er1 19041 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$? 19042 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err 19043 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1 19044 rm -f conftest.er1
18540 cat conftest.err >&5 19045 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && { 19047 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" || 19048 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err 19049 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then 19050 } && test -s conftest.$ac_objext; then
18546 ac_header_compiler=yes 19051 ac_header_compiler=yes
18547 else 19052 else
18548 echo "$as_me: failed program was:" >&5 19053 $as_echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5 19054 sed 's/^/| /' conftest.$ac_ext >&5
18550 19055
18551 ac_header_compiler=no 19056 ac_header_compiler=no
18552 fi 19057 fi
18553 19058
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19060 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18556 echo "${ECHO_T}$ac_header_compiler" >&6; } 19061 $as_echo "$ac_header_compiler" >&6; }
18557 19062
18558 # Is the header present? 19063 # Is the header present?
18559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 19064 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 19065 $as_echo_n "checking $ac_header presence... " >&6; }
18561 cat >conftest.$ac_ext <<_ACEOF 19066 cat >conftest.$ac_ext <<_ACEOF
18562 /* confdefs.h. */ 19067 /* confdefs.h. */
18563 _ACEOF 19068 _ACEOF
18564 cat confdefs.h >>conftest.$ac_ext 19069 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF 19070 cat >>conftest.$ac_ext <<_ACEOF
18569 if { (ac_try="$ac_cpp conftest.$ac_ext" 19074 if { (ac_try="$ac_cpp conftest.$ac_ext"
18570 case "(($ac_try" in 19075 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;; 19077 *) ac_try_echo=$ac_try;;
18573 esac 19078 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19080 $as_echo "$ac_try_echo") >&5
18575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 19081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18576 ac_status=$? 19082 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err 19083 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1 19084 rm -f conftest.er1
18579 cat conftest.err >&5 19085 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } >/dev/null && { 19087 (exit $ac_status); } >/dev/null && {
18582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 19088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18583 test ! -s conftest.err 19089 test ! -s conftest.err
18584 }; then 19090 }; then
18585 ac_header_preproc=yes 19091 ac_header_preproc=yes
18586 else 19092 else
18587 echo "$as_me: failed program was:" >&5 19093 $as_echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5 19094 sed 's/^/| /' conftest.$ac_ext >&5
18589 19095
18590 ac_header_preproc=no 19096 ac_header_preproc=no
18591 fi 19097 fi
18592 19098
18593 rm -f conftest.err conftest.$ac_ext 19099 rm -f conftest.err conftest.$ac_ext
18594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19100 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18595 echo "${ECHO_T}$ac_header_preproc" >&6; } 19101 $as_echo "$ac_header_preproc" >&6; }
18596 19102
18597 # So? What about this header? 19103 # So? What about this header?
18598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18599 yes:no: ) 19105 yes:no: )
18600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 19107 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 19108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 19109 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18604 ac_header_preproc=yes 19110 ac_header_preproc=yes
18605 ;; 19111 ;;
18606 no:yes:* ) 19112 no:yes:* )
18607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 19113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 19114 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 19115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 19116 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 19117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 19118 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 19119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19120 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19122 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19124 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18619 19125
18620 ;; 19126 ;;
18621 esac 19127 esac
18622 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19128 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19129 $as_echo_n "checking for $ac_header... " >&6; }
18624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6 19131 $as_echo_n "(cached) " >&6
18626 else 19132 else
18627 eval "$as_ac_Header=\$ac_header_preproc" 19133 eval "$as_ac_Header=\$ac_header_preproc"
18628 fi 19134 fi
18629 ac_res=`eval echo '${'$as_ac_Header'}'` 19135 ac_res=`eval 'as_val=${'$as_ac_Header'}
18630 { echo "$as_me:$LINENO: result: $ac_res" >&5 19136 $as_echo "$as_val"'`
18631 echo "${ECHO_T}$ac_res" >&6; } 19137 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18632 19138 $as_echo "$ac_res" >&6; }
18633 fi 19139
18634 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19140 fi
19141 if test `eval 'as_val=${'$as_ac_Header'}
19142 $as_echo "$as_val"'` = yes; then
18635 cat >>confdefs.h <<_ACEOF 19143 cat >>confdefs.h <<_ACEOF
18636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 19144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18637 _ACEOF 19145 _ACEOF
18638 19146
18639 fi 19147 fi
18640 19148
18641 done 19149 done
18643 fi 19151 fi
18644 19152
18645 19153
18646 for ac_header in nlist.h 19154 for ac_header in nlist.h
18647 do 19155 do
18648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18650 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19158 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19159 $as_echo_n "checking for $ac_header... " >&6; }
18652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6 19161 $as_echo_n "(cached) " >&6
18654 fi 19162 fi
18655 ac_res=`eval echo '${'$as_ac_Header'}'` 19163 ac_res=`eval 'as_val=${'$as_ac_Header'}
18656 { echo "$as_me:$LINENO: result: $ac_res" >&5 19164 $as_echo "$as_val"'`
18657 echo "${ECHO_T}$ac_res" >&6; } 19165 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19166 $as_echo "$ac_res" >&6; }
18658 else 19167 else
18659 # Is the header compilable? 19168 # Is the header compilable?
18660 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 19169 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 19170 $as_echo_n "checking $ac_header usability... " >&6; }
18662 cat >conftest.$ac_ext <<_ACEOF 19171 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */ 19172 /* confdefs.h. */
18664 _ACEOF 19173 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext 19174 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF 19175 cat >>conftest.$ac_ext <<_ACEOF
18672 if { (ac_try="$ac_compile" 19181 if { (ac_try="$ac_compile"
18673 case "(($ac_try" in 19182 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;; 19184 *) ac_try_echo=$ac_try;;
18676 esac 19185 esac
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19187 $as_echo "$ac_try_echo") >&5
18678 (eval "$ac_compile") 2>conftest.er1 19188 (eval "$ac_compile") 2>conftest.er1
18679 ac_status=$? 19189 ac_status=$?
18680 grep -v '^ *+' conftest.er1 >conftest.err 19190 grep -v '^ *+' conftest.er1 >conftest.err
18681 rm -f conftest.er1 19191 rm -f conftest.er1
18682 cat conftest.err >&5 19192 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && { 19194 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" || 19195 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err 19196 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then 19197 } && test -s conftest.$ac_objext; then
18688 ac_header_compiler=yes 19198 ac_header_compiler=yes
18689 else 19199 else
18690 echo "$as_me: failed program was:" >&5 19200 $as_echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5 19201 sed 's/^/| /' conftest.$ac_ext >&5
18692 19202
18693 ac_header_compiler=no 19203 ac_header_compiler=no
18694 fi 19204 fi
18695 19205
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19207 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18698 echo "${ECHO_T}$ac_header_compiler" >&6; } 19208 $as_echo "$ac_header_compiler" >&6; }
18699 19209
18700 # Is the header present? 19210 # Is the header present?
18701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 19211 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 19212 $as_echo_n "checking $ac_header presence... " >&6; }
18703 cat >conftest.$ac_ext <<_ACEOF 19213 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h. */ 19214 /* confdefs.h. */
18705 _ACEOF 19215 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext 19216 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF 19217 cat >>conftest.$ac_ext <<_ACEOF
18711 if { (ac_try="$ac_cpp conftest.$ac_ext" 19221 if { (ac_try="$ac_cpp conftest.$ac_ext"
18712 case "(($ac_try" in 19222 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;; 19224 *) ac_try_echo=$ac_try;;
18715 esac 19225 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19227 $as_echo "$ac_try_echo") >&5
18717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 19228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18718 ac_status=$? 19229 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err 19230 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1 19231 rm -f conftest.er1
18721 cat conftest.err >&5 19232 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } >/dev/null && { 19234 (exit $ac_status); } >/dev/null && {
18724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 19235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18725 test ! -s conftest.err 19236 test ! -s conftest.err
18726 }; then 19237 }; then
18727 ac_header_preproc=yes 19238 ac_header_preproc=yes
18728 else 19239 else
18729 echo "$as_me: failed program was:" >&5 19240 $as_echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5 19241 sed 's/^/| /' conftest.$ac_ext >&5
18731 19242
18732 ac_header_preproc=no 19243 ac_header_preproc=no
18733 fi 19244 fi
18734 19245
18735 rm -f conftest.err conftest.$ac_ext 19246 rm -f conftest.err conftest.$ac_ext
18736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19247 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18737 echo "${ECHO_T}$ac_header_preproc" >&6; } 19248 $as_echo "$ac_header_preproc" >&6; }
18738 19249
18739 # So? What about this header? 19250 # So? What about this header?
18740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18741 yes:no: ) 19252 yes:no: )
18742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 19254 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 19255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 19256 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18746 ac_header_preproc=yes 19257 ac_header_preproc=yes
18747 ;; 19258 ;;
18748 no:yes:* ) 19259 no:yes:* )
18749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 19260 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 19261 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 19262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 19263 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 19264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 19265 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 19266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19267 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19269 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19271 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18761 19272
18762 ;; 19273 ;;
18763 esac 19274 esac
18764 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19275 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19276 $as_echo_n "checking for $ac_header... " >&6; }
18766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6 19278 $as_echo_n "(cached) " >&6
18768 else 19279 else
18769 eval "$as_ac_Header=\$ac_header_preproc" 19280 eval "$as_ac_Header=\$ac_header_preproc"
18770 fi 19281 fi
18771 ac_res=`eval echo '${'$as_ac_Header'}'` 19282 ac_res=`eval 'as_val=${'$as_ac_Header'}
18772 { echo "$as_me:$LINENO: result: $ac_res" >&5 19283 $as_echo "$as_val"'`
18773 echo "${ECHO_T}$ac_res" >&6; } 19284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18774 19285 $as_echo "$ac_res" >&6; }
18775 fi 19286
18776 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19287 fi
19288 if test `eval 'as_val=${'$as_ac_Header'}
19289 $as_echo "$as_val"'` = yes; then
18777 cat >>confdefs.h <<_ACEOF 19290 cat >>confdefs.h <<_ACEOF
18778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 19291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18779 _ACEOF 19292 _ACEOF
18780 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 19293 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
18781 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; } 19294 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; }
18782 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 19295 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6 19296 $as_echo_n "(cached) " >&6
18784 else 19297 else
18785 cat >conftest.$ac_ext <<_ACEOF 19298 cat >conftest.$ac_ext <<_ACEOF
18786 /* confdefs.h. */ 19299 /* confdefs.h. */
18787 _ACEOF 19300 _ACEOF
18788 cat confdefs.h >>conftest.$ac_ext 19301 cat confdefs.h >>conftest.$ac_ext
18804 if { (ac_try="$ac_compile" 19317 if { (ac_try="$ac_compile"
18805 case "(($ac_try" in 19318 case "(($ac_try" in
18806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18807 *) ac_try_echo=$ac_try;; 19320 *) ac_try_echo=$ac_try;;
18808 esac 19321 esac
18809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19323 $as_echo "$ac_try_echo") >&5
18810 (eval "$ac_compile") 2>conftest.er1 19324 (eval "$ac_compile") 2>conftest.er1
18811 ac_status=$? 19325 ac_status=$?
18812 grep -v '^ *+' conftest.er1 >conftest.err 19326 grep -v '^ *+' conftest.er1 >conftest.err
18813 rm -f conftest.er1 19327 rm -f conftest.er1
18814 cat conftest.err >&5 19328 cat conftest.err >&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); } && { 19330 (exit $ac_status); } && {
18817 test -z "$ac_c_werror_flag" || 19331 test -z "$ac_c_werror_flag" ||
18818 test ! -s conftest.err 19332 test ! -s conftest.err
18819 } && test -s conftest.$ac_objext; then 19333 } && test -s conftest.$ac_objext; then
18820 ac_cv_member_struct_nlist_n_un_n_name=yes 19334 ac_cv_member_struct_nlist_n_un_n_name=yes
18821 else 19335 else
18822 echo "$as_me: failed program was:" >&5 19336 $as_echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5 19337 sed 's/^/| /' conftest.$ac_ext >&5
18824 19338
18825 cat >conftest.$ac_ext <<_ACEOF 19339 cat >conftest.$ac_ext <<_ACEOF
18826 /* confdefs.h. */ 19340 /* confdefs.h. */
18827 _ACEOF 19341 _ACEOF
18844 if { (ac_try="$ac_compile" 19358 if { (ac_try="$ac_compile"
18845 case "(($ac_try" in 19359 case "(($ac_try" in
18846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18847 *) ac_try_echo=$ac_try;; 19361 *) ac_try_echo=$ac_try;;
18848 esac 19362 esac
18849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19364 $as_echo "$ac_try_echo") >&5
18850 (eval "$ac_compile") 2>conftest.er1 19365 (eval "$ac_compile") 2>conftest.er1
18851 ac_status=$? 19366 ac_status=$?
18852 grep -v '^ *+' conftest.er1 >conftest.err 19367 grep -v '^ *+' conftest.er1 >conftest.err
18853 rm -f conftest.er1 19368 rm -f conftest.er1
18854 cat conftest.err >&5 19369 cat conftest.err >&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } && { 19371 (exit $ac_status); } && {
18857 test -z "$ac_c_werror_flag" || 19372 test -z "$ac_c_werror_flag" ||
18858 test ! -s conftest.err 19373 test ! -s conftest.err
18859 } && test -s conftest.$ac_objext; then 19374 } && test -s conftest.$ac_objext; then
18860 ac_cv_member_struct_nlist_n_un_n_name=yes 19375 ac_cv_member_struct_nlist_n_un_n_name=yes
18861 else 19376 else
18862 echo "$as_me: failed program was:" >&5 19377 $as_echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5 19378 sed 's/^/| /' conftest.$ac_ext >&5
18864 19379
18865 ac_cv_member_struct_nlist_n_un_n_name=no 19380 ac_cv_member_struct_nlist_n_un_n_name=no
18866 fi 19381 fi
18867 19382
18868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18869 fi 19384 fi
18870 19385
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 fi 19387 fi
18873 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 19388 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
18874 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; } 19389 $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
18875 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 19390 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
18876 19391
18877 cat >>confdefs.h <<_ACEOF 19392 cat >>confdefs.h <<_ACEOF
18878 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 19393 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
18879 _ACEOF 19394 _ACEOF
18893 fi 19408 fi
18894 done 19409 done
18895 19410
18896 19411
18897 # Some definitions of getloadavg require that the program be installed setgid. 19412 # Some definitions of getloadavg require that the program be installed setgid.
18898 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 19413 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
18899 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; } 19414 $as_echo_n "checking whether getloadavg requires setgid... " >&6; }
18900 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 19415 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6 19416 $as_echo_n "(cached) " >&6
18902 else 19417 else
18903 cat >conftest.$ac_ext <<_ACEOF 19418 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */ 19419 /* confdefs.h. */
18905 _ACEOF 19420 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext 19421 cat confdefs.h >>conftest.$ac_ext
18918 ac_cv_func_getloadavg_setgid=no 19433 ac_cv_func_getloadavg_setgid=no
18919 fi 19434 fi
18920 rm -f conftest* 19435 rm -f conftest*
18921 19436
18922 fi 19437 fi
18923 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 19438 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
18924 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; } 19439 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; }
18925 if test $ac_cv_func_getloadavg_setgid = yes; then 19440 if test $ac_cv_func_getloadavg_setgid = yes; then
18926 NEED_SETGID=true 19441 NEED_SETGID=true
18927 19442
18928 cat >>confdefs.h <<\_ACEOF 19443 cat >>confdefs.h <<\_ACEOF
18929 #define GETLOADAVG_PRIVILEGED 1 19444 #define GETLOADAVG_PRIVILEGED 1
18932 else 19447 else
18933 NEED_SETGID=false 19448 NEED_SETGID=false
18934 fi 19449 fi
18935 19450
18936 if test $ac_cv_func_getloadavg_setgid = yes; then 19451 if test $ac_cv_func_getloadavg_setgid = yes; then
18937 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 19452 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
18938 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; } 19453 $as_echo_n "checking group of /dev/kmem... " >&6; }
18939 if test "${ac_cv_group_kmem+set}" = set; then 19454 if test "${ac_cv_group_kmem+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6 19455 $as_echo_n "(cached) " >&6
18941 else 19456 else
18942 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 19457 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
18943 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 19458 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
18944 # If we got an error (system does not support symlinks), try without -L. 19459 # If we got an error (system does not support symlinks), try without -L.
18945 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` 19460 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
18946 ac_cv_group_kmem=`echo $ac_ls_output \ 19461 ac_cv_group_kmem=`$as_echo "$ac_ls_output" \
18947 | sed -ne 's/[ ][ ]*/ /g; 19462 | sed -ne 's/[ ][ ]*/ /g;
18948 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 19463 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
18949 / /s/.* //;p;'` 19464 / /s/.* //;p;'`
18950 19465
18951 fi 19466 fi
18952 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 19467 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
18953 echo "${ECHO_T}$ac_cv_group_kmem" >&6; } 19468 $as_echo "$ac_cv_group_kmem" >&6; }
18954 KMEM_GROUP=$ac_cv_group_kmem 19469 KMEM_GROUP=$ac_cv_group_kmem
18955 fi 19470 fi
18956 if test "x$ac_save_LIBS" = x; then 19471 if test "x$ac_save_LIBS" = x; then
18957 GETLOADAVG_LIBS=$LIBS 19472 GETLOADAVG_LIBS=$LIBS
18958 else 19473 else
18959 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 19474 GETLOADAVG_LIBS=`$as_echo "$LIBS" | sed "s|$ac_save_LIBS||"`
18960 fi 19475 fi
18961 LIBS=$ac_save_LIBS 19476 LIBS=$ac_save_LIBS
18962 19477
18963 19478
18964 19479
18965 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 19480 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18966 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; } 19481 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
18967 if test "${ac_cv_sys_largefile_source+set}" = set; then 19482 if test "${ac_cv_sys_largefile_source+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6 19483 $as_echo_n "(cached) " >&6
18969 else 19484 else
18970 while :; do 19485 while :; do
18971 cat >conftest.$ac_ext <<_ACEOF 19486 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */ 19487 /* confdefs.h. */
18973 _ACEOF 19488 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext 19489 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF 19490 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */ 19491 /* end confdefs.h. */
18977 #include <stdio.h> 19492 #include <sys/types.h> /* for off_t */
19493 #include <stdio.h>
18978 int 19494 int
18979 main () 19495 main ()
18980 { 19496 {
18981 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 19497 int (*fp) (FILE *, off_t, int) = fseeko;
19498 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
18982 ; 19499 ;
18983 return 0; 19500 return 0;
18984 } 19501 }
18985 _ACEOF 19502 _ACEOF
18986 rm -f conftest.$ac_objext conftest$ac_exeext 19503 rm -f conftest.$ac_objext conftest$ac_exeext
18987 if { (ac_try="$ac_link" 19504 if { (ac_try="$ac_link"
18988 case "(($ac_try" in 19505 case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;; 19507 *) ac_try_echo=$ac_try;;
18991 esac 19508 esac
18992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19510 $as_echo "$ac_try_echo") >&5
18993 (eval "$ac_link") 2>conftest.er1 19511 (eval "$ac_link") 2>conftest.er1
18994 ac_status=$? 19512 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err 19513 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1 19514 rm -f conftest.er1
18997 cat conftest.err >&5 19515 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } && { 19517 (exit $ac_status); } && {
19000 test -z "$ac_c_werror_flag" || 19518 test -z "$ac_c_werror_flag" ||
19001 test ! -s conftest.err 19519 test ! -s conftest.err
19002 } && test -s conftest$ac_exeext && 19520 } && test -s conftest$ac_exeext && {
19003 $as_test_x conftest$ac_exeext; then 19521 test "$cross_compiling" = yes ||
19522 $as_test_x conftest$ac_exeext
19523 }; then
19004 ac_cv_sys_largefile_source=no; break 19524 ac_cv_sys_largefile_source=no; break
19005 else 19525 else
19006 echo "$as_me: failed program was:" >&5 19526 $as_echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5 19527 sed 's/^/| /' conftest.$ac_ext >&5
19008 19528
19009 19529
19010 fi 19530 fi
19011 19531
19532 rm -rf conftest.dSYM
19012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19013 conftest$ac_exeext conftest.$ac_ext 19534 conftest$ac_exeext conftest.$ac_ext
19014 cat >conftest.$ac_ext <<_ACEOF 19535 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h. */ 19536 /* confdefs.h. */
19016 _ACEOF 19537 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext 19538 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF 19539 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */ 19540 /* end confdefs.h. */
19020 #define _LARGEFILE_SOURCE 1 19541 #define _LARGEFILE_SOURCE 1
19021 #include <stdio.h> 19542 #include <sys/types.h> /* for off_t */
19543 #include <stdio.h>
19022 int 19544 int
19023 main () 19545 main ()
19024 { 19546 {
19025 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 19547 int (*fp) (FILE *, off_t, int) = fseeko;
19548 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19026 ; 19549 ;
19027 return 0; 19550 return 0;
19028 } 19551 }
19029 _ACEOF 19552 _ACEOF
19030 rm -f conftest.$ac_objext conftest$ac_exeext 19553 rm -f conftest.$ac_objext conftest$ac_exeext
19031 if { (ac_try="$ac_link" 19554 if { (ac_try="$ac_link"
19032 case "(($ac_try" in 19555 case "(($ac_try" in
19033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;; 19557 *) ac_try_echo=$ac_try;;
19035 esac 19558 esac
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19560 $as_echo "$ac_try_echo") >&5
19037 (eval "$ac_link") 2>conftest.er1 19561 (eval "$ac_link") 2>conftest.er1
19038 ac_status=$? 19562 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err 19563 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1 19564 rm -f conftest.er1
19041 cat conftest.err >&5 19565 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && { 19567 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" || 19568 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err 19569 test ! -s conftest.err
19046 } && test -s conftest$ac_exeext && 19570 } && test -s conftest$ac_exeext && {
19047 $as_test_x conftest$ac_exeext; then 19571 test "$cross_compiling" = yes ||
19572 $as_test_x conftest$ac_exeext
19573 }; then
19048 ac_cv_sys_largefile_source=1; break 19574 ac_cv_sys_largefile_source=1; break
19049 else 19575 else
19050 echo "$as_me: failed program was:" >&5 19576 $as_echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5 19577 sed 's/^/| /' conftest.$ac_ext >&5
19052 19578
19053 19579
19054 fi 19580 fi
19055 19581
19582 rm -rf conftest.dSYM
19056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19057 conftest$ac_exeext conftest.$ac_ext 19584 conftest$ac_exeext conftest.$ac_ext
19058 ac_cv_sys_largefile_source=unknown 19585 ac_cv_sys_largefile_source=unknown
19059 break 19586 break
19060 done 19587 done
19061 fi 19588 fi
19062 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 19589 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19063 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; } 19590 $as_echo "$ac_cv_sys_largefile_source" >&6; }
19064 case $ac_cv_sys_largefile_source in #( 19591 case $ac_cv_sys_largefile_source in #(
19065 no | unknown) ;; 19592 no | unknown) ;;
19066 *) 19593 *)
19067 cat >>confdefs.h <<_ACEOF 19594 cat >>confdefs.h <<_ACEOF
19068 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 19595 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19069 _ACEOF 19596 _ACEOF
19070 ;; 19597 ;;
19071 esac 19598 esac
19072 rm -f conftest* 19599 rm -rf conftest*
19073 19600
19074 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 19601 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19075 # in glibc 2.1.3, but that breaks too many other things. 19602 # in glibc 2.1.3, but that breaks too many other things.
19076 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 19603 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19077 if test $ac_cv_sys_largefile_source != unknown; then 19604 if test $ac_cv_sys_largefile_source != unknown; then
19107 19634
19108 GETOPT_H= 19635 GETOPT_H=
19109 19636
19110 for ac_header in getopt.h 19637 for ac_header in getopt.h
19111 do 19638 do
19112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19114 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19641 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19642 $as_echo_n "checking for $ac_header... " >&6; }
19116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6 19644 $as_echo_n "(cached) " >&6
19118 fi 19645 fi
19119 ac_res=`eval echo '${'$as_ac_Header'}'` 19646 ac_res=`eval 'as_val=${'$as_ac_Header'}
19120 { echo "$as_me:$LINENO: result: $ac_res" >&5 19647 $as_echo "$as_val"'`
19121 echo "${ECHO_T}$ac_res" >&6; } 19648 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19649 $as_echo "$ac_res" >&6; }
19122 else 19650 else
19123 # Is the header compilable? 19651 # Is the header compilable?
19124 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 19652 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 19653 $as_echo_n "checking $ac_header usability... " >&6; }
19126 cat >conftest.$ac_ext <<_ACEOF 19654 cat >conftest.$ac_ext <<_ACEOF
19127 /* confdefs.h. */ 19655 /* confdefs.h. */
19128 _ACEOF 19656 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext 19657 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF 19658 cat >>conftest.$ac_ext <<_ACEOF
19136 if { (ac_try="$ac_compile" 19664 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in 19665 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;; 19667 *) ac_try_echo=$ac_try;;
19140 esac 19668 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19670 $as_echo "$ac_try_echo") >&5
19142 (eval "$ac_compile") 2>conftest.er1 19671 (eval "$ac_compile") 2>conftest.er1
19143 ac_status=$? 19672 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err 19673 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1 19674 rm -f conftest.er1
19146 cat conftest.err >&5 19675 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && { 19677 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" || 19678 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err 19679 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then 19680 } && test -s conftest.$ac_objext; then
19152 ac_header_compiler=yes 19681 ac_header_compiler=yes
19153 else 19682 else
19154 echo "$as_me: failed program was:" >&5 19683 $as_echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5 19684 sed 's/^/| /' conftest.$ac_ext >&5
19156 19685
19157 ac_header_compiler=no 19686 ac_header_compiler=no
19158 fi 19687 fi
19159 19688
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19690 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19162 echo "${ECHO_T}$ac_header_compiler" >&6; } 19691 $as_echo "$ac_header_compiler" >&6; }
19163 19692
19164 # Is the header present? 19693 # Is the header present?
19165 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 19694 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 19695 $as_echo_n "checking $ac_header presence... " >&6; }
19167 cat >conftest.$ac_ext <<_ACEOF 19696 cat >conftest.$ac_ext <<_ACEOF
19168 /* confdefs.h. */ 19697 /* confdefs.h. */
19169 _ACEOF 19698 _ACEOF
19170 cat confdefs.h >>conftest.$ac_ext 19699 cat confdefs.h >>conftest.$ac_ext
19171 cat >>conftest.$ac_ext <<_ACEOF 19700 cat >>conftest.$ac_ext <<_ACEOF
19175 if { (ac_try="$ac_cpp conftest.$ac_ext" 19704 if { (ac_try="$ac_cpp conftest.$ac_ext"
19176 case "(($ac_try" in 19705 case "(($ac_try" in
19177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19178 *) ac_try_echo=$ac_try;; 19707 *) ac_try_echo=$ac_try;;
19179 esac 19708 esac
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19710 $as_echo "$ac_try_echo") >&5
19181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 19711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19182 ac_status=$? 19712 ac_status=$?
19183 grep -v '^ *+' conftest.er1 >conftest.err 19713 grep -v '^ *+' conftest.er1 >conftest.err
19184 rm -f conftest.er1 19714 rm -f conftest.er1
19185 cat conftest.err >&5 19715 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } >/dev/null && { 19717 (exit $ac_status); } >/dev/null && {
19188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 19718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19189 test ! -s conftest.err 19719 test ! -s conftest.err
19190 }; then 19720 }; then
19191 ac_header_preproc=yes 19721 ac_header_preproc=yes
19192 else 19722 else
19193 echo "$as_me: failed program was:" >&5 19723 $as_echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5 19724 sed 's/^/| /' conftest.$ac_ext >&5
19195 19725
19196 ac_header_preproc=no 19726 ac_header_preproc=no
19197 fi 19727 fi
19198 19728
19199 rm -f conftest.err conftest.$ac_ext 19729 rm -f conftest.err conftest.$ac_ext
19200 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19730 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19201 echo "${ECHO_T}$ac_header_preproc" >&6; } 19731 $as_echo "$ac_header_preproc" >&6; }
19202 19732
19203 # So? What about this header? 19733 # So? What about this header?
19204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19205 yes:no: ) 19735 yes:no: )
19206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19736 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 19737 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 19738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 19739 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19210 ac_header_preproc=yes 19740 ac_header_preproc=yes
19211 ;; 19741 ;;
19212 no:yes:* ) 19742 no:yes:* )
19213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 19743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 19744 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 19745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 19746 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 19747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 19748 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 19749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19750 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19752 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19754 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19225 19755
19226 ;; 19756 ;;
19227 esac 19757 esac
19228 { echo "$as_me:$LINENO: checking for $ac_header" >&5 19758 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 19759 $as_echo_n "checking for $ac_header... " >&6; }
19230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19231 echo $ECHO_N "(cached) $ECHO_C" >&6 19761 $as_echo_n "(cached) " >&6
19232 else 19762 else
19233 eval "$as_ac_Header=\$ac_header_preproc" 19763 eval "$as_ac_Header=\$ac_header_preproc"
19234 fi 19764 fi
19235 ac_res=`eval echo '${'$as_ac_Header'}'` 19765 ac_res=`eval 'as_val=${'$as_ac_Header'}
19236 { echo "$as_me:$LINENO: result: $ac_res" >&5 19766 $as_echo "$as_val"'`
19237 echo "${ECHO_T}$ac_res" >&6; } 19767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19238 19768 $as_echo "$ac_res" >&6; }
19239 fi 19769
19240 if test `eval echo '${'$as_ac_Header'}'` = yes; then 19770 fi
19771 if test `eval 'as_val=${'$as_ac_Header'}
19772 $as_echo "$as_val"'` = yes; then
19241 cat >>confdefs.h <<_ACEOF 19773 cat >>confdefs.h <<_ACEOF
19242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 19774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19243 _ACEOF 19775 _ACEOF
19244 19776
19245 else 19777 else
19246 GETOPT_H=getopt.h 19778 GETOPT_H=getopt.h
19247 fi 19779 fi
19250 19782
19251 if test -z "$GETOPT_H"; then 19783 if test -z "$GETOPT_H"; then
19252 19784
19253 for ac_func in getopt_long_only 19785 for ac_func in getopt_long_only
19254 do 19786 do
19255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 19787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19256 { echo "$as_me:$LINENO: checking for $ac_func" >&5 19788 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 19789 $as_echo_n "checking for $ac_func... " >&6; }
19258 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6 19791 $as_echo_n "(cached) " >&6
19260 else 19792 else
19261 cat >conftest.$ac_ext <<_ACEOF 19793 cat >conftest.$ac_ext <<_ACEOF
19262 /* confdefs.h. */ 19794 /* confdefs.h. */
19263 _ACEOF 19795 _ACEOF
19264 cat confdefs.h >>conftest.$ac_ext 19796 cat confdefs.h >>conftest.$ac_ext
19307 if { (ac_try="$ac_link" 19839 if { (ac_try="$ac_link"
19308 case "(($ac_try" in 19840 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;; 19842 *) ac_try_echo=$ac_try;;
19311 esac 19843 esac
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19845 $as_echo "$ac_try_echo") >&5
19313 (eval "$ac_link") 2>conftest.er1 19846 (eval "$ac_link") 2>conftest.er1
19314 ac_status=$? 19847 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err 19848 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1 19849 rm -f conftest.er1
19317 cat conftest.err >&5 19850 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && { 19852 (exit $ac_status); } && {
19320 test -z "$ac_c_werror_flag" || 19853 test -z "$ac_c_werror_flag" ||
19321 test ! -s conftest.err 19854 test ! -s conftest.err
19322 } && test -s conftest$ac_exeext && 19855 } && test -s conftest$ac_exeext && {
19323 $as_test_x conftest$ac_exeext; then 19856 test "$cross_compiling" = yes ||
19857 $as_test_x conftest$ac_exeext
19858 }; then
19324 eval "$as_ac_var=yes" 19859 eval "$as_ac_var=yes"
19325 else 19860 else
19326 echo "$as_me: failed program was:" >&5 19861 $as_echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5 19862 sed 's/^/| /' conftest.$ac_ext >&5
19328 19863
19329 eval "$as_ac_var=no" 19864 eval "$as_ac_var=no"
19330 fi 19865 fi
19331 19866
19867 rm -rf conftest.dSYM
19332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19333 conftest$ac_exeext conftest.$ac_ext 19869 conftest$ac_exeext conftest.$ac_ext
19334 fi 19870 fi
19335 ac_res=`eval echo '${'$as_ac_var'}'` 19871 ac_res=`eval 'as_val=${'$as_ac_var'}
19336 { echo "$as_me:$LINENO: result: $ac_res" >&5 19872 $as_echo "$as_val"'`
19337 echo "${ECHO_T}$ac_res" >&6; } 19873 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19338 if test `eval echo '${'$as_ac_var'}'` = yes; then 19874 $as_echo "$ac_res" >&6; }
19875 if test `eval 'as_val=${'$as_ac_var'}
19876 $as_echo "$as_val"'` = yes; then
19339 cat >>confdefs.h <<_ACEOF 19877 cat >>confdefs.h <<_ACEOF
19340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 19878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19341 _ACEOF 19879 _ACEOF
19342 19880
19343 else 19881 else
19344 GETOPT_H=getopt.h 19882 GETOPT_H=getopt.h
19345 fi 19883 fi
19346 done 19884 done
19347 19885
19348 fi 19886 fi
19349 19887
19350 if test -z "$GETOPT_H"; then 19888 if test -z "$GETOPT_H"; then
19351 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 19889 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5
19352 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } 19890 $as_echo_n "checking whether optreset is declared... " >&6; }
19353 if test "${ac_cv_have_decl_optreset+set}" = set; then 19891 if test "${ac_cv_have_decl_optreset+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6 19892 $as_echo_n "(cached) " >&6
19355 else 19893 else
19356 cat >conftest.$ac_ext <<_ACEOF 19894 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */ 19895 /* confdefs.h. */
19358 _ACEOF 19896 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext 19897 cat confdefs.h >>conftest.$ac_ext
19376 if { (ac_try="$ac_compile" 19914 if { (ac_try="$ac_compile"
19377 case "(($ac_try" in 19915 case "(($ac_try" in
19378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19379 *) ac_try_echo=$ac_try;; 19917 *) ac_try_echo=$ac_try;;
19380 esac 19918 esac
19381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19920 $as_echo "$ac_try_echo") >&5
19382 (eval "$ac_compile") 2>conftest.er1 19921 (eval "$ac_compile") 2>conftest.er1
19383 ac_status=$? 19922 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err 19923 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1 19924 rm -f conftest.er1
19386 cat conftest.err >&5 19925 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } && { 19927 (exit $ac_status); } && {
19389 test -z "$ac_c_werror_flag" || 19928 test -z "$ac_c_werror_flag" ||
19390 test ! -s conftest.err 19929 test ! -s conftest.err
19391 } && test -s conftest.$ac_objext; then 19930 } && test -s conftest.$ac_objext; then
19392 ac_cv_have_decl_optreset=yes 19931 ac_cv_have_decl_optreset=yes
19393 else 19932 else
19394 echo "$as_me: failed program was:" >&5 19933 $as_echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5 19934 sed 's/^/| /' conftest.$ac_ext >&5
19396 19935
19397 ac_cv_have_decl_optreset=no 19936 ac_cv_have_decl_optreset=no
19398 fi 19937 fi
19399 19938
19400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 fi 19940 fi
19402 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 19941 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
19403 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } 19942 $as_echo "$ac_cv_have_decl_optreset" >&6; }
19404 if test $ac_cv_have_decl_optreset = yes; then 19943 if test $ac_cv_have_decl_optreset = yes; then
19405 GETOPT_H=getopt.h 19944 GETOPT_H=getopt.h
19406 fi 19945 fi
19407 19946
19408 fi 19947 fi
19409 19948
19410 if test -z "$GETOPT_H"; then 19949 if test -z "$GETOPT_H"; then
19411 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 19950 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
19412 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; } 19951 $as_echo_n "checking for working GNU getopt function... " >&6; }
19413 if test "${gl_cv_func_gnu_getopt+set}" = set; then 19952 if test "${gl_cv_func_gnu_getopt+set}" = set; then
19414 echo $ECHO_N "(cached) $ECHO_C" >&6 19953 $as_echo_n "(cached) " >&6
19415 else 19954 else
19416 if test "$cross_compiling" = yes; then 19955 if test "$cross_compiling" = yes; then
19417 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 19956 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
19418 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; } 19957 $as_echo_n "checking whether getopt_clip is declared... " >&6; }
19419 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then 19958 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6 19959 $as_echo_n "(cached) " >&6
19421 else 19960 else
19422 cat >conftest.$ac_ext <<_ACEOF 19961 cat >conftest.$ac_ext <<_ACEOF
19423 /* confdefs.h. */ 19962 /* confdefs.h. */
19424 _ACEOF 19963 _ACEOF
19425 cat confdefs.h >>conftest.$ac_ext 19964 cat confdefs.h >>conftest.$ac_ext
19442 if { (ac_try="$ac_compile" 19981 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in 19982 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;; 19984 *) ac_try_echo=$ac_try;;
19446 esac 19985 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19987 $as_echo "$ac_try_echo") >&5
19448 (eval "$ac_compile") 2>conftest.er1 19988 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$? 19989 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err 19990 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1 19991 rm -f conftest.er1
19452 cat conftest.err >&5 19992 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && { 19994 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" || 19995 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err 19996 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then 19997 } && test -s conftest.$ac_objext; then
19458 ac_cv_have_decl_getopt_clip=yes 19998 ac_cv_have_decl_getopt_clip=yes
19459 else 19999 else
19460 echo "$as_me: failed program was:" >&5 20000 $as_echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5 20001 sed 's/^/| /' conftest.$ac_ext >&5
19462 20002
19463 ac_cv_have_decl_getopt_clip=no 20003 ac_cv_have_decl_getopt_clip=no
19464 fi 20004 fi
19465 20005
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 fi 20007 fi
19468 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 20008 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
19469 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; } 20009 $as_echo "$ac_cv_have_decl_getopt_clip" >&6; }
19470 if test $ac_cv_have_decl_getopt_clip = yes; then 20010 if test $ac_cv_have_decl_getopt_clip = yes; then
19471 gl_cv_func_gnu_getopt=no 20011 gl_cv_func_gnu_getopt=no
19472 else 20012 else
19473 gl_cv_func_gnu_getopt=yes 20013 gl_cv_func_gnu_getopt=yes
19474 fi 20014 fi
19499 if { (ac_try="$ac_link" 20039 if { (ac_try="$ac_link"
19500 case "(($ac_try" in 20040 case "(($ac_try" in
19501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;; 20042 *) ac_try_echo=$ac_try;;
19503 esac 20043 esac
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20045 $as_echo "$ac_try_echo") >&5
19505 (eval "$ac_link") 2>&5 20046 (eval "$ac_link") 2>&5
19506 ac_status=$? 20047 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19509 { (case "(($ac_try" in 20050 { (case "(($ac_try" in
19510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19511 *) ac_try_echo=$ac_try;; 20052 *) ac_try_echo=$ac_try;;
19512 esac 20053 esac
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20055 $as_echo "$ac_try_echo") >&5
19514 (eval "$ac_try") 2>&5 20056 (eval "$ac_try") 2>&5
19515 ac_status=$? 20057 ac_status=$?
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; }; then 20059 (exit $ac_status); }; }; then
19518 gl_cv_func_gnu_getopt=yes 20060 gl_cv_func_gnu_getopt=yes
19519 else 20061 else
19520 echo "$as_me: program exited with status $ac_status" >&5 20062 $as_echo "$as_me: program exited with status $ac_status" >&5
19521 echo "$as_me: failed program was:" >&5 20063 $as_echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5 20064 sed 's/^/| /' conftest.$ac_ext >&5
19523 20065
19524 ( exit $ac_status ) 20066 ( exit $ac_status )
19525 gl_cv_func_gnu_getopt=no 20067 gl_cv_func_gnu_getopt=no
19526 fi 20068 fi
20069 rm -rf conftest.dSYM
19527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19528 fi 20071 fi
19529 20072
19530 20073
19531 fi 20074 fi
19532 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 20075 { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
19533 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; } 20076 $as_echo "$gl_cv_func_gnu_getopt" >&6; }
19534 if test "$gl_cv_func_gnu_getopt" = "no"; then 20077 if test "$gl_cv_func_gnu_getopt" = "no"; then
19535 GETOPT_H=getopt.h 20078 GETOPT_H=getopt.h
19536 fi 20079 fi
19537 fi 20080 fi
19538 20081
19555 fi 20098 fi
19556 20099
19557 20100
19558 20101
19559 20102
19560 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 20103 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
19561 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } 20104 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
19562 if test "${ac_cv_func_getpgrp_void+set}" = set; then 20105 if test "${ac_cv_func_getpgrp_void+set}" = set; then
19563 echo $ECHO_N "(cached) $ECHO_C" >&6 20106 $as_echo_n "(cached) " >&6
19564 else 20107 else
19565 # Use it with a single arg. 20108 # Use it with a single arg.
19566 cat >conftest.$ac_ext <<_ACEOF 20109 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */ 20110 /* confdefs.h. */
19568 _ACEOF 20111 _ACEOF
19582 if { (ac_try="$ac_compile" 20125 if { (ac_try="$ac_compile"
19583 case "(($ac_try" in 20126 case "(($ac_try" in
19584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19585 *) ac_try_echo=$ac_try;; 20128 *) ac_try_echo=$ac_try;;
19586 esac 20129 esac
19587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20131 $as_echo "$ac_try_echo") >&5
19588 (eval "$ac_compile") 2>conftest.er1 20132 (eval "$ac_compile") 2>conftest.er1
19589 ac_status=$? 20133 ac_status=$?
19590 grep -v '^ *+' conftest.er1 >conftest.err 20134 grep -v '^ *+' conftest.er1 >conftest.err
19591 rm -f conftest.er1 20135 rm -f conftest.er1
19592 cat conftest.err >&5 20136 cat conftest.err >&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } && { 20138 (exit $ac_status); } && {
19595 test -z "$ac_c_werror_flag" || 20139 test -z "$ac_c_werror_flag" ||
19596 test ! -s conftest.err 20140 test ! -s conftest.err
19597 } && test -s conftest.$ac_objext; then 20141 } && test -s conftest.$ac_objext; then
19598 ac_cv_func_getpgrp_void=no 20142 ac_cv_func_getpgrp_void=no
19599 else 20143 else
19600 echo "$as_me: failed program was:" >&5 20144 $as_echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5 20145 sed 's/^/| /' conftest.$ac_ext >&5
19602 20146
19603 ac_cv_func_getpgrp_void=yes 20147 ac_cv_func_getpgrp_void=yes
19604 fi 20148 fi
19605 20149
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607 20151
19608 fi 20152 fi
19609 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 20153 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
19610 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } 20154 $as_echo "$ac_cv_func_getpgrp_void" >&6; }
19611 if test $ac_cv_func_getpgrp_void = yes; then 20155 if test $ac_cv_func_getpgrp_void = yes; then
19612 20156
19613 cat >>confdefs.h <<\_ACEOF 20157 cat >>confdefs.h <<\_ACEOF
19614 #define GETPGRP_VOID 1 20158 #define GETPGRP_VOID 1
19615 _ACEOF 20159 _ACEOF
19618 20162
19619 20163
19620 20164
19621 for ac_func in strftime 20165 for ac_func in strftime
19622 do 20166 do
19623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19624 { echo "$as_me:$LINENO: checking for $ac_func" >&5 20168 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 20169 $as_echo_n "checking for $ac_func... " >&6; }
19626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 20170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6 20171 $as_echo_n "(cached) " >&6
19628 else 20172 else
19629 cat >conftest.$ac_ext <<_ACEOF 20173 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */ 20174 /* confdefs.h. */
19631 _ACEOF 20175 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext 20176 cat confdefs.h >>conftest.$ac_ext
19675 if { (ac_try="$ac_link" 20219 if { (ac_try="$ac_link"
19676 case "(($ac_try" in 20220 case "(($ac_try" in
19677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19678 *) ac_try_echo=$ac_try;; 20222 *) ac_try_echo=$ac_try;;
19679 esac 20223 esac
19680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20225 $as_echo "$ac_try_echo") >&5
19681 (eval "$ac_link") 2>conftest.er1 20226 (eval "$ac_link") 2>conftest.er1
19682 ac_status=$? 20227 ac_status=$?
19683 grep -v '^ *+' conftest.er1 >conftest.err 20228 grep -v '^ *+' conftest.er1 >conftest.err
19684 rm -f conftest.er1 20229 rm -f conftest.er1
19685 cat conftest.err >&5 20230 cat conftest.err >&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } && { 20232 (exit $ac_status); } && {
19688 test -z "$ac_c_werror_flag" || 20233 test -z "$ac_c_werror_flag" ||
19689 test ! -s conftest.err 20234 test ! -s conftest.err
19690 } && test -s conftest$ac_exeext && 20235 } && test -s conftest$ac_exeext && {
19691 $as_test_x conftest$ac_exeext; then 20236 test "$cross_compiling" = yes ||
20237 $as_test_x conftest$ac_exeext
20238 }; then
19692 eval "$as_ac_var=yes" 20239 eval "$as_ac_var=yes"
19693 else 20240 else
19694 echo "$as_me: failed program was:" >&5 20241 $as_echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5 20242 sed 's/^/| /' conftest.$ac_ext >&5
19696 20243
19697 eval "$as_ac_var=no" 20244 eval "$as_ac_var=no"
19698 fi 20245 fi
19699 20246
20247 rm -rf conftest.dSYM
19700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19701 conftest$ac_exeext conftest.$ac_ext 20249 conftest$ac_exeext conftest.$ac_ext
19702 fi 20250 fi
19703 ac_res=`eval echo '${'$as_ac_var'}'` 20251 ac_res=`eval 'as_val=${'$as_ac_var'}
19704 { echo "$as_me:$LINENO: result: $ac_res" >&5 20252 $as_echo "$as_val"'`
19705 echo "${ECHO_T}$ac_res" >&6; } 20253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19706 if test `eval echo '${'$as_ac_var'}'` = yes; then 20254 $as_echo "$ac_res" >&6; }
20255 if test `eval 'as_val=${'$as_ac_var'}
20256 $as_echo "$as_val"'` = yes; then
19707 cat >>confdefs.h <<_ACEOF 20257 cat >>confdefs.h <<_ACEOF
19708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19709 _ACEOF 20259 _ACEOF
19710 20260
19711 else 20261 else
19712 # strftime is in -lintl on SCO UNIX. 20262 # strftime is in -lintl on SCO UNIX.
19713 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 20263 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
19714 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } 20264 $as_echo_n "checking for strftime in -lintl... " >&6; }
19715 if test "${ac_cv_lib_intl_strftime+set}" = set; then 20265 if test "${ac_cv_lib_intl_strftime+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6 20266 $as_echo_n "(cached) " >&6
19717 else 20267 else
19718 ac_check_lib_save_LIBS=$LIBS 20268 ac_check_lib_save_LIBS=$LIBS
19719 LIBS="-lintl $LIBS" 20269 LIBS="-lintl $LIBS"
19720 cat >conftest.$ac_ext <<_ACEOF 20270 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */ 20271 /* confdefs.h. */
19743 if { (ac_try="$ac_link" 20293 if { (ac_try="$ac_link"
19744 case "(($ac_try" in 20294 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;; 20296 *) ac_try_echo=$ac_try;;
19747 esac 20297 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20299 $as_echo "$ac_try_echo") >&5
19749 (eval "$ac_link") 2>conftest.er1 20300 (eval "$ac_link") 2>conftest.er1
19750 ac_status=$? 20301 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err 20302 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1 20303 rm -f conftest.er1
19753 cat conftest.err >&5 20304 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && { 20306 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" || 20307 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err 20308 test ! -s conftest.err
19758 } && test -s conftest$ac_exeext && 20309 } && test -s conftest$ac_exeext && {
19759 $as_test_x conftest$ac_exeext; then 20310 test "$cross_compiling" = yes ||
20311 $as_test_x conftest$ac_exeext
20312 }; then
19760 ac_cv_lib_intl_strftime=yes 20313 ac_cv_lib_intl_strftime=yes
19761 else 20314 else
19762 echo "$as_me: failed program was:" >&5 20315 $as_echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5 20316 sed 's/^/| /' conftest.$ac_ext >&5
19764 20317
19765 ac_cv_lib_intl_strftime=no 20318 ac_cv_lib_intl_strftime=no
19766 fi 20319 fi
19767 20320
20321 rm -rf conftest.dSYM
19768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19769 conftest$ac_exeext conftest.$ac_ext 20323 conftest$ac_exeext conftest.$ac_ext
19770 LIBS=$ac_check_lib_save_LIBS 20324 LIBS=$ac_check_lib_save_LIBS
19771 fi 20325 fi
19772 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 20326 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
19773 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } 20327 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
19774 if test $ac_cv_lib_intl_strftime = yes; then 20328 if test $ac_cv_lib_intl_strftime = yes; then
19775 cat >>confdefs.h <<\_ACEOF 20329 cat >>confdefs.h <<\_ACEOF
19776 #define HAVE_STRFTIME 1 20330 #define HAVE_STRFTIME 1
19777 _ACEOF 20331 _ACEOF
19778 20332
19785 20339
19786 # UNIX98 PTYs. 20340 # UNIX98 PTYs.
19787 20341
19788 for ac_func in grantpt 20342 for ac_func in grantpt
19789 do 20343 do
19790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19791 { echo "$as_me:$LINENO: checking for $ac_func" >&5 20345 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 20346 $as_echo_n "checking for $ac_func... " >&6; }
19793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 20347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19794 echo $ECHO_N "(cached) $ECHO_C" >&6 20348 $as_echo_n "(cached) " >&6
19795 else 20349 else
19796 cat >conftest.$ac_ext <<_ACEOF 20350 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */ 20351 /* confdefs.h. */
19798 _ACEOF 20352 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext 20353 cat confdefs.h >>conftest.$ac_ext
19842 if { (ac_try="$ac_link" 20396 if { (ac_try="$ac_link"
19843 case "(($ac_try" in 20397 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;; 20399 *) ac_try_echo=$ac_try;;
19846 esac 20400 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20402 $as_echo "$ac_try_echo") >&5
19848 (eval "$ac_link") 2>conftest.er1 20403 (eval "$ac_link") 2>conftest.er1
19849 ac_status=$? 20404 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err 20405 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1 20406 rm -f conftest.er1
19852 cat conftest.err >&5 20407 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && { 20409 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" || 20410 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err 20411 test ! -s conftest.err
19857 } && test -s conftest$ac_exeext && 20412 } && test -s conftest$ac_exeext && {
19858 $as_test_x conftest$ac_exeext; then 20413 test "$cross_compiling" = yes ||
20414 $as_test_x conftest$ac_exeext
20415 }; then
19859 eval "$as_ac_var=yes" 20416 eval "$as_ac_var=yes"
19860 else 20417 else
19861 echo "$as_me: failed program was:" >&5 20418 $as_echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5 20419 sed 's/^/| /' conftest.$ac_ext >&5
19863 20420
19864 eval "$as_ac_var=no" 20421 eval "$as_ac_var=no"
19865 fi 20422 fi
19866 20423
20424 rm -rf conftest.dSYM
19867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19868 conftest$ac_exeext conftest.$ac_ext 20426 conftest$ac_exeext conftest.$ac_ext
19869 fi 20427 fi
19870 ac_res=`eval echo '${'$as_ac_var'}'` 20428 ac_res=`eval 'as_val=${'$as_ac_var'}
19871 { echo "$as_me:$LINENO: result: $ac_res" >&5 20429 $as_echo "$as_val"'`
19872 echo "${ECHO_T}$ac_res" >&6; } 20430 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19873 if test `eval echo '${'$as_ac_var'}'` = yes; then 20431 $as_echo "$ac_res" >&6; }
20432 if test `eval 'as_val=${'$as_ac_var'}
20433 $as_echo "$as_val"'` = yes; then
19874 cat >>confdefs.h <<_ACEOF 20434 cat >>confdefs.h <<_ACEOF
19875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19876 _ACEOF 20436 _ACEOF
19877 20437
19878 fi 20438 fi
19879 done 20439 done
19880 20440
19881 20441
19882 # PTY-related GNU extensions. 20442 # PTY-related GNU extensions.
19883 20443
19884 for ac_func in getpt 20444 for ac_func in getpt
19885 do 20445 do
19886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19887 { echo "$as_me:$LINENO: checking for $ac_func" >&5 20447 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 20448 $as_echo_n "checking for $ac_func... " >&6; }
19889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 20449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6 20450 $as_echo_n "(cached) " >&6
19891 else 20451 else
19892 cat >conftest.$ac_ext <<_ACEOF 20452 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */ 20453 /* confdefs.h. */
19894 _ACEOF 20454 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext 20455 cat confdefs.h >>conftest.$ac_ext
19938 if { (ac_try="$ac_link" 20498 if { (ac_try="$ac_link"
19939 case "(($ac_try" in 20499 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;; 20501 *) ac_try_echo=$ac_try;;
19942 esac 20502 esac
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20504 $as_echo "$ac_try_echo") >&5
19944 (eval "$ac_link") 2>conftest.er1 20505 (eval "$ac_link") 2>conftest.er1
19945 ac_status=$? 20506 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err 20507 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1 20508 rm -f conftest.er1
19948 cat conftest.err >&5 20509 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && { 20511 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" || 20512 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err 20513 test ! -s conftest.err
19953 } && test -s conftest$ac_exeext && 20514 } && test -s conftest$ac_exeext && {
19954 $as_test_x conftest$ac_exeext; then 20515 test "$cross_compiling" = yes ||
20516 $as_test_x conftest$ac_exeext
20517 }; then
19955 eval "$as_ac_var=yes" 20518 eval "$as_ac_var=yes"
19956 else 20519 else
19957 echo "$as_me: failed program was:" >&5 20520 $as_echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5 20521 sed 's/^/| /' conftest.$ac_ext >&5
19959 20522
19960 eval "$as_ac_var=no" 20523 eval "$as_ac_var=no"
19961 fi 20524 fi
19962 20525
20526 rm -rf conftest.dSYM
19963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19964 conftest$ac_exeext conftest.$ac_ext 20528 conftest$ac_exeext conftest.$ac_ext
19965 fi 20529 fi
19966 ac_res=`eval echo '${'$as_ac_var'}'` 20530 ac_res=`eval 'as_val=${'$as_ac_var'}
19967 { echo "$as_me:$LINENO: result: $ac_res" >&5 20531 $as_echo "$as_val"'`
19968 echo "${ECHO_T}$ac_res" >&6; } 20532 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19969 if test `eval echo '${'$as_ac_var'}'` = yes; then 20533 $as_echo "$ac_res" >&6; }
20534 if test `eval 'as_val=${'$as_ac_var'}
20535 $as_echo "$as_val"'` = yes; then
19970 cat >>confdefs.h <<_ACEOF 20536 cat >>confdefs.h <<_ACEOF
19971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19972 _ACEOF 20538 _ACEOF
19973 20539
19974 fi 20540 fi
19975 done 20541 done
19976 20542
19978 # Check this now, so that we will NOT find the above functions in ncurses. 20544 # Check this now, so that we will NOT find the above functions in ncurses.
19979 # That is because we have not set up to link ncurses in lib-src. 20545 # That is because we have not set up to link ncurses in lib-src.
19980 # It's better to believe a function is not available 20546 # It's better to believe a function is not available
19981 # than to expect to find it in ncurses. 20547 # than to expect to find it in ncurses.
19982 20548
19983 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 20549 { $as_echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
19984 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; } 20550 $as_echo_n "checking for tparm in -lncurses... " >&6; }
19985 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 20551 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6 20552 $as_echo_n "(cached) " >&6
19987 else 20553 else
19988 ac_check_lib_save_LIBS=$LIBS 20554 ac_check_lib_save_LIBS=$LIBS
19989 LIBS="-lncurses $LIBS" 20555 LIBS="-lncurses $LIBS"
19990 cat >conftest.$ac_ext <<_ACEOF 20556 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */ 20557 /* confdefs.h. */
20013 if { (ac_try="$ac_link" 20579 if { (ac_try="$ac_link"
20014 case "(($ac_try" in 20580 case "(($ac_try" in
20015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20016 *) ac_try_echo=$ac_try;; 20582 *) ac_try_echo=$ac_try;;
20017 esac 20583 esac
20018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20585 $as_echo "$ac_try_echo") >&5
20019 (eval "$ac_link") 2>conftest.er1 20586 (eval "$ac_link") 2>conftest.er1
20020 ac_status=$? 20587 ac_status=$?
20021 grep -v '^ *+' conftest.er1 >conftest.err 20588 grep -v '^ *+' conftest.er1 >conftest.err
20022 rm -f conftest.er1 20589 rm -f conftest.er1
20023 cat conftest.err >&5 20590 cat conftest.err >&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } && { 20592 (exit $ac_status); } && {
20026 test -z "$ac_c_werror_flag" || 20593 test -z "$ac_c_werror_flag" ||
20027 test ! -s conftest.err 20594 test ! -s conftest.err
20028 } && test -s conftest$ac_exeext && 20595 } && test -s conftest$ac_exeext && {
20029 $as_test_x conftest$ac_exeext; then 20596 test "$cross_compiling" = yes ||
20597 $as_test_x conftest$ac_exeext
20598 }; then
20030 ac_cv_lib_ncurses_tparm=yes 20599 ac_cv_lib_ncurses_tparm=yes
20031 else 20600 else
20032 echo "$as_me: failed program was:" >&5 20601 $as_echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5 20602 sed 's/^/| /' conftest.$ac_ext >&5
20034 20603
20035 ac_cv_lib_ncurses_tparm=no 20604 ac_cv_lib_ncurses_tparm=no
20036 fi 20605 fi
20037 20606
20607 rm -rf conftest.dSYM
20038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20039 conftest$ac_exeext conftest.$ac_ext 20609 conftest$ac_exeext conftest.$ac_ext
20040 LIBS=$ac_check_lib_save_LIBS 20610 LIBS=$ac_check_lib_save_LIBS
20041 fi 20611 fi
20042 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 20612 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
20043 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; } 20613 $as_echo "$ac_cv_lib_ncurses_tparm" >&6; }
20044 if test $ac_cv_lib_ncurses_tparm = yes; then 20614 if test $ac_cv_lib_ncurses_tparm = yes; then
20045 cat >>confdefs.h <<_ACEOF 20615 cat >>confdefs.h <<_ACEOF
20046 #define HAVE_LIBNCURSES 1 20616 #define HAVE_LIBNCURSES 1
20047 _ACEOF 20617 _ACEOF
20048 20618
20075 if { (ac_try="$ac_link" 20645 if { (ac_try="$ac_link"
20076 case "(($ac_try" in 20646 case "(($ac_try" in
20077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20078 *) ac_try_echo=$ac_try;; 20648 *) ac_try_echo=$ac_try;;
20079 esac 20649 esac
20080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20651 $as_echo "$ac_try_echo") >&5
20081 (eval "$ac_link") 2>conftest.er1 20652 (eval "$ac_link") 2>conftest.er1
20082 ac_status=$? 20653 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err 20654 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1 20655 rm -f conftest.er1
20085 cat conftest.err >&5 20656 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } && { 20658 (exit $ac_status); } && {
20088 test -z "$ac_c_werror_flag" || 20659 test -z "$ac_c_werror_flag" ||
20089 test ! -s conftest.err 20660 test ! -s conftest.err
20090 } && test -s conftest$ac_exeext && 20661 } && test -s conftest$ac_exeext && {
20091 $as_test_x conftest$ac_exeext; then 20662 test "$cross_compiling" = yes ||
20663 $as_test_x conftest$ac_exeext
20664 }; then
20092 have_res_init=yes 20665 have_res_init=yes
20093 else 20666 else
20094 echo "$as_me: failed program was:" >&5 20667 $as_echo "$as_me: failed program was:" >&5
20095 sed 's/^/| /' conftest.$ac_ext >&5 20668 sed 's/^/| /' conftest.$ac_ext >&5
20096 20669
20097 have_res_init=no 20670 have_res_init=no
20098 fi 20671 fi
20099 20672
20673 rm -rf conftest.dSYM
20100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20101 conftest$ac_exeext conftest.$ac_ext 20675 conftest$ac_exeext conftest.$ac_ext
20102 if test "$have_res_init" = no; then 20676 if test "$have_res_init" = no; then
20103 OLIBS="$LIBS" 20677 OLIBS="$LIBS"
20104 LIBS="$LIBS -lresolv" 20678 LIBS="$LIBS -lresolv"
20105 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 20679 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
20106 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; } 20680 $as_echo_n "checking for res_init with -lresolv... " >&6; }
20107 cat >conftest.$ac_ext <<_ACEOF 20681 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */ 20682 /* confdefs.h. */
20109 _ACEOF 20683 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext 20684 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF 20685 cat >>conftest.$ac_ext <<_ACEOF
20125 if { (ac_try="$ac_link" 20699 if { (ac_try="$ac_link"
20126 case "(($ac_try" in 20700 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;; 20702 *) ac_try_echo=$ac_try;;
20129 esac 20703 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20705 $as_echo "$ac_try_echo") >&5
20131 (eval "$ac_link") 2>conftest.er1 20706 (eval "$ac_link") 2>conftest.er1
20132 ac_status=$? 20707 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err 20708 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1 20709 rm -f conftest.er1
20135 cat conftest.err >&5 20710 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && { 20712 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" || 20713 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err 20714 test ! -s conftest.err
20140 } && test -s conftest$ac_exeext && 20715 } && test -s conftest$ac_exeext && {
20141 $as_test_x conftest$ac_exeext; then 20716 test "$cross_compiling" = yes ||
20717 $as_test_x conftest$ac_exeext
20718 }; then
20142 have_res_init=yes 20719 have_res_init=yes
20143 else 20720 else
20144 echo "$as_me: failed program was:" >&5 20721 $as_echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5 20722 sed 's/^/| /' conftest.$ac_ext >&5
20146 20723
20147 have_res_init=no 20724 have_res_init=no
20148 fi 20725 fi
20149 20726
20727 rm -rf conftest.dSYM
20150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20151 conftest$ac_exeext conftest.$ac_ext 20729 conftest$ac_exeext conftest.$ac_ext
20152 { echo "$as_me:$LINENO: result: $have_res_init" >&5 20730 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5
20153 echo "${ECHO_T}$have_res_init" >&6; } 20731 $as_echo "$have_res_init" >&6; }
20154 if test "$have_res_init" = yes ; then 20732 if test "$have_res_init" = yes ; then
20155 resolv=yes 20733 resolv=yes
20156 fi 20734 fi
20157 LIBS="$OLIBS" 20735 LIBS="$OLIBS"
20158 fi 20736 fi
20166 fi 20744 fi
20167 20745
20168 # Do we need the Hesiod library to provide the support routines? 20746 # Do we need the Hesiod library to provide the support routines?
20169 if test "$with_hesiod" != no ; then 20747 if test "$with_hesiod" != no ; then
20170 # Don't set $LIBS here -- see comments above. 20748 # Don't set $LIBS here -- see comments above.
20171 { echo "$as_me:$LINENO: checking for res_send" >&5 20749 { $as_echo "$as_me:$LINENO: checking for res_send" >&5
20172 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } 20750 $as_echo_n "checking for res_send... " >&6; }
20173 if test "${ac_cv_func_res_send+set}" = set; then 20751 if test "${ac_cv_func_res_send+set}" = set; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6 20752 $as_echo_n "(cached) " >&6
20175 else 20753 else
20176 cat >conftest.$ac_ext <<_ACEOF 20754 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */ 20755 /* confdefs.h. */
20178 _ACEOF 20756 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext 20757 cat confdefs.h >>conftest.$ac_ext
20222 if { (ac_try="$ac_link" 20800 if { (ac_try="$ac_link"
20223 case "(($ac_try" in 20801 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;; 20803 *) ac_try_echo=$ac_try;;
20226 esac 20804 esac
20227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20806 $as_echo "$ac_try_echo") >&5
20228 (eval "$ac_link") 2>conftest.er1 20807 (eval "$ac_link") 2>conftest.er1
20229 ac_status=$? 20808 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err 20809 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1 20810 rm -f conftest.er1
20232 cat conftest.err >&5 20811 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && { 20813 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" || 20814 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err 20815 test ! -s conftest.err
20237 } && test -s conftest$ac_exeext && 20816 } && test -s conftest$ac_exeext && {
20238 $as_test_x conftest$ac_exeext; then 20817 test "$cross_compiling" = yes ||
20818 $as_test_x conftest$ac_exeext
20819 }; then
20239 ac_cv_func_res_send=yes 20820 ac_cv_func_res_send=yes
20240 else 20821 else
20241 echo "$as_me: failed program was:" >&5 20822 $as_echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.$ac_ext >&5 20823 sed 's/^/| /' conftest.$ac_ext >&5
20243 20824
20244 ac_cv_func_res_send=no 20825 ac_cv_func_res_send=no
20245 fi 20826 fi
20246 20827
20828 rm -rf conftest.dSYM
20247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20248 conftest$ac_exeext conftest.$ac_ext 20830 conftest$ac_exeext conftest.$ac_ext
20249 fi 20831 fi
20250 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 20832 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
20251 echo "${ECHO_T}$ac_cv_func_res_send" >&6; } 20833 $as_echo "$ac_cv_func_res_send" >&6; }
20252 if test $ac_cv_func_res_send = yes; then 20834 if test $ac_cv_func_res_send = yes; then
20253 : 20835 :
20254 else 20836 else
20255 { echo "$as_me:$LINENO: checking for __res_send" >&5 20837 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5
20256 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; } 20838 $as_echo_n "checking for __res_send... " >&6; }
20257 if test "${ac_cv_func___res_send+set}" = set; then 20839 if test "${ac_cv_func___res_send+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6 20840 $as_echo_n "(cached) " >&6
20259 else 20841 else
20260 cat >conftest.$ac_ext <<_ACEOF 20842 cat >conftest.$ac_ext <<_ACEOF
20261 /* confdefs.h. */ 20843 /* confdefs.h. */
20262 _ACEOF 20844 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext 20845 cat confdefs.h >>conftest.$ac_ext
20306 if { (ac_try="$ac_link" 20888 if { (ac_try="$ac_link"
20307 case "(($ac_try" in 20889 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;; 20891 *) ac_try_echo=$ac_try;;
20310 esac 20892 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20894 $as_echo "$ac_try_echo") >&5
20312 (eval "$ac_link") 2>conftest.er1 20895 (eval "$ac_link") 2>conftest.er1
20313 ac_status=$? 20896 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err 20897 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1 20898 rm -f conftest.er1
20316 cat conftest.err >&5 20899 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && { 20901 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" || 20902 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err 20903 test ! -s conftest.err
20321 } && test -s conftest$ac_exeext && 20904 } && test -s conftest$ac_exeext && {
20322 $as_test_x conftest$ac_exeext; then 20905 test "$cross_compiling" = yes ||
20906 $as_test_x conftest$ac_exeext
20907 }; then
20323 ac_cv_func___res_send=yes 20908 ac_cv_func___res_send=yes
20324 else 20909 else
20325 echo "$as_me: failed program was:" >&5 20910 $as_echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5 20911 sed 's/^/| /' conftest.$ac_ext >&5
20327 20912
20328 ac_cv_func___res_send=no 20913 ac_cv_func___res_send=no
20329 fi 20914 fi
20330 20915
20916 rm -rf conftest.dSYM
20331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20332 conftest$ac_exeext conftest.$ac_ext 20918 conftest$ac_exeext conftest.$ac_ext
20333 fi 20919 fi
20334 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 20920 { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
20335 echo "${ECHO_T}$ac_cv_func___res_send" >&6; } 20921 $as_echo "$ac_cv_func___res_send" >&6; }
20336 if test $ac_cv_func___res_send = yes; then 20922 if test $ac_cv_func___res_send = yes; then
20337 : 20923 :
20338 else 20924 else
20339 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 20925 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
20340 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; } 20926 $as_echo_n "checking for res_send in -lresolv... " >&6; }
20341 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 20927 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6 20928 $as_echo_n "(cached) " >&6
20343 else 20929 else
20344 ac_check_lib_save_LIBS=$LIBS 20930 ac_check_lib_save_LIBS=$LIBS
20345 LIBS="-lresolv $LIBS" 20931 LIBS="-lresolv $LIBS"
20346 cat >conftest.$ac_ext <<_ACEOF 20932 cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h. */ 20933 /* confdefs.h. */
20369 if { (ac_try="$ac_link" 20955 if { (ac_try="$ac_link"
20370 case "(($ac_try" in 20956 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;; 20958 *) ac_try_echo=$ac_try;;
20373 esac 20959 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20961 $as_echo "$ac_try_echo") >&5
20375 (eval "$ac_link") 2>conftest.er1 20962 (eval "$ac_link") 2>conftest.er1
20376 ac_status=$? 20963 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err 20964 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1 20965 rm -f conftest.er1
20379 cat conftest.err >&5 20966 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && { 20968 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" || 20969 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err 20970 test ! -s conftest.err
20384 } && test -s conftest$ac_exeext && 20971 } && test -s conftest$ac_exeext && {
20385 $as_test_x conftest$ac_exeext; then 20972 test "$cross_compiling" = yes ||
20973 $as_test_x conftest$ac_exeext
20974 }; then
20386 ac_cv_lib_resolv_res_send=yes 20975 ac_cv_lib_resolv_res_send=yes
20387 else 20976 else
20388 echo "$as_me: failed program was:" >&5 20977 $as_echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5 20978 sed 's/^/| /' conftest.$ac_ext >&5
20390 20979
20391 ac_cv_lib_resolv_res_send=no 20980 ac_cv_lib_resolv_res_send=no
20392 fi 20981 fi
20393 20982
20983 rm -rf conftest.dSYM
20394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20395 conftest$ac_exeext conftest.$ac_ext 20985 conftest$ac_exeext conftest.$ac_ext
20396 LIBS=$ac_check_lib_save_LIBS 20986 LIBS=$ac_check_lib_save_LIBS
20397 fi 20987 fi
20398 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 20988 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
20399 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; } 20989 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
20400 if test $ac_cv_lib_resolv_res_send = yes; then 20990 if test $ac_cv_lib_resolv_res_send = yes; then
20401 resolv=yes 20991 resolv=yes
20402 else 20992 else
20403 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 20993 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
20404 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; } 20994 $as_echo_n "checking for __res_send in -lresolv... " >&6; }
20405 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 20995 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
20406 echo $ECHO_N "(cached) $ECHO_C" >&6 20996 $as_echo_n "(cached) " >&6
20407 else 20997 else
20408 ac_check_lib_save_LIBS=$LIBS 20998 ac_check_lib_save_LIBS=$LIBS
20409 LIBS="-lresolv $LIBS" 20999 LIBS="-lresolv $LIBS"
20410 cat >conftest.$ac_ext <<_ACEOF 21000 cat >conftest.$ac_ext <<_ACEOF
20411 /* confdefs.h. */ 21001 /* confdefs.h. */
20433 if { (ac_try="$ac_link" 21023 if { (ac_try="$ac_link"
20434 case "(($ac_try" in 21024 case "(($ac_try" in
20435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20436 *) ac_try_echo=$ac_try;; 21026 *) ac_try_echo=$ac_try;;
20437 esac 21027 esac
20438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21029 $as_echo "$ac_try_echo") >&5
20439 (eval "$ac_link") 2>conftest.er1 21030 (eval "$ac_link") 2>conftest.er1
20440 ac_status=$? 21031 ac_status=$?
20441 grep -v '^ *+' conftest.er1 >conftest.err 21032 grep -v '^ *+' conftest.er1 >conftest.err
20442 rm -f conftest.er1 21033 rm -f conftest.er1
20443 cat conftest.err >&5 21034 cat conftest.err >&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } && { 21036 (exit $ac_status); } && {
20446 test -z "$ac_c_werror_flag" || 21037 test -z "$ac_c_werror_flag" ||
20447 test ! -s conftest.err 21038 test ! -s conftest.err
20448 } && test -s conftest$ac_exeext && 21039 } && test -s conftest$ac_exeext && {
20449 $as_test_x conftest$ac_exeext; then 21040 test "$cross_compiling" = yes ||
21041 $as_test_x conftest$ac_exeext
21042 }; then
20450 ac_cv_lib_resolv___res_send=yes 21043 ac_cv_lib_resolv___res_send=yes
20451 else 21044 else
20452 echo "$as_me: failed program was:" >&5 21045 $as_echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5 21046 sed 's/^/| /' conftest.$ac_ext >&5
20454 21047
20455 ac_cv_lib_resolv___res_send=no 21048 ac_cv_lib_resolv___res_send=no
20456 fi 21049 fi
20457 21050
21051 rm -rf conftest.dSYM
20458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20459 conftest$ac_exeext conftest.$ac_ext 21053 conftest$ac_exeext conftest.$ac_ext
20460 LIBS=$ac_check_lib_save_LIBS 21054 LIBS=$ac_check_lib_save_LIBS
20461 fi 21055 fi
20462 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 21056 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
20463 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; } 21057 $as_echo "$ac_cv_lib_resolv___res_send" >&6; }
20464 if test $ac_cv_lib_resolv___res_send = yes; then 21058 if test $ac_cv_lib_resolv___res_send = yes; then
20465 resolv=yes 21059 resolv=yes
20466 fi 21060 fi
20467 21061
20468 fi 21062 fi
20474 if test "$resolv" = yes ; then 21068 if test "$resolv" = yes ; then
20475 RESOLVLIB=-lresolv 21069 RESOLVLIB=-lresolv
20476 else 21070 else
20477 RESOLVLIB= 21071 RESOLVLIB=
20478 fi 21072 fi
20479 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 21073 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
20480 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; } 21074 $as_echo_n "checking for hes_getmailhost... " >&6; }
20481 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 21075 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6 21076 $as_echo_n "(cached) " >&6
20483 else 21077 else
20484 cat >conftest.$ac_ext <<_ACEOF 21078 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */ 21079 /* confdefs.h. */
20486 _ACEOF 21080 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext 21081 cat confdefs.h >>conftest.$ac_ext
20530 if { (ac_try="$ac_link" 21124 if { (ac_try="$ac_link"
20531 case "(($ac_try" in 21125 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;; 21127 *) ac_try_echo=$ac_try;;
20534 esac 21128 esac
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21130 $as_echo "$ac_try_echo") >&5
20536 (eval "$ac_link") 2>conftest.er1 21131 (eval "$ac_link") 2>conftest.er1
20537 ac_status=$? 21132 ac_status=$?
20538 grep -v '^ *+' conftest.er1 >conftest.err 21133 grep -v '^ *+' conftest.er1 >conftest.err
20539 rm -f conftest.er1 21134 rm -f conftest.er1
20540 cat conftest.err >&5 21135 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && { 21137 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" || 21138 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err 21139 test ! -s conftest.err
20545 } && test -s conftest$ac_exeext && 21140 } && test -s conftest$ac_exeext && {
20546 $as_test_x conftest$ac_exeext; then 21141 test "$cross_compiling" = yes ||
21142 $as_test_x conftest$ac_exeext
21143 }; then
20547 ac_cv_func_hes_getmailhost=yes 21144 ac_cv_func_hes_getmailhost=yes
20548 else 21145 else
20549 echo "$as_me: failed program was:" >&5 21146 $as_echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5 21147 sed 's/^/| /' conftest.$ac_ext >&5
20551 21148
20552 ac_cv_func_hes_getmailhost=no 21149 ac_cv_func_hes_getmailhost=no
20553 fi 21150 fi
20554 21151
21152 rm -rf conftest.dSYM
20555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20556 conftest$ac_exeext conftest.$ac_ext 21154 conftest$ac_exeext conftest.$ac_ext
20557 fi 21155 fi
20558 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 21156 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
20559 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; } 21157 $as_echo "$ac_cv_func_hes_getmailhost" >&6; }
20560 if test $ac_cv_func_hes_getmailhost = yes; then 21158 if test $ac_cv_func_hes_getmailhost = yes; then
20561 : 21159 :
20562 else 21160 else
20563 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 21161 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
20564 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; } 21162 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; }
20565 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 21163 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6 21164 $as_echo_n "(cached) " >&6
20567 else 21165 else
20568 ac_check_lib_save_LIBS=$LIBS 21166 ac_check_lib_save_LIBS=$LIBS
20569 LIBS="-lhesiod $RESOLVLIB $LIBS" 21167 LIBS="-lhesiod $RESOLVLIB $LIBS"
20570 cat >conftest.$ac_ext <<_ACEOF 21168 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h. */ 21169 /* confdefs.h. */
20593 if { (ac_try="$ac_link" 21191 if { (ac_try="$ac_link"
20594 case "(($ac_try" in 21192 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;; 21194 *) ac_try_echo=$ac_try;;
20597 esac 21195 esac
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21197 $as_echo "$ac_try_echo") >&5
20599 (eval "$ac_link") 2>conftest.er1 21198 (eval "$ac_link") 2>conftest.er1
20600 ac_status=$? 21199 ac_status=$?
20601 grep -v '^ *+' conftest.er1 >conftest.err 21200 grep -v '^ *+' conftest.er1 >conftest.err
20602 rm -f conftest.er1 21201 rm -f conftest.er1
20603 cat conftest.err >&5 21202 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } && { 21204 (exit $ac_status); } && {
20606 test -z "$ac_c_werror_flag" || 21205 test -z "$ac_c_werror_flag" ||
20607 test ! -s conftest.err 21206 test ! -s conftest.err
20608 } && test -s conftest$ac_exeext && 21207 } && test -s conftest$ac_exeext && {
20609 $as_test_x conftest$ac_exeext; then 21208 test "$cross_compiling" = yes ||
21209 $as_test_x conftest$ac_exeext
21210 }; then
20610 ac_cv_lib_hesiod_hes_getmailhost=yes 21211 ac_cv_lib_hesiod_hes_getmailhost=yes
20611 else 21212 else
20612 echo "$as_me: failed program was:" >&5 21213 $as_echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5 21214 sed 's/^/| /' conftest.$ac_ext >&5
20614 21215
20615 ac_cv_lib_hesiod_hes_getmailhost=no 21216 ac_cv_lib_hesiod_hes_getmailhost=no
20616 fi 21217 fi
20617 21218
21219 rm -rf conftest.dSYM
20618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20619 conftest$ac_exeext conftest.$ac_ext 21221 conftest$ac_exeext conftest.$ac_ext
20620 LIBS=$ac_check_lib_save_LIBS 21222 LIBS=$ac_check_lib_save_LIBS
20621 fi 21223 fi
20622 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 21224 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
20623 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 21225 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
20624 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 21226 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
20625 21227
20626 cat >>confdefs.h <<\_ACEOF 21228 cat >>confdefs.h <<\_ACEOF
20627 #define HAVE_LIBHESIOD 1 21229 #define HAVE_LIBHESIOD 1
20628 _ACEOF 21230 _ACEOF
20645 fi 21247 fi
20646 21248
20647 # These tell us which Kerberos-related libraries to use. 21249 # These tell us which Kerberos-related libraries to use.
20648 if test "${with_kerberos}" != no; then 21250 if test "${with_kerberos}" != no; then
20649 21251
20650 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 21252 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
20651 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } 21253 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
20652 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 21254 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6 21255 $as_echo_n "(cached) " >&6
20654 else 21256 else
20655 ac_check_lib_save_LIBS=$LIBS 21257 ac_check_lib_save_LIBS=$LIBS
20656 LIBS="-lcom_err $LIBS" 21258 LIBS="-lcom_err $LIBS"
20657 cat >conftest.$ac_ext <<_ACEOF 21259 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */ 21260 /* confdefs.h. */
20680 if { (ac_try="$ac_link" 21282 if { (ac_try="$ac_link"
20681 case "(($ac_try" in 21283 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;; 21285 *) ac_try_echo=$ac_try;;
20684 esac 21286 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21288 $as_echo "$ac_try_echo") >&5
20686 (eval "$ac_link") 2>conftest.er1 21289 (eval "$ac_link") 2>conftest.er1
20687 ac_status=$? 21290 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err 21291 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1 21292 rm -f conftest.er1
20690 cat conftest.err >&5 21293 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && { 21295 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" || 21296 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err 21297 test ! -s conftest.err
20695 } && test -s conftest$ac_exeext && 21298 } && test -s conftest$ac_exeext && {
20696 $as_test_x conftest$ac_exeext; then 21299 test "$cross_compiling" = yes ||
21300 $as_test_x conftest$ac_exeext
21301 }; then
20697 ac_cv_lib_com_err_com_err=yes 21302 ac_cv_lib_com_err_com_err=yes
20698 else 21303 else
20699 echo "$as_me: failed program was:" >&5 21304 $as_echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5 21305 sed 's/^/| /' conftest.$ac_ext >&5
20701 21306
20702 ac_cv_lib_com_err_com_err=no 21307 ac_cv_lib_com_err_com_err=no
20703 fi 21308 fi
20704 21309
21310 rm -rf conftest.dSYM
20705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20706 conftest$ac_exeext conftest.$ac_ext 21312 conftest$ac_exeext conftest.$ac_ext
20707 LIBS=$ac_check_lib_save_LIBS 21313 LIBS=$ac_check_lib_save_LIBS
20708 fi 21314 fi
20709 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 21315 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
20710 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } 21316 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
20711 if test $ac_cv_lib_com_err_com_err = yes; then 21317 if test $ac_cv_lib_com_err_com_err = yes; then
20712 cat >>confdefs.h <<_ACEOF 21318 cat >>confdefs.h <<_ACEOF
20713 #define HAVE_LIBCOM_ERR 1 21319 #define HAVE_LIBCOM_ERR 1
20714 _ACEOF 21320 _ACEOF
20715 21321
20716 LIBS="-lcom_err $LIBS" 21322 LIBS="-lcom_err $LIBS"
20717 21323
20718 fi 21324 fi
20719 21325
20720 21326
20721 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 21327 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
20722 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; } 21328 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; }
20723 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 21329 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6 21330 $as_echo_n "(cached) " >&6
20725 else 21331 else
20726 ac_check_lib_save_LIBS=$LIBS 21332 ac_check_lib_save_LIBS=$LIBS
20727 LIBS="-lk5crypto $LIBS" 21333 LIBS="-lk5crypto $LIBS"
20728 cat >conftest.$ac_ext <<_ACEOF 21334 cat >conftest.$ac_ext <<_ACEOF
20729 /* confdefs.h. */ 21335 /* confdefs.h. */
20751 if { (ac_try="$ac_link" 21357 if { (ac_try="$ac_link"
20752 case "(($ac_try" in 21358 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;; 21360 *) ac_try_echo=$ac_try;;
20755 esac 21361 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21363 $as_echo "$ac_try_echo") >&5
20757 (eval "$ac_link") 2>conftest.er1 21364 (eval "$ac_link") 2>conftest.er1
20758 ac_status=$? 21365 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err 21366 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1 21367 rm -f conftest.er1
20761 cat conftest.err >&5 21368 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && { 21370 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" || 21371 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err 21372 test ! -s conftest.err
20766 } && test -s conftest$ac_exeext && 21373 } && test -s conftest$ac_exeext && {
20767 $as_test_x conftest$ac_exeext; then 21374 test "$cross_compiling" = yes ||
21375 $as_test_x conftest$ac_exeext
21376 }; then
20768 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 21377 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
20769 else 21378 else
20770 echo "$as_me: failed program was:" >&5 21379 $as_echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5 21380 sed 's/^/| /' conftest.$ac_ext >&5
20772 21381
20773 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 21382 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
20774 fi 21383 fi
20775 21384
21385 rm -rf conftest.dSYM
20776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20777 conftest$ac_exeext conftest.$ac_ext 21387 conftest$ac_exeext conftest.$ac_ext
20778 LIBS=$ac_check_lib_save_LIBS 21388 LIBS=$ac_check_lib_save_LIBS
20779 fi 21389 fi
20780 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 21390 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
20781 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 21391 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
20782 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 21392 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
20783 cat >>confdefs.h <<_ACEOF 21393 cat >>confdefs.h <<_ACEOF
20784 #define HAVE_LIBK5CRYPTO 1 21394 #define HAVE_LIBK5CRYPTO 1
20785 _ACEOF 21395 _ACEOF
20786 21396
20787 LIBS="-lk5crypto $LIBS" 21397 LIBS="-lk5crypto $LIBS"
20788 21398
20789 fi 21399 fi
20790 21400
20791 21401
20792 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 21402 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
20793 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; } 21403 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; }
20794 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 21404 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6 21405 $as_echo_n "(cached) " >&6
20796 else 21406 else
20797 ac_check_lib_save_LIBS=$LIBS 21407 ac_check_lib_save_LIBS=$LIBS
20798 LIBS="-lcrypto $LIBS" 21408 LIBS="-lcrypto $LIBS"
20799 cat >conftest.$ac_ext <<_ACEOF 21409 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */ 21410 /* confdefs.h. */
20822 if { (ac_try="$ac_link" 21432 if { (ac_try="$ac_link"
20823 case "(($ac_try" in 21433 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;; 21435 *) ac_try_echo=$ac_try;;
20826 esac 21436 esac
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21438 $as_echo "$ac_try_echo") >&5
20828 (eval "$ac_link") 2>conftest.er1 21439 (eval "$ac_link") 2>conftest.er1
20829 ac_status=$? 21440 ac_status=$?
20830 grep -v '^ *+' conftest.er1 >conftest.err 21441 grep -v '^ *+' conftest.er1 >conftest.err
20831 rm -f conftest.er1 21442 rm -f conftest.er1
20832 cat conftest.err >&5 21443 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && { 21445 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" || 21446 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err 21447 test ! -s conftest.err
20837 } && test -s conftest$ac_exeext && 21448 } && test -s conftest$ac_exeext && {
20838 $as_test_x conftest$ac_exeext; then 21449 test "$cross_compiling" = yes ||
21450 $as_test_x conftest$ac_exeext
21451 }; then
20839 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 21452 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
20840 else 21453 else
20841 echo "$as_me: failed program was:" >&5 21454 $as_echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5 21455 sed 's/^/| /' conftest.$ac_ext >&5
20843 21456
20844 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 21457 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
20845 fi 21458 fi
20846 21459
21460 rm -rf conftest.dSYM
20847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20848 conftest$ac_exeext conftest.$ac_ext 21462 conftest$ac_exeext conftest.$ac_ext
20849 LIBS=$ac_check_lib_save_LIBS 21463 LIBS=$ac_check_lib_save_LIBS
20850 fi 21464 fi
20851 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 21465 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
20852 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 21466 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
20853 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 21467 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
20854 cat >>confdefs.h <<_ACEOF 21468 cat >>confdefs.h <<_ACEOF
20855 #define HAVE_LIBCRYPTO 1 21469 #define HAVE_LIBCRYPTO 1
20856 _ACEOF 21470 _ACEOF
20857 21471
20858 LIBS="-lcrypto $LIBS" 21472 LIBS="-lcrypto $LIBS"
20859 21473
20860 fi 21474 fi
20861 21475
20862 21476
20863 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 21477 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
20864 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; } 21478 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
20865 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 21479 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
20866 echo $ECHO_N "(cached) $ECHO_C" >&6 21480 $as_echo_n "(cached) " >&6
20867 else 21481 else
20868 ac_check_lib_save_LIBS=$LIBS 21482 ac_check_lib_save_LIBS=$LIBS
20869 LIBS="-lkrb5 $LIBS" 21483 LIBS="-lkrb5 $LIBS"
20870 cat >conftest.$ac_ext <<_ACEOF 21484 cat >conftest.$ac_ext <<_ACEOF
20871 /* confdefs.h. */ 21485 /* confdefs.h. */
20893 if { (ac_try="$ac_link" 21507 if { (ac_try="$ac_link"
20894 case "(($ac_try" in 21508 case "(($ac_try" in
20895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;; 21510 *) ac_try_echo=$ac_try;;
20897 esac 21511 esac
20898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21513 $as_echo "$ac_try_echo") >&5
20899 (eval "$ac_link") 2>conftest.er1 21514 (eval "$ac_link") 2>conftest.er1
20900 ac_status=$? 21515 ac_status=$?
20901 grep -v '^ *+' conftest.er1 >conftest.err 21516 grep -v '^ *+' conftest.er1 >conftest.err
20902 rm -f conftest.er1 21517 rm -f conftest.er1
20903 cat conftest.err >&5 21518 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } && { 21520 (exit $ac_status); } && {
20906 test -z "$ac_c_werror_flag" || 21521 test -z "$ac_c_werror_flag" ||
20907 test ! -s conftest.err 21522 test ! -s conftest.err
20908 } && test -s conftest$ac_exeext && 21523 } && test -s conftest$ac_exeext && {
20909 $as_test_x conftest$ac_exeext; then 21524 test "$cross_compiling" = yes ||
21525 $as_test_x conftest$ac_exeext
21526 }; then
20910 ac_cv_lib_krb5_krb5_init_context=yes 21527 ac_cv_lib_krb5_krb5_init_context=yes
20911 else 21528 else
20912 echo "$as_me: failed program was:" >&5 21529 $as_echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5 21530 sed 's/^/| /' conftest.$ac_ext >&5
20914 21531
20915 ac_cv_lib_krb5_krb5_init_context=no 21532 ac_cv_lib_krb5_krb5_init_context=no
20916 fi 21533 fi
20917 21534
21535 rm -rf conftest.dSYM
20918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20919 conftest$ac_exeext conftest.$ac_ext 21537 conftest$ac_exeext conftest.$ac_ext
20920 LIBS=$ac_check_lib_save_LIBS 21538 LIBS=$ac_check_lib_save_LIBS
20921 fi 21539 fi
20922 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 21540 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
20923 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; } 21541 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
20924 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 21542 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
20925 cat >>confdefs.h <<_ACEOF 21543 cat >>confdefs.h <<_ACEOF
20926 #define HAVE_LIBKRB5 1 21544 #define HAVE_LIBKRB5 1
20927 _ACEOF 21545 _ACEOF
20928 21546
20930 21548
20931 fi 21549 fi
20932 21550
20933 if test "${with_kerberos5}" = no; then 21551 if test "${with_kerberos5}" = no; then
20934 21552
20935 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 21553 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
20936 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } 21554 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; }
20937 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 21555 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6 21556 $as_echo_n "(cached) " >&6
20939 else 21557 else
20940 ac_check_lib_save_LIBS=$LIBS 21558 ac_check_lib_save_LIBS=$LIBS
20941 LIBS="-ldes425 $LIBS" 21559 LIBS="-ldes425 $LIBS"
20942 cat >conftest.$ac_ext <<_ACEOF 21560 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */ 21561 /* confdefs.h. */
20965 if { (ac_try="$ac_link" 21583 if { (ac_try="$ac_link"
20966 case "(($ac_try" in 21584 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;; 21586 *) ac_try_echo=$ac_try;;
20969 esac 21587 esac
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21589 $as_echo "$ac_try_echo") >&5
20971 (eval "$ac_link") 2>conftest.er1 21590 (eval "$ac_link") 2>conftest.er1
20972 ac_status=$? 21591 ac_status=$?
20973 grep -v '^ *+' conftest.er1 >conftest.err 21592 grep -v '^ *+' conftest.er1 >conftest.err
20974 rm -f conftest.er1 21593 rm -f conftest.er1
20975 cat conftest.err >&5 21594 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && { 21596 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" || 21597 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err 21598 test ! -s conftest.err
20980 } && test -s conftest$ac_exeext && 21599 } && test -s conftest$ac_exeext && {
20981 $as_test_x conftest$ac_exeext; then 21600 test "$cross_compiling" = yes ||
21601 $as_test_x conftest$ac_exeext
21602 }; then
20982 ac_cv_lib_des425_des_cbc_encrypt=yes 21603 ac_cv_lib_des425_des_cbc_encrypt=yes
20983 else 21604 else
20984 echo "$as_me: failed program was:" >&5 21605 $as_echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5 21606 sed 's/^/| /' conftest.$ac_ext >&5
20986 21607
20987 ac_cv_lib_des425_des_cbc_encrypt=no 21608 ac_cv_lib_des425_des_cbc_encrypt=no
20988 fi 21609 fi
20989 21610
21611 rm -rf conftest.dSYM
20990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20991 conftest$ac_exeext conftest.$ac_ext 21613 conftest$ac_exeext conftest.$ac_ext
20992 LIBS=$ac_check_lib_save_LIBS 21614 LIBS=$ac_check_lib_save_LIBS
20993 fi 21615 fi
20994 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 21616 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
20995 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 21617 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
20996 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 21618 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
20997 cat >>confdefs.h <<_ACEOF 21619 cat >>confdefs.h <<_ACEOF
20998 #define HAVE_LIBDES425 1 21620 #define HAVE_LIBDES425 1
20999 _ACEOF 21621 _ACEOF
21000 21622
21001 LIBS="-ldes425 $LIBS" 21623 LIBS="-ldes425 $LIBS"
21002 21624
21003 else 21625 else
21004 21626
21005 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 21627 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
21006 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } 21628 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; }
21007 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 21629 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6 21630 $as_echo_n "(cached) " >&6
21009 else 21631 else
21010 ac_check_lib_save_LIBS=$LIBS 21632 ac_check_lib_save_LIBS=$LIBS
21011 LIBS="-ldes $LIBS" 21633 LIBS="-ldes $LIBS"
21012 cat >conftest.$ac_ext <<_ACEOF 21634 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */ 21635 /* confdefs.h. */
21035 if { (ac_try="$ac_link" 21657 if { (ac_try="$ac_link"
21036 case "(($ac_try" in 21658 case "(($ac_try" in
21037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21038 *) ac_try_echo=$ac_try;; 21660 *) ac_try_echo=$ac_try;;
21039 esac 21661 esac
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21663 $as_echo "$ac_try_echo") >&5
21041 (eval "$ac_link") 2>conftest.er1 21664 (eval "$ac_link") 2>conftest.er1
21042 ac_status=$? 21665 ac_status=$?
21043 grep -v '^ *+' conftest.er1 >conftest.err 21666 grep -v '^ *+' conftest.er1 >conftest.err
21044 rm -f conftest.er1 21667 rm -f conftest.er1
21045 cat conftest.err >&5 21668 cat conftest.err >&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } && { 21670 (exit $ac_status); } && {
21048 test -z "$ac_c_werror_flag" || 21671 test -z "$ac_c_werror_flag" ||
21049 test ! -s conftest.err 21672 test ! -s conftest.err
21050 } && test -s conftest$ac_exeext && 21673 } && test -s conftest$ac_exeext && {
21051 $as_test_x conftest$ac_exeext; then 21674 test "$cross_compiling" = yes ||
21675 $as_test_x conftest$ac_exeext
21676 }; then
21052 ac_cv_lib_des_des_cbc_encrypt=yes 21677 ac_cv_lib_des_des_cbc_encrypt=yes
21053 else 21678 else
21054 echo "$as_me: failed program was:" >&5 21679 $as_echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5 21680 sed 's/^/| /' conftest.$ac_ext >&5
21056 21681
21057 ac_cv_lib_des_des_cbc_encrypt=no 21682 ac_cv_lib_des_des_cbc_encrypt=no
21058 fi 21683 fi
21059 21684
21685 rm -rf conftest.dSYM
21060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21061 conftest$ac_exeext conftest.$ac_ext 21687 conftest$ac_exeext conftest.$ac_ext
21062 LIBS=$ac_check_lib_save_LIBS 21688 LIBS=$ac_check_lib_save_LIBS
21063 fi 21689 fi
21064 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 21690 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
21065 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } 21691 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; }
21066 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 21692 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
21067 cat >>confdefs.h <<_ACEOF 21693 cat >>confdefs.h <<_ACEOF
21068 #define HAVE_LIBDES 1 21694 #define HAVE_LIBDES 1
21069 _ACEOF 21695 _ACEOF
21070 21696
21073 fi 21699 fi
21074 21700
21075 fi 21701 fi
21076 21702
21077 21703
21078 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 21704 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
21079 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; } 21705 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; }
21080 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 21706 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
21081 echo $ECHO_N "(cached) $ECHO_C" >&6 21707 $as_echo_n "(cached) " >&6
21082 else 21708 else
21083 ac_check_lib_save_LIBS=$LIBS 21709 ac_check_lib_save_LIBS=$LIBS
21084 LIBS="-lkrb4 $LIBS" 21710 LIBS="-lkrb4 $LIBS"
21085 cat >conftest.$ac_ext <<_ACEOF 21711 cat >conftest.$ac_ext <<_ACEOF
21086 /* confdefs.h. */ 21712 /* confdefs.h. */
21108 if { (ac_try="$ac_link" 21734 if { (ac_try="$ac_link"
21109 case "(($ac_try" in 21735 case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;; 21737 *) ac_try_echo=$ac_try;;
21112 esac 21738 esac
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21740 $as_echo "$ac_try_echo") >&5
21114 (eval "$ac_link") 2>conftest.er1 21741 (eval "$ac_link") 2>conftest.er1
21115 ac_status=$? 21742 ac_status=$?
21116 grep -v '^ *+' conftest.er1 >conftest.err 21743 grep -v '^ *+' conftest.er1 >conftest.err
21117 rm -f conftest.er1 21744 rm -f conftest.er1
21118 cat conftest.err >&5 21745 cat conftest.err >&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } && { 21747 (exit $ac_status); } && {
21121 test -z "$ac_c_werror_flag" || 21748 test -z "$ac_c_werror_flag" ||
21122 test ! -s conftest.err 21749 test ! -s conftest.err
21123 } && test -s conftest$ac_exeext && 21750 } && test -s conftest$ac_exeext && {
21124 $as_test_x conftest$ac_exeext; then 21751 test "$cross_compiling" = yes ||
21752 $as_test_x conftest$ac_exeext
21753 }; then
21125 ac_cv_lib_krb4_krb_get_cred=yes 21754 ac_cv_lib_krb4_krb_get_cred=yes
21126 else 21755 else
21127 echo "$as_me: failed program was:" >&5 21756 $as_echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5 21757 sed 's/^/| /' conftest.$ac_ext >&5
21129 21758
21130 ac_cv_lib_krb4_krb_get_cred=no 21759 ac_cv_lib_krb4_krb_get_cred=no
21131 fi 21760 fi
21132 21761
21762 rm -rf conftest.dSYM
21133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21134 conftest$ac_exeext conftest.$ac_ext 21764 conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS 21765 LIBS=$ac_check_lib_save_LIBS
21136 fi 21766 fi
21137 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 21767 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
21138 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; } 21768 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; }
21139 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 21769 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
21140 cat >>confdefs.h <<_ACEOF 21770 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_LIBKRB4 1 21771 #define HAVE_LIBKRB4 1
21142 _ACEOF 21772 _ACEOF
21143 21773
21144 LIBS="-lkrb4 $LIBS" 21774 LIBS="-lkrb4 $LIBS"
21145 21775
21146 else 21776 else
21147 21777
21148 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 21778 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
21149 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; } 21779 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; }
21150 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 21780 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6 21781 $as_echo_n "(cached) " >&6
21152 else 21782 else
21153 ac_check_lib_save_LIBS=$LIBS 21783 ac_check_lib_save_LIBS=$LIBS
21154 LIBS="-lkrb $LIBS" 21784 LIBS="-lkrb $LIBS"
21155 cat >conftest.$ac_ext <<_ACEOF 21785 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */ 21786 /* confdefs.h. */
21178 if { (ac_try="$ac_link" 21808 if { (ac_try="$ac_link"
21179 case "(($ac_try" in 21809 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;; 21811 *) ac_try_echo=$ac_try;;
21182 esac 21812 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21814 $as_echo "$ac_try_echo") >&5
21184 (eval "$ac_link") 2>conftest.er1 21815 (eval "$ac_link") 2>conftest.er1
21185 ac_status=$? 21816 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err 21817 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1 21818 rm -f conftest.er1
21188 cat conftest.err >&5 21819 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && { 21821 (exit $ac_status); } && {
21191 test -z "$ac_c_werror_flag" || 21822 test -z "$ac_c_werror_flag" ||
21192 test ! -s conftest.err 21823 test ! -s conftest.err
21193 } && test -s conftest$ac_exeext && 21824 } && test -s conftest$ac_exeext && {
21194 $as_test_x conftest$ac_exeext; then 21825 test "$cross_compiling" = yes ||
21826 $as_test_x conftest$ac_exeext
21827 }; then
21195 ac_cv_lib_krb_krb_get_cred=yes 21828 ac_cv_lib_krb_krb_get_cred=yes
21196 else 21829 else
21197 echo "$as_me: failed program was:" >&5 21830 $as_echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.$ac_ext >&5 21831 sed 's/^/| /' conftest.$ac_ext >&5
21199 21832
21200 ac_cv_lib_krb_krb_get_cred=no 21833 ac_cv_lib_krb_krb_get_cred=no
21201 fi 21834 fi
21202 21835
21836 rm -rf conftest.dSYM
21203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21204 conftest$ac_exeext conftest.$ac_ext 21838 conftest$ac_exeext conftest.$ac_ext
21205 LIBS=$ac_check_lib_save_LIBS 21839 LIBS=$ac_check_lib_save_LIBS
21206 fi 21840 fi
21207 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 21841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
21208 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; } 21842 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; }
21209 if test $ac_cv_lib_krb_krb_get_cred = yes; then 21843 if test $ac_cv_lib_krb_krb_get_cred = yes; then
21210 cat >>confdefs.h <<_ACEOF 21844 cat >>confdefs.h <<_ACEOF
21211 #define HAVE_LIBKRB 1 21845 #define HAVE_LIBKRB 1
21212 _ACEOF 21846 _ACEOF
21213 21847
21221 21855
21222 if test "${with_kerberos5}" != no; then 21856 if test "${with_kerberos5}" != no; then
21223 21857
21224 for ac_header in krb5.h 21858 for ac_header in krb5.h
21225 do 21859 do
21226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21228 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21862 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21863 $as_echo_n "checking for $ac_header... " >&6; }
21230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6 21865 $as_echo_n "(cached) " >&6
21232 fi 21866 fi
21233 ac_res=`eval echo '${'$as_ac_Header'}'` 21867 ac_res=`eval 'as_val=${'$as_ac_Header'}
21234 { echo "$as_me:$LINENO: result: $ac_res" >&5 21868 $as_echo "$as_val"'`
21235 echo "${ECHO_T}$ac_res" >&6; } 21869 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21870 $as_echo "$ac_res" >&6; }
21236 else 21871 else
21237 # Is the header compilable? 21872 # Is the header compilable?
21238 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 21873 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 21874 $as_echo_n "checking $ac_header usability... " >&6; }
21240 cat >conftest.$ac_ext <<_ACEOF 21875 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */ 21876 /* confdefs.h. */
21242 _ACEOF 21877 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext 21878 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF 21879 cat >>conftest.$ac_ext <<_ACEOF
21250 if { (ac_try="$ac_compile" 21885 if { (ac_try="$ac_compile"
21251 case "(($ac_try" in 21886 case "(($ac_try" in
21252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21253 *) ac_try_echo=$ac_try;; 21888 *) ac_try_echo=$ac_try;;
21254 esac 21889 esac
21255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21891 $as_echo "$ac_try_echo") >&5
21256 (eval "$ac_compile") 2>conftest.er1 21892 (eval "$ac_compile") 2>conftest.er1
21257 ac_status=$? 21893 ac_status=$?
21258 grep -v '^ *+' conftest.er1 >conftest.err 21894 grep -v '^ *+' conftest.er1 >conftest.err
21259 rm -f conftest.er1 21895 rm -f conftest.er1
21260 cat conftest.err >&5 21896 cat conftest.err >&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } && { 21898 (exit $ac_status); } && {
21263 test -z "$ac_c_werror_flag" || 21899 test -z "$ac_c_werror_flag" ||
21264 test ! -s conftest.err 21900 test ! -s conftest.err
21265 } && test -s conftest.$ac_objext; then 21901 } && test -s conftest.$ac_objext; then
21266 ac_header_compiler=yes 21902 ac_header_compiler=yes
21267 else 21903 else
21268 echo "$as_me: failed program was:" >&5 21904 $as_echo "$as_me: failed program was:" >&5
21269 sed 's/^/| /' conftest.$ac_ext >&5 21905 sed 's/^/| /' conftest.$ac_ext >&5
21270 21906
21271 ac_header_compiler=no 21907 ac_header_compiler=no
21272 fi 21908 fi
21273 21909
21274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21911 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21276 echo "${ECHO_T}$ac_header_compiler" >&6; } 21912 $as_echo "$ac_header_compiler" >&6; }
21277 21913
21278 # Is the header present? 21914 # Is the header present?
21279 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 21915 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 21916 $as_echo_n "checking $ac_header presence... " >&6; }
21281 cat >conftest.$ac_ext <<_ACEOF 21917 cat >conftest.$ac_ext <<_ACEOF
21282 /* confdefs.h. */ 21918 /* confdefs.h. */
21283 _ACEOF 21919 _ACEOF
21284 cat confdefs.h >>conftest.$ac_ext 21920 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF 21921 cat >>conftest.$ac_ext <<_ACEOF
21289 if { (ac_try="$ac_cpp conftest.$ac_ext" 21925 if { (ac_try="$ac_cpp conftest.$ac_ext"
21290 case "(($ac_try" in 21926 case "(($ac_try" in
21291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292 *) ac_try_echo=$ac_try;; 21928 *) ac_try_echo=$ac_try;;
21293 esac 21929 esac
21294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21931 $as_echo "$ac_try_echo") >&5
21295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21296 ac_status=$? 21933 ac_status=$?
21297 grep -v '^ *+' conftest.er1 >conftest.err 21934 grep -v '^ *+' conftest.er1 >conftest.err
21298 rm -f conftest.er1 21935 rm -f conftest.er1
21299 cat conftest.err >&5 21936 cat conftest.err >&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); } >/dev/null && { 21938 (exit $ac_status); } >/dev/null && {
21302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21303 test ! -s conftest.err 21940 test ! -s conftest.err
21304 }; then 21941 }; then
21305 ac_header_preproc=yes 21942 ac_header_preproc=yes
21306 else 21943 else
21307 echo "$as_me: failed program was:" >&5 21944 $as_echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5 21945 sed 's/^/| /' conftest.$ac_ext >&5
21309 21946
21310 ac_header_preproc=no 21947 ac_header_preproc=no
21311 fi 21948 fi
21312 21949
21313 rm -f conftest.err conftest.$ac_ext 21950 rm -f conftest.err conftest.$ac_ext
21314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21951 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21315 echo "${ECHO_T}$ac_header_preproc" >&6; } 21952 $as_echo "$ac_header_preproc" >&6; }
21316 21953
21317 # So? What about this header? 21954 # So? What about this header?
21318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21319 yes:no: ) 21956 yes:no: )
21320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21958 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21960 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21324 ac_header_preproc=yes 21961 ac_header_preproc=yes
21325 ;; 21962 ;;
21326 no:yes:* ) 21963 no:yes:* )
21327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21965 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21967 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21969 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21971 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21973 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21975 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21339 21976
21340 ;; 21977 ;;
21341 esac 21978 esac
21342 { echo "$as_me:$LINENO: checking for $ac_header" >&5 21979 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 21980 $as_echo_n "checking for $ac_header... " >&6; }
21344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21345 echo $ECHO_N "(cached) $ECHO_C" >&6 21982 $as_echo_n "(cached) " >&6
21346 else 21983 else
21347 eval "$as_ac_Header=\$ac_header_preproc" 21984 eval "$as_ac_Header=\$ac_header_preproc"
21348 fi 21985 fi
21349 ac_res=`eval echo '${'$as_ac_Header'}'` 21986 ac_res=`eval 'as_val=${'$as_ac_Header'}
21350 { echo "$as_me:$LINENO: result: $ac_res" >&5 21987 $as_echo "$as_val"'`
21351 echo "${ECHO_T}$ac_res" >&6; } 21988 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21352 21989 $as_echo "$ac_res" >&6; }
21353 fi 21990
21354 if test `eval echo '${'$as_ac_Header'}'` = yes; then 21991 fi
21992 if test `eval 'as_val=${'$as_ac_Header'}
21993 $as_echo "$as_val"'` = yes; then
21355 cat >>confdefs.h <<_ACEOF 21994 cat >>confdefs.h <<_ACEOF
21356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21357 _ACEOF 21996 _ACEOF
21358 { echo "$as_me:$LINENO: checking for krb5_error.text" >&5 21997 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5
21359 echo $ECHO_N "checking for krb5_error.text... $ECHO_C" >&6; } 21998 $as_echo_n "checking for krb5_error.text... " >&6; }
21360 if test "${ac_cv_member_krb5_error_text+set}" = set; then 21999 if test "${ac_cv_member_krb5_error_text+set}" = set; then
21361 echo $ECHO_N "(cached) $ECHO_C" >&6 22000 $as_echo_n "(cached) " >&6
21362 else 22001 else
21363 cat >conftest.$ac_ext <<_ACEOF 22002 cat >conftest.$ac_ext <<_ACEOF
21364 /* confdefs.h. */ 22003 /* confdefs.h. */
21365 _ACEOF 22004 _ACEOF
21366 cat confdefs.h >>conftest.$ac_ext 22005 cat confdefs.h >>conftest.$ac_ext
21382 if { (ac_try="$ac_compile" 22021 if { (ac_try="$ac_compile"
21383 case "(($ac_try" in 22022 case "(($ac_try" in
21384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21385 *) ac_try_echo=$ac_try;; 22024 *) ac_try_echo=$ac_try;;
21386 esac 22025 esac
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22027 $as_echo "$ac_try_echo") >&5
21388 (eval "$ac_compile") 2>conftest.er1 22028 (eval "$ac_compile") 2>conftest.er1
21389 ac_status=$? 22029 ac_status=$?
21390 grep -v '^ *+' conftest.er1 >conftest.err 22030 grep -v '^ *+' conftest.er1 >conftest.err
21391 rm -f conftest.er1 22031 rm -f conftest.er1
21392 cat conftest.err >&5 22032 cat conftest.err >&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } && { 22034 (exit $ac_status); } && {
21395 test -z "$ac_c_werror_flag" || 22035 test -z "$ac_c_werror_flag" ||
21396 test ! -s conftest.err 22036 test ! -s conftest.err
21397 } && test -s conftest.$ac_objext; then 22037 } && test -s conftest.$ac_objext; then
21398 ac_cv_member_krb5_error_text=yes 22038 ac_cv_member_krb5_error_text=yes
21399 else 22039 else
21400 echo "$as_me: failed program was:" >&5 22040 $as_echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5 22041 sed 's/^/| /' conftest.$ac_ext >&5
21402 22042
21403 cat >conftest.$ac_ext <<_ACEOF 22043 cat >conftest.$ac_ext <<_ACEOF
21404 /* confdefs.h. */ 22044 /* confdefs.h. */
21405 _ACEOF 22045 _ACEOF
21422 if { (ac_try="$ac_compile" 22062 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in 22063 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;; 22065 *) ac_try_echo=$ac_try;;
21426 esac 22066 esac
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22068 $as_echo "$ac_try_echo") >&5
21428 (eval "$ac_compile") 2>conftest.er1 22069 (eval "$ac_compile") 2>conftest.er1
21429 ac_status=$? 22070 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err 22071 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1 22072 rm -f conftest.er1
21432 cat conftest.err >&5 22073 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && { 22075 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" || 22076 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err 22077 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then 22078 } && test -s conftest.$ac_objext; then
21438 ac_cv_member_krb5_error_text=yes 22079 ac_cv_member_krb5_error_text=yes
21439 else 22080 else
21440 echo "$as_me: failed program was:" >&5 22081 $as_echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5 22082 sed 's/^/| /' conftest.$ac_ext >&5
21442 22083
21443 ac_cv_member_krb5_error_text=no 22084 ac_cv_member_krb5_error_text=no
21444 fi 22085 fi
21445 22086
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 fi 22088 fi
21448 22089
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 fi 22091 fi
21451 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 22092 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
21452 echo "${ECHO_T}$ac_cv_member_krb5_error_text" >&6; } 22093 $as_echo "$ac_cv_member_krb5_error_text" >&6; }
21453 if test $ac_cv_member_krb5_error_text = yes; then 22094 if test $ac_cv_member_krb5_error_text = yes; then
21454 22095
21455 cat >>confdefs.h <<_ACEOF 22096 cat >>confdefs.h <<_ACEOF
21456 #define HAVE_KRB5_ERROR_TEXT 1 22097 #define HAVE_KRB5_ERROR_TEXT 1
21457 _ACEOF 22098 _ACEOF
21458 22099
21459 22100
21460 fi 22101 fi
21461 { echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 22102 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5
21462 echo $ECHO_N "checking for krb5_error.e_text... $ECHO_C" >&6; } 22103 $as_echo_n "checking for krb5_error.e_text... " >&6; }
21463 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then 22104 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6 22105 $as_echo_n "(cached) " >&6
21465 else 22106 else
21466 cat >conftest.$ac_ext <<_ACEOF 22107 cat >conftest.$ac_ext <<_ACEOF
21467 /* confdefs.h. */ 22108 /* confdefs.h. */
21468 _ACEOF 22109 _ACEOF
21469 cat confdefs.h >>conftest.$ac_ext 22110 cat confdefs.h >>conftest.$ac_ext
21485 if { (ac_try="$ac_compile" 22126 if { (ac_try="$ac_compile"
21486 case "(($ac_try" in 22127 case "(($ac_try" in
21487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21488 *) ac_try_echo=$ac_try;; 22129 *) ac_try_echo=$ac_try;;
21489 esac 22130 esac
21490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22132 $as_echo "$ac_try_echo") >&5
21491 (eval "$ac_compile") 2>conftest.er1 22133 (eval "$ac_compile") 2>conftest.er1
21492 ac_status=$? 22134 ac_status=$?
21493 grep -v '^ *+' conftest.er1 >conftest.err 22135 grep -v '^ *+' conftest.er1 >conftest.err
21494 rm -f conftest.er1 22136 rm -f conftest.er1
21495 cat conftest.err >&5 22137 cat conftest.err >&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } && { 22139 (exit $ac_status); } && {
21498 test -z "$ac_c_werror_flag" || 22140 test -z "$ac_c_werror_flag" ||
21499 test ! -s conftest.err 22141 test ! -s conftest.err
21500 } && test -s conftest.$ac_objext; then 22142 } && test -s conftest.$ac_objext; then
21501 ac_cv_member_krb5_error_e_text=yes 22143 ac_cv_member_krb5_error_e_text=yes
21502 else 22144 else
21503 echo "$as_me: failed program was:" >&5 22145 $as_echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5 22146 sed 's/^/| /' conftest.$ac_ext >&5
21505 22147
21506 cat >conftest.$ac_ext <<_ACEOF 22148 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */ 22149 /* confdefs.h. */
21508 _ACEOF 22150 _ACEOF
21525 if { (ac_try="$ac_compile" 22167 if { (ac_try="$ac_compile"
21526 case "(($ac_try" in 22168 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;; 22170 *) ac_try_echo=$ac_try;;
21529 esac 22171 esac
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22173 $as_echo "$ac_try_echo") >&5
21531 (eval "$ac_compile") 2>conftest.er1 22174 (eval "$ac_compile") 2>conftest.er1
21532 ac_status=$? 22175 ac_status=$?
21533 grep -v '^ *+' conftest.er1 >conftest.err 22176 grep -v '^ *+' conftest.er1 >conftest.err
21534 rm -f conftest.er1 22177 rm -f conftest.er1
21535 cat conftest.err >&5 22178 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } && { 22180 (exit $ac_status); } && {
21538 test -z "$ac_c_werror_flag" || 22181 test -z "$ac_c_werror_flag" ||
21539 test ! -s conftest.err 22182 test ! -s conftest.err
21540 } && test -s conftest.$ac_objext; then 22183 } && test -s conftest.$ac_objext; then
21541 ac_cv_member_krb5_error_e_text=yes 22184 ac_cv_member_krb5_error_e_text=yes
21542 else 22185 else
21543 echo "$as_me: failed program was:" >&5 22186 $as_echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5 22187 sed 's/^/| /' conftest.$ac_ext >&5
21545 22188
21546 ac_cv_member_krb5_error_e_text=no 22189 ac_cv_member_krb5_error_e_text=no
21547 fi 22190 fi
21548 22191
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 fi 22193 fi
21551 22194
21552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21553 fi 22196 fi
21554 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 22197 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
21555 echo "${ECHO_T}$ac_cv_member_krb5_error_e_text" >&6; } 22198 $as_echo "$ac_cv_member_krb5_error_e_text" >&6; }
21556 if test $ac_cv_member_krb5_error_e_text = yes; then 22199 if test $ac_cv_member_krb5_error_e_text = yes; then
21557 22200
21558 cat >>confdefs.h <<_ACEOF 22201 cat >>confdefs.h <<_ACEOF
21559 #define HAVE_KRB5_ERROR_E_TEXT 1 22202 #define HAVE_KRB5_ERROR_E_TEXT 1
21560 _ACEOF 22203 _ACEOF
21568 22211
21569 else 22212 else
21570 22213
21571 for ac_header in des.h 22214 for ac_header in des.h
21572 do 22215 do
21573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21575 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22218 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22219 $as_echo_n "checking for $ac_header... " >&6; }
21577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6 22221 $as_echo_n "(cached) " >&6
21579 fi 22222 fi
21580 ac_res=`eval echo '${'$as_ac_Header'}'` 22223 ac_res=`eval 'as_val=${'$as_ac_Header'}
21581 { echo "$as_me:$LINENO: result: $ac_res" >&5 22224 $as_echo "$as_val"'`
21582 echo "${ECHO_T}$ac_res" >&6; } 22225 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22226 $as_echo "$ac_res" >&6; }
21583 else 22227 else
21584 # Is the header compilable? 22228 # Is the header compilable?
21585 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22229 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22230 $as_echo_n "checking $ac_header usability... " >&6; }
21587 cat >conftest.$ac_ext <<_ACEOF 22231 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */ 22232 /* confdefs.h. */
21589 _ACEOF 22233 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext 22234 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF 22235 cat >>conftest.$ac_ext <<_ACEOF
21597 if { (ac_try="$ac_compile" 22241 if { (ac_try="$ac_compile"
21598 case "(($ac_try" in 22242 case "(($ac_try" in
21599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21600 *) ac_try_echo=$ac_try;; 22244 *) ac_try_echo=$ac_try;;
21601 esac 22245 esac
21602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22247 $as_echo "$ac_try_echo") >&5
21603 (eval "$ac_compile") 2>conftest.er1 22248 (eval "$ac_compile") 2>conftest.er1
21604 ac_status=$? 22249 ac_status=$?
21605 grep -v '^ *+' conftest.er1 >conftest.err 22250 grep -v '^ *+' conftest.er1 >conftest.err
21606 rm -f conftest.er1 22251 rm -f conftest.er1
21607 cat conftest.err >&5 22252 cat conftest.err >&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } && { 22254 (exit $ac_status); } && {
21610 test -z "$ac_c_werror_flag" || 22255 test -z "$ac_c_werror_flag" ||
21611 test ! -s conftest.err 22256 test ! -s conftest.err
21612 } && test -s conftest.$ac_objext; then 22257 } && test -s conftest.$ac_objext; then
21613 ac_header_compiler=yes 22258 ac_header_compiler=yes
21614 else 22259 else
21615 echo "$as_me: failed program was:" >&5 22260 $as_echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5 22261 sed 's/^/| /' conftest.$ac_ext >&5
21617 22262
21618 ac_header_compiler=no 22263 ac_header_compiler=no
21619 fi 22264 fi
21620 22265
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22267 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21623 echo "${ECHO_T}$ac_header_compiler" >&6; } 22268 $as_echo "$ac_header_compiler" >&6; }
21624 22269
21625 # Is the header present? 22270 # Is the header present?
21626 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22271 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22272 $as_echo_n "checking $ac_header presence... " >&6; }
21628 cat >conftest.$ac_ext <<_ACEOF 22273 cat >conftest.$ac_ext <<_ACEOF
21629 /* confdefs.h. */ 22274 /* confdefs.h. */
21630 _ACEOF 22275 _ACEOF
21631 cat confdefs.h >>conftest.$ac_ext 22276 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF 22277 cat >>conftest.$ac_ext <<_ACEOF
21636 if { (ac_try="$ac_cpp conftest.$ac_ext" 22281 if { (ac_try="$ac_cpp conftest.$ac_ext"
21637 case "(($ac_try" in 22282 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;; 22284 *) ac_try_echo=$ac_try;;
21640 esac 22285 esac
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22287 $as_echo "$ac_try_echo") >&5
21642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22288 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21643 ac_status=$? 22289 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err 22290 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1 22291 rm -f conftest.er1
21646 cat conftest.err >&5 22292 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } >/dev/null && { 22294 (exit $ac_status); } >/dev/null && {
21649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22295 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21650 test ! -s conftest.err 22296 test ! -s conftest.err
21651 }; then 22297 }; then
21652 ac_header_preproc=yes 22298 ac_header_preproc=yes
21653 else 22299 else
21654 echo "$as_me: failed program was:" >&5 22300 $as_echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5 22301 sed 's/^/| /' conftest.$ac_ext >&5
21656 22302
21657 ac_header_preproc=no 22303 ac_header_preproc=no
21658 fi 22304 fi
21659 22305
21660 rm -f conftest.err conftest.$ac_ext 22306 rm -f conftest.err conftest.$ac_ext
21661 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22307 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21662 echo "${ECHO_T}$ac_header_preproc" >&6; } 22308 $as_echo "$ac_header_preproc" >&6; }
21663 22309
21664 # So? What about this header? 22310 # So? What about this header?
21665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21666 yes:no: ) 22312 yes:no: )
21667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22314 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22316 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21671 ac_header_preproc=yes 22317 ac_header_preproc=yes
21672 ;; 22318 ;;
21673 no:yes:* ) 22319 no:yes:* )
21674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22321 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22323 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22325 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22327 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22329 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22331 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21686 22332
21687 ;; 22333 ;;
21688 esac 22334 esac
21689 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22335 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22336 $as_echo_n "checking for $ac_header... " >&6; }
21691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6 22338 $as_echo_n "(cached) " >&6
21693 else 22339 else
21694 eval "$as_ac_Header=\$ac_header_preproc" 22340 eval "$as_ac_Header=\$ac_header_preproc"
21695 fi 22341 fi
21696 ac_res=`eval echo '${'$as_ac_Header'}'` 22342 ac_res=`eval 'as_val=${'$as_ac_Header'}
21697 { echo "$as_me:$LINENO: result: $ac_res" >&5 22343 $as_echo "$as_val"'`
21698 echo "${ECHO_T}$ac_res" >&6; } 22344 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21699 22345 $as_echo "$ac_res" >&6; }
21700 fi 22346
21701 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22347 fi
22348 if test `eval 'as_val=${'$as_ac_Header'}
22349 $as_echo "$as_val"'` = yes; then
21702 cat >>confdefs.h <<_ACEOF 22350 cat >>confdefs.h <<_ACEOF
21703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21704 _ACEOF 22352 _ACEOF
21705 22353
21706 else 22354 else
21707 22355
21708 for ac_header in kerberosIV/des.h 22356 for ac_header in kerberosIV/des.h
21709 do 22357 do
21710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21712 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22360 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22361 $as_echo_n "checking for $ac_header... " >&6; }
21714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21715 echo $ECHO_N "(cached) $ECHO_C" >&6 22363 $as_echo_n "(cached) " >&6
21716 fi 22364 fi
21717 ac_res=`eval echo '${'$as_ac_Header'}'` 22365 ac_res=`eval 'as_val=${'$as_ac_Header'}
21718 { echo "$as_me:$LINENO: result: $ac_res" >&5 22366 $as_echo "$as_val"'`
21719 echo "${ECHO_T}$ac_res" >&6; } 22367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22368 $as_echo "$ac_res" >&6; }
21720 else 22369 else
21721 # Is the header compilable? 22370 # Is the header compilable?
21722 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22371 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22372 $as_echo_n "checking $ac_header usability... " >&6; }
21724 cat >conftest.$ac_ext <<_ACEOF 22373 cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h. */ 22374 /* confdefs.h. */
21726 _ACEOF 22375 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext 22376 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF 22377 cat >>conftest.$ac_ext <<_ACEOF
21734 if { (ac_try="$ac_compile" 22383 if { (ac_try="$ac_compile"
21735 case "(($ac_try" in 22384 case "(($ac_try" in
21736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21737 *) ac_try_echo=$ac_try;; 22386 *) ac_try_echo=$ac_try;;
21738 esac 22387 esac
21739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22389 $as_echo "$ac_try_echo") >&5
21740 (eval "$ac_compile") 2>conftest.er1 22390 (eval "$ac_compile") 2>conftest.er1
21741 ac_status=$? 22391 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err 22392 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1 22393 rm -f conftest.er1
21744 cat conftest.err >&5 22394 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } && { 22396 (exit $ac_status); } && {
21747 test -z "$ac_c_werror_flag" || 22397 test -z "$ac_c_werror_flag" ||
21748 test ! -s conftest.err 22398 test ! -s conftest.err
21749 } && test -s conftest.$ac_objext; then 22399 } && test -s conftest.$ac_objext; then
21750 ac_header_compiler=yes 22400 ac_header_compiler=yes
21751 else 22401 else
21752 echo "$as_me: failed program was:" >&5 22402 $as_echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.$ac_ext >&5 22403 sed 's/^/| /' conftest.$ac_ext >&5
21754 22404
21755 ac_header_compiler=no 22405 ac_header_compiler=no
21756 fi 22406 fi
21757 22407
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22409 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21760 echo "${ECHO_T}$ac_header_compiler" >&6; } 22410 $as_echo "$ac_header_compiler" >&6; }
21761 22411
21762 # Is the header present? 22412 # Is the header present?
21763 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22413 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22414 $as_echo_n "checking $ac_header presence... " >&6; }
21765 cat >conftest.$ac_ext <<_ACEOF 22415 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */ 22416 /* confdefs.h. */
21767 _ACEOF 22417 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext 22418 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF 22419 cat >>conftest.$ac_ext <<_ACEOF
21773 if { (ac_try="$ac_cpp conftest.$ac_ext" 22423 if { (ac_try="$ac_cpp conftest.$ac_ext"
21774 case "(($ac_try" in 22424 case "(($ac_try" in
21775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776 *) ac_try_echo=$ac_try;; 22426 *) ac_try_echo=$ac_try;;
21777 esac 22427 esac
21778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22429 $as_echo "$ac_try_echo") >&5
21779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21780 ac_status=$? 22431 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err 22432 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1 22433 rm -f conftest.er1
21783 cat conftest.err >&5 22434 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } >/dev/null && { 22436 (exit $ac_status); } >/dev/null && {
21786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21787 test ! -s conftest.err 22438 test ! -s conftest.err
21788 }; then 22439 }; then
21789 ac_header_preproc=yes 22440 ac_header_preproc=yes
21790 else 22441 else
21791 echo "$as_me: failed program was:" >&5 22442 $as_echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.$ac_ext >&5 22443 sed 's/^/| /' conftest.$ac_ext >&5
21793 22444
21794 ac_header_preproc=no 22445 ac_header_preproc=no
21795 fi 22446 fi
21796 22447
21797 rm -f conftest.err conftest.$ac_ext 22448 rm -f conftest.err conftest.$ac_ext
21798 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22449 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21799 echo "${ECHO_T}$ac_header_preproc" >&6; } 22450 $as_echo "$ac_header_preproc" >&6; }
21800 22451
21801 # So? What about this header? 22452 # So? What about this header?
21802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21803 yes:no: ) 22454 yes:no: )
21804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22456 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22458 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21808 ac_header_preproc=yes 22459 ac_header_preproc=yes
21809 ;; 22460 ;;
21810 no:yes:* ) 22461 no:yes:* )
21811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22462 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22463 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22465 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22467 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22469 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22471 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22473 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21823 22474
21824 ;; 22475 ;;
21825 esac 22476 esac
21826 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22477 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22478 $as_echo_n "checking for $ac_header... " >&6; }
21828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6 22480 $as_echo_n "(cached) " >&6
21830 else 22481 else
21831 eval "$as_ac_Header=\$ac_header_preproc" 22482 eval "$as_ac_Header=\$ac_header_preproc"
21832 fi 22483 fi
21833 ac_res=`eval echo '${'$as_ac_Header'}'` 22484 ac_res=`eval 'as_val=${'$as_ac_Header'}
21834 { echo "$as_me:$LINENO: result: $ac_res" >&5 22485 $as_echo "$as_val"'`
21835 echo "${ECHO_T}$ac_res" >&6; } 22486 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21836 22487 $as_echo "$ac_res" >&6; }
21837 fi 22488
21838 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22489 fi
22490 if test `eval 'as_val=${'$as_ac_Header'}
22491 $as_echo "$as_val"'` = yes; then
21839 cat >>confdefs.h <<_ACEOF 22492 cat >>confdefs.h <<_ACEOF
21840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21841 _ACEOF 22494 _ACEOF
21842 22495
21843 else 22496 else
21844 22497
21845 for ac_header in kerberos/des.h 22498 for ac_header in kerberos/des.h
21846 do 22499 do
21847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22500 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21849 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22502 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22503 $as_echo_n "checking for $ac_header... " >&6; }
21851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6 22505 $as_echo_n "(cached) " >&6
21853 fi 22506 fi
21854 ac_res=`eval echo '${'$as_ac_Header'}'` 22507 ac_res=`eval 'as_val=${'$as_ac_Header'}
21855 { echo "$as_me:$LINENO: result: $ac_res" >&5 22508 $as_echo "$as_val"'`
21856 echo "${ECHO_T}$ac_res" >&6; } 22509 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22510 $as_echo "$ac_res" >&6; }
21857 else 22511 else
21858 # Is the header compilable? 22512 # Is the header compilable?
21859 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22513 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22514 $as_echo_n "checking $ac_header usability... " >&6; }
21861 cat >conftest.$ac_ext <<_ACEOF 22515 cat >conftest.$ac_ext <<_ACEOF
21862 /* confdefs.h. */ 22516 /* confdefs.h. */
21863 _ACEOF 22517 _ACEOF
21864 cat confdefs.h >>conftest.$ac_ext 22518 cat confdefs.h >>conftest.$ac_ext
21865 cat >>conftest.$ac_ext <<_ACEOF 22519 cat >>conftest.$ac_ext <<_ACEOF
21871 if { (ac_try="$ac_compile" 22525 if { (ac_try="$ac_compile"
21872 case "(($ac_try" in 22526 case "(($ac_try" in
21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;; 22528 *) ac_try_echo=$ac_try;;
21875 esac 22529 esac
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22531 $as_echo "$ac_try_echo") >&5
21877 (eval "$ac_compile") 2>conftest.er1 22532 (eval "$ac_compile") 2>conftest.er1
21878 ac_status=$? 22533 ac_status=$?
21879 grep -v '^ *+' conftest.er1 >conftest.err 22534 grep -v '^ *+' conftest.er1 >conftest.err
21880 rm -f conftest.er1 22535 rm -f conftest.er1
21881 cat conftest.err >&5 22536 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && { 22538 (exit $ac_status); } && {
21884 test -z "$ac_c_werror_flag" || 22539 test -z "$ac_c_werror_flag" ||
21885 test ! -s conftest.err 22540 test ! -s conftest.err
21886 } && test -s conftest.$ac_objext; then 22541 } && test -s conftest.$ac_objext; then
21887 ac_header_compiler=yes 22542 ac_header_compiler=yes
21888 else 22543 else
21889 echo "$as_me: failed program was:" >&5 22544 $as_echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.$ac_ext >&5 22545 sed 's/^/| /' conftest.$ac_ext >&5
21891 22546
21892 ac_header_compiler=no 22547 ac_header_compiler=no
21893 fi 22548 fi
21894 22549
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22551 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21897 echo "${ECHO_T}$ac_header_compiler" >&6; } 22552 $as_echo "$ac_header_compiler" >&6; }
21898 22553
21899 # Is the header present? 22554 # Is the header present?
21900 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22555 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22556 $as_echo_n "checking $ac_header presence... " >&6; }
21902 cat >conftest.$ac_ext <<_ACEOF 22557 cat >conftest.$ac_ext <<_ACEOF
21903 /* confdefs.h. */ 22558 /* confdefs.h. */
21904 _ACEOF 22559 _ACEOF
21905 cat confdefs.h >>conftest.$ac_ext 22560 cat confdefs.h >>conftest.$ac_ext
21906 cat >>conftest.$ac_ext <<_ACEOF 22561 cat >>conftest.$ac_ext <<_ACEOF
21910 if { (ac_try="$ac_cpp conftest.$ac_ext" 22565 if { (ac_try="$ac_cpp conftest.$ac_ext"
21911 case "(($ac_try" in 22566 case "(($ac_try" in
21912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21913 *) ac_try_echo=$ac_try;; 22568 *) ac_try_echo=$ac_try;;
21914 esac 22569 esac
21915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22571 $as_echo "$ac_try_echo") >&5
21916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21917 ac_status=$? 22573 ac_status=$?
21918 grep -v '^ *+' conftest.er1 >conftest.err 22574 grep -v '^ *+' conftest.er1 >conftest.err
21919 rm -f conftest.er1 22575 rm -f conftest.er1
21920 cat conftest.err >&5 22576 cat conftest.err >&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } >/dev/null && { 22578 (exit $ac_status); } >/dev/null && {
21923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21924 test ! -s conftest.err 22580 test ! -s conftest.err
21925 }; then 22581 }; then
21926 ac_header_preproc=yes 22582 ac_header_preproc=yes
21927 else 22583 else
21928 echo "$as_me: failed program was:" >&5 22584 $as_echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5 22585 sed 's/^/| /' conftest.$ac_ext >&5
21930 22586
21931 ac_header_preproc=no 22587 ac_header_preproc=no
21932 fi 22588 fi
21933 22589
21934 rm -f conftest.err conftest.$ac_ext 22590 rm -f conftest.err conftest.$ac_ext
21935 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22591 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21936 echo "${ECHO_T}$ac_header_preproc" >&6; } 22592 $as_echo "$ac_header_preproc" >&6; }
21937 22593
21938 # So? What about this header? 22594 # So? What about this header?
21939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21940 yes:no: ) 22596 yes:no: )
21941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22598 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22600 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21945 ac_header_preproc=yes 22601 ac_header_preproc=yes
21946 ;; 22602 ;;
21947 no:yes:* ) 22603 no:yes:* )
21948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22605 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22607 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22609 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22611 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22613 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22615 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21960 22616
21961 ;; 22617 ;;
21962 esac 22618 esac
21963 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22619 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22620 $as_echo_n "checking for $ac_header... " >&6; }
21965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6 22622 $as_echo_n "(cached) " >&6
21967 else 22623 else
21968 eval "$as_ac_Header=\$ac_header_preproc" 22624 eval "$as_ac_Header=\$ac_header_preproc"
21969 fi 22625 fi
21970 ac_res=`eval echo '${'$as_ac_Header'}'` 22626 ac_res=`eval 'as_val=${'$as_ac_Header'}
21971 { echo "$as_me:$LINENO: result: $ac_res" >&5 22627 $as_echo "$as_val"'`
21972 echo "${ECHO_T}$ac_res" >&6; } 22628 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21973 22629 $as_echo "$ac_res" >&6; }
21974 fi 22630
21975 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22631 fi
22632 if test `eval 'as_val=${'$as_ac_Header'}
22633 $as_echo "$as_val"'` = yes; then
21976 cat >>confdefs.h <<_ACEOF 22634 cat >>confdefs.h <<_ACEOF
21977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21978 _ACEOF 22636 _ACEOF
21979 22637
21980 fi 22638 fi
21981 22639
21982 done 22640 done
21990 done 22648 done
21991 22649
21992 22650
21993 for ac_header in krb.h 22651 for ac_header in krb.h
21994 do 22652 do
21995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21997 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22655 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22656 $as_echo_n "checking for $ac_header... " >&6; }
21999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6 22658 $as_echo_n "(cached) " >&6
22001 fi 22659 fi
22002 ac_res=`eval echo '${'$as_ac_Header'}'` 22660 ac_res=`eval 'as_val=${'$as_ac_Header'}
22003 { echo "$as_me:$LINENO: result: $ac_res" >&5 22661 $as_echo "$as_val"'`
22004 echo "${ECHO_T}$ac_res" >&6; } 22662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22663 $as_echo "$ac_res" >&6; }
22005 else 22664 else
22006 # Is the header compilable? 22665 # Is the header compilable?
22007 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22666 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22667 $as_echo_n "checking $ac_header usability... " >&6; }
22009 cat >conftest.$ac_ext <<_ACEOF 22668 cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h. */ 22669 /* confdefs.h. */
22011 _ACEOF 22670 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext 22671 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF 22672 cat >>conftest.$ac_ext <<_ACEOF
22019 if { (ac_try="$ac_compile" 22678 if { (ac_try="$ac_compile"
22020 case "(($ac_try" in 22679 case "(($ac_try" in
22021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22022 *) ac_try_echo=$ac_try;; 22681 *) ac_try_echo=$ac_try;;
22023 esac 22682 esac
22024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22684 $as_echo "$ac_try_echo") >&5
22025 (eval "$ac_compile") 2>conftest.er1 22685 (eval "$ac_compile") 2>conftest.er1
22026 ac_status=$? 22686 ac_status=$?
22027 grep -v '^ *+' conftest.er1 >conftest.err 22687 grep -v '^ *+' conftest.er1 >conftest.err
22028 rm -f conftest.er1 22688 rm -f conftest.er1
22029 cat conftest.err >&5 22689 cat conftest.err >&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } && { 22691 (exit $ac_status); } && {
22032 test -z "$ac_c_werror_flag" || 22692 test -z "$ac_c_werror_flag" ||
22033 test ! -s conftest.err 22693 test ! -s conftest.err
22034 } && test -s conftest.$ac_objext; then 22694 } && test -s conftest.$ac_objext; then
22035 ac_header_compiler=yes 22695 ac_header_compiler=yes
22036 else 22696 else
22037 echo "$as_me: failed program was:" >&5 22697 $as_echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5 22698 sed 's/^/| /' conftest.$ac_ext >&5
22039 22699
22040 ac_header_compiler=no 22700 ac_header_compiler=no
22041 fi 22701 fi
22042 22702
22043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22704 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22045 echo "${ECHO_T}$ac_header_compiler" >&6; } 22705 $as_echo "$ac_header_compiler" >&6; }
22046 22706
22047 # Is the header present? 22707 # Is the header present?
22048 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22708 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22709 $as_echo_n "checking $ac_header presence... " >&6; }
22050 cat >conftest.$ac_ext <<_ACEOF 22710 cat >conftest.$ac_ext <<_ACEOF
22051 /* confdefs.h. */ 22711 /* confdefs.h. */
22052 _ACEOF 22712 _ACEOF
22053 cat confdefs.h >>conftest.$ac_ext 22713 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF 22714 cat >>conftest.$ac_ext <<_ACEOF
22058 if { (ac_try="$ac_cpp conftest.$ac_ext" 22718 if { (ac_try="$ac_cpp conftest.$ac_ext"
22059 case "(($ac_try" in 22719 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;; 22721 *) ac_try_echo=$ac_try;;
22062 esac 22722 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22724 $as_echo "$ac_try_echo") >&5
22064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22065 ac_status=$? 22726 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err 22727 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1 22728 rm -f conftest.er1
22068 cat conftest.err >&5 22729 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } >/dev/null && { 22731 (exit $ac_status); } >/dev/null && {
22071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22072 test ! -s conftest.err 22733 test ! -s conftest.err
22073 }; then 22734 }; then
22074 ac_header_preproc=yes 22735 ac_header_preproc=yes
22075 else 22736 else
22076 echo "$as_me: failed program was:" >&5 22737 $as_echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5 22738 sed 's/^/| /' conftest.$ac_ext >&5
22078 22739
22079 ac_header_preproc=no 22740 ac_header_preproc=no
22080 fi 22741 fi
22081 22742
22082 rm -f conftest.err conftest.$ac_ext 22743 rm -f conftest.err conftest.$ac_ext
22083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22744 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22084 echo "${ECHO_T}$ac_header_preproc" >&6; } 22745 $as_echo "$ac_header_preproc" >&6; }
22085 22746
22086 # So? What about this header? 22747 # So? What about this header?
22087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22088 yes:no: ) 22749 yes:no: )
22089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22750 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22751 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22753 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22093 ac_header_preproc=yes 22754 ac_header_preproc=yes
22094 ;; 22755 ;;
22095 no:yes:* ) 22756 no:yes:* )
22096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22757 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22758 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22760 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22762 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22764 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22766 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22768 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22108 22769
22109 ;; 22770 ;;
22110 esac 22771 esac
22111 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22772 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22773 $as_echo_n "checking for $ac_header... " >&6; }
22113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6 22775 $as_echo_n "(cached) " >&6
22115 else 22776 else
22116 eval "$as_ac_Header=\$ac_header_preproc" 22777 eval "$as_ac_Header=\$ac_header_preproc"
22117 fi 22778 fi
22118 ac_res=`eval echo '${'$as_ac_Header'}'` 22779 ac_res=`eval 'as_val=${'$as_ac_Header'}
22119 { echo "$as_me:$LINENO: result: $ac_res" >&5 22780 $as_echo "$as_val"'`
22120 echo "${ECHO_T}$ac_res" >&6; } 22781 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22121 22782 $as_echo "$ac_res" >&6; }
22122 fi 22783
22123 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22784 fi
22785 if test `eval 'as_val=${'$as_ac_Header'}
22786 $as_echo "$as_val"'` = yes; then
22124 cat >>confdefs.h <<_ACEOF 22787 cat >>confdefs.h <<_ACEOF
22125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22126 _ACEOF 22789 _ACEOF
22127 22790
22128 else 22791 else
22129 22792
22130 for ac_header in kerberosIV/krb.h 22793 for ac_header in kerberosIV/krb.h
22131 do 22794 do
22132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22134 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22797 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22798 $as_echo_n "checking for $ac_header... " >&6; }
22136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6 22800 $as_echo_n "(cached) " >&6
22138 fi 22801 fi
22139 ac_res=`eval echo '${'$as_ac_Header'}'` 22802 ac_res=`eval 'as_val=${'$as_ac_Header'}
22140 { echo "$as_me:$LINENO: result: $ac_res" >&5 22803 $as_echo "$as_val"'`
22141 echo "${ECHO_T}$ac_res" >&6; } 22804 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22805 $as_echo "$ac_res" >&6; }
22142 else 22806 else
22143 # Is the header compilable? 22807 # Is the header compilable?
22144 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22808 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22145 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22809 $as_echo_n "checking $ac_header usability... " >&6; }
22146 cat >conftest.$ac_ext <<_ACEOF 22810 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */ 22811 /* confdefs.h. */
22148 _ACEOF 22812 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext 22813 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF 22814 cat >>conftest.$ac_ext <<_ACEOF
22156 if { (ac_try="$ac_compile" 22820 if { (ac_try="$ac_compile"
22157 case "(($ac_try" in 22821 case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;; 22823 *) ac_try_echo=$ac_try;;
22160 esac 22824 esac
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22826 $as_echo "$ac_try_echo") >&5
22162 (eval "$ac_compile") 2>conftest.er1 22827 (eval "$ac_compile") 2>conftest.er1
22163 ac_status=$? 22828 ac_status=$?
22164 grep -v '^ *+' conftest.er1 >conftest.err 22829 grep -v '^ *+' conftest.er1 >conftest.err
22165 rm -f conftest.er1 22830 rm -f conftest.er1
22166 cat conftest.err >&5 22831 cat conftest.err >&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } && { 22833 (exit $ac_status); } && {
22169 test -z "$ac_c_werror_flag" || 22834 test -z "$ac_c_werror_flag" ||
22170 test ! -s conftest.err 22835 test ! -s conftest.err
22171 } && test -s conftest.$ac_objext; then 22836 } && test -s conftest.$ac_objext; then
22172 ac_header_compiler=yes 22837 ac_header_compiler=yes
22173 else 22838 else
22174 echo "$as_me: failed program was:" >&5 22839 $as_echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.$ac_ext >&5 22840 sed 's/^/| /' conftest.$ac_ext >&5
22176 22841
22177 ac_header_compiler=no 22842 ac_header_compiler=no
22178 fi 22843 fi
22179 22844
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22181 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22846 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22182 echo "${ECHO_T}$ac_header_compiler" >&6; } 22847 $as_echo "$ac_header_compiler" >&6; }
22183 22848
22184 # Is the header present? 22849 # Is the header present?
22185 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22850 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22851 $as_echo_n "checking $ac_header presence... " >&6; }
22187 cat >conftest.$ac_ext <<_ACEOF 22852 cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h. */ 22853 /* confdefs.h. */
22189 _ACEOF 22854 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext 22855 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF 22856 cat >>conftest.$ac_ext <<_ACEOF
22195 if { (ac_try="$ac_cpp conftest.$ac_ext" 22860 if { (ac_try="$ac_cpp conftest.$ac_ext"
22196 case "(($ac_try" in 22861 case "(($ac_try" in
22197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22198 *) ac_try_echo=$ac_try;; 22863 *) ac_try_echo=$ac_try;;
22199 esac 22864 esac
22200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22866 $as_echo "$ac_try_echo") >&5
22201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22202 ac_status=$? 22868 ac_status=$?
22203 grep -v '^ *+' conftest.er1 >conftest.err 22869 grep -v '^ *+' conftest.er1 >conftest.err
22204 rm -f conftest.er1 22870 rm -f conftest.er1
22205 cat conftest.err >&5 22871 cat conftest.err >&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } >/dev/null && { 22873 (exit $ac_status); } >/dev/null && {
22208 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22209 test ! -s conftest.err 22875 test ! -s conftest.err
22210 }; then 22876 }; then
22211 ac_header_preproc=yes 22877 ac_header_preproc=yes
22212 else 22878 else
22213 echo "$as_me: failed program was:" >&5 22879 $as_echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5 22880 sed 's/^/| /' conftest.$ac_ext >&5
22215 22881
22216 ac_header_preproc=no 22882 ac_header_preproc=no
22217 fi 22883 fi
22218 22884
22219 rm -f conftest.err conftest.$ac_ext 22885 rm -f conftest.err conftest.$ac_ext
22220 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22886 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22221 echo "${ECHO_T}$ac_header_preproc" >&6; } 22887 $as_echo "$ac_header_preproc" >&6; }
22222 22888
22223 # So? What about this header? 22889 # So? What about this header?
22224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22225 yes:no: ) 22891 yes:no: )
22226 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22893 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22895 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22230 ac_header_preproc=yes 22896 ac_header_preproc=yes
22231 ;; 22897 ;;
22232 no:yes:* ) 22898 no:yes:* )
22233 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22900 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22235 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22236 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22902 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22237 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22904 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22240 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22906 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22908 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22910 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22245 22911
22246 ;; 22912 ;;
22247 esac 22913 esac
22248 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22914 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22915 $as_echo_n "checking for $ac_header... " >&6; }
22250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6 22917 $as_echo_n "(cached) " >&6
22252 else 22918 else
22253 eval "$as_ac_Header=\$ac_header_preproc" 22919 eval "$as_ac_Header=\$ac_header_preproc"
22254 fi 22920 fi
22255 ac_res=`eval echo '${'$as_ac_Header'}'` 22921 ac_res=`eval 'as_val=${'$as_ac_Header'}
22256 { echo "$as_me:$LINENO: result: $ac_res" >&5 22922 $as_echo "$as_val"'`
22257 echo "${ECHO_T}$ac_res" >&6; } 22923 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22258 22924 $as_echo "$ac_res" >&6; }
22259 fi 22925
22260 if test `eval echo '${'$as_ac_Header'}'` = yes; then 22926 fi
22927 if test `eval 'as_val=${'$as_ac_Header'}
22928 $as_echo "$as_val"'` = yes; then
22261 cat >>confdefs.h <<_ACEOF 22929 cat >>confdefs.h <<_ACEOF
22262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22263 _ACEOF 22931 _ACEOF
22264 22932
22265 else 22933 else
22266 22934
22267 for ac_header in kerberos/krb.h 22935 for ac_header in kerberos/krb.h
22268 do 22936 do
22269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22271 { echo "$as_me:$LINENO: checking for $ac_header" >&5 22939 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 22940 $as_echo_n "checking for $ac_header... " >&6; }
22273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6 22942 $as_echo_n "(cached) " >&6
22275 fi 22943 fi
22276 ac_res=`eval echo '${'$as_ac_Header'}'` 22944 ac_res=`eval 'as_val=${'$as_ac_Header'}
22277 { echo "$as_me:$LINENO: result: $ac_res" >&5 22945 $as_echo "$as_val"'`
22278 echo "${ECHO_T}$ac_res" >&6; } 22946 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22947 $as_echo "$ac_res" >&6; }
22279 else 22948 else
22280 # Is the header compilable? 22949 # Is the header compilable?
22281 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 22950 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 22951 $as_echo_n "checking $ac_header usability... " >&6; }
22283 cat >conftest.$ac_ext <<_ACEOF 22952 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */ 22953 /* confdefs.h. */
22285 _ACEOF 22954 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext 22955 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF 22956 cat >>conftest.$ac_ext <<_ACEOF
22293 if { (ac_try="$ac_compile" 22962 if { (ac_try="$ac_compile"
22294 case "(($ac_try" in 22963 case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;; 22965 *) ac_try_echo=$ac_try;;
22297 esac 22966 esac
22298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22968 $as_echo "$ac_try_echo") >&5
22299 (eval "$ac_compile") 2>conftest.er1 22969 (eval "$ac_compile") 2>conftest.er1
22300 ac_status=$? 22970 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err 22971 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1 22972 rm -f conftest.er1
22303 cat conftest.err >&5 22973 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } && { 22975 (exit $ac_status); } && {
22306 test -z "$ac_c_werror_flag" || 22976 test -z "$ac_c_werror_flag" ||
22307 test ! -s conftest.err 22977 test ! -s conftest.err
22308 } && test -s conftest.$ac_objext; then 22978 } && test -s conftest.$ac_objext; then
22309 ac_header_compiler=yes 22979 ac_header_compiler=yes
22310 else 22980 else
22311 echo "$as_me: failed program was:" >&5 22981 $as_echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5 22982 sed 's/^/| /' conftest.$ac_ext >&5
22313 22983
22314 ac_header_compiler=no 22984 ac_header_compiler=no
22315 fi 22985 fi
22316 22986
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22988 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22319 echo "${ECHO_T}$ac_header_compiler" >&6; } 22989 $as_echo "$ac_header_compiler" >&6; }
22320 22990
22321 # Is the header present? 22991 # Is the header present?
22322 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 22992 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 22993 $as_echo_n "checking $ac_header presence... " >&6; }
22324 cat >conftest.$ac_ext <<_ACEOF 22994 cat >conftest.$ac_ext <<_ACEOF
22325 /* confdefs.h. */ 22995 /* confdefs.h. */
22326 _ACEOF 22996 _ACEOF
22327 cat confdefs.h >>conftest.$ac_ext 22997 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF 22998 cat >>conftest.$ac_ext <<_ACEOF
22332 if { (ac_try="$ac_cpp conftest.$ac_ext" 23002 if { (ac_try="$ac_cpp conftest.$ac_ext"
22333 case "(($ac_try" in 23003 case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;; 23005 *) ac_try_echo=$ac_try;;
22336 esac 23006 esac
22337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23008 $as_echo "$ac_try_echo") >&5
22338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22339 ac_status=$? 23010 ac_status=$?
22340 grep -v '^ *+' conftest.er1 >conftest.err 23011 grep -v '^ *+' conftest.er1 >conftest.err
22341 rm -f conftest.er1 23012 rm -f conftest.er1
22342 cat conftest.err >&5 23013 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } >/dev/null && { 23015 (exit $ac_status); } >/dev/null && {
22345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22346 test ! -s conftest.err 23017 test ! -s conftest.err
22347 }; then 23018 }; then
22348 ac_header_preproc=yes 23019 ac_header_preproc=yes
22349 else 23020 else
22350 echo "$as_me: failed program was:" >&5 23021 $as_echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5 23022 sed 's/^/| /' conftest.$ac_ext >&5
22352 23023
22353 ac_header_preproc=no 23024 ac_header_preproc=no
22354 fi 23025 fi
22355 23026
22356 rm -f conftest.err conftest.$ac_ext 23027 rm -f conftest.err conftest.$ac_ext
22357 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23028 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22358 echo "${ECHO_T}$ac_header_preproc" >&6; } 23029 $as_echo "$ac_header_preproc" >&6; }
22359 23030
22360 # So? What about this header? 23031 # So? What about this header?
22361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22362 yes:no: ) 23033 yes:no: )
22363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23035 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22367 ac_header_preproc=yes 23038 ac_header_preproc=yes
22368 ;; 23039 ;;
22369 no:yes:* ) 23040 no:yes:* )
22370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23042 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23044 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23046 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23048 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23050 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23052 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22382 23053
22383 ;; 23054 ;;
22384 esac 23055 esac
22385 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23056 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23057 $as_echo_n "checking for $ac_header... " >&6; }
22387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22388 echo $ECHO_N "(cached) $ECHO_C" >&6 23059 $as_echo_n "(cached) " >&6
22389 else 23060 else
22390 eval "$as_ac_Header=\$ac_header_preproc" 23061 eval "$as_ac_Header=\$ac_header_preproc"
22391 fi 23062 fi
22392 ac_res=`eval echo '${'$as_ac_Header'}'` 23063 ac_res=`eval 'as_val=${'$as_ac_Header'}
22393 { echo "$as_me:$LINENO: result: $ac_res" >&5 23064 $as_echo "$as_val"'`
22394 echo "${ECHO_T}$ac_res" >&6; } 23065 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22395 23066 $as_echo "$ac_res" >&6; }
22396 fi 23067
22397 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23068 fi
23069 if test `eval 'as_val=${'$as_ac_Header'}
23070 $as_echo "$as_val"'` = yes; then
22398 cat >>confdefs.h <<_ACEOF 23071 cat >>confdefs.h <<_ACEOF
22399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22400 _ACEOF 23073 _ACEOF
22401 23074
22402 fi 23075 fi
22403 23076
22404 done 23077 done
22413 23086
22414 fi 23087 fi
22415 23088
22416 for ac_header in com_err.h 23089 for ac_header in com_err.h
22417 do 23090 do
22418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23092 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22420 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23093 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23094 $as_echo_n "checking for $ac_header... " >&6; }
22422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6 23096 $as_echo_n "(cached) " >&6
22424 fi 23097 fi
22425 ac_res=`eval echo '${'$as_ac_Header'}'` 23098 ac_res=`eval 'as_val=${'$as_ac_Header'}
22426 { echo "$as_me:$LINENO: result: $ac_res" >&5 23099 $as_echo "$as_val"'`
22427 echo "${ECHO_T}$ac_res" >&6; } 23100 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23101 $as_echo "$ac_res" >&6; }
22428 else 23102 else
22429 # Is the header compilable? 23103 # Is the header compilable?
22430 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23104 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
22431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23105 $as_echo_n "checking $ac_header usability... " >&6; }
22432 cat >conftest.$ac_ext <<_ACEOF 23106 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */ 23107 /* confdefs.h. */
22434 _ACEOF 23108 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext 23109 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF 23110 cat >>conftest.$ac_ext <<_ACEOF
22442 if { (ac_try="$ac_compile" 23116 if { (ac_try="$ac_compile"
22443 case "(($ac_try" in 23117 case "(($ac_try" in
22444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445 *) ac_try_echo=$ac_try;; 23119 *) ac_try_echo=$ac_try;;
22446 esac 23120 esac
22447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23122 $as_echo "$ac_try_echo") >&5
22448 (eval "$ac_compile") 2>conftest.er1 23123 (eval "$ac_compile") 2>conftest.er1
22449 ac_status=$? 23124 ac_status=$?
22450 grep -v '^ *+' conftest.er1 >conftest.err 23125 grep -v '^ *+' conftest.er1 >conftest.err
22451 rm -f conftest.er1 23126 rm -f conftest.er1
22452 cat conftest.err >&5 23127 cat conftest.err >&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } && { 23129 (exit $ac_status); } && {
22455 test -z "$ac_c_werror_flag" || 23130 test -z "$ac_c_werror_flag" ||
22456 test ! -s conftest.err 23131 test ! -s conftest.err
22457 } && test -s conftest.$ac_objext; then 23132 } && test -s conftest.$ac_objext; then
22458 ac_header_compiler=yes 23133 ac_header_compiler=yes
22459 else 23134 else
22460 echo "$as_me: failed program was:" >&5 23135 $as_echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.$ac_ext >&5 23136 sed 's/^/| /' conftest.$ac_ext >&5
22462 23137
22463 ac_header_compiler=no 23138 ac_header_compiler=no
22464 fi 23139 fi
22465 23140
22466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23142 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22468 echo "${ECHO_T}$ac_header_compiler" >&6; } 23143 $as_echo "$ac_header_compiler" >&6; }
22469 23144
22470 # Is the header present? 23145 # Is the header present?
22471 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 23146 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
22472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 23147 $as_echo_n "checking $ac_header presence... " >&6; }
22473 cat >conftest.$ac_ext <<_ACEOF 23148 cat >conftest.$ac_ext <<_ACEOF
22474 /* confdefs.h. */ 23149 /* confdefs.h. */
22475 _ACEOF 23150 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext 23151 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF 23152 cat >>conftest.$ac_ext <<_ACEOF
22481 if { (ac_try="$ac_cpp conftest.$ac_ext" 23156 if { (ac_try="$ac_cpp conftest.$ac_ext"
22482 case "(($ac_try" in 23157 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;; 23159 *) ac_try_echo=$ac_try;;
22485 esac 23160 esac
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23162 $as_echo "$ac_try_echo") >&5
22487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22488 ac_status=$? 23164 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err 23165 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1 23166 rm -f conftest.er1
22491 cat conftest.err >&5 23167 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } >/dev/null && { 23169 (exit $ac_status); } >/dev/null && {
22494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22495 test ! -s conftest.err 23171 test ! -s conftest.err
22496 }; then 23172 }; then
22497 ac_header_preproc=yes 23173 ac_header_preproc=yes
22498 else 23174 else
22499 echo "$as_me: failed program was:" >&5 23175 $as_echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5 23176 sed 's/^/| /' conftest.$ac_ext >&5
22501 23177
22502 ac_header_preproc=no 23178 ac_header_preproc=no
22503 fi 23179 fi
22504 23180
22505 rm -f conftest.err conftest.$ac_ext 23181 rm -f conftest.err conftest.$ac_ext
22506 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23182 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22507 echo "${ECHO_T}$ac_header_preproc" >&6; } 23183 $as_echo "$ac_header_preproc" >&6; }
22508 23184
22509 # So? What about this header? 23185 # So? What about this header?
22510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22511 yes:no: ) 23187 yes:no: )
22512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23189 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23191 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22516 ac_header_preproc=yes 23192 ac_header_preproc=yes
22517 ;; 23193 ;;
22518 no:yes:* ) 23194 no:yes:* )
22519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23196 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23198 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23200 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23202 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23204 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23206 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22531 23207
22532 ;; 23208 ;;
22533 esac 23209 esac
22534 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23210 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
22535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23211 $as_echo_n "checking for $ac_header... " >&6; }
22536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6 23213 $as_echo_n "(cached) " >&6
22538 else 23214 else
22539 eval "$as_ac_Header=\$ac_header_preproc" 23215 eval "$as_ac_Header=\$ac_header_preproc"
22540 fi 23216 fi
22541 ac_res=`eval echo '${'$as_ac_Header'}'` 23217 ac_res=`eval 'as_val=${'$as_ac_Header'}
22542 { echo "$as_me:$LINENO: result: $ac_res" >&5 23218 $as_echo "$as_val"'`
22543 echo "${ECHO_T}$ac_res" >&6; } 23219 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22544 23220 $as_echo "$ac_res" >&6; }
22545 fi 23221
22546 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23222 fi
23223 if test `eval 'as_val=${'$as_ac_Header'}
23224 $as_echo "$as_val"'` = yes; then
22547 cat >>confdefs.h <<_ACEOF 23225 cat >>confdefs.h <<_ACEOF
22548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22549 _ACEOF 23227 _ACEOF
22550 23228
22551 fi 23229 fi
22552 23230
22553 done 23231 done
22555 fi 23233 fi
22556 23234
22557 # Solaris requires -lintl if you want strerror (which calls dgettext) 23235 # Solaris requires -lintl if you want strerror (which calls dgettext)
22558 # to return localized messages. 23236 # to return localized messages.
22559 23237
22560 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 23238 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22561 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } 23239 $as_echo_n "checking for dgettext in -lintl... " >&6; }
22562 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 23240 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22563 echo $ECHO_N "(cached) $ECHO_C" >&6 23241 $as_echo_n "(cached) " >&6
22564 else 23242 else
22565 ac_check_lib_save_LIBS=$LIBS 23243 ac_check_lib_save_LIBS=$LIBS
22566 LIBS="-lintl $LIBS" 23244 LIBS="-lintl $LIBS"
22567 cat >conftest.$ac_ext <<_ACEOF 23245 cat >conftest.$ac_ext <<_ACEOF
22568 /* confdefs.h. */ 23246 /* confdefs.h. */
22590 if { (ac_try="$ac_link" 23268 if { (ac_try="$ac_link"
22591 case "(($ac_try" in 23269 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;; 23271 *) ac_try_echo=$ac_try;;
22594 esac 23272 esac
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23274 $as_echo "$ac_try_echo") >&5
22596 (eval "$ac_link") 2>conftest.er1 23275 (eval "$ac_link") 2>conftest.er1
22597 ac_status=$? 23276 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err 23277 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1 23278 rm -f conftest.er1
22600 cat conftest.err >&5 23279 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && { 23281 (exit $ac_status); } && {
22603 test -z "$ac_c_werror_flag" || 23282 test -z "$ac_c_werror_flag" ||
22604 test ! -s conftest.err 23283 test ! -s conftest.err
22605 } && test -s conftest$ac_exeext && 23284 } && test -s conftest$ac_exeext && {
22606 $as_test_x conftest$ac_exeext; then 23285 test "$cross_compiling" = yes ||
23286 $as_test_x conftest$ac_exeext
23287 }; then
22607 ac_cv_lib_intl_dgettext=yes 23288 ac_cv_lib_intl_dgettext=yes
22608 else 23289 else
22609 echo "$as_me: failed program was:" >&5 23290 $as_echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5 23291 sed 's/^/| /' conftest.$ac_ext >&5
22611 23292
22612 ac_cv_lib_intl_dgettext=no 23293 ac_cv_lib_intl_dgettext=no
22613 fi 23294 fi
22614 23295
23296 rm -rf conftest.dSYM
22615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22616 conftest$ac_exeext conftest.$ac_ext 23298 conftest$ac_exeext conftest.$ac_ext
22617 LIBS=$ac_check_lib_save_LIBS 23299 LIBS=$ac_check_lib_save_LIBS
22618 fi 23300 fi
22619 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 23301 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22620 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } 23302 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
22621 if test $ac_cv_lib_intl_dgettext = yes; then 23303 if test $ac_cv_lib_intl_dgettext = yes; then
22622 cat >>confdefs.h <<_ACEOF 23304 cat >>confdefs.h <<_ACEOF
22623 #define HAVE_LIBINTL 1 23305 #define HAVE_LIBINTL 1
22624 _ACEOF 23306 _ACEOF
22625 23307
22626 LIBS="-lintl $LIBS" 23308 LIBS="-lintl $LIBS"
22627 23309
22628 fi 23310 fi
22629 23311
22630 23312
22631 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 23313 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
22632 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; } 23314 $as_echo_n "checking whether localtime caches TZ... " >&6; }
22633 if test "${emacs_cv_localtime_cache+set}" = set; then 23315 if test "${emacs_cv_localtime_cache+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6 23316 $as_echo_n "(cached) " >&6
22635 else 23317 else
22636 if test x$ac_cv_func_tzset = xyes; then 23318 if test x$ac_cv_func_tzset = xyes; then
22637 if test "$cross_compiling" = yes; then 23319 if test "$cross_compiling" = yes; then
22638 # If we have tzset, assume the worst when cross-compiling. 23320 # If we have tzset, assume the worst when cross-compiling.
22639 emacs_cv_localtime_cache=yes 23321 emacs_cv_localtime_cache=yes
22678 if { (ac_try="$ac_link" 23360 if { (ac_try="$ac_link"
22679 case "(($ac_try" in 23361 case "(($ac_try" in
22680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22681 *) ac_try_echo=$ac_try;; 23363 *) ac_try_echo=$ac_try;;
22682 esac 23364 esac
22683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23366 $as_echo "$ac_try_echo") >&5
22684 (eval "$ac_link") 2>&5 23367 (eval "$ac_link") 2>&5
22685 ac_status=$? 23368 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22688 { (case "(($ac_try" in 23371 { (case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;; 23373 *) ac_try_echo=$ac_try;;
22691 esac 23374 esac
22692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23376 $as_echo "$ac_try_echo") >&5
22693 (eval "$ac_try") 2>&5 23377 (eval "$ac_try") 2>&5
22694 ac_status=$? 23378 ac_status=$?
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; }; then 23380 (exit $ac_status); }; }; then
22697 emacs_cv_localtime_cache=no 23381 emacs_cv_localtime_cache=no
22698 else 23382 else
22699 echo "$as_me: program exited with status $ac_status" >&5 23383 $as_echo "$as_me: program exited with status $ac_status" >&5
22700 echo "$as_me: failed program was:" >&5 23384 $as_echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5 23385 sed 's/^/| /' conftest.$ac_ext >&5
22702 23386
22703 ( exit $ac_status ) 23387 ( exit $ac_status )
22704 emacs_cv_localtime_cache=yes 23388 emacs_cv_localtime_cache=yes
22705 fi 23389 fi
23390 rm -rf conftest.dSYM
22706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22707 fi 23392 fi
22708 23393
22709 23394
22710 else 23395 else
22711 # If we lack tzset, report that localtime does not cache TZ, 23396 # If we lack tzset, report that localtime does not cache TZ,
22712 # since we can't invalidate the cache if we don't have tzset. 23397 # since we can't invalidate the cache if we don't have tzset.
22713 emacs_cv_localtime_cache=no 23398 emacs_cv_localtime_cache=no
22714 fi 23399 fi
22715 fi 23400 fi
22716 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 23401 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
22717 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; } 23402 $as_echo "$emacs_cv_localtime_cache" >&6; }
22718 if test $emacs_cv_localtime_cache = yes; then 23403 if test $emacs_cv_localtime_cache = yes; then
22719 23404
22720 cat >>confdefs.h <<\_ACEOF 23405 cat >>confdefs.h <<\_ACEOF
22721 #define LOCALTIME_CACHE 1 23406 #define LOCALTIME_CACHE 1
22722 _ACEOF 23407 _ACEOF
22725 23410
22726 if test "x$HAVE_TIMEVAL" = xyes; then 23411 if test "x$HAVE_TIMEVAL" = xyes; then
22727 23412
22728 for ac_func in gettimeofday 23413 for ac_func in gettimeofday
22729 do 23414 do
22730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 23415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22731 { echo "$as_me:$LINENO: checking for $ac_func" >&5 23416 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 23417 $as_echo_n "checking for $ac_func... " >&6; }
22733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 23418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6 23419 $as_echo_n "(cached) " >&6
22735 else 23420 else
22736 cat >conftest.$ac_ext <<_ACEOF 23421 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */ 23422 /* confdefs.h. */
22738 _ACEOF 23423 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext 23424 cat confdefs.h >>conftest.$ac_ext
22782 if { (ac_try="$ac_link" 23467 if { (ac_try="$ac_link"
22783 case "(($ac_try" in 23468 case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;; 23470 *) ac_try_echo=$ac_try;;
22786 esac 23471 esac
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23473 $as_echo "$ac_try_echo") >&5
22788 (eval "$ac_link") 2>conftest.er1 23474 (eval "$ac_link") 2>conftest.er1
22789 ac_status=$? 23475 ac_status=$?
22790 grep -v '^ *+' conftest.er1 >conftest.err 23476 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1 23477 rm -f conftest.er1
22792 cat conftest.err >&5 23478 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } && { 23480 (exit $ac_status); } && {
22795 test -z "$ac_c_werror_flag" || 23481 test -z "$ac_c_werror_flag" ||
22796 test ! -s conftest.err 23482 test ! -s conftest.err
22797 } && test -s conftest$ac_exeext && 23483 } && test -s conftest$ac_exeext && {
22798 $as_test_x conftest$ac_exeext; then 23484 test "$cross_compiling" = yes ||
23485 $as_test_x conftest$ac_exeext
23486 }; then
22799 eval "$as_ac_var=yes" 23487 eval "$as_ac_var=yes"
22800 else 23488 else
22801 echo "$as_me: failed program was:" >&5 23489 $as_echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.$ac_ext >&5 23490 sed 's/^/| /' conftest.$ac_ext >&5
22803 23491
22804 eval "$as_ac_var=no" 23492 eval "$as_ac_var=no"
22805 fi 23493 fi
22806 23494
23495 rm -rf conftest.dSYM
22807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22808 conftest$ac_exeext conftest.$ac_ext 23497 conftest$ac_exeext conftest.$ac_ext
22809 fi 23498 fi
22810 ac_res=`eval echo '${'$as_ac_var'}'` 23499 ac_res=`eval 'as_val=${'$as_ac_var'}
22811 { echo "$as_me:$LINENO: result: $ac_res" >&5 23500 $as_echo "$as_val"'`
22812 echo "${ECHO_T}$ac_res" >&6; } 23501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22813 if test `eval echo '${'$as_ac_var'}'` = yes; then 23502 $as_echo "$ac_res" >&6; }
23503 if test `eval 'as_val=${'$as_ac_var'}
23504 $as_echo "$as_val"'` = yes; then
22814 cat >>confdefs.h <<_ACEOF 23505 cat >>confdefs.h <<_ACEOF
22815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 23506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22816 _ACEOF 23507 _ACEOF
22817 23508
22818 fi 23509 fi
22819 done 23510 done
22820 23511
22821 if test $ac_cv_func_gettimeofday = yes; then 23512 if test $ac_cv_func_gettimeofday = yes; then
22822 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 23513 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
22823 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; } 23514 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; }
22824 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 23515 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6 23516 $as_echo_n "(cached) " >&6
22826 else 23517 else
22827 cat >conftest.$ac_ext <<_ACEOF 23518 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */ 23519 /* confdefs.h. */
22829 _ACEOF 23520 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext 23521 cat confdefs.h >>conftest.$ac_ext
22854 if { (ac_try="$ac_compile" 23545 if { (ac_try="$ac_compile"
22855 case "(($ac_try" in 23546 case "(($ac_try" in
22856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22857 *) ac_try_echo=$ac_try;; 23548 *) ac_try_echo=$ac_try;;
22858 esac 23549 esac
22859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23551 $as_echo "$ac_try_echo") >&5
22860 (eval "$ac_compile") 2>conftest.er1 23552 (eval "$ac_compile") 2>conftest.er1
22861 ac_status=$? 23553 ac_status=$?
22862 grep -v '^ *+' conftest.er1 >conftest.err 23554 grep -v '^ *+' conftest.er1 >conftest.err
22863 rm -f conftest.er1 23555 rm -f conftest.er1
22864 cat conftest.err >&5 23556 cat conftest.err >&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } && { 23558 (exit $ac_status); } && {
22867 test -z "$ac_c_werror_flag" || 23559 test -z "$ac_c_werror_flag" ||
22868 test ! -s conftest.err 23560 test ! -s conftest.err
22869 } && test -s conftest.$ac_objext; then 23561 } && test -s conftest.$ac_objext; then
22870 emacs_cv_gettimeofday_two_arguments=yes 23562 emacs_cv_gettimeofday_two_arguments=yes
22871 else 23563 else
22872 echo "$as_me: failed program was:" >&5 23564 $as_echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.$ac_ext >&5 23565 sed 's/^/| /' conftest.$ac_ext >&5
22874 23566
22875 emacs_cv_gettimeofday_two_arguments=no 23567 emacs_cv_gettimeofday_two_arguments=no
22876 fi 23568 fi
22877 23569
22878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22879 fi 23571 fi
22880 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 23572 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
22881 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; } 23573 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; }
22882 if test $emacs_cv_gettimeofday_two_arguments = no; then 23574 if test $emacs_cv_gettimeofday_two_arguments = no; then
22883 23575
22884 cat >>confdefs.h <<\_ACEOF 23576 cat >>confdefs.h <<\_ACEOF
22885 #define GETTIMEOFDAY_ONE_ARGUMENT 1 23577 #define GETTIMEOFDAY_ONE_ARGUMENT 1
22886 _ACEOF 23578 _ACEOF
22888 fi 23580 fi
22889 fi 23581 fi
22890 fi 23582 fi
22891 23583
22892 ok_so_far=yes 23584 ok_so_far=yes
22893 { echo "$as_me:$LINENO: checking for socket" >&5 23585 { $as_echo "$as_me:$LINENO: checking for socket" >&5
22894 echo $ECHO_N "checking for socket... $ECHO_C" >&6; } 23586 $as_echo_n "checking for socket... " >&6; }
22895 if test "${ac_cv_func_socket+set}" = set; then 23587 if test "${ac_cv_func_socket+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6 23588 $as_echo_n "(cached) " >&6
22897 else 23589 else
22898 cat >conftest.$ac_ext <<_ACEOF 23590 cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h. */ 23591 /* confdefs.h. */
22900 _ACEOF 23592 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext 23593 cat confdefs.h >>conftest.$ac_ext
22944 if { (ac_try="$ac_link" 23636 if { (ac_try="$ac_link"
22945 case "(($ac_try" in 23637 case "(($ac_try" in
22946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22947 *) ac_try_echo=$ac_try;; 23639 *) ac_try_echo=$ac_try;;
22948 esac 23640 esac
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23642 $as_echo "$ac_try_echo") >&5
22950 (eval "$ac_link") 2>conftest.er1 23643 (eval "$ac_link") 2>conftest.er1
22951 ac_status=$? 23644 ac_status=$?
22952 grep -v '^ *+' conftest.er1 >conftest.err 23645 grep -v '^ *+' conftest.er1 >conftest.err
22953 rm -f conftest.er1 23646 rm -f conftest.er1
22954 cat conftest.err >&5 23647 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } && { 23649 (exit $ac_status); } && {
22957 test -z "$ac_c_werror_flag" || 23650 test -z "$ac_c_werror_flag" ||
22958 test ! -s conftest.err 23651 test ! -s conftest.err
22959 } && test -s conftest$ac_exeext && 23652 } && test -s conftest$ac_exeext && {
22960 $as_test_x conftest$ac_exeext; then 23653 test "$cross_compiling" = yes ||
23654 $as_test_x conftest$ac_exeext
23655 }; then
22961 ac_cv_func_socket=yes 23656 ac_cv_func_socket=yes
22962 else 23657 else
22963 echo "$as_me: failed program was:" >&5 23658 $as_echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5 23659 sed 's/^/| /' conftest.$ac_ext >&5
22965 23660
22966 ac_cv_func_socket=no 23661 ac_cv_func_socket=no
22967 fi 23662 fi
22968 23663
23664 rm -rf conftest.dSYM
22969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22970 conftest$ac_exeext conftest.$ac_ext 23666 conftest$ac_exeext conftest.$ac_ext
22971 fi 23667 fi
22972 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 23668 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
22973 echo "${ECHO_T}$ac_cv_func_socket" >&6; } 23669 $as_echo "$ac_cv_func_socket" >&6; }
22974 if test $ac_cv_func_socket = yes; then 23670 if test $ac_cv_func_socket = yes; then
22975 : 23671 :
22976 else 23672 else
22977 ok_so_far=no 23673 ok_so_far=no
22978 fi 23674 fi
22979 23675
22980 if test $ok_so_far = yes; then 23676 if test $ok_so_far = yes; then
22981 if test "${ac_cv_header_netinet_in_h+set}" = set; then 23677 if test "${ac_cv_header_netinet_in_h+set}" = set; then
22982 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 23678 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
22983 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 23679 $as_echo_n "checking for netinet/in.h... " >&6; }
22984 if test "${ac_cv_header_netinet_in_h+set}" = set; then 23680 if test "${ac_cv_header_netinet_in_h+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6 23681 $as_echo_n "(cached) " >&6
22986 fi 23682 fi
22987 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 23683 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
22988 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 23684 $as_echo "$ac_cv_header_netinet_in_h" >&6; }
22989 else 23685 else
22990 # Is the header compilable? 23686 # Is the header compilable?
22991 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 23687 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
22992 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 23688 $as_echo_n "checking netinet/in.h usability... " >&6; }
22993 cat >conftest.$ac_ext <<_ACEOF 23689 cat >conftest.$ac_ext <<_ACEOF
22994 /* confdefs.h. */ 23690 /* confdefs.h. */
22995 _ACEOF 23691 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext 23692 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF 23693 cat >>conftest.$ac_ext <<_ACEOF
23003 if { (ac_try="$ac_compile" 23699 if { (ac_try="$ac_compile"
23004 case "(($ac_try" in 23700 case "(($ac_try" in
23005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23006 *) ac_try_echo=$ac_try;; 23702 *) ac_try_echo=$ac_try;;
23007 esac 23703 esac
23008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23705 $as_echo "$ac_try_echo") >&5
23009 (eval "$ac_compile") 2>conftest.er1 23706 (eval "$ac_compile") 2>conftest.er1
23010 ac_status=$? 23707 ac_status=$?
23011 grep -v '^ *+' conftest.er1 >conftest.err 23708 grep -v '^ *+' conftest.er1 >conftest.err
23012 rm -f conftest.er1 23709 rm -f conftest.er1
23013 cat conftest.err >&5 23710 cat conftest.err >&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); } && { 23712 (exit $ac_status); } && {
23016 test -z "$ac_c_werror_flag" || 23713 test -z "$ac_c_werror_flag" ||
23017 test ! -s conftest.err 23714 test ! -s conftest.err
23018 } && test -s conftest.$ac_objext; then 23715 } && test -s conftest.$ac_objext; then
23019 ac_header_compiler=yes 23716 ac_header_compiler=yes
23020 else 23717 else
23021 echo "$as_me: failed program was:" >&5 23718 $as_echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.$ac_ext >&5 23719 sed 's/^/| /' conftest.$ac_ext >&5
23023 23720
23024 ac_header_compiler=no 23721 ac_header_compiler=no
23025 fi 23722 fi
23026 23723
23027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23028 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23725 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23029 echo "${ECHO_T}$ac_header_compiler" >&6; } 23726 $as_echo "$ac_header_compiler" >&6; }
23030 23727
23031 # Is the header present? 23728 # Is the header present?
23032 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 23729 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
23033 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 23730 $as_echo_n "checking netinet/in.h presence... " >&6; }
23034 cat >conftest.$ac_ext <<_ACEOF 23731 cat >conftest.$ac_ext <<_ACEOF
23035 /* confdefs.h. */ 23732 /* confdefs.h. */
23036 _ACEOF 23733 _ACEOF
23037 cat confdefs.h >>conftest.$ac_ext 23734 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF 23735 cat >>conftest.$ac_ext <<_ACEOF
23042 if { (ac_try="$ac_cpp conftest.$ac_ext" 23739 if { (ac_try="$ac_cpp conftest.$ac_ext"
23043 case "(($ac_try" in 23740 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;; 23742 *) ac_try_echo=$ac_try;;
23046 esac 23743 esac
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23745 $as_echo "$ac_try_echo") >&5
23048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23049 ac_status=$? 23747 ac_status=$?
23050 grep -v '^ *+' conftest.er1 >conftest.err 23748 grep -v '^ *+' conftest.er1 >conftest.err
23051 rm -f conftest.er1 23749 rm -f conftest.er1
23052 cat conftest.err >&5 23750 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } >/dev/null && { 23752 (exit $ac_status); } >/dev/null && {
23055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23056 test ! -s conftest.err 23754 test ! -s conftest.err
23057 }; then 23755 }; then
23058 ac_header_preproc=yes 23756 ac_header_preproc=yes
23059 else 23757 else
23060 echo "$as_me: failed program was:" >&5 23758 $as_echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5 23759 sed 's/^/| /' conftest.$ac_ext >&5
23062 23760
23063 ac_header_preproc=no 23761 ac_header_preproc=no
23064 fi 23762 fi
23065 23763
23066 rm -f conftest.err conftest.$ac_ext 23764 rm -f conftest.err conftest.$ac_ext
23067 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23765 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23068 echo "${ECHO_T}$ac_header_preproc" >&6; } 23766 $as_echo "$ac_header_preproc" >&6; }
23069 23767
23070 # So? What about this header? 23768 # So? What about this header?
23071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23072 yes:no: ) 23770 yes:no: )
23073 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 23771 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
23074 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 23772 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23075 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 23773 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
23076 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 23774 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
23077 ac_header_preproc=yes 23775 ac_header_preproc=yes
23078 ;; 23776 ;;
23079 no:yes:* ) 23777 no:yes:* )
23080 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 23778 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
23081 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 23779 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
23082 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 23780 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
23083 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 23781 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
23084 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 23782 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
23085 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 23783 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
23086 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 23784 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
23087 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 23785 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
23088 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 23786 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
23089 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 23787 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
23090 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 23788 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
23091 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 23789 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
23092 23790
23093 ;; 23791 ;;
23094 esac 23792 esac
23095 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 23793 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5
23096 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 23794 $as_echo_n "checking for netinet/in.h... " >&6; }
23097 if test "${ac_cv_header_netinet_in_h+set}" = set; then 23795 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6 23796 $as_echo_n "(cached) " >&6
23099 else 23797 else
23100 ac_cv_header_netinet_in_h=$ac_header_preproc 23798 ac_cv_header_netinet_in_h=$ac_header_preproc
23101 fi 23799 fi
23102 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 23800 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
23103 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 23801 $as_echo "$ac_cv_header_netinet_in_h" >&6; }
23104 23802
23105 fi 23803 fi
23106 if test $ac_cv_header_netinet_in_h = yes; then 23804 if test $ac_cv_header_netinet_in_h = yes; then
23107 : 23805 :
23108 else 23806 else
23111 23809
23112 23810
23113 fi 23811 fi
23114 if test $ok_so_far = yes; then 23812 if test $ok_so_far = yes; then
23115 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23813 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23116 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 23814 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23117 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 23815 $as_echo_n "checking for arpa/inet.h... " >&6; }
23118 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23816 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23119 echo $ECHO_N "(cached) $ECHO_C" >&6 23817 $as_echo_n "(cached) " >&6
23120 fi 23818 fi
23121 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 23819 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23122 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 23820 $as_echo "$ac_cv_header_arpa_inet_h" >&6; }
23123 else 23821 else
23124 # Is the header compilable? 23822 # Is the header compilable?
23125 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 23823 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
23126 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 23824 $as_echo_n "checking arpa/inet.h usability... " >&6; }
23127 cat >conftest.$ac_ext <<_ACEOF 23825 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */ 23826 /* confdefs.h. */
23129 _ACEOF 23827 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext 23828 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF 23829 cat >>conftest.$ac_ext <<_ACEOF
23137 if { (ac_try="$ac_compile" 23835 if { (ac_try="$ac_compile"
23138 case "(($ac_try" in 23836 case "(($ac_try" in
23139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23140 *) ac_try_echo=$ac_try;; 23838 *) ac_try_echo=$ac_try;;
23141 esac 23839 esac
23142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23841 $as_echo "$ac_try_echo") >&5
23143 (eval "$ac_compile") 2>conftest.er1 23842 (eval "$ac_compile") 2>conftest.er1
23144 ac_status=$? 23843 ac_status=$?
23145 grep -v '^ *+' conftest.er1 >conftest.err 23844 grep -v '^ *+' conftest.er1 >conftest.err
23146 rm -f conftest.er1 23845 rm -f conftest.er1
23147 cat conftest.err >&5 23846 cat conftest.err >&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); } && { 23848 (exit $ac_status); } && {
23150 test -z "$ac_c_werror_flag" || 23849 test -z "$ac_c_werror_flag" ||
23151 test ! -s conftest.err 23850 test ! -s conftest.err
23152 } && test -s conftest.$ac_objext; then 23851 } && test -s conftest.$ac_objext; then
23153 ac_header_compiler=yes 23852 ac_header_compiler=yes
23154 else 23853 else
23155 echo "$as_me: failed program was:" >&5 23854 $as_echo "$as_me: failed program was:" >&5
23156 sed 's/^/| /' conftest.$ac_ext >&5 23855 sed 's/^/| /' conftest.$ac_ext >&5
23157 23856
23158 ac_header_compiler=no 23857 ac_header_compiler=no
23159 fi 23858 fi
23160 23859
23161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23162 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23861 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23163 echo "${ECHO_T}$ac_header_compiler" >&6; } 23862 $as_echo "$ac_header_compiler" >&6; }
23164 23863
23165 # Is the header present? 23864 # Is the header present?
23166 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 23865 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
23167 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 23866 $as_echo_n "checking arpa/inet.h presence... " >&6; }
23168 cat >conftest.$ac_ext <<_ACEOF 23867 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */ 23868 /* confdefs.h. */
23170 _ACEOF 23869 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext 23870 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF 23871 cat >>conftest.$ac_ext <<_ACEOF
23176 if { (ac_try="$ac_cpp conftest.$ac_ext" 23875 if { (ac_try="$ac_cpp conftest.$ac_ext"
23177 case "(($ac_try" in 23876 case "(($ac_try" in
23178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;; 23878 *) ac_try_echo=$ac_try;;
23180 esac 23879 esac
23181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23881 $as_echo "$ac_try_echo") >&5
23182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23183 ac_status=$? 23883 ac_status=$?
23184 grep -v '^ *+' conftest.er1 >conftest.err 23884 grep -v '^ *+' conftest.er1 >conftest.err
23185 rm -f conftest.er1 23885 rm -f conftest.er1
23186 cat conftest.err >&5 23886 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } >/dev/null && { 23888 (exit $ac_status); } >/dev/null && {
23189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23190 test ! -s conftest.err 23890 test ! -s conftest.err
23191 }; then 23891 }; then
23192 ac_header_preproc=yes 23892 ac_header_preproc=yes
23193 else 23893 else
23194 echo "$as_me: failed program was:" >&5 23894 $as_echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5 23895 sed 's/^/| /' conftest.$ac_ext >&5
23196 23896
23197 ac_header_preproc=no 23897 ac_header_preproc=no
23198 fi 23898 fi
23199 23899
23200 rm -f conftest.err conftest.$ac_ext 23900 rm -f conftest.err conftest.$ac_ext
23201 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23901 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23202 echo "${ECHO_T}$ac_header_preproc" >&6; } 23902 $as_echo "$ac_header_preproc" >&6; }
23203 23903
23204 # So? What about this header? 23904 # So? What about this header?
23205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23206 yes:no: ) 23906 yes:no: )
23207 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 23907 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
23208 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 23908 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23209 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 23909 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
23210 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 23910 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
23211 ac_header_preproc=yes 23911 ac_header_preproc=yes
23212 ;; 23912 ;;
23213 no:yes:* ) 23913 no:yes:* )
23214 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 23914 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
23215 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 23915 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
23216 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 23916 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
23217 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 23917 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
23218 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 23918 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
23219 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 23919 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
23220 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 23920 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
23221 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 23921 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
23222 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 23922 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
23223 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 23923 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
23224 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 23924 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
23225 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 23925 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
23226 23926
23227 ;; 23927 ;;
23228 esac 23928 esac
23229 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 23929 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23230 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 23930 $as_echo_n "checking for arpa/inet.h... " >&6; }
23231 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23931 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6 23932 $as_echo_n "(cached) " >&6
23233 else 23933 else
23234 ac_cv_header_arpa_inet_h=$ac_header_preproc 23934 ac_cv_header_arpa_inet_h=$ac_header_preproc
23235 fi 23935 fi
23236 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 23936 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23237 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 23937 $as_echo "$ac_cv_header_arpa_inet_h" >&6; }
23238 23938
23239 fi 23939 fi
23240 if test $ac_cv_header_arpa_inet_h = yes; then 23940 if test $ac_cv_header_arpa_inet_h = yes; then
23241 : 23941 :
23242 else 23942 else
23254 fi 23954 fi
23255 23955
23256 23956
23257 for ac_header in sys/ioctl.h 23957 for ac_header in sys/ioctl.h
23258 do 23958 do
23259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23261 { echo "$as_me:$LINENO: checking for $ac_header" >&5 23961 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 23962 $as_echo_n "checking for $ac_header... " >&6; }
23263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6 23964 $as_echo_n "(cached) " >&6
23265 fi 23965 fi
23266 ac_res=`eval echo '${'$as_ac_Header'}'` 23966 ac_res=`eval 'as_val=${'$as_ac_Header'}
23267 { echo "$as_me:$LINENO: result: $ac_res" >&5 23967 $as_echo "$as_val"'`
23268 echo "${ECHO_T}$ac_res" >&6; } 23968 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23969 $as_echo "$ac_res" >&6; }
23269 else 23970 else
23270 # Is the header compilable? 23971 # Is the header compilable?
23271 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 23972 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 23973 $as_echo_n "checking $ac_header usability... " >&6; }
23273 cat >conftest.$ac_ext <<_ACEOF 23974 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */ 23975 /* confdefs.h. */
23275 _ACEOF 23976 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext 23977 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF 23978 cat >>conftest.$ac_ext <<_ACEOF
23283 if { (ac_try="$ac_compile" 23984 if { (ac_try="$ac_compile"
23284 case "(($ac_try" in 23985 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;; 23987 *) ac_try_echo=$ac_try;;
23287 esac 23988 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23990 $as_echo "$ac_try_echo") >&5
23289 (eval "$ac_compile") 2>conftest.er1 23991 (eval "$ac_compile") 2>conftest.er1
23290 ac_status=$? 23992 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err 23993 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1 23994 rm -f conftest.er1
23293 cat conftest.err >&5 23995 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && { 23997 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" || 23998 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err 23999 test ! -s conftest.err
23298 } && test -s conftest.$ac_objext; then 24000 } && test -s conftest.$ac_objext; then
23299 ac_header_compiler=yes 24001 ac_header_compiler=yes
23300 else 24002 else
23301 echo "$as_me: failed program was:" >&5 24003 $as_echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.$ac_ext >&5 24004 sed 's/^/| /' conftest.$ac_ext >&5
23303 24005
23304 ac_header_compiler=no 24006 ac_header_compiler=no
23305 fi 24007 fi
23306 24008
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24010 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23309 echo "${ECHO_T}$ac_header_compiler" >&6; } 24011 $as_echo "$ac_header_compiler" >&6; }
23310 24012
23311 # Is the header present? 24013 # Is the header present?
23312 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24014 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24015 $as_echo_n "checking $ac_header presence... " >&6; }
23314 cat >conftest.$ac_ext <<_ACEOF 24016 cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h. */ 24017 /* confdefs.h. */
23316 _ACEOF 24018 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext 24019 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF 24020 cat >>conftest.$ac_ext <<_ACEOF
23322 if { (ac_try="$ac_cpp conftest.$ac_ext" 24024 if { (ac_try="$ac_cpp conftest.$ac_ext"
23323 case "(($ac_try" in 24025 case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;; 24027 *) ac_try_echo=$ac_try;;
23326 esac 24028 esac
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24030 $as_echo "$ac_try_echo") >&5
23328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24031 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23329 ac_status=$? 24032 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err 24033 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1 24034 rm -f conftest.er1
23332 cat conftest.err >&5 24035 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } >/dev/null && { 24037 (exit $ac_status); } >/dev/null && {
23335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24038 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23336 test ! -s conftest.err 24039 test ! -s conftest.err
23337 }; then 24040 }; then
23338 ac_header_preproc=yes 24041 ac_header_preproc=yes
23339 else 24042 else
23340 echo "$as_me: failed program was:" >&5 24043 $as_echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.$ac_ext >&5 24044 sed 's/^/| /' conftest.$ac_ext >&5
23342 24045
23343 ac_header_preproc=no 24046 ac_header_preproc=no
23344 fi 24047 fi
23345 24048
23346 rm -f conftest.err conftest.$ac_ext 24049 rm -f conftest.err conftest.$ac_ext
23347 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24050 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23348 echo "${ECHO_T}$ac_header_preproc" >&6; } 24051 $as_echo "$ac_header_preproc" >&6; }
23349 24052
23350 # So? What about this header? 24053 # So? What about this header?
23351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23352 yes:no: ) 24055 yes:no: )
23353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24057 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24059 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23357 ac_header_preproc=yes 24060 ac_header_preproc=yes
23358 ;; 24061 ;;
23359 no:yes:* ) 24062 no:yes:* )
23360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24064 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24066 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24068 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24070 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24072 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24074 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23372 24075
23373 ;; 24076 ;;
23374 esac 24077 esac
23375 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24078 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24079 $as_echo_n "checking for $ac_header... " >&6; }
23377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6 24081 $as_echo_n "(cached) " >&6
23379 else 24082 else
23380 eval "$as_ac_Header=\$ac_header_preproc" 24083 eval "$as_ac_Header=\$ac_header_preproc"
23381 fi 24084 fi
23382 ac_res=`eval echo '${'$as_ac_Header'}'` 24085 ac_res=`eval 'as_val=${'$as_ac_Header'}
23383 { echo "$as_me:$LINENO: result: $ac_res" >&5 24086 $as_echo "$as_val"'`
23384 echo "${ECHO_T}$ac_res" >&6; } 24087 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23385 24088 $as_echo "$ac_res" >&6; }
23386 fi 24089
23387 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24090 fi
24091 if test `eval 'as_val=${'$as_ac_Header'}
24092 $as_echo "$as_val"'` = yes; then
23388 cat >>confdefs.h <<_ACEOF 24093 cat >>confdefs.h <<_ACEOF
23389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23390 _ACEOF 24095 _ACEOF
23391 24096
23392 fi 24097 fi
23393 24098
23394 done 24099 done
23400 #define HAVE_AIX_SMT_EXP 1 24105 #define HAVE_AIX_SMT_EXP 1
23401 _ACEOF 24106 _ACEOF
23402 24107
23403 fi 24108 fi
23404 24109
23405 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 24110 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
23406 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; } 24111 $as_echo_n "checking whether system supports dynamic ptys... " >&6; }
23407 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 24112 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
23408 { echo "$as_me:$LINENO: result: yes" >&5 24113 { $as_echo "$as_me:$LINENO: result: yes" >&5
23409 echo "${ECHO_T}yes" >&6; } 24114 $as_echo "yes" >&6; }
23410 24115
23411 cat >>confdefs.h <<\_ACEOF 24116 cat >>confdefs.h <<\_ACEOF
23412 #define HAVE_DEV_PTMX 1 24117 #define HAVE_DEV_PTMX 1
23413 _ACEOF 24118 _ACEOF
23414 24119
23415 else 24120 else
23416 { echo "$as_me:$LINENO: result: no" >&5 24121 { $as_echo "$as_me:$LINENO: result: no" >&5
23417 echo "${ECHO_T}no" >&6; } 24122 $as_echo "no" >&6; }
23418 fi 24123 fi
23419 24124
23420 { echo "$as_me:$LINENO: checking for pid_t" >&5 24125 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
23421 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } 24126 $as_echo_n "checking for pid_t... " >&6; }
23422 if test "${ac_cv_type_pid_t+set}" = set; then 24127 if test "${ac_cv_type_pid_t+set}" = set; then
23423 echo $ECHO_N "(cached) $ECHO_C" >&6 24128 $as_echo_n "(cached) " >&6
23424 else 24129 else
23425 cat >conftest.$ac_ext <<_ACEOF 24130 ac_cv_type_pid_t=no
24131 cat >conftest.$ac_ext <<_ACEOF
23426 /* confdefs.h. */ 24132 /* confdefs.h. */
23427 _ACEOF 24133 _ACEOF
23428 cat confdefs.h >>conftest.$ac_ext 24134 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF 24135 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */ 24136 /* end confdefs.h. */
23431 $ac_includes_default 24137 $ac_includes_default
23432 typedef pid_t ac__type_new_;
23433 int 24138 int
23434 main () 24139 main ()
23435 { 24140 {
23436 if ((ac__type_new_ *) 0) 24141 if (sizeof (pid_t))
23437 return 0; 24142 return 0;
23438 if (sizeof (ac__type_new_))
23439 return 0;
23440 ; 24143 ;
23441 return 0; 24144 return 0;
23442 } 24145 }
23443 _ACEOF 24146 _ACEOF
23444 rm -f conftest.$ac_objext 24147 rm -f conftest.$ac_objext
23445 if { (ac_try="$ac_compile" 24148 if { (ac_try="$ac_compile"
23446 case "(($ac_try" in 24149 case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;; 24151 *) ac_try_echo=$ac_try;;
23449 esac 24152 esac
23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24154 $as_echo "$ac_try_echo") >&5
23451 (eval "$ac_compile") 2>conftest.er1 24155 (eval "$ac_compile") 2>conftest.er1
23452 ac_status=$? 24156 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err 24157 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1 24158 rm -f conftest.er1
23455 cat conftest.err >&5 24159 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } && { 24161 (exit $ac_status); } && {
23458 test -z "$ac_c_werror_flag" || 24162 test -z "$ac_c_werror_flag" ||
23459 test ! -s conftest.err 24163 test ! -s conftest.err
23460 } && test -s conftest.$ac_objext; then 24164 } && test -s conftest.$ac_objext; then
23461 ac_cv_type_pid_t=yes 24165 cat >conftest.$ac_ext <<_ACEOF
23462 else 24166 /* confdefs.h. */
23463 echo "$as_me: failed program was:" >&5 24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 $ac_includes_default
24172 int
24173 main ()
24174 {
24175 if (sizeof ((pid_t)))
24176 return 0;
24177 ;
24178 return 0;
24179 }
24180 _ACEOF
24181 rm -f conftest.$ac_objext
24182 if { (ac_try="$ac_compile"
24183 case "(($ac_try" in
24184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24185 *) ac_try_echo=$ac_try;;
24186 esac
24187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24188 $as_echo "$ac_try_echo") >&5
24189 (eval "$ac_compile") 2>conftest.er1
24190 ac_status=$?
24191 grep -v '^ *+' conftest.er1 >conftest.err
24192 rm -f conftest.er1
24193 cat conftest.err >&5
24194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } && {
24196 test -z "$ac_c_werror_flag" ||
24197 test ! -s conftest.err
24198 } && test -s conftest.$ac_objext; then
24199 :
24200 else
24201 $as_echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5 24202 sed 's/^/| /' conftest.$ac_ext >&5
23465 24203
23466 ac_cv_type_pid_t=no 24204 ac_cv_type_pid_t=yes
23467 fi 24205 fi
23468 24206
23469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470 fi 24208 else
23471 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 24209 $as_echo "$as_me: failed program was:" >&5
23472 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } 24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212
24213 fi
24214
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 fi
24217 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24218 $as_echo "$ac_cv_type_pid_t" >&6; }
23473 if test $ac_cv_type_pid_t = yes; then 24219 if test $ac_cv_type_pid_t = yes; then
23474 : 24220 :
23475 else 24221 else
23476 24222
23477 cat >>confdefs.h <<_ACEOF 24223 cat >>confdefs.h <<_ACEOF
23481 fi 24227 fi
23482 24228
23483 24229
23484 for ac_header in vfork.h 24230 for ac_header in vfork.h
23485 do 24231 do
23486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23488 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24234 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24235 $as_echo_n "checking for $ac_header... " >&6; }
23490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6 24237 $as_echo_n "(cached) " >&6
23492 fi 24238 fi
23493 ac_res=`eval echo '${'$as_ac_Header'}'` 24239 ac_res=`eval 'as_val=${'$as_ac_Header'}
23494 { echo "$as_me:$LINENO: result: $ac_res" >&5 24240 $as_echo "$as_val"'`
23495 echo "${ECHO_T}$ac_res" >&6; } 24241 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24242 $as_echo "$ac_res" >&6; }
23496 else 24243 else
23497 # Is the header compilable? 24244 # Is the header compilable?
23498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 24245 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
23499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 24246 $as_echo_n "checking $ac_header usability... " >&6; }
23500 cat >conftest.$ac_ext <<_ACEOF 24247 cat >conftest.$ac_ext <<_ACEOF
23501 /* confdefs.h. */ 24248 /* confdefs.h. */
23502 _ACEOF 24249 _ACEOF
23503 cat confdefs.h >>conftest.$ac_ext 24250 cat confdefs.h >>conftest.$ac_ext
23504 cat >>conftest.$ac_ext <<_ACEOF 24251 cat >>conftest.$ac_ext <<_ACEOF
23510 if { (ac_try="$ac_compile" 24257 if { (ac_try="$ac_compile"
23511 case "(($ac_try" in 24258 case "(($ac_try" in
23512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23513 *) ac_try_echo=$ac_try;; 24260 *) ac_try_echo=$ac_try;;
23514 esac 24261 esac
23515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24263 $as_echo "$ac_try_echo") >&5
23516 (eval "$ac_compile") 2>conftest.er1 24264 (eval "$ac_compile") 2>conftest.er1
23517 ac_status=$? 24265 ac_status=$?
23518 grep -v '^ *+' conftest.er1 >conftest.err 24266 grep -v '^ *+' conftest.er1 >conftest.err
23519 rm -f conftest.er1 24267 rm -f conftest.er1
23520 cat conftest.err >&5 24268 cat conftest.err >&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && { 24270 (exit $ac_status); } && {
23523 test -z "$ac_c_werror_flag" || 24271 test -z "$ac_c_werror_flag" ||
23524 test ! -s conftest.err 24272 test ! -s conftest.err
23525 } && test -s conftest.$ac_objext; then 24273 } && test -s conftest.$ac_objext; then
23526 ac_header_compiler=yes 24274 ac_header_compiler=yes
23527 else 24275 else
23528 echo "$as_me: failed program was:" >&5 24276 $as_echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5 24277 sed 's/^/| /' conftest.$ac_ext >&5
23530 24278
23531 ac_header_compiler=no 24279 ac_header_compiler=no
23532 fi 24280 fi
23533 24281
23534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24283 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23536 echo "${ECHO_T}$ac_header_compiler" >&6; } 24284 $as_echo "$ac_header_compiler" >&6; }
23537 24285
23538 # Is the header present? 24286 # Is the header present?
23539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 24287 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
23540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 24288 $as_echo_n "checking $ac_header presence... " >&6; }
23541 cat >conftest.$ac_ext <<_ACEOF 24289 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */ 24290 /* confdefs.h. */
23543 _ACEOF 24291 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext 24292 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF 24293 cat >>conftest.$ac_ext <<_ACEOF
23549 if { (ac_try="$ac_cpp conftest.$ac_ext" 24297 if { (ac_try="$ac_cpp conftest.$ac_ext"
23550 case "(($ac_try" in 24298 case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;; 24300 *) ac_try_echo=$ac_try;;
23553 esac 24301 esac
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24303 $as_echo "$ac_try_echo") >&5
23555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 24304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23556 ac_status=$? 24305 ac_status=$?
23557 grep -v '^ *+' conftest.er1 >conftest.err 24306 grep -v '^ *+' conftest.er1 >conftest.err
23558 rm -f conftest.er1 24307 rm -f conftest.er1
23559 cat conftest.err >&5 24308 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } >/dev/null && { 24310 (exit $ac_status); } >/dev/null && {
23562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 24311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23563 test ! -s conftest.err 24312 test ! -s conftest.err
23564 }; then 24313 }; then
23565 ac_header_preproc=yes 24314 ac_header_preproc=yes
23566 else 24315 else
23567 echo "$as_me: failed program was:" >&5 24316 $as_echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5 24317 sed 's/^/| /' conftest.$ac_ext >&5
23569 24318
23570 ac_header_preproc=no 24319 ac_header_preproc=no
23571 fi 24320 fi
23572 24321
23573 rm -f conftest.err conftest.$ac_ext 24322 rm -f conftest.err conftest.$ac_ext
23574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24323 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23575 echo "${ECHO_T}$ac_header_preproc" >&6; } 24324 $as_echo "$ac_header_preproc" >&6; }
23576 24325
23577 # So? What about this header? 24326 # So? What about this header?
23578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 24327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23579 yes:no: ) 24328 yes:no: )
23580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24330 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24332 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23584 ac_header_preproc=yes 24333 ac_header_preproc=yes
23585 ;; 24334 ;;
23586 no:yes:* ) 24335 no:yes:* )
23587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24337 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24339 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24341 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24343 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24345 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24347 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23599 24348
23600 ;; 24349 ;;
23601 esac 24350 esac
23602 { echo "$as_me:$LINENO: checking for $ac_header" >&5 24351 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
23603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 24352 $as_echo_n "checking for $ac_header... " >&6; }
23604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 24353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23605 echo $ECHO_N "(cached) $ECHO_C" >&6 24354 $as_echo_n "(cached) " >&6
23606 else 24355 else
23607 eval "$as_ac_Header=\$ac_header_preproc" 24356 eval "$as_ac_Header=\$ac_header_preproc"
23608 fi 24357 fi
23609 ac_res=`eval echo '${'$as_ac_Header'}'` 24358 ac_res=`eval 'as_val=${'$as_ac_Header'}
23610 { echo "$as_me:$LINENO: result: $ac_res" >&5 24359 $as_echo "$as_val"'`
23611 echo "${ECHO_T}$ac_res" >&6; } 24360 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23612 24361 $as_echo "$ac_res" >&6; }
23613 fi 24362
23614 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24363 fi
24364 if test `eval 'as_val=${'$as_ac_Header'}
24365 $as_echo "$as_val"'` = yes; then
23615 cat >>confdefs.h <<_ACEOF 24366 cat >>confdefs.h <<_ACEOF
23616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23617 _ACEOF 24368 _ACEOF
23618 24369
23619 fi 24370 fi
23620 24371
23621 done 24372 done
23622 24373
23623 24374
23624 24375
23625 for ac_func in fork vfork 24376 for ac_func in fork vfork
23626 do 24377 do
23627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 24378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23628 { echo "$as_me:$LINENO: checking for $ac_func" >&5 24379 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
23629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 24380 $as_echo_n "checking for $ac_func... " >&6; }
23630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 24381 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6 24382 $as_echo_n "(cached) " >&6
23632 else 24383 else
23633 cat >conftest.$ac_ext <<_ACEOF 24384 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */ 24385 /* confdefs.h. */
23635 _ACEOF 24386 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext 24387 cat confdefs.h >>conftest.$ac_ext
23679 if { (ac_try="$ac_link" 24430 if { (ac_try="$ac_link"
23680 case "(($ac_try" in 24431 case "(($ac_try" in
23681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;; 24433 *) ac_try_echo=$ac_try;;
23683 esac 24434 esac
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24436 $as_echo "$ac_try_echo") >&5
23685 (eval "$ac_link") 2>conftest.er1 24437 (eval "$ac_link") 2>conftest.er1
23686 ac_status=$? 24438 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err 24439 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1 24440 rm -f conftest.er1
23689 cat conftest.err >&5 24441 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } && { 24443 (exit $ac_status); } && {
23692 test -z "$ac_c_werror_flag" || 24444 test -z "$ac_c_werror_flag" ||
23693 test ! -s conftest.err 24445 test ! -s conftest.err
23694 } && test -s conftest$ac_exeext && 24446 } && test -s conftest$ac_exeext && {
23695 $as_test_x conftest$ac_exeext; then 24447 test "$cross_compiling" = yes ||
24448 $as_test_x conftest$ac_exeext
24449 }; then
23696 eval "$as_ac_var=yes" 24450 eval "$as_ac_var=yes"
23697 else 24451 else
23698 echo "$as_me: failed program was:" >&5 24452 $as_echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5 24453 sed 's/^/| /' conftest.$ac_ext >&5
23700 24454
23701 eval "$as_ac_var=no" 24455 eval "$as_ac_var=no"
23702 fi 24456 fi
23703 24457
24458 rm -rf conftest.dSYM
23704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 24459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23705 conftest$ac_exeext conftest.$ac_ext 24460 conftest$ac_exeext conftest.$ac_ext
23706 fi 24461 fi
23707 ac_res=`eval echo '${'$as_ac_var'}'` 24462 ac_res=`eval 'as_val=${'$as_ac_var'}
23708 { echo "$as_me:$LINENO: result: $ac_res" >&5 24463 $as_echo "$as_val"'`
23709 echo "${ECHO_T}$ac_res" >&6; } 24464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23710 if test `eval echo '${'$as_ac_var'}'` = yes; then 24465 $as_echo "$ac_res" >&6; }
24466 if test `eval 'as_val=${'$as_ac_var'}
24467 $as_echo "$as_val"'` = yes; then
23711 cat >>confdefs.h <<_ACEOF 24468 cat >>confdefs.h <<_ACEOF
23712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 24469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23713 _ACEOF 24470 _ACEOF
23714 24471
23715 fi 24472 fi
23716 done 24473 done
23717 24474
23718 if test "x$ac_cv_func_fork" = xyes; then 24475 if test "x$ac_cv_func_fork" = xyes; then
23719 { echo "$as_me:$LINENO: checking for working fork" >&5 24476 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
23720 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } 24477 $as_echo_n "checking for working fork... " >&6; }
23721 if test "${ac_cv_func_fork_works+set}" = set; then 24478 if test "${ac_cv_func_fork_works+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6 24479 $as_echo_n "(cached) " >&6
23723 else 24480 else
23724 if test "$cross_compiling" = yes; then 24481 if test "$cross_compiling" = yes; then
23725 ac_cv_func_fork_works=cross 24482 ac_cv_func_fork_works=cross
23726 else 24483 else
23727 cat >conftest.$ac_ext <<_ACEOF 24484 cat >conftest.$ac_ext <<_ACEOF
23746 if { (ac_try="$ac_link" 24503 if { (ac_try="$ac_link"
23747 case "(($ac_try" in 24504 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;; 24506 *) ac_try_echo=$ac_try;;
23750 esac 24507 esac
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24509 $as_echo "$ac_try_echo") >&5
23752 (eval "$ac_link") 2>&5 24510 (eval "$ac_link") 2>&5
23753 ac_status=$? 24511 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23756 { (case "(($ac_try" in 24514 { (case "(($ac_try" in
23757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23758 *) ac_try_echo=$ac_try;; 24516 *) ac_try_echo=$ac_try;;
23759 esac 24517 esac
23760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24519 $as_echo "$ac_try_echo") >&5
23761 (eval "$ac_try") 2>&5 24520 (eval "$ac_try") 2>&5
23762 ac_status=$? 24521 ac_status=$?
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; }; then 24523 (exit $ac_status); }; }; then
23765 ac_cv_func_fork_works=yes 24524 ac_cv_func_fork_works=yes
23766 else 24525 else
23767 echo "$as_me: program exited with status $ac_status" >&5 24526 $as_echo "$as_me: program exited with status $ac_status" >&5
23768 echo "$as_me: failed program was:" >&5 24527 $as_echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5 24528 sed 's/^/| /' conftest.$ac_ext >&5
23770 24529
23771 ( exit $ac_status ) 24530 ( exit $ac_status )
23772 ac_cv_func_fork_works=no 24531 ac_cv_func_fork_works=no
23773 fi 24532 fi
24533 rm -rf conftest.dSYM
23774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 24534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23775 fi 24535 fi
23776 24536
23777 24537
23778 fi 24538 fi
23779 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 24539 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
23780 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } 24540 $as_echo "$ac_cv_func_fork_works" >&6; }
23781 24541
23782 else 24542 else
23783 ac_cv_func_fork_works=$ac_cv_func_fork 24543 ac_cv_func_fork_works=$ac_cv_func_fork
23784 fi 24544 fi
23785 if test "x$ac_cv_func_fork_works" = xcross; then 24545 if test "x$ac_cv_func_fork_works" = xcross; then
23790 ;; 24550 ;;
23791 *) 24551 *)
23792 ac_cv_func_fork_works=yes 24552 ac_cv_func_fork_works=yes
23793 ;; 24553 ;;
23794 esac 24554 esac
23795 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 24555 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
23796 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 24556 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
23797 fi 24557 fi
23798 ac_cv_func_vfork_works=$ac_cv_func_vfork 24558 ac_cv_func_vfork_works=$ac_cv_func_vfork
23799 if test "x$ac_cv_func_vfork" = xyes; then 24559 if test "x$ac_cv_func_vfork" = xyes; then
23800 { echo "$as_me:$LINENO: checking for working vfork" >&5 24560 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
23801 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } 24561 $as_echo_n "checking for working vfork... " >&6; }
23802 if test "${ac_cv_func_vfork_works+set}" = set; then 24562 if test "${ac_cv_func_vfork_works+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6 24563 $as_echo_n "(cached) " >&6
23804 else 24564 else
23805 if test "$cross_compiling" = yes; then 24565 if test "$cross_compiling" = yes; then
23806 ac_cv_func_vfork_works=cross 24566 ac_cv_func_vfork_works=cross
23807 else 24567 else
23808 cat >conftest.$ac_ext <<_ACEOF 24568 cat >conftest.$ac_ext <<_ACEOF
23905 if { (ac_try="$ac_link" 24665 if { (ac_try="$ac_link"
23906 case "(($ac_try" in 24666 case "(($ac_try" in
23907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23908 *) ac_try_echo=$ac_try;; 24668 *) ac_try_echo=$ac_try;;
23909 esac 24669 esac
23910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24671 $as_echo "$ac_try_echo") >&5
23911 (eval "$ac_link") 2>&5 24672 (eval "$ac_link") 2>&5
23912 ac_status=$? 24673 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23915 { (case "(($ac_try" in 24676 { (case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;; 24678 *) ac_try_echo=$ac_try;;
23918 esac 24679 esac
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24681 $as_echo "$ac_try_echo") >&5
23920 (eval "$ac_try") 2>&5 24682 (eval "$ac_try") 2>&5
23921 ac_status=$? 24683 ac_status=$?
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then 24685 (exit $ac_status); }; }; then
23924 ac_cv_func_vfork_works=yes 24686 ac_cv_func_vfork_works=yes
23925 else 24687 else
23926 echo "$as_me: program exited with status $ac_status" >&5 24688 $as_echo "$as_me: program exited with status $ac_status" >&5
23927 echo "$as_me: failed program was:" >&5 24689 $as_echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5 24690 sed 's/^/| /' conftest.$ac_ext >&5
23929 24691
23930 ( exit $ac_status ) 24692 ( exit $ac_status )
23931 ac_cv_func_vfork_works=no 24693 ac_cv_func_vfork_works=no
23932 fi 24694 fi
24695 rm -rf conftest.dSYM
23933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 24696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23934 fi 24697 fi
23935 24698
23936 24699
23937 fi 24700 fi
23938 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 24701 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
23939 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } 24702 $as_echo "$ac_cv_func_vfork_works" >&6; }
23940 24703
23941 fi; 24704 fi;
23942 if test "x$ac_cv_func_fork_works" = xcross; then 24705 if test "x$ac_cv_func_fork_works" = xcross; then
23943 ac_cv_func_vfork_works=$ac_cv_func_vfork 24706 ac_cv_func_vfork_works=$ac_cv_func_vfork
23944 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 24707 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
23945 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 24708 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
23946 fi 24709 fi
23947 24710
23948 if test "x$ac_cv_func_vfork_works" = xyes; then 24711 if test "x$ac_cv_func_vfork_works" = xyes; then
23949 24712
23950 cat >>confdefs.h <<\_ACEOF 24713 cat >>confdefs.h <<\_ACEOF
23965 _ACEOF 24728 _ACEOF
23966 24729
23967 fi 24730 fi
23968 24731
23969 24732
23970 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 24733 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
23971 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } 24734 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
23972 if test "${emacs_cv_langinfo_codeset+set}" = set; then 24735 if test "${emacs_cv_langinfo_codeset+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6 24736 $as_echo_n "(cached) " >&6
23974 else 24737 else
23975 cat >conftest.$ac_ext <<_ACEOF 24738 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */ 24739 /* confdefs.h. */
23977 _ACEOF 24740 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext 24741 cat confdefs.h >>conftest.$ac_ext
23991 if { (ac_try="$ac_link" 24754 if { (ac_try="$ac_link"
23992 case "(($ac_try" in 24755 case "(($ac_try" in
23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994 *) ac_try_echo=$ac_try;; 24757 *) ac_try_echo=$ac_try;;
23995 esac 24758 esac
23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24760 $as_echo "$ac_try_echo") >&5
23997 (eval "$ac_link") 2>conftest.er1 24761 (eval "$ac_link") 2>conftest.er1
23998 ac_status=$? 24762 ac_status=$?
23999 grep -v '^ *+' conftest.er1 >conftest.err 24763 grep -v '^ *+' conftest.er1 >conftest.err
24000 rm -f conftest.er1 24764 rm -f conftest.er1
24001 cat conftest.err >&5 24765 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } && { 24767 (exit $ac_status); } && {
24004 test -z "$ac_c_werror_flag" || 24768 test -z "$ac_c_werror_flag" ||
24005 test ! -s conftest.err 24769 test ! -s conftest.err
24006 } && test -s conftest$ac_exeext && 24770 } && test -s conftest$ac_exeext && {
24007 $as_test_x conftest$ac_exeext; then 24771 test "$cross_compiling" = yes ||
24772 $as_test_x conftest$ac_exeext
24773 }; then
24008 emacs_cv_langinfo_codeset=yes 24774 emacs_cv_langinfo_codeset=yes
24009 else 24775 else
24010 echo "$as_me: failed program was:" >&5 24776 $as_echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5 24777 sed 's/^/| /' conftest.$ac_ext >&5
24012 24778
24013 emacs_cv_langinfo_codeset=no 24779 emacs_cv_langinfo_codeset=no
24014 fi 24780 fi
24015 24781
24782 rm -rf conftest.dSYM
24016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 24783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24017 conftest$ac_exeext conftest.$ac_ext 24784 conftest$ac_exeext conftest.$ac_ext
24018 24785
24019 fi 24786 fi
24020 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 24787 { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
24021 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; } 24788 $as_echo "$emacs_cv_langinfo_codeset" >&6; }
24022 if test $emacs_cv_langinfo_codeset = yes; then 24789 if test $emacs_cv_langinfo_codeset = yes; then
24023 24790
24024 cat >>confdefs.h <<\_ACEOF 24791 cat >>confdefs.h <<\_ACEOF
24025 #define HAVE_LANGINFO_CODESET 1 24792 #define HAVE_LANGINFO_CODESET 1
24026 _ACEOF 24793 _ACEOF
24027 24794
24028 fi 24795 fi
24029 24796
24030 { echo "$as_me:$LINENO: checking for size_t" >&5 24797 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
24031 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 24798 $as_echo_n "checking for size_t... " >&6; }
24032 if test "${ac_cv_type_size_t+set}" = set; then 24799 if test "${ac_cv_type_size_t+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6 24800 $as_echo_n "(cached) " >&6
24034 else 24801 else
24035 cat >conftest.$ac_ext <<_ACEOF 24802 ac_cv_type_size_t=no
24803 cat >conftest.$ac_ext <<_ACEOF
24036 /* confdefs.h. */ 24804 /* confdefs.h. */
24037 _ACEOF 24805 _ACEOF
24038 cat confdefs.h >>conftest.$ac_ext 24806 cat confdefs.h >>conftest.$ac_ext
24039 cat >>conftest.$ac_ext <<_ACEOF 24807 cat >>conftest.$ac_ext <<_ACEOF
24040 /* end confdefs.h. */ 24808 /* end confdefs.h. */
24041 $ac_includes_default 24809 $ac_includes_default
24042 typedef size_t ac__type_new_;
24043 int 24810 int
24044 main () 24811 main ()
24045 { 24812 {
24046 if ((ac__type_new_ *) 0) 24813 if (sizeof (size_t))
24047 return 0; 24814 return 0;
24048 if (sizeof (ac__type_new_))
24049 return 0;
24050 ; 24815 ;
24051 return 0; 24816 return 0;
24052 } 24817 }
24053 _ACEOF 24818 _ACEOF
24054 rm -f conftest.$ac_objext 24819 rm -f conftest.$ac_objext
24055 if { (ac_try="$ac_compile" 24820 if { (ac_try="$ac_compile"
24056 case "(($ac_try" in 24821 case "(($ac_try" in
24057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24058 *) ac_try_echo=$ac_try;; 24823 *) ac_try_echo=$ac_try;;
24059 esac 24824 esac
24060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24826 $as_echo "$ac_try_echo") >&5
24061 (eval "$ac_compile") 2>conftest.er1 24827 (eval "$ac_compile") 2>conftest.er1
24062 ac_status=$? 24828 ac_status=$?
24063 grep -v '^ *+' conftest.er1 >conftest.err 24829 grep -v '^ *+' conftest.er1 >conftest.err
24064 rm -f conftest.er1 24830 rm -f conftest.er1
24065 cat conftest.err >&5 24831 cat conftest.err >&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } && { 24833 (exit $ac_status); } && {
24068 test -z "$ac_c_werror_flag" || 24834 test -z "$ac_c_werror_flag" ||
24069 test ! -s conftest.err 24835 test ! -s conftest.err
24070 } && test -s conftest.$ac_objext; then 24836 } && test -s conftest.$ac_objext; then
24071 ac_cv_type_size_t=yes 24837 cat >conftest.$ac_ext <<_ACEOF
24072 else 24838 /* confdefs.h. */
24073 echo "$as_me: failed program was:" >&5 24839 _ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843 $ac_includes_default
24844 int
24845 main ()
24846 {
24847 if (sizeof ((size_t)))
24848 return 0;
24849 ;
24850 return 0;
24851 }
24852 _ACEOF
24853 rm -f conftest.$ac_objext
24854 if { (ac_try="$ac_compile"
24855 case "(($ac_try" in
24856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24857 *) ac_try_echo=$ac_try;;
24858 esac
24859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24860 $as_echo "$ac_try_echo") >&5
24861 (eval "$ac_compile") 2>conftest.er1
24862 ac_status=$?
24863 grep -v '^ *+' conftest.er1 >conftest.err
24864 rm -f conftest.er1
24865 cat conftest.err >&5
24866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); } && {
24868 test -z "$ac_c_werror_flag" ||
24869 test ! -s conftest.err
24870 } && test -s conftest.$ac_objext; then
24871 :
24872 else
24873 $as_echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5 24874 sed 's/^/| /' conftest.$ac_ext >&5
24075 24875
24076 ac_cv_type_size_t=no 24876 ac_cv_type_size_t=yes
24077 fi 24877 fi
24078 24878
24079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24080 fi 24880 else
24081 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 24881 $as_echo "$as_me: failed program was:" >&5
24082 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884
24885 fi
24886
24887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24888 fi
24889 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24890 $as_echo "$ac_cv_type_size_t" >&6; }
24083 if test $ac_cv_type_size_t = yes; then 24891 if test $ac_cv_type_size_t = yes; then
24084 24892
24085 cat >>confdefs.h <<_ACEOF 24893 cat >>confdefs.h <<_ACEOF
24086 #define HAVE_SIZE_T 1 24894 #define HAVE_SIZE_T 1
24087 _ACEOF 24895 _ACEOF
24088 24896
24089 24897
24090 fi 24898 fi
24091 24899
24092 24900
24093 { echo "$as_me:$LINENO: checking for mbstate_t" >&5 24901 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5
24094 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; } 24902 $as_echo_n "checking for mbstate_t... " >&6; }
24095 if test "${ac_cv_type_mbstate_t+set}" = set; then 24903 if test "${ac_cv_type_mbstate_t+set}" = set; then
24096 echo $ECHO_N "(cached) $ECHO_C" >&6 24904 $as_echo_n "(cached) " >&6
24097 else 24905 else
24098 cat >conftest.$ac_ext <<_ACEOF 24906 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h. */ 24907 /* confdefs.h. */
24100 _ACEOF 24908 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext 24909 cat confdefs.h >>conftest.$ac_ext
24115 if { (ac_try="$ac_compile" 24923 if { (ac_try="$ac_compile"
24116 case "(($ac_try" in 24924 case "(($ac_try" in
24117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24118 *) ac_try_echo=$ac_try;; 24926 *) ac_try_echo=$ac_try;;
24119 esac 24927 esac
24120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24929 $as_echo "$ac_try_echo") >&5
24121 (eval "$ac_compile") 2>conftest.er1 24930 (eval "$ac_compile") 2>conftest.er1
24122 ac_status=$? 24931 ac_status=$?
24123 grep -v '^ *+' conftest.er1 >conftest.err 24932 grep -v '^ *+' conftest.er1 >conftest.err
24124 rm -f conftest.er1 24933 rm -f conftest.er1
24125 cat conftest.err >&5 24934 cat conftest.err >&5
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); } && { 24936 (exit $ac_status); } && {
24128 test -z "$ac_c_werror_flag" || 24937 test -z "$ac_c_werror_flag" ||
24129 test ! -s conftest.err 24938 test ! -s conftest.err
24130 } && test -s conftest.$ac_objext; then 24939 } && test -s conftest.$ac_objext; then
24131 ac_cv_type_mbstate_t=yes 24940 ac_cv_type_mbstate_t=yes
24132 else 24941 else
24133 echo "$as_me: failed program was:" >&5 24942 $as_echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5 24943 sed 's/^/| /' conftest.$ac_ext >&5
24135 24944
24136 ac_cv_type_mbstate_t=no 24945 ac_cv_type_mbstate_t=no
24137 fi 24946 fi
24138 24947
24139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24140 fi 24949 fi
24141 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 24950 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
24142 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; } 24951 $as_echo "$ac_cv_type_mbstate_t" >&6; }
24143 if test $ac_cv_type_mbstate_t = yes; then 24952 if test $ac_cv_type_mbstate_t = yes; then
24144 24953
24145 cat >>confdefs.h <<\_ACEOF 24954 cat >>confdefs.h <<\_ACEOF
24146 #define HAVE_MBSTATE_T 1 24955 #define HAVE_MBSTATE_T 1
24147 _ACEOF 24956 _ACEOF
24152 #define mbstate_t int 24961 #define mbstate_t int
24153 _ACEOF 24962 _ACEOF
24154 24963
24155 fi 24964 fi
24156 24965
24157 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5 24966 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5
24158 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; } 24967 $as_echo_n "checking for C restrict keyword... " >&6; }
24159 if test "${emacs_cv_c_restrict+set}" = set; then 24968 if test "${emacs_cv_c_restrict+set}" = set; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6 24969 $as_echo_n "(cached) " >&6
24161 else 24970 else
24162 cat >conftest.$ac_ext <<_ACEOF 24971 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */ 24972 /* confdefs.h. */
24164 _ACEOF 24973 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext 24974 cat confdefs.h >>conftest.$ac_ext
24178 if { (ac_try="$ac_compile" 24987 if { (ac_try="$ac_compile"
24179 case "(($ac_try" in 24988 case "(($ac_try" in
24180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24181 *) ac_try_echo=$ac_try;; 24990 *) ac_try_echo=$ac_try;;
24182 esac 24991 esac
24183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24993 $as_echo "$ac_try_echo") >&5
24184 (eval "$ac_compile") 2>conftest.er1 24994 (eval "$ac_compile") 2>conftest.er1
24185 ac_status=$? 24995 ac_status=$?
24186 grep -v '^ *+' conftest.er1 >conftest.err 24996 grep -v '^ *+' conftest.er1 >conftest.err
24187 rm -f conftest.er1 24997 rm -f conftest.er1
24188 cat conftest.err >&5 24998 cat conftest.err >&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); } && { 25000 (exit $ac_status); } && {
24191 test -z "$ac_c_werror_flag" || 25001 test -z "$ac_c_werror_flag" ||
24192 test ! -s conftest.err 25002 test ! -s conftest.err
24193 } && test -s conftest.$ac_objext; then 25003 } && test -s conftest.$ac_objext; then
24194 emacs_cv_c_restrict=yes 25004 emacs_cv_c_restrict=yes
24195 else 25005 else
24196 echo "$as_me: failed program was:" >&5 25006 $as_echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5 25007 sed 's/^/| /' conftest.$ac_ext >&5
24198 25008
24199 cat >conftest.$ac_ext <<_ACEOF 25009 cat >conftest.$ac_ext <<_ACEOF
24200 /* confdefs.h. */ 25010 /* confdefs.h. */
24201 _ACEOF 25011 _ACEOF
24215 if { (ac_try="$ac_compile" 25025 if { (ac_try="$ac_compile"
24216 case "(($ac_try" in 25026 case "(($ac_try" in
24217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24218 *) ac_try_echo=$ac_try;; 25028 *) ac_try_echo=$ac_try;;
24219 esac 25029 esac
24220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25031 $as_echo "$ac_try_echo") >&5
24221 (eval "$ac_compile") 2>conftest.er1 25032 (eval "$ac_compile") 2>conftest.er1
24222 ac_status=$? 25033 ac_status=$?
24223 grep -v '^ *+' conftest.er1 >conftest.err 25034 grep -v '^ *+' conftest.er1 >conftest.err
24224 rm -f conftest.er1 25035 rm -f conftest.er1
24225 cat conftest.err >&5 25036 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } && { 25038 (exit $ac_status); } && {
24228 test -z "$ac_c_werror_flag" || 25039 test -z "$ac_c_werror_flag" ||
24229 test ! -s conftest.err 25040 test ! -s conftest.err
24230 } && test -s conftest.$ac_objext; then 25041 } && test -s conftest.$ac_objext; then
24231 emacs_cv_c_restrict=__restrict 25042 emacs_cv_c_restrict=__restrict
24232 else 25043 else
24233 echo "$as_me: failed program was:" >&5 25044 $as_echo "$as_me: failed program was:" >&5
24234 sed 's/^/| /' conftest.$ac_ext >&5 25045 sed 's/^/| /' conftest.$ac_ext >&5
24235 25046
24236 emacs_cv_c_restrict=no 25047 emacs_cv_c_restrict=no
24237 fi 25048 fi
24238 25049
24239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24240 fi 25051 fi
24241 25052
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 fi 25054 fi
24244 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 25055 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
24245 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; } 25056 $as_echo "$emacs_cv_c_restrict" >&6; }
24246 case "$emacs_cv_c_restrict" in 25057 case "$emacs_cv_c_restrict" in
24247 yes) emacs_restrict=restrict;; 25058 yes) emacs_restrict=restrict;;
24248 no) emacs_restrict="";; 25059 no) emacs_restrict="";;
24249 *) emacs_restrict="$emacs_cv_c_restrict";; 25060 *) emacs_restrict="$emacs_cv_c_restrict";;
24250 esac 25061 esac
24254 #define __restrict $emacs_restrict 25065 #define __restrict $emacs_restrict
24255 _ACEOF 25066 _ACEOF
24256 25067
24257 fi 25068 fi
24258 25069
24259 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 25070 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
24260 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; } 25071 $as_echo_n "checking for C restricted array declarations... " >&6; }
24261 if test "${emacs_cv_c_restrict_arr+set}" = set; then 25072 if test "${emacs_cv_c_restrict_arr+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6 25073 $as_echo_n "(cached) " >&6
24263 else 25074 else
24264 cat >conftest.$ac_ext <<_ACEOF 25075 cat >conftest.$ac_ext <<_ACEOF
24265 /* confdefs.h. */ 25076 /* confdefs.h. */
24266 _ACEOF 25077 _ACEOF
24267 cat confdefs.h >>conftest.$ac_ext 25078 cat confdefs.h >>conftest.$ac_ext
24280 if { (ac_try="$ac_compile" 25091 if { (ac_try="$ac_compile"
24281 case "(($ac_try" in 25092 case "(($ac_try" in
24282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24283 *) ac_try_echo=$ac_try;; 25094 *) ac_try_echo=$ac_try;;
24284 esac 25095 esac
24285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25097 $as_echo "$ac_try_echo") >&5
24286 (eval "$ac_compile") 2>conftest.er1 25098 (eval "$ac_compile") 2>conftest.er1
24287 ac_status=$? 25099 ac_status=$?
24288 grep -v '^ *+' conftest.er1 >conftest.err 25100 grep -v '^ *+' conftest.er1 >conftest.err
24289 rm -f conftest.er1 25101 rm -f conftest.er1
24290 cat conftest.err >&5 25102 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } && { 25104 (exit $ac_status); } && {
24293 test -z "$ac_c_werror_flag" || 25105 test -z "$ac_c_werror_flag" ||
24294 test ! -s conftest.err 25106 test ! -s conftest.err
24295 } && test -s conftest.$ac_objext; then 25107 } && test -s conftest.$ac_objext; then
24296 emacs_cv_c_restrict_arr=yes 25108 emacs_cv_c_restrict_arr=yes
24297 else 25109 else
24298 echo "$as_me: failed program was:" >&5 25110 $as_echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5 25111 sed 's/^/| /' conftest.$ac_ext >&5
24300 25112
24301 emacs_cv_c_restrict_arr=no 25113 emacs_cv_c_restrict_arr=no
24302 fi 25114 fi
24303 25115
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24305 fi 25117 fi
24306 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 25118 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
24307 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; } 25119 $as_echo "$emacs_cv_c_restrict_arr" >&6; }
24308 if test "$emacs_cv_c_restrict_arr" = yes; then 25120 if test "$emacs_cv_c_restrict_arr" = yes; then
24309 25121
24310 cat >>confdefs.h <<\_ACEOF 25122 cat >>confdefs.h <<\_ACEOF
24311 #define __restrict_arr __restrict 25123 #define __restrict_arr __restrict
24312 _ACEOF 25124 _ACEOF
24321 25133
24322 #### Find out which version of Emacs this is. 25134 #### Find out which version of Emacs this is.
24323 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 25135 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
24324 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 25136 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
24325 if test x"${version}" = x; then 25137 if test x"${version}" = x; then
24326 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 25138 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
24327 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 25139 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
24328 { (exit 1); exit 1; }; } 25140 { (exit 1); exit 1; }; }
24329 fi 25141 fi
24330 25142
24331 ### Specify what sort of things we'll be editing into Makefile and config.h. 25143 ### Specify what sort of things we'll be editing into Makefile and config.h.
24332 ### Use configuration here uncanonicalized to avoid exceeding size limits. 25144 ### Use configuration here uncanonicalized to avoid exceeding size limits.
24629 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 25441 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24630 eval ac_val=\$$ac_var 25442 eval ac_val=\$$ac_var
24631 case $ac_val in #( 25443 case $ac_val in #(
24632 *${as_nl}*) 25444 *${as_nl}*)
24633 case $ac_var in #( 25445 case $ac_var in #(
24634 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 25446 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 25447 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24636 esac 25448 esac
24637 case $ac_var in #( 25449 case $ac_var in #(
24638 _ | IFS | as_nl) ;; #( 25450 _ | IFS | as_nl) ;; #(
25451 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24639 *) $as_unset $ac_var ;; 25452 *) $as_unset $ac_var ;;
24640 esac ;; 25453 esac ;;
24641 esac 25454 esac
24642 done 25455 done
24643 25456
24666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 25479 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24667 :end' >>confcache 25480 :end' >>confcache
24668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 25481 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24669 if test -w "$cache_file"; then 25482 if test -w "$cache_file"; then
24670 test "x$cache_file" != "x/dev/null" && 25483 test "x$cache_file" != "x/dev/null" &&
24671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 25484 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
24672 echo "$as_me: updating cache $cache_file" >&6;} 25485 $as_echo "$as_me: updating cache $cache_file" >&6;}
24673 cat confcache >$cache_file 25486 cat confcache >$cache_file
24674 else 25487 else
24675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 25488 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24676 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 25489 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24677 fi 25490 fi
24678 fi 25491 fi
24679 rm -f confcache 25492 rm -f confcache
24680 25493
24681 test "x$prefix" = xNONE && prefix=$ac_default_prefix 25494 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24687 ac_libobjs= 25500 ac_libobjs=
24688 ac_ltlibobjs= 25501 ac_ltlibobjs=
24689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 25502 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24690 # 1. Remove the extension, and $U if already installed. 25503 # 1. Remove the extension, and $U if already installed.
24691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 25504 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24692 ac_i=`echo "$ac_i" | sed "$ac_script"` 25505 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 25506 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24694 # will be set to the directory where LIBOBJS objects are built. 25507 # will be set to the directory where LIBOBJS objects are built.
24695 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 25508 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24696 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 25509 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24697 done 25510 done
24700 LTLIBOBJS=$ac_ltlibobjs 25513 LTLIBOBJS=$ac_ltlibobjs
24701 25514
24702 25515
24703 25516
24704 : ${CONFIG_STATUS=./config.status} 25517 : ${CONFIG_STATUS=./config.status}
25518 ac_write_fail=0
24705 ac_clean_files_save=$ac_clean_files 25519 ac_clean_files_save=$ac_clean_files
24706 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 25520 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24707 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 25521 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24708 echo "$as_me: creating $CONFIG_STATUS" >&6;} 25522 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24709 cat >$CONFIG_STATUS <<_ACEOF 25523 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24710 #! $SHELL 25524 #! $SHELL
24711 # Generated by $as_me. 25525 # Generated by $as_me.
24712 # Run this file to recreate the current configuration. 25526 # Run this file to recreate the current configuration.
24713 # Compiler output produced by configure, useful for debugging 25527 # Compiler output produced by configure, useful for debugging
24714 # configure, is in config.log if it exists. 25528 # configure, is in config.log if it exists.
24717 ac_cs_recheck=false 25531 ac_cs_recheck=false
24718 ac_cs_silent=false 25532 ac_cs_silent=false
24719 SHELL=\${CONFIG_SHELL-$SHELL} 25533 SHELL=\${CONFIG_SHELL-$SHELL}
24720 _ACEOF 25534 _ACEOF
24721 25535
24722 cat >>$CONFIG_STATUS <<\_ACEOF 25536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24723 ## --------------------- ## 25537 ## --------------------- ##
24724 ## M4sh Initialization. ## 25538 ## M4sh Initialization. ##
24725 ## --------------------- ## 25539 ## --------------------- ##
24726 25540
24727 # Be more Bourne compatible 25541 # Be more Bourne compatible
24728 DUALCASE=1; export DUALCASE # for MKS sh 25542 DUALCASE=1; export DUALCASE # for MKS sh
24729 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24730 emulate sh 25544 emulate sh
24731 NULLCMD=: 25545 NULLCMD=:
24732 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 25546 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24733 # is contrary to our usage. Disable this feature. 25547 # is contrary to our usage. Disable this feature.
24734 alias -g '${1+"$@"}'='"$@"' 25548 alias -g '${1+"$@"}'='"$@"'
24735 setopt NO_GLOB_SUBST 25549 setopt NO_GLOB_SUBST
24736 else 25550 else
24737 case `(set -o) 2>/dev/null` in 25551 case `(set -o) 2>/dev/null` in
24749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 25563 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 25564 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24751 as_cr_digits='0123456789' 25565 as_cr_digits='0123456789'
24752 as_cr_alnum=$as_cr_Letters$as_cr_digits 25566 as_cr_alnum=$as_cr_Letters$as_cr_digits
24753 25567
25568 as_nl='
25569 '
25570 export as_nl
25571 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25572 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25573 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25574 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25575 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25576 as_echo='printf %s\n'
25577 as_echo_n='printf %s'
25578 else
25579 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25580 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25581 as_echo_n='/usr/ucb/echo -n'
25582 else
25583 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25584 as_echo_n_body='eval
25585 arg=$1;
25586 case $arg in
25587 *"$as_nl"*)
25588 expr "X$arg" : "X\\(.*\\)$as_nl";
25589 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25590 esac;
25591 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25592 '
25593 export as_echo_n_body
25594 as_echo_n='sh -c $as_echo_n_body as_echo'
25595 fi
25596 export as_echo_body
25597 as_echo='sh -c $as_echo_body as_echo'
25598 fi
25599
24754 # The user is always right. 25600 # The user is always right.
24755 if test "${PATH_SEPARATOR+set}" != set; then 25601 if test "${PATH_SEPARATOR+set}" != set; then
24756 echo "#! /bin/sh" >conf$$.sh 25602 PATH_SEPARATOR=:
24757 echo "exit 0" >>conf$$.sh 25603 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24758 chmod +x conf$$.sh 25604 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24759 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 25605 PATH_SEPARATOR=';'
24760 PATH_SEPARATOR=';' 25606 }
24761 else
24762 PATH_SEPARATOR=:
24763 fi
24764 rm -f conf$$.sh
24765 fi 25607 fi
24766 25608
24767 # Support unset when possible. 25609 # Support unset when possible.
24768 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 25610 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24769 as_unset=unset 25611 as_unset=unset
24775 # IFS 25617 # IFS
24776 # We need space, tab and new line, in precisely that order. Quoting is 25618 # We need space, tab and new line, in precisely that order. Quoting is
24777 # there to prevent editors from complaining about space-tab. 25619 # there to prevent editors from complaining about space-tab.
24778 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 25620 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24779 # splitting by setting IFS to empty value.) 25621 # splitting by setting IFS to empty value.)
24780 as_nl='
24781 '
24782 IFS=" "" $as_nl" 25622 IFS=" "" $as_nl"
24783 25623
24784 # Find who we are. Look in the path if we contain no directory separator. 25624 # Find who we are. Look in the path if we contain no directory separator.
24785 case $0 in 25625 case $0 in
24786 *[\\/]* ) as_myself=$0 ;; 25626 *[\\/]* ) as_myself=$0 ;;
24799 # in which case we are not to be found in the path. 25639 # in which case we are not to be found in the path.
24800 if test "x$as_myself" = x; then 25640 if test "x$as_myself" = x; then
24801 as_myself=$0 25641 as_myself=$0
24802 fi 25642 fi
24803 if test ! -f "$as_myself"; then 25643 if test ! -f "$as_myself"; then
24804 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 25644 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24805 { (exit 1); exit 1; } 25645 { (exit 1); exit 1; }
24806 fi 25646 fi
24807 25647
24808 # Work around bugs in pre-3.0 UWIN ksh. 25648 # Work around bugs in pre-3.0 UWIN ksh.
24809 for as_var in ENV MAIL MAILPATH 25649 for as_var in ENV MAIL MAILPATH
24812 PS1='$ ' 25652 PS1='$ '
24813 PS2='> ' 25653 PS2='> '
24814 PS4='+ ' 25654 PS4='+ '
24815 25655
24816 # NLS nuisances. 25656 # NLS nuisances.
24817 for as_var in \ 25657 LC_ALL=C
24818 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 25658 export LC_ALL
24819 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 25659 LANGUAGE=C
24820 LC_TELEPHONE LC_TIME 25660 export LANGUAGE
24821 do
24822 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24823 eval $as_var=C; export $as_var
24824 else
24825 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24826 fi
24827 done
24828 25661
24829 # Required to use basename. 25662 # Required to use basename.
24830 if expr a : '\(a\)' >/dev/null 2>&1 && 25663 if expr a : '\(a\)' >/dev/null 2>&1 &&
24831 test "X`expr 00001 : '.*\(...\)'`" = X001; then 25664 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24832 as_expr=expr 25665 as_expr=expr
24844 # Name of the executable. 25677 # Name of the executable.
24845 as_me=`$as_basename -- "$0" || 25678 as_me=`$as_basename -- "$0" ||
24846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 25679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24847 X"$0" : 'X\(//\)$' \| \ 25680 X"$0" : 'X\(//\)$' \| \
24848 X"$0" : 'X\(/\)' \| . 2>/dev/null || 25681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24849 echo X/"$0" | 25682 $as_echo X/"$0" |
24850 sed '/^.*\/\([^/][^/]*\)\/*$/{ 25683 sed '/^.*\/\([^/][^/]*\)\/*$/{
24851 s//\1/ 25684 s//\1/
24852 q 25685 q
24853 } 25686 }
24854 /^X\/\(\/\/\)$/{ 25687 /^X\/\(\/\/\)$/{
24895 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 25728 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24896 t loop 25729 t loop
24897 s/-\n.*// 25730 s/-\n.*//
24898 ' >$as_me.lineno && 25731 ' >$as_me.lineno &&
24899 chmod +x "$as_me.lineno" || 25732 chmod +x "$as_me.lineno" ||
24900 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 25733 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24901 { (exit 1); exit 1; }; } 25734 { (exit 1); exit 1; }; }
24902 25735
24903 # Don't try to exec as it changes $[0], causing all sort of problems 25736 # Don't try to exec as it changes $[0], causing all sort of problems
24904 # (the dirname of $[0] is not the place where we might find the 25737 # (the dirname of $[0] is not the place where we might find the
24905 # original and so on. Autoconf is especially sensitive to this). 25738 # original and so on. Autoconf is especially sensitive to this).
24923 *) ECHO_C='\c';; 25756 *) ECHO_C='\c';;
24924 esac;; 25757 esac;;
24925 *) 25758 *)
24926 ECHO_N='-n';; 25759 ECHO_N='-n';;
24927 esac 25760 esac
24928
24929 if expr a : '\(a\)' >/dev/null 2>&1 && 25761 if expr a : '\(a\)' >/dev/null 2>&1 &&
24930 test "X`expr 00001 : '.*\(...\)'`" = X001; then 25762 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24931 as_expr=expr 25763 as_expr=expr
24932 else 25764 else
24933 as_expr=false 25765 as_expr=false
24936 rm -f conf$$ conf$$.exe conf$$.file 25768 rm -f conf$$ conf$$.exe conf$$.file
24937 if test -d conf$$.dir; then 25769 if test -d conf$$.dir; then
24938 rm -f conf$$.dir/conf$$.file 25770 rm -f conf$$.dir/conf$$.file
24939 else 25771 else
24940 rm -f conf$$.dir 25772 rm -f conf$$.dir
24941 mkdir conf$$.dir 25773 mkdir conf$$.dir 2>/dev/null
24942 fi 25774 fi
24943 echo >conf$$.file 25775 if (echo >conf$$.file) 2>/dev/null; then
24944 if ln -s conf$$.file conf$$ 2>/dev/null; then 25776 if ln -s conf$$.file conf$$ 2>/dev/null; then
24945 as_ln_s='ln -s' 25777 as_ln_s='ln -s'
24946 # ... but there are two gotchas: 25778 # ... but there are two gotchas:
24947 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 25779 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24948 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 25780 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24949 # In both cases, we have to default to `cp -p'. 25781 # In both cases, we have to default to `cp -p'.
24950 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 25782 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25783 as_ln_s='cp -p'
25784 elif ln conf$$.file conf$$ 2>/dev/null; then
25785 as_ln_s=ln
25786 else
24951 as_ln_s='cp -p' 25787 as_ln_s='cp -p'
24952 elif ln conf$$.file conf$$ 2>/dev/null; then 25788 fi
24953 as_ln_s=ln
24954 else 25789 else
24955 as_ln_s='cp -p' 25790 as_ln_s='cp -p'
24956 fi 25791 fi
24957 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 25792 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24958 rmdir conf$$.dir 2>/dev/null 25793 rmdir conf$$.dir 2>/dev/null
24973 as_ls_L_option= 25808 as_ls_L_option=
24974 fi 25809 fi
24975 as_test_x=' 25810 as_test_x='
24976 eval sh -c '\'' 25811 eval sh -c '\''
24977 if test -d "$1"; then 25812 if test -d "$1"; then
24978 test -d "$1/."; 25813 test -d "$1/.";
24979 else 25814 else
24980 case $1 in 25815 case $1 in
24981 -*)set "./$1";; 25816 -*)set "./$1";;
24982 esac; 25817 esac;
24983 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 25818 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
24984 ???[sx]*):;;*)false;;esac;fi 25819 ???[sx]*):;;*)false;;esac;fi
24985 '\'' sh 25820 '\'' sh
24986 ' 25821 '
24999 # Save the log message, to keep $[0] and so on meaningful, and to 25834 # Save the log message, to keep $[0] and so on meaningful, and to
25000 # report actual input values of CONFIG_FILES etc. instead of their 25835 # report actual input values of CONFIG_FILES etc. instead of their
25001 # values after options handling. 25836 # values after options handling.
25002 ac_log=" 25837 ac_log="
25003 This file was extended by emacs $as_me 23.1.50, which was 25838 This file was extended by emacs $as_me 23.1.50, which was
25004 generated by GNU Autoconf 2.61. Invocation command line was 25839 generated by GNU Autoconf 2.62. Invocation command line was
25005 25840
25006 CONFIG_FILES = $CONFIG_FILES 25841 CONFIG_FILES = $CONFIG_FILES
25007 CONFIG_HEADERS = $CONFIG_HEADERS 25842 CONFIG_HEADERS = $CONFIG_HEADERS
25008 CONFIG_LINKS = $CONFIG_LINKS 25843 CONFIG_LINKS = $CONFIG_LINKS
25009 CONFIG_COMMANDS = $CONFIG_COMMANDS 25844 CONFIG_COMMANDS = $CONFIG_COMMANDS
25012 on `(hostname || uname -n) 2>/dev/null | sed 1q` 25847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25013 " 25848 "
25014 25849
25015 _ACEOF 25850 _ACEOF
25016 25851
25017 cat >>$CONFIG_STATUS <<_ACEOF 25852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25018 # Files that config.status was made for. 25853 # Files that config.status was made for.
25019 config_files="$ac_config_files" 25854 config_files="$ac_config_files"
25020 config_headers="$ac_config_headers" 25855 config_headers="$ac_config_headers"
25021 config_commands="$ac_config_commands" 25856 config_commands="$ac_config_commands"
25022 25857
25023 _ACEOF 25858 _ACEOF
25024 25859
25025 cat >>$CONFIG_STATUS <<\_ACEOF 25860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25026 ac_cs_usage="\ 25861 ac_cs_usage="\
25027 \`$as_me' instantiates files from templates according to the 25862 \`$as_me' instantiates files from templates according to the
25028 current configuration. 25863 current configuration.
25029 25864
25030 Usage: $0 [OPTIONS] [FILE]... 25865 Usage: $0 [OPTIONS] [FILE]...
25033 -V, --version print version number and configuration settings, then exit 25868 -V, --version print version number and configuration settings, then exit
25034 -q, --quiet do not print progress messages 25869 -q, --quiet do not print progress messages
25035 -d, --debug don't remove temporary files 25870 -d, --debug don't remove temporary files
25036 --recheck update $as_me by reconfiguring in the same conditions 25871 --recheck update $as_me by reconfiguring in the same conditions
25037 --file=FILE[:TEMPLATE] 25872 --file=FILE[:TEMPLATE]
25038 instantiate the configuration file FILE 25873 instantiate the configuration file FILE
25039 --header=FILE[:TEMPLATE] 25874 --header=FILE[:TEMPLATE]
25040 instantiate the configuration header FILE 25875 instantiate the configuration header FILE
25041 25876
25042 Configuration files: 25877 Configuration files:
25043 $config_files 25878 $config_files
25044 25879
25045 Configuration headers: 25880 Configuration headers:
25049 $config_commands 25884 $config_commands
25050 25885
25051 Report bugs to <bug-autoconf@gnu.org>." 25886 Report bugs to <bug-autoconf@gnu.org>."
25052 25887
25053 _ACEOF 25888 _ACEOF
25054 cat >>$CONFIG_STATUS <<_ACEOF 25889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25055 ac_cs_version="\\ 25890 ac_cs_version="\\
25056 emacs config.status 23.1.50 25891 emacs config.status 23.1.50
25057 configured by $0, generated by GNU Autoconf 2.61, 25892 configured by $0, generated by GNU Autoconf 2.62,
25058 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 25893 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25059 25894
25060 Copyright (C) 2006 Free Software Foundation, Inc. 25895 Copyright (C) 2008 Free Software Foundation, Inc.
25061 This config.status script is free software; the Free Software Foundation 25896 This config.status script is free software; the Free Software Foundation
25062 gives unlimited permission to copy, distribute and modify it." 25897 gives unlimited permission to copy, distribute and modify it."
25063 25898
25064 ac_pwd='$ac_pwd' 25899 ac_pwd='$ac_pwd'
25065 srcdir='$srcdir' 25900 srcdir='$srcdir'
25066 INSTALL='$INSTALL' 25901 INSTALL='$INSTALL'
25067 _ACEOF 25902 test -n "\$AWK" || AWK=awk
25068 25903 _ACEOF
25069 cat >>$CONFIG_STATUS <<\_ACEOF 25904
25070 # If no file are specified by the user, then we need to provide default 25905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25071 # value. By we need to know if files were specified by the user. 25906 # The default lists apply if the user does not specify any file.
25072 ac_need_defaults=: 25907 ac_need_defaults=:
25073 while test $# != 0 25908 while test $# != 0
25074 do 25909 do
25075 case $1 in 25910 case $1 in
25076 --*=*) 25911 --*=*)
25088 case $ac_option in 25923 case $ac_option in
25089 # Handling of the options. 25924 # Handling of the options.
25090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 25925 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25091 ac_cs_recheck=: ;; 25926 ac_cs_recheck=: ;;
25092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 25927 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25093 echo "$ac_cs_version"; exit ;; 25928 $as_echo "$ac_cs_version"; exit ;;
25094 --debug | --debu | --deb | --de | --d | -d ) 25929 --debug | --debu | --deb | --de | --d | -d )
25095 debug=: ;; 25930 debug=: ;;
25096 --file | --fil | --fi | --f ) 25931 --file | --fil | --fi | --f )
25097 $ac_shift 25932 $ac_shift
25098 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 25933 case $ac_optarg in
25934 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25935 esac
25936 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25099 ac_need_defaults=false;; 25937 ac_need_defaults=false;;
25100 --header | --heade | --head | --hea ) 25938 --header | --heade | --head | --hea )
25101 $ac_shift 25939 $ac_shift
25102 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 25940 case $ac_optarg in
25941 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25942 esac
25943 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25103 ac_need_defaults=false;; 25944 ac_need_defaults=false;;
25104 --he | --h) 25945 --he | --h)
25105 # Conflict between --help and --header 25946 # Conflict between --help and --header
25106 { echo "$as_me: error: ambiguous option: $1 25947 { $as_echo "$as_me: error: ambiguous option: $1
25107 Try \`$0 --help' for more information." >&2 25948 Try \`$0 --help' for more information." >&2
25108 { (exit 1); exit 1; }; };; 25949 { (exit 1); exit 1; }; };;
25109 --help | --hel | -h ) 25950 --help | --hel | -h )
25110 echo "$ac_cs_usage"; exit ;; 25951 $as_echo "$ac_cs_usage"; exit ;;
25111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25952 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25112 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25953 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25113 ac_cs_silent=: ;; 25954 ac_cs_silent=: ;;
25114 25955
25115 # This is an error. 25956 # This is an error.
25116 -*) { echo "$as_me: error: unrecognized option: $1 25957 -*) { $as_echo "$as_me: error: unrecognized option: $1
25117 Try \`$0 --help' for more information." >&2 25958 Try \`$0 --help' for more information." >&2
25118 { (exit 1); exit 1; }; } ;; 25959 { (exit 1); exit 1; }; } ;;
25119 25960
25120 *) ac_config_targets="$ac_config_targets $1" 25961 *) ac_config_targets="$ac_config_targets $1"
25121 ac_need_defaults=false ;; 25962 ac_need_defaults=false ;;
25130 exec 6>/dev/null 25971 exec 6>/dev/null
25131 ac_configure_extra_args="$ac_configure_extra_args --silent" 25972 ac_configure_extra_args="$ac_configure_extra_args --silent"
25132 fi 25973 fi
25133 25974
25134 _ACEOF 25975 _ACEOF
25135 cat >>$CONFIG_STATUS <<_ACEOF 25976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25136 if \$ac_cs_recheck; then 25977 if \$ac_cs_recheck; then
25137 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 25978 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25138 CONFIG_SHELL=$SHELL 25979 shift
25980 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25981 CONFIG_SHELL='$SHELL'
25139 export CONFIG_SHELL 25982 export CONFIG_SHELL
25140 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25983 exec "\$@"
25141 fi 25984 fi
25142 25985
25143 _ACEOF 25986 _ACEOF
25144 cat >>$CONFIG_STATUS <<\_ACEOF 25987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25145 exec 5>>config.log 25988 exec 5>>config.log
25146 { 25989 {
25147 echo 25990 echo
25148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25991 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25149 ## Running $as_me. ## 25992 ## Running $as_me. ##
25150 _ASBOX 25993 _ASBOX
25151 echo "$ac_log" 25994 $as_echo "$ac_log"
25152 } >&5 25995 } >&5
25153 25996
25154 _ACEOF 25997 _ACEOF
25155 cat >>$CONFIG_STATUS <<_ACEOF 25998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25156 # 25999 #
25157 # INIT-COMMANDS 26000 # INIT-COMMANDS
25158 # 26001 #
25159 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs" 26002 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs"
25160 26003
25161 _ACEOF 26004 _ACEOF
25162 26005
25163 cat >>$CONFIG_STATUS <<\_ACEOF 26006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25164 26007
25165 # Handling of arguments. 26008 # Handling of arguments.
25166 for ac_config_target in $ac_config_targets 26009 for ac_config_target in $ac_config_targets
25167 do 26010 do
25168 case $ac_config_target in 26011 case $ac_config_target in
25178 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 26021 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
25179 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 26022 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
25180 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 26023 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
25181 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 26024 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
25182 26025
25183 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 26026 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25184 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 26027 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25185 { (exit 1); exit 1; }; };; 26028 { (exit 1); exit 1; }; };;
25186 esac 26029 esac
25187 done 26030 done
25188 26031
25189 26032
25220 { 26063 {
25221 tmp=./conf$$-$RANDOM 26064 tmp=./conf$$-$RANDOM
25222 (umask 077 && mkdir "$tmp") 26065 (umask 077 && mkdir "$tmp")
25223 } || 26066 } ||
25224 { 26067 {
25225 echo "$me: cannot create a temporary directory in ." >&2 26068 $as_echo "$as_me: cannot create a temporary directory in ." >&2
25226 { (exit 1); exit 1; } 26069 { (exit 1); exit 1; }
25227 } 26070 }
25228 26071
25229 # 26072 # Set up the scripts for CONFIG_FILES section.
25230 # Set up the sed scripts for CONFIG_FILES section. 26073 # No need to generate them if there are no CONFIG_FILES.
25231 # 26074 # This happens for instance with `./config.status config.h'.
25232
25233 # No need to generate the scripts if there are no CONFIG_FILES.
25234 # This happens for instance when ./config.status config.h
25235 if test -n "$CONFIG_FILES"; then 26075 if test -n "$CONFIG_FILES"; then
25236 26076
25237 _ACEOF 26077
25238 26078 ac_cr='
25239 26079 '
25240 26080 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26081 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26082 ac_cs_awk_cr='\\r'
26083 else
26084 ac_cs_awk_cr=$ac_cr
26085 fi
26086
26087 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26088 _ACEOF
26089
26090
26091 {
26092 echo "cat >conf$$subs.awk <<_ACEOF" &&
26093 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26094 echo "_ACEOF"
26095 } >conf$$subs.sh ||
26096 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26097 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26098 { (exit 1); exit 1; }; }
26099 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25241 ac_delim='%!_!# ' 26100 ac_delim='%!_!# '
25242 for ac_last_try in false false false false false :; do 26101 for ac_last_try in false false false false false :; do
25243 cat >conf$$subs.sed <<_ACEOF 26102 . ./conf$$subs.sh ||
25244 SHELL!$SHELL$ac_delim 26103 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25245 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 26104 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25246 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 26105 { (exit 1); exit 1; }; }
25247 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 26106
25248 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 26107 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
25249 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25250 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25251 exec_prefix!$exec_prefix$ac_delim
25252 prefix!$prefix$ac_delim
25253 program_transform_name!$program_transform_name$ac_delim
25254 bindir!$bindir$ac_delim
25255 sbindir!$sbindir$ac_delim
25256 libexecdir!$libexecdir$ac_delim
25257 datarootdir!$datarootdir$ac_delim
25258 datadir!$datadir$ac_delim
25259 sysconfdir!$sysconfdir$ac_delim
25260 sharedstatedir!$sharedstatedir$ac_delim
25261 localstatedir!$localstatedir$ac_delim
25262 includedir!$includedir$ac_delim
25263 oldincludedir!$oldincludedir$ac_delim
25264 docdir!$docdir$ac_delim
25265 infodir!$infodir$ac_delim
25266 htmldir!$htmldir$ac_delim
25267 dvidir!$dvidir$ac_delim
25268 pdfdir!$pdfdir$ac_delim
25269 psdir!$psdir$ac_delim
25270 libdir!$libdir$ac_delim
25271 localedir!$localedir$ac_delim
25272 mandir!$mandir$ac_delim
25273 DEFS!$DEFS$ac_delim
25274 ECHO_C!$ECHO_C$ac_delim
25275 ECHO_N!$ECHO_N$ac_delim
25276 ECHO_T!$ECHO_T$ac_delim
25277 LIBS!$LIBS$ac_delim
25278 build_alias!$build_alias$ac_delim
25279 host_alias!$host_alias$ac_delim
25280 target_alias!$target_alias$ac_delim
25281 MAINT!$MAINT$ac_delim
25282 build!$build$ac_delim
25283 build_cpu!$build_cpu$ac_delim
25284 build_vendor!$build_vendor$ac_delim
25285 build_os!$build_os$ac_delim
25286 host!$host$ac_delim
25287 host_cpu!$host_cpu$ac_delim
25288 host_vendor!$host_vendor$ac_delim
25289 host_os!$host_os$ac_delim
25290 CC!$CC$ac_delim
25291 CFLAGS!$CFLAGS$ac_delim
25292 LDFLAGS!$LDFLAGS$ac_delim
25293 CPPFLAGS!$CPPFLAGS$ac_delim
25294 ac_ct_CC!$ac_ct_CC$ac_delim
25295 EXEEXT!$EXEEXT$ac_delim
25296 OBJEXT!$OBJEXT$ac_delim
25297 CPP!$CPP$ac_delim
25298 GREP!$GREP$ac_delim
25299 EGREP!$EGREP$ac_delim
25300 LN_S!$LN_S$ac_delim
25301 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25302 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25303 INSTALL_DATA!$INSTALL_DATA$ac_delim
25304 RANLIB!$RANLIB$ac_delim
25305 INSTALL_INFO!$INSTALL_INFO$ac_delim
25306 GZIP_PROG!$GZIP_PROG$ac_delim
25307 MAKEINFO!$MAKEINFO$ac_delim
25308 LIBSOUND!$LIBSOUND$ac_delim
25309 PKG_CONFIG!$PKG_CONFIG$ac_delim
25310 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
25311 ALSA_LIBS!$ALSA_LIBS$ac_delim
25312 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
25313 SET_MAKE!$SET_MAKE$ac_delim
25314 XMKMF!$XMKMF$ac_delim
25315 HAVE_XSERVER!$HAVE_XSERVER$ac_delim
25316 RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim
25317 RSVG_LIBS!$RSVG_LIBS$ac_delim
25318 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
25319 GTK_LIBS!$GTK_LIBS$ac_delim
25320 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
25321 DBUS_LIBS!$DBUS_LIBS$ac_delim
25322 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
25323 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
25324 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
25325 XFT_LIBS!$XFT_LIBS$ac_delim
25326 LIBOTF_CFLAGS!$LIBOTF_CFLAGS$ac_delim
25327 LIBOTF_LIBS!$LIBOTF_LIBS$ac_delim
25328 M17N_FLT_CFLAGS!$M17N_FLT_CFLAGS$ac_delim
25329 M17N_FLT_LIBS!$M17N_FLT_LIBS$ac_delim
25330 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
25331 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
25332 ALLOCA!$ALLOCA$ac_delim
25333 liblockfile!$liblockfile$ac_delim
25334 LIBOBJS!$LIBOBJS$ac_delim
25335 NEED_SETGID!$NEED_SETGID$ac_delim
25336 KMEM_GROUP!$KMEM_GROUP$ac_delim
25337 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim
25338 GETOPT_H!$GETOPT_H$ac_delim
25339 GETOPTOBJS!$GETOPTOBJS$ac_delim
25340 version!$version$ac_delim
25341 _ACEOF
25342
25343 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25344 break 26108 break
25345 elif $ac_last_try; then 26109 elif $ac_last_try; then
25346 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 26110 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25347 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 26111 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25348 { (exit 1); exit 1; }; } 26112 { (exit 1); exit 1; }; }
25349 else 26113 else
25350 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 26114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25351 fi 26115 fi
25352 done 26116 done
25353 26117 rm -f conf$$subs.sh
25354 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 26118
25355 if test -n "$ac_eof"; then 26119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25356 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 26120 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
25357 ac_eof=`expr $ac_eof + 1` 26121 _ACEOF
25358 fi 26122 sed -n '
25359 26123 h
25360 cat >>$CONFIG_STATUS <<_ACEOF 26124 s/^/S["/; s/!.*/"]=/
25361 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 26125 p
25362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 26126 g
25363 _ACEOF 26127 s/^[^!]*!//
25364 sed ' 26128 :repl
25365 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 26129 t repl
25366 s/^/s,@/; s/!/@,|#_!!_#|/ 26130 s/'"$ac_delim"'$//
25367 :n 26131 t delim
25368 t n 26132 :nl
25369 s/'"$ac_delim"'$/,g/; t 26133 h
25370 s/$/\\/; p 26134 s/\(.\{148\}\).*/\1/
25371 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 26135 t more1
25372 ' >>$CONFIG_STATUS <conf$$subs.sed 26136 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25373 rm -f conf$$subs.sed 26137 p
25374 cat >>$CONFIG_STATUS <<_ACEOF 26138 n
25375 CEOF$ac_eof 26139 b repl
25376 _ACEOF 26140 :more1
25377 26141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25378 26142 p
25379 ac_delim='%!_!# ' 26143 g
25380 for ac_last_try in false false false false false :; do 26144 s/.\{148\}//
25381 cat >conf$$subs.sed <<_ACEOF 26145 t nl
25382 configuration!$configuration$ac_delim 26146 :delim
25383 canonical!$canonical$ac_delim 26147 h
25384 srcdir!$srcdir$ac_delim 26148 s/\(.\{148\}\).*/\1/
25385 lispdir!$lispdir$ac_delim 26149 t more2
25386 locallisppath!$locallisppath$ac_delim 26150 s/["\\]/\\&/g; s/^/"/; s/$/"/
25387 lisppath!$lisppath$ac_delim 26151 p
25388 x_default_search_path!$x_default_search_path$ac_delim 26152 b
25389 etcdir!$etcdir$ac_delim 26153 :more2
25390 archlibdir!$archlibdir$ac_delim 26154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25391 bitmapdir!$bitmapdir$ac_delim 26155 p
25392 gamedir!$gamedir$ac_delim 26156 g
25393 gameuser!$gameuser$ac_delim 26157 s/.\{148\}//
25394 c_switch_system!$c_switch_system$ac_delim 26158 t delim
25395 c_switch_machine!$c_switch_machine$ac_delim 26159 ' <conf$$subs.awk | sed '
25396 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim 26160 /^[^""]/{
25397 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim 26161 N
25398 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim 26162 s/\n//
25399 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim 26163 }
25400 machfile!$machfile$ac_delim 26164 ' >>$CONFIG_STATUS || ac_write_fail=1
25401 opsysfile!$opsysfile$ac_delim 26165 rm -f conf$$subs.awk
25402 ns_appdir!$ns_appdir$ac_delim 26166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25403 ns_appbindir!$ns_appbindir$ac_delim 26167 _ACAWK
25404 ns_appresdir!$ns_appresdir$ac_delim 26168 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
25405 ns_appsrc!$ns_appsrc$ac_delim 26169 for (key in S) S_is_set[key] = 1
25406 GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim 26170 FS = ""
25407 GNUSTEP_SYSTEM_HEADERS!$GNUSTEP_SYSTEM_HEADERS$ac_delim 26171
25408 GNUSTEP_SYSTEM_LIBRARIES!$GNUSTEP_SYSTEM_LIBRARIES$ac_delim 26172 }
25409 GNU_OBJC_CFLAGS!$GNU_OBJC_CFLAGS$ac_delim 26173 {
25410 LIB_SRC_EXTRA_INSTALLABLES!$LIB_SRC_EXTRA_INSTALLABLES$ac_delim 26174 line = $ 0
25411 LTLIBOBJS!$LTLIBOBJS$ac_delim 26175 nfields = split(line, field, "@")
25412 _ACEOF 26176 substed = 0
25413 26177 len = length(field[1])
25414 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then 26178 for (i = 2; i < nfields; i++) {
25415 break 26179 key = field[i]
25416 elif $ac_last_try; then 26180 keylen = length(key)
25417 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 26181 if (S_is_set[key]) {
25418 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 26182 value = S[key]
26183 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26184 len += length(value) + length(field[++i])
26185 substed = 1
26186 } else
26187 len += 1 + keylen
26188 }
26189
26190 print line
26191 }
26192
26193 _ACAWK
26194 _ACEOF
26195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26196 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26197 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26198 else
26199 cat
26200 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26201 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26202 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
25419 { (exit 1); exit 1; }; } 26203 { (exit 1); exit 1; }; }
25420 else 26204 _ACEOF
25421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25422 fi
25423 done
25424
25425 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25426 if test -n "$ac_eof"; then
25427 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25428 ac_eof=`expr $ac_eof + 1`
25429 fi
25430
25431 cat >>$CONFIG_STATUS <<_ACEOF
25432 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25434 _ACEOF
25435 sed '
25436 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25437 s/^/s,@/; s/!/@,|#_!!_#|/
25438 :n
25439 t n
25440 s/'"$ac_delim"'$/,g/; t
25441 s/$/\\/; p
25442 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25443 ' >>$CONFIG_STATUS <conf$$subs.sed
25444 rm -f conf$$subs.sed
25445 cat >>$CONFIG_STATUS <<_ACEOF
25446 :end
25447 s/|#_!!_#|//g
25448 CEOF$ac_eof
25449 _ACEOF
25450
25451 26205
25452 # VPATH may cause trouble with some makes, so we remove $(srcdir), 26206 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25453 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 26207 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25454 # trailing colons and then remove the whole line if VPATH becomes empty 26208 # trailing colons and then remove the whole line if VPATH becomes empty
25455 # (actually we leave an empty line to preserve line numbers). 26209 # (actually we leave an empty line to preserve line numbers).
25462 s/:*$// 26216 s/:*$//
25463 s/^[^=]*=[ ]*$// 26217 s/^[^=]*=[ ]*$//
25464 }' 26218 }'
25465 fi 26219 fi
25466 26220
25467 cat >>$CONFIG_STATUS <<\_ACEOF 26221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25468 fi # test -n "$CONFIG_FILES" 26222 fi # test -n "$CONFIG_FILES"
25469 26223
25470 26224 # Set up the scripts for CONFIG_HEADERS section.
25471 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 26225 # No need to generate them if there are no CONFIG_HEADERS.
26226 # This happens for instance with `./config.status Makefile'.
26227 if test -n "$CONFIG_HEADERS"; then
26228 cat >"$tmp/defines.awk" <<\_ACAWK ||
26229 BEGIN {
26230 _ACEOF
26231
26232 # Transform confdefs.h into an awk script `defines.awk', embedded as
26233 # here-document in config.status, that substitutes the proper values into
26234 # config.h.in to produce config.h.
26235
26236 # Create a delimiter string that does not exist in confdefs.h, to ease
26237 # handling of long lines.
26238 ac_delim='%!_!# '
26239 for ac_last_try in false false :; do
26240 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26241 if test -z "$ac_t"; then
26242 break
26243 elif $ac_last_try; then
26244 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26245 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26246 { (exit 1); exit 1; }; }
26247 else
26248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26249 fi
26250 done
26251
26252 # For the awk script, D is an array of macro values keyed by name,
26253 # likewise P contains macro parameters if any. Preserve backslash
26254 # newline sequences.
26255
26256 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26257 sed -n '
26258 s/.\{148\}/&'"$ac_delim"'/g
26259 t rset
26260 :rset
26261 s/^[ ]*#[ ]*define[ ][ ]*/ /
26262 t def
26263 d
26264 :def
26265 s/\\$//
26266 t bsnl
26267 s/["\\]/\\&/g
26268 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26269 D["\1"]=" \3"/p
26270 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26271 d
26272 :bsnl
26273 s/["\\]/\\&/g
26274 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26275 D["\1"]=" \3\\\\\\n"\\/p
26276 t cont
26277 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26278 t cont
26279 d
26280 :cont
26281 n
26282 s/.\{148\}/&'"$ac_delim"'/g
26283 t clear
26284 :clear
26285 s/\\$//
26286 t bsnlc
26287 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26288 d
26289 :bsnlc
26290 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26291 b cont
26292 ' <confdefs.h | sed '
26293 s/'"$ac_delim"'/"\\\
26294 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26295
26296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26297 for (key in D) D_is_set[key] = 1
26298 FS = ""
26299 }
26300 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26301 line = \$ 0
26302 split(line, arg, " ")
26303 if (arg[1] == "#") {
26304 defundef = arg[2]
26305 mac1 = arg[3]
26306 } else {
26307 defundef = substr(arg[1], 2)
26308 mac1 = arg[2]
26309 }
26310 split(mac1, mac2, "(") #)
26311 macro = mac2[1]
26312 if (D_is_set[macro]) {
26313 # Preserve the white space surrounding the "#".
26314 prefix = substr(line, 1, index(line, defundef) - 1)
26315 print prefix "define", macro P[macro] D[macro]
26316 next
26317 } else {
26318 # Replace #undef with comments. This is necessary, for example,
26319 # in the case of _POSIX_SOURCE, which is predefined and required
26320 # on some systems where configure will not decide to define it.
26321 if (defundef == "undef") {
26322 print "/*", line, "*/"
26323 next
26324 }
26325 }
26326 }
26327 { print }
26328 _ACAWK
26329 _ACEOF
26330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26331 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26332 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26333 { (exit 1); exit 1; }; }
26334 fi # test -n "$CONFIG_HEADERS"
26335
26336
26337 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26338 shift
26339 for ac_tag
25472 do 26340 do
25473 case $ac_tag in 26341 case $ac_tag in
25474 :[FHLC]) ac_mode=$ac_tag; continue;; 26342 :[FHLC]) ac_mode=$ac_tag; continue;;
25475 esac 26343 esac
25476 case $ac_mode$ac_tag in 26344 case $ac_mode$ac_tag in
25477 :[FHL]*:*);; 26345 :[FHL]*:*);;
25478 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 26346 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25479 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 26347 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25480 { (exit 1); exit 1; }; };; 26348 { (exit 1); exit 1; }; };;
25481 :[FH]-) ac_tag=-:-;; 26349 :[FH]-) ac_tag=-:-;;
25482 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 26350 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25483 esac 26351 esac
25484 ac_save_IFS=$IFS 26352 ac_save_IFS=$IFS
25503 test -f "$ac_f" || 26371 test -f "$ac_f" ||
25504 case $ac_f in 26372 case $ac_f in
25505 [\\/$]*) false;; 26373 [\\/$]*) false;;
25506 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 26374 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25507 esac || 26375 esac ||
25508 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 26376 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25509 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 26377 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25510 { (exit 1); exit 1; }; };; 26378 { (exit 1); exit 1; }; };;
25511 esac 26379 esac
25512 ac_file_inputs="$ac_file_inputs $ac_f" 26380 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26381 ac_file_inputs="$ac_file_inputs '$ac_f'"
25513 done 26382 done
25514 26383
25515 # Let's still pretend it is `configure' which instantiates (i.e., don't 26384 # Let's still pretend it is `configure' which instantiates (i.e., don't
25516 # use $as_me), people would be surprised to read: 26385 # use $as_me), people would be surprised to read:
25517 # /* config.h. Generated by config.status. */ 26386 # /* config.h. Generated by config.status. */
25518 configure_input="Generated from "`IFS=: 26387 configure_input='Generated from '`
25519 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 26388 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26389 `' by configure.'
25520 if test x"$ac_file" != x-; then 26390 if test x"$ac_file" != x-; then
25521 configure_input="$ac_file. $configure_input" 26391 configure_input="$ac_file. $configure_input"
25522 { echo "$as_me:$LINENO: creating $ac_file" >&5 26392 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
25523 echo "$as_me: creating $ac_file" >&6;} 26393 $as_echo "$as_me: creating $ac_file" >&6;}
25524 fi 26394 fi
26395 # Neutralize special characters interpreted by sed in replacement strings.
26396 case $configure_input in #(
26397 *\&* | *\|* | *\\* )
26398 ac_sed_conf_input=`$as_echo "$configure_input" |
26399 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26400 *) ac_sed_conf_input=$configure_input;;
26401 esac
25525 26402
25526 case $ac_tag in 26403 case $ac_tag in
25527 *:-:* | *:-) cat >"$tmp/stdin";; 26404 *:-:* | *:-) cat >"$tmp/stdin" \
26405 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26406 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26407 { (exit 1); exit 1; }; } ;;
25528 esac 26408 esac
25529 ;; 26409 ;;
25530 esac 26410 esac
25531 26411
25532 ac_dir=`$as_dirname -- "$ac_file" || 26412 ac_dir=`$as_dirname -- "$ac_file" ||
25533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25534 X"$ac_file" : 'X\(//\)[^/]' \| \ 26414 X"$ac_file" : 'X\(//\)[^/]' \| \
25535 X"$ac_file" : 'X\(//\)$' \| \ 26415 X"$ac_file" : 'X\(//\)$' \| \
25536 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 26416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25537 echo X"$ac_file" | 26417 $as_echo X"$ac_file" |
25538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25539 s//\1/ 26419 s//\1/
25540 q 26420 q
25541 } 26421 }
25542 /^X\(\/\/\)[^/].*/{ 26422 /^X\(\/\/\)[^/].*/{
25558 esac 26438 esac
25559 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 26439 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25560 as_dirs= 26440 as_dirs=
25561 while :; do 26441 while :; do
25562 case $as_dir in #( 26442 case $as_dir in #(
25563 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 26443 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25564 *) as_qdir=$as_dir;; 26444 *) as_qdir=$as_dir;;
25565 esac 26445 esac
25566 as_dirs="'$as_qdir' $as_dirs" 26446 as_dirs="'$as_qdir' $as_dirs"
25567 as_dir=`$as_dirname -- "$as_dir" || 26447 as_dir=`$as_dirname -- "$as_dir" ||
25568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 26448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25569 X"$as_dir" : 'X\(//\)[^/]' \| \ 26449 X"$as_dir" : 'X\(//\)[^/]' \| \
25570 X"$as_dir" : 'X\(//\)$' \| \ 26450 X"$as_dir" : 'X\(//\)$' \| \
25571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 26451 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25572 echo X"$as_dir" | 26452 $as_echo X"$as_dir" |
25573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 26453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25574 s//\1/ 26454 s//\1/
25575 q 26455 q
25576 } 26456 }
25577 /^X\(\/\/\)[^/].*/{ 26457 /^X\(\/\/\)[^/].*/{
25588 } 26468 }
25589 s/.*/./; q'` 26469 s/.*/./; q'`
25590 test -d "$as_dir" && break 26470 test -d "$as_dir" && break
25591 done 26471 done
25592 test -z "$as_dirs" || eval "mkdir $as_dirs" 26472 test -z "$as_dirs" || eval "mkdir $as_dirs"
25593 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 26473 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25594 echo "$as_me: error: cannot create directory $as_dir" >&2;} 26474 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25595 { (exit 1); exit 1; }; }; } 26475 { (exit 1); exit 1; }; }; }
25596 ac_builddir=. 26476 ac_builddir=.
25597 26477
25598 case "$ac_dir" in 26478 case "$ac_dir" in
25599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 26479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25600 *) 26480 *)
25601 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 26481 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25602 # A ".." for each directory in $ac_dir_suffix. 26482 # A ".." for each directory in $ac_dir_suffix.
25603 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 26483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25604 case $ac_top_builddir_sub in 26484 case $ac_top_builddir_sub in
25605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 26485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 26486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25607 esac ;; 26487 esac ;;
25608 esac 26488 esac
25638 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 26518 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25639 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 26519 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25640 esac 26520 esac
25641 _ACEOF 26521 _ACEOF
25642 26522
25643 cat >>$CONFIG_STATUS <<\_ACEOF 26523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25644 # If the template does not know about datarootdir, expand it. 26524 # If the template does not know about datarootdir, expand it.
25645 # FIXME: This hack should be removed a few years after 2.60. 26525 # FIXME: This hack should be removed a few years after 2.60.
25646 ac_datarootdir_hack=; ac_datarootdir_seen= 26526 ac_datarootdir_hack=; ac_datarootdir_seen=
25647 26527
25648 case `sed -n '/datarootdir/ { 26528 ac_sed_dataroot='
26529 /datarootdir/ {
25649 p 26530 p
25650 q 26531 q
25651 } 26532 }
25652 /@datadir@/p 26533 /@datadir@/p
25653 /@docdir@/p 26534 /@docdir@/p
25654 /@infodir@/p 26535 /@infodir@/p
25655 /@localedir@/p 26536 /@localedir@/p
25656 /@mandir@/p 26537 /@mandir@/p
25657 ' $ac_file_inputs` in 26538 '
26539 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25658 *datarootdir*) ac_datarootdir_seen=yes;; 26540 *datarootdir*) ac_datarootdir_seen=yes;;
25659 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 26541 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25660 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 26542 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25661 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 26543 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25662 _ACEOF 26544 _ACEOF
25663 cat >>$CONFIG_STATUS <<_ACEOF 26545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25664 ac_datarootdir_hack=' 26546 ac_datarootdir_hack='
25665 s&@datadir@&$datadir&g 26547 s&@datadir@&$datadir&g
25666 s&@docdir@&$docdir&g 26548 s&@docdir@&$docdir&g
25667 s&@infodir@&$infodir&g 26549 s&@infodir@&$infodir&g
25668 s&@localedir@&$localedir&g 26550 s&@localedir@&$localedir&g
25672 _ACEOF 26554 _ACEOF
25673 26555
25674 # Neutralize VPATH when `$srcdir' = `.'. 26556 # Neutralize VPATH when `$srcdir' = `.'.
25675 # Shell code in configure.ac might set extrasub. 26557 # Shell code in configure.ac might set extrasub.
25676 # FIXME: do we really want to maintain this feature? 26558 # FIXME: do we really want to maintain this feature?
25677 cat >>$CONFIG_STATUS <<_ACEOF 26559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25678 sed "$ac_vpsub 26560 ac_sed_extra="$ac_vpsub
25679 $extrasub 26561 $extrasub
25680 _ACEOF 26562 _ACEOF
25681 cat >>$CONFIG_STATUS <<\_ACEOF 26563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25682 :t 26564 :t
25683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 26565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25684 s&@configure_input@&$configure_input&;t t 26566 s|@configure_input@|$ac_sed_conf_input|;t t
25685 s&@top_builddir@&$ac_top_builddir_sub&;t t 26567 s&@top_builddir@&$ac_top_builddir_sub&;t t
26568 s&@top_build_prefix@&$ac_top_build_prefix&;t t
25686 s&@srcdir@&$ac_srcdir&;t t 26569 s&@srcdir@&$ac_srcdir&;t t
25687 s&@abs_srcdir@&$ac_abs_srcdir&;t t 26570 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25688 s&@top_srcdir@&$ac_top_srcdir&;t t 26571 s&@top_srcdir@&$ac_top_srcdir&;t t
25689 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 26572 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25690 s&@builddir@&$ac_builddir&;t t 26573 s&@builddir@&$ac_builddir&;t t
25691 s&@abs_builddir@&$ac_abs_builddir&;t t 26574 s&@abs_builddir@&$ac_abs_builddir&;t t
25692 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 26575 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25693 s&@INSTALL@&$ac_INSTALL&;t t 26576 s&@INSTALL@&$ac_INSTALL&;t t
25694 $ac_datarootdir_hack 26577 $ac_datarootdir_hack
25695 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 26578 "
26579 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26580 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26581 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26582 { (exit 1); exit 1; }; }
25696 26583
25697 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 26584 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25698 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 26585 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25699 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 26586 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25700 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26587 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25701 which seems to be undefined. Please make sure it is defined." >&5 26588 which seems to be undefined. Please make sure it is defined." >&5
25702 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 26589 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25703 which seems to be undefined. Please make sure it is defined." >&2;} 26590 which seems to be undefined. Please make sure it is defined." >&2;}
25704 26591
25705 rm -f "$tmp/stdin" 26592 rm -f "$tmp/stdin"
25706 case $ac_file in 26593 case $ac_file in
25707 -) cat "$tmp/out"; rm -f "$tmp/out";; 26594 -) cat "$tmp/out" && rm -f "$tmp/out";;
25708 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 26595 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25709 esac 26596 esac \
26597 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26598 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26599 { (exit 1); exit 1; }; }
25710 ;; 26600 ;;
25711 :H) 26601 :H)
25712 # 26602 #
25713 # CONFIG_HEADER 26603 # CONFIG_HEADER
25714 # 26604 #
25715 _ACEOF
25716
25717 # Transform confdefs.h into a sed script `conftest.defines', that
25718 # substitutes the proper values into config.h.in to produce config.h.
25719 rm -f conftest.defines conftest.tail
25720 # First, append a space to every undef/define line, to ease matching.
25721 echo 's/$/ /' >conftest.defines
25722 # Then, protect against being on the right side of a sed subst, or in
25723 # an unquoted here document, in config.status. If some macros were
25724 # called several times there might be several #defines for the same
25725 # symbol, which is useless. But do not sort them, since the last
25726 # AC_DEFINE must be honored.
25727 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25728 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25729 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25730 # PARAMS is the parameter list in the macro definition--in most cases, it's
25731 # just an empty string.
25732 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25733 ac_dB='\\)[ (].*,\\1define\\2'
25734 ac_dC=' '
25735 ac_dD=' ,'
25736
25737 uniq confdefs.h |
25738 sed -n '
25739 t rset
25740 :rset
25741 s/^[ ]*#[ ]*define[ ][ ]*//
25742 t ok
25743 d
25744 :ok
25745 s/[\\&,]/\\&/g
25746 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25747 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25748 ' >>conftest.defines
25749
25750 # Remove the space that was appended to ease matching.
25751 # Then replace #undef with comments. This is necessary, for
25752 # example, in the case of _POSIX_SOURCE, which is predefined and required
25753 # on some systems where configure will not decide to define it.
25754 # (The regexp can be short, since the line contains either #define or #undef.)
25755 echo 's/ $//
25756 s,^[ #]*u.*,/* & */,' >>conftest.defines
25757
25758 # Break up conftest.defines:
25759 ac_max_sed_lines=50
25760
25761 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25762 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25763 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25764 # et cetera.
25765 ac_in='$ac_file_inputs'
25766 ac_out='"$tmp/out1"'
25767 ac_nxt='"$tmp/out2"'
25768
25769 while :
25770 do
25771 # Write a here document:
25772 cat >>$CONFIG_STATUS <<_ACEOF
25773 # First, check the format of the line:
25774 cat >"\$tmp/defines.sed" <<\\CEOF
25775 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25776 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25777 b
25778 :def
25779 _ACEOF
25780 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25781 echo 'CEOF
25782 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25783 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25784 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25785 grep . conftest.tail >/dev/null || break
25786 rm -f conftest.defines
25787 mv conftest.tail conftest.defines
25788 done
25789 rm -f conftest.defines conftest.tail
25790
25791 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25792 cat >>$CONFIG_STATUS <<\_ACEOF
25793 if test x"$ac_file" != x-; then 26605 if test x"$ac_file" != x-; then
25794 echo "/* $configure_input */" >"$tmp/config.h" 26606 {
25795 cat "$ac_result" >>"$tmp/config.h" 26607 $as_echo "/* $configure_input */" \
25796 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 26608 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25797 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 26609 } >"$tmp/config.h" \
25798 echo "$as_me: $ac_file is unchanged" >&6;} 26610 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26611 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26612 { (exit 1); exit 1; }; }
26613 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26614 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26615 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25799 else 26616 else
25800 rm -f $ac_file 26617 rm -f "$ac_file"
25801 mv "$tmp/config.h" $ac_file 26618 mv "$tmp/config.h" "$ac_file" \
26619 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26620 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26621 { (exit 1); exit 1; }; }
25802 fi 26622 fi
25803 else 26623 else
25804 echo "/* $configure_input */" 26624 $as_echo "/* $configure_input */" \
25805 cat "$ac_result" 26625 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26626 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
26627 $as_echo "$as_me: error: could not create -" >&2;}
26628 { (exit 1); exit 1; }; }
25806 fi 26629 fi
25807 rm -f "$tmp/out12"
25808 ;; 26630 ;;
25809 26631
25810 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 26632 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
25811 echo "$as_me: executing $ac_file commands" >&6;} 26633 $as_echo "$as_me: executing $ac_file commands" >&6;}
25812 ;; 26634 ;;
25813 esac 26635 esac
25814 26636
25815 26637
25816 case $ac_file$ac_mode in 26638 case $ac_file$ac_mode in
25880 26702
25881 { (exit 0); exit 0; } 26703 { (exit 0); exit 0; }
25882 _ACEOF 26704 _ACEOF
25883 chmod +x $CONFIG_STATUS 26705 chmod +x $CONFIG_STATUS
25884 ac_clean_files=$ac_clean_files_save 26706 ac_clean_files=$ac_clean_files_save
26707
26708 test $ac_write_fail = 0 ||
26709 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26710 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26711 { (exit 1); exit 1; }; }
25885 26712
25886 26713
25887 # configure is writing to config.log, and then calls config.status. 26714 # configure is writing to config.log, and then calls config.status.
25888 # config.status does its own redirection, appending to config.log. 26715 # config.status does its own redirection, appending to config.log.
25889 # Unfortunately, on DOS this fails, as config.log is still kept open 26716 # Unfortunately, on DOS this fails, as config.log is still kept open
25902 exec 5>>config.log 26729 exec 5>>config.log
25903 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 26730 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25904 # would make configure fail if this is the last instruction. 26731 # would make configure fail if this is the last instruction.
25905 $ac_cs_success || { (exit 1); exit 1; } 26732 $ac_cs_success || { (exit 1); exit 1; }
25906 fi 26733 fi
25907 26734 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25908 26735 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
26736 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
26737 fi
26738
26739