comparison configure @ 103070:88c9e3d2daf2

* configure: Regenerate. * configure.in: Disable use of FreeType without libXft.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 25 Apr 2009 14:36:01 +0000
parents 15bf0d8a6099
children 24193f40f5a0
comparison
equal deleted inserted replaced
103069:525cb94d171d 103070:88c9e3d2daf2
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.62 for emacs 23.0.92. 3 # Generated by GNU Autoconf 2.61 for emacs 23.0.92.
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, 2007, 2008 Free Software Foundation, Inc. 6 # 2002, 2003, 2004, 2005, 2006 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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18 # Zsh 3.x and 4.x performs 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
72 # The user is always right. 40 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then 41 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=: 42 echo "#! /bin/sh" >conf$$.sh
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 43 echo "exit 0" >>conf$$.sh
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 44 chmod +x conf$$.sh
77 PATH_SEPARATOR=';' 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
78 } 46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
79 fi 51 fi
80 52
81 # Support unset when possible. 53 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset 55 as_unset=unset
89 # IFS 61 # IFS
90 # We need space, tab and new line, in precisely that order. Quoting is 62 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab. 63 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.) 65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
94 IFS=" "" $as_nl" 68 IFS=" "" $as_nl"
95 69
96 # Find who we are. Look in the path if we contain no directory separator. 70 # Find who we are. Look in the path if we contain no directory separator.
97 case $0 in 71 case $0 in
98 *[\\/]* ) as_myself=$0 ;; 72 *[\\/]* ) as_myself=$0 ;;
111 # in which case we are not to be found in the path. 85 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then 86 if test "x$as_myself" = x; then
113 as_myself=$0 87 as_myself=$0
114 fi 88 fi
115 if test ! -f "$as_myself"; then 89 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; } 91 { (exit 1); exit 1; }
118 fi 92 fi
119 93
120 # Work around bugs in pre-3.0 UWIN ksh. 94 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH 95 for as_var in ENV MAIL MAILPATH
124 PS1='$ ' 98 PS1='$ '
125 PS2='> ' 99 PS2='> '
126 PS4='+ ' 100 PS4='+ '
127 101
128 # NLS nuisances. 102 # NLS nuisances.
129 LC_ALL=C 103 for as_var in \
130 export LC_ALL 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
131 LANGUAGE=C 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
132 export LANGUAGE 106 LC_TELEPHONE LC_TIME
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
133 114
134 # Required to use basename. 115 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 && 116 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr 118 as_expr=expr
149 # Name of the executable. 130 # Name of the executable.
150 as_me=`$as_basename -- "$0" || 131 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \ 133 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" | 135 echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 136 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/ 137 s//\1/
157 q 138 q
158 } 139 }
159 /^X\/\(\/\/\)$/{ 140 /^X\/\(\/\/\)$/{
175 as_have_required=yes 156 as_have_required=yes
176 else 157 else
177 as_have_required=no 158 as_have_required=no
178 fi 159 fi
179 160
180 if test $as_have_required = yes && (eval ": 161 if test $as_have_required = yes && (eval ":
181 (as_func_return () { 162 (as_func_return () {
182 (exit \$1) 163 (exit \$1)
183 } 164 }
184 as_func_success () { 165 as_func_success () {
185 as_func_return 0 166 as_func_return 0
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF 239 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh 241 emulate sh
261 NULLCMD=: 242 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature. 244 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"' 245 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST 246 setopt NO_GLOB_SUBST
266 else 247 else
267 case `(set -o) 2>/dev/null` in 248 case `(set -o) 2>/dev/null` in
278 as_have_required=yes 259 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF 260 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh 262 emulate sh
282 NULLCMD=: 263 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature. 265 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"' 266 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST 267 setopt NO_GLOB_SUBST
287 else 268 else
288 case `(set -o) 2>/dev/null` in 269 case `(set -o) 2>/dev/null` in
358 339
359 done 340 done
360 341
361 if test "x$CONFIG_SHELL" != x; then 342 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV 343 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done 345 done
365 export CONFIG_SHELL 346 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi 348 fi
368 349
369 350
370 if test $as_have_required = no; then 351 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the 352 echo This script requires a shell more modern than all the
430 echo positional parameters were not saved. 411 echo positional parameters were not saved.
431 fi 412 fi
432 413
433 test \$exitcode = 0") || { 414 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions. 415 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system, 416 echo Please tell autoconf@gnu.org about your system,
436 echo including any error possibly output before this message. 417 echo including any error possibly output before this
437 echo This can help us improve future autoconf versions. 418 echo message
438 echo Configuration will now proceed without shell functions.
439 } 419 }
440 420
441 421
442 422
443 as_lineno_1=$LINENO 423 as_lineno_1=$LINENO
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470 t loop 450 t loop
471 s/-\n.*// 451 s/-\n.*//
472 ' >$as_me.lineno && 452 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" || 453 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; } 455 { (exit 1); exit 1; }; }
476 456
477 # Don't try to exec as it changes $[0], causing all sort of problems 457 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the 458 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this). 459 # original and so on. Autoconf is especially sensitive to this).
497 *) ECHO_C='\c';; 477 *) ECHO_C='\c';;
498 esac;; 478 esac;;
499 *) 479 *)
500 ECHO_N='-n';; 480 ECHO_N='-n';;
501 esac 481 esac
482
502 if expr a : '\(a\)' >/dev/null 2>&1 && 483 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr 485 as_expr=expr
505 else 486 else
506 as_expr=false 487 as_expr=false
509 rm -f conf$$ conf$$.exe conf$$.file 490 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then 491 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file 492 rm -f conf$$.dir/conf$$.file
512 else 493 else
513 rm -f conf$$.dir 494 rm -f conf$$.dir
514 mkdir conf$$.dir 2>/dev/null 495 mkdir conf$$.dir
515 fi 496 fi
516 if (echo >conf$$.file) 2>/dev/null; then 497 echo >conf$$.file
517 if ln -s conf$$.file conf$$ 2>/dev/null; then 498 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s' 499 as_ln_s='ln -s'
519 # ... but there are two gotchas: 500 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'. 503 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 504 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
528 as_ln_s='cp -p' 505 as_ln_s='cp -p'
529 fi 506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
530 else 508 else
531 as_ln_s='cp -p' 509 as_ln_s='cp -p'
532 fi 510 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null 512 rmdir conf$$.dir 2>/dev/null
549 as_ls_L_option= 527 as_ls_L_option=
550 fi 528 fi
551 as_test_x=' 529 as_test_x='
552 eval sh -c '\'' 530 eval sh -c '\''
553 if test -d "$1"; then 531 if test -d "$1"; then
554 test -d "$1/."; 532 test -d "$1/.";
555 else 533 else
556 case $1 in 534 case $1 in
557 -*)set "./$1";; 535 -*)set "./$1";;
558 esac; 536 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi 538 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh 539 '\'' sh
562 ' 540 '
718 DBUS_LIBS 696 DBUS_LIBS
719 FONTCONFIG_CFLAGS 697 FONTCONFIG_CFLAGS
720 FONTCONFIG_LIBS 698 FONTCONFIG_LIBS
721 XFT_CFLAGS 699 XFT_CFLAGS
722 XFT_LIBS 700 XFT_LIBS
723 FREETYPE_CFLAGS
724 FREETYPE_LIBS
725 LIBOTF_CFLAGS 701 LIBOTF_CFLAGS
726 LIBOTF_LIBS 702 LIBOTF_LIBS
727 M17N_FLT_CFLAGS 703 M17N_FLT_CFLAGS
728 M17N_FLT_LIBS 704 M17N_FLT_LIBS
705 FREETYPE_CFLAGS
706 FREETYPE_LIBS
729 ALLOCA 707 ALLOCA
730 liblockfile 708 liblockfile
731 LIBOBJS 709 LIBOBJS
732 NEED_SETGID 710 NEED_SETGID
733 KMEM_GROUP 711 KMEM_GROUP
764 GNUSTEP_SYSTEM_LIBRARIES 742 GNUSTEP_SYSTEM_LIBRARIES
765 GNU_OBJC_CFLAGS 743 GNU_OBJC_CFLAGS
766 LIB_SRC_EXTRA_INSTALLABLES 744 LIB_SRC_EXTRA_INSTALLABLES
767 LTLIBOBJS' 745 LTLIBOBJS'
768 ac_subst_files='' 746 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_freetype
785 with_xft
786 with_libotf
787 with_m17n_flt
788 with_toolkit_scroll_bars
789 with_xaw3d
790 with_xim
791 with_ns
792 with_gpm
793 with_dbus
794 with_makeinfo
795 with_gtk
796 with_gcc
797 with_pkg_config_prog
798 with_gnustep_conf
799 enable_ns_self_contained
800 enable_asserts
801 enable_maintainer_mode
802 enable_locallisppath
803 enable_largefile
804 with_x
805 '
806 ac_precious_vars='build_alias 747 ac_precious_vars='build_alias
807 host_alias 748 host_alias
808 target_alias 749 target_alias
809 CC 750 CC
810 CFLAGS 751 CFLAGS
816 757
817 758
818 # Initialize some variables set by options. 759 # Initialize some variables set by options.
819 ac_init_help= 760 ac_init_help=
820 ac_init_version=false 761 ac_init_version=false
821 ac_unrecognized_opts=
822 ac_unrecognized_sep=
823 # The variables have the same names as the options, with 762 # The variables have the same names as the options, with
824 # dashes changed to underlines. 763 # dashes changed to underlines.
825 cache_file=/dev/null 764 cache_file=/dev/null
826 exec_prefix=NONE 765 exec_prefix=NONE
827 no_create= 766 no_create=
916 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
917 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
918 datarootdir=$ac_optarg ;; 857 datarootdir=$ac_optarg ;;
919 858
920 -disable-* | --disable-*) 859 -disable-* | --disable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 860 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922 # Reject names that are not valid shell variable names. 861 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 862 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
924 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 863 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; } 864 { (exit 1); exit 1; }; }
926 ac_useropt_orig=$ac_useropt 865 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 866 eval enable_$ac_feature=no ;;
928 case $ac_user_opts in
929 *"
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=no ;;
936 867
937 -docdir | --docdir | --docdi | --doc | --do) 868 -docdir | --docdir | --docdi | --doc | --do)
938 ac_prev=docdir ;; 869 ac_prev=docdir ;;
939 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
940 docdir=$ac_optarg ;; 871 docdir=$ac_optarg ;;
943 ac_prev=dvidir ;; 874 ac_prev=dvidir ;;
944 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
945 dvidir=$ac_optarg ;; 876 dvidir=$ac_optarg ;;
946 877
947 -enable-* | --enable-*) 878 -enable-* | --enable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949 # Reject names that are not valid shell variable names. 880 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
951 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 882 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
952 { (exit 1); exit 1; }; } 883 { (exit 1); exit 1; }; }
953 ac_useropt_orig=$ac_useropt 884 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 885 eval enable_$ac_feature=\$ac_optarg ;;
955 case $ac_user_opts in
956 *"
957 "enable_$ac_useropt"
958 "*) ;;
959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep=', ';;
961 esac
962 eval enable_$ac_useropt=\$ac_optarg ;;
963 886
964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
966 | --exec | --exe | --ex) 889 | --exec | --exe | --ex)
967 ac_prev=exec_prefix ;; 890 ac_prev=exec_prefix ;;
1148 1071
1149 -version | --version | --versio | --versi | --vers | -V) 1072 -version | --version | --versio | --versi | --vers | -V)
1150 ac_init_version=: ;; 1073 ac_init_version=: ;;
1151 1074
1152 -with-* | --with-*) 1075 -with-* | --with-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1076 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names. 1077 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1079 { echo "$as_me: error: invalid package name: $ac_package" >&2
1157 { (exit 1); exit 1; }; } 1080 { (exit 1); exit 1; }; }
1158 ac_useropt_orig=$ac_useropt 1081 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1082 eval with_$ac_package=\$ac_optarg ;;
1160 case $ac_user_opts in
1161 *"
1162 "with_$ac_useropt"
1163 "*) ;;
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1166 esac
1167 eval with_$ac_useropt=\$ac_optarg ;;
1168 1083
1169 -without-* | --without-*) 1084 -without-* | --without-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1085 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171 # Reject names that are not valid shell variable names. 1086 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1087 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1088 { echo "$as_me: error: invalid package name: $ac_package" >&2
1174 { (exit 1); exit 1; }; } 1089 { (exit 1); exit 1; }; }
1175 ac_useropt_orig=$ac_useropt 1090 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1091 eval with_$ac_package=no ;;
1177 case $ac_user_opts in
1178 *"
1179 "with_$ac_useropt"
1180 "*) ;;
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1183 esac
1184 eval with_$ac_useropt=no ;;
1185 1092
1186 --x) 1093 --x)
1187 # Obsolete; use --with-x. 1094 # Obsolete; use --with-x.
1188 with_x=yes ;; 1095 with_x=yes ;;
1189 1096
1199 ac_prev=x_libraries ;; 1106 ac_prev=x_libraries ;;
1200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1202 x_libraries=$ac_optarg ;; 1109 x_libraries=$ac_optarg ;;
1203 1110
1204 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1111 -*) { echo "$as_me: error: unrecognized option: $ac_option
1205 Try \`$0 --help' for more information." >&2 1112 Try \`$0 --help' for more information." >&2
1206 { (exit 1); exit 1; }; } 1113 { (exit 1); exit 1; }; }
1207 ;; 1114 ;;
1208 1115
1209 *=*) 1116 *=*)
1210 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1211 # Reject names that are not valid shell variable names. 1118 # Reject names that are not valid shell variable names.
1212 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1119 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1213 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1120 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1214 { (exit 1); exit 1; }; } 1121 { (exit 1); exit 1; }; }
1215 eval $ac_envvar=\$ac_optarg 1122 eval $ac_envvar=\$ac_optarg
1216 export $ac_envvar ;; 1123 export $ac_envvar ;;
1217 1124
1218 *) 1125 *)
1219 # FIXME: should be removed in autoconf 3.0. 1126 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1127 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1129 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1130 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224 ;; 1131 ;;
1225 1132
1226 esac 1133 esac
1227 done 1134 done
1228 1135
1229 if test -n "$ac_prev"; then 1136 if test -n "$ac_prev"; then
1230 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1231 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1138 { echo "$as_me: error: missing argument to $ac_option" >&2
1232 { (exit 1); exit 1; }; } 1139 { (exit 1); exit 1; }; }
1233 fi 1140 fi
1234 1141
1235 if test -n "$ac_unrecognized_opts"; then 1142 # Be sure to have absolute directory names.
1236 case $enable_option_checking in
1237 no) ;;
1238 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1239 { (exit 1); exit 1; }; } ;;
1240 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 esac
1242 fi
1243
1244 # Check all directory arguments for consistency.
1245 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1246 datadir sysconfdir sharedstatedir localstatedir includedir \ 1144 datadir sysconfdir sharedstatedir localstatedir includedir \
1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1248 libdir localedir mandir 1146 libdir localedir mandir
1249 do 1147 do
1250 eval ac_val=\$$ac_var 1148 eval ac_val=\$$ac_var
1251 # Remove trailing slashes.
1252 case $ac_val in
1253 */ )
1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255 eval $ac_var=\$ac_val;;
1256 esac
1257 # Be sure to have absolute directory names.
1258 case $ac_val in 1149 case $ac_val in
1259 [\\/$]* | ?:[\\/]* ) continue;; 1150 [\\/$]* | ?:[\\/]* ) continue;;
1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1261 esac 1152 esac
1262 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1153 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1263 { (exit 1); exit 1; }; } 1154 { (exit 1); exit 1; }; }
1264 done 1155 done
1265 1156
1266 # There might be people who depend on the old broken behavior: `$host' 1157 # There might be people who depend on the old broken behavior: `$host'
1267 # used to hold the argument of --host etc. 1158 # used to hold the argument of --host etc.
1272 1163
1273 # FIXME: To remove some day. 1164 # FIXME: To remove some day.
1274 if test "x$host_alias" != x; then 1165 if test "x$host_alias" != x; then
1275 if test "x$build_alias" = x; then 1166 if test "x$build_alias" = x; then
1276 cross_compiling=maybe 1167 cross_compiling=maybe
1277 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1168 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1278 If a cross compiler is detected then cross compile mode will be used." >&2 1169 If a cross compiler is detected then cross compile mode will be used." >&2
1279 elif test "x$build_alias" != "x$host_alias"; then 1170 elif test "x$build_alias" != "x$host_alias"; then
1280 cross_compiling=yes 1171 cross_compiling=yes
1281 fi 1172 fi
1282 fi 1173 fi
1288 1179
1289 1180
1290 ac_pwd=`pwd` && test -n "$ac_pwd" && 1181 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1291 ac_ls_di=`ls -di .` && 1182 ac_ls_di=`ls -di .` &&
1292 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1183 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1293 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1184 { echo "$as_me: error: Working directory cannot be determined" >&2
1294 { (exit 1); exit 1; }; } 1185 { (exit 1); exit 1; }; }
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1187 { echo "$as_me: error: pwd does not report name of working directory" >&2
1297 { (exit 1); exit 1; }; } 1188 { (exit 1); exit 1; }; }
1298 1189
1299 1190
1300 # Find the source files, if location was not specified. 1191 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then 1192 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted=yes 1193 ac_srcdir_defaulted=yes
1303 # Try the directory containing this script, then the parent directory. 1194 # Try the directory containing this script, then the parent directory.
1304 ac_confdir=`$as_dirname -- "$as_myself" || 1195 ac_confdir=`$as_dirname -- "$0" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1196 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \ 1197 X"$0" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \ 1198 X"$0" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1199 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" | 1200 echo X"$0" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1311 s//\1/ 1202 s//\1/
1312 q 1203 q
1313 } 1204 }
1314 /^X\(\/\/\)[^/].*/{ 1205 /^X\(\/\/\)[^/].*/{
1331 else 1222 else
1332 ac_srcdir_defaulted=no 1223 ac_srcdir_defaulted=no
1333 fi 1224 fi
1334 if test ! -r "$srcdir/$ac_unique_file"; then 1225 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1226 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1336 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1227 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1337 { (exit 1); exit 1; }; } 1228 { (exit 1); exit 1; }; }
1338 fi 1229 fi
1339 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 ac_abs_confdir=`( 1231 ac_abs_confdir=`(
1341 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1232 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1342 { (exit 1); exit 1; }; } 1233 { (exit 1); exit 1; }; }
1343 pwd)` 1234 pwd)`
1344 # When building in place, set srcdir=. 1235 # When building in place, set srcdir=.
1345 if test "$ac_abs_confdir" = "$ac_pwd"; then 1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 srcdir=. 1237 srcdir=.
1385 -n, --no-create do not create output files 1276 -n, --no-create do not create output files
1386 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1387 1278
1388 Installation directories: 1279 Installation directories:
1389 --prefix=PREFIX install architecture-independent files in PREFIX 1280 --prefix=PREFIX install architecture-independent files in PREFIX
1390 [$ac_default_prefix] 1281 [$ac_default_prefix]
1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 [PREFIX] 1283 [PREFIX]
1393 1284
1394 By default, \`make install' will install all the files in 1285 By default, \`make install' will install all the files in
1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1397 for instance \`--prefix=\$HOME'. 1288 for instance \`--prefix=\$HOME'.
1398 1289
1399 For better control, use the options below. 1290 For better control, use the options below.
1400 1291
1401 Fine tuning of the installation directories: 1292 Fine tuning of the installation directories:
1402 --bindir=DIR user executables [EPREFIX/bin] 1293 --bindir=DIR user executables [EPREFIX/bin]
1403 --sbindir=DIR system admin executables [EPREFIX/sbin] 1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1404 --libexecdir=DIR program executables [EPREFIX/libexec] 1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1408 --libdir=DIR object code libraries [EPREFIX/lib] 1299 --libdir=DIR object code libraries [EPREFIX/lib]
1409 --includedir=DIR C header files [PREFIX/include] 1300 --includedir=DIR C header files [PREFIX/include]
1410 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1413 --infodir=DIR info documentation [DATAROOTDIR/info] 1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1415 --mandir=DIR man documentation [DATAROOTDIR/man] 1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1416 --docdir=DIR documentation root [DATAROOTDIR/doc/emacs] 1307 --docdir=DIR documentation root [DATAROOTDIR/doc/emacs]
1417 --htmldir=DIR html documentation [DOCDIR] 1308 --htmldir=DIR html documentation [DOCDIR]
1418 --dvidir=DIR dvi documentation [DOCDIR] 1309 --dvidir=DIR dvi documentation [DOCDIR]
1419 --pdfdir=DIR pdf documentation [DOCDIR] 1310 --pdfdir=DIR pdf documentation [DOCDIR]
1420 --psdir=DIR ps documentation [DOCDIR] 1311 --psdir=DIR ps documentation [DOCDIR]
1421 _ACEOF 1312 _ACEOF
1422 1313
1423 cat <<\_ACEOF 1314 cat <<\_ACEOF
1424 1315
1425 Program names: 1316 Program names:
1442 short | recursive ) echo "Configuration of emacs 23.0.92:";; 1333 short | recursive ) echo "Configuration of emacs 23.0.92:";;
1443 esac 1334 esac
1444 cat <<\_ACEOF 1335 cat <<\_ACEOF
1445 1336
1446 Optional Features: 1337 Optional Features:
1447 --disable-option-checking ignore unrecognized --enable/--with options
1448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1450 --disable-ns-self-contained 1340 --disable-ns-self-contained
1451 disable self contained build under NeXTstep 1341 disable self contained build under NeXTstep
1452 --enable-asserts compile code with asserts enabled 1342 --enable-asserts compile code with asserts enabled
1473 --without-jpeg don't compile with JPEG image support 1363 --without-jpeg don't compile with JPEG image support
1474 --without-tiff don't compile with TIFF image support 1364 --without-tiff don't compile with TIFF image support
1475 --without-gif don't compile with GIF image support 1365 --without-gif don't compile with GIF image support
1476 --without-png don't compile with PNG image support 1366 --without-png don't compile with PNG image support
1477 --without-rsvg don't compile with SVG image support 1367 --without-rsvg don't compile with SVG image support
1478 --without-freetype don't use Freetype for local font support
1479 --without-xft don't use XFT for anti aliased fonts 1368 --without-xft don't use XFT for anti aliased fonts
1480 --without-libotf don't use libotf for OpenType font support 1369 --without-libotf don't use libotf for OpenType font support
1481 --without-m17n-flt don't use m17n-flt for text shaping 1370 --without-m17n-flt don't use m17n-flt for text shaping
1482 --without-toolkit-scroll-bars 1371 --without-toolkit-scroll-bars
1483 don't use Motif or Xaw3d scroll bars 1372 don't use Motif or Xaw3d scroll bars
1515 fi 1404 fi
1516 1405
1517 if test "$ac_init_help" = "recursive"; then 1406 if test "$ac_init_help" = "recursive"; then
1518 # If there are subdirs, report their specific --help. 1407 # If there are subdirs, report their specific --help.
1519 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1520 test -d "$ac_dir" || 1409 test -d "$ac_dir" || continue
1521 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1522 continue
1523 ac_builddir=. 1410 ac_builddir=.
1524 1411
1525 case "$ac_dir" in 1412 case "$ac_dir" in
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) 1414 *)
1528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1529 # A ".." for each directory in $ac_dir_suffix. 1416 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1417 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1531 case $ac_top_builddir_sub in 1418 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 esac ;; 1421 esac ;;
1535 esac 1422 esac
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then 1449 elif test -f "$ac_srcdir/configure"; then
1563 echo && 1450 echo &&
1564 $SHELL "$ac_srcdir/configure" --help=recursive 1451 $SHELL "$ac_srcdir/configure" --help=recursive
1565 else 1452 else
1566 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1453 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 fi || ac_status=$? 1454 fi || ac_status=$?
1568 cd "$ac_pwd" || { ac_status=$?; break; } 1455 cd "$ac_pwd" || { ac_status=$?; break; }
1569 done 1456 done
1570 fi 1457 fi
1571 1458
1572 test -n "$ac_init_help" && exit $ac_status 1459 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then 1460 if $ac_init_version; then
1574 cat <<\_ACEOF 1461 cat <<\_ACEOF
1575 emacs configure 23.0.92 1462 emacs configure 23.0.92
1576 generated by GNU Autoconf 2.62 1463 generated by GNU Autoconf 2.61
1577 1464
1578 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1465 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1466 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation 1467 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it. 1468 gives unlimited permission to copy, distribute and modify it.
1582 _ACEOF 1469 _ACEOF
1583 exit 1470 exit
1584 fi 1471 fi
1585 cat >config.log <<_ACEOF 1472 cat >config.log <<_ACEOF
1586 This file contains any messages produced by compilers while 1473 This file contains any messages produced by compilers while
1587 running configure, to aid debugging if configure makes a mistake. 1474 running configure, to aid debugging if configure makes a mistake.
1588 1475
1589 It was created by emacs $as_me 23.0.92, which was 1476 It was created by emacs $as_me 23.0.92, which was
1590 generated by GNU Autoconf 2.62. Invocation command line was 1477 generated by GNU Autoconf 2.61. Invocation command line was
1591 1478
1592 $ $0 $@ 1479 $ $0 $@
1593 1480
1594 _ACEOF 1481 _ACEOF
1595 exec 5>>config.log 1482 exec 5>>config.log
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 for as_dir in $PATH 1509 for as_dir in $PATH
1623 do 1510 do
1624 IFS=$as_save_IFS 1511 IFS=$as_save_IFS
1625 test -z "$as_dir" && as_dir=. 1512 test -z "$as_dir" && as_dir=.
1626 $as_echo "PATH: $as_dir" 1513 echo "PATH: $as_dir"
1627 done 1514 done
1628 IFS=$as_save_IFS 1515 IFS=$as_save_IFS
1629 1516
1630 } >&5 1517 } >&5
1631 1518
1656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658 | -silent | --silent | --silen | --sile | --sil) 1545 | -silent | --silent | --silen | --sile | --sil)
1659 continue ;; 1546 continue ;;
1660 *\'*) 1547 *\'*)
1661 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1548 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1662 esac 1549 esac
1663 case $ac_pass in 1550 case $ac_pass in
1664 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1551 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1665 2) 1552 2)
1666 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1553 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1708 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1595 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1709 eval ac_val=\$$ac_var 1596 eval ac_val=\$$ac_var
1710 case $ac_val in #( 1597 case $ac_val in #(
1711 *${as_nl}*) 1598 *${as_nl}*)
1712 case $ac_var in #( 1599 case $ac_var in #(
1713 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1600 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1714 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1601 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1715 esac 1602 esac
1716 case $ac_var in #( 1603 case $ac_var in #(
1717 _ | IFS | as_nl) ;; #( 1604 _ | IFS | as_nl) ;; #(
1718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1719 *) $as_unset $ac_var ;; 1605 *) $as_unset $ac_var ;;
1720 esac ;; 1606 esac ;;
1721 esac 1607 esac
1722 done 1608 done
1723 (set) 2>&1 | 1609 (set) 2>&1 |
1743 echo 1629 echo
1744 for ac_var in $ac_subst_vars 1630 for ac_var in $ac_subst_vars
1745 do 1631 do
1746 eval ac_val=\$$ac_var 1632 eval ac_val=\$$ac_var
1747 case $ac_val in 1633 case $ac_val in
1748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 esac 1635 esac
1750 $as_echo "$ac_var='\''$ac_val'\''" 1636 echo "$ac_var='\''$ac_val'\''"
1751 done | sort 1637 done | sort
1752 echo 1638 echo
1753 1639
1754 if test -n "$ac_subst_files"; then 1640 if test -n "$ac_subst_files"; then
1755 cat <<\_ASBOX 1641 cat <<\_ASBOX
1760 echo 1646 echo
1761 for ac_var in $ac_subst_files 1647 for ac_var in $ac_subst_files
1762 do 1648 do
1763 eval ac_val=\$$ac_var 1649 eval ac_val=\$$ac_var
1764 case $ac_val in 1650 case $ac_val in
1765 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1651 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 esac 1652 esac
1767 $as_echo "$ac_var='\''$ac_val'\''" 1653 echo "$ac_var='\''$ac_val'\''"
1768 done | sort 1654 done | sort
1769 echo 1655 echo
1770 fi 1656 fi
1771 1657
1772 if test -s confdefs.h; then 1658 if test -s confdefs.h; then
1778 echo 1664 echo
1779 cat confdefs.h 1665 cat confdefs.h
1780 echo 1666 echo
1781 fi 1667 fi
1782 test "$ac_signal" != 0 && 1668 test "$ac_signal" != 0 &&
1783 $as_echo "$as_me: caught signal $ac_signal" 1669 echo "$as_me: caught signal $ac_signal"
1784 $as_echo "$as_me: exit $exit_status" 1670 echo "$as_me: exit $exit_status"
1785 } >&5 1671 } >&5
1786 rm -f core *.core core.conftest.* && 1672 rm -f core *.core core.conftest.* &&
1787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1673 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1788 exit $exit_status 1674 exit $exit_status
1789 ' 0 1675 ' 0
1821 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1707 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1822 _ACEOF 1708 _ACEOF
1823 1709
1824 1710
1825 # Let the site file select an alternate cache file if it wants to. 1711 # Let the site file select an alternate cache file if it wants to.
1826 # Prefer an explicitly selected file to automatically selected ones. 1712 # Prefer explicitly selected file to automatically selected ones.
1827 ac_site_file1=NONE
1828 ac_site_file2=NONE
1829 if test -n "$CONFIG_SITE"; then 1713 if test -n "$CONFIG_SITE"; then
1830 ac_site_file1=$CONFIG_SITE 1714 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then 1715 elif test "x$prefix" != xNONE; then
1832 ac_site_file1=$prefix/share/config.site 1716 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1833 ac_site_file2=$prefix/etc/config.site 1717 else
1834 else 1718 set x "$ac_default_prefix/share/config.site" \
1835 ac_site_file1=$ac_default_prefix/share/config.site 1719 "$ac_default_prefix/etc/config.site"
1836 ac_site_file2=$ac_default_prefix/etc/config.site 1720 fi
1837 fi 1721 shift
1838 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1722 for ac_site_file
1839 do 1723 do
1840 test "x$ac_site_file" = xNONE && continue
1841 if test -r "$ac_site_file"; then 1724 if test -r "$ac_site_file"; then
1842 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1725 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1726 echo "$as_me: loading site script $ac_site_file" >&6;}
1844 sed 's/^/| /' "$ac_site_file" >&5 1727 sed 's/^/| /' "$ac_site_file" >&5
1845 . "$ac_site_file" 1728 . "$ac_site_file"
1846 fi 1729 fi
1847 done 1730 done
1848 1731
1849 if test -r "$cache_file"; then 1732 if test -r "$cache_file"; then
1850 # Some versions of bash will fail to source /dev/null (special 1733 # Some versions of bash will fail to source /dev/null (special
1851 # files actually), so we avoid doing that. 1734 # files actually), so we avoid doing that.
1852 if test -f "$cache_file"; then 1735 if test -f "$cache_file"; then
1853 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1736 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854 $as_echo "$as_me: loading cache $cache_file" >&6;} 1737 echo "$as_me: loading cache $cache_file" >&6;}
1855 case $cache_file in 1738 case $cache_file in
1856 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1739 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857 *) . "./$cache_file";; 1740 *) . "./$cache_file";;
1858 esac 1741 esac
1859 fi 1742 fi
1860 else 1743 else
1861 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1744 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1862 $as_echo "$as_me: creating cache $cache_file" >&6;} 1745 echo "$as_me: creating cache $cache_file" >&6;}
1863 >$cache_file 1746 >$cache_file
1864 fi 1747 fi
1865 1748
1866 ac_header_list="$ac_header_list sys/time.h" 1749 ac_header_list="$ac_header_list sys/time.h"
1867 ac_header_list="$ac_header_list unistd.h" 1750 ac_header_list="$ac_header_list unistd.h"
1874 eval ac_new_set=\$ac_env_${ac_var}_set 1757 eval ac_new_set=\$ac_env_${ac_var}_set
1875 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1876 eval ac_new_val=\$ac_env_${ac_var}_value 1759 eval ac_new_val=\$ac_env_${ac_var}_value
1877 case $ac_old_set,$ac_new_set in 1760 case $ac_old_set,$ac_new_set in
1878 set,) 1761 set,)
1879 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1762 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1880 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1763 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1881 ac_cache_corrupted=: ;; 1764 ac_cache_corrupted=: ;;
1882 ,set) 1765 ,set)
1883 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1766 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1884 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1767 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1885 ac_cache_corrupted=: ;; 1768 ac_cache_corrupted=: ;;
1886 ,);; 1769 ,);;
1887 *) 1770 *)
1888 if test "x$ac_old_val" != "x$ac_new_val"; then 1771 if test "x$ac_old_val" != "x$ac_new_val"; then
1889 # differences in whitespace do not lead to failure. 1772 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1890 ac_old_val_w=`echo x $ac_old_val` 1773 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1891 ac_new_val_w=`echo x $ac_new_val` 1774 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1892 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1775 echo "$as_me: former value: $ac_old_val" >&2;}
1893 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1776 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1894 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1777 echo "$as_me: current value: $ac_new_val" >&2;}
1895 ac_cache_corrupted=: 1778 ac_cache_corrupted=:
1896 else
1897 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1898 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1899 eval $ac_var=\$ac_old_val
1900 fi
1901 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1902 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1903 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1904 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1905 fi;; 1779 fi;;
1906 esac 1780 esac
1907 # Pass precious variables to config.status. 1781 # Pass precious variables to config.status.
1908 if test "$ac_new_set" = set; then 1782 if test "$ac_new_set" = set; then
1909 case $ac_new_val in 1783 case $ac_new_val in
1910 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1784 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1911 *) ac_arg=$ac_var=$ac_new_val ;; 1785 *) ac_arg=$ac_var=$ac_new_val ;;
1912 esac 1786 esac
1913 case " $ac_configure_args " in 1787 case " $ac_configure_args " in
1914 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1788 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1915 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1789 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1916 esac 1790 esac
1917 fi 1791 fi
1918 done 1792 done
1919 if $ac_cache_corrupted; then 1793 if $ac_cache_corrupted; then
1920 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1794 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1921 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1795 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1922 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1796 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1923 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1797 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1924 { (exit 1); exit 1; }; } 1798 { (exit 1); exit 1; }; }
1925 fi 1799 fi
1926 1800
1927 1801
1928 1802
1962 test "$program_prefix" != NONE && 1836 test "$program_prefix" != NONE &&
1963 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1837 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1964 # Use a double $ so make ignores it. 1838 # Use a double $ so make ignores it.
1965 test "$program_suffix" != NONE && 1839 test "$program_suffix" != NONE &&
1966 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1840 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1967 # Double any \ or $. 1841 # Double any \ or $. echo might interpret backslashes.
1968 # By default was `s,x,x', remove it if useless. 1842 # By default was `s,x,x', remove it if useless.
1969 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1843 cat <<\_ACEOF >conftest.sed
1970 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1844 s/[\\$]/&&/g;s/;s,x,x,$//
1845 _ACEOF
1846 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1847 rm -f conftest.sed
1971 1848
1972 1849
1973 lispdir='${datadir}/emacs/${version}/lisp' 1850 lispdir='${datadir}/emacs/${version}/lisp'
1974 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1851 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1975 '${datadir}/emacs/site-lisp' 1852 '${datadir}/emacs/site-lisp'
2088 l | lu | luc | luci | lucid ) val=lucid ;; 1965 l | lu | luc | luci | lucid ) val=lucid ;;
2089 a | at | ath | athe | athen | athena ) val=athena ;; 1966 a | at | ath | athe | athen | athena ) val=athena ;;
2090 m | mo | mot | moti | motif ) val=motif ;; 1967 m | mo | mot | moti | motif ) val=motif ;;
2091 g | gt | gtk ) val=gtk ;; 1968 g | gt | gtk ) val=gtk ;;
2092 * ) 1969 * )
2093 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; 1970 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
2094 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1971 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2095 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 1972 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
2096 $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; 1973 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2097 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1974 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2098 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} 1975 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2099 { (exit 1); exit 1; }; } 1976 { (exit 1); exit 1; }; }
2100 ;; 1977 ;;
2101 esac 1978 esac
2152 with_rsvg=yes 2029 with_rsvg=yes
2153 fi 2030 fi
2154 2031
2155 2032
2156 2033
2157 # Check whether --with-freetype was given.
2158 if test "${with_freetype+set}" = set; then
2159 withval=$with_freetype;
2160 else
2161 with_freetype=yes
2162 fi
2163
2164
2165 # Check whether --with-xft was given. 2034 # Check whether --with-xft was given.
2166 if test "${with_xft+set}" = set; then 2035 if test "${with_xft+set}" = set; then
2167 withval=$with_xft; 2036 withval=$with_xft;
2168 else 2037 else
2169 with_xft=yes 2038 with_xft=yes
2248 2117
2249 2118
2250 2119
2251 # Check whether --with-gtk was given. 2120 # Check whether --with-gtk was given.
2252 if test "${with_gtk+set}" = set; then 2121 if test "${with_gtk+set}" = set; then
2253 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to 2122 withval=$with_gtk; { { echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to
2254 specify a toolkit." >&5 2123 specify a toolkit." >&5
2255 $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to 2124 echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2256 specify a toolkit." >&2;} 2125 specify a toolkit." >&2;}
2257 { (exit 1); exit 1; }; } 2126 { (exit 1); exit 1; }; }
2258 fi 2127 fi
2259 2128
2260 2129
2261 2130
2262 # Check whether --with-gcc was given. 2131 # Check whether --with-gcc was given.
2263 if test "${with_gcc+set}" = set; then 2132 if test "${with_gcc+set}" = set; then
2264 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment 2133 withval=$with_gcc; { { echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment
2265 variable to specify a compiler." >&5 2134 variable to specify a compiler." >&5
2266 $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment 2135 echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2267 variable to specify a compiler." >&2;} 2136 variable to specify a compiler." >&2;}
2268 { (exit 1); exit 1; }; } 2137 { (exit 1); exit 1; }; }
2269 fi 2138 fi
2270 2139
2271 2140
2357 esac 2226 esac
2358 2227
2359 #### Check if the source directory already has a configured system in it. 2228 #### Check if the source directory already has a configured system in it.
2360 if test `pwd` != `(cd ${srcdir} && pwd)` \ 2229 if test `pwd` != `(cd ${srcdir} && pwd)` \
2361 && test -f "${srcdir}/src/config.h" ; then 2230 && test -f "${srcdir}/src/config.h" ; then
2362 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 2231 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
2363 as a build directory right now; it has been configured in its own 2232 as a build directory right now; it has been configured in its own
2364 right. To configure in another directory as well, you MUST 2233 right. To configure in another directory as well, you MUST
2365 use GNU make. If you do not have GNU make, then you must 2234 use GNU make. If you do not have GNU make, then you must
2366 now do \`make distclean' in ${srcdir}, 2235 now do \`make distclean' in ${srcdir},
2367 and then run $0 again." >&5 2236 and then run $0 again." >&5
2368 $as_echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used 2237 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
2369 as a build directory right now; it has been configured in its own 2238 as a build directory right now; it has been configured in its own
2370 right. To configure in another directory as well, you MUST 2239 right. To configure in another directory as well, you MUST
2371 use GNU make. If you do not have GNU make, then you must 2240 use GNU make. If you do not have GNU make, then you must
2372 now do \`make distclean' in ${srcdir}, 2241 now do \`make distclean' in ${srcdir},
2373 and then run $0 again." >&2;} 2242 and then run $0 again." >&2;}
2393 ac_install_sh="$ac_aux_dir/shtool install -c" 2262 ac_install_sh="$ac_aux_dir/shtool install -c"
2394 break 2263 break
2395 fi 2264 fi
2396 done 2265 done
2397 if test -z "$ac_aux_dir"; then 2266 if test -z "$ac_aux_dir"; then
2398 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2267 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2399 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2268 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2400 { (exit 1); exit 1; }; } 2269 { (exit 1); exit 1; }; }
2401 fi 2270 fi
2402 2271
2403 # These three variables are undocumented and unsupported, 2272 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release. 2273 # and are intended to be withdrawn in a future Autoconf release.
2409 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2410 2279
2411 2280
2412 # Make sure we can run config.sub. 2281 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2282 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2283 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2415 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2284 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2416 { (exit 1); exit 1; }; } 2285 { (exit 1); exit 1; }; }
2417 2286
2418 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2287 { echo "$as_me:$LINENO: checking build system type" >&5
2419 $as_echo_n "checking build system type... " >&6; } 2288 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2420 if test "${ac_cv_build+set}" = set; then 2289 if test "${ac_cv_build+set}" = set; then
2421 $as_echo_n "(cached) " >&6 2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else 2291 else
2423 ac_build_alias=$build_alias 2292 ac_build_alias=$build_alias
2424 test "x$ac_build_alias" = x && 2293 test "x$ac_build_alias" = x &&
2425 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2294 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2426 test "x$ac_build_alias" = x && 2295 test "x$ac_build_alias" = x &&
2427 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2296 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2428 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2297 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2429 { (exit 1); exit 1; }; } 2298 { (exit 1); exit 1; }; }
2430 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2299 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2431 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2300 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2432 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2301 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2433 { (exit 1); exit 1; }; } 2302 { (exit 1); exit 1; }; }
2434 2303
2435 fi 2304 fi
2436 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2305 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2437 $as_echo "$ac_cv_build" >&6; } 2306 echo "${ECHO_T}$ac_cv_build" >&6; }
2438 case $ac_cv_build in 2307 case $ac_cv_build in
2439 *-*-*) ;; 2308 *-*-*) ;;
2440 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2309 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2441 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2310 echo "$as_me: error: invalid value of canonical build" >&2;}
2442 { (exit 1); exit 1; }; };; 2311 { (exit 1); exit 1; }; };;
2443 esac 2312 esac
2444 build=$ac_cv_build 2313 build=$ac_cv_build
2445 ac_save_IFS=$IFS; IFS='-' 2314 ac_save_IFS=$IFS; IFS='-'
2446 set x $ac_cv_build 2315 set x $ac_cv_build
2453 build_os=$* 2322 build_os=$*
2454 IFS=$ac_save_IFS 2323 IFS=$ac_save_IFS
2455 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456 2325
2457 2326
2458 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2327 { echo "$as_me:$LINENO: checking host system type" >&5
2459 $as_echo_n "checking host system type... " >&6; } 2328 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2460 if test "${ac_cv_host+set}" = set; then 2329 if test "${ac_cv_host+set}" = set; then
2461 $as_echo_n "(cached) " >&6 2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 else 2331 else
2463 if test "x$host_alias" = x; then 2332 if test "x$host_alias" = x; then
2464 ac_cv_host=$ac_cv_build 2333 ac_cv_host=$ac_cv_build
2465 else 2334 else
2466 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2335 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2467 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2336 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2468 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2337 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2469 { (exit 1); exit 1; }; } 2338 { (exit 1); exit 1; }; }
2470 fi 2339 fi
2471 2340
2472 fi 2341 fi
2473 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2342 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2474 $as_echo "$ac_cv_host" >&6; } 2343 echo "${ECHO_T}$ac_cv_host" >&6; }
2475 case $ac_cv_host in 2344 case $ac_cv_host in
2476 *-*-*) ;; 2345 *-*-*) ;;
2477 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2346 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2478 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2347 echo "$as_me: error: invalid value of canonical host" >&2;}
2479 { (exit 1); exit 1; }; };; 2348 { (exit 1); exit 1; }; };;
2480 esac 2349 esac
2481 host=$ac_cv_host 2350 host=$ac_cv_host
2482 ac_save_IFS=$IFS; IFS='-' 2351 ac_save_IFS=$IFS; IFS='-'
2483 set x $ac_cv_host 2352 set x $ac_cv_host
2555 *-*-netbsd* ) 2424 *-*-netbsd* )
2556 opsys=netbsd 2425 opsys=netbsd
2557 if test -f /usr/lib/crti.o; then 2426 if test -f /usr/lib/crti.o; then
2558 2427
2559 cat >>confdefs.h <<\_ACEOF 2428 cat >>confdefs.h <<\_ACEOF
2560 #define HAVE_CRTIN /**/ 2429 #define HAVE_CRTIN
2561 _ACEOF 2430 _ACEOF
2562 2431
2563 fi 2432 fi
2564 2433
2565 case "${canonical}" in 2434 case "${canonical}" in
2827 fi 2696 fi
2828 2697
2829 2698
2830 2699
2831 if test $unported = yes; then 2700 if test $unported = yes; then
2832 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 2701 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2833 Check \`etc/MACHINES' for recognized configuration names." >&5 2702 Check \`etc/MACHINES' for recognized configuration names." >&5
2834 $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2703 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2835 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2704 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2836 { (exit 1); exit 1; }; } 2705 { (exit 1); exit 1; }; }
2837 fi 2706 fi
2838 2707
2839 machfile="m/${machine}.h" 2708 machfile="m/${machine}.h"
2852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2853 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 if test -n "$ac_tool_prefix"; then 2723 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2856 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2725 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; } 2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then 2728 if test "${ac_cv_prog_CC+set}" = set; then
2860 $as_echo_n "(cached) " >&6 2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else 2730 else
2862 if test -n "$CC"; then 2731 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test. 2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2864 else 2733 else
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 IFS=$as_save_IFS 2737 IFS=$as_save_IFS
2869 test -z "$as_dir" && as_dir=. 2738 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do 2739 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2741 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2873 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 break 2 2743 break 2
2875 fi 2744 fi
2876 done 2745 done
2877 done 2746 done
2878 IFS=$as_save_IFS 2747 IFS=$as_save_IFS
2879 2748
2880 fi 2749 fi
2881 fi 2750 fi
2882 CC=$ac_cv_prog_CC 2751 CC=$ac_cv_prog_CC
2883 if test -n "$CC"; then 2752 if test -n "$CC"; then
2884 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2753 { echo "$as_me:$LINENO: result: $CC" >&5
2885 $as_echo "$CC" >&6; } 2754 echo "${ECHO_T}$CC" >&6; }
2886 else 2755 else
2887 { $as_echo "$as_me:$LINENO: result: no" >&5 2756 { echo "$as_me:$LINENO: result: no" >&5
2888 $as_echo "no" >&6; } 2757 echo "${ECHO_T}no" >&6; }
2889 fi 2758 fi
2890 2759
2891 2760
2892 fi 2761 fi
2893 if test -z "$ac_cv_prog_CC"; then 2762 if test -z "$ac_cv_prog_CC"; then
2894 ac_ct_CC=$CC 2763 ac_ct_CC=$CC
2895 # Extract the first word of "gcc", so it can be a program name with args. 2764 # Extract the first word of "gcc", so it can be a program name with args.
2896 set dummy gcc; ac_word=$2 2765 set dummy gcc; ac_word=$2
2897 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; } 2767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2900 $as_echo_n "(cached) " >&6 2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 else 2770 else
2902 if test -n "$ac_ct_CC"; then 2771 if test -n "$ac_ct_CC"; then
2903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2772 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2904 else 2773 else
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 IFS=$as_save_IFS 2777 IFS=$as_save_IFS
2909 test -z "$as_dir" && as_dir=. 2778 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do 2779 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_ac_ct_CC="gcc" 2781 ac_cv_prog_ac_ct_CC="gcc"
2913 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 break 2 2783 break 2
2915 fi 2784 fi
2916 done 2785 done
2917 done 2786 done
2918 IFS=$as_save_IFS 2787 IFS=$as_save_IFS
2919 2788
2920 fi 2789 fi
2921 fi 2790 fi
2922 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2923 if test -n "$ac_ct_CC"; then 2792 if test -n "$ac_ct_CC"; then
2924 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2793 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2925 $as_echo "$ac_ct_CC" >&6; } 2794 echo "${ECHO_T}$ac_ct_CC" >&6; }
2926 else 2795 else
2927 { $as_echo "$as_me:$LINENO: result: no" >&5 2796 { echo "$as_me:$LINENO: result: no" >&5
2928 $as_echo "no" >&6; } 2797 echo "${ECHO_T}no" >&6; }
2929 fi 2798 fi
2930 2799
2931 if test "x$ac_ct_CC" = x; then 2800 if test "x$ac_ct_CC" = x; then
2932 CC="" 2801 CC=""
2933 else 2802 else
2934 case $cross_compiling:$ac_tool_warned in 2803 case $cross_compiling:$ac_tool_warned in
2935 yes:) 2804 yes:)
2936 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2937 whose name does not start with the host triplet. If you think this 2806 whose name does not start with the host triplet. If you think this
2938 configuration is useful to you, please write to autoconf@gnu.org." >&5 2807 configuration is useful to you, please write to autoconf@gnu.org." >&5
2939 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2808 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2940 whose name does not start with the host triplet. If you think this 2809 whose name does not start with the host triplet. If you think this
2941 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2810 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2942 ac_tool_warned=yes ;; 2811 ac_tool_warned=yes ;;
2943 esac 2812 esac
2944 CC=$ac_ct_CC 2813 CC=$ac_ct_CC
2949 2818
2950 if test -z "$CC"; then 2819 if test -z "$CC"; then
2951 if test -n "$ac_tool_prefix"; then 2820 if test -n "$ac_tool_prefix"; then
2952 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2953 set dummy ${ac_tool_prefix}cc; ac_word=$2 2822 set dummy ${ac_tool_prefix}cc; ac_word=$2
2954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; } 2824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2956 if test "${ac_cv_prog_CC+set}" = set; then 2825 if test "${ac_cv_prog_CC+set}" = set; then
2957 $as_echo_n "(cached) " >&6 2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 else 2827 else
2959 if test -n "$CC"; then 2828 if test -n "$CC"; then
2960 ac_cv_prog_CC="$CC" # Let the user override the test. 2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 else 2830 else
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 IFS=$as_save_IFS 2834 IFS=$as_save_IFS
2966 test -z "$as_dir" && as_dir=. 2835 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do 2836 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 ac_cv_prog_CC="${ac_tool_prefix}cc" 2838 ac_cv_prog_CC="${ac_tool_prefix}cc"
2970 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 break 2 2840 break 2
2972 fi 2841 fi
2973 done 2842 done
2974 done 2843 done
2975 IFS=$as_save_IFS 2844 IFS=$as_save_IFS
2976 2845
2977 fi 2846 fi
2978 fi 2847 fi
2979 CC=$ac_cv_prog_CC 2848 CC=$ac_cv_prog_CC
2980 if test -n "$CC"; then 2849 if test -n "$CC"; then
2981 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2850 { echo "$as_me:$LINENO: result: $CC" >&5
2982 $as_echo "$CC" >&6; } 2851 echo "${ECHO_T}$CC" >&6; }
2983 else 2852 else
2984 { $as_echo "$as_me:$LINENO: result: no" >&5 2853 { echo "$as_me:$LINENO: result: no" >&5
2985 $as_echo "no" >&6; } 2854 echo "${ECHO_T}no" >&6; }
2986 fi 2855 fi
2987 2856
2988 2857
2989 fi 2858 fi
2990 fi 2859 fi
2991 if test -z "$CC"; then 2860 if test -z "$CC"; then
2992 # Extract the first word of "cc", so it can be a program name with args. 2861 # Extract the first word of "cc", so it can be a program name with args.
2993 set dummy cc; ac_word=$2 2862 set dummy cc; ac_word=$2
2994 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; } 2864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2996 if test "${ac_cv_prog_CC+set}" = set; then 2865 if test "${ac_cv_prog_CC+set}" = set; then
2997 $as_echo_n "(cached) " >&6 2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 else 2867 else
2999 if test -n "$CC"; then 2868 if test -n "$CC"; then
3000 ac_cv_prog_CC="$CC" # Let the user override the test. 2869 ac_cv_prog_CC="$CC" # Let the user override the test.
3001 else 2870 else
3002 ac_prog_rejected=no 2871 ac_prog_rejected=no
3010 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3011 ac_prog_rejected=yes 2880 ac_prog_rejected=yes
3012 continue 2881 continue
3013 fi 2882 fi
3014 ac_cv_prog_CC="cc" 2883 ac_cv_prog_CC="cc"
3015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 break 2 2885 break 2
3017 fi 2886 fi
3018 done 2887 done
3019 done 2888 done
3020 IFS=$as_save_IFS 2889 IFS=$as_save_IFS
3033 fi 2902 fi
3034 fi 2903 fi
3035 fi 2904 fi
3036 CC=$ac_cv_prog_CC 2905 CC=$ac_cv_prog_CC
3037 if test -n "$CC"; then 2906 if test -n "$CC"; then
3038 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2907 { echo "$as_me:$LINENO: result: $CC" >&5
3039 $as_echo "$CC" >&6; } 2908 echo "${ECHO_T}$CC" >&6; }
3040 else 2909 else
3041 { $as_echo "$as_me:$LINENO: result: no" >&5 2910 { echo "$as_me:$LINENO: result: no" >&5
3042 $as_echo "no" >&6; } 2911 echo "${ECHO_T}no" >&6; }
3043 fi 2912 fi
3044 2913
3045 2914
3046 fi 2915 fi
3047 if test -z "$CC"; then 2916 if test -z "$CC"; then
3048 if test -n "$ac_tool_prefix"; then 2917 if test -n "$ac_tool_prefix"; then
3049 for ac_prog in cl.exe 2918 for ac_prog in cl.exe
3050 do 2919 do
3051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3053 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3054 $as_echo_n "checking for $ac_word... " >&6; } 2923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3055 if test "${ac_cv_prog_CC+set}" = set; then 2924 if test "${ac_cv_prog_CC+set}" = set; then
3056 $as_echo_n "(cached) " >&6 2925 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 else 2926 else
3058 if test -n "$CC"; then 2927 if test -n "$CC"; then
3059 ac_cv_prog_CC="$CC" # Let the user override the test. 2928 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 else 2929 else
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 IFS=$as_save_IFS 2933 IFS=$as_save_IFS
3065 test -z "$as_dir" && as_dir=. 2934 test -z "$as_dir" && as_dir=.
3066 for ac_exec_ext in '' $ac_executable_extensions; do 2935 for ac_exec_ext in '' $ac_executable_extensions; do
3067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3068 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3069 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 break 2 2939 break 2
3071 fi 2940 fi
3072 done 2941 done
3073 done 2942 done
3074 IFS=$as_save_IFS 2943 IFS=$as_save_IFS
3075 2944
3076 fi 2945 fi
3077 fi 2946 fi
3078 CC=$ac_cv_prog_CC 2947 CC=$ac_cv_prog_CC
3079 if test -n "$CC"; then 2948 if test -n "$CC"; then
3080 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2949 { echo "$as_me:$LINENO: result: $CC" >&5
3081 $as_echo "$CC" >&6; } 2950 echo "${ECHO_T}$CC" >&6; }
3082 else 2951 else
3083 { $as_echo "$as_me:$LINENO: result: no" >&5 2952 { echo "$as_me:$LINENO: result: no" >&5
3084 $as_echo "no" >&6; } 2953 echo "${ECHO_T}no" >&6; }
3085 fi 2954 fi
3086 2955
3087 2956
3088 test -n "$CC" && break 2957 test -n "$CC" && break
3089 done 2958 done
3092 ac_ct_CC=$CC 2961 ac_ct_CC=$CC
3093 for ac_prog in cl.exe 2962 for ac_prog in cl.exe
3094 do 2963 do
3095 # Extract the first word of "$ac_prog", so it can be a program name with args. 2964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3096 set dummy $ac_prog; ac_word=$2 2965 set dummy $ac_prog; ac_word=$2
3097 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; } 2967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3099 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3100 $as_echo_n "(cached) " >&6 2969 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 else 2970 else
3102 if test -n "$ac_ct_CC"; then 2971 if test -n "$ac_ct_CC"; then
3103 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3104 else 2973 else
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 IFS=$as_save_IFS 2977 IFS=$as_save_IFS
3109 test -z "$as_dir" && as_dir=. 2978 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do 2979 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_ac_ct_CC="$ac_prog" 2981 ac_cv_prog_ac_ct_CC="$ac_prog"
3113 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 break 2 2983 break 2
3115 fi 2984 fi
3116 done 2985 done
3117 done 2986 done
3118 IFS=$as_save_IFS 2987 IFS=$as_save_IFS
3119 2988
3120 fi 2989 fi
3121 fi 2990 fi
3122 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3123 if test -n "$ac_ct_CC"; then 2992 if test -n "$ac_ct_CC"; then
3124 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2993 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3125 $as_echo "$ac_ct_CC" >&6; } 2994 echo "${ECHO_T}$ac_ct_CC" >&6; }
3126 else 2995 else
3127 { $as_echo "$as_me:$LINENO: result: no" >&5 2996 { echo "$as_me:$LINENO: result: no" >&5
3128 $as_echo "no" >&6; } 2997 echo "${ECHO_T}no" >&6; }
3129 fi 2998 fi
3130 2999
3131 3000
3132 test -n "$ac_ct_CC" && break 3001 test -n "$ac_ct_CC" && break
3133 done 3002 done
3135 if test "x$ac_ct_CC" = x; then 3004 if test "x$ac_ct_CC" = x; then
3136 CC="" 3005 CC=""
3137 else 3006 else
3138 case $cross_compiling:$ac_tool_warned in 3007 case $cross_compiling:$ac_tool_warned in
3139 yes:) 3008 yes:)
3140 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3141 whose name does not start with the host triplet. If you think this 3010 whose name does not start with the host triplet. If you think this
3142 configuration is useful to you, please write to autoconf@gnu.org." >&5 3011 configuration is useful to you, please write to autoconf@gnu.org." >&5
3143 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3144 whose name does not start with the host triplet. If you think this 3013 whose name does not start with the host triplet. If you think this
3145 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3146 ac_tool_warned=yes ;; 3015 ac_tool_warned=yes ;;
3147 esac 3016 esac
3148 CC=$ac_ct_CC 3017 CC=$ac_ct_CC
3150 fi 3019 fi
3151 3020
3152 fi 3021 fi
3153 3022
3154 3023
3155 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3024 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3156 See \`config.log' for more details." >&5 3025 See \`config.log' for more details." >&5
3157 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3026 echo "$as_me: error: no acceptable C compiler found in \$PATH
3158 See \`config.log' for more details." >&2;} 3027 See \`config.log' for more details." >&2;}
3159 { (exit 1); exit 1; }; } 3028 { (exit 1); exit 1; }; }
3160 3029
3161 # Provide some information about the compiler. 3030 # Provide some information about the compiler.
3162 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3031 echo "$as_me:$LINENO: checking for C compiler version" >&5
3163 set X $ac_compile 3032 ac_compiler=`set X $ac_compile; echo $2`
3164 ac_compiler=$2
3165 { (ac_try="$ac_compiler --version >&5" 3033 { (ac_try="$ac_compiler --version >&5"
3166 case "(($ac_try" in 3034 case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;; 3036 *) ac_try_echo=$ac_try;;
3169 esac 3037 esac
3170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 $as_echo "$ac_try_echo") >&5
3172 (eval "$ac_compiler --version >&5") 2>&5 3039 (eval "$ac_compiler --version >&5") 2>&5
3173 ac_status=$? 3040 ac_status=$?
3174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } 3042 (exit $ac_status); }
3176 { (ac_try="$ac_compiler -v >&5" 3043 { (ac_try="$ac_compiler -v >&5"
3177 case "(($ac_try" in 3044 case "(($ac_try" in
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179 *) ac_try_echo=$ac_try;; 3046 *) ac_try_echo=$ac_try;;
3180 esac 3047 esac
3181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3182 $as_echo "$ac_try_echo") >&5
3183 (eval "$ac_compiler -v >&5") 2>&5 3049 (eval "$ac_compiler -v >&5") 2>&5
3184 ac_status=$? 3050 ac_status=$?
3185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } 3052 (exit $ac_status); }
3187 { (ac_try="$ac_compiler -V >&5" 3053 { (ac_try="$ac_compiler -V >&5"
3188 case "(($ac_try" in 3054 case "(($ac_try" in
3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;; 3056 *) ac_try_echo=$ac_try;;
3191 esac 3057 esac
3192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193 $as_echo "$ac_try_echo") >&5
3194 (eval "$ac_compiler -V >&5") 2>&5 3059 (eval "$ac_compiler -V >&5") 2>&5
3195 ac_status=$? 3060 ac_status=$?
3196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } 3062 (exit $ac_status); }
3198 3063
3199 cat >conftest.$ac_ext <<_ACEOF 3064 cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h. */ 3065 /* confdefs.h. */
3201 _ACEOF 3066 _ACEOF
3210 ; 3075 ;
3211 return 0; 3076 return 0;
3212 } 3077 }
3213 _ACEOF 3078 _ACEOF
3214 ac_clean_files_save=$ac_clean_files 3079 ac_clean_files_save=$ac_clean_files
3215 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3080 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3216 # Try to create an executable without -o first, disregard a.out. 3081 # Try to create an executable without -o first, disregard a.out.
3217 # It will help us diagnose broken compilers, and finding out an intuition 3082 # It will help us diagnose broken compilers, and finding out an intuition
3218 # of exeext. 3083 # of exeext.
3219 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3084 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3220 $as_echo_n "checking for C compiler default output file name... " >&6; } 3085 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3221 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3086 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3222 3087 #
3223 # The possible output files: 3088 # List of possible output files, starting from the most likely.
3224 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3089 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3225 3090 # only as a last resort. b.out is created by i960 compilers.
3091 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3092 #
3093 # The IRIX 6 linker writes into existing files which may not be
3094 # executable, retaining their permissions. Remove them first so a
3095 # subsequent execution test works.
3226 ac_rmfiles= 3096 ac_rmfiles=
3227 for ac_file in $ac_files 3097 for ac_file in $ac_files
3228 do 3098 do
3229 case $ac_file in 3099 case $ac_file in
3230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3231 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3232 esac 3102 esac
3233 done 3103 done
3234 rm -f $ac_rmfiles 3104 rm -f $ac_rmfiles
3235 3105
3236 if { (ac_try="$ac_link_default" 3106 if { (ac_try="$ac_link_default"
3237 case "(($ac_try" in 3107 case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;; 3109 *) ac_try_echo=$ac_try;;
3240 esac 3110 esac
3241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242 $as_echo "$ac_try_echo") >&5
3243 (eval "$ac_link_default") 2>&5 3112 (eval "$ac_link_default") 2>&5
3244 ac_status=$? 3113 ac_status=$?
3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; then 3115 (exit $ac_status); }; then
3247 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3248 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3249 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3250 # so that the user can short-circuit this test for compilers unknown to 3119 # so that the user can short-circuit this test for compilers unknown to
3251 # Autoconf. 3120 # Autoconf.
3252 for ac_file in $ac_files '' 3121 for ac_file in $ac_files ''
3253 do 3122 do
3254 test -f "$ac_file" || continue 3123 test -f "$ac_file" || continue
3255 case $ac_file in 3124 case $ac_file in
3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3257 ;; 3126 ;;
3258 [ab].out ) 3127 [ab].out )
3259 # We found the default executable, but exeext='' is most 3128 # We found the default executable, but exeext='' is most
3260 # certainly right. 3129 # certainly right.
3261 break;; 3130 break;;
3278 3147
3279 else 3148 else
3280 ac_file='' 3149 ac_file=''
3281 fi 3150 fi
3282 3151
3283 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3152 { echo "$as_me:$LINENO: result: $ac_file" >&5
3284 $as_echo "$ac_file" >&6; } 3153 echo "${ECHO_T}$ac_file" >&6; }
3285 if test -z "$ac_file"; then 3154 if test -z "$ac_file"; then
3286 $as_echo "$as_me: failed program was:" >&5 3155 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5 3156 sed 's/^/| /' conftest.$ac_ext >&5
3288 3157
3289 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3158 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3290 See \`config.log' for more details." >&5 3159 See \`config.log' for more details." >&5
3291 $as_echo "$as_me: error: C compiler cannot create executables 3160 echo "$as_me: error: C compiler cannot create executables
3292 See \`config.log' for more details." >&2;} 3161 See \`config.log' for more details." >&2;}
3293 { (exit 77); exit 77; }; } 3162 { (exit 77); exit 77; }; }
3294 fi 3163 fi
3295 3164
3296 ac_exeext=$ac_cv_exeext 3165 ac_exeext=$ac_cv_exeext
3297 3166
3298 # Check that the compiler produces executables we can run. If not, either 3167 # Check that the compiler produces executables we can run. If not, either
3299 # the compiler is broken, or we cross compile. 3168 # the compiler is broken, or we cross compile.
3300 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3169 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3301 $as_echo_n "checking whether the C compiler works... " >&6; } 3170 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3302 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3171 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3303 # If not cross compiling, check that we can run a simple program. 3172 # If not cross compiling, check that we can run a simple program.
3304 if test "$cross_compiling" != yes; then 3173 if test "$cross_compiling" != yes; then
3305 if { ac_try='./$ac_file' 3174 if { ac_try='./$ac_file'
3306 { (case "(($ac_try" in 3175 { (case "(($ac_try" in
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;; 3177 *) ac_try_echo=$ac_try;;
3309 esac 3178 esac
3310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3311 $as_echo "$ac_try_echo") >&5
3312 (eval "$ac_try") 2>&5 3180 (eval "$ac_try") 2>&5
3313 ac_status=$? 3181 ac_status=$?
3314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then 3183 (exit $ac_status); }; }; then
3316 cross_compiling=no 3184 cross_compiling=no
3317 else 3185 else
3318 if test "$cross_compiling" = maybe; then 3186 if test "$cross_compiling" = maybe; then
3319 cross_compiling=yes 3187 cross_compiling=yes
3320 else 3188 else
3321 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3189 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3322 If you meant to cross compile, use \`--host'. 3190 If you meant to cross compile, use \`--host'.
3323 See \`config.log' for more details." >&5 3191 See \`config.log' for more details." >&5
3324 $as_echo "$as_me: error: cannot run C compiled programs. 3192 echo "$as_me: error: cannot run C compiled programs.
3325 If you meant to cross compile, use \`--host'. 3193 If you meant to cross compile, use \`--host'.
3326 See \`config.log' for more details." >&2;} 3194 See \`config.log' for more details." >&2;}
3327 { (exit 1); exit 1; }; } 3195 { (exit 1); exit 1; }; }
3328 fi 3196 fi
3329 fi 3197 fi
3330 fi 3198 fi
3331 { $as_echo "$as_me:$LINENO: result: yes" >&5 3199 { echo "$as_me:$LINENO: result: yes" >&5
3332 $as_echo "yes" >&6; } 3200 echo "${ECHO_T}yes" >&6; }
3333 3201
3334 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3202 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3335 ac_clean_files=$ac_clean_files_save 3203 ac_clean_files=$ac_clean_files_save
3336 # Check that the compiler produces executables we can run. If not, either 3204 # Check that the compiler produces executables we can run. If not, either
3337 # the compiler is broken, or we cross compile. 3205 # the compiler is broken, or we cross compile.
3338 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3206 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3339 $as_echo_n "checking whether we are cross compiling... " >&6; } 3207 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3340 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3208 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3341 $as_echo "$cross_compiling" >&6; } 3209 echo "${ECHO_T}$cross_compiling" >&6; }
3342 3210
3343 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3211 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3344 $as_echo_n "checking for suffix of executables... " >&6; } 3212 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3345 if { (ac_try="$ac_link" 3213 if { (ac_try="$ac_link"
3346 case "(($ac_try" in 3214 case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;; 3216 *) ac_try_echo=$ac_try;;
3349 esac 3217 esac
3350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 $as_echo "$ac_try_echo") >&5
3352 (eval "$ac_link") 2>&5 3219 (eval "$ac_link") 2>&5
3353 ac_status=$? 3220 ac_status=$?
3354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; then 3222 (exit $ac_status); }; then
3356 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3223 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3224 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3358 # work properly (i.e., refer to `conftest.exe'), while it won't with 3225 # work properly (i.e., refer to `conftest.exe'), while it won't with
3359 # `rm'. 3226 # `rm'.
3360 for ac_file in conftest.exe conftest conftest.*; do 3227 for ac_file in conftest.exe conftest conftest.*; do
3361 test -f "$ac_file" || continue 3228 test -f "$ac_file" || continue
3362 case $ac_file in 3229 case $ac_file in
3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3365 break;; 3232 break;;
3366 * ) break;; 3233 * ) break;;
3367 esac 3234 esac
3368 done 3235 done
3369 else 3236 else
3370 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3237 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3371 See \`config.log' for more details." >&5 3238 See \`config.log' for more details." >&5
3372 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3239 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3373 See \`config.log' for more details." >&2;} 3240 See \`config.log' for more details." >&2;}
3374 { (exit 1); exit 1; }; } 3241 { (exit 1); exit 1; }; }
3375 fi 3242 fi
3376 3243
3377 rm -f conftest$ac_cv_exeext 3244 rm -f conftest$ac_cv_exeext
3378 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3245 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3379 $as_echo "$ac_cv_exeext" >&6; } 3246 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3380 3247
3381 rm -f conftest.$ac_ext 3248 rm -f conftest.$ac_ext
3382 EXEEXT=$ac_cv_exeext 3249 EXEEXT=$ac_cv_exeext
3383 ac_exeext=$EXEEXT 3250 ac_exeext=$EXEEXT
3384 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3251 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3385 $as_echo_n "checking for suffix of object files... " >&6; } 3252 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3386 if test "${ac_cv_objext+set}" = set; then 3253 if test "${ac_cv_objext+set}" = set; then
3387 $as_echo_n "(cached) " >&6 3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 else 3255 else
3389 cat >conftest.$ac_ext <<_ACEOF 3256 cat >conftest.$ac_ext <<_ACEOF
3390 /* confdefs.h. */ 3257 /* confdefs.h. */
3391 _ACEOF 3258 _ACEOF
3392 cat confdefs.h >>conftest.$ac_ext 3259 cat confdefs.h >>conftest.$ac_ext
3405 if { (ac_try="$ac_compile" 3272 if { (ac_try="$ac_compile"
3406 case "(($ac_try" in 3273 case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;; 3275 *) ac_try_echo=$ac_try;;
3409 esac 3276 esac
3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 $as_echo "$ac_try_echo") >&5
3412 (eval "$ac_compile") 2>&5 3278 (eval "$ac_compile") 2>&5
3413 ac_status=$? 3279 ac_status=$?
3414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; then 3281 (exit $ac_status); }; then
3416 for ac_file in conftest.o conftest.obj conftest.*; do 3282 for ac_file in conftest.o conftest.obj conftest.*; do
3417 test -f "$ac_file" || continue; 3283 test -f "$ac_file" || continue;
3418 case $ac_file in 3284 case $ac_file in
3419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3421 break;; 3287 break;;
3422 esac 3288 esac
3423 done 3289 done
3424 else 3290 else
3425 $as_echo "$as_me: failed program was:" >&5 3291 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5 3292 sed 's/^/| /' conftest.$ac_ext >&5
3427 3293
3428 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3294 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3429 See \`config.log' for more details." >&5 3295 See \`config.log' for more details." >&5
3430 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3296 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3431 See \`config.log' for more details." >&2;} 3297 See \`config.log' for more details." >&2;}
3432 { (exit 1); exit 1; }; } 3298 { (exit 1); exit 1; }; }
3433 fi 3299 fi
3434 3300
3435 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3436 fi 3302 fi
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3303 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3438 $as_echo "$ac_cv_objext" >&6; } 3304 echo "${ECHO_T}$ac_cv_objext" >&6; }
3439 OBJEXT=$ac_cv_objext 3305 OBJEXT=$ac_cv_objext
3440 ac_objext=$OBJEXT 3306 ac_objext=$OBJEXT
3441 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3307 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3442 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3443 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3444 $as_echo_n "(cached) " >&6 3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 else 3311 else
3446 cat >conftest.$ac_ext <<_ACEOF 3312 cat >conftest.$ac_ext <<_ACEOF
3447 /* confdefs.h. */ 3313 /* confdefs.h. */
3448 _ACEOF 3314 _ACEOF
3449 cat confdefs.h >>conftest.$ac_ext 3315 cat confdefs.h >>conftest.$ac_ext
3465 if { (ac_try="$ac_compile" 3331 if { (ac_try="$ac_compile"
3466 case "(($ac_try" in 3332 case "(($ac_try" in
3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;; 3334 *) ac_try_echo=$ac_try;;
3469 esac 3335 esac
3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3471 $as_echo "$ac_try_echo") >&5
3472 (eval "$ac_compile") 2>conftest.er1 3337 (eval "$ac_compile") 2>conftest.er1
3473 ac_status=$? 3338 ac_status=$?
3474 grep -v '^ *+' conftest.er1 >conftest.err 3339 grep -v '^ *+' conftest.er1 >conftest.err
3475 rm -f conftest.er1 3340 rm -f conftest.er1
3476 cat conftest.err >&5 3341 cat conftest.err >&5
3477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } && { 3343 (exit $ac_status); } && {
3479 test -z "$ac_c_werror_flag" || 3344 test -z "$ac_c_werror_flag" ||
3480 test ! -s conftest.err 3345 test ! -s conftest.err
3481 } && test -s conftest.$ac_objext; then 3346 } && test -s conftest.$ac_objext; then
3482 ac_compiler_gnu=yes 3347 ac_compiler_gnu=yes
3483 else 3348 else
3484 $as_echo "$as_me: failed program was:" >&5 3349 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5 3350 sed 's/^/| /' conftest.$ac_ext >&5
3486 3351
3487 ac_compiler_gnu=no 3352 ac_compiler_gnu=no
3488 fi 3353 fi
3489 3354
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3356 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3492 3357
3493 fi 3358 fi
3494 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3359 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3495 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3360 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3496 if test $ac_compiler_gnu = yes; then 3361 GCC=`test $ac_compiler_gnu = yes && echo yes`
3497 GCC=yes
3498 else
3499 GCC=
3500 fi
3501 ac_test_CFLAGS=${CFLAGS+set} 3362 ac_test_CFLAGS=${CFLAGS+set}
3502 ac_save_CFLAGS=$CFLAGS 3363 ac_save_CFLAGS=$CFLAGS
3503 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3364 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3504 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3365 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3505 if test "${ac_cv_prog_cc_g+set}" = set; then 3366 if test "${ac_cv_prog_cc_g+set}" = set; then
3506 $as_echo_n "(cached) " >&6 3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 else 3368 else
3508 ac_save_c_werror_flag=$ac_c_werror_flag 3369 ac_save_c_werror_flag=$ac_c_werror_flag
3509 ac_c_werror_flag=yes 3370 ac_c_werror_flag=yes
3510 ac_cv_prog_cc_g=no 3371 ac_cv_prog_cc_g=no
3511 CFLAGS="-g" 3372 CFLAGS="-g"
3528 if { (ac_try="$ac_compile" 3389 if { (ac_try="$ac_compile"
3529 case "(($ac_try" in 3390 case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;; 3392 *) ac_try_echo=$ac_try;;
3532 esac 3393 esac
3533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 $as_echo "$ac_try_echo") >&5
3535 (eval "$ac_compile") 2>conftest.er1 3395 (eval "$ac_compile") 2>conftest.er1
3536 ac_status=$? 3396 ac_status=$?
3537 grep -v '^ *+' conftest.er1 >conftest.err 3397 grep -v '^ *+' conftest.er1 >conftest.err
3538 rm -f conftest.er1 3398 rm -f conftest.er1
3539 cat conftest.err >&5 3399 cat conftest.err >&5
3540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } && { 3401 (exit $ac_status); } && {
3542 test -z "$ac_c_werror_flag" || 3402 test -z "$ac_c_werror_flag" ||
3543 test ! -s conftest.err 3403 test ! -s conftest.err
3544 } && test -s conftest.$ac_objext; then 3404 } && test -s conftest.$ac_objext; then
3545 ac_cv_prog_cc_g=yes 3405 ac_cv_prog_cc_g=yes
3546 else 3406 else
3547 $as_echo "$as_me: failed program was:" >&5 3407 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5 3408 sed 's/^/| /' conftest.$ac_ext >&5
3549 3409
3550 CFLAGS="" 3410 CFLAGS=""
3551 cat >conftest.$ac_ext <<_ACEOF 3411 cat >conftest.$ac_ext <<_ACEOF
3552 /* confdefs.h. */ 3412 /* confdefs.h. */
3567 if { (ac_try="$ac_compile" 3427 if { (ac_try="$ac_compile"
3568 case "(($ac_try" in 3428 case "(($ac_try" in
3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;; 3430 *) ac_try_echo=$ac_try;;
3571 esac 3431 esac
3572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3573 $as_echo "$ac_try_echo") >&5
3574 (eval "$ac_compile") 2>conftest.er1 3433 (eval "$ac_compile") 2>conftest.er1
3575 ac_status=$? 3434 ac_status=$?
3576 grep -v '^ *+' conftest.er1 >conftest.err 3435 grep -v '^ *+' conftest.er1 >conftest.err
3577 rm -f conftest.er1 3436 rm -f conftest.er1
3578 cat conftest.err >&5 3437 cat conftest.err >&5
3579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } && { 3439 (exit $ac_status); } && {
3581 test -z "$ac_c_werror_flag" || 3440 test -z "$ac_c_werror_flag" ||
3582 test ! -s conftest.err 3441 test ! -s conftest.err
3583 } && test -s conftest.$ac_objext; then 3442 } && test -s conftest.$ac_objext; then
3584 : 3443 :
3585 else 3444 else
3586 $as_echo "$as_me: failed program was:" >&5 3445 echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5 3446 sed 's/^/| /' conftest.$ac_ext >&5
3588 3447
3589 ac_c_werror_flag=$ac_save_c_werror_flag 3448 ac_c_werror_flag=$ac_save_c_werror_flag
3590 CFLAGS="-g" 3449 CFLAGS="-g"
3591 cat >conftest.$ac_ext <<_ACEOF 3450 cat >conftest.$ac_ext <<_ACEOF
3607 if { (ac_try="$ac_compile" 3466 if { (ac_try="$ac_compile"
3608 case "(($ac_try" in 3467 case "(($ac_try" in
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;; 3469 *) ac_try_echo=$ac_try;;
3611 esac 3470 esac
3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613 $as_echo "$ac_try_echo") >&5
3614 (eval "$ac_compile") 2>conftest.er1 3472 (eval "$ac_compile") 2>conftest.er1
3615 ac_status=$? 3473 ac_status=$?
3616 grep -v '^ *+' conftest.er1 >conftest.err 3474 grep -v '^ *+' conftest.er1 >conftest.err
3617 rm -f conftest.er1 3475 rm -f conftest.er1
3618 cat conftest.err >&5 3476 cat conftest.err >&5
3619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } && { 3478 (exit $ac_status); } && {
3621 test -z "$ac_c_werror_flag" || 3479 test -z "$ac_c_werror_flag" ||
3622 test ! -s conftest.err 3480 test ! -s conftest.err
3623 } && test -s conftest.$ac_objext; then 3481 } && test -s conftest.$ac_objext; then
3624 ac_cv_prog_cc_g=yes 3482 ac_cv_prog_cc_g=yes
3625 else 3483 else
3626 $as_echo "$as_me: failed program was:" >&5 3484 echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5 3485 sed 's/^/| /' conftest.$ac_ext >&5
3628 3486
3629 3487
3630 fi 3488 fi
3631 3489
3636 fi 3494 fi
3637 3495
3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639 ac_c_werror_flag=$ac_save_c_werror_flag 3497 ac_c_werror_flag=$ac_save_c_werror_flag
3640 fi 3498 fi
3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3499 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3642 $as_echo "$ac_cv_prog_cc_g" >&6; } 3500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3643 if test "$ac_test_CFLAGS" = set; then 3501 if test "$ac_test_CFLAGS" = set; then
3644 CFLAGS=$ac_save_CFLAGS 3502 CFLAGS=$ac_save_CFLAGS
3645 elif test $ac_cv_prog_cc_g = yes; then 3503 elif test $ac_cv_prog_cc_g = yes; then
3646 if test "$GCC" = yes; then 3504 if test "$GCC" = yes; then
3647 CFLAGS="-g -O2" 3505 CFLAGS="-g -O2"
3653 CFLAGS="-O2" 3511 CFLAGS="-O2"
3654 else 3512 else
3655 CFLAGS= 3513 CFLAGS=
3656 fi 3514 fi
3657 fi 3515 fi
3658 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3516 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3659 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3517 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3660 if test "${ac_cv_prog_cc_c89+set}" = set; then 3518 if test "${ac_cv_prog_cc_c89+set}" = set; then
3661 $as_echo_n "(cached) " >&6 3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else 3520 else
3663 ac_cv_prog_cc_c89=no 3521 ac_cv_prog_cc_c89=no
3664 ac_save_CC=$CC 3522 ac_save_CC=$CC
3665 cat >conftest.$ac_ext <<_ACEOF 3523 cat >conftest.$ac_ext <<_ACEOF
3666 /* confdefs.h. */ 3524 /* confdefs.h. */
3727 if { (ac_try="$ac_compile" 3585 if { (ac_try="$ac_compile"
3728 case "(($ac_try" in 3586 case "(($ac_try" in
3729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3730 *) ac_try_echo=$ac_try;; 3588 *) ac_try_echo=$ac_try;;
3731 esac 3589 esac
3732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3733 $as_echo "$ac_try_echo") >&5
3734 (eval "$ac_compile") 2>conftest.er1 3591 (eval "$ac_compile") 2>conftest.er1
3735 ac_status=$? 3592 ac_status=$?
3736 grep -v '^ *+' conftest.er1 >conftest.err 3593 grep -v '^ *+' conftest.er1 >conftest.err
3737 rm -f conftest.er1 3594 rm -f conftest.er1
3738 cat conftest.err >&5 3595 cat conftest.err >&5
3739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } && { 3597 (exit $ac_status); } && {
3741 test -z "$ac_c_werror_flag" || 3598 test -z "$ac_c_werror_flag" ||
3742 test ! -s conftest.err 3599 test ! -s conftest.err
3743 } && test -s conftest.$ac_objext; then 3600 } && test -s conftest.$ac_objext; then
3744 ac_cv_prog_cc_c89=$ac_arg 3601 ac_cv_prog_cc_c89=$ac_arg
3745 else 3602 else
3746 $as_echo "$as_me: failed program was:" >&5 3603 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5 3604 sed 's/^/| /' conftest.$ac_ext >&5
3748 3605
3749 3606
3750 fi 3607 fi
3751 3608
3757 3614
3758 fi 3615 fi
3759 # AC_CACHE_VAL 3616 # AC_CACHE_VAL
3760 case "x$ac_cv_prog_cc_c89" in 3617 case "x$ac_cv_prog_cc_c89" in
3761 x) 3618 x)
3762 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3619 { echo "$as_me:$LINENO: result: none needed" >&5
3763 $as_echo "none needed" >&6; } ;; 3620 echo "${ECHO_T}none needed" >&6; } ;;
3764 xno) 3621 xno)
3765 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3622 { echo "$as_me:$LINENO: result: unsupported" >&5
3766 $as_echo "unsupported" >&6; } ;; 3623 echo "${ECHO_T}unsupported" >&6; } ;;
3767 *) 3624 *)
3768 CC="$CC $ac_cv_prog_cc_c89" 3625 CC="$CC $ac_cv_prog_cc_c89"
3769 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3626 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3770 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3627 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3771 esac 3628 esac
3772 3629
3773 3630
3774 ac_ext=c 3631 ac_ext=c
3775 ac_cpp='$CPP $CPPFLAGS' 3632 ac_cpp='$CPP $CPPFLAGS'
3785 3642
3786 ## If not using gcc, and on Solaris, and no CPP specified, see if 3643 ## If not using gcc, and on Solaris, and no CPP specified, see if
3787 ## using a Sun compiler, which needs -Xs to prevent whitespace. 3644 ## using a Sun compiler, which needs -Xs to prevent whitespace.
3788 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 3645 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
3789 test x"$CPP" = x; then 3646 test x"$CPP" = x; then
3790 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 3647 { echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5
3791 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 3648 echo $ECHO_N "checking whether we are using a Sun C compiler... $ECHO_C" >&6; }
3792 3649
3793 if test "${emacs_cv_sunpro_c+set}" = set; then 3650 if test "${emacs_cv_sunpro_c+set}" = set; then
3794 $as_echo_n "(cached) " >&6 3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 else 3652 else
3796 cat >conftest.$ac_ext <<_ACEOF 3653 cat >conftest.$ac_ext <<_ACEOF
3797 /* confdefs.h. */ 3654 /* confdefs.h. */
3798 _ACEOF 3655 _ACEOF
3799 cat confdefs.h >>conftest.$ac_ext 3656 cat confdefs.h >>conftest.$ac_ext
3815 if { (ac_try="$ac_link" 3672 if { (ac_try="$ac_link"
3816 case "(($ac_try" in 3673 case "(($ac_try" in
3817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;; 3675 *) ac_try_echo=$ac_try;;
3819 esac 3676 esac
3820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821 $as_echo "$ac_try_echo") >&5
3822 (eval "$ac_link") 2>conftest.er1 3678 (eval "$ac_link") 2>conftest.er1
3823 ac_status=$? 3679 ac_status=$?
3824 grep -v '^ *+' conftest.er1 >conftest.err 3680 grep -v '^ *+' conftest.er1 >conftest.err
3825 rm -f conftest.er1 3681 rm -f conftest.er1
3826 cat conftest.err >&5 3682 cat conftest.err >&5
3827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } && { 3684 (exit $ac_status); } && {
3829 test -z "$ac_c_werror_flag" || 3685 test -z "$ac_c_werror_flag" ||
3830 test ! -s conftest.err 3686 test ! -s conftest.err
3831 } && test -s conftest$ac_exeext && { 3687 } && test -s conftest$ac_exeext &&
3832 test "$cross_compiling" = yes || 3688 $as_test_x conftest$ac_exeext; then
3833 $as_test_x conftest$ac_exeext
3834 }; then
3835 emacs_cv_sunpro_c=yes 3689 emacs_cv_sunpro_c=yes
3836 else 3690 else
3837 $as_echo "$as_me: failed program was:" >&5 3691 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.$ac_ext >&5 3692 sed 's/^/| /' conftest.$ac_ext >&5
3839 3693
3840 emacs_cv_sunpro_c=no 3694 emacs_cv_sunpro_c=no
3841 fi 3695 fi
3842 3696
3843 rm -rf conftest.dSYM
3844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3845 conftest$ac_exeext conftest.$ac_ext 3698 conftest$ac_exeext conftest.$ac_ext
3846 fi 3699 fi
3847 3700
3848 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 3701 { echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5
3849 $as_echo "$emacs_cv_sunpro_c" >&6; } 3702 echo "${ECHO_T}$emacs_cv_sunpro_c" >&6; }
3850 3703
3851 if test x"$emacs_cv_sunpro_c" = xyes; then 3704 if test x"$emacs_cv_sunpro_c" = xyes; then
3852 NON_GNU_CPP="$CC -E -Xs" 3705 NON_GNU_CPP="$CC -E -Xs"
3853 fi 3706 fi
3854 fi 3707 fi
3878 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x 3731 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
3879 then 3732 then
3880 CC="$CC $NON_GCC_TEST_OPTIONS" 3733 CC="$CC $NON_GCC_TEST_OPTIONS"
3881 fi 3734 fi
3882 3735
3736
3737 cat >>confdefs.h <<\_ACEOF
3738 #define _GNU_SOURCE 1
3739 _ACEOF
3740
3741
3883 ac_ext=c 3742 ac_ext=c
3884 ac_cpp='$CPP $CPPFLAGS' 3743 ac_cpp='$CPP $CPPFLAGS'
3885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3887 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3888 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3747 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3889 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3748 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3890 # On Suns, sometimes $CPP names a directory. 3749 # On Suns, sometimes $CPP names a directory.
3891 if test -n "$CPP" && test -d "$CPP"; then 3750 if test -n "$CPP" && test -d "$CPP"; then
3892 CPP= 3751 CPP=
3893 fi 3752 fi
3894 if test -z "$CPP"; then 3753 if test -z "$CPP"; then
3895 if test "${ac_cv_prog_CPP+set}" = set; then 3754 if test "${ac_cv_prog_CPP+set}" = set; then
3896 $as_echo_n "(cached) " >&6 3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else 3756 else
3898 # Double quotes because CPP needs to be expanded 3757 # Double quotes because CPP needs to be expanded
3899 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3900 do 3759 do
3901 ac_preproc_ok=false 3760 ac_preproc_ok=false
3923 if { (ac_try="$ac_cpp conftest.$ac_ext" 3782 if { (ac_try="$ac_cpp conftest.$ac_ext"
3924 case "(($ac_try" in 3783 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;; 3785 *) ac_try_echo=$ac_try;;
3927 esac 3786 esac
3928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3929 $as_echo "$ac_try_echo") >&5
3930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3931 ac_status=$? 3789 ac_status=$?
3932 grep -v '^ *+' conftest.er1 >conftest.err 3790 grep -v '^ *+' conftest.er1 >conftest.err
3933 rm -f conftest.er1 3791 rm -f conftest.er1
3934 cat conftest.err >&5 3792 cat conftest.err >&5
3935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); } >/dev/null && { 3794 (exit $ac_status); } >/dev/null && {
3937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3938 test ! -s conftest.err 3796 test ! -s conftest.err
3939 }; then 3797 }; then
3940 : 3798 :
3941 else 3799 else
3942 $as_echo "$as_me: failed program was:" >&5 3800 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5
3944 3802
3945 # Broken: fails on valid input. 3803 # Broken: fails on valid input.
3946 continue 3804 continue
3947 fi 3805 fi
3961 if { (ac_try="$ac_cpp conftest.$ac_ext" 3819 if { (ac_try="$ac_cpp conftest.$ac_ext"
3962 case "(($ac_try" in 3820 case "(($ac_try" in
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;; 3822 *) ac_try_echo=$ac_try;;
3965 esac 3823 esac
3966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 $as_echo "$ac_try_echo") >&5
3968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3969 ac_status=$? 3826 ac_status=$?
3970 grep -v '^ *+' conftest.er1 >conftest.err 3827 grep -v '^ *+' conftest.er1 >conftest.err
3971 rm -f conftest.er1 3828 rm -f conftest.er1
3972 cat conftest.err >&5 3829 cat conftest.err >&5
3973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } >/dev/null && { 3831 (exit $ac_status); } >/dev/null && {
3975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3976 test ! -s conftest.err 3833 test ! -s conftest.err
3977 }; then 3834 }; then
3978 # Broken: success on invalid input. 3835 # Broken: success on invalid input.
3979 continue 3836 continue
3980 else 3837 else
3981 $as_echo "$as_me: failed program was:" >&5 3838 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5 3839 sed 's/^/| /' conftest.$ac_ext >&5
3983 3840
3984 # Passes both tests. 3841 # Passes both tests.
3985 ac_preproc_ok=: 3842 ac_preproc_ok=:
3986 break 3843 break
4001 fi 3858 fi
4002 CPP=$ac_cv_prog_CPP 3859 CPP=$ac_cv_prog_CPP
4003 else 3860 else
4004 ac_cv_prog_CPP=$CPP 3861 ac_cv_prog_CPP=$CPP
4005 fi 3862 fi
4006 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3863 { echo "$as_me:$LINENO: result: $CPP" >&5
4007 $as_echo "$CPP" >&6; } 3864 echo "${ECHO_T}$CPP" >&6; }
4008 ac_preproc_ok=false 3865 ac_preproc_ok=false
4009 for ac_c_preproc_warn_flag in '' yes 3866 for ac_c_preproc_warn_flag in '' yes
4010 do 3867 do
4011 # Use a header file that comes with gcc, so configuring glibc 3868 # Use a header file that comes with gcc, so configuring glibc
4012 # with a fresh cross-compiler works. 3869 # with a fresh cross-compiler works.
4030 if { (ac_try="$ac_cpp conftest.$ac_ext" 3887 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in 3888 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;; 3890 *) ac_try_echo=$ac_try;;
4034 esac 3891 esac
4035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 $as_echo "$ac_try_echo") >&5
4037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4038 ac_status=$? 3894 ac_status=$?
4039 grep -v '^ *+' conftest.er1 >conftest.err 3895 grep -v '^ *+' conftest.er1 >conftest.err
4040 rm -f conftest.er1 3896 rm -f conftest.er1
4041 cat conftest.err >&5 3897 cat conftest.err >&5
4042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } >/dev/null && { 3899 (exit $ac_status); } >/dev/null && {
4044 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4045 test ! -s conftest.err 3901 test ! -s conftest.err
4046 }; then 3902 }; then
4047 : 3903 :
4048 else 3904 else
4049 $as_echo "$as_me: failed program was:" >&5 3905 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5 3906 sed 's/^/| /' conftest.$ac_ext >&5
4051 3907
4052 # Broken: fails on valid input. 3908 # Broken: fails on valid input.
4053 continue 3909 continue
4054 fi 3910 fi
4068 if { (ac_try="$ac_cpp conftest.$ac_ext" 3924 if { (ac_try="$ac_cpp conftest.$ac_ext"
4069 case "(($ac_try" in 3925 case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;; 3927 *) ac_try_echo=$ac_try;;
4072 esac 3928 esac
4073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 $as_echo "$ac_try_echo") >&5
4075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4076 ac_status=$? 3931 ac_status=$?
4077 grep -v '^ *+' conftest.er1 >conftest.err 3932 grep -v '^ *+' conftest.er1 >conftest.err
4078 rm -f conftest.er1 3933 rm -f conftest.er1
4079 cat conftest.err >&5 3934 cat conftest.err >&5
4080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } >/dev/null && { 3936 (exit $ac_status); } >/dev/null && {
4082 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4083 test ! -s conftest.err 3938 test ! -s conftest.err
4084 }; then 3939 }; then
4085 # Broken: success on invalid input. 3940 # Broken: success on invalid input.
4086 continue 3941 continue
4087 else 3942 else
4088 $as_echo "$as_me: failed program was:" >&5 3943 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5 3944 sed 's/^/| /' conftest.$ac_ext >&5
4090 3945
4091 # Passes both tests. 3946 # Passes both tests.
4092 ac_preproc_ok=: 3947 ac_preproc_ok=:
4093 break 3948 break
4099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4100 rm -f conftest.err conftest.$ac_ext 3955 rm -f conftest.err conftest.$ac_ext
4101 if $ac_preproc_ok; then 3956 if $ac_preproc_ok; then
4102 : 3957 :
4103 else 3958 else
4104 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4105 See \`config.log' for more details." >&5 3960 See \`config.log' for more details." >&5
4106 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4107 See \`config.log' for more details." >&2;} 3962 See \`config.log' for more details." >&2;}
4108 { (exit 1); exit 1; }; } 3963 { (exit 1); exit 1; }; }
4109 fi 3964 fi
4110 3965
4111 ac_ext=c 3966 ac_ext=c
4113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4115 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4116 3971
4117 3972
4118 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3973 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4119 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3974 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4120 if test "${ac_cv_path_GREP+set}" = set; then 3975 if test "${ac_cv_path_GREP+set}" = set; then
4121 $as_echo_n "(cached) " >&6 3976 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 else 3977 else
4123 if test -z "$GREP"; then 3978 # Extract the first word of "grep ggrep" to use in msg output
3979 if test -z "$GREP"; then
3980 set dummy grep ggrep; ac_prog_name=$2
3981 if test "${ac_cv_path_GREP+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 else
4124 ac_path_GREP_found=false 3984 ac_path_GREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST 3985 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4128 do 3988 do
4129 IFS=$as_save_IFS 3989 IFS=$as_save_IFS
4130 test -z "$as_dir" && as_dir=. 3990 test -z "$as_dir" && as_dir=.
4131 for ac_prog in grep ggrep; do 3991 for ac_prog in grep ggrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do 3992 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3993 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4134 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3994 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4135 # Check for GNU ac_path_GREP and select it if it is found. 3995 # Check for GNU ac_path_GREP and select it if it is found.
4136 # Check for GNU $ac_path_GREP 3996 # Check for GNU $ac_path_GREP
4137 case `"$ac_path_GREP" --version 2>&1` in 3997 case `"$ac_path_GREP" --version 2>&1` in
4138 *GNU*) 3998 *GNU*)
4139 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3999 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4140 *) 4000 *)
4141 ac_count=0 4001 ac_count=0
4142 $as_echo_n 0123456789 >"conftest.in" 4002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4143 while : 4003 while :
4144 do 4004 do
4145 cat "conftest.in" "conftest.in" >"conftest.tmp" 4005 cat "conftest.in" "conftest.in" >"conftest.tmp"
4146 mv "conftest.tmp" "conftest.in" 4006 mv "conftest.tmp" "conftest.in"
4147 cp "conftest.in" "conftest.nl" 4007 cp "conftest.in" "conftest.nl"
4148 $as_echo 'GREP' >> "conftest.nl" 4008 echo 'GREP' >> "conftest.nl"
4149 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151 ac_count=`expr $ac_count + 1` 4011 ac_count=`expr $ac_count + 1`
4152 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one 4013 # Best one so far, save it but keep looking for a better one
4158 test $ac_count -gt 10 && break 4018 test $ac_count -gt 10 && break
4159 done 4019 done
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161 esac 4021 esac
4162 4022
4163 $ac_path_GREP_found && break 3 4023
4164 done 4024 $ac_path_GREP_found && break 3
4165 done 4025 done
4166 done 4026 done
4027
4028 done
4167 IFS=$as_save_IFS 4029 IFS=$as_save_IFS
4168 if test -z "$ac_cv_path_GREP"; then 4030
4169 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4031
4170 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4032 fi
4033
4034 GREP="$ac_cv_path_GREP"
4035 if test -z "$GREP"; then
4036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4171 { (exit 1); exit 1; }; } 4038 { (exit 1); exit 1; }; }
4172 fi 4039 fi
4040
4173 else 4041 else
4174 ac_cv_path_GREP=$GREP 4042 ac_cv_path_GREP=$GREP
4175 fi 4043 fi
4176 4044
4177 fi 4045
4178 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4046 fi
4179 $as_echo "$ac_cv_path_GREP" >&6; } 4047 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4048 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4180 GREP="$ac_cv_path_GREP" 4049 GREP="$ac_cv_path_GREP"
4181 4050
4182 4051
4183 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4052 { echo "$as_me:$LINENO: checking for egrep" >&5
4184 $as_echo_n "checking for egrep... " >&6; } 4053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4185 if test "${ac_cv_path_EGREP+set}" = set; then 4054 if test "${ac_cv_path_EGREP+set}" = set; then
4186 $as_echo_n "(cached) " >&6 4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 else 4056 else
4188 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4189 then ac_cv_path_EGREP="$GREP -E" 4058 then ac_cv_path_EGREP="$GREP -E"
4190 else 4059 else
4191 if test -z "$EGREP"; then 4060 # Extract the first word of "egrep" to use in msg output
4061 if test -z "$EGREP"; then
4062 set dummy egrep; ac_prog_name=$2
4063 if test "${ac_cv_path_EGREP+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4192 ac_path_EGREP_found=false 4066 ac_path_EGREP_found=false
4193 # Loop through the user's path and test for each of PROGNAME-LIST 4067 # Loop through the user's path and test for each of PROGNAME-LIST
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4196 do 4070 do
4197 IFS=$as_save_IFS 4071 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=. 4072 test -z "$as_dir" && as_dir=.
4199 for ac_prog in egrep; do 4073 for ac_prog in egrep; do
4200 for ac_exec_ext in '' $ac_executable_extensions; do 4074 for ac_exec_ext in '' $ac_executable_extensions; do
4201 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4202 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4203 # Check for GNU ac_path_EGREP and select it if it is found. 4077 # Check for GNU ac_path_EGREP and select it if it is found.
4204 # Check for GNU $ac_path_EGREP 4078 # Check for GNU $ac_path_EGREP
4205 case `"$ac_path_EGREP" --version 2>&1` in 4079 case `"$ac_path_EGREP" --version 2>&1` in
4206 *GNU*) 4080 *GNU*)
4207 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4208 *) 4082 *)
4209 ac_count=0 4083 ac_count=0
4210 $as_echo_n 0123456789 >"conftest.in" 4084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4211 while : 4085 while :
4212 do 4086 do
4213 cat "conftest.in" "conftest.in" >"conftest.tmp" 4087 cat "conftest.in" "conftest.in" >"conftest.tmp"
4214 mv "conftest.tmp" "conftest.in" 4088 mv "conftest.tmp" "conftest.in"
4215 cp "conftest.in" "conftest.nl" 4089 cp "conftest.in" "conftest.nl"
4216 $as_echo 'EGREP' >> "conftest.nl" 4090 echo 'EGREP' >> "conftest.nl"
4217 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4218 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4219 ac_count=`expr $ac_count + 1` 4093 ac_count=`expr $ac_count + 1`
4220 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4221 # Best one so far, save it but keep looking for a better one 4095 # Best one so far, save it but keep looking for a better one
4226 test $ac_count -gt 10 && break 4100 test $ac_count -gt 10 && break
4227 done 4101 done
4228 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4229 esac 4103 esac
4230 4104
4231 $ac_path_EGREP_found && break 3 4105
4232 done 4106 $ac_path_EGREP_found && break 3
4233 done 4107 done
4234 done 4108 done
4109
4110 done
4235 IFS=$as_save_IFS 4111 IFS=$as_save_IFS
4236 if test -z "$ac_cv_path_EGREP"; then 4112
4237 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4113
4238 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4114 fi
4115
4116 EGREP="$ac_cv_path_EGREP"
4117 if test -z "$EGREP"; then
4118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4239 { (exit 1); exit 1; }; } 4120 { (exit 1); exit 1; }; }
4240 fi 4121 fi
4122
4241 else 4123 else
4242 ac_cv_path_EGREP=$EGREP 4124 ac_cv_path_EGREP=$EGREP
4243 fi 4125 fi
4244 4126
4127
4245 fi 4128 fi
4246 fi 4129 fi
4247 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4130 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4248 $as_echo "$ac_cv_path_EGREP" >&6; } 4131 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4249 EGREP="$ac_cv_path_EGREP" 4132 EGREP="$ac_cv_path_EGREP"
4250 4133
4251 4134
4252 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4135
4253 $as_echo_n "checking for ANSI C header files... " >&6; } 4136 { echo "$as_me:$LINENO: checking for AIX" >&5
4137 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4138 cat >conftest.$ac_ext <<_ACEOF
4139 /* confdefs.h. */
4140 _ACEOF
4141 cat confdefs.h >>conftest.$ac_ext
4142 cat >>conftest.$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 #ifdef _AIX
4145 yes
4146 #endif
4147
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "yes" >/dev/null 2>&1; then
4151 { echo "$as_me:$LINENO: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6; }
4153 cat >>confdefs.h <<\_ACEOF
4154 #define _ALL_SOURCE 1
4155 _ACEOF
4156
4157 else
4158 { echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6; }
4160 fi
4161 rm -f conftest*
4162
4163
4164 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4165 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4254 if test "${ac_cv_header_stdc+set}" = set; then 4166 if test "${ac_cv_header_stdc+set}" = set; then
4255 $as_echo_n "(cached) " >&6 4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4256 else 4168 else
4257 cat >conftest.$ac_ext <<_ACEOF 4169 cat >conftest.$ac_ext <<_ACEOF
4258 /* confdefs.h. */ 4170 /* confdefs.h. */
4259 _ACEOF 4171 _ACEOF
4260 cat confdefs.h >>conftest.$ac_ext 4172 cat confdefs.h >>conftest.$ac_ext
4277 if { (ac_try="$ac_compile" 4189 if { (ac_try="$ac_compile"
4278 case "(($ac_try" in 4190 case "(($ac_try" in
4279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280 *) ac_try_echo=$ac_try;; 4192 *) ac_try_echo=$ac_try;;
4281 esac 4193 esac
4282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4283 $as_echo "$ac_try_echo") >&5
4284 (eval "$ac_compile") 2>conftest.er1 4195 (eval "$ac_compile") 2>conftest.er1
4285 ac_status=$? 4196 ac_status=$?
4286 grep -v '^ *+' conftest.er1 >conftest.err 4197 grep -v '^ *+' conftest.er1 >conftest.err
4287 rm -f conftest.er1 4198 rm -f conftest.er1
4288 cat conftest.err >&5 4199 cat conftest.err >&5
4289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } && { 4201 (exit $ac_status); } && {
4291 test -z "$ac_c_werror_flag" || 4202 test -z "$ac_c_werror_flag" ||
4292 test ! -s conftest.err 4203 test ! -s conftest.err
4293 } && test -s conftest.$ac_objext; then 4204 } && test -s conftest.$ac_objext; then
4294 ac_cv_header_stdc=yes 4205 ac_cv_header_stdc=yes
4295 else 4206 else
4296 $as_echo "$as_me: failed program was:" >&5 4207 echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5 4208 sed 's/^/| /' conftest.$ac_ext >&5
4298 4209
4299 ac_cv_header_stdc=no 4210 ac_cv_header_stdc=no
4300 fi 4211 fi
4301 4212
4383 if { (ac_try="$ac_link" 4294 if { (ac_try="$ac_link"
4384 case "(($ac_try" in 4295 case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;; 4297 *) ac_try_echo=$ac_try;;
4387 esac 4298 esac
4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 $as_echo "$ac_try_echo") >&5
4390 (eval "$ac_link") 2>&5 4300 (eval "$ac_link") 2>&5
4391 ac_status=$? 4301 ac_status=$?
4392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4394 { (case "(($ac_try" in 4304 { (case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;; 4306 *) ac_try_echo=$ac_try;;
4397 esac 4307 esac
4398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4399 $as_echo "$ac_try_echo") >&5
4400 (eval "$ac_try") 2>&5 4309 (eval "$ac_try") 2>&5
4401 ac_status=$? 4310 ac_status=$?
4402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; }; then 4312 (exit $ac_status); }; }; then
4404 : 4313 :
4405 else 4314 else
4406 $as_echo "$as_me: program exited with status $ac_status" >&5 4315 echo "$as_me: program exited with status $ac_status" >&5
4407 $as_echo "$as_me: failed program was:" >&5 4316 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5 4317 sed 's/^/| /' conftest.$ac_ext >&5
4409 4318
4410 ( exit $ac_status ) 4319 ( exit $ac_status )
4411 ac_cv_header_stdc=no 4320 ac_cv_header_stdc=no
4412 fi 4321 fi
4413 rm -rf conftest.dSYM
4414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4415 fi 4323 fi
4416 4324
4417 4325
4418 fi 4326 fi
4419 fi 4327 fi
4420 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4328 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4421 $as_echo "$ac_cv_header_stdc" >&6; } 4329 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4422 if test $ac_cv_header_stdc = yes; then 4330 if test $ac_cv_header_stdc = yes; then
4423 4331
4424 cat >>confdefs.h <<\_ACEOF 4332 cat >>confdefs.h <<\_ACEOF
4425 #define STDC_HEADERS 1 4333 #define STDC_HEADERS 1
4426 _ACEOF 4334 _ACEOF
4438 4346
4439 4347
4440 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4348 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4441 inttypes.h stdint.h unistd.h 4349 inttypes.h stdint.h unistd.h
4442 do 4350 do
4443 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4444 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4352 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4445 $as_echo_n "checking for $ac_header... " >&6; } 4353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4446 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4447 $as_echo_n "(cached) " >&6 4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 else 4356 else
4449 cat >conftest.$ac_ext <<_ACEOF 4357 cat >conftest.$ac_ext <<_ACEOF
4450 /* confdefs.h. */ 4358 /* confdefs.h. */
4451 _ACEOF 4359 _ACEOF
4452 cat confdefs.h >>conftest.$ac_ext 4360 cat confdefs.h >>conftest.$ac_ext
4460 if { (ac_try="$ac_compile" 4368 if { (ac_try="$ac_compile"
4461 case "(($ac_try" in 4369 case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;; 4371 *) ac_try_echo=$ac_try;;
4464 esac 4372 esac
4465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4466 $as_echo "$ac_try_echo") >&5
4467 (eval "$ac_compile") 2>conftest.er1 4374 (eval "$ac_compile") 2>conftest.er1
4468 ac_status=$? 4375 ac_status=$?
4469 grep -v '^ *+' conftest.er1 >conftest.err 4376 grep -v '^ *+' conftest.er1 >conftest.err
4470 rm -f conftest.er1 4377 rm -f conftest.er1
4471 cat conftest.err >&5 4378 cat conftest.err >&5
4472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } && { 4380 (exit $ac_status); } && {
4474 test -z "$ac_c_werror_flag" || 4381 test -z "$ac_c_werror_flag" ||
4475 test ! -s conftest.err 4382 test ! -s conftest.err
4476 } && test -s conftest.$ac_objext; then 4383 } && test -s conftest.$ac_objext; then
4477 eval "$as_ac_Header=yes" 4384 eval "$as_ac_Header=yes"
4478 else 4385 else
4479 $as_echo "$as_me: failed program was:" >&5 4386 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.$ac_ext >&5 4387 sed 's/^/| /' conftest.$ac_ext >&5
4481 4388
4482 eval "$as_ac_Header=no" 4389 eval "$as_ac_Header=no"
4483 fi 4390 fi
4484 4391
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 fi 4393 fi
4487 ac_res=`eval 'as_val=${'$as_ac_Header'} 4394 ac_res=`eval echo '${'$as_ac_Header'}'`
4488 $as_echo "$as_val"'` 4395 { echo "$as_me:$LINENO: result: $ac_res" >&5
4489 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4396 echo "${ECHO_T}$ac_res" >&6; }
4490 $as_echo "$ac_res" >&6; } 4397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4491 if test `eval 'as_val=${'$as_ac_Header'}
4492 $as_echo "$as_val"'` = yes; then
4493 cat >>confdefs.h <<_ACEOF 4398 cat >>confdefs.h <<_ACEOF
4494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4495 _ACEOF 4400 _ACEOF
4496 4401
4497 fi 4402 fi
4498 4403
4499 done 4404 done
4500 4405
4501 4406
4502
4503 if test "${ac_cv_header_minix_config_h+set}" = set; then
4504 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4505 $as_echo_n "checking for minix/config.h... " >&6; }
4506 if test "${ac_cv_header_minix_config_h+set}" = set; then 4407 if test "${ac_cv_header_minix_config_h+set}" = set; then
4507 $as_echo_n "(cached) " >&6 4408 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4508 fi 4409 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4509 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4410 if test "${ac_cv_header_minix_config_h+set}" = set; then
4510 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 fi
4413 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4414 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4511 else 4415 else
4512 # Is the header compilable? 4416 # Is the header compilable?
4513 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4417 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4514 $as_echo_n "checking minix/config.h usability... " >&6; } 4418 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4515 cat >conftest.$ac_ext <<_ACEOF 4419 cat >conftest.$ac_ext <<_ACEOF
4516 /* confdefs.h. */ 4420 /* confdefs.h. */
4517 _ACEOF 4421 _ACEOF
4518 cat confdefs.h >>conftest.$ac_ext 4422 cat confdefs.h >>conftest.$ac_ext
4519 cat >>conftest.$ac_ext <<_ACEOF 4423 cat >>conftest.$ac_ext <<_ACEOF
4525 if { (ac_try="$ac_compile" 4429 if { (ac_try="$ac_compile"
4526 case "(($ac_try" in 4430 case "(($ac_try" in
4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;; 4432 *) ac_try_echo=$ac_try;;
4529 esac 4433 esac
4530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531 $as_echo "$ac_try_echo") >&5
4532 (eval "$ac_compile") 2>conftest.er1 4435 (eval "$ac_compile") 2>conftest.er1
4533 ac_status=$? 4436 ac_status=$?
4534 grep -v '^ *+' conftest.er1 >conftest.err 4437 grep -v '^ *+' conftest.er1 >conftest.err
4535 rm -f conftest.er1 4438 rm -f conftest.er1
4536 cat conftest.err >&5 4439 cat conftest.err >&5
4537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } && { 4441 (exit $ac_status); } && {
4539 test -z "$ac_c_werror_flag" || 4442 test -z "$ac_c_werror_flag" ||
4540 test ! -s conftest.err 4443 test ! -s conftest.err
4541 } && test -s conftest.$ac_objext; then 4444 } && test -s conftest.$ac_objext; then
4542 ac_header_compiler=yes 4445 ac_header_compiler=yes
4543 else 4446 else
4544 $as_echo "$as_me: failed program was:" >&5 4447 echo "$as_me: failed program was:" >&5
4545 sed 's/^/| /' conftest.$ac_ext >&5 4448 sed 's/^/| /' conftest.$ac_ext >&5
4546 4449
4547 ac_header_compiler=no 4450 ac_header_compiler=no
4548 fi 4451 fi
4549 4452
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4454 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4552 $as_echo "$ac_header_compiler" >&6; } 4455 echo "${ECHO_T}$ac_header_compiler" >&6; }
4553 4456
4554 # Is the header present? 4457 # Is the header present?
4555 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4458 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4556 $as_echo_n "checking minix/config.h presence... " >&6; } 4459 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4557 cat >conftest.$ac_ext <<_ACEOF 4460 cat >conftest.$ac_ext <<_ACEOF
4558 /* confdefs.h. */ 4461 /* confdefs.h. */
4559 _ACEOF 4462 _ACEOF
4560 cat confdefs.h >>conftest.$ac_ext 4463 cat confdefs.h >>conftest.$ac_ext
4561 cat >>conftest.$ac_ext <<_ACEOF 4464 cat >>conftest.$ac_ext <<_ACEOF
4565 if { (ac_try="$ac_cpp conftest.$ac_ext" 4468 if { (ac_try="$ac_cpp conftest.$ac_ext"
4566 case "(($ac_try" in 4469 case "(($ac_try" in
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;; 4471 *) ac_try_echo=$ac_try;;
4569 esac 4472 esac
4570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571 $as_echo "$ac_try_echo") >&5
4572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4573 ac_status=$? 4475 ac_status=$?
4574 grep -v '^ *+' conftest.er1 >conftest.err 4476 grep -v '^ *+' conftest.er1 >conftest.err
4575 rm -f conftest.er1 4477 rm -f conftest.er1
4576 cat conftest.err >&5 4478 cat conftest.err >&5
4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } >/dev/null && { 4480 (exit $ac_status); } >/dev/null && {
4579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4580 test ! -s conftest.err 4482 test ! -s conftest.err
4581 }; then 4483 }; then
4582 ac_header_preproc=yes 4484 ac_header_preproc=yes
4583 else 4485 else
4584 $as_echo "$as_me: failed program was:" >&5 4486 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5 4487 sed 's/^/| /' conftest.$ac_ext >&5
4586 4488
4587 ac_header_preproc=no 4489 ac_header_preproc=no
4588 fi 4490 fi
4589 4491
4590 rm -f conftest.err conftest.$ac_ext 4492 rm -f conftest.err conftest.$ac_ext
4591 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4493 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4592 $as_echo "$ac_header_preproc" >&6; } 4494 echo "${ECHO_T}$ac_header_preproc" >&6; }
4593 4495
4594 # So? What about this header? 4496 # So? What about this header?
4595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4596 yes:no: ) 4498 yes:no: )
4597 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4499 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4598 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4500 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4599 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4501 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4600 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4502 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4601 ac_header_preproc=yes 4503 ac_header_preproc=yes
4602 ;; 4504 ;;
4603 no:yes:* ) 4505 no:yes:* )
4604 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4506 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4605 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4507 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4606 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4508 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4607 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4509 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4608 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4510 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4609 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4511 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4610 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4512 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4611 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4513 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4612 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4514 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4613 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4515 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4614 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4516 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4615 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4517 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4616 4518
4617 ;; 4519 ;;
4618 esac 4520 esac
4619 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4521 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4620 $as_echo_n "checking for minix/config.h... " >&6; } 4522 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4621 if test "${ac_cv_header_minix_config_h+set}" = set; then 4523 if test "${ac_cv_header_minix_config_h+set}" = set; then
4622 $as_echo_n "(cached) " >&6 4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 else 4525 else
4624 ac_cv_header_minix_config_h=$ac_header_preproc 4526 ac_cv_header_minix_config_h=$ac_header_preproc
4625 fi 4527 fi
4626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4528 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4627 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4529 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4628 4530
4629 fi 4531 fi
4630 if test $ac_cv_header_minix_config_h = yes; then 4532 if test $ac_cv_header_minix_config_h = yes; then
4631 MINIX=yes 4533 MINIX=yes
4632 else 4534 else
4633 MINIX= 4535 MINIX=
4634 fi 4536 fi
4635 4537
4636 4538
4637 if test "$MINIX" = yes; then 4539 if test "$MINIX" = yes; then
4638 4540
4639 cat >>confdefs.h <<\_ACEOF 4541 cat >>confdefs.h <<\_ACEOF
4640 #define _POSIX_SOURCE 1 4542 #define _POSIX_SOURCE 1
4641 _ACEOF 4543 _ACEOF
4642 4544
4648 4550
4649 cat >>confdefs.h <<\_ACEOF 4551 cat >>confdefs.h <<\_ACEOF
4650 #define _MINIX 1 4552 #define _MINIX 1
4651 _ACEOF 4553 _ACEOF
4652 4554
4653 fi 4555 fi
4654 4556
4655 4557
4656 4558
4657 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4559
4658 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4560
4561
4562
4563
4564
4565
4566
4567 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4568 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4659 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4569 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4660 $as_echo_n "(cached) " >&6 4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4661 else 4571 else
4662 cat >conftest.$ac_ext <<_ACEOF 4572 cat >conftest.$ac_ext <<_ACEOF
4663 /* confdefs.h. */ 4573 /* confdefs.h. */
4664 _ACEOF 4574 _ACEOF
4665 cat confdefs.h >>conftest.$ac_ext 4575 cat confdefs.h >>conftest.$ac_ext
4680 if { (ac_try="$ac_compile" 4590 if { (ac_try="$ac_compile"
4681 case "(($ac_try" in 4591 case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;; 4593 *) ac_try_echo=$ac_try;;
4684 esac 4594 esac
4685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4686 $as_echo "$ac_try_echo") >&5
4687 (eval "$ac_compile") 2>conftest.er1 4596 (eval "$ac_compile") 2>conftest.er1
4688 ac_status=$? 4597 ac_status=$?
4689 grep -v '^ *+' conftest.er1 >conftest.err 4598 grep -v '^ *+' conftest.er1 >conftest.err
4690 rm -f conftest.er1 4599 rm -f conftest.er1
4691 cat conftest.err >&5 4600 cat conftest.err >&5
4692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } && { 4602 (exit $ac_status); } && {
4694 test -z "$ac_c_werror_flag" || 4603 test -z "$ac_c_werror_flag" ||
4695 test ! -s conftest.err 4604 test ! -s conftest.err
4696 } && test -s conftest.$ac_objext; then 4605 } && test -s conftest.$ac_objext; then
4697 ac_cv_safe_to_define___extensions__=yes 4606 ac_cv_safe_to_define___extensions__=yes
4698 else 4607 else
4699 $as_echo "$as_me: failed program was:" >&5 4608 echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.$ac_ext >&5 4609 sed 's/^/| /' conftest.$ac_ext >&5
4701 4610
4702 ac_cv_safe_to_define___extensions__=no 4611 ac_cv_safe_to_define___extensions__=no
4703 fi 4612 fi
4704 4613
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 fi 4615 fi
4707 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4616 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4708 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4617 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4709 test $ac_cv_safe_to_define___extensions__ = yes && 4618 test $ac_cv_safe_to_define___extensions__ = yes &&
4710 cat >>confdefs.h <<\_ACEOF 4619 cat >>confdefs.h <<\_ACEOF
4711 #define __EXTENSIONS__ 1 4620 #define __EXTENSIONS__ 1
4712 _ACEOF 4621 _ACEOF
4713 4622
4714 cat >>confdefs.h <<\_ACEOF 4623 cat >>confdefs.h <<\_ACEOF
4715 #define _ALL_SOURCE 1
4716 _ACEOF
4717
4718 cat >>confdefs.h <<\_ACEOF
4719 #define _GNU_SOURCE 1
4720 _ACEOF
4721
4722 cat >>confdefs.h <<\_ACEOF
4723 #define _POSIX_PTHREAD_SEMANTICS 1 4624 #define _POSIX_PTHREAD_SEMANTICS 1
4724 _ACEOF 4625 _ACEOF
4725 4626
4726 cat >>confdefs.h <<\_ACEOF 4627 cat >>confdefs.h <<\_ACEOF
4727 #define _TANDEM_SOURCE 1 4628 #define _TANDEM_SOURCE 1
4728 _ACEOF 4629 _ACEOF
4729 4630
4730 4631
4731 4632
4732 ### Use -Wno-pointer-sign if the compiler supports it 4633 ### Use -Wno-pointer-sign if the compiler supports it
4733 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4634 { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
4734 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4635 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; }
4735 SAVE_CFLAGS="$CFLAGS" 4636 SAVE_CFLAGS="$CFLAGS"
4736 CFLAGS="$CFLAGS -Wno-pointer-sign" 4637 CFLAGS="$CFLAGS -Wno-pointer-sign"
4737 cat >conftest.$ac_ext <<_ACEOF 4638 cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h. */ 4639 /* confdefs.h. */
4739 _ACEOF 4640 _ACEOF
4753 if { (ac_try="$ac_compile" 4654 if { (ac_try="$ac_compile"
4754 case "(($ac_try" in 4655 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;; 4657 *) ac_try_echo=$ac_try;;
4757 esac 4658 esac
4758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759 $as_echo "$ac_try_echo") >&5
4760 (eval "$ac_compile") 2>conftest.er1 4660 (eval "$ac_compile") 2>conftest.er1
4761 ac_status=$? 4661 ac_status=$?
4762 grep -v '^ *+' conftest.er1 >conftest.err 4662 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1 4663 rm -f conftest.er1
4764 cat conftest.err >&5 4664 cat conftest.err >&5
4765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && { 4666 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" || 4667 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err 4668 test ! -s conftest.err
4769 } && test -s conftest.$ac_objext; then 4669 } && test -s conftest.$ac_objext; then
4770 has_option=yes 4670 has_option=yes
4771 else 4671 else
4772 $as_echo "$as_me: failed program was:" >&5 4672 echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.$ac_ext >&5 4673 sed 's/^/| /' conftest.$ac_ext >&5
4774 4674
4775 has_option=no 4675 has_option=no
4776 fi 4676 fi
4777 4677
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 if test $has_option = yes; then 4679 if test $has_option = yes; then
4780 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4680 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4781 fi 4681 fi
4782 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 4682 { echo "$as_me:$LINENO: result: $has_option" >&5
4783 $as_echo "$has_option" >&6; } 4683 echo "${ECHO_T}$has_option" >&6; }
4784 CFLAGS="$SAVE_CFLAGS" 4684 CFLAGS="$SAVE_CFLAGS"
4785 unset has_option 4685 unset has_option
4786 unset SAVE_CFLAGS 4686 unset SAVE_CFLAGS
4787 4687
4788 #### Some other nice autoconf tests. 4688 #### Some other nice autoconf tests.
4789 4689
4790 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4690 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4791 $as_echo_n "checking whether ln -s works... " >&6; } 4691 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4792 LN_S=$as_ln_s 4692 LN_S=$as_ln_s
4793 if test "$LN_S" = "ln -s"; then 4693 if test "$LN_S" = "ln -s"; then
4794 { $as_echo "$as_me:$LINENO: result: yes" >&5 4694 { echo "$as_me:$LINENO: result: yes" >&5
4795 $as_echo "yes" >&6; } 4695 echo "${ECHO_T}yes" >&6; }
4796 else 4696 else
4797 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4697 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4798 $as_echo "no, using $LN_S" >&6; } 4698 echo "${ECHO_T}no, using $LN_S" >&6; }
4799 fi 4699 fi
4800 4700
4801 ac_ext=c 4701 ac_ext=c
4802 ac_cpp='$CPP $CPPFLAGS' 4702 ac_cpp='$CPP $CPPFLAGS'
4803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4805 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4806 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4706 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4807 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4707 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4808 # On Suns, sometimes $CPP names a directory. 4708 # On Suns, sometimes $CPP names a directory.
4809 if test -n "$CPP" && test -d "$CPP"; then 4709 if test -n "$CPP" && test -d "$CPP"; then
4810 CPP= 4710 CPP=
4811 fi 4711 fi
4812 if test -z "$CPP"; then 4712 if test -z "$CPP"; then
4813 if test "${ac_cv_prog_CPP+set}" = set; then 4713 if test "${ac_cv_prog_CPP+set}" = set; then
4814 $as_echo_n "(cached) " >&6 4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 else 4715 else
4816 # Double quotes because CPP needs to be expanded 4716 # Double quotes because CPP needs to be expanded
4817 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4717 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4818 do 4718 do
4819 ac_preproc_ok=false 4719 ac_preproc_ok=false
4841 if { (ac_try="$ac_cpp conftest.$ac_ext" 4741 if { (ac_try="$ac_cpp conftest.$ac_ext"
4842 case "(($ac_try" in 4742 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;; 4744 *) ac_try_echo=$ac_try;;
4845 esac 4745 esac
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4849 ac_status=$? 4748 ac_status=$?
4850 grep -v '^ *+' conftest.er1 >conftest.err 4749 grep -v '^ *+' conftest.er1 >conftest.err
4851 rm -f conftest.er1 4750 rm -f conftest.er1
4852 cat conftest.err >&5 4751 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } >/dev/null && { 4753 (exit $ac_status); } >/dev/null && {
4855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4856 test ! -s conftest.err 4755 test ! -s conftest.err
4857 }; then 4756 }; then
4858 : 4757 :
4859 else 4758 else
4860 $as_echo "$as_me: failed program was:" >&5 4759 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5 4760 sed 's/^/| /' conftest.$ac_ext >&5
4862 4761
4863 # Broken: fails on valid input. 4762 # Broken: fails on valid input.
4864 continue 4763 continue
4865 fi 4764 fi
4879 if { (ac_try="$ac_cpp conftest.$ac_ext" 4778 if { (ac_try="$ac_cpp conftest.$ac_ext"
4880 case "(($ac_try" in 4779 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;; 4781 *) ac_try_echo=$ac_try;;
4883 esac 4782 esac
4884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 $as_echo "$ac_try_echo") >&5
4886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4784 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4887 ac_status=$? 4785 ac_status=$?
4888 grep -v '^ *+' conftest.er1 >conftest.err 4786 grep -v '^ *+' conftest.er1 >conftest.err
4889 rm -f conftest.er1 4787 rm -f conftest.er1
4890 cat conftest.err >&5 4788 cat conftest.err >&5
4891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } >/dev/null && { 4790 (exit $ac_status); } >/dev/null && {
4893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4791 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4894 test ! -s conftest.err 4792 test ! -s conftest.err
4895 }; then 4793 }; then
4896 # Broken: success on invalid input. 4794 # Broken: success on invalid input.
4897 continue 4795 continue
4898 else 4796 else
4899 $as_echo "$as_me: failed program was:" >&5 4797 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5 4798 sed 's/^/| /' conftest.$ac_ext >&5
4901 4799
4902 # Passes both tests. 4800 # Passes both tests.
4903 ac_preproc_ok=: 4801 ac_preproc_ok=:
4904 break 4802 break
4919 fi 4817 fi
4920 CPP=$ac_cv_prog_CPP 4818 CPP=$ac_cv_prog_CPP
4921 else 4819 else
4922 ac_cv_prog_CPP=$CPP 4820 ac_cv_prog_CPP=$CPP
4923 fi 4821 fi
4924 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4822 { echo "$as_me:$LINENO: result: $CPP" >&5
4925 $as_echo "$CPP" >&6; } 4823 echo "${ECHO_T}$CPP" >&6; }
4926 ac_preproc_ok=false 4824 ac_preproc_ok=false
4927 for ac_c_preproc_warn_flag in '' yes 4825 for ac_c_preproc_warn_flag in '' yes
4928 do 4826 do
4929 # Use a header file that comes with gcc, so configuring glibc 4827 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works. 4828 # with a fresh cross-compiler works.
4948 if { (ac_try="$ac_cpp conftest.$ac_ext" 4846 if { (ac_try="$ac_cpp conftest.$ac_ext"
4949 case "(($ac_try" in 4847 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;; 4849 *) ac_try_echo=$ac_try;;
4952 esac 4850 esac
4953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 $as_echo "$ac_try_echo") >&5
4955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4956 ac_status=$? 4853 ac_status=$?
4957 grep -v '^ *+' conftest.er1 >conftest.err 4854 grep -v '^ *+' conftest.er1 >conftest.err
4958 rm -f conftest.er1 4855 rm -f conftest.er1
4959 cat conftest.err >&5 4856 cat conftest.err >&5
4960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } >/dev/null && { 4858 (exit $ac_status); } >/dev/null && {
4962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4963 test ! -s conftest.err 4860 test ! -s conftest.err
4964 }; then 4861 }; then
4965 : 4862 :
4966 else 4863 else
4967 $as_echo "$as_me: failed program was:" >&5 4864 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5 4865 sed 's/^/| /' conftest.$ac_ext >&5
4969 4866
4970 # Broken: fails on valid input. 4867 # Broken: fails on valid input.
4971 continue 4868 continue
4972 fi 4869 fi
4986 if { (ac_try="$ac_cpp conftest.$ac_ext" 4883 if { (ac_try="$ac_cpp conftest.$ac_ext"
4987 case "(($ac_try" in 4884 case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;; 4886 *) ac_try_echo=$ac_try;;
4990 esac 4887 esac
4991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4992 $as_echo "$ac_try_echo") >&5
4993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4994 ac_status=$? 4890 ac_status=$?
4995 grep -v '^ *+' conftest.er1 >conftest.err 4891 grep -v '^ *+' conftest.er1 >conftest.err
4996 rm -f conftest.er1 4892 rm -f conftest.er1
4997 cat conftest.err >&5 4893 cat conftest.err >&5
4998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } >/dev/null && { 4895 (exit $ac_status); } >/dev/null && {
5000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5001 test ! -s conftest.err 4897 test ! -s conftest.err
5002 }; then 4898 }; then
5003 # Broken: success on invalid input. 4899 # Broken: success on invalid input.
5004 continue 4900 continue
5005 else 4901 else
5006 $as_echo "$as_me: failed program was:" >&5 4902 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5 4903 sed 's/^/| /' conftest.$ac_ext >&5
5008 4904
5009 # Passes both tests. 4905 # Passes both tests.
5010 ac_preproc_ok=: 4906 ac_preproc_ok=:
5011 break 4907 break
5017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5018 rm -f conftest.err conftest.$ac_ext 4914 rm -f conftest.err conftest.$ac_ext
5019 if $ac_preproc_ok; then 4915 if $ac_preproc_ok; then
5020 : 4916 :
5021 else 4917 else
5022 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4918 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5023 See \`config.log' for more details." >&5 4919 See \`config.log' for more details." >&5
5024 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4920 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5025 See \`config.log' for more details." >&2;} 4921 See \`config.log' for more details." >&2;}
5026 { (exit 1); exit 1; }; } 4922 { (exit 1); exit 1; }; }
5027 fi 4923 fi
5028 4924
5029 ac_ext=c 4925 ac_ext=c
5043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 4940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5046 # OS/2's system install, which has a completely different semantic 4942 # OS/2's system install, which has a completely different semantic
5047 # ./install, which can be erroneously created by make from ./install.sh. 4943 # ./install, which can be erroneously created by make from ./install.sh.
5048 # Reject install programs that cannot install multiple files. 4944 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5049 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5050 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5051 if test -z "$INSTALL"; then 4946 if test -z "$INSTALL"; then
5052 if test "${ac_cv_path_install+set}" = set; then 4947 if test "${ac_cv_path_install+set}" = set; then
5053 $as_echo_n "(cached) " >&6 4948 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 else 4949 else
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH 4951 for as_dir in $PATH
5057 do 4952 do
5058 IFS=$as_save_IFS 4953 IFS=$as_save_IFS
5077 elif test $ac_prog = install && 4972 elif test $ac_prog = install &&
5078 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4973 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5079 # program-specific install script used by HP pwplus--don't use. 4974 # program-specific install script used by HP pwplus--don't use.
5080 : 4975 :
5081 else 4976 else
5082 rm -rf conftest.one conftest.two conftest.dir 4977 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5083 echo one > conftest.one 4978 break 3
5084 echo two > conftest.two
5085 mkdir conftest.dir
5086 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5087 test -s conftest.one && test -s conftest.two &&
5088 test -s conftest.dir/conftest.one &&
5089 test -s conftest.dir/conftest.two
5090 then
5091 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5092 break 3
5093 fi
5094 fi 4979 fi
5095 fi 4980 fi
5096 done 4981 done
5097 done 4982 done
5098 ;; 4983 ;;
5099 esac 4984 esac
5100
5101 done 4985 done
5102 IFS=$as_save_IFS 4986 IFS=$as_save_IFS
5103 4987
5104 rm -rf conftest.one conftest.two conftest.dir
5105 4988
5106 fi 4989 fi
5107 if test "${ac_cv_path_install+set}" = set; then 4990 if test "${ac_cv_path_install+set}" = set; then
5108 INSTALL=$ac_cv_path_install 4991 INSTALL=$ac_cv_path_install
5109 else 4992 else
5112 # break other packages using the cache if that directory is 4995 # break other packages using the cache if that directory is
5113 # removed, or if the value is a relative name. 4996 # removed, or if the value is a relative name.
5114 INSTALL=$ac_install_sh 4997 INSTALL=$ac_install_sh
5115 fi 4998 fi
5116 fi 4999 fi
5117 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5000 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5118 $as_echo "$INSTALL" >&6; } 5001 echo "${ECHO_T}$INSTALL" >&6; }
5119 5002
5120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5121 # It thinks the first close brace ends the variable substitution. 5004 # It thinks the first close brace ends the variable substitution.
5122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5123 5006
5127 5010
5128 if test "x$RANLIB" = x; then 5011 if test "x$RANLIB" = x; then
5129 if test -n "$ac_tool_prefix"; then 5012 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5013 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5131 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5014 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; } 5016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5134 if test "${ac_cv_prog_RANLIB+set}" = set; then 5017 if test "${ac_cv_prog_RANLIB+set}" = set; then
5135 $as_echo_n "(cached) " >&6 5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5136 else 5019 else
5137 if test -n "$RANLIB"; then 5020 if test -n "$RANLIB"; then
5138 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5021 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5139 else 5022 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 IFS=$as_save_IFS 5026 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=. 5027 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do 5028 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5030 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5148 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2 5032 break 2
5150 fi 5033 fi
5151 done 5034 done
5152 done 5035 done
5153 IFS=$as_save_IFS 5036 IFS=$as_save_IFS
5154 5037
5155 fi 5038 fi
5156 fi 5039 fi
5157 RANLIB=$ac_cv_prog_RANLIB 5040 RANLIB=$ac_cv_prog_RANLIB
5158 if test -n "$RANLIB"; then 5041 if test -n "$RANLIB"; then
5159 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5042 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5160 $as_echo "$RANLIB" >&6; } 5043 echo "${ECHO_T}$RANLIB" >&6; }
5161 else 5044 else
5162 { $as_echo "$as_me:$LINENO: result: no" >&5 5045 { echo "$as_me:$LINENO: result: no" >&5
5163 $as_echo "no" >&6; } 5046 echo "${ECHO_T}no" >&6; }
5164 fi 5047 fi
5165 5048
5166 5049
5167 fi 5050 fi
5168 if test -z "$ac_cv_prog_RANLIB"; then 5051 if test -z "$ac_cv_prog_RANLIB"; then
5169 ac_ct_RANLIB=$RANLIB 5052 ac_ct_RANLIB=$RANLIB
5170 # Extract the first word of "ranlib", so it can be a program name with args. 5053 # Extract the first word of "ranlib", so it can be a program name with args.
5171 set dummy ranlib; ac_word=$2 5054 set dummy ranlib; ac_word=$2
5172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; } 5056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5174 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5057 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5175 $as_echo_n "(cached) " >&6 5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 else 5059 else
5177 if test -n "$ac_ct_RANLIB"; then 5060 if test -n "$ac_ct_RANLIB"; then
5178 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5061 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5179 else 5062 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 IFS=$as_save_IFS 5066 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=. 5067 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do 5068 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_ac_ct_RANLIB="ranlib" 5070 ac_cv_prog_ac_ct_RANLIB="ranlib"
5188 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2 5072 break 2
5190 fi 5073 fi
5191 done 5074 done
5192 done 5075 done
5193 IFS=$as_save_IFS 5076 IFS=$as_save_IFS
5194 5077
5195 fi 5078 fi
5196 fi 5079 fi
5197 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5080 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5198 if test -n "$ac_ct_RANLIB"; then 5081 if test -n "$ac_ct_RANLIB"; then
5199 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5082 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5200 $as_echo "$ac_ct_RANLIB" >&6; } 5083 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5201 else 5084 else
5202 { $as_echo "$as_me:$LINENO: result: no" >&5 5085 { echo "$as_me:$LINENO: result: no" >&5
5203 $as_echo "no" >&6; } 5086 echo "${ECHO_T}no" >&6; }
5204 fi 5087 fi
5205 5088
5206 if test "x$ac_ct_RANLIB" = x; then 5089 if test "x$ac_ct_RANLIB" = x; then
5207 RANLIB=":" 5090 RANLIB=":"
5208 else 5091 else
5209 case $cross_compiling:$ac_tool_warned in 5092 case $cross_compiling:$ac_tool_warned in
5210 yes:) 5093 yes:)
5211 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this 5095 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&5 5096 configuration is useful to you, please write to autoconf@gnu.org." >&5
5214 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5215 whose name does not start with the host triplet. If you think this 5098 whose name does not start with the host triplet. If you think this
5216 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5217 ac_tool_warned=yes ;; 5100 ac_tool_warned=yes ;;
5218 esac 5101 esac
5219 RANLIB=$ac_ct_RANLIB 5102 RANLIB=$ac_ct_RANLIB
5223 fi 5106 fi
5224 5107
5225 fi 5108 fi
5226 # Extract the first word of "install-info", so it can be a program name with args. 5109 # Extract the first word of "install-info", so it can be a program name with args.
5227 set dummy install-info; ac_word=$2 5110 set dummy install-info; ac_word=$2
5228 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; } 5112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5230 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5113 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5231 $as_echo_n "(cached) " >&6 5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 else 5115 else
5233 case $INSTALL_INFO in 5116 case $INSTALL_INFO in
5234 [\\/]* | ?:[\\/]*) 5117 [\\/]* | ?:[\\/]*)
5235 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5118 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5236 ;; 5119 ;;
5241 IFS=$as_save_IFS 5124 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=. 5125 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do 5126 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5128 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2 5130 break 2
5248 fi 5131 fi
5249 done 5132 done
5250 done 5133 done
5251 IFS=$as_save_IFS 5134 IFS=$as_save_IFS
5253 ;; 5136 ;;
5254 esac 5137 esac
5255 fi 5138 fi
5256 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5139 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5257 if test -n "$INSTALL_INFO"; then 5140 if test -n "$INSTALL_INFO"; then
5258 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5141 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5259 $as_echo "$INSTALL_INFO" >&6; } 5142 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5260 else 5143 else
5261 { $as_echo "$as_me:$LINENO: result: no" >&5 5144 { echo "$as_me:$LINENO: result: no" >&5
5262 $as_echo "no" >&6; } 5145 echo "${ECHO_T}no" >&6; }
5263 fi 5146 fi
5264 5147
5265 5148
5266 # Extract the first word of "install-info", so it can be a program name with args. 5149 # Extract the first word of "install-info", so it can be a program name with args.
5267 set dummy install-info; ac_word=$2 5150 set dummy install-info; ac_word=$2
5268 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; } 5152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5270 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5153 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5271 $as_echo_n "(cached) " >&6 5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 else 5155 else
5273 case $INSTALL_INFO in 5156 case $INSTALL_INFO in
5274 [\\/]* | ?:[\\/]*) 5157 [\\/]* | ?:[\\/]*)
5275 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5158 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5276 ;; 5159 ;;
5281 IFS=$as_save_IFS 5164 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=. 5165 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do 5166 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5285 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5168 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2 5170 break 2
5288 fi 5171 fi
5289 done 5172 done
5290 done 5173 done
5291 IFS=$as_save_IFS 5174 IFS=$as_save_IFS
5293 ;; 5176 ;;
5294 esac 5177 esac
5295 fi 5178 fi
5296 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5179 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5297 if test -n "$INSTALL_INFO"; then 5180 if test -n "$INSTALL_INFO"; then
5298 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5181 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5299 $as_echo "$INSTALL_INFO" >&6; } 5182 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5300 else 5183 else
5301 { $as_echo "$as_me:$LINENO: result: no" >&5 5184 { echo "$as_me:$LINENO: result: no" >&5
5302 $as_echo "no" >&6; } 5185 echo "${ECHO_T}no" >&6; }
5303 fi 5186 fi
5304 5187
5305 5188
5306 # Extract the first word of "install-info", so it can be a program name with args. 5189 # Extract the first word of "install-info", so it can be a program name with args.
5307 set dummy install-info; ac_word=$2 5190 set dummy install-info; ac_word=$2
5308 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; } 5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5310 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5193 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5311 $as_echo_n "(cached) " >&6 5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 else 5195 else
5313 case $INSTALL_INFO in 5196 case $INSTALL_INFO in
5314 [\\/]* | ?:[\\/]*) 5197 [\\/]* | ?:[\\/]*)
5315 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5198 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5316 ;; 5199 ;;
5321 IFS=$as_save_IFS 5204 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=. 5205 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do 5206 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5208 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2 5210 break 2
5328 fi 5211 fi
5329 done 5212 done
5330 done 5213 done
5331 IFS=$as_save_IFS 5214 IFS=$as_save_IFS
5334 ;; 5217 ;;
5335 esac 5218 esac
5336 fi 5219 fi
5337 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5220 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5338 if test -n "$INSTALL_INFO"; then 5221 if test -n "$INSTALL_INFO"; then
5339 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5222 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5340 $as_echo "$INSTALL_INFO" >&6; } 5223 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5341 else 5224 else
5342 { $as_echo "$as_me:$LINENO: result: no" >&5 5225 { echo "$as_me:$LINENO: result: no" >&5
5343 $as_echo "no" >&6; } 5226 echo "${ECHO_T}no" >&6; }
5344 fi 5227 fi
5345 5228
5346 5229
5347 # Extract the first word of "gzip", so it can be a program name with args. 5230 # Extract the first word of "gzip", so it can be a program name with args.
5348 set dummy gzip; ac_word=$2 5231 set dummy gzip; ac_word=$2
5349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; } 5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5351 if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5234 if test "${ac_cv_path_GZIP_PROG+set}" = set; then
5352 $as_echo_n "(cached) " >&6 5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 else 5236 else
5354 case $GZIP_PROG in 5237 case $GZIP_PROG in
5355 [\\/]* | ?:[\\/]*) 5238 [\\/]* | ?:[\\/]*)
5356 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 5239 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
5357 ;; 5240 ;;
5362 IFS=$as_save_IFS 5245 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=. 5246 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do 5247 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5249 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 break 2 5251 break 2
5369 fi 5252 fi
5370 done 5253 done
5371 done 5254 done
5372 IFS=$as_save_IFS 5255 IFS=$as_save_IFS
5374 ;; 5257 ;;
5375 esac 5258 esac
5376 fi 5259 fi
5377 GZIP_PROG=$ac_cv_path_GZIP_PROG 5260 GZIP_PROG=$ac_cv_path_GZIP_PROG
5378 if test -n "$GZIP_PROG"; then 5261 if test -n "$GZIP_PROG"; then
5379 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5262 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
5380 $as_echo "$GZIP_PROG" >&6; } 5263 echo "${ECHO_T}$GZIP_PROG" >&6; }
5381 else 5264 else
5382 { $as_echo "$as_me:$LINENO: result: no" >&5 5265 { echo "$as_me:$LINENO: result: no" >&5
5383 $as_echo "no" >&6; } 5266 echo "${ECHO_T}no" >&6; }
5384 fi 5267 fi
5385 5268
5386 5269
5387 5270
5388 5271
5389 ## Need makeinfo >= 4.6 (?) to build the manuals. 5272 ## Need makeinfo >= 4.6 (?) to build the manuals.
5390 # Extract the first word of "makeinfo", so it can be a program name with args. 5273 # Extract the first word of "makeinfo", so it can be a program name with args.
5391 set dummy makeinfo; ac_word=$2 5274 set dummy makeinfo; ac_word=$2
5392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; } 5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5394 if test "${ac_cv_path_MAKEINFO+set}" = set; then 5277 if test "${ac_cv_path_MAKEINFO+set}" = set; then
5395 $as_echo_n "(cached) " >&6 5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 else 5279 else
5397 case $MAKEINFO in 5280 case $MAKEINFO in
5398 [\\/]* | ?:[\\/]*) 5281 [\\/]* | ?:[\\/]*)
5399 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 5282 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
5400 ;; 5283 ;;
5405 IFS=$as_save_IFS 5288 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=. 5289 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do 5290 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5292 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2 5294 break 2
5412 fi 5295 fi
5413 done 5296 done
5414 done 5297 done
5415 IFS=$as_save_IFS 5298 IFS=$as_save_IFS
5418 ;; 5301 ;;
5419 esac 5302 esac
5420 fi 5303 fi
5421 MAKEINFO=$ac_cv_path_MAKEINFO 5304 MAKEINFO=$ac_cv_path_MAKEINFO
5422 if test -n "$MAKEINFO"; then 5305 if test -n "$MAKEINFO"; then
5423 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 5306 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5424 $as_echo "$MAKEINFO" >&6; } 5307 echo "${ECHO_T}$MAKEINFO" >&6; }
5425 else 5308 else
5426 { $as_echo "$as_me:$LINENO: result: no" >&5 5309 { echo "$as_me:$LINENO: result: no" >&5
5427 $as_echo "no" >&6; } 5310 echo "${ECHO_T}no" >&6; }
5428 fi 5311 fi
5429 5312
5430 5313
5431 if test "$MAKEINFO" != "no" && \ 5314 if test "$MAKEINFO" != "no" && \
5432 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 5315 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
5444 ## with pre-built manuals, from a CVS checkout. 5327 ## with pre-built manuals, from a CVS checkout.
5445 if test "$MAKEINFO" = "no"; then 5328 if test "$MAKEINFO" = "no"; then
5446 if test "x${with_makeinfo}" = "xno"; then 5329 if test "x${with_makeinfo}" = "xno"; then
5447 MAKEINFO=off 5330 MAKEINFO=off
5448 elif ! test -e $srcdir/info/emacs; then 5331 elif ! test -e $srcdir/info/emacs; then
5449 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your 5332 { { echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your
5450 source tree does not seem to have pre-built manuals in the \`info' directory. 5333 source tree does not seem to have pre-built manuals in the \`info' directory.
5451 Either install a suitable version of makeinfo, or re-run configure 5334 Either install a suitable version of makeinfo, or re-run configure
5452 with the \`--without-makeinfo' option to build without the manuals. " >&5 5335 with the \`--without-makeinfo' option to build without the manuals. " >&5
5453 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your 5336 echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5454 source tree does not seem to have pre-built manuals in the \`info' directory. 5337 source tree does not seem to have pre-built manuals in the \`info' directory.
5455 Either install a suitable version of makeinfo, or re-run configure 5338 Either install a suitable version of makeinfo, or re-run configure
5456 with the \`--without-makeinfo' option to build without the manuals. " >&2;} 5339 with the \`--without-makeinfo' option to build without the manuals. " >&2;}
5457 { (exit 1); exit 1; }; } 5340 { (exit 1); exit 1; }; }
5458 fi 5341 fi
5475 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5358 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
5476 else 5359 else
5477 LDFLAGS="$LDFLAGS -znocombreloc" 5360 LDFLAGS="$LDFLAGS -znocombreloc"
5478 fi 5361 fi
5479 5362
5480 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5363 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5
5481 $as_echo_n "checking for -znocombreloc... " >&6; } 5364 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; }
5482 cat >conftest.$ac_ext <<_ACEOF 5365 cat >conftest.$ac_ext <<_ACEOF
5483 main(){return 0;} 5366 main(){return 0;}
5484 _ACEOF 5367 _ACEOF
5485 rm -f conftest.$ac_objext conftest$ac_exeext 5368 rm -f conftest.$ac_objext conftest$ac_exeext
5486 if { (ac_try="$ac_link" 5369 if { (ac_try="$ac_link"
5487 case "(($ac_try" in 5370 case "(($ac_try" in
5488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;; 5372 *) ac_try_echo=$ac_try;;
5490 esac 5373 esac
5491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 $as_echo "$ac_try_echo") >&5
5493 (eval "$ac_link") 2>conftest.er1 5375 (eval "$ac_link") 2>conftest.er1
5494 ac_status=$? 5376 ac_status=$?
5495 grep -v '^ *+' conftest.er1 >conftest.err 5377 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1 5378 rm -f conftest.er1
5497 cat conftest.err >&5 5379 cat conftest.err >&5
5498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && { 5381 (exit $ac_status); } && {
5500 test -z "$ac_c_werror_flag" || 5382 test -z "$ac_c_werror_flag" ||
5501 test ! -s conftest.err 5383 test ! -s conftest.err
5502 } && test -s conftest$ac_exeext && { 5384 } && test -s conftest$ac_exeext &&
5503 test "$cross_compiling" = yes || 5385 $as_test_x conftest$ac_exeext; then
5504 $as_test_x conftest$ac_exeext 5386 { echo "$as_me:$LINENO: result: yes" >&5
5505 }; then 5387 echo "${ECHO_T}yes" >&6; }
5506 { $as_echo "$as_me:$LINENO: result: yes" >&5 5388 else
5507 $as_echo "yes" >&6; } 5389 echo "$as_me: failed program was:" >&5
5508 else
5509 $as_echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5 5390 sed 's/^/| /' conftest.$ac_ext >&5
5511 5391
5512 LDFLAGS=$late_LDFLAGS 5392 LDFLAGS=$late_LDFLAGS
5513 { $as_echo "$as_me:$LINENO: result: no" >&5 5393 { echo "$as_me:$LINENO: result: no" >&5
5514 $as_echo "no" >&6; } 5394 echo "${ECHO_T}no" >&6; }
5515 fi 5395 fi
5516 5396
5517 rm -rf conftest.dSYM
5518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5519 conftest$ac_exeext conftest.$ac_ext 5398 conftest$ac_exeext conftest.$ac_ext
5520 5399
5521 #### Extract some information from the operating system and machine files. 5400 #### Extract some information from the operating system and machine files.
5522 5401
5523 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5402 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
5524 - which libraries the lib-src programs will want, and 5403 - which libraries the lib-src programs will want, and
5525 - whether the GNU malloc routines are usable..." >&5 5404 - whether the GNU malloc routines are usable..." >&5
5526 $as_echo "$as_me: checking the machine- and system-dependent files to find out 5405 echo "$as_me: checking the machine- and system-dependent files to find out
5527 - which libraries the lib-src programs will want, and 5406 - which libraries the lib-src programs will want, and
5528 - whether the GNU malloc routines are usable..." >&6;} 5407 - whether the GNU malloc routines are usable..." >&6;}
5529 5408
5530 ### First figure out CFLAGS (which we use for running the compiler here) 5409 ### First figure out CFLAGS (which we use for running the compiler here)
5531 ### and REAL_CFLAGS (which we use for real compilation). 5410 ### and REAL_CFLAGS (which we use for real compilation).
5670 enableval=$enable_largefile; 5549 enableval=$enable_largefile;
5671 fi 5550 fi
5672 5551
5673 if test "$enable_largefile" != no; then 5552 if test "$enable_largefile" != no; then
5674 5553
5675 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5554 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5676 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5555 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
5677 if test "${ac_cv_sys_largefile_CC+set}" = set; then 5556 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5678 $as_echo_n "(cached) " >&6 5557 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 else 5558 else
5680 ac_cv_sys_largefile_CC=no 5559 ac_cv_sys_largefile_CC=no
5681 if test "$GCC" != yes; then 5560 if test "$GCC" != yes; then
5682 ac_save_CC=$CC 5561 ac_save_CC=$CC
5683 while :; do 5562 while :; do
5710 if { (ac_try="$ac_compile" 5589 if { (ac_try="$ac_compile"
5711 case "(($ac_try" in 5590 case "(($ac_try" in
5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;; 5592 *) ac_try_echo=$ac_try;;
5714 esac 5593 esac
5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5716 $as_echo "$ac_try_echo") >&5
5717 (eval "$ac_compile") 2>conftest.er1 5595 (eval "$ac_compile") 2>conftest.er1
5718 ac_status=$? 5596 ac_status=$?
5719 grep -v '^ *+' conftest.er1 >conftest.err 5597 grep -v '^ *+' conftest.er1 >conftest.err
5720 rm -f conftest.er1 5598 rm -f conftest.er1
5721 cat conftest.err >&5 5599 cat conftest.err >&5
5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } && { 5601 (exit $ac_status); } && {
5724 test -z "$ac_c_werror_flag" || 5602 test -z "$ac_c_werror_flag" ||
5725 test ! -s conftest.err 5603 test ! -s conftest.err
5726 } && test -s conftest.$ac_objext; then 5604 } && test -s conftest.$ac_objext; then
5727 break 5605 break
5728 else 5606 else
5729 $as_echo "$as_me: failed program was:" >&5 5607 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.$ac_ext >&5 5608 sed 's/^/| /' conftest.$ac_ext >&5
5731 5609
5732 5610
5733 fi 5611 fi
5734 5612
5738 if { (ac_try="$ac_compile" 5616 if { (ac_try="$ac_compile"
5739 case "(($ac_try" in 5617 case "(($ac_try" in
5740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;; 5619 *) ac_try_echo=$ac_try;;
5742 esac 5620 esac
5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_compile") 2>conftest.er1 5622 (eval "$ac_compile") 2>conftest.er1
5746 ac_status=$? 5623 ac_status=$?
5747 grep -v '^ *+' conftest.er1 >conftest.err 5624 grep -v '^ *+' conftest.er1 >conftest.err
5748 rm -f conftest.er1 5625 rm -f conftest.er1
5749 cat conftest.err >&5 5626 cat conftest.err >&5
5750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } && { 5628 (exit $ac_status); } && {
5752 test -z "$ac_c_werror_flag" || 5629 test -z "$ac_c_werror_flag" ||
5753 test ! -s conftest.err 5630 test ! -s conftest.err
5754 } && test -s conftest.$ac_objext; then 5631 } && test -s conftest.$ac_objext; then
5755 ac_cv_sys_largefile_CC=' -n32'; break 5632 ac_cv_sys_largefile_CC=' -n32'; break
5756 else 5633 else
5757 $as_echo "$as_me: failed program was:" >&5 5634 echo "$as_me: failed program was:" >&5
5758 sed 's/^/| /' conftest.$ac_ext >&5 5635 sed 's/^/| /' conftest.$ac_ext >&5
5759 5636
5760 5637
5761 fi 5638 fi
5762 5639
5765 done 5642 done
5766 CC=$ac_save_CC 5643 CC=$ac_save_CC
5767 rm -f conftest.$ac_ext 5644 rm -f conftest.$ac_ext
5768 fi 5645 fi
5769 fi 5646 fi
5770 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5647 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5771 $as_echo "$ac_cv_sys_largefile_CC" >&6; } 5648 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
5772 if test "$ac_cv_sys_largefile_CC" != no; then 5649 if test "$ac_cv_sys_largefile_CC" != no; then
5773 CC=$CC$ac_cv_sys_largefile_CC 5650 CC=$CC$ac_cv_sys_largefile_CC
5774 fi 5651 fi
5775 5652
5776 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5653 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5777 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5654 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
5778 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5655 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5779 $as_echo_n "(cached) " >&6 5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 else 5657 else
5781 while :; do 5658 while :; do
5782 cat >conftest.$ac_ext <<_ACEOF 5659 cat >conftest.$ac_ext <<_ACEOF
5783 /* confdefs.h. */ 5660 /* confdefs.h. */
5784 _ACEOF 5661 _ACEOF
5806 if { (ac_try="$ac_compile" 5683 if { (ac_try="$ac_compile"
5807 case "(($ac_try" in 5684 case "(($ac_try" in
5808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5809 *) ac_try_echo=$ac_try;; 5686 *) ac_try_echo=$ac_try;;
5810 esac 5687 esac
5811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5812 $as_echo "$ac_try_echo") >&5
5813 (eval "$ac_compile") 2>conftest.er1 5689 (eval "$ac_compile") 2>conftest.er1
5814 ac_status=$? 5690 ac_status=$?
5815 grep -v '^ *+' conftest.er1 >conftest.err 5691 grep -v '^ *+' conftest.er1 >conftest.err
5816 rm -f conftest.er1 5692 rm -f conftest.er1
5817 cat conftest.err >&5 5693 cat conftest.err >&5
5818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); } && { 5695 (exit $ac_status); } && {
5820 test -z "$ac_c_werror_flag" || 5696 test -z "$ac_c_werror_flag" ||
5821 test ! -s conftest.err 5697 test ! -s conftest.err
5822 } && test -s conftest.$ac_objext; then 5698 } && test -s conftest.$ac_objext; then
5823 ac_cv_sys_file_offset_bits=no; break 5699 ac_cv_sys_file_offset_bits=no; break
5824 else 5700 else
5825 $as_echo "$as_me: failed program was:" >&5 5701 echo "$as_me: failed program was:" >&5
5826 sed 's/^/| /' conftest.$ac_ext >&5 5702 sed 's/^/| /' conftest.$ac_ext >&5
5827 5703
5828 5704
5829 fi 5705 fi
5830 5706
5857 if { (ac_try="$ac_compile" 5733 if { (ac_try="$ac_compile"
5858 case "(($ac_try" in 5734 case "(($ac_try" in
5859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5860 *) ac_try_echo=$ac_try;; 5736 *) ac_try_echo=$ac_try;;
5861 esac 5737 esac
5862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863 $as_echo "$ac_try_echo") >&5
5864 (eval "$ac_compile") 2>conftest.er1 5739 (eval "$ac_compile") 2>conftest.er1
5865 ac_status=$? 5740 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err 5741 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1 5742 rm -f conftest.er1
5868 cat conftest.err >&5 5743 cat conftest.err >&5
5869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } && { 5745 (exit $ac_status); } && {
5871 test -z "$ac_c_werror_flag" || 5746 test -z "$ac_c_werror_flag" ||
5872 test ! -s conftest.err 5747 test ! -s conftest.err
5873 } && test -s conftest.$ac_objext; then 5748 } && test -s conftest.$ac_objext; then
5874 ac_cv_sys_file_offset_bits=64; break 5749 ac_cv_sys_file_offset_bits=64; break
5875 else 5750 else
5876 $as_echo "$as_me: failed program was:" >&5 5751 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.$ac_ext >&5 5752 sed 's/^/| /' conftest.$ac_ext >&5
5878 5753
5879 5754
5880 fi 5755 fi
5881 5756
5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5883 ac_cv_sys_file_offset_bits=unknown 5758 ac_cv_sys_file_offset_bits=unknown
5884 break 5759 break
5885 done 5760 done
5886 fi 5761 fi
5887 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5762 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5888 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5763 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
5889 case $ac_cv_sys_file_offset_bits in #( 5764 case $ac_cv_sys_file_offset_bits in #(
5890 no | unknown) ;; 5765 no | unknown) ;;
5891 *) 5766 *)
5892 cat >>confdefs.h <<_ACEOF 5767 cat >>confdefs.h <<_ACEOF
5893 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5768 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5894 _ACEOF 5769 _ACEOF
5895 ;; 5770 ;;
5896 esac 5771 esac
5897 rm -rf conftest* 5772 rm -f conftest*
5898 if test $ac_cv_sys_file_offset_bits = unknown; then 5773 if test $ac_cv_sys_file_offset_bits = unknown; then
5899 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5774 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5900 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5775 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
5901 if test "${ac_cv_sys_large_files+set}" = set; then 5776 if test "${ac_cv_sys_large_files+set}" = set; then
5902 $as_echo_n "(cached) " >&6 5777 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 else 5778 else
5904 while :; do 5779 while :; do
5905 cat >conftest.$ac_ext <<_ACEOF 5780 cat >conftest.$ac_ext <<_ACEOF
5906 /* confdefs.h. */ 5781 /* confdefs.h. */
5907 _ACEOF 5782 _ACEOF
5929 if { (ac_try="$ac_compile" 5804 if { (ac_try="$ac_compile"
5930 case "(($ac_try" in 5805 case "(($ac_try" in
5931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5932 *) ac_try_echo=$ac_try;; 5807 *) ac_try_echo=$ac_try;;
5933 esac 5808 esac
5934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5935 $as_echo "$ac_try_echo") >&5
5936 (eval "$ac_compile") 2>conftest.er1 5810 (eval "$ac_compile") 2>conftest.er1
5937 ac_status=$? 5811 ac_status=$?
5938 grep -v '^ *+' conftest.er1 >conftest.err 5812 grep -v '^ *+' conftest.er1 >conftest.err
5939 rm -f conftest.er1 5813 rm -f conftest.er1
5940 cat conftest.err >&5 5814 cat conftest.err >&5
5941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); } && { 5816 (exit $ac_status); } && {
5943 test -z "$ac_c_werror_flag" || 5817 test -z "$ac_c_werror_flag" ||
5944 test ! -s conftest.err 5818 test ! -s conftest.err
5945 } && test -s conftest.$ac_objext; then 5819 } && test -s conftest.$ac_objext; then
5946 ac_cv_sys_large_files=no; break 5820 ac_cv_sys_large_files=no; break
5947 else 5821 else
5948 $as_echo "$as_me: failed program was:" >&5 5822 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.$ac_ext >&5 5823 sed 's/^/| /' conftest.$ac_ext >&5
5950 5824
5951 5825
5952 fi 5826 fi
5953 5827
5980 if { (ac_try="$ac_compile" 5854 if { (ac_try="$ac_compile"
5981 case "(($ac_try" in 5855 case "(($ac_try" in
5982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983 *) ac_try_echo=$ac_try;; 5857 *) ac_try_echo=$ac_try;;
5984 esac 5858 esac
5985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986 $as_echo "$ac_try_echo") >&5
5987 (eval "$ac_compile") 2>conftest.er1 5860 (eval "$ac_compile") 2>conftest.er1
5988 ac_status=$? 5861 ac_status=$?
5989 grep -v '^ *+' conftest.er1 >conftest.err 5862 grep -v '^ *+' conftest.er1 >conftest.err
5990 rm -f conftest.er1 5863 rm -f conftest.er1
5991 cat conftest.err >&5 5864 cat conftest.err >&5
5992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } && { 5866 (exit $ac_status); } && {
5994 test -z "$ac_c_werror_flag" || 5867 test -z "$ac_c_werror_flag" ||
5995 test ! -s conftest.err 5868 test ! -s conftest.err
5996 } && test -s conftest.$ac_objext; then 5869 } && test -s conftest.$ac_objext; then
5997 ac_cv_sys_large_files=1; break 5870 ac_cv_sys_large_files=1; break
5998 else 5871 else
5999 $as_echo "$as_me: failed program was:" >&5 5872 echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.$ac_ext >&5 5873 sed 's/^/| /' conftest.$ac_ext >&5
6001 5874
6002 5875
6003 fi 5876 fi
6004 5877
6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6006 ac_cv_sys_large_files=unknown 5879 ac_cv_sys_large_files=unknown
6007 break 5880 break
6008 done 5881 done
6009 fi 5882 fi
6010 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5883 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
6011 $as_echo "$ac_cv_sys_large_files" >&6; } 5884 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
6012 case $ac_cv_sys_large_files in #( 5885 case $ac_cv_sys_large_files in #(
6013 no | unknown) ;; 5886 no | unknown) ;;
6014 *) 5887 *)
6015 cat >>confdefs.h <<_ACEOF 5888 cat >>confdefs.h <<_ACEOF
6016 #define _LARGE_FILES $ac_cv_sys_large_files 5889 #define _LARGE_FILES $ac_cv_sys_large_files
6017 _ACEOF 5890 _ACEOF
6018 ;; 5891 ;;
6019 esac 5892 esac
6020 rm -rf conftest* 5893 rm -f conftest*
6021 fi 5894 fi
6022 fi 5895 fi
6023 5896
6024 5897
6025 5898
6046 5919
6047 5920
6048 5921
6049 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5922 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
6050 do 5923 do
6051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6053 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6054 $as_echo_n "checking for $ac_header... " >&6; } 5927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6056 $as_echo_n "(cached) " >&6 5929 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 fi 5930 fi
6058 ac_res=`eval 'as_val=${'$as_ac_Header'} 5931 ac_res=`eval echo '${'$as_ac_Header'}'`
6059 $as_echo "$as_val"'` 5932 { echo "$as_me:$LINENO: result: $ac_res" >&5
6060 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5933 echo "${ECHO_T}$ac_res" >&6; }
6061 $as_echo "$ac_res" >&6; }
6062 else 5934 else
6063 # Is the header compilable? 5935 # Is the header compilable?
6064 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5936 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6065 $as_echo_n "checking $ac_header usability... " >&6; } 5937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6066 cat >conftest.$ac_ext <<_ACEOF 5938 cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h. */ 5939 /* confdefs.h. */
6068 _ACEOF 5940 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext 5941 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF 5942 cat >>conftest.$ac_ext <<_ACEOF
6076 if { (ac_try="$ac_compile" 5948 if { (ac_try="$ac_compile"
6077 case "(($ac_try" in 5949 case "(($ac_try" in
6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;; 5951 *) ac_try_echo=$ac_try;;
6080 esac 5952 esac
6081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 $as_echo "$ac_try_echo") >&5
6083 (eval "$ac_compile") 2>conftest.er1 5954 (eval "$ac_compile") 2>conftest.er1
6084 ac_status=$? 5955 ac_status=$?
6085 grep -v '^ *+' conftest.er1 >conftest.err 5956 grep -v '^ *+' conftest.er1 >conftest.err
6086 rm -f conftest.er1 5957 rm -f conftest.er1
6087 cat conftest.err >&5 5958 cat conftest.err >&5
6088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); } && { 5960 (exit $ac_status); } && {
6090 test -z "$ac_c_werror_flag" || 5961 test -z "$ac_c_werror_flag" ||
6091 test ! -s conftest.err 5962 test ! -s conftest.err
6092 } && test -s conftest.$ac_objext; then 5963 } && test -s conftest.$ac_objext; then
6093 ac_header_compiler=yes 5964 ac_header_compiler=yes
6094 else 5965 else
6095 $as_echo "$as_me: failed program was:" >&5 5966 echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5 5967 sed 's/^/| /' conftest.$ac_ext >&5
6097 5968
6098 ac_header_compiler=no 5969 ac_header_compiler=no
6099 fi 5970 fi
6100 5971
6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6103 $as_echo "$ac_header_compiler" >&6; } 5974 echo "${ECHO_T}$ac_header_compiler" >&6; }
6104 5975
6105 # Is the header present? 5976 # Is the header present?
6106 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6107 $as_echo_n "checking $ac_header presence... " >&6; } 5978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6108 cat >conftest.$ac_ext <<_ACEOF 5979 cat >conftest.$ac_ext <<_ACEOF
6109 /* confdefs.h. */ 5980 /* confdefs.h. */
6110 _ACEOF 5981 _ACEOF
6111 cat confdefs.h >>conftest.$ac_ext 5982 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF 5983 cat >>conftest.$ac_ext <<_ACEOF
6116 if { (ac_try="$ac_cpp conftest.$ac_ext" 5987 if { (ac_try="$ac_cpp conftest.$ac_ext"
6117 case "(($ac_try" in 5988 case "(($ac_try" in
6118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6119 *) ac_try_echo=$ac_try;; 5990 *) ac_try_echo=$ac_try;;
6120 esac 5991 esac
6121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6122 $as_echo "$ac_try_echo") >&5
6123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6124 ac_status=$? 5994 ac_status=$?
6125 grep -v '^ *+' conftest.er1 >conftest.err 5995 grep -v '^ *+' conftest.er1 >conftest.err
6126 rm -f conftest.er1 5996 rm -f conftest.er1
6127 cat conftest.err >&5 5997 cat conftest.err >&5
6128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } >/dev/null && { 5999 (exit $ac_status); } >/dev/null && {
6130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6131 test ! -s conftest.err 6001 test ! -s conftest.err
6132 }; then 6002 }; then
6133 ac_header_preproc=yes 6003 ac_header_preproc=yes
6134 else 6004 else
6135 $as_echo "$as_me: failed program was:" >&5 6005 echo "$as_me: failed program was:" >&5
6136 sed 's/^/| /' conftest.$ac_ext >&5 6006 sed 's/^/| /' conftest.$ac_ext >&5
6137 6007
6138 ac_header_preproc=no 6008 ac_header_preproc=no
6139 fi 6009 fi
6140 6010
6141 rm -f conftest.err conftest.$ac_ext 6011 rm -f conftest.err conftest.$ac_ext
6142 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6143 $as_echo "$ac_header_preproc" >&6; } 6013 echo "${ECHO_T}$ac_header_preproc" >&6; }
6144 6014
6145 # So? What about this header? 6015 # So? What about this header?
6146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6147 yes:no: ) 6017 yes:no: )
6148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6149 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6151 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6152 ac_header_preproc=yes 6022 ac_header_preproc=yes
6153 ;; 6023 ;;
6154 no:yes:* ) 6024 no:yes:* )
6155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6156 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6158 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6160 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6161 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6162 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6164 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6166 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6167 6037
6168 ;; 6038 ;;
6169 esac 6039 esac
6170 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6040 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6171 $as_echo_n "checking for $ac_header... " >&6; } 6041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6173 $as_echo_n "(cached) " >&6 6043 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 else 6044 else
6175 eval "$as_ac_Header=\$ac_header_preproc" 6045 eval "$as_ac_Header=\$ac_header_preproc"
6176 fi 6046 fi
6177 ac_res=`eval 'as_val=${'$as_ac_Header'} 6047 ac_res=`eval echo '${'$as_ac_Header'}'`
6178 $as_echo "$as_val"'` 6048 { echo "$as_me:$LINENO: result: $ac_res" >&5
6179 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6049 echo "${ECHO_T}$ac_res" >&6; }
6180 $as_echo "$ac_res" >&6; } 6050
6181 6051 fi
6182 fi 6052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6183 if test `eval 'as_val=${'$as_ac_Header'}
6184 $as_echo "$as_val"'` = yes; then
6185 cat >>confdefs.h <<_ACEOF 6053 cat >>confdefs.h <<_ACEOF
6186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6187 _ACEOF 6055 _ACEOF
6188 6056
6189 fi 6057 fi
6190 6058
6191 done 6059 done
6192 6060
6193 # Emulation library used on NetBSD. 6061 # Emulation library used on NetBSD.
6194 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 6062 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6195 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 6063 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6196 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 6064 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6197 $as_echo_n "(cached) " >&6 6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 else 6066 else
6199 ac_check_lib_save_LIBS=$LIBS 6067 ac_check_lib_save_LIBS=$LIBS
6200 LIBS="-lossaudio $LIBS" 6068 LIBS="-lossaudio $LIBS"
6201 cat >conftest.$ac_ext <<_ACEOF 6069 cat >conftest.$ac_ext <<_ACEOF
6202 /* confdefs.h. */ 6070 /* confdefs.h. */
6224 if { (ac_try="$ac_link" 6092 if { (ac_try="$ac_link"
6225 case "(($ac_try" in 6093 case "(($ac_try" in
6226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;; 6095 *) ac_try_echo=$ac_try;;
6228 esac 6096 esac
6229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 $as_echo "$ac_try_echo") >&5
6231 (eval "$ac_link") 2>conftest.er1 6098 (eval "$ac_link") 2>conftest.er1
6232 ac_status=$? 6099 ac_status=$?
6233 grep -v '^ *+' conftest.er1 >conftest.err 6100 grep -v '^ *+' conftest.er1 >conftest.err
6234 rm -f conftest.er1 6101 rm -f conftest.er1
6235 cat conftest.err >&5 6102 cat conftest.err >&5
6236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } && { 6104 (exit $ac_status); } && {
6238 test -z "$ac_c_werror_flag" || 6105 test -z "$ac_c_werror_flag" ||
6239 test ! -s conftest.err 6106 test ! -s conftest.err
6240 } && test -s conftest$ac_exeext && { 6107 } && test -s conftest$ac_exeext &&
6241 test "$cross_compiling" = yes || 6108 $as_test_x conftest$ac_exeext; then
6242 $as_test_x conftest$ac_exeext
6243 }; then
6244 ac_cv_lib_ossaudio__oss_ioctl=yes 6109 ac_cv_lib_ossaudio__oss_ioctl=yes
6245 else 6110 else
6246 $as_echo "$as_me: failed program was:" >&5 6111 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.$ac_ext >&5 6112 sed 's/^/| /' conftest.$ac_ext >&5
6248 6113
6249 ac_cv_lib_ossaudio__oss_ioctl=no 6114 ac_cv_lib_ossaudio__oss_ioctl=no
6250 fi 6115 fi
6251 6116
6252 rm -rf conftest.dSYM
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext 6118 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS 6119 LIBS=$ac_check_lib_save_LIBS
6256 fi 6120 fi
6257 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6121 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6258 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6122 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6259 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then 6123 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6260 LIBSOUND=-lossaudio 6124 LIBSOUND=-lossaudio
6261 else 6125 else
6262 LIBSOUND= 6126 LIBSOUND=
6263 fi 6127 fi
6269 6133
6270 succeeded=no 6134 succeeded=no
6271 6135
6272 # Extract the first word of "pkg-config", so it can be a program name with args. 6136 # Extract the first word of "pkg-config", so it can be a program name with args.
6273 set dummy pkg-config; ac_word=$2 6137 set dummy pkg-config; ac_word=$2
6274 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; } 6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6276 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6140 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6277 $as_echo_n "(cached) " >&6 6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 else 6142 else
6279 case $PKG_CONFIG in 6143 case $PKG_CONFIG in
6280 [\\/]* | ?:[\\/]*) 6144 [\\/]* | ?:[\\/]*)
6281 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6145 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6282 ;; 6146 ;;
6287 IFS=$as_save_IFS 6151 IFS=$as_save_IFS
6288 test -z "$as_dir" && as_dir=. 6152 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do 6153 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6291 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6155 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6293 break 2 6157 break 2
6294 fi 6158 fi
6295 done 6159 done
6296 done 6160 done
6297 IFS=$as_save_IFS 6161 IFS=$as_save_IFS
6300 ;; 6164 ;;
6301 esac 6165 esac
6302 fi 6166 fi
6303 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6304 if test -n "$PKG_CONFIG"; then 6168 if test -n "$PKG_CONFIG"; then
6305 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6169 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6306 $as_echo "$PKG_CONFIG" >&6; } 6170 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6307 else 6171 else
6308 { $as_echo "$as_me:$LINENO: result: no" >&5 6172 { echo "$as_me:$LINENO: result: no" >&5
6309 $as_echo "no" >&6; } 6173 echo "${ECHO_T}no" >&6; }
6310 fi 6174 fi
6311 6175
6312 6176
6313 6177
6314 if test "$PKG_CONFIG" = "no" ; then 6178 if test "$PKG_CONFIG" = "no" ; then
6315 HAVE_ALSA=no 6179 HAVE_ALSA=no
6316 else 6180 else
6317 PKG_CONFIG_MIN_VERSION=0.9.0 6181 PKG_CONFIG_MIN_VERSION=0.9.0
6318 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6319 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6183 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
6320 $as_echo_n "checking for $ALSA_MODULES... " >&6; } 6184 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; }
6321 6185
6322 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6186 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
6323 { $as_echo "$as_me:$LINENO: result: yes" >&5 6187 { echo "$as_me:$LINENO: result: yes" >&5
6324 $as_echo "yes" >&6; } 6188 echo "${ECHO_T}yes" >&6; }
6325 succeeded=yes 6189 succeeded=yes
6326 6190
6327 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6191 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
6328 $as_echo_n "checking ALSA_CFLAGS... " >&6; } 6192 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; }
6329 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6193 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6330 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6194 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
6331 $as_echo "$ALSA_CFLAGS" >&6; } 6195 echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
6332 6196
6333 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6197 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
6334 $as_echo_n "checking ALSA_LIBS... " >&6; } 6198 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; }
6335 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6199 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6336 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6200 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
6337 $as_echo "$ALSA_LIBS" >&6; } 6201 echo "${ECHO_T}$ALSA_LIBS" >&6; }
6338 else 6202 else
6339 { $as_echo "$as_me:$LINENO: result: no" >&5 6203 { echo "$as_me:$LINENO: result: no" >&5
6340 $as_echo "no" >&6; } 6204 echo "${ECHO_T}no" >&6; }
6341 ALSA_CFLAGS="" 6205 ALSA_CFLAGS=""
6342 ALSA_LIBS="" 6206 ALSA_LIBS=""
6343 ## If we have a custom action on failure, don't print errors, but 6207 ## If we have a custom action on failure, don't print errors, but
6344 ## do set a variable so people can do so. 6208 ## do set a variable so people can do so.
6345 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` 6209 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
6384 if { (ac_try="$ac_compile" 6248 if { (ac_try="$ac_compile"
6385 case "(($ac_try" in 6249 case "(($ac_try" in
6386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6387 *) ac_try_echo=$ac_try;; 6251 *) ac_try_echo=$ac_try;;
6388 esac 6252 esac
6389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6390 $as_echo "$ac_try_echo") >&5
6391 (eval "$ac_compile") 2>conftest.er1 6254 (eval "$ac_compile") 2>conftest.er1
6392 ac_status=$? 6255 ac_status=$?
6393 grep -v '^ *+' conftest.er1 >conftest.err 6256 grep -v '^ *+' conftest.er1 >conftest.err
6394 rm -f conftest.er1 6257 rm -f conftest.er1
6395 cat conftest.err >&5 6258 cat conftest.err >&5
6396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); } && { 6260 (exit $ac_status); } && {
6398 test -z "$ac_c_werror_flag" || 6261 test -z "$ac_c_werror_flag" ||
6399 test ! -s conftest.err 6262 test ! -s conftest.err
6400 } && test -s conftest.$ac_objext; then 6263 } && test -s conftest.$ac_objext; then
6401 emacs_alsa_normal=yes 6264 emacs_alsa_normal=yes
6402 else 6265 else
6403 $as_echo "$as_me: failed program was:" >&5 6266 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5 6267 sed 's/^/| /' conftest.$ac_ext >&5
6405 6268
6406 emacs_alsa_normal=no 6269 emacs_alsa_normal=no
6407 fi 6270 fi
6408 6271
6427 if { (ac_try="$ac_compile" 6290 if { (ac_try="$ac_compile"
6428 case "(($ac_try" in 6291 case "(($ac_try" in
6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;; 6293 *) ac_try_echo=$ac_try;;
6431 esac 6294 esac
6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6433 $as_echo "$ac_try_echo") >&5
6434 (eval "$ac_compile") 2>conftest.er1 6296 (eval "$ac_compile") 2>conftest.er1
6435 ac_status=$? 6297 ac_status=$?
6436 grep -v '^ *+' conftest.er1 >conftest.err 6298 grep -v '^ *+' conftest.er1 >conftest.err
6437 rm -f conftest.er1 6299 rm -f conftest.er1
6438 cat conftest.err >&5 6300 cat conftest.err >&5
6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } && { 6302 (exit $ac_status); } && {
6441 test -z "$ac_c_werror_flag" || 6303 test -z "$ac_c_werror_flag" ||
6442 test ! -s conftest.err 6304 test ! -s conftest.err
6443 } && test -s conftest.$ac_objext; then 6305 } && test -s conftest.$ac_objext; then
6444 emacs_alsa_subdir=yes 6306 emacs_alsa_subdir=yes
6445 else 6307 else
6446 $as_echo "$as_me: failed program was:" >&5 6308 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.$ac_ext >&5 6309 sed 's/^/| /' conftest.$ac_ext >&5
6448 6310
6449 emacs_alsa_subdir=no 6311 emacs_alsa_subdir=no
6450 fi 6312 fi
6451 6313
6452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6453 if test "$emacs_alsa_subdir" != yes; then 6315 if test "$emacs_alsa_subdir" != yes; then
6454 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 6316 { { echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6455 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} 6317 echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6456 { (exit 1); exit 1; }; } 6318 { (exit 1); exit 1; }; }
6457 fi 6319 fi
6458 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6320 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6459 fi 6321 fi
6460 6322
6500 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6362 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6501 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6363 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6502 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6364 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6503 sys/utsname.h pwd.h 6365 sys/utsname.h pwd.h
6504 do 6366 do
6505 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6507 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6508 $as_echo_n "checking for $ac_header... " >&6; } 6370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6510 $as_echo_n "(cached) " >&6 6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 fi 6373 fi
6512 ac_res=`eval 'as_val=${'$as_ac_Header'} 6374 ac_res=`eval echo '${'$as_ac_Header'}'`
6513 $as_echo "$as_val"'` 6375 { echo "$as_me:$LINENO: result: $ac_res" >&5
6514 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6376 echo "${ECHO_T}$ac_res" >&6; }
6515 $as_echo "$ac_res" >&6; }
6516 else 6377 else
6517 # Is the header compilable? 6378 # Is the header compilable?
6518 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6379 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6519 $as_echo_n "checking $ac_header usability... " >&6; } 6380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6520 cat >conftest.$ac_ext <<_ACEOF 6381 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */ 6382 /* confdefs.h. */
6522 _ACEOF 6383 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext 6384 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF 6385 cat >>conftest.$ac_ext <<_ACEOF
6530 if { (ac_try="$ac_compile" 6391 if { (ac_try="$ac_compile"
6531 case "(($ac_try" in 6392 case "(($ac_try" in
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;; 6394 *) ac_try_echo=$ac_try;;
6534 esac 6395 esac
6535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 $as_echo "$ac_try_echo") >&5
6537 (eval "$ac_compile") 2>conftest.er1 6397 (eval "$ac_compile") 2>conftest.er1
6538 ac_status=$? 6398 ac_status=$?
6539 grep -v '^ *+' conftest.er1 >conftest.err 6399 grep -v '^ *+' conftest.er1 >conftest.err
6540 rm -f conftest.er1 6400 rm -f conftest.er1
6541 cat conftest.err >&5 6401 cat conftest.err >&5
6542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } && { 6403 (exit $ac_status); } && {
6544 test -z "$ac_c_werror_flag" || 6404 test -z "$ac_c_werror_flag" ||
6545 test ! -s conftest.err 6405 test ! -s conftest.err
6546 } && test -s conftest.$ac_objext; then 6406 } && test -s conftest.$ac_objext; then
6547 ac_header_compiler=yes 6407 ac_header_compiler=yes
6548 else 6408 else
6549 $as_echo "$as_me: failed program was:" >&5 6409 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5 6410 sed 's/^/| /' conftest.$ac_ext >&5
6551 6411
6552 ac_header_compiler=no 6412 ac_header_compiler=no
6553 fi 6413 fi
6554 6414
6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6416 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6557 $as_echo "$ac_header_compiler" >&6; } 6417 echo "${ECHO_T}$ac_header_compiler" >&6; }
6558 6418
6559 # Is the header present? 6419 # Is the header present?
6560 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6420 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6561 $as_echo_n "checking $ac_header presence... " >&6; } 6421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6562 cat >conftest.$ac_ext <<_ACEOF 6422 cat >conftest.$ac_ext <<_ACEOF
6563 /* confdefs.h. */ 6423 /* confdefs.h. */
6564 _ACEOF 6424 _ACEOF
6565 cat confdefs.h >>conftest.$ac_ext 6425 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF 6426 cat >>conftest.$ac_ext <<_ACEOF
6570 if { (ac_try="$ac_cpp conftest.$ac_ext" 6430 if { (ac_try="$ac_cpp conftest.$ac_ext"
6571 case "(($ac_try" in 6431 case "(($ac_try" in
6572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6573 *) ac_try_echo=$ac_try;; 6433 *) ac_try_echo=$ac_try;;
6574 esac 6434 esac
6575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6576 $as_echo "$ac_try_echo") >&5
6577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6578 ac_status=$? 6437 ac_status=$?
6579 grep -v '^ *+' conftest.er1 >conftest.err 6438 grep -v '^ *+' conftest.er1 >conftest.err
6580 rm -f conftest.er1 6439 rm -f conftest.er1
6581 cat conftest.err >&5 6440 cat conftest.err >&5
6582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } >/dev/null && { 6442 (exit $ac_status); } >/dev/null && {
6584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6443 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6585 test ! -s conftest.err 6444 test ! -s conftest.err
6586 }; then 6445 }; then
6587 ac_header_preproc=yes 6446 ac_header_preproc=yes
6588 else 6447 else
6589 $as_echo "$as_me: failed program was:" >&5 6448 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5 6449 sed 's/^/| /' conftest.$ac_ext >&5
6591 6450
6592 ac_header_preproc=no 6451 ac_header_preproc=no
6593 fi 6452 fi
6594 6453
6595 rm -f conftest.err conftest.$ac_ext 6454 rm -f conftest.err conftest.$ac_ext
6596 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6455 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6597 $as_echo "$ac_header_preproc" >&6; } 6456 echo "${ECHO_T}$ac_header_preproc" >&6; }
6598 6457
6599 # So? What about this header? 6458 # So? What about this header?
6600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6601 yes:no: ) 6460 yes:no: )
6602 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6603 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6604 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6605 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6606 ac_header_preproc=yes 6465 ac_header_preproc=yes
6607 ;; 6466 ;;
6608 no:yes:* ) 6467 no:yes:* )
6609 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6610 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6611 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6612 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6613 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6614 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6616 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6618 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6620 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6621 6480
6622 ;; 6481 ;;
6623 esac 6482 esac
6624 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6625 $as_echo_n "checking for $ac_header... " >&6; } 6484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6627 $as_echo_n "(cached) " >&6 6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 else 6487 else
6629 eval "$as_ac_Header=\$ac_header_preproc" 6488 eval "$as_ac_Header=\$ac_header_preproc"
6630 fi 6489 fi
6631 ac_res=`eval 'as_val=${'$as_ac_Header'} 6490 ac_res=`eval echo '${'$as_ac_Header'}'`
6632 $as_echo "$as_val"'` 6491 { echo "$as_me:$LINENO: result: $ac_res" >&5
6633 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6492 echo "${ECHO_T}$ac_res" >&6; }
6634 $as_echo "$ac_res" >&6; } 6493
6635 6494 fi
6636 fi 6495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6637 if test `eval 'as_val=${'$as_ac_Header'}
6638 $as_echo "$as_val"'` = yes; then
6639 cat >>confdefs.h <<_ACEOF 6496 cat >>confdefs.h <<_ACEOF
6640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 _ACEOF 6498 _ACEOF
6642 6499
6643 fi 6500 fi
6644 6501
6645 done 6502 done
6646 6503
6647 6504
6648 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6505 { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
6649 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6506 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; }
6650 cat >conftest.$ac_ext <<_ACEOF 6507 cat >conftest.$ac_ext <<_ACEOF
6651 /* confdefs.h. */ 6508 /* confdefs.h. */
6652 _ACEOF 6509 _ACEOF
6653 cat confdefs.h >>conftest.$ac_ext 6510 cat confdefs.h >>conftest.$ac_ext
6654 cat >>conftest.$ac_ext <<_ACEOF 6511 cat >>conftest.$ac_ext <<_ACEOF
6666 if { (ac_try="$ac_compile" 6523 if { (ac_try="$ac_compile"
6667 case "(($ac_try" in 6524 case "(($ac_try" in
6668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669 *) ac_try_echo=$ac_try;; 6526 *) ac_try_echo=$ac_try;;
6670 esac 6527 esac
6671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672 $as_echo "$ac_try_echo") >&5
6673 (eval "$ac_compile") 2>conftest.er1 6529 (eval "$ac_compile") 2>conftest.er1
6674 ac_status=$? 6530 ac_status=$?
6675 grep -v '^ *+' conftest.er1 >conftest.err 6531 grep -v '^ *+' conftest.er1 >conftest.err
6676 rm -f conftest.er1 6532 rm -f conftest.er1
6677 cat conftest.err >&5 6533 cat conftest.err >&5
6678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); } && { 6535 (exit $ac_status); } && {
6680 test -z "$ac_c_werror_flag" || 6536 test -z "$ac_c_werror_flag" ||
6681 test ! -s conftest.err 6537 test ! -s conftest.err
6682 } && test -s conftest.$ac_objext; then 6538 } && test -s conftest.$ac_objext; then
6683 emacs_cv_personality_linux32=yes 6539 emacs_cv_personality_linux32=yes
6684 else 6540 else
6685 $as_echo "$as_me: failed program was:" >&5 6541 echo "$as_me: failed program was:" >&5
6686 sed 's/^/| /' conftest.$ac_ext >&5 6542 sed 's/^/| /' conftest.$ac_ext >&5
6687 6543
6688 emacs_cv_personality_linux32=no 6544 emacs_cv_personality_linux32=no
6689 fi 6545 fi
6690 6546
6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6692 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6548 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
6693 $as_echo "$emacs_cv_personality_linux32" >&6; } 6549 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; }
6694 6550
6695 if test $emacs_cv_personality_linux32 = yes; then 6551 if test $emacs_cv_personality_linux32 = yes; then
6696 6552
6697 cat >>confdefs.h <<\_ACEOF 6553 cat >>confdefs.h <<\_ACEOF
6698 #define HAVE_PERSONALITY_LINUX32 1 6554 #define HAVE_PERSONALITY_LINUX32 1
6701 fi 6557 fi
6702 6558
6703 6559
6704 for ac_header in term.h 6560 for ac_header in term.h
6705 do 6561 do
6706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6708 $as_echo_n "checking for $ac_header... " >&6; } 6564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6710 $as_echo_n "(cached) " >&6 6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 else 6567 else
6712 cat >conftest.$ac_ext <<_ACEOF 6568 cat >conftest.$ac_ext <<_ACEOF
6713 /* confdefs.h. */ 6569 /* confdefs.h. */
6714 _ACEOF 6570 _ACEOF
6715 cat confdefs.h >>conftest.$ac_ext 6571 cat confdefs.h >>conftest.$ac_ext
6720 if { (ac_try="$ac_cpp conftest.$ac_ext" 6576 if { (ac_try="$ac_cpp conftest.$ac_ext"
6721 case "(($ac_try" in 6577 case "(($ac_try" in
6722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;; 6579 *) ac_try_echo=$ac_try;;
6724 esac 6580 esac
6725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6726 $as_echo "$ac_try_echo") >&5
6727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6728 ac_status=$? 6583 ac_status=$?
6729 grep -v '^ *+' conftest.er1 >conftest.err 6584 grep -v '^ *+' conftest.er1 >conftest.err
6730 rm -f conftest.er1 6585 rm -f conftest.er1
6731 cat conftest.err >&5 6586 cat conftest.err >&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } >/dev/null && { 6588 (exit $ac_status); } >/dev/null && {
6734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6735 test ! -s conftest.err 6590 test ! -s conftest.err
6736 }; then 6591 }; then
6737 eval "$as_ac_Header=yes" 6592 eval "$as_ac_Header=yes"
6738 else 6593 else
6739 $as_echo "$as_me: failed program was:" >&5 6594 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.$ac_ext >&5 6595 sed 's/^/| /' conftest.$ac_ext >&5
6741 6596
6742 eval "$as_ac_Header=no" 6597 eval "$as_ac_Header=no"
6743 fi 6598 fi
6744 6599
6745 rm -f conftest.err conftest.$ac_ext 6600 rm -f conftest.err conftest.$ac_ext
6746 fi 6601 fi
6747 ac_res=`eval 'as_val=${'$as_ac_Header'} 6602 ac_res=`eval echo '${'$as_ac_Header'}'`
6748 $as_echo "$as_val"'` 6603 { echo "$as_me:$LINENO: result: $ac_res" >&5
6749 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6604 echo "${ECHO_T}$ac_res" >&6; }
6750 $as_echo "$ac_res" >&6; } 6605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6751 if test `eval 'as_val=${'$as_ac_Header'}
6752 $as_echo "$as_val"'` = yes; then
6753 cat >>confdefs.h <<_ACEOF 6606 cat >>confdefs.h <<_ACEOF
6754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 _ACEOF 6608 _ACEOF
6756 6609
6757 fi 6610 fi
6758 6611
6759 done 6612 done
6760 6613
6761 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6614 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6762 $as_echo_n "checking for ANSI C header files... " >&6; } 6615 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6763 if test "${ac_cv_header_stdc+set}" = set; then 6616 if test "${ac_cv_header_stdc+set}" = set; then
6764 $as_echo_n "(cached) " >&6 6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 else 6618 else
6766 cat >conftest.$ac_ext <<_ACEOF 6619 cat >conftest.$ac_ext <<_ACEOF
6767 /* confdefs.h. */ 6620 /* confdefs.h. */
6768 _ACEOF 6621 _ACEOF
6769 cat confdefs.h >>conftest.$ac_ext 6622 cat confdefs.h >>conftest.$ac_ext
6786 if { (ac_try="$ac_compile" 6639 if { (ac_try="$ac_compile"
6787 case "(($ac_try" in 6640 case "(($ac_try" in
6788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6789 *) ac_try_echo=$ac_try;; 6642 *) ac_try_echo=$ac_try;;
6790 esac 6643 esac
6791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6792 $as_echo "$ac_try_echo") >&5
6793 (eval "$ac_compile") 2>conftest.er1 6645 (eval "$ac_compile") 2>conftest.er1
6794 ac_status=$? 6646 ac_status=$?
6795 grep -v '^ *+' conftest.er1 >conftest.err 6647 grep -v '^ *+' conftest.er1 >conftest.err
6796 rm -f conftest.er1 6648 rm -f conftest.er1
6797 cat conftest.err >&5 6649 cat conftest.err >&5
6798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && { 6651 (exit $ac_status); } && {
6800 test -z "$ac_c_werror_flag" || 6652 test -z "$ac_c_werror_flag" ||
6801 test ! -s conftest.err 6653 test ! -s conftest.err
6802 } && test -s conftest.$ac_objext; then 6654 } && test -s conftest.$ac_objext; then
6803 ac_cv_header_stdc=yes 6655 ac_cv_header_stdc=yes
6804 else 6656 else
6805 $as_echo "$as_me: failed program was:" >&5 6657 echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.$ac_ext >&5 6658 sed 's/^/| /' conftest.$ac_ext >&5
6807 6659
6808 ac_cv_header_stdc=no 6660 ac_cv_header_stdc=no
6809 fi 6661 fi
6810 6662
6892 if { (ac_try="$ac_link" 6744 if { (ac_try="$ac_link"
6893 case "(($ac_try" in 6745 case "(($ac_try" in
6894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6895 *) ac_try_echo=$ac_try;; 6747 *) ac_try_echo=$ac_try;;
6896 esac 6748 esac
6897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6898 $as_echo "$ac_try_echo") >&5
6899 (eval "$ac_link") 2>&5 6750 (eval "$ac_link") 2>&5
6900 ac_status=$? 6751 ac_status=$?
6901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6903 { (case "(($ac_try" in 6754 { (case "(($ac_try" in
6904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905 *) ac_try_echo=$ac_try;; 6756 *) ac_try_echo=$ac_try;;
6906 esac 6757 esac
6907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6908 $as_echo "$ac_try_echo") >&5
6909 (eval "$ac_try") 2>&5 6759 (eval "$ac_try") 2>&5
6910 ac_status=$? 6760 ac_status=$?
6911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then 6762 (exit $ac_status); }; }; then
6913 : 6763 :
6914 else 6764 else
6915 $as_echo "$as_me: program exited with status $ac_status" >&5 6765 echo "$as_me: program exited with status $ac_status" >&5
6916 $as_echo "$as_me: failed program was:" >&5 6766 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5 6767 sed 's/^/| /' conftest.$ac_ext >&5
6918 6768
6919 ( exit $ac_status ) 6769 ( exit $ac_status )
6920 ac_cv_header_stdc=no 6770 ac_cv_header_stdc=no
6921 fi 6771 fi
6922 rm -rf conftest.dSYM
6923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6924 fi 6773 fi
6925 6774
6926 6775
6927 fi 6776 fi
6928 fi 6777 fi
6929 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6778 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6930 $as_echo "$ac_cv_header_stdc" >&6; } 6779 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6931 if test $ac_cv_header_stdc = yes; then 6780 if test $ac_cv_header_stdc = yes; then
6932 6781
6933 cat >>confdefs.h <<\_ACEOF 6782 cat >>confdefs.h <<\_ACEOF
6934 #define STDC_HEADERS 1 6783 #define STDC_HEADERS 1
6935 _ACEOF 6784 _ACEOF
6936 6785
6937 fi 6786 fi
6938 6787
6939 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6788 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6940 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6789 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6941 if test "${ac_cv_header_time+set}" = set; then 6790 if test "${ac_cv_header_time+set}" = set; then
6942 $as_echo_n "(cached) " >&6 6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 else 6792 else
6944 cat >conftest.$ac_ext <<_ACEOF 6793 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */ 6794 /* confdefs.h. */
6946 _ACEOF 6795 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext 6796 cat confdefs.h >>conftest.$ac_ext
6964 if { (ac_try="$ac_compile" 6813 if { (ac_try="$ac_compile"
6965 case "(($ac_try" in 6814 case "(($ac_try" in
6966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6967 *) ac_try_echo=$ac_try;; 6816 *) ac_try_echo=$ac_try;;
6968 esac 6817 esac
6969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6970 $as_echo "$ac_try_echo") >&5
6971 (eval "$ac_compile") 2>conftest.er1 6819 (eval "$ac_compile") 2>conftest.er1
6972 ac_status=$? 6820 ac_status=$?
6973 grep -v '^ *+' conftest.er1 >conftest.err 6821 grep -v '^ *+' conftest.er1 >conftest.err
6974 rm -f conftest.er1 6822 rm -f conftest.er1
6975 cat conftest.err >&5 6823 cat conftest.err >&5
6976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } && { 6825 (exit $ac_status); } && {
6978 test -z "$ac_c_werror_flag" || 6826 test -z "$ac_c_werror_flag" ||
6979 test ! -s conftest.err 6827 test ! -s conftest.err
6980 } && test -s conftest.$ac_objext; then 6828 } && test -s conftest.$ac_objext; then
6981 ac_cv_header_time=yes 6829 ac_cv_header_time=yes
6982 else 6830 else
6983 $as_echo "$as_me: failed program was:" >&5 6831 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5 6832 sed 's/^/| /' conftest.$ac_ext >&5
6985 6833
6986 ac_cv_header_time=no 6834 ac_cv_header_time=no
6987 fi 6835 fi
6988 6836
6989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6990 fi 6838 fi
6991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6839 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6992 $as_echo "$ac_cv_header_time" >&6; } 6840 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6993 if test $ac_cv_header_time = yes; then 6841 if test $ac_cv_header_time = yes; then
6994 6842
6995 cat >>confdefs.h <<\_ACEOF 6843 cat >>confdefs.h <<\_ACEOF
6996 #define TIME_WITH_SYS_TIME 1 6844 #define TIME_WITH_SYS_TIME 1
6997 _ACEOF 6845 _ACEOF
6998 6846
6999 fi 6847 fi
7000 6848
7001 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 6849 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
7002 $as_echo_n "checking whether sys_siglist is declared... " >&6; } 6850 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
7003 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 6851 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
7004 $as_echo_n "(cached) " >&6 6852 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 else 6853 else
7006 cat >conftest.$ac_ext <<_ACEOF 6854 cat >conftest.$ac_ext <<_ACEOF
7007 /* confdefs.h. */ 6855 /* confdefs.h. */
7008 _ACEOF 6856 _ACEOF
7009 cat confdefs.h >>conftest.$ac_ext 6857 cat confdefs.h >>conftest.$ac_ext
7025 if { (ac_try="$ac_compile" 6873 if { (ac_try="$ac_compile"
7026 case "(($ac_try" in 6874 case "(($ac_try" in
7027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7028 *) ac_try_echo=$ac_try;; 6876 *) ac_try_echo=$ac_try;;
7029 esac 6877 esac
7030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7031 $as_echo "$ac_try_echo") >&5
7032 (eval "$ac_compile") 2>conftest.er1 6879 (eval "$ac_compile") 2>conftest.er1
7033 ac_status=$? 6880 ac_status=$?
7034 grep -v '^ *+' conftest.er1 >conftest.err 6881 grep -v '^ *+' conftest.er1 >conftest.err
7035 rm -f conftest.er1 6882 rm -f conftest.er1
7036 cat conftest.err >&5 6883 cat conftest.err >&5
7037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } && { 6885 (exit $ac_status); } && {
7039 test -z "$ac_c_werror_flag" || 6886 test -z "$ac_c_werror_flag" ||
7040 test ! -s conftest.err 6887 test ! -s conftest.err
7041 } && test -s conftest.$ac_objext; then 6888 } && test -s conftest.$ac_objext; then
7042 ac_cv_have_decl_sys_siglist=yes 6889 ac_cv_have_decl_sys_siglist=yes
7043 else 6890 else
7044 $as_echo "$as_me: failed program was:" >&5 6891 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5 6892 sed 's/^/| /' conftest.$ac_ext >&5
7046 6893
7047 ac_cv_have_decl_sys_siglist=no 6894 ac_cv_have_decl_sys_siglist=no
7048 fi 6895 fi
7049 6896
7050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7051 fi 6898 fi
7052 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 6899 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7053 $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } 6900 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
7054 if test $ac_cv_have_decl_sys_siglist = yes; then 6901 if test $ac_cv_have_decl_sys_siglist = yes; then
7055 6902
7056 cat >>confdefs.h <<_ACEOF 6903 cat >>confdefs.h <<_ACEOF
7057 #define HAVE_DECL_SYS_SIGLIST 1 6904 #define HAVE_DECL_SYS_SIGLIST 1
7058 _ACEOF 6905 _ACEOF
7067 fi 6914 fi
7068 6915
7069 6916
7070 if test $ac_cv_have_decl_sys_siglist != yes; then 6917 if test $ac_cv_have_decl_sys_siglist != yes; then
7071 # For Tru64, at least: 6918 # For Tru64, at least:
7072 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 6919 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
7073 $as_echo_n "checking whether __sys_siglist is declared... " >&6; } 6920 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; }
7074 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 6921 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
7075 $as_echo_n "(cached) " >&6 6922 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 else 6923 else
7077 cat >conftest.$ac_ext <<_ACEOF 6924 cat >conftest.$ac_ext <<_ACEOF
7078 /* confdefs.h. */ 6925 /* confdefs.h. */
7079 _ACEOF 6926 _ACEOF
7080 cat confdefs.h >>conftest.$ac_ext 6927 cat confdefs.h >>conftest.$ac_ext
7096 if { (ac_try="$ac_compile" 6943 if { (ac_try="$ac_compile"
7097 case "(($ac_try" in 6944 case "(($ac_try" in
7098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7099 *) ac_try_echo=$ac_try;; 6946 *) ac_try_echo=$ac_try;;
7100 esac 6947 esac
7101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7102 $as_echo "$ac_try_echo") >&5
7103 (eval "$ac_compile") 2>conftest.er1 6949 (eval "$ac_compile") 2>conftest.er1
7104 ac_status=$? 6950 ac_status=$?
7105 grep -v '^ *+' conftest.er1 >conftest.err 6951 grep -v '^ *+' conftest.er1 >conftest.err
7106 rm -f conftest.er1 6952 rm -f conftest.er1
7107 cat conftest.err >&5 6953 cat conftest.err >&5
7108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } && { 6955 (exit $ac_status); } && {
7110 test -z "$ac_c_werror_flag" || 6956 test -z "$ac_c_werror_flag" ||
7111 test ! -s conftest.err 6957 test ! -s conftest.err
7112 } && test -s conftest.$ac_objext; then 6958 } && test -s conftest.$ac_objext; then
7113 ac_cv_have_decl___sys_siglist=yes 6959 ac_cv_have_decl___sys_siglist=yes
7114 else 6960 else
7115 $as_echo "$as_me: failed program was:" >&5 6961 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5 6962 sed 's/^/| /' conftest.$ac_ext >&5
7117 6963
7118 ac_cv_have_decl___sys_siglist=no 6964 ac_cv_have_decl___sys_siglist=no
7119 fi 6965 fi
7120 6966
7121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7122 fi 6968 fi
7123 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 6969 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7124 $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } 6970 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; }
7125 if test $ac_cv_have_decl___sys_siglist = yes; then 6971 if test $ac_cv_have_decl___sys_siglist = yes; then
7126 6972
7127 cat >>confdefs.h <<_ACEOF 6973 cat >>confdefs.h <<_ACEOF
7128 #define HAVE_DECL___SYS_SIGLIST 1 6974 #define HAVE_DECL___SYS_SIGLIST 1
7129 _ACEOF 6975 _ACEOF
7144 #define sys_siglist __sys_siglist 6990 #define sys_siglist __sys_siglist
7145 _ACEOF 6991 _ACEOF
7146 6992
7147 fi 6993 fi
7148 fi 6994 fi
7149 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 6995 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7150 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6996 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7151 if test "${ac_cv_header_sys_wait_h+set}" = set; then 6997 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7152 $as_echo_n "(cached) " >&6 6998 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 else 6999 else
7154 cat >conftest.$ac_ext <<_ACEOF 7000 cat >conftest.$ac_ext <<_ACEOF
7155 /* confdefs.h. */ 7001 /* confdefs.h. */
7156 _ACEOF 7002 _ACEOF
7157 cat confdefs.h >>conftest.$ac_ext 7003 cat confdefs.h >>conftest.$ac_ext
7180 if { (ac_try="$ac_compile" 7026 if { (ac_try="$ac_compile"
7181 case "(($ac_try" in 7027 case "(($ac_try" in
7182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7183 *) ac_try_echo=$ac_try;; 7029 *) ac_try_echo=$ac_try;;
7184 esac 7030 esac
7185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7186 $as_echo "$ac_try_echo") >&5
7187 (eval "$ac_compile") 2>conftest.er1 7032 (eval "$ac_compile") 2>conftest.er1
7188 ac_status=$? 7033 ac_status=$?
7189 grep -v '^ *+' conftest.er1 >conftest.err 7034 grep -v '^ *+' conftest.er1 >conftest.err
7190 rm -f conftest.er1 7035 rm -f conftest.er1
7191 cat conftest.err >&5 7036 cat conftest.err >&5
7192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } && { 7038 (exit $ac_status); } && {
7194 test -z "$ac_c_werror_flag" || 7039 test -z "$ac_c_werror_flag" ||
7195 test ! -s conftest.err 7040 test ! -s conftest.err
7196 } && test -s conftest.$ac_objext; then 7041 } && test -s conftest.$ac_objext; then
7197 ac_cv_header_sys_wait_h=yes 7042 ac_cv_header_sys_wait_h=yes
7198 else 7043 else
7199 $as_echo "$as_me: failed program was:" >&5 7044 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.$ac_ext >&5 7045 sed 's/^/| /' conftest.$ac_ext >&5
7201 7046
7202 ac_cv_header_sys_wait_h=no 7047 ac_cv_header_sys_wait_h=no
7203 fi 7048 fi
7204 7049
7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7206 fi 7051 fi
7207 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 7052 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7208 $as_echo "$ac_cv_header_sys_wait_h" >&6; } 7053 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7209 if test $ac_cv_header_sys_wait_h = yes; then 7054 if test $ac_cv_header_sys_wait_h = yes; then
7210 7055
7211 cat >>confdefs.h <<\_ACEOF 7056 cat >>confdefs.h <<\_ACEOF
7212 #define HAVE_SYS_WAIT_H 1 7057 #define HAVE_SYS_WAIT_H 1
7213 _ACEOF 7058 _ACEOF
7214 7059
7215 fi 7060 fi
7216 7061
7217 7062
7218 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 7063 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5
7219 $as_echo_n "checking for struct utimbuf... " >&6; } 7064 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; }
7220 if test "${emacs_cv_struct_utimbuf+set}" = set; then 7065 if test "${emacs_cv_struct_utimbuf+set}" = set; then
7221 $as_echo_n "(cached) " >&6 7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7222 else 7067 else
7223 cat >conftest.$ac_ext <<_ACEOF 7068 cat >conftest.$ac_ext <<_ACEOF
7224 /* confdefs.h. */ 7069 /* confdefs.h. */
7225 _ACEOF 7070 _ACEOF
7226 cat confdefs.h >>conftest.$ac_ext 7071 cat confdefs.h >>conftest.$ac_ext
7251 if { (ac_try="$ac_compile" 7096 if { (ac_try="$ac_compile"
7252 case "(($ac_try" in 7097 case "(($ac_try" in
7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;; 7099 *) ac_try_echo=$ac_try;;
7255 esac 7100 esac
7256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 $as_echo "$ac_try_echo") >&5
7258 (eval "$ac_compile") 2>conftest.er1 7102 (eval "$ac_compile") 2>conftest.er1
7259 ac_status=$? 7103 ac_status=$?
7260 grep -v '^ *+' conftest.er1 >conftest.err 7104 grep -v '^ *+' conftest.er1 >conftest.err
7261 rm -f conftest.er1 7105 rm -f conftest.er1
7262 cat conftest.err >&5 7106 cat conftest.err >&5
7263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } && { 7108 (exit $ac_status); } && {
7265 test -z "$ac_c_werror_flag" || 7109 test -z "$ac_c_werror_flag" ||
7266 test ! -s conftest.err 7110 test ! -s conftest.err
7267 } && test -s conftest.$ac_objext; then 7111 } && test -s conftest.$ac_objext; then
7268 emacs_cv_struct_utimbuf=yes 7112 emacs_cv_struct_utimbuf=yes
7269 else 7113 else
7270 $as_echo "$as_me: failed program was:" >&5 7114 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.$ac_ext >&5 7115 sed 's/^/| /' conftest.$ac_ext >&5
7272 7116
7273 emacs_cv_struct_utimbuf=no 7117 emacs_cv_struct_utimbuf=no
7274 fi 7118 fi
7275 7119
7276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7277 fi 7121 fi
7278 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 7122 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
7279 $as_echo "$emacs_cv_struct_utimbuf" >&6; } 7123 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; }
7280 if test $emacs_cv_struct_utimbuf = yes; then 7124 if test $emacs_cv_struct_utimbuf = yes; then
7281 7125
7282 cat >>confdefs.h <<\_ACEOF 7126 cat >>confdefs.h <<\_ACEOF
7283 #define HAVE_STRUCT_UTIMBUF 1 7127 #define HAVE_STRUCT_UTIMBUF 1
7284 _ACEOF 7128 _ACEOF
7285 7129
7286 fi 7130 fi
7287 7131
7288 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7132 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7289 $as_echo_n "checking return type of signal handlers... " >&6; } 7133 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
7290 if test "${ac_cv_type_signal+set}" = set; then 7134 if test "${ac_cv_type_signal+set}" = set; then
7291 $as_echo_n "(cached) " >&6 7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 else 7136 else
7293 cat >conftest.$ac_ext <<_ACEOF 7137 cat >conftest.$ac_ext <<_ACEOF
7294 /* confdefs.h. */ 7138 /* confdefs.h. */
7295 _ACEOF 7139 _ACEOF
7296 cat confdefs.h >>conftest.$ac_ext 7140 cat confdefs.h >>conftest.$ac_ext
7311 if { (ac_try="$ac_compile" 7155 if { (ac_try="$ac_compile"
7312 case "(($ac_try" in 7156 case "(($ac_try" in
7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314 *) ac_try_echo=$ac_try;; 7158 *) ac_try_echo=$ac_try;;
7315 esac 7159 esac
7316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317 $as_echo "$ac_try_echo") >&5
7318 (eval "$ac_compile") 2>conftest.er1 7161 (eval "$ac_compile") 2>conftest.er1
7319 ac_status=$? 7162 ac_status=$?
7320 grep -v '^ *+' conftest.er1 >conftest.err 7163 grep -v '^ *+' conftest.er1 >conftest.err
7321 rm -f conftest.er1 7164 rm -f conftest.er1
7322 cat conftest.err >&5 7165 cat conftest.err >&5
7323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } && { 7167 (exit $ac_status); } && {
7325 test -z "$ac_c_werror_flag" || 7168 test -z "$ac_c_werror_flag" ||
7326 test ! -s conftest.err 7169 test ! -s conftest.err
7327 } && test -s conftest.$ac_objext; then 7170 } && test -s conftest.$ac_objext; then
7328 ac_cv_type_signal=int 7171 ac_cv_type_signal=int
7329 else 7172 else
7330 $as_echo "$as_me: failed program was:" >&5 7173 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.$ac_ext >&5 7174 sed 's/^/| /' conftest.$ac_ext >&5
7332 7175
7333 ac_cv_type_signal=void 7176 ac_cv_type_signal=void
7334 fi 7177 fi
7335 7178
7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337 fi 7180 fi
7338 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7181 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7339 $as_echo "$ac_cv_type_signal" >&6; } 7182 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
7340 7183
7341 cat >>confdefs.h <<_ACEOF 7184 cat >>confdefs.h <<_ACEOF
7342 #define RETSIGTYPE $ac_cv_type_signal 7185 #define RETSIGTYPE $ac_cv_type_signal
7343 _ACEOF 7186 _ACEOF
7344 7187
7345 7188
7346 7189
7347 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 7190 { echo "$as_me:$LINENO: checking for speed_t" >&5
7348 $as_echo_n "checking for speed_t... " >&6; } 7191 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; }
7349 if test "${emacs_cv_speed_t+set}" = set; then 7192 if test "${emacs_cv_speed_t+set}" = set; then
7350 $as_echo_n "(cached) " >&6 7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 else 7194 else
7352 cat >conftest.$ac_ext <<_ACEOF 7195 cat >conftest.$ac_ext <<_ACEOF
7353 /* confdefs.h. */ 7196 /* confdefs.h. */
7354 _ACEOF 7197 _ACEOF
7355 cat confdefs.h >>conftest.$ac_ext 7198 cat confdefs.h >>conftest.$ac_ext
7368 if { (ac_try="$ac_compile" 7211 if { (ac_try="$ac_compile"
7369 case "(($ac_try" in 7212 case "(($ac_try" in
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;; 7214 *) ac_try_echo=$ac_try;;
7372 esac 7215 esac
7373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7374 $as_echo "$ac_try_echo") >&5
7375 (eval "$ac_compile") 2>conftest.er1 7217 (eval "$ac_compile") 2>conftest.er1
7376 ac_status=$? 7218 ac_status=$?
7377 grep -v '^ *+' conftest.er1 >conftest.err 7219 grep -v '^ *+' conftest.er1 >conftest.err
7378 rm -f conftest.er1 7220 rm -f conftest.er1
7379 cat conftest.err >&5 7221 cat conftest.err >&5
7380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } && { 7223 (exit $ac_status); } && {
7382 test -z "$ac_c_werror_flag" || 7224 test -z "$ac_c_werror_flag" ||
7383 test ! -s conftest.err 7225 test ! -s conftest.err
7384 } && test -s conftest.$ac_objext; then 7226 } && test -s conftest.$ac_objext; then
7385 emacs_cv_speed_t=yes 7227 emacs_cv_speed_t=yes
7386 else 7228 else
7387 $as_echo "$as_me: failed program was:" >&5 7229 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5 7230 sed 's/^/| /' conftest.$ac_ext >&5
7389 7231
7390 emacs_cv_speed_t=no 7232 emacs_cv_speed_t=no
7391 fi 7233 fi
7392 7234
7393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 fi 7236 fi
7395 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 7237 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
7396 $as_echo "$emacs_cv_speed_t" >&6; } 7238 echo "${ECHO_T}$emacs_cv_speed_t" >&6; }
7397 if test $emacs_cv_speed_t = yes; then 7239 if test $emacs_cv_speed_t = yes; then
7398 7240
7399 cat >>confdefs.h <<\_ACEOF 7241 cat >>confdefs.h <<\_ACEOF
7400 #define HAVE_SPEED_T 1 7242 #define HAVE_SPEED_T 1
7401 _ACEOF 7243 _ACEOF
7402 7244
7403 fi 7245 fi
7404 7246
7405 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 7247 { echo "$as_me:$LINENO: checking for struct timeval" >&5
7406 $as_echo_n "checking for struct timeval... " >&6; } 7248 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
7407 if test "${emacs_cv_struct_timeval+set}" = set; then 7249 if test "${emacs_cv_struct_timeval+set}" = set; then
7408 $as_echo_n "(cached) " >&6 7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 else 7251 else
7410 cat >conftest.$ac_ext <<_ACEOF 7252 cat >conftest.$ac_ext <<_ACEOF
7411 /* confdefs.h. */ 7253 /* confdefs.h. */
7412 _ACEOF 7254 _ACEOF
7413 cat confdefs.h >>conftest.$ac_ext 7255 cat confdefs.h >>conftest.$ac_ext
7435 if { (ac_try="$ac_compile" 7277 if { (ac_try="$ac_compile"
7436 case "(($ac_try" in 7278 case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;; 7280 *) ac_try_echo=$ac_try;;
7439 esac 7281 esac
7440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 $as_echo "$ac_try_echo") >&5
7442 (eval "$ac_compile") 2>conftest.er1 7283 (eval "$ac_compile") 2>conftest.er1
7443 ac_status=$? 7284 ac_status=$?
7444 grep -v '^ *+' conftest.er1 >conftest.err 7285 grep -v '^ *+' conftest.er1 >conftest.err
7445 rm -f conftest.er1 7286 rm -f conftest.er1
7446 cat conftest.err >&5 7287 cat conftest.err >&5
7447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } && { 7289 (exit $ac_status); } && {
7449 test -z "$ac_c_werror_flag" || 7290 test -z "$ac_c_werror_flag" ||
7450 test ! -s conftest.err 7291 test ! -s conftest.err
7451 } && test -s conftest.$ac_objext; then 7292 } && test -s conftest.$ac_objext; then
7452 emacs_cv_struct_timeval=yes 7293 emacs_cv_struct_timeval=yes
7453 else 7294 else
7454 $as_echo "$as_me: failed program was:" >&5 7295 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.$ac_ext >&5 7296 sed 's/^/| /' conftest.$ac_ext >&5
7456 7297
7457 emacs_cv_struct_timeval=no 7298 emacs_cv_struct_timeval=no
7458 fi 7299 fi
7459 7300
7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 fi 7302 fi
7462 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 7303 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
7463 $as_echo "$emacs_cv_struct_timeval" >&6; } 7304 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; }
7464 HAVE_TIMEVAL=$emacs_cv_struct_timeval 7305 HAVE_TIMEVAL=$emacs_cv_struct_timeval
7465 if test $emacs_cv_struct_timeval = yes; then 7306 if test $emacs_cv_struct_timeval = yes; then
7466 7307
7467 cat >>confdefs.h <<\_ACEOF 7308 cat >>confdefs.h <<\_ACEOF
7468 #define HAVE_TIMEVAL 1 7309 #define HAVE_TIMEVAL 1
7469 _ACEOF 7310 _ACEOF
7470 7311
7471 fi 7312 fi
7472 7313
7473 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 7314 { echo "$as_me:$LINENO: checking for struct exception" >&5
7474 $as_echo_n "checking for struct exception... " >&6; } 7315 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; }
7475 if test "${emacs_cv_struct_exception+set}" = set; then 7316 if test "${emacs_cv_struct_exception+set}" = set; then
7476 $as_echo_n "(cached) " >&6 7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 else 7318 else
7478 cat >conftest.$ac_ext <<_ACEOF 7319 cat >conftest.$ac_ext <<_ACEOF
7479 /* confdefs.h. */ 7320 /* confdefs.h. */
7480 _ACEOF 7321 _ACEOF
7481 cat confdefs.h >>conftest.$ac_ext 7322 cat confdefs.h >>conftest.$ac_ext
7494 if { (ac_try="$ac_compile" 7335 if { (ac_try="$ac_compile"
7495 case "(($ac_try" in 7336 case "(($ac_try" in
7496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 *) ac_try_echo=$ac_try;; 7338 *) ac_try_echo=$ac_try;;
7498 esac 7339 esac
7499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 $as_echo "$ac_try_echo") >&5
7501 (eval "$ac_compile") 2>conftest.er1 7341 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$? 7342 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err 7343 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1 7344 rm -f conftest.er1
7505 cat conftest.err >&5 7345 cat conftest.err >&5
7506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && { 7347 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" || 7348 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err 7349 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then 7350 } && test -s conftest.$ac_objext; then
7511 emacs_cv_struct_exception=yes 7351 emacs_cv_struct_exception=yes
7512 else 7352 else
7513 $as_echo "$as_me: failed program was:" >&5 7353 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5 7354 sed 's/^/| /' conftest.$ac_ext >&5
7515 7355
7516 emacs_cv_struct_exception=no 7356 emacs_cv_struct_exception=no
7517 fi 7357 fi
7518 7358
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7520 fi 7360 fi
7521 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 7361 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
7522 $as_echo "$emacs_cv_struct_exception" >&6; } 7362 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; }
7523 HAVE_EXCEPTION=$emacs_cv_struct_exception 7363 HAVE_EXCEPTION=$emacs_cv_struct_exception
7524 if test $emacs_cv_struct_exception != yes; then 7364 if test $emacs_cv_struct_exception != yes; then
7525 7365
7526 cat >>confdefs.h <<\_ACEOF 7366 cat >>confdefs.h <<\_ACEOF
7527 #define NO_MATHERR 1 7367 #define NO_MATHERR 1
7530 fi 7370 fi
7531 7371
7532 7372
7533 for ac_header in sys/socket.h 7373 for ac_header in sys/socket.h
7534 do 7374 do
7535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7537 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 $as_echo_n "checking for $ac_header... " >&6; } 7378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7540 $as_echo_n "(cached) " >&6 7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 fi 7381 fi
7542 ac_res=`eval 'as_val=${'$as_ac_Header'} 7382 ac_res=`eval echo '${'$as_ac_Header'}'`
7543 $as_echo "$as_val"'` 7383 { echo "$as_me:$LINENO: result: $ac_res" >&5
7544 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7384 echo "${ECHO_T}$ac_res" >&6; }
7545 $as_echo "$ac_res" >&6; }
7546 else 7385 else
7547 # Is the header compilable? 7386 # Is the header compilable?
7548 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7549 $as_echo_n "checking $ac_header usability... " >&6; } 7388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7550 cat >conftest.$ac_ext <<_ACEOF 7389 cat >conftest.$ac_ext <<_ACEOF
7551 /* confdefs.h. */ 7390 /* confdefs.h. */
7552 _ACEOF 7391 _ACEOF
7553 cat confdefs.h >>conftest.$ac_ext 7392 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF 7393 cat >>conftest.$ac_ext <<_ACEOF
7560 if { (ac_try="$ac_compile" 7399 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in 7400 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;; 7402 *) ac_try_echo=$ac_try;;
7564 esac 7403 esac
7565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 $as_echo "$ac_try_echo") >&5
7567 (eval "$ac_compile") 2>conftest.er1 7405 (eval "$ac_compile") 2>conftest.er1
7568 ac_status=$? 7406 ac_status=$?
7569 grep -v '^ *+' conftest.er1 >conftest.err 7407 grep -v '^ *+' conftest.er1 >conftest.err
7570 rm -f conftest.er1 7408 rm -f conftest.er1
7571 cat conftest.err >&5 7409 cat conftest.err >&5
7572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && { 7411 (exit $ac_status); } && {
7574 test -z "$ac_c_werror_flag" || 7412 test -z "$ac_c_werror_flag" ||
7575 test ! -s conftest.err 7413 test ! -s conftest.err
7576 } && test -s conftest.$ac_objext; then 7414 } && test -s conftest.$ac_objext; then
7577 ac_header_compiler=yes 7415 ac_header_compiler=yes
7578 else 7416 else
7579 $as_echo "$as_me: failed program was:" >&5 7417 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5 7418 sed 's/^/| /' conftest.$ac_ext >&5
7581 7419
7582 ac_header_compiler=no 7420 ac_header_compiler=no
7583 fi 7421 fi
7584 7422
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7587 $as_echo "$ac_header_compiler" >&6; } 7425 echo "${ECHO_T}$ac_header_compiler" >&6; }
7588 7426
7589 # Is the header present? 7427 # Is the header present?
7590 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7591 $as_echo_n "checking $ac_header presence... " >&6; } 7429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7592 cat >conftest.$ac_ext <<_ACEOF 7430 cat >conftest.$ac_ext <<_ACEOF
7593 /* confdefs.h. */ 7431 /* confdefs.h. */
7594 _ACEOF 7432 _ACEOF
7595 cat confdefs.h >>conftest.$ac_ext 7433 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF 7434 cat >>conftest.$ac_ext <<_ACEOF
7600 if { (ac_try="$ac_cpp conftest.$ac_ext" 7438 if { (ac_try="$ac_cpp conftest.$ac_ext"
7601 case "(($ac_try" in 7439 case "(($ac_try" in
7602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7603 *) ac_try_echo=$ac_try;; 7441 *) ac_try_echo=$ac_try;;
7604 esac 7442 esac
7605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7606 $as_echo "$ac_try_echo") >&5
7607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7608 ac_status=$? 7445 ac_status=$?
7609 grep -v '^ *+' conftest.er1 >conftest.err 7446 grep -v '^ *+' conftest.er1 >conftest.err
7610 rm -f conftest.er1 7447 rm -f conftest.er1
7611 cat conftest.err >&5 7448 cat conftest.err >&5
7612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); } >/dev/null && { 7450 (exit $ac_status); } >/dev/null && {
7614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7615 test ! -s conftest.err 7452 test ! -s conftest.err
7616 }; then 7453 }; then
7617 ac_header_preproc=yes 7454 ac_header_preproc=yes
7618 else 7455 else
7619 $as_echo "$as_me: failed program was:" >&5 7456 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.$ac_ext >&5 7457 sed 's/^/| /' conftest.$ac_ext >&5
7621 7458
7622 ac_header_preproc=no 7459 ac_header_preproc=no
7623 fi 7460 fi
7624 7461
7625 rm -f conftest.err conftest.$ac_ext 7462 rm -f conftest.err conftest.$ac_ext
7626 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7627 $as_echo "$ac_header_preproc" >&6; } 7464 echo "${ECHO_T}$ac_header_preproc" >&6; }
7628 7465
7629 # So? What about this header? 7466 # So? What about this header?
7630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7631 yes:no: ) 7468 yes:no: )
7632 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7633 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7634 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7635 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7636 ac_header_preproc=yes 7473 ac_header_preproc=yes
7637 ;; 7474 ;;
7638 no:yes:* ) 7475 no:yes:* )
7639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7640 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7642 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7643 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7644 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7645 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7646 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7648 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7649 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7650 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7651 7488
7652 ;; 7489 ;;
7653 esac 7490 esac
7654 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7655 $as_echo_n "checking for $ac_header... " >&6; } 7492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7657 $as_echo_n "(cached) " >&6 7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7658 else 7495 else
7659 eval "$as_ac_Header=\$ac_header_preproc" 7496 eval "$as_ac_Header=\$ac_header_preproc"
7660 fi 7497 fi
7661 ac_res=`eval 'as_val=${'$as_ac_Header'} 7498 ac_res=`eval echo '${'$as_ac_Header'}'`
7662 $as_echo "$as_val"'` 7499 { echo "$as_me:$LINENO: result: $ac_res" >&5
7663 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7500 echo "${ECHO_T}$ac_res" >&6; }
7664 $as_echo "$ac_res" >&6; } 7501
7665 7502 fi
7666 fi 7503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7667 if test `eval 'as_val=${'$as_ac_Header'}
7668 $as_echo "$as_val"'` = yes; then
7669 cat >>confdefs.h <<_ACEOF 7504 cat >>confdefs.h <<_ACEOF
7670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7671 _ACEOF 7506 _ACEOF
7672 7507
7673 fi 7508 fi
7674 7509
7675 done 7510 done
7676 7511
7677 7512
7678 for ac_header in net/if.h 7513 for ac_header in net/if.h
7679 do 7514 do
7680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7681 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7682 $as_echo_n "checking for $ac_header... " >&6; } 7517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7684 $as_echo_n "(cached) " >&6 7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 else 7520 else
7686 cat >conftest.$ac_ext <<_ACEOF 7521 cat >conftest.$ac_ext <<_ACEOF
7687 /* confdefs.h. */ 7522 /* confdefs.h. */
7688 _ACEOF 7523 _ACEOF
7689 cat confdefs.h >>conftest.$ac_ext 7524 cat confdefs.h >>conftest.$ac_ext
7700 if { (ac_try="$ac_compile" 7535 if { (ac_try="$ac_compile"
7701 case "(($ac_try" in 7536 case "(($ac_try" in
7702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7703 *) ac_try_echo=$ac_try;; 7538 *) ac_try_echo=$ac_try;;
7704 esac 7539 esac
7705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706 $as_echo "$ac_try_echo") >&5
7707 (eval "$ac_compile") 2>conftest.er1 7541 (eval "$ac_compile") 2>conftest.er1
7708 ac_status=$? 7542 ac_status=$?
7709 grep -v '^ *+' conftest.er1 >conftest.err 7543 grep -v '^ *+' conftest.er1 >conftest.err
7710 rm -f conftest.er1 7544 rm -f conftest.er1
7711 cat conftest.err >&5 7545 cat conftest.err >&5
7712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } && { 7547 (exit $ac_status); } && {
7714 test -z "$ac_c_werror_flag" || 7548 test -z "$ac_c_werror_flag" ||
7715 test ! -s conftest.err 7549 test ! -s conftest.err
7716 } && test -s conftest.$ac_objext; then 7550 } && test -s conftest.$ac_objext; then
7717 eval "$as_ac_Header=yes" 7551 eval "$as_ac_Header=yes"
7718 else 7552 else
7719 $as_echo "$as_me: failed program was:" >&5 7553 echo "$as_me: failed program was:" >&5
7720 sed 's/^/| /' conftest.$ac_ext >&5 7554 sed 's/^/| /' conftest.$ac_ext >&5
7721 7555
7722 eval "$as_ac_Header=no" 7556 eval "$as_ac_Header=no"
7723 fi 7557 fi
7724 7558
7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726 fi 7560 fi
7727 ac_res=`eval 'as_val=${'$as_ac_Header'} 7561 ac_res=`eval echo '${'$as_ac_Header'}'`
7728 $as_echo "$as_val"'` 7562 { echo "$as_me:$LINENO: result: $ac_res" >&5
7729 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7563 echo "${ECHO_T}$ac_res" >&6; }
7730 $as_echo "$ac_res" >&6; } 7564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7731 if test `eval 'as_val=${'$as_ac_Header'}
7732 $as_echo "$as_val"'` = yes; then
7733 cat >>confdefs.h <<_ACEOF 7565 cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF 7567 _ACEOF
7736 7568
7737 fi 7569 fi
7738 7570
7739 done 7571 done
7740 7572
7741 7573
7742 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 7574 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7743 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7575 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
7744 if test "${ac_cv_struct_tm+set}" = set; then 7576 if test "${ac_cv_struct_tm+set}" = set; then
7745 $as_echo_n "(cached) " >&6 7577 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 else 7578 else
7747 cat >conftest.$ac_ext <<_ACEOF 7579 cat >conftest.$ac_ext <<_ACEOF
7748 /* confdefs.h. */ 7580 /* confdefs.h. */
7749 _ACEOF 7581 _ACEOF
7750 cat confdefs.h >>conftest.$ac_ext 7582 cat confdefs.h >>conftest.$ac_ext
7756 int 7588 int
7757 main () 7589 main ()
7758 { 7590 {
7759 struct tm tm; 7591 struct tm tm;
7760 int *p = &tm.tm_sec; 7592 int *p = &tm.tm_sec;
7761 return !p; 7593 return !p;
7762 ; 7594 ;
7763 return 0; 7595 return 0;
7764 } 7596 }
7765 _ACEOF 7597 _ACEOF
7766 rm -f conftest.$ac_objext 7598 rm -f conftest.$ac_objext
7767 if { (ac_try="$ac_compile" 7599 if { (ac_try="$ac_compile"
7768 case "(($ac_try" in 7600 case "(($ac_try" in
7769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;; 7602 *) ac_try_echo=$ac_try;;
7771 esac 7603 esac
7772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7773 $as_echo "$ac_try_echo") >&5
7774 (eval "$ac_compile") 2>conftest.er1 7605 (eval "$ac_compile") 2>conftest.er1
7775 ac_status=$? 7606 ac_status=$?
7776 grep -v '^ *+' conftest.er1 >conftest.err 7607 grep -v '^ *+' conftest.er1 >conftest.err
7777 rm -f conftest.er1 7608 rm -f conftest.er1
7778 cat conftest.err >&5 7609 cat conftest.err >&5
7779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && { 7611 (exit $ac_status); } && {
7781 test -z "$ac_c_werror_flag" || 7612 test -z "$ac_c_werror_flag" ||
7782 test ! -s conftest.err 7613 test ! -s conftest.err
7783 } && test -s conftest.$ac_objext; then 7614 } && test -s conftest.$ac_objext; then
7784 ac_cv_struct_tm=time.h 7615 ac_cv_struct_tm=time.h
7785 else 7616 else
7786 $as_echo "$as_me: failed program was:" >&5 7617 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5 7618 sed 's/^/| /' conftest.$ac_ext >&5
7788 7619
7789 ac_cv_struct_tm=sys/time.h 7620 ac_cv_struct_tm=sys/time.h
7790 fi 7621 fi
7791 7622
7792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7793 fi 7624 fi
7794 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7625 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7795 $as_echo "$ac_cv_struct_tm" >&6; } 7626 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
7796 if test $ac_cv_struct_tm = sys/time.h; then 7627 if test $ac_cv_struct_tm = sys/time.h; then
7797 7628
7798 cat >>confdefs.h <<\_ACEOF 7629 cat >>confdefs.h <<\_ACEOF
7799 #define TM_IN_SYS_TIME 1 7630 #define TM_IN_SYS_TIME 1
7800 _ACEOF 7631 _ACEOF
7801 7632
7802 fi 7633 fi
7803 7634
7804 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 7635 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7805 $as_echo_n "checking for struct tm.tm_zone... " >&6; } 7636 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
7806 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 7637 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7807 $as_echo_n "(cached) " >&6 7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7808 else 7639 else
7809 cat >conftest.$ac_ext <<_ACEOF 7640 cat >conftest.$ac_ext <<_ACEOF
7810 /* confdefs.h. */ 7641 /* confdefs.h. */
7811 _ACEOF 7642 _ACEOF
7812 cat confdefs.h >>conftest.$ac_ext 7643 cat confdefs.h >>conftest.$ac_ext
7830 if { (ac_try="$ac_compile" 7661 if { (ac_try="$ac_compile"
7831 case "(($ac_try" in 7662 case "(($ac_try" in
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7833 *) ac_try_echo=$ac_try;; 7664 *) ac_try_echo=$ac_try;;
7834 esac 7665 esac
7835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7836 $as_echo "$ac_try_echo") >&5
7837 (eval "$ac_compile") 2>conftest.er1 7667 (eval "$ac_compile") 2>conftest.er1
7838 ac_status=$? 7668 ac_status=$?
7839 grep -v '^ *+' conftest.er1 >conftest.err 7669 grep -v '^ *+' conftest.er1 >conftest.err
7840 rm -f conftest.er1 7670 rm -f conftest.er1
7841 cat conftest.err >&5 7671 cat conftest.err >&5
7842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); } && { 7673 (exit $ac_status); } && {
7844 test -z "$ac_c_werror_flag" || 7674 test -z "$ac_c_werror_flag" ||
7845 test ! -s conftest.err 7675 test ! -s conftest.err
7846 } && test -s conftest.$ac_objext; then 7676 } && test -s conftest.$ac_objext; then
7847 ac_cv_member_struct_tm_tm_zone=yes 7677 ac_cv_member_struct_tm_tm_zone=yes
7848 else 7678 else
7849 $as_echo "$as_me: failed program was:" >&5 7679 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.$ac_ext >&5 7680 sed 's/^/| /' conftest.$ac_ext >&5
7851 7681
7852 cat >conftest.$ac_ext <<_ACEOF 7682 cat >conftest.$ac_ext <<_ACEOF
7853 /* confdefs.h. */ 7683 /* confdefs.h. */
7854 _ACEOF 7684 _ACEOF
7873 if { (ac_try="$ac_compile" 7703 if { (ac_try="$ac_compile"
7874 case "(($ac_try" in 7704 case "(($ac_try" in
7875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7876 *) ac_try_echo=$ac_try;; 7706 *) ac_try_echo=$ac_try;;
7877 esac 7707 esac
7878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7879 $as_echo "$ac_try_echo") >&5
7880 (eval "$ac_compile") 2>conftest.er1 7709 (eval "$ac_compile") 2>conftest.er1
7881 ac_status=$? 7710 ac_status=$?
7882 grep -v '^ *+' conftest.er1 >conftest.err 7711 grep -v '^ *+' conftest.er1 >conftest.err
7883 rm -f conftest.er1 7712 rm -f conftest.er1
7884 cat conftest.err >&5 7713 cat conftest.err >&5
7885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); } && { 7715 (exit $ac_status); } && {
7887 test -z "$ac_c_werror_flag" || 7716 test -z "$ac_c_werror_flag" ||
7888 test ! -s conftest.err 7717 test ! -s conftest.err
7889 } && test -s conftest.$ac_objext; then 7718 } && test -s conftest.$ac_objext; then
7890 ac_cv_member_struct_tm_tm_zone=yes 7719 ac_cv_member_struct_tm_tm_zone=yes
7891 else 7720 else
7892 $as_echo "$as_me: failed program was:" >&5 7721 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.$ac_ext >&5 7722 sed 's/^/| /' conftest.$ac_ext >&5
7894 7723
7895 ac_cv_member_struct_tm_tm_zone=no 7724 ac_cv_member_struct_tm_tm_zone=no
7896 fi 7725 fi
7897 7726
7898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7899 fi 7728 fi
7900 7729
7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7902 fi 7731 fi
7903 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 7732 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7904 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } 7733 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
7905 if test $ac_cv_member_struct_tm_tm_zone = yes; then 7734 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7906 7735
7907 cat >>confdefs.h <<_ACEOF 7736 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_STRUCT_TM_TM_ZONE 1 7737 #define HAVE_STRUCT_TM_TM_ZONE 1
7909 _ACEOF 7738 _ACEOF
7916 cat >>confdefs.h <<\_ACEOF 7745 cat >>confdefs.h <<\_ACEOF
7917 #define HAVE_TM_ZONE 1 7746 #define HAVE_TM_ZONE 1
7918 _ACEOF 7747 _ACEOF
7919 7748
7920 else 7749 else
7921 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 7750 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7922 $as_echo_n "checking whether tzname is declared... " >&6; } 7751 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
7923 if test "${ac_cv_have_decl_tzname+set}" = set; then 7752 if test "${ac_cv_have_decl_tzname+set}" = set; then
7924 $as_echo_n "(cached) " >&6 7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 else 7754 else
7926 cat >conftest.$ac_ext <<_ACEOF 7755 cat >conftest.$ac_ext <<_ACEOF
7927 /* confdefs.h. */ 7756 /* confdefs.h. */
7928 _ACEOF 7757 _ACEOF
7929 cat confdefs.h >>conftest.$ac_ext 7758 cat confdefs.h >>conftest.$ac_ext
7946 if { (ac_try="$ac_compile" 7775 if { (ac_try="$ac_compile"
7947 case "(($ac_try" in 7776 case "(($ac_try" in
7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;; 7778 *) ac_try_echo=$ac_try;;
7950 esac 7779 esac
7951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7952 $as_echo "$ac_try_echo") >&5
7953 (eval "$ac_compile") 2>conftest.er1 7781 (eval "$ac_compile") 2>conftest.er1
7954 ac_status=$? 7782 ac_status=$?
7955 grep -v '^ *+' conftest.er1 >conftest.err 7783 grep -v '^ *+' conftest.er1 >conftest.err
7956 rm -f conftest.er1 7784 rm -f conftest.er1
7957 cat conftest.err >&5 7785 cat conftest.err >&5
7958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); } && { 7787 (exit $ac_status); } && {
7960 test -z "$ac_c_werror_flag" || 7788 test -z "$ac_c_werror_flag" ||
7961 test ! -s conftest.err 7789 test ! -s conftest.err
7962 } && test -s conftest.$ac_objext; then 7790 } && test -s conftest.$ac_objext; then
7963 ac_cv_have_decl_tzname=yes 7791 ac_cv_have_decl_tzname=yes
7964 else 7792 else
7965 $as_echo "$as_me: failed program was:" >&5 7793 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5 7794 sed 's/^/| /' conftest.$ac_ext >&5
7967 7795
7968 ac_cv_have_decl_tzname=no 7796 ac_cv_have_decl_tzname=no
7969 fi 7797 fi
7970 7798
7971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7972 fi 7800 fi
7973 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 7801 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7974 $as_echo "$ac_cv_have_decl_tzname" >&6; } 7802 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
7975 if test $ac_cv_have_decl_tzname = yes; then 7803 if test $ac_cv_have_decl_tzname = yes; then
7976 7804
7977 cat >>confdefs.h <<_ACEOF 7805 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DECL_TZNAME 1 7806 #define HAVE_DECL_TZNAME 1
7979 _ACEOF 7807 _ACEOF
7986 7814
7987 7815
7988 fi 7816 fi
7989 7817
7990 7818
7991 { $as_echo "$as_me:$LINENO: checking for tzname" >&5 7819 { echo "$as_me:$LINENO: checking for tzname" >&5
7992 $as_echo_n "checking for tzname... " >&6; } 7820 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7993 if test "${ac_cv_var_tzname+set}" = set; then 7821 if test "${ac_cv_var_tzname+set}" = set; then
7994 $as_echo_n "(cached) " >&6 7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 else 7823 else
7996 cat >conftest.$ac_ext <<_ACEOF 7824 cat >conftest.$ac_ext <<_ACEOF
7997 /* confdefs.h. */ 7825 /* confdefs.h. */
7998 _ACEOF 7826 _ACEOF
7999 cat confdefs.h >>conftest.$ac_ext 7827 cat confdefs.h >>conftest.$ac_ext
8016 if { (ac_try="$ac_link" 7844 if { (ac_try="$ac_link"
8017 case "(($ac_try" in 7845 case "(($ac_try" in
8018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8019 *) ac_try_echo=$ac_try;; 7847 *) ac_try_echo=$ac_try;;
8020 esac 7848 esac
8021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8022 $as_echo "$ac_try_echo") >&5
8023 (eval "$ac_link") 2>conftest.er1 7850 (eval "$ac_link") 2>conftest.er1
8024 ac_status=$? 7851 ac_status=$?
8025 grep -v '^ *+' conftest.er1 >conftest.err 7852 grep -v '^ *+' conftest.er1 >conftest.err
8026 rm -f conftest.er1 7853 rm -f conftest.er1
8027 cat conftest.err >&5 7854 cat conftest.err >&5
8028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); } && { 7856 (exit $ac_status); } && {
8030 test -z "$ac_c_werror_flag" || 7857 test -z "$ac_c_werror_flag" ||
8031 test ! -s conftest.err 7858 test ! -s conftest.err
8032 } && test -s conftest$ac_exeext && { 7859 } && test -s conftest$ac_exeext &&
8033 test "$cross_compiling" = yes || 7860 $as_test_x conftest$ac_exeext; then
8034 $as_test_x conftest$ac_exeext
8035 }; then
8036 ac_cv_var_tzname=yes 7861 ac_cv_var_tzname=yes
8037 else 7862 else
8038 $as_echo "$as_me: failed program was:" >&5 7863 echo "$as_me: failed program was:" >&5
8039 sed 's/^/| /' conftest.$ac_ext >&5 7864 sed 's/^/| /' conftest.$ac_ext >&5
8040 7865
8041 ac_cv_var_tzname=no 7866 ac_cv_var_tzname=no
8042 fi 7867 fi
8043 7868
8044 rm -rf conftest.dSYM
8045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8046 conftest$ac_exeext conftest.$ac_ext 7870 conftest$ac_exeext conftest.$ac_ext
8047 fi 7871 fi
8048 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 7872 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8049 $as_echo "$ac_cv_var_tzname" >&6; } 7873 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
8050 if test $ac_cv_var_tzname = yes; then 7874 if test $ac_cv_var_tzname = yes; then
8051 7875
8052 cat >>confdefs.h <<\_ACEOF 7876 cat >>confdefs.h <<\_ACEOF
8053 #define HAVE_TZNAME 1 7877 #define HAVE_TZNAME 1
8054 _ACEOF 7878 _ACEOF
8055 7879
8056 fi 7880 fi
8057 fi 7881 fi
8058 7882
8059 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 7883 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
8060 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } 7884 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
8061 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 7885 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
8062 $as_echo_n "(cached) " >&6 7886 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 else 7887 else
8064 cat >conftest.$ac_ext <<_ACEOF 7888 cat >conftest.$ac_ext <<_ACEOF
8065 /* confdefs.h. */ 7889 /* confdefs.h. */
8066 _ACEOF 7890 _ACEOF
8067 cat confdefs.h >>conftest.$ac_ext 7891 cat confdefs.h >>conftest.$ac_ext
8083 if { (ac_try="$ac_compile" 7907 if { (ac_try="$ac_compile"
8084 case "(($ac_try" in 7908 case "(($ac_try" in
8085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8086 *) ac_try_echo=$ac_try;; 7910 *) ac_try_echo=$ac_try;;
8087 esac 7911 esac
8088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8089 $as_echo "$ac_try_echo") >&5
8090 (eval "$ac_compile") 2>conftest.er1 7913 (eval "$ac_compile") 2>conftest.er1
8091 ac_status=$? 7914 ac_status=$?
8092 grep -v '^ *+' conftest.er1 >conftest.err 7915 grep -v '^ *+' conftest.er1 >conftest.err
8093 rm -f conftest.er1 7916 rm -f conftest.er1
8094 cat conftest.err >&5 7917 cat conftest.err >&5
8095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } && { 7919 (exit $ac_status); } && {
8097 test -z "$ac_c_werror_flag" || 7920 test -z "$ac_c_werror_flag" ||
8098 test ! -s conftest.err 7921 test ! -s conftest.err
8099 } && test -s conftest.$ac_objext; then 7922 } && test -s conftest.$ac_objext; then
8100 ac_cv_member_struct_tm_tm_gmtoff=yes 7923 ac_cv_member_struct_tm_tm_gmtoff=yes
8101 else 7924 else
8102 $as_echo "$as_me: failed program was:" >&5 7925 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5 7926 sed 's/^/| /' conftest.$ac_ext >&5
8104 7927
8105 cat >conftest.$ac_ext <<_ACEOF 7928 cat >conftest.$ac_ext <<_ACEOF
8106 /* confdefs.h. */ 7929 /* confdefs.h. */
8107 _ACEOF 7930 _ACEOF
8124 if { (ac_try="$ac_compile" 7947 if { (ac_try="$ac_compile"
8125 case "(($ac_try" in 7948 case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;; 7950 *) ac_try_echo=$ac_try;;
8128 esac 7951 esac
8129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 $as_echo "$ac_try_echo") >&5
8131 (eval "$ac_compile") 2>conftest.er1 7953 (eval "$ac_compile") 2>conftest.er1
8132 ac_status=$? 7954 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err 7955 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1 7956 rm -f conftest.er1
8135 cat conftest.err >&5 7957 cat conftest.err >&5
8136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && { 7959 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" || 7960 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err 7961 test ! -s conftest.err
8140 } && test -s conftest.$ac_objext; then 7962 } && test -s conftest.$ac_objext; then
8141 ac_cv_member_struct_tm_tm_gmtoff=yes 7963 ac_cv_member_struct_tm_tm_gmtoff=yes
8142 else 7964 else
8143 $as_echo "$as_me: failed program was:" >&5 7965 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5 7966 sed 's/^/| /' conftest.$ac_ext >&5
8145 7967
8146 ac_cv_member_struct_tm_tm_gmtoff=no 7968 ac_cv_member_struct_tm_tm_gmtoff=no
8147 fi 7969 fi
8148 7970
8149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8150 fi 7972 fi
8151 7973
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8153 fi 7975 fi
8154 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 7976 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8155 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } 7977 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8156 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then 7978 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8157 7979
8158 cat >>confdefs.h <<\_ACEOF 7980 cat >>confdefs.h <<\_ACEOF
8159 #define HAVE_TM_GMTOFF 1 7981 #define HAVE_TM_GMTOFF 1
8160 _ACEOF 7982 _ACEOF
8161 7983
8162 fi 7984 fi
8163 7985
8164 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 7986 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
8165 $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } 7987 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; }
8166 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then 7988 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8167 $as_echo_n "(cached) " >&6 7989 echo $ECHO_N "(cached) $ECHO_C" >&6
8168 else 7990 else
8169 cat >conftest.$ac_ext <<_ACEOF 7991 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h. */ 7992 /* confdefs.h. */
8171 _ACEOF 7993 _ACEOF
8172 cat confdefs.h >>conftest.$ac_ext 7994 cat confdefs.h >>conftest.$ac_ext
8194 if { (ac_try="$ac_compile" 8016 if { (ac_try="$ac_compile"
8195 case "(($ac_try" in 8017 case "(($ac_try" in
8196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8197 *) ac_try_echo=$ac_try;; 8019 *) ac_try_echo=$ac_try;;
8198 esac 8020 esac
8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8200 $as_echo "$ac_try_echo") >&5
8201 (eval "$ac_compile") 2>conftest.er1 8022 (eval "$ac_compile") 2>conftest.er1
8202 ac_status=$? 8023 ac_status=$?
8203 grep -v '^ *+' conftest.er1 >conftest.err 8024 grep -v '^ *+' conftest.er1 >conftest.err
8204 rm -f conftest.er1 8025 rm -f conftest.er1
8205 cat conftest.err >&5 8026 cat conftest.err >&5
8206 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } && { 8028 (exit $ac_status); } && {
8208 test -z "$ac_c_werror_flag" || 8029 test -z "$ac_c_werror_flag" ||
8209 test ! -s conftest.err 8030 test ! -s conftest.err
8210 } && test -s conftest.$ac_objext; then 8031 } && test -s conftest.$ac_objext; then
8211 ac_cv_member_struct_ifreq_ifr_flags=yes 8032 ac_cv_member_struct_ifreq_ifr_flags=yes
8212 else 8033 else
8213 $as_echo "$as_me: failed program was:" >&5 8034 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5 8035 sed 's/^/| /' conftest.$ac_ext >&5
8215 8036
8216 cat >conftest.$ac_ext <<_ACEOF 8037 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */ 8038 /* confdefs.h. */
8218 _ACEOF 8039 _ACEOF
8241 if { (ac_try="$ac_compile" 8062 if { (ac_try="$ac_compile"
8242 case "(($ac_try" in 8063 case "(($ac_try" in
8243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;; 8065 *) ac_try_echo=$ac_try;;
8245 esac 8066 esac
8246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 $as_echo "$ac_try_echo") >&5
8248 (eval "$ac_compile") 2>conftest.er1 8068 (eval "$ac_compile") 2>conftest.er1
8249 ac_status=$? 8069 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err 8070 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1 8071 rm -f conftest.er1
8252 cat conftest.err >&5 8072 cat conftest.err >&5
8253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && { 8074 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" || 8075 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err 8076 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then 8077 } && test -s conftest.$ac_objext; then
8258 ac_cv_member_struct_ifreq_ifr_flags=yes 8078 ac_cv_member_struct_ifreq_ifr_flags=yes
8259 else 8079 else
8260 $as_echo "$as_me: failed program was:" >&5 8080 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5 8081 sed 's/^/| /' conftest.$ac_ext >&5
8262 8082
8263 ac_cv_member_struct_ifreq_ifr_flags=no 8083 ac_cv_member_struct_ifreq_ifr_flags=no
8264 fi 8084 fi
8265 8085
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8267 fi 8087 fi
8268 8088
8269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8270 fi 8090 fi
8271 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8091 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8272 $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } 8092 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8273 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then 8093 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
8274 8094
8275 cat >>confdefs.h <<_ACEOF 8095 cat >>confdefs.h <<_ACEOF
8276 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8096 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
8277 _ACEOF 8097 _ACEOF
8278 8098
8279 8099
8280 fi 8100 fi
8281 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 8101 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
8282 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } 8102 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; }
8283 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then 8103 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8284 $as_echo_n "(cached) " >&6 8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8285 else 8105 else
8286 cat >conftest.$ac_ext <<_ACEOF 8106 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */ 8107 /* confdefs.h. */
8288 _ACEOF 8108 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext 8109 cat confdefs.h >>conftest.$ac_ext
8311 if { (ac_try="$ac_compile" 8131 if { (ac_try="$ac_compile"
8312 case "(($ac_try" in 8132 case "(($ac_try" in
8313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8314 *) ac_try_echo=$ac_try;; 8134 *) ac_try_echo=$ac_try;;
8315 esac 8135 esac
8316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8317 $as_echo "$ac_try_echo") >&5
8318 (eval "$ac_compile") 2>conftest.er1 8137 (eval "$ac_compile") 2>conftest.er1
8319 ac_status=$? 8138 ac_status=$?
8320 grep -v '^ *+' conftest.er1 >conftest.err 8139 grep -v '^ *+' conftest.er1 >conftest.err
8321 rm -f conftest.er1 8140 rm -f conftest.er1
8322 cat conftest.err >&5 8141 cat conftest.err >&5
8323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } && { 8143 (exit $ac_status); } && {
8325 test -z "$ac_c_werror_flag" || 8144 test -z "$ac_c_werror_flag" ||
8326 test ! -s conftest.err 8145 test ! -s conftest.err
8327 } && test -s conftest.$ac_objext; then 8146 } && test -s conftest.$ac_objext; then
8328 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8147 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8329 else 8148 else
8330 $as_echo "$as_me: failed program was:" >&5 8149 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5 8150 sed 's/^/| /' conftest.$ac_ext >&5
8332 8151
8333 cat >conftest.$ac_ext <<_ACEOF 8152 cat >conftest.$ac_ext <<_ACEOF
8334 /* confdefs.h. */ 8153 /* confdefs.h. */
8335 _ACEOF 8154 _ACEOF
8358 if { (ac_try="$ac_compile" 8177 if { (ac_try="$ac_compile"
8359 case "(($ac_try" in 8178 case "(($ac_try" in
8360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8361 *) ac_try_echo=$ac_try;; 8180 *) ac_try_echo=$ac_try;;
8362 esac 8181 esac
8363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8364 $as_echo "$ac_try_echo") >&5
8365 (eval "$ac_compile") 2>conftest.er1 8183 (eval "$ac_compile") 2>conftest.er1
8366 ac_status=$? 8184 ac_status=$?
8367 grep -v '^ *+' conftest.er1 >conftest.err 8185 grep -v '^ *+' conftest.er1 >conftest.err
8368 rm -f conftest.er1 8186 rm -f conftest.er1
8369 cat conftest.err >&5 8187 cat conftest.err >&5
8370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } && { 8189 (exit $ac_status); } && {
8372 test -z "$ac_c_werror_flag" || 8190 test -z "$ac_c_werror_flag" ||
8373 test ! -s conftest.err 8191 test ! -s conftest.err
8374 } && test -s conftest.$ac_objext; then 8192 } && test -s conftest.$ac_objext; then
8375 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8193 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8376 else 8194 else
8377 $as_echo "$as_me: failed program was:" >&5 8195 echo "$as_me: failed program was:" >&5
8378 sed 's/^/| /' conftest.$ac_ext >&5 8196 sed 's/^/| /' conftest.$ac_ext >&5
8379 8197
8380 ac_cv_member_struct_ifreq_ifr_hwaddr=no 8198 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8381 fi 8199 fi
8382 8200
8383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8384 fi 8202 fi
8385 8203
8386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8387 fi 8205 fi
8388 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 8206 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8389 $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } 8207 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8390 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then 8208 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
8391 8209
8392 cat >>confdefs.h <<_ACEOF 8210 cat >>confdefs.h <<_ACEOF
8393 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8211 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
8394 _ACEOF 8212 _ACEOF
8395 8213
8396 8214
8397 fi 8215 fi
8398 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 8216 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
8399 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } 8217 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; }
8400 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then 8218 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8401 $as_echo_n "(cached) " >&6 8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 else 8220 else
8403 cat >conftest.$ac_ext <<_ACEOF 8221 cat >conftest.$ac_ext <<_ACEOF
8404 /* confdefs.h. */ 8222 /* confdefs.h. */
8405 _ACEOF 8223 _ACEOF
8406 cat confdefs.h >>conftest.$ac_ext 8224 cat confdefs.h >>conftest.$ac_ext
8428 if { (ac_try="$ac_compile" 8246 if { (ac_try="$ac_compile"
8429 case "(($ac_try" in 8247 case "(($ac_try" in
8430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;; 8249 *) ac_try_echo=$ac_try;;
8432 esac 8250 esac
8433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8434 $as_echo "$ac_try_echo") >&5
8435 (eval "$ac_compile") 2>conftest.er1 8252 (eval "$ac_compile") 2>conftest.er1
8436 ac_status=$? 8253 ac_status=$?
8437 grep -v '^ *+' conftest.er1 >conftest.err 8254 grep -v '^ *+' conftest.er1 >conftest.err
8438 rm -f conftest.er1 8255 rm -f conftest.er1
8439 cat conftest.err >&5 8256 cat conftest.err >&5
8440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } && { 8258 (exit $ac_status); } && {
8442 test -z "$ac_c_werror_flag" || 8259 test -z "$ac_c_werror_flag" ||
8443 test ! -s conftest.err 8260 test ! -s conftest.err
8444 } && test -s conftest.$ac_objext; then 8261 } && test -s conftest.$ac_objext; then
8445 ac_cv_member_struct_ifreq_ifr_netmask=yes 8262 ac_cv_member_struct_ifreq_ifr_netmask=yes
8446 else 8263 else
8447 $as_echo "$as_me: failed program was:" >&5 8264 echo "$as_me: failed program was:" >&5
8448 sed 's/^/| /' conftest.$ac_ext >&5 8265 sed 's/^/| /' conftest.$ac_ext >&5
8449 8266
8450 cat >conftest.$ac_ext <<_ACEOF 8267 cat >conftest.$ac_ext <<_ACEOF
8451 /* confdefs.h. */ 8268 /* confdefs.h. */
8452 _ACEOF 8269 _ACEOF
8475 if { (ac_try="$ac_compile" 8292 if { (ac_try="$ac_compile"
8476 case "(($ac_try" in 8293 case "(($ac_try" in
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;; 8295 *) ac_try_echo=$ac_try;;
8479 esac 8296 esac
8480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 $as_echo "$ac_try_echo") >&5
8482 (eval "$ac_compile") 2>conftest.er1 8298 (eval "$ac_compile") 2>conftest.er1
8483 ac_status=$? 8299 ac_status=$?
8484 grep -v '^ *+' conftest.er1 >conftest.err 8300 grep -v '^ *+' conftest.er1 >conftest.err
8485 rm -f conftest.er1 8301 rm -f conftest.er1
8486 cat conftest.err >&5 8302 cat conftest.err >&5
8487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } && { 8304 (exit $ac_status); } && {
8489 test -z "$ac_c_werror_flag" || 8305 test -z "$ac_c_werror_flag" ||
8490 test ! -s conftest.err 8306 test ! -s conftest.err
8491 } && test -s conftest.$ac_objext; then 8307 } && test -s conftest.$ac_objext; then
8492 ac_cv_member_struct_ifreq_ifr_netmask=yes 8308 ac_cv_member_struct_ifreq_ifr_netmask=yes
8493 else 8309 else
8494 $as_echo "$as_me: failed program was:" >&5 8310 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5 8311 sed 's/^/| /' conftest.$ac_ext >&5
8496 8312
8497 ac_cv_member_struct_ifreq_ifr_netmask=no 8313 ac_cv_member_struct_ifreq_ifr_netmask=no
8498 fi 8314 fi
8499 8315
8500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8501 fi 8317 fi
8502 8318
8503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8504 fi 8320 fi
8505 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 8321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8506 $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } 8322 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8507 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then 8323 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
8508 8324
8509 cat >>confdefs.h <<_ACEOF 8325 cat >>confdefs.h <<_ACEOF
8510 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8326 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
8511 _ACEOF 8327 _ACEOF
8512 8328
8513 8329
8514 fi 8330 fi
8515 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 8331 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
8516 $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } 8332 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; }
8517 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then 8333 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8518 $as_echo_n "(cached) " >&6 8334 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 else 8335 else
8520 cat >conftest.$ac_ext <<_ACEOF 8336 cat >conftest.$ac_ext <<_ACEOF
8521 /* confdefs.h. */ 8337 /* confdefs.h. */
8522 _ACEOF 8338 _ACEOF
8523 cat confdefs.h >>conftest.$ac_ext 8339 cat confdefs.h >>conftest.$ac_ext
8545 if { (ac_try="$ac_compile" 8361 if { (ac_try="$ac_compile"
8546 case "(($ac_try" in 8362 case "(($ac_try" in
8547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8548 *) ac_try_echo=$ac_try;; 8364 *) ac_try_echo=$ac_try;;
8549 esac 8365 esac
8550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8551 $as_echo "$ac_try_echo") >&5
8552 (eval "$ac_compile") 2>conftest.er1 8367 (eval "$ac_compile") 2>conftest.er1
8553 ac_status=$? 8368 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err 8369 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1 8370 rm -f conftest.er1
8556 cat conftest.err >&5 8371 cat conftest.err >&5
8557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && { 8373 (exit $ac_status); } && {
8559 test -z "$ac_c_werror_flag" || 8374 test -z "$ac_c_werror_flag" ||
8560 test ! -s conftest.err 8375 test ! -s conftest.err
8561 } && test -s conftest.$ac_objext; then 8376 } && test -s conftest.$ac_objext; then
8562 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8377 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8563 else 8378 else
8564 $as_echo "$as_me: failed program was:" >&5 8379 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5 8380 sed 's/^/| /' conftest.$ac_ext >&5
8566 8381
8567 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
8568 /* confdefs.h. */ 8383 /* confdefs.h. */
8569 _ACEOF 8384 _ACEOF
8592 if { (ac_try="$ac_compile" 8407 if { (ac_try="$ac_compile"
8593 case "(($ac_try" in 8408 case "(($ac_try" in
8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8595 *) ac_try_echo=$ac_try;; 8410 *) ac_try_echo=$ac_try;;
8596 esac 8411 esac
8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8598 $as_echo "$ac_try_echo") >&5
8599 (eval "$ac_compile") 2>conftest.er1 8413 (eval "$ac_compile") 2>conftest.er1
8600 ac_status=$? 8414 ac_status=$?
8601 grep -v '^ *+' conftest.er1 >conftest.err 8415 grep -v '^ *+' conftest.er1 >conftest.err
8602 rm -f conftest.er1 8416 rm -f conftest.er1
8603 cat conftest.err >&5 8417 cat conftest.err >&5
8604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } && { 8419 (exit $ac_status); } && {
8606 test -z "$ac_c_werror_flag" || 8420 test -z "$ac_c_werror_flag" ||
8607 test ! -s conftest.err 8421 test ! -s conftest.err
8608 } && test -s conftest.$ac_objext; then 8422 } && test -s conftest.$ac_objext; then
8609 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8423 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8610 else 8424 else
8611 $as_echo "$as_me: failed program was:" >&5 8425 echo "$as_me: failed program was:" >&5
8612 sed 's/^/| /' conftest.$ac_ext >&5 8426 sed 's/^/| /' conftest.$ac_ext >&5
8613 8427
8614 ac_cv_member_struct_ifreq_ifr_broadaddr=no 8428 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8615 fi 8429 fi
8616 8430
8617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8618 fi 8432 fi
8619 8433
8620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8621 fi 8435 fi
8622 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 8436 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8623 $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } 8437 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8624 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then 8438 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
8625 8439
8626 cat >>confdefs.h <<_ACEOF 8440 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8441 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
8628 _ACEOF 8442 _ACEOF
8629 8443
8630 8444
8631 fi 8445 fi
8632 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 8446 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
8633 $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } 8447 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; }
8634 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then 8448 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8635 $as_echo_n "(cached) " >&6 8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 else 8450 else
8637 cat >conftest.$ac_ext <<_ACEOF 8451 cat >conftest.$ac_ext <<_ACEOF
8638 /* confdefs.h. */ 8452 /* confdefs.h. */
8639 _ACEOF 8453 _ACEOF
8640 cat confdefs.h >>conftest.$ac_ext 8454 cat confdefs.h >>conftest.$ac_ext
8662 if { (ac_try="$ac_compile" 8476 if { (ac_try="$ac_compile"
8663 case "(($ac_try" in 8477 case "(($ac_try" in
8664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8665 *) ac_try_echo=$ac_try;; 8479 *) ac_try_echo=$ac_try;;
8666 esac 8480 esac
8667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8668 $as_echo "$ac_try_echo") >&5
8669 (eval "$ac_compile") 2>conftest.er1 8482 (eval "$ac_compile") 2>conftest.er1
8670 ac_status=$? 8483 ac_status=$?
8671 grep -v '^ *+' conftest.er1 >conftest.err 8484 grep -v '^ *+' conftest.er1 >conftest.err
8672 rm -f conftest.er1 8485 rm -f conftest.er1
8673 cat conftest.err >&5 8486 cat conftest.err >&5
8674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } && { 8488 (exit $ac_status); } && {
8676 test -z "$ac_c_werror_flag" || 8489 test -z "$ac_c_werror_flag" ||
8677 test ! -s conftest.err 8490 test ! -s conftest.err
8678 } && test -s conftest.$ac_objext; then 8491 } && test -s conftest.$ac_objext; then
8679 ac_cv_member_struct_ifreq_ifr_addr=yes 8492 ac_cv_member_struct_ifreq_ifr_addr=yes
8680 else 8493 else
8681 $as_echo "$as_me: failed program was:" >&5 8494 echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.$ac_ext >&5 8495 sed 's/^/| /' conftest.$ac_ext >&5
8683 8496
8684 cat >conftest.$ac_ext <<_ACEOF 8497 cat >conftest.$ac_ext <<_ACEOF
8685 /* confdefs.h. */ 8498 /* confdefs.h. */
8686 _ACEOF 8499 _ACEOF
8709 if { (ac_try="$ac_compile" 8522 if { (ac_try="$ac_compile"
8710 case "(($ac_try" in 8523 case "(($ac_try" in
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;; 8525 *) ac_try_echo=$ac_try;;
8713 esac 8526 esac
8714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 $as_echo "$ac_try_echo") >&5
8716 (eval "$ac_compile") 2>conftest.er1 8528 (eval "$ac_compile") 2>conftest.er1
8717 ac_status=$? 8529 ac_status=$?
8718 grep -v '^ *+' conftest.er1 >conftest.err 8530 grep -v '^ *+' conftest.er1 >conftest.err
8719 rm -f conftest.er1 8531 rm -f conftest.er1
8720 cat conftest.err >&5 8532 cat conftest.err >&5
8721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } && { 8534 (exit $ac_status); } && {
8723 test -z "$ac_c_werror_flag" || 8535 test -z "$ac_c_werror_flag" ||
8724 test ! -s conftest.err 8536 test ! -s conftest.err
8725 } && test -s conftest.$ac_objext; then 8537 } && test -s conftest.$ac_objext; then
8726 ac_cv_member_struct_ifreq_ifr_addr=yes 8538 ac_cv_member_struct_ifreq_ifr_addr=yes
8727 else 8539 else
8728 $as_echo "$as_me: failed program was:" >&5 8540 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5 8541 sed 's/^/| /' conftest.$ac_ext >&5
8730 8542
8731 ac_cv_member_struct_ifreq_ifr_addr=no 8543 ac_cv_member_struct_ifreq_ifr_addr=no
8732 fi 8544 fi
8733 8545
8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8735 fi 8547 fi
8736 8548
8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8738 fi 8550 fi
8739 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 8551 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8740 $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } 8552 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8741 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then 8553 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
8742 8554
8743 cat >>confdefs.h <<_ACEOF 8555 cat >>confdefs.h <<_ACEOF
8744 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8556 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
8745 _ACEOF 8557 _ACEOF
8747 8559
8748 fi 8560 fi
8749 8561
8750 8562
8751 8563
8752 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 8564 { echo "$as_me:$LINENO: checking for function prototypes" >&5
8753 $as_echo_n "checking for function prototypes... " >&6; } 8565 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
8754 if test "$ac_cv_prog_cc_c89" != no; then 8566 if test "$ac_cv_prog_cc_c89" != no; then
8755 { $as_echo "$as_me:$LINENO: result: yes" >&5 8567 { echo "$as_me:$LINENO: result: yes" >&5
8756 $as_echo "yes" >&6; } 8568 echo "${ECHO_T}yes" >&6; }
8757 8569
8758 cat >>confdefs.h <<\_ACEOF 8570 cat >>confdefs.h <<\_ACEOF
8759 #define PROTOTYPES 1 8571 #define PROTOTYPES 1
8760 _ACEOF 8572 _ACEOF
8761 8573
8763 cat >>confdefs.h <<\_ACEOF 8575 cat >>confdefs.h <<\_ACEOF
8764 #define __PROTOTYPES 1 8576 #define __PROTOTYPES 1
8765 _ACEOF 8577 _ACEOF
8766 8578
8767 else 8579 else
8768 { $as_echo "$as_me:$LINENO: result: no" >&5 8580 { echo "$as_me:$LINENO: result: no" >&5
8769 $as_echo "no" >&6; } 8581 echo "${ECHO_T}no" >&6; }
8770 fi 8582 fi
8771 8583
8772 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 8584 { echo "$as_me:$LINENO: checking for working volatile" >&5
8773 $as_echo_n "checking for working volatile... " >&6; } 8585 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
8774 if test "${ac_cv_c_volatile+set}" = set; then 8586 if test "${ac_cv_c_volatile+set}" = set; then
8775 $as_echo_n "(cached) " >&6 8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 else 8588 else
8777 cat >conftest.$ac_ext <<_ACEOF 8589 cat >conftest.$ac_ext <<_ACEOF
8778 /* confdefs.h. */ 8590 /* confdefs.h. */
8779 _ACEOF 8591 _ACEOF
8780 cat confdefs.h >>conftest.$ac_ext 8592 cat confdefs.h >>conftest.$ac_ext
8796 if { (ac_try="$ac_compile" 8608 if { (ac_try="$ac_compile"
8797 case "(($ac_try" in 8609 case "(($ac_try" in
8798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8799 *) ac_try_echo=$ac_try;; 8611 *) ac_try_echo=$ac_try;;
8800 esac 8612 esac
8801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8802 $as_echo "$ac_try_echo") >&5
8803 (eval "$ac_compile") 2>conftest.er1 8614 (eval "$ac_compile") 2>conftest.er1
8804 ac_status=$? 8615 ac_status=$?
8805 grep -v '^ *+' conftest.er1 >conftest.err 8616 grep -v '^ *+' conftest.er1 >conftest.err
8806 rm -f conftest.er1 8617 rm -f conftest.er1
8807 cat conftest.err >&5 8618 cat conftest.err >&5
8808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } && { 8620 (exit $ac_status); } && {
8810 test -z "$ac_c_werror_flag" || 8621 test -z "$ac_c_werror_flag" ||
8811 test ! -s conftest.err 8622 test ! -s conftest.err
8812 } && test -s conftest.$ac_objext; then 8623 } && test -s conftest.$ac_objext; then
8813 ac_cv_c_volatile=yes 8624 ac_cv_c_volatile=yes
8814 else 8625 else
8815 $as_echo "$as_me: failed program was:" >&5 8626 echo "$as_me: failed program was:" >&5
8816 sed 's/^/| /' conftest.$ac_ext >&5 8627 sed 's/^/| /' conftest.$ac_ext >&5
8817 8628
8818 ac_cv_c_volatile=no 8629 ac_cv_c_volatile=no
8819 fi 8630 fi
8820 8631
8821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8822 fi 8633 fi
8823 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 8634 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
8824 $as_echo "$ac_cv_c_volatile" >&6; } 8635 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
8825 if test $ac_cv_c_volatile = no; then 8636 if test $ac_cv_c_volatile = no; then
8826 8637
8827 cat >>confdefs.h <<\_ACEOF 8638 cat >>confdefs.h <<\_ACEOF
8828 #define volatile /**/ 8639 #define volatile
8829 _ACEOF 8640 _ACEOF
8830 8641
8831 fi 8642 fi
8832 8643
8833 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8644 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8834 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 8645 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8835 if test "${ac_cv_c_const+set}" = set; then 8646 if test "${ac_cv_c_const+set}" = set; then
8836 $as_echo_n "(cached) " >&6 8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else 8648 else
8838 cat >conftest.$ac_ext <<_ACEOF 8649 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h. */ 8650 /* confdefs.h. */
8840 _ACEOF 8651 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext 8652 cat confdefs.h >>conftest.$ac_ext
8903 if { (ac_try="$ac_compile" 8714 if { (ac_try="$ac_compile"
8904 case "(($ac_try" in 8715 case "(($ac_try" in
8905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;; 8717 *) ac_try_echo=$ac_try;;
8907 esac 8718 esac
8908 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8909 $as_echo "$ac_try_echo") >&5
8910 (eval "$ac_compile") 2>conftest.er1 8720 (eval "$ac_compile") 2>conftest.er1
8911 ac_status=$? 8721 ac_status=$?
8912 grep -v '^ *+' conftest.er1 >conftest.err 8722 grep -v '^ *+' conftest.er1 >conftest.err
8913 rm -f conftest.er1 8723 rm -f conftest.er1
8914 cat conftest.err >&5 8724 cat conftest.err >&5
8915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && { 8726 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" || 8727 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err 8728 test ! -s conftest.err
8919 } && test -s conftest.$ac_objext; then 8729 } && test -s conftest.$ac_objext; then
8920 ac_cv_c_const=yes 8730 ac_cv_c_const=yes
8921 else 8731 else
8922 $as_echo "$as_me: failed program was:" >&5 8732 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.$ac_ext >&5 8733 sed 's/^/| /' conftest.$ac_ext >&5
8924 8734
8925 ac_cv_c_const=no 8735 ac_cv_c_const=no
8926 fi 8736 fi
8927 8737
8928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8929 fi 8739 fi
8930 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8740 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8931 $as_echo "$ac_cv_c_const" >&6; } 8741 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8932 if test $ac_cv_c_const = no; then 8742 if test $ac_cv_c_const = no; then
8933 8743
8934 cat >>confdefs.h <<\_ACEOF 8744 cat >>confdefs.h <<\_ACEOF
8935 #define const /**/ 8745 #define const
8936 _ACEOF 8746 _ACEOF
8937 8747
8938 fi 8748 fi
8939 8749
8940 { $as_echo "$as_me:$LINENO: checking for void * support" >&5 8750 { echo "$as_me:$LINENO: checking for void * support" >&5
8941 $as_echo_n "checking for void * support... " >&6; } 8751 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; }
8942 if test "${emacs_cv_void_star+set}" = set; then 8752 if test "${emacs_cv_void_star+set}" = set; then
8943 $as_echo_n "(cached) " >&6 8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 else 8754 else
8945 cat >conftest.$ac_ext <<_ACEOF 8755 cat >conftest.$ac_ext <<_ACEOF
8946 /* confdefs.h. */ 8756 /* confdefs.h. */
8947 _ACEOF 8757 _ACEOF
8948 cat confdefs.h >>conftest.$ac_ext 8758 cat confdefs.h >>conftest.$ac_ext
8961 if { (ac_try="$ac_compile" 8771 if { (ac_try="$ac_compile"
8962 case "(($ac_try" in 8772 case "(($ac_try" in
8963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8964 *) ac_try_echo=$ac_try;; 8774 *) ac_try_echo=$ac_try;;
8965 esac 8775 esac
8966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8967 $as_echo "$ac_try_echo") >&5
8968 (eval "$ac_compile") 2>conftest.er1 8777 (eval "$ac_compile") 2>conftest.er1
8969 ac_status=$? 8778 ac_status=$?
8970 grep -v '^ *+' conftest.er1 >conftest.err 8779 grep -v '^ *+' conftest.er1 >conftest.err
8971 rm -f conftest.er1 8780 rm -f conftest.er1
8972 cat conftest.err >&5 8781 cat conftest.err >&5
8973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } && { 8783 (exit $ac_status); } && {
8975 test -z "$ac_c_werror_flag" || 8784 test -z "$ac_c_werror_flag" ||
8976 test ! -s conftest.err 8785 test ! -s conftest.err
8977 } && test -s conftest.$ac_objext; then 8786 } && test -s conftest.$ac_objext; then
8978 emacs_cv_void_star=yes 8787 emacs_cv_void_star=yes
8979 else 8788 else
8980 $as_echo "$as_me: failed program was:" >&5 8789 echo "$as_me: failed program was:" >&5
8981 sed 's/^/| /' conftest.$ac_ext >&5 8790 sed 's/^/| /' conftest.$ac_ext >&5
8982 8791
8983 emacs_cv_void_star=no 8792 emacs_cv_void_star=no
8984 fi 8793 fi
8985 8794
8986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8987 fi 8796 fi
8988 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 8797 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
8989 $as_echo "$emacs_cv_void_star" >&6; } 8798 echo "${ECHO_T}$emacs_cv_void_star" >&6; }
8990 if test $emacs_cv_void_star = yes; then 8799 if test $emacs_cv_void_star = yes; then
8991 cat >>confdefs.h <<\_ACEOF 8800 cat >>confdefs.h <<\_ACEOF
8992 #define POINTER_TYPE void 8801 #define POINTER_TYPE void
8993 _ACEOF 8802 _ACEOF
8994 8803
9001 8810
9002 8811
9003 8812
9004 8813
9005 8814
9006 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 8815 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9007 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 8816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
9008 set x ${MAKE-make} 8817 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9009 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9010 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 8818 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
9011 $as_echo_n "(cached) " >&6 8819 echo $ECHO_N "(cached) $ECHO_C" >&6
9012 else 8820 else
9013 cat >conftest.make <<\_ACEOF 8821 cat >conftest.make <<\_ACEOF
9014 SHELL = /bin/sh 8822 SHELL = /bin/sh
9015 all: 8823 all:
9016 @echo '@@@%%%=$(MAKE)=@@@%%%' 8824 @echo '@@@%%%=$(MAKE)=@@@%%%'
9023 eval ac_cv_prog_make_${ac_make}_set=no;; 8831 eval ac_cv_prog_make_${ac_make}_set=no;;
9024 esac 8832 esac
9025 rm -f conftest.make 8833 rm -f conftest.make
9026 fi 8834 fi
9027 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 8835 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9028 { $as_echo "$as_me:$LINENO: result: yes" >&5 8836 { echo "$as_me:$LINENO: result: yes" >&5
9029 $as_echo "yes" >&6; } 8837 echo "${ECHO_T}yes" >&6; }
9030 SET_MAKE= 8838 SET_MAKE=
9031 else 8839 else
9032 { $as_echo "$as_me:$LINENO: result: no" >&5 8840 { echo "$as_me:$LINENO: result: no" >&5
9033 $as_echo "no" >&6; } 8841 echo "${ECHO_T}no" >&6; }
9034 SET_MAKE="MAKE=${MAKE-make}" 8842 SET_MAKE="MAKE=${MAKE-make}"
9035 fi 8843 fi
9036 8844
9037 8845
9038 { $as_echo "$as_me:$LINENO: checking for long file names" >&5 8846 { echo "$as_me:$LINENO: checking for long file names" >&5
9039 $as_echo_n "checking for long file names... " >&6; } 8847 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; }
9040 if test "${ac_cv_sys_long_file_names+set}" = set; then 8848 if test "${ac_cv_sys_long_file_names+set}" = set; then
9041 $as_echo_n "(cached) " >&6 8849 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 else 8850 else
9043 ac_cv_sys_long_file_names=yes 8851 ac_cv_sys_long_file_names=yes
9044 # Test for long file names in all the places we know might matter: 8852 # Test for long file names in all the places we know might matter:
9045 # . the current directory, where building will happen 8853 # . the current directory, where building will happen
9046 # $prefix/lib where we will be installing things 8854 # $prefix/lib where we will be installing things
9065 ac_cv_sys_long_file_names=no 8873 ac_cv_sys_long_file_names=no
9066 rm -f -r "$ac_xdir" 2>/dev/null 8874 rm -f -r "$ac_xdir" 2>/dev/null
9067 test $ac_cv_sys_long_file_names = no && break 8875 test $ac_cv_sys_long_file_names = no && break
9068 done 8876 done
9069 fi 8877 fi
9070 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 8878 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
9071 $as_echo "$ac_cv_sys_long_file_names" >&6; } 8879 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; }
9072 if test $ac_cv_sys_long_file_names = yes; then 8880 if test $ac_cv_sys_long_file_names = yes; then
9073 8881
9074 cat >>confdefs.h <<\_ACEOF 8882 cat >>confdefs.h <<\_ACEOF
9075 #define HAVE_LONG_FILE_NAMES 1 8883 #define HAVE_LONG_FILE_NAMES 1
9076 _ACEOF 8884 _ACEOF
9078 fi 8886 fi
9079 8887
9080 8888
9081 #### Choose a window system. 8889 #### Choose a window system.
9082 8890
9083 { $as_echo "$as_me:$LINENO: checking for X" >&5 8891 { echo "$as_me:$LINENO: checking for X" >&5
9084 $as_echo_n "checking for X... " >&6; } 8892 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
9085 8893
9086 8894
9087 # Check whether --with-x was given. 8895 # Check whether --with-x was given.
9088 if test "${with_x+set}" = set; then 8896 if test "${with_x+set}" = set; then
9089 withval=$with_x; 8897 withval=$with_x;
9093 if test "x$with_x" = xno; then 8901 if test "x$with_x" = xno; then
9094 # The user explicitly disabled X. 8902 # The user explicitly disabled X.
9095 have_x=disabled 8903 have_x=disabled
9096 else 8904 else
9097 case $x_includes,$x_libraries in #( 8905 case $x_includes,$x_libraries in #(
9098 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 8906 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
9099 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} 8907 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
9100 { (exit 1); exit 1; }; };; #( 8908 { (exit 1); exit 1; }; };; #(
9101 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 8909 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9102 $as_echo_n "(cached) " >&6 8910 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 else 8911 else
9104 # One or both of the vars are not set, and there is no cached value. 8912 # One or both of the vars are not set, and there is no cached value.
9105 ac_x_includes=no ac_x_libraries=no 8913 ac_x_includes=no ac_x_libraries=no
9106 rm -f -r conftest.dir 8914 rm -f -r conftest.dir
9107 if mkdir conftest.dir; then 8915 if mkdir conftest.dir; then
9118 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 8926 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9119 for ac_var in incroot usrlibdir libdir; do 8927 for ac_var in incroot usrlibdir libdir; do
9120 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 8928 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9121 done 8929 done
9122 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 8930 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9123 for ac_extension in a so sl dylib la dll; do 8931 for ac_extension in a so sl; do
9124 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 8932 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9125 test -f "$ac_im_libdir/libX11.$ac_extension"; then 8933 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9126 ac_im_usrlibdir=$ac_im_libdir; break 8934 ac_im_usrlibdir=$ac_im_libdir; break
9127 fi 8935 fi
9128 done 8936 done
9193 if { (ac_try="$ac_cpp conftest.$ac_ext" 9001 if { (ac_try="$ac_cpp conftest.$ac_ext"
9194 case "(($ac_try" in 9002 case "(($ac_try" in
9195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9196 *) ac_try_echo=$ac_try;; 9004 *) ac_try_echo=$ac_try;;
9197 esac 9005 esac
9198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9199 $as_echo "$ac_try_echo") >&5
9200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9201 ac_status=$? 9008 ac_status=$?
9202 grep -v '^ *+' conftest.er1 >conftest.err 9009 grep -v '^ *+' conftest.er1 >conftest.err
9203 rm -f conftest.er1 9010 rm -f conftest.er1
9204 cat conftest.err >&5 9011 cat conftest.err >&5
9205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); } >/dev/null && { 9013 (exit $ac_status); } >/dev/null && {
9207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9208 test ! -s conftest.err 9015 test ! -s conftest.err
9209 }; then 9016 }; then
9210 # We can compile using X headers with no special include directory. 9017 # We can compile using X headers with no special include directory.
9211 ac_x_includes= 9018 ac_x_includes=
9212 else 9019 else
9213 $as_echo "$as_me: failed program was:" >&5 9020 echo "$as_me: failed program was:" >&5
9214 sed 's/^/| /' conftest.$ac_ext >&5 9021 sed 's/^/| /' conftest.$ac_ext >&5
9215 9022
9216 for ac_dir in $ac_x_header_dirs; do 9023 for ac_dir in $ac_x_header_dirs; do
9217 if test -r "$ac_dir/X11/Xlib.h"; then 9024 if test -r "$ac_dir/X11/Xlib.h"; then
9218 ac_x_includes=$ac_dir 9025 ac_x_includes=$ac_dir
9249 if { (ac_try="$ac_link" 9056 if { (ac_try="$ac_link"
9250 case "(($ac_try" in 9057 case "(($ac_try" in
9251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9252 *) ac_try_echo=$ac_try;; 9059 *) ac_try_echo=$ac_try;;
9253 esac 9060 esac
9254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9255 $as_echo "$ac_try_echo") >&5
9256 (eval "$ac_link") 2>conftest.er1 9062 (eval "$ac_link") 2>conftest.er1
9257 ac_status=$? 9063 ac_status=$?
9258 grep -v '^ *+' conftest.er1 >conftest.err 9064 grep -v '^ *+' conftest.er1 >conftest.err
9259 rm -f conftest.er1 9065 rm -f conftest.er1
9260 cat conftest.err >&5 9066 cat conftest.err >&5
9261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); } && { 9068 (exit $ac_status); } && {
9263 test -z "$ac_c_werror_flag" || 9069 test -z "$ac_c_werror_flag" ||
9264 test ! -s conftest.err 9070 test ! -s conftest.err
9265 } && test -s conftest$ac_exeext && { 9071 } && test -s conftest$ac_exeext &&
9266 test "$cross_compiling" = yes || 9072 $as_test_x conftest$ac_exeext; then
9267 $as_test_x conftest$ac_exeext
9268 }; then
9269 LIBS=$ac_save_LIBS 9073 LIBS=$ac_save_LIBS
9270 # We can link X programs with no special library path. 9074 # We can link X programs with no special library path.
9271 ac_x_libraries= 9075 ac_x_libraries=
9272 else 9076 else
9273 $as_echo "$as_me: failed program was:" >&5 9077 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5 9078 sed 's/^/| /' conftest.$ac_ext >&5
9275 9079
9276 LIBS=$ac_save_LIBS 9080 LIBS=$ac_save_LIBS
9277 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9081 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9278 do 9082 do
9279 # Don't even attempt the hair of trying to link an X program! 9083 # Don't even attempt the hair of trying to link an X program!
9280 for ac_extension in a so sl dylib la dll; do 9084 for ac_extension in a so sl; do
9281 if test -r "$ac_dir/libX11.$ac_extension"; then 9085 if test -r "$ac_dir/libX11.$ac_extension"; then
9282 ac_x_libraries=$ac_dir 9086 ac_x_libraries=$ac_dir
9283 break 2 9087 break 2
9284 fi 9088 fi
9285 done 9089 done
9286 done 9090 done
9287 fi 9091 fi
9288 9092
9289 rm -rf conftest.dSYM
9290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9291 conftest$ac_exeext conftest.$ac_ext 9094 conftest$ac_exeext conftest.$ac_ext
9292 fi # $ac_x_libraries = no 9095 fi # $ac_x_libraries = no
9293 9096
9294 case $ac_x_includes,$ac_x_libraries in #( 9097 case $ac_x_includes,$ac_x_libraries in #(
9307 esac 9110 esac
9308 eval "$ac_cv_have_x" 9111 eval "$ac_cv_have_x"
9309 fi # $with_x != no 9112 fi # $with_x != no
9310 9113
9311 if test "$have_x" != yes; then 9114 if test "$have_x" != yes; then
9312 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 9115 { echo "$as_me:$LINENO: result: $have_x" >&5
9313 $as_echo "$have_x" >&6; } 9116 echo "${ECHO_T}$have_x" >&6; }
9314 no_x=yes 9117 no_x=yes
9315 else 9118 else
9316 # If each of the values was on the command line, it overrides each guess. 9119 # If each of the values was on the command line, it overrides each guess.
9317 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9120 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9318 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9121 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9319 # Update the cache value to reflect the command line values. 9122 # Update the cache value to reflect the command line values.
9320 ac_cv_have_x="have_x=yes\ 9123 ac_cv_have_x="have_x=yes\
9321 ac_x_includes='$x_includes'\ 9124 ac_x_includes='$x_includes'\
9322 ac_x_libraries='$x_libraries'" 9125 ac_x_libraries='$x_libraries'"
9323 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9126 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9324 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 9127 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
9325 fi 9128 fi
9326 9129
9327 if test "$no_x" = yes; then 9130 if test "$no_x" = yes; then
9328 window_system=none 9131 window_system=none
9329 else 9132 else
9415 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9218 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9416 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9219 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9417 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 9220 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
9418 fi 9221 fi
9419 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9222 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9420 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9223 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9421 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } 9224 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; }
9422 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9225 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9423 $as_echo_n "(cached) " >&6 9226 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 fi 9227 fi
9425 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9228 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9426 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } 9229 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; }
9427 else 9230 else
9428 # Is the header compilable? 9231 # Is the header compilable?
9429 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 9232 { echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9430 $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } 9233 echo $ECHO_N "checking AppKit/AppKit.h usability... $ECHO_C" >&6; }
9431 cat >conftest.$ac_ext <<_ACEOF 9234 cat >conftest.$ac_ext <<_ACEOF
9432 /* confdefs.h. */ 9235 /* confdefs.h. */
9433 _ACEOF 9236 _ACEOF
9434 cat confdefs.h >>conftest.$ac_ext 9237 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF 9238 cat >>conftest.$ac_ext <<_ACEOF
9441 if { (ac_try="$ac_compile" 9244 if { (ac_try="$ac_compile"
9442 case "(($ac_try" in 9245 case "(($ac_try" in
9443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9444 *) ac_try_echo=$ac_try;; 9247 *) ac_try_echo=$ac_try;;
9445 esac 9248 esac
9446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 $as_echo "$ac_try_echo") >&5
9448 (eval "$ac_compile") 2>conftest.er1 9250 (eval "$ac_compile") 2>conftest.er1
9449 ac_status=$? 9251 ac_status=$?
9450 grep -v '^ *+' conftest.er1 >conftest.err 9252 grep -v '^ *+' conftest.er1 >conftest.err
9451 rm -f conftest.er1 9253 rm -f conftest.er1
9452 cat conftest.err >&5 9254 cat conftest.err >&5
9453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); } && { 9256 (exit $ac_status); } && {
9455 test -z "$ac_c_werror_flag" || 9257 test -z "$ac_c_werror_flag" ||
9456 test ! -s conftest.err 9258 test ! -s conftest.err
9457 } && test -s conftest.$ac_objext; then 9259 } && test -s conftest.$ac_objext; then
9458 ac_header_compiler=yes 9260 ac_header_compiler=yes
9459 else 9261 else
9460 $as_echo "$as_me: failed program was:" >&5 9262 echo "$as_me: failed program was:" >&5
9461 sed 's/^/| /' conftest.$ac_ext >&5 9263 sed 's/^/| /' conftest.$ac_ext >&5
9462 9264
9463 ac_header_compiler=no 9265 ac_header_compiler=no
9464 fi 9266 fi
9465 9267
9466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9467 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9468 $as_echo "$ac_header_compiler" >&6; } 9270 echo "${ECHO_T}$ac_header_compiler" >&6; }
9469 9271
9470 # Is the header present? 9272 # Is the header present?
9471 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 9273 { echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9472 $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } 9274 echo $ECHO_N "checking AppKit/AppKit.h presence... $ECHO_C" >&6; }
9473 cat >conftest.$ac_ext <<_ACEOF 9275 cat >conftest.$ac_ext <<_ACEOF
9474 /* confdefs.h. */ 9276 /* confdefs.h. */
9475 _ACEOF 9277 _ACEOF
9476 cat confdefs.h >>conftest.$ac_ext 9278 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF 9279 cat >>conftest.$ac_ext <<_ACEOF
9481 if { (ac_try="$ac_cpp conftest.$ac_ext" 9283 if { (ac_try="$ac_cpp conftest.$ac_ext"
9482 case "(($ac_try" in 9284 case "(($ac_try" in
9483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9484 *) ac_try_echo=$ac_try;; 9286 *) ac_try_echo=$ac_try;;
9485 esac 9287 esac
9486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9487 $as_echo "$ac_try_echo") >&5
9488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9489 ac_status=$? 9290 ac_status=$?
9490 grep -v '^ *+' conftest.er1 >conftest.err 9291 grep -v '^ *+' conftest.er1 >conftest.err
9491 rm -f conftest.er1 9292 rm -f conftest.er1
9492 cat conftest.err >&5 9293 cat conftest.err >&5
9493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } >/dev/null && { 9295 (exit $ac_status); } >/dev/null && {
9495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9496 test ! -s conftest.err 9297 test ! -s conftest.err
9497 }; then 9298 }; then
9498 ac_header_preproc=yes 9299 ac_header_preproc=yes
9499 else 9300 else
9500 $as_echo "$as_me: failed program was:" >&5 9301 echo "$as_me: failed program was:" >&5
9501 sed 's/^/| /' conftest.$ac_ext >&5 9302 sed 's/^/| /' conftest.$ac_ext >&5
9502 9303
9503 ac_header_preproc=no 9304 ac_header_preproc=no
9504 fi 9305 fi
9505 9306
9506 rm -f conftest.err conftest.$ac_ext 9307 rm -f conftest.err conftest.$ac_ext
9507 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9508 $as_echo "$ac_header_preproc" >&6; } 9309 echo "${ECHO_T}$ac_header_preproc" >&6; }
9509 9310
9510 # So? What about this header? 9311 # So? What about this header?
9511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9512 yes:no: ) 9313 yes:no: )
9513 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 9314 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9514 $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9315 echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9515 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 9316 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9516 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} 9317 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9517 ac_header_preproc=yes 9318 ac_header_preproc=yes
9518 ;; 9319 ;;
9519 no:yes:* ) 9320 no:yes:* )
9520 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 9321 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9521 $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} 9322 echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9522 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 9323 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9523 $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} 9324 echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9524 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 9325 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9525 $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} 9326 echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9526 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 9327 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9527 $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} 9328 echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9528 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 9329 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9529 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} 9330 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9530 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 9331 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9531 $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} 9332 echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9532 9333
9533 ;; 9334 ;;
9534 esac 9335 esac
9535 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9336 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9536 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } 9337 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; }
9537 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9338 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9538 $as_echo_n "(cached) " >&6 9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 else 9340 else
9540 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc 9341 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9541 fi 9342 fi
9542 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9343 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9543 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } 9344 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; }
9544 9345
9545 fi 9346 fi
9546 if test $ac_cv_header_AppKit_AppKit_h = yes; then 9347 if test $ac_cv_header_AppKit_AppKit_h = yes; then
9547 HAVE_NS=yes 9348 HAVE_NS=yes
9548 else 9349 else
9549 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 9350 { { echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
9550 files are missing or cannot be compiled." >&5 9351 files are missing or cannot be compiled." >&5
9551 $as_echo "$as_me: error: \`--with-ns' was specified, but the include 9352 echo "$as_me: error: \`--with-ns' was specified, but the include
9552 files are missing or cannot be compiled." >&2;} 9353 files are missing or cannot be compiled." >&2;}
9553 { (exit 1); exit 1; }; } 9354 { (exit 1); exit 1; }; }
9554 fi 9355 fi
9555 9356
9556 9357
9574 if { (ac_try="$ac_compile" 9375 if { (ac_try="$ac_compile"
9575 case "(($ac_try" in 9376 case "(($ac_try" in
9576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9577 *) ac_try_echo=$ac_try;; 9378 *) ac_try_echo=$ac_try;;
9578 esac 9379 esac
9579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9580 $as_echo "$ac_try_echo") >&5
9581 (eval "$ac_compile") 2>conftest.er1 9381 (eval "$ac_compile") 2>conftest.er1
9582 ac_status=$? 9382 ac_status=$?
9583 grep -v '^ *+' conftest.er1 >conftest.err 9383 grep -v '^ *+' conftest.er1 >conftest.err
9584 rm -f conftest.er1 9384 rm -f conftest.er1
9585 cat conftest.err >&5 9385 cat conftest.err >&5
9586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); } && { 9387 (exit $ac_status); } && {
9588 test -z "$ac_c_werror_flag" || 9388 test -z "$ac_c_werror_flag" ||
9589 test ! -s conftest.err 9389 test ! -s conftest.err
9590 } && test -s conftest.$ac_objext; then 9390 } && test -s conftest.$ac_objext; then
9591 ns_have_nsinteger=yes 9391 ns_have_nsinteger=yes
9592 else 9392 else
9593 $as_echo "$as_me: failed program was:" >&5 9393 echo "$as_me: failed program was:" >&5
9594 sed 's/^/| /' conftest.$ac_ext >&5 9394 sed 's/^/| /' conftest.$ac_ext >&5
9595 9395
9596 ns_have_nsinteger=no 9396 ns_have_nsinteger=no
9597 fi 9397 fi
9598 9398
9602 fi 9402 fi
9603 fi 9403 fi
9604 if test "${HAVE_NS}" = yes; then 9404 if test "${HAVE_NS}" = yes; then
9605 window_system=nextstep 9405 window_system=nextstep
9606 with_xft=no 9406 with_xft=no
9607 with_freetype=no
9608 # set up packaging dirs 9407 # set up packaging dirs
9609 exec_prefix=${ns_appbindir} 9408 exec_prefix=${ns_appbindir}
9610 libexecdir=${ns_appbindir}/libexec 9409 libexecdir=${ns_appbindir}/libexec
9611 if test "${EN_NS_SELF_CONTAINED}" = yes; then 9410 if test "${EN_NS_SELF_CONTAINED}" = yes; then
9612 prefix=${ns_appresdir} 9411 prefix=${ns_appresdir}
9636 esac 9435 esac
9637 9436
9638 if test "$window_system" = none && test "X$with_x" != "Xno"; then 9437 if test "$window_system" = none && test "X$with_x" != "Xno"; then
9639 # Extract the first word of "X", so it can be a program name with args. 9438 # Extract the first word of "X", so it can be a program name with args.
9640 set dummy X; ac_word=$2 9439 set dummy X; ac_word=$2
9641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9642 $as_echo_n "checking for $ac_word... " >&6; } 9441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9643 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then 9442 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then
9644 $as_echo_n "(cached) " >&6 9443 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 else 9444 else
9646 if test -n "$HAVE_XSERVER"; then 9445 if test -n "$HAVE_XSERVER"; then
9647 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 9446 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
9648 else 9447 else
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9652 IFS=$as_save_IFS 9451 IFS=$as_save_IFS
9653 test -z "$as_dir" && as_dir=. 9452 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do 9453 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9656 ac_cv_prog_HAVE_XSERVER="true" 9455 ac_cv_prog_HAVE_XSERVER="true"
9657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 break 2 9457 break 2
9659 fi 9458 fi
9660 done 9459 done
9661 done 9460 done
9662 IFS=$as_save_IFS 9461 IFS=$as_save_IFS
9664 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 9463 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
9665 fi 9464 fi
9666 fi 9465 fi
9667 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 9466 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
9668 if test -n "$HAVE_XSERVER"; then 9467 if test -n "$HAVE_XSERVER"; then
9669 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 9468 { echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5
9670 $as_echo "$HAVE_XSERVER" >&6; } 9469 echo "${ECHO_T}$HAVE_XSERVER" >&6; }
9671 else 9470 else
9672 { $as_echo "$as_me:$LINENO: result: no" >&5 9471 { echo "$as_me:$LINENO: result: no" >&5
9673 $as_echo "no" >&6; } 9472 echo "${ECHO_T}no" >&6; }
9674 fi 9473 fi
9675 9474
9676 9475
9677 if test "$HAVE_XSERVER" = true || 9476 if test "$HAVE_XSERVER" = true ||
9678 test -n "$DISPLAY" || 9477 test -n "$DISPLAY" ||
9679 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 9478 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
9680 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries 9479 { { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
9681 were found. You should install the relevant development files for X 9480 were found. You should install the relevant development files for X
9682 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9481 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9683 sure you have development files for image handling, i.e. 9482 sure you have development files for image handling, i.e.
9684 tiff, gif, jpeg, png and xpm. 9483 tiff, gif, jpeg, png and xpm.
9685 If you are sure you want Emacs compiled without X window support, pass 9484 If you are sure you want Emacs compiled without X window support, pass
9686 --without-x 9485 --without-x
9687 to configure." >&5 9486 to configure." >&5
9688 $as_echo "$as_me: error: You seem to be running X, but no X development libraries 9487 echo "$as_me: error: You seem to be running X, but no X development libraries
9689 were found. You should install the relevant development files for X 9488 were found. You should install the relevant development files for X
9690 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9489 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9691 sure you have development files for image handling, i.e. 9490 sure you have development files for image handling, i.e.
9692 tiff, gif, jpeg, png and xpm. 9491 tiff, gif, jpeg, png and xpm.
9693 If you are sure you want Emacs compiled without X window support, pass 9492 If you are sure you want Emacs compiled without X window support, pass
9705 9504
9706 # Do the opsystem or machine files prohibit the use of the GNU malloc? 9505 # Do the opsystem or machine files prohibit the use of the GNU malloc?
9707 # Assume not, until told otherwise. 9506 # Assume not, until told otherwise.
9708 GNU_MALLOC=yes 9507 GNU_MALLOC=yes
9709 doug_lea_malloc=yes 9508 doug_lea_malloc=yes
9710 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 9509 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5
9711 $as_echo_n "checking for malloc_get_state... " >&6; } 9510 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; }
9712 if test "${ac_cv_func_malloc_get_state+set}" = set; then 9511 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9713 $as_echo_n "(cached) " >&6 9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 else 9513 else
9715 cat >conftest.$ac_ext <<_ACEOF 9514 cat >conftest.$ac_ext <<_ACEOF
9716 /* confdefs.h. */ 9515 /* confdefs.h. */
9717 _ACEOF 9516 _ACEOF
9718 cat confdefs.h >>conftest.$ac_ext 9517 cat confdefs.h >>conftest.$ac_ext
9761 if { (ac_try="$ac_link" 9560 if { (ac_try="$ac_link"
9762 case "(($ac_try" in 9561 case "(($ac_try" in
9763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9764 *) ac_try_echo=$ac_try;; 9563 *) ac_try_echo=$ac_try;;
9765 esac 9564 esac
9766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 $as_echo "$ac_try_echo") >&5
9768 (eval "$ac_link") 2>conftest.er1 9566 (eval "$ac_link") 2>conftest.er1
9769 ac_status=$? 9567 ac_status=$?
9770 grep -v '^ *+' conftest.er1 >conftest.err 9568 grep -v '^ *+' conftest.er1 >conftest.err
9771 rm -f conftest.er1 9569 rm -f conftest.er1
9772 cat conftest.err >&5 9570 cat conftest.err >&5
9773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } && { 9572 (exit $ac_status); } && {
9775 test -z "$ac_c_werror_flag" || 9573 test -z "$ac_c_werror_flag" ||
9776 test ! -s conftest.err 9574 test ! -s conftest.err
9777 } && test -s conftest$ac_exeext && { 9575 } && test -s conftest$ac_exeext &&
9778 test "$cross_compiling" = yes || 9576 $as_test_x conftest$ac_exeext; then
9779 $as_test_x conftest$ac_exeext
9780 }; then
9781 ac_cv_func_malloc_get_state=yes 9577 ac_cv_func_malloc_get_state=yes
9782 else 9578 else
9783 $as_echo "$as_me: failed program was:" >&5 9579 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.$ac_ext >&5 9580 sed 's/^/| /' conftest.$ac_ext >&5
9785 9581
9786 ac_cv_func_malloc_get_state=no 9582 ac_cv_func_malloc_get_state=no
9787 fi 9583 fi
9788 9584
9789 rm -rf conftest.dSYM
9790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9791 conftest$ac_exeext conftest.$ac_ext 9586 conftest$ac_exeext conftest.$ac_ext
9792 fi 9587 fi
9793 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 9588 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
9794 $as_echo "$ac_cv_func_malloc_get_state" >&6; } 9589 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; }
9795 if test $ac_cv_func_malloc_get_state = yes; then 9590 if test $ac_cv_func_malloc_get_state = yes; then
9796 : 9591 :
9797 else 9592 else
9798 doug_lea_malloc=no 9593 doug_lea_malloc=no
9799 fi 9594 fi
9800 9595
9801 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 9596 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5
9802 $as_echo_n "checking for malloc_set_state... " >&6; } 9597 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; }
9803 if test "${ac_cv_func_malloc_set_state+set}" = set; then 9598 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9804 $as_echo_n "(cached) " >&6 9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else 9600 else
9806 cat >conftest.$ac_ext <<_ACEOF 9601 cat >conftest.$ac_ext <<_ACEOF
9807 /* confdefs.h. */ 9602 /* confdefs.h. */
9808 _ACEOF 9603 _ACEOF
9809 cat confdefs.h >>conftest.$ac_ext 9604 cat confdefs.h >>conftest.$ac_ext
9852 if { (ac_try="$ac_link" 9647 if { (ac_try="$ac_link"
9853 case "(($ac_try" in 9648 case "(($ac_try" in
9854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9855 *) ac_try_echo=$ac_try;; 9650 *) ac_try_echo=$ac_try;;
9856 esac 9651 esac
9857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9858 $as_echo "$ac_try_echo") >&5
9859 (eval "$ac_link") 2>conftest.er1 9653 (eval "$ac_link") 2>conftest.er1
9860 ac_status=$? 9654 ac_status=$?
9861 grep -v '^ *+' conftest.er1 >conftest.err 9655 grep -v '^ *+' conftest.er1 >conftest.err
9862 rm -f conftest.er1 9656 rm -f conftest.er1
9863 cat conftest.err >&5 9657 cat conftest.err >&5
9864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && { 9659 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" || 9660 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err 9661 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext && { 9662 } && test -s conftest$ac_exeext &&
9869 test "$cross_compiling" = yes || 9663 $as_test_x conftest$ac_exeext; then
9870 $as_test_x conftest$ac_exeext
9871 }; then
9872 ac_cv_func_malloc_set_state=yes 9664 ac_cv_func_malloc_set_state=yes
9873 else 9665 else
9874 $as_echo "$as_me: failed program was:" >&5 9666 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5 9667 sed 's/^/| /' conftest.$ac_ext >&5
9876 9668
9877 ac_cv_func_malloc_set_state=no 9669 ac_cv_func_malloc_set_state=no
9878 fi 9670 fi
9879 9671
9880 rm -rf conftest.dSYM
9881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9882 conftest$ac_exeext conftest.$ac_ext 9673 conftest$ac_exeext conftest.$ac_ext
9883 fi 9674 fi
9884 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 9675 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
9885 $as_echo "$ac_cv_func_malloc_set_state" >&6; } 9676 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; }
9886 if test $ac_cv_func_malloc_set_state = yes; then 9677 if test $ac_cv_func_malloc_set_state = yes; then
9887 : 9678 :
9888 else 9679 else
9889 doug_lea_malloc=no 9680 doug_lea_malloc=no
9890 fi 9681 fi
9891 9682
9892 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 9683 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
9893 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 9684 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; }
9894 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 9685 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9895 $as_echo_n "(cached) " >&6 9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 else 9687 else
9897 cat >conftest.$ac_ext <<_ACEOF 9688 cat >conftest.$ac_ext <<_ACEOF
9898 /* confdefs.h. */ 9689 /* confdefs.h. */
9899 _ACEOF 9690 _ACEOF
9900 cat confdefs.h >>conftest.$ac_ext 9691 cat confdefs.h >>conftest.$ac_ext
9913 if { (ac_try="$ac_link" 9704 if { (ac_try="$ac_link"
9914 case "(($ac_try" in 9705 case "(($ac_try" in
9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;; 9707 *) ac_try_echo=$ac_try;;
9917 esac 9708 esac
9918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 $as_echo "$ac_try_echo") >&5
9920 (eval "$ac_link") 2>conftest.er1 9710 (eval "$ac_link") 2>conftest.er1
9921 ac_status=$? 9711 ac_status=$?
9922 grep -v '^ *+' conftest.er1 >conftest.err 9712 grep -v '^ *+' conftest.er1 >conftest.err
9923 rm -f conftest.er1 9713 rm -f conftest.er1
9924 cat conftest.err >&5 9714 cat conftest.err >&5
9925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } && { 9716 (exit $ac_status); } && {
9927 test -z "$ac_c_werror_flag" || 9717 test -z "$ac_c_werror_flag" ||
9928 test ! -s conftest.err 9718 test ! -s conftest.err
9929 } && test -s conftest$ac_exeext && { 9719 } && test -s conftest$ac_exeext &&
9930 test "$cross_compiling" = yes || 9720 $as_test_x conftest$ac_exeext; then
9931 $as_test_x conftest$ac_exeext
9932 }; then
9933 emacs_cv_var___after_morecore_hook=yes 9721 emacs_cv_var___after_morecore_hook=yes
9934 else 9722 else
9935 $as_echo "$as_me: failed program was:" >&5 9723 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5 9724 sed 's/^/| /' conftest.$ac_ext >&5
9937 9725
9938 emacs_cv_var___after_morecore_hook=no 9726 emacs_cv_var___after_morecore_hook=no
9939 fi 9727 fi
9940 9728
9941 rm -rf conftest.dSYM
9942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943 conftest$ac_exeext conftest.$ac_ext 9730 conftest$ac_exeext conftest.$ac_ext
9944 fi 9731 fi
9945 { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 9732 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
9946 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 9733 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; }
9947 if test $emacs_cv_var___after_morecore_hook = no; then 9734 if test $emacs_cv_var___after_morecore_hook = no; then
9948 doug_lea_malloc=no 9735 doug_lea_malloc=no
9949 fi 9736 fi
9950 if test "${system_malloc}" = "yes"; then 9737 if test "${system_malloc}" = "yes"; then
9951 GNU_MALLOC=no 9738 GNU_MALLOC=no
9971 9758
9972 9759
9973 9760
9974 for ac_header in stdlib.h unistd.h 9761 for ac_header in stdlib.h unistd.h
9975 do 9762 do
9976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9978 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9979 $as_echo_n "checking for $ac_header... " >&6; } 9766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9981 $as_echo_n "(cached) " >&6 9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 fi 9769 fi
9983 ac_res=`eval 'as_val=${'$as_ac_Header'} 9770 ac_res=`eval echo '${'$as_ac_Header'}'`
9984 $as_echo "$as_val"'` 9771 { echo "$as_me:$LINENO: result: $ac_res" >&5
9985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9772 echo "${ECHO_T}$ac_res" >&6; }
9986 $as_echo "$ac_res" >&6; }
9987 else 9773 else
9988 # Is the header compilable? 9774 # Is the header compilable?
9989 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9775 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9990 $as_echo_n "checking $ac_header usability... " >&6; } 9776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9991 cat >conftest.$ac_ext <<_ACEOF 9777 cat >conftest.$ac_ext <<_ACEOF
9992 /* confdefs.h. */ 9778 /* confdefs.h. */
9993 _ACEOF 9779 _ACEOF
9994 cat confdefs.h >>conftest.$ac_ext 9780 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF 9781 cat >>conftest.$ac_ext <<_ACEOF
10001 if { (ac_try="$ac_compile" 9787 if { (ac_try="$ac_compile"
10002 case "(($ac_try" in 9788 case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;; 9790 *) ac_try_echo=$ac_try;;
10005 esac 9791 esac
10006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 $as_echo "$ac_try_echo") >&5
10008 (eval "$ac_compile") 2>conftest.er1 9793 (eval "$ac_compile") 2>conftest.er1
10009 ac_status=$? 9794 ac_status=$?
10010 grep -v '^ *+' conftest.er1 >conftest.err 9795 grep -v '^ *+' conftest.er1 >conftest.err
10011 rm -f conftest.er1 9796 rm -f conftest.er1
10012 cat conftest.err >&5 9797 cat conftest.err >&5
10013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } && { 9799 (exit $ac_status); } && {
10015 test -z "$ac_c_werror_flag" || 9800 test -z "$ac_c_werror_flag" ||
10016 test ! -s conftest.err 9801 test ! -s conftest.err
10017 } && test -s conftest.$ac_objext; then 9802 } && test -s conftest.$ac_objext; then
10018 ac_header_compiler=yes 9803 ac_header_compiler=yes
10019 else 9804 else
10020 $as_echo "$as_me: failed program was:" >&5 9805 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.$ac_ext >&5 9806 sed 's/^/| /' conftest.$ac_ext >&5
10022 9807
10023 ac_header_compiler=no 9808 ac_header_compiler=no
10024 fi 9809 fi
10025 9810
10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10027 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9812 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10028 $as_echo "$ac_header_compiler" >&6; } 9813 echo "${ECHO_T}$ac_header_compiler" >&6; }
10029 9814
10030 # Is the header present? 9815 # Is the header present?
10031 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9816 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10032 $as_echo_n "checking $ac_header presence... " >&6; } 9817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10033 cat >conftest.$ac_ext <<_ACEOF 9818 cat >conftest.$ac_ext <<_ACEOF
10034 /* confdefs.h. */ 9819 /* confdefs.h. */
10035 _ACEOF 9820 _ACEOF
10036 cat confdefs.h >>conftest.$ac_ext 9821 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF 9822 cat >>conftest.$ac_ext <<_ACEOF
10041 if { (ac_try="$ac_cpp conftest.$ac_ext" 9826 if { (ac_try="$ac_cpp conftest.$ac_ext"
10042 case "(($ac_try" in 9827 case "(($ac_try" in
10043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10044 *) ac_try_echo=$ac_try;; 9829 *) ac_try_echo=$ac_try;;
10045 esac 9830 esac
10046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 $as_echo "$ac_try_echo") >&5
10048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9832 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10049 ac_status=$? 9833 ac_status=$?
10050 grep -v '^ *+' conftest.er1 >conftest.err 9834 grep -v '^ *+' conftest.er1 >conftest.err
10051 rm -f conftest.er1 9835 rm -f conftest.er1
10052 cat conftest.err >&5 9836 cat conftest.err >&5
10053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } >/dev/null && { 9838 (exit $ac_status); } >/dev/null && {
10055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9839 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10056 test ! -s conftest.err 9840 test ! -s conftest.err
10057 }; then 9841 }; then
10058 ac_header_preproc=yes 9842 ac_header_preproc=yes
10059 else 9843 else
10060 $as_echo "$as_me: failed program was:" >&5 9844 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5 9845 sed 's/^/| /' conftest.$ac_ext >&5
10062 9846
10063 ac_header_preproc=no 9847 ac_header_preproc=no
10064 fi 9848 fi
10065 9849
10066 rm -f conftest.err conftest.$ac_ext 9850 rm -f conftest.err conftest.$ac_ext
10067 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9851 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10068 $as_echo "$ac_header_preproc" >&6; } 9852 echo "${ECHO_T}$ac_header_preproc" >&6; }
10069 9853
10070 # So? What about this header? 9854 # So? What about this header?
10071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10072 yes:no: ) 9856 yes:no: )
10073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10074 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10076 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10077 ac_header_preproc=yes 9861 ac_header_preproc=yes
10078 ;; 9862 ;;
10079 no:yes:* ) 9863 no:yes:* )
10080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10081 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10083 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10084 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10085 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10087 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10091 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10092 9876
10093 ;; 9877 ;;
10094 esac 9878 esac
10095 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10096 $as_echo_n "checking for $ac_header... " >&6; } 9880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10098 $as_echo_n "(cached) " >&6 9882 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 else 9883 else
10100 eval "$as_ac_Header=\$ac_header_preproc" 9884 eval "$as_ac_Header=\$ac_header_preproc"
10101 fi 9885 fi
10102 ac_res=`eval 'as_val=${'$as_ac_Header'} 9886 ac_res=`eval echo '${'$as_ac_Header'}'`
10103 $as_echo "$as_val"'` 9887 { echo "$as_me:$LINENO: result: $ac_res" >&5
10104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9888 echo "${ECHO_T}$ac_res" >&6; }
10105 $as_echo "$ac_res" >&6; } 9889
10106 9890 fi
10107 fi 9891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10108 if test `eval 'as_val=${'$as_ac_Header'}
10109 $as_echo "$as_val"'` = yes; then
10110 cat >>confdefs.h <<_ACEOF 9892 cat >>confdefs.h <<_ACEOF
10111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10112 _ACEOF 9894 _ACEOF
10113 9895
10114 fi 9896 fi
10115 9897
10116 done 9898 done
10117 9899
10118 9900
10119 for ac_func in getpagesize 9901 for ac_func in getpagesize
10120 do 9902 do
10121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10122 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 9904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10123 $as_echo_n "checking for $ac_func... " >&6; } 9905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10125 $as_echo_n "(cached) " >&6 9907 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else 9908 else
10127 cat >conftest.$ac_ext <<_ACEOF 9909 cat >conftest.$ac_ext <<_ACEOF
10128 /* confdefs.h. */ 9910 /* confdefs.h. */
10129 _ACEOF 9911 _ACEOF
10130 cat confdefs.h >>conftest.$ac_ext 9912 cat confdefs.h >>conftest.$ac_ext
10173 if { (ac_try="$ac_link" 9955 if { (ac_try="$ac_link"
10174 case "(($ac_try" in 9956 case "(($ac_try" in
10175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10176 *) ac_try_echo=$ac_try;; 9958 *) ac_try_echo=$ac_try;;
10177 esac 9959 esac
10178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10179 $as_echo "$ac_try_echo") >&5
10180 (eval "$ac_link") 2>conftest.er1 9961 (eval "$ac_link") 2>conftest.er1
10181 ac_status=$? 9962 ac_status=$?
10182 grep -v '^ *+' conftest.er1 >conftest.err 9963 grep -v '^ *+' conftest.er1 >conftest.err
10183 rm -f conftest.er1 9964 rm -f conftest.er1
10184 cat conftest.err >&5 9965 cat conftest.err >&5
10185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } && { 9967 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" || 9968 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err 9969 test ! -s conftest.err
10189 } && test -s conftest$ac_exeext && { 9970 } && test -s conftest$ac_exeext &&
10190 test "$cross_compiling" = yes || 9971 $as_test_x conftest$ac_exeext; then
10191 $as_test_x conftest$ac_exeext
10192 }; then
10193 eval "$as_ac_var=yes" 9972 eval "$as_ac_var=yes"
10194 else 9973 else
10195 $as_echo "$as_me: failed program was:" >&5 9974 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.$ac_ext >&5 9975 sed 's/^/| /' conftest.$ac_ext >&5
10197 9976
10198 eval "$as_ac_var=no" 9977 eval "$as_ac_var=no"
10199 fi 9978 fi
10200 9979
10201 rm -rf conftest.dSYM
10202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10203 conftest$ac_exeext conftest.$ac_ext 9981 conftest$ac_exeext conftest.$ac_ext
10204 fi 9982 fi
10205 ac_res=`eval 'as_val=${'$as_ac_var'} 9983 ac_res=`eval echo '${'$as_ac_var'}'`
10206 $as_echo "$as_val"'` 9984 { echo "$as_me:$LINENO: result: $ac_res" >&5
10207 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9985 echo "${ECHO_T}$ac_res" >&6; }
10208 $as_echo "$ac_res" >&6; } 9986 if test `eval echo '${'$as_ac_var'}'` = yes; then
10209 if test `eval 'as_val=${'$as_ac_var'}
10210 $as_echo "$as_val"'` = yes; then
10211 cat >>confdefs.h <<_ACEOF 9987 cat >>confdefs.h <<_ACEOF
10212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10213 _ACEOF 9989 _ACEOF
10214 9990
10215 fi 9991 fi
10216 done 9992 done
10217 9993
10218 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 9994 { echo "$as_me:$LINENO: checking for working mmap" >&5
10219 $as_echo_n "checking for working mmap... " >&6; } 9995 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
10220 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 9996 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10221 $as_echo_n "(cached) " >&6 9997 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 else 9998 else
10223 if test "$cross_compiling" = yes; then 9999 if test "$cross_compiling" = yes; then
10224 ac_cv_func_mmap_fixed_mapped=no 10000 ac_cv_func_mmap_fixed_mapped=no
10225 else 10001 else
10226 cat >conftest.$ac_ext <<_ACEOF 10002 cat >conftest.$ac_ext <<_ACEOF
10360 if { (ac_try="$ac_link" 10136 if { (ac_try="$ac_link"
10361 case "(($ac_try" in 10137 case "(($ac_try" in
10362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10363 *) ac_try_echo=$ac_try;; 10139 *) ac_try_echo=$ac_try;;
10364 esac 10140 esac
10365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10366 $as_echo "$ac_try_echo") >&5
10367 (eval "$ac_link") 2>&5 10142 (eval "$ac_link") 2>&5
10368 ac_status=$? 10143 ac_status=$?
10369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10371 { (case "(($ac_try" in 10146 { (case "(($ac_try" in
10372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10373 *) ac_try_echo=$ac_try;; 10148 *) ac_try_echo=$ac_try;;
10374 esac 10149 esac
10375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10376 $as_echo "$ac_try_echo") >&5
10377 (eval "$ac_try") 2>&5 10151 (eval "$ac_try") 2>&5
10378 ac_status=$? 10152 ac_status=$?
10379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; }; then 10154 (exit $ac_status); }; }; then
10381 ac_cv_func_mmap_fixed_mapped=yes 10155 ac_cv_func_mmap_fixed_mapped=yes
10382 else 10156 else
10383 $as_echo "$as_me: program exited with status $ac_status" >&5 10157 echo "$as_me: program exited with status $ac_status" >&5
10384 $as_echo "$as_me: failed program was:" >&5 10158 echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.$ac_ext >&5 10159 sed 's/^/| /' conftest.$ac_ext >&5
10386 10160
10387 ( exit $ac_status ) 10161 ( exit $ac_status )
10388 ac_cv_func_mmap_fixed_mapped=no 10162 ac_cv_func_mmap_fixed_mapped=no
10389 fi 10163 fi
10390 rm -rf conftest.dSYM
10391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10392 fi 10165 fi
10393 10166
10394 10167
10395 fi 10168 fi
10396 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 10169 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10397 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 10170 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
10398 if test $ac_cv_func_mmap_fixed_mapped = yes; then 10171 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10399 10172
10400 cat >>confdefs.h <<\_ACEOF 10173 cat >>confdefs.h <<\_ACEOF
10401 #define HAVE_MMAP 1 10174 #define HAVE_MMAP 1
10402 _ACEOF 10175 _ACEOF
10409 fi 10182 fi
10410 10183
10411 LIBS="$libsrc_libs $LIBS" 10184 LIBS="$libsrc_libs $LIBS"
10412 10185
10413 10186
10414 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 10187 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10415 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 10188 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
10416 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 10189 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10417 $as_echo_n "(cached) " >&6 10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10418 else 10191 else
10419 ac_check_lib_save_LIBS=$LIBS 10192 ac_check_lib_save_LIBS=$LIBS
10420 LIBS="-ldnet $LIBS" 10193 LIBS="-ldnet $LIBS"
10421 cat >conftest.$ac_ext <<_ACEOF 10194 cat >conftest.$ac_ext <<_ACEOF
10422 /* confdefs.h. */ 10195 /* confdefs.h. */
10444 if { (ac_try="$ac_link" 10217 if { (ac_try="$ac_link"
10445 case "(($ac_try" in 10218 case "(($ac_try" in
10446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10447 *) ac_try_echo=$ac_try;; 10220 *) ac_try_echo=$ac_try;;
10448 esac 10221 esac
10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10450 $as_echo "$ac_try_echo") >&5
10451 (eval "$ac_link") 2>conftest.er1 10223 (eval "$ac_link") 2>conftest.er1
10452 ac_status=$? 10224 ac_status=$?
10453 grep -v '^ *+' conftest.er1 >conftest.err 10225 grep -v '^ *+' conftest.er1 >conftest.err
10454 rm -f conftest.er1 10226 rm -f conftest.er1
10455 cat conftest.err >&5 10227 cat conftest.err >&5
10456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } && { 10229 (exit $ac_status); } && {
10458 test -z "$ac_c_werror_flag" || 10230 test -z "$ac_c_werror_flag" ||
10459 test ! -s conftest.err 10231 test ! -s conftest.err
10460 } && test -s conftest$ac_exeext && { 10232 } && test -s conftest$ac_exeext &&
10461 test "$cross_compiling" = yes || 10233 $as_test_x conftest$ac_exeext; then
10462 $as_test_x conftest$ac_exeext
10463 }; then
10464 ac_cv_lib_dnet_dnet_ntoa=yes 10234 ac_cv_lib_dnet_dnet_ntoa=yes
10465 else 10235 else
10466 $as_echo "$as_me: failed program was:" >&5 10236 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.$ac_ext >&5 10237 sed 's/^/| /' conftest.$ac_ext >&5
10468 10238
10469 ac_cv_lib_dnet_dnet_ntoa=no 10239 ac_cv_lib_dnet_dnet_ntoa=no
10470 fi 10240 fi
10471 10241
10472 rm -rf conftest.dSYM
10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10474 conftest$ac_exeext conftest.$ac_ext 10243 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS 10244 LIBS=$ac_check_lib_save_LIBS
10476 fi 10245 fi
10477 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10478 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10247 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10479 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 10248 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10480 cat >>confdefs.h <<_ACEOF 10249 cat >>confdefs.h <<_ACEOF
10481 #define HAVE_LIBDNET 1 10250 #define HAVE_LIBDNET 1
10482 _ACEOF 10251 _ACEOF
10483 10252
10484 LIBS="-ldnet $LIBS" 10253 LIBS="-ldnet $LIBS"
10485 10254
10486 fi 10255 fi
10487 10256
10488 10257
10489 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 10258 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
10490 $as_echo_n "checking for main in -lXbsd... " >&6; } 10259 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
10491 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 10260 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
10492 $as_echo_n "(cached) " >&6 10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 else 10262 else
10494 ac_check_lib_save_LIBS=$LIBS 10263 ac_check_lib_save_LIBS=$LIBS
10495 LIBS="-lXbsd $LIBS" 10264 LIBS="-lXbsd $LIBS"
10496 cat >conftest.$ac_ext <<_ACEOF 10265 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h. */ 10266 /* confdefs.h. */
10513 if { (ac_try="$ac_link" 10282 if { (ac_try="$ac_link"
10514 case "(($ac_try" in 10283 case "(($ac_try" in
10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10516 *) ac_try_echo=$ac_try;; 10285 *) ac_try_echo=$ac_try;;
10517 esac 10286 esac
10518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10519 $as_echo "$ac_try_echo") >&5
10520 (eval "$ac_link") 2>conftest.er1 10288 (eval "$ac_link") 2>conftest.er1
10521 ac_status=$? 10289 ac_status=$?
10522 grep -v '^ *+' conftest.er1 >conftest.err 10290 grep -v '^ *+' conftest.er1 >conftest.err
10523 rm -f conftest.er1 10291 rm -f conftest.er1
10524 cat conftest.err >&5 10292 cat conftest.err >&5
10525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } && { 10294 (exit $ac_status); } && {
10527 test -z "$ac_c_werror_flag" || 10295 test -z "$ac_c_werror_flag" ||
10528 test ! -s conftest.err 10296 test ! -s conftest.err
10529 } && test -s conftest$ac_exeext && { 10297 } && test -s conftest$ac_exeext &&
10530 test "$cross_compiling" = yes || 10298 $as_test_x conftest$ac_exeext; then
10531 $as_test_x conftest$ac_exeext
10532 }; then
10533 ac_cv_lib_Xbsd_main=yes 10299 ac_cv_lib_Xbsd_main=yes
10534 else 10300 else
10535 $as_echo "$as_me: failed program was:" >&5 10301 echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.$ac_ext >&5 10302 sed 's/^/| /' conftest.$ac_ext >&5
10537 10303
10538 ac_cv_lib_Xbsd_main=no 10304 ac_cv_lib_Xbsd_main=no
10539 fi 10305 fi
10540 10306
10541 rm -rf conftest.dSYM
10542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10543 conftest$ac_exeext conftest.$ac_ext 10308 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS 10309 LIBS=$ac_check_lib_save_LIBS
10545 fi 10310 fi
10546 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 10311 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
10547 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10312 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
10548 if test $ac_cv_lib_Xbsd_main = yes; then 10313 if test $ac_cv_lib_Xbsd_main = yes; then
10549 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10314 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
10550 fi 10315 fi
10551 10316
10552 10317
10553 10318
10554 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 10319 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
10555 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } 10320 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; }
10556 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 10321 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
10557 $as_echo_n "(cached) " >&6 10322 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 else 10323 else
10559 ac_check_lib_save_LIBS=$LIBS 10324 ac_check_lib_save_LIBS=$LIBS
10560 LIBS="-lpthreads $LIBS" 10325 LIBS="-lpthreads $LIBS"
10561 cat >conftest.$ac_ext <<_ACEOF 10326 cat >conftest.$ac_ext <<_ACEOF
10562 /* confdefs.h. */ 10327 /* confdefs.h. */
10584 if { (ac_try="$ac_link" 10349 if { (ac_try="$ac_link"
10585 case "(($ac_try" in 10350 case "(($ac_try" in
10586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10587 *) ac_try_echo=$ac_try;; 10352 *) ac_try_echo=$ac_try;;
10588 esac 10353 esac
10589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10590 $as_echo "$ac_try_echo") >&5
10591 (eval "$ac_link") 2>conftest.er1 10355 (eval "$ac_link") 2>conftest.er1
10592 ac_status=$? 10356 ac_status=$?
10593 grep -v '^ *+' conftest.er1 >conftest.err 10357 grep -v '^ *+' conftest.er1 >conftest.err
10594 rm -f conftest.er1 10358 rm -f conftest.er1
10595 cat conftest.err >&5 10359 cat conftest.err >&5
10596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } && { 10361 (exit $ac_status); } && {
10598 test -z "$ac_c_werror_flag" || 10362 test -z "$ac_c_werror_flag" ||
10599 test ! -s conftest.err 10363 test ! -s conftest.err
10600 } && test -s conftest$ac_exeext && { 10364 } && test -s conftest$ac_exeext &&
10601 test "$cross_compiling" = yes || 10365 $as_test_x conftest$ac_exeext; then
10602 $as_test_x conftest$ac_exeext
10603 }; then
10604 ac_cv_lib_pthreads_cma_open=yes 10366 ac_cv_lib_pthreads_cma_open=yes
10605 else 10367 else
10606 $as_echo "$as_me: failed program was:" >&5 10368 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5 10369 sed 's/^/| /' conftest.$ac_ext >&5
10608 10370
10609 ac_cv_lib_pthreads_cma_open=no 10371 ac_cv_lib_pthreads_cma_open=no
10610 fi 10372 fi
10611 10373
10612 rm -rf conftest.dSYM
10613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10614 conftest$ac_exeext conftest.$ac_ext 10375 conftest$ac_exeext conftest.$ac_ext
10615 LIBS=$ac_check_lib_save_LIBS 10376 LIBS=$ac_check_lib_save_LIBS
10616 fi 10377 fi
10617 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 10378 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
10618 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10379 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; }
10619 if test $ac_cv_lib_pthreads_cma_open = yes; then 10380 if test $ac_cv_lib_pthreads_cma_open = yes; then
10620 cat >>confdefs.h <<_ACEOF 10381 cat >>confdefs.h <<_ACEOF
10621 #define HAVE_LIBPTHREADS 1 10382 #define HAVE_LIBPTHREADS 1
10622 _ACEOF 10383 _ACEOF
10623 10384
10627 10388
10628 10389
10629 10390
10630 case ${host_os} in 10391 case ${host_os} in
10631 aix*) 10392 aix*)
10632 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 10393 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
10633 $as_echo_n "checking for -bbigtoc option... " >&6; } 10394 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; }
10634 if test "${gdb_cv_bigtoc+set}" = set; then 10395 if test "${gdb_cv_bigtoc+set}" = set; then
10635 $as_echo_n "(cached) " >&6 10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else 10397 else
10637 10398
10638 case $GCC in 10399 case $GCC in
10639 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 10400 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
10640 *) gdb_cv_bigtoc=-bbigtoc ;; 10401 *) gdb_cv_bigtoc=-bbigtoc ;;
10660 if { (ac_try="$ac_link" 10421 if { (ac_try="$ac_link"
10661 case "(($ac_try" in 10422 case "(($ac_try" in
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10663 *) ac_try_echo=$ac_try;; 10424 *) ac_try_echo=$ac_try;;
10664 esac 10425 esac
10665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10666 $as_echo "$ac_try_echo") >&5
10667 (eval "$ac_link") 2>conftest.er1 10427 (eval "$ac_link") 2>conftest.er1
10668 ac_status=$? 10428 ac_status=$?
10669 grep -v '^ *+' conftest.er1 >conftest.err 10429 grep -v '^ *+' conftest.er1 >conftest.err
10670 rm -f conftest.er1 10430 rm -f conftest.er1
10671 cat conftest.err >&5 10431 cat conftest.err >&5
10672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && { 10433 (exit $ac_status); } && {
10674 test -z "$ac_c_werror_flag" || 10434 test -z "$ac_c_werror_flag" ||
10675 test ! -s conftest.err 10435 test ! -s conftest.err
10676 } && test -s conftest$ac_exeext && { 10436 } && test -s conftest$ac_exeext &&
10677 test "$cross_compiling" = yes || 10437 $as_test_x conftest$ac_exeext; then
10678 $as_test_x conftest$ac_exeext
10679 }; then
10680 : 10438 :
10681 else 10439 else
10682 $as_echo "$as_me: failed program was:" >&5 10440 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.$ac_ext >&5 10441 sed 's/^/| /' conftest.$ac_ext >&5
10684 10442
10685 gdb_cv_bigtoc= 10443 gdb_cv_bigtoc=
10686 fi 10444 fi
10687 10445
10688 rm -rf conftest.dSYM
10689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10690 conftest$ac_exeext conftest.$ac_ext 10447 conftest$ac_exeext conftest.$ac_ext
10691 10448
10692 fi 10449 fi
10693 { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 10450 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
10694 $as_echo "$gdb_cv_bigtoc" >&6; } 10451 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; }
10695 ;; 10452 ;;
10696 esac 10453 esac
10697 10454
10698 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 10455 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
10699 # used for the tests that follow. We set them back to REAL_CFLAGS and 10456 # used for the tests that follow. We set them back to REAL_CFLAGS and
10716 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 10473 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
10717 export LD_RUN_PATH 10474 export LD_RUN_PATH
10718 fi 10475 fi
10719 10476
10720 if test "${opsys}" = "gnu-linux"; then 10477 if test "${opsys}" = "gnu-linux"; then
10721 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 10478 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
10722 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 10479 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; }
10723 cat >conftest.$ac_ext <<_ACEOF 10480 cat >conftest.$ac_ext <<_ACEOF
10724 /* confdefs.h. */ 10481 /* confdefs.h. */
10725 _ACEOF 10482 _ACEOF
10726 cat confdefs.h >>conftest.$ac_ext 10483 cat confdefs.h >>conftest.$ac_ext
10727 cat >>conftest.$ac_ext <<_ACEOF 10484 cat >>conftest.$ac_ext <<_ACEOF
10739 if { (ac_try="$ac_link" 10496 if { (ac_try="$ac_link"
10740 case "(($ac_try" in 10497 case "(($ac_try" in
10741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10742 *) ac_try_echo=$ac_try;; 10499 *) ac_try_echo=$ac_try;;
10743 esac 10500 esac
10744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10745 $as_echo "$ac_try_echo") >&5
10746 (eval "$ac_link") 2>conftest.er1 10502 (eval "$ac_link") 2>conftest.er1
10747 ac_status=$? 10503 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err 10504 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1 10505 rm -f conftest.er1
10750 cat conftest.err >&5 10506 cat conftest.err >&5
10751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } && { 10508 (exit $ac_status); } && {
10753 test -z "$ac_c_werror_flag" || 10509 test -z "$ac_c_werror_flag" ||
10754 test ! -s conftest.err 10510 test ! -s conftest.err
10755 } && test -s conftest$ac_exeext && { 10511 } && test -s conftest$ac_exeext &&
10756 test "$cross_compiling" = yes || 10512 $as_test_x conftest$ac_exeext; then
10757 $as_test_x conftest$ac_exeext
10758 }; then
10759 xlinux_first_failure=no 10513 xlinux_first_failure=no
10760 else 10514 else
10761 $as_echo "$as_me: failed program was:" >&5 10515 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5 10516 sed 's/^/| /' conftest.$ac_ext >&5
10763 10517
10764 xlinux_first_failure=yes 10518 xlinux_first_failure=yes
10765 fi 10519 fi
10766 10520
10767 rm -rf conftest.dSYM
10768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10769 conftest$ac_exeext conftest.$ac_ext 10522 conftest$ac_exeext conftest.$ac_ext
10770 if test "${xlinux_first_failure}" = "yes"; then 10523 if test "${xlinux_first_failure}" = "yes"; then
10771 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 10524 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
10772 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 10525 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
10795 if { (ac_try="$ac_link" 10548 if { (ac_try="$ac_link"
10796 case "(($ac_try" in 10549 case "(($ac_try" in
10797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10798 *) ac_try_echo=$ac_try;; 10551 *) ac_try_echo=$ac_try;;
10799 esac 10552 esac
10800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 $as_echo "$ac_try_echo") >&5
10802 (eval "$ac_link") 2>conftest.er1 10554 (eval "$ac_link") 2>conftest.er1
10803 ac_status=$? 10555 ac_status=$?
10804 grep -v '^ *+' conftest.er1 >conftest.err 10556 grep -v '^ *+' conftest.er1 >conftest.err
10805 rm -f conftest.er1 10557 rm -f conftest.er1
10806 cat conftest.err >&5 10558 cat conftest.err >&5
10807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } && { 10560 (exit $ac_status); } && {
10809 test -z "$ac_c_werror_flag" || 10561 test -z "$ac_c_werror_flag" ||
10810 test ! -s conftest.err 10562 test ! -s conftest.err
10811 } && test -s conftest$ac_exeext && { 10563 } && test -s conftest$ac_exeext &&
10812 test "$cross_compiling" = yes || 10564 $as_test_x conftest$ac_exeext; then
10813 $as_test_x conftest$ac_exeext
10814 }; then
10815 xlinux_second_failure=no 10565 xlinux_second_failure=no
10816 else 10566 else
10817 $as_echo "$as_me: failed program was:" >&5 10567 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5 10568 sed 's/^/| /' conftest.$ac_ext >&5
10819 10569
10820 xlinux_second_failure=yes 10570 xlinux_second_failure=yes
10821 fi 10571 fi
10822 10572
10823 rm -rf conftest.dSYM
10824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10825 conftest$ac_exeext conftest.$ac_ext 10574 conftest$ac_exeext conftest.$ac_ext
10826 if test "${xlinux_second_failure}" = "yes"; then 10575 if test "${xlinux_second_failure}" = "yes"; then
10827 # If we get the same failure with -b, there is no use adding -b. 10576 # If we get the same failure with -b, there is no use adding -b.
10828 # So take it out. This plays safe. 10577 # So take it out. This plays safe.
10829 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 10578 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
10830 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 10579 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
10831 CPPFLAGS="$OLD_CPPFLAGS" 10580 CPPFLAGS="$OLD_CPPFLAGS"
10832 LIBS="$OLD_LIBS" 10581 LIBS="$OLD_LIBS"
10833 { $as_echo "$as_me:$LINENO: result: no" >&5 10582 { echo "$as_me:$LINENO: result: no" >&5
10834 $as_echo "no" >&6; } 10583 echo "${ECHO_T}no" >&6; }
10835 else 10584 else
10836 { $as_echo "$as_me:$LINENO: result: yes" >&5 10585 { echo "$as_me:$LINENO: result: yes" >&5
10837 $as_echo "yes" >&6; } 10586 echo "${ECHO_T}yes" >&6; }
10838 fi 10587 fi
10839 else 10588 else
10840 { $as_echo "$as_me:$LINENO: result: no" >&5 10589 { echo "$as_me:$LINENO: result: no" >&5
10841 $as_echo "no" >&6; } 10590 echo "${ECHO_T}no" >&6; }
10842 fi 10591 fi
10843 fi 10592 fi
10844 10593
10845 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 10594 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
10846 # header files included from there. 10595 # header files included from there.
10847 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 10596 { echo "$as_me:$LINENO: checking for Xkb" >&5
10848 $as_echo_n "checking for Xkb... " >&6; } 10597 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; }
10849 cat >conftest.$ac_ext <<_ACEOF 10598 cat >conftest.$ac_ext <<_ACEOF
10850 /* confdefs.h. */ 10599 /* confdefs.h. */
10851 _ACEOF 10600 _ACEOF
10852 cat confdefs.h >>conftest.$ac_ext 10601 cat confdefs.h >>conftest.$ac_ext
10853 cat >>conftest.$ac_ext <<_ACEOF 10602 cat >>conftest.$ac_ext <<_ACEOF
10866 if { (ac_try="$ac_link" 10615 if { (ac_try="$ac_link"
10867 case "(($ac_try" in 10616 case "(($ac_try" in
10868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10869 *) ac_try_echo=$ac_try;; 10618 *) ac_try_echo=$ac_try;;
10870 esac 10619 esac
10871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10872 $as_echo "$ac_try_echo") >&5
10873 (eval "$ac_link") 2>conftest.er1 10621 (eval "$ac_link") 2>conftest.er1
10874 ac_status=$? 10622 ac_status=$?
10875 grep -v '^ *+' conftest.er1 >conftest.err 10623 grep -v '^ *+' conftest.er1 >conftest.err
10876 rm -f conftest.er1 10624 rm -f conftest.er1
10877 cat conftest.err >&5 10625 cat conftest.err >&5
10878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } && { 10627 (exit $ac_status); } && {
10880 test -z "$ac_c_werror_flag" || 10628 test -z "$ac_c_werror_flag" ||
10881 test ! -s conftest.err 10629 test ! -s conftest.err
10882 } && test -s conftest$ac_exeext && { 10630 } && test -s conftest$ac_exeext &&
10883 test "$cross_compiling" = yes || 10631 $as_test_x conftest$ac_exeext; then
10884 $as_test_x conftest$ac_exeext
10885 }; then
10886 emacs_xkb=yes 10632 emacs_xkb=yes
10887 else 10633 else
10888 $as_echo "$as_me: failed program was:" >&5 10634 echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.$ac_ext >&5 10635 sed 's/^/| /' conftest.$ac_ext >&5
10890 10636
10891 emacs_xkb=no 10637 emacs_xkb=no
10892 fi 10638 fi
10893 10639
10894 rm -rf conftest.dSYM
10895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10896 conftest$ac_exeext conftest.$ac_ext 10641 conftest$ac_exeext conftest.$ac_ext
10897 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 10642 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5
10898 $as_echo "$emacs_xkb" >&6; } 10643 echo "${ECHO_T}$emacs_xkb" >&6; }
10899 if test $emacs_xkb = yes; then 10644 if test $emacs_xkb = yes; then
10900 10645
10901 cat >>confdefs.h <<\_ACEOF 10646 cat >>confdefs.h <<\_ACEOF
10902 #define HAVE_XKBGETKEYBOARD 1 10647 #define HAVE_XKBGETKEYBOARD 1
10903 _ACEOF 10648 _ACEOF
10909 10654
10910 10655
10911 for ac_func in XrmSetDatabase XScreenResourceString \ 10656 for ac_func in XrmSetDatabase XScreenResourceString \
10912 XScreenNumberOfScreen XSetWMProtocols 10657 XScreenNumberOfScreen XSetWMProtocols
10913 do 10658 do
10914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10915 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10916 $as_echo_n "checking for $ac_func... " >&6; } 10661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10662 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10918 $as_echo_n "(cached) " >&6 10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10919 else 10664 else
10920 cat >conftest.$ac_ext <<_ACEOF 10665 cat >conftest.$ac_ext <<_ACEOF
10921 /* confdefs.h. */ 10666 /* confdefs.h. */
10922 _ACEOF 10667 _ACEOF
10923 cat confdefs.h >>conftest.$ac_ext 10668 cat confdefs.h >>conftest.$ac_ext
10966 if { (ac_try="$ac_link" 10711 if { (ac_try="$ac_link"
10967 case "(($ac_try" in 10712 case "(($ac_try" in
10968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969 *) ac_try_echo=$ac_try;; 10714 *) ac_try_echo=$ac_try;;
10970 esac 10715 esac
10971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10972 $as_echo "$ac_try_echo") >&5
10973 (eval "$ac_link") 2>conftest.er1 10717 (eval "$ac_link") 2>conftest.er1
10974 ac_status=$? 10718 ac_status=$?
10975 grep -v '^ *+' conftest.er1 >conftest.err 10719 grep -v '^ *+' conftest.er1 >conftest.err
10976 rm -f conftest.er1 10720 rm -f conftest.er1
10977 cat conftest.err >&5 10721 cat conftest.err >&5
10978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } && { 10723 (exit $ac_status); } && {
10980 test -z "$ac_c_werror_flag" || 10724 test -z "$ac_c_werror_flag" ||
10981 test ! -s conftest.err 10725 test ! -s conftest.err
10982 } && test -s conftest$ac_exeext && { 10726 } && test -s conftest$ac_exeext &&
10983 test "$cross_compiling" = yes || 10727 $as_test_x conftest$ac_exeext; then
10984 $as_test_x conftest$ac_exeext
10985 }; then
10986 eval "$as_ac_var=yes" 10728 eval "$as_ac_var=yes"
10987 else 10729 else
10988 $as_echo "$as_me: failed program was:" >&5 10730 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.$ac_ext >&5 10731 sed 's/^/| /' conftest.$ac_ext >&5
10990 10732
10991 eval "$as_ac_var=no" 10733 eval "$as_ac_var=no"
10992 fi 10734 fi
10993 10735
10994 rm -rf conftest.dSYM
10995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10996 conftest$ac_exeext conftest.$ac_ext 10737 conftest$ac_exeext conftest.$ac_ext
10997 fi 10738 fi
10998 ac_res=`eval 'as_val=${'$as_ac_var'} 10739 ac_res=`eval echo '${'$as_ac_var'}'`
10999 $as_echo "$as_val"'` 10740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11000 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10741 echo "${ECHO_T}$ac_res" >&6; }
11001 $as_echo "$ac_res" >&6; } 10742 if test `eval echo '${'$as_ac_var'}'` = yes; then
11002 if test `eval 'as_val=${'$as_ac_var'}
11003 $as_echo "$as_val"'` = yes; then
11004 cat >>confdefs.h <<_ACEOF 10743 cat >>confdefs.h <<_ACEOF
11005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11006 _ACEOF 10745 _ACEOF
11007 10746
11008 fi 10747 fi
11009 done 10748 done
11010 10749
11011 fi 10750 fi
11012 10751
11013 if test "${window_system}" = "x11"; then 10752 if test "${window_system}" = "x11"; then
11014 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 10753 { echo "$as_me:$LINENO: checking X11 version 6" >&5
11015 $as_echo_n "checking X11 version 6... " >&6; } 10754 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; }
11016 if test "${emacs_cv_x11_version_6+set}" = set; then 10755 if test "${emacs_cv_x11_version_6+set}" = set; then
11017 $as_echo_n "(cached) " >&6 10756 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else 10757 else
11019 cat >conftest.$ac_ext <<_ACEOF 10758 cat >conftest.$ac_ext <<_ACEOF
11020 /* confdefs.h. */ 10759 /* confdefs.h. */
11021 _ACEOF 10760 _ACEOF
11022 cat confdefs.h >>conftest.$ac_ext 10761 cat confdefs.h >>conftest.$ac_ext
11038 if { (ac_try="$ac_link" 10777 if { (ac_try="$ac_link"
11039 case "(($ac_try" in 10778 case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;; 10780 *) ac_try_echo=$ac_try;;
11042 esac 10781 esac
11043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 $as_echo "$ac_try_echo") >&5
11045 (eval "$ac_link") 2>conftest.er1 10783 (eval "$ac_link") 2>conftest.er1
11046 ac_status=$? 10784 ac_status=$?
11047 grep -v '^ *+' conftest.er1 >conftest.err 10785 grep -v '^ *+' conftest.er1 >conftest.err
11048 rm -f conftest.er1 10786 rm -f conftest.er1
11049 cat conftest.err >&5 10787 cat conftest.err >&5
11050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && { 10789 (exit $ac_status); } && {
11052 test -z "$ac_c_werror_flag" || 10790 test -z "$ac_c_werror_flag" ||
11053 test ! -s conftest.err 10791 test ! -s conftest.err
11054 } && test -s conftest$ac_exeext && { 10792 } && test -s conftest$ac_exeext &&
11055 test "$cross_compiling" = yes || 10793 $as_test_x conftest$ac_exeext; then
11056 $as_test_x conftest$ac_exeext
11057 }; then
11058 emacs_cv_x11_version_6=yes 10794 emacs_cv_x11_version_6=yes
11059 else 10795 else
11060 $as_echo "$as_me: failed program was:" >&5 10796 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.$ac_ext >&5 10797 sed 's/^/| /' conftest.$ac_ext >&5
11062 10798
11063 emacs_cv_x11_version_6=no 10799 emacs_cv_x11_version_6=no
11064 fi 10800 fi
11065 10801
11066 rm -rf conftest.dSYM
11067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11068 conftest$ac_exeext conftest.$ac_ext 10803 conftest$ac_exeext conftest.$ac_ext
11069 fi 10804 fi
11070 10805
11071 if test $emacs_cv_x11_version_6 = yes; then 10806 if test $emacs_cv_x11_version_6 = yes; then
11072 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 10807 { echo "$as_me:$LINENO: result: 6 or newer" >&5
11073 $as_echo "6 or newer" >&6; } 10808 echo "${ECHO_T}6 or newer" >&6; }
11074 10809
11075 cat >>confdefs.h <<\_ACEOF 10810 cat >>confdefs.h <<\_ACEOF
11076 #define HAVE_X11R6 1 10811 #define HAVE_X11R6 1
11077 _ACEOF 10812 _ACEOF
11078 10813
11079 else 10814 else
11080 { $as_echo "$as_me:$LINENO: result: before 6" >&5 10815 { echo "$as_me:$LINENO: result: before 6" >&5
11081 $as_echo "before 6" >&6; } 10816 echo "${ECHO_T}before 6" >&6; }
11082 fi 10817 fi
11083 fi 10818 fi
11084 10819
11085 10820
11086 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 10821 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
11093 10828
11094 succeeded=no 10829 succeeded=no
11095 10830
11096 # Extract the first word of "pkg-config", so it can be a program name with args. 10831 # Extract the first word of "pkg-config", so it can be a program name with args.
11097 set dummy pkg-config; ac_word=$2 10832 set dummy pkg-config; ac_word=$2
11098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11099 $as_echo_n "checking for $ac_word... " >&6; } 10834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 10835 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11101 $as_echo_n "(cached) " >&6 10836 echo $ECHO_N "(cached) $ECHO_C" >&6
11102 else 10837 else
11103 case $PKG_CONFIG in 10838 case $PKG_CONFIG in
11104 [\\/]* | ?:[\\/]*) 10839 [\\/]* | ?:[\\/]*)
11105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10840 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11106 ;; 10841 ;;
11111 IFS=$as_save_IFS 10846 IFS=$as_save_IFS
11112 test -z "$as_dir" && as_dir=. 10847 test -z "$as_dir" && as_dir=.
11113 for ac_exec_ext in '' $ac_executable_extensions; do 10848 for ac_exec_ext in '' $ac_executable_extensions; do
11114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10850 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11116 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11117 break 2 10852 break 2
11118 fi 10853 fi
11119 done 10854 done
11120 done 10855 done
11121 IFS=$as_save_IFS 10856 IFS=$as_save_IFS
11124 ;; 10859 ;;
11125 esac 10860 esac
11126 fi 10861 fi
11127 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10862 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11128 if test -n "$PKG_CONFIG"; then 10863 if test -n "$PKG_CONFIG"; then
11129 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 10864 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11130 $as_echo "$PKG_CONFIG" >&6; } 10865 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11131 else 10866 else
11132 { $as_echo "$as_me:$LINENO: result: no" >&5 10867 { echo "$as_me:$LINENO: result: no" >&5
11133 $as_echo "no" >&6; } 10868 echo "${ECHO_T}no" >&6; }
11134 fi 10869 fi
11135 10870
11136 10871
11137 10872
11138 if test "$PKG_CONFIG" = "no" ; then 10873 if test "$PKG_CONFIG" = "no" ; then
11139 : 10874 :
11140 else 10875 else
11141 PKG_CONFIG_MIN_VERSION=0.9.0 10876 PKG_CONFIG_MIN_VERSION=0.9.0
11142 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10877 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11143 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 10878 { echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
11144 $as_echo_n "checking for $RSVG_MODULE... " >&6; } 10879 echo $ECHO_N "checking for $RSVG_MODULE... $ECHO_C" >&6; }
11145 10880
11146 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 10881 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
11147 { $as_echo "$as_me:$LINENO: result: yes" >&5 10882 { echo "$as_me:$LINENO: result: yes" >&5
11148 $as_echo "yes" >&6; } 10883 echo "${ECHO_T}yes" >&6; }
11149 succeeded=yes 10884 succeeded=yes
11150 10885
11151 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 10886 { echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
11152 $as_echo_n "checking RSVG_CFLAGS... " >&6; } 10887 echo $ECHO_N "checking RSVG_CFLAGS... $ECHO_C" >&6; }
11153 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 10888 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11154 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 10889 { echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
11155 $as_echo "$RSVG_CFLAGS" >&6; } 10890 echo "${ECHO_T}$RSVG_CFLAGS" >&6; }
11156 10891
11157 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 10892 { echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
11158 $as_echo_n "checking RSVG_LIBS... " >&6; } 10893 echo $ECHO_N "checking RSVG_LIBS... $ECHO_C" >&6; }
11159 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 10894 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11160 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 10895 { echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
11161 $as_echo "$RSVG_LIBS" >&6; } 10896 echo "${ECHO_T}$RSVG_LIBS" >&6; }
11162 else 10897 else
11163 { $as_echo "$as_me:$LINENO: result: no" >&5 10898 { echo "$as_me:$LINENO: result: no" >&5
11164 $as_echo "no" >&6; } 10899 echo "${ECHO_T}no" >&6; }
11165 RSVG_CFLAGS="" 10900 RSVG_CFLAGS=""
11166 RSVG_LIBS="" 10901 RSVG_LIBS=""
11167 ## If we have a custom action on failure, don't print errors, but 10902 ## If we have a custom action on failure, don't print errors, but
11168 ## do set a variable so people can do so. 10903 ## do set a variable so people can do so.
11169 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"` 10904 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"`
11210 10945
11211 succeeded=no 10946 succeeded=no
11212 10947
11213 # Extract the first word of "pkg-config", so it can be a program name with args. 10948 # Extract the first word of "pkg-config", so it can be a program name with args.
11214 set dummy pkg-config; ac_word=$2 10949 set dummy pkg-config; ac_word=$2
11215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11216 $as_echo_n "checking for $ac_word... " >&6; } 10951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 10952 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11218 $as_echo_n "(cached) " >&6 10953 echo $ECHO_N "(cached) $ECHO_C" >&6
11219 else 10954 else
11220 case $PKG_CONFIG in 10955 case $PKG_CONFIG in
11221 [\\/]* | ?:[\\/]*) 10956 [\\/]* | ?:[\\/]*)
11222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11223 ;; 10958 ;;
11228 IFS=$as_save_IFS 10963 IFS=$as_save_IFS
11229 test -z "$as_dir" && as_dir=. 10964 test -z "$as_dir" && as_dir=.
11230 for ac_exec_ext in '' $ac_executable_extensions; do 10965 for ac_exec_ext in '' $ac_executable_extensions; do
11231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11233 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 break 2 10969 break 2
11235 fi 10970 fi
11236 done 10971 done
11237 done 10972 done
11238 IFS=$as_save_IFS 10973 IFS=$as_save_IFS
11241 ;; 10976 ;;
11242 esac 10977 esac
11243 fi 10978 fi
11244 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10979 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11245 if test -n "$PKG_CONFIG"; then 10980 if test -n "$PKG_CONFIG"; then
11246 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 10981 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11247 $as_echo "$PKG_CONFIG" >&6; } 10982 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11248 else 10983 else
11249 { $as_echo "$as_me:$LINENO: result: no" >&5 10984 { echo "$as_me:$LINENO: result: no" >&5
11250 $as_echo "no" >&6; } 10985 echo "${ECHO_T}no" >&6; }
11251 fi 10986 fi
11252 10987
11253 10988
11254 10989
11255 if test "$PKG_CONFIG" = "no" ; then 10990 if test "$PKG_CONFIG" = "no" ; then
11256 pkg_check_gtk=no 10991 pkg_check_gtk=no
11257 else 10992 else
11258 PKG_CONFIG_MIN_VERSION=0.9.0 10993 PKG_CONFIG_MIN_VERSION=0.9.0
11259 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10994 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11260 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 10995 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
11261 $as_echo_n "checking for $GTK_MODULES... " >&6; } 10996 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; }
11262 10997
11263 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 10998 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
11264 { $as_echo "$as_me:$LINENO: result: yes" >&5 10999 { echo "$as_me:$LINENO: result: yes" >&5
11265 $as_echo "yes" >&6; } 11000 echo "${ECHO_T}yes" >&6; }
11266 succeeded=yes 11001 succeeded=yes
11267 11002
11268 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 11003 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11269 $as_echo_n "checking GTK_CFLAGS... " >&6; } 11004 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
11270 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 11005 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
11271 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 11006 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11272 $as_echo "$GTK_CFLAGS" >&6; } 11007 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
11273 11008
11274 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 11009 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11275 $as_echo_n "checking GTK_LIBS... " >&6; } 11010 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
11276 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 11011 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
11277 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 11012 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11278 $as_echo "$GTK_LIBS" >&6; } 11013 echo "${ECHO_T}$GTK_LIBS" >&6; }
11279 else 11014 else
11280 { $as_echo "$as_me:$LINENO: result: no" >&5 11015 { echo "$as_me:$LINENO: result: no" >&5
11281 $as_echo "no" >&6; } 11016 echo "${ECHO_T}no" >&6; }
11282 GTK_CFLAGS="" 11017 GTK_CFLAGS=""
11283 GTK_LIBS="" 11018 GTK_LIBS=""
11284 ## If we have a custom action on failure, don't print errors, but 11019 ## If we have a custom action on failure, don't print errors, but
11285 ## do set a variable so people can do so. 11020 ## do set a variable so people can do so.
11286 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 11021 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
11300 else 11035 else
11301 pkg_check_gtk=no 11036 pkg_check_gtk=no
11302 fi 11037 fi
11303 11038
11304 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11039 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
11305 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 11040 { { echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5
11306 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} 11041 echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11307 { (exit 1); exit 1; }; } 11042 { (exit 1); exit 1; }; }
11308 fi 11043 fi
11309 fi 11044 fi
11310 11045
11311 11046
11318 LIBS="$GTK_LIBS $LIBS" 11053 LIBS="$GTK_LIBS $LIBS"
11319 GTK_COMPILES=no 11054 GTK_COMPILES=no
11320 11055
11321 for ac_func in gtk_main 11056 for ac_func in gtk_main
11322 do 11057 do
11323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11324 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11325 $as_echo_n "checking for $ac_func... " >&6; } 11060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11327 $as_echo_n "(cached) " >&6 11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 else 11063 else
11329 cat >conftest.$ac_ext <<_ACEOF 11064 cat >conftest.$ac_ext <<_ACEOF
11330 /* confdefs.h. */ 11065 /* confdefs.h. */
11331 _ACEOF 11066 _ACEOF
11332 cat confdefs.h >>conftest.$ac_ext 11067 cat confdefs.h >>conftest.$ac_ext
11375 if { (ac_try="$ac_link" 11110 if { (ac_try="$ac_link"
11376 case "(($ac_try" in 11111 case "(($ac_try" in
11377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11378 *) ac_try_echo=$ac_try;; 11113 *) ac_try_echo=$ac_try;;
11379 esac 11114 esac
11380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 $as_echo "$ac_try_echo") >&5
11382 (eval "$ac_link") 2>conftest.er1 11116 (eval "$ac_link") 2>conftest.er1
11383 ac_status=$? 11117 ac_status=$?
11384 grep -v '^ *+' conftest.er1 >conftest.err 11118 grep -v '^ *+' conftest.er1 >conftest.err
11385 rm -f conftest.er1 11119 rm -f conftest.er1
11386 cat conftest.err >&5 11120 cat conftest.err >&5
11387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } && { 11122 (exit $ac_status); } && {
11389 test -z "$ac_c_werror_flag" || 11123 test -z "$ac_c_werror_flag" ||
11390 test ! -s conftest.err 11124 test ! -s conftest.err
11391 } && test -s conftest$ac_exeext && { 11125 } && test -s conftest$ac_exeext &&
11392 test "$cross_compiling" = yes || 11126 $as_test_x conftest$ac_exeext; then
11393 $as_test_x conftest$ac_exeext
11394 }; then
11395 eval "$as_ac_var=yes" 11127 eval "$as_ac_var=yes"
11396 else 11128 else
11397 $as_echo "$as_me: failed program was:" >&5 11129 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5 11130 sed 's/^/| /' conftest.$ac_ext >&5
11399 11131
11400 eval "$as_ac_var=no" 11132 eval "$as_ac_var=no"
11401 fi 11133 fi
11402 11134
11403 rm -rf conftest.dSYM
11404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11405 conftest$ac_exeext conftest.$ac_ext 11136 conftest$ac_exeext conftest.$ac_ext
11406 fi 11137 fi
11407 ac_res=`eval 'as_val=${'$as_ac_var'} 11138 ac_res=`eval echo '${'$as_ac_var'}'`
11408 $as_echo "$as_val"'` 11139 { echo "$as_me:$LINENO: result: $ac_res" >&5
11409 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11140 echo "${ECHO_T}$ac_res" >&6; }
11410 $as_echo "$ac_res" >&6; } 11141 if test `eval echo '${'$as_ac_var'}'` = yes; then
11411 if test `eval 'as_val=${'$as_ac_var'}
11412 $as_echo "$as_val"'` = yes; then
11413 cat >>confdefs.h <<_ACEOF 11142 cat >>confdefs.h <<_ACEOF
11414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11415 _ACEOF 11144 _ACEOF
11416 GTK_COMPILES=yes 11145 GTK_COMPILES=yes
11417 fi 11146 fi
11418 done 11147 done
11419 11148
11420 if test "${GTK_COMPILES}" != "yes"; then 11149 if test "${GTK_COMPILES}" != "yes"; then
11421 if test "$USE_X_TOOLKIT" != "maybe"; then 11150 if test "$USE_X_TOOLKIT" != "maybe"; then
11422 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 11151 { { echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5
11423 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} 11152 echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11424 { (exit 1); exit 1; }; }; 11153 { (exit 1); exit 1; }; };
11425 fi 11154 fi
11426 else 11155 else
11427 HAVE_GTK=yes 11156 HAVE_GTK=yes
11428 11157
11432 11161
11433 USE_X_TOOLKIT=none 11162 USE_X_TOOLKIT=none
11434 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 11163 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
11435 : 11164 :
11436 else 11165 else
11437 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with 11166 { echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with
11438 closing open displays. This is no problem if you just use 11167 closing open displays. This is no problem if you just use
11439 one display, but if you use more than one and close one of them 11168 one display, but if you use more than one and close one of them
11440 Emacs may crash." >&5 11169 Emacs may crash." >&5
11441 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with 11170 echo "$as_me: WARNING: Your version of Gtk+ will have problems with
11442 closing open displays. This is no problem if you just use 11171 closing open displays. This is no problem if you just use
11443 one display, but if you use more than one and close one of them 11172 one display, but if you use more than one and close one of them
11444 Emacs may crash." >&2;} 11173 Emacs may crash." >&2;}
11445 sleep 3 11174 sleep 3
11446 fi 11175 fi
11457 11186
11458 HAVE_GTK_MULTIDISPLAY=no 11187 HAVE_GTK_MULTIDISPLAY=no
11459 11188
11460 for ac_func in gdk_display_open 11189 for ac_func in gdk_display_open
11461 do 11190 do
11462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11463 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11464 $as_echo_n "checking for $ac_func... " >&6; } 11193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11466 $as_echo_n "(cached) " >&6 11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 else 11196 else
11468 cat >conftest.$ac_ext <<_ACEOF 11197 cat >conftest.$ac_ext <<_ACEOF
11469 /* confdefs.h. */ 11198 /* confdefs.h. */
11470 _ACEOF 11199 _ACEOF
11471 cat confdefs.h >>conftest.$ac_ext 11200 cat confdefs.h >>conftest.$ac_ext
11514 if { (ac_try="$ac_link" 11243 if { (ac_try="$ac_link"
11515 case "(($ac_try" in 11244 case "(($ac_try" in
11516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11517 *) ac_try_echo=$ac_try;; 11246 *) ac_try_echo=$ac_try;;
11518 esac 11247 esac
11519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 $as_echo "$ac_try_echo") >&5
11521 (eval "$ac_link") 2>conftest.er1 11249 (eval "$ac_link") 2>conftest.er1
11522 ac_status=$? 11250 ac_status=$?
11523 grep -v '^ *+' conftest.er1 >conftest.err 11251 grep -v '^ *+' conftest.er1 >conftest.err
11524 rm -f conftest.er1 11252 rm -f conftest.er1
11525 cat conftest.err >&5 11253 cat conftest.err >&5
11526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); } && { 11255 (exit $ac_status); } && {
11528 test -z "$ac_c_werror_flag" || 11256 test -z "$ac_c_werror_flag" ||
11529 test ! -s conftest.err 11257 test ! -s conftest.err
11530 } && test -s conftest$ac_exeext && { 11258 } && test -s conftest$ac_exeext &&
11531 test "$cross_compiling" = yes || 11259 $as_test_x conftest$ac_exeext; then
11532 $as_test_x conftest$ac_exeext
11533 }; then
11534 eval "$as_ac_var=yes" 11260 eval "$as_ac_var=yes"
11535 else 11261 else
11536 $as_echo "$as_me: failed program was:" >&5 11262 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5 11263 sed 's/^/| /' conftest.$ac_ext >&5
11538 11264
11539 eval "$as_ac_var=no" 11265 eval "$as_ac_var=no"
11540 fi 11266 fi
11541 11267
11542 rm -rf conftest.dSYM
11543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11544 conftest$ac_exeext conftest.$ac_ext 11269 conftest$ac_exeext conftest.$ac_ext
11545 fi 11270 fi
11546 ac_res=`eval 'as_val=${'$as_ac_var'} 11271 ac_res=`eval echo '${'$as_ac_var'}'`
11547 $as_echo "$as_val"'` 11272 { echo "$as_me:$LINENO: result: $ac_res" >&5
11548 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11273 echo "${ECHO_T}$ac_res" >&6; }
11549 $as_echo "$ac_res" >&6; } 11274 if test `eval echo '${'$as_ac_var'}'` = yes; then
11550 if test `eval 'as_val=${'$as_ac_var'}
11551 $as_echo "$as_val"'` = yes; then
11552 cat >>confdefs.h <<_ACEOF 11275 cat >>confdefs.h <<_ACEOF
11553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11554 _ACEOF 11277 _ACEOF
11555 HAVE_GTK_MULTIDISPLAY=yes 11278 HAVE_GTK_MULTIDISPLAY=yes
11556 fi 11279 fi
11557 done 11280 done
11558 11281
11563 _ACEOF 11286 _ACEOF
11564 11287
11565 fi 11288 fi
11566 11289
11567 HAVE_GTK_FILE_SELECTION=no 11290 HAVE_GTK_FILE_SELECTION=no
11568 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 11291 { echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5
11569 $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } 11292 echo $ECHO_N "checking whether GTK_TYPE_FILE_SELECTION is declared... $ECHO_C" >&6; }
11570 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then 11293 if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then
11571 $as_echo_n "(cached) " >&6 11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 else 11295 else
11573 cat >conftest.$ac_ext <<_ACEOF 11296 cat >conftest.$ac_ext <<_ACEOF
11574 /* confdefs.h. */ 11297 /* confdefs.h. */
11575 _ACEOF 11298 _ACEOF
11576 cat confdefs.h >>conftest.$ac_ext 11299 cat confdefs.h >>conftest.$ac_ext
11594 if { (ac_try="$ac_compile" 11317 if { (ac_try="$ac_compile"
11595 case "(($ac_try" in 11318 case "(($ac_try" in
11596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11597 *) ac_try_echo=$ac_try;; 11320 *) ac_try_echo=$ac_try;;
11598 esac 11321 esac
11599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11600 $as_echo "$ac_try_echo") >&5
11601 (eval "$ac_compile") 2>conftest.er1 11323 (eval "$ac_compile") 2>conftest.er1
11602 ac_status=$? 11324 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err 11325 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1 11326 rm -f conftest.er1
11605 cat conftest.err >&5 11327 cat conftest.err >&5
11606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } && { 11329 (exit $ac_status); } && {
11608 test -z "$ac_c_werror_flag" || 11330 test -z "$ac_c_werror_flag" ||
11609 test ! -s conftest.err 11331 test ! -s conftest.err
11610 } && test -s conftest.$ac_objext; then 11332 } && test -s conftest.$ac_objext; then
11611 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes 11333 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes
11612 else 11334 else
11613 $as_echo "$as_me: failed program was:" >&5 11335 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.$ac_ext >&5 11336 sed 's/^/| /' conftest.$ac_ext >&5
11615 11337
11616 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no 11338 ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no
11617 fi 11339 fi
11618 11340
11619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11620 fi 11342 fi
11621 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 11343 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5
11622 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } 11344 echo "${ECHO_T}$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; }
11623 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then 11345 if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then
11624 HAVE_GTK_FILE_SELECTION=yes 11346 HAVE_GTK_FILE_SELECTION=yes
11625 else 11347 else
11626 HAVE_GTK_FILE_SELECTION=no 11348 HAVE_GTK_FILE_SELECTION=no
11627 fi 11349 fi
11628 11350
11629 if test "$HAVE_GTK_FILE_SELECTION" = yes; then 11351 if test "$HAVE_GTK_FILE_SELECTION" = yes; then
11630 11352
11631 for ac_func in gtk_file_selection_new 11353 for ac_func in gtk_file_selection_new
11632 do 11354 do
11633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11634 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11635 $as_echo_n "checking for $ac_func... " >&6; } 11357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11637 $as_echo_n "(cached) " >&6 11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 else 11360 else
11639 cat >conftest.$ac_ext <<_ACEOF 11361 cat >conftest.$ac_ext <<_ACEOF
11640 /* confdefs.h. */ 11362 /* confdefs.h. */
11641 _ACEOF 11363 _ACEOF
11642 cat confdefs.h >>conftest.$ac_ext 11364 cat confdefs.h >>conftest.$ac_ext
11685 if { (ac_try="$ac_link" 11407 if { (ac_try="$ac_link"
11686 case "(($ac_try" in 11408 case "(($ac_try" in
11687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688 *) ac_try_echo=$ac_try;; 11410 *) ac_try_echo=$ac_try;;
11689 esac 11411 esac
11690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 $as_echo "$ac_try_echo") >&5
11692 (eval "$ac_link") 2>conftest.er1 11413 (eval "$ac_link") 2>conftest.er1
11693 ac_status=$? 11414 ac_status=$?
11694 grep -v '^ *+' conftest.er1 >conftest.err 11415 grep -v '^ *+' conftest.er1 >conftest.err
11695 rm -f conftest.er1 11416 rm -f conftest.er1
11696 cat conftest.err >&5 11417 cat conftest.err >&5
11697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } && { 11419 (exit $ac_status); } && {
11699 test -z "$ac_c_werror_flag" || 11420 test -z "$ac_c_werror_flag" ||
11700 test ! -s conftest.err 11421 test ! -s conftest.err
11701 } && test -s conftest$ac_exeext && { 11422 } && test -s conftest$ac_exeext &&
11702 test "$cross_compiling" = yes || 11423 $as_test_x conftest$ac_exeext; then
11703 $as_test_x conftest$ac_exeext
11704 }; then
11705 eval "$as_ac_var=yes" 11424 eval "$as_ac_var=yes"
11706 else 11425 else
11707 $as_echo "$as_me: failed program was:" >&5 11426 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5 11427 sed 's/^/| /' conftest.$ac_ext >&5
11709 11428
11710 eval "$as_ac_var=no" 11429 eval "$as_ac_var=no"
11711 fi 11430 fi
11712 11431
11713 rm -rf conftest.dSYM
11714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11715 conftest$ac_exeext conftest.$ac_ext 11433 conftest$ac_exeext conftest.$ac_ext
11716 fi 11434 fi
11717 ac_res=`eval 'as_val=${'$as_ac_var'} 11435 ac_res=`eval echo '${'$as_ac_var'}'`
11718 $as_echo "$as_val"'` 11436 { echo "$as_me:$LINENO: result: $ac_res" >&5
11719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11437 echo "${ECHO_T}$ac_res" >&6; }
11720 $as_echo "$ac_res" >&6; } 11438 if test `eval echo '${'$as_ac_var'}'` = yes; then
11721 if test `eval 'as_val=${'$as_ac_var'}
11722 $as_echo "$as_val"'` = yes; then
11723 cat >>confdefs.h <<_ACEOF 11439 cat >>confdefs.h <<_ACEOF
11724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11725 _ACEOF 11441 _ACEOF
11726 HAVE_GTK_FILE_SELECTION=yes 11442 HAVE_GTK_FILE_SELECTION=yes
11727 else 11443 else
11728 HAVE_GTK_FILE_SELECTION=no 11444 HAVE_GTK_FILE_SELECTION=no
11729 fi 11445 fi
11730 done 11446 done
11731 11447
11732 fi 11448 fi
11733 11449
11734 HAVE_GTK_FILE_CHOOSER=no 11450 HAVE_GTK_FILE_CHOOSER=no
11735 { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 11451 { echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5
11736 $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } 11452 echo $ECHO_N "checking whether GTK_TYPE_FILE_CHOOSER is declared... $ECHO_C" >&6; }
11737 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then 11453 if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then
11738 $as_echo_n "(cached) " >&6 11454 echo $ECHO_N "(cached) $ECHO_C" >&6
11739 else 11455 else
11740 cat >conftest.$ac_ext <<_ACEOF 11456 cat >conftest.$ac_ext <<_ACEOF
11741 /* confdefs.h. */ 11457 /* confdefs.h. */
11742 _ACEOF 11458 _ACEOF
11743 cat confdefs.h >>conftest.$ac_ext 11459 cat confdefs.h >>conftest.$ac_ext
11761 if { (ac_try="$ac_compile" 11477 if { (ac_try="$ac_compile"
11762 case "(($ac_try" in 11478 case "(($ac_try" in
11763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11764 *) ac_try_echo=$ac_try;; 11480 *) ac_try_echo=$ac_try;;
11765 esac 11481 esac
11766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11767 $as_echo "$ac_try_echo") >&5
11768 (eval "$ac_compile") 2>conftest.er1 11483 (eval "$ac_compile") 2>conftest.er1
11769 ac_status=$? 11484 ac_status=$?
11770 grep -v '^ *+' conftest.er1 >conftest.err 11485 grep -v '^ *+' conftest.er1 >conftest.err
11771 rm -f conftest.er1 11486 rm -f conftest.er1
11772 cat conftest.err >&5 11487 cat conftest.err >&5
11773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } && { 11489 (exit $ac_status); } && {
11775 test -z "$ac_c_werror_flag" || 11490 test -z "$ac_c_werror_flag" ||
11776 test ! -s conftest.err 11491 test ! -s conftest.err
11777 } && test -s conftest.$ac_objext; then 11492 } && test -s conftest.$ac_objext; then
11778 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes 11493 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes
11779 else 11494 else
11780 $as_echo "$as_me: failed program was:" >&5 11495 echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.$ac_ext >&5 11496 sed 's/^/| /' conftest.$ac_ext >&5
11782 11497
11783 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no 11498 ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no
11784 fi 11499 fi
11785 11500
11786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11787 fi 11502 fi
11788 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 11503 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5
11789 $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } 11504 echo "${ECHO_T}$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; }
11790 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then 11505 if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then
11791 HAVE_GTK_FILE_CHOOSER=yes 11506 HAVE_GTK_FILE_CHOOSER=yes
11792 else 11507 else
11793 HAVE_GTK_FILE_CHOOSER=no 11508 HAVE_GTK_FILE_CHOOSER=no
11794 fi 11509 fi
11795 11510
11796 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 11511 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
11797 11512
11798 for ac_func in gtk_file_chooser_dialog_new 11513 for ac_func in gtk_file_chooser_dialog_new
11799 do 11514 do
11800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11801 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11802 $as_echo_n "checking for $ac_func... " >&6; } 11517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11804 $as_echo_n "(cached) " >&6 11519 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 else 11520 else
11806 cat >conftest.$ac_ext <<_ACEOF 11521 cat >conftest.$ac_ext <<_ACEOF
11807 /* confdefs.h. */ 11522 /* confdefs.h. */
11808 _ACEOF 11523 _ACEOF
11809 cat confdefs.h >>conftest.$ac_ext 11524 cat confdefs.h >>conftest.$ac_ext
11852 if { (ac_try="$ac_link" 11567 if { (ac_try="$ac_link"
11853 case "(($ac_try" in 11568 case "(($ac_try" in
11854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11855 *) ac_try_echo=$ac_try;; 11570 *) ac_try_echo=$ac_try;;
11856 esac 11571 esac
11857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11858 $as_echo "$ac_try_echo") >&5
11859 (eval "$ac_link") 2>conftest.er1 11573 (eval "$ac_link") 2>conftest.er1
11860 ac_status=$? 11574 ac_status=$?
11861 grep -v '^ *+' conftest.er1 >conftest.err 11575 grep -v '^ *+' conftest.er1 >conftest.err
11862 rm -f conftest.er1 11576 rm -f conftest.er1
11863 cat conftest.err >&5 11577 cat conftest.err >&5
11864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); } && { 11579 (exit $ac_status); } && {
11866 test -z "$ac_c_werror_flag" || 11580 test -z "$ac_c_werror_flag" ||
11867 test ! -s conftest.err 11581 test ! -s conftest.err
11868 } && test -s conftest$ac_exeext && { 11582 } && test -s conftest$ac_exeext &&
11869 test "$cross_compiling" = yes || 11583 $as_test_x conftest$ac_exeext; then
11870 $as_test_x conftest$ac_exeext
11871 }; then
11872 eval "$as_ac_var=yes" 11584 eval "$as_ac_var=yes"
11873 else 11585 else
11874 $as_echo "$as_me: failed program was:" >&5 11586 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5 11587 sed 's/^/| /' conftest.$ac_ext >&5
11876 11588
11877 eval "$as_ac_var=no" 11589 eval "$as_ac_var=no"
11878 fi 11590 fi
11879 11591
11880 rm -rf conftest.dSYM
11881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11882 conftest$ac_exeext conftest.$ac_ext 11593 conftest$ac_exeext conftest.$ac_ext
11883 fi 11594 fi
11884 ac_res=`eval 'as_val=${'$as_ac_var'} 11595 ac_res=`eval echo '${'$as_ac_var'}'`
11885 $as_echo "$as_val"'` 11596 { echo "$as_me:$LINENO: result: $ac_res" >&5
11886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11597 echo "${ECHO_T}$ac_res" >&6; }
11887 $as_echo "$ac_res" >&6; } 11598 if test `eval echo '${'$as_ac_var'}'` = yes; then
11888 if test `eval 'as_val=${'$as_ac_var'}
11889 $as_echo "$as_val"'` = yes; then
11890 cat >>confdefs.h <<_ACEOF 11599 cat >>confdefs.h <<_ACEOF
11891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11892 _ACEOF 11601 _ACEOF
11893 HAVE_GTK_FILE_CHOOSER=yes 11602 HAVE_GTK_FILE_CHOOSER=yes
11894 else 11603 else
11895 HAVE_GTK_FILE_CHOOSER=no 11604 HAVE_GTK_FILE_CHOOSER=no
11896 fi 11605 fi
11910 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 11619 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
11911 HAVE_GTK_AND_PTHREAD=no 11620 HAVE_GTK_AND_PTHREAD=no
11912 11621
11913 for ac_header in pthread.h 11622 for ac_header in pthread.h
11914 do 11623 do
11915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11917 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11918 $as_echo_n "checking for $ac_header... " >&6; } 11627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11920 $as_echo_n "(cached) " >&6 11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 fi 11630 fi
11922 ac_res=`eval 'as_val=${'$as_ac_Header'} 11631 ac_res=`eval echo '${'$as_ac_Header'}'`
11923 $as_echo "$as_val"'` 11632 { echo "$as_me:$LINENO: result: $ac_res" >&5
11924 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11633 echo "${ECHO_T}$ac_res" >&6; }
11925 $as_echo "$ac_res" >&6; }
11926 else 11634 else
11927 # Is the header compilable? 11635 # Is the header compilable?
11928 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11636 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11929 $as_echo_n "checking $ac_header usability... " >&6; } 11637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11930 cat >conftest.$ac_ext <<_ACEOF 11638 cat >conftest.$ac_ext <<_ACEOF
11931 /* confdefs.h. */ 11639 /* confdefs.h. */
11932 _ACEOF 11640 _ACEOF
11933 cat confdefs.h >>conftest.$ac_ext 11641 cat confdefs.h >>conftest.$ac_ext
11934 cat >>conftest.$ac_ext <<_ACEOF 11642 cat >>conftest.$ac_ext <<_ACEOF
11940 if { (ac_try="$ac_compile" 11648 if { (ac_try="$ac_compile"
11941 case "(($ac_try" in 11649 case "(($ac_try" in
11942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11943 *) ac_try_echo=$ac_try;; 11651 *) ac_try_echo=$ac_try;;
11944 esac 11652 esac
11945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11946 $as_echo "$ac_try_echo") >&5
11947 (eval "$ac_compile") 2>conftest.er1 11654 (eval "$ac_compile") 2>conftest.er1
11948 ac_status=$? 11655 ac_status=$?
11949 grep -v '^ *+' conftest.er1 >conftest.err 11656 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1 11657 rm -f conftest.er1
11951 cat conftest.err >&5 11658 cat conftest.err >&5
11952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && { 11660 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" || 11661 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err 11662 test ! -s conftest.err
11956 } && test -s conftest.$ac_objext; then 11663 } && test -s conftest.$ac_objext; then
11957 ac_header_compiler=yes 11664 ac_header_compiler=yes
11958 else 11665 else
11959 $as_echo "$as_me: failed program was:" >&5 11666 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5 11667 sed 's/^/| /' conftest.$ac_ext >&5
11961 11668
11962 ac_header_compiler=no 11669 ac_header_compiler=no
11963 fi 11670 fi
11964 11671
11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11673 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11967 $as_echo "$ac_header_compiler" >&6; } 11674 echo "${ECHO_T}$ac_header_compiler" >&6; }
11968 11675
11969 # Is the header present? 11676 # Is the header present?
11970 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11677 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11971 $as_echo_n "checking $ac_header presence... " >&6; } 11678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11972 cat >conftest.$ac_ext <<_ACEOF 11679 cat >conftest.$ac_ext <<_ACEOF
11973 /* confdefs.h. */ 11680 /* confdefs.h. */
11974 _ACEOF 11681 _ACEOF
11975 cat confdefs.h >>conftest.$ac_ext 11682 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF 11683 cat >>conftest.$ac_ext <<_ACEOF
11980 if { (ac_try="$ac_cpp conftest.$ac_ext" 11687 if { (ac_try="$ac_cpp conftest.$ac_ext"
11981 case "(($ac_try" in 11688 case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;; 11690 *) ac_try_echo=$ac_try;;
11984 esac 11691 esac
11985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 $as_echo "$ac_try_echo") >&5
11987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11988 ac_status=$? 11694 ac_status=$?
11989 grep -v '^ *+' conftest.er1 >conftest.err 11695 grep -v '^ *+' conftest.er1 >conftest.err
11990 rm -f conftest.er1 11696 rm -f conftest.er1
11991 cat conftest.err >&5 11697 cat conftest.err >&5
11992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); } >/dev/null && { 11699 (exit $ac_status); } >/dev/null && {
11994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11995 test ! -s conftest.err 11701 test ! -s conftest.err
11996 }; then 11702 }; then
11997 ac_header_preproc=yes 11703 ac_header_preproc=yes
11998 else 11704 else
11999 $as_echo "$as_me: failed program was:" >&5 11705 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.$ac_ext >&5 11706 sed 's/^/| /' conftest.$ac_ext >&5
12001 11707
12002 ac_header_preproc=no 11708 ac_header_preproc=no
12003 fi 11709 fi
12004 11710
12005 rm -f conftest.err conftest.$ac_ext 11711 rm -f conftest.err conftest.$ac_ext
12006 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11712 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12007 $as_echo "$ac_header_preproc" >&6; } 11713 echo "${ECHO_T}$ac_header_preproc" >&6; }
12008 11714
12009 # So? What about this header? 11715 # So? What about this header?
12010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12011 yes:no: ) 11717 yes:no: )
12012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12013 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12015 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12016 ac_header_preproc=yes 11722 ac_header_preproc=yes
12017 ;; 11723 ;;
12018 no:yes:* ) 11724 no:yes:* )
12019 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12020 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12021 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12022 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12023 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12024 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12025 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12026 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12027 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12028 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12030 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12031 11737
12032 ;; 11738 ;;
12033 esac 11739 esac
12034 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11740 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12035 $as_echo_n "checking for $ac_header... " >&6; } 11741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12037 $as_echo_n "(cached) " >&6 11743 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 else 11744 else
12039 eval "$as_ac_Header=\$ac_header_preproc" 11745 eval "$as_ac_Header=\$ac_header_preproc"
12040 fi 11746 fi
12041 ac_res=`eval 'as_val=${'$as_ac_Header'} 11747 ac_res=`eval echo '${'$as_ac_Header'}'`
12042 $as_echo "$as_val"'` 11748 { echo "$as_me:$LINENO: result: $ac_res" >&5
12043 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11749 echo "${ECHO_T}$ac_res" >&6; }
12044 $as_echo "$ac_res" >&6; } 11750
12045 11751 fi
12046 fi 11752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12047 if test `eval 'as_val=${'$as_ac_Header'}
12048 $as_echo "$as_val"'` = yes; then
12049 cat >>confdefs.h <<_ACEOF 11753 cat >>confdefs.h <<_ACEOF
12050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12051 _ACEOF 11755 _ACEOF
12052 11756
12053 fi 11757 fi
12054 11758
12055 done 11759 done
12056 11760
12057 if test "$ac_cv_header_pthread_h"; then 11761 if test "$ac_cv_header_pthread_h"; then
12058 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 11762 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
12059 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } 11763 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; }
12060 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 11764 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
12061 $as_echo_n "(cached) " >&6 11765 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 else 11766 else
12063 ac_check_lib_save_LIBS=$LIBS 11767 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-lpthread $LIBS" 11768 LIBS="-lpthread $LIBS"
12065 cat >conftest.$ac_ext <<_ACEOF 11769 cat >conftest.$ac_ext <<_ACEOF
12066 /* confdefs.h. */ 11770 /* confdefs.h. */
12088 if { (ac_try="$ac_link" 11792 if { (ac_try="$ac_link"
12089 case "(($ac_try" in 11793 case "(($ac_try" in
12090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12091 *) ac_try_echo=$ac_try;; 11795 *) ac_try_echo=$ac_try;;
12092 esac 11796 esac
12093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12094 $as_echo "$ac_try_echo") >&5
12095 (eval "$ac_link") 2>conftest.er1 11798 (eval "$ac_link") 2>conftest.er1
12096 ac_status=$? 11799 ac_status=$?
12097 grep -v '^ *+' conftest.er1 >conftest.err 11800 grep -v '^ *+' conftest.er1 >conftest.err
12098 rm -f conftest.er1 11801 rm -f conftest.er1
12099 cat conftest.err >&5 11802 cat conftest.err >&5
12100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); } && { 11804 (exit $ac_status); } && {
12102 test -z "$ac_c_werror_flag" || 11805 test -z "$ac_c_werror_flag" ||
12103 test ! -s conftest.err 11806 test ! -s conftest.err
12104 } && test -s conftest$ac_exeext && { 11807 } && test -s conftest$ac_exeext &&
12105 test "$cross_compiling" = yes || 11808 $as_test_x conftest$ac_exeext; then
12106 $as_test_x conftest$ac_exeext
12107 }; then
12108 ac_cv_lib_pthread_pthread_self=yes 11809 ac_cv_lib_pthread_pthread_self=yes
12109 else 11810 else
12110 $as_echo "$as_me: failed program was:" >&5 11811 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.$ac_ext >&5 11812 sed 's/^/| /' conftest.$ac_ext >&5
12112 11813
12113 ac_cv_lib_pthread_pthread_self=no 11814 ac_cv_lib_pthread_pthread_self=no
12114 fi 11815 fi
12115 11816
12116 rm -rf conftest.dSYM
12117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12118 conftest$ac_exeext conftest.$ac_ext 11818 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_lib_save_LIBS 11819 LIBS=$ac_check_lib_save_LIBS
12120 fi 11820 fi
12121 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 11821 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
12122 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 11822 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; }
12123 if test $ac_cv_lib_pthread_pthread_self = yes; then 11823 if test $ac_cv_lib_pthread_pthread_self = yes; then
12124 HAVE_GTK_AND_PTHREAD=yes 11824 HAVE_GTK_AND_PTHREAD=yes
12125 fi 11825 fi
12126 11826
12127 fi 11827 fi
12144 11844
12145 succeeded=no 11845 succeeded=no
12146 11846
12147 # Extract the first word of "pkg-config", so it can be a program name with args. 11847 # Extract the first word of "pkg-config", so it can be a program name with args.
12148 set dummy pkg-config; ac_word=$2 11848 set dummy pkg-config; ac_word=$2
12149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12150 $as_echo_n "checking for $ac_word... " >&6; } 11850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12151 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11851 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12152 $as_echo_n "(cached) " >&6 11852 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 else 11853 else
12154 case $PKG_CONFIG in 11854 case $PKG_CONFIG in
12155 [\\/]* | ?:[\\/]*) 11855 [\\/]* | ?:[\\/]*)
12156 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11856 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12157 ;; 11857 ;;
12162 IFS=$as_save_IFS 11862 IFS=$as_save_IFS
12163 test -z "$as_dir" && as_dir=. 11863 test -z "$as_dir" && as_dir=.
12164 for ac_exec_ext in '' $ac_executable_extensions; do 11864 for ac_exec_ext in '' $ac_executable_extensions; do
12165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12166 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11866 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12167 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12168 break 2 11868 break 2
12169 fi 11869 fi
12170 done 11870 done
12171 done 11871 done
12172 IFS=$as_save_IFS 11872 IFS=$as_save_IFS
12175 ;; 11875 ;;
12176 esac 11876 esac
12177 fi 11877 fi
12178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11878 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12179 if test -n "$PKG_CONFIG"; then 11879 if test -n "$PKG_CONFIG"; then
12180 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11880 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12181 $as_echo "$PKG_CONFIG" >&6; } 11881 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12182 else 11882 else
12183 { $as_echo "$as_me:$LINENO: result: no" >&5 11883 { echo "$as_me:$LINENO: result: no" >&5
12184 $as_echo "no" >&6; } 11884 echo "${ECHO_T}no" >&6; }
12185 fi 11885 fi
12186 11886
12187 11887
12188 11888
12189 if test "$PKG_CONFIG" = "no" ; then 11889 if test "$PKG_CONFIG" = "no" ; then
12190 HAVE_DBUS=no 11890 HAVE_DBUS=no
12191 else 11891 else
12192 PKG_CONFIG_MIN_VERSION=0.9.0 11892 PKG_CONFIG_MIN_VERSION=0.9.0
12193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11893 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12194 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 11894 { echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5
12195 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 11895 echo $ECHO_N "checking for dbus-1 >= 1.0... $ECHO_C" >&6; }
12196 11896
12197 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 11897 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
12198 { $as_echo "$as_me:$LINENO: result: yes" >&5 11898 { echo "$as_me:$LINENO: result: yes" >&5
12199 $as_echo "yes" >&6; } 11899 echo "${ECHO_T}yes" >&6; }
12200 succeeded=yes 11900 succeeded=yes
12201 11901
12202 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 11902 { echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
12203 $as_echo_n "checking DBUS_CFLAGS... " >&6; } 11903 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; }
12204 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 11904 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12205 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 11905 { echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
12206 $as_echo "$DBUS_CFLAGS" >&6; } 11906 echo "${ECHO_T}$DBUS_CFLAGS" >&6; }
12207 11907
12208 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 11908 { echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
12209 $as_echo_n "checking DBUS_LIBS... " >&6; } 11909 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; }
12210 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 11910 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12211 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 11911 { echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
12212 $as_echo "$DBUS_LIBS" >&6; } 11912 echo "${ECHO_T}$DBUS_LIBS" >&6; }
12213 else 11913 else
12214 { $as_echo "$as_me:$LINENO: result: no" >&5 11914 { echo "$as_me:$LINENO: result: no" >&5
12215 $as_echo "no" >&6; } 11915 echo "${ECHO_T}no" >&6; }
12216 DBUS_CFLAGS="" 11916 DBUS_CFLAGS=""
12217 DBUS_LIBS="" 11917 DBUS_LIBS=""
12218 ## If we have a custom action on failure, don't print errors, but 11918 ## If we have a custom action on failure, don't print errors, but
12219 ## do set a variable so people can do so. 11919 ## do set a variable so people can do so.
12220 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"` 11920 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"`
12245 fi 11945 fi
12246 11946
12247 HAVE_XAW3D=no 11947 HAVE_XAW3D=no
12248 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 11948 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
12249 if test "$with_xaw3d" != no; then 11949 if test "$with_xaw3d" != no; then
12250 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 11950 { echo "$as_me:$LINENO: checking for xaw3d" >&5
12251 $as_echo_n "checking for xaw3d... " >&6; } 11951 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; }
12252 if test "${emacs_cv_xaw3d+set}" = set; then 11952 if test "${emacs_cv_xaw3d+set}" = set; then
12253 $as_echo_n "(cached) " >&6 11953 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else 11954 else
12255 cat >conftest.$ac_ext <<_ACEOF 11955 cat >conftest.$ac_ext <<_ACEOF
12256 /* confdefs.h. */ 11956 /* confdefs.h. */
12257 _ACEOF 11957 _ACEOF
12258 cat confdefs.h >>conftest.$ac_ext 11958 cat confdefs.h >>conftest.$ac_ext
12273 if { (ac_try="$ac_link" 11973 if { (ac_try="$ac_link"
12274 case "(($ac_try" in 11974 case "(($ac_try" in
12275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12276 *) ac_try_echo=$ac_try;; 11976 *) ac_try_echo=$ac_try;;
12277 esac 11977 esac
12278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12279 $as_echo "$ac_try_echo") >&5
12280 (eval "$ac_link") 2>conftest.er1 11979 (eval "$ac_link") 2>conftest.er1
12281 ac_status=$? 11980 ac_status=$?
12282 grep -v '^ *+' conftest.er1 >conftest.err 11981 grep -v '^ *+' conftest.er1 >conftest.err
12283 rm -f conftest.er1 11982 rm -f conftest.er1
12284 cat conftest.err >&5 11983 cat conftest.err >&5
12285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } && { 11985 (exit $ac_status); } && {
12287 test -z "$ac_c_werror_flag" || 11986 test -z "$ac_c_werror_flag" ||
12288 test ! -s conftest.err 11987 test ! -s conftest.err
12289 } && test -s conftest$ac_exeext && { 11988 } && test -s conftest$ac_exeext &&
12290 test "$cross_compiling" = yes || 11989 $as_test_x conftest$ac_exeext; then
12291 $as_test_x conftest$ac_exeext
12292 }; then
12293 emacs_cv_xaw3d=yes 11990 emacs_cv_xaw3d=yes
12294 else 11991 else
12295 $as_echo "$as_me: failed program was:" >&5 11992 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.$ac_ext >&5 11993 sed 's/^/| /' conftest.$ac_ext >&5
12297 11994
12298 emacs_cv_xaw3d=no 11995 emacs_cv_xaw3d=no
12299 fi 11996 fi
12300 11997
12301 rm -rf conftest.dSYM
12302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12303 conftest$ac_exeext conftest.$ac_ext 11999 conftest$ac_exeext conftest.$ac_ext
12304 fi 12000 fi
12305 12001
12306 else 12002 else
12307 emacs_cv_xaw3d=no 12003 emacs_cv_xaw3d=no
12308 fi 12004 fi
12309 if test $emacs_cv_xaw3d = yes; then 12005 if test $emacs_cv_xaw3d = yes; then
12310 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 12006 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12311 $as_echo "yes; using Lucid toolkit" >&6; } 12007 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12312 USE_X_TOOLKIT=LUCID 12008 USE_X_TOOLKIT=LUCID
12313 HAVE_XAW3D=yes 12009 HAVE_XAW3D=yes
12314 12010
12315 cat >>confdefs.h <<\_ACEOF 12011 cat >>confdefs.h <<\_ACEOF
12316 #define HAVE_XAW3D 1 12012 #define HAVE_XAW3D 1
12317 _ACEOF 12013 _ACEOF
12318 12014
12319 else 12015 else
12320 { $as_echo "$as_me:$LINENO: result: no" >&5 12016 { echo "$as_me:$LINENO: result: no" >&5
12321 $as_echo "no" >&6; } 12017 echo "${ECHO_T}no" >&6; }
12322 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 12018 { echo "$as_me:$LINENO: checking for libXaw" >&5
12323 $as_echo_n "checking for libXaw... " >&6; } 12019 echo $ECHO_N "checking for libXaw... $ECHO_C" >&6; }
12324 if test "${emacs_cv_xaw+set}" = set; then 12020 if test "${emacs_cv_xaw+set}" = set; then
12325 $as_echo_n "(cached) " >&6 12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 else 12022 else
12327 cat >conftest.$ac_ext <<_ACEOF 12023 cat >conftest.$ac_ext <<_ACEOF
12328 /* confdefs.h. */ 12024 /* confdefs.h. */
12329 _ACEOF 12025 _ACEOF
12330 cat confdefs.h >>conftest.$ac_ext 12026 cat confdefs.h >>conftest.$ac_ext
12345 if { (ac_try="$ac_link" 12041 if { (ac_try="$ac_link"
12346 case "(($ac_try" in 12042 case "(($ac_try" in
12347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12348 *) ac_try_echo=$ac_try;; 12044 *) ac_try_echo=$ac_try;;
12349 esac 12045 esac
12350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12351 $as_echo "$ac_try_echo") >&5
12352 (eval "$ac_link") 2>conftest.er1 12047 (eval "$ac_link") 2>conftest.er1
12353 ac_status=$? 12048 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err 12049 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1 12050 rm -f conftest.er1
12356 cat conftest.err >&5 12051 cat conftest.err >&5
12357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } && { 12053 (exit $ac_status); } && {
12359 test -z "$ac_c_werror_flag" || 12054 test -z "$ac_c_werror_flag" ||
12360 test ! -s conftest.err 12055 test ! -s conftest.err
12361 } && test -s conftest$ac_exeext && { 12056 } && test -s conftest$ac_exeext &&
12362 test "$cross_compiling" = yes || 12057 $as_test_x conftest$ac_exeext; then
12363 $as_test_x conftest$ac_exeext
12364 }; then
12365 emacs_cv_xaw=yes 12058 emacs_cv_xaw=yes
12366 else 12059 else
12367 $as_echo "$as_me: failed program was:" >&5 12060 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5 12061 sed 's/^/| /' conftest.$ac_ext >&5
12369 12062
12370 emacs_cv_xaw=no 12063 emacs_cv_xaw=no
12371 fi 12064 fi
12372 12065
12373 rm -rf conftest.dSYM
12374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12375 conftest$ac_exeext conftest.$ac_ext 12067 conftest$ac_exeext conftest.$ac_ext
12376 fi 12068 fi
12377 12069
12378 if test $emacs_cv_xaw = yes; then 12070 if test $emacs_cv_xaw = yes; then
12379 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 12071 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12380 $as_echo "yes; using Lucid toolkit" >&6; } 12072 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12381 USE_X_TOOLKIT=LUCID 12073 USE_X_TOOLKIT=LUCID
12382 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 12074 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
12383 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 12075 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12384 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} 12076 echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12385 { (exit 1); exit 1; }; } 12077 { (exit 1); exit 1; }; }
12386 else 12078 else
12387 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 12079 { echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
12388 $as_echo "no; do not use toolkit by default" >&6; } 12080 echo "${ECHO_T}no; do not use toolkit by default" >&6; }
12389 USE_X_TOOLKIT=none 12081 USE_X_TOOLKIT=none
12390 fi 12082 fi
12391 fi 12083 fi
12392 fi 12084 fi
12393 12085
12394 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 12086 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
12395 12087
12396 if test "${USE_X_TOOLKIT}" != "none"; then 12088 if test "${USE_X_TOOLKIT}" != "none"; then
12397 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 12089 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5
12398 $as_echo_n "checking X11 toolkit version... " >&6; } 12090 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; }
12399 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 12091 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
12400 $as_echo_n "(cached) " >&6 12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 else 12093 else
12402 cat >conftest.$ac_ext <<_ACEOF 12094 cat >conftest.$ac_ext <<_ACEOF
12403 /* confdefs.h. */ 12095 /* confdefs.h. */
12404 _ACEOF 12096 _ACEOF
12405 cat confdefs.h >>conftest.$ac_ext 12097 cat confdefs.h >>conftest.$ac_ext
12421 if { (ac_try="$ac_link" 12113 if { (ac_try="$ac_link"
12422 case "(($ac_try" in 12114 case "(($ac_try" in
12423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12424 *) ac_try_echo=$ac_try;; 12116 *) ac_try_echo=$ac_try;;
12425 esac 12117 esac
12426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12427 $as_echo "$ac_try_echo") >&5
12428 (eval "$ac_link") 2>conftest.er1 12119 (eval "$ac_link") 2>conftest.er1
12429 ac_status=$? 12120 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err 12121 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1 12122 rm -f conftest.er1
12432 cat conftest.err >&5 12123 cat conftest.err >&5
12433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && { 12125 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" || 12126 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err 12127 test ! -s conftest.err
12437 } && test -s conftest$ac_exeext && { 12128 } && test -s conftest$ac_exeext &&
12438 test "$cross_compiling" = yes || 12129 $as_test_x conftest$ac_exeext; then
12439 $as_test_x conftest$ac_exeext
12440 }; then
12441 emacs_cv_x11_toolkit_version_6=yes 12130 emacs_cv_x11_toolkit_version_6=yes
12442 else 12131 else
12443 $as_echo "$as_me: failed program was:" >&5 12132 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.$ac_ext >&5 12133 sed 's/^/| /' conftest.$ac_ext >&5
12445 12134
12446 emacs_cv_x11_toolkit_version_6=no 12135 emacs_cv_x11_toolkit_version_6=no
12447 fi 12136 fi
12448 12137
12449 rm -rf conftest.dSYM
12450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12451 conftest$ac_exeext conftest.$ac_ext 12139 conftest$ac_exeext conftest.$ac_ext
12452 fi 12140 fi
12453 12141
12454 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 12142 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
12455 if test $emacs_cv_x11_toolkit_version_6 = yes; then 12143 if test $emacs_cv_x11_toolkit_version_6 = yes; then
12456 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 12144 { echo "$as_me:$LINENO: result: 6 or newer" >&5
12457 $as_echo "6 or newer" >&6; } 12145 echo "${ECHO_T}6 or newer" >&6; }
12458 12146
12459 cat >>confdefs.h <<\_ACEOF 12147 cat >>confdefs.h <<\_ACEOF
12460 #define HAVE_X11XTR6 1 12148 #define HAVE_X11XTR6 1
12461 _ACEOF 12149 _ACEOF
12462 12150
12463 else 12151 else
12464 { $as_echo "$as_me:$LINENO: result: before 6" >&5 12152 { echo "$as_me:$LINENO: result: before 6" >&5
12465 $as_echo "before 6" >&6; } 12153 echo "${ECHO_T}before 6" >&6; }
12466 fi 12154 fi
12467 12155
12468 OLDLIBS="$LIBS" 12156 OLDLIBS="$LIBS"
12469 if test x$HAVE_X11XTR6 = xyes; then 12157 if test x$HAVE_X11XTR6 = xyes; then
12470 LIBS="-lXt -lSM -lICE $LIBS" 12158 LIBS="-lXt -lSM -lICE $LIBS"
12471 else 12159 else
12472 LIBS="-lXt $LIBS" 12160 LIBS="-lXt $LIBS"
12473 fi 12161 fi
12474 12162
12475 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 12163 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
12476 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 12164 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; }
12477 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 12165 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
12478 $as_echo_n "(cached) " >&6 12166 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 else 12167 else
12480 ac_check_lib_save_LIBS=$LIBS 12168 ac_check_lib_save_LIBS=$LIBS
12481 LIBS="-lXmu $LIBS" 12169 LIBS="-lXmu $LIBS"
12482 cat >conftest.$ac_ext <<_ACEOF 12170 cat >conftest.$ac_ext <<_ACEOF
12483 /* confdefs.h. */ 12171 /* confdefs.h. */
12505 if { (ac_try="$ac_link" 12193 if { (ac_try="$ac_link"
12506 case "(($ac_try" in 12194 case "(($ac_try" in
12507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12508 *) ac_try_echo=$ac_try;; 12196 *) ac_try_echo=$ac_try;;
12509 esac 12197 esac
12510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12511 $as_echo "$ac_try_echo") >&5
12512 (eval "$ac_link") 2>conftest.er1 12199 (eval "$ac_link") 2>conftest.er1
12513 ac_status=$? 12200 ac_status=$?
12514 grep -v '^ *+' conftest.er1 >conftest.err 12201 grep -v '^ *+' conftest.er1 >conftest.err
12515 rm -f conftest.er1 12202 rm -f conftest.er1
12516 cat conftest.err >&5 12203 cat conftest.err >&5
12517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } && { 12205 (exit $ac_status); } && {
12519 test -z "$ac_c_werror_flag" || 12206 test -z "$ac_c_werror_flag" ||
12520 test ! -s conftest.err 12207 test ! -s conftest.err
12521 } && test -s conftest$ac_exeext && { 12208 } && test -s conftest$ac_exeext &&
12522 test "$cross_compiling" = yes || 12209 $as_test_x conftest$ac_exeext; then
12523 $as_test_x conftest$ac_exeext
12524 }; then
12525 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 12210 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
12526 else 12211 else
12527 $as_echo "$as_me: failed program was:" >&5 12212 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5 12213 sed 's/^/| /' conftest.$ac_ext >&5
12529 12214
12530 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 12215 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
12531 fi 12216 fi
12532 12217
12533 rm -rf conftest.dSYM
12534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12535 conftest$ac_exeext conftest.$ac_ext 12219 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_lib_save_LIBS 12220 LIBS=$ac_check_lib_save_LIBS
12537 fi 12221 fi
12538 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 12222 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
12539 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 12223 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
12540 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 12224 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
12541 cat >>confdefs.h <<_ACEOF 12225 cat >>confdefs.h <<_ACEOF
12542 #define HAVE_LIBXMU 1 12226 #define HAVE_LIBXMU 1
12543 _ACEOF 12227 _ACEOF
12544 12228
12551 12235
12552 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 12236 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
12553 if test "${HAVE_X11}" = "yes"; then 12237 if test "${HAVE_X11}" = "yes"; then
12554 if test "${USE_X_TOOLKIT}" != "none"; then 12238 if test "${USE_X_TOOLKIT}" != "none"; then
12555 12239
12556 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 12240 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
12557 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 12241 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
12558 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 12242 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
12559 $as_echo_n "(cached) " >&6 12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 else 12244 else
12561 ac_check_lib_save_LIBS=$LIBS 12245 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lXext $LIBS" 12246 LIBS="-lXext $LIBS"
12563 cat >conftest.$ac_ext <<_ACEOF 12247 cat >conftest.$ac_ext <<_ACEOF
12564 /* confdefs.h. */ 12248 /* confdefs.h. */
12586 if { (ac_try="$ac_link" 12270 if { (ac_try="$ac_link"
12587 case "(($ac_try" in 12271 case "(($ac_try" in
12588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 *) ac_try_echo=$ac_try;; 12273 *) ac_try_echo=$ac_try;;
12590 esac 12274 esac
12591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12592 $as_echo "$ac_try_echo") >&5
12593 (eval "$ac_link") 2>conftest.er1 12276 (eval "$ac_link") 2>conftest.er1
12594 ac_status=$? 12277 ac_status=$?
12595 grep -v '^ *+' conftest.er1 >conftest.err 12278 grep -v '^ *+' conftest.er1 >conftest.err
12596 rm -f conftest.er1 12279 rm -f conftest.er1
12597 cat conftest.err >&5 12280 cat conftest.err >&5
12598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } && { 12282 (exit $ac_status); } && {
12600 test -z "$ac_c_werror_flag" || 12283 test -z "$ac_c_werror_flag" ||
12601 test ! -s conftest.err 12284 test ! -s conftest.err
12602 } && test -s conftest$ac_exeext && { 12285 } && test -s conftest$ac_exeext &&
12603 test "$cross_compiling" = yes || 12286 $as_test_x conftest$ac_exeext; then
12604 $as_test_x conftest$ac_exeext
12605 }; then
12606 ac_cv_lib_Xext_XShapeQueryExtension=yes 12287 ac_cv_lib_Xext_XShapeQueryExtension=yes
12607 else 12288 else
12608 $as_echo "$as_me: failed program was:" >&5 12289 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.$ac_ext >&5 12290 sed 's/^/| /' conftest.$ac_ext >&5
12610 12291
12611 ac_cv_lib_Xext_XShapeQueryExtension=no 12292 ac_cv_lib_Xext_XShapeQueryExtension=no
12612 fi 12293 fi
12613 12294
12614 rm -rf conftest.dSYM
12615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12616 conftest$ac_exeext conftest.$ac_ext 12296 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS 12297 LIBS=$ac_check_lib_save_LIBS
12618 fi 12298 fi
12619 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 12299 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12620 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 12300 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12621 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 12301 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
12622 cat >>confdefs.h <<_ACEOF 12302 cat >>confdefs.h <<_ACEOF
12623 #define HAVE_LIBXEXT 1 12303 #define HAVE_LIBXEXT 1
12624 _ACEOF 12304 _ACEOF
12625 12305
12629 12309
12630 fi 12310 fi
12631 fi 12311 fi
12632 12312
12633 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 12313 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
12634 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 12314 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
12635 $as_echo_n "checking for Motif version 2.1... " >&6; } 12315 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; }
12636 if test "${emacs_cv_motif_version_2_1+set}" = set; then 12316 if test "${emacs_cv_motif_version_2_1+set}" = set; then
12637 $as_echo_n "(cached) " >&6 12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12638 else 12318 else
12639 cat >conftest.$ac_ext <<_ACEOF 12319 cat >conftest.$ac_ext <<_ACEOF
12640 /* confdefs.h. */ 12320 /* confdefs.h. */
12641 _ACEOF 12321 _ACEOF
12642 cat confdefs.h >>conftest.$ac_ext 12322 cat confdefs.h >>conftest.$ac_ext
12659 if { (ac_try="$ac_compile" 12339 if { (ac_try="$ac_compile"
12660 case "(($ac_try" in 12340 case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;; 12342 *) ac_try_echo=$ac_try;;
12663 esac 12343 esac
12664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 $as_echo "$ac_try_echo") >&5
12666 (eval "$ac_compile") 2>conftest.er1 12345 (eval "$ac_compile") 2>conftest.er1
12667 ac_status=$? 12346 ac_status=$?
12668 grep -v '^ *+' conftest.er1 >conftest.err 12347 grep -v '^ *+' conftest.er1 >conftest.err
12669 rm -f conftest.er1 12348 rm -f conftest.er1
12670 cat conftest.err >&5 12349 cat conftest.err >&5
12671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } && { 12351 (exit $ac_status); } && {
12673 test -z "$ac_c_werror_flag" || 12352 test -z "$ac_c_werror_flag" ||
12674 test ! -s conftest.err 12353 test ! -s conftest.err
12675 } && test -s conftest.$ac_objext; then 12354 } && test -s conftest.$ac_objext; then
12676 emacs_cv_motif_version_2_1=yes 12355 emacs_cv_motif_version_2_1=yes
12677 else 12356 else
12678 $as_echo "$as_me: failed program was:" >&5 12357 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5 12358 sed 's/^/| /' conftest.$ac_ext >&5
12680 12359
12681 emacs_cv_motif_version_2_1=no 12360 emacs_cv_motif_version_2_1=no
12682 fi 12361 fi
12683 12362
12684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12685 fi 12364 fi
12686 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 12365 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
12687 $as_echo "$emacs_cv_motif_version_2_1" >&6; } 12366 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; }
12688 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 12367 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
12689 if test $emacs_cv_motif_version_2_1 = yes; then 12368 if test $emacs_cv_motif_version_2_1 = yes; then
12690 HAVE_LIBXP=no 12369 HAVE_LIBXP=no
12691 12370
12692 cat >>confdefs.h <<\_ACEOF 12371 cat >>confdefs.h <<\_ACEOF
12693 #define HAVE_MOTIF_2_1 1 12372 #define HAVE_MOTIF_2_1 1
12694 _ACEOF 12373 _ACEOF
12695 12374
12696 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 12375 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
12697 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 12376 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; }
12698 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 12377 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
12699 $as_echo_n "(cached) " >&6 12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 else 12379 else
12701 ac_check_lib_save_LIBS=$LIBS 12380 ac_check_lib_save_LIBS=$LIBS
12702 LIBS="-lXp $LIBS" 12381 LIBS="-lXp $LIBS"
12703 cat >conftest.$ac_ext <<_ACEOF 12382 cat >conftest.$ac_ext <<_ACEOF
12704 /* confdefs.h. */ 12383 /* confdefs.h. */
12726 if { (ac_try="$ac_link" 12405 if { (ac_try="$ac_link"
12727 case "(($ac_try" in 12406 case "(($ac_try" in
12728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729 *) ac_try_echo=$ac_try;; 12408 *) ac_try_echo=$ac_try;;
12730 esac 12409 esac
12731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12732 $as_echo "$ac_try_echo") >&5
12733 (eval "$ac_link") 2>conftest.er1 12411 (eval "$ac_link") 2>conftest.er1
12734 ac_status=$? 12412 ac_status=$?
12735 grep -v '^ *+' conftest.er1 >conftest.err 12413 grep -v '^ *+' conftest.er1 >conftest.err
12736 rm -f conftest.er1 12414 rm -f conftest.er1
12737 cat conftest.err >&5 12415 cat conftest.err >&5
12738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } && { 12417 (exit $ac_status); } && {
12740 test -z "$ac_c_werror_flag" || 12418 test -z "$ac_c_werror_flag" ||
12741 test ! -s conftest.err 12419 test ! -s conftest.err
12742 } && test -s conftest$ac_exeext && { 12420 } && test -s conftest$ac_exeext &&
12743 test "$cross_compiling" = yes || 12421 $as_test_x conftest$ac_exeext; then
12744 $as_test_x conftest$ac_exeext
12745 }; then
12746 ac_cv_lib_Xp_XpCreateContext=yes 12422 ac_cv_lib_Xp_XpCreateContext=yes
12747 else 12423 else
12748 $as_echo "$as_me: failed program was:" >&5 12424 echo "$as_me: failed program was:" >&5
12749 sed 's/^/| /' conftest.$ac_ext >&5 12425 sed 's/^/| /' conftest.$ac_ext >&5
12750 12426
12751 ac_cv_lib_Xp_XpCreateContext=no 12427 ac_cv_lib_Xp_XpCreateContext=no
12752 fi 12428 fi
12753 12429
12754 rm -rf conftest.dSYM
12755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12756 conftest$ac_exeext conftest.$ac_ext 12431 conftest$ac_exeext conftest.$ac_ext
12757 LIBS=$ac_check_lib_save_LIBS 12432 LIBS=$ac_check_lib_save_LIBS
12758 fi 12433 fi
12759 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 12434 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
12760 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 12435 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; }
12761 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 12436 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
12762 HAVE_LIBXP=yes 12437 HAVE_LIBXP=yes
12763 fi 12438 fi
12764 12439
12765 if test ${HAVE_LIBXP} = yes; then 12440 if test ${HAVE_LIBXP} = yes; then
12768 #define HAVE_LIBXP 1 12443 #define HAVE_LIBXP 1
12769 _ACEOF 12444 _ACEOF
12770 12445
12771 fi 12446 fi
12772 else 12447 else
12773 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 12448 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
12774 $as_echo_n "checking for LessTif where some systems put it... " >&6; } 12449 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; }
12775 if test "${emacs_cv_lesstif+set}" = set; then 12450 if test "${emacs_cv_lesstif+set}" = set; then
12776 $as_echo_n "(cached) " >&6 12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 else 12452 else
12778 # We put this in CFLAGS temporarily to precede other -I options 12453 # We put this in CFLAGS temporarily to precede other -I options
12779 # that might be in CFLAGS temporarily. 12454 # that might be in CFLAGS temporarily.
12780 # We put this in CPPFLAGS where it precedes the other -I options. 12455 # We put this in CPPFLAGS where it precedes the other -I options.
12781 OLD_CPPFLAGS=$CPPFLAGS 12456 OLD_CPPFLAGS=$CPPFLAGS
12801 if { (ac_try="$ac_compile" 12476 if { (ac_try="$ac_compile"
12802 case "(($ac_try" in 12477 case "(($ac_try" in
12803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804 *) ac_try_echo=$ac_try;; 12479 *) ac_try_echo=$ac_try;;
12805 esac 12480 esac
12806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12807 $as_echo "$ac_try_echo") >&5
12808 (eval "$ac_compile") 2>conftest.er1 12482 (eval "$ac_compile") 2>conftest.er1
12809 ac_status=$? 12483 ac_status=$?
12810 grep -v '^ *+' conftest.er1 >conftest.err 12484 grep -v '^ *+' conftest.er1 >conftest.err
12811 rm -f conftest.er1 12485 rm -f conftest.er1
12812 cat conftest.err >&5 12486 cat conftest.err >&5
12813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } && { 12488 (exit $ac_status); } && {
12815 test -z "$ac_c_werror_flag" || 12489 test -z "$ac_c_werror_flag" ||
12816 test ! -s conftest.err 12490 test ! -s conftest.err
12817 } && test -s conftest.$ac_objext; then 12491 } && test -s conftest.$ac_objext; then
12818 emacs_cv_lesstif=yes 12492 emacs_cv_lesstif=yes
12819 else 12493 else
12820 $as_echo "$as_me: failed program was:" >&5 12494 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5 12495 sed 's/^/| /' conftest.$ac_ext >&5
12822 12496
12823 emacs_cv_lesstif=no 12497 emacs_cv_lesstif=no
12824 fi 12498 fi
12825 12499
12826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12827 fi 12501 fi
12828 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 12502 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
12829 $as_echo "$emacs_cv_lesstif" >&6; } 12503 echo "${ECHO_T}$emacs_cv_lesstif" >&6; }
12830 if test $emacs_cv_lesstif = yes; then 12504 if test $emacs_cv_lesstif = yes; then
12831 # Make sure this -I option remains in CPPFLAGS after it is set 12505 # Make sure this -I option remains in CPPFLAGS after it is set
12832 # back to REAL_CPPFLAGS. 12506 # back to REAL_CPPFLAGS.
12833 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not 12507 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
12834 # have those other -I options anyway. Ultimately, having this 12508 # have those other -I options anyway. Ultimately, having this
12897 if { (ac_try="$ac_compile" 12571 if { (ac_try="$ac_compile"
12898 case "(($ac_try" in 12572 case "(($ac_try" in
12899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12900 *) ac_try_echo=$ac_try;; 12574 *) ac_try_echo=$ac_try;;
12901 esac 12575 esac
12902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12903 $as_echo "$ac_try_echo") >&5
12904 (eval "$ac_compile") 2>conftest.er1 12577 (eval "$ac_compile") 2>conftest.er1
12905 ac_status=$? 12578 ac_status=$?
12906 grep -v '^ *+' conftest.er1 >conftest.err 12579 grep -v '^ *+' conftest.er1 >conftest.err
12907 rm -f conftest.er1 12580 rm -f conftest.er1
12908 cat conftest.err >&5 12581 cat conftest.err >&5
12909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } && { 12583 (exit $ac_status); } && {
12911 test -z "$ac_c_werror_flag" || 12584 test -z "$ac_c_werror_flag" ||
12912 test ! -s conftest.err 12585 test ! -s conftest.err
12913 } && test -s conftest.$ac_objext; then 12586 } && test -s conftest.$ac_objext; then
12914 HAVE_XIM=yes 12587 HAVE_XIM=yes
12916 cat >>confdefs.h <<\_ACEOF 12589 cat >>confdefs.h <<\_ACEOF
12917 #define HAVE_XIM 1 12590 #define HAVE_XIM 1
12918 _ACEOF 12591 _ACEOF
12919 12592
12920 else 12593 else
12921 $as_echo "$as_me: failed program was:" >&5 12594 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5 12595 sed 's/^/| /' conftest.$ac_ext >&5
12923 12596
12924 HAVE_XIM=no 12597 HAVE_XIM=no
12925 fi 12598 fi
12926 12599
12975 if { (ac_try="$ac_compile" 12648 if { (ac_try="$ac_compile"
12976 case "(($ac_try" in 12649 case "(($ac_try" in
12977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12978 *) ac_try_echo=$ac_try;; 12651 *) ac_try_echo=$ac_try;;
12979 esac 12652 esac
12980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12981 $as_echo "$ac_try_echo") >&5
12982 (eval "$ac_compile") 2>conftest.er1 12654 (eval "$ac_compile") 2>conftest.er1
12983 ac_status=$? 12655 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err 12656 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1 12657 rm -f conftest.er1
12986 cat conftest.err >&5 12658 cat conftest.err >&5
12987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } && { 12660 (exit $ac_status); } && {
12989 test -z "$ac_c_werror_flag" || 12661 test -z "$ac_c_werror_flag" ||
12990 test ! -s conftest.err 12662 test ! -s conftest.err
12991 } && test -s conftest.$ac_objext; then 12663 } && test -s conftest.$ac_objext; then
12992 emacs_cv_arg6_star=yes 12664 emacs_cv_arg6_star=yes
12993 else 12665 else
12994 $as_echo "$as_me: failed program was:" >&5 12666 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.$ac_ext >&5 12667 sed 's/^/| /' conftest.$ac_ext >&5
12996 12668
12997 12669
12998 fi 12670 fi
12999 12671
13022 12694
13023 succeeded=no 12695 succeeded=no
13024 12696
13025 # Extract the first word of "pkg-config", so it can be a program name with args. 12697 # Extract the first word of "pkg-config", so it can be a program name with args.
13026 set dummy pkg-config; ac_word=$2 12698 set dummy pkg-config; ac_word=$2
13027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13028 $as_echo_n "checking for $ac_word... " >&6; } 12700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13029 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12701 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13030 $as_echo_n "(cached) " >&6 12702 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 else 12703 else
13032 case $PKG_CONFIG in 12704 case $PKG_CONFIG in
13033 [\\/]* | ?:[\\/]*) 12705 [\\/]* | ?:[\\/]*)
13034 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12706 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13035 ;; 12707 ;;
13040 IFS=$as_save_IFS 12712 IFS=$as_save_IFS
13041 test -z "$as_dir" && as_dir=. 12713 test -z "$as_dir" && as_dir=.
13042 for ac_exec_ext in '' $ac_executable_extensions; do 12714 for ac_exec_ext in '' $ac_executable_extensions; do
13043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13044 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12716 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13046 break 2 12718 break 2
13047 fi 12719 fi
13048 done 12720 done
13049 done 12721 done
13050 IFS=$as_save_IFS 12722 IFS=$as_save_IFS
13053 ;; 12725 ;;
13054 esac 12726 esac
13055 fi 12727 fi
13056 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13057 if test -n "$PKG_CONFIG"; then 12729 if test -n "$PKG_CONFIG"; then
13058 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12730 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13059 $as_echo "$PKG_CONFIG" >&6; } 12731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13060 else 12732 else
13061 { $as_echo "$as_me:$LINENO: result: no" >&5 12733 { echo "$as_me:$LINENO: result: no" >&5
13062 $as_echo "no" >&6; } 12734 echo "${ECHO_T}no" >&6; }
13063 fi 12735 fi
13064 12736
13065 12737
13066 12738
13067 if test "$PKG_CONFIG" = "no" ; then 12739 if test "$PKG_CONFIG" = "no" ; then
13068 HAVE_FC=no 12740 HAVE_FC=no
13069 else 12741 else
13070 PKG_CONFIG_MIN_VERSION=0.9.0 12742 PKG_CONFIG_MIN_VERSION=0.9.0
13071 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12743 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13072 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 12744 { echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5
13073 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 12745 echo $ECHO_N "checking for fontconfig >= 2.2.0... $ECHO_C" >&6; }
13074 12746
13075 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 12747 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
13076 { $as_echo "$as_me:$LINENO: result: yes" >&5 12748 { echo "$as_me:$LINENO: result: yes" >&5
13077 $as_echo "yes" >&6; } 12749 echo "${ECHO_T}yes" >&6; }
13078 succeeded=yes 12750 succeeded=yes
13079 12751
13080 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 12752 { echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5
13081 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 12753 echo $ECHO_N "checking FONTCONFIG_CFLAGS... $ECHO_C" >&6; }
13082 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 12754 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13083 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 12755 { echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5
13084 $as_echo "$FONTCONFIG_CFLAGS" >&6; } 12756 echo "${ECHO_T}$FONTCONFIG_CFLAGS" >&6; }
13085 12757
13086 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 12758 { echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5
13087 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 12759 echo $ECHO_N "checking FONTCONFIG_LIBS... $ECHO_C" >&6; }
13088 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 12760 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
13089 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 12761 { echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5
13090 $as_echo "$FONTCONFIG_LIBS" >&6; } 12762 echo "${ECHO_T}$FONTCONFIG_LIBS" >&6; }
13091 else 12763 else
13092 { $as_echo "$as_me:$LINENO: result: no" >&5 12764 { echo "$as_me:$LINENO: result: no" >&5
13093 $as_echo "no" >&6; } 12765 echo "${ECHO_T}no" >&6; }
13094 FONTCONFIG_CFLAGS="" 12766 FONTCONFIG_CFLAGS=""
13095 FONTCONFIG_LIBS="" 12767 FONTCONFIG_LIBS=""
13096 ## If we have a custom action on failure, don't print errors, but 12768 ## If we have a custom action on failure, don't print errors, but
13097 ## do set a variable so people can do so. 12769 ## do set a variable so people can do so.
13098 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"` 12770 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"`
13111 HAVE_FC=yes 12783 HAVE_FC=yes
13112 else 12784 else
13113 HAVE_FC=no 12785 HAVE_FC=no
13114 fi 12786 fi
13115 12787
13116 test "${HAVE_FC}" = "no" && with_freetype=no 12788
13117 12789 ## Use -lXft if available, unless `--with-xft=no'.
13118 ## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.
13119 HAVE_XFT=maybe 12790 HAVE_XFT=maybe
13120 if test "x${with_freetype}" = "xno" || test "x${with_x}" = "xno"; then 12791 if test "${HAVE_FC}" = "no" || test "x${with_x}" = "xno"; then
13121 with_xft="no"; 12792 with_xft="no";
13122 fi 12793 fi
13123 if test "x${with_xft}" != "xno"; then 12794 if test "x${with_xft}" != "xno"; then
13124 12795
13125 12796
13126 succeeded=no 12797 succeeded=no
13127 12798
13128 # Extract the first word of "pkg-config", so it can be a program name with args. 12799 # Extract the first word of "pkg-config", so it can be a program name with args.
13129 set dummy pkg-config; ac_word=$2 12800 set dummy pkg-config; ac_word=$2
13130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13131 $as_echo_n "checking for $ac_word... " >&6; } 12802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13132 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13133 $as_echo_n "(cached) " >&6 12804 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else 12805 else
13135 case $PKG_CONFIG in 12806 case $PKG_CONFIG in
13136 [\\/]* | ?:[\\/]*) 12807 [\\/]* | ?:[\\/]*)
13137 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12808 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13138 ;; 12809 ;;
13143 IFS=$as_save_IFS 12814 IFS=$as_save_IFS
13144 test -z "$as_dir" && as_dir=. 12815 test -z "$as_dir" && as_dir=.
13145 for ac_exec_ext in '' $ac_executable_extensions; do 12816 for ac_exec_ext in '' $ac_executable_extensions; do
13146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13147 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12818 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13148 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13149 break 2 12820 break 2
13150 fi 12821 fi
13151 done 12822 done
13152 done 12823 done
13153 IFS=$as_save_IFS 12824 IFS=$as_save_IFS
13156 ;; 12827 ;;
13157 esac 12828 esac
13158 fi 12829 fi
13159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12830 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13160 if test -n "$PKG_CONFIG"; then 12831 if test -n "$PKG_CONFIG"; then
13161 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12832 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13162 $as_echo "$PKG_CONFIG" >&6; } 12833 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13163 else 12834 else
13164 { $as_echo "$as_me:$LINENO: result: no" >&5 12835 { echo "$as_me:$LINENO: result: no" >&5
13165 $as_echo "no" >&6; } 12836 echo "${ECHO_T}no" >&6; }
13166 fi 12837 fi
13167 12838
13168 12839
13169 12840
13170 if test "$PKG_CONFIG" = "no" ; then 12841 if test "$PKG_CONFIG" = "no" ; then
13171 HAVE_XFT=no 12842 HAVE_XFT=no
13172 else 12843 else
13173 PKG_CONFIG_MIN_VERSION=0.9.0 12844 PKG_CONFIG_MIN_VERSION=0.9.0
13174 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12845 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13175 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 12846 { echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5
13176 $as_echo_n "checking for xft >= 0.13.0... " >&6; } 12847 echo $ECHO_N "checking for xft >= 0.13.0... $ECHO_C" >&6; }
13177 12848
13178 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 12849 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
13179 { $as_echo "$as_me:$LINENO: result: yes" >&5 12850 { echo "$as_me:$LINENO: result: yes" >&5
13180 $as_echo "yes" >&6; } 12851 echo "${ECHO_T}yes" >&6; }
13181 succeeded=yes 12852 succeeded=yes
13182 12853
13183 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 12854 { echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5
13184 $as_echo_n "checking XFT_CFLAGS... " >&6; } 12855 echo $ECHO_N "checking XFT_CFLAGS... $ECHO_C" >&6; }
13185 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 12856 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13186 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 12857 { echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5
13187 $as_echo "$XFT_CFLAGS" >&6; } 12858 echo "${ECHO_T}$XFT_CFLAGS" >&6; }
13188 12859
13189 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 12860 { echo "$as_me:$LINENO: checking XFT_LIBS" >&5
13190 $as_echo_n "checking XFT_LIBS... " >&6; } 12861 echo $ECHO_N "checking XFT_LIBS... $ECHO_C" >&6; }
13191 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 12862 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13192 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 12863 { echo "$as_me:$LINENO: result: $XFT_LIBS" >&5
13193 $as_echo "$XFT_LIBS" >&6; } 12864 echo "${ECHO_T}$XFT_LIBS" >&6; }
13194 else 12865 else
13195 { $as_echo "$as_me:$LINENO: result: no" >&5 12866 { echo "$as_me:$LINENO: result: no" >&5
13196 $as_echo "no" >&6; } 12867 echo "${ECHO_T}no" >&6; }
13197 XFT_CFLAGS="" 12868 XFT_CFLAGS=""
13198 XFT_LIBS="" 12869 XFT_LIBS=""
13199 ## If we have a custom action on failure, don't print errors, but 12870 ## If we have a custom action on failure, don't print errors, but
13200 ## do set a variable so people can do so. 12871 ## do set a variable so people can do so.
13201 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"` 12872 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"`
13222 OLD_LIBS="$LIBS" 12893 OLD_LIBS="$LIBS"
13223 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 12894 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
13224 CFLAGS="$CFLAGS $XFT_CFLAGS" 12895 CFLAGS="$CFLAGS $XFT_CFLAGS"
13225 LIBS="$XFT_LIBS $LIBS" 12896 LIBS="$XFT_LIBS $LIBS"
13226 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12897 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13227 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 12898 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13228 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 12899 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
13229 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12900 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13230 $as_echo_n "(cached) " >&6 12901 echo $ECHO_N "(cached) $ECHO_C" >&6
13231 fi 12902 fi
13232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 12903 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13233 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } 12904 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
13234 else 12905 else
13235 # Is the header compilable? 12906 # Is the header compilable?
13236 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 12907 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13237 $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } 12908 echo $ECHO_N "checking X11/Xft/Xft.h usability... $ECHO_C" >&6; }
13238 cat >conftest.$ac_ext <<_ACEOF 12909 cat >conftest.$ac_ext <<_ACEOF
13239 /* confdefs.h. */ 12910 /* confdefs.h. */
13240 _ACEOF 12911 _ACEOF
13241 cat confdefs.h >>conftest.$ac_ext 12912 cat confdefs.h >>conftest.$ac_ext
13242 cat >>conftest.$ac_ext <<_ACEOF 12913 cat >>conftest.$ac_ext <<_ACEOF
13248 if { (ac_try="$ac_compile" 12919 if { (ac_try="$ac_compile"
13249 case "(($ac_try" in 12920 case "(($ac_try" in
13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;; 12922 *) ac_try_echo=$ac_try;;
13252 esac 12923 esac
13253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 $as_echo "$ac_try_echo") >&5
13255 (eval "$ac_compile") 2>conftest.er1 12925 (eval "$ac_compile") 2>conftest.er1
13256 ac_status=$? 12926 ac_status=$?
13257 grep -v '^ *+' conftest.er1 >conftest.err 12927 grep -v '^ *+' conftest.er1 >conftest.err
13258 rm -f conftest.er1 12928 rm -f conftest.er1
13259 cat conftest.err >&5 12929 cat conftest.err >&5
13260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } && { 12931 (exit $ac_status); } && {
13262 test -z "$ac_c_werror_flag" || 12932 test -z "$ac_c_werror_flag" ||
13263 test ! -s conftest.err 12933 test ! -s conftest.err
13264 } && test -s conftest.$ac_objext; then 12934 } && test -s conftest.$ac_objext; then
13265 ac_header_compiler=yes 12935 ac_header_compiler=yes
13266 else 12936 else
13267 $as_echo "$as_me: failed program was:" >&5 12937 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5 12938 sed 's/^/| /' conftest.$ac_ext >&5
13269 12939
13270 ac_header_compiler=no 12940 ac_header_compiler=no
13271 fi 12941 fi
13272 12942
13273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13274 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13275 $as_echo "$ac_header_compiler" >&6; } 12945 echo "${ECHO_T}$ac_header_compiler" >&6; }
13276 12946
13277 # Is the header present? 12947 # Is the header present?
13278 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 12948 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13279 $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } 12949 echo $ECHO_N "checking X11/Xft/Xft.h presence... $ECHO_C" >&6; }
13280 cat >conftest.$ac_ext <<_ACEOF 12950 cat >conftest.$ac_ext <<_ACEOF
13281 /* confdefs.h. */ 12951 /* confdefs.h. */
13282 _ACEOF 12952 _ACEOF
13283 cat confdefs.h >>conftest.$ac_ext 12953 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF 12954 cat >>conftest.$ac_ext <<_ACEOF
13288 if { (ac_try="$ac_cpp conftest.$ac_ext" 12958 if { (ac_try="$ac_cpp conftest.$ac_ext"
13289 case "(($ac_try" in 12959 case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;; 12961 *) ac_try_echo=$ac_try;;
13292 esac 12962 esac
13293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 $as_echo "$ac_try_echo") >&5
13295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13296 ac_status=$? 12965 ac_status=$?
13297 grep -v '^ *+' conftest.er1 >conftest.err 12966 grep -v '^ *+' conftest.er1 >conftest.err
13298 rm -f conftest.er1 12967 rm -f conftest.er1
13299 cat conftest.err >&5 12968 cat conftest.err >&5
13300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } >/dev/null && { 12970 (exit $ac_status); } >/dev/null && {
13302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13303 test ! -s conftest.err 12972 test ! -s conftest.err
13304 }; then 12973 }; then
13305 ac_header_preproc=yes 12974 ac_header_preproc=yes
13306 else 12975 else
13307 $as_echo "$as_me: failed program was:" >&5 12976 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5 12977 sed 's/^/| /' conftest.$ac_ext >&5
13309 12978
13310 ac_header_preproc=no 12979 ac_header_preproc=no
13311 fi 12980 fi
13312 12981
13313 rm -f conftest.err conftest.$ac_ext 12982 rm -f conftest.err conftest.$ac_ext
13314 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12983 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13315 $as_echo "$ac_header_preproc" >&6; } 12984 echo "${ECHO_T}$ac_header_preproc" >&6; }
13316 12985
13317 # So? What about this header? 12986 # So? What about this header?
13318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13319 yes:no: ) 12988 yes:no: )
13320 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 12989 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
13321 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 12990 echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13322 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 12991 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
13323 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} 12992 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
13324 ac_header_preproc=yes 12993 ac_header_preproc=yes
13325 ;; 12994 ;;
13326 no:yes:* ) 12995 no:yes:* )
13327 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 12996 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
13328 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} 12997 echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
13329 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 12998 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
13330 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} 12999 echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
13331 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 13000 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
13332 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} 13001 echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
13333 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 13002 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
13334 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} 13003 echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
13335 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 13004 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
13336 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} 13005 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
13337 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 13006 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
13338 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} 13007 echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
13339 13008
13340 ;; 13009 ;;
13341 esac 13010 esac
13342 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 13011 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13343 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 13012 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
13344 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 13013 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13345 $as_echo_n "(cached) " >&6 13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 else 13015 else
13347 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc 13016 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
13348 fi 13017 fi
13349 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 13018 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13350 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } 13019 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
13351 13020
13352 fi 13021 fi
13353 if test $ac_cv_header_X11_Xft_Xft_h = yes; then 13022 if test $ac_cv_header_X11_Xft_Xft_h = yes; then
13354 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 13023 { echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
13355 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 13024 echo $ECHO_N "checking for XftFontOpen in -lXft... $ECHO_C" >&6; }
13356 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 13025 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
13357 $as_echo_n "(cached) " >&6 13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else 13027 else
13359 ac_check_lib_save_LIBS=$LIBS 13028 ac_check_lib_save_LIBS=$LIBS
13360 LIBS="-lXft $XFT_LIBS $LIBS" 13029 LIBS="-lXft $XFT_LIBS $LIBS"
13361 cat >conftest.$ac_ext <<_ACEOF 13030 cat >conftest.$ac_ext <<_ACEOF
13362 /* confdefs.h. */ 13031 /* confdefs.h. */
13384 if { (ac_try="$ac_link" 13053 if { (ac_try="$ac_link"
13385 case "(($ac_try" in 13054 case "(($ac_try" in
13386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13387 *) ac_try_echo=$ac_try;; 13056 *) ac_try_echo=$ac_try;;
13388 esac 13057 esac
13389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13390 $as_echo "$ac_try_echo") >&5
13391 (eval "$ac_link") 2>conftest.er1 13059 (eval "$ac_link") 2>conftest.er1
13392 ac_status=$? 13060 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err 13061 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1 13062 rm -f conftest.er1
13395 cat conftest.err >&5 13063 cat conftest.err >&5
13396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } && { 13065 (exit $ac_status); } && {
13398 test -z "$ac_c_werror_flag" || 13066 test -z "$ac_c_werror_flag" ||
13399 test ! -s conftest.err 13067 test ! -s conftest.err
13400 } && test -s conftest$ac_exeext && { 13068 } && test -s conftest$ac_exeext &&
13401 test "$cross_compiling" = yes || 13069 $as_test_x conftest$ac_exeext; then
13402 $as_test_x conftest$ac_exeext
13403 }; then
13404 ac_cv_lib_Xft_XftFontOpen=yes 13070 ac_cv_lib_Xft_XftFontOpen=yes
13405 else 13071 else
13406 $as_echo "$as_me: failed program was:" >&5 13072 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.$ac_ext >&5 13073 sed 's/^/| /' conftest.$ac_ext >&5
13408 13074
13409 ac_cv_lib_Xft_XftFontOpen=no 13075 ac_cv_lib_Xft_XftFontOpen=no
13410 fi 13076 fi
13411 13077
13412 rm -rf conftest.dSYM
13413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13414 conftest$ac_exeext conftest.$ac_ext 13079 conftest$ac_exeext conftest.$ac_ext
13415 LIBS=$ac_check_lib_save_LIBS 13080 LIBS=$ac_check_lib_save_LIBS
13416 fi 13081 fi
13417 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 13082 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
13418 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 13083 echo "${ECHO_T}$ac_cv_lib_Xft_XftFontOpen" >&6; }
13419 if test $ac_cv_lib_Xft_XftFontOpen = yes; then 13084 if test $ac_cv_lib_Xft_XftFontOpen = yes; then
13420 HAVE_XFT=yes 13085 HAVE_XFT=yes
13421 fi 13086 fi
13422 13087
13423 fi 13088 fi
13449 ### Use -lfreetype if available, unless `--with-freetype=no'. 13114 ### Use -lfreetype if available, unless `--with-freetype=no'.
13450 if test "${HAVE_XFT}" = "yes"; then 13115 if test "${HAVE_XFT}" = "yes"; then
13451 HAVE_FREETYPE=yes 13116 HAVE_FREETYPE=yes
13452 FONTCONFIG_CFLAGS= 13117 FONTCONFIG_CFLAGS=
13453 FONTCONFIG_LIBS= 13118 FONTCONFIG_LIBS=
13454 elif test "x${with_freetype}" != "xno" && test "x${with_x}" != "xno"; then 13119 fi
13455 13120
13121 HAVE_LIBOTF=no
13122 if test "${HAVE_FREETYPE}" = "yes"; then
13123
13124 cat >>confdefs.h <<\_ACEOF
13125 #define HAVE_FREETYPE 1
13126 _ACEOF
13127
13128 if test "${with_libotf}" != "no"; then
13456 13129
13457 succeeded=no 13130 succeeded=no
13458 13131
13459 # Extract the first word of "pkg-config", so it can be a program name with args. 13132 # Extract the first word of "pkg-config", so it can be a program name with args.
13460 set dummy pkg-config; ac_word=$2 13133 set dummy pkg-config; ac_word=$2
13461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13462 $as_echo_n "checking for $ac_word... " >&6; } 13135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13463 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13136 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13464 $as_echo_n "(cached) " >&6 13137 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 else 13138 else
13466 case $PKG_CONFIG in 13139 case $PKG_CONFIG in
13467 [\\/]* | ?:[\\/]*) 13140 [\\/]* | ?:[\\/]*)
13468 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13141 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13469 ;; 13142 ;;
13474 IFS=$as_save_IFS 13147 IFS=$as_save_IFS
13475 test -z "$as_dir" && as_dir=. 13148 test -z "$as_dir" && as_dir=.
13476 for ac_exec_ext in '' $ac_executable_extensions; do 13149 for ac_exec_ext in '' $ac_executable_extensions; do
13477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13478 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13151 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13480 break 2 13153 break 2
13481 fi 13154 fi
13482 done 13155 done
13483 done 13156 done
13484 IFS=$as_save_IFS 13157 IFS=$as_save_IFS
13487 ;; 13160 ;;
13488 esac 13161 esac
13489 fi 13162 fi
13490 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13163 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13491 if test -n "$PKG_CONFIG"; then 13164 if test -n "$PKG_CONFIG"; then
13492 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13165 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13493 $as_echo "$PKG_CONFIG" >&6; } 13166 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13494 else 13167 else
13495 { $as_echo "$as_me:$LINENO: result: no" >&5 13168 { echo "$as_me:$LINENO: result: no" >&5
13496 $as_echo "no" >&6; } 13169 echo "${ECHO_T}no" >&6; }
13497 fi 13170 fi
13498 13171
13499 13172
13500 13173
13501 if test "$PKG_CONFIG" = "no" ; then 13174 if test "$PKG_CONFIG" = "no" ; then
13502 HAVE_FREETYPE=no 13175 HAVE_LIBOTF=no
13503 else 13176 else
13504 PKG_CONFIG_MIN_VERSION=0.9.0 13177 PKG_CONFIG_MIN_VERSION=0.9.0
13505 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13178 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13506 { $as_echo "$as_me:$LINENO: checking for freetype2" >&5 13179 { echo "$as_me:$LINENO: checking for libotf" >&5
13507 $as_echo_n "checking for freetype2... " >&6; } 13180 echo $ECHO_N "checking for libotf... $ECHO_C" >&6; }
13508 13181
13509 if $PKG_CONFIG --exists "freetype2" 2>&5; then 13182 if $PKG_CONFIG --exists "libotf" 2>&5; then
13510 { $as_echo "$as_me:$LINENO: result: yes" >&5 13183 { echo "$as_me:$LINENO: result: yes" >&5
13511 $as_echo "yes" >&6; } 13184 echo "${ECHO_T}yes" >&6; }
13512 succeeded=yes 13185 succeeded=yes
13513 13186
13514 { $as_echo "$as_me:$LINENO: checking FREETYPE_CFLAGS" >&5 13187 { echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
13515 $as_echo_n "checking FREETYPE_CFLAGS... " >&6; } 13188 echo $ECHO_N "checking LIBOTF_CFLAGS... $ECHO_C" >&6; }
13516 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2"|sed -e 's,///*,/,g'` 13189 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
13517 { $as_echo "$as_me:$LINENO: result: $FREETYPE_CFLAGS" >&5 13190 { echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
13518 $as_echo "$FREETYPE_CFLAGS" >&6; } 13191 echo "${ECHO_T}$LIBOTF_CFLAGS" >&6; }
13519 13192
13520 { $as_echo "$as_me:$LINENO: checking FREETYPE_LIBS" >&5 13193 { echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
13521 $as_echo_n "checking FREETYPE_LIBS... " >&6; } 13194 echo $ECHO_N "checking LIBOTF_LIBS... $ECHO_C" >&6; }
13522 FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2"|sed -e 's,///*,/,g'` 13195 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
13523 { $as_echo "$as_me:$LINENO: result: $FREETYPE_LIBS" >&5 13196 { echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
13524 $as_echo "$FREETYPE_LIBS" >&6; } 13197 echo "${ECHO_T}$LIBOTF_LIBS" >&6; }
13525 else 13198 else
13526 { $as_echo "$as_me:$LINENO: result: no" >&5 13199 { echo "$as_me:$LINENO: result: no" >&5
13527 $as_echo "no" >&6; } 13200 echo "${ECHO_T}no" >&6; }
13528 FREETYPE_CFLAGS="" 13201 LIBOTF_CFLAGS=""
13529 FREETYPE_LIBS="" 13202 LIBOTF_LIBS=""
13530 ## If we have a custom action on failure, don't print errors, but 13203 ## If we have a custom action on failure, don't print errors, but
13531 ## do set a variable so people can do so. 13204 ## do set a variable so people can do so.
13532 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"` 13205 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"`
13533 13206
13534 fi 13207 fi
13535 13208
13536 13209
13537 13210
13540 echo "*** See http://www.freedesktop.org/software/pkgconfig" 13213 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13541 fi 13214 fi
13542 fi 13215 fi
13543 13216
13544 if test $succeeded = yes; then 13217 if test $succeeded = yes; then
13545 HAVE_FREETYPE=yes
13546 else
13547 HAVE_FREETYPE=no
13548 fi
13549
13550 fi
13551
13552 HAVE_LIBOTF=no
13553 if test "${HAVE_FREETYPE}" = "yes"; then
13554
13555 cat >>confdefs.h <<\_ACEOF
13556 #define HAVE_FREETYPE 1
13557 _ACEOF
13558
13559 if test "${with_libotf}" != "no"; then
13560
13561 succeeded=no
13562
13563 # Extract the first word of "pkg-config", so it can be a program name with args.
13564 set dummy pkg-config; ac_word=$2
13565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13566 $as_echo_n "checking for $ac_word... " >&6; }
13567 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13568 $as_echo_n "(cached) " >&6
13569 else
13570 case $PKG_CONFIG in
13571 [\\/]* | ?:[\\/]*)
13572 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13573 ;;
13574 *)
13575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13576 for as_dir in $PATH
13577 do
13578 IFS=$as_save_IFS
13579 test -z "$as_dir" && as_dir=.
13580 for ac_exec_ext in '' $ac_executable_extensions; do
13581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13582 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13584 break 2
13585 fi
13586 done
13587 done
13588 IFS=$as_save_IFS
13589
13590 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13591 ;;
13592 esac
13593 fi
13594 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13595 if test -n "$PKG_CONFIG"; then
13596 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13597 $as_echo "$PKG_CONFIG" >&6; }
13598 else
13599 { $as_echo "$as_me:$LINENO: result: no" >&5
13600 $as_echo "no" >&6; }
13601 fi
13602
13603
13604
13605 if test "$PKG_CONFIG" = "no" ; then
13606 HAVE_LIBOTF=no
13607 else
13608 PKG_CONFIG_MIN_VERSION=0.9.0
13609 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13610 { $as_echo "$as_me:$LINENO: checking for libotf" >&5
13611 $as_echo_n "checking for libotf... " >&6; }
13612
13613 if $PKG_CONFIG --exists "libotf" 2>&5; then
13614 { $as_echo "$as_me:$LINENO: result: yes" >&5
13615 $as_echo "yes" >&6; }
13616 succeeded=yes
13617
13618 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
13619 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; }
13620 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
13621 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
13622 $as_echo "$LIBOTF_CFLAGS" >&6; }
13623
13624 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
13625 $as_echo_n "checking LIBOTF_LIBS... " >&6; }
13626 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
13627 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
13628 $as_echo "$LIBOTF_LIBS" >&6; }
13629 else
13630 { $as_echo "$as_me:$LINENO: result: no" >&5
13631 $as_echo "no" >&6; }
13632 LIBOTF_CFLAGS=""
13633 LIBOTF_LIBS=""
13634 ## If we have a custom action on failure, don't print errors, but
13635 ## do set a variable so people can do so.
13636 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"`
13637
13638 fi
13639
13640
13641
13642 else
13643 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13644 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13645 fi
13646 fi
13647
13648 if test $succeeded = yes; then
13649 HAVE_LIBOTF=yes 13218 HAVE_LIBOTF=yes
13650 else 13219 else
13651 HAVE_LIBOTF=no 13220 HAVE_LIBOTF=no
13652 fi 13221 fi
13653 13222
13655 13224
13656 cat >>confdefs.h <<\_ACEOF 13225 cat >>confdefs.h <<\_ACEOF
13657 #define HAVE_LIBOTF 1 13226 #define HAVE_LIBOTF 1
13658 _ACEOF 13227 _ACEOF
13659 13228
13660 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 13229 { echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5
13661 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 13230 echo $ECHO_N "checking for OTF_get_variation_glyphs in -lotf... $ECHO_C" >&6; }
13662 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then 13231 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then
13663 $as_echo_n "(cached) " >&6 13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 else 13233 else
13665 ac_check_lib_save_LIBS=$LIBS 13234 ac_check_lib_save_LIBS=$LIBS
13666 LIBS="-lotf $LIBS" 13235 LIBS="-lotf $LIBS"
13667 cat >conftest.$ac_ext <<_ACEOF 13236 cat >conftest.$ac_ext <<_ACEOF
13668 /* confdefs.h. */ 13237 /* confdefs.h. */
13690 if { (ac_try="$ac_link" 13259 if { (ac_try="$ac_link"
13691 case "(($ac_try" in 13260 case "(($ac_try" in
13692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13693 *) ac_try_echo=$ac_try;; 13262 *) ac_try_echo=$ac_try;;
13694 esac 13263 esac
13695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13696 $as_echo "$ac_try_echo") >&5
13697 (eval "$ac_link") 2>conftest.er1 13265 (eval "$ac_link") 2>conftest.er1
13698 ac_status=$? 13266 ac_status=$?
13699 grep -v '^ *+' conftest.er1 >conftest.err 13267 grep -v '^ *+' conftest.er1 >conftest.err
13700 rm -f conftest.er1 13268 rm -f conftest.er1
13701 cat conftest.err >&5 13269 cat conftest.err >&5
13702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } && { 13271 (exit $ac_status); } && {
13704 test -z "$ac_c_werror_flag" || 13272 test -z "$ac_c_werror_flag" ||
13705 test ! -s conftest.err 13273 test ! -s conftest.err
13706 } && test -s conftest$ac_exeext && { 13274 } && test -s conftest$ac_exeext &&
13707 test "$cross_compiling" = yes || 13275 $as_test_x conftest$ac_exeext; then
13708 $as_test_x conftest$ac_exeext
13709 }; then
13710 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 13276 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
13711 else 13277 else
13712 $as_echo "$as_me: failed program was:" >&5 13278 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5 13279 sed 's/^/| /' conftest.$ac_ext >&5
13714 13280
13715 ac_cv_lib_otf_OTF_get_variation_glyphs=no 13281 ac_cv_lib_otf_OTF_get_variation_glyphs=no
13716 fi 13282 fi
13717 13283
13718 rm -rf conftest.dSYM
13719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13720 conftest$ac_exeext conftest.$ac_ext 13285 conftest$ac_exeext conftest.$ac_ext
13721 LIBS=$ac_check_lib_save_LIBS 13286 LIBS=$ac_check_lib_save_LIBS
13722 fi 13287 fi
13723 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 13288 { echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
13724 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 13289 echo "${ECHO_T}$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
13725 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then 13290 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then
13726 HAVE_OTF_GET_VARIATION_GLYPHS=yes 13291 HAVE_OTF_GET_VARIATION_GLYPHS=yes
13727 else 13292 else
13728 HAVE_OTF_GET_VARIATION_GLYPHS=no 13293 HAVE_OTF_GET_VARIATION_GLYPHS=no
13729 fi 13294 fi
13745 13310
13746 succeeded=no 13311 succeeded=no
13747 13312
13748 # Extract the first word of "pkg-config", so it can be a program name with args. 13313 # Extract the first word of "pkg-config", so it can be a program name with args.
13749 set dummy pkg-config; ac_word=$2 13314 set dummy pkg-config; ac_word=$2
13750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13751 $as_echo_n "checking for $ac_word... " >&6; } 13316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13753 $as_echo_n "(cached) " >&6 13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else 13319 else
13755 case $PKG_CONFIG in 13320 case $PKG_CONFIG in
13756 [\\/]* | ?:[\\/]*) 13321 [\\/]* | ?:[\\/]*)
13757 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13758 ;; 13323 ;;
13763 IFS=$as_save_IFS 13328 IFS=$as_save_IFS
13764 test -z "$as_dir" && as_dir=. 13329 test -z "$as_dir" && as_dir=.
13765 for ac_exec_ext in '' $ac_executable_extensions; do 13330 for ac_exec_ext in '' $ac_executable_extensions; do
13766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13767 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13769 break 2 13334 break 2
13770 fi 13335 fi
13771 done 13336 done
13772 done 13337 done
13773 IFS=$as_save_IFS 13338 IFS=$as_save_IFS
13776 ;; 13341 ;;
13777 esac 13342 esac
13778 fi 13343 fi
13779 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13344 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13780 if test -n "$PKG_CONFIG"; then 13345 if test -n "$PKG_CONFIG"; then
13781 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13346 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13782 $as_echo "$PKG_CONFIG" >&6; } 13347 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13783 else 13348 else
13784 { $as_echo "$as_me:$LINENO: result: no" >&5 13349 { echo "$as_me:$LINENO: result: no" >&5
13785 $as_echo "no" >&6; } 13350 echo "${ECHO_T}no" >&6; }
13786 fi 13351 fi
13787 13352
13788 13353
13789 13354
13790 if test "$PKG_CONFIG" = "no" ; then 13355 if test "$PKG_CONFIG" = "no" ; then
13791 HAVE_M17N_FLT=no 13356 HAVE_M17N_FLT=no
13792 else 13357 else
13793 PKG_CONFIG_MIN_VERSION=0.9.0 13358 PKG_CONFIG_MIN_VERSION=0.9.0
13794 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13359 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13795 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 13360 { echo "$as_me:$LINENO: checking for m17n-flt" >&5
13796 $as_echo_n "checking for m17n-flt... " >&6; } 13361 echo $ECHO_N "checking for m17n-flt... $ECHO_C" >&6; }
13797 13362
13798 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 13363 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
13799 { $as_echo "$as_me:$LINENO: result: yes" >&5 13364 { echo "$as_me:$LINENO: result: yes" >&5
13800 $as_echo "yes" >&6; } 13365 echo "${ECHO_T}yes" >&6; }
13801 succeeded=yes 13366 succeeded=yes
13802 13367
13803 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 13368 { echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5
13804 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 13369 echo $ECHO_N "checking M17N_FLT_CFLAGS... $ECHO_C" >&6; }
13805 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 13370 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
13806 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 13371 { echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5
13807 $as_echo "$M17N_FLT_CFLAGS" >&6; } 13372 echo "${ECHO_T}$M17N_FLT_CFLAGS" >&6; }
13808 13373
13809 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 13374 { echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5
13810 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } 13375 echo $ECHO_N "checking M17N_FLT_LIBS... $ECHO_C" >&6; }
13811 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 13376 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
13812 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 13377 { echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5
13813 $as_echo "$M17N_FLT_LIBS" >&6; } 13378 echo "${ECHO_T}$M17N_FLT_LIBS" >&6; }
13814 else 13379 else
13815 { $as_echo "$as_me:$LINENO: result: no" >&5 13380 { echo "$as_me:$LINENO: result: no" >&5
13816 $as_echo "no" >&6; } 13381 echo "${ECHO_T}no" >&6; }
13817 M17N_FLT_CFLAGS="" 13382 M17N_FLT_CFLAGS=""
13818 M17N_FLT_LIBS="" 13383 M17N_FLT_LIBS=""
13819 ## If we have a custom action on failure, don't print errors, but 13384 ## If we have a custom action on failure, don't print errors, but
13820 ## do set a variable so people can do so. 13385 ## do set a variable so people can do so.
13821 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"` 13386 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"`
13865 ### Use -lXpm if available, unless `--with-xpm=no'. 13430 ### Use -lXpm if available, unless `--with-xpm=no'.
13866 HAVE_XPM=no 13431 HAVE_XPM=no
13867 if test "${HAVE_X11}" = "yes"; then 13432 if test "${HAVE_X11}" = "yes"; then
13868 if test "${with_xpm}" != "no"; then 13433 if test "${with_xpm}" != "no"; then
13869 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13434 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13870 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13435 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13871 $as_echo_n "checking for X11/xpm.h... " >&6; } 13436 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
13872 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13437 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13873 $as_echo_n "(cached) " >&6 13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 fi 13439 fi
13875 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13440 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13876 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } 13441 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
13877 else 13442 else
13878 # Is the header compilable? 13443 # Is the header compilable?
13879 { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 13444 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
13880 $as_echo_n "checking X11/xpm.h usability... " >&6; } 13445 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; }
13881 cat >conftest.$ac_ext <<_ACEOF 13446 cat >conftest.$ac_ext <<_ACEOF
13882 /* confdefs.h. */ 13447 /* confdefs.h. */
13883 _ACEOF 13448 _ACEOF
13884 cat confdefs.h >>conftest.$ac_ext 13449 cat confdefs.h >>conftest.$ac_ext
13885 cat >>conftest.$ac_ext <<_ACEOF 13450 cat >>conftest.$ac_ext <<_ACEOF
13891 if { (ac_try="$ac_compile" 13456 if { (ac_try="$ac_compile"
13892 case "(($ac_try" in 13457 case "(($ac_try" in
13893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13894 *) ac_try_echo=$ac_try;; 13459 *) ac_try_echo=$ac_try;;
13895 esac 13460 esac
13896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13897 $as_echo "$ac_try_echo") >&5
13898 (eval "$ac_compile") 2>conftest.er1 13462 (eval "$ac_compile") 2>conftest.er1
13899 ac_status=$? 13463 ac_status=$?
13900 grep -v '^ *+' conftest.er1 >conftest.err 13464 grep -v '^ *+' conftest.er1 >conftest.err
13901 rm -f conftest.er1 13465 rm -f conftest.er1
13902 cat conftest.err >&5 13466 cat conftest.err >&5
13903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } && { 13468 (exit $ac_status); } && {
13905 test -z "$ac_c_werror_flag" || 13469 test -z "$ac_c_werror_flag" ||
13906 test ! -s conftest.err 13470 test ! -s conftest.err
13907 } && test -s conftest.$ac_objext; then 13471 } && test -s conftest.$ac_objext; then
13908 ac_header_compiler=yes 13472 ac_header_compiler=yes
13909 else 13473 else
13910 $as_echo "$as_me: failed program was:" >&5 13474 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.$ac_ext >&5 13475 sed 's/^/| /' conftest.$ac_ext >&5
13912 13476
13913 ac_header_compiler=no 13477 ac_header_compiler=no
13914 fi 13478 fi
13915 13479
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13917 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13918 $as_echo "$ac_header_compiler" >&6; } 13482 echo "${ECHO_T}$ac_header_compiler" >&6; }
13919 13483
13920 # Is the header present? 13484 # Is the header present?
13921 { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 13485 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
13922 $as_echo_n "checking X11/xpm.h presence... " >&6; } 13486 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; }
13923 cat >conftest.$ac_ext <<_ACEOF 13487 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */ 13488 /* confdefs.h. */
13925 _ACEOF 13489 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext 13490 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF 13491 cat >>conftest.$ac_ext <<_ACEOF
13931 if { (ac_try="$ac_cpp conftest.$ac_ext" 13495 if { (ac_try="$ac_cpp conftest.$ac_ext"
13932 case "(($ac_try" in 13496 case "(($ac_try" in
13933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13934 *) ac_try_echo=$ac_try;; 13498 *) ac_try_echo=$ac_try;;
13935 esac 13499 esac
13936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13937 $as_echo "$ac_try_echo") >&5
13938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13939 ac_status=$? 13502 ac_status=$?
13940 grep -v '^ *+' conftest.er1 >conftest.err 13503 grep -v '^ *+' conftest.er1 >conftest.err
13941 rm -f conftest.er1 13504 rm -f conftest.er1
13942 cat conftest.err >&5 13505 cat conftest.err >&5
13943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } >/dev/null && { 13507 (exit $ac_status); } >/dev/null && {
13945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13946 test ! -s conftest.err 13509 test ! -s conftest.err
13947 }; then 13510 }; then
13948 ac_header_preproc=yes 13511 ac_header_preproc=yes
13949 else 13512 else
13950 $as_echo "$as_me: failed program was:" >&5 13513 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5 13514 sed 's/^/| /' conftest.$ac_ext >&5
13952 13515
13953 ac_header_preproc=no 13516 ac_header_preproc=no
13954 fi 13517 fi
13955 13518
13956 rm -f conftest.err conftest.$ac_ext 13519 rm -f conftest.err conftest.$ac_ext
13957 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13958 $as_echo "$ac_header_preproc" >&6; } 13521 echo "${ECHO_T}$ac_header_preproc" >&6; }
13959 13522
13960 # So? What about this header? 13523 # So? What about this header?
13961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13962 yes:no: ) 13525 yes:no: )
13963 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 13526 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
13964 $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13527 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13965 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 13528 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
13966 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} 13529 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
13967 ac_header_preproc=yes 13530 ac_header_preproc=yes
13968 ;; 13531 ;;
13969 no:yes:* ) 13532 no:yes:* )
13970 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 13533 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
13971 $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} 13534 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
13972 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 13535 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
13973 $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} 13536 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
13974 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 13537 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
13975 $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} 13538 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
13976 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 13539 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
13977 $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 13540 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
13978 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 13541 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
13979 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} 13542 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
13980 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 13543 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
13981 $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} 13544 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
13982 13545
13983 ;; 13546 ;;
13984 esac 13547 esac
13985 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13548 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13986 $as_echo_n "checking for X11/xpm.h... " >&6; } 13549 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
13987 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13550 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13988 $as_echo_n "(cached) " >&6 13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 else 13552 else
13990 ac_cv_header_X11_xpm_h=$ac_header_preproc 13553 ac_cv_header_X11_xpm_h=$ac_header_preproc
13991 fi 13554 fi
13992 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13555 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13993 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } 13556 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
13994 13557
13995 fi 13558 fi
13996 if test $ac_cv_header_X11_xpm_h = yes; then 13559 if test $ac_cv_header_X11_xpm_h = yes; then
13997 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 13560 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
13998 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 13561 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
13999 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 13562 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
14000 $as_echo_n "(cached) " >&6 13563 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 else 13564 else
14002 ac_check_lib_save_LIBS=$LIBS 13565 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lXpm -lX11 $LIBS" 13566 LIBS="-lXpm -lX11 $LIBS"
14004 cat >conftest.$ac_ext <<_ACEOF 13567 cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h. */ 13568 /* confdefs.h. */
14027 if { (ac_try="$ac_link" 13590 if { (ac_try="$ac_link"
14028 case "(($ac_try" in 13591 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;; 13593 *) ac_try_echo=$ac_try;;
14031 esac 13594 esac
14032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 $as_echo "$ac_try_echo") >&5
14034 (eval "$ac_link") 2>conftest.er1 13596 (eval "$ac_link") 2>conftest.er1
14035 ac_status=$? 13597 ac_status=$?
14036 grep -v '^ *+' conftest.er1 >conftest.err 13598 grep -v '^ *+' conftest.er1 >conftest.err
14037 rm -f conftest.er1 13599 rm -f conftest.er1
14038 cat conftest.err >&5 13600 cat conftest.err >&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } && { 13602 (exit $ac_status); } && {
14041 test -z "$ac_c_werror_flag" || 13603 test -z "$ac_c_werror_flag" ||
14042 test ! -s conftest.err 13604 test ! -s conftest.err
14043 } && test -s conftest$ac_exeext && { 13605 } && test -s conftest$ac_exeext &&
14044 test "$cross_compiling" = yes || 13606 $as_test_x conftest$ac_exeext; then
14045 $as_test_x conftest$ac_exeext
14046 }; then
14047 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 13607 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
14048 else 13608 else
14049 $as_echo "$as_me: failed program was:" >&5 13609 echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.$ac_ext >&5 13610 sed 's/^/| /' conftest.$ac_ext >&5
14051 13611
14052 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 13612 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
14053 fi 13613 fi
14054 13614
14055 rm -rf conftest.dSYM
14056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057 conftest$ac_exeext conftest.$ac_ext 13616 conftest$ac_exeext conftest.$ac_ext
14058 LIBS=$ac_check_lib_save_LIBS 13617 LIBS=$ac_check_lib_save_LIBS
14059 fi 13618 fi
14060 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 13619 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
14061 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 13620 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
14062 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 13621 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
14063 HAVE_XPM=yes 13622 HAVE_XPM=yes
14064 fi 13623 fi
14065 13624
14066 fi 13625 fi
14067 13626
14068 13627
14069 if test "${HAVE_XPM}" = "yes"; then 13628 if test "${HAVE_XPM}" = "yes"; then
14070 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 13629 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
14071 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 13630 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; }
14072 cat >conftest.$ac_ext <<_ACEOF 13631 cat >conftest.$ac_ext <<_ACEOF
14073 /* confdefs.h. */ 13632 /* confdefs.h. */
14074 _ACEOF 13633 _ACEOF
14075 cat confdefs.h >>conftest.$ac_ext 13634 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF 13635 cat >>conftest.$ac_ext <<_ACEOF
14089 fi 13648 fi
14090 rm -f conftest* 13649 rm -f conftest*
14091 13650
14092 13651
14093 if test "${HAVE_XPM}" = "yes"; then 13652 if test "${HAVE_XPM}" = "yes"; then
14094 { $as_echo "$as_me:$LINENO: result: yes" >&5 13653 { echo "$as_me:$LINENO: result: yes" >&5
14095 $as_echo "yes" >&6; } 13654 echo "${ECHO_T}yes" >&6; }
14096 else 13655 else
14097 { $as_echo "$as_me:$LINENO: result: no" >&5 13656 { echo "$as_me:$LINENO: result: no" >&5
14098 $as_echo "no" >&6; } 13657 echo "${ECHO_T}no" >&6; }
14099 fi 13658 fi
14100 fi 13659 fi
14101 fi 13660 fi
14102 13661
14103 if test "${HAVE_XPM}" = "yes"; then 13662 if test "${HAVE_XPM}" = "yes"; then
14112 ### Use -ljpeg if available, unless `--with-jpeg=no'. 13671 ### Use -ljpeg if available, unless `--with-jpeg=no'.
14113 HAVE_JPEG=no 13672 HAVE_JPEG=no
14114 if test "${HAVE_X11}" = "yes"; then 13673 if test "${HAVE_X11}" = "yes"; then
14115 if test "${with_jpeg}" != "no"; then 13674 if test "${with_jpeg}" != "no"; then
14116 if test "${ac_cv_header_jerror_h+set}" = set; then 13675 if test "${ac_cv_header_jerror_h+set}" = set; then
14117 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 13676 { echo "$as_me:$LINENO: checking for jerror.h" >&5
14118 $as_echo_n "checking for jerror.h... " >&6; } 13677 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
14119 if test "${ac_cv_header_jerror_h+set}" = set; then 13678 if test "${ac_cv_header_jerror_h+set}" = set; then
14120 $as_echo_n "(cached) " >&6 13679 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 fi 13680 fi
14122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 13681 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14123 $as_echo "$ac_cv_header_jerror_h" >&6; } 13682 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
14124 else 13683 else
14125 # Is the header compilable? 13684 # Is the header compilable?
14126 { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 13685 { echo "$as_me:$LINENO: checking jerror.h usability" >&5
14127 $as_echo_n "checking jerror.h usability... " >&6; } 13686 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; }
14128 cat >conftest.$ac_ext <<_ACEOF 13687 cat >conftest.$ac_ext <<_ACEOF
14129 /* confdefs.h. */ 13688 /* confdefs.h. */
14130 _ACEOF 13689 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext 13690 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF 13691 cat >>conftest.$ac_ext <<_ACEOF
14138 if { (ac_try="$ac_compile" 13697 if { (ac_try="$ac_compile"
14139 case "(($ac_try" in 13698 case "(($ac_try" in
14140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14141 *) ac_try_echo=$ac_try;; 13700 *) ac_try_echo=$ac_try;;
14142 esac 13701 esac
14143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14144 $as_echo "$ac_try_echo") >&5
14145 (eval "$ac_compile") 2>conftest.er1 13703 (eval "$ac_compile") 2>conftest.er1
14146 ac_status=$? 13704 ac_status=$?
14147 grep -v '^ *+' conftest.er1 >conftest.err 13705 grep -v '^ *+' conftest.er1 >conftest.err
14148 rm -f conftest.er1 13706 rm -f conftest.er1
14149 cat conftest.err >&5 13707 cat conftest.err >&5
14150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } && { 13709 (exit $ac_status); } && {
14152 test -z "$ac_c_werror_flag" || 13710 test -z "$ac_c_werror_flag" ||
14153 test ! -s conftest.err 13711 test ! -s conftest.err
14154 } && test -s conftest.$ac_objext; then 13712 } && test -s conftest.$ac_objext; then
14155 ac_header_compiler=yes 13713 ac_header_compiler=yes
14156 else 13714 else
14157 $as_echo "$as_me: failed program was:" >&5 13715 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.$ac_ext >&5 13716 sed 's/^/| /' conftest.$ac_ext >&5
14159 13717
14160 ac_header_compiler=no 13718 ac_header_compiler=no
14161 fi 13719 fi
14162 13720
14163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14164 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13722 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14165 $as_echo "$ac_header_compiler" >&6; } 13723 echo "${ECHO_T}$ac_header_compiler" >&6; }
14166 13724
14167 # Is the header present? 13725 # Is the header present?
14168 { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 13726 { echo "$as_me:$LINENO: checking jerror.h presence" >&5
14169 $as_echo_n "checking jerror.h presence... " >&6; } 13727 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; }
14170 cat >conftest.$ac_ext <<_ACEOF 13728 cat >conftest.$ac_ext <<_ACEOF
14171 /* confdefs.h. */ 13729 /* confdefs.h. */
14172 _ACEOF 13730 _ACEOF
14173 cat confdefs.h >>conftest.$ac_ext 13731 cat confdefs.h >>conftest.$ac_ext
14174 cat >>conftest.$ac_ext <<_ACEOF 13732 cat >>conftest.$ac_ext <<_ACEOF
14178 if { (ac_try="$ac_cpp conftest.$ac_ext" 13736 if { (ac_try="$ac_cpp conftest.$ac_ext"
14179 case "(($ac_try" in 13737 case "(($ac_try" in
14180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14181 *) ac_try_echo=$ac_try;; 13739 *) ac_try_echo=$ac_try;;
14182 esac 13740 esac
14183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14184 $as_echo "$ac_try_echo") >&5
14185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14186 ac_status=$? 13743 ac_status=$?
14187 grep -v '^ *+' conftest.er1 >conftest.err 13744 grep -v '^ *+' conftest.er1 >conftest.err
14188 rm -f conftest.er1 13745 rm -f conftest.er1
14189 cat conftest.err >&5 13746 cat conftest.err >&5
14190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } >/dev/null && { 13748 (exit $ac_status); } >/dev/null && {
14192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14193 test ! -s conftest.err 13750 test ! -s conftest.err
14194 }; then 13751 }; then
14195 ac_header_preproc=yes 13752 ac_header_preproc=yes
14196 else 13753 else
14197 $as_echo "$as_me: failed program was:" >&5 13754 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5 13755 sed 's/^/| /' conftest.$ac_ext >&5
14199 13756
14200 ac_header_preproc=no 13757 ac_header_preproc=no
14201 fi 13758 fi
14202 13759
14203 rm -f conftest.err conftest.$ac_ext 13760 rm -f conftest.err conftest.$ac_ext
14204 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13761 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14205 $as_echo "$ac_header_preproc" >&6; } 13762 echo "${ECHO_T}$ac_header_preproc" >&6; }
14206 13763
14207 # So? What about this header? 13764 # So? What about this header?
14208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14209 yes:no: ) 13766 yes:no: )
14210 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 13767 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
14211 $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13768 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14212 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 13769 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
14213 $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} 13770 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
14214 ac_header_preproc=yes 13771 ac_header_preproc=yes
14215 ;; 13772 ;;
14216 no:yes:* ) 13773 no:yes:* )
14217 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 13774 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
14218 $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} 13775 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
14219 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 13776 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
14220 $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} 13777 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
14221 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 13778 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
14222 $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} 13779 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
14223 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 13780 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
14224 $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} 13781 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
14225 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 13782 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
14226 $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} 13783 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
14227 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 13784 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
14228 $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} 13785 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
14229 13786
14230 ;; 13787 ;;
14231 esac 13788 esac
14232 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 13789 { echo "$as_me:$LINENO: checking for jerror.h" >&5
14233 $as_echo_n "checking for jerror.h... " >&6; } 13790 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
14234 if test "${ac_cv_header_jerror_h+set}" = set; then 13791 if test "${ac_cv_header_jerror_h+set}" = set; then
14235 $as_echo_n "(cached) " >&6 13792 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 else 13793 else
14237 ac_cv_header_jerror_h=$ac_header_preproc 13794 ac_cv_header_jerror_h=$ac_header_preproc
14238 fi 13795 fi
14239 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 13796 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14240 $as_echo "$ac_cv_header_jerror_h" >&6; } 13797 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
14241 13798
14242 fi 13799 fi
14243 if test $ac_cv_header_jerror_h = yes; then 13800 if test $ac_cv_header_jerror_h = yes; then
14244 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 13801 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
14245 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 13802 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; }
14246 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 13803 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
14247 $as_echo_n "(cached) " >&6 13804 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 else 13805 else
14249 ac_check_lib_save_LIBS=$LIBS 13806 ac_check_lib_save_LIBS=$LIBS
14250 LIBS="-ljpeg $LIBS" 13807 LIBS="-ljpeg $LIBS"
14251 cat >conftest.$ac_ext <<_ACEOF 13808 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */ 13809 /* confdefs.h. */
14274 if { (ac_try="$ac_link" 13831 if { (ac_try="$ac_link"
14275 case "(($ac_try" in 13832 case "(($ac_try" in
14276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14277 *) ac_try_echo=$ac_try;; 13834 *) ac_try_echo=$ac_try;;
14278 esac 13835 esac
14279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14280 $as_echo "$ac_try_echo") >&5
14281 (eval "$ac_link") 2>conftest.er1 13837 (eval "$ac_link") 2>conftest.er1
14282 ac_status=$? 13838 ac_status=$?
14283 grep -v '^ *+' conftest.er1 >conftest.err 13839 grep -v '^ *+' conftest.er1 >conftest.err
14284 rm -f conftest.er1 13840 rm -f conftest.er1
14285 cat conftest.err >&5 13841 cat conftest.err >&5
14286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } && { 13843 (exit $ac_status); } && {
14288 test -z "$ac_c_werror_flag" || 13844 test -z "$ac_c_werror_flag" ||
14289 test ! -s conftest.err 13845 test ! -s conftest.err
14290 } && test -s conftest$ac_exeext && { 13846 } && test -s conftest$ac_exeext &&
14291 test "$cross_compiling" = yes || 13847 $as_test_x conftest$ac_exeext; then
14292 $as_test_x conftest$ac_exeext
14293 }; then
14294 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 13848 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
14295 else 13849 else
14296 $as_echo "$as_me: failed program was:" >&5 13850 echo "$as_me: failed program was:" >&5
14297 sed 's/^/| /' conftest.$ac_ext >&5 13851 sed 's/^/| /' conftest.$ac_ext >&5
14298 13852
14299 ac_cv_lib_jpeg_jpeg_destroy_compress=no 13853 ac_cv_lib_jpeg_jpeg_destroy_compress=no
14300 fi 13854 fi
14301 13855
14302 rm -rf conftest.dSYM
14303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14304 conftest$ac_exeext conftest.$ac_ext 13857 conftest$ac_exeext conftest.$ac_ext
14305 LIBS=$ac_check_lib_save_LIBS 13858 LIBS=$ac_check_lib_save_LIBS
14306 fi 13859 fi
14307 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 13860 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
14308 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 13861 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
14309 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 13862 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
14310 HAVE_JPEG=yes 13863 HAVE_JPEG=yes
14311 fi 13864 fi
14312 13865
14313 fi 13866 fi
14336 cat >>confdefs.h <<\_ACEOF 13889 cat >>confdefs.h <<\_ACEOF
14337 #define HAVE_JPEG 1 13890 #define HAVE_JPEG 1
14338 _ACEOF 13891 _ACEOF
14339 13892
14340 else 13893 else
14341 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 13894 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
14342 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 13895 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
14343 HAVE_JPEG=no 13896 HAVE_JPEG=no
14344 fi 13897 fi
14345 rm -f conftest* 13898 rm -f conftest*
14346 13899
14347 fi 13900 fi
14355 # in /usr/include/libpng. 13908 # in /usr/include/libpng.
14356 13909
14357 13910
14358 for ac_header in png.h libpng/png.h 13911 for ac_header in png.h libpng/png.h
14359 do 13912 do
14360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14362 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14363 $as_echo_n "checking for $ac_header... " >&6; } 13916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14365 $as_echo_n "(cached) " >&6 13918 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 fi 13919 fi
14367 ac_res=`eval 'as_val=${'$as_ac_Header'} 13920 ac_res=`eval echo '${'$as_ac_Header'}'`
14368 $as_echo "$as_val"'` 13921 { echo "$as_me:$LINENO: result: $ac_res" >&5
14369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13922 echo "${ECHO_T}$ac_res" >&6; }
14370 $as_echo "$ac_res" >&6; }
14371 else 13923 else
14372 # Is the header compilable? 13924 # Is the header compilable?
14373 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13925 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14374 $as_echo_n "checking $ac_header usability... " >&6; } 13926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14375 cat >conftest.$ac_ext <<_ACEOF 13927 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */ 13928 /* confdefs.h. */
14377 _ACEOF 13929 _ACEOF
14378 cat confdefs.h >>conftest.$ac_ext 13930 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF 13931 cat >>conftest.$ac_ext <<_ACEOF
14385 if { (ac_try="$ac_compile" 13937 if { (ac_try="$ac_compile"
14386 case "(($ac_try" in 13938 case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;; 13940 *) ac_try_echo=$ac_try;;
14389 esac 13941 esac
14390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 $as_echo "$ac_try_echo") >&5
14392 (eval "$ac_compile") 2>conftest.er1 13943 (eval "$ac_compile") 2>conftest.er1
14393 ac_status=$? 13944 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err 13945 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1 13946 rm -f conftest.er1
14396 cat conftest.err >&5 13947 cat conftest.err >&5
14397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && { 13949 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" || 13950 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err 13951 test ! -s conftest.err
14401 } && test -s conftest.$ac_objext; then 13952 } && test -s conftest.$ac_objext; then
14402 ac_header_compiler=yes 13953 ac_header_compiler=yes
14403 else 13954 else
14404 $as_echo "$as_me: failed program was:" >&5 13955 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5 13956 sed 's/^/| /' conftest.$ac_ext >&5
14406 13957
14407 ac_header_compiler=no 13958 ac_header_compiler=no
14408 fi 13959 fi
14409 13960
14410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14411 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13962 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14412 $as_echo "$ac_header_compiler" >&6; } 13963 echo "${ECHO_T}$ac_header_compiler" >&6; }
14413 13964
14414 # Is the header present? 13965 # Is the header present?
14415 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13966 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14416 $as_echo_n "checking $ac_header presence... " >&6; } 13967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14417 cat >conftest.$ac_ext <<_ACEOF 13968 cat >conftest.$ac_ext <<_ACEOF
14418 /* confdefs.h. */ 13969 /* confdefs.h. */
14419 _ACEOF 13970 _ACEOF
14420 cat confdefs.h >>conftest.$ac_ext 13971 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF 13972 cat >>conftest.$ac_ext <<_ACEOF
14425 if { (ac_try="$ac_cpp conftest.$ac_ext" 13976 if { (ac_try="$ac_cpp conftest.$ac_ext"
14426 case "(($ac_try" in 13977 case "(($ac_try" in
14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14428 *) ac_try_echo=$ac_try;; 13979 *) ac_try_echo=$ac_try;;
14429 esac 13980 esac
14430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14431 $as_echo "$ac_try_echo") >&5
14432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14433 ac_status=$? 13983 ac_status=$?
14434 grep -v '^ *+' conftest.er1 >conftest.err 13984 grep -v '^ *+' conftest.er1 >conftest.err
14435 rm -f conftest.er1 13985 rm -f conftest.er1
14436 cat conftest.err >&5 13986 cat conftest.err >&5
14437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } >/dev/null && { 13988 (exit $ac_status); } >/dev/null && {
14439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14440 test ! -s conftest.err 13990 test ! -s conftest.err
14441 }; then 13991 }; then
14442 ac_header_preproc=yes 13992 ac_header_preproc=yes
14443 else 13993 else
14444 $as_echo "$as_me: failed program was:" >&5 13994 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5 13995 sed 's/^/| /' conftest.$ac_ext >&5
14446 13996
14447 ac_header_preproc=no 13997 ac_header_preproc=no
14448 fi 13998 fi
14449 13999
14450 rm -f conftest.err conftest.$ac_ext 14000 rm -f conftest.err conftest.$ac_ext
14451 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14001 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14452 $as_echo "$ac_header_preproc" >&6; } 14002 echo "${ECHO_T}$ac_header_preproc" >&6; }
14453 14003
14454 # So? What about this header? 14004 # So? What about this header?
14455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14456 yes:no: ) 14006 yes:no: )
14457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14458 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14461 ac_header_preproc=yes 14011 ac_header_preproc=yes
14462 ;; 14012 ;;
14463 no:yes:* ) 14013 no:yes:* )
14464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14465 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14467 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14469 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14471 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14475 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14476 14026
14477 ;; 14027 ;;
14478 esac 14028 esac
14479 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14480 $as_echo_n "checking for $ac_header... " >&6; } 14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14482 $as_echo_n "(cached) " >&6 14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else 14033 else
14484 eval "$as_ac_Header=\$ac_header_preproc" 14034 eval "$as_ac_Header=\$ac_header_preproc"
14485 fi 14035 fi
14486 ac_res=`eval 'as_val=${'$as_ac_Header'} 14036 ac_res=`eval echo '${'$as_ac_Header'}'`
14487 $as_echo "$as_val"'` 14037 { echo "$as_me:$LINENO: result: $ac_res" >&5
14488 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14038 echo "${ECHO_T}$ac_res" >&6; }
14489 $as_echo "$ac_res" >&6; } 14039
14490 14040 fi
14491 fi 14041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14492 if test `eval 'as_val=${'$as_ac_Header'}
14493 $as_echo "$as_val"'` = yes; then
14494 cat >>confdefs.h <<_ACEOF 14042 cat >>confdefs.h <<_ACEOF
14495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14496 _ACEOF 14044 _ACEOF
14497 14045
14498 fi 14046 fi
14499 14047
14500 done 14048 done
14501 14049
14502 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 14050 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
14503 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 14051 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
14504 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } 14052 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; }
14505 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 14053 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
14506 $as_echo_n "(cached) " >&6 14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 else 14055 else
14508 ac_check_lib_save_LIBS=$LIBS 14056 ac_check_lib_save_LIBS=$LIBS
14509 LIBS="-lpng -lz -lm $LIBS" 14057 LIBS="-lpng -lz -lm $LIBS"
14510 cat >conftest.$ac_ext <<_ACEOF 14058 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */ 14059 /* confdefs.h. */
14533 if { (ac_try="$ac_link" 14081 if { (ac_try="$ac_link"
14534 case "(($ac_try" in 14082 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;; 14084 *) ac_try_echo=$ac_try;;
14537 esac 14085 esac
14538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 $as_echo "$ac_try_echo") >&5
14540 (eval "$ac_link") 2>conftest.er1 14087 (eval "$ac_link") 2>conftest.er1
14541 ac_status=$? 14088 ac_status=$?
14542 grep -v '^ *+' conftest.er1 >conftest.err 14089 grep -v '^ *+' conftest.er1 >conftest.err
14543 rm -f conftest.er1 14090 rm -f conftest.er1
14544 cat conftest.err >&5 14091 cat conftest.err >&5
14545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } && { 14093 (exit $ac_status); } && {
14547 test -z "$ac_c_werror_flag" || 14094 test -z "$ac_c_werror_flag" ||
14548 test ! -s conftest.err 14095 test ! -s conftest.err
14549 } && test -s conftest$ac_exeext && { 14096 } && test -s conftest$ac_exeext &&
14550 test "$cross_compiling" = yes || 14097 $as_test_x conftest$ac_exeext; then
14551 $as_test_x conftest$ac_exeext
14552 }; then
14553 ac_cv_lib_png_png_get_channels=yes 14098 ac_cv_lib_png_png_get_channels=yes
14554 else 14099 else
14555 $as_echo "$as_me: failed program was:" >&5 14100 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5 14101 sed 's/^/| /' conftest.$ac_ext >&5
14557 14102
14558 ac_cv_lib_png_png_get_channels=no 14103 ac_cv_lib_png_png_get_channels=no
14559 fi 14104 fi
14560 14105
14561 rm -rf conftest.dSYM
14562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14563 conftest$ac_exeext conftest.$ac_ext 14107 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS 14108 LIBS=$ac_check_lib_save_LIBS
14565 fi 14109 fi
14566 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 14110 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
14567 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 14111 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; }
14568 if test $ac_cv_lib_png_png_get_channels = yes; then 14112 if test $ac_cv_lib_png_png_get_channels = yes; then
14569 HAVE_PNG=yes 14113 HAVE_PNG=yes
14570 fi 14114 fi
14571 14115
14572 fi 14116 fi
14584 ### Use -ltiff if available, unless `--with-tiff=no'. 14128 ### Use -ltiff if available, unless `--with-tiff=no'.
14585 HAVE_TIFF=no 14129 HAVE_TIFF=no
14586 if test "${HAVE_X11}" = "yes"; then 14130 if test "${HAVE_X11}" = "yes"; then
14587 if test "${with_tiff}" != "no"; then 14131 if test "${with_tiff}" != "no"; then
14588 if test "${ac_cv_header_tiffio_h+set}" = set; then 14132 if test "${ac_cv_header_tiffio_h+set}" = set; then
14589 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 14133 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
14590 $as_echo_n "checking for tiffio.h... " >&6; } 14134 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
14591 if test "${ac_cv_header_tiffio_h+set}" = set; then 14135 if test "${ac_cv_header_tiffio_h+set}" = set; then
14592 $as_echo_n "(cached) " >&6 14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 fi 14137 fi
14594 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14138 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14595 $as_echo "$ac_cv_header_tiffio_h" >&6; } 14139 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
14596 else 14140 else
14597 # Is the header compilable? 14141 # Is the header compilable?
14598 { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 14142 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
14599 $as_echo_n "checking tiffio.h usability... " >&6; } 14143 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
14600 cat >conftest.$ac_ext <<_ACEOF 14144 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h. */ 14145 /* confdefs.h. */
14602 _ACEOF 14146 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext 14147 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF 14148 cat >>conftest.$ac_ext <<_ACEOF
14610 if { (ac_try="$ac_compile" 14154 if { (ac_try="$ac_compile"
14611 case "(($ac_try" in 14155 case "(($ac_try" in
14612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14613 *) ac_try_echo=$ac_try;; 14157 *) ac_try_echo=$ac_try;;
14614 esac 14158 esac
14615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14616 $as_echo "$ac_try_echo") >&5
14617 (eval "$ac_compile") 2>conftest.er1 14160 (eval "$ac_compile") 2>conftest.er1
14618 ac_status=$? 14161 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err 14162 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1 14163 rm -f conftest.er1
14621 cat conftest.err >&5 14164 cat conftest.err >&5
14622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } && { 14166 (exit $ac_status); } && {
14624 test -z "$ac_c_werror_flag" || 14167 test -z "$ac_c_werror_flag" ||
14625 test ! -s conftest.err 14168 test ! -s conftest.err
14626 } && test -s conftest.$ac_objext; then 14169 } && test -s conftest.$ac_objext; then
14627 ac_header_compiler=yes 14170 ac_header_compiler=yes
14628 else 14171 else
14629 $as_echo "$as_me: failed program was:" >&5 14172 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5 14173 sed 's/^/| /' conftest.$ac_ext >&5
14631 14174
14632 ac_header_compiler=no 14175 ac_header_compiler=no
14633 fi 14176 fi
14634 14177
14635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14636 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14179 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14637 $as_echo "$ac_header_compiler" >&6; } 14180 echo "${ECHO_T}$ac_header_compiler" >&6; }
14638 14181
14639 # Is the header present? 14182 # Is the header present?
14640 { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 14183 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
14641 $as_echo_n "checking tiffio.h presence... " >&6; } 14184 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
14642 cat >conftest.$ac_ext <<_ACEOF 14185 cat >conftest.$ac_ext <<_ACEOF
14643 /* confdefs.h. */ 14186 /* confdefs.h. */
14644 _ACEOF 14187 _ACEOF
14645 cat confdefs.h >>conftest.$ac_ext 14188 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF 14189 cat >>conftest.$ac_ext <<_ACEOF
14650 if { (ac_try="$ac_cpp conftest.$ac_ext" 14193 if { (ac_try="$ac_cpp conftest.$ac_ext"
14651 case "(($ac_try" in 14194 case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;; 14196 *) ac_try_echo=$ac_try;;
14654 esac 14197 esac
14655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 $as_echo "$ac_try_echo") >&5
14657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14658 ac_status=$? 14200 ac_status=$?
14659 grep -v '^ *+' conftest.er1 >conftest.err 14201 grep -v '^ *+' conftest.er1 >conftest.err
14660 rm -f conftest.er1 14202 rm -f conftest.er1
14661 cat conftest.err >&5 14203 cat conftest.err >&5
14662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } >/dev/null && { 14205 (exit $ac_status); } >/dev/null && {
14664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14665 test ! -s conftest.err 14207 test ! -s conftest.err
14666 }; then 14208 }; then
14667 ac_header_preproc=yes 14209 ac_header_preproc=yes
14668 else 14210 else
14669 $as_echo "$as_me: failed program was:" >&5 14211 echo "$as_me: failed program was:" >&5
14670 sed 's/^/| /' conftest.$ac_ext >&5 14212 sed 's/^/| /' conftest.$ac_ext >&5
14671 14213
14672 ac_header_preproc=no 14214 ac_header_preproc=no
14673 fi 14215 fi
14674 14216
14675 rm -f conftest.err conftest.$ac_ext 14217 rm -f conftest.err conftest.$ac_ext
14676 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14218 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14677 $as_echo "$ac_header_preproc" >&6; } 14219 echo "${ECHO_T}$ac_header_preproc" >&6; }
14678 14220
14679 # So? What about this header? 14221 # So? What about this header?
14680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14681 yes:no: ) 14223 yes:no: )
14682 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 14224 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
14683 $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14225 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14684 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 14226 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
14685 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} 14227 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
14686 ac_header_preproc=yes 14228 ac_header_preproc=yes
14687 ;; 14229 ;;
14688 no:yes:* ) 14230 no:yes:* )
14689 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 14231 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
14690 $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} 14232 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
14691 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 14233 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
14692 $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} 14234 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
14693 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 14235 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
14694 $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} 14236 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
14695 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 14237 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
14696 $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} 14238 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
14697 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 14239 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
14698 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} 14240 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
14699 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 14241 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
14700 $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} 14242 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
14701 14243
14702 ;; 14244 ;;
14703 esac 14245 esac
14704 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 14246 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
14705 $as_echo_n "checking for tiffio.h... " >&6; } 14247 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
14706 if test "${ac_cv_header_tiffio_h+set}" = set; then 14248 if test "${ac_cv_header_tiffio_h+set}" = set; then
14707 $as_echo_n "(cached) " >&6 14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14708 else 14250 else
14709 ac_cv_header_tiffio_h=$ac_header_preproc 14251 ac_cv_header_tiffio_h=$ac_header_preproc
14710 fi 14252 fi
14711 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14253 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14712 $as_echo "$ac_cv_header_tiffio_h" >&6; } 14254 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
14713 14255
14714 fi 14256 fi
14715 if test $ac_cv_header_tiffio_h = yes; then 14257 if test $ac_cv_header_tiffio_h = yes; then
14716 tifflibs="-lz -lm" 14258 tifflibs="-lz -lm"
14717 # At least one tiff package requires the jpeg library. 14259 # At least one tiff package requires the jpeg library.
14718 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 14260 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
14719 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 14261 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
14720 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 14262 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; }
14721 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 14263 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
14722 $as_echo_n "(cached) " >&6 14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 else 14265 else
14724 ac_check_lib_save_LIBS=$LIBS 14266 ac_check_lib_save_LIBS=$LIBS
14725 LIBS="-ltiff $tifflibs $LIBS" 14267 LIBS="-ltiff $tifflibs $LIBS"
14726 cat >conftest.$ac_ext <<_ACEOF 14268 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */ 14269 /* confdefs.h. */
14749 if { (ac_try="$ac_link" 14291 if { (ac_try="$ac_link"
14750 case "(($ac_try" in 14292 case "(($ac_try" in
14751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14752 *) ac_try_echo=$ac_try;; 14294 *) ac_try_echo=$ac_try;;
14753 esac 14295 esac
14754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14755 $as_echo "$ac_try_echo") >&5
14756 (eval "$ac_link") 2>conftest.er1 14297 (eval "$ac_link") 2>conftest.er1
14757 ac_status=$? 14298 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err 14299 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1 14300 rm -f conftest.er1
14760 cat conftest.err >&5 14301 cat conftest.err >&5
14761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } && { 14303 (exit $ac_status); } && {
14763 test -z "$ac_c_werror_flag" || 14304 test -z "$ac_c_werror_flag" ||
14764 test ! -s conftest.err 14305 test ! -s conftest.err
14765 } && test -s conftest$ac_exeext && { 14306 } && test -s conftest$ac_exeext &&
14766 test "$cross_compiling" = yes || 14307 $as_test_x conftest$ac_exeext; then
14767 $as_test_x conftest$ac_exeext
14768 }; then
14769 ac_cv_lib_tiff_TIFFGetVersion=yes 14308 ac_cv_lib_tiff_TIFFGetVersion=yes
14770 else 14309 else
14771 $as_echo "$as_me: failed program was:" >&5 14310 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.$ac_ext >&5 14311 sed 's/^/| /' conftest.$ac_ext >&5
14773 14312
14774 ac_cv_lib_tiff_TIFFGetVersion=no 14313 ac_cv_lib_tiff_TIFFGetVersion=no
14775 fi 14314 fi
14776 14315
14777 rm -rf conftest.dSYM
14778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14779 conftest$ac_exeext conftest.$ac_ext 14317 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_lib_save_LIBS 14318 LIBS=$ac_check_lib_save_LIBS
14781 fi 14319 fi
14782 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 14320 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
14783 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 14321 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
14784 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 14322 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
14785 HAVE_TIFF=yes 14323 HAVE_TIFF=yes
14786 fi 14324 fi
14787 14325
14788 fi 14326 fi
14801 14339
14802 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 14340 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
14803 HAVE_GIF=no 14341 HAVE_GIF=no
14804 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 14342 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
14805 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14343 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14806 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14344 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14807 $as_echo_n "checking for gif_lib.h... " >&6; } 14345 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
14808 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14346 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14809 $as_echo_n "(cached) " >&6 14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 fi 14348 fi
14811 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14349 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14812 $as_echo "$ac_cv_header_gif_lib_h" >&6; } 14350 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
14813 else 14351 else
14814 # Is the header compilable? 14352 # Is the header compilable?
14815 { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 14353 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
14816 $as_echo_n "checking gif_lib.h usability... " >&6; } 14354 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; }
14817 cat >conftest.$ac_ext <<_ACEOF 14355 cat >conftest.$ac_ext <<_ACEOF
14818 /* confdefs.h. */ 14356 /* confdefs.h. */
14819 _ACEOF 14357 _ACEOF
14820 cat confdefs.h >>conftest.$ac_ext 14358 cat confdefs.h >>conftest.$ac_ext
14821 cat >>conftest.$ac_ext <<_ACEOF 14359 cat >>conftest.$ac_ext <<_ACEOF
14827 if { (ac_try="$ac_compile" 14365 if { (ac_try="$ac_compile"
14828 case "(($ac_try" in 14366 case "(($ac_try" in
14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14830 *) ac_try_echo=$ac_try;; 14368 *) ac_try_echo=$ac_try;;
14831 esac 14369 esac
14832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14833 $as_echo "$ac_try_echo") >&5
14834 (eval "$ac_compile") 2>conftest.er1 14371 (eval "$ac_compile") 2>conftest.er1
14835 ac_status=$? 14372 ac_status=$?
14836 grep -v '^ *+' conftest.er1 >conftest.err 14373 grep -v '^ *+' conftest.er1 >conftest.err
14837 rm -f conftest.er1 14374 rm -f conftest.er1
14838 cat conftest.err >&5 14375 cat conftest.err >&5
14839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } && { 14377 (exit $ac_status); } && {
14841 test -z "$ac_c_werror_flag" || 14378 test -z "$ac_c_werror_flag" ||
14842 test ! -s conftest.err 14379 test ! -s conftest.err
14843 } && test -s conftest.$ac_objext; then 14380 } && test -s conftest.$ac_objext; then
14844 ac_header_compiler=yes 14381 ac_header_compiler=yes
14845 else 14382 else
14846 $as_echo "$as_me: failed program was:" >&5 14383 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5 14384 sed 's/^/| /' conftest.$ac_ext >&5
14848 14385
14849 ac_header_compiler=no 14386 ac_header_compiler=no
14850 fi 14387 fi
14851 14388
14852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14390 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14854 $as_echo "$ac_header_compiler" >&6; } 14391 echo "${ECHO_T}$ac_header_compiler" >&6; }
14855 14392
14856 # Is the header present? 14393 # Is the header present?
14857 { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 14394 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
14858 $as_echo_n "checking gif_lib.h presence... " >&6; } 14395 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; }
14859 cat >conftest.$ac_ext <<_ACEOF 14396 cat >conftest.$ac_ext <<_ACEOF
14860 /* confdefs.h. */ 14397 /* confdefs.h. */
14861 _ACEOF 14398 _ACEOF
14862 cat confdefs.h >>conftest.$ac_ext 14399 cat confdefs.h >>conftest.$ac_ext
14863 cat >>conftest.$ac_ext <<_ACEOF 14400 cat >>conftest.$ac_ext <<_ACEOF
14867 if { (ac_try="$ac_cpp conftest.$ac_ext" 14404 if { (ac_try="$ac_cpp conftest.$ac_ext"
14868 case "(($ac_try" in 14405 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;; 14407 *) ac_try_echo=$ac_try;;
14871 esac 14408 esac
14872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 $as_echo "$ac_try_echo") >&5
14874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14875 ac_status=$? 14411 ac_status=$?
14876 grep -v '^ *+' conftest.er1 >conftest.err 14412 grep -v '^ *+' conftest.er1 >conftest.err
14877 rm -f conftest.er1 14413 rm -f conftest.er1
14878 cat conftest.err >&5 14414 cat conftest.err >&5
14879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } >/dev/null && { 14416 (exit $ac_status); } >/dev/null && {
14881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14417 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14882 test ! -s conftest.err 14418 test ! -s conftest.err
14883 }; then 14419 }; then
14884 ac_header_preproc=yes 14420 ac_header_preproc=yes
14885 else 14421 else
14886 $as_echo "$as_me: failed program was:" >&5 14422 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.$ac_ext >&5 14423 sed 's/^/| /' conftest.$ac_ext >&5
14888 14424
14889 ac_header_preproc=no 14425 ac_header_preproc=no
14890 fi 14426 fi
14891 14427
14892 rm -f conftest.err conftest.$ac_ext 14428 rm -f conftest.err conftest.$ac_ext
14893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14429 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14894 $as_echo "$ac_header_preproc" >&6; } 14430 echo "${ECHO_T}$ac_header_preproc" >&6; }
14895 14431
14896 # So? What about this header? 14432 # So? What about this header?
14897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14898 yes:no: ) 14434 yes:no: )
14899 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 14435 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
14900 $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14436 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14901 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 14437 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
14902 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} 14438 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
14903 ac_header_preproc=yes 14439 ac_header_preproc=yes
14904 ;; 14440 ;;
14905 no:yes:* ) 14441 no:yes:* )
14906 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 14442 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
14907 $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} 14443 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
14908 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 14444 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
14909 $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} 14445 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
14910 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 14446 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
14911 $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} 14447 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
14912 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 14448 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
14913 $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} 14449 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
14914 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 14450 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
14915 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 14451 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
14916 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 14452 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
14917 $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 14453 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
14918 14454
14919 ;; 14455 ;;
14920 esac 14456 esac
14921 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14457 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14922 $as_echo_n "checking for gif_lib.h... " >&6; } 14458 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
14923 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14459 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14924 $as_echo_n "(cached) " >&6 14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 else 14461 else
14926 ac_cv_header_gif_lib_h=$ac_header_preproc 14462 ac_cv_header_gif_lib_h=$ac_header_preproc
14927 fi 14463 fi
14928 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14464 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14929 $as_echo "$ac_cv_header_gif_lib_h" >&6; } 14465 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
14930 14466
14931 fi 14467 fi
14932 if test $ac_cv_header_gif_lib_h = yes; then 14468 if test $ac_cv_header_gif_lib_h = yes; then
14933 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 14469 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
14934 # Earlier versions can crash Emacs. 14470 # Earlier versions can crash Emacs.
14935 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 14471 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
14936 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 14472 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; }
14937 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then 14473 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
14938 $as_echo_n "(cached) " >&6 14474 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else 14475 else
14940 ac_check_lib_save_LIBS=$LIBS 14476 ac_check_lib_save_LIBS=$LIBS
14941 LIBS="-lgif $LIBS" 14477 LIBS="-lgif $LIBS"
14942 cat >conftest.$ac_ext <<_ACEOF 14478 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */ 14479 /* confdefs.h. */
14965 if { (ac_try="$ac_link" 14501 if { (ac_try="$ac_link"
14966 case "(($ac_try" in 14502 case "(($ac_try" in
14967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14968 *) ac_try_echo=$ac_try;; 14504 *) ac_try_echo=$ac_try;;
14969 esac 14505 esac
14970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14971 $as_echo "$ac_try_echo") >&5
14972 (eval "$ac_link") 2>conftest.er1 14507 (eval "$ac_link") 2>conftest.er1
14973 ac_status=$? 14508 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err 14509 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1 14510 rm -f conftest.er1
14976 cat conftest.err >&5 14511 cat conftest.err >&5
14977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } && { 14513 (exit $ac_status); } && {
14979 test -z "$ac_c_werror_flag" || 14514 test -z "$ac_c_werror_flag" ||
14980 test ! -s conftest.err 14515 test ! -s conftest.err
14981 } && test -s conftest$ac_exeext && { 14516 } && test -s conftest$ac_exeext &&
14982 test "$cross_compiling" = yes || 14517 $as_test_x conftest$ac_exeext; then
14983 $as_test_x conftest$ac_exeext
14984 }; then
14985 ac_cv_lib_gif_EGifPutExtensionLast=yes 14518 ac_cv_lib_gif_EGifPutExtensionLast=yes
14986 else 14519 else
14987 $as_echo "$as_me: failed program was:" >&5 14520 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5 14521 sed 's/^/| /' conftest.$ac_ext >&5
14989 14522
14990 ac_cv_lib_gif_EGifPutExtensionLast=no 14523 ac_cv_lib_gif_EGifPutExtensionLast=no
14991 fi 14524 fi
14992 14525
14993 rm -rf conftest.dSYM
14994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14995 conftest$ac_exeext conftest.$ac_ext 14527 conftest$ac_exeext conftest.$ac_ext
14996 LIBS=$ac_check_lib_save_LIBS 14528 LIBS=$ac_check_lib_save_LIBS
14997 fi 14529 fi
14998 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 14530 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
14999 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 14531 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
15000 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then 14532 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
15001 HAVE_GIF=yes 14533 HAVE_GIF=yes
15002 else 14534 else
15003 try_libungif=yes 14535 try_libungif=yes
15004 fi 14536 fi
15011 ac_gif_lib_name="-lgif" 14543 ac_gif_lib_name="-lgif"
15012 fi 14544 fi
15013 14545
15014 # If gif_lib.h but no libgif, try libungif. 14546 # If gif_lib.h but no libgif, try libungif.
15015 if test x"$try_libungif" = xyes; then 14547 if test x"$try_libungif" = xyes; then
15016 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 14548 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
15017 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 14549 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
15018 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 14550 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
15019 $as_echo_n "(cached) " >&6 14551 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 else 14552 else
15021 ac_check_lib_save_LIBS=$LIBS 14553 ac_check_lib_save_LIBS=$LIBS
15022 LIBS="-lungif $LIBS" 14554 LIBS="-lungif $LIBS"
15023 cat >conftest.$ac_ext <<_ACEOF 14555 cat >conftest.$ac_ext <<_ACEOF
15024 /* confdefs.h. */ 14556 /* confdefs.h. */
15046 if { (ac_try="$ac_link" 14578 if { (ac_try="$ac_link"
15047 case "(($ac_try" in 14579 case "(($ac_try" in
15048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15049 *) ac_try_echo=$ac_try;; 14581 *) ac_try_echo=$ac_try;;
15050 esac 14582 esac
15051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15052 $as_echo "$ac_try_echo") >&5
15053 (eval "$ac_link") 2>conftest.er1 14584 (eval "$ac_link") 2>conftest.er1
15054 ac_status=$? 14585 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err 14586 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1 14587 rm -f conftest.er1
15057 cat conftest.err >&5 14588 cat conftest.err >&5
15058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && { 14590 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" || 14591 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err 14592 test ! -s conftest.err
15062 } && test -s conftest$ac_exeext && { 14593 } && test -s conftest$ac_exeext &&
15063 test "$cross_compiling" = yes || 14594 $as_test_x conftest$ac_exeext; then
15064 $as_test_x conftest$ac_exeext
15065 }; then
15066 ac_cv_lib_ungif_EGifPutExtensionLast=yes 14595 ac_cv_lib_ungif_EGifPutExtensionLast=yes
15067 else 14596 else
15068 $as_echo "$as_me: failed program was:" >&5 14597 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5 14598 sed 's/^/| /' conftest.$ac_ext >&5
15070 14599
15071 ac_cv_lib_ungif_EGifPutExtensionLast=no 14600 ac_cv_lib_ungif_EGifPutExtensionLast=no
15072 fi 14601 fi
15073 14602
15074 rm -rf conftest.dSYM
15075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15076 conftest$ac_exeext conftest.$ac_ext 14604 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_lib_save_LIBS 14605 LIBS=$ac_check_lib_save_LIBS
15078 fi 14606 fi
15079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 14607 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
15080 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 14608 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
15081 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 14609 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
15082 HAVE_GIF=yes 14610 HAVE_GIF=yes
15083 fi 14611 fi
15084 14612
15085 14613
15115 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 14643 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
15116 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 14644 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
15117 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 14645 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
15118 14646
15119 if test "X${MISSING}" != X; then 14647 if test "X${MISSING}" != X; then
15120 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: 14648 { { echo "$as_me:$LINENO: error: The following required libraries were not found:
15121 $MISSING 14649 $MISSING
15122 Maybe some development libraries/packages are missing? 14650 Maybe some development libraries/packages are missing?
15123 If you don't want to link with them give 14651 If you don't want to link with them give
15124 $WITH_NO 14652 $WITH_NO
15125 as options to configure" >&5 14653 as options to configure" >&5
15126 $as_echo "$as_me: error: The following required libraries were not found: 14654 echo "$as_me: error: The following required libraries were not found:
15127 $MISSING 14655 $MISSING
15128 Maybe some development libraries/packages are missing? 14656 Maybe some development libraries/packages are missing?
15129 If you don't want to link with them give 14657 If you don't want to link with them give
15130 $WITH_NO 14658 $WITH_NO
15131 as options to configure" >&2;} 14659 as options to configure" >&2;}
15135 14663
15136 ### Use -lgpm if available, unless `--with-gpm=no'. 14664 ### Use -lgpm if available, unless `--with-gpm=no'.
15137 HAVE_GPM=no 14665 HAVE_GPM=no
15138 if test "${with_gpm}" != "no"; then 14666 if test "${with_gpm}" != "no"; then
15139 if test "${ac_cv_header_gpm_h+set}" = set; then 14667 if test "${ac_cv_header_gpm_h+set}" = set; then
15140 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 14668 { echo "$as_me:$LINENO: checking for gpm.h" >&5
15141 $as_echo_n "checking for gpm.h... " >&6; } 14669 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; }
15142 if test "${ac_cv_header_gpm_h+set}" = set; then 14670 if test "${ac_cv_header_gpm_h+set}" = set; then
15143 $as_echo_n "(cached) " >&6 14671 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 fi 14672 fi
15145 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 14673 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15146 $as_echo "$ac_cv_header_gpm_h" >&6; } 14674 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; }
15147 else 14675 else
15148 # Is the header compilable? 14676 # Is the header compilable?
15149 { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 14677 { echo "$as_me:$LINENO: checking gpm.h usability" >&5
15150 $as_echo_n "checking gpm.h usability... " >&6; } 14678 echo $ECHO_N "checking gpm.h usability... $ECHO_C" >&6; }
15151 cat >conftest.$ac_ext <<_ACEOF 14679 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h. */ 14680 /* confdefs.h. */
15153 _ACEOF 14681 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext 14682 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF 14683 cat >>conftest.$ac_ext <<_ACEOF
15161 if { (ac_try="$ac_compile" 14689 if { (ac_try="$ac_compile"
15162 case "(($ac_try" in 14690 case "(($ac_try" in
15163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15164 *) ac_try_echo=$ac_try;; 14692 *) ac_try_echo=$ac_try;;
15165 esac 14693 esac
15166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15167 $as_echo "$ac_try_echo") >&5
15168 (eval "$ac_compile") 2>conftest.er1 14695 (eval "$ac_compile") 2>conftest.er1
15169 ac_status=$? 14696 ac_status=$?
15170 grep -v '^ *+' conftest.er1 >conftest.err 14697 grep -v '^ *+' conftest.er1 >conftest.err
15171 rm -f conftest.er1 14698 rm -f conftest.er1
15172 cat conftest.err >&5 14699 cat conftest.err >&5
15173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } && { 14701 (exit $ac_status); } && {
15175 test -z "$ac_c_werror_flag" || 14702 test -z "$ac_c_werror_flag" ||
15176 test ! -s conftest.err 14703 test ! -s conftest.err
15177 } && test -s conftest.$ac_objext; then 14704 } && test -s conftest.$ac_objext; then
15178 ac_header_compiler=yes 14705 ac_header_compiler=yes
15179 else 14706 else
15180 $as_echo "$as_me: failed program was:" >&5 14707 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5 14708 sed 's/^/| /' conftest.$ac_ext >&5
15182 14709
15183 ac_header_compiler=no 14710 ac_header_compiler=no
15184 fi 14711 fi
15185 14712
15186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15187 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14714 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15188 $as_echo "$ac_header_compiler" >&6; } 14715 echo "${ECHO_T}$ac_header_compiler" >&6; }
15189 14716
15190 # Is the header present? 14717 # Is the header present?
15191 { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 14718 { echo "$as_me:$LINENO: checking gpm.h presence" >&5
15192 $as_echo_n "checking gpm.h presence... " >&6; } 14719 echo $ECHO_N "checking gpm.h presence... $ECHO_C" >&6; }
15193 cat >conftest.$ac_ext <<_ACEOF 14720 cat >conftest.$ac_ext <<_ACEOF
15194 /* confdefs.h. */ 14721 /* confdefs.h. */
15195 _ACEOF 14722 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext 14723 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF 14724 cat >>conftest.$ac_ext <<_ACEOF
15201 if { (ac_try="$ac_cpp conftest.$ac_ext" 14728 if { (ac_try="$ac_cpp conftest.$ac_ext"
15202 case "(($ac_try" in 14729 case "(($ac_try" in
15203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15204 *) ac_try_echo=$ac_try;; 14731 *) ac_try_echo=$ac_try;;
15205 esac 14732 esac
15206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15207 $as_echo "$ac_try_echo") >&5
15208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15209 ac_status=$? 14735 ac_status=$?
15210 grep -v '^ *+' conftest.er1 >conftest.err 14736 grep -v '^ *+' conftest.er1 >conftest.err
15211 rm -f conftest.er1 14737 rm -f conftest.er1
15212 cat conftest.err >&5 14738 cat conftest.err >&5
15213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); } >/dev/null && { 14740 (exit $ac_status); } >/dev/null && {
15215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15216 test ! -s conftest.err 14742 test ! -s conftest.err
15217 }; then 14743 }; then
15218 ac_header_preproc=yes 14744 ac_header_preproc=yes
15219 else 14745 else
15220 $as_echo "$as_me: failed program was:" >&5 14746 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.$ac_ext >&5 14747 sed 's/^/| /' conftest.$ac_ext >&5
15222 14748
15223 ac_header_preproc=no 14749 ac_header_preproc=no
15224 fi 14750 fi
15225 14751
15226 rm -f conftest.err conftest.$ac_ext 14752 rm -f conftest.err conftest.$ac_ext
15227 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14753 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15228 $as_echo "$ac_header_preproc" >&6; } 14754 echo "${ECHO_T}$ac_header_preproc" >&6; }
15229 14755
15230 # So? What about this header? 14756 # So? What about this header?
15231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15232 yes:no: ) 14758 yes:no: )
15233 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 14759 { echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
15234 $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14760 echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15235 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 14761 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
15236 $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} 14762 echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
15237 ac_header_preproc=yes 14763 ac_header_preproc=yes
15238 ;; 14764 ;;
15239 no:yes:* ) 14765 no:yes:* )
15240 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 14766 { echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
15241 $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} 14767 echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
15242 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 14768 { echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
15243 $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} 14769 echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
15244 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 14770 { echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
15245 $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} 14771 echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
15246 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 14772 { echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
15247 $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 14773 echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
15248 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 14774 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
15249 $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} 14775 echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
15250 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 14776 { echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
15251 $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} 14777 echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
15252 14778
15253 ;; 14779 ;;
15254 esac 14780 esac
15255 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 14781 { echo "$as_me:$LINENO: checking for gpm.h" >&5
15256 $as_echo_n "checking for gpm.h... " >&6; } 14782 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; }
15257 if test "${ac_cv_header_gpm_h+set}" = set; then 14783 if test "${ac_cv_header_gpm_h+set}" = set; then
15258 $as_echo_n "(cached) " >&6 14784 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 else 14785 else
15260 ac_cv_header_gpm_h=$ac_header_preproc 14786 ac_cv_header_gpm_h=$ac_header_preproc
15261 fi 14787 fi
15262 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 14788 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15263 $as_echo "$ac_cv_header_gpm_h" >&6; } 14789 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; }
15264 14790
15265 fi 14791 fi
15266 if test $ac_cv_header_gpm_h = yes; then 14792 if test $ac_cv_header_gpm_h = yes; then
15267 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 14793 { echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
15268 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 14794 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; }
15269 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 14795 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
15270 $as_echo_n "(cached) " >&6 14796 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else 14797 else
15272 ac_check_lib_save_LIBS=$LIBS 14798 ac_check_lib_save_LIBS=$LIBS
15273 LIBS="-lgpm $LIBS" 14799 LIBS="-lgpm $LIBS"
15274 cat >conftest.$ac_ext <<_ACEOF 14800 cat >conftest.$ac_ext <<_ACEOF
15275 /* confdefs.h. */ 14801 /* confdefs.h. */
15297 if { (ac_try="$ac_link" 14823 if { (ac_try="$ac_link"
15298 case "(($ac_try" in 14824 case "(($ac_try" in
15299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;; 14826 *) ac_try_echo=$ac_try;;
15301 esac 14827 esac
15302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 $as_echo "$ac_try_echo") >&5
15304 (eval "$ac_link") 2>conftest.er1 14829 (eval "$ac_link") 2>conftest.er1
15305 ac_status=$? 14830 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err 14831 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1 14832 rm -f conftest.er1
15308 cat conftest.err >&5 14833 cat conftest.err >&5
15309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && { 14835 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" || 14836 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err 14837 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext && { 14838 } && test -s conftest$ac_exeext &&
15314 test "$cross_compiling" = yes || 14839 $as_test_x conftest$ac_exeext; then
15315 $as_test_x conftest$ac_exeext
15316 }; then
15317 ac_cv_lib_gpm_Gpm_Open=yes 14840 ac_cv_lib_gpm_Gpm_Open=yes
15318 else 14841 else
15319 $as_echo "$as_me: failed program was:" >&5 14842 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5 14843 sed 's/^/| /' conftest.$ac_ext >&5
15321 14844
15322 ac_cv_lib_gpm_Gpm_Open=no 14845 ac_cv_lib_gpm_Gpm_Open=no
15323 fi 14846 fi
15324 14847
15325 rm -rf conftest.dSYM
15326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15327 conftest$ac_exeext conftest.$ac_ext 14849 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_check_lib_save_LIBS 14850 LIBS=$ac_check_lib_save_LIBS
15329 fi 14851 fi
15330 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 14852 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
15331 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 14853 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; }
15332 if test $ac_cv_lib_gpm_Gpm_Open = yes; then 14854 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
15333 HAVE_GPM=yes 14855 HAVE_GPM=yes
15334 fi 14856 fi
15335 14857
15336 fi 14858 fi
15345 _ACEOF 14867 _ACEOF
15346 14868
15347 fi 14869 fi
15348 14870
15349 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14871 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15350 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 14872 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15351 $as_echo_n "checking for malloc/malloc.h... " >&6; } 14873 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
15352 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14874 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15353 $as_echo_n "(cached) " >&6 14875 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 fi 14876 fi
15355 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 14877 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15356 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } 14878 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
15357 else 14879 else
15358 # Is the header compilable? 14880 # Is the header compilable?
15359 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 14881 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
15360 $as_echo_n "checking malloc/malloc.h usability... " >&6; } 14882 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; }
15361 cat >conftest.$ac_ext <<_ACEOF 14883 cat >conftest.$ac_ext <<_ACEOF
15362 /* confdefs.h. */ 14884 /* confdefs.h. */
15363 _ACEOF 14885 _ACEOF
15364 cat confdefs.h >>conftest.$ac_ext 14886 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF 14887 cat >>conftest.$ac_ext <<_ACEOF
15371 if { (ac_try="$ac_compile" 14893 if { (ac_try="$ac_compile"
15372 case "(($ac_try" in 14894 case "(($ac_try" in
15373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15374 *) ac_try_echo=$ac_try;; 14896 *) ac_try_echo=$ac_try;;
15375 esac 14897 esac
15376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 $as_echo "$ac_try_echo") >&5
15378 (eval "$ac_compile") 2>conftest.er1 14899 (eval "$ac_compile") 2>conftest.er1
15379 ac_status=$? 14900 ac_status=$?
15380 grep -v '^ *+' conftest.er1 >conftest.err 14901 grep -v '^ *+' conftest.er1 >conftest.err
15381 rm -f conftest.er1 14902 rm -f conftest.er1
15382 cat conftest.err >&5 14903 cat conftest.err >&5
15383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } && { 14905 (exit $ac_status); } && {
15385 test -z "$ac_c_werror_flag" || 14906 test -z "$ac_c_werror_flag" ||
15386 test ! -s conftest.err 14907 test ! -s conftest.err
15387 } && test -s conftest.$ac_objext; then 14908 } && test -s conftest.$ac_objext; then
15388 ac_header_compiler=yes 14909 ac_header_compiler=yes
15389 else 14910 else
15390 $as_echo "$as_me: failed program was:" >&5 14911 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5 14912 sed 's/^/| /' conftest.$ac_ext >&5
15392 14913
15393 ac_header_compiler=no 14914 ac_header_compiler=no
15394 fi 14915 fi
15395 14916
15396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15397 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14918 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15398 $as_echo "$ac_header_compiler" >&6; } 14919 echo "${ECHO_T}$ac_header_compiler" >&6; }
15399 14920
15400 # Is the header present? 14921 # Is the header present?
15401 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 14922 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
15402 $as_echo_n "checking malloc/malloc.h presence... " >&6; } 14923 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; }
15403 cat >conftest.$ac_ext <<_ACEOF 14924 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h. */ 14925 /* confdefs.h. */
15405 _ACEOF 14926 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext 14927 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF 14928 cat >>conftest.$ac_ext <<_ACEOF
15411 if { (ac_try="$ac_cpp conftest.$ac_ext" 14932 if { (ac_try="$ac_cpp conftest.$ac_ext"
15412 case "(($ac_try" in 14933 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;; 14935 *) ac_try_echo=$ac_try;;
15415 esac 14936 esac
15416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 $as_echo "$ac_try_echo") >&5
15418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15419 ac_status=$? 14939 ac_status=$?
15420 grep -v '^ *+' conftest.er1 >conftest.err 14940 grep -v '^ *+' conftest.er1 >conftest.err
15421 rm -f conftest.er1 14941 rm -f conftest.er1
15422 cat conftest.err >&5 14942 cat conftest.err >&5
15423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); } >/dev/null && { 14944 (exit $ac_status); } >/dev/null && {
15425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15426 test ! -s conftest.err 14946 test ! -s conftest.err
15427 }; then 14947 }; then
15428 ac_header_preproc=yes 14948 ac_header_preproc=yes
15429 else 14949 else
15430 $as_echo "$as_me: failed program was:" >&5 14950 echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.$ac_ext >&5 14951 sed 's/^/| /' conftest.$ac_ext >&5
15432 14952
15433 ac_header_preproc=no 14953 ac_header_preproc=no
15434 fi 14954 fi
15435 14955
15436 rm -f conftest.err conftest.$ac_ext 14956 rm -f conftest.err conftest.$ac_ext
15437 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14957 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15438 $as_echo "$ac_header_preproc" >&6; } 14958 echo "${ECHO_T}$ac_header_preproc" >&6; }
15439 14959
15440 # So? What about this header? 14960 # So? What about this header?
15441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15442 yes:no: ) 14962 yes:no: )
15443 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 14963 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
15444 $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14964 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15445 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 14965 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
15446 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} 14966 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
15447 ac_header_preproc=yes 14967 ac_header_preproc=yes
15448 ;; 14968 ;;
15449 no:yes:* ) 14969 no:yes:* )
15450 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 14970 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
15451 $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} 14971 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
15452 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 14972 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
15453 $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} 14973 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
15454 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 14974 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
15455 $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} 14975 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
15456 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 14976 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
15457 $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 14977 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
15458 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 14978 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
15459 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} 14979 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
15460 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 14980 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
15461 $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} 14981 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
15462 14982
15463 ;; 14983 ;;
15464 esac 14984 esac
15465 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 14985 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15466 $as_echo_n "checking for malloc/malloc.h... " >&6; } 14986 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
15467 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14987 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15468 $as_echo_n "(cached) " >&6 14988 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else 14989 else
15470 ac_cv_header_malloc_malloc_h=$ac_header_preproc 14990 ac_cv_header_malloc_malloc_h=$ac_header_preproc
15471 fi 14991 fi
15472 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 14992 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15473 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } 14993 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
15474 14994
15475 fi 14995 fi
15476 if test $ac_cv_header_malloc_malloc_h = yes; then 14996 if test $ac_cv_header_malloc_malloc_h = yes; then
15477 14997
15478 cat >>confdefs.h <<\_ACEOF 14998 cat >>confdefs.h <<\_ACEOF
15521 15041
15522 ### Use session management (-lSM -lICE) if available 15042 ### Use session management (-lSM -lICE) if available
15523 HAVE_X_SM=no 15043 HAVE_X_SM=no
15524 if test "${HAVE_X11}" = "yes"; then 15044 if test "${HAVE_X11}" = "yes"; then
15525 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15045 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15526 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15046 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15527 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 15047 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
15528 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15048 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15529 $as_echo_n "(cached) " >&6 15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15530 fi 15050 fi
15531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15051 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15532 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } 15052 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
15533 else 15053 else
15534 # Is the header compilable? 15054 # Is the header compilable?
15535 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 15055 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
15536 $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } 15056 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; }
15537 cat >conftest.$ac_ext <<_ACEOF 15057 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */ 15058 /* confdefs.h. */
15539 _ACEOF 15059 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext 15060 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF 15061 cat >>conftest.$ac_ext <<_ACEOF
15547 if { (ac_try="$ac_compile" 15067 if { (ac_try="$ac_compile"
15548 case "(($ac_try" in 15068 case "(($ac_try" in
15549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15550 *) ac_try_echo=$ac_try;; 15070 *) ac_try_echo=$ac_try;;
15551 esac 15071 esac
15552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15553 $as_echo "$ac_try_echo") >&5
15554 (eval "$ac_compile") 2>conftest.er1 15073 (eval "$ac_compile") 2>conftest.er1
15555 ac_status=$? 15074 ac_status=$?
15556 grep -v '^ *+' conftest.er1 >conftest.err 15075 grep -v '^ *+' conftest.er1 >conftest.err
15557 rm -f conftest.er1 15076 rm -f conftest.er1
15558 cat conftest.err >&5 15077 cat conftest.err >&5
15559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } && { 15079 (exit $ac_status); } && {
15561 test -z "$ac_c_werror_flag" || 15080 test -z "$ac_c_werror_flag" ||
15562 test ! -s conftest.err 15081 test ! -s conftest.err
15563 } && test -s conftest.$ac_objext; then 15082 } && test -s conftest.$ac_objext; then
15564 ac_header_compiler=yes 15083 ac_header_compiler=yes
15565 else 15084 else
15566 $as_echo "$as_me: failed program was:" >&5 15085 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5 15086 sed 's/^/| /' conftest.$ac_ext >&5
15568 15087
15569 ac_header_compiler=no 15088 ac_header_compiler=no
15570 fi 15089 fi
15571 15090
15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15573 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15574 $as_echo "$ac_header_compiler" >&6; } 15093 echo "${ECHO_T}$ac_header_compiler" >&6; }
15575 15094
15576 # Is the header present? 15095 # Is the header present?
15577 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 15096 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
15578 $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } 15097 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; }
15579 cat >conftest.$ac_ext <<_ACEOF 15098 cat >conftest.$ac_ext <<_ACEOF
15580 /* confdefs.h. */ 15099 /* confdefs.h. */
15581 _ACEOF 15100 _ACEOF
15582 cat confdefs.h >>conftest.$ac_ext 15101 cat confdefs.h >>conftest.$ac_ext
15583 cat >>conftest.$ac_ext <<_ACEOF 15102 cat >>conftest.$ac_ext <<_ACEOF
15587 if { (ac_try="$ac_cpp conftest.$ac_ext" 15106 if { (ac_try="$ac_cpp conftest.$ac_ext"
15588 case "(($ac_try" in 15107 case "(($ac_try" in
15589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15590 *) ac_try_echo=$ac_try;; 15109 *) ac_try_echo=$ac_try;;
15591 esac 15110 esac
15592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15593 $as_echo "$ac_try_echo") >&5
15594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15595 ac_status=$? 15113 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err 15114 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1 15115 rm -f conftest.er1
15598 cat conftest.err >&5 15116 cat conftest.err >&5
15599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } >/dev/null && { 15118 (exit $ac_status); } >/dev/null && {
15601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15602 test ! -s conftest.err 15120 test ! -s conftest.err
15603 }; then 15121 }; then
15604 ac_header_preproc=yes 15122 ac_header_preproc=yes
15605 else 15123 else
15606 $as_echo "$as_me: failed program was:" >&5 15124 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5 15125 sed 's/^/| /' conftest.$ac_ext >&5
15608 15126
15609 ac_header_preproc=no 15127 ac_header_preproc=no
15610 fi 15128 fi
15611 15129
15612 rm -f conftest.err conftest.$ac_ext 15130 rm -f conftest.err conftest.$ac_ext
15613 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15614 $as_echo "$ac_header_preproc" >&6; } 15132 echo "${ECHO_T}$ac_header_preproc" >&6; }
15615 15133
15616 # So? What about this header? 15134 # So? What about this header?
15617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15618 yes:no: ) 15136 yes:no: )
15619 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 15137 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15620 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15138 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15621 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 15139 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
15622 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} 15140 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
15623 ac_header_preproc=yes 15141 ac_header_preproc=yes
15624 ;; 15142 ;;
15625 no:yes:* ) 15143 no:yes:* )
15626 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 15144 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
15627 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} 15145 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
15628 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 15146 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
15629 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} 15147 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
15630 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 15148 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
15631 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} 15149 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
15632 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 15150 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
15633 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 15151 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15634 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 15152 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
15635 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} 15153 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
15636 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 15154 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
15637 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} 15155 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
15638 15156
15639 ;; 15157 ;;
15640 esac 15158 esac
15641 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15159 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15642 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 15160 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
15643 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15161 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15644 $as_echo_n "(cached) " >&6 15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15645 else 15163 else
15646 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc 15164 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
15647 fi 15165 fi
15648 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15166 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15649 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } 15167 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
15650 15168
15651 fi 15169 fi
15652 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 15170 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
15653 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 15171 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
15654 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 15172 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
15655 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 15173 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
15656 $as_echo_n "(cached) " >&6 15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 else 15175 else
15658 ac_check_lib_save_LIBS=$LIBS 15176 ac_check_lib_save_LIBS=$LIBS
15659 LIBS="-lSM -lICE $LIBS" 15177 LIBS="-lSM -lICE $LIBS"
15660 cat >conftest.$ac_ext <<_ACEOF 15178 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */ 15179 /* confdefs.h. */
15683 if { (ac_try="$ac_link" 15201 if { (ac_try="$ac_link"
15684 case "(($ac_try" in 15202 case "(($ac_try" in
15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15686 *) ac_try_echo=$ac_try;; 15204 *) ac_try_echo=$ac_try;;
15687 esac 15205 esac
15688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 $as_echo "$ac_try_echo") >&5
15690 (eval "$ac_link") 2>conftest.er1 15207 (eval "$ac_link") 2>conftest.er1
15691 ac_status=$? 15208 ac_status=$?
15692 grep -v '^ *+' conftest.er1 >conftest.err 15209 grep -v '^ *+' conftest.er1 >conftest.err
15693 rm -f conftest.er1 15210 rm -f conftest.er1
15694 cat conftest.err >&5 15211 cat conftest.err >&5
15695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } && { 15213 (exit $ac_status); } && {
15697 test -z "$ac_c_werror_flag" || 15214 test -z "$ac_c_werror_flag" ||
15698 test ! -s conftest.err 15215 test ! -s conftest.err
15699 } && test -s conftest$ac_exeext && { 15216 } && test -s conftest$ac_exeext &&
15700 test "$cross_compiling" = yes || 15217 $as_test_x conftest$ac_exeext; then
15701 $as_test_x conftest$ac_exeext
15702 }; then
15703 ac_cv_lib_SM_SmcOpenConnection=yes 15218 ac_cv_lib_SM_SmcOpenConnection=yes
15704 else 15219 else
15705 $as_echo "$as_me: failed program was:" >&5 15220 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5 15221 sed 's/^/| /' conftest.$ac_ext >&5
15707 15222
15708 ac_cv_lib_SM_SmcOpenConnection=no 15223 ac_cv_lib_SM_SmcOpenConnection=no
15709 fi 15224 fi
15710 15225
15711 rm -rf conftest.dSYM
15712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15713 conftest$ac_exeext conftest.$ac_ext 15227 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_lib_save_LIBS 15228 LIBS=$ac_check_lib_save_LIBS
15715 fi 15229 fi
15716 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 15230 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
15717 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 15231 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
15718 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 15232 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
15719 HAVE_X_SM=yes 15233 HAVE_X_SM=yes
15720 fi 15234 fi
15721 15235
15722 fi 15236 fi
15735 esac 15249 esac
15736 fi 15250 fi
15737 fi 15251 fi
15738 15252
15739 # If netdb.h doesn't declare h_errno, we must declare it by hand. 15253 # If netdb.h doesn't declare h_errno, we must declare it by hand.
15740 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 15254 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
15741 $as_echo_n "checking whether netdb declares h_errno... " >&6; } 15255 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; }
15742 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 15256 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
15743 $as_echo_n "(cached) " >&6 15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else 15258 else
15745 cat >conftest.$ac_ext <<_ACEOF 15259 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h. */ 15260 /* confdefs.h. */
15747 _ACEOF 15261 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext 15262 cat confdefs.h >>conftest.$ac_ext
15761 if { (ac_try="$ac_link" 15275 if { (ac_try="$ac_link"
15762 case "(($ac_try" in 15276 case "(($ac_try" in
15763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15764 *) ac_try_echo=$ac_try;; 15278 *) ac_try_echo=$ac_try;;
15765 esac 15279 esac
15766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15767 $as_echo "$ac_try_echo") >&5
15768 (eval "$ac_link") 2>conftest.er1 15281 (eval "$ac_link") 2>conftest.er1
15769 ac_status=$? 15282 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err 15283 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1 15284 rm -f conftest.er1
15772 cat conftest.err >&5 15285 cat conftest.err >&5
15773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { 15287 (exit $ac_status); } && {
15775 test -z "$ac_c_werror_flag" || 15288 test -z "$ac_c_werror_flag" ||
15776 test ! -s conftest.err 15289 test ! -s conftest.err
15777 } && test -s conftest$ac_exeext && { 15290 } && test -s conftest$ac_exeext &&
15778 test "$cross_compiling" = yes || 15291 $as_test_x conftest$ac_exeext; then
15779 $as_test_x conftest$ac_exeext
15780 }; then
15781 emacs_cv_netdb_declares_h_errno=yes 15292 emacs_cv_netdb_declares_h_errno=yes
15782 else 15293 else
15783 $as_echo "$as_me: failed program was:" >&5 15294 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5 15295 sed 's/^/| /' conftest.$ac_ext >&5
15785 15296
15786 emacs_cv_netdb_declares_h_errno=no 15297 emacs_cv_netdb_declares_h_errno=no
15787 fi 15298 fi
15788 15299
15789 rm -rf conftest.dSYM
15790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15791 conftest$ac_exeext conftest.$ac_ext 15301 conftest$ac_exeext conftest.$ac_ext
15792 fi 15302 fi
15793 { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 15303 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
15794 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 15304 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; }
15795 if test $emacs_cv_netdb_declares_h_errno = yes; then 15305 if test $emacs_cv_netdb_declares_h_errno = yes; then
15796 15306
15797 cat >>confdefs.h <<\_ACEOF 15307 cat >>confdefs.h <<\_ACEOF
15798 #define HAVE_H_ERRNO 1 15308 #define HAVE_H_ERRNO 1
15799 _ACEOF 15309 _ACEOF
15800 15310
15801 fi 15311 fi
15802 15312
15803 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 15313 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15804 # for constant arguments. Useless! 15314 # for constant arguments. Useless!
15805 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 15315 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
15806 $as_echo_n "checking for working alloca.h... " >&6; } 15316 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
15807 if test "${ac_cv_working_alloca_h+set}" = set; then 15317 if test "${ac_cv_working_alloca_h+set}" = set; then
15808 $as_echo_n "(cached) " >&6 15318 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 else 15319 else
15810 cat >conftest.$ac_ext <<_ACEOF 15320 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */ 15321 /* confdefs.h. */
15812 _ACEOF 15322 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext 15323 cat confdefs.h >>conftest.$ac_ext
15827 if { (ac_try="$ac_link" 15337 if { (ac_try="$ac_link"
15828 case "(($ac_try" in 15338 case "(($ac_try" in
15829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15830 *) ac_try_echo=$ac_try;; 15340 *) ac_try_echo=$ac_try;;
15831 esac 15341 esac
15832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833 $as_echo "$ac_try_echo") >&5
15834 (eval "$ac_link") 2>conftest.er1 15343 (eval "$ac_link") 2>conftest.er1
15835 ac_status=$? 15344 ac_status=$?
15836 grep -v '^ *+' conftest.er1 >conftest.err 15345 grep -v '^ *+' conftest.er1 >conftest.err
15837 rm -f conftest.er1 15346 rm -f conftest.er1
15838 cat conftest.err >&5 15347 cat conftest.err >&5
15839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } && { 15349 (exit $ac_status); } && {
15841 test -z "$ac_c_werror_flag" || 15350 test -z "$ac_c_werror_flag" ||
15842 test ! -s conftest.err 15351 test ! -s conftest.err
15843 } && test -s conftest$ac_exeext && { 15352 } && test -s conftest$ac_exeext &&
15844 test "$cross_compiling" = yes || 15353 $as_test_x conftest$ac_exeext; then
15845 $as_test_x conftest$ac_exeext
15846 }; then
15847 ac_cv_working_alloca_h=yes 15354 ac_cv_working_alloca_h=yes
15848 else 15355 else
15849 $as_echo "$as_me: failed program was:" >&5 15356 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.$ac_ext >&5 15357 sed 's/^/| /' conftest.$ac_ext >&5
15851 15358
15852 ac_cv_working_alloca_h=no 15359 ac_cv_working_alloca_h=no
15853 fi 15360 fi
15854 15361
15855 rm -rf conftest.dSYM
15856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15857 conftest$ac_exeext conftest.$ac_ext 15363 conftest$ac_exeext conftest.$ac_ext
15858 fi 15364 fi
15859 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 15365 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15860 $as_echo "$ac_cv_working_alloca_h" >&6; } 15366 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
15861 if test $ac_cv_working_alloca_h = yes; then 15367 if test $ac_cv_working_alloca_h = yes; then
15862 15368
15863 cat >>confdefs.h <<\_ACEOF 15369 cat >>confdefs.h <<\_ACEOF
15864 #define HAVE_ALLOCA_H 1 15370 #define HAVE_ALLOCA_H 1
15865 _ACEOF 15371 _ACEOF
15866 15372
15867 fi 15373 fi
15868 15374
15869 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 15375 { echo "$as_me:$LINENO: checking for alloca" >&5
15870 $as_echo_n "checking for alloca... " >&6; } 15376 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
15871 if test "${ac_cv_func_alloca_works+set}" = set; then 15377 if test "${ac_cv_func_alloca_works+set}" = set; then
15872 $as_echo_n "(cached) " >&6 15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 else 15379 else
15874 cat >conftest.$ac_ext <<_ACEOF 15380 cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h. */ 15381 /* confdefs.h. */
15876 _ACEOF 15382 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext 15383 cat confdefs.h >>conftest.$ac_ext
15911 if { (ac_try="$ac_link" 15417 if { (ac_try="$ac_link"
15912 case "(($ac_try" in 15418 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;; 15420 *) ac_try_echo=$ac_try;;
15915 esac 15421 esac
15916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 $as_echo "$ac_try_echo") >&5
15918 (eval "$ac_link") 2>conftest.er1 15423 (eval "$ac_link") 2>conftest.er1
15919 ac_status=$? 15424 ac_status=$?
15920 grep -v '^ *+' conftest.er1 >conftest.err 15425 grep -v '^ *+' conftest.er1 >conftest.err
15921 rm -f conftest.er1 15426 rm -f conftest.er1
15922 cat conftest.err >&5 15427 cat conftest.err >&5
15923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } && { 15429 (exit $ac_status); } && {
15925 test -z "$ac_c_werror_flag" || 15430 test -z "$ac_c_werror_flag" ||
15926 test ! -s conftest.err 15431 test ! -s conftest.err
15927 } && test -s conftest$ac_exeext && { 15432 } && test -s conftest$ac_exeext &&
15928 test "$cross_compiling" = yes || 15433 $as_test_x conftest$ac_exeext; then
15929 $as_test_x conftest$ac_exeext
15930 }; then
15931 ac_cv_func_alloca_works=yes 15434 ac_cv_func_alloca_works=yes
15932 else 15435 else
15933 $as_echo "$as_me: failed program was:" >&5 15436 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5 15437 sed 's/^/| /' conftest.$ac_ext >&5
15935 15438
15936 ac_cv_func_alloca_works=no 15439 ac_cv_func_alloca_works=no
15937 fi 15440 fi
15938 15441
15939 rm -rf conftest.dSYM
15940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15941 conftest$ac_exeext conftest.$ac_ext 15443 conftest$ac_exeext conftest.$ac_ext
15942 fi 15444 fi
15943 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 15445 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15944 $as_echo "$ac_cv_func_alloca_works" >&6; } 15446 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
15945 15447
15946 if test $ac_cv_func_alloca_works = yes; then 15448 if test $ac_cv_func_alloca_works = yes; then
15947 15449
15948 cat >>confdefs.h <<\_ACEOF 15450 cat >>confdefs.h <<\_ACEOF
15949 #define HAVE_ALLOCA 1 15451 #define HAVE_ALLOCA 1
15960 cat >>confdefs.h <<\_ACEOF 15462 cat >>confdefs.h <<\_ACEOF
15961 #define C_ALLOCA 1 15463 #define C_ALLOCA 1
15962 _ACEOF 15464 _ACEOF
15963 15465
15964 15466
15965 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 15467 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15966 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 15468 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
15967 if test "${ac_cv_os_cray+set}" = set; then 15469 if test "${ac_cv_os_cray+set}" = set; then
15968 $as_echo_n "(cached) " >&6 15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 else 15471 else
15970 cat >conftest.$ac_ext <<_ACEOF 15472 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h. */ 15473 /* confdefs.h. */
15972 _ACEOF 15474 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext 15475 cat confdefs.h >>conftest.$ac_ext
15987 ac_cv_os_cray=no 15489 ac_cv_os_cray=no
15988 fi 15490 fi
15989 rm -f conftest* 15491 rm -f conftest*
15990 15492
15991 fi 15493 fi
15992 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 15494 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15993 $as_echo "$ac_cv_os_cray" >&6; } 15495 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
15994 if test $ac_cv_os_cray = yes; then 15496 if test $ac_cv_os_cray = yes; then
15995 for ac_func in _getb67 GETB67 getb67; do 15497 for ac_func in _getb67 GETB67 getb67; do
15996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15997 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15998 $as_echo_n "checking for $ac_func... " >&6; } 15500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16000 $as_echo_n "(cached) " >&6 15502 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 else 15503 else
16002 cat >conftest.$ac_ext <<_ACEOF 15504 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */ 15505 /* confdefs.h. */
16004 _ACEOF 15506 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext 15507 cat confdefs.h >>conftest.$ac_ext
16048 if { (ac_try="$ac_link" 15550 if { (ac_try="$ac_link"
16049 case "(($ac_try" in 15551 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;; 15553 *) ac_try_echo=$ac_try;;
16052 esac 15554 esac
16053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 $as_echo "$ac_try_echo") >&5
16055 (eval "$ac_link") 2>conftest.er1 15556 (eval "$ac_link") 2>conftest.er1
16056 ac_status=$? 15557 ac_status=$?
16057 grep -v '^ *+' conftest.er1 >conftest.err 15558 grep -v '^ *+' conftest.er1 >conftest.err
16058 rm -f conftest.er1 15559 rm -f conftest.er1
16059 cat conftest.err >&5 15560 cat conftest.err >&5
16060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && { 15562 (exit $ac_status); } && {
16062 test -z "$ac_c_werror_flag" || 15563 test -z "$ac_c_werror_flag" ||
16063 test ! -s conftest.err 15564 test ! -s conftest.err
16064 } && test -s conftest$ac_exeext && { 15565 } && test -s conftest$ac_exeext &&
16065 test "$cross_compiling" = yes || 15566 $as_test_x conftest$ac_exeext; then
16066 $as_test_x conftest$ac_exeext
16067 }; then
16068 eval "$as_ac_var=yes" 15567 eval "$as_ac_var=yes"
16069 else 15568 else
16070 $as_echo "$as_me: failed program was:" >&5 15569 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5 15570 sed 's/^/| /' conftest.$ac_ext >&5
16072 15571
16073 eval "$as_ac_var=no" 15572 eval "$as_ac_var=no"
16074 fi 15573 fi
16075 15574
16076 rm -rf conftest.dSYM
16077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16078 conftest$ac_exeext conftest.$ac_ext 15576 conftest$ac_exeext conftest.$ac_ext
16079 fi 15577 fi
16080 ac_res=`eval 'as_val=${'$as_ac_var'} 15578 ac_res=`eval echo '${'$as_ac_var'}'`
16081 $as_echo "$as_val"'` 15579 { echo "$as_me:$LINENO: result: $ac_res" >&5
16082 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15580 echo "${ECHO_T}$ac_res" >&6; }
16083 $as_echo "$ac_res" >&6; } 15581 if test `eval echo '${'$as_ac_var'}'` = yes; then
16084 if test `eval 'as_val=${'$as_ac_var'}
16085 $as_echo "$as_val"'` = yes; then
16086 15582
16087 cat >>confdefs.h <<_ACEOF 15583 cat >>confdefs.h <<_ACEOF
16088 #define CRAY_STACKSEG_END $ac_func 15584 #define CRAY_STACKSEG_END $ac_func
16089 _ACEOF 15585 _ACEOF
16090 15586
16092 fi 15588 fi
16093 15589
16094 done 15590 done
16095 fi 15591 fi
16096 15592
16097 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 15593 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16098 $as_echo_n "checking stack direction for C alloca... " >&6; } 15594 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
16099 if test "${ac_cv_c_stack_direction+set}" = set; then 15595 if test "${ac_cv_c_stack_direction+set}" = set; then
16100 $as_echo_n "(cached) " >&6 15596 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 else 15597 else
16102 if test "$cross_compiling" = yes; then 15598 if test "$cross_compiling" = yes; then
16103 ac_cv_c_stack_direction=0 15599 ac_cv_c_stack_direction=0
16104 else 15600 else
16105 cat >conftest.$ac_ext <<_ACEOF 15601 cat >conftest.$ac_ext <<_ACEOF
16133 if { (ac_try="$ac_link" 15629 if { (ac_try="$ac_link"
16134 case "(($ac_try" in 15630 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;; 15632 *) ac_try_echo=$ac_try;;
16137 esac 15633 esac
16138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 $as_echo "$ac_try_echo") >&5
16140 (eval "$ac_link") 2>&5 15635 (eval "$ac_link") 2>&5
16141 ac_status=$? 15636 ac_status=$?
16142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16144 { (case "(($ac_try" in 15639 { (case "(($ac_try" in
16145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16146 *) ac_try_echo=$ac_try;; 15641 *) ac_try_echo=$ac_try;;
16147 esac 15642 esac
16148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16149 $as_echo "$ac_try_echo") >&5
16150 (eval "$ac_try") 2>&5 15644 (eval "$ac_try") 2>&5
16151 ac_status=$? 15645 ac_status=$?
16152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then 15647 (exit $ac_status); }; }; then
16154 ac_cv_c_stack_direction=1 15648 ac_cv_c_stack_direction=1
16155 else 15649 else
16156 $as_echo "$as_me: program exited with status $ac_status" >&5 15650 echo "$as_me: program exited with status $ac_status" >&5
16157 $as_echo "$as_me: failed program was:" >&5 15651 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5 15652 sed 's/^/| /' conftest.$ac_ext >&5
16159 15653
16160 ( exit $ac_status ) 15654 ( exit $ac_status )
16161 ac_cv_c_stack_direction=-1 15655 ac_cv_c_stack_direction=-1
16162 fi 15656 fi
16163 rm -rf conftest.dSYM
16164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16165 fi 15658 fi
16166 15659
16167 15660
16168 fi 15661 fi
16169 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 15662 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16170 $as_echo "$ac_cv_c_stack_direction" >&6; } 15663 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
16171 15664
16172 cat >>confdefs.h <<_ACEOF 15665 cat >>confdefs.h <<_ACEOF
16173 #define STACK_DIRECTION $ac_cv_c_stack_direction 15666 #define STACK_DIRECTION $ac_cv_c_stack_direction
16174 _ACEOF 15667 _ACEOF
16175 15668
16176 15669
16177 fi 15670 fi
16178 15671
16179 15672
16180 if test x"$ac_cv_func_alloca_works" != xyes; then 15673 if test x"$ac_cv_func_alloca_works" != xyes; then
16181 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 15674 { { echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5
16182 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} 15675 echo "$as_me: error: a system implementation of alloca is required " >&2;}
16183 { (exit 1); exit 1; }; } 15676 { (exit 1); exit 1; }; }
16184 fi 15677 fi
16185 15678
16186 # fmod, logb, and frexp are found in -lm on most systems. 15679 # fmod, logb, and frexp are found in -lm on most systems.
16187 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 15680 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
16188 15681
16189 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 15682 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
16190 $as_echo_n "checking for sqrt in -lm... " >&6; } 15683 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
16191 if test "${ac_cv_lib_m_sqrt+set}" = set; then 15684 if test "${ac_cv_lib_m_sqrt+set}" = set; then
16192 $as_echo_n "(cached) " >&6 15685 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 else 15686 else
16194 ac_check_lib_save_LIBS=$LIBS 15687 ac_check_lib_save_LIBS=$LIBS
16195 LIBS="-lm $LIBS" 15688 LIBS="-lm $LIBS"
16196 cat >conftest.$ac_ext <<_ACEOF 15689 cat >conftest.$ac_ext <<_ACEOF
16197 /* confdefs.h. */ 15690 /* confdefs.h. */
16219 if { (ac_try="$ac_link" 15712 if { (ac_try="$ac_link"
16220 case "(($ac_try" in 15713 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;; 15715 *) ac_try_echo=$ac_try;;
16223 esac 15716 esac
16224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 $as_echo "$ac_try_echo") >&5
16226 (eval "$ac_link") 2>conftest.er1 15718 (eval "$ac_link") 2>conftest.er1
16227 ac_status=$? 15719 ac_status=$?
16228 grep -v '^ *+' conftest.er1 >conftest.err 15720 grep -v '^ *+' conftest.er1 >conftest.err
16229 rm -f conftest.er1 15721 rm -f conftest.er1
16230 cat conftest.err >&5 15722 cat conftest.err >&5
16231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } && { 15724 (exit $ac_status); } && {
16233 test -z "$ac_c_werror_flag" || 15725 test -z "$ac_c_werror_flag" ||
16234 test ! -s conftest.err 15726 test ! -s conftest.err
16235 } && test -s conftest$ac_exeext && { 15727 } && test -s conftest$ac_exeext &&
16236 test "$cross_compiling" = yes || 15728 $as_test_x conftest$ac_exeext; then
16237 $as_test_x conftest$ac_exeext
16238 }; then
16239 ac_cv_lib_m_sqrt=yes 15729 ac_cv_lib_m_sqrt=yes
16240 else 15730 else
16241 $as_echo "$as_me: failed program was:" >&5 15731 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5 15732 sed 's/^/| /' conftest.$ac_ext >&5
16243 15733
16244 ac_cv_lib_m_sqrt=no 15734 ac_cv_lib_m_sqrt=no
16245 fi 15735 fi
16246 15736
16247 rm -rf conftest.dSYM
16248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16249 conftest$ac_exeext conftest.$ac_ext 15738 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_lib_save_LIBS 15739 LIBS=$ac_check_lib_save_LIBS
16251 fi 15740 fi
16252 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 15741 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
16253 $as_echo "$ac_cv_lib_m_sqrt" >&6; } 15742 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
16254 if test $ac_cv_lib_m_sqrt = yes; then 15743 if test $ac_cv_lib_m_sqrt = yes; then
16255 cat >>confdefs.h <<_ACEOF 15744 cat >>confdefs.h <<_ACEOF
16256 #define HAVE_LIBM 1 15745 #define HAVE_LIBM 1
16257 _ACEOF 15746 _ACEOF
16258 15747
16262 15751
16263 15752
16264 # Check for mail-locking functions in a "mail" library. Probably this should 15753 # Check for mail-locking functions in a "mail" library. Probably this should
16265 # have the same check as for liblockfile below. 15754 # have the same check as for liblockfile below.
16266 15755
16267 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 15756 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
16268 $as_echo_n "checking for maillock in -lmail... " >&6; } 15757 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; }
16269 if test "${ac_cv_lib_mail_maillock+set}" = set; then 15758 if test "${ac_cv_lib_mail_maillock+set}" = set; then
16270 $as_echo_n "(cached) " >&6 15759 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 else 15760 else
16272 ac_check_lib_save_LIBS=$LIBS 15761 ac_check_lib_save_LIBS=$LIBS
16273 LIBS="-lmail $LIBS" 15762 LIBS="-lmail $LIBS"
16274 cat >conftest.$ac_ext <<_ACEOF 15763 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */ 15764 /* confdefs.h. */
16297 if { (ac_try="$ac_link" 15786 if { (ac_try="$ac_link"
16298 case "(($ac_try" in 15787 case "(($ac_try" in
16299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16300 *) ac_try_echo=$ac_try;; 15789 *) ac_try_echo=$ac_try;;
16301 esac 15790 esac
16302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16303 $as_echo "$ac_try_echo") >&5
16304 (eval "$ac_link") 2>conftest.er1 15792 (eval "$ac_link") 2>conftest.er1
16305 ac_status=$? 15793 ac_status=$?
16306 grep -v '^ *+' conftest.er1 >conftest.err 15794 grep -v '^ *+' conftest.er1 >conftest.err
16307 rm -f conftest.er1 15795 rm -f conftest.er1
16308 cat conftest.err >&5 15796 cat conftest.err >&5
16309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } && { 15798 (exit $ac_status); } && {
16311 test -z "$ac_c_werror_flag" || 15799 test -z "$ac_c_werror_flag" ||
16312 test ! -s conftest.err 15800 test ! -s conftest.err
16313 } && test -s conftest$ac_exeext && { 15801 } && test -s conftest$ac_exeext &&
16314 test "$cross_compiling" = yes || 15802 $as_test_x conftest$ac_exeext; then
16315 $as_test_x conftest$ac_exeext
16316 }; then
16317 ac_cv_lib_mail_maillock=yes 15803 ac_cv_lib_mail_maillock=yes
16318 else 15804 else
16319 $as_echo "$as_me: failed program was:" >&5 15805 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5 15806 sed 's/^/| /' conftest.$ac_ext >&5
16321 15807
16322 ac_cv_lib_mail_maillock=no 15808 ac_cv_lib_mail_maillock=no
16323 fi 15809 fi
16324 15810
16325 rm -rf conftest.dSYM
16326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16327 conftest$ac_exeext conftest.$ac_ext 15812 conftest$ac_exeext conftest.$ac_ext
16328 LIBS=$ac_check_lib_save_LIBS 15813 LIBS=$ac_check_lib_save_LIBS
16329 fi 15814 fi
16330 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 15815 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
16331 $as_echo "$ac_cv_lib_mail_maillock" >&6; } 15816 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; }
16332 if test $ac_cv_lib_mail_maillock = yes; then 15817 if test $ac_cv_lib_mail_maillock = yes; then
16333 cat >>confdefs.h <<_ACEOF 15818 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_LIBMAIL 1 15819 #define HAVE_LIBMAIL 1
16335 _ACEOF 15820 _ACEOF
16336 15821
16337 LIBS="-lmail $LIBS" 15822 LIBS="-lmail $LIBS"
16338 15823
16339 fi 15824 fi
16340 15825
16341 15826
16342 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 15827 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
16343 $as_echo_n "checking for maillock in -llockfile... " >&6; } 15828 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; }
16344 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 15829 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
16345 $as_echo_n "(cached) " >&6 15830 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 else 15831 else
16347 ac_check_lib_save_LIBS=$LIBS 15832 ac_check_lib_save_LIBS=$LIBS
16348 LIBS="-llockfile $LIBS" 15833 LIBS="-llockfile $LIBS"
16349 cat >conftest.$ac_ext <<_ACEOF 15834 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */ 15835 /* confdefs.h. */
16372 if { (ac_try="$ac_link" 15857 if { (ac_try="$ac_link"
16373 case "(($ac_try" in 15858 case "(($ac_try" in
16374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16375 *) ac_try_echo=$ac_try;; 15860 *) ac_try_echo=$ac_try;;
16376 esac 15861 esac
16377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16378 $as_echo "$ac_try_echo") >&5
16379 (eval "$ac_link") 2>conftest.er1 15863 (eval "$ac_link") 2>conftest.er1
16380 ac_status=$? 15864 ac_status=$?
16381 grep -v '^ *+' conftest.er1 >conftest.err 15865 grep -v '^ *+' conftest.er1 >conftest.err
16382 rm -f conftest.er1 15866 rm -f conftest.er1
16383 cat conftest.err >&5 15867 cat conftest.err >&5
16384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && { 15869 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" || 15870 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err 15871 test ! -s conftest.err
16388 } && test -s conftest$ac_exeext && { 15872 } && test -s conftest$ac_exeext &&
16389 test "$cross_compiling" = yes || 15873 $as_test_x conftest$ac_exeext; then
16390 $as_test_x conftest$ac_exeext
16391 }; then
16392 ac_cv_lib_lockfile_maillock=yes 15874 ac_cv_lib_lockfile_maillock=yes
16393 else 15875 else
16394 $as_echo "$as_me: failed program was:" >&5 15876 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5 15877 sed 's/^/| /' conftest.$ac_ext >&5
16396 15878
16397 ac_cv_lib_lockfile_maillock=no 15879 ac_cv_lib_lockfile_maillock=no
16398 fi 15880 fi
16399 15881
16400 rm -rf conftest.dSYM
16401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16402 conftest$ac_exeext conftest.$ac_ext 15883 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS 15884 LIBS=$ac_check_lib_save_LIBS
16404 fi 15885 fi
16405 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 15886 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
16406 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 15887 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; }
16407 if test $ac_cv_lib_lockfile_maillock = yes; then 15888 if test $ac_cv_lib_lockfile_maillock = yes; then
16408 cat >>confdefs.h <<_ACEOF 15889 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_LIBLOCKFILE 1 15890 #define HAVE_LIBLOCKFILE 1
16410 _ACEOF 15891 _ACEOF
16411 15892
16417 # locking (e.g. Debian). If we couldn't link against liblockfile 15898 # locking (e.g. Debian). If we couldn't link against liblockfile
16418 # (no liblockfile.a installed), ensure that we don't need to. 15899 # (no liblockfile.a installed), ensure that we don't need to.
16419 if test "$ac_cv_lib_lockfile_maillock" = no; then 15900 if test "$ac_cv_lib_lockfile_maillock" = no; then
16420 # Extract the first word of "liblockfile.so", so it can be a program name with args. 15901 # Extract the first word of "liblockfile.so", so it can be a program name with args.
16421 set dummy liblockfile.so; ac_word=$2 15902 set dummy liblockfile.so; ac_word=$2
16422 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 15903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16423 $as_echo_n "checking for $ac_word... " >&6; } 15904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16424 if test "${ac_cv_prog_liblockfile+set}" = set; then 15905 if test "${ac_cv_prog_liblockfile+set}" = set; then
16425 $as_echo_n "(cached) " >&6 15906 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 else 15907 else
16427 if test -n "$liblockfile"; then 15908 if test -n "$liblockfile"; then
16428 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 15909 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
16429 else 15910 else
16430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16434 IFS=$as_save_IFS 15915 IFS=$as_save_IFS
16435 test -z "$as_dir" && as_dir=. 15916 test -z "$as_dir" && as_dir=.
16436 for ac_exec_ext in '' $ac_executable_extensions; do 15917 for ac_exec_ext in '' $ac_executable_extensions; do
16437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 15918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16438 ac_cv_prog_liblockfile="yes" 15919 ac_cv_prog_liblockfile="yes"
16439 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16440 break 2 15921 break 2
16441 fi 15922 fi
16442 done 15923 done
16443 done 15924 done
16444 IFS=$as_save_IFS 15925 IFS=$as_save_IFS
16446 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 15927 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
16447 fi 15928 fi
16448 fi 15929 fi
16449 liblockfile=$ac_cv_prog_liblockfile 15930 liblockfile=$ac_cv_prog_liblockfile
16450 if test -n "$liblockfile"; then 15931 if test -n "$liblockfile"; then
16451 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 15932 { echo "$as_me:$LINENO: result: $liblockfile" >&5
16452 $as_echo "$liblockfile" >&6; } 15933 echo "${ECHO_T}$liblockfile" >&6; }
16453 else 15934 else
16454 { $as_echo "$as_me:$LINENO: result: no" >&5 15935 { echo "$as_me:$LINENO: result: no" >&5
16455 $as_echo "no" >&6; } 15936 echo "${ECHO_T}no" >&6; }
16456 fi 15937 fi
16457 15938
16458 15939
16459 if test $ac_cv_prog_liblockfile = yes; then 15940 if test $ac_cv_prog_liblockfile = yes; then
16460 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 15941 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
16461 This probably means that movemail could lose mail. 15942 This probably means that movemail could lose mail.
16462 There may be a \`development' package to install containing liblockfile." >&5 15943 There may be a \`development' package to install containing liblockfile." >&5
16463 $as_echo "$as_me: error: Shared liblockfile found but can't link against it. 15944 echo "$as_me: error: Shared liblockfile found but can't link against it.
16464 This probably means that movemail could lose mail. 15945 This probably means that movemail could lose mail.
16465 There may be a \`development' package to install containing liblockfile." >&2;} 15946 There may be a \`development' package to install containing liblockfile." >&2;}
16466 { (exit 1); exit 1; }; } 15947 { (exit 1); exit 1; }; }
16467 else : 15948 else :
16468 fi 15949 fi
16469 fi 15950 fi
16470 15951
16471 for ac_func in touchlock 15952 for ac_func in touchlock
16472 do 15953 do
16473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16474 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16475 $as_echo_n "checking for $ac_func... " >&6; } 15956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16477 $as_echo_n "(cached) " >&6 15958 echo $ECHO_N "(cached) $ECHO_C" >&6
16478 else 15959 else
16479 cat >conftest.$ac_ext <<_ACEOF 15960 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */ 15961 /* confdefs.h. */
16481 _ACEOF 15962 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext 15963 cat confdefs.h >>conftest.$ac_ext
16525 if { (ac_try="$ac_link" 16006 if { (ac_try="$ac_link"
16526 case "(($ac_try" in 16007 case "(($ac_try" in
16527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16528 *) ac_try_echo=$ac_try;; 16009 *) ac_try_echo=$ac_try;;
16529 esac 16010 esac
16530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16531 $as_echo "$ac_try_echo") >&5
16532 (eval "$ac_link") 2>conftest.er1 16012 (eval "$ac_link") 2>conftest.er1
16533 ac_status=$? 16013 ac_status=$?
16534 grep -v '^ *+' conftest.er1 >conftest.err 16014 grep -v '^ *+' conftest.er1 >conftest.err
16535 rm -f conftest.er1 16015 rm -f conftest.er1
16536 cat conftest.err >&5 16016 cat conftest.err >&5
16537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } && { 16018 (exit $ac_status); } && {
16539 test -z "$ac_c_werror_flag" || 16019 test -z "$ac_c_werror_flag" ||
16540 test ! -s conftest.err 16020 test ! -s conftest.err
16541 } && test -s conftest$ac_exeext && { 16021 } && test -s conftest$ac_exeext &&
16542 test "$cross_compiling" = yes || 16022 $as_test_x conftest$ac_exeext; then
16543 $as_test_x conftest$ac_exeext
16544 }; then
16545 eval "$as_ac_var=yes" 16023 eval "$as_ac_var=yes"
16546 else 16024 else
16547 $as_echo "$as_me: failed program was:" >&5 16025 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5 16026 sed 's/^/| /' conftest.$ac_ext >&5
16549 16027
16550 eval "$as_ac_var=no" 16028 eval "$as_ac_var=no"
16551 fi 16029 fi
16552 16030
16553 rm -rf conftest.dSYM
16554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16555 conftest$ac_exeext conftest.$ac_ext 16032 conftest$ac_exeext conftest.$ac_ext
16556 fi 16033 fi
16557 ac_res=`eval 'as_val=${'$as_ac_var'} 16034 ac_res=`eval echo '${'$as_ac_var'}'`
16558 $as_echo "$as_val"'` 16035 { echo "$as_me:$LINENO: result: $ac_res" >&5
16559 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16036 echo "${ECHO_T}$ac_res" >&6; }
16560 $as_echo "$ac_res" >&6; } 16037 if test `eval echo '${'$as_ac_var'}'` = yes; then
16561 if test `eval 'as_val=${'$as_ac_var'}
16562 $as_echo "$as_val"'` = yes; then
16563 cat >>confdefs.h <<_ACEOF 16038 cat >>confdefs.h <<_ACEOF
16564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16565 _ACEOF 16040 _ACEOF
16566 16041
16567 fi 16042 fi
16568 done 16043 done
16569 16044
16570 16045
16571 for ac_header in maillock.h 16046 for ac_header in maillock.h
16572 do 16047 do
16573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16575 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16576 $as_echo_n "checking for $ac_header... " >&6; } 16051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16578 $as_echo_n "(cached) " >&6 16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 fi 16054 fi
16580 ac_res=`eval 'as_val=${'$as_ac_Header'} 16055 ac_res=`eval echo '${'$as_ac_Header'}'`
16581 $as_echo "$as_val"'` 16056 { echo "$as_me:$LINENO: result: $ac_res" >&5
16582 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16057 echo "${ECHO_T}$ac_res" >&6; }
16583 $as_echo "$ac_res" >&6; }
16584 else 16058 else
16585 # Is the header compilable? 16059 # Is the header compilable?
16586 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16060 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16587 $as_echo_n "checking $ac_header usability... " >&6; } 16061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16588 cat >conftest.$ac_ext <<_ACEOF 16062 cat >conftest.$ac_ext <<_ACEOF
16589 /* confdefs.h. */ 16063 /* confdefs.h. */
16590 _ACEOF 16064 _ACEOF
16591 cat confdefs.h >>conftest.$ac_ext 16065 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF 16066 cat >>conftest.$ac_ext <<_ACEOF
16598 if { (ac_try="$ac_compile" 16072 if { (ac_try="$ac_compile"
16599 case "(($ac_try" in 16073 case "(($ac_try" in
16600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16601 *) ac_try_echo=$ac_try;; 16075 *) ac_try_echo=$ac_try;;
16602 esac 16076 esac
16603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16604 $as_echo "$ac_try_echo") >&5
16605 (eval "$ac_compile") 2>conftest.er1 16078 (eval "$ac_compile") 2>conftest.er1
16606 ac_status=$? 16079 ac_status=$?
16607 grep -v '^ *+' conftest.er1 >conftest.err 16080 grep -v '^ *+' conftest.er1 >conftest.err
16608 rm -f conftest.er1 16081 rm -f conftest.er1
16609 cat conftest.err >&5 16082 cat conftest.err >&5
16610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } && { 16084 (exit $ac_status); } && {
16612 test -z "$ac_c_werror_flag" || 16085 test -z "$ac_c_werror_flag" ||
16613 test ! -s conftest.err 16086 test ! -s conftest.err
16614 } && test -s conftest.$ac_objext; then 16087 } && test -s conftest.$ac_objext; then
16615 ac_header_compiler=yes 16088 ac_header_compiler=yes
16616 else 16089 else
16617 $as_echo "$as_me: failed program was:" >&5 16090 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.$ac_ext >&5 16091 sed 's/^/| /' conftest.$ac_ext >&5
16619 16092
16620 ac_header_compiler=no 16093 ac_header_compiler=no
16621 fi 16094 fi
16622 16095
16623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16624 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16097 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16625 $as_echo "$ac_header_compiler" >&6; } 16098 echo "${ECHO_T}$ac_header_compiler" >&6; }
16626 16099
16627 # Is the header present? 16100 # Is the header present?
16628 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16101 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16629 $as_echo_n "checking $ac_header presence... " >&6; } 16102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16630 cat >conftest.$ac_ext <<_ACEOF 16103 cat >conftest.$ac_ext <<_ACEOF
16631 /* confdefs.h. */ 16104 /* confdefs.h. */
16632 _ACEOF 16105 _ACEOF
16633 cat confdefs.h >>conftest.$ac_ext 16106 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF 16107 cat >>conftest.$ac_ext <<_ACEOF
16638 if { (ac_try="$ac_cpp conftest.$ac_ext" 16111 if { (ac_try="$ac_cpp conftest.$ac_ext"
16639 case "(($ac_try" in 16112 case "(($ac_try" in
16640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16641 *) ac_try_echo=$ac_try;; 16114 *) ac_try_echo=$ac_try;;
16642 esac 16115 esac
16643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16644 $as_echo "$ac_try_echo") >&5
16645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16646 ac_status=$? 16118 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err 16119 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1 16120 rm -f conftest.er1
16649 cat conftest.err >&5 16121 cat conftest.err >&5
16650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } >/dev/null && { 16123 (exit $ac_status); } >/dev/null && {
16652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16653 test ! -s conftest.err 16125 test ! -s conftest.err
16654 }; then 16126 }; then
16655 ac_header_preproc=yes 16127 ac_header_preproc=yes
16656 else 16128 else
16657 $as_echo "$as_me: failed program was:" >&5 16129 echo "$as_me: failed program was:" >&5
16658 sed 's/^/| /' conftest.$ac_ext >&5 16130 sed 's/^/| /' conftest.$ac_ext >&5
16659 16131
16660 ac_header_preproc=no 16132 ac_header_preproc=no
16661 fi 16133 fi
16662 16134
16663 rm -f conftest.err conftest.$ac_ext 16135 rm -f conftest.err conftest.$ac_ext
16664 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16136 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16665 $as_echo "$ac_header_preproc" >&6; } 16137 echo "${ECHO_T}$ac_header_preproc" >&6; }
16666 16138
16667 # So? What about this header? 16139 # So? What about this header?
16668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16669 yes:no: ) 16141 yes:no: )
16670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16671 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16673 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16674 ac_header_preproc=yes 16146 ac_header_preproc=yes
16675 ;; 16147 ;;
16676 no:yes:* ) 16148 no:yes:* )
16677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16678 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16680 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16682 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16684 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16687 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16688 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16689 16161
16690 ;; 16162 ;;
16691 esac 16163 esac
16692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16693 $as_echo_n "checking for $ac_header... " >&6; } 16165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16695 $as_echo_n "(cached) " >&6 16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 else 16168 else
16697 eval "$as_ac_Header=\$ac_header_preproc" 16169 eval "$as_ac_Header=\$ac_header_preproc"
16698 fi 16170 fi
16699 ac_res=`eval 'as_val=${'$as_ac_Header'} 16171 ac_res=`eval echo '${'$as_ac_Header'}'`
16700 $as_echo "$as_val"'` 16172 { echo "$as_me:$LINENO: result: $ac_res" >&5
16701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16173 echo "${ECHO_T}$ac_res" >&6; }
16702 $as_echo "$ac_res" >&6; } 16174
16703 16175 fi
16704 fi 16176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16705 if test `eval 'as_val=${'$as_ac_Header'}
16706 $as_echo "$as_val"'` = yes; then
16707 cat >>confdefs.h <<_ACEOF 16177 cat >>confdefs.h <<_ACEOF
16708 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16709 _ACEOF 16179 _ACEOF
16710 16180
16711 fi 16181 fi
16712 16182
16713 done 16183 done
16793 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 16263 sendto recvfrom getsockopt setsockopt getsockname getpeername \
16794 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 16264 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
16795 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 16265 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
16796 cfmakeraw cfsetspeed 16266 cfmakeraw cfsetspeed
16797 do 16267 do
16798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16799 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16800 $as_echo_n "checking for $ac_func... " >&6; } 16270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16802 $as_echo_n "(cached) " >&6 16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 else 16273 else
16804 cat >conftest.$ac_ext <<_ACEOF 16274 cat >conftest.$ac_ext <<_ACEOF
16805 /* confdefs.h. */ 16275 /* confdefs.h. */
16806 _ACEOF 16276 _ACEOF
16807 cat confdefs.h >>conftest.$ac_ext 16277 cat confdefs.h >>conftest.$ac_ext
16850 if { (ac_try="$ac_link" 16320 if { (ac_try="$ac_link"
16851 case "(($ac_try" in 16321 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;; 16323 *) ac_try_echo=$ac_try;;
16854 esac 16324 esac
16855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 $as_echo "$ac_try_echo") >&5
16857 (eval "$ac_link") 2>conftest.er1 16326 (eval "$ac_link") 2>conftest.er1
16858 ac_status=$? 16327 ac_status=$?
16859 grep -v '^ *+' conftest.er1 >conftest.err 16328 grep -v '^ *+' conftest.er1 >conftest.err
16860 rm -f conftest.er1 16329 rm -f conftest.er1
16861 cat conftest.err >&5 16330 cat conftest.err >&5
16862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); } && { 16332 (exit $ac_status); } && {
16864 test -z "$ac_c_werror_flag" || 16333 test -z "$ac_c_werror_flag" ||
16865 test ! -s conftest.err 16334 test ! -s conftest.err
16866 } && test -s conftest$ac_exeext && { 16335 } && test -s conftest$ac_exeext &&
16867 test "$cross_compiling" = yes || 16336 $as_test_x conftest$ac_exeext; then
16868 $as_test_x conftest$ac_exeext
16869 }; then
16870 eval "$as_ac_var=yes" 16337 eval "$as_ac_var=yes"
16871 else 16338 else
16872 $as_echo "$as_me: failed program was:" >&5 16339 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5 16340 sed 's/^/| /' conftest.$ac_ext >&5
16874 16341
16875 eval "$as_ac_var=no" 16342 eval "$as_ac_var=no"
16876 fi 16343 fi
16877 16344
16878 rm -rf conftest.dSYM
16879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16880 conftest$ac_exeext conftest.$ac_ext 16346 conftest$ac_exeext conftest.$ac_ext
16881 fi 16347 fi
16882 ac_res=`eval 'as_val=${'$as_ac_var'} 16348 ac_res=`eval echo '${'$as_ac_var'}'`
16883 $as_echo "$as_val"'` 16349 { echo "$as_me:$LINENO: result: $ac_res" >&5
16884 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16350 echo "${ECHO_T}$ac_res" >&6; }
16885 $as_echo "$ac_res" >&6; } 16351 if test `eval echo '${'$as_ac_var'}'` = yes; then
16886 if test `eval 'as_val=${'$as_ac_var'}
16887 $as_echo "$as_val"'` = yes; then
16888 cat >>confdefs.h <<_ACEOF 16352 cat >>confdefs.h <<_ACEOF
16889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16890 _ACEOF 16354 _ACEOF
16891 16355
16892 fi 16356 fi
16893 done 16357 done
16894 16358
16895 16359
16896 16360
16897 for ac_header in sys/un.h 16361 for ac_header in sys/un.h
16898 do 16362 do
16899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16901 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16902 $as_echo_n "checking for $ac_header... " >&6; } 16366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16904 $as_echo_n "(cached) " >&6 16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16905 fi 16369 fi
16906 ac_res=`eval 'as_val=${'$as_ac_Header'} 16370 ac_res=`eval echo '${'$as_ac_Header'}'`
16907 $as_echo "$as_val"'` 16371 { echo "$as_me:$LINENO: result: $ac_res" >&5
16908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16372 echo "${ECHO_T}$ac_res" >&6; }
16909 $as_echo "$ac_res" >&6; }
16910 else 16373 else
16911 # Is the header compilable? 16374 # Is the header compilable?
16912 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16375 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16913 $as_echo_n "checking $ac_header usability... " >&6; } 16376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16914 cat >conftest.$ac_ext <<_ACEOF 16377 cat >conftest.$ac_ext <<_ACEOF
16915 /* confdefs.h. */ 16378 /* confdefs.h. */
16916 _ACEOF 16379 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext 16380 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF 16381 cat >>conftest.$ac_ext <<_ACEOF
16924 if { (ac_try="$ac_compile" 16387 if { (ac_try="$ac_compile"
16925 case "(($ac_try" in 16388 case "(($ac_try" in
16926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16927 *) ac_try_echo=$ac_try;; 16390 *) ac_try_echo=$ac_try;;
16928 esac 16391 esac
16929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 $as_echo "$ac_try_echo") >&5
16931 (eval "$ac_compile") 2>conftest.er1 16393 (eval "$ac_compile") 2>conftest.er1
16932 ac_status=$? 16394 ac_status=$?
16933 grep -v '^ *+' conftest.er1 >conftest.err 16395 grep -v '^ *+' conftest.er1 >conftest.err
16934 rm -f conftest.er1 16396 rm -f conftest.er1
16935 cat conftest.err >&5 16397 cat conftest.err >&5
16936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } && { 16399 (exit $ac_status); } && {
16938 test -z "$ac_c_werror_flag" || 16400 test -z "$ac_c_werror_flag" ||
16939 test ! -s conftest.err 16401 test ! -s conftest.err
16940 } && test -s conftest.$ac_objext; then 16402 } && test -s conftest.$ac_objext; then
16941 ac_header_compiler=yes 16403 ac_header_compiler=yes
16942 else 16404 else
16943 $as_echo "$as_me: failed program was:" >&5 16405 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5 16406 sed 's/^/| /' conftest.$ac_ext >&5
16945 16407
16946 ac_header_compiler=no 16408 ac_header_compiler=no
16947 fi 16409 fi
16948 16410
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16412 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16951 $as_echo "$ac_header_compiler" >&6; } 16413 echo "${ECHO_T}$ac_header_compiler" >&6; }
16952 16414
16953 # Is the header present? 16415 # Is the header present?
16954 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16416 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16955 $as_echo_n "checking $ac_header presence... " >&6; } 16417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16956 cat >conftest.$ac_ext <<_ACEOF 16418 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */ 16419 /* confdefs.h. */
16958 _ACEOF 16420 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext 16421 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF 16422 cat >>conftest.$ac_ext <<_ACEOF
16964 if { (ac_try="$ac_cpp conftest.$ac_ext" 16426 if { (ac_try="$ac_cpp conftest.$ac_ext"
16965 case "(($ac_try" in 16427 case "(($ac_try" in
16966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16967 *) ac_try_echo=$ac_try;; 16429 *) ac_try_echo=$ac_try;;
16968 esac 16430 esac
16969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 $as_echo "$ac_try_echo") >&5
16971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16972 ac_status=$? 16433 ac_status=$?
16973 grep -v '^ *+' conftest.er1 >conftest.err 16434 grep -v '^ *+' conftest.er1 >conftest.err
16974 rm -f conftest.er1 16435 rm -f conftest.er1
16975 cat conftest.err >&5 16436 cat conftest.err >&5
16976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } >/dev/null && { 16438 (exit $ac_status); } >/dev/null && {
16978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16979 test ! -s conftest.err 16440 test ! -s conftest.err
16980 }; then 16441 }; then
16981 ac_header_preproc=yes 16442 ac_header_preproc=yes
16982 else 16443 else
16983 $as_echo "$as_me: failed program was:" >&5 16444 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5 16445 sed 's/^/| /' conftest.$ac_ext >&5
16985 16446
16986 ac_header_preproc=no 16447 ac_header_preproc=no
16987 fi 16448 fi
16988 16449
16989 rm -f conftest.err conftest.$ac_ext 16450 rm -f conftest.err conftest.$ac_ext
16990 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16451 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16991 $as_echo "$ac_header_preproc" >&6; } 16452 echo "${ECHO_T}$ac_header_preproc" >&6; }
16992 16453
16993 # So? What about this header? 16454 # So? What about this header?
16994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16995 yes:no: ) 16456 yes:no: )
16996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16997 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16999 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17000 ac_header_preproc=yes 16461 ac_header_preproc=yes
17001 ;; 16462 ;;
17002 no:yes:* ) 16463 no:yes:* )
17003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17004 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17006 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17008 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17010 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17012 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17014 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17015 16476
17016 ;; 16477 ;;
17017 esac 16478 esac
17018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17019 $as_echo_n "checking for $ac_header... " >&6; } 16480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17021 $as_echo_n "(cached) " >&6 16482 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 else 16483 else
17023 eval "$as_ac_Header=\$ac_header_preproc" 16484 eval "$as_ac_Header=\$ac_header_preproc"
17024 fi 16485 fi
17025 ac_res=`eval 'as_val=${'$as_ac_Header'} 16486 ac_res=`eval echo '${'$as_ac_Header'}'`
17026 $as_echo "$as_val"'` 16487 { echo "$as_me:$LINENO: result: $ac_res" >&5
17027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16488 echo "${ECHO_T}$ac_res" >&6; }
17028 $as_echo "$ac_res" >&6; } 16489
17029 16490 fi
17030 fi 16491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17031 if test `eval 'as_val=${'$as_ac_Header'}
17032 $as_echo "$as_val"'` = yes; then
17033 cat >>confdefs.h <<_ACEOF 16492 cat >>confdefs.h <<_ACEOF
17034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17035 _ACEOF 16494 _ACEOF
17036 16495
17037 fi 16496 fi
17038 16497
17039 done 16498 done
17043 16502
17044 16503
17045 16504
17046 for ac_header in $ac_header_list 16505 for ac_header in $ac_header_list
17047 do 16506 do
17048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17050 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17051 $as_echo_n "checking for $ac_header... " >&6; } 16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17053 $as_echo_n "(cached) " >&6 16512 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 fi 16513 fi
17055 ac_res=`eval 'as_val=${'$as_ac_Header'} 16514 ac_res=`eval echo '${'$as_ac_Header'}'`
17056 $as_echo "$as_val"'` 16515 { echo "$as_me:$LINENO: result: $ac_res" >&5
17057 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16516 echo "${ECHO_T}$ac_res" >&6; }
17058 $as_echo "$ac_res" >&6; }
17059 else 16517 else
17060 # Is the header compilable? 16518 # Is the header compilable?
17061 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17062 $as_echo_n "checking $ac_header usability... " >&6; } 16520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17063 cat >conftest.$ac_ext <<_ACEOF 16521 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */ 16522 /* confdefs.h. */
17065 _ACEOF 16523 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext 16524 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF 16525 cat >>conftest.$ac_ext <<_ACEOF
17073 if { (ac_try="$ac_compile" 16531 if { (ac_try="$ac_compile"
17074 case "(($ac_try" in 16532 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;; 16534 *) ac_try_echo=$ac_try;;
17077 esac 16535 esac
17078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 $as_echo "$ac_try_echo") >&5
17080 (eval "$ac_compile") 2>conftest.er1 16537 (eval "$ac_compile") 2>conftest.er1
17081 ac_status=$? 16538 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err 16539 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1 16540 rm -f conftest.er1
17084 cat conftest.err >&5 16541 cat conftest.err >&5
17085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } && { 16543 (exit $ac_status); } && {
17087 test -z "$ac_c_werror_flag" || 16544 test -z "$ac_c_werror_flag" ||
17088 test ! -s conftest.err 16545 test ! -s conftest.err
17089 } && test -s conftest.$ac_objext; then 16546 } && test -s conftest.$ac_objext; then
17090 ac_header_compiler=yes 16547 ac_header_compiler=yes
17091 else 16548 else
17092 $as_echo "$as_me: failed program was:" >&5 16549 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5 16550 sed 's/^/| /' conftest.$ac_ext >&5
17094 16551
17095 ac_header_compiler=no 16552 ac_header_compiler=no
17096 fi 16553 fi
17097 16554
17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16556 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17100 $as_echo "$ac_header_compiler" >&6; } 16557 echo "${ECHO_T}$ac_header_compiler" >&6; }
17101 16558
17102 # Is the header present? 16559 # Is the header present?
17103 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16560 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17104 $as_echo_n "checking $ac_header presence... " >&6; } 16561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17105 cat >conftest.$ac_ext <<_ACEOF 16562 cat >conftest.$ac_ext <<_ACEOF
17106 /* confdefs.h. */ 16563 /* confdefs.h. */
17107 _ACEOF 16564 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext 16565 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF 16566 cat >>conftest.$ac_ext <<_ACEOF
17113 if { (ac_try="$ac_cpp conftest.$ac_ext" 16570 if { (ac_try="$ac_cpp conftest.$ac_ext"
17114 case "(($ac_try" in 16571 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;; 16573 *) ac_try_echo=$ac_try;;
17117 esac 16574 esac
17118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 $as_echo "$ac_try_echo") >&5
17120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17121 ac_status=$? 16577 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err 16578 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1 16579 rm -f conftest.er1
17124 cat conftest.err >&5 16580 cat conftest.err >&5
17125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev/null && { 16582 (exit $ac_status); } >/dev/null && {
17127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17128 test ! -s conftest.err 16584 test ! -s conftest.err
17129 }; then 16585 }; then
17130 ac_header_preproc=yes 16586 ac_header_preproc=yes
17131 else 16587 else
17132 $as_echo "$as_me: failed program was:" >&5 16588 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5 16589 sed 's/^/| /' conftest.$ac_ext >&5
17134 16590
17135 ac_header_preproc=no 16591 ac_header_preproc=no
17136 fi 16592 fi
17137 16593
17138 rm -f conftest.err conftest.$ac_ext 16594 rm -f conftest.err conftest.$ac_ext
17139 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16595 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17140 $as_echo "$ac_header_preproc" >&6; } 16596 echo "${ECHO_T}$ac_header_preproc" >&6; }
17141 16597
17142 # So? What about this header? 16598 # So? What about this header?
17143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17144 yes:no: ) 16600 yes:no: )
17145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17146 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17147 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17149 ac_header_preproc=yes 16605 ac_header_preproc=yes
17150 ;; 16606 ;;
17151 no:yes:* ) 16607 no:yes:* )
17152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17153 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17155 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17157 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17159 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17161 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17163 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17164 16620
17165 ;; 16621 ;;
17166 esac 16622 esac
17167 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17168 $as_echo_n "checking for $ac_header... " >&6; } 16624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16625 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17170 $as_echo_n "(cached) " >&6 16626 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 else 16627 else
17172 eval "$as_ac_Header=\$ac_header_preproc" 16628 eval "$as_ac_Header=\$ac_header_preproc"
17173 fi 16629 fi
17174 ac_res=`eval 'as_val=${'$as_ac_Header'} 16630 ac_res=`eval echo '${'$as_ac_Header'}'`
17175 $as_echo "$as_val"'` 16631 { echo "$as_me:$LINENO: result: $ac_res" >&5
17176 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16632 echo "${ECHO_T}$ac_res" >&6; }
17177 $as_echo "$ac_res" >&6; } 16633
17178 16634 fi
17179 fi 16635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17180 if test `eval 'as_val=${'$as_ac_Header'}
17181 $as_echo "$as_val"'` = yes; then
17182 cat >>confdefs.h <<_ACEOF 16636 cat >>confdefs.h <<_ACEOF
17183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17184 _ACEOF 16638 _ACEOF
17185 16639
17186 fi 16640 fi
17187 16641
17188 done 16642 done
17195 16649
17196 16650
17197 16651
17198 for ac_func in $ac_func_list 16652 for ac_func in $ac_func_list
17199 do 16653 do
17200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17201 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17202 $as_echo_n "checking for $ac_func... " >&6; } 16656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17204 $as_echo_n "(cached) " >&6 16658 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else 16659 else
17206 cat >conftest.$ac_ext <<_ACEOF 16660 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */ 16661 /* confdefs.h. */
17208 _ACEOF 16662 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext 16663 cat confdefs.h >>conftest.$ac_ext
17252 if { (ac_try="$ac_link" 16706 if { (ac_try="$ac_link"
17253 case "(($ac_try" in 16707 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;; 16709 *) ac_try_echo=$ac_try;;
17256 esac 16710 esac
17257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 $as_echo "$ac_try_echo") >&5
17259 (eval "$ac_link") 2>conftest.er1 16712 (eval "$ac_link") 2>conftest.er1
17260 ac_status=$? 16713 ac_status=$?
17261 grep -v '^ *+' conftest.er1 >conftest.err 16714 grep -v '^ *+' conftest.er1 >conftest.err
17262 rm -f conftest.er1 16715 rm -f conftest.er1
17263 cat conftest.err >&5 16716 cat conftest.err >&5
17264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } && { 16718 (exit $ac_status); } && {
17266 test -z "$ac_c_werror_flag" || 16719 test -z "$ac_c_werror_flag" ||
17267 test ! -s conftest.err 16720 test ! -s conftest.err
17268 } && test -s conftest$ac_exeext && { 16721 } && test -s conftest$ac_exeext &&
17269 test "$cross_compiling" = yes || 16722 $as_test_x conftest$ac_exeext; then
17270 $as_test_x conftest$ac_exeext
17271 }; then
17272 eval "$as_ac_var=yes" 16723 eval "$as_ac_var=yes"
17273 else 16724 else
17274 $as_echo "$as_me: failed program was:" >&5 16725 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5 16726 sed 's/^/| /' conftest.$ac_ext >&5
17276 16727
17277 eval "$as_ac_var=no" 16728 eval "$as_ac_var=no"
17278 fi 16729 fi
17279 16730
17280 rm -rf conftest.dSYM
17281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17282 conftest$ac_exeext conftest.$ac_ext 16732 conftest$ac_exeext conftest.$ac_ext
17283 fi 16733 fi
17284 ac_res=`eval 'as_val=${'$as_ac_var'} 16734 ac_res=`eval echo '${'$as_ac_var'}'`
17285 $as_echo "$as_val"'` 16735 { echo "$as_me:$LINENO: result: $ac_res" >&5
17286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16736 echo "${ECHO_T}$ac_res" >&6; }
17287 $as_echo "$ac_res" >&6; } 16737 if test `eval echo '${'$as_ac_var'}'` = yes; then
17288 if test `eval 'as_val=${'$as_ac_var'}
17289 $as_echo "$as_val"'` = yes; then
17290 cat >>confdefs.h <<_ACEOF 16738 cat >>confdefs.h <<_ACEOF
17291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17292 _ACEOF 16740 _ACEOF
17293 16741
17294 fi 16742 fi
17295 done 16743 done
17296 16744
17308 16756
17309 16757
17310 16758
17311 16759
17312 16760
17313 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 16761 { echo "$as_me:$LINENO: checking for working mktime" >&5
17314 $as_echo_n "checking for working mktime... " >&6; } 16762 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
17315 if test "${ac_cv_func_working_mktime+set}" = set; then 16763 if test "${ac_cv_func_working_mktime+set}" = set; then
17316 $as_echo_n "(cached) " >&6 16764 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else 16765 else
17318 if test "$cross_compiling" = yes; then 16766 if test "$cross_compiling" = yes; then
17319 ac_cv_func_working_mktime=no 16767 ac_cv_func_working_mktime=no
17320 else 16768 else
17321 cat >conftest.$ac_ext <<_ACEOF 16769 cat >conftest.$ac_ext <<_ACEOF
17523 if { (ac_try="$ac_link" 16971 if { (ac_try="$ac_link"
17524 case "(($ac_try" in 16972 case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;; 16974 *) ac_try_echo=$ac_try;;
17527 esac 16975 esac
17528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17529 $as_echo "$ac_try_echo") >&5
17530 (eval "$ac_link") 2>&5 16977 (eval "$ac_link") 2>&5
17531 ac_status=$? 16978 ac_status=$?
17532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17534 { (case "(($ac_try" in 16981 { (case "(($ac_try" in
17535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17536 *) ac_try_echo=$ac_try;; 16983 *) ac_try_echo=$ac_try;;
17537 esac 16984 esac
17538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17539 $as_echo "$ac_try_echo") >&5
17540 (eval "$ac_try") 2>&5 16986 (eval "$ac_try") 2>&5
17541 ac_status=$? 16987 ac_status=$?
17542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then 16989 (exit $ac_status); }; }; then
17544 ac_cv_func_working_mktime=yes 16990 ac_cv_func_working_mktime=yes
17545 else 16991 else
17546 $as_echo "$as_me: program exited with status $ac_status" >&5 16992 echo "$as_me: program exited with status $ac_status" >&5
17547 $as_echo "$as_me: failed program was:" >&5 16993 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5 16994 sed 's/^/| /' conftest.$ac_ext >&5
17549 16995
17550 ( exit $ac_status ) 16996 ( exit $ac_status )
17551 ac_cv_func_working_mktime=no 16997 ac_cv_func_working_mktime=no
17552 fi 16998 fi
17553 rm -rf conftest.dSYM
17554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17555 fi 17000 fi
17556 17001
17557 17002
17558 fi 17003 fi
17559 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 17004 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
17560 $as_echo "$ac_cv_func_working_mktime" >&6; } 17005 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
17561 if test $ac_cv_func_working_mktime = no; then 17006 if test $ac_cv_func_working_mktime = no; then
17562 case " $LIBOBJS " in 17007 case " $LIBOBJS " in
17563 *" mktime.$ac_objext "* ) ;; 17008 *" mktime.$ac_objext "* ) ;;
17564 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 17009 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
17565 ;; 17010 ;;
17577 17022
17578 ac_have_func=no # yes means we've found a way to get the load average. 17023 ac_have_func=no # yes means we've found a way to get the load average.
17579 17024
17580 # Make sure getloadavg.c is where it belongs, at configure-time. 17025 # Make sure getloadavg.c is where it belongs, at configure-time.
17581 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 17026 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
17582 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 17027 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
17583 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} 17028 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
17584 { (exit 1); exit 1; }; } 17029 { (exit 1); exit 1; }; }
17585 17030
17586 ac_save_LIBS=$LIBS 17031 ac_save_LIBS=$LIBS
17587 17032
17588 # Check for getloadavg, but be sure not to touch the cache variable. 17033 # Check for getloadavg, but be sure not to touch the cache variable.
17589 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 17034 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5
17590 $as_echo_n "checking for getloadavg... " >&6; } 17035 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; }
17591 if test "${ac_cv_func_getloadavg+set}" = set; then 17036 if test "${ac_cv_func_getloadavg+set}" = set; then
17592 $as_echo_n "(cached) " >&6 17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17593 else 17038 else
17594 cat >conftest.$ac_ext <<_ACEOF 17039 cat >conftest.$ac_ext <<_ACEOF
17595 /* confdefs.h. */ 17040 /* confdefs.h. */
17596 _ACEOF 17041 _ACEOF
17597 cat confdefs.h >>conftest.$ac_ext 17042 cat confdefs.h >>conftest.$ac_ext
17640 if { (ac_try="$ac_link" 17085 if { (ac_try="$ac_link"
17641 case "(($ac_try" in 17086 case "(($ac_try" in
17642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17643 *) ac_try_echo=$ac_try;; 17088 *) ac_try_echo=$ac_try;;
17644 esac 17089 esac
17645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17646 $as_echo "$ac_try_echo") >&5
17647 (eval "$ac_link") 2>conftest.er1 17091 (eval "$ac_link") 2>conftest.er1
17648 ac_status=$? 17092 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err 17093 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1 17094 rm -f conftest.er1
17651 cat conftest.err >&5 17095 cat conftest.err >&5
17652 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } && { 17097 (exit $ac_status); } && {
17654 test -z "$ac_c_werror_flag" || 17098 test -z "$ac_c_werror_flag" ||
17655 test ! -s conftest.err 17099 test ! -s conftest.err
17656 } && test -s conftest$ac_exeext && { 17100 } && test -s conftest$ac_exeext &&
17657 test "$cross_compiling" = yes || 17101 $as_test_x conftest$ac_exeext; then
17658 $as_test_x conftest$ac_exeext
17659 }; then
17660 ac_cv_func_getloadavg=yes 17102 ac_cv_func_getloadavg=yes
17661 else 17103 else
17662 $as_echo "$as_me: failed program was:" >&5 17104 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5 17105 sed 's/^/| /' conftest.$ac_ext >&5
17664 17106
17665 ac_cv_func_getloadavg=no 17107 ac_cv_func_getloadavg=no
17666 fi 17108 fi
17667 17109
17668 rm -rf conftest.dSYM
17669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17670 conftest$ac_exeext conftest.$ac_ext 17111 conftest$ac_exeext conftest.$ac_ext
17671 fi 17112 fi
17672 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 17113 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
17673 $as_echo "$ac_cv_func_getloadavg" >&6; } 17114 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; }
17674 if test $ac_cv_func_getloadavg = yes; then 17115 if test $ac_cv_func_getloadavg = yes; then
17675 exit 0 17116 exit 0
17676 else 17117 else
17677 exit 1 17118 exit 1
17678 fi 17119 fi
17680 17121
17681 # On HPUX9, an unprivileged user can get load averages through this function. 17122 # On HPUX9, an unprivileged user can get load averages through this function.
17682 17123
17683 for ac_func in pstat_getdynamic 17124 for ac_func in pstat_getdynamic
17684 do 17125 do
17685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17686 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17687 $as_echo_n "checking for $ac_func... " >&6; } 17128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17689 $as_echo_n "(cached) " >&6 17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17690 else 17131 else
17691 cat >conftest.$ac_ext <<_ACEOF 17132 cat >conftest.$ac_ext <<_ACEOF
17692 /* confdefs.h. */ 17133 /* confdefs.h. */
17693 _ACEOF 17134 _ACEOF
17694 cat confdefs.h >>conftest.$ac_ext 17135 cat confdefs.h >>conftest.$ac_ext
17737 if { (ac_try="$ac_link" 17178 if { (ac_try="$ac_link"
17738 case "(($ac_try" in 17179 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;; 17181 *) ac_try_echo=$ac_try;;
17741 esac 17182 esac
17742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 $as_echo "$ac_try_echo") >&5
17744 (eval "$ac_link") 2>conftest.er1 17184 (eval "$ac_link") 2>conftest.er1
17745 ac_status=$? 17185 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err 17186 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1 17187 rm -f conftest.er1
17748 cat conftest.err >&5 17188 cat conftest.err >&5
17749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && { 17190 (exit $ac_status); } && {
17751 test -z "$ac_c_werror_flag" || 17191 test -z "$ac_c_werror_flag" ||
17752 test ! -s conftest.err 17192 test ! -s conftest.err
17753 } && test -s conftest$ac_exeext && { 17193 } && test -s conftest$ac_exeext &&
17754 test "$cross_compiling" = yes || 17194 $as_test_x conftest$ac_exeext; then
17755 $as_test_x conftest$ac_exeext
17756 }; then
17757 eval "$as_ac_var=yes" 17195 eval "$as_ac_var=yes"
17758 else 17196 else
17759 $as_echo "$as_me: failed program was:" >&5 17197 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5 17198 sed 's/^/| /' conftest.$ac_ext >&5
17761 17199
17762 eval "$as_ac_var=no" 17200 eval "$as_ac_var=no"
17763 fi 17201 fi
17764 17202
17765 rm -rf conftest.dSYM
17766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17767 conftest$ac_exeext conftest.$ac_ext 17204 conftest$ac_exeext conftest.$ac_ext
17768 fi 17205 fi
17769 ac_res=`eval 'as_val=${'$as_ac_var'} 17206 ac_res=`eval echo '${'$as_ac_var'}'`
17770 $as_echo "$as_val"'` 17207 { echo "$as_me:$LINENO: result: $ac_res" >&5
17771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17208 echo "${ECHO_T}$ac_res" >&6; }
17772 $as_echo "$ac_res" >&6; } 17209 if test `eval echo '${'$as_ac_var'}'` = yes; then
17773 if test `eval 'as_val=${'$as_ac_var'}
17774 $as_echo "$as_val"'` = yes; then
17775 cat >>confdefs.h <<_ACEOF 17210 cat >>confdefs.h <<_ACEOF
17776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17777 _ACEOF 17212 _ACEOF
17778 17213
17779 fi 17214 fi
17780 done 17215 done
17781 17216
17782 17217
17783 # Solaris has libkstat which does not require root. 17218 # Solaris has libkstat which does not require root.
17784 17219
17785 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 17220 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
17786 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 17221 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
17787 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 17222 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
17788 $as_echo_n "(cached) " >&6 17223 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 else 17224 else
17790 ac_check_lib_save_LIBS=$LIBS 17225 ac_check_lib_save_LIBS=$LIBS
17791 LIBS="-lkstat $LIBS" 17226 LIBS="-lkstat $LIBS"
17792 cat >conftest.$ac_ext <<_ACEOF 17227 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */ 17228 /* confdefs.h. */
17815 if { (ac_try="$ac_link" 17250 if { (ac_try="$ac_link"
17816 case "(($ac_try" in 17251 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;; 17253 *) ac_try_echo=$ac_try;;
17819 esac 17254 esac
17820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 $as_echo "$ac_try_echo") >&5
17822 (eval "$ac_link") 2>conftest.er1 17256 (eval "$ac_link") 2>conftest.er1
17823 ac_status=$? 17257 ac_status=$?
17824 grep -v '^ *+' conftest.er1 >conftest.err 17258 grep -v '^ *+' conftest.er1 >conftest.err
17825 rm -f conftest.er1 17259 rm -f conftest.er1
17826 cat conftest.err >&5 17260 cat conftest.err >&5
17827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } && { 17262 (exit $ac_status); } && {
17829 test -z "$ac_c_werror_flag" || 17263 test -z "$ac_c_werror_flag" ||
17830 test ! -s conftest.err 17264 test ! -s conftest.err
17831 } && test -s conftest$ac_exeext && { 17265 } && test -s conftest$ac_exeext &&
17832 test "$cross_compiling" = yes || 17266 $as_test_x conftest$ac_exeext; then
17833 $as_test_x conftest$ac_exeext
17834 }; then
17835 ac_cv_lib_kstat_kstat_open=yes 17267 ac_cv_lib_kstat_kstat_open=yes
17836 else 17268 else
17837 $as_echo "$as_me: failed program was:" >&5 17269 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5 17270 sed 's/^/| /' conftest.$ac_ext >&5
17839 17271
17840 ac_cv_lib_kstat_kstat_open=no 17272 ac_cv_lib_kstat_kstat_open=no
17841 fi 17273 fi
17842 17274
17843 rm -rf conftest.dSYM
17844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17845 conftest$ac_exeext conftest.$ac_ext 17276 conftest$ac_exeext conftest.$ac_ext
17846 LIBS=$ac_check_lib_save_LIBS 17277 LIBS=$ac_check_lib_save_LIBS
17847 fi 17278 fi
17848 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 17279 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
17849 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 17280 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
17850 if test $ac_cv_lib_kstat_kstat_open = yes; then 17281 if test $ac_cv_lib_kstat_kstat_open = yes; then
17851 cat >>confdefs.h <<_ACEOF 17282 cat >>confdefs.h <<_ACEOF
17852 #define HAVE_LIBKSTAT 1 17283 #define HAVE_LIBKSTAT 1
17853 _ACEOF 17284 _ACEOF
17854 17285
17861 # Some systems with -lutil have (and need) -lkvm as well, some do not. 17292 # Some systems with -lutil have (and need) -lkvm as well, some do not.
17862 # On Solaris, -lkvm requires nlist from -lelf, so check that first 17293 # On Solaris, -lkvm requires nlist from -lelf, so check that first
17863 # to get the right answer into the cache. 17294 # to get the right answer into the cache.
17864 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 17295 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
17865 if test $ac_have_func = no; then 17296 if test $ac_have_func = no; then
17866 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 17297 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
17867 $as_echo_n "checking for elf_begin in -lelf... " >&6; } 17298 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
17868 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 17299 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
17869 $as_echo_n "(cached) " >&6 17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 else 17301 else
17871 ac_check_lib_save_LIBS=$LIBS 17302 ac_check_lib_save_LIBS=$LIBS
17872 LIBS="-lelf $LIBS" 17303 LIBS="-lelf $LIBS"
17873 cat >conftest.$ac_ext <<_ACEOF 17304 cat >conftest.$ac_ext <<_ACEOF
17874 /* confdefs.h. */ 17305 /* confdefs.h. */
17896 if { (ac_try="$ac_link" 17327 if { (ac_try="$ac_link"
17897 case "(($ac_try" in 17328 case "(($ac_try" in
17898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17899 *) ac_try_echo=$ac_try;; 17330 *) ac_try_echo=$ac_try;;
17900 esac 17331 esac
17901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902 $as_echo "$ac_try_echo") >&5
17903 (eval "$ac_link") 2>conftest.er1 17333 (eval "$ac_link") 2>conftest.er1
17904 ac_status=$? 17334 ac_status=$?
17905 grep -v '^ *+' conftest.er1 >conftest.err 17335 grep -v '^ *+' conftest.er1 >conftest.err
17906 rm -f conftest.er1 17336 rm -f conftest.er1
17907 cat conftest.err >&5 17337 cat conftest.err >&5
17908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } && { 17339 (exit $ac_status); } && {
17910 test -z "$ac_c_werror_flag" || 17340 test -z "$ac_c_werror_flag" ||
17911 test ! -s conftest.err 17341 test ! -s conftest.err
17912 } && test -s conftest$ac_exeext && { 17342 } && test -s conftest$ac_exeext &&
17913 test "$cross_compiling" = yes || 17343 $as_test_x conftest$ac_exeext; then
17914 $as_test_x conftest$ac_exeext
17915 }; then
17916 ac_cv_lib_elf_elf_begin=yes 17344 ac_cv_lib_elf_elf_begin=yes
17917 else 17345 else
17918 $as_echo "$as_me: failed program was:" >&5 17346 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5 17347 sed 's/^/| /' conftest.$ac_ext >&5
17920 17348
17921 ac_cv_lib_elf_elf_begin=no 17349 ac_cv_lib_elf_elf_begin=no
17922 fi 17350 fi
17923 17351
17924 rm -rf conftest.dSYM
17925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17926 conftest$ac_exeext conftest.$ac_ext 17353 conftest$ac_exeext conftest.$ac_ext
17927 LIBS=$ac_check_lib_save_LIBS 17354 LIBS=$ac_check_lib_save_LIBS
17928 fi 17355 fi
17929 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 17356 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
17930 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 17357 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
17931 if test $ac_cv_lib_elf_elf_begin = yes; then 17358 if test $ac_cv_lib_elf_elf_begin = yes; then
17932 LIBS="-lelf $LIBS" 17359 LIBS="-lelf $LIBS"
17933 fi 17360 fi
17934 17361
17935 fi 17362 fi
17936 if test $ac_have_func = no; then 17363 if test $ac_have_func = no; then
17937 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 17364 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
17938 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } 17365 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
17939 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 17366 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
17940 $as_echo_n "(cached) " >&6 17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 else 17368 else
17942 ac_check_lib_save_LIBS=$LIBS 17369 ac_check_lib_save_LIBS=$LIBS
17943 LIBS="-lkvm $LIBS" 17370 LIBS="-lkvm $LIBS"
17944 cat >conftest.$ac_ext <<_ACEOF 17371 cat >conftest.$ac_ext <<_ACEOF
17945 /* confdefs.h. */ 17372 /* confdefs.h. */
17967 if { (ac_try="$ac_link" 17394 if { (ac_try="$ac_link"
17968 case "(($ac_try" in 17395 case "(($ac_try" in
17969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17970 *) ac_try_echo=$ac_try;; 17397 *) ac_try_echo=$ac_try;;
17971 esac 17398 esac
17972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17973 $as_echo "$ac_try_echo") >&5
17974 (eval "$ac_link") 2>conftest.er1 17400 (eval "$ac_link") 2>conftest.er1
17975 ac_status=$? 17401 ac_status=$?
17976 grep -v '^ *+' conftest.er1 >conftest.err 17402 grep -v '^ *+' conftest.er1 >conftest.err
17977 rm -f conftest.er1 17403 rm -f conftest.er1
17978 cat conftest.err >&5 17404 cat conftest.err >&5
17979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } && { 17406 (exit $ac_status); } && {
17981 test -z "$ac_c_werror_flag" || 17407 test -z "$ac_c_werror_flag" ||
17982 test ! -s conftest.err 17408 test ! -s conftest.err
17983 } && test -s conftest$ac_exeext && { 17409 } && test -s conftest$ac_exeext &&
17984 test "$cross_compiling" = yes || 17410 $as_test_x conftest$ac_exeext; then
17985 $as_test_x conftest$ac_exeext
17986 }; then
17987 ac_cv_lib_kvm_kvm_open=yes 17411 ac_cv_lib_kvm_kvm_open=yes
17988 else 17412 else
17989 $as_echo "$as_me: failed program was:" >&5 17413 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5 17414 sed 's/^/| /' conftest.$ac_ext >&5
17991 17415
17992 ac_cv_lib_kvm_kvm_open=no 17416 ac_cv_lib_kvm_kvm_open=no
17993 fi 17417 fi
17994 17418
17995 rm -rf conftest.dSYM
17996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17997 conftest$ac_exeext conftest.$ac_ext 17420 conftest$ac_exeext conftest.$ac_ext
17998 LIBS=$ac_check_lib_save_LIBS 17421 LIBS=$ac_check_lib_save_LIBS
17999 fi 17422 fi
18000 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 17423 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
18001 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 17424 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
18002 if test $ac_cv_lib_kvm_kvm_open = yes; then 17425 if test $ac_cv_lib_kvm_kvm_open = yes; then
18003 LIBS="-lkvm $LIBS" 17426 LIBS="-lkvm $LIBS"
18004 fi 17427 fi
18005 17428
18006 # Check for the 4.4BSD definition of getloadavg. 17429 # Check for the 4.4BSD definition of getloadavg.
18007 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 17430 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
18008 $as_echo_n "checking for getloadavg in -lutil... " >&6; } 17431 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; }
18009 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 17432 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
18010 $as_echo_n "(cached) " >&6 17433 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 else 17434 else
18012 ac_check_lib_save_LIBS=$LIBS 17435 ac_check_lib_save_LIBS=$LIBS
18013 LIBS="-lutil $LIBS" 17436 LIBS="-lutil $LIBS"
18014 cat >conftest.$ac_ext <<_ACEOF 17437 cat >conftest.$ac_ext <<_ACEOF
18015 /* confdefs.h. */ 17438 /* confdefs.h. */
18037 if { (ac_try="$ac_link" 17460 if { (ac_try="$ac_link"
18038 case "(($ac_try" in 17461 case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18040 *) ac_try_echo=$ac_try;; 17463 *) ac_try_echo=$ac_try;;
18041 esac 17464 esac
18042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 $as_echo "$ac_try_echo") >&5
18044 (eval "$ac_link") 2>conftest.er1 17466 (eval "$ac_link") 2>conftest.er1
18045 ac_status=$? 17467 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err 17468 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1 17469 rm -f conftest.er1
18048 cat conftest.err >&5 17470 cat conftest.err >&5
18049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { 17472 (exit $ac_status); } && {
18051 test -z "$ac_c_werror_flag" || 17473 test -z "$ac_c_werror_flag" ||
18052 test ! -s conftest.err 17474 test ! -s conftest.err
18053 } && test -s conftest$ac_exeext && { 17475 } && test -s conftest$ac_exeext &&
18054 test "$cross_compiling" = yes || 17476 $as_test_x conftest$ac_exeext; then
18055 $as_test_x conftest$ac_exeext
18056 }; then
18057 ac_cv_lib_util_getloadavg=yes 17477 ac_cv_lib_util_getloadavg=yes
18058 else 17478 else
18059 $as_echo "$as_me: failed program was:" >&5 17479 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5 17480 sed 's/^/| /' conftest.$ac_ext >&5
18061 17481
18062 ac_cv_lib_util_getloadavg=no 17482 ac_cv_lib_util_getloadavg=no
18063 fi 17483 fi
18064 17484
18065 rm -rf conftest.dSYM
18066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18067 conftest$ac_exeext conftest.$ac_ext 17486 conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS 17487 LIBS=$ac_check_lib_save_LIBS
18069 fi 17488 fi
18070 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 17489 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
18071 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } 17490 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; }
18072 if test $ac_cv_lib_util_getloadavg = yes; then 17491 if test $ac_cv_lib_util_getloadavg = yes; then
18073 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 17492 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
18074 fi 17493 fi
18075 17494
18076 fi 17495 fi
18078 if test $ac_have_func = no; then 17497 if test $ac_have_func = no; then
18079 # There is a commonly available library for RS/6000 AIX. 17498 # There is a commonly available library for RS/6000 AIX.
18080 # Since it is not a standard part of AIX, it might be installed locally. 17499 # Since it is not a standard part of AIX, it might be installed locally.
18081 ac_getloadavg_LIBS=$LIBS 17500 ac_getloadavg_LIBS=$LIBS
18082 LIBS="-L/usr/local/lib $LIBS" 17501 LIBS="-L/usr/local/lib $LIBS"
18083 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 17502 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
18084 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 17503 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; }
18085 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 17504 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
18086 $as_echo_n "(cached) " >&6 17505 echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else 17506 else
18088 ac_check_lib_save_LIBS=$LIBS 17507 ac_check_lib_save_LIBS=$LIBS
18089 LIBS="-lgetloadavg $LIBS" 17508 LIBS="-lgetloadavg $LIBS"
18090 cat >conftest.$ac_ext <<_ACEOF 17509 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */ 17510 /* confdefs.h. */
18113 if { (ac_try="$ac_link" 17532 if { (ac_try="$ac_link"
18114 case "(($ac_try" in 17533 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;; 17535 *) ac_try_echo=$ac_try;;
18117 esac 17536 esac
18118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 $as_echo "$ac_try_echo") >&5
18120 (eval "$ac_link") 2>conftest.er1 17538 (eval "$ac_link") 2>conftest.er1
18121 ac_status=$? 17539 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err 17540 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1 17541 rm -f conftest.er1
18124 cat conftest.err >&5 17542 cat conftest.err >&5
18125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && { 17544 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" || 17545 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err 17546 test ! -s conftest.err
18129 } && test -s conftest$ac_exeext && { 17547 } && test -s conftest$ac_exeext &&
18130 test "$cross_compiling" = yes || 17548 $as_test_x conftest$ac_exeext; then
18131 $as_test_x conftest$ac_exeext
18132 }; then
18133 ac_cv_lib_getloadavg_getloadavg=yes 17549 ac_cv_lib_getloadavg_getloadavg=yes
18134 else 17550 else
18135 $as_echo "$as_me: failed program was:" >&5 17551 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5 17552 sed 's/^/| /' conftest.$ac_ext >&5
18137 17553
18138 ac_cv_lib_getloadavg_getloadavg=no 17554 ac_cv_lib_getloadavg_getloadavg=no
18139 fi 17555 fi
18140 17556
18141 rm -rf conftest.dSYM
18142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18143 conftest$ac_exeext conftest.$ac_ext 17558 conftest$ac_exeext conftest.$ac_ext
18144 LIBS=$ac_check_lib_save_LIBS 17559 LIBS=$ac_check_lib_save_LIBS
18145 fi 17560 fi
18146 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 17561 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
18147 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 17562 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; }
18148 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 17563 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
18149 LIBS="-lgetloadavg $LIBS" 17564 LIBS="-lgetloadavg $LIBS"
18150 else 17565 else
18151 LIBS=$ac_getloadavg_LIBS 17566 LIBS=$ac_getloadavg_LIBS
18152 fi 17567 fi
18156 # Make sure it is really in the library, if we think we found it, 17571 # Make sure it is really in the library, if we think we found it,
18157 # otherwise set up the replacement function. 17572 # otherwise set up the replacement function.
18158 17573
18159 for ac_func in getloadavg 17574 for ac_func in getloadavg
18160 do 17575 do
18161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18162 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18163 $as_echo_n "checking for $ac_func... " >&6; } 17578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18164 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18165 $as_echo_n "(cached) " >&6 17580 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 else 17581 else
18167 cat >conftest.$ac_ext <<_ACEOF 17582 cat >conftest.$ac_ext <<_ACEOF
18168 /* confdefs.h. */ 17583 /* confdefs.h. */
18169 _ACEOF 17584 _ACEOF
18170 cat confdefs.h >>conftest.$ac_ext 17585 cat confdefs.h >>conftest.$ac_ext
18213 if { (ac_try="$ac_link" 17628 if { (ac_try="$ac_link"
18214 case "(($ac_try" in 17629 case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;; 17631 *) ac_try_echo=$ac_try;;
18217 esac 17632 esac
18218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 $as_echo "$ac_try_echo") >&5
18220 (eval "$ac_link") 2>conftest.er1 17634 (eval "$ac_link") 2>conftest.er1
18221 ac_status=$? 17635 ac_status=$?
18222 grep -v '^ *+' conftest.er1 >conftest.err 17636 grep -v '^ *+' conftest.er1 >conftest.err
18223 rm -f conftest.er1 17637 rm -f conftest.er1
18224 cat conftest.err >&5 17638 cat conftest.err >&5
18225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && { 17640 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" || 17641 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err 17642 test ! -s conftest.err
18229 } && test -s conftest$ac_exeext && { 17643 } && test -s conftest$ac_exeext &&
18230 test "$cross_compiling" = yes || 17644 $as_test_x conftest$ac_exeext; then
18231 $as_test_x conftest$ac_exeext
18232 }; then
18233 eval "$as_ac_var=yes" 17645 eval "$as_ac_var=yes"
18234 else 17646 else
18235 $as_echo "$as_me: failed program was:" >&5 17647 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.$ac_ext >&5 17648 sed 's/^/| /' conftest.$ac_ext >&5
18237 17649
18238 eval "$as_ac_var=no" 17650 eval "$as_ac_var=no"
18239 fi 17651 fi
18240 17652
18241 rm -rf conftest.dSYM
18242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18243 conftest$ac_exeext conftest.$ac_ext 17654 conftest$ac_exeext conftest.$ac_ext
18244 fi 17655 fi
18245 ac_res=`eval 'as_val=${'$as_ac_var'} 17656 ac_res=`eval echo '${'$as_ac_var'}'`
18246 $as_echo "$as_val"'` 17657 { echo "$as_me:$LINENO: result: $ac_res" >&5
18247 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17658 echo "${ECHO_T}$ac_res" >&6; }
18248 $as_echo "$ac_res" >&6; } 17659 if test `eval echo '${'$as_ac_var'}'` = yes; then
18249 if test `eval 'as_val=${'$as_ac_var'}
18250 $as_echo "$as_val"'` = yes; then
18251 cat >>confdefs.h <<_ACEOF 17660 cat >>confdefs.h <<_ACEOF
18252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18253 _ACEOF 17662 _ACEOF
18254 17663
18255 else 17664 else
18256 case " $LIBOBJS " in 17665 case " $LIBOBJS " in
18257 *" getloadavg.$ac_objext "* ) ;; 17666 *" getloadavg.$ac_objext "* ) ;;
18265 _ACEOF 17674 _ACEOF
18266 17675
18267 # Figure out what our getloadavg.c needs. 17676 # Figure out what our getloadavg.c needs.
18268 ac_have_func=no 17677 ac_have_func=no
18269 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17678 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18270 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 17679 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18271 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } 17680 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
18272 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17681 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18273 $as_echo_n "(cached) " >&6 17682 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 fi 17683 fi
18275 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 17684 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18276 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } 17685 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
18277 else 17686 else
18278 # Is the header compilable? 17687 # Is the header compilable?
18279 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 17688 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
18280 $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } 17689 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; }
18281 cat >conftest.$ac_ext <<_ACEOF 17690 cat >conftest.$ac_ext <<_ACEOF
18282 /* confdefs.h. */ 17691 /* confdefs.h. */
18283 _ACEOF 17692 _ACEOF
18284 cat confdefs.h >>conftest.$ac_ext 17693 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF 17694 cat >>conftest.$ac_ext <<_ACEOF
18291 if { (ac_try="$ac_compile" 17700 if { (ac_try="$ac_compile"
18292 case "(($ac_try" in 17701 case "(($ac_try" in
18293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18294 *) ac_try_echo=$ac_try;; 17703 *) ac_try_echo=$ac_try;;
18295 esac 17704 esac
18296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18297 $as_echo "$ac_try_echo") >&5
18298 (eval "$ac_compile") 2>conftest.er1 17706 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$? 17707 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err 17708 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1 17709 rm -f conftest.er1
18302 cat conftest.err >&5 17710 cat conftest.err >&5
18303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && { 17712 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" || 17713 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err 17714 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then 17715 } && test -s conftest.$ac_objext; then
18308 ac_header_compiler=yes 17716 ac_header_compiler=yes
18309 else 17717 else
18310 $as_echo "$as_me: failed program was:" >&5 17718 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5 17719 sed 's/^/| /' conftest.$ac_ext >&5
18312 17720
18313 ac_header_compiler=no 17721 ac_header_compiler=no
18314 fi 17722 fi
18315 17723
18316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18317 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18318 $as_echo "$ac_header_compiler" >&6; } 17726 echo "${ECHO_T}$ac_header_compiler" >&6; }
18319 17727
18320 # Is the header present? 17728 # Is the header present?
18321 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 17729 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
18322 $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } 17730 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; }
18323 cat >conftest.$ac_ext <<_ACEOF 17731 cat >conftest.$ac_ext <<_ACEOF
18324 /* confdefs.h. */ 17732 /* confdefs.h. */
18325 _ACEOF 17733 _ACEOF
18326 cat confdefs.h >>conftest.$ac_ext 17734 cat confdefs.h >>conftest.$ac_ext
18327 cat >>conftest.$ac_ext <<_ACEOF 17735 cat >>conftest.$ac_ext <<_ACEOF
18331 if { (ac_try="$ac_cpp conftest.$ac_ext" 17739 if { (ac_try="$ac_cpp conftest.$ac_ext"
18332 case "(($ac_try" in 17740 case "(($ac_try" in
18333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;; 17742 *) ac_try_echo=$ac_try;;
18335 esac 17743 esac
18336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 $as_echo "$ac_try_echo") >&5
18338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18339 ac_status=$? 17746 ac_status=$?
18340 grep -v '^ *+' conftest.er1 >conftest.err 17747 grep -v '^ *+' conftest.er1 >conftest.err
18341 rm -f conftest.er1 17748 rm -f conftest.er1
18342 cat conftest.err >&5 17749 cat conftest.err >&5
18343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } >/dev/null && { 17751 (exit $ac_status); } >/dev/null && {
18345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18346 test ! -s conftest.err 17753 test ! -s conftest.err
18347 }; then 17754 }; then
18348 ac_header_preproc=yes 17755 ac_header_preproc=yes
18349 else 17756 else
18350 $as_echo "$as_me: failed program was:" >&5 17757 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5 17758 sed 's/^/| /' conftest.$ac_ext >&5
18352 17759
18353 ac_header_preproc=no 17760 ac_header_preproc=no
18354 fi 17761 fi
18355 17762
18356 rm -f conftest.err conftest.$ac_ext 17763 rm -f conftest.err conftest.$ac_ext
18357 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18358 $as_echo "$ac_header_preproc" >&6; } 17765 echo "${ECHO_T}$ac_header_preproc" >&6; }
18359 17766
18360 # So? What about this header? 17767 # So? What about this header?
18361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18362 yes:no: ) 17769 yes:no: )
18363 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 17770 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
18364 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 17771 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18365 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 17772 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
18366 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} 17773 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
18367 ac_header_preproc=yes 17774 ac_header_preproc=yes
18368 ;; 17775 ;;
18369 no:yes:* ) 17776 no:yes:* )
18370 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 17777 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
18371 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} 17778 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
18372 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 17779 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
18373 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} 17780 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
18374 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 17781 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
18375 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} 17782 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
18376 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 17783 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
18377 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} 17784 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
18378 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 17785 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
18379 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} 17786 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
18380 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 17787 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
18381 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} 17788 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
18382 17789
18383 ;; 17790 ;;
18384 esac 17791 esac
18385 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 17792 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18386 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } 17793 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
18387 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17794 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18388 $as_echo_n "(cached) " >&6 17795 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else 17796 else
18390 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc 17797 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
18391 fi 17798 fi
18392 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 17799 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18393 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } 17800 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
18394 17801
18395 fi 17802 fi
18396 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 17803 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
18397 ac_have_func=yes 17804 ac_have_func=yes
18398 17805
18399 cat >>confdefs.h <<\_ACEOF 17806 cat >>confdefs.h <<\_ACEOF
18400 #define DGUX 1 17807 #define DGUX 1
18401 _ACEOF 17808 _ACEOF
18402 17809
18403 17810
18404 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 17811 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
18405 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 17812 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; }
18406 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 17813 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
18407 $as_echo_n "(cached) " >&6 17814 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 else 17815 else
18409 ac_check_lib_save_LIBS=$LIBS 17816 ac_check_lib_save_LIBS=$LIBS
18410 LIBS="-ldgc $LIBS" 17817 LIBS="-ldgc $LIBS"
18411 cat >conftest.$ac_ext <<_ACEOF 17818 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */ 17819 /* confdefs.h. */
18434 if { (ac_try="$ac_link" 17841 if { (ac_try="$ac_link"
18435 case "(($ac_try" in 17842 case "(($ac_try" in
18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18437 *) ac_try_echo=$ac_try;; 17844 *) ac_try_echo=$ac_try;;
18438 esac 17845 esac
18439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18440 $as_echo "$ac_try_echo") >&5
18441 (eval "$ac_link") 2>conftest.er1 17847 (eval "$ac_link") 2>conftest.er1
18442 ac_status=$? 17848 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err 17849 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1 17850 rm -f conftest.er1
18445 cat conftest.err >&5 17851 cat conftest.err >&5
18446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } && { 17853 (exit $ac_status); } && {
18448 test -z "$ac_c_werror_flag" || 17854 test -z "$ac_c_werror_flag" ||
18449 test ! -s conftest.err 17855 test ! -s conftest.err
18450 } && test -s conftest$ac_exeext && { 17856 } && test -s conftest$ac_exeext &&
18451 test "$cross_compiling" = yes || 17857 $as_test_x conftest$ac_exeext; then
18452 $as_test_x conftest$ac_exeext
18453 }; then
18454 ac_cv_lib_dgc_dg_sys_info=yes 17858 ac_cv_lib_dgc_dg_sys_info=yes
18455 else 17859 else
18456 $as_echo "$as_me: failed program was:" >&5 17860 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5 17861 sed 's/^/| /' conftest.$ac_ext >&5
18458 17862
18459 ac_cv_lib_dgc_dg_sys_info=no 17863 ac_cv_lib_dgc_dg_sys_info=no
18460 fi 17864 fi
18461 17865
18462 rm -rf conftest.dSYM
18463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18464 conftest$ac_exeext conftest.$ac_ext 17867 conftest$ac_exeext conftest.$ac_ext
18465 LIBS=$ac_check_lib_save_LIBS 17868 LIBS=$ac_check_lib_save_LIBS
18466 fi 17869 fi
18467 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 17870 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
18468 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 17871 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; }
18469 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 17872 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
18470 cat >>confdefs.h <<_ACEOF 17873 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_LIBDGC 1 17874 #define HAVE_LIBDGC 1
18472 _ACEOF 17875 _ACEOF
18473 17876
18478 fi 17881 fi
18479 17882
18480 17883
18481 17884
18482 if test "${ac_cv_header_locale_h+set}" = set; then 17885 if test "${ac_cv_header_locale_h+set}" = set; then
18483 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 17886 { echo "$as_me:$LINENO: checking for locale.h" >&5
18484 $as_echo_n "checking for locale.h... " >&6; } 17887 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
18485 if test "${ac_cv_header_locale_h+set}" = set; then 17888 if test "${ac_cv_header_locale_h+set}" = set; then
18486 $as_echo_n "(cached) " >&6 17889 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 fi 17890 fi
18488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 17891 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18489 $as_echo "$ac_cv_header_locale_h" >&6; } 17892 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
18490 else 17893 else
18491 # Is the header compilable? 17894 # Is the header compilable?
18492 { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 17895 { echo "$as_me:$LINENO: checking locale.h usability" >&5
18493 $as_echo_n "checking locale.h usability... " >&6; } 17896 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
18494 cat >conftest.$ac_ext <<_ACEOF 17897 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h. */ 17898 /* confdefs.h. */
18496 _ACEOF 17899 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext 17900 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF 17901 cat >>conftest.$ac_ext <<_ACEOF
18504 if { (ac_try="$ac_compile" 17907 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in 17908 case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;; 17910 *) ac_try_echo=$ac_try;;
18508 esac 17911 esac
18509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 $as_echo "$ac_try_echo") >&5
18511 (eval "$ac_compile") 2>conftest.er1 17913 (eval "$ac_compile") 2>conftest.er1
18512 ac_status=$? 17914 ac_status=$?
18513 grep -v '^ *+' conftest.er1 >conftest.err 17915 grep -v '^ *+' conftest.er1 >conftest.err
18514 rm -f conftest.er1 17916 rm -f conftest.er1
18515 cat conftest.err >&5 17917 cat conftest.err >&5
18516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } && { 17919 (exit $ac_status); } && {
18518 test -z "$ac_c_werror_flag" || 17920 test -z "$ac_c_werror_flag" ||
18519 test ! -s conftest.err 17921 test ! -s conftest.err
18520 } && test -s conftest.$ac_objext; then 17922 } && test -s conftest.$ac_objext; then
18521 ac_header_compiler=yes 17923 ac_header_compiler=yes
18522 else 17924 else
18523 $as_echo "$as_me: failed program was:" >&5 17925 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5 17926 sed 's/^/| /' conftest.$ac_ext >&5
18525 17927
18526 ac_header_compiler=no 17928 ac_header_compiler=no
18527 fi 17929 fi
18528 17930
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18531 $as_echo "$ac_header_compiler" >&6; } 17933 echo "${ECHO_T}$ac_header_compiler" >&6; }
18532 17934
18533 # Is the header present? 17935 # Is the header present?
18534 { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 17936 { echo "$as_me:$LINENO: checking locale.h presence" >&5
18535 $as_echo_n "checking locale.h presence... " >&6; } 17937 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
18536 cat >conftest.$ac_ext <<_ACEOF 17938 cat >conftest.$ac_ext <<_ACEOF
18537 /* confdefs.h. */ 17939 /* confdefs.h. */
18538 _ACEOF 17940 _ACEOF
18539 cat confdefs.h >>conftest.$ac_ext 17941 cat confdefs.h >>conftest.$ac_ext
18540 cat >>conftest.$ac_ext <<_ACEOF 17942 cat >>conftest.$ac_ext <<_ACEOF
18544 if { (ac_try="$ac_cpp conftest.$ac_ext" 17946 if { (ac_try="$ac_cpp conftest.$ac_ext"
18545 case "(($ac_try" in 17947 case "(($ac_try" in
18546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;; 17949 *) ac_try_echo=$ac_try;;
18548 esac 17950 esac
18549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18550 $as_echo "$ac_try_echo") >&5
18551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18552 ac_status=$? 17953 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err 17954 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1 17955 rm -f conftest.er1
18555 cat conftest.err >&5 17956 cat conftest.err >&5
18556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } >/dev/null && { 17958 (exit $ac_status); } >/dev/null && {
18558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18559 test ! -s conftest.err 17960 test ! -s conftest.err
18560 }; then 17961 }; then
18561 ac_header_preproc=yes 17962 ac_header_preproc=yes
18562 else 17963 else
18563 $as_echo "$as_me: failed program was:" >&5 17964 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5 17965 sed 's/^/| /' conftest.$ac_ext >&5
18565 17966
18566 ac_header_preproc=no 17967 ac_header_preproc=no
18567 fi 17968 fi
18568 17969
18569 rm -f conftest.err conftest.$ac_ext 17970 rm -f conftest.err conftest.$ac_ext
18570 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18571 $as_echo "$ac_header_preproc" >&6; } 17972 echo "${ECHO_T}$ac_header_preproc" >&6; }
18572 17973
18573 # So? What about this header? 17974 # So? What about this header?
18574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18575 yes:no: ) 17976 yes:no: )
18576 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 17977 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
18577 $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 17978 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18578 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 17979 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
18579 $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} 17980 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
18580 ac_header_preproc=yes 17981 ac_header_preproc=yes
18581 ;; 17982 ;;
18582 no:yes:* ) 17983 no:yes:* )
18583 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 17984 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
18584 $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} 17985 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
18585 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 17986 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
18586 $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} 17987 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
18587 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 17988 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
18588 $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} 17989 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
18589 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 17990 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
18590 $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} 17991 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
18591 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 17992 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
18592 $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} 17993 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
18593 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 17994 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
18594 $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} 17995 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
18595 17996
18596 ;; 17997 ;;
18597 esac 17998 esac
18598 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 17999 { echo "$as_me:$LINENO: checking for locale.h" >&5
18599 $as_echo_n "checking for locale.h... " >&6; } 18000 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
18600 if test "${ac_cv_header_locale_h+set}" = set; then 18001 if test "${ac_cv_header_locale_h+set}" = set; then
18601 $as_echo_n "(cached) " >&6 18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 else 18003 else
18603 ac_cv_header_locale_h=$ac_header_preproc 18004 ac_cv_header_locale_h=$ac_header_preproc
18604 fi 18005 fi
18605 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 18006 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18606 $as_echo "$ac_cv_header_locale_h" >&6; } 18007 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
18607 18008
18608 fi 18009 fi
18609 18010
18610 18011
18611 18012
18612 for ac_func in setlocale 18013 for ac_func in setlocale
18613 do 18014 do
18614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18615 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 18016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18616 $as_echo_n "checking for $ac_func... " >&6; } 18017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18618 $as_echo_n "(cached) " >&6 18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else 18020 else
18620 cat >conftest.$ac_ext <<_ACEOF 18021 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */ 18022 /* confdefs.h. */
18622 _ACEOF 18023 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext 18024 cat confdefs.h >>conftest.$ac_ext
18666 if { (ac_try="$ac_link" 18067 if { (ac_try="$ac_link"
18667 case "(($ac_try" in 18068 case "(($ac_try" in
18668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18669 *) ac_try_echo=$ac_try;; 18070 *) ac_try_echo=$ac_try;;
18670 esac 18071 esac
18671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 $as_echo "$ac_try_echo") >&5
18673 (eval "$ac_link") 2>conftest.er1 18073 (eval "$ac_link") 2>conftest.er1
18674 ac_status=$? 18074 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err 18075 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1 18076 rm -f conftest.er1
18677 cat conftest.err >&5 18077 cat conftest.err >&5
18678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && { 18079 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" || 18080 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err 18081 test ! -s conftest.err
18682 } && test -s conftest$ac_exeext && { 18082 } && test -s conftest$ac_exeext &&
18683 test "$cross_compiling" = yes || 18083 $as_test_x conftest$ac_exeext; then
18684 $as_test_x conftest$ac_exeext
18685 }; then
18686 eval "$as_ac_var=yes" 18084 eval "$as_ac_var=yes"
18687 else 18085 else
18688 $as_echo "$as_me: failed program was:" >&5 18086 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5 18087 sed 's/^/| /' conftest.$ac_ext >&5
18690 18088
18691 eval "$as_ac_var=no" 18089 eval "$as_ac_var=no"
18692 fi 18090 fi
18693 18091
18694 rm -rf conftest.dSYM
18695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18696 conftest$ac_exeext conftest.$ac_ext 18093 conftest$ac_exeext conftest.$ac_ext
18697 fi 18094 fi
18698 ac_res=`eval 'as_val=${'$as_ac_var'} 18095 ac_res=`eval echo '${'$as_ac_var'}'`
18699 $as_echo "$as_val"'` 18096 { echo "$as_me:$LINENO: result: $ac_res" >&5
18700 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18097 echo "${ECHO_T}$ac_res" >&6; }
18701 $as_echo "$ac_res" >&6; } 18098 if test `eval echo '${'$as_ac_var'}'` = yes; then
18702 if test `eval 'as_val=${'$as_ac_var'}
18703 $as_echo "$as_val"'` = yes; then
18704 cat >>confdefs.h <<_ACEOF 18099 cat >>confdefs.h <<_ACEOF
18705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18706 _ACEOF 18101 _ACEOF
18707 18102
18708 fi 18103 fi
18709 done 18104 done
18710 18105
18721 18116
18722 fi 18117 fi
18723 18118
18724 if test $ac_have_func = no; then 18119 if test $ac_have_func = no; then
18725 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18120 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18726 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18121 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18727 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } 18122 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
18728 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18123 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18729 $as_echo_n "(cached) " >&6 18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 fi 18125 fi
18731 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18126 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18732 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } 18127 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
18733 else 18128 else
18734 # Is the header compilable? 18129 # Is the header compilable?
18735 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 18130 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
18736 $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } 18131 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; }
18737 cat >conftest.$ac_ext <<_ACEOF 18132 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */ 18133 /* confdefs.h. */
18739 _ACEOF 18134 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext 18135 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF 18136 cat >>conftest.$ac_ext <<_ACEOF
18747 if { (ac_try="$ac_compile" 18142 if { (ac_try="$ac_compile"
18748 case "(($ac_try" in 18143 case "(($ac_try" in
18749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18750 *) ac_try_echo=$ac_try;; 18145 *) ac_try_echo=$ac_try;;
18751 esac 18146 esac
18752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18753 $as_echo "$ac_try_echo") >&5
18754 (eval "$ac_compile") 2>conftest.er1 18148 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$? 18149 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err 18150 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1 18151 rm -f conftest.er1
18758 cat conftest.err >&5 18152 cat conftest.err >&5
18759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && { 18154 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" || 18155 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err 18156 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then 18157 } && test -s conftest.$ac_objext; then
18764 ac_header_compiler=yes 18158 ac_header_compiler=yes
18765 else 18159 else
18766 $as_echo "$as_me: failed program was:" >&5 18160 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5 18161 sed 's/^/| /' conftest.$ac_ext >&5
18768 18162
18769 ac_header_compiler=no 18163 ac_header_compiler=no
18770 fi 18164 fi
18771 18165
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18167 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18774 $as_echo "$ac_header_compiler" >&6; } 18168 echo "${ECHO_T}$ac_header_compiler" >&6; }
18775 18169
18776 # Is the header present? 18170 # Is the header present?
18777 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 18171 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
18778 $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } 18172 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; }
18779 cat >conftest.$ac_ext <<_ACEOF 18173 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */ 18174 /* confdefs.h. */
18781 _ACEOF 18175 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext 18176 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF 18177 cat >>conftest.$ac_ext <<_ACEOF
18787 if { (ac_try="$ac_cpp conftest.$ac_ext" 18181 if { (ac_try="$ac_cpp conftest.$ac_ext"
18788 case "(($ac_try" in 18182 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;; 18184 *) ac_try_echo=$ac_try;;
18791 esac 18185 esac
18792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 $as_echo "$ac_try_echo") >&5
18794 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18795 ac_status=$? 18188 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err 18189 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1 18190 rm -f conftest.er1
18798 cat conftest.err >&5 18191 cat conftest.err >&5
18799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } >/dev/null && { 18193 (exit $ac_status); } >/dev/null && {
18801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18194 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18802 test ! -s conftest.err 18195 test ! -s conftest.err
18803 }; then 18196 }; then
18804 ac_header_preproc=yes 18197 ac_header_preproc=yes
18805 else 18198 else
18806 $as_echo "$as_me: failed program was:" >&5 18199 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5 18200 sed 's/^/| /' conftest.$ac_ext >&5
18808 18201
18809 ac_header_preproc=no 18202 ac_header_preproc=no
18810 fi 18203 fi
18811 18204
18812 rm -f conftest.err conftest.$ac_ext 18205 rm -f conftest.err conftest.$ac_ext
18813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18206 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18814 $as_echo "$ac_header_preproc" >&6; } 18207 echo "${ECHO_T}$ac_header_preproc" >&6; }
18815 18208
18816 # So? What about this header? 18209 # So? What about this header?
18817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18818 yes:no: ) 18211 yes:no: )
18819 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18212 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18820 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18213 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18821 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 18214 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
18822 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} 18215 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
18823 ac_header_preproc=yes 18216 ac_header_preproc=yes
18824 ;; 18217 ;;
18825 no:yes:* ) 18218 no:yes:* )
18826 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 18219 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
18827 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} 18220 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
18828 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 18221 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
18829 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} 18222 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
18830 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 18223 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
18831 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} 18224 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
18832 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18225 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18833 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18226 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18834 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 18227 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
18835 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} 18228 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
18836 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 18229 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
18837 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} 18230 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
18838 18231
18839 ;; 18232 ;;
18840 esac 18233 esac
18841 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18234 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18842 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } 18235 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
18843 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18236 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18844 $as_echo_n "(cached) " >&6 18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 else 18238 else
18846 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc 18239 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
18847 fi 18240 fi
18848 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18241 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18849 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } 18242 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
18850 18243
18851 fi 18244 fi
18852 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 18245 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
18853 ac_have_func=yes 18246 ac_have_func=yes
18854 18247
18866 18259
18867 fi 18260 fi
18868 18261
18869 if test $ac_have_func = no; then 18262 if test $ac_have_func = no; then
18870 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18263 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18871 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18264 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18872 $as_echo_n "checking for sys/cpustats.h... " >&6; } 18265 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
18873 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18266 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18874 $as_echo_n "(cached) " >&6 18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 fi 18268 fi
18876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18269 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18877 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } 18270 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
18878 else 18271 else
18879 # Is the header compilable? 18272 # Is the header compilable?
18880 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 18273 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
18881 $as_echo_n "checking sys/cpustats.h usability... " >&6; } 18274 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; }
18882 cat >conftest.$ac_ext <<_ACEOF 18275 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */ 18276 /* confdefs.h. */
18884 _ACEOF 18277 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext 18278 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF 18279 cat >>conftest.$ac_ext <<_ACEOF
18892 if { (ac_try="$ac_compile" 18285 if { (ac_try="$ac_compile"
18893 case "(($ac_try" in 18286 case "(($ac_try" in
18894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18895 *) ac_try_echo=$ac_try;; 18288 *) ac_try_echo=$ac_try;;
18896 esac 18289 esac
18897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18898 $as_echo "$ac_try_echo") >&5
18899 (eval "$ac_compile") 2>conftest.er1 18291 (eval "$ac_compile") 2>conftest.er1
18900 ac_status=$? 18292 ac_status=$?
18901 grep -v '^ *+' conftest.er1 >conftest.err 18293 grep -v '^ *+' conftest.er1 >conftest.err
18902 rm -f conftest.er1 18294 rm -f conftest.er1
18903 cat conftest.err >&5 18295 cat conftest.err >&5
18904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } && { 18297 (exit $ac_status); } && {
18906 test -z "$ac_c_werror_flag" || 18298 test -z "$ac_c_werror_flag" ||
18907 test ! -s conftest.err 18299 test ! -s conftest.err
18908 } && test -s conftest.$ac_objext; then 18300 } && test -s conftest.$ac_objext; then
18909 ac_header_compiler=yes 18301 ac_header_compiler=yes
18910 else 18302 else
18911 $as_echo "$as_me: failed program was:" >&5 18303 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.$ac_ext >&5 18304 sed 's/^/| /' conftest.$ac_ext >&5
18913 18305
18914 ac_header_compiler=no 18306 ac_header_compiler=no
18915 fi 18307 fi
18916 18308
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18310 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18919 $as_echo "$ac_header_compiler" >&6; } 18311 echo "${ECHO_T}$ac_header_compiler" >&6; }
18920 18312
18921 # Is the header present? 18313 # Is the header present?
18922 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 18314 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
18923 $as_echo_n "checking sys/cpustats.h presence... " >&6; } 18315 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; }
18924 cat >conftest.$ac_ext <<_ACEOF 18316 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */ 18317 /* confdefs.h. */
18926 _ACEOF 18318 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext 18319 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF 18320 cat >>conftest.$ac_ext <<_ACEOF
18932 if { (ac_try="$ac_cpp conftest.$ac_ext" 18324 if { (ac_try="$ac_cpp conftest.$ac_ext"
18933 case "(($ac_try" in 18325 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;; 18327 *) ac_try_echo=$ac_try;;
18936 esac 18328 esac
18937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 $as_echo "$ac_try_echo") >&5
18939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18940 ac_status=$? 18331 ac_status=$?
18941 grep -v '^ *+' conftest.er1 >conftest.err 18332 grep -v '^ *+' conftest.er1 >conftest.err
18942 rm -f conftest.er1 18333 rm -f conftest.er1
18943 cat conftest.err >&5 18334 cat conftest.err >&5
18944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } >/dev/null && { 18336 (exit $ac_status); } >/dev/null && {
18946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18947 test ! -s conftest.err 18338 test ! -s conftest.err
18948 }; then 18339 }; then
18949 ac_header_preproc=yes 18340 ac_header_preproc=yes
18950 else 18341 else
18951 $as_echo "$as_me: failed program was:" >&5 18342 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5 18343 sed 's/^/| /' conftest.$ac_ext >&5
18953 18344
18954 ac_header_preproc=no 18345 ac_header_preproc=no
18955 fi 18346 fi
18956 18347
18957 rm -f conftest.err conftest.$ac_ext 18348 rm -f conftest.err conftest.$ac_ext
18958 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18349 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18959 $as_echo "$ac_header_preproc" >&6; } 18350 echo "${ECHO_T}$ac_header_preproc" >&6; }
18960 18351
18961 # So? What about this header? 18352 # So? What about this header?
18962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18963 yes:no: ) 18354 yes:no: )
18964 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18355 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18965 $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18356 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18966 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 18357 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
18967 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} 18358 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
18968 ac_header_preproc=yes 18359 ac_header_preproc=yes
18969 ;; 18360 ;;
18970 no:yes:* ) 18361 no:yes:* )
18971 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 18362 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
18972 $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} 18363 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
18973 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 18364 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
18974 $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} 18365 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
18975 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 18366 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
18976 $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} 18367 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
18977 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18368 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18978 $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18369 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18979 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 18370 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
18980 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} 18371 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
18981 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 18372 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
18982 $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} 18373 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
18983 18374
18984 ;; 18375 ;;
18985 esac 18376 esac
18986 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18377 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18987 $as_echo_n "checking for sys/cpustats.h... " >&6; } 18378 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
18988 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18379 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18989 $as_echo_n "(cached) " >&6 18380 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else 18381 else
18991 ac_cv_header_sys_cpustats_h=$ac_header_preproc 18382 ac_cv_header_sys_cpustats_h=$ac_header_preproc
18992 fi 18383 fi
18993 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18384 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18994 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } 18385 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
18995 18386
18996 fi 18387 fi
18997 if test $ac_cv_header_sys_cpustats_h = yes; then 18388 if test $ac_cv_header_sys_cpustats_h = yes; then
18998 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 18389 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
18999 #define UMAX 1 18390 #define UMAX 1
19006 18397
19007 if test $ac_have_func = no; then 18398 if test $ac_have_func = no; then
19008 18399
19009 for ac_header in mach/mach.h 18400 for ac_header in mach/mach.h
19010 do 18401 do
19011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19013 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19014 $as_echo_n "checking for $ac_header... " >&6; } 18405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19016 $as_echo_n "(cached) " >&6 18407 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 fi 18408 fi
19018 ac_res=`eval 'as_val=${'$as_ac_Header'} 18409 ac_res=`eval echo '${'$as_ac_Header'}'`
19019 $as_echo "$as_val"'` 18410 { echo "$as_me:$LINENO: result: $ac_res" >&5
19020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18411 echo "${ECHO_T}$ac_res" >&6; }
19021 $as_echo "$ac_res" >&6; }
19022 else 18412 else
19023 # Is the header compilable? 18413 # Is the header compilable?
19024 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18414 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19025 $as_echo_n "checking $ac_header usability... " >&6; } 18415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19026 cat >conftest.$ac_ext <<_ACEOF 18416 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */ 18417 /* confdefs.h. */
19028 _ACEOF 18418 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext 18419 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF 18420 cat >>conftest.$ac_ext <<_ACEOF
19036 if { (ac_try="$ac_compile" 18426 if { (ac_try="$ac_compile"
19037 case "(($ac_try" in 18427 case "(($ac_try" in
19038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19039 *) ac_try_echo=$ac_try;; 18429 *) ac_try_echo=$ac_try;;
19040 esac 18430 esac
19041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19042 $as_echo "$ac_try_echo") >&5
19043 (eval "$ac_compile") 2>conftest.er1 18432 (eval "$ac_compile") 2>conftest.er1
19044 ac_status=$? 18433 ac_status=$?
19045 grep -v '^ *+' conftest.er1 >conftest.err 18434 grep -v '^ *+' conftest.er1 >conftest.err
19046 rm -f conftest.er1 18435 rm -f conftest.er1
19047 cat conftest.err >&5 18436 cat conftest.err >&5
19048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } && { 18438 (exit $ac_status); } && {
19050 test -z "$ac_c_werror_flag" || 18439 test -z "$ac_c_werror_flag" ||
19051 test ! -s conftest.err 18440 test ! -s conftest.err
19052 } && test -s conftest.$ac_objext; then 18441 } && test -s conftest.$ac_objext; then
19053 ac_header_compiler=yes 18442 ac_header_compiler=yes
19054 else 18443 else
19055 $as_echo "$as_me: failed program was:" >&5 18444 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5 18445 sed 's/^/| /' conftest.$ac_ext >&5
19057 18446
19058 ac_header_compiler=no 18447 ac_header_compiler=no
19059 fi 18448 fi
19060 18449
19061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19062 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18451 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19063 $as_echo "$ac_header_compiler" >&6; } 18452 echo "${ECHO_T}$ac_header_compiler" >&6; }
19064 18453
19065 # Is the header present? 18454 # Is the header present?
19066 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18455 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19067 $as_echo_n "checking $ac_header presence... " >&6; } 18456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19068 cat >conftest.$ac_ext <<_ACEOF 18457 cat >conftest.$ac_ext <<_ACEOF
19069 /* confdefs.h. */ 18458 /* confdefs.h. */
19070 _ACEOF 18459 _ACEOF
19071 cat confdefs.h >>conftest.$ac_ext 18460 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF 18461 cat >>conftest.$ac_ext <<_ACEOF
19076 if { (ac_try="$ac_cpp conftest.$ac_ext" 18465 if { (ac_try="$ac_cpp conftest.$ac_ext"
19077 case "(($ac_try" in 18466 case "(($ac_try" in
19078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19079 *) ac_try_echo=$ac_try;; 18468 *) ac_try_echo=$ac_try;;
19080 esac 18469 esac
19081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19082 $as_echo "$ac_try_echo") >&5
19083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19084 ac_status=$? 18472 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err 18473 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1 18474 rm -f conftest.er1
19087 cat conftest.err >&5 18475 cat conftest.err >&5
19088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } >/dev/null && { 18477 (exit $ac_status); } >/dev/null && {
19090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19091 test ! -s conftest.err 18479 test ! -s conftest.err
19092 }; then 18480 }; then
19093 ac_header_preproc=yes 18481 ac_header_preproc=yes
19094 else 18482 else
19095 $as_echo "$as_me: failed program was:" >&5 18483 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5 18484 sed 's/^/| /' conftest.$ac_ext >&5
19097 18485
19098 ac_header_preproc=no 18486 ac_header_preproc=no
19099 fi 18487 fi
19100 18488
19101 rm -f conftest.err conftest.$ac_ext 18489 rm -f conftest.err conftest.$ac_ext
19102 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18490 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19103 $as_echo "$ac_header_preproc" >&6; } 18491 echo "${ECHO_T}$ac_header_preproc" >&6; }
19104 18492
19105 # So? What about this header? 18493 # So? What about this header?
19106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19107 yes:no: ) 18495 yes:no: )
19108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19109 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19112 ac_header_preproc=yes 18500 ac_header_preproc=yes
19113 ;; 18501 ;;
19114 no:yes:* ) 18502 no:yes:* )
19115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19116 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19118 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19120 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19122 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19126 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19127 18515
19128 ;; 18516 ;;
19129 esac 18517 esac
19130 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19131 $as_echo_n "checking for $ac_header... " >&6; } 18519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19133 $as_echo_n "(cached) " >&6 18521 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 else 18522 else
19135 eval "$as_ac_Header=\$ac_header_preproc" 18523 eval "$as_ac_Header=\$ac_header_preproc"
19136 fi 18524 fi
19137 ac_res=`eval 'as_val=${'$as_ac_Header'} 18525 ac_res=`eval echo '${'$as_ac_Header'}'`
19138 $as_echo "$as_val"'` 18526 { echo "$as_me:$LINENO: result: $ac_res" >&5
19139 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18527 echo "${ECHO_T}$ac_res" >&6; }
19140 $as_echo "$ac_res" >&6; } 18528
19141 18529 fi
19142 fi 18530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19143 if test `eval 'as_val=${'$as_ac_Header'}
19144 $as_echo "$as_val"'` = yes; then
19145 cat >>confdefs.h <<_ACEOF 18531 cat >>confdefs.h <<_ACEOF
19146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19147 _ACEOF 18533 _ACEOF
19148 18534
19149 fi 18535 fi
19150 18536
19151 done 18537 done
19153 fi 18539 fi
19154 18540
19155 18541
19156 for ac_header in nlist.h 18542 for ac_header in nlist.h
19157 do 18543 do
19158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19160 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18546 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19161 $as_echo_n "checking for $ac_header... " >&6; } 18547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19163 $as_echo_n "(cached) " >&6 18549 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 fi 18550 fi
19165 ac_res=`eval 'as_val=${'$as_ac_Header'} 18551 ac_res=`eval echo '${'$as_ac_Header'}'`
19166 $as_echo "$as_val"'` 18552 { echo "$as_me:$LINENO: result: $ac_res" >&5
19167 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18553 echo "${ECHO_T}$ac_res" >&6; }
19168 $as_echo "$ac_res" >&6; }
19169 else 18554 else
19170 # Is the header compilable? 18555 # Is the header compilable?
19171 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18556 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19172 $as_echo_n "checking $ac_header usability... " >&6; } 18557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19173 cat >conftest.$ac_ext <<_ACEOF 18558 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */ 18559 /* confdefs.h. */
19175 _ACEOF 18560 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext 18561 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF 18562 cat >>conftest.$ac_ext <<_ACEOF
19183 if { (ac_try="$ac_compile" 18568 if { (ac_try="$ac_compile"
19184 case "(($ac_try" in 18569 case "(($ac_try" in
19185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19186 *) ac_try_echo=$ac_try;; 18571 *) ac_try_echo=$ac_try;;
19187 esac 18572 esac
19188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19189 $as_echo "$ac_try_echo") >&5
19190 (eval "$ac_compile") 2>conftest.er1 18574 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$? 18575 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err 18576 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1 18577 rm -f conftest.er1
19194 cat conftest.err >&5 18578 cat conftest.err >&5
19195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && { 18580 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" || 18581 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err 18582 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then 18583 } && test -s conftest.$ac_objext; then
19200 ac_header_compiler=yes 18584 ac_header_compiler=yes
19201 else 18585 else
19202 $as_echo "$as_me: failed program was:" >&5 18586 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5 18587 sed 's/^/| /' conftest.$ac_ext >&5
19204 18588
19205 ac_header_compiler=no 18589 ac_header_compiler=no
19206 fi 18590 fi
19207 18591
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19209 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18593 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19210 $as_echo "$ac_header_compiler" >&6; } 18594 echo "${ECHO_T}$ac_header_compiler" >&6; }
19211 18595
19212 # Is the header present? 18596 # Is the header present?
19213 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18597 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19214 $as_echo_n "checking $ac_header presence... " >&6; } 18598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19215 cat >conftest.$ac_ext <<_ACEOF 18599 cat >conftest.$ac_ext <<_ACEOF
19216 /* confdefs.h. */ 18600 /* confdefs.h. */
19217 _ACEOF 18601 _ACEOF
19218 cat confdefs.h >>conftest.$ac_ext 18602 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF 18603 cat >>conftest.$ac_ext <<_ACEOF
19223 if { (ac_try="$ac_cpp conftest.$ac_ext" 18607 if { (ac_try="$ac_cpp conftest.$ac_ext"
19224 case "(($ac_try" in 18608 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;; 18610 *) ac_try_echo=$ac_try;;
19227 esac 18611 esac
19228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 $as_echo "$ac_try_echo") >&5
19230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19231 ac_status=$? 18614 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err 18615 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1 18616 rm -f conftest.er1
19234 cat conftest.err >&5 18617 cat conftest.err >&5
19235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } >/dev/null && { 18619 (exit $ac_status); } >/dev/null && {
19237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18620 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19238 test ! -s conftest.err 18621 test ! -s conftest.err
19239 }; then 18622 }; then
19240 ac_header_preproc=yes 18623 ac_header_preproc=yes
19241 else 18624 else
19242 $as_echo "$as_me: failed program was:" >&5 18625 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5 18626 sed 's/^/| /' conftest.$ac_ext >&5
19244 18627
19245 ac_header_preproc=no 18628 ac_header_preproc=no
19246 fi 18629 fi
19247 18630
19248 rm -f conftest.err conftest.$ac_ext 18631 rm -f conftest.err conftest.$ac_ext
19249 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18632 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19250 $as_echo "$ac_header_preproc" >&6; } 18633 echo "${ECHO_T}$ac_header_preproc" >&6; }
19251 18634
19252 # So? What about this header? 18635 # So? What about this header?
19253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19254 yes:no: ) 18637 yes:no: )
19255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19256 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19258 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18641 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19259 ac_header_preproc=yes 18642 ac_header_preproc=yes
19260 ;; 18643 ;;
19261 no:yes:* ) 18644 no:yes:* )
19262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18645 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19263 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18646 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18647 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19265 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18648 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19266 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18649 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19267 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18650 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19268 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18651 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19269 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18652 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19270 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19271 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18655 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19273 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18656 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19274 18657
19275 ;; 18658 ;;
19276 esac 18659 esac
19277 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19278 $as_echo_n "checking for $ac_header... " >&6; } 18661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19280 $as_echo_n "(cached) " >&6 18663 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 else 18664 else
19282 eval "$as_ac_Header=\$ac_header_preproc" 18665 eval "$as_ac_Header=\$ac_header_preproc"
19283 fi 18666 fi
19284 ac_res=`eval 'as_val=${'$as_ac_Header'} 18667 ac_res=`eval echo '${'$as_ac_Header'}'`
19285 $as_echo "$as_val"'` 18668 { echo "$as_me:$LINENO: result: $ac_res" >&5
19286 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18669 echo "${ECHO_T}$ac_res" >&6; }
19287 $as_echo "$ac_res" >&6; } 18670
19288 18671 fi
19289 fi 18672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19290 if test `eval 'as_val=${'$as_ac_Header'}
19291 $as_echo "$as_val"'` = yes; then
19292 cat >>confdefs.h <<_ACEOF 18673 cat >>confdefs.h <<_ACEOF
19293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19294 _ACEOF 18675 _ACEOF
19295 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 18676 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
19296 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } 18677 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; }
19297 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 18678 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
19298 $as_echo_n "(cached) " >&6 18679 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 else 18680 else
19300 cat >conftest.$ac_ext <<_ACEOF 18681 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */ 18682 /* confdefs.h. */
19302 _ACEOF 18683 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext 18684 cat confdefs.h >>conftest.$ac_ext
19319 if { (ac_try="$ac_compile" 18700 if { (ac_try="$ac_compile"
19320 case "(($ac_try" in 18701 case "(($ac_try" in
19321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;; 18703 *) ac_try_echo=$ac_try;;
19323 esac 18704 esac
19324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 $as_echo "$ac_try_echo") >&5
19326 (eval "$ac_compile") 2>conftest.er1 18706 (eval "$ac_compile") 2>conftest.er1
19327 ac_status=$? 18707 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err 18708 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1 18709 rm -f conftest.er1
19330 cat conftest.err >&5 18710 cat conftest.err >&5
19331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } && { 18712 (exit $ac_status); } && {
19333 test -z "$ac_c_werror_flag" || 18713 test -z "$ac_c_werror_flag" ||
19334 test ! -s conftest.err 18714 test ! -s conftest.err
19335 } && test -s conftest.$ac_objext; then 18715 } && test -s conftest.$ac_objext; then
19336 ac_cv_member_struct_nlist_n_un_n_name=yes 18716 ac_cv_member_struct_nlist_n_un_n_name=yes
19337 else 18717 else
19338 $as_echo "$as_me: failed program was:" >&5 18718 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5 18719 sed 's/^/| /' conftest.$ac_ext >&5
19340 18720
19341 cat >conftest.$ac_ext <<_ACEOF 18721 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */ 18722 /* confdefs.h. */
19343 _ACEOF 18723 _ACEOF
19360 if { (ac_try="$ac_compile" 18740 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in 18741 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;; 18743 *) ac_try_echo=$ac_try;;
19364 esac 18744 esac
19365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 $as_echo "$ac_try_echo") >&5
19367 (eval "$ac_compile") 2>conftest.er1 18746 (eval "$ac_compile") 2>conftest.er1
19368 ac_status=$? 18747 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err 18748 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1 18749 rm -f conftest.er1
19371 cat conftest.err >&5 18750 cat conftest.err >&5
19372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } && { 18752 (exit $ac_status); } && {
19374 test -z "$ac_c_werror_flag" || 18753 test -z "$ac_c_werror_flag" ||
19375 test ! -s conftest.err 18754 test ! -s conftest.err
19376 } && test -s conftest.$ac_objext; then 18755 } && test -s conftest.$ac_objext; then
19377 ac_cv_member_struct_nlist_n_un_n_name=yes 18756 ac_cv_member_struct_nlist_n_un_n_name=yes
19378 else 18757 else
19379 $as_echo "$as_me: failed program was:" >&5 18758 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5 18759 sed 's/^/| /' conftest.$ac_ext >&5
19381 18760
19382 ac_cv_member_struct_nlist_n_un_n_name=no 18761 ac_cv_member_struct_nlist_n_un_n_name=no
19383 fi 18762 fi
19384 18763
19385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386 fi 18765 fi
19387 18766
19388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19389 fi 18768 fi
19390 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 18769 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19391 $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } 18770 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
19392 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 18771 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
19393 18772
19394 cat >>confdefs.h <<_ACEOF 18773 cat >>confdefs.h <<_ACEOF
19395 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 18774 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
19396 _ACEOF 18775 _ACEOF
19410 fi 18789 fi
19411 done 18790 done
19412 18791
19413 18792
19414 # Some definitions of getloadavg require that the program be installed setgid. 18793 # Some definitions of getloadavg require that the program be installed setgid.
19415 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 18794 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
19416 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } 18795 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; }
19417 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 18796 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
19418 $as_echo_n "(cached) " >&6 18797 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else 18798 else
19420 cat >conftest.$ac_ext <<_ACEOF 18799 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */ 18800 /* confdefs.h. */
19422 _ACEOF 18801 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext 18802 cat confdefs.h >>conftest.$ac_ext
19435 ac_cv_func_getloadavg_setgid=no 18814 ac_cv_func_getloadavg_setgid=no
19436 fi 18815 fi
19437 rm -f conftest* 18816 rm -f conftest*
19438 18817
19439 fi 18818 fi
19440 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 18819 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
19441 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 18820 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; }
19442 if test $ac_cv_func_getloadavg_setgid = yes; then 18821 if test $ac_cv_func_getloadavg_setgid = yes; then
19443 NEED_SETGID=true 18822 NEED_SETGID=true
19444 18823
19445 cat >>confdefs.h <<\_ACEOF 18824 cat >>confdefs.h <<\_ACEOF
19446 #define GETLOADAVG_PRIVILEGED 1 18825 #define GETLOADAVG_PRIVILEGED 1
19449 else 18828 else
19450 NEED_SETGID=false 18829 NEED_SETGID=false
19451 fi 18830 fi
19452 18831
19453 if test $ac_cv_func_getloadavg_setgid = yes; then 18832 if test $ac_cv_func_getloadavg_setgid = yes; then
19454 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 18833 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
19455 $as_echo_n "checking group of /dev/kmem... " >&6; } 18834 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; }
19456 if test "${ac_cv_group_kmem+set}" = set; then 18835 if test "${ac_cv_group_kmem+set}" = set; then
19457 $as_echo_n "(cached) " >&6 18836 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else 18837 else
19459 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 18838 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
19460 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 18839 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
19461 # If we got an error (system does not support symlinks), try without -L. 18840 # If we got an error (system does not support symlinks), try without -L.
19462 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` 18841 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
19463 ac_cv_group_kmem=`$as_echo "$ac_ls_output" \ 18842 ac_cv_group_kmem=`echo $ac_ls_output \
19464 | sed -ne 's/[ ][ ]*/ /g; 18843 | sed -ne 's/[ ][ ]*/ /g;
19465 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 18844 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
19466 / /s/.* //;p;'` 18845 / /s/.* //;p;'`
19467 18846
19468 fi 18847 fi
19469 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 18848 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
19470 $as_echo "$ac_cv_group_kmem" >&6; } 18849 echo "${ECHO_T}$ac_cv_group_kmem" >&6; }
19471 KMEM_GROUP=$ac_cv_group_kmem 18850 KMEM_GROUP=$ac_cv_group_kmem
19472 fi 18851 fi
19473 if test "x$ac_save_LIBS" = x; then 18852 if test "x$ac_save_LIBS" = x; then
19474 GETLOADAVG_LIBS=$LIBS 18853 GETLOADAVG_LIBS=$LIBS
19475 else 18854 else
19476 GETLOADAVG_LIBS=`$as_echo "$LIBS" | sed "s|$ac_save_LIBS||"` 18855 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
19477 fi 18856 fi
19478 LIBS=$ac_save_LIBS 18857 LIBS=$ac_save_LIBS
19479 18858
19480 18859
19481 18860
19482 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 18861 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19483 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 18862 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
19484 if test "${ac_cv_sys_largefile_source+set}" = set; then 18863 if test "${ac_cv_sys_largefile_source+set}" = set; then
19485 $as_echo_n "(cached) " >&6 18864 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else 18865 else
19487 while :; do 18866 while :; do
19488 cat >conftest.$ac_ext <<_ACEOF 18867 cat >conftest.$ac_ext <<_ACEOF
19489 /* confdefs.h. */ 18868 /* confdefs.h. */
19490 _ACEOF 18869 _ACEOF
19491 cat confdefs.h >>conftest.$ac_ext 18870 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF 18871 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */ 18872 /* end confdefs.h. */
19494 #include <sys/types.h> /* for off_t */ 18873 #include <stdio.h>
19495 #include <stdio.h>
19496 int 18874 int
19497 main () 18875 main ()
19498 { 18876 {
19499 int (*fp) (FILE *, off_t, int) = fseeko; 18877 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
19500 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19501 ; 18878 ;
19502 return 0; 18879 return 0;
19503 } 18880 }
19504 _ACEOF 18881 _ACEOF
19505 rm -f conftest.$ac_objext conftest$ac_exeext 18882 rm -f conftest.$ac_objext conftest$ac_exeext
19506 if { (ac_try="$ac_link" 18883 if { (ac_try="$ac_link"
19507 case "(($ac_try" in 18884 case "(($ac_try" in
19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;; 18886 *) ac_try_echo=$ac_try;;
19510 esac 18887 esac
19511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 $as_echo "$ac_try_echo") >&5
19513 (eval "$ac_link") 2>conftest.er1 18889 (eval "$ac_link") 2>conftest.er1
19514 ac_status=$? 18890 ac_status=$?
19515 grep -v '^ *+' conftest.er1 >conftest.err 18891 grep -v '^ *+' conftest.er1 >conftest.err
19516 rm -f conftest.er1 18892 rm -f conftest.er1
19517 cat conftest.err >&5 18893 cat conftest.err >&5
19518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } && { 18895 (exit $ac_status); } && {
19520 test -z "$ac_c_werror_flag" || 18896 test -z "$ac_c_werror_flag" ||
19521 test ! -s conftest.err 18897 test ! -s conftest.err
19522 } && test -s conftest$ac_exeext && { 18898 } && test -s conftest$ac_exeext &&
19523 test "$cross_compiling" = yes || 18899 $as_test_x conftest$ac_exeext; then
19524 $as_test_x conftest$ac_exeext
19525 }; then
19526 ac_cv_sys_largefile_source=no; break 18900 ac_cv_sys_largefile_source=no; break
19527 else 18901 else
19528 $as_echo "$as_me: failed program was:" >&5 18902 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5 18903 sed 's/^/| /' conftest.$ac_ext >&5
19530 18904
19531 18905
19532 fi 18906 fi
19533 18907
19534 rm -rf conftest.dSYM
19535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19536 conftest$ac_exeext conftest.$ac_ext 18909 conftest$ac_exeext conftest.$ac_ext
19537 cat >conftest.$ac_ext <<_ACEOF 18910 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */ 18911 /* confdefs.h. */
19539 _ACEOF 18912 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext 18913 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF 18914 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */ 18915 /* end confdefs.h. */
19543 #define _LARGEFILE_SOURCE 1 18916 #define _LARGEFILE_SOURCE 1
19544 #include <sys/types.h> /* for off_t */ 18917 #include <stdio.h>
19545 #include <stdio.h>
19546 int 18918 int
19547 main () 18919 main ()
19548 { 18920 {
19549 int (*fp) (FILE *, off_t, int) = fseeko; 18921 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
19550 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19551 ; 18922 ;
19552 return 0; 18923 return 0;
19553 } 18924 }
19554 _ACEOF 18925 _ACEOF
19555 rm -f conftest.$ac_objext conftest$ac_exeext 18926 rm -f conftest.$ac_objext conftest$ac_exeext
19556 if { (ac_try="$ac_link" 18927 if { (ac_try="$ac_link"
19557 case "(($ac_try" in 18928 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;; 18930 *) ac_try_echo=$ac_try;;
19560 esac 18931 esac
19561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 $as_echo "$ac_try_echo") >&5
19563 (eval "$ac_link") 2>conftest.er1 18933 (eval "$ac_link") 2>conftest.er1
19564 ac_status=$? 18934 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err 18935 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1 18936 rm -f conftest.er1
19567 cat conftest.err >&5 18937 cat conftest.err >&5
19568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && { 18939 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" || 18940 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err 18941 test ! -s conftest.err
19572 } && test -s conftest$ac_exeext && { 18942 } && test -s conftest$ac_exeext &&
19573 test "$cross_compiling" = yes || 18943 $as_test_x conftest$ac_exeext; then
19574 $as_test_x conftest$ac_exeext
19575 }; then
19576 ac_cv_sys_largefile_source=1; break 18944 ac_cv_sys_largefile_source=1; break
19577 else 18945 else
19578 $as_echo "$as_me: failed program was:" >&5 18946 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5 18947 sed 's/^/| /' conftest.$ac_ext >&5
19580 18948
19581 18949
19582 fi 18950 fi
19583 18951
19584 rm -rf conftest.dSYM
19585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19586 conftest$ac_exeext conftest.$ac_ext 18953 conftest$ac_exeext conftest.$ac_ext
19587 ac_cv_sys_largefile_source=unknown 18954 ac_cv_sys_largefile_source=unknown
19588 break 18955 break
19589 done 18956 done
19590 fi 18957 fi
19591 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 18958 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19592 $as_echo "$ac_cv_sys_largefile_source" >&6; } 18959 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
19593 case $ac_cv_sys_largefile_source in #( 18960 case $ac_cv_sys_largefile_source in #(
19594 no | unknown) ;; 18961 no | unknown) ;;
19595 *) 18962 *)
19596 cat >>confdefs.h <<_ACEOF 18963 cat >>confdefs.h <<_ACEOF
19597 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 18964 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19598 _ACEOF 18965 _ACEOF
19599 ;; 18966 ;;
19600 esac 18967 esac
19601 rm -rf conftest* 18968 rm -f conftest*
19602 18969
19603 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 18970 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19604 # in glibc 2.1.3, but that breaks too many other things. 18971 # in glibc 2.1.3, but that breaks too many other things.
19605 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 18972 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19606 if test $ac_cv_sys_largefile_source != unknown; then 18973 if test $ac_cv_sys_largefile_source != unknown; then
19636 19003
19637 GETOPT_H= 19004 GETOPT_H=
19638 19005
19639 for ac_header in getopt.h 19006 for ac_header in getopt.h
19640 do 19007 do
19641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19643 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 19010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19644 $as_echo_n "checking for $ac_header... " >&6; } 19011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19646 $as_echo_n "(cached) " >&6 19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19647 fi 19014 fi
19648 ac_res=`eval 'as_val=${'$as_ac_Header'} 19015 ac_res=`eval echo '${'$as_ac_Header'}'`
19649 $as_echo "$as_val"'` 19016 { echo "$as_me:$LINENO: result: $ac_res" >&5
19650 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19017 echo "${ECHO_T}$ac_res" >&6; }
19651 $as_echo "$ac_res" >&6; }
19652 else 19018 else
19653 # Is the header compilable? 19019 # Is the header compilable?
19654 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 19020 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19655 $as_echo_n "checking $ac_header usability... " >&6; } 19021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19656 cat >conftest.$ac_ext <<_ACEOF 19022 cat >conftest.$ac_ext <<_ACEOF
19657 /* confdefs.h. */ 19023 /* confdefs.h. */
19658 _ACEOF 19024 _ACEOF
19659 cat confdefs.h >>conftest.$ac_ext 19025 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF 19026 cat >>conftest.$ac_ext <<_ACEOF
19666 if { (ac_try="$ac_compile" 19032 if { (ac_try="$ac_compile"
19667 case "(($ac_try" in 19033 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;; 19035 *) ac_try_echo=$ac_try;;
19670 esac 19036 esac
19671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 $as_echo "$ac_try_echo") >&5
19673 (eval "$ac_compile") 2>conftest.er1 19038 (eval "$ac_compile") 2>conftest.er1
19674 ac_status=$? 19039 ac_status=$?
19675 grep -v '^ *+' conftest.er1 >conftest.err 19040 grep -v '^ *+' conftest.er1 >conftest.err
19676 rm -f conftest.er1 19041 rm -f conftest.er1
19677 cat conftest.err >&5 19042 cat conftest.err >&5
19678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } && { 19044 (exit $ac_status); } && {
19680 test -z "$ac_c_werror_flag" || 19045 test -z "$ac_c_werror_flag" ||
19681 test ! -s conftest.err 19046 test ! -s conftest.err
19682 } && test -s conftest.$ac_objext; then 19047 } && test -s conftest.$ac_objext; then
19683 ac_header_compiler=yes 19048 ac_header_compiler=yes
19684 else 19049 else
19685 $as_echo "$as_me: failed program was:" >&5 19050 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5 19051 sed 's/^/| /' conftest.$ac_ext >&5
19687 19052
19688 ac_header_compiler=no 19053 ac_header_compiler=no
19689 fi 19054 fi
19690 19055
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19057 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19693 $as_echo "$ac_header_compiler" >&6; } 19058 echo "${ECHO_T}$ac_header_compiler" >&6; }
19694 19059
19695 # Is the header present? 19060 # Is the header present?
19696 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 19061 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19697 $as_echo_n "checking $ac_header presence... " >&6; } 19062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19698 cat >conftest.$ac_ext <<_ACEOF 19063 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */ 19064 /* confdefs.h. */
19700 _ACEOF 19065 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext 19066 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF 19067 cat >>conftest.$ac_ext <<_ACEOF
19706 if { (ac_try="$ac_cpp conftest.$ac_ext" 19071 if { (ac_try="$ac_cpp conftest.$ac_ext"
19707 case "(($ac_try" in 19072 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;; 19074 *) ac_try_echo=$ac_try;;
19710 esac 19075 esac
19711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 $as_echo "$ac_try_echo") >&5
19713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 19077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19714 ac_status=$? 19078 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err 19079 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1 19080 rm -f conftest.er1
19717 cat conftest.err >&5 19081 cat conftest.err >&5
19718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } >/dev/null && { 19083 (exit $ac_status); } >/dev/null && {
19720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 19084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19721 test ! -s conftest.err 19085 test ! -s conftest.err
19722 }; then 19086 }; then
19723 ac_header_preproc=yes 19087 ac_header_preproc=yes
19724 else 19088 else
19725 $as_echo "$as_me: failed program was:" >&5 19089 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5 19090 sed 's/^/| /' conftest.$ac_ext >&5
19727 19091
19728 ac_header_preproc=no 19092 ac_header_preproc=no
19729 fi 19093 fi
19730 19094
19731 rm -f conftest.err conftest.$ac_ext 19095 rm -f conftest.err conftest.$ac_ext
19732 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19096 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19733 $as_echo "$ac_header_preproc" >&6; } 19097 echo "${ECHO_T}$ac_header_preproc" >&6; }
19734 19098
19735 # So? What about this header? 19099 # So? What about this header?
19736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19737 yes:no: ) 19101 yes:no: )
19738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19739 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 19103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 19104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19741 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 19105 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19742 ac_header_preproc=yes 19106 ac_header_preproc=yes
19743 ;; 19107 ;;
19744 no:yes:* ) 19108 no:yes:* )
19745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 19109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19746 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 19110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 19111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19748 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 19112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 19113 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19750 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 19114 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 19115 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19752 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19116 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19754 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19119 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19756 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19120 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19757 19121
19758 ;; 19122 ;;
19759 esac 19123 esac
19760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 19124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19761 $as_echo_n "checking for $ac_header... " >&6; } 19125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19763 $as_echo_n "(cached) " >&6 19127 echo $ECHO_N "(cached) $ECHO_C" >&6
19764 else 19128 else
19765 eval "$as_ac_Header=\$ac_header_preproc" 19129 eval "$as_ac_Header=\$ac_header_preproc"
19766 fi 19130 fi
19767 ac_res=`eval 'as_val=${'$as_ac_Header'} 19131 ac_res=`eval echo '${'$as_ac_Header'}'`
19768 $as_echo "$as_val"'` 19132 { echo "$as_me:$LINENO: result: $ac_res" >&5
19769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19133 echo "${ECHO_T}$ac_res" >&6; }
19770 $as_echo "$ac_res" >&6; } 19134
19771 19135 fi
19772 fi 19136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19773 if test `eval 'as_val=${'$as_ac_Header'}
19774 $as_echo "$as_val"'` = yes; then
19775 cat >>confdefs.h <<_ACEOF 19137 cat >>confdefs.h <<_ACEOF
19776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19777 _ACEOF 19139 _ACEOF
19778 19140
19779 else 19141 else
19780 GETOPT_H=getopt.h 19142 GETOPT_H=getopt.h
19781 fi 19143 fi
19784 19146
19785 if test -z "$GETOPT_H"; then 19147 if test -z "$GETOPT_H"; then
19786 19148
19787 for ac_func in getopt_long_only 19149 for ac_func in getopt_long_only
19788 do 19150 do
19789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 $as_echo_n "checking for $ac_func... " >&6; } 19153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19793 $as_echo_n "(cached) " >&6 19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else 19156 else
19795 cat >conftest.$ac_ext <<_ACEOF 19157 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */ 19158 /* confdefs.h. */
19797 _ACEOF 19159 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext 19160 cat confdefs.h >>conftest.$ac_ext
19841 if { (ac_try="$ac_link" 19203 if { (ac_try="$ac_link"
19842 case "(($ac_try" in 19204 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;; 19206 *) ac_try_echo=$ac_try;;
19845 esac 19207 esac
19846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 $as_echo "$ac_try_echo") >&5
19848 (eval "$ac_link") 2>conftest.er1 19209 (eval "$ac_link") 2>conftest.er1
19849 ac_status=$? 19210 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err 19211 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1 19212 rm -f conftest.er1
19852 cat conftest.err >&5 19213 cat conftest.err >&5
19853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && { 19215 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" || 19216 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err 19217 test ! -s conftest.err
19857 } && test -s conftest$ac_exeext && { 19218 } && test -s conftest$ac_exeext &&
19858 test "$cross_compiling" = yes || 19219 $as_test_x conftest$ac_exeext; then
19859 $as_test_x conftest$ac_exeext
19860 }; then
19861 eval "$as_ac_var=yes" 19220 eval "$as_ac_var=yes"
19862 else 19221 else
19863 $as_echo "$as_me: failed program was:" >&5 19222 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5 19223 sed 's/^/| /' conftest.$ac_ext >&5
19865 19224
19866 eval "$as_ac_var=no" 19225 eval "$as_ac_var=no"
19867 fi 19226 fi
19868 19227
19869 rm -rf conftest.dSYM
19870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19871 conftest$ac_exeext conftest.$ac_ext 19229 conftest$ac_exeext conftest.$ac_ext
19872 fi 19230 fi
19873 ac_res=`eval 'as_val=${'$as_ac_var'} 19231 ac_res=`eval echo '${'$as_ac_var'}'`
19874 $as_echo "$as_val"'` 19232 { echo "$as_me:$LINENO: result: $ac_res" >&5
19875 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19233 echo "${ECHO_T}$ac_res" >&6; }
19876 $as_echo "$ac_res" >&6; } 19234 if test `eval echo '${'$as_ac_var'}'` = yes; then
19877 if test `eval 'as_val=${'$as_ac_var'}
19878 $as_echo "$as_val"'` = yes; then
19879 cat >>confdefs.h <<_ACEOF 19235 cat >>confdefs.h <<_ACEOF
19880 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19881 _ACEOF 19237 _ACEOF
19882 19238
19883 else 19239 else
19884 GETOPT_H=getopt.h 19240 GETOPT_H=getopt.h
19885 fi 19241 fi
19886 done 19242 done
19887 19243
19888 fi 19244 fi
19889 19245
19890 if test -z "$GETOPT_H"; then 19246 if test -z "$GETOPT_H"; then
19891 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 19247 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
19892 $as_echo_n "checking whether optreset is declared... " >&6; } 19248 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
19893 if test "${ac_cv_have_decl_optreset+set}" = set; then 19249 if test "${ac_cv_have_decl_optreset+set}" = set; then
19894 $as_echo_n "(cached) " >&6 19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 else 19251 else
19896 cat >conftest.$ac_ext <<_ACEOF 19252 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */ 19253 /* confdefs.h. */
19898 _ACEOF 19254 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext 19255 cat confdefs.h >>conftest.$ac_ext
19916 if { (ac_try="$ac_compile" 19272 if { (ac_try="$ac_compile"
19917 case "(($ac_try" in 19273 case "(($ac_try" in
19918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19919 *) ac_try_echo=$ac_try;; 19275 *) ac_try_echo=$ac_try;;
19920 esac 19276 esac
19921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19922 $as_echo "$ac_try_echo") >&5
19923 (eval "$ac_compile") 2>conftest.er1 19278 (eval "$ac_compile") 2>conftest.er1
19924 ac_status=$? 19279 ac_status=$?
19925 grep -v '^ *+' conftest.er1 >conftest.err 19280 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1 19281 rm -f conftest.er1
19927 cat conftest.err >&5 19282 cat conftest.err >&5
19928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && { 19284 (exit $ac_status); } && {
19930 test -z "$ac_c_werror_flag" || 19285 test -z "$ac_c_werror_flag" ||
19931 test ! -s conftest.err 19286 test ! -s conftest.err
19932 } && test -s conftest.$ac_objext; then 19287 } && test -s conftest.$ac_objext; then
19933 ac_cv_have_decl_optreset=yes 19288 ac_cv_have_decl_optreset=yes
19934 else 19289 else
19935 $as_echo "$as_me: failed program was:" >&5 19290 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5 19291 sed 's/^/| /' conftest.$ac_ext >&5
19937 19292
19938 ac_cv_have_decl_optreset=no 19293 ac_cv_have_decl_optreset=no
19939 fi 19294 fi
19940 19295
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942 fi 19297 fi
19943 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 19298 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
19944 $as_echo "$ac_cv_have_decl_optreset" >&6; } 19299 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
19945 if test $ac_cv_have_decl_optreset = yes; then 19300 if test $ac_cv_have_decl_optreset = yes; then
19946 GETOPT_H=getopt.h 19301 GETOPT_H=getopt.h
19947 fi 19302 fi
19948 19303
19949 fi 19304 fi
19950 19305
19951 if test -z "$GETOPT_H"; then 19306 if test -z "$GETOPT_H"; then
19952 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 19307 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
19953 $as_echo_n "checking for working GNU getopt function... " >&6; } 19308 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
19954 if test "${gl_cv_func_gnu_getopt+set}" = set; then 19309 if test "${gl_cv_func_gnu_getopt+set}" = set; then
19955 $as_echo_n "(cached) " >&6 19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else 19311 else
19957 if test "$cross_compiling" = yes; then 19312 if test "$cross_compiling" = yes; then
19958 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 19313 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
19959 $as_echo_n "checking whether getopt_clip is declared... " >&6; } 19314 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
19960 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then 19315 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
19961 $as_echo_n "(cached) " >&6 19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 else 19317 else
19963 cat >conftest.$ac_ext <<_ACEOF 19318 cat >conftest.$ac_ext <<_ACEOF
19964 /* confdefs.h. */ 19319 /* confdefs.h. */
19965 _ACEOF 19320 _ACEOF
19966 cat confdefs.h >>conftest.$ac_ext 19321 cat confdefs.h >>conftest.$ac_ext
19983 if { (ac_try="$ac_compile" 19338 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in 19339 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;; 19341 *) ac_try_echo=$ac_try;;
19987 esac 19342 esac
19988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 $as_echo "$ac_try_echo") >&5
19990 (eval "$ac_compile") 2>conftest.er1 19344 (eval "$ac_compile") 2>conftest.er1
19991 ac_status=$? 19345 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err 19346 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1 19347 rm -f conftest.er1
19994 cat conftest.err >&5 19348 cat conftest.err >&5
19995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && { 19350 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" || 19351 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err 19352 test ! -s conftest.err
19999 } && test -s conftest.$ac_objext; then 19353 } && test -s conftest.$ac_objext; then
20000 ac_cv_have_decl_getopt_clip=yes 19354 ac_cv_have_decl_getopt_clip=yes
20001 else 19355 else
20002 $as_echo "$as_me: failed program was:" >&5 19356 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5 19357 sed 's/^/| /' conftest.$ac_ext >&5
20004 19358
20005 ac_cv_have_decl_getopt_clip=no 19359 ac_cv_have_decl_getopt_clip=no
20006 fi 19360 fi
20007 19361
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 fi 19363 fi
20010 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 19364 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
20011 $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } 19365 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
20012 if test $ac_cv_have_decl_getopt_clip = yes; then 19366 if test $ac_cv_have_decl_getopt_clip = yes; then
20013 gl_cv_func_gnu_getopt=no 19367 gl_cv_func_gnu_getopt=no
20014 else 19368 else
20015 gl_cv_func_gnu_getopt=yes 19369 gl_cv_func_gnu_getopt=yes
20016 fi 19370 fi
20041 if { (ac_try="$ac_link" 19395 if { (ac_try="$ac_link"
20042 case "(($ac_try" in 19396 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;; 19398 *) ac_try_echo=$ac_try;;
20045 esac 19399 esac
20046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 $as_echo "$ac_try_echo") >&5
20048 (eval "$ac_link") 2>&5 19401 (eval "$ac_link") 2>&5
20049 ac_status=$? 19402 ac_status=$?
20050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20052 { (case "(($ac_try" in 19405 { (case "(($ac_try" in
20053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054 *) ac_try_echo=$ac_try;; 19407 *) ac_try_echo=$ac_try;;
20055 esac 19408 esac
20056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057 $as_echo "$ac_try_echo") >&5
20058 (eval "$ac_try") 2>&5 19410 (eval "$ac_try") 2>&5
20059 ac_status=$? 19411 ac_status=$?
20060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then 19413 (exit $ac_status); }; }; then
20062 gl_cv_func_gnu_getopt=yes 19414 gl_cv_func_gnu_getopt=yes
20063 else 19415 else
20064 $as_echo "$as_me: program exited with status $ac_status" >&5 19416 echo "$as_me: program exited with status $ac_status" >&5
20065 $as_echo "$as_me: failed program was:" >&5 19417 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5 19418 sed 's/^/| /' conftest.$ac_ext >&5
20067 19419
20068 ( exit $ac_status ) 19420 ( exit $ac_status )
20069 gl_cv_func_gnu_getopt=no 19421 gl_cv_func_gnu_getopt=no
20070 fi 19422 fi
20071 rm -rf conftest.dSYM
20072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 19423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20073 fi 19424 fi
20074 19425
20075 19426
20076 fi 19427 fi
20077 { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 19428 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
20078 $as_echo "$gl_cv_func_gnu_getopt" >&6; } 19429 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
20079 if test "$gl_cv_func_gnu_getopt" = "no"; then 19430 if test "$gl_cv_func_gnu_getopt" = "no"; then
20080 GETOPT_H=getopt.h 19431 GETOPT_H=getopt.h
20081 fi 19432 fi
20082 fi 19433 fi
20083 19434
20100 fi 19451 fi
20101 19452
20102 19453
20103 19454
20104 19455
20105 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 19456 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
20106 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 19457 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; }
20107 if test "${ac_cv_func_getpgrp_void+set}" = set; then 19458 if test "${ac_cv_func_getpgrp_void+set}" = set; then
20108 $as_echo_n "(cached) " >&6 19459 echo $ECHO_N "(cached) $ECHO_C" >&6
20109 else 19460 else
20110 # Use it with a single arg. 19461 # Use it with a single arg.
20111 cat >conftest.$ac_ext <<_ACEOF 19462 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h. */ 19463 /* confdefs.h. */
20113 _ACEOF 19464 _ACEOF
20127 if { (ac_try="$ac_compile" 19478 if { (ac_try="$ac_compile"
20128 case "(($ac_try" in 19479 case "(($ac_try" in
20129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;; 19481 *) ac_try_echo=$ac_try;;
20131 esac 19482 esac
20132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 $as_echo "$ac_try_echo") >&5
20134 (eval "$ac_compile") 2>conftest.er1 19484 (eval "$ac_compile") 2>conftest.er1
20135 ac_status=$? 19485 ac_status=$?
20136 grep -v '^ *+' conftest.er1 >conftest.err 19486 grep -v '^ *+' conftest.er1 >conftest.err
20137 rm -f conftest.er1 19487 rm -f conftest.er1
20138 cat conftest.err >&5 19488 cat conftest.err >&5
20139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); } && { 19490 (exit $ac_status); } && {
20141 test -z "$ac_c_werror_flag" || 19491 test -z "$ac_c_werror_flag" ||
20142 test ! -s conftest.err 19492 test ! -s conftest.err
20143 } && test -s conftest.$ac_objext; then 19493 } && test -s conftest.$ac_objext; then
20144 ac_cv_func_getpgrp_void=no 19494 ac_cv_func_getpgrp_void=no
20145 else 19495 else
20146 $as_echo "$as_me: failed program was:" >&5 19496 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5 19497 sed 's/^/| /' conftest.$ac_ext >&5
20148 19498
20149 ac_cv_func_getpgrp_void=yes 19499 ac_cv_func_getpgrp_void=yes
20150 fi 19500 fi
20151 19501
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153 19503
20154 fi 19504 fi
20155 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 19505 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
20156 $as_echo "$ac_cv_func_getpgrp_void" >&6; } 19506 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; }
20157 if test $ac_cv_func_getpgrp_void = yes; then 19507 if test $ac_cv_func_getpgrp_void = yes; then
20158 19508
20159 cat >>confdefs.h <<\_ACEOF 19509 cat >>confdefs.h <<\_ACEOF
20160 #define GETPGRP_VOID 1 19510 #define GETPGRP_VOID 1
20161 _ACEOF 19511 _ACEOF
20164 19514
20165 19515
20166 19516
20167 for ac_func in strftime 19517 for ac_func in strftime
20168 do 19518 do
20169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20170 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20171 $as_echo_n "checking for $ac_func... " >&6; } 19521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20173 $as_echo_n "(cached) " >&6 19523 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 else 19524 else
20175 cat >conftest.$ac_ext <<_ACEOF 19525 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */ 19526 /* confdefs.h. */
20177 _ACEOF 19527 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext 19528 cat confdefs.h >>conftest.$ac_ext
20221 if { (ac_try="$ac_link" 19571 if { (ac_try="$ac_link"
20222 case "(($ac_try" in 19572 case "(($ac_try" in
20223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;; 19574 *) ac_try_echo=$ac_try;;
20225 esac 19575 esac
20226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 $as_echo "$ac_try_echo") >&5
20228 (eval "$ac_link") 2>conftest.er1 19577 (eval "$ac_link") 2>conftest.er1
20229 ac_status=$? 19578 ac_status=$?
20230 grep -v '^ *+' conftest.er1 >conftest.err 19579 grep -v '^ *+' conftest.er1 >conftest.err
20231 rm -f conftest.er1 19580 rm -f conftest.er1
20232 cat conftest.err >&5 19581 cat conftest.err >&5
20233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && { 19583 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" || 19584 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err 19585 test ! -s conftest.err
20237 } && test -s conftest$ac_exeext && { 19586 } && test -s conftest$ac_exeext &&
20238 test "$cross_compiling" = yes || 19587 $as_test_x conftest$ac_exeext; then
20239 $as_test_x conftest$ac_exeext
20240 }; then
20241 eval "$as_ac_var=yes" 19588 eval "$as_ac_var=yes"
20242 else 19589 else
20243 $as_echo "$as_me: failed program was:" >&5 19590 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5 19591 sed 's/^/| /' conftest.$ac_ext >&5
20245 19592
20246 eval "$as_ac_var=no" 19593 eval "$as_ac_var=no"
20247 fi 19594 fi
20248 19595
20249 rm -rf conftest.dSYM
20250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20251 conftest$ac_exeext conftest.$ac_ext 19597 conftest$ac_exeext conftest.$ac_ext
20252 fi 19598 fi
20253 ac_res=`eval 'as_val=${'$as_ac_var'} 19599 ac_res=`eval echo '${'$as_ac_var'}'`
20254 $as_echo "$as_val"'` 19600 { echo "$as_me:$LINENO: result: $ac_res" >&5
20255 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19601 echo "${ECHO_T}$ac_res" >&6; }
20256 $as_echo "$ac_res" >&6; } 19602 if test `eval echo '${'$as_ac_var'}'` = yes; then
20257 if test `eval 'as_val=${'$as_ac_var'}
20258 $as_echo "$as_val"'` = yes; then
20259 cat >>confdefs.h <<_ACEOF 19603 cat >>confdefs.h <<_ACEOF
20260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20261 _ACEOF 19605 _ACEOF
20262 19606
20263 else 19607 else
20264 # strftime is in -lintl on SCO UNIX. 19608 # strftime is in -lintl on SCO UNIX.
20265 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 19609 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
20266 $as_echo_n "checking for strftime in -lintl... " >&6; } 19610 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
20267 if test "${ac_cv_lib_intl_strftime+set}" = set; then 19611 if test "${ac_cv_lib_intl_strftime+set}" = set; then
20268 $as_echo_n "(cached) " >&6 19612 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 else 19613 else
20270 ac_check_lib_save_LIBS=$LIBS 19614 ac_check_lib_save_LIBS=$LIBS
20271 LIBS="-lintl $LIBS" 19615 LIBS="-lintl $LIBS"
20272 cat >conftest.$ac_ext <<_ACEOF 19616 cat >conftest.$ac_ext <<_ACEOF
20273 /* confdefs.h. */ 19617 /* confdefs.h. */
20295 if { (ac_try="$ac_link" 19639 if { (ac_try="$ac_link"
20296 case "(($ac_try" in 19640 case "(($ac_try" in
20297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20298 *) ac_try_echo=$ac_try;; 19642 *) ac_try_echo=$ac_try;;
20299 esac 19643 esac
20300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20301 $as_echo "$ac_try_echo") >&5
20302 (eval "$ac_link") 2>conftest.er1 19645 (eval "$ac_link") 2>conftest.er1
20303 ac_status=$? 19646 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err 19647 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1 19648 rm -f conftest.er1
20306 cat conftest.err >&5 19649 cat conftest.err >&5
20307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } && { 19651 (exit $ac_status); } && {
20309 test -z "$ac_c_werror_flag" || 19652 test -z "$ac_c_werror_flag" ||
20310 test ! -s conftest.err 19653 test ! -s conftest.err
20311 } && test -s conftest$ac_exeext && { 19654 } && test -s conftest$ac_exeext &&
20312 test "$cross_compiling" = yes || 19655 $as_test_x conftest$ac_exeext; then
20313 $as_test_x conftest$ac_exeext
20314 }; then
20315 ac_cv_lib_intl_strftime=yes 19656 ac_cv_lib_intl_strftime=yes
20316 else 19657 else
20317 $as_echo "$as_me: failed program was:" >&5 19658 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5 19659 sed 's/^/| /' conftest.$ac_ext >&5
20319 19660
20320 ac_cv_lib_intl_strftime=no 19661 ac_cv_lib_intl_strftime=no
20321 fi 19662 fi
20322 19663
20323 rm -rf conftest.dSYM
20324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20325 conftest$ac_exeext conftest.$ac_ext 19665 conftest$ac_exeext conftest.$ac_ext
20326 LIBS=$ac_check_lib_save_LIBS 19666 LIBS=$ac_check_lib_save_LIBS
20327 fi 19667 fi
20328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 19668 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
20329 $as_echo "$ac_cv_lib_intl_strftime" >&6; } 19669 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
20330 if test $ac_cv_lib_intl_strftime = yes; then 19670 if test $ac_cv_lib_intl_strftime = yes; then
20331 cat >>confdefs.h <<\_ACEOF 19671 cat >>confdefs.h <<\_ACEOF
20332 #define HAVE_STRFTIME 1 19672 #define HAVE_STRFTIME 1
20333 _ACEOF 19673 _ACEOF
20334 19674
20341 19681
20342 # UNIX98 PTYs. 19682 # UNIX98 PTYs.
20343 19683
20344 for ac_func in grantpt 19684 for ac_func in grantpt
20345 do 19685 do
20346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20347 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20348 $as_echo_n "checking for $ac_func... " >&6; } 19688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20350 $as_echo_n "(cached) " >&6 19690 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else 19691 else
20352 cat >conftest.$ac_ext <<_ACEOF 19692 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */ 19693 /* confdefs.h. */
20354 _ACEOF 19694 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext 19695 cat confdefs.h >>conftest.$ac_ext
20398 if { (ac_try="$ac_link" 19738 if { (ac_try="$ac_link"
20399 case "(($ac_try" in 19739 case "(($ac_try" in
20400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20401 *) ac_try_echo=$ac_try;; 19741 *) ac_try_echo=$ac_try;;
20402 esac 19742 esac
20403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20404 $as_echo "$ac_try_echo") >&5
20405 (eval "$ac_link") 2>conftest.er1 19744 (eval "$ac_link") 2>conftest.er1
20406 ac_status=$? 19745 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err 19746 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1 19747 rm -f conftest.er1
20409 cat conftest.err >&5 19748 cat conftest.err >&5
20410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && { 19750 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" || 19751 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err 19752 test ! -s conftest.err
20414 } && test -s conftest$ac_exeext && { 19753 } && test -s conftest$ac_exeext &&
20415 test "$cross_compiling" = yes || 19754 $as_test_x conftest$ac_exeext; then
20416 $as_test_x conftest$ac_exeext
20417 }; then
20418 eval "$as_ac_var=yes" 19755 eval "$as_ac_var=yes"
20419 else 19756 else
20420 $as_echo "$as_me: failed program was:" >&5 19757 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5 19758 sed 's/^/| /' conftest.$ac_ext >&5
20422 19759
20423 eval "$as_ac_var=no" 19760 eval "$as_ac_var=no"
20424 fi 19761 fi
20425 19762
20426 rm -rf conftest.dSYM
20427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20428 conftest$ac_exeext conftest.$ac_ext 19764 conftest$ac_exeext conftest.$ac_ext
20429 fi 19765 fi
20430 ac_res=`eval 'as_val=${'$as_ac_var'} 19766 ac_res=`eval echo '${'$as_ac_var'}'`
20431 $as_echo "$as_val"'` 19767 { echo "$as_me:$LINENO: result: $ac_res" >&5
20432 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19768 echo "${ECHO_T}$ac_res" >&6; }
20433 $as_echo "$ac_res" >&6; } 19769 if test `eval echo '${'$as_ac_var'}'` = yes; then
20434 if test `eval 'as_val=${'$as_ac_var'}
20435 $as_echo "$as_val"'` = yes; then
20436 cat >>confdefs.h <<_ACEOF 19770 cat >>confdefs.h <<_ACEOF
20437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20438 _ACEOF 19772 _ACEOF
20439 19773
20440 fi 19774 fi
20441 done 19775 done
20442 19776
20443 19777
20444 # PTY-related GNU extensions. 19778 # PTY-related GNU extensions.
20445 19779
20446 for ac_func in getpt 19780 for ac_func in getpt
20447 do 19781 do
20448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20449 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20450 $as_echo_n "checking for $ac_func... " >&6; } 19784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20452 $as_echo_n "(cached) " >&6 19786 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else 19787 else
20454 cat >conftest.$ac_ext <<_ACEOF 19788 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */ 19789 /* confdefs.h. */
20456 _ACEOF 19790 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext 19791 cat confdefs.h >>conftest.$ac_ext
20500 if { (ac_try="$ac_link" 19834 if { (ac_try="$ac_link"
20501 case "(($ac_try" in 19835 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;; 19837 *) ac_try_echo=$ac_try;;
20504 esac 19838 esac
20505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 $as_echo "$ac_try_echo") >&5
20507 (eval "$ac_link") 2>conftest.er1 19840 (eval "$ac_link") 2>conftest.er1
20508 ac_status=$? 19841 ac_status=$?
20509 grep -v '^ *+' conftest.er1 >conftest.err 19842 grep -v '^ *+' conftest.er1 >conftest.err
20510 rm -f conftest.er1 19843 rm -f conftest.er1
20511 cat conftest.err >&5 19844 cat conftest.err >&5
20512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && { 19846 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" || 19847 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err 19848 test ! -s conftest.err
20516 } && test -s conftest$ac_exeext && { 19849 } && test -s conftest$ac_exeext &&
20517 test "$cross_compiling" = yes || 19850 $as_test_x conftest$ac_exeext; then
20518 $as_test_x conftest$ac_exeext
20519 }; then
20520 eval "$as_ac_var=yes" 19851 eval "$as_ac_var=yes"
20521 else 19852 else
20522 $as_echo "$as_me: failed program was:" >&5 19853 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5 19854 sed 's/^/| /' conftest.$ac_ext >&5
20524 19855
20525 eval "$as_ac_var=no" 19856 eval "$as_ac_var=no"
20526 fi 19857 fi
20527 19858
20528 rm -rf conftest.dSYM
20529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20530 conftest$ac_exeext conftest.$ac_ext 19860 conftest$ac_exeext conftest.$ac_ext
20531 fi 19861 fi
20532 ac_res=`eval 'as_val=${'$as_ac_var'} 19862 ac_res=`eval echo '${'$as_ac_var'}'`
20533 $as_echo "$as_val"'` 19863 { echo "$as_me:$LINENO: result: $ac_res" >&5
20534 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19864 echo "${ECHO_T}$ac_res" >&6; }
20535 $as_echo "$ac_res" >&6; } 19865 if test `eval echo '${'$as_ac_var'}'` = yes; then
20536 if test `eval 'as_val=${'$as_ac_var'}
20537 $as_echo "$as_val"'` = yes; then
20538 cat >>confdefs.h <<_ACEOF 19866 cat >>confdefs.h <<_ACEOF
20539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20540 _ACEOF 19868 _ACEOF
20541 19869
20542 fi 19870 fi
20543 done 19871 done
20544 19872
20546 # Check this now, so that we will NOT find the above functions in ncurses. 19874 # Check this now, so that we will NOT find the above functions in ncurses.
20547 # That is because we have not set up to link ncurses in lib-src. 19875 # That is because we have not set up to link ncurses in lib-src.
20548 # It's better to believe a function is not available 19876 # It's better to believe a function is not available
20549 # than to expect to find it in ncurses. 19877 # than to expect to find it in ncurses.
20550 19878
20551 { $as_echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 19879 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
20552 $as_echo_n "checking for tparm in -lncurses... " >&6; } 19880 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; }
20553 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 19881 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
20554 $as_echo_n "(cached) " >&6 19882 echo $ECHO_N "(cached) $ECHO_C" >&6
20555 else 19883 else
20556 ac_check_lib_save_LIBS=$LIBS 19884 ac_check_lib_save_LIBS=$LIBS
20557 LIBS="-lncurses $LIBS" 19885 LIBS="-lncurses $LIBS"
20558 cat >conftest.$ac_ext <<_ACEOF 19886 cat >conftest.$ac_ext <<_ACEOF
20559 /* confdefs.h. */ 19887 /* confdefs.h. */
20581 if { (ac_try="$ac_link" 19909 if { (ac_try="$ac_link"
20582 case "(($ac_try" in 19910 case "(($ac_try" in
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;; 19912 *) ac_try_echo=$ac_try;;
20585 esac 19913 esac
20586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 $as_echo "$ac_try_echo") >&5
20588 (eval "$ac_link") 2>conftest.er1 19915 (eval "$ac_link") 2>conftest.er1
20589 ac_status=$? 19916 ac_status=$?
20590 grep -v '^ *+' conftest.er1 >conftest.err 19917 grep -v '^ *+' conftest.er1 >conftest.err
20591 rm -f conftest.er1 19918 rm -f conftest.er1
20592 cat conftest.err >&5 19919 cat conftest.err >&5
20593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } && { 19921 (exit $ac_status); } && {
20595 test -z "$ac_c_werror_flag" || 19922 test -z "$ac_c_werror_flag" ||
20596 test ! -s conftest.err 19923 test ! -s conftest.err
20597 } && test -s conftest$ac_exeext && { 19924 } && test -s conftest$ac_exeext &&
20598 test "$cross_compiling" = yes || 19925 $as_test_x conftest$ac_exeext; then
20599 $as_test_x conftest$ac_exeext
20600 }; then
20601 ac_cv_lib_ncurses_tparm=yes 19926 ac_cv_lib_ncurses_tparm=yes
20602 else 19927 else
20603 $as_echo "$as_me: failed program was:" >&5 19928 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5 19929 sed 's/^/| /' conftest.$ac_ext >&5
20605 19930
20606 ac_cv_lib_ncurses_tparm=no 19931 ac_cv_lib_ncurses_tparm=no
20607 fi 19932 fi
20608 19933
20609 rm -rf conftest.dSYM
20610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20611 conftest$ac_exeext conftest.$ac_ext 19935 conftest$ac_exeext conftest.$ac_ext
20612 LIBS=$ac_check_lib_save_LIBS 19936 LIBS=$ac_check_lib_save_LIBS
20613 fi 19937 fi
20614 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 19938 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
20615 $as_echo "$ac_cv_lib_ncurses_tparm" >&6; } 19939 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; }
20616 if test $ac_cv_lib_ncurses_tparm = yes; then 19940 if test $ac_cv_lib_ncurses_tparm = yes; then
20617 cat >>confdefs.h <<_ACEOF 19941 cat >>confdefs.h <<_ACEOF
20618 #define HAVE_LIBNCURSES 1 19942 #define HAVE_LIBNCURSES 1
20619 _ACEOF 19943 _ACEOF
20620 19944
20647 if { (ac_try="$ac_link" 19971 if { (ac_try="$ac_link"
20648 case "(($ac_try" in 19972 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;; 19974 *) ac_try_echo=$ac_try;;
20651 esac 19975 esac
20652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 $as_echo "$ac_try_echo") >&5
20654 (eval "$ac_link") 2>conftest.er1 19977 (eval "$ac_link") 2>conftest.er1
20655 ac_status=$? 19978 ac_status=$?
20656 grep -v '^ *+' conftest.er1 >conftest.err 19979 grep -v '^ *+' conftest.er1 >conftest.err
20657 rm -f conftest.er1 19980 rm -f conftest.er1
20658 cat conftest.err >&5 19981 cat conftest.err >&5
20659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } && { 19983 (exit $ac_status); } && {
20661 test -z "$ac_c_werror_flag" || 19984 test -z "$ac_c_werror_flag" ||
20662 test ! -s conftest.err 19985 test ! -s conftest.err
20663 } && test -s conftest$ac_exeext && { 19986 } && test -s conftest$ac_exeext &&
20664 test "$cross_compiling" = yes || 19987 $as_test_x conftest$ac_exeext; then
20665 $as_test_x conftest$ac_exeext
20666 }; then
20667 have_res_init=yes 19988 have_res_init=yes
20668 else 19989 else
20669 $as_echo "$as_me: failed program was:" >&5 19990 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.$ac_ext >&5 19991 sed 's/^/| /' conftest.$ac_ext >&5
20671 19992
20672 have_res_init=no 19993 have_res_init=no
20673 fi 19994 fi
20674 19995
20675 rm -rf conftest.dSYM
20676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20677 conftest$ac_exeext conftest.$ac_ext 19997 conftest$ac_exeext conftest.$ac_ext
20678 if test "$have_res_init" = no; then 19998 if test "$have_res_init" = no; then
20679 OLIBS="$LIBS" 19999 OLIBS="$LIBS"
20680 LIBS="$LIBS -lresolv" 20000 LIBS="$LIBS -lresolv"
20681 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 20001 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
20682 $as_echo_n "checking for res_init with -lresolv... " >&6; } 20002 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; }
20683 cat >conftest.$ac_ext <<_ACEOF 20003 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */ 20004 /* confdefs.h. */
20685 _ACEOF 20005 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext 20006 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF 20007 cat >>conftest.$ac_ext <<_ACEOF
20701 if { (ac_try="$ac_link" 20021 if { (ac_try="$ac_link"
20702 case "(($ac_try" in 20022 case "(($ac_try" in
20703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704 *) ac_try_echo=$ac_try;; 20024 *) ac_try_echo=$ac_try;;
20705 esac 20025 esac
20706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20707 $as_echo "$ac_try_echo") >&5
20708 (eval "$ac_link") 2>conftest.er1 20027 (eval "$ac_link") 2>conftest.er1
20709 ac_status=$? 20028 ac_status=$?
20710 grep -v '^ *+' conftest.er1 >conftest.err 20029 grep -v '^ *+' conftest.er1 >conftest.err
20711 rm -f conftest.er1 20030 rm -f conftest.er1
20712 cat conftest.err >&5 20031 cat conftest.err >&5
20713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } && { 20033 (exit $ac_status); } && {
20715 test -z "$ac_c_werror_flag" || 20034 test -z "$ac_c_werror_flag" ||
20716 test ! -s conftest.err 20035 test ! -s conftest.err
20717 } && test -s conftest$ac_exeext && { 20036 } && test -s conftest$ac_exeext &&
20718 test "$cross_compiling" = yes || 20037 $as_test_x conftest$ac_exeext; then
20719 $as_test_x conftest$ac_exeext
20720 }; then
20721 have_res_init=yes 20038 have_res_init=yes
20722 else 20039 else
20723 $as_echo "$as_me: failed program was:" >&5 20040 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5 20041 sed 's/^/| /' conftest.$ac_ext >&5
20725 20042
20726 have_res_init=no 20043 have_res_init=no
20727 fi 20044 fi
20728 20045
20729 rm -rf conftest.dSYM
20730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20731 conftest$ac_exeext conftest.$ac_ext 20047 conftest$ac_exeext conftest.$ac_ext
20732 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 20048 { echo "$as_me:$LINENO: result: $have_res_init" >&5
20733 $as_echo "$have_res_init" >&6; } 20049 echo "${ECHO_T}$have_res_init" >&6; }
20734 if test "$have_res_init" = yes ; then 20050 if test "$have_res_init" = yes ; then
20735 resolv=yes 20051 resolv=yes
20736 fi 20052 fi
20737 LIBS="$OLIBS" 20053 LIBS="$OLIBS"
20738 fi 20054 fi
20746 fi 20062 fi
20747 20063
20748 # Do we need the Hesiod library to provide the support routines? 20064 # Do we need the Hesiod library to provide the support routines?
20749 if test "$with_hesiod" != no ; then 20065 if test "$with_hesiod" != no ; then
20750 # Don't set $LIBS here -- see comments above. 20066 # Don't set $LIBS here -- see comments above.
20751 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 20067 { echo "$as_me:$LINENO: checking for res_send" >&5
20752 $as_echo_n "checking for res_send... " >&6; } 20068 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
20753 if test "${ac_cv_func_res_send+set}" = set; then 20069 if test "${ac_cv_func_res_send+set}" = set; then
20754 $as_echo_n "(cached) " >&6 20070 echo $ECHO_N "(cached) $ECHO_C" >&6
20755 else 20071 else
20756 cat >conftest.$ac_ext <<_ACEOF 20072 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */ 20073 /* confdefs.h. */
20758 _ACEOF 20074 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext 20075 cat confdefs.h >>conftest.$ac_ext
20802 if { (ac_try="$ac_link" 20118 if { (ac_try="$ac_link"
20803 case "(($ac_try" in 20119 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;; 20121 *) ac_try_echo=$ac_try;;
20806 esac 20122 esac
20807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 $as_echo "$ac_try_echo") >&5
20809 (eval "$ac_link") 2>conftest.er1 20124 (eval "$ac_link") 2>conftest.er1
20810 ac_status=$? 20125 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err 20126 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1 20127 rm -f conftest.er1
20813 cat conftest.err >&5 20128 cat conftest.err >&5
20814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && { 20130 (exit $ac_status); } && {
20816 test -z "$ac_c_werror_flag" || 20131 test -z "$ac_c_werror_flag" ||
20817 test ! -s conftest.err 20132 test ! -s conftest.err
20818 } && test -s conftest$ac_exeext && { 20133 } && test -s conftest$ac_exeext &&
20819 test "$cross_compiling" = yes || 20134 $as_test_x conftest$ac_exeext; then
20820 $as_test_x conftest$ac_exeext
20821 }; then
20822 ac_cv_func_res_send=yes 20135 ac_cv_func_res_send=yes
20823 else 20136 else
20824 $as_echo "$as_me: failed program was:" >&5 20137 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5 20138 sed 's/^/| /' conftest.$ac_ext >&5
20826 20139
20827 ac_cv_func_res_send=no 20140 ac_cv_func_res_send=no
20828 fi 20141 fi
20829 20142
20830 rm -rf conftest.dSYM
20831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20832 conftest$ac_exeext conftest.$ac_ext 20144 conftest$ac_exeext conftest.$ac_ext
20833 fi 20145 fi
20834 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 20146 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
20835 $as_echo "$ac_cv_func_res_send" >&6; } 20147 echo "${ECHO_T}$ac_cv_func_res_send" >&6; }
20836 if test $ac_cv_func_res_send = yes; then 20148 if test $ac_cv_func_res_send = yes; then
20837 : 20149 :
20838 else 20150 else
20839 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 20151 { echo "$as_me:$LINENO: checking for __res_send" >&5
20840 $as_echo_n "checking for __res_send... " >&6; } 20152 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; }
20841 if test "${ac_cv_func___res_send+set}" = set; then 20153 if test "${ac_cv_func___res_send+set}" = set; then
20842 $as_echo_n "(cached) " >&6 20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else 20155 else
20844 cat >conftest.$ac_ext <<_ACEOF 20156 cat >conftest.$ac_ext <<_ACEOF
20845 /* confdefs.h. */ 20157 /* confdefs.h. */
20846 _ACEOF 20158 _ACEOF
20847 cat confdefs.h >>conftest.$ac_ext 20159 cat confdefs.h >>conftest.$ac_ext
20890 if { (ac_try="$ac_link" 20202 if { (ac_try="$ac_link"
20891 case "(($ac_try" in 20203 case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;; 20205 *) ac_try_echo=$ac_try;;
20894 esac 20206 esac
20895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 $as_echo "$ac_try_echo") >&5
20897 (eval "$ac_link") 2>conftest.er1 20208 (eval "$ac_link") 2>conftest.er1
20898 ac_status=$? 20209 ac_status=$?
20899 grep -v '^ *+' conftest.er1 >conftest.err 20210 grep -v '^ *+' conftest.er1 >conftest.err
20900 rm -f conftest.er1 20211 rm -f conftest.er1
20901 cat conftest.err >&5 20212 cat conftest.err >&5
20902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } && { 20214 (exit $ac_status); } && {
20904 test -z "$ac_c_werror_flag" || 20215 test -z "$ac_c_werror_flag" ||
20905 test ! -s conftest.err 20216 test ! -s conftest.err
20906 } && test -s conftest$ac_exeext && { 20217 } && test -s conftest$ac_exeext &&
20907 test "$cross_compiling" = yes || 20218 $as_test_x conftest$ac_exeext; then
20908 $as_test_x conftest$ac_exeext
20909 }; then
20910 ac_cv_func___res_send=yes 20219 ac_cv_func___res_send=yes
20911 else 20220 else
20912 $as_echo "$as_me: failed program was:" >&5 20221 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5 20222 sed 's/^/| /' conftest.$ac_ext >&5
20914 20223
20915 ac_cv_func___res_send=no 20224 ac_cv_func___res_send=no
20916 fi 20225 fi
20917 20226
20918 rm -rf conftest.dSYM
20919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20920 conftest$ac_exeext conftest.$ac_ext 20228 conftest$ac_exeext conftest.$ac_ext
20921 fi 20229 fi
20922 { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 20230 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
20923 $as_echo "$ac_cv_func___res_send" >&6; } 20231 echo "${ECHO_T}$ac_cv_func___res_send" >&6; }
20924 if test $ac_cv_func___res_send = yes; then 20232 if test $ac_cv_func___res_send = yes; then
20925 : 20233 :
20926 else 20234 else
20927 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 20235 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
20928 $as_echo_n "checking for res_send in -lresolv... " >&6; } 20236 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; }
20929 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 20237 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
20930 $as_echo_n "(cached) " >&6 20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 else 20239 else
20932 ac_check_lib_save_LIBS=$LIBS 20240 ac_check_lib_save_LIBS=$LIBS
20933 LIBS="-lresolv $LIBS" 20241 LIBS="-lresolv $LIBS"
20934 cat >conftest.$ac_ext <<_ACEOF 20242 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */ 20243 /* confdefs.h. */
20957 if { (ac_try="$ac_link" 20265 if { (ac_try="$ac_link"
20958 case "(($ac_try" in 20266 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;; 20268 *) ac_try_echo=$ac_try;;
20961 esac 20269 esac
20962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 $as_echo "$ac_try_echo") >&5
20964 (eval "$ac_link") 2>conftest.er1 20271 (eval "$ac_link") 2>conftest.er1
20965 ac_status=$? 20272 ac_status=$?
20966 grep -v '^ *+' conftest.er1 >conftest.err 20273 grep -v '^ *+' conftest.er1 >conftest.err
20967 rm -f conftest.er1 20274 rm -f conftest.er1
20968 cat conftest.err >&5 20275 cat conftest.err >&5
20969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } && { 20277 (exit $ac_status); } && {
20971 test -z "$ac_c_werror_flag" || 20278 test -z "$ac_c_werror_flag" ||
20972 test ! -s conftest.err 20279 test ! -s conftest.err
20973 } && test -s conftest$ac_exeext && { 20280 } && test -s conftest$ac_exeext &&
20974 test "$cross_compiling" = yes || 20281 $as_test_x conftest$ac_exeext; then
20975 $as_test_x conftest$ac_exeext
20976 }; then
20977 ac_cv_lib_resolv_res_send=yes 20282 ac_cv_lib_resolv_res_send=yes
20978 else 20283 else
20979 $as_echo "$as_me: failed program was:" >&5 20284 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5 20285 sed 's/^/| /' conftest.$ac_ext >&5
20981 20286
20982 ac_cv_lib_resolv_res_send=no 20287 ac_cv_lib_resolv_res_send=no
20983 fi 20288 fi
20984 20289
20985 rm -rf conftest.dSYM
20986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20987 conftest$ac_exeext conftest.$ac_ext 20291 conftest$ac_exeext conftest.$ac_ext
20988 LIBS=$ac_check_lib_save_LIBS 20292 LIBS=$ac_check_lib_save_LIBS
20989 fi 20293 fi
20990 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 20294 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
20991 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } 20295 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; }
20992 if test $ac_cv_lib_resolv_res_send = yes; then 20296 if test $ac_cv_lib_resolv_res_send = yes; then
20993 resolv=yes 20297 resolv=yes
20994 else 20298 else
20995 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 20299 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
20996 $as_echo_n "checking for __res_send in -lresolv... " >&6; } 20300 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; }
20997 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 20301 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
20998 $as_echo_n "(cached) " >&6 20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20999 else 20303 else
21000 ac_check_lib_save_LIBS=$LIBS 20304 ac_check_lib_save_LIBS=$LIBS
21001 LIBS="-lresolv $LIBS" 20305 LIBS="-lresolv $LIBS"
21002 cat >conftest.$ac_ext <<_ACEOF 20306 cat >conftest.$ac_ext <<_ACEOF
21003 /* confdefs.h. */ 20307 /* confdefs.h. */
21025 if { (ac_try="$ac_link" 20329 if { (ac_try="$ac_link"
21026 case "(($ac_try" in 20330 case "(($ac_try" in
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;; 20332 *) ac_try_echo=$ac_try;;
21029 esac 20333 esac
21030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 $as_echo "$ac_try_echo") >&5
21032 (eval "$ac_link") 2>conftest.er1 20335 (eval "$ac_link") 2>conftest.er1
21033 ac_status=$? 20336 ac_status=$?
21034 grep -v '^ *+' conftest.er1 >conftest.err 20337 grep -v '^ *+' conftest.er1 >conftest.err
21035 rm -f conftest.er1 20338 rm -f conftest.er1
21036 cat conftest.err >&5 20339 cat conftest.err >&5
21037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } && { 20341 (exit $ac_status); } && {
21039 test -z "$ac_c_werror_flag" || 20342 test -z "$ac_c_werror_flag" ||
21040 test ! -s conftest.err 20343 test ! -s conftest.err
21041 } && test -s conftest$ac_exeext && { 20344 } && test -s conftest$ac_exeext &&
21042 test "$cross_compiling" = yes || 20345 $as_test_x conftest$ac_exeext; then
21043 $as_test_x conftest$ac_exeext
21044 }; then
21045 ac_cv_lib_resolv___res_send=yes 20346 ac_cv_lib_resolv___res_send=yes
21046 else 20347 else
21047 $as_echo "$as_me: failed program was:" >&5 20348 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5 20349 sed 's/^/| /' conftest.$ac_ext >&5
21049 20350
21050 ac_cv_lib_resolv___res_send=no 20351 ac_cv_lib_resolv___res_send=no
21051 fi 20352 fi
21052 20353
21053 rm -rf conftest.dSYM
21054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21055 conftest$ac_exeext conftest.$ac_ext 20355 conftest$ac_exeext conftest.$ac_ext
21056 LIBS=$ac_check_lib_save_LIBS 20356 LIBS=$ac_check_lib_save_LIBS
21057 fi 20357 fi
21058 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 20358 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
21059 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } 20359 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; }
21060 if test $ac_cv_lib_resolv___res_send = yes; then 20360 if test $ac_cv_lib_resolv___res_send = yes; then
21061 resolv=yes 20361 resolv=yes
21062 fi 20362 fi
21063 20363
21064 fi 20364 fi
21070 if test "$resolv" = yes ; then 20370 if test "$resolv" = yes ; then
21071 RESOLVLIB=-lresolv 20371 RESOLVLIB=-lresolv
21072 else 20372 else
21073 RESOLVLIB= 20373 RESOLVLIB=
21074 fi 20374 fi
21075 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 20375 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
21076 $as_echo_n "checking for hes_getmailhost... " >&6; } 20376 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; }
21077 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 20377 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
21078 $as_echo_n "(cached) " >&6 20378 echo $ECHO_N "(cached) $ECHO_C" >&6
21079 else 20379 else
21080 cat >conftest.$ac_ext <<_ACEOF 20380 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */ 20381 /* confdefs.h. */
21082 _ACEOF 20382 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext 20383 cat confdefs.h >>conftest.$ac_ext
21126 if { (ac_try="$ac_link" 20426 if { (ac_try="$ac_link"
21127 case "(($ac_try" in 20427 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;; 20429 *) ac_try_echo=$ac_try;;
21130 esac 20430 esac
21131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 $as_echo "$ac_try_echo") >&5
21133 (eval "$ac_link") 2>conftest.er1 20432 (eval "$ac_link") 2>conftest.er1
21134 ac_status=$? 20433 ac_status=$?
21135 grep -v '^ *+' conftest.er1 >conftest.err 20434 grep -v '^ *+' conftest.er1 >conftest.err
21136 rm -f conftest.er1 20435 rm -f conftest.er1
21137 cat conftest.err >&5 20436 cat conftest.err >&5
21138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } && { 20438 (exit $ac_status); } && {
21140 test -z "$ac_c_werror_flag" || 20439 test -z "$ac_c_werror_flag" ||
21141 test ! -s conftest.err 20440 test ! -s conftest.err
21142 } && test -s conftest$ac_exeext && { 20441 } && test -s conftest$ac_exeext &&
21143 test "$cross_compiling" = yes || 20442 $as_test_x conftest$ac_exeext; then
21144 $as_test_x conftest$ac_exeext
21145 }; then
21146 ac_cv_func_hes_getmailhost=yes 20443 ac_cv_func_hes_getmailhost=yes
21147 else 20444 else
21148 $as_echo "$as_me: failed program was:" >&5 20445 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5 20446 sed 's/^/| /' conftest.$ac_ext >&5
21150 20447
21151 ac_cv_func_hes_getmailhost=no 20448 ac_cv_func_hes_getmailhost=no
21152 fi 20449 fi
21153 20450
21154 rm -rf conftest.dSYM
21155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21156 conftest$ac_exeext conftest.$ac_ext 20452 conftest$ac_exeext conftest.$ac_ext
21157 fi 20453 fi
21158 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 20454 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21159 $as_echo "$ac_cv_func_hes_getmailhost" >&6; } 20455 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; }
21160 if test $ac_cv_func_hes_getmailhost = yes; then 20456 if test $ac_cv_func_hes_getmailhost = yes; then
21161 : 20457 :
21162 else 20458 else
21163 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 20459 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
21164 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 20460 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; }
21165 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 20461 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
21166 $as_echo_n "(cached) " >&6 20462 echo $ECHO_N "(cached) $ECHO_C" >&6
21167 else 20463 else
21168 ac_check_lib_save_LIBS=$LIBS 20464 ac_check_lib_save_LIBS=$LIBS
21169 LIBS="-lhesiod $RESOLVLIB $LIBS" 20465 LIBS="-lhesiod $RESOLVLIB $LIBS"
21170 cat >conftest.$ac_ext <<_ACEOF 20466 cat >conftest.$ac_ext <<_ACEOF
21171 /* confdefs.h. */ 20467 /* confdefs.h. */
21193 if { (ac_try="$ac_link" 20489 if { (ac_try="$ac_link"
21194 case "(($ac_try" in 20490 case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;; 20492 *) ac_try_echo=$ac_try;;
21197 esac 20493 esac
21198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 $as_echo "$ac_try_echo") >&5
21200 (eval "$ac_link") 2>conftest.er1 20495 (eval "$ac_link") 2>conftest.er1
21201 ac_status=$? 20496 ac_status=$?
21202 grep -v '^ *+' conftest.er1 >conftest.err 20497 grep -v '^ *+' conftest.er1 >conftest.err
21203 rm -f conftest.er1 20498 rm -f conftest.er1
21204 cat conftest.err >&5 20499 cat conftest.err >&5
21205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } && { 20501 (exit $ac_status); } && {
21207 test -z "$ac_c_werror_flag" || 20502 test -z "$ac_c_werror_flag" ||
21208 test ! -s conftest.err 20503 test ! -s conftest.err
21209 } && test -s conftest$ac_exeext && { 20504 } && test -s conftest$ac_exeext &&
21210 test "$cross_compiling" = yes || 20505 $as_test_x conftest$ac_exeext; then
21211 $as_test_x conftest$ac_exeext
21212 }; then
21213 ac_cv_lib_hesiod_hes_getmailhost=yes 20506 ac_cv_lib_hesiod_hes_getmailhost=yes
21214 else 20507 else
21215 $as_echo "$as_me: failed program was:" >&5 20508 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.$ac_ext >&5 20509 sed 's/^/| /' conftest.$ac_ext >&5
21217 20510
21218 ac_cv_lib_hesiod_hes_getmailhost=no 20511 ac_cv_lib_hesiod_hes_getmailhost=no
21219 fi 20512 fi
21220 20513
21221 rm -rf conftest.dSYM
21222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21223 conftest$ac_exeext conftest.$ac_ext 20515 conftest$ac_exeext conftest.$ac_ext
21224 LIBS=$ac_check_lib_save_LIBS 20516 LIBS=$ac_check_lib_save_LIBS
21225 fi 20517 fi
21226 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 20518 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
21227 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 20519 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
21228 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 20520 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
21229 20521
21230 cat >>confdefs.h <<\_ACEOF 20522 cat >>confdefs.h <<\_ACEOF
21231 #define HAVE_LIBHESIOD 1 20523 #define HAVE_LIBHESIOD 1
21232 _ACEOF 20524 _ACEOF
21249 fi 20541 fi
21250 20542
21251 # These tell us which Kerberos-related libraries to use. 20543 # These tell us which Kerberos-related libraries to use.
21252 if test "${with_kerberos}" != no; then 20544 if test "${with_kerberos}" != no; then
21253 20545
21254 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 20546 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
21255 $as_echo_n "checking for com_err in -lcom_err... " >&6; } 20547 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
21256 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 20548 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
21257 $as_echo_n "(cached) " >&6 20549 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 else 20550 else
21259 ac_check_lib_save_LIBS=$LIBS 20551 ac_check_lib_save_LIBS=$LIBS
21260 LIBS="-lcom_err $LIBS" 20552 LIBS="-lcom_err $LIBS"
21261 cat >conftest.$ac_ext <<_ACEOF 20553 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h. */ 20554 /* confdefs.h. */
21284 if { (ac_try="$ac_link" 20576 if { (ac_try="$ac_link"
21285 case "(($ac_try" in 20577 case "(($ac_try" in
21286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21287 *) ac_try_echo=$ac_try;; 20579 *) ac_try_echo=$ac_try;;
21288 esac 20580 esac
21289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 $as_echo "$ac_try_echo") >&5
21291 (eval "$ac_link") 2>conftest.er1 20582 (eval "$ac_link") 2>conftest.er1
21292 ac_status=$? 20583 ac_status=$?
21293 grep -v '^ *+' conftest.er1 >conftest.err 20584 grep -v '^ *+' conftest.er1 >conftest.err
21294 rm -f conftest.er1 20585 rm -f conftest.er1
21295 cat conftest.err >&5 20586 cat conftest.err >&5
21296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && { 20588 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" || 20589 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err 20590 test ! -s conftest.err
21300 } && test -s conftest$ac_exeext && { 20591 } && test -s conftest$ac_exeext &&
21301 test "$cross_compiling" = yes || 20592 $as_test_x conftest$ac_exeext; then
21302 $as_test_x conftest$ac_exeext
21303 }; then
21304 ac_cv_lib_com_err_com_err=yes 20593 ac_cv_lib_com_err_com_err=yes
21305 else 20594 else
21306 $as_echo "$as_me: failed program was:" >&5 20595 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.$ac_ext >&5 20596 sed 's/^/| /' conftest.$ac_ext >&5
21308 20597
21309 ac_cv_lib_com_err_com_err=no 20598 ac_cv_lib_com_err_com_err=no
21310 fi 20599 fi
21311 20600
21312 rm -rf conftest.dSYM
21313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21314 conftest$ac_exeext conftest.$ac_ext 20602 conftest$ac_exeext conftest.$ac_ext
21315 LIBS=$ac_check_lib_save_LIBS 20603 LIBS=$ac_check_lib_save_LIBS
21316 fi 20604 fi
21317 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 20605 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
21318 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } 20606 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
21319 if test $ac_cv_lib_com_err_com_err = yes; then 20607 if test $ac_cv_lib_com_err_com_err = yes; then
21320 cat >>confdefs.h <<_ACEOF 20608 cat >>confdefs.h <<_ACEOF
21321 #define HAVE_LIBCOM_ERR 1 20609 #define HAVE_LIBCOM_ERR 1
21322 _ACEOF 20610 _ACEOF
21323 20611
21324 LIBS="-lcom_err $LIBS" 20612 LIBS="-lcom_err $LIBS"
21325 20613
21326 fi 20614 fi
21327 20615
21328 20616
21329 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 20617 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
21330 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 20618 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; }
21331 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 20619 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
21332 $as_echo_n "(cached) " >&6 20620 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 else 20621 else
21334 ac_check_lib_save_LIBS=$LIBS 20622 ac_check_lib_save_LIBS=$LIBS
21335 LIBS="-lk5crypto $LIBS" 20623 LIBS="-lk5crypto $LIBS"
21336 cat >conftest.$ac_ext <<_ACEOF 20624 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */ 20625 /* confdefs.h. */
21359 if { (ac_try="$ac_link" 20647 if { (ac_try="$ac_link"
21360 case "(($ac_try" in 20648 case "(($ac_try" in
21361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21362 *) ac_try_echo=$ac_try;; 20650 *) ac_try_echo=$ac_try;;
21363 esac 20651 esac
21364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21365 $as_echo "$ac_try_echo") >&5
21366 (eval "$ac_link") 2>conftest.er1 20653 (eval "$ac_link") 2>conftest.er1
21367 ac_status=$? 20654 ac_status=$?
21368 grep -v '^ *+' conftest.er1 >conftest.err 20655 grep -v '^ *+' conftest.er1 >conftest.err
21369 rm -f conftest.er1 20656 rm -f conftest.er1
21370 cat conftest.err >&5 20657 cat conftest.err >&5
21371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && { 20659 (exit $ac_status); } && {
21373 test -z "$ac_c_werror_flag" || 20660 test -z "$ac_c_werror_flag" ||
21374 test ! -s conftest.err 20661 test ! -s conftest.err
21375 } && test -s conftest$ac_exeext && { 20662 } && test -s conftest$ac_exeext &&
21376 test "$cross_compiling" = yes || 20663 $as_test_x conftest$ac_exeext; then
21377 $as_test_x conftest$ac_exeext
21378 }; then
21379 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 20664 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
21380 else 20665 else
21381 $as_echo "$as_me: failed program was:" >&5 20666 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5 20667 sed 's/^/| /' conftest.$ac_ext >&5
21383 20668
21384 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 20669 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
21385 fi 20670 fi
21386 20671
21387 rm -rf conftest.dSYM
21388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21389 conftest$ac_exeext conftest.$ac_ext 20673 conftest$ac_exeext conftest.$ac_ext
21390 LIBS=$ac_check_lib_save_LIBS 20674 LIBS=$ac_check_lib_save_LIBS
21391 fi 20675 fi
21392 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 20676 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
21393 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 20677 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
21394 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 20678 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
21395 cat >>confdefs.h <<_ACEOF 20679 cat >>confdefs.h <<_ACEOF
21396 #define HAVE_LIBK5CRYPTO 1 20680 #define HAVE_LIBK5CRYPTO 1
21397 _ACEOF 20681 _ACEOF
21398 20682
21399 LIBS="-lk5crypto $LIBS" 20683 LIBS="-lk5crypto $LIBS"
21400 20684
21401 fi 20685 fi
21402 20686
21403 20687
21404 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 20688 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
21405 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 20689 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; }
21406 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 20690 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
21407 $as_echo_n "(cached) " >&6 20691 echo $ECHO_N "(cached) $ECHO_C" >&6
21408 else 20692 else
21409 ac_check_lib_save_LIBS=$LIBS 20693 ac_check_lib_save_LIBS=$LIBS
21410 LIBS="-lcrypto $LIBS" 20694 LIBS="-lcrypto $LIBS"
21411 cat >conftest.$ac_ext <<_ACEOF 20695 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */ 20696 /* confdefs.h. */
21434 if { (ac_try="$ac_link" 20718 if { (ac_try="$ac_link"
21435 case "(($ac_try" in 20719 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;; 20721 *) ac_try_echo=$ac_try;;
21438 esac 20722 esac
21439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 $as_echo "$ac_try_echo") >&5
21441 (eval "$ac_link") 2>conftest.er1 20724 (eval "$ac_link") 2>conftest.er1
21442 ac_status=$? 20725 ac_status=$?
21443 grep -v '^ *+' conftest.er1 >conftest.err 20726 grep -v '^ *+' conftest.er1 >conftest.err
21444 rm -f conftest.er1 20727 rm -f conftest.er1
21445 cat conftest.err >&5 20728 cat conftest.err >&5
21446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && { 20730 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" || 20731 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err 20732 test ! -s conftest.err
21450 } && test -s conftest$ac_exeext && { 20733 } && test -s conftest$ac_exeext &&
21451 test "$cross_compiling" = yes || 20734 $as_test_x conftest$ac_exeext; then
21452 $as_test_x conftest$ac_exeext
21453 }; then
21454 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 20735 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
21455 else 20736 else
21456 $as_echo "$as_me: failed program was:" >&5 20737 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.$ac_ext >&5 20738 sed 's/^/| /' conftest.$ac_ext >&5
21458 20739
21459 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 20740 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
21460 fi 20741 fi
21461 20742
21462 rm -rf conftest.dSYM
21463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21464 conftest$ac_exeext conftest.$ac_ext 20744 conftest$ac_exeext conftest.$ac_ext
21465 LIBS=$ac_check_lib_save_LIBS 20745 LIBS=$ac_check_lib_save_LIBS
21466 fi 20746 fi
21467 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 20747 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
21468 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 20748 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
21469 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 20749 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
21470 cat >>confdefs.h <<_ACEOF 20750 cat >>confdefs.h <<_ACEOF
21471 #define HAVE_LIBCRYPTO 1 20751 #define HAVE_LIBCRYPTO 1
21472 _ACEOF 20752 _ACEOF
21473 20753
21474 LIBS="-lcrypto $LIBS" 20754 LIBS="-lcrypto $LIBS"
21475 20755
21476 fi 20756 fi
21477 20757
21478 20758
21479 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 20759 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
21480 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 20760 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
21481 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 20761 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
21482 $as_echo_n "(cached) " >&6 20762 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 else 20763 else
21484 ac_check_lib_save_LIBS=$LIBS 20764 ac_check_lib_save_LIBS=$LIBS
21485 LIBS="-lkrb5 $LIBS" 20765 LIBS="-lkrb5 $LIBS"
21486 cat >conftest.$ac_ext <<_ACEOF 20766 cat >conftest.$ac_ext <<_ACEOF
21487 /* confdefs.h. */ 20767 /* confdefs.h. */
21509 if { (ac_try="$ac_link" 20789 if { (ac_try="$ac_link"
21510 case "(($ac_try" in 20790 case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;; 20792 *) ac_try_echo=$ac_try;;
21513 esac 20793 esac
21514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 $as_echo "$ac_try_echo") >&5
21516 (eval "$ac_link") 2>conftest.er1 20795 (eval "$ac_link") 2>conftest.er1
21517 ac_status=$? 20796 ac_status=$?
21518 grep -v '^ *+' conftest.er1 >conftest.err 20797 grep -v '^ *+' conftest.er1 >conftest.err
21519 rm -f conftest.er1 20798 rm -f conftest.er1
21520 cat conftest.err >&5 20799 cat conftest.err >&5
21521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } && { 20801 (exit $ac_status); } && {
21523 test -z "$ac_c_werror_flag" || 20802 test -z "$ac_c_werror_flag" ||
21524 test ! -s conftest.err 20803 test ! -s conftest.err
21525 } && test -s conftest$ac_exeext && { 20804 } && test -s conftest$ac_exeext &&
21526 test "$cross_compiling" = yes || 20805 $as_test_x conftest$ac_exeext; then
21527 $as_test_x conftest$ac_exeext
21528 }; then
21529 ac_cv_lib_krb5_krb5_init_context=yes 20806 ac_cv_lib_krb5_krb5_init_context=yes
21530 else 20807 else
21531 $as_echo "$as_me: failed program was:" >&5 20808 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5 20809 sed 's/^/| /' conftest.$ac_ext >&5
21533 20810
21534 ac_cv_lib_krb5_krb5_init_context=no 20811 ac_cv_lib_krb5_krb5_init_context=no
21535 fi 20812 fi
21536 20813
21537 rm -rf conftest.dSYM
21538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21539 conftest$ac_exeext conftest.$ac_ext 20815 conftest$ac_exeext conftest.$ac_ext
21540 LIBS=$ac_check_lib_save_LIBS 20816 LIBS=$ac_check_lib_save_LIBS
21541 fi 20817 fi
21542 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 20818 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
21543 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 20819 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; }
21544 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 20820 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
21545 cat >>confdefs.h <<_ACEOF 20821 cat >>confdefs.h <<_ACEOF
21546 #define HAVE_LIBKRB5 1 20822 #define HAVE_LIBKRB5 1
21547 _ACEOF 20823 _ACEOF
21548 20824
21550 20826
21551 fi 20827 fi
21552 20828
21553 if test "${with_kerberos5}" = no; then 20829 if test "${with_kerberos5}" = no; then
21554 20830
21555 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 20831 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
21556 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 20832 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
21557 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 20833 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
21558 $as_echo_n "(cached) " >&6 20834 echo $ECHO_N "(cached) $ECHO_C" >&6
21559 else 20835 else
21560 ac_check_lib_save_LIBS=$LIBS 20836 ac_check_lib_save_LIBS=$LIBS
21561 LIBS="-ldes425 $LIBS" 20837 LIBS="-ldes425 $LIBS"
21562 cat >conftest.$ac_ext <<_ACEOF 20838 cat >conftest.$ac_ext <<_ACEOF
21563 /* confdefs.h. */ 20839 /* confdefs.h. */
21585 if { (ac_try="$ac_link" 20861 if { (ac_try="$ac_link"
21586 case "(($ac_try" in 20862 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;; 20864 *) ac_try_echo=$ac_try;;
21589 esac 20865 esac
21590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 $as_echo "$ac_try_echo") >&5
21592 (eval "$ac_link") 2>conftest.er1 20867 (eval "$ac_link") 2>conftest.er1
21593 ac_status=$? 20868 ac_status=$?
21594 grep -v '^ *+' conftest.er1 >conftest.err 20869 grep -v '^ *+' conftest.er1 >conftest.err
21595 rm -f conftest.er1 20870 rm -f conftest.er1
21596 cat conftest.err >&5 20871 cat conftest.err >&5
21597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && { 20873 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" || 20874 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err 20875 test ! -s conftest.err
21601 } && test -s conftest$ac_exeext && { 20876 } && test -s conftest$ac_exeext &&
21602 test "$cross_compiling" = yes || 20877 $as_test_x conftest$ac_exeext; then
21603 $as_test_x conftest$ac_exeext
21604 }; then
21605 ac_cv_lib_des425_des_cbc_encrypt=yes 20878 ac_cv_lib_des425_des_cbc_encrypt=yes
21606 else 20879 else
21607 $as_echo "$as_me: failed program was:" >&5 20880 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5 20881 sed 's/^/| /' conftest.$ac_ext >&5
21609 20882
21610 ac_cv_lib_des425_des_cbc_encrypt=no 20883 ac_cv_lib_des425_des_cbc_encrypt=no
21611 fi 20884 fi
21612 20885
21613 rm -rf conftest.dSYM
21614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21615 conftest$ac_exeext conftest.$ac_ext 20887 conftest$ac_exeext conftest.$ac_ext
21616 LIBS=$ac_check_lib_save_LIBS 20888 LIBS=$ac_check_lib_save_LIBS
21617 fi 20889 fi
21618 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 20890 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
21619 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 20891 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
21620 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 20892 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
21621 cat >>confdefs.h <<_ACEOF 20893 cat >>confdefs.h <<_ACEOF
21622 #define HAVE_LIBDES425 1 20894 #define HAVE_LIBDES425 1
21623 _ACEOF 20895 _ACEOF
21624 20896
21625 LIBS="-ldes425 $LIBS" 20897 LIBS="-ldes425 $LIBS"
21626 20898
21627 else 20899 else
21628 20900
21629 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 20901 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
21630 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 20902 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; }
21631 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 20903 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
21632 $as_echo_n "(cached) " >&6 20904 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 else 20905 else
21634 ac_check_lib_save_LIBS=$LIBS 20906 ac_check_lib_save_LIBS=$LIBS
21635 LIBS="-ldes $LIBS" 20907 LIBS="-ldes $LIBS"
21636 cat >conftest.$ac_ext <<_ACEOF 20908 cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h. */ 20909 /* confdefs.h. */
21659 if { (ac_try="$ac_link" 20931 if { (ac_try="$ac_link"
21660 case "(($ac_try" in 20932 case "(($ac_try" in
21661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21662 *) ac_try_echo=$ac_try;; 20934 *) ac_try_echo=$ac_try;;
21663 esac 20935 esac
21664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21665 $as_echo "$ac_try_echo") >&5
21666 (eval "$ac_link") 2>conftest.er1 20937 (eval "$ac_link") 2>conftest.er1
21667 ac_status=$? 20938 ac_status=$?
21668 grep -v '^ *+' conftest.er1 >conftest.err 20939 grep -v '^ *+' conftest.er1 >conftest.err
21669 rm -f conftest.er1 20940 rm -f conftest.er1
21670 cat conftest.err >&5 20941 cat conftest.err >&5
21671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && { 20943 (exit $ac_status); } && {
21673 test -z "$ac_c_werror_flag" || 20944 test -z "$ac_c_werror_flag" ||
21674 test ! -s conftest.err 20945 test ! -s conftest.err
21675 } && test -s conftest$ac_exeext && { 20946 } && test -s conftest$ac_exeext &&
21676 test "$cross_compiling" = yes || 20947 $as_test_x conftest$ac_exeext; then
21677 $as_test_x conftest$ac_exeext
21678 }; then
21679 ac_cv_lib_des_des_cbc_encrypt=yes 20948 ac_cv_lib_des_des_cbc_encrypt=yes
21680 else 20949 else
21681 $as_echo "$as_me: failed program was:" >&5 20950 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.$ac_ext >&5 20951 sed 's/^/| /' conftest.$ac_ext >&5
21683 20952
21684 ac_cv_lib_des_des_cbc_encrypt=no 20953 ac_cv_lib_des_des_cbc_encrypt=no
21685 fi 20954 fi
21686 20955
21687 rm -rf conftest.dSYM
21688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21689 conftest$ac_exeext conftest.$ac_ext 20957 conftest$ac_exeext conftest.$ac_ext
21690 LIBS=$ac_check_lib_save_LIBS 20958 LIBS=$ac_check_lib_save_LIBS
21691 fi 20959 fi
21692 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 20960 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
21693 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 20961 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; }
21694 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 20962 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
21695 cat >>confdefs.h <<_ACEOF 20963 cat >>confdefs.h <<_ACEOF
21696 #define HAVE_LIBDES 1 20964 #define HAVE_LIBDES 1
21697 _ACEOF 20965 _ACEOF
21698 20966
21701 fi 20969 fi
21702 20970
21703 fi 20971 fi
21704 20972
21705 20973
21706 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 20974 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
21707 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 20975 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; }
21708 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 20976 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
21709 $as_echo_n "(cached) " >&6 20977 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 else 20978 else
21711 ac_check_lib_save_LIBS=$LIBS 20979 ac_check_lib_save_LIBS=$LIBS
21712 LIBS="-lkrb4 $LIBS" 20980 LIBS="-lkrb4 $LIBS"
21713 cat >conftest.$ac_ext <<_ACEOF 20981 cat >conftest.$ac_ext <<_ACEOF
21714 /* confdefs.h. */ 20982 /* confdefs.h. */
21736 if { (ac_try="$ac_link" 21004 if { (ac_try="$ac_link"
21737 case "(($ac_try" in 21005 case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;; 21007 *) ac_try_echo=$ac_try;;
21740 esac 21008 esac
21741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 $as_echo "$ac_try_echo") >&5
21743 (eval "$ac_link") 2>conftest.er1 21010 (eval "$ac_link") 2>conftest.er1
21744 ac_status=$? 21011 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err 21012 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1 21013 rm -f conftest.er1
21747 cat conftest.err >&5 21014 cat conftest.err >&5
21748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } && { 21016 (exit $ac_status); } && {
21750 test -z "$ac_c_werror_flag" || 21017 test -z "$ac_c_werror_flag" ||
21751 test ! -s conftest.err 21018 test ! -s conftest.err
21752 } && test -s conftest$ac_exeext && { 21019 } && test -s conftest$ac_exeext &&
21753 test "$cross_compiling" = yes || 21020 $as_test_x conftest$ac_exeext; then
21754 $as_test_x conftest$ac_exeext
21755 }; then
21756 ac_cv_lib_krb4_krb_get_cred=yes 21021 ac_cv_lib_krb4_krb_get_cred=yes
21757 else 21022 else
21758 $as_echo "$as_me: failed program was:" >&5 21023 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5 21024 sed 's/^/| /' conftest.$ac_ext >&5
21760 21025
21761 ac_cv_lib_krb4_krb_get_cred=no 21026 ac_cv_lib_krb4_krb_get_cred=no
21762 fi 21027 fi
21763 21028
21764 rm -rf conftest.dSYM
21765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21766 conftest$ac_exeext conftest.$ac_ext 21030 conftest$ac_exeext conftest.$ac_ext
21767 LIBS=$ac_check_lib_save_LIBS 21031 LIBS=$ac_check_lib_save_LIBS
21768 fi 21032 fi
21769 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 21033 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
21770 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 21034 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; }
21771 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 21035 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
21772 cat >>confdefs.h <<_ACEOF 21036 cat >>confdefs.h <<_ACEOF
21773 #define HAVE_LIBKRB4 1 21037 #define HAVE_LIBKRB4 1
21774 _ACEOF 21038 _ACEOF
21775 21039
21776 LIBS="-lkrb4 $LIBS" 21040 LIBS="-lkrb4 $LIBS"
21777 21041
21778 else 21042 else
21779 21043
21780 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 21044 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
21781 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 21045 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; }
21782 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 21046 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
21783 $as_echo_n "(cached) " >&6 21047 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 else 21048 else
21785 ac_check_lib_save_LIBS=$LIBS 21049 ac_check_lib_save_LIBS=$LIBS
21786 LIBS="-lkrb $LIBS" 21050 LIBS="-lkrb $LIBS"
21787 cat >conftest.$ac_ext <<_ACEOF 21051 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */ 21052 /* confdefs.h. */
21810 if { (ac_try="$ac_link" 21074 if { (ac_try="$ac_link"
21811 case "(($ac_try" in 21075 case "(($ac_try" in
21812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21813 *) ac_try_echo=$ac_try;; 21077 *) ac_try_echo=$ac_try;;
21814 esac 21078 esac
21815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21816 $as_echo "$ac_try_echo") >&5
21817 (eval "$ac_link") 2>conftest.er1 21080 (eval "$ac_link") 2>conftest.er1
21818 ac_status=$? 21081 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err 21082 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1 21083 rm -f conftest.er1
21821 cat conftest.err >&5 21084 cat conftest.err >&5
21822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } && { 21086 (exit $ac_status); } && {
21824 test -z "$ac_c_werror_flag" || 21087 test -z "$ac_c_werror_flag" ||
21825 test ! -s conftest.err 21088 test ! -s conftest.err
21826 } && test -s conftest$ac_exeext && { 21089 } && test -s conftest$ac_exeext &&
21827 test "$cross_compiling" = yes || 21090 $as_test_x conftest$ac_exeext; then
21828 $as_test_x conftest$ac_exeext
21829 }; then
21830 ac_cv_lib_krb_krb_get_cred=yes 21091 ac_cv_lib_krb_krb_get_cred=yes
21831 else 21092 else
21832 $as_echo "$as_me: failed program was:" >&5 21093 echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.$ac_ext >&5 21094 sed 's/^/| /' conftest.$ac_ext >&5
21834 21095
21835 ac_cv_lib_krb_krb_get_cred=no 21096 ac_cv_lib_krb_krb_get_cred=no
21836 fi 21097 fi
21837 21098
21838 rm -rf conftest.dSYM
21839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21840 conftest$ac_exeext conftest.$ac_ext 21100 conftest$ac_exeext conftest.$ac_ext
21841 LIBS=$ac_check_lib_save_LIBS 21101 LIBS=$ac_check_lib_save_LIBS
21842 fi 21102 fi
21843 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 21103 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
21844 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 21104 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; }
21845 if test $ac_cv_lib_krb_krb_get_cred = yes; then 21105 if test $ac_cv_lib_krb_krb_get_cred = yes; then
21846 cat >>confdefs.h <<_ACEOF 21106 cat >>confdefs.h <<_ACEOF
21847 #define HAVE_LIBKRB 1 21107 #define HAVE_LIBKRB 1
21848 _ACEOF 21108 _ACEOF
21849 21109
21857 21117
21858 if test "${with_kerberos5}" != no; then 21118 if test "${with_kerberos5}" != no; then
21859 21119
21860 for ac_header in krb5.h 21120 for ac_header in krb5.h
21861 do 21121 do
21862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21864 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21865 $as_echo_n "checking for $ac_header... " >&6; } 21125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21866 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21867 $as_echo_n "(cached) " >&6 21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 fi 21128 fi
21869 ac_res=`eval 'as_val=${'$as_ac_Header'} 21129 ac_res=`eval echo '${'$as_ac_Header'}'`
21870 $as_echo "$as_val"'` 21130 { echo "$as_me:$LINENO: result: $ac_res" >&5
21871 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21131 echo "${ECHO_T}$ac_res" >&6; }
21872 $as_echo "$ac_res" >&6; }
21873 else 21132 else
21874 # Is the header compilable? 21133 # Is the header compilable?
21875 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21134 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21876 $as_echo_n "checking $ac_header usability... " >&6; } 21135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21877 cat >conftest.$ac_ext <<_ACEOF 21136 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */ 21137 /* confdefs.h. */
21879 _ACEOF 21138 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext 21139 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF 21140 cat >>conftest.$ac_ext <<_ACEOF
21887 if { (ac_try="$ac_compile" 21146 if { (ac_try="$ac_compile"
21888 case "(($ac_try" in 21147 case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;; 21149 *) ac_try_echo=$ac_try;;
21891 esac 21150 esac
21892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 $as_echo "$ac_try_echo") >&5
21894 (eval "$ac_compile") 2>conftest.er1 21152 (eval "$ac_compile") 2>conftest.er1
21895 ac_status=$? 21153 ac_status=$?
21896 grep -v '^ *+' conftest.er1 >conftest.err 21154 grep -v '^ *+' conftest.er1 >conftest.err
21897 rm -f conftest.er1 21155 rm -f conftest.er1
21898 cat conftest.err >&5 21156 cat conftest.err >&5
21899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } && { 21158 (exit $ac_status); } && {
21901 test -z "$ac_c_werror_flag" || 21159 test -z "$ac_c_werror_flag" ||
21902 test ! -s conftest.err 21160 test ! -s conftest.err
21903 } && test -s conftest.$ac_objext; then 21161 } && test -s conftest.$ac_objext; then
21904 ac_header_compiler=yes 21162 ac_header_compiler=yes
21905 else 21163 else
21906 $as_echo "$as_me: failed program was:" >&5 21164 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5 21165 sed 's/^/| /' conftest.$ac_ext >&5
21908 21166
21909 ac_header_compiler=no 21167 ac_header_compiler=no
21910 fi 21168 fi
21911 21169
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21913 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21914 $as_echo "$ac_header_compiler" >&6; } 21172 echo "${ECHO_T}$ac_header_compiler" >&6; }
21915 21173
21916 # Is the header present? 21174 # Is the header present?
21917 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21175 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21918 $as_echo_n "checking $ac_header presence... " >&6; } 21176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21919 cat >conftest.$ac_ext <<_ACEOF 21177 cat >conftest.$ac_ext <<_ACEOF
21920 /* confdefs.h. */ 21178 /* confdefs.h. */
21921 _ACEOF 21179 _ACEOF
21922 cat confdefs.h >>conftest.$ac_ext 21180 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF 21181 cat >>conftest.$ac_ext <<_ACEOF
21927 if { (ac_try="$ac_cpp conftest.$ac_ext" 21185 if { (ac_try="$ac_cpp conftest.$ac_ext"
21928 case "(($ac_try" in 21186 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;; 21188 *) ac_try_echo=$ac_try;;
21931 esac 21189 esac
21932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 $as_echo "$ac_try_echo") >&5
21934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21935 ac_status=$? 21192 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err 21193 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1 21194 rm -f conftest.er1
21938 cat conftest.err >&5 21195 cat conftest.err >&5
21939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } >/dev/null && { 21197 (exit $ac_status); } >/dev/null && {
21941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21942 test ! -s conftest.err 21199 test ! -s conftest.err
21943 }; then 21200 }; then
21944 ac_header_preproc=yes 21201 ac_header_preproc=yes
21945 else 21202 else
21946 $as_echo "$as_me: failed program was:" >&5 21203 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5 21204 sed 's/^/| /' conftest.$ac_ext >&5
21948 21205
21949 ac_header_preproc=no 21206 ac_header_preproc=no
21950 fi 21207 fi
21951 21208
21952 rm -f conftest.err conftest.$ac_ext 21209 rm -f conftest.err conftest.$ac_ext
21953 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21954 $as_echo "$ac_header_preproc" >&6; } 21211 echo "${ECHO_T}$ac_header_preproc" >&6; }
21955 21212
21956 # So? What about this header? 21213 # So? What about this header?
21957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21958 yes:no: ) 21215 yes:no: )
21959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21960 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21962 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21963 ac_header_preproc=yes 21220 ac_header_preproc=yes
21964 ;; 21221 ;;
21965 no:yes:* ) 21222 no:yes:* )
21966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21967 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21969 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21971 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21973 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21975 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21977 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21978 21235
21979 ;; 21236 ;;
21980 esac 21237 esac
21981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21982 $as_echo_n "checking for $ac_header... " >&6; } 21239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21983 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21984 $as_echo_n "(cached) " >&6 21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 else 21242 else
21986 eval "$as_ac_Header=\$ac_header_preproc" 21243 eval "$as_ac_Header=\$ac_header_preproc"
21987 fi 21244 fi
21988 ac_res=`eval 'as_val=${'$as_ac_Header'} 21245 ac_res=`eval echo '${'$as_ac_Header'}'`
21989 $as_echo "$as_val"'` 21246 { echo "$as_me:$LINENO: result: $ac_res" >&5
21990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21247 echo "${ECHO_T}$ac_res" >&6; }
21991 $as_echo "$ac_res" >&6; } 21248
21992 21249 fi
21993 fi 21250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21994 if test `eval 'as_val=${'$as_ac_Header'}
21995 $as_echo "$as_val"'` = yes; then
21996 cat >>confdefs.h <<_ACEOF 21251 cat >>confdefs.h <<_ACEOF
21997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21998 _ACEOF 21253 _ACEOF
21999 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 21254 { echo "$as_me:$LINENO: checking for krb5_error.text" >&5
22000 $as_echo_n "checking for krb5_error.text... " >&6; } 21255 echo $ECHO_N "checking for krb5_error.text... $ECHO_C" >&6; }
22001 if test "${ac_cv_member_krb5_error_text+set}" = set; then 21256 if test "${ac_cv_member_krb5_error_text+set}" = set; then
22002 $as_echo_n "(cached) " >&6 21257 echo $ECHO_N "(cached) $ECHO_C" >&6
22003 else 21258 else
22004 cat >conftest.$ac_ext <<_ACEOF 21259 cat >conftest.$ac_ext <<_ACEOF
22005 /* confdefs.h. */ 21260 /* confdefs.h. */
22006 _ACEOF 21261 _ACEOF
22007 cat confdefs.h >>conftest.$ac_ext 21262 cat confdefs.h >>conftest.$ac_ext
22023 if { (ac_try="$ac_compile" 21278 if { (ac_try="$ac_compile"
22024 case "(($ac_try" in 21279 case "(($ac_try" in
22025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22026 *) ac_try_echo=$ac_try;; 21281 *) ac_try_echo=$ac_try;;
22027 esac 21282 esac
22028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22029 $as_echo "$ac_try_echo") >&5
22030 (eval "$ac_compile") 2>conftest.er1 21284 (eval "$ac_compile") 2>conftest.er1
22031 ac_status=$? 21285 ac_status=$?
22032 grep -v '^ *+' conftest.er1 >conftest.err 21286 grep -v '^ *+' conftest.er1 >conftest.err
22033 rm -f conftest.er1 21287 rm -f conftest.er1
22034 cat conftest.err >&5 21288 cat conftest.err >&5
22035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } && { 21290 (exit $ac_status); } && {
22037 test -z "$ac_c_werror_flag" || 21291 test -z "$ac_c_werror_flag" ||
22038 test ! -s conftest.err 21292 test ! -s conftest.err
22039 } && test -s conftest.$ac_objext; then 21293 } && test -s conftest.$ac_objext; then
22040 ac_cv_member_krb5_error_text=yes 21294 ac_cv_member_krb5_error_text=yes
22041 else 21295 else
22042 $as_echo "$as_me: failed program was:" >&5 21296 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5 21297 sed 's/^/| /' conftest.$ac_ext >&5
22044 21298
22045 cat >conftest.$ac_ext <<_ACEOF 21299 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */ 21300 /* confdefs.h. */
22047 _ACEOF 21301 _ACEOF
22064 if { (ac_try="$ac_compile" 21318 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in 21319 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;; 21321 *) ac_try_echo=$ac_try;;
22068 esac 21322 esac
22069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 $as_echo "$ac_try_echo") >&5
22071 (eval "$ac_compile") 2>conftest.er1 21324 (eval "$ac_compile") 2>conftest.er1
22072 ac_status=$? 21325 ac_status=$?
22073 grep -v '^ *+' conftest.er1 >conftest.err 21326 grep -v '^ *+' conftest.er1 >conftest.err
22074 rm -f conftest.er1 21327 rm -f conftest.er1
22075 cat conftest.err >&5 21328 cat conftest.err >&5
22076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && { 21330 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" || 21331 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err 21332 test ! -s conftest.err
22080 } && test -s conftest.$ac_objext; then 21333 } && test -s conftest.$ac_objext; then
22081 ac_cv_member_krb5_error_text=yes 21334 ac_cv_member_krb5_error_text=yes
22082 else 21335 else
22083 $as_echo "$as_me: failed program was:" >&5 21336 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5 21337 sed 's/^/| /' conftest.$ac_ext >&5
22085 21338
22086 ac_cv_member_krb5_error_text=no 21339 ac_cv_member_krb5_error_text=no
22087 fi 21340 fi
22088 21341
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 fi 21343 fi
22091 21344
22092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22093 fi 21346 fi
22094 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 21347 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22095 $as_echo "$ac_cv_member_krb5_error_text" >&6; } 21348 echo "${ECHO_T}$ac_cv_member_krb5_error_text" >&6; }
22096 if test $ac_cv_member_krb5_error_text = yes; then 21349 if test $ac_cv_member_krb5_error_text = yes; then
22097 21350
22098 cat >>confdefs.h <<_ACEOF 21351 cat >>confdefs.h <<_ACEOF
22099 #define HAVE_KRB5_ERROR_TEXT 1 21352 #define HAVE_KRB5_ERROR_TEXT 1
22100 _ACEOF 21353 _ACEOF
22101 21354
22102 21355
22103 fi 21356 fi
22104 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 21357 { echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5
22105 $as_echo_n "checking for krb5_error.e_text... " >&6; } 21358 echo $ECHO_N "checking for krb5_error.e_text... $ECHO_C" >&6; }
22106 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then 21359 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then
22107 $as_echo_n "(cached) " >&6 21360 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 else 21361 else
22109 cat >conftest.$ac_ext <<_ACEOF 21362 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */ 21363 /* confdefs.h. */
22111 _ACEOF 21364 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext 21365 cat confdefs.h >>conftest.$ac_ext
22128 if { (ac_try="$ac_compile" 21381 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in 21382 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;; 21384 *) ac_try_echo=$ac_try;;
22132 esac 21385 esac
22133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 $as_echo "$ac_try_echo") >&5
22135 (eval "$ac_compile") 2>conftest.er1 21387 (eval "$ac_compile") 2>conftest.er1
22136 ac_status=$? 21388 ac_status=$?
22137 grep -v '^ *+' conftest.er1 >conftest.err 21389 grep -v '^ *+' conftest.er1 >conftest.err
22138 rm -f conftest.er1 21390 rm -f conftest.er1
22139 cat conftest.err >&5 21391 cat conftest.err >&5
22140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && { 21393 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" || 21394 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err 21395 test ! -s conftest.err
22144 } && test -s conftest.$ac_objext; then 21396 } && test -s conftest.$ac_objext; then
22145 ac_cv_member_krb5_error_e_text=yes 21397 ac_cv_member_krb5_error_e_text=yes
22146 else 21398 else
22147 $as_echo "$as_me: failed program was:" >&5 21399 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.$ac_ext >&5 21400 sed 's/^/| /' conftest.$ac_ext >&5
22149 21401
22150 cat >conftest.$ac_ext <<_ACEOF 21402 cat >conftest.$ac_ext <<_ACEOF
22151 /* confdefs.h. */ 21403 /* confdefs.h. */
22152 _ACEOF 21404 _ACEOF
22169 if { (ac_try="$ac_compile" 21421 if { (ac_try="$ac_compile"
22170 case "(($ac_try" in 21422 case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;; 21424 *) ac_try_echo=$ac_try;;
22173 esac 21425 esac
22174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 $as_echo "$ac_try_echo") >&5
22176 (eval "$ac_compile") 2>conftest.er1 21427 (eval "$ac_compile") 2>conftest.er1
22177 ac_status=$? 21428 ac_status=$?
22178 grep -v '^ *+' conftest.er1 >conftest.err 21429 grep -v '^ *+' conftest.er1 >conftest.err
22179 rm -f conftest.er1 21430 rm -f conftest.er1
22180 cat conftest.err >&5 21431 cat conftest.err >&5
22181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && { 21433 (exit $ac_status); } && {
22183 test -z "$ac_c_werror_flag" || 21434 test -z "$ac_c_werror_flag" ||
22184 test ! -s conftest.err 21435 test ! -s conftest.err
22185 } && test -s conftest.$ac_objext; then 21436 } && test -s conftest.$ac_objext; then
22186 ac_cv_member_krb5_error_e_text=yes 21437 ac_cv_member_krb5_error_e_text=yes
22187 else 21438 else
22188 $as_echo "$as_me: failed program was:" >&5 21439 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5 21440 sed 's/^/| /' conftest.$ac_ext >&5
22190 21441
22191 ac_cv_member_krb5_error_e_text=no 21442 ac_cv_member_krb5_error_e_text=no
22192 fi 21443 fi
22193 21444
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195 fi 21446 fi
22196 21447
22197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22198 fi 21449 fi
22199 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 21450 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22200 $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } 21451 echo "${ECHO_T}$ac_cv_member_krb5_error_e_text" >&6; }
22201 if test $ac_cv_member_krb5_error_e_text = yes; then 21452 if test $ac_cv_member_krb5_error_e_text = yes; then
22202 21453
22203 cat >>confdefs.h <<_ACEOF 21454 cat >>confdefs.h <<_ACEOF
22204 #define HAVE_KRB5_ERROR_E_TEXT 1 21455 #define HAVE_KRB5_ERROR_E_TEXT 1
22205 _ACEOF 21456 _ACEOF
22213 21464
22214 else 21465 else
22215 21466
22216 for ac_header in des.h 21467 for ac_header in des.h
22217 do 21468 do
22218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22220 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22221 $as_echo_n "checking for $ac_header... " >&6; } 21472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22223 $as_echo_n "(cached) " >&6 21474 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 fi 21475 fi
22225 ac_res=`eval 'as_val=${'$as_ac_Header'} 21476 ac_res=`eval echo '${'$as_ac_Header'}'`
22226 $as_echo "$as_val"'` 21477 { echo "$as_me:$LINENO: result: $ac_res" >&5
22227 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21478 echo "${ECHO_T}$ac_res" >&6; }
22228 $as_echo "$ac_res" >&6; }
22229 else 21479 else
22230 # Is the header compilable? 21480 # Is the header compilable?
22231 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21481 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22232 $as_echo_n "checking $ac_header usability... " >&6; } 21482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22233 cat >conftest.$ac_ext <<_ACEOF 21483 cat >conftest.$ac_ext <<_ACEOF
22234 /* confdefs.h. */ 21484 /* confdefs.h. */
22235 _ACEOF 21485 _ACEOF
22236 cat confdefs.h >>conftest.$ac_ext 21486 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF 21487 cat >>conftest.$ac_ext <<_ACEOF
22243 if { (ac_try="$ac_compile" 21493 if { (ac_try="$ac_compile"
22244 case "(($ac_try" in 21494 case "(($ac_try" in
22245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22246 *) ac_try_echo=$ac_try;; 21496 *) ac_try_echo=$ac_try;;
22247 esac 21497 esac
22248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249 $as_echo "$ac_try_echo") >&5
22250 (eval "$ac_compile") 2>conftest.er1 21499 (eval "$ac_compile") 2>conftest.er1
22251 ac_status=$? 21500 ac_status=$?
22252 grep -v '^ *+' conftest.er1 >conftest.err 21501 grep -v '^ *+' conftest.er1 >conftest.err
22253 rm -f conftest.er1 21502 rm -f conftest.er1
22254 cat conftest.err >&5 21503 cat conftest.err >&5
22255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && { 21505 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" || 21506 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err 21507 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then 21508 } && test -s conftest.$ac_objext; then
22260 ac_header_compiler=yes 21509 ac_header_compiler=yes
22261 else 21510 else
22262 $as_echo "$as_me: failed program was:" >&5 21511 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5 21512 sed 's/^/| /' conftest.$ac_ext >&5
22264 21513
22265 ac_header_compiler=no 21514 ac_header_compiler=no
22266 fi 21515 fi
22267 21516
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22270 $as_echo "$ac_header_compiler" >&6; } 21519 echo "${ECHO_T}$ac_header_compiler" >&6; }
22271 21520
22272 # Is the header present? 21521 # Is the header present?
22273 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22274 $as_echo_n "checking $ac_header presence... " >&6; } 21523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22275 cat >conftest.$ac_ext <<_ACEOF 21524 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */ 21525 /* confdefs.h. */
22277 _ACEOF 21526 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext 21527 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF 21528 cat >>conftest.$ac_ext <<_ACEOF
22283 if { (ac_try="$ac_cpp conftest.$ac_ext" 21532 if { (ac_try="$ac_cpp conftest.$ac_ext"
22284 case "(($ac_try" in 21533 case "(($ac_try" in
22285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22286 *) ac_try_echo=$ac_try;; 21535 *) ac_try_echo=$ac_try;;
22287 esac 21536 esac
22288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 $as_echo "$ac_try_echo") >&5
22290 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22291 ac_status=$? 21539 ac_status=$?
22292 grep -v '^ *+' conftest.er1 >conftest.err 21540 grep -v '^ *+' conftest.er1 >conftest.err
22293 rm -f conftest.er1 21541 rm -f conftest.er1
22294 cat conftest.err >&5 21542 cat conftest.err >&5
22295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } >/dev/null && { 21544 (exit $ac_status); } >/dev/null && {
22297 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22298 test ! -s conftest.err 21546 test ! -s conftest.err
22299 }; then 21547 }; then
22300 ac_header_preproc=yes 21548 ac_header_preproc=yes
22301 else 21549 else
22302 $as_echo "$as_me: failed program was:" >&5 21550 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.$ac_ext >&5 21551 sed 's/^/| /' conftest.$ac_ext >&5
22304 21552
22305 ac_header_preproc=no 21553 ac_header_preproc=no
22306 fi 21554 fi
22307 21555
22308 rm -f conftest.err conftest.$ac_ext 21556 rm -f conftest.err conftest.$ac_ext
22309 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22310 $as_echo "$ac_header_preproc" >&6; } 21558 echo "${ECHO_T}$ac_header_preproc" >&6; }
22311 21559
22312 # So? What about this header? 21560 # So? What about this header?
22313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22314 yes:no: ) 21562 yes:no: )
22315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22316 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22318 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22319 ac_header_preproc=yes 21567 ac_header_preproc=yes
22320 ;; 21568 ;;
22321 no:yes:* ) 21569 no:yes:* )
22322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22323 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22324 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22325 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22327 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22329 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22330 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22331 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22333 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22334 21582
22335 ;; 21583 ;;
22336 esac 21584 esac
22337 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21585 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22338 $as_echo_n "checking for $ac_header... " >&6; } 21586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22340 $as_echo_n "(cached) " >&6 21588 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else 21589 else
22342 eval "$as_ac_Header=\$ac_header_preproc" 21590 eval "$as_ac_Header=\$ac_header_preproc"
22343 fi 21591 fi
22344 ac_res=`eval 'as_val=${'$as_ac_Header'} 21592 ac_res=`eval echo '${'$as_ac_Header'}'`
22345 $as_echo "$as_val"'` 21593 { echo "$as_me:$LINENO: result: $ac_res" >&5
22346 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21594 echo "${ECHO_T}$ac_res" >&6; }
22347 $as_echo "$ac_res" >&6; } 21595
22348 21596 fi
22349 fi 21597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22350 if test `eval 'as_val=${'$as_ac_Header'}
22351 $as_echo "$as_val"'` = yes; then
22352 cat >>confdefs.h <<_ACEOF 21598 cat >>confdefs.h <<_ACEOF
22353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22354 _ACEOF 21600 _ACEOF
22355 21601
22356 else 21602 else
22357 21603
22358 for ac_header in kerberosIV/des.h 21604 for ac_header in kerberosIV/des.h
22359 do 21605 do
22360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21606 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22362 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22363 $as_echo_n "checking for $ac_header... " >&6; } 21609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22365 $as_echo_n "(cached) " >&6 21611 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 fi 21612 fi
22367 ac_res=`eval 'as_val=${'$as_ac_Header'} 21613 ac_res=`eval echo '${'$as_ac_Header'}'`
22368 $as_echo "$as_val"'` 21614 { echo "$as_me:$LINENO: result: $ac_res" >&5
22369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21615 echo "${ECHO_T}$ac_res" >&6; }
22370 $as_echo "$ac_res" >&6; }
22371 else 21616 else
22372 # Is the header compilable? 21617 # Is the header compilable?
22373 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21618 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22374 $as_echo_n "checking $ac_header usability... " >&6; } 21619 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22375 cat >conftest.$ac_ext <<_ACEOF 21620 cat >conftest.$ac_ext <<_ACEOF
22376 /* confdefs.h. */ 21621 /* confdefs.h. */
22377 _ACEOF 21622 _ACEOF
22378 cat confdefs.h >>conftest.$ac_ext 21623 cat confdefs.h >>conftest.$ac_ext
22379 cat >>conftest.$ac_ext <<_ACEOF 21624 cat >>conftest.$ac_ext <<_ACEOF
22385 if { (ac_try="$ac_compile" 21630 if { (ac_try="$ac_compile"
22386 case "(($ac_try" in 21631 case "(($ac_try" in
22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;; 21633 *) ac_try_echo=$ac_try;;
22389 esac 21634 esac
22390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22391 $as_echo "$ac_try_echo") >&5
22392 (eval "$ac_compile") 2>conftest.er1 21636 (eval "$ac_compile") 2>conftest.er1
22393 ac_status=$? 21637 ac_status=$?
22394 grep -v '^ *+' conftest.er1 >conftest.err 21638 grep -v '^ *+' conftest.er1 >conftest.err
22395 rm -f conftest.er1 21639 rm -f conftest.er1
22396 cat conftest.err >&5 21640 cat conftest.err >&5
22397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && { 21642 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" || 21643 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err 21644 test ! -s conftest.err
22401 } && test -s conftest.$ac_objext; then 21645 } && test -s conftest.$ac_objext; then
22402 ac_header_compiler=yes 21646 ac_header_compiler=yes
22403 else 21647 else
22404 $as_echo "$as_me: failed program was:" >&5 21648 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5 21649 sed 's/^/| /' conftest.$ac_ext >&5
22406 21650
22407 ac_header_compiler=no 21651 ac_header_compiler=no
22408 fi 21652 fi
22409 21653
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21655 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22412 $as_echo "$ac_header_compiler" >&6; } 21656 echo "${ECHO_T}$ac_header_compiler" >&6; }
22413 21657
22414 # Is the header present? 21658 # Is the header present?
22415 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21659 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22416 $as_echo_n "checking $ac_header presence... " >&6; } 21660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22417 cat >conftest.$ac_ext <<_ACEOF 21661 cat >conftest.$ac_ext <<_ACEOF
22418 /* confdefs.h. */ 21662 /* confdefs.h. */
22419 _ACEOF 21663 _ACEOF
22420 cat confdefs.h >>conftest.$ac_ext 21664 cat confdefs.h >>conftest.$ac_ext
22421 cat >>conftest.$ac_ext <<_ACEOF 21665 cat >>conftest.$ac_ext <<_ACEOF
22425 if { (ac_try="$ac_cpp conftest.$ac_ext" 21669 if { (ac_try="$ac_cpp conftest.$ac_ext"
22426 case "(($ac_try" in 21670 case "(($ac_try" in
22427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22428 *) ac_try_echo=$ac_try;; 21672 *) ac_try_echo=$ac_try;;
22429 esac 21673 esac
22430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 $as_echo "$ac_try_echo") >&5
22432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22433 ac_status=$? 21676 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err 21677 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1 21678 rm -f conftest.er1
22436 cat conftest.err >&5 21679 cat conftest.err >&5
22437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } >/dev/null && { 21681 (exit $ac_status); } >/dev/null && {
22439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22440 test ! -s conftest.err 21683 test ! -s conftest.err
22441 }; then 21684 }; then
22442 ac_header_preproc=yes 21685 ac_header_preproc=yes
22443 else 21686 else
22444 $as_echo "$as_me: failed program was:" >&5 21687 echo "$as_me: failed program was:" >&5
22445 sed 's/^/| /' conftest.$ac_ext >&5 21688 sed 's/^/| /' conftest.$ac_ext >&5
22446 21689
22447 ac_header_preproc=no 21690 ac_header_preproc=no
22448 fi 21691 fi
22449 21692
22450 rm -f conftest.err conftest.$ac_ext 21693 rm -f conftest.err conftest.$ac_ext
22451 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21694 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22452 $as_echo "$ac_header_preproc" >&6; } 21695 echo "${ECHO_T}$ac_header_preproc" >&6; }
22453 21696
22454 # So? What about this header? 21697 # So? What about this header?
22455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22456 yes:no: ) 21699 yes:no: )
22457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22458 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22461 ac_header_preproc=yes 21704 ac_header_preproc=yes
22462 ;; 21705 ;;
22463 no:yes:* ) 21706 no:yes:* )
22464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22465 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22467 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22469 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22471 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22475 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22476 21719
22477 ;; 21720 ;;
22478 esac 21721 esac
22479 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21722 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22480 $as_echo_n "checking for $ac_header... " >&6; } 21723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22482 $as_echo_n "(cached) " >&6 21725 echo $ECHO_N "(cached) $ECHO_C" >&6
22483 else 21726 else
22484 eval "$as_ac_Header=\$ac_header_preproc" 21727 eval "$as_ac_Header=\$ac_header_preproc"
22485 fi 21728 fi
22486 ac_res=`eval 'as_val=${'$as_ac_Header'} 21729 ac_res=`eval echo '${'$as_ac_Header'}'`
22487 $as_echo "$as_val"'` 21730 { echo "$as_me:$LINENO: result: $ac_res" >&5
22488 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21731 echo "${ECHO_T}$ac_res" >&6; }
22489 $as_echo "$ac_res" >&6; } 21732
22490 21733 fi
22491 fi 21734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22492 if test `eval 'as_val=${'$as_ac_Header'}
22493 $as_echo "$as_val"'` = yes; then
22494 cat >>confdefs.h <<_ACEOF 21735 cat >>confdefs.h <<_ACEOF
22495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22496 _ACEOF 21737 _ACEOF
22497 21738
22498 else 21739 else
22499 21740
22500 for ac_header in kerberos/des.h 21741 for ac_header in kerberos/des.h
22501 do 21742 do
22502 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22504 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22505 $as_echo_n "checking for $ac_header... " >&6; } 21746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22507 $as_echo_n "(cached) " >&6 21748 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 fi 21749 fi
22509 ac_res=`eval 'as_val=${'$as_ac_Header'} 21750 ac_res=`eval echo '${'$as_ac_Header'}'`
22510 $as_echo "$as_val"'` 21751 { echo "$as_me:$LINENO: result: $ac_res" >&5
22511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21752 echo "${ECHO_T}$ac_res" >&6; }
22512 $as_echo "$ac_res" >&6; }
22513 else 21753 else
22514 # Is the header compilable? 21754 # Is the header compilable?
22515 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21755 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22516 $as_echo_n "checking $ac_header usability... " >&6; } 21756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22517 cat >conftest.$ac_ext <<_ACEOF 21757 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */ 21758 /* confdefs.h. */
22519 _ACEOF 21759 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext 21760 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF 21761 cat >>conftest.$ac_ext <<_ACEOF
22527 if { (ac_try="$ac_compile" 21767 if { (ac_try="$ac_compile"
22528 case "(($ac_try" in 21768 case "(($ac_try" in
22529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22530 *) ac_try_echo=$ac_try;; 21770 *) ac_try_echo=$ac_try;;
22531 esac 21771 esac
22532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533 $as_echo "$ac_try_echo") >&5
22534 (eval "$ac_compile") 2>conftest.er1 21773 (eval "$ac_compile") 2>conftest.er1
22535 ac_status=$? 21774 ac_status=$?
22536 grep -v '^ *+' conftest.er1 >conftest.err 21775 grep -v '^ *+' conftest.er1 >conftest.err
22537 rm -f conftest.er1 21776 rm -f conftest.er1
22538 cat conftest.err >&5 21777 cat conftest.err >&5
22539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && { 21779 (exit $ac_status); } && {
22541 test -z "$ac_c_werror_flag" || 21780 test -z "$ac_c_werror_flag" ||
22542 test ! -s conftest.err 21781 test ! -s conftest.err
22543 } && test -s conftest.$ac_objext; then 21782 } && test -s conftest.$ac_objext; then
22544 ac_header_compiler=yes 21783 ac_header_compiler=yes
22545 else 21784 else
22546 $as_echo "$as_me: failed program was:" >&5 21785 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5 21786 sed 's/^/| /' conftest.$ac_ext >&5
22548 21787
22549 ac_header_compiler=no 21788 ac_header_compiler=no
22550 fi 21789 fi
22551 21790
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22553 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21792 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22554 $as_echo "$ac_header_compiler" >&6; } 21793 echo "${ECHO_T}$ac_header_compiler" >&6; }
22555 21794
22556 # Is the header present? 21795 # Is the header present?
22557 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21796 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22558 $as_echo_n "checking $ac_header presence... " >&6; } 21797 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22559 cat >conftest.$ac_ext <<_ACEOF 21798 cat >conftest.$ac_ext <<_ACEOF
22560 /* confdefs.h. */ 21799 /* confdefs.h. */
22561 _ACEOF 21800 _ACEOF
22562 cat confdefs.h >>conftest.$ac_ext 21801 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF 21802 cat >>conftest.$ac_ext <<_ACEOF
22567 if { (ac_try="$ac_cpp conftest.$ac_ext" 21806 if { (ac_try="$ac_cpp conftest.$ac_ext"
22568 case "(($ac_try" in 21807 case "(($ac_try" in
22569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22570 *) ac_try_echo=$ac_try;; 21809 *) ac_try_echo=$ac_try;;
22571 esac 21810 esac
22572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22573 $as_echo "$ac_try_echo") >&5
22574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22575 ac_status=$? 21813 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err 21814 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1 21815 rm -f conftest.er1
22578 cat conftest.err >&5 21816 cat conftest.err >&5
22579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } >/dev/null && { 21818 (exit $ac_status); } >/dev/null && {
22581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22582 test ! -s conftest.err 21820 test ! -s conftest.err
22583 }; then 21821 }; then
22584 ac_header_preproc=yes 21822 ac_header_preproc=yes
22585 else 21823 else
22586 $as_echo "$as_me: failed program was:" >&5 21824 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5 21825 sed 's/^/| /' conftest.$ac_ext >&5
22588 21826
22589 ac_header_preproc=no 21827 ac_header_preproc=no
22590 fi 21828 fi
22591 21829
22592 rm -f conftest.err conftest.$ac_ext 21830 rm -f conftest.err conftest.$ac_ext
22593 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21831 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22594 $as_echo "$ac_header_preproc" >&6; } 21832 echo "${ECHO_T}$ac_header_preproc" >&6; }
22595 21833
22596 # So? What about this header? 21834 # So? What about this header?
22597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22598 yes:no: ) 21836 yes:no: )
22599 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22600 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22601 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22602 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22603 ac_header_preproc=yes 21841 ac_header_preproc=yes
22604 ;; 21842 ;;
22605 no:yes:* ) 21843 no:yes:* )
22606 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22607 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22609 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22611 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22612 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22613 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22615 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22617 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22618 21856
22619 ;; 21857 ;;
22620 esac 21858 esac
22621 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22622 $as_echo_n "checking for $ac_header... " >&6; } 21860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22623 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
22624 $as_echo_n "(cached) " >&6 21862 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else 21863 else
22626 eval "$as_ac_Header=\$ac_header_preproc" 21864 eval "$as_ac_Header=\$ac_header_preproc"
22627 fi 21865 fi
22628 ac_res=`eval 'as_val=${'$as_ac_Header'} 21866 ac_res=`eval echo '${'$as_ac_Header'}'`
22629 $as_echo "$as_val"'` 21867 { echo "$as_me:$LINENO: result: $ac_res" >&5
22630 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21868 echo "${ECHO_T}$ac_res" >&6; }
22631 $as_echo "$ac_res" >&6; } 21869
22632 21870 fi
22633 fi 21871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22634 if test `eval 'as_val=${'$as_ac_Header'}
22635 $as_echo "$as_val"'` = yes; then
22636 cat >>confdefs.h <<_ACEOF 21872 cat >>confdefs.h <<_ACEOF
22637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22638 _ACEOF 21874 _ACEOF
22639 21875
22640 fi 21876 fi
22641 21877
22642 done 21878 done
22650 done 21886 done
22651 21887
22652 21888
22653 for ac_header in krb.h 21889 for ac_header in krb.h
22654 do 21890 do
22655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22657 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21893 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22658 $as_echo_n "checking for $ac_header... " >&6; } 21894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21895 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22660 $as_echo_n "(cached) " >&6 21896 echo $ECHO_N "(cached) $ECHO_C" >&6
22661 fi 21897 fi
22662 ac_res=`eval 'as_val=${'$as_ac_Header'} 21898 ac_res=`eval echo '${'$as_ac_Header'}'`
22663 $as_echo "$as_val"'` 21899 { echo "$as_me:$LINENO: result: $ac_res" >&5
22664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21900 echo "${ECHO_T}$ac_res" >&6; }
22665 $as_echo "$ac_res" >&6; }
22666 else 21901 else
22667 # Is the header compilable? 21902 # Is the header compilable?
22668 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21903 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22669 $as_echo_n "checking $ac_header usability... " >&6; } 21904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22670 cat >conftest.$ac_ext <<_ACEOF 21905 cat >conftest.$ac_ext <<_ACEOF
22671 /* confdefs.h. */ 21906 /* confdefs.h. */
22672 _ACEOF 21907 _ACEOF
22673 cat confdefs.h >>conftest.$ac_ext 21908 cat confdefs.h >>conftest.$ac_ext
22674 cat >>conftest.$ac_ext <<_ACEOF 21909 cat >>conftest.$ac_ext <<_ACEOF
22680 if { (ac_try="$ac_compile" 21915 if { (ac_try="$ac_compile"
22681 case "(($ac_try" in 21916 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;; 21918 *) ac_try_echo=$ac_try;;
22684 esac 21919 esac
22685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 $as_echo "$ac_try_echo") >&5
22687 (eval "$ac_compile") 2>conftest.er1 21921 (eval "$ac_compile") 2>conftest.er1
22688 ac_status=$? 21922 ac_status=$?
22689 grep -v '^ *+' conftest.er1 >conftest.err 21923 grep -v '^ *+' conftest.er1 >conftest.err
22690 rm -f conftest.er1 21924 rm -f conftest.er1
22691 cat conftest.err >&5 21925 cat conftest.err >&5
22692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } && { 21927 (exit $ac_status); } && {
22694 test -z "$ac_c_werror_flag" || 21928 test -z "$ac_c_werror_flag" ||
22695 test ! -s conftest.err 21929 test ! -s conftest.err
22696 } && test -s conftest.$ac_objext; then 21930 } && test -s conftest.$ac_objext; then
22697 ac_header_compiler=yes 21931 ac_header_compiler=yes
22698 else 21932 else
22699 $as_echo "$as_me: failed program was:" >&5 21933 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.$ac_ext >&5 21934 sed 's/^/| /' conftest.$ac_ext >&5
22701 21935
22702 ac_header_compiler=no 21936 ac_header_compiler=no
22703 fi 21937 fi
22704 21938
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22706 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22707 $as_echo "$ac_header_compiler" >&6; } 21941 echo "${ECHO_T}$ac_header_compiler" >&6; }
22708 21942
22709 # Is the header present? 21943 # Is the header present?
22710 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21944 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22711 $as_echo_n "checking $ac_header presence... " >&6; } 21945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22712 cat >conftest.$ac_ext <<_ACEOF 21946 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */ 21947 /* confdefs.h. */
22714 _ACEOF 21948 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext 21949 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF 21950 cat >>conftest.$ac_ext <<_ACEOF
22720 if { (ac_try="$ac_cpp conftest.$ac_ext" 21954 if { (ac_try="$ac_cpp conftest.$ac_ext"
22721 case "(($ac_try" in 21955 case "(($ac_try" in
22722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 *) ac_try_echo=$ac_try;; 21957 *) ac_try_echo=$ac_try;;
22724 esac 21958 esac
22725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 $as_echo "$ac_try_echo") >&5
22727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22728 ac_status=$? 21961 ac_status=$?
22729 grep -v '^ *+' conftest.er1 >conftest.err 21962 grep -v '^ *+' conftest.er1 >conftest.err
22730 rm -f conftest.er1 21963 rm -f conftest.er1
22731 cat conftest.err >&5 21964 cat conftest.err >&5
22732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } >/dev/null && { 21966 (exit $ac_status); } >/dev/null && {
22734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21967 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22735 test ! -s conftest.err 21968 test ! -s conftest.err
22736 }; then 21969 }; then
22737 ac_header_preproc=yes 21970 ac_header_preproc=yes
22738 else 21971 else
22739 $as_echo "$as_me: failed program was:" >&5 21972 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5 21973 sed 's/^/| /' conftest.$ac_ext >&5
22741 21974
22742 ac_header_preproc=no 21975 ac_header_preproc=no
22743 fi 21976 fi
22744 21977
22745 rm -f conftest.err conftest.$ac_ext 21978 rm -f conftest.err conftest.$ac_ext
22746 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22747 $as_echo "$ac_header_preproc" >&6; } 21980 echo "${ECHO_T}$ac_header_preproc" >&6; }
22748 21981
22749 # So? What about this header? 21982 # So? What about this header?
22750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22751 yes:no: ) 21984 yes:no: )
22752 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22753 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22754 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22755 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22756 ac_header_preproc=yes 21989 ac_header_preproc=yes
22757 ;; 21990 ;;
22758 no:yes:* ) 21991 no:yes:* )
22759 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22760 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22761 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22762 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22763 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22764 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22766 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22770 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22771 22004
22772 ;; 22005 ;;
22773 esac 22006 esac
22774 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22775 $as_echo_n "checking for $ac_header... " >&6; } 22008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22777 $as_echo_n "(cached) " >&6 22010 echo $ECHO_N "(cached) $ECHO_C" >&6
22778 else 22011 else
22779 eval "$as_ac_Header=\$ac_header_preproc" 22012 eval "$as_ac_Header=\$ac_header_preproc"
22780 fi 22013 fi
22781 ac_res=`eval 'as_val=${'$as_ac_Header'} 22014 ac_res=`eval echo '${'$as_ac_Header'}'`
22782 $as_echo "$as_val"'` 22015 { echo "$as_me:$LINENO: result: $ac_res" >&5
22783 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22016 echo "${ECHO_T}$ac_res" >&6; }
22784 $as_echo "$ac_res" >&6; } 22017
22785 22018 fi
22786 fi 22019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22787 if test `eval 'as_val=${'$as_ac_Header'}
22788 $as_echo "$as_val"'` = yes; then
22789 cat >>confdefs.h <<_ACEOF 22020 cat >>confdefs.h <<_ACEOF
22790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22791 _ACEOF 22022 _ACEOF
22792 22023
22793 else 22024 else
22794 22025
22795 for ac_header in kerberosIV/krb.h 22026 for ac_header in kerberosIV/krb.h
22796 do 22027 do
22797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22799 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22800 $as_echo_n "checking for $ac_header... " >&6; } 22031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22802 $as_echo_n "(cached) " >&6 22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22803 fi 22034 fi
22804 ac_res=`eval 'as_val=${'$as_ac_Header'} 22035 ac_res=`eval echo '${'$as_ac_Header'}'`
22805 $as_echo "$as_val"'` 22036 { echo "$as_me:$LINENO: result: $ac_res" >&5
22806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22037 echo "${ECHO_T}$ac_res" >&6; }
22807 $as_echo "$ac_res" >&6; }
22808 else 22038 else
22809 # Is the header compilable? 22039 # Is the header compilable?
22810 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22040 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22811 $as_echo_n "checking $ac_header usability... " >&6; } 22041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22812 cat >conftest.$ac_ext <<_ACEOF 22042 cat >conftest.$ac_ext <<_ACEOF
22813 /* confdefs.h. */ 22043 /* confdefs.h. */
22814 _ACEOF 22044 _ACEOF
22815 cat confdefs.h >>conftest.$ac_ext 22045 cat confdefs.h >>conftest.$ac_ext
22816 cat >>conftest.$ac_ext <<_ACEOF 22046 cat >>conftest.$ac_ext <<_ACEOF
22822 if { (ac_try="$ac_compile" 22052 if { (ac_try="$ac_compile"
22823 case "(($ac_try" in 22053 case "(($ac_try" in
22824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22825 *) ac_try_echo=$ac_try;; 22055 *) ac_try_echo=$ac_try;;
22826 esac 22056 esac
22827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22828 $as_echo "$ac_try_echo") >&5
22829 (eval "$ac_compile") 2>conftest.er1 22058 (eval "$ac_compile") 2>conftest.er1
22830 ac_status=$? 22059 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err 22060 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1 22061 rm -f conftest.er1
22833 cat conftest.err >&5 22062 cat conftest.err >&5
22834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } && { 22064 (exit $ac_status); } && {
22836 test -z "$ac_c_werror_flag" || 22065 test -z "$ac_c_werror_flag" ||
22837 test ! -s conftest.err 22066 test ! -s conftest.err
22838 } && test -s conftest.$ac_objext; then 22067 } && test -s conftest.$ac_objext; then
22839 ac_header_compiler=yes 22068 ac_header_compiler=yes
22840 else 22069 else
22841 $as_echo "$as_me: failed program was:" >&5 22070 echo "$as_me: failed program was:" >&5
22842 sed 's/^/| /' conftest.$ac_ext >&5 22071 sed 's/^/| /' conftest.$ac_ext >&5
22843 22072
22844 ac_header_compiler=no 22073 ac_header_compiler=no
22845 fi 22074 fi
22846 22075
22847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22849 $as_echo "$ac_header_compiler" >&6; } 22078 echo "${ECHO_T}$ac_header_compiler" >&6; }
22850 22079
22851 # Is the header present? 22080 # Is the header present?
22852 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22081 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22853 $as_echo_n "checking $ac_header presence... " >&6; } 22082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22854 cat >conftest.$ac_ext <<_ACEOF 22083 cat >conftest.$ac_ext <<_ACEOF
22855 /* confdefs.h. */ 22084 /* confdefs.h. */
22856 _ACEOF 22085 _ACEOF
22857 cat confdefs.h >>conftest.$ac_ext 22086 cat confdefs.h >>conftest.$ac_ext
22858 cat >>conftest.$ac_ext <<_ACEOF 22087 cat >>conftest.$ac_ext <<_ACEOF
22862 if { (ac_try="$ac_cpp conftest.$ac_ext" 22091 if { (ac_try="$ac_cpp conftest.$ac_ext"
22863 case "(($ac_try" in 22092 case "(($ac_try" in
22864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;; 22094 *) ac_try_echo=$ac_try;;
22866 esac 22095 esac
22867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 $as_echo "$ac_try_echo") >&5
22869 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22870 ac_status=$? 22098 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err 22099 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1 22100 rm -f conftest.er1
22873 cat conftest.err >&5 22101 cat conftest.err >&5
22874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } >/dev/null && { 22103 (exit $ac_status); } >/dev/null && {
22876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22877 test ! -s conftest.err 22105 test ! -s conftest.err
22878 }; then 22106 }; then
22879 ac_header_preproc=yes 22107 ac_header_preproc=yes
22880 else 22108 else
22881 $as_echo "$as_me: failed program was:" >&5 22109 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5 22110 sed 's/^/| /' conftest.$ac_ext >&5
22883 22111
22884 ac_header_preproc=no 22112 ac_header_preproc=no
22885 fi 22113 fi
22886 22114
22887 rm -f conftest.err conftest.$ac_ext 22115 rm -f conftest.err conftest.$ac_ext
22888 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22889 $as_echo "$ac_header_preproc" >&6; } 22117 echo "${ECHO_T}$ac_header_preproc" >&6; }
22890 22118
22891 # So? What about this header? 22119 # So? What about this header?
22892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22893 yes:no: ) 22121 yes:no: )
22894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22895 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22897 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22898 ac_header_preproc=yes 22126 ac_header_preproc=yes
22899 ;; 22127 ;;
22900 no:yes:* ) 22128 no:yes:* )
22901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22902 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22904 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22906 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22908 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22910 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22912 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22913 22141
22914 ;; 22142 ;;
22915 esac 22143 esac
22916 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22917 $as_echo_n "checking for $ac_header... " >&6; } 22145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22919 $as_echo_n "(cached) " >&6 22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22920 else 22148 else
22921 eval "$as_ac_Header=\$ac_header_preproc" 22149 eval "$as_ac_Header=\$ac_header_preproc"
22922 fi 22150 fi
22923 ac_res=`eval 'as_val=${'$as_ac_Header'} 22151 ac_res=`eval echo '${'$as_ac_Header'}'`
22924 $as_echo "$as_val"'` 22152 { echo "$as_me:$LINENO: result: $ac_res" >&5
22925 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22153 echo "${ECHO_T}$ac_res" >&6; }
22926 $as_echo "$ac_res" >&6; } 22154
22927 22155 fi
22928 fi 22156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22929 if test `eval 'as_val=${'$as_ac_Header'}
22930 $as_echo "$as_val"'` = yes; then
22931 cat >>confdefs.h <<_ACEOF 22157 cat >>confdefs.h <<_ACEOF
22932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22933 _ACEOF 22159 _ACEOF
22934 22160
22935 else 22161 else
22936 22162
22937 for ac_header in kerberos/krb.h 22163 for ac_header in kerberos/krb.h
22938 do 22164 do
22939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22941 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22942 $as_echo_n "checking for $ac_header... " >&6; } 22168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22944 $as_echo_n "(cached) " >&6 22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 fi 22171 fi
22946 ac_res=`eval 'as_val=${'$as_ac_Header'} 22172 ac_res=`eval echo '${'$as_ac_Header'}'`
22947 $as_echo "$as_val"'` 22173 { echo "$as_me:$LINENO: result: $ac_res" >&5
22948 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22174 echo "${ECHO_T}$ac_res" >&6; }
22949 $as_echo "$ac_res" >&6; }
22950 else 22175 else
22951 # Is the header compilable? 22176 # Is the header compilable?
22952 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22177 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22953 $as_echo_n "checking $ac_header usability... " >&6; } 22178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22954 cat >conftest.$ac_ext <<_ACEOF 22179 cat >conftest.$ac_ext <<_ACEOF
22955 /* confdefs.h. */ 22180 /* confdefs.h. */
22956 _ACEOF 22181 _ACEOF
22957 cat confdefs.h >>conftest.$ac_ext 22182 cat confdefs.h >>conftest.$ac_ext
22958 cat >>conftest.$ac_ext <<_ACEOF 22183 cat >>conftest.$ac_ext <<_ACEOF
22964 if { (ac_try="$ac_compile" 22189 if { (ac_try="$ac_compile"
22965 case "(($ac_try" in 22190 case "(($ac_try" in
22966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;; 22192 *) ac_try_echo=$ac_try;;
22968 esac 22193 esac
22969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 $as_echo "$ac_try_echo") >&5
22971 (eval "$ac_compile") 2>conftest.er1 22195 (eval "$ac_compile") 2>conftest.er1
22972 ac_status=$? 22196 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err 22197 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1 22198 rm -f conftest.er1
22975 cat conftest.err >&5 22199 cat conftest.err >&5
22976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && { 22201 (exit $ac_status); } && {
22978 test -z "$ac_c_werror_flag" || 22202 test -z "$ac_c_werror_flag" ||
22979 test ! -s conftest.err 22203 test ! -s conftest.err
22980 } && test -s conftest.$ac_objext; then 22204 } && test -s conftest.$ac_objext; then
22981 ac_header_compiler=yes 22205 ac_header_compiler=yes
22982 else 22206 else
22983 $as_echo "$as_me: failed program was:" >&5 22207 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5 22208 sed 's/^/| /' conftest.$ac_ext >&5
22985 22209
22986 ac_header_compiler=no 22210 ac_header_compiler=no
22987 fi 22211 fi
22988 22212
22989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22991 $as_echo "$ac_header_compiler" >&6; } 22215 echo "${ECHO_T}$ac_header_compiler" >&6; }
22992 22216
22993 # Is the header present? 22217 # Is the header present?
22994 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22218 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22995 $as_echo_n "checking $ac_header presence... " >&6; } 22219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22996 cat >conftest.$ac_ext <<_ACEOF 22220 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */ 22221 /* confdefs.h. */
22998 _ACEOF 22222 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext 22223 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF 22224 cat >>conftest.$ac_ext <<_ACEOF
23004 if { (ac_try="$ac_cpp conftest.$ac_ext" 22228 if { (ac_try="$ac_cpp conftest.$ac_ext"
23005 case "(($ac_try" in 22229 case "(($ac_try" in
23006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23007 *) ac_try_echo=$ac_try;; 22231 *) ac_try_echo=$ac_try;;
23008 esac 22232 esac
23009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23010 $as_echo "$ac_try_echo") >&5
23011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23012 ac_status=$? 22235 ac_status=$?
23013 grep -v '^ *+' conftest.er1 >conftest.err 22236 grep -v '^ *+' conftest.er1 >conftest.err
23014 rm -f conftest.er1 22237 rm -f conftest.er1
23015 cat conftest.err >&5 22238 cat conftest.err >&5
23016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } >/dev/null && { 22240 (exit $ac_status); } >/dev/null && {
23018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23019 test ! -s conftest.err 22242 test ! -s conftest.err
23020 }; then 22243 }; then
23021 ac_header_preproc=yes 22244 ac_header_preproc=yes
23022 else 22245 else
23023 $as_echo "$as_me: failed program was:" >&5 22246 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5 22247 sed 's/^/| /' conftest.$ac_ext >&5
23025 22248
23026 ac_header_preproc=no 22249 ac_header_preproc=no
23027 fi 22250 fi
23028 22251
23029 rm -f conftest.err conftest.$ac_ext 22252 rm -f conftest.err conftest.$ac_ext
23030 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23031 $as_echo "$ac_header_preproc" >&6; } 22254 echo "${ECHO_T}$ac_header_preproc" >&6; }
23032 22255
23033 # So? What about this header? 22256 # So? What about this header?
23034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23035 yes:no: ) 22258 yes:no: )
23036 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23037 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23038 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23039 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23040 ac_header_preproc=yes 22263 ac_header_preproc=yes
23041 ;; 22264 ;;
23042 no:yes:* ) 22265 no:yes:* )
23043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23044 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23046 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23048 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23050 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23052 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23054 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23055 22278
23056 ;; 22279 ;;
23057 esac 22280 esac
23058 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23059 $as_echo_n "checking for $ac_header... " >&6; } 22282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23061 $as_echo_n "(cached) " >&6 22284 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else 22285 else
23063 eval "$as_ac_Header=\$ac_header_preproc" 22286 eval "$as_ac_Header=\$ac_header_preproc"
23064 fi 22287 fi
23065 ac_res=`eval 'as_val=${'$as_ac_Header'} 22288 ac_res=`eval echo '${'$as_ac_Header'}'`
23066 $as_echo "$as_val"'` 22289 { echo "$as_me:$LINENO: result: $ac_res" >&5
23067 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22290 echo "${ECHO_T}$ac_res" >&6; }
23068 $as_echo "$ac_res" >&6; } 22291
23069 22292 fi
23070 fi 22293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23071 if test `eval 'as_val=${'$as_ac_Header'}
23072 $as_echo "$as_val"'` = yes; then
23073 cat >>confdefs.h <<_ACEOF 22294 cat >>confdefs.h <<_ACEOF
23074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23075 _ACEOF 22296 _ACEOF
23076 22297
23077 fi 22298 fi
23078 22299
23079 done 22300 done
23088 22309
23089 fi 22310 fi
23090 22311
23091 for ac_header in com_err.h 22312 for ac_header in com_err.h
23092 do 22313 do
23093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23095 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23096 $as_echo_n "checking for $ac_header... " >&6; } 22317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23098 $as_echo_n "(cached) " >&6 22319 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 fi 22320 fi
23100 ac_res=`eval 'as_val=${'$as_ac_Header'} 22321 ac_res=`eval echo '${'$as_ac_Header'}'`
23101 $as_echo "$as_val"'` 22322 { echo "$as_me:$LINENO: result: $ac_res" >&5
23102 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22323 echo "${ECHO_T}$ac_res" >&6; }
23103 $as_echo "$ac_res" >&6; }
23104 else 22324 else
23105 # Is the header compilable? 22325 # Is the header compilable?
23106 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22326 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23107 $as_echo_n "checking $ac_header usability... " >&6; } 22327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23108 cat >conftest.$ac_ext <<_ACEOF 22328 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */ 22329 /* confdefs.h. */
23110 _ACEOF 22330 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext 22331 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF 22332 cat >>conftest.$ac_ext <<_ACEOF
23118 if { (ac_try="$ac_compile" 22338 if { (ac_try="$ac_compile"
23119 case "(($ac_try" in 22339 case "(($ac_try" in
23120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;; 22341 *) ac_try_echo=$ac_try;;
23122 esac 22342 esac
23123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 $as_echo "$ac_try_echo") >&5
23125 (eval "$ac_compile") 2>conftest.er1 22344 (eval "$ac_compile") 2>conftest.er1
23126 ac_status=$? 22345 ac_status=$?
23127 grep -v '^ *+' conftest.er1 >conftest.err 22346 grep -v '^ *+' conftest.er1 >conftest.err
23128 rm -f conftest.er1 22347 rm -f conftest.er1
23129 cat conftest.err >&5 22348 cat conftest.err >&5
23130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && { 22350 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" || 22351 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err 22352 test ! -s conftest.err
23134 } && test -s conftest.$ac_objext; then 22353 } && test -s conftest.$ac_objext; then
23135 ac_header_compiler=yes 22354 ac_header_compiler=yes
23136 else 22355 else
23137 $as_echo "$as_me: failed program was:" >&5 22356 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5 22357 sed 's/^/| /' conftest.$ac_ext >&5
23139 22358
23140 ac_header_compiler=no 22359 ac_header_compiler=no
23141 fi 22360 fi
23142 22361
23143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23144 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22363 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23145 $as_echo "$ac_header_compiler" >&6; } 22364 echo "${ECHO_T}$ac_header_compiler" >&6; }
23146 22365
23147 # Is the header present? 22366 # Is the header present?
23148 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22367 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23149 $as_echo_n "checking $ac_header presence... " >&6; } 22368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23150 cat >conftest.$ac_ext <<_ACEOF 22369 cat >conftest.$ac_ext <<_ACEOF
23151 /* confdefs.h. */ 22370 /* confdefs.h. */
23152 _ACEOF 22371 _ACEOF
23153 cat confdefs.h >>conftest.$ac_ext 22372 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF 22373 cat >>conftest.$ac_ext <<_ACEOF
23158 if { (ac_try="$ac_cpp conftest.$ac_ext" 22377 if { (ac_try="$ac_cpp conftest.$ac_ext"
23159 case "(($ac_try" in 22378 case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;; 22380 *) ac_try_echo=$ac_try;;
23162 esac 22381 esac
23163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 $as_echo "$ac_try_echo") >&5
23165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23166 ac_status=$? 22384 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err 22385 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1 22386 rm -f conftest.er1
23169 cat conftest.err >&5 22387 cat conftest.err >&5
23170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev/null && { 22389 (exit $ac_status); } >/dev/null && {
23172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23173 test ! -s conftest.err 22391 test ! -s conftest.err
23174 }; then 22392 }; then
23175 ac_header_preproc=yes 22393 ac_header_preproc=yes
23176 else 22394 else
23177 $as_echo "$as_me: failed program was:" >&5 22395 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5 22396 sed 's/^/| /' conftest.$ac_ext >&5
23179 22397
23180 ac_header_preproc=no 22398 ac_header_preproc=no
23181 fi 22399 fi
23182 22400
23183 rm -f conftest.err conftest.$ac_ext 22401 rm -f conftest.err conftest.$ac_ext
23184 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22402 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23185 $as_echo "$ac_header_preproc" >&6; } 22403 echo "${ECHO_T}$ac_header_preproc" >&6; }
23186 22404
23187 # So? What about this header? 22405 # So? What about this header?
23188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23189 yes:no: ) 22407 yes:no: )
23190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22408 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23191 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22409 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23193 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22411 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23194 ac_header_preproc=yes 22412 ac_header_preproc=yes
23195 ;; 22413 ;;
23196 no:yes:* ) 22414 no:yes:* )
23197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22415 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23198 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22416 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22417 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23200 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22418 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22419 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23202 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22420 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22421 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23204 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22422 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23206 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22425 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23208 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22426 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23209 22427
23210 ;; 22428 ;;
23211 esac 22429 esac
23212 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22430 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23213 $as_echo_n "checking for $ac_header... " >&6; } 22431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23215 $as_echo_n "(cached) " >&6 22433 echo $ECHO_N "(cached) $ECHO_C" >&6
23216 else 22434 else
23217 eval "$as_ac_Header=\$ac_header_preproc" 22435 eval "$as_ac_Header=\$ac_header_preproc"
23218 fi 22436 fi
23219 ac_res=`eval 'as_val=${'$as_ac_Header'} 22437 ac_res=`eval echo '${'$as_ac_Header'}'`
23220 $as_echo "$as_val"'` 22438 { echo "$as_me:$LINENO: result: $ac_res" >&5
23221 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22439 echo "${ECHO_T}$ac_res" >&6; }
23222 $as_echo "$ac_res" >&6; } 22440
23223 22441 fi
23224 fi 22442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23225 if test `eval 'as_val=${'$as_ac_Header'}
23226 $as_echo "$as_val"'` = yes; then
23227 cat >>confdefs.h <<_ACEOF 22443 cat >>confdefs.h <<_ACEOF
23228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23229 _ACEOF 22445 _ACEOF
23230 22446
23231 fi 22447 fi
23232 22448
23233 done 22449 done
23235 fi 22451 fi
23236 22452
23237 # Solaris requires -lintl if you want strerror (which calls dgettext) 22453 # Solaris requires -lintl if you want strerror (which calls dgettext)
23238 # to return localized messages. 22454 # to return localized messages.
23239 22455
23240 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 22456 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
23241 $as_echo_n "checking for dgettext in -lintl... " >&6; } 22457 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
23242 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 22458 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
23243 $as_echo_n "(cached) " >&6 22459 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 else 22460 else
23245 ac_check_lib_save_LIBS=$LIBS 22461 ac_check_lib_save_LIBS=$LIBS
23246 LIBS="-lintl $LIBS" 22462 LIBS="-lintl $LIBS"
23247 cat >conftest.$ac_ext <<_ACEOF 22463 cat >conftest.$ac_ext <<_ACEOF
23248 /* confdefs.h. */ 22464 /* confdefs.h. */
23270 if { (ac_try="$ac_link" 22486 if { (ac_try="$ac_link"
23271 case "(($ac_try" in 22487 case "(($ac_try" in
23272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23273 *) ac_try_echo=$ac_try;; 22489 *) ac_try_echo=$ac_try;;
23274 esac 22490 esac
23275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23276 $as_echo "$ac_try_echo") >&5
23277 (eval "$ac_link") 2>conftest.er1 22492 (eval "$ac_link") 2>conftest.er1
23278 ac_status=$? 22493 ac_status=$?
23279 grep -v '^ *+' conftest.er1 >conftest.err 22494 grep -v '^ *+' conftest.er1 >conftest.err
23280 rm -f conftest.er1 22495 rm -f conftest.er1
23281 cat conftest.err >&5 22496 cat conftest.err >&5
23282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } && { 22498 (exit $ac_status); } && {
23284 test -z "$ac_c_werror_flag" || 22499 test -z "$ac_c_werror_flag" ||
23285 test ! -s conftest.err 22500 test ! -s conftest.err
23286 } && test -s conftest$ac_exeext && { 22501 } && test -s conftest$ac_exeext &&
23287 test "$cross_compiling" = yes || 22502 $as_test_x conftest$ac_exeext; then
23288 $as_test_x conftest$ac_exeext
23289 }; then
23290 ac_cv_lib_intl_dgettext=yes 22503 ac_cv_lib_intl_dgettext=yes
23291 else 22504 else
23292 $as_echo "$as_me: failed program was:" >&5 22505 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.$ac_ext >&5 22506 sed 's/^/| /' conftest.$ac_ext >&5
23294 22507
23295 ac_cv_lib_intl_dgettext=no 22508 ac_cv_lib_intl_dgettext=no
23296 fi 22509 fi
23297 22510
23298 rm -rf conftest.dSYM
23299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23300 conftest$ac_exeext conftest.$ac_ext 22512 conftest$ac_exeext conftest.$ac_ext
23301 LIBS=$ac_check_lib_save_LIBS 22513 LIBS=$ac_check_lib_save_LIBS
23302 fi 22514 fi
23303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 22515 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
23304 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } 22516 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
23305 if test $ac_cv_lib_intl_dgettext = yes; then 22517 if test $ac_cv_lib_intl_dgettext = yes; then
23306 cat >>confdefs.h <<_ACEOF 22518 cat >>confdefs.h <<_ACEOF
23307 #define HAVE_LIBINTL 1 22519 #define HAVE_LIBINTL 1
23308 _ACEOF 22520 _ACEOF
23309 22521
23310 LIBS="-lintl $LIBS" 22522 LIBS="-lintl $LIBS"
23311 22523
23312 fi 22524 fi
23313 22525
23314 22526
23315 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 22527 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
23316 $as_echo_n "checking whether localtime caches TZ... " >&6; } 22528 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; }
23317 if test "${emacs_cv_localtime_cache+set}" = set; then 22529 if test "${emacs_cv_localtime_cache+set}" = set; then
23318 $as_echo_n "(cached) " >&6 22530 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 else 22531 else
23320 if test x$ac_cv_func_tzset = xyes; then 22532 if test x$ac_cv_func_tzset = xyes; then
23321 if test "$cross_compiling" = yes; then 22533 if test "$cross_compiling" = yes; then
23322 # If we have tzset, assume the worst when cross-compiling. 22534 # If we have tzset, assume the worst when cross-compiling.
23323 emacs_cv_localtime_cache=yes 22535 emacs_cv_localtime_cache=yes
23362 if { (ac_try="$ac_link" 22574 if { (ac_try="$ac_link"
23363 case "(($ac_try" in 22575 case "(($ac_try" in
23364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23365 *) ac_try_echo=$ac_try;; 22577 *) ac_try_echo=$ac_try;;
23366 esac 22578 esac
23367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 $as_echo "$ac_try_echo") >&5
23369 (eval "$ac_link") 2>&5 22580 (eval "$ac_link") 2>&5
23370 ac_status=$? 22581 ac_status=$?
23371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23373 { (case "(($ac_try" in 22584 { (case "(($ac_try" in
23374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;; 22586 *) ac_try_echo=$ac_try;;
23376 esac 22587 esac
23377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 $as_echo "$ac_try_echo") >&5
23379 (eval "$ac_try") 2>&5 22589 (eval "$ac_try") 2>&5
23380 ac_status=$? 22590 ac_status=$?
23381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; }; then 22592 (exit $ac_status); }; }; then
23383 emacs_cv_localtime_cache=no 22593 emacs_cv_localtime_cache=no
23384 else 22594 else
23385 $as_echo "$as_me: program exited with status $ac_status" >&5 22595 echo "$as_me: program exited with status $ac_status" >&5
23386 $as_echo "$as_me: failed program was:" >&5 22596 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5 22597 sed 's/^/| /' conftest.$ac_ext >&5
23388 22598
23389 ( exit $ac_status ) 22599 ( exit $ac_status )
23390 emacs_cv_localtime_cache=yes 22600 emacs_cv_localtime_cache=yes
23391 fi 22601 fi
23392 rm -rf conftest.dSYM
23393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23394 fi 22603 fi
23395 22604
23396 22605
23397 else 22606 else
23398 # If we lack tzset, report that localtime does not cache TZ, 22607 # If we lack tzset, report that localtime does not cache TZ,
23399 # since we can't invalidate the cache if we don't have tzset. 22608 # since we can't invalidate the cache if we don't have tzset.
23400 emacs_cv_localtime_cache=no 22609 emacs_cv_localtime_cache=no
23401 fi 22610 fi
23402 fi 22611 fi
23403 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 22612 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
23404 $as_echo "$emacs_cv_localtime_cache" >&6; } 22613 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; }
23405 if test $emacs_cv_localtime_cache = yes; then 22614 if test $emacs_cv_localtime_cache = yes; then
23406 22615
23407 cat >>confdefs.h <<\_ACEOF 22616 cat >>confdefs.h <<\_ACEOF
23408 #define LOCALTIME_CACHE 1 22617 #define LOCALTIME_CACHE 1
23409 _ACEOF 22618 _ACEOF
23412 22621
23413 if test "x$HAVE_TIMEVAL" = xyes; then 22622 if test "x$HAVE_TIMEVAL" = xyes; then
23414 22623
23415 for ac_func in gettimeofday 22624 for ac_func in gettimeofday
23416 do 22625 do
23417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 22626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23418 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 22627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23419 $as_echo_n "checking for $ac_func... " >&6; } 22628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 22629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23421 $as_echo_n "(cached) " >&6 22630 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 else 22631 else
23423 cat >conftest.$ac_ext <<_ACEOF 22632 cat >conftest.$ac_ext <<_ACEOF
23424 /* confdefs.h. */ 22633 /* confdefs.h. */
23425 _ACEOF 22634 _ACEOF
23426 cat confdefs.h >>conftest.$ac_ext 22635 cat confdefs.h >>conftest.$ac_ext
23469 if { (ac_try="$ac_link" 22678 if { (ac_try="$ac_link"
23470 case "(($ac_try" in 22679 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;; 22681 *) ac_try_echo=$ac_try;;
23473 esac 22682 esac
23474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 $as_echo "$ac_try_echo") >&5
23476 (eval "$ac_link") 2>conftest.er1 22684 (eval "$ac_link") 2>conftest.er1
23477 ac_status=$? 22685 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err 22686 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1 22687 rm -f conftest.er1
23480 cat conftest.err >&5 22688 cat conftest.err >&5
23481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } && { 22690 (exit $ac_status); } && {
23483 test -z "$ac_c_werror_flag" || 22691 test -z "$ac_c_werror_flag" ||
23484 test ! -s conftest.err 22692 test ! -s conftest.err
23485 } && test -s conftest$ac_exeext && { 22693 } && test -s conftest$ac_exeext &&
23486 test "$cross_compiling" = yes || 22694 $as_test_x conftest$ac_exeext; then
23487 $as_test_x conftest$ac_exeext
23488 }; then
23489 eval "$as_ac_var=yes" 22695 eval "$as_ac_var=yes"
23490 else 22696 else
23491 $as_echo "$as_me: failed program was:" >&5 22697 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5 22698 sed 's/^/| /' conftest.$ac_ext >&5
23493 22699
23494 eval "$as_ac_var=no" 22700 eval "$as_ac_var=no"
23495 fi 22701 fi
23496 22702
23497 rm -rf conftest.dSYM
23498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23499 conftest$ac_exeext conftest.$ac_ext 22704 conftest$ac_exeext conftest.$ac_ext
23500 fi 22705 fi
23501 ac_res=`eval 'as_val=${'$as_ac_var'} 22706 ac_res=`eval echo '${'$as_ac_var'}'`
23502 $as_echo "$as_val"'` 22707 { echo "$as_me:$LINENO: result: $ac_res" >&5
23503 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22708 echo "${ECHO_T}$ac_res" >&6; }
23504 $as_echo "$ac_res" >&6; } 22709 if test `eval echo '${'$as_ac_var'}'` = yes; then
23505 if test `eval 'as_val=${'$as_ac_var'}
23506 $as_echo "$as_val"'` = yes; then
23507 cat >>confdefs.h <<_ACEOF 22710 cat >>confdefs.h <<_ACEOF
23508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 22711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23509 _ACEOF 22712 _ACEOF
23510 22713
23511 fi 22714 fi
23512 done 22715 done
23513 22716
23514 if test $ac_cv_func_gettimeofday = yes; then 22717 if test $ac_cv_func_gettimeofday = yes; then
23515 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 22718 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23516 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 22719 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; }
23517 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 22720 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23518 $as_echo_n "(cached) " >&6 22721 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 else 22722 else
23520 cat >conftest.$ac_ext <<_ACEOF 22723 cat >conftest.$ac_ext <<_ACEOF
23521 /* confdefs.h. */ 22724 /* confdefs.h. */
23522 _ACEOF 22725 _ACEOF
23523 cat confdefs.h >>conftest.$ac_ext 22726 cat confdefs.h >>conftest.$ac_ext
23547 if { (ac_try="$ac_compile" 22750 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in 22751 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;; 22753 *) ac_try_echo=$ac_try;;
23551 esac 22754 esac
23552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 $as_echo "$ac_try_echo") >&5
23554 (eval "$ac_compile") 2>conftest.er1 22756 (eval "$ac_compile") 2>conftest.er1
23555 ac_status=$? 22757 ac_status=$?
23556 grep -v '^ *+' conftest.er1 >conftest.err 22758 grep -v '^ *+' conftest.er1 >conftest.err
23557 rm -f conftest.er1 22759 rm -f conftest.er1
23558 cat conftest.err >&5 22760 cat conftest.err >&5
23559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } && { 22762 (exit $ac_status); } && {
23561 test -z "$ac_c_werror_flag" || 22763 test -z "$ac_c_werror_flag" ||
23562 test ! -s conftest.err 22764 test ! -s conftest.err
23563 } && test -s conftest.$ac_objext; then 22765 } && test -s conftest.$ac_objext; then
23564 emacs_cv_gettimeofday_two_arguments=yes 22766 emacs_cv_gettimeofday_two_arguments=yes
23565 else 22767 else
23566 $as_echo "$as_me: failed program was:" >&5 22768 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.$ac_ext >&5 22769 sed 's/^/| /' conftest.$ac_ext >&5
23568 22770
23569 emacs_cv_gettimeofday_two_arguments=no 22771 emacs_cv_gettimeofday_two_arguments=no
23570 fi 22772 fi
23571 22773
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 fi 22775 fi
23574 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 22776 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23575 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 22777 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; }
23576 if test $emacs_cv_gettimeofday_two_arguments = no; then 22778 if test $emacs_cv_gettimeofday_two_arguments = no; then
23577 22779
23578 cat >>confdefs.h <<\_ACEOF 22780 cat >>confdefs.h <<\_ACEOF
23579 #define GETTIMEOFDAY_ONE_ARGUMENT 1 22781 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23580 _ACEOF 22782 _ACEOF
23582 fi 22784 fi
23583 fi 22785 fi
23584 fi 22786 fi
23585 22787
23586 ok_so_far=yes 22788 ok_so_far=yes
23587 { $as_echo "$as_me:$LINENO: checking for socket" >&5 22789 { echo "$as_me:$LINENO: checking for socket" >&5
23588 $as_echo_n "checking for socket... " >&6; } 22790 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
23589 if test "${ac_cv_func_socket+set}" = set; then 22791 if test "${ac_cv_func_socket+set}" = set; then
23590 $as_echo_n "(cached) " >&6 22792 echo $ECHO_N "(cached) $ECHO_C" >&6
23591 else 22793 else
23592 cat >conftest.$ac_ext <<_ACEOF 22794 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */ 22795 /* confdefs.h. */
23594 _ACEOF 22796 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext 22797 cat confdefs.h >>conftest.$ac_ext
23638 if { (ac_try="$ac_link" 22840 if { (ac_try="$ac_link"
23639 case "(($ac_try" in 22841 case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;; 22843 *) ac_try_echo=$ac_try;;
23642 esac 22844 esac
23643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 $as_echo "$ac_try_echo") >&5
23645 (eval "$ac_link") 2>conftest.er1 22846 (eval "$ac_link") 2>conftest.er1
23646 ac_status=$? 22847 ac_status=$?
23647 grep -v '^ *+' conftest.er1 >conftest.err 22848 grep -v '^ *+' conftest.er1 >conftest.err
23648 rm -f conftest.er1 22849 rm -f conftest.er1
23649 cat conftest.err >&5 22850 cat conftest.err >&5
23650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } && { 22852 (exit $ac_status); } && {
23652 test -z "$ac_c_werror_flag" || 22853 test -z "$ac_c_werror_flag" ||
23653 test ! -s conftest.err 22854 test ! -s conftest.err
23654 } && test -s conftest$ac_exeext && { 22855 } && test -s conftest$ac_exeext &&
23655 test "$cross_compiling" = yes || 22856 $as_test_x conftest$ac_exeext; then
23656 $as_test_x conftest$ac_exeext
23657 }; then
23658 ac_cv_func_socket=yes 22857 ac_cv_func_socket=yes
23659 else 22858 else
23660 $as_echo "$as_me: failed program was:" >&5 22859 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5 22860 sed 's/^/| /' conftest.$ac_ext >&5
23662 22861
23663 ac_cv_func_socket=no 22862 ac_cv_func_socket=no
23664 fi 22863 fi
23665 22864
23666 rm -rf conftest.dSYM
23667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23668 conftest$ac_exeext conftest.$ac_ext 22866 conftest$ac_exeext conftest.$ac_ext
23669 fi 22867 fi
23670 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 22868 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
23671 $as_echo "$ac_cv_func_socket" >&6; } 22869 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
23672 if test $ac_cv_func_socket = yes; then 22870 if test $ac_cv_func_socket = yes; then
23673 : 22871 :
23674 else 22872 else
23675 ok_so_far=no 22873 ok_so_far=no
23676 fi 22874 fi
23677 22875
23678 if test $ok_so_far = yes; then 22876 if test $ok_so_far = yes; then
23679 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22877 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23680 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 22878 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
23681 $as_echo_n "checking for netinet/in.h... " >&6; } 22879 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
23682 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22880 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23683 $as_echo_n "(cached) " >&6 22881 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 fi 22882 fi
23685 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 22883 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
23686 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 22884 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
23687 else 22885 else
23688 # Is the header compilable? 22886 # Is the header compilable?
23689 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 22887 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
23690 $as_echo_n "checking netinet/in.h usability... " >&6; } 22888 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; }
23691 cat >conftest.$ac_ext <<_ACEOF 22889 cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h. */ 22890 /* confdefs.h. */
23693 _ACEOF 22891 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext 22892 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF 22893 cat >>conftest.$ac_ext <<_ACEOF
23701 if { (ac_try="$ac_compile" 22899 if { (ac_try="$ac_compile"
23702 case "(($ac_try" in 22900 case "(($ac_try" in
23703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23704 *) ac_try_echo=$ac_try;; 22902 *) ac_try_echo=$ac_try;;
23705 esac 22903 esac
23706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23707 $as_echo "$ac_try_echo") >&5
23708 (eval "$ac_compile") 2>conftest.er1 22905 (eval "$ac_compile") 2>conftest.er1
23709 ac_status=$? 22906 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err 22907 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1 22908 rm -f conftest.er1
23712 cat conftest.err >&5 22909 cat conftest.err >&5
23713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } && { 22911 (exit $ac_status); } && {
23715 test -z "$ac_c_werror_flag" || 22912 test -z "$ac_c_werror_flag" ||
23716 test ! -s conftest.err 22913 test ! -s conftest.err
23717 } && test -s conftest.$ac_objext; then 22914 } && test -s conftest.$ac_objext; then
23718 ac_header_compiler=yes 22915 ac_header_compiler=yes
23719 else 22916 else
23720 $as_echo "$as_me: failed program was:" >&5 22917 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5 22918 sed 's/^/| /' conftest.$ac_ext >&5
23722 22919
23723 ac_header_compiler=no 22920 ac_header_compiler=no
23724 fi 22921 fi
23725 22922
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23728 $as_echo "$ac_header_compiler" >&6; } 22925 echo "${ECHO_T}$ac_header_compiler" >&6; }
23729 22926
23730 # Is the header present? 22927 # Is the header present?
23731 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 22928 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
23732 $as_echo_n "checking netinet/in.h presence... " >&6; } 22929 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; }
23733 cat >conftest.$ac_ext <<_ACEOF 22930 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */ 22931 /* confdefs.h. */
23735 _ACEOF 22932 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext 22933 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF 22934 cat >>conftest.$ac_ext <<_ACEOF
23741 if { (ac_try="$ac_cpp conftest.$ac_ext" 22938 if { (ac_try="$ac_cpp conftest.$ac_ext"
23742 case "(($ac_try" in 22939 case "(($ac_try" in
23743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23744 *) ac_try_echo=$ac_try;; 22941 *) ac_try_echo=$ac_try;;
23745 esac 22942 esac
23746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23747 $as_echo "$ac_try_echo") >&5
23748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23749 ac_status=$? 22945 ac_status=$?
23750 grep -v '^ *+' conftest.er1 >conftest.err 22946 grep -v '^ *+' conftest.er1 >conftest.err
23751 rm -f conftest.er1 22947 rm -f conftest.er1
23752 cat conftest.err >&5 22948 cat conftest.err >&5
23753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } >/dev/null && { 22950 (exit $ac_status); } >/dev/null && {
23755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23756 test ! -s conftest.err 22952 test ! -s conftest.err
23757 }; then 22953 }; then
23758 ac_header_preproc=yes 22954 ac_header_preproc=yes
23759 else 22955 else
23760 $as_echo "$as_me: failed program was:" >&5 22956 echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5 22957 sed 's/^/| /' conftest.$ac_ext >&5
23762 22958
23763 ac_header_preproc=no 22959 ac_header_preproc=no
23764 fi 22960 fi
23765 22961
23766 rm -f conftest.err conftest.$ac_ext 22962 rm -f conftest.err conftest.$ac_ext
23767 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23768 $as_echo "$ac_header_preproc" >&6; } 22964 echo "${ECHO_T}$ac_header_preproc" >&6; }
23769 22965
23770 # So? What about this header? 22966 # So? What about this header?
23771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23772 yes:no: ) 22968 yes:no: )
23773 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 22969 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
23774 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 22970 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23775 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 22971 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
23776 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 22972 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
23777 ac_header_preproc=yes 22973 ac_header_preproc=yes
23778 ;; 22974 ;;
23779 no:yes:* ) 22975 no:yes:* )
23780 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 22976 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
23781 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 22977 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
23782 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 22978 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
23783 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 22979 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
23784 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 22980 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
23785 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 22981 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
23786 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 22982 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
23787 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 22983 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
23788 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 22984 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
23789 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 22985 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
23790 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 22986 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
23791 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 22987 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
23792 22988
23793 ;; 22989 ;;
23794 esac 22990 esac
23795 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 22991 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
23796 $as_echo_n "checking for netinet/in.h... " >&6; } 22992 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
23797 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22993 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23798 $as_echo_n "(cached) " >&6 22994 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 else 22995 else
23800 ac_cv_header_netinet_in_h=$ac_header_preproc 22996 ac_cv_header_netinet_in_h=$ac_header_preproc
23801 fi 22997 fi
23802 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 22998 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
23803 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 22999 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
23804 23000
23805 fi 23001 fi
23806 if test $ac_cv_header_netinet_in_h = yes; then 23002 if test $ac_cv_header_netinet_in_h = yes; then
23807 : 23003 :
23808 else 23004 else
23811 23007
23812 23008
23813 fi 23009 fi
23814 if test $ok_so_far = yes; then 23010 if test $ok_so_far = yes; then
23815 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23011 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23816 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 23012 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23817 $as_echo_n "checking for arpa/inet.h... " >&6; } 23013 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
23818 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23014 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23819 $as_echo_n "(cached) " >&6 23015 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 fi 23016 fi
23821 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 23017 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23822 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 23018 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
23823 else 23019 else
23824 # Is the header compilable? 23020 # Is the header compilable?
23825 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 23021 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
23826 $as_echo_n "checking arpa/inet.h usability... " >&6; } 23022 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
23827 cat >conftest.$ac_ext <<_ACEOF 23023 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */ 23024 /* confdefs.h. */
23829 _ACEOF 23025 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext 23026 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF 23027 cat >>conftest.$ac_ext <<_ACEOF
23837 if { (ac_try="$ac_compile" 23033 if { (ac_try="$ac_compile"
23838 case "(($ac_try" in 23034 case "(($ac_try" in
23839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23840 *) ac_try_echo=$ac_try;; 23036 *) ac_try_echo=$ac_try;;
23841 esac 23037 esac
23842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23843 $as_echo "$ac_try_echo") >&5
23844 (eval "$ac_compile") 2>conftest.er1 23039 (eval "$ac_compile") 2>conftest.er1
23845 ac_status=$? 23040 ac_status=$?
23846 grep -v '^ *+' conftest.er1 >conftest.err 23041 grep -v '^ *+' conftest.er1 >conftest.err
23847 rm -f conftest.er1 23042 rm -f conftest.er1
23848 cat conftest.err >&5 23043 cat conftest.err >&5
23849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && { 23045 (exit $ac_status); } && {
23851 test -z "$ac_c_werror_flag" || 23046 test -z "$ac_c_werror_flag" ||
23852 test ! -s conftest.err 23047 test ! -s conftest.err
23853 } && test -s conftest.$ac_objext; then 23048 } && test -s conftest.$ac_objext; then
23854 ac_header_compiler=yes 23049 ac_header_compiler=yes
23855 else 23050 else
23856 $as_echo "$as_me: failed program was:" >&5 23051 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5 23052 sed 's/^/| /' conftest.$ac_ext >&5
23858 23053
23859 ac_header_compiler=no 23054 ac_header_compiler=no
23860 fi 23055 fi
23861 23056
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23058 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23864 $as_echo "$ac_header_compiler" >&6; } 23059 echo "${ECHO_T}$ac_header_compiler" >&6; }
23865 23060
23866 # Is the header present? 23061 # Is the header present?
23867 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 23062 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
23868 $as_echo_n "checking arpa/inet.h presence... " >&6; } 23063 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
23869 cat >conftest.$ac_ext <<_ACEOF 23064 cat >conftest.$ac_ext <<_ACEOF
23870 /* confdefs.h. */ 23065 /* confdefs.h. */
23871 _ACEOF 23066 _ACEOF
23872 cat confdefs.h >>conftest.$ac_ext 23067 cat confdefs.h >>conftest.$ac_ext
23873 cat >>conftest.$ac_ext <<_ACEOF 23068 cat >>conftest.$ac_ext <<_ACEOF
23877 if { (ac_try="$ac_cpp conftest.$ac_ext" 23072 if { (ac_try="$ac_cpp conftest.$ac_ext"
23878 case "(($ac_try" in 23073 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;; 23075 *) ac_try_echo=$ac_try;;
23881 esac 23076 esac
23882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 $as_echo "$ac_try_echo") >&5
23884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23885 ac_status=$? 23079 ac_status=$?
23886 grep -v '^ *+' conftest.er1 >conftest.err 23080 grep -v '^ *+' conftest.er1 >conftest.err
23887 rm -f conftest.er1 23081 rm -f conftest.er1
23888 cat conftest.err >&5 23082 cat conftest.err >&5
23889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); } >/dev/null && { 23084 (exit $ac_status); } >/dev/null && {
23891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23892 test ! -s conftest.err 23086 test ! -s conftest.err
23893 }; then 23087 }; then
23894 ac_header_preproc=yes 23088 ac_header_preproc=yes
23895 else 23089 else
23896 $as_echo "$as_me: failed program was:" >&5 23090 echo "$as_me: failed program was:" >&5
23897 sed 's/^/| /' conftest.$ac_ext >&5 23091 sed 's/^/| /' conftest.$ac_ext >&5
23898 23092
23899 ac_header_preproc=no 23093 ac_header_preproc=no
23900 fi 23094 fi
23901 23095
23902 rm -f conftest.err conftest.$ac_ext 23096 rm -f conftest.err conftest.$ac_ext
23903 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23904 $as_echo "$ac_header_preproc" >&6; } 23098 echo "${ECHO_T}$ac_header_preproc" >&6; }
23905 23099
23906 # So? What about this header? 23100 # So? What about this header?
23907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23908 yes:no: ) 23102 yes:no: )
23909 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 23103 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
23910 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 23104 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23911 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 23105 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
23912 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 23106 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
23913 ac_header_preproc=yes 23107 ac_header_preproc=yes
23914 ;; 23108 ;;
23915 no:yes:* ) 23109 no:yes:* )
23916 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 23110 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
23917 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 23111 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
23918 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 23112 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
23919 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 23113 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
23920 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 23114 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
23921 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 23115 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
23922 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 23116 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
23923 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 23117 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
23924 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 23118 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
23925 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 23119 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
23926 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 23120 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
23927 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 23121 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
23928 23122
23929 ;; 23123 ;;
23930 esac 23124 esac
23931 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 23125 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23932 $as_echo_n "checking for arpa/inet.h... " >&6; } 23126 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
23933 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23127 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23934 $as_echo_n "(cached) " >&6 23128 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 else 23129 else
23936 ac_cv_header_arpa_inet_h=$ac_header_preproc 23130 ac_cv_header_arpa_inet_h=$ac_header_preproc
23937 fi 23131 fi
23938 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 23132 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23939 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 23133 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
23940 23134
23941 fi 23135 fi
23942 if test $ac_cv_header_arpa_inet_h = yes; then 23136 if test $ac_cv_header_arpa_inet_h = yes; then
23943 : 23137 :
23944 else 23138 else
23956 fi 23150 fi
23957 23151
23958 23152
23959 for ac_header in sys/ioctl.h 23153 for ac_header in sys/ioctl.h
23960 do 23154 do
23961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 23155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23963 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23964 $as_echo_n "checking for $ac_header... " >&6; } 23158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23966 $as_echo_n "(cached) " >&6 23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 fi 23161 fi
23968 ac_res=`eval 'as_val=${'$as_ac_Header'} 23162 ac_res=`eval echo '${'$as_ac_Header'}'`
23969 $as_echo "$as_val"'` 23163 { echo "$as_me:$LINENO: result: $ac_res" >&5
23970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23164 echo "${ECHO_T}$ac_res" >&6; }
23971 $as_echo "$ac_res" >&6; }
23972 else 23165 else
23973 # Is the header compilable? 23166 # Is the header compilable?
23974 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 23167 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23975 $as_echo_n "checking $ac_header usability... " >&6; } 23168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23976 cat >conftest.$ac_ext <<_ACEOF 23169 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */ 23170 /* confdefs.h. */
23978 _ACEOF 23171 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext 23172 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF 23173 cat >>conftest.$ac_ext <<_ACEOF
23986 if { (ac_try="$ac_compile" 23179 if { (ac_try="$ac_compile"
23987 case "(($ac_try" in 23180 case "(($ac_try" in
23988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23989 *) ac_try_echo=$ac_try;; 23182 *) ac_try_echo=$ac_try;;
23990 esac 23183 esac
23991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23992 $as_echo "$ac_try_echo") >&5
23993 (eval "$ac_compile") 2>conftest.er1 23185 (eval "$ac_compile") 2>conftest.er1
23994 ac_status=$? 23186 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err 23187 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1 23188 rm -f conftest.er1
23997 cat conftest.err >&5 23189 cat conftest.err >&5
23998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && { 23191 (exit $ac_status); } && {
24000 test -z "$ac_c_werror_flag" || 23192 test -z "$ac_c_werror_flag" ||
24001 test ! -s conftest.err 23193 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then 23194 } && test -s conftest.$ac_objext; then
24003 ac_header_compiler=yes 23195 ac_header_compiler=yes
24004 else 23196 else
24005 $as_echo "$as_me: failed program was:" >&5 23197 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5 23198 sed 's/^/| /' conftest.$ac_ext >&5
24007 23199
24008 ac_header_compiler=no 23200 ac_header_compiler=no
24009 fi 23201 fi
24010 23202
24011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24012 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24013 $as_echo "$ac_header_compiler" >&6; } 23205 echo "${ECHO_T}$ac_header_compiler" >&6; }
24014 23206
24015 # Is the header present? 23207 # Is the header present?
24016 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 23208 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24017 $as_echo_n "checking $ac_header presence... " >&6; } 23209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24018 cat >conftest.$ac_ext <<_ACEOF 23210 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */ 23211 /* confdefs.h. */
24020 _ACEOF 23212 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext 23213 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF 23214 cat >>conftest.$ac_ext <<_ACEOF
24026 if { (ac_try="$ac_cpp conftest.$ac_ext" 23218 if { (ac_try="$ac_cpp conftest.$ac_ext"
24027 case "(($ac_try" in 23219 case "(($ac_try" in
24028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24029 *) ac_try_echo=$ac_try;; 23221 *) ac_try_echo=$ac_try;;
24030 esac 23222 esac
24031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24032 $as_echo "$ac_try_echo") >&5
24033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24034 ac_status=$? 23225 ac_status=$?
24035 grep -v '^ *+' conftest.er1 >conftest.err 23226 grep -v '^ *+' conftest.er1 >conftest.err
24036 rm -f conftest.er1 23227 rm -f conftest.er1
24037 cat conftest.err >&5 23228 cat conftest.err >&5
24038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } >/dev/null && { 23230 (exit $ac_status); } >/dev/null && {
24040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23231 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24041 test ! -s conftest.err 23232 test ! -s conftest.err
24042 }; then 23233 }; then
24043 ac_header_preproc=yes 23234 ac_header_preproc=yes
24044 else 23235 else
24045 $as_echo "$as_me: failed program was:" >&5 23236 echo "$as_me: failed program was:" >&5
24046 sed 's/^/| /' conftest.$ac_ext >&5 23237 sed 's/^/| /' conftest.$ac_ext >&5
24047 23238
24048 ac_header_preproc=no 23239 ac_header_preproc=no
24049 fi 23240 fi
24050 23241
24051 rm -f conftest.err conftest.$ac_ext 23242 rm -f conftest.err conftest.$ac_ext
24052 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23243 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24053 $as_echo "$ac_header_preproc" >&6; } 23244 echo "${ECHO_T}$ac_header_preproc" >&6; }
24054 23245
24055 # So? What about this header? 23246 # So? What about this header?
24056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24057 yes:no: ) 23248 yes:no: )
24058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24059 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24061 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24062 ac_header_preproc=yes 23253 ac_header_preproc=yes
24063 ;; 23254 ;;
24064 no:yes:* ) 23255 no:yes:* )
24065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24066 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24068 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24070 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24072 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24074 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24076 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24077 23268
24078 ;; 23269 ;;
24079 esac 23270 esac
24080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23271 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24081 $as_echo_n "checking for $ac_header... " >&6; } 23272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24083 $as_echo_n "(cached) " >&6 23274 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 else 23275 else
24085 eval "$as_ac_Header=\$ac_header_preproc" 23276 eval "$as_ac_Header=\$ac_header_preproc"
24086 fi 23277 fi
24087 ac_res=`eval 'as_val=${'$as_ac_Header'} 23278 ac_res=`eval echo '${'$as_ac_Header'}'`
24088 $as_echo "$as_val"'` 23279 { echo "$as_me:$LINENO: result: $ac_res" >&5
24089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23280 echo "${ECHO_T}$ac_res" >&6; }
24090 $as_echo "$ac_res" >&6; } 23281
24091 23282 fi
24092 fi 23283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24093 if test `eval 'as_val=${'$as_ac_Header'}
24094 $as_echo "$as_val"'` = yes; then
24095 cat >>confdefs.h <<_ACEOF 23284 cat >>confdefs.h <<_ACEOF
24096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24097 _ACEOF 23286 _ACEOF
24098 23287
24099 fi 23288 fi
24100 23289
24101 done 23290 done
24107 #define HAVE_AIX_SMT_EXP 1 23296 #define HAVE_AIX_SMT_EXP 1
24108 _ACEOF 23297 _ACEOF
24109 23298
24110 fi 23299 fi
24111 23300
24112 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 23301 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
24113 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } 23302 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; }
24114 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 23303 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
24115 { $as_echo "$as_me:$LINENO: result: yes" >&5 23304 { echo "$as_me:$LINENO: result: yes" >&5
24116 $as_echo "yes" >&6; } 23305 echo "${ECHO_T}yes" >&6; }
24117 23306
24118 cat >>confdefs.h <<\_ACEOF 23307 cat >>confdefs.h <<\_ACEOF
24119 #define HAVE_DEV_PTMX 1 23308 #define HAVE_DEV_PTMX 1
24120 _ACEOF 23309 _ACEOF
24121 23310
24122 else 23311 else
24123 { $as_echo "$as_me:$LINENO: result: no" >&5 23312 { echo "$as_me:$LINENO: result: no" >&5
24124 $as_echo "no" >&6; } 23313 echo "${ECHO_T}no" >&6; }
24125 fi 23314 fi
24126 23315
24127 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 23316 { echo "$as_me:$LINENO: checking for pid_t" >&5
24128 $as_echo_n "checking for pid_t... " >&6; } 23317 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
24129 if test "${ac_cv_type_pid_t+set}" = set; then 23318 if test "${ac_cv_type_pid_t+set}" = set; then
24130 $as_echo_n "(cached) " >&6 23319 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 else 23320 else
24132 ac_cv_type_pid_t=no 23321 cat >conftest.$ac_ext <<_ACEOF
24133 cat >conftest.$ac_ext <<_ACEOF
24134 /* confdefs.h. */ 23322 /* confdefs.h. */
24135 _ACEOF 23323 _ACEOF
24136 cat confdefs.h >>conftest.$ac_ext 23324 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF 23325 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */ 23326 /* end confdefs.h. */
24139 $ac_includes_default 23327 $ac_includes_default
23328 typedef pid_t ac__type_new_;
24140 int 23329 int
24141 main () 23330 main ()
24142 { 23331 {
24143 if (sizeof (pid_t)) 23332 if ((ac__type_new_ *) 0)
24144 return 0; 23333 return 0;
23334 if (sizeof (ac__type_new_))
23335 return 0;
24145 ; 23336 ;
24146 return 0; 23337 return 0;
24147 } 23338 }
24148 _ACEOF 23339 _ACEOF
24149 rm -f conftest.$ac_objext 23340 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile" 23341 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in 23342 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;; 23344 *) ac_try_echo=$ac_try;;
24154 esac 23345 esac
24155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 $as_echo "$ac_try_echo") >&5
24157 (eval "$ac_compile") 2>conftest.er1 23347 (eval "$ac_compile") 2>conftest.er1
24158 ac_status=$? 23348 ac_status=$?
24159 grep -v '^ *+' conftest.er1 >conftest.err 23349 grep -v '^ *+' conftest.er1 >conftest.err
24160 rm -f conftest.er1 23350 rm -f conftest.er1
24161 cat conftest.err >&5 23351 cat conftest.err >&5
24162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } && { 23353 (exit $ac_status); } && {
24164 test -z "$ac_c_werror_flag" || 23354 test -z "$ac_c_werror_flag" ||
24165 test ! -s conftest.err 23355 test ! -s conftest.err
24166 } && test -s conftest.$ac_objext; then 23356 } && test -s conftest.$ac_objext; then
24167 cat >conftest.$ac_ext <<_ACEOF 23357 ac_cv_type_pid_t=yes
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 ac_cv_type_pid_t=no
23363 fi
23364
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 fi
23367 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
23368 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
23369 if test $ac_cv_type_pid_t = yes; then
23370 :
23371 else
23372
23373 cat >>confdefs.h <<_ACEOF
23374 #define pid_t int
23375 _ACEOF
23376
23377 fi
23378
23379
23380 for ac_header in vfork.h
23381 do
23382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 fi
23389 ac_res=`eval echo '${'$as_ac_Header'}'`
23390 { echo "$as_me:$LINENO: result: $ac_res" >&5
23391 echo "${ECHO_T}$ac_res" >&6; }
23392 else
23393 # Is the header compilable?
23394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23396 cat >conftest.$ac_ext <<_ACEOF
24168 /* confdefs.h. */ 23397 /* confdefs.h. */
24169 _ACEOF 23398 _ACEOF
24170 cat confdefs.h >>conftest.$ac_ext 23399 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF 23400 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */ 23401 /* end confdefs.h. */
24173 $ac_includes_default 23402 $ac_includes_default
24174 int 23403 #include <$ac_header>
24175 main ()
24176 {
24177 if (sizeof ((pid_t)))
24178 return 0;
24179 ;
24180 return 0;
24181 }
24182 _ACEOF 23404 _ACEOF
24183 rm -f conftest.$ac_objext 23405 rm -f conftest.$ac_objext
24184 if { (ac_try="$ac_compile" 23406 if { (ac_try="$ac_compile"
24185 case "(($ac_try" in 23407 case "(($ac_try" in
24186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24187 *) ac_try_echo=$ac_try;; 23409 *) ac_try_echo=$ac_try;;
24188 esac 23410 esac
24189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24190 $as_echo "$ac_try_echo") >&5
24191 (eval "$ac_compile") 2>conftest.er1 23412 (eval "$ac_compile") 2>conftest.er1
24192 ac_status=$? 23413 ac_status=$?
24193 grep -v '^ *+' conftest.er1 >conftest.err 23414 grep -v '^ *+' conftest.er1 >conftest.err
24194 rm -f conftest.er1 23415 rm -f conftest.er1
24195 cat conftest.err >&5 23416 cat conftest.err >&5
24196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } && {
24198 test -z "$ac_c_werror_flag" ||
24199 test ! -s conftest.err
24200 } && test -s conftest.$ac_objext; then
24201 :
24202 else
24203 $as_echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.$ac_ext >&5
24205
24206 ac_cv_type_pid_t=yes
24207 fi
24208
24209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210 else
24211 $as_echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214
24215 fi
24216
24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24218 fi
24219 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24220 $as_echo "$ac_cv_type_pid_t" >&6; }
24221 if test $ac_cv_type_pid_t = yes; then
24222 :
24223 else
24224
24225 cat >>confdefs.h <<_ACEOF
24226 #define pid_t int
24227 _ACEOF
24228
24229 fi
24230
24231
24232 for ac_header in vfork.h
24233 do
24234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24236 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24237 $as_echo_n "checking for $ac_header... " >&6; }
24238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24239 $as_echo_n "(cached) " >&6
24240 fi
24241 ac_res=`eval 'as_val=${'$as_ac_Header'}
24242 $as_echo "$as_val"'`
24243 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24244 $as_echo "$ac_res" >&6; }
24245 else
24246 # Is the header compilable?
24247 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24248 $as_echo_n "checking $ac_header usability... " >&6; }
24249 cat >conftest.$ac_ext <<_ACEOF
24250 /* confdefs.h. */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255 $ac_includes_default
24256 #include <$ac_header>
24257 _ACEOF
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24265 $as_echo "$ac_try_echo") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && { 23418 (exit $ac_status); } && {
24273 test -z "$ac_c_werror_flag" || 23419 test -z "$ac_c_werror_flag" ||
24274 test ! -s conftest.err 23420 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then 23421 } && test -s conftest.$ac_objext; then
24276 ac_header_compiler=yes 23422 ac_header_compiler=yes
24277 else 23423 else
24278 $as_echo "$as_me: failed program was:" >&5 23424 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5 23425 sed 's/^/| /' conftest.$ac_ext >&5
24280 23426
24281 ac_header_compiler=no 23427 ac_header_compiler=no
24282 fi 23428 fi
24283 23429
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24285 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24286 $as_echo "$ac_header_compiler" >&6; } 23432 echo "${ECHO_T}$ac_header_compiler" >&6; }
24287 23433
24288 # Is the header present? 23434 # Is the header present?
24289 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 23435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24290 $as_echo_n "checking $ac_header presence... " >&6; } 23436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24291 cat >conftest.$ac_ext <<_ACEOF 23437 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h. */ 23438 /* confdefs.h. */
24293 _ACEOF 23439 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext 23440 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF 23441 cat >>conftest.$ac_ext <<_ACEOF
24299 if { (ac_try="$ac_cpp conftest.$ac_ext" 23445 if { (ac_try="$ac_cpp conftest.$ac_ext"
24300 case "(($ac_try" in 23446 case "(($ac_try" in
24301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24302 *) ac_try_echo=$ac_try;; 23448 *) ac_try_echo=$ac_try;;
24303 esac 23449 esac
24304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24305 $as_echo "$ac_try_echo") >&5
24306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24307 ac_status=$? 23452 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err 23453 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1 23454 rm -f conftest.er1
24310 cat conftest.err >&5 23455 cat conftest.err >&5
24311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } >/dev/null && { 23457 (exit $ac_status); } >/dev/null && {
24313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24314 test ! -s conftest.err 23459 test ! -s conftest.err
24315 }; then 23460 }; then
24316 ac_header_preproc=yes 23461 ac_header_preproc=yes
24317 else 23462 else
24318 $as_echo "$as_me: failed program was:" >&5 23463 echo "$as_me: failed program was:" >&5
24319 sed 's/^/| /' conftest.$ac_ext >&5 23464 sed 's/^/| /' conftest.$ac_ext >&5
24320 23465
24321 ac_header_preproc=no 23466 ac_header_preproc=no
24322 fi 23467 fi
24323 23468
24324 rm -f conftest.err conftest.$ac_ext 23469 rm -f conftest.err conftest.$ac_ext
24325 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24326 $as_echo "$ac_header_preproc" >&6; } 23471 echo "${ECHO_T}$ac_header_preproc" >&6; }
24327 23472
24328 # So? What about this header? 23473 # So? What about this header?
24329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24330 yes:no: ) 23475 yes:no: )
24331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24332 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24334 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24335 ac_header_preproc=yes 23480 ac_header_preproc=yes
24336 ;; 23481 ;;
24337 no:yes:* ) 23482 no:yes:* )
24338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24339 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24341 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24343 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24345 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24347 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24349 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24350 23495
24351 ;; 23496 ;;
24352 esac 23497 esac
24353 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24354 $as_echo_n "checking for $ac_header... " >&6; } 23499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24356 $as_echo_n "(cached) " >&6 23501 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 else 23502 else
24358 eval "$as_ac_Header=\$ac_header_preproc" 23503 eval "$as_ac_Header=\$ac_header_preproc"
24359 fi 23504 fi
24360 ac_res=`eval 'as_val=${'$as_ac_Header'} 23505 ac_res=`eval echo '${'$as_ac_Header'}'`
24361 $as_echo "$as_val"'` 23506 { echo "$as_me:$LINENO: result: $ac_res" >&5
24362 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23507 echo "${ECHO_T}$ac_res" >&6; }
24363 $as_echo "$ac_res" >&6; } 23508
24364 23509 fi
24365 fi 23510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24366 if test `eval 'as_val=${'$as_ac_Header'}
24367 $as_echo "$as_val"'` = yes; then
24368 cat >>confdefs.h <<_ACEOF 23511 cat >>confdefs.h <<_ACEOF
24369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24370 _ACEOF 23513 _ACEOF
24371 23514
24372 fi 23515 fi
24373 23516
24374 done 23517 done
24375 23518
24376 23519
24377 23520
24378 for ac_func in fork vfork 23521 for ac_func in fork vfork
24379 do 23522 do
24380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 23523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24381 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 23524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24382 $as_echo_n "checking for $ac_func... " >&6; } 23525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 23526 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24384 $as_echo_n "(cached) " >&6 23527 echo $ECHO_N "(cached) $ECHO_C" >&6
24385 else 23528 else
24386 cat >conftest.$ac_ext <<_ACEOF 23529 cat >conftest.$ac_ext <<_ACEOF
24387 /* confdefs.h. */ 23530 /* confdefs.h. */
24388 _ACEOF 23531 _ACEOF
24389 cat confdefs.h >>conftest.$ac_ext 23532 cat confdefs.h >>conftest.$ac_ext
24432 if { (ac_try="$ac_link" 23575 if { (ac_try="$ac_link"
24433 case "(($ac_try" in 23576 case "(($ac_try" in
24434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24435 *) ac_try_echo=$ac_try;; 23578 *) ac_try_echo=$ac_try;;
24436 esac 23579 esac
24437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24438 $as_echo "$ac_try_echo") >&5
24439 (eval "$ac_link") 2>conftest.er1 23581 (eval "$ac_link") 2>conftest.er1
24440 ac_status=$? 23582 ac_status=$?
24441 grep -v '^ *+' conftest.er1 >conftest.err 23583 grep -v '^ *+' conftest.er1 >conftest.err
24442 rm -f conftest.er1 23584 rm -f conftest.er1
24443 cat conftest.err >&5 23585 cat conftest.err >&5
24444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } && { 23587 (exit $ac_status); } && {
24446 test -z "$ac_c_werror_flag" || 23588 test -z "$ac_c_werror_flag" ||
24447 test ! -s conftest.err 23589 test ! -s conftest.err
24448 } && test -s conftest$ac_exeext && { 23590 } && test -s conftest$ac_exeext &&
24449 test "$cross_compiling" = yes || 23591 $as_test_x conftest$ac_exeext; then
24450 $as_test_x conftest$ac_exeext
24451 }; then
24452 eval "$as_ac_var=yes" 23592 eval "$as_ac_var=yes"
24453 else 23593 else
24454 $as_echo "$as_me: failed program was:" >&5 23594 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5 23595 sed 's/^/| /' conftest.$ac_ext >&5
24456 23596
24457 eval "$as_ac_var=no" 23597 eval "$as_ac_var=no"
24458 fi 23598 fi
24459 23599
24460 rm -rf conftest.dSYM
24461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24462 conftest$ac_exeext conftest.$ac_ext 23601 conftest$ac_exeext conftest.$ac_ext
24463 fi 23602 fi
24464 ac_res=`eval 'as_val=${'$as_ac_var'} 23603 ac_res=`eval echo '${'$as_ac_var'}'`
24465 $as_echo "$as_val"'` 23604 { echo "$as_me:$LINENO: result: $ac_res" >&5
24466 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23605 echo "${ECHO_T}$ac_res" >&6; }
24467 $as_echo "$ac_res" >&6; } 23606 if test `eval echo '${'$as_ac_var'}'` = yes; then
24468 if test `eval 'as_val=${'$as_ac_var'}
24469 $as_echo "$as_val"'` = yes; then
24470 cat >>confdefs.h <<_ACEOF 23607 cat >>confdefs.h <<_ACEOF
24471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 23608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24472 _ACEOF 23609 _ACEOF
24473 23610
24474 fi 23611 fi
24475 done 23612 done
24476 23613
24477 if test "x$ac_cv_func_fork" = xyes; then 23614 if test "x$ac_cv_func_fork" = xyes; then
24478 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 23615 { echo "$as_me:$LINENO: checking for working fork" >&5
24479 $as_echo_n "checking for working fork... " >&6; } 23616 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
24480 if test "${ac_cv_func_fork_works+set}" = set; then 23617 if test "${ac_cv_func_fork_works+set}" = set; then
24481 $as_echo_n "(cached) " >&6 23618 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 else 23619 else
24483 if test "$cross_compiling" = yes; then 23620 if test "$cross_compiling" = yes; then
24484 ac_cv_func_fork_works=cross 23621 ac_cv_func_fork_works=cross
24485 else 23622 else
24486 cat >conftest.$ac_ext <<_ACEOF 23623 cat >conftest.$ac_ext <<_ACEOF
24505 if { (ac_try="$ac_link" 23642 if { (ac_try="$ac_link"
24506 case "(($ac_try" in 23643 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;; 23645 *) ac_try_echo=$ac_try;;
24509 esac 23646 esac
24510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 $as_echo "$ac_try_echo") >&5
24512 (eval "$ac_link") 2>&5 23648 (eval "$ac_link") 2>&5
24513 ac_status=$? 23649 ac_status=$?
24514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24516 { (case "(($ac_try" in 23652 { (case "(($ac_try" in
24517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24518 *) ac_try_echo=$ac_try;; 23654 *) ac_try_echo=$ac_try;;
24519 esac 23655 esac
24520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24521 $as_echo "$ac_try_echo") >&5
24522 (eval "$ac_try") 2>&5 23657 (eval "$ac_try") 2>&5
24523 ac_status=$? 23658 ac_status=$?
24524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; }; then 23660 (exit $ac_status); }; }; then
24526 ac_cv_func_fork_works=yes 23661 ac_cv_func_fork_works=yes
24527 else 23662 else
24528 $as_echo "$as_me: program exited with status $ac_status" >&5 23663 echo "$as_me: program exited with status $ac_status" >&5
24529 $as_echo "$as_me: failed program was:" >&5 23664 echo "$as_me: failed program was:" >&5
24530 sed 's/^/| /' conftest.$ac_ext >&5 23665 sed 's/^/| /' conftest.$ac_ext >&5
24531 23666
24532 ( exit $ac_status ) 23667 ( exit $ac_status )
24533 ac_cv_func_fork_works=no 23668 ac_cv_func_fork_works=no
24534 fi 23669 fi
24535 rm -rf conftest.dSYM
24536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24537 fi 23671 fi
24538 23672
24539 23673
24540 fi 23674 fi
24541 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 23675 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
24542 $as_echo "$ac_cv_func_fork_works" >&6; } 23676 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
24543 23677
24544 else 23678 else
24545 ac_cv_func_fork_works=$ac_cv_func_fork 23679 ac_cv_func_fork_works=$ac_cv_func_fork
24546 fi 23680 fi
24547 if test "x$ac_cv_func_fork_works" = xcross; then 23681 if test "x$ac_cv_func_fork_works" = xcross; then
24552 ;; 23686 ;;
24553 *) 23687 *)
24554 ac_cv_func_fork_works=yes 23688 ac_cv_func_fork_works=yes
24555 ;; 23689 ;;
24556 esac 23690 esac
24557 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 23691 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
24558 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 23692 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
24559 fi 23693 fi
24560 ac_cv_func_vfork_works=$ac_cv_func_vfork 23694 ac_cv_func_vfork_works=$ac_cv_func_vfork
24561 if test "x$ac_cv_func_vfork" = xyes; then 23695 if test "x$ac_cv_func_vfork" = xyes; then
24562 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 23696 { echo "$as_me:$LINENO: checking for working vfork" >&5
24563 $as_echo_n "checking for working vfork... " >&6; } 23697 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
24564 if test "${ac_cv_func_vfork_works+set}" = set; then 23698 if test "${ac_cv_func_vfork_works+set}" = set; then
24565 $as_echo_n "(cached) " >&6 23699 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else 23700 else
24567 if test "$cross_compiling" = yes; then 23701 if test "$cross_compiling" = yes; then
24568 ac_cv_func_vfork_works=cross 23702 ac_cv_func_vfork_works=cross
24569 else 23703 else
24570 cat >conftest.$ac_ext <<_ACEOF 23704 cat >conftest.$ac_ext <<_ACEOF
24667 if { (ac_try="$ac_link" 23801 if { (ac_try="$ac_link"
24668 case "(($ac_try" in 23802 case "(($ac_try" in
24669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24670 *) ac_try_echo=$ac_try;; 23804 *) ac_try_echo=$ac_try;;
24671 esac 23805 esac
24672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24673 $as_echo "$ac_try_echo") >&5
24674 (eval "$ac_link") 2>&5 23807 (eval "$ac_link") 2>&5
24675 ac_status=$? 23808 ac_status=$?
24676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24678 { (case "(($ac_try" in 23811 { (case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;; 23813 *) ac_try_echo=$ac_try;;
24681 esac 23814 esac
24682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 $as_echo "$ac_try_echo") >&5
24684 (eval "$ac_try") 2>&5 23816 (eval "$ac_try") 2>&5
24685 ac_status=$? 23817 ac_status=$?
24686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; }; then 23819 (exit $ac_status); }; }; then
24688 ac_cv_func_vfork_works=yes 23820 ac_cv_func_vfork_works=yes
24689 else 23821 else
24690 $as_echo "$as_me: program exited with status $ac_status" >&5 23822 echo "$as_me: program exited with status $ac_status" >&5
24691 $as_echo "$as_me: failed program was:" >&5 23823 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5 23824 sed 's/^/| /' conftest.$ac_ext >&5
24693 23825
24694 ( exit $ac_status ) 23826 ( exit $ac_status )
24695 ac_cv_func_vfork_works=no 23827 ac_cv_func_vfork_works=no
24696 fi 23828 fi
24697 rm -rf conftest.dSYM
24698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24699 fi 23830 fi
24700 23831
24701 23832
24702 fi 23833 fi
24703 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 23834 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
24704 $as_echo "$ac_cv_func_vfork_works" >&6; } 23835 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
24705 23836
24706 fi; 23837 fi;
24707 if test "x$ac_cv_func_fork_works" = xcross; then 23838 if test "x$ac_cv_func_fork_works" = xcross; then
24708 ac_cv_func_vfork_works=$ac_cv_func_vfork 23839 ac_cv_func_vfork_works=$ac_cv_func_vfork
24709 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 23840 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
24710 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 23841 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
24711 fi 23842 fi
24712 23843
24713 if test "x$ac_cv_func_vfork_works" = xyes; then 23844 if test "x$ac_cv_func_vfork_works" = xyes; then
24714 23845
24715 cat >>confdefs.h <<\_ACEOF 23846 cat >>confdefs.h <<\_ACEOF
24730 _ACEOF 23861 _ACEOF
24731 23862
24732 fi 23863 fi
24733 23864
24734 23865
24735 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 23866 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
24736 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 23867 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
24737 if test "${emacs_cv_langinfo_codeset+set}" = set; then 23868 if test "${emacs_cv_langinfo_codeset+set}" = set; then
24738 $as_echo_n "(cached) " >&6 23869 echo $ECHO_N "(cached) $ECHO_C" >&6
24739 else 23870 else
24740 cat >conftest.$ac_ext <<_ACEOF 23871 cat >conftest.$ac_ext <<_ACEOF
24741 /* confdefs.h. */ 23872 /* confdefs.h. */
24742 _ACEOF 23873 _ACEOF
24743 cat confdefs.h >>conftest.$ac_ext 23874 cat confdefs.h >>conftest.$ac_ext
24756 if { (ac_try="$ac_link" 23887 if { (ac_try="$ac_link"
24757 case "(($ac_try" in 23888 case "(($ac_try" in
24758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24759 *) ac_try_echo=$ac_try;; 23890 *) ac_try_echo=$ac_try;;
24760 esac 23891 esac
24761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24762 $as_echo "$ac_try_echo") >&5
24763 (eval "$ac_link") 2>conftest.er1 23893 (eval "$ac_link") 2>conftest.er1
24764 ac_status=$? 23894 ac_status=$?
24765 grep -v '^ *+' conftest.er1 >conftest.err 23895 grep -v '^ *+' conftest.er1 >conftest.err
24766 rm -f conftest.er1 23896 rm -f conftest.er1
24767 cat conftest.err >&5 23897 cat conftest.err >&5
24768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } && { 23899 (exit $ac_status); } && {
24770 test -z "$ac_c_werror_flag" || 23900 test -z "$ac_c_werror_flag" ||
24771 test ! -s conftest.err 23901 test ! -s conftest.err
24772 } && test -s conftest$ac_exeext && { 23902 } && test -s conftest$ac_exeext &&
24773 test "$cross_compiling" = yes || 23903 $as_test_x conftest$ac_exeext; then
24774 $as_test_x conftest$ac_exeext
24775 }; then
24776 emacs_cv_langinfo_codeset=yes 23904 emacs_cv_langinfo_codeset=yes
24777 else 23905 else
24778 $as_echo "$as_me: failed program was:" >&5 23906 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5 23907 sed 's/^/| /' conftest.$ac_ext >&5
24780 23908
24781 emacs_cv_langinfo_codeset=no 23909 emacs_cv_langinfo_codeset=no
24782 fi 23910 fi
24783 23911
24784 rm -rf conftest.dSYM
24785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24786 conftest$ac_exeext conftest.$ac_ext 23913 conftest$ac_exeext conftest.$ac_ext
24787 23914
24788 fi 23915 fi
24789 { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 23916 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
24790 $as_echo "$emacs_cv_langinfo_codeset" >&6; } 23917 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; }
24791 if test $emacs_cv_langinfo_codeset = yes; then 23918 if test $emacs_cv_langinfo_codeset = yes; then
24792 23919
24793 cat >>confdefs.h <<\_ACEOF 23920 cat >>confdefs.h <<\_ACEOF
24794 #define HAVE_LANGINFO_CODESET 1 23921 #define HAVE_LANGINFO_CODESET 1
24795 _ACEOF 23922 _ACEOF
24796 23923
24797 fi 23924 fi
24798 23925
24799 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 23926 { echo "$as_me:$LINENO: checking for size_t" >&5
24800 $as_echo_n "checking for size_t... " >&6; } 23927 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
24801 if test "${ac_cv_type_size_t+set}" = set; then 23928 if test "${ac_cv_type_size_t+set}" = set; then
24802 $as_echo_n "(cached) " >&6 23929 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 else 23930 else
24804 ac_cv_type_size_t=no 23931 cat >conftest.$ac_ext <<_ACEOF
24805 cat >conftest.$ac_ext <<_ACEOF
24806 /* confdefs.h. */ 23932 /* confdefs.h. */
24807 _ACEOF 23933 _ACEOF
24808 cat confdefs.h >>conftest.$ac_ext 23934 cat confdefs.h >>conftest.$ac_ext
24809 cat >>conftest.$ac_ext <<_ACEOF 23935 cat >>conftest.$ac_ext <<_ACEOF
24810 /* end confdefs.h. */ 23936 /* end confdefs.h. */
24811 $ac_includes_default 23937 $ac_includes_default
23938 typedef size_t ac__type_new_;
24812 int 23939 int
24813 main () 23940 main ()
24814 { 23941 {
24815 if (sizeof (size_t)) 23942 if ((ac__type_new_ *) 0)
24816 return 0; 23943 return 0;
23944 if (sizeof (ac__type_new_))
23945 return 0;
24817 ; 23946 ;
24818 return 0; 23947 return 0;
24819 } 23948 }
24820 _ACEOF 23949 _ACEOF
24821 rm -f conftest.$ac_objext 23950 rm -f conftest.$ac_objext
24822 if { (ac_try="$ac_compile" 23951 if { (ac_try="$ac_compile"
24823 case "(($ac_try" in 23952 case "(($ac_try" in
24824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24825 *) ac_try_echo=$ac_try;; 23954 *) ac_try_echo=$ac_try;;
24826 esac 23955 esac
24827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24828 $as_echo "$ac_try_echo") >&5
24829 (eval "$ac_compile") 2>conftest.er1 23957 (eval "$ac_compile") 2>conftest.er1
24830 ac_status=$? 23958 ac_status=$?
24831 grep -v '^ *+' conftest.er1 >conftest.err 23959 grep -v '^ *+' conftest.er1 >conftest.err
24832 rm -f conftest.er1 23960 rm -f conftest.er1
24833 cat conftest.err >&5 23961 cat conftest.err >&5
24834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { 23963 (exit $ac_status); } && {
24836 test -z "$ac_c_werror_flag" || 23964 test -z "$ac_c_werror_flag" ||
24837 test ! -s conftest.err 23965 test ! -s conftest.err
24838 } && test -s conftest.$ac_objext; then 23966 } && test -s conftest.$ac_objext; then
24839 cat >conftest.$ac_ext <<_ACEOF 23967 ac_cv_type_size_t=yes
24840 /* confdefs.h. */ 23968 else
24841 _ACEOF 23969 echo "$as_me: failed program was:" >&5
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845 $ac_includes_default
24846 int
24847 main ()
24848 {
24849 if (sizeof ((size_t)))
24850 return 0;
24851 ;
24852 return 0;
24853 }
24854 _ACEOF
24855 rm -f conftest.$ac_objext
24856 if { (ac_try="$ac_compile"
24857 case "(($ac_try" in
24858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24859 *) ac_try_echo=$ac_try;;
24860 esac
24861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24862 $as_echo "$ac_try_echo") >&5
24863 (eval "$ac_compile") 2>conftest.er1
24864 ac_status=$?
24865 grep -v '^ *+' conftest.er1 >conftest.err
24866 rm -f conftest.er1
24867 cat conftest.err >&5
24868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); } && {
24870 test -z "$ac_c_werror_flag" ||
24871 test ! -s conftest.err
24872 } && test -s conftest.$ac_objext; then
24873 :
24874 else
24875 $as_echo "$as_me: failed program was:" >&5
24876 sed 's/^/| /' conftest.$ac_ext >&5 23970 sed 's/^/| /' conftest.$ac_ext >&5
24877 23971
24878 ac_cv_type_size_t=yes 23972 ac_cv_type_size_t=no
24879 fi 23973 fi
24880 23974
24881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24882 else 23976 fi
24883 $as_echo "$as_me: failed program was:" >&5 23977 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24884 sed 's/^/| /' conftest.$ac_ext >&5 23978 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
24885
24886
24887 fi
24888
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 fi
24891 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24892 $as_echo "$ac_cv_type_size_t" >&6; }
24893 if test $ac_cv_type_size_t = yes; then 23979 if test $ac_cv_type_size_t = yes; then
24894 23980
24895 cat >>confdefs.h <<_ACEOF 23981 cat >>confdefs.h <<_ACEOF
24896 #define HAVE_SIZE_T 1 23982 #define HAVE_SIZE_T 1
24897 _ACEOF 23983 _ACEOF
24898 23984
24899 23985
24900 fi 23986 fi
24901 23987
24902 23988
24903 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 23989 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
24904 $as_echo_n "checking for mbstate_t... " >&6; } 23990 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
24905 if test "${ac_cv_type_mbstate_t+set}" = set; then 23991 if test "${ac_cv_type_mbstate_t+set}" = set; then
24906 $as_echo_n "(cached) " >&6 23992 echo $ECHO_N "(cached) $ECHO_C" >&6
24907 else 23993 else
24908 cat >conftest.$ac_ext <<_ACEOF 23994 cat >conftest.$ac_ext <<_ACEOF
24909 /* confdefs.h. */ 23995 /* confdefs.h. */
24910 _ACEOF 23996 _ACEOF
24911 cat confdefs.h >>conftest.$ac_ext 23997 cat confdefs.h >>conftest.$ac_ext
24925 if { (ac_try="$ac_compile" 24011 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in 24012 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;; 24014 *) ac_try_echo=$ac_try;;
24929 esac 24015 esac
24930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 $as_echo "$ac_try_echo") >&5
24932 (eval "$ac_compile") 2>conftest.er1 24017 (eval "$ac_compile") 2>conftest.er1
24933 ac_status=$? 24018 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err 24019 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1 24020 rm -f conftest.er1
24936 cat conftest.err >&5 24021 cat conftest.err >&5
24937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } && { 24023 (exit $ac_status); } && {
24939 test -z "$ac_c_werror_flag" || 24024 test -z "$ac_c_werror_flag" ||
24940 test ! -s conftest.err 24025 test ! -s conftest.err
24941 } && test -s conftest.$ac_objext; then 24026 } && test -s conftest.$ac_objext; then
24942 ac_cv_type_mbstate_t=yes 24027 ac_cv_type_mbstate_t=yes
24943 else 24028 else
24944 $as_echo "$as_me: failed program was:" >&5 24029 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5 24030 sed 's/^/| /' conftest.$ac_ext >&5
24946 24031
24947 ac_cv_type_mbstate_t=no 24032 ac_cv_type_mbstate_t=no
24948 fi 24033 fi
24949 24034
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951 fi 24036 fi
24952 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 24037 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
24953 $as_echo "$ac_cv_type_mbstate_t" >&6; } 24038 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
24954 if test $ac_cv_type_mbstate_t = yes; then 24039 if test $ac_cv_type_mbstate_t = yes; then
24955 24040
24956 cat >>confdefs.h <<\_ACEOF 24041 cat >>confdefs.h <<\_ACEOF
24957 #define HAVE_MBSTATE_T 1 24042 #define HAVE_MBSTATE_T 1
24958 _ACEOF 24043 _ACEOF
24963 #define mbstate_t int 24048 #define mbstate_t int
24964 _ACEOF 24049 _ACEOF
24965 24050
24966 fi 24051 fi
24967 24052
24968 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 24053 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5
24969 $as_echo_n "checking for C restrict keyword... " >&6; } 24054 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; }
24970 if test "${emacs_cv_c_restrict+set}" = set; then 24055 if test "${emacs_cv_c_restrict+set}" = set; then
24971 $as_echo_n "(cached) " >&6 24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 else 24057 else
24973 cat >conftest.$ac_ext <<_ACEOF 24058 cat >conftest.$ac_ext <<_ACEOF
24974 /* confdefs.h. */ 24059 /* confdefs.h. */
24975 _ACEOF 24060 _ACEOF
24976 cat confdefs.h >>conftest.$ac_ext 24061 cat confdefs.h >>conftest.$ac_ext
24989 if { (ac_try="$ac_compile" 24074 if { (ac_try="$ac_compile"
24990 case "(($ac_try" in 24075 case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;; 24077 *) ac_try_echo=$ac_try;;
24993 esac 24078 esac
24994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 $as_echo "$ac_try_echo") >&5
24996 (eval "$ac_compile") 2>conftest.er1 24080 (eval "$ac_compile") 2>conftest.er1
24997 ac_status=$? 24081 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err 24082 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1 24083 rm -f conftest.er1
25000 cat conftest.err >&5 24084 cat conftest.err >&5
25001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } && { 24086 (exit $ac_status); } && {
25003 test -z "$ac_c_werror_flag" || 24087 test -z "$ac_c_werror_flag" ||
25004 test ! -s conftest.err 24088 test ! -s conftest.err
25005 } && test -s conftest.$ac_objext; then 24089 } && test -s conftest.$ac_objext; then
25006 emacs_cv_c_restrict=yes 24090 emacs_cv_c_restrict=yes
25007 else 24091 else
25008 $as_echo "$as_me: failed program was:" >&5 24092 echo "$as_me: failed program was:" >&5
25009 sed 's/^/| /' conftest.$ac_ext >&5 24093 sed 's/^/| /' conftest.$ac_ext >&5
25010 24094
25011 cat >conftest.$ac_ext <<_ACEOF 24095 cat >conftest.$ac_ext <<_ACEOF
25012 /* confdefs.h. */ 24096 /* confdefs.h. */
25013 _ACEOF 24097 _ACEOF
25027 if { (ac_try="$ac_compile" 24111 if { (ac_try="$ac_compile"
25028 case "(($ac_try" in 24112 case "(($ac_try" in
25029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25030 *) ac_try_echo=$ac_try;; 24114 *) ac_try_echo=$ac_try;;
25031 esac 24115 esac
25032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25033 $as_echo "$ac_try_echo") >&5
25034 (eval "$ac_compile") 2>conftest.er1 24117 (eval "$ac_compile") 2>conftest.er1
25035 ac_status=$? 24118 ac_status=$?
25036 grep -v '^ *+' conftest.er1 >conftest.err 24119 grep -v '^ *+' conftest.er1 >conftest.err
25037 rm -f conftest.er1 24120 rm -f conftest.er1
25038 cat conftest.err >&5 24121 cat conftest.err >&5
25039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && { 24123 (exit $ac_status); } && {
25041 test -z "$ac_c_werror_flag" || 24124 test -z "$ac_c_werror_flag" ||
25042 test ! -s conftest.err 24125 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then 24126 } && test -s conftest.$ac_objext; then
25044 emacs_cv_c_restrict=__restrict 24127 emacs_cv_c_restrict=__restrict
25045 else 24128 else
25046 $as_echo "$as_me: failed program was:" >&5 24129 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5 24130 sed 's/^/| /' conftest.$ac_ext >&5
25048 24131
25049 emacs_cv_c_restrict=no 24132 emacs_cv_c_restrict=no
25050 fi 24133 fi
25051 24134
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25053 fi 24136 fi
25054 24137
25055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25056 fi 24139 fi
25057 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 24140 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
25058 $as_echo "$emacs_cv_c_restrict" >&6; } 24141 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; }
25059 case "$emacs_cv_c_restrict" in 24142 case "$emacs_cv_c_restrict" in
25060 yes) emacs_restrict=restrict;; 24143 yes) emacs_restrict=restrict;;
25061 no) emacs_restrict="";; 24144 no) emacs_restrict="";;
25062 *) emacs_restrict="$emacs_cv_c_restrict";; 24145 *) emacs_restrict="$emacs_cv_c_restrict";;
25063 esac 24146 esac
25067 #define __restrict $emacs_restrict 24150 #define __restrict $emacs_restrict
25068 _ACEOF 24151 _ACEOF
25069 24152
25070 fi 24153 fi
25071 24154
25072 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 24155 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
25073 $as_echo_n "checking for C restricted array declarations... " >&6; } 24156 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; }
25074 if test "${emacs_cv_c_restrict_arr+set}" = set; then 24157 if test "${emacs_cv_c_restrict_arr+set}" = set; then
25075 $as_echo_n "(cached) " >&6 24158 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 else 24159 else
25077 cat >conftest.$ac_ext <<_ACEOF 24160 cat >conftest.$ac_ext <<_ACEOF
25078 /* confdefs.h. */ 24161 /* confdefs.h. */
25079 _ACEOF 24162 _ACEOF
25080 cat confdefs.h >>conftest.$ac_ext 24163 cat confdefs.h >>conftest.$ac_ext
25093 if { (ac_try="$ac_compile" 24176 if { (ac_try="$ac_compile"
25094 case "(($ac_try" in 24177 case "(($ac_try" in
25095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096 *) ac_try_echo=$ac_try;; 24179 *) ac_try_echo=$ac_try;;
25097 esac 24180 esac
25098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099 $as_echo "$ac_try_echo") >&5
25100 (eval "$ac_compile") 2>conftest.er1 24182 (eval "$ac_compile") 2>conftest.er1
25101 ac_status=$? 24183 ac_status=$?
25102 grep -v '^ *+' conftest.er1 >conftest.err 24184 grep -v '^ *+' conftest.er1 >conftest.err
25103 rm -f conftest.er1 24185 rm -f conftest.er1
25104 cat conftest.err >&5 24186 cat conftest.err >&5
25105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } && { 24188 (exit $ac_status); } && {
25107 test -z "$ac_c_werror_flag" || 24189 test -z "$ac_c_werror_flag" ||
25108 test ! -s conftest.err 24190 test ! -s conftest.err
25109 } && test -s conftest.$ac_objext; then 24191 } && test -s conftest.$ac_objext; then
25110 emacs_cv_c_restrict_arr=yes 24192 emacs_cv_c_restrict_arr=yes
25111 else 24193 else
25112 $as_echo "$as_me: failed program was:" >&5 24194 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5 24195 sed 's/^/| /' conftest.$ac_ext >&5
25114 24196
25115 emacs_cv_c_restrict_arr=no 24197 emacs_cv_c_restrict_arr=no
25116 fi 24198 fi
25117 24199
25118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 fi 24201 fi
25120 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 24202 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
25121 $as_echo "$emacs_cv_c_restrict_arr" >&6; } 24203 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; }
25122 if test "$emacs_cv_c_restrict_arr" = yes; then 24204 if test "$emacs_cv_c_restrict_arr" = yes; then
25123 24205
25124 cat >>confdefs.h <<\_ACEOF 24206 cat >>confdefs.h <<\_ACEOF
25125 #define __restrict_arr __restrict 24207 #define __restrict_arr __restrict
25126 _ACEOF 24208 _ACEOF
25135 24217
25136 #### Find out which version of Emacs this is. 24218 #### Find out which version of Emacs this is.
25137 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 24219 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
25138 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 24220 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
25139 if test x"${version}" = x; then 24221 if test x"${version}" = x; then
25140 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 24222 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
25141 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 24223 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
25142 { (exit 1); exit 1; }; } 24224 { (exit 1); exit 1; }; }
25143 fi 24225 fi
25144 24226
25145 ### Specify what sort of things we'll be editing into Makefile and config.h. 24227 ### Specify what sort of things we'll be editing into Makefile and config.h.
25146 ### Use configuration here uncanonicalized to avoid exceeding size limits. 24228 ### Use configuration here uncanonicalized to avoid exceeding size limits.
25443 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 24525 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25444 eval ac_val=\$$ac_var 24526 eval ac_val=\$$ac_var
25445 case $ac_val in #( 24527 case $ac_val in #(
25446 *${as_nl}*) 24528 *${as_nl}*)
25447 case $ac_var in #( 24529 case $ac_var in #(
25448 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 24530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25449 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 24531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25450 esac 24532 esac
25451 case $ac_var in #( 24533 case $ac_var in #(
25452 _ | IFS | as_nl) ;; #( 24534 _ | IFS | as_nl) ;; #(
25453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25454 *) $as_unset $ac_var ;; 24535 *) $as_unset $ac_var ;;
25455 esac ;; 24536 esac ;;
25456 esac 24537 esac
25457 done 24538 done
25458 24539
25481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25482 :end' >>confcache 24563 :end' >>confcache
25483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25484 if test -w "$cache_file"; then 24565 if test -w "$cache_file"; then
25485 test "x$cache_file" != "x/dev/null" && 24566 test "x$cache_file" != "x/dev/null" &&
25486 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 24567 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25487 $as_echo "$as_me: updating cache $cache_file" >&6;} 24568 echo "$as_me: updating cache $cache_file" >&6;}
25488 cat confcache >$cache_file 24569 cat confcache >$cache_file
25489 else 24570 else
25490 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 24571 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25491 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24572 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25492 fi 24573 fi
25493 fi 24574 fi
25494 rm -f confcache 24575 rm -f confcache
25495 24576
25496 test "x$prefix" = xNONE && prefix=$ac_default_prefix 24577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25502 ac_libobjs= 24583 ac_libobjs=
25503 ac_ltlibobjs= 24584 ac_ltlibobjs=
25504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24585 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25505 # 1. Remove the extension, and $U if already installed. 24586 # 1. Remove the extension, and $U if already installed.
25506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24587 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25507 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 24588 ac_i=`echo "$ac_i" | sed "$ac_script"`
25508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 24589 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25509 # will be set to the directory where LIBOBJS objects are built. 24590 # will be set to the directory where LIBOBJS objects are built.
25510 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 24591 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25511 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 24592 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25512 done 24593 done
25515 LTLIBOBJS=$ac_ltlibobjs 24596 LTLIBOBJS=$ac_ltlibobjs
25516 24597
25517 24598
25518 24599
25519 : ${CONFIG_STATUS=./config.status} 24600 : ${CONFIG_STATUS=./config.status}
25520 ac_write_fail=0
25521 ac_clean_files_save=$ac_clean_files 24601 ac_clean_files_save=$ac_clean_files
25522 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 24602 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25523 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 24603 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25524 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 24604 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25525 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24605 cat >$CONFIG_STATUS <<_ACEOF
25526 #! $SHELL 24606 #! $SHELL
25527 # Generated by $as_me. 24607 # Generated by $as_me.
25528 # Run this file to recreate the current configuration. 24608 # Run this file to recreate the current configuration.
25529 # Compiler output produced by configure, useful for debugging 24609 # Compiler output produced by configure, useful for debugging
25530 # configure, is in config.log if it exists. 24610 # configure, is in config.log if it exists.
25533 ac_cs_recheck=false 24613 ac_cs_recheck=false
25534 ac_cs_silent=false 24614 ac_cs_silent=false
25535 SHELL=\${CONFIG_SHELL-$SHELL} 24615 SHELL=\${CONFIG_SHELL-$SHELL}
25536 _ACEOF 24616 _ACEOF
25537 24617
25538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24618 cat >>$CONFIG_STATUS <<\_ACEOF
25539 ## --------------------- ## 24619 ## --------------------- ##
25540 ## M4sh Initialization. ## 24620 ## M4sh Initialization. ##
25541 ## --------------------- ## 24621 ## --------------------- ##
25542 24622
25543 # Be more Bourne compatible 24623 # Be more Bourne compatible
25544 DUALCASE=1; export DUALCASE # for MKS sh 24624 DUALCASE=1; export DUALCASE # for MKS sh
25545 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25546 emulate sh 24626 emulate sh
25547 NULLCMD=: 24627 NULLCMD=:
25548 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24628 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25549 # is contrary to our usage. Disable this feature. 24629 # is contrary to our usage. Disable this feature.
25550 alias -g '${1+"$@"}'='"$@"' 24630 alias -g '${1+"$@"}'='"$@"'
25551 setopt NO_GLOB_SUBST 24631 setopt NO_GLOB_SUBST
25552 else 24632 else
25553 case `(set -o) 2>/dev/null` in 24633 case `(set -o) 2>/dev/null` in
25565 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 24645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25566 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 24646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25567 as_cr_digits='0123456789' 24647 as_cr_digits='0123456789'
25568 as_cr_alnum=$as_cr_Letters$as_cr_digits 24648 as_cr_alnum=$as_cr_Letters$as_cr_digits
25569 24649
25570 as_nl='
25571 '
25572 export as_nl
25573 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25574 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25575 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25576 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25577 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25578 as_echo='printf %s\n'
25579 as_echo_n='printf %s'
25580 else
25581 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25582 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25583 as_echo_n='/usr/ucb/echo -n'
25584 else
25585 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25586 as_echo_n_body='eval
25587 arg=$1;
25588 case $arg in
25589 *"$as_nl"*)
25590 expr "X$arg" : "X\\(.*\\)$as_nl";
25591 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25592 esac;
25593 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25594 '
25595 export as_echo_n_body
25596 as_echo_n='sh -c $as_echo_n_body as_echo'
25597 fi
25598 export as_echo_body
25599 as_echo='sh -c $as_echo_body as_echo'
25600 fi
25601
25602 # The user is always right. 24650 # The user is always right.
25603 if test "${PATH_SEPARATOR+set}" != set; then 24651 if test "${PATH_SEPARATOR+set}" != set; then
25604 PATH_SEPARATOR=: 24652 echo "#! /bin/sh" >conf$$.sh
25605 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 24653 echo "exit 0" >>conf$$.sh
25606 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 24654 chmod +x conf$$.sh
25607 PATH_SEPARATOR=';' 24655 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25608 } 24656 PATH_SEPARATOR=';'
24657 else
24658 PATH_SEPARATOR=:
24659 fi
24660 rm -f conf$$.sh
25609 fi 24661 fi
25610 24662
25611 # Support unset when possible. 24663 # Support unset when possible.
25612 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 24664 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25613 as_unset=unset 24665 as_unset=unset
25619 # IFS 24671 # IFS
25620 # We need space, tab and new line, in precisely that order. Quoting is 24672 # We need space, tab and new line, in precisely that order. Quoting is
25621 # there to prevent editors from complaining about space-tab. 24673 # there to prevent editors from complaining about space-tab.
25622 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 24674 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25623 # splitting by setting IFS to empty value.) 24675 # splitting by setting IFS to empty value.)
24676 as_nl='
24677 '
25624 IFS=" "" $as_nl" 24678 IFS=" "" $as_nl"
25625 24679
25626 # Find who we are. Look in the path if we contain no directory separator. 24680 # Find who we are. Look in the path if we contain no directory separator.
25627 case $0 in 24681 case $0 in
25628 *[\\/]* ) as_myself=$0 ;; 24682 *[\\/]* ) as_myself=$0 ;;
25641 # in which case we are not to be found in the path. 24695 # in which case we are not to be found in the path.
25642 if test "x$as_myself" = x; then 24696 if test "x$as_myself" = x; then
25643 as_myself=$0 24697 as_myself=$0
25644 fi 24698 fi
25645 if test ! -f "$as_myself"; then 24699 if test ! -f "$as_myself"; then
25646 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 24700 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25647 { (exit 1); exit 1; } 24701 { (exit 1); exit 1; }
25648 fi 24702 fi
25649 24703
25650 # Work around bugs in pre-3.0 UWIN ksh. 24704 # Work around bugs in pre-3.0 UWIN ksh.
25651 for as_var in ENV MAIL MAILPATH 24705 for as_var in ENV MAIL MAILPATH
25654 PS1='$ ' 24708 PS1='$ '
25655 PS2='> ' 24709 PS2='> '
25656 PS4='+ ' 24710 PS4='+ '
25657 24711
25658 # NLS nuisances. 24712 # NLS nuisances.
25659 LC_ALL=C 24713 for as_var in \
25660 export LC_ALL 24714 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25661 LANGUAGE=C 24715 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25662 export LANGUAGE 24716 LC_TELEPHONE LC_TIME
24717 do
24718 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24719 eval $as_var=C; export $as_var
24720 else
24721 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24722 fi
24723 done
25663 24724
25664 # Required to use basename. 24725 # Required to use basename.
25665 if expr a : '\(a\)' >/dev/null 2>&1 && 24726 if expr a : '\(a\)' >/dev/null 2>&1 &&
25666 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24727 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25667 as_expr=expr 24728 as_expr=expr
25679 # Name of the executable. 24740 # Name of the executable.
25680 as_me=`$as_basename -- "$0" || 24741 as_me=`$as_basename -- "$0" ||
25681 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 24742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25682 X"$0" : 'X\(//\)$' \| \ 24743 X"$0" : 'X\(//\)$' \| \
25683 X"$0" : 'X\(/\)' \| . 2>/dev/null || 24744 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25684 $as_echo X/"$0" | 24745 echo X/"$0" |
25685 sed '/^.*\/\([^/][^/]*\)\/*$/{ 24746 sed '/^.*\/\([^/][^/]*\)\/*$/{
25686 s//\1/ 24747 s//\1/
25687 q 24748 q
25688 } 24749 }
25689 /^X\/\(\/\/\)$/{ 24750 /^X\/\(\/\/\)$/{
25730 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 24791 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25731 t loop 24792 t loop
25732 s/-\n.*// 24793 s/-\n.*//
25733 ' >$as_me.lineno && 24794 ' >$as_me.lineno &&
25734 chmod +x "$as_me.lineno" || 24795 chmod +x "$as_me.lineno" ||
25735 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 24796 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25736 { (exit 1); exit 1; }; } 24797 { (exit 1); exit 1; }; }
25737 24798
25738 # Don't try to exec as it changes $[0], causing all sort of problems 24799 # Don't try to exec as it changes $[0], causing all sort of problems
25739 # (the dirname of $[0] is not the place where we might find the 24800 # (the dirname of $[0] is not the place where we might find the
25740 # original and so on. Autoconf is especially sensitive to this). 24801 # original and so on. Autoconf is especially sensitive to this).
25758 *) ECHO_C='\c';; 24819 *) ECHO_C='\c';;
25759 esac;; 24820 esac;;
25760 *) 24821 *)
25761 ECHO_N='-n';; 24822 ECHO_N='-n';;
25762 esac 24823 esac
24824
25763 if expr a : '\(a\)' >/dev/null 2>&1 && 24825 if expr a : '\(a\)' >/dev/null 2>&1 &&
25764 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24826 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25765 as_expr=expr 24827 as_expr=expr
25766 else 24828 else
25767 as_expr=false 24829 as_expr=false
25770 rm -f conf$$ conf$$.exe conf$$.file 24832 rm -f conf$$ conf$$.exe conf$$.file
25771 if test -d conf$$.dir; then 24833 if test -d conf$$.dir; then
25772 rm -f conf$$.dir/conf$$.file 24834 rm -f conf$$.dir/conf$$.file
25773 else 24835 else
25774 rm -f conf$$.dir 24836 rm -f conf$$.dir
25775 mkdir conf$$.dir 2>/dev/null 24837 mkdir conf$$.dir
25776 fi 24838 fi
25777 if (echo >conf$$.file) 2>/dev/null; then 24839 echo >conf$$.file
25778 if ln -s conf$$.file conf$$ 2>/dev/null; then 24840 if ln -s conf$$.file conf$$ 2>/dev/null; then
25779 as_ln_s='ln -s' 24841 as_ln_s='ln -s'
25780 # ... but there are two gotchas: 24842 # ... but there are two gotchas:
25781 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 24843 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25782 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 24844 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25783 # In both cases, we have to default to `cp -p'. 24845 # In both cases, we have to default to `cp -p'.
25784 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 24846 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25785 as_ln_s='cp -p'
25786 elif ln conf$$.file conf$$ 2>/dev/null; then
25787 as_ln_s=ln
25788 else
25789 as_ln_s='cp -p' 24847 as_ln_s='cp -p'
25790 fi 24848 elif ln conf$$.file conf$$ 2>/dev/null; then
24849 as_ln_s=ln
25791 else 24850 else
25792 as_ln_s='cp -p' 24851 as_ln_s='cp -p'
25793 fi 24852 fi
25794 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 24853 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25795 rmdir conf$$.dir 2>/dev/null 24854 rmdir conf$$.dir 2>/dev/null
25810 as_ls_L_option= 24869 as_ls_L_option=
25811 fi 24870 fi
25812 as_test_x=' 24871 as_test_x='
25813 eval sh -c '\'' 24872 eval sh -c '\''
25814 if test -d "$1"; then 24873 if test -d "$1"; then
25815 test -d "$1/."; 24874 test -d "$1/.";
25816 else 24875 else
25817 case $1 in 24876 case $1 in
25818 -*)set "./$1";; 24877 -*)set "./$1";;
25819 esac; 24878 esac;
25820 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 24879 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25821 ???[sx]*):;;*)false;;esac;fi 24880 ???[sx]*):;;*)false;;esac;fi
25822 '\'' sh 24881 '\'' sh
25823 ' 24882 '
25836 # Save the log message, to keep $[0] and so on meaningful, and to 24895 # Save the log message, to keep $[0] and so on meaningful, and to
25837 # report actual input values of CONFIG_FILES etc. instead of their 24896 # report actual input values of CONFIG_FILES etc. instead of their
25838 # values after options handling. 24897 # values after options handling.
25839 ac_log=" 24898 ac_log="
25840 This file was extended by emacs $as_me 23.0.92, which was 24899 This file was extended by emacs $as_me 23.0.92, which was
25841 generated by GNU Autoconf 2.62. Invocation command line was 24900 generated by GNU Autoconf 2.61. Invocation command line was
25842 24901
25843 CONFIG_FILES = $CONFIG_FILES 24902 CONFIG_FILES = $CONFIG_FILES
25844 CONFIG_HEADERS = $CONFIG_HEADERS 24903 CONFIG_HEADERS = $CONFIG_HEADERS
25845 CONFIG_LINKS = $CONFIG_LINKS 24904 CONFIG_LINKS = $CONFIG_LINKS
25846 CONFIG_COMMANDS = $CONFIG_COMMANDS 24905 CONFIG_COMMANDS = $CONFIG_COMMANDS
25849 on `(hostname || uname -n) 2>/dev/null | sed 1q` 24908 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25850 " 24909 "
25851 24910
25852 _ACEOF 24911 _ACEOF
25853 24912
25854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24913 cat >>$CONFIG_STATUS <<_ACEOF
25855 # Files that config.status was made for. 24914 # Files that config.status was made for.
25856 config_files="$ac_config_files" 24915 config_files="$ac_config_files"
25857 config_headers="$ac_config_headers" 24916 config_headers="$ac_config_headers"
25858 config_commands="$ac_config_commands" 24917 config_commands="$ac_config_commands"
25859 24918
25860 _ACEOF 24919 _ACEOF
25861 24920
25862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24921 cat >>$CONFIG_STATUS <<\_ACEOF
25863 ac_cs_usage="\ 24922 ac_cs_usage="\
25864 \`$as_me' instantiates files from templates according to the 24923 \`$as_me' instantiates files from templates according to the
25865 current configuration. 24924 current configuration.
25866 24925
25867 Usage: $0 [OPTIONS] [FILE]... 24926 Usage: $0 [OPTIONS] [FILE]...
25870 -V, --version print version number and configuration settings, then exit 24929 -V, --version print version number and configuration settings, then exit
25871 -q, --quiet do not print progress messages 24930 -q, --quiet do not print progress messages
25872 -d, --debug don't remove temporary files 24931 -d, --debug don't remove temporary files
25873 --recheck update $as_me by reconfiguring in the same conditions 24932 --recheck update $as_me by reconfiguring in the same conditions
25874 --file=FILE[:TEMPLATE] 24933 --file=FILE[:TEMPLATE]
25875 instantiate the configuration file FILE 24934 instantiate the configuration file FILE
25876 --header=FILE[:TEMPLATE] 24935 --header=FILE[:TEMPLATE]
25877 instantiate the configuration header FILE 24936 instantiate the configuration header FILE
25878 24937
25879 Configuration files: 24938 Configuration files:
25880 $config_files 24939 $config_files
25881 24940
25882 Configuration headers: 24941 Configuration headers:
25886 $config_commands 24945 $config_commands
25887 24946
25888 Report bugs to <bug-autoconf@gnu.org>." 24947 Report bugs to <bug-autoconf@gnu.org>."
25889 24948
25890 _ACEOF 24949 _ACEOF
25891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24950 cat >>$CONFIG_STATUS <<_ACEOF
25892 ac_cs_version="\\ 24951 ac_cs_version="\\
25893 emacs config.status 23.0.92 24952 emacs config.status 23.0.92
25894 configured by $0, generated by GNU Autoconf 2.62, 24953 configured by $0, generated by GNU Autoconf 2.61,
25895 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 24954 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25896 24955
25897 Copyright (C) 2008 Free Software Foundation, Inc. 24956 Copyright (C) 2006 Free Software Foundation, Inc.
25898 This config.status script is free software; the Free Software Foundation 24957 This config.status script is free software; the Free Software Foundation
25899 gives unlimited permission to copy, distribute and modify it." 24958 gives unlimited permission to copy, distribute and modify it."
25900 24959
25901 ac_pwd='$ac_pwd' 24960 ac_pwd='$ac_pwd'
25902 srcdir='$srcdir' 24961 srcdir='$srcdir'
25903 INSTALL='$INSTALL' 24962 INSTALL='$INSTALL'
25904 test -n "\$AWK" || AWK=awk 24963 _ACEOF
25905 _ACEOF 24964
25906 24965 cat >>$CONFIG_STATUS <<\_ACEOF
25907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24966 # If no file are specified by the user, then we need to provide default
25908 # The default lists apply if the user does not specify any file. 24967 # value. By we need to know if files were specified by the user.
25909 ac_need_defaults=: 24968 ac_need_defaults=:
25910 while test $# != 0 24969 while test $# != 0
25911 do 24970 do
25912 case $1 in 24971 case $1 in
25913 --*=*) 24972 --*=*)
25925 case $ac_option in 24984 case $ac_option in
25926 # Handling of the options. 24985 # Handling of the options.
25927 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 24986 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25928 ac_cs_recheck=: ;; 24987 ac_cs_recheck=: ;;
25929 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 24988 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25930 $as_echo "$ac_cs_version"; exit ;; 24989 echo "$ac_cs_version"; exit ;;
25931 --debug | --debu | --deb | --de | --d | -d ) 24990 --debug | --debu | --deb | --de | --d | -d )
25932 debug=: ;; 24991 debug=: ;;
25933 --file | --fil | --fi | --f ) 24992 --file | --fil | --fi | --f )
25934 $ac_shift 24993 $ac_shift
25935 case $ac_optarg in 24994 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25936 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25937 esac
25938 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25939 ac_need_defaults=false;; 24995 ac_need_defaults=false;;
25940 --header | --heade | --head | --hea ) 24996 --header | --heade | --head | --hea )
25941 $ac_shift 24997 $ac_shift
25942 case $ac_optarg in 24998 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25943 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25944 esac
25945 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25946 ac_need_defaults=false;; 24999 ac_need_defaults=false;;
25947 --he | --h) 25000 --he | --h)
25948 # Conflict between --help and --header 25001 # Conflict between --help and --header
25949 { $as_echo "$as_me: error: ambiguous option: $1 25002 { echo "$as_me: error: ambiguous option: $1
25950 Try \`$0 --help' for more information." >&2 25003 Try \`$0 --help' for more information." >&2
25951 { (exit 1); exit 1; }; };; 25004 { (exit 1); exit 1; }; };;
25952 --help | --hel | -h ) 25005 --help | --hel | -h )
25953 $as_echo "$ac_cs_usage"; exit ;; 25006 echo "$ac_cs_usage"; exit ;;
25954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 25007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25955 | -silent | --silent | --silen | --sile | --sil | --si | --s) 25008 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25956 ac_cs_silent=: ;; 25009 ac_cs_silent=: ;;
25957 25010
25958 # This is an error. 25011 # This is an error.
25959 -*) { $as_echo "$as_me: error: unrecognized option: $1 25012 -*) { echo "$as_me: error: unrecognized option: $1
25960 Try \`$0 --help' for more information." >&2 25013 Try \`$0 --help' for more information." >&2
25961 { (exit 1); exit 1; }; } ;; 25014 { (exit 1); exit 1; }; } ;;
25962 25015
25963 *) ac_config_targets="$ac_config_targets $1" 25016 *) ac_config_targets="$ac_config_targets $1"
25964 ac_need_defaults=false ;; 25017 ac_need_defaults=false ;;
25973 exec 6>/dev/null 25026 exec 6>/dev/null
25974 ac_configure_extra_args="$ac_configure_extra_args --silent" 25027 ac_configure_extra_args="$ac_configure_extra_args --silent"
25975 fi 25028 fi
25976 25029
25977 _ACEOF 25030 _ACEOF
25978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25031 cat >>$CONFIG_STATUS <<_ACEOF
25979 if \$ac_cs_recheck; then 25032 if \$ac_cs_recheck; then
25980 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25033 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25981 shift 25034 CONFIG_SHELL=$SHELL
25982 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25983 CONFIG_SHELL='$SHELL'
25984 export CONFIG_SHELL 25035 export CONFIG_SHELL
25985 exec "\$@" 25036 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25986 fi 25037 fi
25987 25038
25988 _ACEOF 25039 _ACEOF
25989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25040 cat >>$CONFIG_STATUS <<\_ACEOF
25990 exec 5>>config.log 25041 exec 5>>config.log
25991 { 25042 {
25992 echo 25043 echo
25993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25044 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25994 ## Running $as_me. ## 25045 ## Running $as_me. ##
25995 _ASBOX 25046 _ASBOX
25996 $as_echo "$ac_log" 25047 echo "$ac_log"
25997 } >&5 25048 } >&5
25998 25049
25999 _ACEOF 25050 _ACEOF
26000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25051 cat >>$CONFIG_STATUS <<_ACEOF
26001 # 25052 #
26002 # INIT-COMMANDS 25053 # INIT-COMMANDS
26003 # 25054 #
26004 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs" 25055 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs"
26005 25056
26006 _ACEOF 25057 _ACEOF
26007 25058
26008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25059 cat >>$CONFIG_STATUS <<\_ACEOF
26009 25060
26010 # Handling of arguments. 25061 # Handling of arguments.
26011 for ac_config_target in $ac_config_targets 25062 for ac_config_target in $ac_config_targets
26012 do 25063 do
26013 case $ac_config_target in 25064 case $ac_config_target in
26023 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 25074 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
26024 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 25075 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
26025 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 25076 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
26026 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 25077 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
26027 25078
26028 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 25079 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26029 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 25080 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26030 { (exit 1); exit 1; }; };; 25081 { (exit 1); exit 1; }; };;
26031 esac 25082 esac
26032 done 25083 done
26033 25084
26034 25085
26065 { 25116 {
26066 tmp=./conf$$-$RANDOM 25117 tmp=./conf$$-$RANDOM
26067 (umask 077 && mkdir "$tmp") 25118 (umask 077 && mkdir "$tmp")
26068 } || 25119 } ||
26069 { 25120 {
26070 $as_echo "$as_me: cannot create a temporary directory in ." >&2 25121 echo "$me: cannot create a temporary directory in ." >&2
26071 { (exit 1); exit 1; } 25122 { (exit 1); exit 1; }
26072 } 25123 }
26073 25124
26074 # Set up the scripts for CONFIG_FILES section. 25125 #
26075 # No need to generate them if there are no CONFIG_FILES. 25126 # Set up the sed scripts for CONFIG_FILES section.
26076 # This happens for instance with `./config.status config.h'. 25127 #
25128
25129 # No need to generate the scripts if there are no CONFIG_FILES.
25130 # This happens for instance when ./config.status config.h
26077 if test -n "$CONFIG_FILES"; then 25131 if test -n "$CONFIG_FILES"; then
26078 25132
26079 25133 _ACEOF
26080 ac_cr=' 25134
26081 ' 25135
26082 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 25136
26083 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26084 ac_cs_awk_cr='\\r'
26085 else
26086 ac_cs_awk_cr=$ac_cr
26087 fi
26088
26089 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26090 _ACEOF
26091
26092
26093 {
26094 echo "cat >conf$$subs.awk <<_ACEOF" &&
26095 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26096 echo "_ACEOF"
26097 } >conf$$subs.sh ||
26098 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26099 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26100 { (exit 1); exit 1; }; }
26101 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26102 ac_delim='%!_!# ' 25137 ac_delim='%!_!# '
26103 for ac_last_try in false false false false false :; do 25138 for ac_last_try in false false false false false :; do
26104 . ./conf$$subs.sh || 25139 cat >conf$$subs.sed <<_ACEOF
26105 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25140 SHELL!$SHELL$ac_delim
26106 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25141 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26107 { (exit 1); exit 1; }; } 25142 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26108 25143 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26109 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 25144 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25145 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25146 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25147 exec_prefix!$exec_prefix$ac_delim
25148 prefix!$prefix$ac_delim
25149 program_transform_name!$program_transform_name$ac_delim
25150 bindir!$bindir$ac_delim
25151 sbindir!$sbindir$ac_delim
25152 libexecdir!$libexecdir$ac_delim
25153 datarootdir!$datarootdir$ac_delim
25154 datadir!$datadir$ac_delim
25155 sysconfdir!$sysconfdir$ac_delim
25156 sharedstatedir!$sharedstatedir$ac_delim
25157 localstatedir!$localstatedir$ac_delim
25158 includedir!$includedir$ac_delim
25159 oldincludedir!$oldincludedir$ac_delim
25160 docdir!$docdir$ac_delim
25161 infodir!$infodir$ac_delim
25162 htmldir!$htmldir$ac_delim
25163 dvidir!$dvidir$ac_delim
25164 pdfdir!$pdfdir$ac_delim
25165 psdir!$psdir$ac_delim
25166 libdir!$libdir$ac_delim
25167 localedir!$localedir$ac_delim
25168 mandir!$mandir$ac_delim
25169 DEFS!$DEFS$ac_delim
25170 ECHO_C!$ECHO_C$ac_delim
25171 ECHO_N!$ECHO_N$ac_delim
25172 ECHO_T!$ECHO_T$ac_delim
25173 LIBS!$LIBS$ac_delim
25174 build_alias!$build_alias$ac_delim
25175 host_alias!$host_alias$ac_delim
25176 target_alias!$target_alias$ac_delim
25177 MAINT!$MAINT$ac_delim
25178 build!$build$ac_delim
25179 build_cpu!$build_cpu$ac_delim
25180 build_vendor!$build_vendor$ac_delim
25181 build_os!$build_os$ac_delim
25182 host!$host$ac_delim
25183 host_cpu!$host_cpu$ac_delim
25184 host_vendor!$host_vendor$ac_delim
25185 host_os!$host_os$ac_delim
25186 CC!$CC$ac_delim
25187 CFLAGS!$CFLAGS$ac_delim
25188 LDFLAGS!$LDFLAGS$ac_delim
25189 CPPFLAGS!$CPPFLAGS$ac_delim
25190 ac_ct_CC!$ac_ct_CC$ac_delim
25191 EXEEXT!$EXEEXT$ac_delim
25192 OBJEXT!$OBJEXT$ac_delim
25193 CPP!$CPP$ac_delim
25194 GREP!$GREP$ac_delim
25195 EGREP!$EGREP$ac_delim
25196 LN_S!$LN_S$ac_delim
25197 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25198 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25199 INSTALL_DATA!$INSTALL_DATA$ac_delim
25200 RANLIB!$RANLIB$ac_delim
25201 INSTALL_INFO!$INSTALL_INFO$ac_delim
25202 GZIP_PROG!$GZIP_PROG$ac_delim
25203 MAKEINFO!$MAKEINFO$ac_delim
25204 LIBSOUND!$LIBSOUND$ac_delim
25205 PKG_CONFIG!$PKG_CONFIG$ac_delim
25206 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
25207 ALSA_LIBS!$ALSA_LIBS$ac_delim
25208 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
25209 SET_MAKE!$SET_MAKE$ac_delim
25210 XMKMF!$XMKMF$ac_delim
25211 HAVE_XSERVER!$HAVE_XSERVER$ac_delim
25212 RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim
25213 RSVG_LIBS!$RSVG_LIBS$ac_delim
25214 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
25215 GTK_LIBS!$GTK_LIBS$ac_delim
25216 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
25217 DBUS_LIBS!$DBUS_LIBS$ac_delim
25218 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
25219 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
25220 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
25221 XFT_LIBS!$XFT_LIBS$ac_delim
25222 LIBOTF_CFLAGS!$LIBOTF_CFLAGS$ac_delim
25223 LIBOTF_LIBS!$LIBOTF_LIBS$ac_delim
25224 M17N_FLT_CFLAGS!$M17N_FLT_CFLAGS$ac_delim
25225 M17N_FLT_LIBS!$M17N_FLT_LIBS$ac_delim
25226 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
25227 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
25228 ALLOCA!$ALLOCA$ac_delim
25229 liblockfile!$liblockfile$ac_delim
25230 LIBOBJS!$LIBOBJS$ac_delim
25231 NEED_SETGID!$NEED_SETGID$ac_delim
25232 KMEM_GROUP!$KMEM_GROUP$ac_delim
25233 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim
25234 GETOPT_H!$GETOPT_H$ac_delim
25235 GETOPTOBJS!$GETOPTOBJS$ac_delim
25236 version!$version$ac_delim
25237 _ACEOF
25238
25239 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26110 break 25240 break
26111 elif $ac_last_try; then 25241 elif $ac_last_try; then
26112 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25242 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26113 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25243 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26114 { (exit 1); exit 1; }; } 25244 { (exit 1); exit 1; }; }
26115 else 25245 else
26116 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25246 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26117 fi 25247 fi
26118 done 25248 done
26119 rm -f conf$$subs.sh 25249
26120 25250 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25251 if test -n "$ac_eof"; then
26122 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 25252 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26123 _ACEOF 25253 ac_eof=`expr $ac_eof + 1`
26124 sed -n ' 25254 fi
26125 h 25255
26126 s/^/S["/; s/!.*/"]=/ 25256 cat >>$CONFIG_STATUS <<_ACEOF
26127 p 25257 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26128 g 25258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26129 s/^[^!]*!// 25259 _ACEOF
26130 :repl 25260 sed '
26131 t repl 25261 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26132 s/'"$ac_delim"'$// 25262 s/^/s,@/; s/!/@,|#_!!_#|/
26133 t delim 25263 :n
26134 :nl 25264 t n
26135 h 25265 s/'"$ac_delim"'$/,g/; t
26136 s/\(.\{148\}\).*/\1/ 25266 s/$/\\/; p
26137 t more1 25267 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26138 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 25268 ' >>$CONFIG_STATUS <conf$$subs.sed
26139 p 25269 rm -f conf$$subs.sed
26140 n 25270 cat >>$CONFIG_STATUS <<_ACEOF
26141 b repl 25271 CEOF$ac_eof
26142 :more1 25272 _ACEOF
26143 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25273
26144 p 25274
26145 g 25275 ac_delim='%!_!# '
26146 s/.\{148\}// 25276 for ac_last_try in false false false false false :; do
26147 t nl 25277 cat >conf$$subs.sed <<_ACEOF
26148 :delim 25278 configuration!$configuration$ac_delim
26149 h 25279 canonical!$canonical$ac_delim
26150 s/\(.\{148\}\).*/\1/ 25280 srcdir!$srcdir$ac_delim
26151 t more2 25281 lispdir!$lispdir$ac_delim
26152 s/["\\]/\\&/g; s/^/"/; s/$/"/ 25282 locallisppath!$locallisppath$ac_delim
26153 p 25283 lisppath!$lisppath$ac_delim
26154 b 25284 x_default_search_path!$x_default_search_path$ac_delim
26155 :more2 25285 etcdir!$etcdir$ac_delim
26156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25286 archlibdir!$archlibdir$ac_delim
26157 p 25287 bitmapdir!$bitmapdir$ac_delim
26158 g 25288 gamedir!$gamedir$ac_delim
26159 s/.\{148\}// 25289 gameuser!$gameuser$ac_delim
26160 t delim 25290 c_switch_system!$c_switch_system$ac_delim
26161 ' <conf$$subs.awk | sed ' 25291 c_switch_machine!$c_switch_machine$ac_delim
26162 /^[^""]/{ 25292 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim
26163 N 25293 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim
26164 s/\n// 25294 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim
26165 } 25295 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim
26166 ' >>$CONFIG_STATUS || ac_write_fail=1 25296 machfile!$machfile$ac_delim
26167 rm -f conf$$subs.awk 25297 opsysfile!$opsysfile$ac_delim
26168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25298 ns_appdir!$ns_appdir$ac_delim
26169 _ACAWK 25299 ns_appbindir!$ns_appbindir$ac_delim
26170 cat >>"\$tmp/subs1.awk" <<_ACAWK && 25300 ns_appresdir!$ns_appresdir$ac_delim
26171 for (key in S) S_is_set[key] = 1 25301 ns_appsrc!$ns_appsrc$ac_delim
26172 FS = "" 25302 GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim
26173 25303 GNUSTEP_SYSTEM_HEADERS!$GNUSTEP_SYSTEM_HEADERS$ac_delim
26174 } 25304 GNUSTEP_SYSTEM_LIBRARIES!$GNUSTEP_SYSTEM_LIBRARIES$ac_delim
26175 { 25305 GNU_OBJC_CFLAGS!$GNU_OBJC_CFLAGS$ac_delim
26176 line = $ 0 25306 LIB_SRC_EXTRA_INSTALLABLES!$LIB_SRC_EXTRA_INSTALLABLES$ac_delim
26177 nfields = split(line, field, "@") 25307 LTLIBOBJS!$LTLIBOBJS$ac_delim
26178 substed = 0 25308 _ACEOF
26179 len = length(field[1]) 25309
26180 for (i = 2; i < nfields; i++) { 25310 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
26181 key = field[i] 25311 break
26182 keylen = length(key) 25312 elif $ac_last_try; then
26183 if (S_is_set[key]) { 25313 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26184 value = S[key] 25314 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26185 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26186 len += length(value) + length(field[++i])
26187 substed = 1
26188 } else
26189 len += 1 + keylen
26190 }
26191
26192 print line
26193 }
26194
26195 _ACAWK
26196 _ACEOF
26197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26198 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26199 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26200 else
26201 cat
26202 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26203 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26204 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
26205 { (exit 1); exit 1; }; } 25315 { (exit 1); exit 1; }; }
26206 _ACEOF 25316 else
25317 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25318 fi
25319 done
25320
25321 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25322 if test -n "$ac_eof"; then
25323 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25324 ac_eof=`expr $ac_eof + 1`
25325 fi
25326
25327 cat >>$CONFIG_STATUS <<_ACEOF
25328 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25329 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25330 _ACEOF
25331 sed '
25332 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25333 s/^/s,@/; s/!/@,|#_!!_#|/
25334 :n
25335 t n
25336 s/'"$ac_delim"'$/,g/; t
25337 s/$/\\/; p
25338 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25339 ' >>$CONFIG_STATUS <conf$$subs.sed
25340 rm -f conf$$subs.sed
25341 cat >>$CONFIG_STATUS <<_ACEOF
25342 :end
25343 s/|#_!!_#|//g
25344 CEOF$ac_eof
25345 _ACEOF
25346
26207 25347
26208 # VPATH may cause trouble with some makes, so we remove $(srcdir), 25348 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26209 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 25349 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26210 # trailing colons and then remove the whole line if VPATH becomes empty 25350 # trailing colons and then remove the whole line if VPATH becomes empty
26211 # (actually we leave an empty line to preserve line numbers). 25351 # (actually we leave an empty line to preserve line numbers).
26218 s/:*$// 25358 s/:*$//
26219 s/^[^=]*=[ ]*$// 25359 s/^[^=]*=[ ]*$//
26220 }' 25360 }'
26221 fi 25361 fi
26222 25362
26223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25363 cat >>$CONFIG_STATUS <<\_ACEOF
26224 fi # test -n "$CONFIG_FILES" 25364 fi # test -n "$CONFIG_FILES"
26225 25365
26226 # Set up the scripts for CONFIG_HEADERS section. 25366
26227 # No need to generate them if there are no CONFIG_HEADERS. 25367 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
26228 # This happens for instance with `./config.status Makefile'.
26229 if test -n "$CONFIG_HEADERS"; then
26230 cat >"$tmp/defines.awk" <<\_ACAWK ||
26231 BEGIN {
26232 _ACEOF
26233
26234 # Transform confdefs.h into an awk script `defines.awk', embedded as
26235 # here-document in config.status, that substitutes the proper values into
26236 # config.h.in to produce config.h.
26237
26238 # Create a delimiter string that does not exist in confdefs.h, to ease
26239 # handling of long lines.
26240 ac_delim='%!_!# '
26241 for ac_last_try in false false :; do
26242 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26243 if test -z "$ac_t"; then
26244 break
26245 elif $ac_last_try; then
26246 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26247 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26248 { (exit 1); exit 1; }; }
26249 else
26250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26251 fi
26252 done
26253
26254 # For the awk script, D is an array of macro values keyed by name,
26255 # likewise P contains macro parameters if any. Preserve backslash
26256 # newline sequences.
26257
26258 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26259 sed -n '
26260 s/.\{148\}/&'"$ac_delim"'/g
26261 t rset
26262 :rset
26263 s/^[ ]*#[ ]*define[ ][ ]*/ /
26264 t def
26265 d
26266 :def
26267 s/\\$//
26268 t bsnl
26269 s/["\\]/\\&/g
26270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26271 D["\1"]=" \3"/p
26272 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26273 d
26274 :bsnl
26275 s/["\\]/\\&/g
26276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26277 D["\1"]=" \3\\\\\\n"\\/p
26278 t cont
26279 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26280 t cont
26281 d
26282 :cont
26283 n
26284 s/.\{148\}/&'"$ac_delim"'/g
26285 t clear
26286 :clear
26287 s/\\$//
26288 t bsnlc
26289 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26290 d
26291 :bsnlc
26292 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26293 b cont
26294 ' <confdefs.h | sed '
26295 s/'"$ac_delim"'/"\\\
26296 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26297
26298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26299 for (key in D) D_is_set[key] = 1
26300 FS = ""
26301 }
26302 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26303 line = \$ 0
26304 split(line, arg, " ")
26305 if (arg[1] == "#") {
26306 defundef = arg[2]
26307 mac1 = arg[3]
26308 } else {
26309 defundef = substr(arg[1], 2)
26310 mac1 = arg[2]
26311 }
26312 split(mac1, mac2, "(") #)
26313 macro = mac2[1]
26314 if (D_is_set[macro]) {
26315 # Preserve the white space surrounding the "#".
26316 prefix = substr(line, 1, index(line, defundef) - 1)
26317 print prefix "define", macro P[macro] D[macro]
26318 next
26319 } else {
26320 # Replace #undef with comments. This is necessary, for example,
26321 # in the case of _POSIX_SOURCE, which is predefined and required
26322 # on some systems where configure will not decide to define it.
26323 if (defundef == "undef") {
26324 print "/*", line, "*/"
26325 next
26326 }
26327 }
26328 }
26329 { print }
26330 _ACAWK
26331 _ACEOF
26332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26333 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26334 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26335 { (exit 1); exit 1; }; }
26336 fi # test -n "$CONFIG_HEADERS"
26337
26338
26339 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26340 shift
26341 for ac_tag
26342 do 25368 do
26343 case $ac_tag in 25369 case $ac_tag in
26344 :[FHLC]) ac_mode=$ac_tag; continue;; 25370 :[FHLC]) ac_mode=$ac_tag; continue;;
26345 esac 25371 esac
26346 case $ac_mode$ac_tag in 25372 case $ac_mode$ac_tag in
26347 :[FHL]*:*);; 25373 :[FHL]*:*);;
26348 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 25374 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26349 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 25375 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26350 { (exit 1); exit 1; }; };; 25376 { (exit 1); exit 1; }; };;
26351 :[FH]-) ac_tag=-:-;; 25377 :[FH]-) ac_tag=-:-;;
26352 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 25378 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26353 esac 25379 esac
26354 ac_save_IFS=$IFS 25380 ac_save_IFS=$IFS
26373 test -f "$ac_f" || 25399 test -f "$ac_f" ||
26374 case $ac_f in 25400 case $ac_f in
26375 [\\/$]*) false;; 25401 [\\/$]*) false;;
26376 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 25402 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26377 esac || 25403 esac ||
26378 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 25404 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26379 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 25405 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26380 { (exit 1); exit 1; }; };; 25406 { (exit 1); exit 1; }; };;
26381 esac 25407 esac
26382 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 25408 ac_file_inputs="$ac_file_inputs $ac_f"
26383 ac_file_inputs="$ac_file_inputs '$ac_f'"
26384 done 25409 done
26385 25410
26386 # Let's still pretend it is `configure' which instantiates (i.e., don't 25411 # Let's still pretend it is `configure' which instantiates (i.e., don't
26387 # use $as_me), people would be surprised to read: 25412 # use $as_me), people would be surprised to read:
26388 # /* config.h. Generated by config.status. */ 25413 # /* config.h. Generated by config.status. */
26389 configure_input='Generated from '` 25414 configure_input="Generated from "`IFS=:
26390 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 25415 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26391 `' by configure.'
26392 if test x"$ac_file" != x-; then 25416 if test x"$ac_file" != x-; then
26393 configure_input="$ac_file. $configure_input" 25417 configure_input="$ac_file. $configure_input"
26394 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 25418 { echo "$as_me:$LINENO: creating $ac_file" >&5
26395 $as_echo "$as_me: creating $ac_file" >&6;} 25419 echo "$as_me: creating $ac_file" >&6;}
26396 fi 25420 fi
26397 # Neutralize special characters interpreted by sed in replacement strings.
26398 case $configure_input in #(
26399 *\&* | *\|* | *\\* )
26400 ac_sed_conf_input=`$as_echo "$configure_input" |
26401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26402 *) ac_sed_conf_input=$configure_input;;
26403 esac
26404 25421
26405 case $ac_tag in 25422 case $ac_tag in
26406 *:-:* | *:-) cat >"$tmp/stdin" \ 25423 *:-:* | *:-) cat >"$tmp/stdin";;
26407 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26408 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26409 { (exit 1); exit 1; }; } ;;
26410 esac 25424 esac
26411 ;; 25425 ;;
26412 esac 25426 esac
26413 25427
26414 ac_dir=`$as_dirname -- "$ac_file" || 25428 ac_dir=`$as_dirname -- "$ac_file" ||
26415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26416 X"$ac_file" : 'X\(//\)[^/]' \| \ 25430 X"$ac_file" : 'X\(//\)[^/]' \| \
26417 X"$ac_file" : 'X\(//\)$' \| \ 25431 X"$ac_file" : 'X\(//\)$' \| \
26418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 25432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26419 $as_echo X"$ac_file" | 25433 echo X"$ac_file" |
26420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26421 s//\1/ 25435 s//\1/
26422 q 25436 q
26423 } 25437 }
26424 /^X\(\/\/\)[^/].*/{ 25438 /^X\(\/\/\)[^/].*/{
26440 esac 25454 esac
26441 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 25455 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26442 as_dirs= 25456 as_dirs=
26443 while :; do 25457 while :; do
26444 case $as_dir in #( 25458 case $as_dir in #(
26445 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 25459 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26446 *) as_qdir=$as_dir;; 25460 *) as_qdir=$as_dir;;
26447 esac 25461 esac
26448 as_dirs="'$as_qdir' $as_dirs" 25462 as_dirs="'$as_qdir' $as_dirs"
26449 as_dir=`$as_dirname -- "$as_dir" || 25463 as_dir=`$as_dirname -- "$as_dir" ||
26450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26451 X"$as_dir" : 'X\(//\)[^/]' \| \ 25465 X"$as_dir" : 'X\(//\)[^/]' \| \
26452 X"$as_dir" : 'X\(//\)$' \| \ 25466 X"$as_dir" : 'X\(//\)$' \| \
26453 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 25467 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26454 $as_echo X"$as_dir" | 25468 echo X"$as_dir" |
26455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26456 s//\1/ 25470 s//\1/
26457 q 25471 q
26458 } 25472 }
26459 /^X\(\/\/\)[^/].*/{ 25473 /^X\(\/\/\)[^/].*/{
26470 } 25484 }
26471 s/.*/./; q'` 25485 s/.*/./; q'`
26472 test -d "$as_dir" && break 25486 test -d "$as_dir" && break
26473 done 25487 done
26474 test -z "$as_dirs" || eval "mkdir $as_dirs" 25488 test -z "$as_dirs" || eval "mkdir $as_dirs"
26475 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 25489 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26476 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 25490 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26477 { (exit 1); exit 1; }; }; } 25491 { (exit 1); exit 1; }; }; }
26478 ac_builddir=. 25492 ac_builddir=.
26479 25493
26480 case "$ac_dir" in 25494 case "$ac_dir" in
26481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 25495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26482 *) 25496 *)
26483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 25497 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26484 # A ".." for each directory in $ac_dir_suffix. 25498 # A ".." for each directory in $ac_dir_suffix.
26485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 25499 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26486 case $ac_top_builddir_sub in 25500 case $ac_top_builddir_sub in
26487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 25501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 25502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26489 esac ;; 25503 esac ;;
26490 esac 25504 esac
26520 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 25534 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26521 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 25535 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26522 esac 25536 esac
26523 _ACEOF 25537 _ACEOF
26524 25538
26525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25539 cat >>$CONFIG_STATUS <<\_ACEOF
26526 # If the template does not know about datarootdir, expand it. 25540 # If the template does not know about datarootdir, expand it.
26527 # FIXME: This hack should be removed a few years after 2.60. 25541 # FIXME: This hack should be removed a few years after 2.60.
26528 ac_datarootdir_hack=; ac_datarootdir_seen= 25542 ac_datarootdir_hack=; ac_datarootdir_seen=
26529 25543
26530 ac_sed_dataroot=' 25544 case `sed -n '/datarootdir/ {
26531 /datarootdir/ {
26532 p 25545 p
26533 q 25546 q
26534 } 25547 }
26535 /@datadir@/p 25548 /@datadir@/p
26536 /@docdir@/p 25549 /@docdir@/p
26537 /@infodir@/p 25550 /@infodir@/p
26538 /@localedir@/p 25551 /@localedir@/p
26539 /@mandir@/p 25552 /@mandir@/p
26540 ' 25553 ' $ac_file_inputs` in
26541 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26542 *datarootdir*) ac_datarootdir_seen=yes;; 25554 *datarootdir*) ac_datarootdir_seen=yes;;
26543 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 25555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26544 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 25556 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26545 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 25557 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26546 _ACEOF 25558 _ACEOF
26547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25559 cat >>$CONFIG_STATUS <<_ACEOF
26548 ac_datarootdir_hack=' 25560 ac_datarootdir_hack='
26549 s&@datadir@&$datadir&g 25561 s&@datadir@&$datadir&g
26550 s&@docdir@&$docdir&g 25562 s&@docdir@&$docdir&g
26551 s&@infodir@&$infodir&g 25563 s&@infodir@&$infodir&g
26552 s&@localedir@&$localedir&g 25564 s&@localedir@&$localedir&g
26556 _ACEOF 25568 _ACEOF
26557 25569
26558 # Neutralize VPATH when `$srcdir' = `.'. 25570 # Neutralize VPATH when `$srcdir' = `.'.
26559 # Shell code in configure.ac might set extrasub. 25571 # Shell code in configure.ac might set extrasub.
26560 # FIXME: do we really want to maintain this feature? 25572 # FIXME: do we really want to maintain this feature?
26561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25573 cat >>$CONFIG_STATUS <<_ACEOF
26562 ac_sed_extra="$ac_vpsub 25574 sed "$ac_vpsub
26563 $extrasub 25575 $extrasub
26564 _ACEOF 25576 _ACEOF
26565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25577 cat >>$CONFIG_STATUS <<\_ACEOF
26566 :t 25578 :t
26567 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 25579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26568 s|@configure_input@|$ac_sed_conf_input|;t t 25580 s&@configure_input@&$configure_input&;t t
26569 s&@top_builddir@&$ac_top_builddir_sub&;t t 25581 s&@top_builddir@&$ac_top_builddir_sub&;t t
26570 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26571 s&@srcdir@&$ac_srcdir&;t t 25582 s&@srcdir@&$ac_srcdir&;t t
26572 s&@abs_srcdir@&$ac_abs_srcdir&;t t 25583 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26573 s&@top_srcdir@&$ac_top_srcdir&;t t 25584 s&@top_srcdir@&$ac_top_srcdir&;t t
26574 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 25585 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26575 s&@builddir@&$ac_builddir&;t t 25586 s&@builddir@&$ac_builddir&;t t
26576 s&@abs_builddir@&$ac_abs_builddir&;t t 25587 s&@abs_builddir@&$ac_abs_builddir&;t t
26577 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 25588 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26578 s&@INSTALL@&$ac_INSTALL&;t t 25589 s&@INSTALL@&$ac_INSTALL&;t t
26579 $ac_datarootdir_hack 25590 $ac_datarootdir_hack
26580 " 25591 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
26581 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26582 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26583 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26584 { (exit 1); exit 1; }; }
26585 25592
26586 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 25593 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26587 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 25594 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26588 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 25595 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26589 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25596 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26590 which seems to be undefined. Please make sure it is defined." >&5 25597 which seems to be undefined. Please make sure it is defined." >&5
26591 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25598 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26592 which seems to be undefined. Please make sure it is defined." >&2;} 25599 which seems to be undefined. Please make sure it is defined." >&2;}
26593 25600
26594 rm -f "$tmp/stdin" 25601 rm -f "$tmp/stdin"
26595 case $ac_file in 25602 case $ac_file in
26596 -) cat "$tmp/out" && rm -f "$tmp/out";; 25603 -) cat "$tmp/out"; rm -f "$tmp/out";;
26597 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 25604 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26598 esac \ 25605 esac
26599 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26600 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26601 { (exit 1); exit 1; }; }
26602 ;; 25606 ;;
26603 :H) 25607 :H)
26604 # 25608 #
26605 # CONFIG_HEADER 25609 # CONFIG_HEADER
26606 # 25610 #
25611 _ACEOF
25612
25613 # Transform confdefs.h into a sed script `conftest.defines', that
25614 # substitutes the proper values into config.h.in to produce config.h.
25615 rm -f conftest.defines conftest.tail
25616 # First, append a space to every undef/define line, to ease matching.
25617 echo 's/$/ /' >conftest.defines
25618 # Then, protect against being on the right side of a sed subst, or in
25619 # an unquoted here document, in config.status. If some macros were
25620 # called several times there might be several #defines for the same
25621 # symbol, which is useless. But do not sort them, since the last
25622 # AC_DEFINE must be honored.
25623 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25624 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25625 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25626 # PARAMS is the parameter list in the macro definition--in most cases, it's
25627 # just an empty string.
25628 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25629 ac_dB='\\)[ (].*,\\1define\\2'
25630 ac_dC=' '
25631 ac_dD=' ,'
25632
25633 uniq confdefs.h |
25634 sed -n '
25635 t rset
25636 :rset
25637 s/^[ ]*#[ ]*define[ ][ ]*//
25638 t ok
25639 d
25640 :ok
25641 s/[\\&,]/\\&/g
25642 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25643 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25644 ' >>conftest.defines
25645
25646 # Remove the space that was appended to ease matching.
25647 # Then replace #undef with comments. This is necessary, for
25648 # example, in the case of _POSIX_SOURCE, which is predefined and required
25649 # on some systems where configure will not decide to define it.
25650 # (The regexp can be short, since the line contains either #define or #undef.)
25651 echo 's/ $//
25652 s,^[ #]*u.*,/* & */,' >>conftest.defines
25653
25654 # Break up conftest.defines:
25655 ac_max_sed_lines=50
25656
25657 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25658 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25659 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25660 # et cetera.
25661 ac_in='$ac_file_inputs'
25662 ac_out='"$tmp/out1"'
25663 ac_nxt='"$tmp/out2"'
25664
25665 while :
25666 do
25667 # Write a here document:
25668 cat >>$CONFIG_STATUS <<_ACEOF
25669 # First, check the format of the line:
25670 cat >"\$tmp/defines.sed" <<\\CEOF
25671 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25672 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25673 b
25674 :def
25675 _ACEOF
25676 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25677 echo 'CEOF
25678 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25679 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25680 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25681 grep . conftest.tail >/dev/null || break
25682 rm -f conftest.defines
25683 mv conftest.tail conftest.defines
25684 done
25685 rm -f conftest.defines conftest.tail
25686
25687 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25688 cat >>$CONFIG_STATUS <<\_ACEOF
26607 if test x"$ac_file" != x-; then 25689 if test x"$ac_file" != x-; then
26608 { 25690 echo "/* $configure_input */" >"$tmp/config.h"
26609 $as_echo "/* $configure_input */" \ 25691 cat "$ac_result" >>"$tmp/config.h"
26610 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 25692 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
26611 } >"$tmp/config.h" \ 25693 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26612 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 25694 echo "$as_me: $ac_file is unchanged" >&6;}
26613 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26614 { (exit 1); exit 1; }; }
26615 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26616 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26617 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26618 else 25695 else
26619 rm -f "$ac_file" 25696 rm -f $ac_file
26620 mv "$tmp/config.h" "$ac_file" \ 25697 mv "$tmp/config.h" $ac_file
26621 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26622 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26623 { (exit 1); exit 1; }; }
26624 fi 25698 fi
26625 else 25699 else
26626 $as_echo "/* $configure_input */" \ 25700 echo "/* $configure_input */"
26627 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 25701 cat "$ac_result"
26628 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
26629 $as_echo "$as_me: error: could not create -" >&2;}
26630 { (exit 1); exit 1; }; }
26631 fi 25702 fi
25703 rm -f "$tmp/out12"
26632 ;; 25704 ;;
26633 25705
26634 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 25706 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26635 $as_echo "$as_me: executing $ac_file commands" >&6;} 25707 echo "$as_me: executing $ac_file commands" >&6;}
26636 ;; 25708 ;;
26637 esac 25709 esac
26638 25710
26639 25711
26640 case $ac_file$ac_mode in 25712 case $ac_file$ac_mode in
26704 25776
26705 { (exit 0); exit 0; } 25777 { (exit 0); exit 0; }
26706 _ACEOF 25778 _ACEOF
26707 chmod +x $CONFIG_STATUS 25779 chmod +x $CONFIG_STATUS
26708 ac_clean_files=$ac_clean_files_save 25780 ac_clean_files=$ac_clean_files_save
26709
26710 test $ac_write_fail = 0 ||
26711 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26712 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26713 { (exit 1); exit 1; }; }
26714 25781
26715 25782
26716 # configure is writing to config.log, and then calls config.status. 25783 # configure is writing to config.log, and then calls config.status.
26717 # config.status does its own redirection, appending to config.log. 25784 # config.status does its own redirection, appending to config.log.
26718 # Unfortunately, on DOS this fails, as config.log is still kept open 25785 # Unfortunately, on DOS this fails, as config.log is still kept open
26731 exec 5>>config.log 25798 exec 5>>config.log
26732 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 25799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26733 # would make configure fail if this is the last instruction. 25800 # would make configure fail if this is the last instruction.
26734 $ac_cs_success || { (exit 1); exit 1; } 25801 $ac_cs_success || { (exit 1); exit 1; }
26735 fi 25802 fi
26736 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 25803
26737 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 25804
26738 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
26739 fi
26740
26741