comparison configure @ 102294:46f23f8b6a5e

Regenerate using autoconf-2.61 and Schwab's patch.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 26 Feb 2009 23:09:11 +0000
parents ba3189bbf89b
children 5b3e677bf111
comparison
equal deleted inserted replaced
102293:ba3189bbf89b 102294:46f23f8b6a5e
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.63 for emacs 23.0.91. 3 # Generated by GNU Autoconf 2.61 for emacs 23.0.91.
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 '
636 #endif" 614 #endif"
637 615
638 ac_config_libobj_dir=src 616 ac_config_libobj_dir=src
639 ac_header_list= 617 ac_header_list=
640 ac_func_list= 618 ac_func_list=
641 ac_subst_vars='LTLIBOBJS 619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 MAINT
657 build
658 build_cpu
659 build_vendor
660 build_os
661 host
662 host_cpu
663 host_vendor
664 host_os
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 LN_S
676 INSTALL_PROGRAM
677 INSTALL_SCRIPT
678 INSTALL_DATA
679 RANLIB
680 INSTALL_INFO
681 GZIP_PROG
682 MAKEINFO
683 LIBSOUND
684 PKG_CONFIG
685 ALSA_CFLAGS
686 ALSA_LIBS
687 CFLAGS_SOUND
688 SET_MAKE
689 XMKMF
690 HAVE_XSERVER
691 RSVG_CFLAGS
692 RSVG_LIBS
693 GTK_CFLAGS
694 GTK_LIBS
695 DBUS_CFLAGS
696 DBUS_LIBS
697 FONTCONFIG_CFLAGS
698 FONTCONFIG_LIBS
699 XFT_CFLAGS
700 XFT_LIBS
701 FREETYPE_CFLAGS
702 FREETYPE_LIBS
703 LIBOTF_CFLAGS
704 LIBOTF_LIBS
705 M17N_FLT_CFLAGS
706 M17N_FLT_LIBS
707 ALLOCA
708 liblockfile
709 LIBOBJS
710 NEED_SETGID
711 KMEM_GROUP
712 GETLOADAVG_LIBS
713 GETOPT_H
714 GETOPTOBJS
715 version
716 configuration
717 canonical
718 srcdir
719 lispdir
720 locallisppath
721 lisppath
722 x_default_search_path
723 etcdir
724 archlibdir
725 bitmapdir
726 gamedir
727 gameuser
728 c_switch_system
729 c_switch_machine
730 LD_SWITCH_X_SITE
731 LD_SWITCH_X_SITE_AUX
732 C_SWITCH_X_SITE
733 X_TOOLKIT_TYPE
734 machfile
735 opsysfile
736 ns_appdir
737 ns_appbindir
738 ns_appresdir
739 ns_appsrc
740 GNUSTEP_MAKEFILES
741 GNUSTEP_SYSTEM_HEADERS
742 GNUSTEP_SYSTEM_LIBRARIES
743 GNU_OBJC_CFLAGS
642 LIB_SRC_EXTRA_INSTALLABLES 744 LIB_SRC_EXTRA_INSTALLABLES
643 GNU_OBJC_CFLAGS 745 LTLIBOBJS'
644 GNUSTEP_SYSTEM_LIBRARIES
645 GNUSTEP_SYSTEM_HEADERS
646 GNUSTEP_MAKEFILES
647 ns_appsrc
648 ns_appresdir
649 ns_appbindir
650 ns_appdir
651 opsysfile
652 machfile
653 X_TOOLKIT_TYPE
654 C_SWITCH_X_SITE
655 LD_SWITCH_X_SITE_AUX
656 LD_SWITCH_X_SITE
657 c_switch_machine
658 c_switch_system
659 gameuser
660 gamedir
661 bitmapdir
662 archlibdir
663 etcdir
664 x_default_search_path
665 lisppath
666 locallisppath
667 lispdir
668 srcdir
669 canonical
670 configuration
671 version
672 GETOPTOBJS
673 GETOPT_H
674 GETLOADAVG_LIBS
675 KMEM_GROUP
676 NEED_SETGID
677 LIBOBJS
678 liblockfile
679 ALLOCA
680 M17N_FLT_LIBS
681 M17N_FLT_CFLAGS
682 LIBOTF_LIBS
683 LIBOTF_CFLAGS
684 FREETYPE_LIBS
685 FREETYPE_CFLAGS
686 XFT_LIBS
687 XFT_CFLAGS
688 FONTCONFIG_LIBS
689 FONTCONFIG_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 GTK_LIBS
693 GTK_CFLAGS
694 RSVG_LIBS
695 RSVG_CFLAGS
696 HAVE_XSERVER
697 XMKMF
698 SET_MAKE
699 CFLAGS_SOUND
700 ALSA_LIBS
701 ALSA_CFLAGS
702 PKG_CONFIG
703 LIBSOUND
704 MAKEINFO
705 GZIP_PROG
706 INSTALL_INFO
707 RANLIB
708 INSTALL_DATA
709 INSTALL_SCRIPT
710 INSTALL_PROGRAM
711 LN_S
712 EGREP
713 GREP
714 CPP
715 OBJEXT
716 EXEEXT
717 ac_ct_CC
718 CPPFLAGS
719 LDFLAGS
720 CFLAGS
721 CC
722 host_os
723 host_vendor
724 host_cpu
725 host
726 build_os
727 build_vendor
728 build_cpu
729 build
730 MAINT
731 target_alias
732 host_alias
733 build_alias
734 LIBS
735 ECHO_T
736 ECHO_N
737 ECHO_C
738 DEFS
739 mandir
740 localedir
741 libdir
742 psdir
743 pdfdir
744 dvidir
745 htmldir
746 infodir
747 docdir
748 oldincludedir
749 includedir
750 localstatedir
751 sharedstatedir
752 sysconfdir
753 datadir
754 datarootdir
755 libexecdir
756 sbindir
757 bindir
758 program_transform_name
759 prefix
760 exec_prefix
761 PACKAGE_BUGREPORT
762 PACKAGE_STRING
763 PACKAGE_VERSION
764 PACKAGE_TARNAME
765 PACKAGE_NAME
766 PATH_SEPARATOR
767 SHELL'
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.91:";; 1333 short | recursive ) echo "Configuration of emacs 23.0.91:";;
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
1515 fi 1405 fi
1516 1406
1517 if test "$ac_init_help" = "recursive"; then 1407 if test "$ac_init_help" = "recursive"; then
1518 # If there are subdirs, report their specific --help. 1408 # If there are subdirs, report their specific --help.
1519 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1520 test -d "$ac_dir" || 1410 test -d "$ac_dir" || continue
1521 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1522 continue
1523 ac_builddir=. 1411 ac_builddir=.
1524 1412
1525 case "$ac_dir" in 1413 case "$ac_dir" in
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) 1415 *)
1528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1416 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1529 # A ".." for each directory in $ac_dir_suffix. 1417 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1418 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1531 case $ac_top_builddir_sub in 1419 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 esac ;; 1422 esac ;;
1535 esac 1423 esac
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1449 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then 1450 elif test -f "$ac_srcdir/configure"; then
1563 echo && 1451 echo &&
1564 $SHELL "$ac_srcdir/configure" --help=recursive 1452 $SHELL "$ac_srcdir/configure" --help=recursive
1565 else 1453 else
1566 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1454 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1567 fi || ac_status=$? 1455 fi || ac_status=$?
1568 cd "$ac_pwd" || { ac_status=$?; break; } 1456 cd "$ac_pwd" || { ac_status=$?; break; }
1569 done 1457 done
1570 fi 1458 fi
1571 1459
1572 test -n "$ac_init_help" && exit $ac_status 1460 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then 1461 if $ac_init_version; then
1574 cat <<\_ACEOF 1462 cat <<\_ACEOF
1575 emacs configure 23.0.91 1463 emacs configure 23.0.91
1576 generated by GNU Autoconf 2.63 1464 generated by GNU Autoconf 2.61
1577 1465
1578 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1466 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1467 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation 1468 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it. 1469 gives unlimited permission to copy, distribute and modify it.
1582 _ACEOF 1470 _ACEOF
1583 exit 1471 exit
1584 fi 1472 fi
1585 cat >config.log <<_ACEOF 1473 cat >config.log <<_ACEOF
1586 This file contains any messages produced by compilers while 1474 This file contains any messages produced by compilers while
1587 running configure, to aid debugging if configure makes a mistake. 1475 running configure, to aid debugging if configure makes a mistake.
1588 1476
1589 It was created by emacs $as_me 23.0.91, which was 1477 It was created by emacs $as_me 23.0.91, which was
1590 generated by GNU Autoconf 2.63. Invocation command line was 1478 generated by GNU Autoconf 2.61. Invocation command line was
1591 1479
1592 $ $0 $@ 1480 $ $0 $@
1593 1481
1594 _ACEOF 1482 _ACEOF
1595 exec 5>>config.log 1483 exec 5>>config.log
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 for as_dir in $PATH 1510 for as_dir in $PATH
1623 do 1511 do
1624 IFS=$as_save_IFS 1512 IFS=$as_save_IFS
1625 test -z "$as_dir" && as_dir=. 1513 test -z "$as_dir" && as_dir=.
1626 $as_echo "PATH: $as_dir" 1514 echo "PATH: $as_dir"
1627 done 1515 done
1628 IFS=$as_save_IFS 1516 IFS=$as_save_IFS
1629 1517
1630 } >&5 1518 } >&5
1631 1519
1656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1544 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658 | -silent | --silent | --silen | --sile | --sil) 1546 | -silent | --silent | --silen | --sile | --sil)
1659 continue ;; 1547 continue ;;
1660 *\'*) 1548 *\'*)
1661 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1549 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1662 esac 1550 esac
1663 case $ac_pass in 1551 case $ac_pass in
1664 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1552 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1665 2) 1553 2)
1666 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1554 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 1596 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 1597 eval ac_val=\$$ac_var
1710 case $ac_val in #( 1598 case $ac_val in #(
1711 *${as_nl}*) 1599 *${as_nl}*)
1712 case $ac_var in #( 1600 case $ac_var in #(
1713 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1601 *_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;} ;; 1602 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1715 esac 1603 esac
1716 case $ac_var in #( 1604 case $ac_var in #(
1717 _ | IFS | as_nl) ;; #( 1605 _ | IFS | as_nl) ;; #(
1718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1719 *) $as_unset $ac_var ;; 1606 *) $as_unset $ac_var ;;
1720 esac ;; 1607 esac ;;
1721 esac 1608 esac
1722 done 1609 done
1723 (set) 2>&1 | 1610 (set) 2>&1 |
1743 echo 1630 echo
1744 for ac_var in $ac_subst_vars 1631 for ac_var in $ac_subst_vars
1745 do 1632 do
1746 eval ac_val=\$$ac_var 1633 eval ac_val=\$$ac_var
1747 case $ac_val in 1634 case $ac_val in
1748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1635 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 esac 1636 esac
1750 $as_echo "$ac_var='\''$ac_val'\''" 1637 echo "$ac_var='\''$ac_val'\''"
1751 done | sort 1638 done | sort
1752 echo 1639 echo
1753 1640
1754 if test -n "$ac_subst_files"; then 1641 if test -n "$ac_subst_files"; then
1755 cat <<\_ASBOX 1642 cat <<\_ASBOX
1760 echo 1647 echo
1761 for ac_var in $ac_subst_files 1648 for ac_var in $ac_subst_files
1762 do 1649 do
1763 eval ac_val=\$$ac_var 1650 eval ac_val=\$$ac_var
1764 case $ac_val in 1651 case $ac_val in
1765 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1652 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 esac 1653 esac
1767 $as_echo "$ac_var='\''$ac_val'\''" 1654 echo "$ac_var='\''$ac_val'\''"
1768 done | sort 1655 done | sort
1769 echo 1656 echo
1770 fi 1657 fi
1771 1658
1772 if test -s confdefs.h; then 1659 if test -s confdefs.h; then
1778 echo 1665 echo
1779 cat confdefs.h 1666 cat confdefs.h
1780 echo 1667 echo
1781 fi 1668 fi
1782 test "$ac_signal" != 0 && 1669 test "$ac_signal" != 0 &&
1783 $as_echo "$as_me: caught signal $ac_signal" 1670 echo "$as_me: caught signal $ac_signal"
1784 $as_echo "$as_me: exit $exit_status" 1671 echo "$as_me: exit $exit_status"
1785 } >&5 1672 } >&5
1786 rm -f core *.core core.conftest.* && 1673 rm -f core *.core core.conftest.* &&
1787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1674 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1788 exit $exit_status 1675 exit $exit_status
1789 ' 0 1676 ' 0
1821 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1822 _ACEOF 1709 _ACEOF
1823 1710
1824 1711
1825 # Let the site file select an alternate cache file if it wants to. 1712 # Let the site file select an alternate cache file if it wants to.
1826 # Prefer an explicitly selected file to automatically selected ones. 1713 # 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 1714 if test -n "$CONFIG_SITE"; then
1830 ac_site_file1=$CONFIG_SITE 1715 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then 1716 elif test "x$prefix" != xNONE; then
1832 ac_site_file1=$prefix/share/config.site 1717 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1833 ac_site_file2=$prefix/etc/config.site 1718 else
1834 else 1719 set x "$ac_default_prefix/share/config.site" \
1835 ac_site_file1=$ac_default_prefix/share/config.site 1720 "$ac_default_prefix/etc/config.site"
1836 ac_site_file2=$ac_default_prefix/etc/config.site 1721 fi
1837 fi 1722 shift
1838 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1723 for ac_site_file
1839 do 1724 do
1840 test "x$ac_site_file" = xNONE && continue
1841 if test -r "$ac_site_file"; then 1725 if test -r "$ac_site_file"; then
1842 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1726 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1727 echo "$as_me: loading site script $ac_site_file" >&6;}
1844 sed 's/^/| /' "$ac_site_file" >&5 1728 sed 's/^/| /' "$ac_site_file" >&5
1845 . "$ac_site_file" 1729 . "$ac_site_file"
1846 fi 1730 fi
1847 done 1731 done
1848 1732
1849 if test -r "$cache_file"; then 1733 if test -r "$cache_file"; then
1850 # Some versions of bash will fail to source /dev/null (special 1734 # Some versions of bash will fail to source /dev/null (special
1851 # files actually), so we avoid doing that. 1735 # files actually), so we avoid doing that.
1852 if test -f "$cache_file"; then 1736 if test -f "$cache_file"; then
1853 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1737 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854 $as_echo "$as_me: loading cache $cache_file" >&6;} 1738 echo "$as_me: loading cache $cache_file" >&6;}
1855 case $cache_file in 1739 case $cache_file in
1856 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1740 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857 *) . "./$cache_file";; 1741 *) . "./$cache_file";;
1858 esac 1742 esac
1859 fi 1743 fi
1860 else 1744 else
1861 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1745 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1862 $as_echo "$as_me: creating cache $cache_file" >&6;} 1746 echo "$as_me: creating cache $cache_file" >&6;}
1863 >$cache_file 1747 >$cache_file
1864 fi 1748 fi
1865 1749
1866 ac_header_list="$ac_header_list sys/time.h" 1750 ac_header_list="$ac_header_list sys/time.h"
1867 ac_header_list="$ac_header_list unistd.h" 1751 ac_header_list="$ac_header_list unistd.h"
1874 eval ac_new_set=\$ac_env_${ac_var}_set 1758 eval ac_new_set=\$ac_env_${ac_var}_set
1875 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1759 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1876 eval ac_new_val=\$ac_env_${ac_var}_value 1760 eval ac_new_val=\$ac_env_${ac_var}_value
1877 case $ac_old_set,$ac_new_set in 1761 case $ac_old_set,$ac_new_set in
1878 set,) 1762 set,)
1879 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1763 { 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;} 1764 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1881 ac_cache_corrupted=: ;; 1765 ac_cache_corrupted=: ;;
1882 ,set) 1766 ,set)
1883 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1767 { 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;} 1768 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1885 ac_cache_corrupted=: ;; 1769 ac_cache_corrupted=: ;;
1886 ,);; 1770 ,);;
1887 *) 1771 *)
1888 if test "x$ac_old_val" != "x$ac_new_val"; then 1772 if test "x$ac_old_val" != "x$ac_new_val"; then
1889 # differences in whitespace do not lead to failure. 1773 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1890 ac_old_val_w=`echo x $ac_old_val` 1774 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1891 ac_new_val_w=`echo x $ac_new_val` 1775 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1892 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1776 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 1777 { 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;} 1778 echo "$as_me: current value: $ac_new_val" >&2;}
1895 ac_cache_corrupted=: 1779 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;; 1780 fi;;
1906 esac 1781 esac
1907 # Pass precious variables to config.status. 1782 # Pass precious variables to config.status.
1908 if test "$ac_new_set" = set; then 1783 if test "$ac_new_set" = set; then
1909 case $ac_new_val in 1784 case $ac_new_val in
1910 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1785 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1911 *) ac_arg=$ac_var=$ac_new_val ;; 1786 *) ac_arg=$ac_var=$ac_new_val ;;
1912 esac 1787 esac
1913 case " $ac_configure_args " in 1788 case " $ac_configure_args " in
1914 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1789 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1915 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1790 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1916 esac 1791 esac
1917 fi 1792 fi
1918 done 1793 done
1919 if $ac_cache_corrupted; then 1794 if $ac_cache_corrupted; then
1920 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1795 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1796 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1922 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1797 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1923 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1798 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1924 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1925 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1926 { (exit 1); exit 1; }; } 1799 { (exit 1); exit 1; }; }
1927 fi 1800 fi
1928 1801
1929 1802
1930 1803
1964 test "$program_prefix" != NONE && 1837 test "$program_prefix" != NONE &&
1965 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1838 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1966 # Use a double $ so make ignores it. 1839 # Use a double $ so make ignores it.
1967 test "$program_suffix" != NONE && 1840 test "$program_suffix" != NONE &&
1968 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1841 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1969 # Double any \ or $. 1842 # Double any \ or $. echo might interpret backslashes.
1970 # By default was `s,x,x', remove it if useless. 1843 # By default was `s,x,x', remove it if useless.
1971 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1844 cat <<\_ACEOF >conftest.sed
1972 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1845 s/[\\$]/&&/g;s/;s,x,x,$//
1846 _ACEOF
1847 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1848 rm -f conftest.sed
1973 1849
1974 1850
1975 lispdir='${datadir}/emacs/${version}/lisp' 1851 lispdir='${datadir}/emacs/${version}/lisp'
1976 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ 1852 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
1977 '${datadir}/emacs/site-lisp' 1853 '${datadir}/emacs/site-lisp'
2090 l | lu | luc | luci | lucid ) val=lucid ;; 1966 l | lu | luc | luci | lucid ) val=lucid ;;
2091 a | at | ath | athe | athen | athena ) val=athena ;; 1967 a | at | ath | athe | athen | athena ) val=athena ;;
2092 m | mo | mot | moti | motif ) val=motif ;; 1968 m | mo | mot | moti | motif ) val=motif ;;
2093 g | gt | gtk ) val=gtk ;; 1969 g | gt | gtk ) val=gtk ;;
2094 * ) 1970 * )
2095 { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; 1971 { { echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid;
2096 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1972 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2097 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 1973 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5
2098 $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; 1974 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid;
2099 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. 1975 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'.
2100 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} 1976 \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;}
2101 { (exit 1); exit 1; }; } 1977 { (exit 1); exit 1; }; }
2102 ;; 1978 ;;
2103 esac 1979 esac
2250 2126
2251 2127
2252 2128
2253 # Check whether --with-gtk was given. 2129 # Check whether --with-gtk was given.
2254 if test "${with_gtk+set}" = set; then 2130 if test "${with_gtk+set}" = set; then
2255 withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to 2131 withval=$with_gtk; { { echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to
2256 specify a toolkit." >&5 2132 specify a toolkit." >&5
2257 $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to 2133 echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to
2258 specify a toolkit." >&2;} 2134 specify a toolkit." >&2;}
2259 { (exit 1); exit 1; }; } 2135 { (exit 1); exit 1; }; }
2260 fi 2136 fi
2261 2137
2262 2138
2263 2139
2264 # Check whether --with-gcc was given. 2140 # Check whether --with-gcc was given.
2265 if test "${with_gcc+set}" = set; then 2141 if test "${with_gcc+set}" = set; then
2266 withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment 2142 withval=$with_gcc; { { echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment
2267 variable to specify a compiler." >&5 2143 variable to specify a compiler." >&5
2268 $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment 2144 echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment
2269 variable to specify a compiler." >&2;} 2145 variable to specify a compiler." >&2;}
2270 { (exit 1); exit 1; }; } 2146 { (exit 1); exit 1; }; }
2271 fi 2147 fi
2272 2148
2273 2149
2359 esac 2235 esac
2360 2236
2361 #### Check if the source directory already has a configured system in it. 2237 #### Check if the source directory already has a configured system in it.
2362 if test `pwd` != `(cd ${srcdir} && pwd)` \ 2238 if test `pwd` != `(cd ${srcdir} && pwd)` \
2363 && test -f "${srcdir}/src/config.h" ; then 2239 && test -f "${srcdir}/src/config.h" ; then
2364 { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used 2240 { echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used
2365 as a build directory right now; it has been configured in its own 2241 as a build directory right now; it has been configured in its own
2366 right. To configure in another directory as well, you MUST 2242 right. To configure in another directory as well, you MUST
2367 use GNU make. If you do not have GNU make, then you must 2243 use GNU make. If you do not have GNU make, then you must
2368 now do \`make distclean' in ${srcdir}, 2244 now do \`make distclean' in ${srcdir},
2369 and then run $0 again." >&5 2245 and then run $0 again." >&5
2370 $as_echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used 2246 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
2371 as a build directory right now; it has been configured in its own 2247 as a build directory right now; it has been configured in its own
2372 right. To configure in another directory as well, you MUST 2248 right. To configure in another directory as well, you MUST
2373 use GNU make. If you do not have GNU make, then you must 2249 use GNU make. If you do not have GNU make, then you must
2374 now do \`make distclean' in ${srcdir}, 2250 now do \`make distclean' in ${srcdir},
2375 and then run $0 again." >&2;} 2251 and then run $0 again." >&2;}
2395 ac_install_sh="$ac_aux_dir/shtool install -c" 2271 ac_install_sh="$ac_aux_dir/shtool install -c"
2396 break 2272 break
2397 fi 2273 fi
2398 done 2274 done
2399 if test -z "$ac_aux_dir"; then 2275 if test -z "$ac_aux_dir"; then
2400 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2276 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2401 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2277 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2402 { (exit 1); exit 1; }; } 2278 { (exit 1); exit 1; }; }
2403 fi 2279 fi
2404 2280
2405 # These three variables are undocumented and unsupported, 2281 # These three variables are undocumented and unsupported,
2406 # and are intended to be withdrawn in a future Autoconf release. 2282 # and are intended to be withdrawn in a future Autoconf release.
2411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2287 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2412 2288
2413 2289
2414 # Make sure we can run config.sub. 2290 # Make sure we can run config.sub.
2415 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2291 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2416 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2292 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2417 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2293 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2418 { (exit 1); exit 1; }; } 2294 { (exit 1); exit 1; }; }
2419 2295
2420 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2296 { echo "$as_me:$LINENO: checking build system type" >&5
2421 $as_echo_n "checking build system type... " >&6; } 2297 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2422 if test "${ac_cv_build+set}" = set; then 2298 if test "${ac_cv_build+set}" = set; then
2423 $as_echo_n "(cached) " >&6 2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else 2300 else
2425 ac_build_alias=$build_alias 2301 ac_build_alias=$build_alias
2426 test "x$ac_build_alias" = x && 2302 test "x$ac_build_alias" = x &&
2427 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2303 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2428 test "x$ac_build_alias" = x && 2304 test "x$ac_build_alias" = x &&
2429 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2305 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2430 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2306 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2431 { (exit 1); exit 1; }; } 2307 { (exit 1); exit 1; }; }
2432 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2308 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2433 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2309 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2434 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2310 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2435 { (exit 1); exit 1; }; } 2311 { (exit 1); exit 1; }; }
2436 2312
2437 fi 2313 fi
2438 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2314 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2439 $as_echo "$ac_cv_build" >&6; } 2315 echo "${ECHO_T}$ac_cv_build" >&6; }
2440 case $ac_cv_build in 2316 case $ac_cv_build in
2441 *-*-*) ;; 2317 *-*-*) ;;
2442 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2318 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2443 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 2319 echo "$as_me: error: invalid value of canonical build" >&2;}
2444 { (exit 1); exit 1; }; };; 2320 { (exit 1); exit 1; }; };;
2445 esac 2321 esac
2446 build=$ac_cv_build 2322 build=$ac_cv_build
2447 ac_save_IFS=$IFS; IFS='-' 2323 ac_save_IFS=$IFS; IFS='-'
2448 set x $ac_cv_build 2324 set x $ac_cv_build
2455 build_os=$* 2331 build_os=$*
2456 IFS=$ac_save_IFS 2332 IFS=$ac_save_IFS
2457 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2333 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2458 2334
2459 2335
2460 { $as_echo "$as_me:$LINENO: checking host system type" >&5 2336 { echo "$as_me:$LINENO: checking host system type" >&5
2461 $as_echo_n "checking host system type... " >&6; } 2337 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_host+set}" = set; then 2338 if test "${ac_cv_host+set}" = set; then
2463 $as_echo_n "(cached) " >&6 2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else 2340 else
2465 if test "x$host_alias" = x; then 2341 if test "x$host_alias" = x; then
2466 ac_cv_host=$ac_cv_build 2342 ac_cv_host=$ac_cv_build
2467 else 2343 else
2468 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2344 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2469 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2345 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2470 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2346 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2471 { (exit 1); exit 1; }; } 2347 { (exit 1); exit 1; }; }
2472 fi 2348 fi
2473 2349
2474 fi 2350 fi
2475 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2351 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2476 $as_echo "$ac_cv_host" >&6; } 2352 echo "${ECHO_T}$ac_cv_host" >&6; }
2477 case $ac_cv_host in 2353 case $ac_cv_host in
2478 *-*-*) ;; 2354 *-*-*) ;;
2479 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2355 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2480 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 2356 echo "$as_me: error: invalid value of canonical host" >&2;}
2481 { (exit 1); exit 1; }; };; 2357 { (exit 1); exit 1; }; };;
2482 esac 2358 esac
2483 host=$ac_cv_host 2359 host=$ac_cv_host
2484 ac_save_IFS=$IFS; IFS='-' 2360 ac_save_IFS=$IFS; IFS='-'
2485 set x $ac_cv_host 2361 set x $ac_cv_host
2557 *-*-netbsd* ) 2433 *-*-netbsd* )
2558 opsys=netbsd 2434 opsys=netbsd
2559 if test -f /usr/lib/crti.o; then 2435 if test -f /usr/lib/crti.o; then
2560 2436
2561 cat >>confdefs.h <<\_ACEOF 2437 cat >>confdefs.h <<\_ACEOF
2562 #define HAVE_CRTIN /**/ 2438 #define HAVE_CRTIN
2563 _ACEOF 2439 _ACEOF
2564 2440
2565 fi 2441 fi
2566 2442
2567 case "${canonical}" in 2443 case "${canonical}" in
2829 fi 2705 fi
2830 2706
2831 2707
2832 2708
2833 if test $unported = yes; then 2709 if test $unported = yes; then
2834 { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. 2710 { { echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems.
2835 Check \`etc/MACHINES' for recognized configuration names." >&5 2711 Check \`etc/MACHINES' for recognized configuration names." >&5
2836 $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. 2712 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
2837 Check \`etc/MACHINES' for recognized configuration names." >&2;} 2713 Check \`etc/MACHINES' for recognized configuration names." >&2;}
2838 { (exit 1); exit 1; }; } 2714 { (exit 1); exit 1; }; }
2839 fi 2715 fi
2840 2716
2841 machfile="m/${machine}.h" 2717 machfile="m/${machine}.h"
2854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2856 if test -n "$ac_tool_prefix"; then 2732 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2734 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; } 2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2861 if test "${ac_cv_prog_CC+set}" = set; then 2737 if test "${ac_cv_prog_CC+set}" = set; then
2862 $as_echo_n "(cached) " >&6 2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 else 2739 else
2864 if test -n "$CC"; then 2740 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test. 2741 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 else 2742 else
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 IFS=$as_save_IFS 2746 IFS=$as_save_IFS
2871 test -z "$as_dir" && as_dir=. 2747 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do 2748 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2750 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 break 2 2752 break 2
2877 fi 2753 fi
2878 done 2754 done
2879 done 2755 done
2880 IFS=$as_save_IFS 2756 IFS=$as_save_IFS
2881 2757
2882 fi 2758 fi
2883 fi 2759 fi
2884 CC=$ac_cv_prog_CC 2760 CC=$ac_cv_prog_CC
2885 if test -n "$CC"; then 2761 if test -n "$CC"; then
2886 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2762 { echo "$as_me:$LINENO: result: $CC" >&5
2887 $as_echo "$CC" >&6; } 2763 echo "${ECHO_T}$CC" >&6; }
2888 else 2764 else
2889 { $as_echo "$as_me:$LINENO: result: no" >&5 2765 { echo "$as_me:$LINENO: result: no" >&5
2890 $as_echo "no" >&6; } 2766 echo "${ECHO_T}no" >&6; }
2891 fi 2767 fi
2892 2768
2893 2769
2894 fi 2770 fi
2895 if test -z "$ac_cv_prog_CC"; then 2771 if test -z "$ac_cv_prog_CC"; then
2896 ac_ct_CC=$CC 2772 ac_ct_CC=$CC
2897 # Extract the first word of "gcc", so it can be a program name with args. 2773 # Extract the first word of "gcc", so it can be a program name with args.
2898 set dummy gcc; ac_word=$2 2774 set dummy gcc; ac_word=$2
2899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; } 2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2902 $as_echo_n "(cached) " >&6 2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 else 2779 else
2904 if test -n "$ac_ct_CC"; then 2780 if test -n "$ac_ct_CC"; then
2905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2781 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2906 else 2782 else
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 IFS=$as_save_IFS 2786 IFS=$as_save_IFS
2911 test -z "$as_dir" && as_dir=. 2787 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do 2788 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914 ac_cv_prog_ac_ct_CC="gcc" 2790 ac_cv_prog_ac_ct_CC="gcc"
2915 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 break 2 2792 break 2
2917 fi 2793 fi
2918 done 2794 done
2919 done 2795 done
2920 IFS=$as_save_IFS 2796 IFS=$as_save_IFS
2921 2797
2922 fi 2798 fi
2923 fi 2799 fi
2924 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2925 if test -n "$ac_ct_CC"; then 2801 if test -n "$ac_ct_CC"; then
2926 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2802 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2927 $as_echo "$ac_ct_CC" >&6; } 2803 echo "${ECHO_T}$ac_ct_CC" >&6; }
2928 else 2804 else
2929 { $as_echo "$as_me:$LINENO: result: no" >&5 2805 { echo "$as_me:$LINENO: result: no" >&5
2930 $as_echo "no" >&6; } 2806 echo "${ECHO_T}no" >&6; }
2931 fi 2807 fi
2932 2808
2933 if test "x$ac_ct_CC" = x; then 2809 if test "x$ac_ct_CC" = x; then
2934 CC="" 2810 CC=""
2935 else 2811 else
2936 case $cross_compiling:$ac_tool_warned in 2812 case $cross_compiling:$ac_tool_warned in
2937 yes:) 2813 yes:)
2938 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2814 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2815 whose name does not start with the host triplet. If you think this
2816 configuration is useful to you, please write to autoconf@gnu.org." >&5
2817 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818 whose name does not start with the host triplet. If you think this
2819 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2940 ac_tool_warned=yes ;; 2820 ac_tool_warned=yes ;;
2941 esac 2821 esac
2942 CC=$ac_ct_CC 2822 CC=$ac_ct_CC
2943 fi 2823 fi
2944 else 2824 else
2947 2827
2948 if test -z "$CC"; then 2828 if test -z "$CC"; then
2949 if test -n "$ac_tool_prefix"; then 2829 if test -n "$ac_tool_prefix"; then
2950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2951 set dummy ${ac_tool_prefix}cc; ac_word=$2 2831 set dummy ${ac_tool_prefix}cc; ac_word=$2
2952 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; } 2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2954 if test "${ac_cv_prog_CC+set}" = set; then 2834 if test "${ac_cv_prog_CC+set}" = set; then
2955 $as_echo_n "(cached) " >&6 2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 else 2836 else
2957 if test -n "$CC"; then 2837 if test -n "$CC"; then
2958 ac_cv_prog_CC="$CC" # Let the user override the test. 2838 ac_cv_prog_CC="$CC" # Let the user override the test.
2959 else 2839 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 IFS=$as_save_IFS 2843 IFS=$as_save_IFS
2964 test -z "$as_dir" && as_dir=. 2844 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do 2845 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_CC="${ac_tool_prefix}cc" 2847 ac_cv_prog_CC="${ac_tool_prefix}cc"
2968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 break 2 2849 break 2
2970 fi 2850 fi
2971 done 2851 done
2972 done 2852 done
2973 IFS=$as_save_IFS 2853 IFS=$as_save_IFS
2974 2854
2975 fi 2855 fi
2976 fi 2856 fi
2977 CC=$ac_cv_prog_CC 2857 CC=$ac_cv_prog_CC
2978 if test -n "$CC"; then 2858 if test -n "$CC"; then
2979 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2859 { echo "$as_me:$LINENO: result: $CC" >&5
2980 $as_echo "$CC" >&6; } 2860 echo "${ECHO_T}$CC" >&6; }
2981 else 2861 else
2982 { $as_echo "$as_me:$LINENO: result: no" >&5 2862 { echo "$as_me:$LINENO: result: no" >&5
2983 $as_echo "no" >&6; } 2863 echo "${ECHO_T}no" >&6; }
2984 fi 2864 fi
2985 2865
2986 2866
2987 fi 2867 fi
2988 fi 2868 fi
2989 if test -z "$CC"; then 2869 if test -z "$CC"; then
2990 # Extract the first word of "cc", so it can be a program name with args. 2870 # Extract the first word of "cc", so it can be a program name with args.
2991 set dummy cc; ac_word=$2 2871 set dummy cc; ac_word=$2
2992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; } 2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CC+set}" = set; then 2874 if test "${ac_cv_prog_CC+set}" = set; then
2995 $as_echo_n "(cached) " >&6 2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 else 2876 else
2997 if test -n "$CC"; then 2877 if test -n "$CC"; then
2998 ac_cv_prog_CC="$CC" # Let the user override the test. 2878 ac_cv_prog_CC="$CC" # Let the user override the test.
2999 else 2879 else
3000 ac_prog_rejected=no 2880 ac_prog_rejected=no
3008 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3009 ac_prog_rejected=yes 2889 ac_prog_rejected=yes
3010 continue 2890 continue
3011 fi 2891 fi
3012 ac_cv_prog_CC="cc" 2892 ac_cv_prog_CC="cc"
3013 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 break 2 2894 break 2
3015 fi 2895 fi
3016 done 2896 done
3017 done 2897 done
3018 IFS=$as_save_IFS 2898 IFS=$as_save_IFS
3031 fi 2911 fi
3032 fi 2912 fi
3033 fi 2913 fi
3034 CC=$ac_cv_prog_CC 2914 CC=$ac_cv_prog_CC
3035 if test -n "$CC"; then 2915 if test -n "$CC"; then
3036 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2916 { echo "$as_me:$LINENO: result: $CC" >&5
3037 $as_echo "$CC" >&6; } 2917 echo "${ECHO_T}$CC" >&6; }
3038 else 2918 else
3039 { $as_echo "$as_me:$LINENO: result: no" >&5 2919 { echo "$as_me:$LINENO: result: no" >&5
3040 $as_echo "no" >&6; } 2920 echo "${ECHO_T}no" >&6; }
3041 fi 2921 fi
3042 2922
3043 2923
3044 fi 2924 fi
3045 if test -z "$CC"; then 2925 if test -z "$CC"; then
3046 if test -n "$ac_tool_prefix"; then 2926 if test -n "$ac_tool_prefix"; then
3047 for ac_prog in cl.exe 2927 for ac_prog in cl.exe
3048 do 2928 do
3049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3051 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; } 2932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3053 if test "${ac_cv_prog_CC+set}" = set; then 2933 if test "${ac_cv_prog_CC+set}" = set; then
3054 $as_echo_n "(cached) " >&6 2934 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 else 2935 else
3056 if test -n "$CC"; then 2936 if test -n "$CC"; then
3057 ac_cv_prog_CC="$CC" # Let the user override the test. 2937 ac_cv_prog_CC="$CC" # Let the user override the test.
3058 else 2938 else
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 IFS=$as_save_IFS 2942 IFS=$as_save_IFS
3063 test -z "$as_dir" && as_dir=. 2943 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do 2944 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3067 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 break 2 2948 break 2
3069 fi 2949 fi
3070 done 2950 done
3071 done 2951 done
3072 IFS=$as_save_IFS 2952 IFS=$as_save_IFS
3073 2953
3074 fi 2954 fi
3075 fi 2955 fi
3076 CC=$ac_cv_prog_CC 2956 CC=$ac_cv_prog_CC
3077 if test -n "$CC"; then 2957 if test -n "$CC"; then
3078 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2958 { echo "$as_me:$LINENO: result: $CC" >&5
3079 $as_echo "$CC" >&6; } 2959 echo "${ECHO_T}$CC" >&6; }
3080 else 2960 else
3081 { $as_echo "$as_me:$LINENO: result: no" >&5 2961 { echo "$as_me:$LINENO: result: no" >&5
3082 $as_echo "no" >&6; } 2962 echo "${ECHO_T}no" >&6; }
3083 fi 2963 fi
3084 2964
3085 2965
3086 test -n "$CC" && break 2966 test -n "$CC" && break
3087 done 2967 done
3090 ac_ct_CC=$CC 2970 ac_ct_CC=$CC
3091 for ac_prog in cl.exe 2971 for ac_prog in cl.exe
3092 do 2972 do
3093 # Extract the first word of "$ac_prog", so it can be a program name with args. 2973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3094 set dummy $ac_prog; ac_word=$2 2974 set dummy $ac_prog; ac_word=$2
3095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; } 2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3098 $as_echo_n "(cached) " >&6 2978 echo $ECHO_N "(cached) $ECHO_C" >&6
3099 else 2979 else
3100 if test -n "$ac_ct_CC"; then 2980 if test -n "$ac_ct_CC"; then
3101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3102 else 2982 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 IFS=$as_save_IFS 2986 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=. 2987 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do 2988 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_ac_ct_CC="$ac_prog" 2990 ac_cv_prog_ac_ct_CC="$ac_prog"
3111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 break 2 2992 break 2
3113 fi 2993 fi
3114 done 2994 done
3115 done 2995 done
3116 IFS=$as_save_IFS 2996 IFS=$as_save_IFS
3117 2997
3118 fi 2998 fi
3119 fi 2999 fi
3120 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3121 if test -n "$ac_ct_CC"; then 3001 if test -n "$ac_ct_CC"; then
3122 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3002 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3123 $as_echo "$ac_ct_CC" >&6; } 3003 echo "${ECHO_T}$ac_ct_CC" >&6; }
3124 else 3004 else
3125 { $as_echo "$as_me:$LINENO: result: no" >&5 3005 { echo "$as_me:$LINENO: result: no" >&5
3126 $as_echo "no" >&6; } 3006 echo "${ECHO_T}no" >&6; }
3127 fi 3007 fi
3128 3008
3129 3009
3130 test -n "$ac_ct_CC" && break 3010 test -n "$ac_ct_CC" && break
3131 done 3011 done
3133 if test "x$ac_ct_CC" = x; then 3013 if test "x$ac_ct_CC" = x; then
3134 CC="" 3014 CC=""
3135 else 3015 else
3136 case $cross_compiling:$ac_tool_warned in 3016 case $cross_compiling:$ac_tool_warned in
3137 yes:) 3017 yes:)
3138 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3018 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3019 whose name does not start with the host triplet. If you think this
3020 configuration is useful to you, please write to autoconf@gnu.org." >&5
3021 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3022 whose name does not start with the host triplet. If you think this
3023 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3140 ac_tool_warned=yes ;; 3024 ac_tool_warned=yes ;;
3141 esac 3025 esac
3142 CC=$ac_ct_CC 3026 CC=$ac_ct_CC
3143 fi 3027 fi
3144 fi 3028 fi
3145 3029
3146 fi 3030 fi
3147 3031
3148 3032
3149 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3033 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3152 See \`config.log' for more details." >&5 3034 See \`config.log' for more details." >&5
3153 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3035 echo "$as_me: error: no acceptable C compiler found in \$PATH
3154 See \`config.log' for more details." >&2;} 3036 See \`config.log' for more details." >&2;}
3155 { (exit 1); exit 1; }; }; } 3037 { (exit 1); exit 1; }; }
3156 3038
3157 # Provide some information about the compiler. 3039 # Provide some information about the compiler.
3158 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3040 echo "$as_me:$LINENO: checking for C compiler version" >&5
3159 set X $ac_compile 3041 ac_compiler=`set X $ac_compile; echo $2`
3160 ac_compiler=$2
3161 { (ac_try="$ac_compiler --version >&5" 3042 { (ac_try="$ac_compiler --version >&5"
3162 case "(($ac_try" in 3043 case "(($ac_try" in
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;; 3045 *) ac_try_echo=$ac_try;;
3165 esac 3046 esac
3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3167 $as_echo "$ac_try_echo") >&5
3168 (eval "$ac_compiler --version >&5") 2>&5 3048 (eval "$ac_compiler --version >&5") 2>&5
3169 ac_status=$? 3049 ac_status=$?
3170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } 3051 (exit $ac_status); }
3172 { (ac_try="$ac_compiler -v >&5" 3052 { (ac_try="$ac_compiler -v >&5"
3173 case "(($ac_try" in 3053 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;; 3055 *) ac_try_echo=$ac_try;;
3176 esac 3056 esac
3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3178 $as_echo "$ac_try_echo") >&5
3179 (eval "$ac_compiler -v >&5") 2>&5 3058 (eval "$ac_compiler -v >&5") 2>&5
3180 ac_status=$? 3059 ac_status=$?
3181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } 3061 (exit $ac_status); }
3183 { (ac_try="$ac_compiler -V >&5" 3062 { (ac_try="$ac_compiler -V >&5"
3184 case "(($ac_try" in 3063 case "(($ac_try" in
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;; 3065 *) ac_try_echo=$ac_try;;
3187 esac 3066 esac
3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 $as_echo "$ac_try_echo") >&5
3190 (eval "$ac_compiler -V >&5") 2>&5 3068 (eval "$ac_compiler -V >&5") 2>&5
3191 ac_status=$? 3069 ac_status=$?
3192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } 3071 (exit $ac_status); }
3194 3072
3195 cat >conftest.$ac_ext <<_ACEOF 3073 cat >conftest.$ac_ext <<_ACEOF
3196 /* confdefs.h. */ 3074 /* confdefs.h. */
3197 _ACEOF 3075 _ACEOF
3206 ; 3084 ;
3207 return 0; 3085 return 0;
3208 } 3086 }
3209 _ACEOF 3087 _ACEOF
3210 ac_clean_files_save=$ac_clean_files 3088 ac_clean_files_save=$ac_clean_files
3211 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3089 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3212 # Try to create an executable without -o first, disregard a.out. 3090 # Try to create an executable without -o first, disregard a.out.
3213 # It will help us diagnose broken compilers, and finding out an intuition 3091 # It will help us diagnose broken compilers, and finding out an intuition
3214 # of exeext. 3092 # of exeext.
3215 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3093 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3216 $as_echo_n "checking for C compiler default output file name... " >&6; } 3094 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3217 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3095 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3218 3096 #
3219 # The possible output files: 3097 # List of possible output files, starting from the most likely.
3220 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3098 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3221 3099 # only as a last resort. b.out is created by i960 compilers.
3100 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3101 #
3102 # The IRIX 6 linker writes into existing files which may not be
3103 # executable, retaining their permissions. Remove them first so a
3104 # subsequent execution test works.
3222 ac_rmfiles= 3105 ac_rmfiles=
3223 for ac_file in $ac_files 3106 for ac_file in $ac_files
3224 do 3107 do
3225 case $ac_file in 3108 case $ac_file in
3226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3227 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3110 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3228 esac 3111 esac
3229 done 3112 done
3230 rm -f $ac_rmfiles 3113 rm -f $ac_rmfiles
3231 3114
3232 if { (ac_try="$ac_link_default" 3115 if { (ac_try="$ac_link_default"
3233 case "(($ac_try" in 3116 case "(($ac_try" in
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;; 3118 *) ac_try_echo=$ac_try;;
3236 esac 3119 esac
3237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3238 $as_echo "$ac_try_echo") >&5
3239 (eval "$ac_link_default") 2>&5 3121 (eval "$ac_link_default") 2>&5
3240 ac_status=$? 3122 ac_status=$?
3241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; then 3124 (exit $ac_status); }; then
3243 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3125 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3244 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3126 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3245 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3127 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3246 # so that the user can short-circuit this test for compilers unknown to 3128 # so that the user can short-circuit this test for compilers unknown to
3247 # Autoconf. 3129 # Autoconf.
3248 for ac_file in $ac_files '' 3130 for ac_file in $ac_files ''
3249 do 3131 do
3250 test -f "$ac_file" || continue 3132 test -f "$ac_file" || continue
3251 case $ac_file in 3133 case $ac_file in
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3253 ;; 3135 ;;
3254 [ab].out ) 3136 [ab].out )
3255 # We found the default executable, but exeext='' is most 3137 # We found the default executable, but exeext='' is most
3256 # certainly right. 3138 # certainly right.
3257 break;; 3139 break;;
3274 3156
3275 else 3157 else
3276 ac_file='' 3158 ac_file=''
3277 fi 3159 fi
3278 3160
3279 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3161 { echo "$as_me:$LINENO: result: $ac_file" >&5
3280 $as_echo "$ac_file" >&6; } 3162 echo "${ECHO_T}$ac_file" >&6; }
3281 if test -z "$ac_file"; then 3163 if test -z "$ac_file"; then
3282 $as_echo "$as_me: failed program was:" >&5 3164 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.$ac_ext >&5 3165 sed 's/^/| /' conftest.$ac_ext >&5
3284 3166
3285 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3167 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3288 See \`config.log' for more details." >&5 3168 See \`config.log' for more details." >&5
3289 $as_echo "$as_me: error: C compiler cannot create executables 3169 echo "$as_me: error: C compiler cannot create executables
3290 See \`config.log' for more details." >&2;} 3170 See \`config.log' for more details." >&2;}
3291 { (exit 77); exit 77; }; }; } 3171 { (exit 77); exit 77; }; }
3292 fi 3172 fi
3293 3173
3294 ac_exeext=$ac_cv_exeext 3174 ac_exeext=$ac_cv_exeext
3295 3175
3296 # Check that the compiler produces executables we can run. If not, either 3176 # Check that the compiler produces executables we can run. If not, either
3297 # the compiler is broken, or we cross compile. 3177 # the compiler is broken, or we cross compile.
3298 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3178 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3299 $as_echo_n "checking whether the C compiler works... " >&6; } 3179 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3300 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3180 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3301 # If not cross compiling, check that we can run a simple program. 3181 # If not cross compiling, check that we can run a simple program.
3302 if test "$cross_compiling" != yes; then 3182 if test "$cross_compiling" != yes; then
3303 if { ac_try='./$ac_file' 3183 if { ac_try='./$ac_file'
3304 { (case "(($ac_try" in 3184 { (case "(($ac_try" in
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;; 3186 *) ac_try_echo=$ac_try;;
3307 esac 3187 esac
3308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3309 $as_echo "$ac_try_echo") >&5
3310 (eval "$ac_try") 2>&5 3189 (eval "$ac_try") 2>&5
3311 ac_status=$? 3190 ac_status=$?
3312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then 3192 (exit $ac_status); }; }; then
3314 cross_compiling=no 3193 cross_compiling=no
3315 else 3194 else
3316 if test "$cross_compiling" = maybe; then 3195 if test "$cross_compiling" = maybe; then
3317 cross_compiling=yes 3196 cross_compiling=yes
3318 else 3197 else
3319 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3198 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3322 If you meant to cross compile, use \`--host'. 3199 If you meant to cross compile, use \`--host'.
3323 See \`config.log' for more details." >&5 3200 See \`config.log' for more details." >&5
3324 $as_echo "$as_me: error: cannot run C compiled programs. 3201 echo "$as_me: error: cannot run C compiled programs.
3325 If you meant to cross compile, use \`--host'. 3202 If you meant to cross compile, use \`--host'.
3326 See \`config.log' for more details." >&2;} 3203 See \`config.log' for more details." >&2;}
3327 { (exit 1); exit 1; }; }; } 3204 { (exit 1); exit 1; }; }
3328 fi 3205 fi
3329 fi 3206 fi
3330 fi 3207 fi
3331 { $as_echo "$as_me:$LINENO: result: yes" >&5 3208 { echo "$as_me:$LINENO: result: yes" >&5
3332 $as_echo "yes" >&6; } 3209 echo "${ECHO_T}yes" >&6; }
3333 3210
3334 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3211 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3335 ac_clean_files=$ac_clean_files_save 3212 ac_clean_files=$ac_clean_files_save
3336 # Check that the compiler produces executables we can run. If not, either 3213 # Check that the compiler produces executables we can run. If not, either
3337 # the compiler is broken, or we cross compile. 3214 # the compiler is broken, or we cross compile.
3338 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3215 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3339 $as_echo_n "checking whether we are cross compiling... " >&6; } 3216 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3340 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3217 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3341 $as_echo "$cross_compiling" >&6; } 3218 echo "${ECHO_T}$cross_compiling" >&6; }
3342 3219
3343 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3220 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3344 $as_echo_n "checking for suffix of executables... " >&6; } 3221 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3345 if { (ac_try="$ac_link" 3222 if { (ac_try="$ac_link"
3346 case "(($ac_try" in 3223 case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;; 3225 *) ac_try_echo=$ac_try;;
3349 esac 3226 esac
3350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 $as_echo "$ac_try_echo") >&5
3352 (eval "$ac_link") 2>&5 3228 (eval "$ac_link") 2>&5
3353 ac_status=$? 3229 ac_status=$?
3354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; then 3231 (exit $ac_status); }; then
3356 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3232 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3233 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3358 # work properly (i.e., refer to `conftest.exe'), while it won't with 3234 # work properly (i.e., refer to `conftest.exe'), while it won't with
3359 # `rm'. 3235 # `rm'.
3360 for ac_file in conftest.exe conftest conftest.*; do 3236 for ac_file in conftest.exe conftest conftest.*; do
3361 test -f "$ac_file" || continue 3237 test -f "$ac_file" || continue
3362 case $ac_file in 3238 case $ac_file in
3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3240 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3365 break;; 3241 break;;
3366 * ) break;; 3242 * ) break;;
3367 esac 3243 esac
3368 done 3244 done
3369 else 3245 else
3370 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3246 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3373 See \`config.log' for more details." >&5 3247 See \`config.log' for more details." >&5
3374 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3375 See \`config.log' for more details." >&2;} 3249 See \`config.log' for more details." >&2;}
3376 { (exit 1); exit 1; }; }; } 3250 { (exit 1); exit 1; }; }
3377 fi 3251 fi
3378 3252
3379 rm -f conftest$ac_cv_exeext 3253 rm -f conftest$ac_cv_exeext
3380 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3254 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3381 $as_echo "$ac_cv_exeext" >&6; } 3255 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3382 3256
3383 rm -f conftest.$ac_ext 3257 rm -f conftest.$ac_ext
3384 EXEEXT=$ac_cv_exeext 3258 EXEEXT=$ac_cv_exeext
3385 ac_exeext=$EXEEXT 3259 ac_exeext=$EXEEXT
3386 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3260 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3387 $as_echo_n "checking for suffix of object files... " >&6; } 3261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3388 if test "${ac_cv_objext+set}" = set; then 3262 if test "${ac_cv_objext+set}" = set; then
3389 $as_echo_n "(cached) " >&6 3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 else 3264 else
3391 cat >conftest.$ac_ext <<_ACEOF 3265 cat >conftest.$ac_ext <<_ACEOF
3392 /* confdefs.h. */ 3266 /* confdefs.h. */
3393 _ACEOF 3267 _ACEOF
3394 cat confdefs.h >>conftest.$ac_ext 3268 cat confdefs.h >>conftest.$ac_ext
3407 if { (ac_try="$ac_compile" 3281 if { (ac_try="$ac_compile"
3408 case "(($ac_try" in 3282 case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;; 3284 *) ac_try_echo=$ac_try;;
3411 esac 3285 esac
3412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3413 $as_echo "$ac_try_echo") >&5
3414 (eval "$ac_compile") 2>&5 3287 (eval "$ac_compile") 2>&5
3415 ac_status=$? 3288 ac_status=$?
3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; then 3290 (exit $ac_status); }; then
3418 for ac_file in conftest.o conftest.obj conftest.*; do 3291 for ac_file in conftest.o conftest.obj conftest.*; do
3419 test -f "$ac_file" || continue; 3292 test -f "$ac_file" || continue;
3420 case $ac_file in 3293 case $ac_file in
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3422 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3423 break;; 3296 break;;
3424 esac 3297 esac
3425 done 3298 done
3426 else 3299 else
3427 $as_echo "$as_me: failed program was:" >&5 3300 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.$ac_ext >&5 3301 sed 's/^/| /' conftest.$ac_ext >&5
3429 3302
3430 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3303 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3433 See \`config.log' for more details." >&5 3304 See \`config.log' for more details." >&5
3434 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3305 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3435 See \`config.log' for more details." >&2;} 3306 See \`config.log' for more details." >&2;}
3436 { (exit 1); exit 1; }; }; } 3307 { (exit 1); exit 1; }; }
3437 fi 3308 fi
3438 3309
3439 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3310 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3440 fi 3311 fi
3441 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3312 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3442 $as_echo "$ac_cv_objext" >&6; } 3313 echo "${ECHO_T}$ac_cv_objext" >&6; }
3443 OBJEXT=$ac_cv_objext 3314 OBJEXT=$ac_cv_objext
3444 ac_objext=$OBJEXT 3315 ac_objext=$OBJEXT
3445 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3446 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3317 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3447 if test "${ac_cv_c_compiler_gnu+set}" = set; then 3318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3448 $as_echo_n "(cached) " >&6 3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else 3320 else
3450 cat >conftest.$ac_ext <<_ACEOF 3321 cat >conftest.$ac_ext <<_ACEOF
3451 /* confdefs.h. */ 3322 /* confdefs.h. */
3452 _ACEOF 3323 _ACEOF
3453 cat confdefs.h >>conftest.$ac_ext 3324 cat confdefs.h >>conftest.$ac_ext
3469 if { (ac_try="$ac_compile" 3340 if { (ac_try="$ac_compile"
3470 case "(($ac_try" in 3341 case "(($ac_try" in
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;; 3343 *) ac_try_echo=$ac_try;;
3473 esac 3344 esac
3474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 $as_echo "$ac_try_echo") >&5
3476 (eval "$ac_compile") 2>conftest.er1 3346 (eval "$ac_compile") 2>conftest.er1
3477 ac_status=$? 3347 ac_status=$?
3478 grep -v '^ *+' conftest.er1 >conftest.err 3348 grep -v '^ *+' conftest.er1 >conftest.err
3479 rm -f conftest.er1 3349 rm -f conftest.er1
3480 cat conftest.err >&5 3350 cat conftest.err >&5
3481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } && { 3352 (exit $ac_status); } && {
3483 test -z "$ac_c_werror_flag" || 3353 test -z "$ac_c_werror_flag" ||
3484 test ! -s conftest.err 3354 test ! -s conftest.err
3485 } && test -s conftest.$ac_objext; then 3355 } && test -s conftest.$ac_objext; then
3486 ac_compiler_gnu=yes 3356 ac_compiler_gnu=yes
3487 else 3357 else
3488 $as_echo "$as_me: failed program was:" >&5 3358 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5 3359 sed 's/^/| /' conftest.$ac_ext >&5
3490 3360
3491 ac_compiler_gnu=no 3361 ac_compiler_gnu=no
3492 fi 3362 fi
3493 3363
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3495 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3496 3366
3497 fi 3367 fi
3498 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3368 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3499 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3500 if test $ac_compiler_gnu = yes; then 3370 GCC=`test $ac_compiler_gnu = yes && echo yes`
3501 GCC=yes
3502 else
3503 GCC=
3504 fi
3505 ac_test_CFLAGS=${CFLAGS+set} 3371 ac_test_CFLAGS=${CFLAGS+set}
3506 ac_save_CFLAGS=$CFLAGS 3372 ac_save_CFLAGS=$CFLAGS
3507 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3373 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3508 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3509 if test "${ac_cv_prog_cc_g+set}" = set; then 3375 if test "${ac_cv_prog_cc_g+set}" = set; then
3510 $as_echo_n "(cached) " >&6 3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else 3377 else
3512 ac_save_c_werror_flag=$ac_c_werror_flag 3378 ac_save_c_werror_flag=$ac_c_werror_flag
3513 ac_c_werror_flag=yes 3379 ac_c_werror_flag=yes
3514 ac_cv_prog_cc_g=no 3380 ac_cv_prog_cc_g=no
3515 CFLAGS="-g" 3381 CFLAGS="-g"
3532 if { (ac_try="$ac_compile" 3398 if { (ac_try="$ac_compile"
3533 case "(($ac_try" in 3399 case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;; 3401 *) ac_try_echo=$ac_try;;
3536 esac 3402 esac
3537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 $as_echo "$ac_try_echo") >&5
3539 (eval "$ac_compile") 2>conftest.er1 3404 (eval "$ac_compile") 2>conftest.er1
3540 ac_status=$? 3405 ac_status=$?
3541 grep -v '^ *+' conftest.er1 >conftest.err 3406 grep -v '^ *+' conftest.er1 >conftest.err
3542 rm -f conftest.er1 3407 rm -f conftest.er1
3543 cat conftest.err >&5 3408 cat conftest.err >&5
3544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } && { 3410 (exit $ac_status); } && {
3546 test -z "$ac_c_werror_flag" || 3411 test -z "$ac_c_werror_flag" ||
3547 test ! -s conftest.err 3412 test ! -s conftest.err
3548 } && test -s conftest.$ac_objext; then 3413 } && test -s conftest.$ac_objext; then
3549 ac_cv_prog_cc_g=yes 3414 ac_cv_prog_cc_g=yes
3550 else 3415 else
3551 $as_echo "$as_me: failed program was:" >&5 3416 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5 3417 sed 's/^/| /' conftest.$ac_ext >&5
3553 3418
3554 CFLAGS="" 3419 CFLAGS=""
3555 cat >conftest.$ac_ext <<_ACEOF 3420 cat >conftest.$ac_ext <<_ACEOF
3556 /* confdefs.h. */ 3421 /* confdefs.h. */
3571 if { (ac_try="$ac_compile" 3436 if { (ac_try="$ac_compile"
3572 case "(($ac_try" in 3437 case "(($ac_try" in
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;; 3439 *) ac_try_echo=$ac_try;;
3575 esac 3440 esac
3576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3577 $as_echo "$ac_try_echo") >&5
3578 (eval "$ac_compile") 2>conftest.er1 3442 (eval "$ac_compile") 2>conftest.er1
3579 ac_status=$? 3443 ac_status=$?
3580 grep -v '^ *+' conftest.er1 >conftest.err 3444 grep -v '^ *+' conftest.er1 >conftest.err
3581 rm -f conftest.er1 3445 rm -f conftest.er1
3582 cat conftest.err >&5 3446 cat conftest.err >&5
3583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } && { 3448 (exit $ac_status); } && {
3585 test -z "$ac_c_werror_flag" || 3449 test -z "$ac_c_werror_flag" ||
3586 test ! -s conftest.err 3450 test ! -s conftest.err
3587 } && test -s conftest.$ac_objext; then 3451 } && test -s conftest.$ac_objext; then
3588 : 3452 :
3589 else 3453 else
3590 $as_echo "$as_me: failed program was:" >&5 3454 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5
3592 3456
3593 ac_c_werror_flag=$ac_save_c_werror_flag 3457 ac_c_werror_flag=$ac_save_c_werror_flag
3594 CFLAGS="-g" 3458 CFLAGS="-g"
3595 cat >conftest.$ac_ext <<_ACEOF 3459 cat >conftest.$ac_ext <<_ACEOF
3611 if { (ac_try="$ac_compile" 3475 if { (ac_try="$ac_compile"
3612 case "(($ac_try" in 3476 case "(($ac_try" in
3613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614 *) ac_try_echo=$ac_try;; 3478 *) ac_try_echo=$ac_try;;
3615 esac 3479 esac
3616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3617 $as_echo "$ac_try_echo") >&5
3618 (eval "$ac_compile") 2>conftest.er1 3481 (eval "$ac_compile") 2>conftest.er1
3619 ac_status=$? 3482 ac_status=$?
3620 grep -v '^ *+' conftest.er1 >conftest.err 3483 grep -v '^ *+' conftest.er1 >conftest.err
3621 rm -f conftest.er1 3484 rm -f conftest.er1
3622 cat conftest.err >&5 3485 cat conftest.err >&5
3623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } && { 3487 (exit $ac_status); } && {
3625 test -z "$ac_c_werror_flag" || 3488 test -z "$ac_c_werror_flag" ||
3626 test ! -s conftest.err 3489 test ! -s conftest.err
3627 } && test -s conftest.$ac_objext; then 3490 } && test -s conftest.$ac_objext; then
3628 ac_cv_prog_cc_g=yes 3491 ac_cv_prog_cc_g=yes
3629 else 3492 else
3630 $as_echo "$as_me: failed program was:" >&5 3493 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.$ac_ext >&5 3494 sed 's/^/| /' conftest.$ac_ext >&5
3632 3495
3633 3496
3634 fi 3497 fi
3635 3498
3640 fi 3503 fi
3641 3504
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 ac_c_werror_flag=$ac_save_c_werror_flag 3506 ac_c_werror_flag=$ac_save_c_werror_flag
3644 fi 3507 fi
3645 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3646 $as_echo "$ac_cv_prog_cc_g" >&6; } 3509 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3647 if test "$ac_test_CFLAGS" = set; then 3510 if test "$ac_test_CFLAGS" = set; then
3648 CFLAGS=$ac_save_CFLAGS 3511 CFLAGS=$ac_save_CFLAGS
3649 elif test $ac_cv_prog_cc_g = yes; then 3512 elif test $ac_cv_prog_cc_g = yes; then
3650 if test "$GCC" = yes; then 3513 if test "$GCC" = yes; then
3651 CFLAGS="-g -O2" 3514 CFLAGS="-g -O2"
3657 CFLAGS="-O2" 3520 CFLAGS="-O2"
3658 else 3521 else
3659 CFLAGS= 3522 CFLAGS=
3660 fi 3523 fi
3661 fi 3524 fi
3662 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3525 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3526 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3664 if test "${ac_cv_prog_cc_c89+set}" = set; then 3527 if test "${ac_cv_prog_cc_c89+set}" = set; then
3665 $as_echo_n "(cached) " >&6 3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 else 3529 else
3667 ac_cv_prog_cc_c89=no 3530 ac_cv_prog_cc_c89=no
3668 ac_save_CC=$CC 3531 ac_save_CC=$CC
3669 cat >conftest.$ac_ext <<_ACEOF 3532 cat >conftest.$ac_ext <<_ACEOF
3670 /* confdefs.h. */ 3533 /* confdefs.h. */
3731 if { (ac_try="$ac_compile" 3594 if { (ac_try="$ac_compile"
3732 case "(($ac_try" in 3595 case "(($ac_try" in
3733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734 *) ac_try_echo=$ac_try;; 3597 *) ac_try_echo=$ac_try;;
3735 esac 3598 esac
3736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3737 $as_echo "$ac_try_echo") >&5
3738 (eval "$ac_compile") 2>conftest.er1 3600 (eval "$ac_compile") 2>conftest.er1
3739 ac_status=$? 3601 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err 3602 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1 3603 rm -f conftest.er1
3742 cat conftest.err >&5 3604 cat conftest.err >&5
3743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } && { 3606 (exit $ac_status); } && {
3745 test -z "$ac_c_werror_flag" || 3607 test -z "$ac_c_werror_flag" ||
3746 test ! -s conftest.err 3608 test ! -s conftest.err
3747 } && test -s conftest.$ac_objext; then 3609 } && test -s conftest.$ac_objext; then
3748 ac_cv_prog_cc_c89=$ac_arg 3610 ac_cv_prog_cc_c89=$ac_arg
3749 else 3611 else
3750 $as_echo "$as_me: failed program was:" >&5 3612 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.$ac_ext >&5 3613 sed 's/^/| /' conftest.$ac_ext >&5
3752 3614
3753 3615
3754 fi 3616 fi
3755 3617
3761 3623
3762 fi 3624 fi
3763 # AC_CACHE_VAL 3625 # AC_CACHE_VAL
3764 case "x$ac_cv_prog_cc_c89" in 3626 case "x$ac_cv_prog_cc_c89" in
3765 x) 3627 x)
3766 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3628 { echo "$as_me:$LINENO: result: none needed" >&5
3767 $as_echo "none needed" >&6; } ;; 3629 echo "${ECHO_T}none needed" >&6; } ;;
3768 xno) 3630 xno)
3769 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3631 { echo "$as_me:$LINENO: result: unsupported" >&5
3770 $as_echo "unsupported" >&6; } ;; 3632 echo "${ECHO_T}unsupported" >&6; } ;;
3771 *) 3633 *)
3772 CC="$CC $ac_cv_prog_cc_c89" 3634 CC="$CC $ac_cv_prog_cc_c89"
3773 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3635 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3774 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3636 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3775 esac 3637 esac
3776 3638
3777 3639
3778 ac_ext=c 3640 ac_ext=c
3779 ac_cpp='$CPP $CPPFLAGS' 3641 ac_cpp='$CPP $CPPFLAGS'
3789 3651
3790 ## If not using gcc, and on Solaris, and no CPP specified, see if 3652 ## If not using gcc, and on Solaris, and no CPP specified, see if
3791 ## using a Sun compiler, which needs -Xs to prevent whitespace. 3653 ## using a Sun compiler, which needs -Xs to prevent whitespace.
3792 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ 3654 if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \
3793 test x"$CPP" = x; then 3655 test x"$CPP" = x; then
3794 { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 3656 { echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5
3795 $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } 3657 echo $ECHO_N "checking whether we are using a Sun C compiler... $ECHO_C" >&6; }
3796 3658
3797 if test "${emacs_cv_sunpro_c+set}" = set; then 3659 if test "${emacs_cv_sunpro_c+set}" = set; then
3798 $as_echo_n "(cached) " >&6 3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 else 3661 else
3800 cat >conftest.$ac_ext <<_ACEOF 3662 cat >conftest.$ac_ext <<_ACEOF
3801 /* confdefs.h. */ 3663 /* confdefs.h. */
3802 _ACEOF 3664 _ACEOF
3803 cat confdefs.h >>conftest.$ac_ext 3665 cat confdefs.h >>conftest.$ac_ext
3819 if { (ac_try="$ac_link" 3681 if { (ac_try="$ac_link"
3820 case "(($ac_try" in 3682 case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;; 3684 *) ac_try_echo=$ac_try;;
3823 esac 3685 esac
3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825 $as_echo "$ac_try_echo") >&5
3826 (eval "$ac_link") 2>conftest.er1 3687 (eval "$ac_link") 2>conftest.er1
3827 ac_status=$? 3688 ac_status=$?
3828 grep -v '^ *+' conftest.er1 >conftest.err 3689 grep -v '^ *+' conftest.er1 >conftest.err
3829 rm -f conftest.er1 3690 rm -f conftest.er1
3830 cat conftest.err >&5 3691 cat conftest.err >&5
3831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } && { 3693 (exit $ac_status); } && {
3833 test -z "$ac_c_werror_flag" || 3694 test -z "$ac_c_werror_flag" ||
3834 test ! -s conftest.err 3695 test ! -s conftest.err
3835 } && test -s conftest$ac_exeext && { 3696 } && test -s conftest$ac_exeext &&
3836 test "$cross_compiling" = yes || 3697 $as_test_x conftest$ac_exeext; then
3837 $as_test_x conftest$ac_exeext
3838 }; then
3839 emacs_cv_sunpro_c=yes 3698 emacs_cv_sunpro_c=yes
3840 else 3699 else
3841 $as_echo "$as_me: failed program was:" >&5 3700 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.$ac_ext >&5 3701 sed 's/^/| /' conftest.$ac_ext >&5
3843 3702
3844 emacs_cv_sunpro_c=no 3703 emacs_cv_sunpro_c=no
3845 fi 3704 fi
3846 3705
3847 rm -rf conftest.dSYM
3848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3849 conftest$ac_exeext conftest.$ac_ext 3707 conftest$ac_exeext conftest.$ac_ext
3850 fi 3708 fi
3851 3709
3852 { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 3710 { echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5
3853 $as_echo "$emacs_cv_sunpro_c" >&6; } 3711 echo "${ECHO_T}$emacs_cv_sunpro_c" >&6; }
3854 3712
3855 if test x"$emacs_cv_sunpro_c" = xyes; then 3713 if test x"$emacs_cv_sunpro_c" = xyes; then
3856 NON_GNU_CPP="$CC -E -Xs" 3714 NON_GNU_CPP="$CC -E -Xs"
3857 fi 3715 fi
3858 fi 3716 fi
3882 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x 3740 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
3883 then 3741 then
3884 CC="$CC $NON_GCC_TEST_OPTIONS" 3742 CC="$CC $NON_GCC_TEST_OPTIONS"
3885 fi 3743 fi
3886 3744
3745
3746 cat >>confdefs.h <<\_ACEOF
3747 #define _GNU_SOURCE 1
3748 _ACEOF
3749
3750
3887 ac_ext=c 3751 ac_ext=c
3888 ac_cpp='$CPP $CPPFLAGS' 3752 ac_cpp='$CPP $CPPFLAGS'
3889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3891 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3756 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3893 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3757 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3894 # On Suns, sometimes $CPP names a directory. 3758 # On Suns, sometimes $CPP names a directory.
3895 if test -n "$CPP" && test -d "$CPP"; then 3759 if test -n "$CPP" && test -d "$CPP"; then
3896 CPP= 3760 CPP=
3897 fi 3761 fi
3898 if test -z "$CPP"; then 3762 if test -z "$CPP"; then
3899 if test "${ac_cv_prog_CPP+set}" = set; then 3763 if test "${ac_cv_prog_CPP+set}" = set; then
3900 $as_echo_n "(cached) " >&6 3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 else 3765 else
3902 # Double quotes because CPP needs to be expanded 3766 # Double quotes because CPP needs to be expanded
3903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3767 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3904 do 3768 do
3905 ac_preproc_ok=false 3769 ac_preproc_ok=false
3927 if { (ac_try="$ac_cpp conftest.$ac_ext" 3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3928 case "(($ac_try" in 3792 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;; 3794 *) ac_try_echo=$ac_try;;
3931 esac 3795 esac
3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3933 $as_echo "$ac_try_echo") >&5
3934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3935 ac_status=$? 3798 ac_status=$?
3936 grep -v '^ *+' conftest.er1 >conftest.err 3799 grep -v '^ *+' conftest.er1 >conftest.err
3937 rm -f conftest.er1 3800 rm -f conftest.er1
3938 cat conftest.err >&5 3801 cat conftest.err >&5
3939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } >/dev/null && { 3803 (exit $ac_status); } >/dev/null && {
3941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3942 test ! -s conftest.err 3805 test ! -s conftest.err
3943 }; then 3806 }; then
3944 : 3807 :
3945 else 3808 else
3946 $as_echo "$as_me: failed program was:" >&5 3809 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5 3810 sed 's/^/| /' conftest.$ac_ext >&5
3948 3811
3949 # Broken: fails on valid input. 3812 # Broken: fails on valid input.
3950 continue 3813 continue
3951 fi 3814 fi
3965 if { (ac_try="$ac_cpp conftest.$ac_ext" 3828 if { (ac_try="$ac_cpp conftest.$ac_ext"
3966 case "(($ac_try" in 3829 case "(($ac_try" in
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;; 3831 *) ac_try_echo=$ac_try;;
3969 esac 3832 esac
3970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3971 $as_echo "$ac_try_echo") >&5
3972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3973 ac_status=$? 3835 ac_status=$?
3974 grep -v '^ *+' conftest.er1 >conftest.err 3836 grep -v '^ *+' conftest.er1 >conftest.err
3975 rm -f conftest.er1 3837 rm -f conftest.er1
3976 cat conftest.err >&5 3838 cat conftest.err >&5
3977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } >/dev/null && { 3840 (exit $ac_status); } >/dev/null && {
3979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3980 test ! -s conftest.err 3842 test ! -s conftest.err
3981 }; then 3843 }; then
3982 # Broken: success on invalid input. 3844 # Broken: success on invalid input.
3983 continue 3845 continue
3984 else 3846 else
3985 $as_echo "$as_me: failed program was:" >&5 3847 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5 3848 sed 's/^/| /' conftest.$ac_ext >&5
3987 3849
3988 # Passes both tests. 3850 # Passes both tests.
3989 ac_preproc_ok=: 3851 ac_preproc_ok=:
3990 break 3852 break
4005 fi 3867 fi
4006 CPP=$ac_cv_prog_CPP 3868 CPP=$ac_cv_prog_CPP
4007 else 3869 else
4008 ac_cv_prog_CPP=$CPP 3870 ac_cv_prog_CPP=$CPP
4009 fi 3871 fi
4010 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 3872 { echo "$as_me:$LINENO: result: $CPP" >&5
4011 $as_echo "$CPP" >&6; } 3873 echo "${ECHO_T}$CPP" >&6; }
4012 ac_preproc_ok=false 3874 ac_preproc_ok=false
4013 for ac_c_preproc_warn_flag in '' yes 3875 for ac_c_preproc_warn_flag in '' yes
4014 do 3876 do
4015 # Use a header file that comes with gcc, so configuring glibc 3877 # Use a header file that comes with gcc, so configuring glibc
4016 # with a fresh cross-compiler works. 3878 # with a fresh cross-compiler works.
4034 if { (ac_try="$ac_cpp conftest.$ac_ext" 3896 if { (ac_try="$ac_cpp conftest.$ac_ext"
4035 case "(($ac_try" in 3897 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;; 3899 *) ac_try_echo=$ac_try;;
4038 esac 3900 esac
4039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040 $as_echo "$ac_try_echo") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 ac_status=$? 3903 ac_status=$?
4043 grep -v '^ *+' conftest.er1 >conftest.err 3904 grep -v '^ *+' conftest.er1 >conftest.err
4044 rm -f conftest.er1 3905 rm -f conftest.er1
4045 cat conftest.err >&5 3906 cat conftest.err >&5
4046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && { 3908 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err 3910 test ! -s conftest.err
4050 }; then 3911 }; then
4051 : 3912 :
4052 else 3913 else
4053 $as_echo "$as_me: failed program was:" >&5 3914 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5 3915 sed 's/^/| /' conftest.$ac_ext >&5
4055 3916
4056 # Broken: fails on valid input. 3917 # Broken: fails on valid input.
4057 continue 3918 continue
4058 fi 3919 fi
4072 if { (ac_try="$ac_cpp conftest.$ac_ext" 3933 if { (ac_try="$ac_cpp conftest.$ac_ext"
4073 case "(($ac_try" in 3934 case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;; 3936 *) ac_try_echo=$ac_try;;
4076 esac 3937 esac
4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 $as_echo "$ac_try_echo") >&5
4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4080 ac_status=$? 3940 ac_status=$?
4081 grep -v '^ *+' conftest.er1 >conftest.err 3941 grep -v '^ *+' conftest.er1 >conftest.err
4082 rm -f conftest.er1 3942 rm -f conftest.er1
4083 cat conftest.err >&5 3943 cat conftest.err >&5
4084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } >/dev/null && { 3945 (exit $ac_status); } >/dev/null && {
4086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4087 test ! -s conftest.err 3947 test ! -s conftest.err
4088 }; then 3948 }; then
4089 # Broken: success on invalid input. 3949 # Broken: success on invalid input.
4090 continue 3950 continue
4091 else 3951 else
4092 $as_echo "$as_me: failed program was:" >&5 3952 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5 3953 sed 's/^/| /' conftest.$ac_ext >&5
4094 3954
4095 # Passes both tests. 3955 # Passes both tests.
4096 ac_preproc_ok=: 3956 ac_preproc_ok=:
4097 break 3957 break
4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4104 rm -f conftest.err conftest.$ac_ext 3964 rm -f conftest.err conftest.$ac_ext
4105 if $ac_preproc_ok; then 3965 if $ac_preproc_ok; then
4106 : 3966 :
4107 else 3967 else
4108 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3968 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4111 See \`config.log' for more details." >&5 3969 See \`config.log' for more details." >&5
4112 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3970 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4113 See \`config.log' for more details." >&2;} 3971 See \`config.log' for more details." >&2;}
4114 { (exit 1); exit 1; }; }; } 3972 { (exit 1); exit 1; }; }
4115 fi 3973 fi
4116 3974
4117 ac_ext=c 3975 ac_ext=c
4118 ac_cpp='$CPP $CPPFLAGS' 3976 ac_cpp='$CPP $CPPFLAGS'
4119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4121 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4122 3980
4123 3981
4124 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3982 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4125 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3983 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4126 if test "${ac_cv_path_GREP+set}" = set; then 3984 if test "${ac_cv_path_GREP+set}" = set; then
4127 $as_echo_n "(cached) " >&6 3985 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else 3986 else
4129 if test -z "$GREP"; then 3987 # Extract the first word of "grep ggrep" to use in msg output
3988 if test -z "$GREP"; then
3989 set dummy grep ggrep; ac_prog_name=$2
3990 if test "${ac_cv_path_GREP+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 else
4130 ac_path_GREP_found=false 3993 ac_path_GREP_found=false
4131 # Loop through the user's path and test for each of PROGNAME-LIST 3994 # Loop through the user's path and test for each of PROGNAME-LIST
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4134 do 3997 do
4135 IFS=$as_save_IFS 3998 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=. 3999 test -z "$as_dir" && as_dir=.
4137 for ac_prog in grep ggrep; do 4000 for ac_prog in grep ggrep; do
4138 for ac_exec_ext in '' $ac_executable_extensions; do 4001 for ac_exec_ext in '' $ac_executable_extensions; do
4139 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4002 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4140 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4003 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4141 # Check for GNU ac_path_GREP and select it if it is found. 4004 # Check for GNU ac_path_GREP and select it if it is found.
4142 # Check for GNU $ac_path_GREP 4005 # Check for GNU $ac_path_GREP
4143 case `"$ac_path_GREP" --version 2>&1` in 4006 case `"$ac_path_GREP" --version 2>&1` in
4144 *GNU*) 4007 *GNU*)
4145 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4008 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4146 *) 4009 *)
4147 ac_count=0 4010 ac_count=0
4148 $as_echo_n 0123456789 >"conftest.in" 4011 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4149 while : 4012 while :
4150 do 4013 do
4151 cat "conftest.in" "conftest.in" >"conftest.tmp" 4014 cat "conftest.in" "conftest.in" >"conftest.tmp"
4152 mv "conftest.tmp" "conftest.in" 4015 mv "conftest.tmp" "conftest.in"
4153 cp "conftest.in" "conftest.nl" 4016 cp "conftest.in" "conftest.nl"
4154 $as_echo 'GREP' >> "conftest.nl" 4017 echo 'GREP' >> "conftest.nl"
4155 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4018 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4157 ac_count=`expr $ac_count + 1` 4020 ac_count=`expr $ac_count + 1`
4158 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4021 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4159 # Best one so far, save it but keep looking for a better one 4022 # Best one so far, save it but keep looking for a better one
4164 test $ac_count -gt 10 && break 4027 test $ac_count -gt 10 && break
4165 done 4028 done
4166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4167 esac 4030 esac
4168 4031
4169 $ac_path_GREP_found && break 3 4032
4170 done 4033 $ac_path_GREP_found && break 3
4171 done 4034 done
4172 done 4035 done
4036
4037 done
4173 IFS=$as_save_IFS 4038 IFS=$as_save_IFS
4174 if test -z "$ac_cv_path_GREP"; then 4039
4175 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4040
4176 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4041 fi
4042
4043 GREP="$ac_cv_path_GREP"
4044 if test -z "$GREP"; then
4045 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4046 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4177 { (exit 1); exit 1; }; } 4047 { (exit 1); exit 1; }; }
4178 fi 4048 fi
4049
4179 else 4050 else
4180 ac_cv_path_GREP=$GREP 4051 ac_cv_path_GREP=$GREP
4181 fi 4052 fi
4182 4053
4183 fi 4054
4184 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4055 fi
4185 $as_echo "$ac_cv_path_GREP" >&6; } 4056 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4057 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4186 GREP="$ac_cv_path_GREP" 4058 GREP="$ac_cv_path_GREP"
4187 4059
4188 4060
4189 { $as_echo "$as_me:$LINENO: checking for egrep" >&5 4061 { echo "$as_me:$LINENO: checking for egrep" >&5
4190 $as_echo_n "checking for egrep... " >&6; } 4062 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4191 if test "${ac_cv_path_EGREP+set}" = set; then 4063 if test "${ac_cv_path_EGREP+set}" = set; then
4192 $as_echo_n "(cached) " >&6 4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 else 4065 else
4194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4066 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4195 then ac_cv_path_EGREP="$GREP -E" 4067 then ac_cv_path_EGREP="$GREP -E"
4196 else 4068 else
4197 if test -z "$EGREP"; then 4069 # Extract the first word of "egrep" to use in msg output
4070 if test -z "$EGREP"; then
4071 set dummy egrep; ac_prog_name=$2
4072 if test "${ac_cv_path_EGREP+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 else
4198 ac_path_EGREP_found=false 4075 ac_path_EGREP_found=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST 4076 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4078 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4202 do 4079 do
4203 IFS=$as_save_IFS 4080 IFS=$as_save_IFS
4204 test -z "$as_dir" && as_dir=. 4081 test -z "$as_dir" && as_dir=.
4205 for ac_prog in egrep; do 4082 for ac_prog in egrep; do
4206 for ac_exec_ext in '' $ac_executable_extensions; do 4083 for ac_exec_ext in '' $ac_executable_extensions; do
4207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4084 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4208 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4085 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4209 # Check for GNU ac_path_EGREP and select it if it is found. 4086 # Check for GNU ac_path_EGREP and select it if it is found.
4210 # Check for GNU $ac_path_EGREP 4087 # Check for GNU $ac_path_EGREP
4211 case `"$ac_path_EGREP" --version 2>&1` in 4088 case `"$ac_path_EGREP" --version 2>&1` in
4212 *GNU*) 4089 *GNU*)
4213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4090 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4214 *) 4091 *)
4215 ac_count=0 4092 ac_count=0
4216 $as_echo_n 0123456789 >"conftest.in" 4093 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4217 while : 4094 while :
4218 do 4095 do
4219 cat "conftest.in" "conftest.in" >"conftest.tmp" 4096 cat "conftest.in" "conftest.in" >"conftest.tmp"
4220 mv "conftest.tmp" "conftest.in" 4097 mv "conftest.tmp" "conftest.in"
4221 cp "conftest.in" "conftest.nl" 4098 cp "conftest.in" "conftest.nl"
4222 $as_echo 'EGREP' >> "conftest.nl" 4099 echo 'EGREP' >> "conftest.nl"
4223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4100 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4101 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4225 ac_count=`expr $ac_count + 1` 4102 ac_count=`expr $ac_count + 1`
4226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4103 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4227 # Best one so far, save it but keep looking for a better one 4104 # Best one so far, save it but keep looking for a better one
4232 test $ac_count -gt 10 && break 4109 test $ac_count -gt 10 && break
4233 done 4110 done
4234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4111 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4235 esac 4112 esac
4236 4113
4237 $ac_path_EGREP_found && break 3 4114
4238 done 4115 $ac_path_EGREP_found && break 3
4239 done 4116 done
4240 done 4117 done
4118
4119 done
4241 IFS=$as_save_IFS 4120 IFS=$as_save_IFS
4242 if test -z "$ac_cv_path_EGREP"; then 4121
4243 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4122
4244 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4123 fi
4124
4125 EGREP="$ac_cv_path_EGREP"
4126 if test -z "$EGREP"; then
4127 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4128 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4245 { (exit 1); exit 1; }; } 4129 { (exit 1); exit 1; }; }
4246 fi 4130 fi
4131
4247 else 4132 else
4248 ac_cv_path_EGREP=$EGREP 4133 ac_cv_path_EGREP=$EGREP
4249 fi 4134 fi
4250 4135
4136
4251 fi 4137 fi
4252 fi 4138 fi
4253 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4139 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4254 $as_echo "$ac_cv_path_EGREP" >&6; } 4140 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4255 EGREP="$ac_cv_path_EGREP" 4141 EGREP="$ac_cv_path_EGREP"
4256 4142
4257 4143
4258 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4144
4259 $as_echo_n "checking for ANSI C header files... " >&6; } 4145 { echo "$as_me:$LINENO: checking for AIX" >&5
4146 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4147 cat >conftest.$ac_ext <<_ACEOF
4148 /* confdefs.h. */
4149 _ACEOF
4150 cat confdefs.h >>conftest.$ac_ext
4151 cat >>conftest.$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4153 #ifdef _AIX
4154 yes
4155 #endif
4156
4157 _ACEOF
4158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4159 $EGREP "yes" >/dev/null 2>&1; then
4160 { echo "$as_me:$LINENO: result: yes" >&5
4161 echo "${ECHO_T}yes" >&6; }
4162 cat >>confdefs.h <<\_ACEOF
4163 #define _ALL_SOURCE 1
4164 _ACEOF
4165
4166 else
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4169 fi
4170 rm -f conftest*
4171
4172
4173 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4174 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4260 if test "${ac_cv_header_stdc+set}" = set; then 4175 if test "${ac_cv_header_stdc+set}" = set; then
4261 $as_echo_n "(cached) " >&6 4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 else 4177 else
4263 cat >conftest.$ac_ext <<_ACEOF 4178 cat >conftest.$ac_ext <<_ACEOF
4264 /* confdefs.h. */ 4179 /* confdefs.h. */
4265 _ACEOF 4180 _ACEOF
4266 cat confdefs.h >>conftest.$ac_ext 4181 cat confdefs.h >>conftest.$ac_ext
4283 if { (ac_try="$ac_compile" 4198 if { (ac_try="$ac_compile"
4284 case "(($ac_try" in 4199 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;; 4201 *) ac_try_echo=$ac_try;;
4287 esac 4202 esac
4288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 $as_echo "$ac_try_echo") >&5
4290 (eval "$ac_compile") 2>conftest.er1 4204 (eval "$ac_compile") 2>conftest.er1
4291 ac_status=$? 4205 ac_status=$?
4292 grep -v '^ *+' conftest.er1 >conftest.err 4206 grep -v '^ *+' conftest.er1 >conftest.err
4293 rm -f conftest.er1 4207 rm -f conftest.er1
4294 cat conftest.err >&5 4208 cat conftest.err >&5
4295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && { 4210 (exit $ac_status); } && {
4297 test -z "$ac_c_werror_flag" || 4211 test -z "$ac_c_werror_flag" ||
4298 test ! -s conftest.err 4212 test ! -s conftest.err
4299 } && test -s conftest.$ac_objext; then 4213 } && test -s conftest.$ac_objext; then
4300 ac_cv_header_stdc=yes 4214 ac_cv_header_stdc=yes
4301 else 4215 else
4302 $as_echo "$as_me: failed program was:" >&5 4216 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5 4217 sed 's/^/| /' conftest.$ac_ext >&5
4304 4218
4305 ac_cv_header_stdc=no 4219 ac_cv_header_stdc=no
4306 fi 4220 fi
4307 4221
4389 if { (ac_try="$ac_link" 4303 if { (ac_try="$ac_link"
4390 case "(($ac_try" in 4304 case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;; 4306 *) ac_try_echo=$ac_try;;
4393 esac 4307 esac
4394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 $as_echo "$ac_try_echo") >&5
4396 (eval "$ac_link") 2>&5 4309 (eval "$ac_link") 2>&5
4397 ac_status=$? 4310 ac_status=$?
4398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4400 { (case "(($ac_try" in 4313 { (case "(($ac_try" in
4401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4402 *) ac_try_echo=$ac_try;; 4315 *) ac_try_echo=$ac_try;;
4403 esac 4316 esac
4404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4405 $as_echo "$ac_try_echo") >&5
4406 (eval "$ac_try") 2>&5 4318 (eval "$ac_try") 2>&5
4407 ac_status=$? 4319 ac_status=$?
4408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; }; then 4321 (exit $ac_status); }; }; then
4410 : 4322 :
4411 else 4323 else
4412 $as_echo "$as_me: program exited with status $ac_status" >&5 4324 echo "$as_me: program exited with status $ac_status" >&5
4413 $as_echo "$as_me: failed program was:" >&5 4325 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5 4326 sed 's/^/| /' conftest.$ac_ext >&5
4415 4327
4416 ( exit $ac_status ) 4328 ( exit $ac_status )
4417 ac_cv_header_stdc=no 4329 ac_cv_header_stdc=no
4418 fi 4330 fi
4419 rm -rf conftest.dSYM
4420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4421 fi 4332 fi
4422 4333
4423 4334
4424 fi 4335 fi
4425 fi 4336 fi
4426 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4337 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4427 $as_echo "$ac_cv_header_stdc" >&6; } 4338 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4428 if test $ac_cv_header_stdc = yes; then 4339 if test $ac_cv_header_stdc = yes; then
4429 4340
4430 cat >>confdefs.h <<\_ACEOF 4341 cat >>confdefs.h <<\_ACEOF
4431 #define STDC_HEADERS 1 4342 #define STDC_HEADERS 1
4432 _ACEOF 4343 _ACEOF
4444 4355
4445 4356
4446 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4357 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4447 inttypes.h stdint.h unistd.h 4358 inttypes.h stdint.h unistd.h
4448 do 4359 do
4449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4451 $as_echo_n "checking for $ac_header... " >&6; } 4362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4453 $as_echo_n "(cached) " >&6 4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 else 4365 else
4455 cat >conftest.$ac_ext <<_ACEOF 4366 cat >conftest.$ac_ext <<_ACEOF
4456 /* confdefs.h. */ 4367 /* confdefs.h. */
4457 _ACEOF 4368 _ACEOF
4458 cat confdefs.h >>conftest.$ac_ext 4369 cat confdefs.h >>conftest.$ac_ext
4466 if { (ac_try="$ac_compile" 4377 if { (ac_try="$ac_compile"
4467 case "(($ac_try" in 4378 case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;; 4380 *) ac_try_echo=$ac_try;;
4470 esac 4381 esac
4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472 $as_echo "$ac_try_echo") >&5
4473 (eval "$ac_compile") 2>conftest.er1 4383 (eval "$ac_compile") 2>conftest.er1
4474 ac_status=$? 4384 ac_status=$?
4475 grep -v '^ *+' conftest.er1 >conftest.err 4385 grep -v '^ *+' conftest.er1 >conftest.err
4476 rm -f conftest.er1 4386 rm -f conftest.er1
4477 cat conftest.err >&5 4387 cat conftest.err >&5
4478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } && { 4389 (exit $ac_status); } && {
4480 test -z "$ac_c_werror_flag" || 4390 test -z "$ac_c_werror_flag" ||
4481 test ! -s conftest.err 4391 test ! -s conftest.err
4482 } && test -s conftest.$ac_objext; then 4392 } && test -s conftest.$ac_objext; then
4483 eval "$as_ac_Header=yes" 4393 eval "$as_ac_Header=yes"
4484 else 4394 else
4485 $as_echo "$as_me: failed program was:" >&5 4395 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5 4396 sed 's/^/| /' conftest.$ac_ext >&5
4487 4397
4488 eval "$as_ac_Header=no" 4398 eval "$as_ac_Header=no"
4489 fi 4399 fi
4490 4400
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 fi 4402 fi
4493 ac_res=`eval 'as_val=${'$as_ac_Header'} 4403 ac_res=`eval echo '${'$as_ac_Header'}'`
4494 $as_echo "$as_val"'` 4404 { echo "$as_me:$LINENO: result: $ac_res" >&5
4495 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4405 echo "${ECHO_T}$ac_res" >&6; }
4496 $as_echo "$ac_res" >&6; } 4406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4497 as_val=`eval 'as_val=${'$as_ac_Header'}
4498 $as_echo "$as_val"'`
4499 if test "x$as_val" = x""yes; then
4500 cat >>confdefs.h <<_ACEOF 4407 cat >>confdefs.h <<_ACEOF
4501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4502 _ACEOF 4409 _ACEOF
4503 4410
4504 fi 4411 fi
4505 4412
4506 done 4413 done
4507 4414
4508 4415
4509
4510 if test "${ac_cv_header_minix_config_h+set}" = set; then
4511 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4512 $as_echo_n "checking for minix/config.h... " >&6; }
4513 if test "${ac_cv_header_minix_config_h+set}" = set; then 4416 if test "${ac_cv_header_minix_config_h+set}" = set; then
4514 $as_echo_n "(cached) " >&6 4417 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4515 fi 4418 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4516 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4419 if test "${ac_cv_header_minix_config_h+set}" = set; then
4517 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 fi
4422 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4423 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4518 else 4424 else
4519 # Is the header compilable? 4425 # Is the header compilable?
4520 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4426 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4521 $as_echo_n "checking minix/config.h usability... " >&6; } 4427 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4522 cat >conftest.$ac_ext <<_ACEOF 4428 cat >conftest.$ac_ext <<_ACEOF
4523 /* confdefs.h. */ 4429 /* confdefs.h. */
4524 _ACEOF 4430 _ACEOF
4525 cat confdefs.h >>conftest.$ac_ext 4431 cat confdefs.h >>conftest.$ac_ext
4526 cat >>conftest.$ac_ext <<_ACEOF 4432 cat >>conftest.$ac_ext <<_ACEOF
4532 if { (ac_try="$ac_compile" 4438 if { (ac_try="$ac_compile"
4533 case "(($ac_try" in 4439 case "(($ac_try" in
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;; 4441 *) ac_try_echo=$ac_try;;
4536 esac 4442 esac
4537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4538 $as_echo "$ac_try_echo") >&5
4539 (eval "$ac_compile") 2>conftest.er1 4444 (eval "$ac_compile") 2>conftest.er1
4540 ac_status=$? 4445 ac_status=$?
4541 grep -v '^ *+' conftest.er1 >conftest.err 4446 grep -v '^ *+' conftest.er1 >conftest.err
4542 rm -f conftest.er1 4447 rm -f conftest.er1
4543 cat conftest.err >&5 4448 cat conftest.err >&5
4544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); } && { 4450 (exit $ac_status); } && {
4546 test -z "$ac_c_werror_flag" || 4451 test -z "$ac_c_werror_flag" ||
4547 test ! -s conftest.err 4452 test ! -s conftest.err
4548 } && test -s conftest.$ac_objext; then 4453 } && test -s conftest.$ac_objext; then
4549 ac_header_compiler=yes 4454 ac_header_compiler=yes
4550 else 4455 else
4551 $as_echo "$as_me: failed program was:" >&5 4456 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5 4457 sed 's/^/| /' conftest.$ac_ext >&5
4553 4458
4554 ac_header_compiler=no 4459 ac_header_compiler=no
4555 fi 4460 fi
4556 4461
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4463 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4559 $as_echo "$ac_header_compiler" >&6; } 4464 echo "${ECHO_T}$ac_header_compiler" >&6; }
4560 4465
4561 # Is the header present? 4466 # Is the header present?
4562 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4467 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4563 $as_echo_n "checking minix/config.h presence... " >&6; } 4468 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4564 cat >conftest.$ac_ext <<_ACEOF 4469 cat >conftest.$ac_ext <<_ACEOF
4565 /* confdefs.h. */ 4470 /* confdefs.h. */
4566 _ACEOF 4471 _ACEOF
4567 cat confdefs.h >>conftest.$ac_ext 4472 cat confdefs.h >>conftest.$ac_ext
4568 cat >>conftest.$ac_ext <<_ACEOF 4473 cat >>conftest.$ac_ext <<_ACEOF
4572 if { (ac_try="$ac_cpp conftest.$ac_ext" 4477 if { (ac_try="$ac_cpp conftest.$ac_ext"
4573 case "(($ac_try" in 4478 case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;; 4480 *) ac_try_echo=$ac_try;;
4576 esac 4481 esac
4577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 $as_echo "$ac_try_echo") >&5
4579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4580 ac_status=$? 4484 ac_status=$?
4581 grep -v '^ *+' conftest.er1 >conftest.err 4485 grep -v '^ *+' conftest.er1 >conftest.err
4582 rm -f conftest.er1 4486 rm -f conftest.er1
4583 cat conftest.err >&5 4487 cat conftest.err >&5
4584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } >/dev/null && { 4489 (exit $ac_status); } >/dev/null && {
4586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4587 test ! -s conftest.err 4491 test ! -s conftest.err
4588 }; then 4492 }; then
4589 ac_header_preproc=yes 4493 ac_header_preproc=yes
4590 else 4494 else
4591 $as_echo "$as_me: failed program was:" >&5 4495 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.$ac_ext >&5 4496 sed 's/^/| /' conftest.$ac_ext >&5
4593 4497
4594 ac_header_preproc=no 4498 ac_header_preproc=no
4595 fi 4499 fi
4596 4500
4597 rm -f conftest.err conftest.$ac_ext 4501 rm -f conftest.err conftest.$ac_ext
4598 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4502 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4599 $as_echo "$ac_header_preproc" >&6; } 4503 echo "${ECHO_T}$ac_header_preproc" >&6; }
4600 4504
4601 # So? What about this header? 4505 # So? What about this header?
4602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4603 yes:no: ) 4507 yes:no: )
4604 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4508 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4605 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4509 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4606 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4510 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4607 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4511 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4608 ac_header_preproc=yes 4512 ac_header_preproc=yes
4609 ;; 4513 ;;
4610 no:yes:* ) 4514 no:yes:* )
4611 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4515 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4612 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4516 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4613 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4517 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4614 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4518 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4615 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4519 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4616 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4520 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4617 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4521 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4618 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4522 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4619 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4523 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4620 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4524 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4621 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4525 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4622 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4526 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4623 4527
4624 ;; 4528 ;;
4625 esac 4529 esac
4626 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 4530 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4627 $as_echo_n "checking for minix/config.h... " >&6; } 4531 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4628 if test "${ac_cv_header_minix_config_h+set}" = set; then 4532 if test "${ac_cv_header_minix_config_h+set}" = set; then
4629 $as_echo_n "(cached) " >&6 4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 else 4534 else
4631 ac_cv_header_minix_config_h=$ac_header_preproc 4535 ac_cv_header_minix_config_h=$ac_header_preproc
4632 fi 4536 fi
4633 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4537 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4634 $as_echo "$ac_cv_header_minix_config_h" >&6; } 4538 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4635 4539
4636 fi 4540 fi
4637 if test "x$ac_cv_header_minix_config_h" = x""yes; then 4541 if test $ac_cv_header_minix_config_h = yes; then
4638 MINIX=yes 4542 MINIX=yes
4639 else 4543 else
4640 MINIX= 4544 MINIX=
4641 fi 4545 fi
4642 4546
4643 4547
4644 if test "$MINIX" = yes; then 4548 if test "$MINIX" = yes; then
4645 4549
4646 cat >>confdefs.h <<\_ACEOF 4550 cat >>confdefs.h <<\_ACEOF
4647 #define _POSIX_SOURCE 1 4551 #define _POSIX_SOURCE 1
4648 _ACEOF 4552 _ACEOF
4649 4553
4655 4559
4656 cat >>confdefs.h <<\_ACEOF 4560 cat >>confdefs.h <<\_ACEOF
4657 #define _MINIX 1 4561 #define _MINIX 1
4658 _ACEOF 4562 _ACEOF
4659 4563
4660 fi 4564 fi
4661 4565
4662 4566
4663 4567
4664 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4568
4665 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4569
4570
4571
4572
4573
4574
4575
4576 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4577 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4666 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4578 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4667 $as_echo_n "(cached) " >&6 4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 else 4580 else
4669 cat >conftest.$ac_ext <<_ACEOF 4581 cat >conftest.$ac_ext <<_ACEOF
4670 /* confdefs.h. */ 4582 /* confdefs.h. */
4671 _ACEOF 4583 _ACEOF
4672 cat confdefs.h >>conftest.$ac_ext 4584 cat confdefs.h >>conftest.$ac_ext
4687 if { (ac_try="$ac_compile" 4599 if { (ac_try="$ac_compile"
4688 case "(($ac_try" in 4600 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;; 4602 *) ac_try_echo=$ac_try;;
4691 esac 4603 esac
4692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693 $as_echo "$ac_try_echo") >&5
4694 (eval "$ac_compile") 2>conftest.er1 4605 (eval "$ac_compile") 2>conftest.er1
4695 ac_status=$? 4606 ac_status=$?
4696 grep -v '^ *+' conftest.er1 >conftest.err 4607 grep -v '^ *+' conftest.er1 >conftest.err
4697 rm -f conftest.er1 4608 rm -f conftest.er1
4698 cat conftest.err >&5 4609 cat conftest.err >&5
4699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } && { 4611 (exit $ac_status); } && {
4701 test -z "$ac_c_werror_flag" || 4612 test -z "$ac_c_werror_flag" ||
4702 test ! -s conftest.err 4613 test ! -s conftest.err
4703 } && test -s conftest.$ac_objext; then 4614 } && test -s conftest.$ac_objext; then
4704 ac_cv_safe_to_define___extensions__=yes 4615 ac_cv_safe_to_define___extensions__=yes
4705 else 4616 else
4706 $as_echo "$as_me: failed program was:" >&5 4617 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5 4618 sed 's/^/| /' conftest.$ac_ext >&5
4708 4619
4709 ac_cv_safe_to_define___extensions__=no 4620 ac_cv_safe_to_define___extensions__=no
4710 fi 4621 fi
4711 4622
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 fi 4624 fi
4714 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4625 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4715 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4626 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4716 test $ac_cv_safe_to_define___extensions__ = yes && 4627 test $ac_cv_safe_to_define___extensions__ = yes &&
4717 cat >>confdefs.h <<\_ACEOF 4628 cat >>confdefs.h <<\_ACEOF
4718 #define __EXTENSIONS__ 1 4629 #define __EXTENSIONS__ 1
4719 _ACEOF 4630 _ACEOF
4720 4631
4721 cat >>confdefs.h <<\_ACEOF 4632 cat >>confdefs.h <<\_ACEOF
4722 #define _ALL_SOURCE 1
4723 _ACEOF
4724
4725 cat >>confdefs.h <<\_ACEOF
4726 #define _GNU_SOURCE 1
4727 _ACEOF
4728
4729 cat >>confdefs.h <<\_ACEOF
4730 #define _POSIX_PTHREAD_SEMANTICS 1 4633 #define _POSIX_PTHREAD_SEMANTICS 1
4731 _ACEOF 4634 _ACEOF
4732 4635
4733 cat >>confdefs.h <<\_ACEOF 4636 cat >>confdefs.h <<\_ACEOF
4734 #define _TANDEM_SOURCE 1 4637 #define _TANDEM_SOURCE 1
4735 _ACEOF 4638 _ACEOF
4736 4639
4737 4640
4738 4641
4739 ### Use -Wno-pointer-sign if the compiler supports it 4642 ### Use -Wno-pointer-sign if the compiler supports it
4740 { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 4643 { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5
4741 $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } 4644 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; }
4742 SAVE_CFLAGS="$CFLAGS" 4645 SAVE_CFLAGS="$CFLAGS"
4743 CFLAGS="$CFLAGS -Wno-pointer-sign" 4646 CFLAGS="$CFLAGS -Wno-pointer-sign"
4744 cat >conftest.$ac_ext <<_ACEOF 4647 cat >conftest.$ac_ext <<_ACEOF
4745 /* confdefs.h. */ 4648 /* confdefs.h. */
4746 _ACEOF 4649 _ACEOF
4760 if { (ac_try="$ac_compile" 4663 if { (ac_try="$ac_compile"
4761 case "(($ac_try" in 4664 case "(($ac_try" in
4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763 *) ac_try_echo=$ac_try;; 4666 *) ac_try_echo=$ac_try;;
4764 esac 4667 esac
4765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4766 $as_echo "$ac_try_echo") >&5
4767 (eval "$ac_compile") 2>conftest.er1 4669 (eval "$ac_compile") 2>conftest.er1
4768 ac_status=$? 4670 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err 4671 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1 4672 rm -f conftest.er1
4771 cat conftest.err >&5 4673 cat conftest.err >&5
4772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && { 4675 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" || 4676 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err 4677 test ! -s conftest.err
4776 } && test -s conftest.$ac_objext; then 4678 } && test -s conftest.$ac_objext; then
4777 has_option=yes 4679 has_option=yes
4778 else 4680 else
4779 $as_echo "$as_me: failed program was:" >&5 4681 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5 4682 sed 's/^/| /' conftest.$ac_ext >&5
4781 4683
4782 has_option=no 4684 has_option=no
4783 fi 4685 fi
4784 4686
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 if test $has_option = yes; then 4688 if test $has_option = yes; then
4787 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" 4689 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH"
4788 fi 4690 fi
4789 { $as_echo "$as_me:$LINENO: result: $has_option" >&5 4691 { echo "$as_me:$LINENO: result: $has_option" >&5
4790 $as_echo "$has_option" >&6; } 4692 echo "${ECHO_T}$has_option" >&6; }
4791 CFLAGS="$SAVE_CFLAGS" 4693 CFLAGS="$SAVE_CFLAGS"
4792 unset has_option 4694 unset has_option
4793 unset SAVE_CFLAGS 4695 unset SAVE_CFLAGS
4794 4696
4795 #### Some other nice autoconf tests. 4697 #### Some other nice autoconf tests.
4796 4698
4797 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4798 $as_echo_n "checking whether ln -s works... " >&6; } 4700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4799 LN_S=$as_ln_s 4701 LN_S=$as_ln_s
4800 if test "$LN_S" = "ln -s"; then 4702 if test "$LN_S" = "ln -s"; then
4801 { $as_echo "$as_me:$LINENO: result: yes" >&5 4703 { echo "$as_me:$LINENO: result: yes" >&5
4802 $as_echo "yes" >&6; } 4704 echo "${ECHO_T}yes" >&6; }
4803 else 4705 else
4804 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4805 $as_echo "no, using $LN_S" >&6; } 4707 echo "${ECHO_T}no, using $LN_S" >&6; }
4806 fi 4708 fi
4807 4709
4808 ac_ext=c 4710 ac_ext=c
4809 ac_cpp='$CPP $CPPFLAGS' 4711 ac_cpp='$CPP $CPPFLAGS'
4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4715 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4814 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4716 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4815 # On Suns, sometimes $CPP names a directory. 4717 # On Suns, sometimes $CPP names a directory.
4816 if test -n "$CPP" && test -d "$CPP"; then 4718 if test -n "$CPP" && test -d "$CPP"; then
4817 CPP= 4719 CPP=
4818 fi 4720 fi
4819 if test -z "$CPP"; then 4721 if test -z "$CPP"; then
4820 if test "${ac_cv_prog_CPP+set}" = set; then 4722 if test "${ac_cv_prog_CPP+set}" = set; then
4821 $as_echo_n "(cached) " >&6 4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 else 4724 else
4823 # Double quotes because CPP needs to be expanded 4725 # Double quotes because CPP needs to be expanded
4824 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4726 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4825 do 4727 do
4826 ac_preproc_ok=false 4728 ac_preproc_ok=false
4848 if { (ac_try="$ac_cpp conftest.$ac_ext" 4750 if { (ac_try="$ac_cpp conftest.$ac_ext"
4849 case "(($ac_try" in 4751 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;; 4753 *) ac_try_echo=$ac_try;;
4852 esac 4754 esac
4853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 $as_echo "$ac_try_echo") >&5
4855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4856 ac_status=$? 4757 ac_status=$?
4857 grep -v '^ *+' conftest.er1 >conftest.err 4758 grep -v '^ *+' conftest.er1 >conftest.err
4858 rm -f conftest.er1 4759 rm -f conftest.er1
4859 cat conftest.err >&5 4760 cat conftest.err >&5
4860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } >/dev/null && { 4762 (exit $ac_status); } >/dev/null && {
4862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4863 test ! -s conftest.err 4764 test ! -s conftest.err
4864 }; then 4765 }; then
4865 : 4766 :
4866 else 4767 else
4867 $as_echo "$as_me: failed program was:" >&5 4768 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5 4769 sed 's/^/| /' conftest.$ac_ext >&5
4869 4770
4870 # Broken: fails on valid input. 4771 # Broken: fails on valid input.
4871 continue 4772 continue
4872 fi 4773 fi
4886 if { (ac_try="$ac_cpp conftest.$ac_ext" 4787 if { (ac_try="$ac_cpp conftest.$ac_ext"
4887 case "(($ac_try" in 4788 case "(($ac_try" in
4888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4889 *) ac_try_echo=$ac_try;; 4790 *) ac_try_echo=$ac_try;;
4890 esac 4791 esac
4891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4892 $as_echo "$ac_try_echo") >&5
4893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4894 ac_status=$? 4794 ac_status=$?
4895 grep -v '^ *+' conftest.er1 >conftest.err 4795 grep -v '^ *+' conftest.er1 >conftest.err
4896 rm -f conftest.er1 4796 rm -f conftest.er1
4897 cat conftest.err >&5 4797 cat conftest.err >&5
4898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); } >/dev/null && { 4799 (exit $ac_status); } >/dev/null && {
4900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4800 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4901 test ! -s conftest.err 4801 test ! -s conftest.err
4902 }; then 4802 }; then
4903 # Broken: success on invalid input. 4803 # Broken: success on invalid input.
4904 continue 4804 continue
4905 else 4805 else
4906 $as_echo "$as_me: failed program was:" >&5 4806 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5 4807 sed 's/^/| /' conftest.$ac_ext >&5
4908 4808
4909 # Passes both tests. 4809 # Passes both tests.
4910 ac_preproc_ok=: 4810 ac_preproc_ok=:
4911 break 4811 break
4926 fi 4826 fi
4927 CPP=$ac_cv_prog_CPP 4827 CPP=$ac_cv_prog_CPP
4928 else 4828 else
4929 ac_cv_prog_CPP=$CPP 4829 ac_cv_prog_CPP=$CPP
4930 fi 4830 fi
4931 { $as_echo "$as_me:$LINENO: result: $CPP" >&5 4831 { echo "$as_me:$LINENO: result: $CPP" >&5
4932 $as_echo "$CPP" >&6; } 4832 echo "${ECHO_T}$CPP" >&6; }
4933 ac_preproc_ok=false 4833 ac_preproc_ok=false
4934 for ac_c_preproc_warn_flag in '' yes 4834 for ac_c_preproc_warn_flag in '' yes
4935 do 4835 do
4936 # Use a header file that comes with gcc, so configuring glibc 4836 # Use a header file that comes with gcc, so configuring glibc
4937 # with a fresh cross-compiler works. 4837 # with a fresh cross-compiler works.
4955 if { (ac_try="$ac_cpp conftest.$ac_ext" 4855 if { (ac_try="$ac_cpp conftest.$ac_ext"
4956 case "(($ac_try" in 4856 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;; 4858 *) ac_try_echo=$ac_try;;
4959 esac 4859 esac
4960 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 $as_echo "$ac_try_echo") >&5
4962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4963 ac_status=$? 4862 ac_status=$?
4964 grep -v '^ *+' conftest.er1 >conftest.err 4863 grep -v '^ *+' conftest.er1 >conftest.err
4965 rm -f conftest.er1 4864 rm -f conftest.er1
4966 cat conftest.err >&5 4865 cat conftest.err >&5
4967 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } >/dev/null && { 4867 (exit $ac_status); } >/dev/null && {
4969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4970 test ! -s conftest.err 4869 test ! -s conftest.err
4971 }; then 4870 }; then
4972 : 4871 :
4973 else 4872 else
4974 $as_echo "$as_me: failed program was:" >&5 4873 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5 4874 sed 's/^/| /' conftest.$ac_ext >&5
4976 4875
4977 # Broken: fails on valid input. 4876 # Broken: fails on valid input.
4978 continue 4877 continue
4979 fi 4878 fi
4993 if { (ac_try="$ac_cpp conftest.$ac_ext" 4892 if { (ac_try="$ac_cpp conftest.$ac_ext"
4994 case "(($ac_try" in 4893 case "(($ac_try" in
4995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4996 *) ac_try_echo=$ac_try;; 4895 *) ac_try_echo=$ac_try;;
4997 esac 4896 esac
4998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4999 $as_echo "$ac_try_echo") >&5
5000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5001 ac_status=$? 4899 ac_status=$?
5002 grep -v '^ *+' conftest.er1 >conftest.err 4900 grep -v '^ *+' conftest.er1 >conftest.err
5003 rm -f conftest.er1 4901 rm -f conftest.er1
5004 cat conftest.err >&5 4902 cat conftest.err >&5
5005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); } >/dev/null && { 4904 (exit $ac_status); } >/dev/null && {
5007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4905 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5008 test ! -s conftest.err 4906 test ! -s conftest.err
5009 }; then 4907 }; then
5010 # Broken: success on invalid input. 4908 # Broken: success on invalid input.
5011 continue 4909 continue
5012 else 4910 else
5013 $as_echo "$as_me: failed program was:" >&5 4911 echo "$as_me: failed program was:" >&5
5014 sed 's/^/| /' conftest.$ac_ext >&5 4912 sed 's/^/| /' conftest.$ac_ext >&5
5015 4913
5016 # Passes both tests. 4914 # Passes both tests.
5017 ac_preproc_ok=: 4915 ac_preproc_ok=:
5018 break 4916 break
5024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5025 rm -f conftest.err conftest.$ac_ext 4923 rm -f conftest.err conftest.$ac_ext
5026 if $ac_preproc_ok; then 4924 if $ac_preproc_ok; then
5027 : 4925 :
5028 else 4926 else
5029 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4927 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5031 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5032 See \`config.log' for more details." >&5 4928 See \`config.log' for more details." >&5
5033 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4929 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5034 See \`config.log' for more details." >&2;} 4930 See \`config.log' for more details." >&2;}
5035 { (exit 1); exit 1; }; }; } 4931 { (exit 1); exit 1; }; }
5036 fi 4932 fi
5037 4933
5038 ac_ext=c 4934 ac_ext=c
5039 ac_cpp='$CPP $CPPFLAGS' 4935 ac_cpp='$CPP $CPPFLAGS'
5040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 4949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5055 # OS/2's system install, which has a completely different semantic 4951 # OS/2's system install, which has a completely different semantic
5056 # ./install, which can be erroneously created by make from ./install.sh. 4952 # ./install, which can be erroneously created by make from ./install.sh.
5057 # Reject install programs that cannot install multiple files. 4953 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5058 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4954 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5059 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5060 if test -z "$INSTALL"; then 4955 if test -z "$INSTALL"; then
5061 if test "${ac_cv_path_install+set}" = set; then 4956 if test "${ac_cv_path_install+set}" = set; then
5062 $as_echo_n "(cached) " >&6 4957 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 else 4958 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH 4960 for as_dir in $PATH
5066 do 4961 do
5067 IFS=$as_save_IFS 4962 IFS=$as_save_IFS
5086 elif test $ac_prog = install && 4981 elif test $ac_prog = install &&
5087 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4982 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5088 # program-specific install script used by HP pwplus--don't use. 4983 # program-specific install script used by HP pwplus--don't use.
5089 : 4984 :
5090 else 4985 else
5091 rm -rf conftest.one conftest.two conftest.dir 4986 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5092 echo one > conftest.one 4987 break 3
5093 echo two > conftest.two
5094 mkdir conftest.dir
5095 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5096 test -s conftest.one && test -s conftest.two &&
5097 test -s conftest.dir/conftest.one &&
5098 test -s conftest.dir/conftest.two
5099 then
5100 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5101 break 3
5102 fi
5103 fi 4988 fi
5104 fi 4989 fi
5105 done 4990 done
5106 done 4991 done
5107 ;; 4992 ;;
5108 esac 4993 esac
5109
5110 done 4994 done
5111 IFS=$as_save_IFS 4995 IFS=$as_save_IFS
5112 4996
5113 rm -rf conftest.one conftest.two conftest.dir
5114 4997
5115 fi 4998 fi
5116 if test "${ac_cv_path_install+set}" = set; then 4999 if test "${ac_cv_path_install+set}" = set; then
5117 INSTALL=$ac_cv_path_install 5000 INSTALL=$ac_cv_path_install
5118 else 5001 else
5121 # break other packages using the cache if that directory is 5004 # break other packages using the cache if that directory is
5122 # removed, or if the value is a relative name. 5005 # removed, or if the value is a relative name.
5123 INSTALL=$ac_install_sh 5006 INSTALL=$ac_install_sh
5124 fi 5007 fi
5125 fi 5008 fi
5126 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5009 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5127 $as_echo "$INSTALL" >&6; } 5010 echo "${ECHO_T}$INSTALL" >&6; }
5128 5011
5129 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5130 # It thinks the first close brace ends the variable substitution. 5013 # It thinks the first close brace ends the variable substitution.
5131 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5014 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5132 5015
5136 5019
5137 if test "x$RANLIB" = x; then 5020 if test "x$RANLIB" = x; then
5138 if test -n "$ac_tool_prefix"; then 5021 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5022 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5023 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5141 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; } 5025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5143 if test "${ac_cv_prog_RANLIB+set}" = set; then 5026 if test "${ac_cv_prog_RANLIB+set}" = set; then
5144 $as_echo_n "(cached) " >&6 5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else 5028 else
5146 if test -n "$RANLIB"; then 5029 if test -n "$RANLIB"; then
5147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5030 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5148 else 5031 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 IFS=$as_save_IFS 5035 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=. 5036 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do 5037 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5156 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5039 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5157 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2 5041 break 2
5159 fi 5042 fi
5160 done 5043 done
5161 done 5044 done
5162 IFS=$as_save_IFS 5045 IFS=$as_save_IFS
5163 5046
5164 fi 5047 fi
5165 fi 5048 fi
5166 RANLIB=$ac_cv_prog_RANLIB 5049 RANLIB=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then 5050 if test -n "$RANLIB"; then
5168 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5051 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 $as_echo "$RANLIB" >&6; } 5052 echo "${ECHO_T}$RANLIB" >&6; }
5170 else 5053 else
5171 { $as_echo "$as_me:$LINENO: result: no" >&5 5054 { echo "$as_me:$LINENO: result: no" >&5
5172 $as_echo "no" >&6; } 5055 echo "${ECHO_T}no" >&6; }
5173 fi 5056 fi
5174 5057
5175 5058
5176 fi 5059 fi
5177 if test -z "$ac_cv_prog_RANLIB"; then 5060 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB=$RANLIB 5061 ac_ct_RANLIB=$RANLIB
5179 # Extract the first word of "ranlib", so it can be a program name with args. 5062 # Extract the first word of "ranlib", so it can be a program name with args.
5180 set dummy ranlib; ac_word=$2 5063 set dummy ranlib; ac_word=$2
5181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; } 5065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5184 $as_echo_n "(cached) " >&6 5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 else 5068 else
5186 if test -n "$ac_ct_RANLIB"; then 5069 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5188 else 5071 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 IFS=$as_save_IFS 5075 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=. 5076 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do 5077 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_ac_ct_RANLIB="ranlib" 5079 ac_cv_prog_ac_ct_RANLIB="ranlib"
5197 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 break 2 5081 break 2
5199 fi 5082 fi
5200 done 5083 done
5201 done 5084 done
5202 IFS=$as_save_IFS 5085 IFS=$as_save_IFS
5203 5086
5204 fi 5087 fi
5205 fi 5088 fi
5206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then 5090 if test -n "$ac_ct_RANLIB"; then
5208 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5091 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5209 $as_echo "$ac_ct_RANLIB" >&6; } 5092 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5210 else 5093 else
5211 { $as_echo "$as_me:$LINENO: result: no" >&5 5094 { echo "$as_me:$LINENO: result: no" >&5
5212 $as_echo "no" >&6; } 5095 echo "${ECHO_T}no" >&6; }
5213 fi 5096 fi
5214 5097
5215 if test "x$ac_ct_RANLIB" = x; then 5098 if test "x$ac_ct_RANLIB" = x; then
5216 RANLIB=":" 5099 RANLIB=":"
5217 else 5100 else
5218 case $cross_compiling:$ac_tool_warned in 5101 case $cross_compiling:$ac_tool_warned in
5219 yes:) 5102 yes:)
5220 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5104 whose name does not start with the host triplet. If you think this
5105 configuration is useful to you, please write to autoconf@gnu.org." >&5
5106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5107 whose name does not start with the host triplet. If you think this
5108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5222 ac_tool_warned=yes ;; 5109 ac_tool_warned=yes ;;
5223 esac 5110 esac
5224 RANLIB=$ac_ct_RANLIB 5111 RANLIB=$ac_ct_RANLIB
5225 fi 5112 fi
5226 else 5113 else
5228 fi 5115 fi
5229 5116
5230 fi 5117 fi
5231 # Extract the first word of "install-info", so it can be a program name with args. 5118 # Extract the first word of "install-info", so it can be a program name with args.
5232 set dummy install-info; ac_word=$2 5119 set dummy install-info; ac_word=$2
5233 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; } 5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5235 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5122 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5236 $as_echo_n "(cached) " >&6 5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 else 5124 else
5238 case $INSTALL_INFO in 5125 case $INSTALL_INFO in
5239 [\\/]* | ?:[\\/]*) 5126 [\\/]* | ?:[\\/]*)
5240 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5127 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5241 ;; 5128 ;;
5246 IFS=$as_save_IFS 5133 IFS=$as_save_IFS
5247 test -z "$as_dir" && as_dir=. 5134 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do 5135 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5137 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5251 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 break 2 5139 break 2
5253 fi 5140 fi
5254 done 5141 done
5255 done 5142 done
5256 IFS=$as_save_IFS 5143 IFS=$as_save_IFS
5258 ;; 5145 ;;
5259 esac 5146 esac
5260 fi 5147 fi
5261 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5148 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5262 if test -n "$INSTALL_INFO"; then 5149 if test -n "$INSTALL_INFO"; then
5263 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5150 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5264 $as_echo "$INSTALL_INFO" >&6; } 5151 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5265 else 5152 else
5266 { $as_echo "$as_me:$LINENO: result: no" >&5 5153 { echo "$as_me:$LINENO: result: no" >&5
5267 $as_echo "no" >&6; } 5154 echo "${ECHO_T}no" >&6; }
5268 fi 5155 fi
5269 5156
5270 5157
5271 # Extract the first word of "install-info", so it can be a program name with args. 5158 # Extract the first word of "install-info", so it can be a program name with args.
5272 set dummy install-info; ac_word=$2 5159 set dummy install-info; ac_word=$2
5273 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; } 5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5275 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5162 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5276 $as_echo_n "(cached) " >&6 5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 else 5164 else
5278 case $INSTALL_INFO in 5165 case $INSTALL_INFO in
5279 [\\/]* | ?:[\\/]*) 5166 [\\/]* | ?:[\\/]*)
5280 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5167 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5281 ;; 5168 ;;
5286 IFS=$as_save_IFS 5173 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=. 5174 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do 5175 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5177 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 break 2 5179 break 2
5293 fi 5180 fi
5294 done 5181 done
5295 done 5182 done
5296 IFS=$as_save_IFS 5183 IFS=$as_save_IFS
5298 ;; 5185 ;;
5299 esac 5186 esac
5300 fi 5187 fi
5301 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5188 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5302 if test -n "$INSTALL_INFO"; then 5189 if test -n "$INSTALL_INFO"; then
5303 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5190 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5304 $as_echo "$INSTALL_INFO" >&6; } 5191 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5305 else 5192 else
5306 { $as_echo "$as_me:$LINENO: result: no" >&5 5193 { echo "$as_me:$LINENO: result: no" >&5
5307 $as_echo "no" >&6; } 5194 echo "${ECHO_T}no" >&6; }
5308 fi 5195 fi
5309 5196
5310 5197
5311 # Extract the first word of "install-info", so it can be a program name with args. 5198 # Extract the first word of "install-info", so it can be a program name with args.
5312 set dummy install-info; ac_word=$2 5199 set dummy install-info; ac_word=$2
5313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; } 5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5315 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then 5202 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then
5316 $as_echo_n "(cached) " >&6 5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 else 5204 else
5318 case $INSTALL_INFO in 5205 case $INSTALL_INFO in
5319 [\\/]* | ?:[\\/]*) 5206 [\\/]* | ?:[\\/]*)
5320 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path. 5207 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
5321 ;; 5208 ;;
5326 IFS=$as_save_IFS 5213 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=. 5214 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do 5215 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" 5217 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
5331 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 break 2 5219 break 2
5333 fi 5220 fi
5334 done 5221 done
5335 done 5222 done
5336 IFS=$as_save_IFS 5223 IFS=$as_save_IFS
5339 ;; 5226 ;;
5340 esac 5227 esac
5341 fi 5228 fi
5342 INSTALL_INFO=$ac_cv_path_INSTALL_INFO 5229 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
5343 if test -n "$INSTALL_INFO"; then 5230 if test -n "$INSTALL_INFO"; then
5344 { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 5231 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5
5345 $as_echo "$INSTALL_INFO" >&6; } 5232 echo "${ECHO_T}$INSTALL_INFO" >&6; }
5346 else 5233 else
5347 { $as_echo "$as_me:$LINENO: result: no" >&5 5234 { echo "$as_me:$LINENO: result: no" >&5
5348 $as_echo "no" >&6; } 5235 echo "${ECHO_T}no" >&6; }
5349 fi 5236 fi
5350 5237
5351 5238
5352 # Extract the first word of "gzip", so it can be a program name with args. 5239 # Extract the first word of "gzip", so it can be a program name with args.
5353 set dummy gzip; ac_word=$2 5240 set dummy gzip; ac_word=$2
5354 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; } 5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5356 if test "${ac_cv_path_GZIP_PROG+set}" = set; then 5243 if test "${ac_cv_path_GZIP_PROG+set}" = set; then
5357 $as_echo_n "(cached) " >&6 5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 else 5245 else
5359 case $GZIP_PROG in 5246 case $GZIP_PROG in
5360 [\\/]* | ?:[\\/]*) 5247 [\\/]* | ?:[\\/]*)
5361 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path. 5248 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
5362 ;; 5249 ;;
5367 IFS=$as_save_IFS 5254 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=. 5255 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do 5256 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5371 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" 5258 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
5372 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2 5260 break 2
5374 fi 5261 fi
5375 done 5262 done
5376 done 5263 done
5377 IFS=$as_save_IFS 5264 IFS=$as_save_IFS
5379 ;; 5266 ;;
5380 esac 5267 esac
5381 fi 5268 fi
5382 GZIP_PROG=$ac_cv_path_GZIP_PROG 5269 GZIP_PROG=$ac_cv_path_GZIP_PROG
5383 if test -n "$GZIP_PROG"; then 5270 if test -n "$GZIP_PROG"; then
5384 { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 5271 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5
5385 $as_echo "$GZIP_PROG" >&6; } 5272 echo "${ECHO_T}$GZIP_PROG" >&6; }
5386 else 5273 else
5387 { $as_echo "$as_me:$LINENO: result: no" >&5 5274 { echo "$as_me:$LINENO: result: no" >&5
5388 $as_echo "no" >&6; } 5275 echo "${ECHO_T}no" >&6; }
5389 fi 5276 fi
5390 5277
5391 5278
5392 5279
5393 5280
5394 ## Need makeinfo >= 4.6 (?) to build the manuals. 5281 ## Need makeinfo >= 4.6 (?) to build the manuals.
5395 # Extract the first word of "makeinfo", so it can be a program name with args. 5282 # Extract the first word of "makeinfo", so it can be a program name with args.
5396 set dummy makeinfo; ac_word=$2 5283 set dummy makeinfo; ac_word=$2
5397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; } 5285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5399 if test "${ac_cv_path_MAKEINFO+set}" = set; then 5286 if test "${ac_cv_path_MAKEINFO+set}" = set; then
5400 $as_echo_n "(cached) " >&6 5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 else 5288 else
5402 case $MAKEINFO in 5289 case $MAKEINFO in
5403 [\\/]* | ?:[\\/]*) 5290 [\\/]* | ?:[\\/]*)
5404 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. 5291 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
5405 ;; 5292 ;;
5410 IFS=$as_save_IFS 5297 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=. 5298 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do 5299 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" 5301 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
5415 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2 5303 break 2
5417 fi 5304 fi
5418 done 5305 done
5419 done 5306 done
5420 IFS=$as_save_IFS 5307 IFS=$as_save_IFS
5423 ;; 5310 ;;
5424 esac 5311 esac
5425 fi 5312 fi
5426 MAKEINFO=$ac_cv_path_MAKEINFO 5313 MAKEINFO=$ac_cv_path_MAKEINFO
5427 if test -n "$MAKEINFO"; then 5314 if test -n "$MAKEINFO"; then
5428 { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 5315 { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5429 $as_echo "$MAKEINFO" >&6; } 5316 echo "${ECHO_T}$MAKEINFO" >&6; }
5430 else 5317 else
5431 { $as_echo "$as_me:$LINENO: result: no" >&5 5318 { echo "$as_me:$LINENO: result: no" >&5
5432 $as_echo "no" >&6; } 5319 echo "${ECHO_T}no" >&6; }
5433 fi 5320 fi
5434 5321
5435 5322
5436 if test "$MAKEINFO" != "no" && \ 5323 if test "$MAKEINFO" != "no" && \
5437 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 5324 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
5449 ## with pre-built manuals, from a CVS checkout. 5336 ## with pre-built manuals, from a CVS checkout.
5450 if test "$MAKEINFO" = "no"; then 5337 if test "$MAKEINFO" = "no"; then
5451 if test "x${with_makeinfo}" = "xno"; then 5338 if test "x${with_makeinfo}" = "xno"; then
5452 MAKEINFO=off 5339 MAKEINFO=off
5453 elif ! test -e $srcdir/info/emacs; then 5340 elif ! test -e $srcdir/info/emacs; then
5454 { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your 5341 { { echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your
5455 source tree does not seem to have pre-built manuals in the \`info' directory. 5342 source tree does not seem to have pre-built manuals in the \`info' directory.
5456 Either install a suitable version of makeinfo, or re-run configure 5343 Either install a suitable version of makeinfo, or re-run configure
5457 with the \`--without-makeinfo' option to build without the manuals. " >&5 5344 with the \`--without-makeinfo' option to build without the manuals. " >&5
5458 $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your 5345 echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your
5459 source tree does not seem to have pre-built manuals in the \`info' directory. 5346 source tree does not seem to have pre-built manuals in the \`info' directory.
5460 Either install a suitable version of makeinfo, or re-run configure 5347 Either install a suitable version of makeinfo, or re-run configure
5461 with the \`--without-makeinfo' option to build without the manuals. " >&2;} 5348 with the \`--without-makeinfo' option to build without the manuals. " >&2;}
5462 { (exit 1); exit 1; }; } 5349 { (exit 1); exit 1; }; }
5463 fi 5350 fi
5480 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" 5367 LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
5481 else 5368 else
5482 LDFLAGS="$LDFLAGS -znocombreloc" 5369 LDFLAGS="$LDFLAGS -znocombreloc"
5483 fi 5370 fi
5484 5371
5485 { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 5372 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5
5486 $as_echo_n "checking for -znocombreloc... " >&6; } 5373 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; }
5487 cat >conftest.$ac_ext <<_ACEOF 5374 cat >conftest.$ac_ext <<_ACEOF
5488 main(){return 0;} 5375 main(){return 0;}
5489 _ACEOF 5376 _ACEOF
5490 rm -f conftest.$ac_objext conftest$ac_exeext 5377 rm -f conftest.$ac_objext conftest$ac_exeext
5491 if { (ac_try="$ac_link" 5378 if { (ac_try="$ac_link"
5492 case "(($ac_try" in 5379 case "(($ac_try" in
5493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5494 *) ac_try_echo=$ac_try;; 5381 *) ac_try_echo=$ac_try;;
5495 esac 5382 esac
5496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5497 $as_echo "$ac_try_echo") >&5
5498 (eval "$ac_link") 2>conftest.er1 5384 (eval "$ac_link") 2>conftest.er1
5499 ac_status=$? 5385 ac_status=$?
5500 grep -v '^ *+' conftest.er1 >conftest.err 5386 grep -v '^ *+' conftest.er1 >conftest.err
5501 rm -f conftest.er1 5387 rm -f conftest.er1
5502 cat conftest.err >&5 5388 cat conftest.err >&5
5503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } && { 5390 (exit $ac_status); } && {
5505 test -z "$ac_c_werror_flag" || 5391 test -z "$ac_c_werror_flag" ||
5506 test ! -s conftest.err 5392 test ! -s conftest.err
5507 } && test -s conftest$ac_exeext && { 5393 } && test -s conftest$ac_exeext &&
5508 test "$cross_compiling" = yes || 5394 $as_test_x conftest$ac_exeext; then
5509 $as_test_x conftest$ac_exeext 5395 { echo "$as_me:$LINENO: result: yes" >&5
5510 }; then 5396 echo "${ECHO_T}yes" >&6; }
5511 { $as_echo "$as_me:$LINENO: result: yes" >&5 5397 else
5512 $as_echo "yes" >&6; } 5398 echo "$as_me: failed program was:" >&5
5513 else
5514 $as_echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.$ac_ext >&5 5399 sed 's/^/| /' conftest.$ac_ext >&5
5516 5400
5517 LDFLAGS=$late_LDFLAGS 5401 LDFLAGS=$late_LDFLAGS
5518 { $as_echo "$as_me:$LINENO: result: no" >&5 5402 { echo "$as_me:$LINENO: result: no" >&5
5519 $as_echo "no" >&6; } 5403 echo "${ECHO_T}no" >&6; }
5520 fi 5404 fi
5521 5405
5522 rm -rf conftest.dSYM
5523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5524 conftest$ac_exeext conftest.$ac_ext 5407 conftest$ac_exeext conftest.$ac_ext
5525 5408
5526 #### Extract some information from the operating system and machine files. 5409 #### Extract some information from the operating system and machine files.
5527 5410
5528 { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out 5411 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out
5529 - which libraries the lib-src programs will want, and 5412 - which libraries the lib-src programs will want, and
5530 - whether the GNU malloc routines are usable..." >&5 5413 - whether the GNU malloc routines are usable..." >&5
5531 $as_echo "$as_me: checking the machine- and system-dependent files to find out 5414 echo "$as_me: checking the machine- and system-dependent files to find out
5532 - which libraries the lib-src programs will want, and 5415 - which libraries the lib-src programs will want, and
5533 - whether the GNU malloc routines are usable..." >&6;} 5416 - whether the GNU malloc routines are usable..." >&6;}
5534 5417
5535 ### First figure out CFLAGS (which we use for running the compiler here) 5418 ### First figure out CFLAGS (which we use for running the compiler here)
5536 ### and REAL_CFLAGS (which we use for real compilation). 5419 ### and REAL_CFLAGS (which we use for real compilation).
5675 enableval=$enable_largefile; 5558 enableval=$enable_largefile;
5676 fi 5559 fi
5677 5560
5678 if test "$enable_largefile" != no; then 5561 if test "$enable_largefile" != no; then
5679 5562
5680 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5563 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5681 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5564 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
5682 if test "${ac_cv_sys_largefile_CC+set}" = set; then 5565 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5683 $as_echo_n "(cached) " >&6 5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 else 5567 else
5685 ac_cv_sys_largefile_CC=no 5568 ac_cv_sys_largefile_CC=no
5686 if test "$GCC" != yes; then 5569 if test "$GCC" != yes; then
5687 ac_save_CC=$CC 5570 ac_save_CC=$CC
5688 while :; do 5571 while :; do
5715 if { (ac_try="$ac_compile" 5598 if { (ac_try="$ac_compile"
5716 case "(($ac_try" in 5599 case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;; 5601 *) ac_try_echo=$ac_try;;
5719 esac 5602 esac
5720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5721 $as_echo "$ac_try_echo") >&5
5722 (eval "$ac_compile") 2>conftest.er1 5604 (eval "$ac_compile") 2>conftest.er1
5723 ac_status=$? 5605 ac_status=$?
5724 grep -v '^ *+' conftest.er1 >conftest.err 5606 grep -v '^ *+' conftest.er1 >conftest.err
5725 rm -f conftest.er1 5607 rm -f conftest.er1
5726 cat conftest.err >&5 5608 cat conftest.err >&5
5727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } && { 5610 (exit $ac_status); } && {
5729 test -z "$ac_c_werror_flag" || 5611 test -z "$ac_c_werror_flag" ||
5730 test ! -s conftest.err 5612 test ! -s conftest.err
5731 } && test -s conftest.$ac_objext; then 5613 } && test -s conftest.$ac_objext; then
5732 break 5614 break
5733 else 5615 else
5734 $as_echo "$as_me: failed program was:" >&5 5616 echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.$ac_ext >&5 5617 sed 's/^/| /' conftest.$ac_ext >&5
5736 5618
5737 5619
5738 fi 5620 fi
5739 5621
5743 if { (ac_try="$ac_compile" 5625 if { (ac_try="$ac_compile"
5744 case "(($ac_try" in 5626 case "(($ac_try" in
5745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5746 *) ac_try_echo=$ac_try;; 5628 *) ac_try_echo=$ac_try;;
5747 esac 5629 esac
5748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5749 $as_echo "$ac_try_echo") >&5
5750 (eval "$ac_compile") 2>conftest.er1 5631 (eval "$ac_compile") 2>conftest.er1
5751 ac_status=$? 5632 ac_status=$?
5752 grep -v '^ *+' conftest.er1 >conftest.err 5633 grep -v '^ *+' conftest.er1 >conftest.err
5753 rm -f conftest.er1 5634 rm -f conftest.er1
5754 cat conftest.err >&5 5635 cat conftest.err >&5
5755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } && { 5637 (exit $ac_status); } && {
5757 test -z "$ac_c_werror_flag" || 5638 test -z "$ac_c_werror_flag" ||
5758 test ! -s conftest.err 5639 test ! -s conftest.err
5759 } && test -s conftest.$ac_objext; then 5640 } && test -s conftest.$ac_objext; then
5760 ac_cv_sys_largefile_CC=' -n32'; break 5641 ac_cv_sys_largefile_CC=' -n32'; break
5761 else 5642 else
5762 $as_echo "$as_me: failed program was:" >&5 5643 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5 5644 sed 's/^/| /' conftest.$ac_ext >&5
5764 5645
5765 5646
5766 fi 5647 fi
5767 5648
5770 done 5651 done
5771 CC=$ac_save_CC 5652 CC=$ac_save_CC
5772 rm -f conftest.$ac_ext 5653 rm -f conftest.$ac_ext
5773 fi 5654 fi
5774 fi 5655 fi
5775 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5656 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5776 $as_echo "$ac_cv_sys_largefile_CC" >&6; } 5657 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
5777 if test "$ac_cv_sys_largefile_CC" != no; then 5658 if test "$ac_cv_sys_largefile_CC" != no; then
5778 CC=$CC$ac_cv_sys_largefile_CC 5659 CC=$CC$ac_cv_sys_largefile_CC
5779 fi 5660 fi
5780 5661
5781 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5662 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5782 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5663 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
5783 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5664 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5784 $as_echo_n "(cached) " >&6 5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 else 5666 else
5786 while :; do 5667 while :; do
5787 cat >conftest.$ac_ext <<_ACEOF 5668 cat >conftest.$ac_ext <<_ACEOF
5788 /* confdefs.h. */ 5669 /* confdefs.h. */
5789 _ACEOF 5670 _ACEOF
5811 if { (ac_try="$ac_compile" 5692 if { (ac_try="$ac_compile"
5812 case "(($ac_try" in 5693 case "(($ac_try" in
5813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5814 *) ac_try_echo=$ac_try;; 5695 *) ac_try_echo=$ac_try;;
5815 esac 5696 esac
5816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5817 $as_echo "$ac_try_echo") >&5
5818 (eval "$ac_compile") 2>conftest.er1 5698 (eval "$ac_compile") 2>conftest.er1
5819 ac_status=$? 5699 ac_status=$?
5820 grep -v '^ *+' conftest.er1 >conftest.err 5700 grep -v '^ *+' conftest.er1 >conftest.err
5821 rm -f conftest.er1 5701 rm -f conftest.er1
5822 cat conftest.err >&5 5702 cat conftest.err >&5
5823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } && { 5704 (exit $ac_status); } && {
5825 test -z "$ac_c_werror_flag" || 5705 test -z "$ac_c_werror_flag" ||
5826 test ! -s conftest.err 5706 test ! -s conftest.err
5827 } && test -s conftest.$ac_objext; then 5707 } && test -s conftest.$ac_objext; then
5828 ac_cv_sys_file_offset_bits=no; break 5708 ac_cv_sys_file_offset_bits=no; break
5829 else 5709 else
5830 $as_echo "$as_me: failed program was:" >&5 5710 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.$ac_ext >&5 5711 sed 's/^/| /' conftest.$ac_ext >&5
5832 5712
5833 5713
5834 fi 5714 fi
5835 5715
5862 if { (ac_try="$ac_compile" 5742 if { (ac_try="$ac_compile"
5863 case "(($ac_try" in 5743 case "(($ac_try" in
5864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5865 *) ac_try_echo=$ac_try;; 5745 *) ac_try_echo=$ac_try;;
5866 esac 5746 esac
5867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5868 $as_echo "$ac_try_echo") >&5
5869 (eval "$ac_compile") 2>conftest.er1 5748 (eval "$ac_compile") 2>conftest.er1
5870 ac_status=$? 5749 ac_status=$?
5871 grep -v '^ *+' conftest.er1 >conftest.err 5750 grep -v '^ *+' conftest.er1 >conftest.err
5872 rm -f conftest.er1 5751 rm -f conftest.er1
5873 cat conftest.err >&5 5752 cat conftest.err >&5
5874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); } && { 5754 (exit $ac_status); } && {
5876 test -z "$ac_c_werror_flag" || 5755 test -z "$ac_c_werror_flag" ||
5877 test ! -s conftest.err 5756 test ! -s conftest.err
5878 } && test -s conftest.$ac_objext; then 5757 } && test -s conftest.$ac_objext; then
5879 ac_cv_sys_file_offset_bits=64; break 5758 ac_cv_sys_file_offset_bits=64; break
5880 else 5759 else
5881 $as_echo "$as_me: failed program was:" >&5 5760 echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.$ac_ext >&5 5761 sed 's/^/| /' conftest.$ac_ext >&5
5883 5762
5884 5763
5885 fi 5764 fi
5886 5765
5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5888 ac_cv_sys_file_offset_bits=unknown 5767 ac_cv_sys_file_offset_bits=unknown
5889 break 5768 break
5890 done 5769 done
5891 fi 5770 fi
5892 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5771 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5893 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5772 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
5894 case $ac_cv_sys_file_offset_bits in #( 5773 case $ac_cv_sys_file_offset_bits in #(
5895 no | unknown) ;; 5774 no | unknown) ;;
5896 *) 5775 *)
5897 cat >>confdefs.h <<_ACEOF 5776 cat >>confdefs.h <<_ACEOF
5898 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5777 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5899 _ACEOF 5778 _ACEOF
5900 ;; 5779 ;;
5901 esac 5780 esac
5902 rm -rf conftest* 5781 rm -f conftest*
5903 if test $ac_cv_sys_file_offset_bits = unknown; then 5782 if test $ac_cv_sys_file_offset_bits = unknown; then
5904 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5783 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5905 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5784 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
5906 if test "${ac_cv_sys_large_files+set}" = set; then 5785 if test "${ac_cv_sys_large_files+set}" = set; then
5907 $as_echo_n "(cached) " >&6 5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 else 5787 else
5909 while :; do 5788 while :; do
5910 cat >conftest.$ac_ext <<_ACEOF 5789 cat >conftest.$ac_ext <<_ACEOF
5911 /* confdefs.h. */ 5790 /* confdefs.h. */
5912 _ACEOF 5791 _ACEOF
5934 if { (ac_try="$ac_compile" 5813 if { (ac_try="$ac_compile"
5935 case "(($ac_try" in 5814 case "(($ac_try" in
5936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5937 *) ac_try_echo=$ac_try;; 5816 *) ac_try_echo=$ac_try;;
5938 esac 5817 esac
5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5940 $as_echo "$ac_try_echo") >&5
5941 (eval "$ac_compile") 2>conftest.er1 5819 (eval "$ac_compile") 2>conftest.er1
5942 ac_status=$? 5820 ac_status=$?
5943 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
5944 rm -f conftest.er1 5822 rm -f conftest.er1
5945 cat conftest.err >&5 5823 cat conftest.err >&5
5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && { 5825 (exit $ac_status); } && {
5948 test -z "$ac_c_werror_flag" || 5826 test -z "$ac_c_werror_flag" ||
5949 test ! -s conftest.err 5827 test ! -s conftest.err
5950 } && test -s conftest.$ac_objext; then 5828 } && test -s conftest.$ac_objext; then
5951 ac_cv_sys_large_files=no; break 5829 ac_cv_sys_large_files=no; break
5952 else 5830 else
5953 $as_echo "$as_me: failed program was:" >&5 5831 echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.$ac_ext >&5 5832 sed 's/^/| /' conftest.$ac_ext >&5
5955 5833
5956 5834
5957 fi 5835 fi
5958 5836
5985 if { (ac_try="$ac_compile" 5863 if { (ac_try="$ac_compile"
5986 case "(($ac_try" in 5864 case "(($ac_try" in
5987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5988 *) ac_try_echo=$ac_try;; 5866 *) ac_try_echo=$ac_try;;
5989 esac 5867 esac
5990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5991 $as_echo "$ac_try_echo") >&5
5992 (eval "$ac_compile") 2>conftest.er1 5869 (eval "$ac_compile") 2>conftest.er1
5993 ac_status=$? 5870 ac_status=$?
5994 grep -v '^ *+' conftest.er1 >conftest.err 5871 grep -v '^ *+' conftest.er1 >conftest.err
5995 rm -f conftest.er1 5872 rm -f conftest.er1
5996 cat conftest.err >&5 5873 cat conftest.err >&5
5997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } && { 5875 (exit $ac_status); } && {
5999 test -z "$ac_c_werror_flag" || 5876 test -z "$ac_c_werror_flag" ||
6000 test ! -s conftest.err 5877 test ! -s conftest.err
6001 } && test -s conftest.$ac_objext; then 5878 } && test -s conftest.$ac_objext; then
6002 ac_cv_sys_large_files=1; break 5879 ac_cv_sys_large_files=1; break
6003 else 5880 else
6004 $as_echo "$as_me: failed program was:" >&5 5881 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.$ac_ext >&5 5882 sed 's/^/| /' conftest.$ac_ext >&5
6006 5883
6007 5884
6008 fi 5885 fi
6009 5886
6010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011 ac_cv_sys_large_files=unknown 5888 ac_cv_sys_large_files=unknown
6012 break 5889 break
6013 done 5890 done
6014 fi 5891 fi
6015 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5892 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
6016 $as_echo "$ac_cv_sys_large_files" >&6; } 5893 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
6017 case $ac_cv_sys_large_files in #( 5894 case $ac_cv_sys_large_files in #(
6018 no | unknown) ;; 5895 no | unknown) ;;
6019 *) 5896 *)
6020 cat >>confdefs.h <<_ACEOF 5897 cat >>confdefs.h <<_ACEOF
6021 #define _LARGE_FILES $ac_cv_sys_large_files 5898 #define _LARGE_FILES $ac_cv_sys_large_files
6022 _ACEOF 5899 _ACEOF
6023 ;; 5900 ;;
6024 esac 5901 esac
6025 rm -rf conftest* 5902 rm -f conftest*
6026 fi 5903 fi
6027 fi 5904 fi
6028 5905
6029 5906
6030 5907
6051 5928
6052 5929
6053 5930
6054 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h 5931 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
6055 do 5932 do
6056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5934 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6058 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5935 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 $as_echo_n "checking for $ac_header... " >&6; } 5936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6061 $as_echo_n "(cached) " >&6 5938 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 fi 5939 fi
6063 ac_res=`eval 'as_val=${'$as_ac_Header'} 5940 ac_res=`eval echo '${'$as_ac_Header'}'`
6064 $as_echo "$as_val"'` 5941 { echo "$as_me:$LINENO: result: $ac_res" >&5
6065 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5942 echo "${ECHO_T}$ac_res" >&6; }
6066 $as_echo "$ac_res" >&6; }
6067 else 5943 else
6068 # Is the header compilable? 5944 # Is the header compilable?
6069 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 5945 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6070 $as_echo_n "checking $ac_header usability... " >&6; } 5946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6071 cat >conftest.$ac_ext <<_ACEOF 5947 cat >conftest.$ac_ext <<_ACEOF
6072 /* confdefs.h. */ 5948 /* confdefs.h. */
6073 _ACEOF 5949 _ACEOF
6074 cat confdefs.h >>conftest.$ac_ext 5950 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF 5951 cat >>conftest.$ac_ext <<_ACEOF
6081 if { (ac_try="$ac_compile" 5957 if { (ac_try="$ac_compile"
6082 case "(($ac_try" in 5958 case "(($ac_try" in
6083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;; 5960 *) ac_try_echo=$ac_try;;
6085 esac 5961 esac
6086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087 $as_echo "$ac_try_echo") >&5
6088 (eval "$ac_compile") 2>conftest.er1 5963 (eval "$ac_compile") 2>conftest.er1
6089 ac_status=$? 5964 ac_status=$?
6090 grep -v '^ *+' conftest.er1 >conftest.err 5965 grep -v '^ *+' conftest.er1 >conftest.err
6091 rm -f conftest.er1 5966 rm -f conftest.er1
6092 cat conftest.err >&5 5967 cat conftest.err >&5
6093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && { 5969 (exit $ac_status); } && {
6095 test -z "$ac_c_werror_flag" || 5970 test -z "$ac_c_werror_flag" ||
6096 test ! -s conftest.err 5971 test ! -s conftest.err
6097 } && test -s conftest.$ac_objext; then 5972 } && test -s conftest.$ac_objext; then
6098 ac_header_compiler=yes 5973 ac_header_compiler=yes
6099 else 5974 else
6100 $as_echo "$as_me: failed program was:" >&5 5975 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5 5976 sed 's/^/| /' conftest.$ac_ext >&5
6102 5977
6103 ac_header_compiler=no 5978 ac_header_compiler=no
6104 fi 5979 fi
6105 5980
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6107 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5982 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6108 $as_echo "$ac_header_compiler" >&6; } 5983 echo "${ECHO_T}$ac_header_compiler" >&6; }
6109 5984
6110 # Is the header present? 5985 # Is the header present?
6111 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 5986 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6112 $as_echo_n "checking $ac_header presence... " >&6; } 5987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6113 cat >conftest.$ac_ext <<_ACEOF 5988 cat >conftest.$ac_ext <<_ACEOF
6114 /* confdefs.h. */ 5989 /* confdefs.h. */
6115 _ACEOF 5990 _ACEOF
6116 cat confdefs.h >>conftest.$ac_ext 5991 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF 5992 cat >>conftest.$ac_ext <<_ACEOF
6121 if { (ac_try="$ac_cpp conftest.$ac_ext" 5996 if { (ac_try="$ac_cpp conftest.$ac_ext"
6122 case "(($ac_try" in 5997 case "(($ac_try" in
6123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6124 *) ac_try_echo=$ac_try;; 5999 *) ac_try_echo=$ac_try;;
6125 esac 6000 esac
6126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6127 $as_echo "$ac_try_echo") >&5
6128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6129 ac_status=$? 6003 ac_status=$?
6130 grep -v '^ *+' conftest.er1 >conftest.err 6004 grep -v '^ *+' conftest.er1 >conftest.err
6131 rm -f conftest.er1 6005 rm -f conftest.er1
6132 cat conftest.err >&5 6006 cat conftest.err >&5
6133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } >/dev/null && { 6008 (exit $ac_status); } >/dev/null && {
6135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6136 test ! -s conftest.err 6010 test ! -s conftest.err
6137 }; then 6011 }; then
6138 ac_header_preproc=yes 6012 ac_header_preproc=yes
6139 else 6013 else
6140 $as_echo "$as_me: failed program was:" >&5 6014 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.$ac_ext >&5 6015 sed 's/^/| /' conftest.$ac_ext >&5
6142 6016
6143 ac_header_preproc=no 6017 ac_header_preproc=no
6144 fi 6018 fi
6145 6019
6146 rm -f conftest.err conftest.$ac_ext 6020 rm -f conftest.err conftest.$ac_ext
6147 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6021 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6148 $as_echo "$ac_header_preproc" >&6; } 6022 echo "${ECHO_T}$ac_header_preproc" >&6; }
6149 6023
6150 # So? What about this header? 6024 # So? What about this header?
6151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6152 yes:no: ) 6026 yes:no: )
6153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6154 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6156 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6157 ac_header_preproc=yes 6031 ac_header_preproc=yes
6158 ;; 6032 ;;
6159 no:yes:* ) 6033 no:yes:* )
6160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6161 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6163 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6165 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6167 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6169 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6171 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6172 6046
6173 ;; 6047 ;;
6174 esac 6048 esac
6175 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6049 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6176 $as_echo_n "checking for $ac_header... " >&6; } 6050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6178 $as_echo_n "(cached) " >&6 6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 else 6053 else
6180 eval "$as_ac_Header=\$ac_header_preproc" 6054 eval "$as_ac_Header=\$ac_header_preproc"
6181 fi 6055 fi
6182 ac_res=`eval 'as_val=${'$as_ac_Header'} 6056 ac_res=`eval echo '${'$as_ac_Header'}'`
6183 $as_echo "$as_val"'` 6057 { echo "$as_me:$LINENO: result: $ac_res" >&5
6184 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6058 echo "${ECHO_T}$ac_res" >&6; }
6185 $as_echo "$ac_res" >&6; } 6059
6186 6060 fi
6187 fi 6061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6188 as_val=`eval 'as_val=${'$as_ac_Header'}
6189 $as_echo "$as_val"'`
6190 if test "x$as_val" = x""yes; then
6191 cat >>confdefs.h <<_ACEOF 6062 cat >>confdefs.h <<_ACEOF
6192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6193 _ACEOF 6064 _ACEOF
6194 6065
6195 fi 6066 fi
6196 6067
6197 done 6068 done
6198 6069
6199 # Emulation library used on NetBSD. 6070 # Emulation library used on NetBSD.
6200 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 6071 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6201 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 6072 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6202 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then 6073 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6203 $as_echo_n "(cached) " >&6 6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 else 6075 else
6205 ac_check_lib_save_LIBS=$LIBS 6076 ac_check_lib_save_LIBS=$LIBS
6206 LIBS="-lossaudio $LIBS" 6077 LIBS="-lossaudio $LIBS"
6207 cat >conftest.$ac_ext <<_ACEOF 6078 cat >conftest.$ac_ext <<_ACEOF
6208 /* confdefs.h. */ 6079 /* confdefs.h. */
6230 if { (ac_try="$ac_link" 6101 if { (ac_try="$ac_link"
6231 case "(($ac_try" in 6102 case "(($ac_try" in
6232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6233 *) ac_try_echo=$ac_try;; 6104 *) ac_try_echo=$ac_try;;
6234 esac 6105 esac
6235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 $as_echo "$ac_try_echo") >&5
6237 (eval "$ac_link") 2>conftest.er1 6107 (eval "$ac_link") 2>conftest.er1
6238 ac_status=$? 6108 ac_status=$?
6239 grep -v '^ *+' conftest.er1 >conftest.err 6109 grep -v '^ *+' conftest.er1 >conftest.err
6240 rm -f conftest.er1 6110 rm -f conftest.er1
6241 cat conftest.err >&5 6111 cat conftest.err >&5
6242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } && { 6113 (exit $ac_status); } && {
6244 test -z "$ac_c_werror_flag" || 6114 test -z "$ac_c_werror_flag" ||
6245 test ! -s conftest.err 6115 test ! -s conftest.err
6246 } && test -s conftest$ac_exeext && { 6116 } && test -s conftest$ac_exeext &&
6247 test "$cross_compiling" = yes || 6117 $as_test_x conftest$ac_exeext; then
6248 $as_test_x conftest$ac_exeext
6249 }; then
6250 ac_cv_lib_ossaudio__oss_ioctl=yes 6118 ac_cv_lib_ossaudio__oss_ioctl=yes
6251 else 6119 else
6252 $as_echo "$as_me: failed program was:" >&5 6120 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5 6121 sed 's/^/| /' conftest.$ac_ext >&5
6254 6122
6255 ac_cv_lib_ossaudio__oss_ioctl=no 6123 ac_cv_lib_ossaudio__oss_ioctl=no
6256 fi 6124 fi
6257 6125
6258 rm -rf conftest.dSYM
6259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6260 conftest$ac_exeext conftest.$ac_ext 6127 conftest$ac_exeext conftest.$ac_ext
6261 LIBS=$ac_check_lib_save_LIBS 6128 LIBS=$ac_check_lib_save_LIBS
6262 fi 6129 fi
6263 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 6130 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6264 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 6131 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6265 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then 6132 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6266 LIBSOUND=-lossaudio 6133 LIBSOUND=-lossaudio
6267 else 6134 else
6268 LIBSOUND= 6135 LIBSOUND=
6269 fi 6136 fi
6270 6137
6275 6142
6276 succeeded=no 6143 succeeded=no
6277 6144
6278 # Extract the first word of "pkg-config", so it can be a program name with args. 6145 # Extract the first word of "pkg-config", so it can be a program name with args.
6279 set dummy pkg-config; ac_word=$2 6146 set dummy pkg-config; ac_word=$2
6280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; } 6148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 6149 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6283 $as_echo_n "(cached) " >&6 6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 else 6151 else
6285 case $PKG_CONFIG in 6152 case $PKG_CONFIG in
6286 [\\/]* | ?:[\\/]*) 6153 [\\/]* | ?:[\\/]*)
6287 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6154 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6288 ;; 6155 ;;
6293 IFS=$as_save_IFS 6160 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=. 6161 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do 6162 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6297 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6164 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 break 2 6166 break 2
6300 fi 6167 fi
6301 done 6168 done
6302 done 6169 done
6303 IFS=$as_save_IFS 6170 IFS=$as_save_IFS
6306 ;; 6173 ;;
6307 esac 6174 esac
6308 fi 6175 fi
6309 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6176 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6310 if test -n "$PKG_CONFIG"; then 6177 if test -n "$PKG_CONFIG"; then
6311 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 6178 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6312 $as_echo "$PKG_CONFIG" >&6; } 6179 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6313 else 6180 else
6314 { $as_echo "$as_me:$LINENO: result: no" >&5 6181 { echo "$as_me:$LINENO: result: no" >&5
6315 $as_echo "no" >&6; } 6182 echo "${ECHO_T}no" >&6; }
6316 fi 6183 fi
6317 6184
6318 6185
6319 6186
6320 if test "$PKG_CONFIG" = "no" ; then 6187 if test "$PKG_CONFIG" = "no" ; then
6321 HAVE_ALSA=no 6188 HAVE_ALSA=no
6322 else 6189 else
6323 PKG_CONFIG_MIN_VERSION=0.9.0 6190 PKG_CONFIG_MIN_VERSION=0.9.0
6324 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 6191 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6325 { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 6192 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5
6326 $as_echo_n "checking for $ALSA_MODULES... " >&6; } 6193 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; }
6327 6194
6328 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then 6195 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then
6329 { $as_echo "$as_me:$LINENO: result: yes" >&5 6196 { echo "$as_me:$LINENO: result: yes" >&5
6330 $as_echo "yes" >&6; } 6197 echo "${ECHO_T}yes" >&6; }
6331 succeeded=yes 6198 succeeded=yes
6332 6199
6333 { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 6200 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
6334 $as_echo_n "checking ALSA_CFLAGS... " >&6; } 6201 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; }
6335 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6202 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6336 { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 6203 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
6337 $as_echo "$ALSA_CFLAGS" >&6; } 6204 echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
6338 6205
6339 { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 6206 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
6340 $as_echo_n "checking ALSA_LIBS... " >&6; } 6207 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; }
6341 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` 6208 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'`
6342 { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 6209 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
6343 $as_echo "$ALSA_LIBS" >&6; } 6210 echo "${ECHO_T}$ALSA_LIBS" >&6; }
6344 else 6211 else
6345 { $as_echo "$as_me:$LINENO: result: no" >&5 6212 { echo "$as_me:$LINENO: result: no" >&5
6346 $as_echo "no" >&6; } 6213 echo "${ECHO_T}no" >&6; }
6347 ALSA_CFLAGS="" 6214 ALSA_CFLAGS=""
6348 ALSA_LIBS="" 6215 ALSA_LIBS=""
6349 ## If we have a custom action on failure, don't print errors, but 6216 ## If we have a custom action on failure, don't print errors, but
6350 ## do set a variable so people can do so. 6217 ## do set a variable so people can do so.
6351 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` 6218 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"`
6390 if { (ac_try="$ac_compile" 6257 if { (ac_try="$ac_compile"
6391 case "(($ac_try" in 6258 case "(($ac_try" in
6392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6393 *) ac_try_echo=$ac_try;; 6260 *) ac_try_echo=$ac_try;;
6394 esac 6261 esac
6395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6396 $as_echo "$ac_try_echo") >&5
6397 (eval "$ac_compile") 2>conftest.er1 6263 (eval "$ac_compile") 2>conftest.er1
6398 ac_status=$? 6264 ac_status=$?
6399 grep -v '^ *+' conftest.er1 >conftest.err 6265 grep -v '^ *+' conftest.er1 >conftest.err
6400 rm -f conftest.er1 6266 rm -f conftest.er1
6401 cat conftest.err >&5 6267 cat conftest.err >&5
6402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } && { 6269 (exit $ac_status); } && {
6404 test -z "$ac_c_werror_flag" || 6270 test -z "$ac_c_werror_flag" ||
6405 test ! -s conftest.err 6271 test ! -s conftest.err
6406 } && test -s conftest.$ac_objext; then 6272 } && test -s conftest.$ac_objext; then
6407 emacs_alsa_normal=yes 6273 emacs_alsa_normal=yes
6408 else 6274 else
6409 $as_echo "$as_me: failed program was:" >&5 6275 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5 6276 sed 's/^/| /' conftest.$ac_ext >&5
6411 6277
6412 emacs_alsa_normal=no 6278 emacs_alsa_normal=no
6413 fi 6279 fi
6414 6280
6433 if { (ac_try="$ac_compile" 6299 if { (ac_try="$ac_compile"
6434 case "(($ac_try" in 6300 case "(($ac_try" in
6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436 *) ac_try_echo=$ac_try;; 6302 *) ac_try_echo=$ac_try;;
6437 esac 6303 esac
6438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439 $as_echo "$ac_try_echo") >&5
6440 (eval "$ac_compile") 2>conftest.er1 6305 (eval "$ac_compile") 2>conftest.er1
6441 ac_status=$? 6306 ac_status=$?
6442 grep -v '^ *+' conftest.er1 >conftest.err 6307 grep -v '^ *+' conftest.er1 >conftest.err
6443 rm -f conftest.er1 6308 rm -f conftest.er1
6444 cat conftest.err >&5 6309 cat conftest.err >&5
6445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } && { 6311 (exit $ac_status); } && {
6447 test -z "$ac_c_werror_flag" || 6312 test -z "$ac_c_werror_flag" ||
6448 test ! -s conftest.err 6313 test ! -s conftest.err
6449 } && test -s conftest.$ac_objext; then 6314 } && test -s conftest.$ac_objext; then
6450 emacs_alsa_subdir=yes 6315 emacs_alsa_subdir=yes
6451 else 6316 else
6452 $as_echo "$as_me: failed program was:" >&5 6317 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5 6318 sed 's/^/| /' conftest.$ac_ext >&5
6454 6319
6455 emacs_alsa_subdir=no 6320 emacs_alsa_subdir=no
6456 fi 6321 fi
6457 6322
6458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6459 if test "$emacs_alsa_subdir" != yes; then 6324 if test "$emacs_alsa_subdir" != yes; then
6460 { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 6325 { { echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5
6461 $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} 6326 echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;}
6462 { (exit 1); exit 1; }; } 6327 { (exit 1); exit 1; }; }
6463 fi 6328 fi
6464 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" 6329 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE"
6465 fi 6330 fi
6466 6331
6506 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6371 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6507 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6372 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6508 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6373 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6509 sys/utsname.h pwd.h 6374 sys/utsname.h pwd.h
6510 do 6375 do
6511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6513 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6514 $as_echo_n "checking for $ac_header... " >&6; } 6379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6516 $as_echo_n "(cached) " >&6 6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 fi 6382 fi
6518 ac_res=`eval 'as_val=${'$as_ac_Header'} 6383 ac_res=`eval echo '${'$as_ac_Header'}'`
6519 $as_echo "$as_val"'` 6384 { echo "$as_me:$LINENO: result: $ac_res" >&5
6520 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6385 echo "${ECHO_T}$ac_res" >&6; }
6521 $as_echo "$ac_res" >&6; }
6522 else 6386 else
6523 # Is the header compilable? 6387 # Is the header compilable?
6524 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 6388 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6525 $as_echo_n "checking $ac_header usability... " >&6; } 6389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6526 cat >conftest.$ac_ext <<_ACEOF 6390 cat >conftest.$ac_ext <<_ACEOF
6527 /* confdefs.h. */ 6391 /* confdefs.h. */
6528 _ACEOF 6392 _ACEOF
6529 cat confdefs.h >>conftest.$ac_ext 6393 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF 6394 cat >>conftest.$ac_ext <<_ACEOF
6536 if { (ac_try="$ac_compile" 6400 if { (ac_try="$ac_compile"
6537 case "(($ac_try" in 6401 case "(($ac_try" in
6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6539 *) ac_try_echo=$ac_try;; 6403 *) ac_try_echo=$ac_try;;
6540 esac 6404 esac
6541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6542 $as_echo "$ac_try_echo") >&5
6543 (eval "$ac_compile") 2>conftest.er1 6406 (eval "$ac_compile") 2>conftest.er1
6544 ac_status=$? 6407 ac_status=$?
6545 grep -v '^ *+' conftest.er1 >conftest.err 6408 grep -v '^ *+' conftest.er1 >conftest.err
6546 rm -f conftest.er1 6409 rm -f conftest.er1
6547 cat conftest.err >&5 6410 cat conftest.err >&5
6548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); } && { 6412 (exit $ac_status); } && {
6550 test -z "$ac_c_werror_flag" || 6413 test -z "$ac_c_werror_flag" ||
6551 test ! -s conftest.err 6414 test ! -s conftest.err
6552 } && test -s conftest.$ac_objext; then 6415 } && test -s conftest.$ac_objext; then
6553 ac_header_compiler=yes 6416 ac_header_compiler=yes
6554 else 6417 else
6555 $as_echo "$as_me: failed program was:" >&5 6418 echo "$as_me: failed program was:" >&5
6556 sed 's/^/| /' conftest.$ac_ext >&5 6419 sed 's/^/| /' conftest.$ac_ext >&5
6557 6420
6558 ac_header_compiler=no 6421 ac_header_compiler=no
6559 fi 6422 fi
6560 6423
6561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6562 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6563 $as_echo "$ac_header_compiler" >&6; } 6426 echo "${ECHO_T}$ac_header_compiler" >&6; }
6564 6427
6565 # Is the header present? 6428 # Is the header present?
6566 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 6429 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6567 $as_echo_n "checking $ac_header presence... " >&6; } 6430 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6568 cat >conftest.$ac_ext <<_ACEOF 6431 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */ 6432 /* confdefs.h. */
6570 _ACEOF 6433 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext 6434 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF 6435 cat >>conftest.$ac_ext <<_ACEOF
6576 if { (ac_try="$ac_cpp conftest.$ac_ext" 6439 if { (ac_try="$ac_cpp conftest.$ac_ext"
6577 case "(($ac_try" in 6440 case "(($ac_try" in
6578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6579 *) ac_try_echo=$ac_try;; 6442 *) ac_try_echo=$ac_try;;
6580 esac 6443 esac
6581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6582 $as_echo "$ac_try_echo") >&5
6583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6584 ac_status=$? 6446 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err 6447 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1 6448 rm -f conftest.er1
6587 cat conftest.err >&5 6449 cat conftest.err >&5
6588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null && { 6451 (exit $ac_status); } >/dev/null && {
6590 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6591 test ! -s conftest.err 6453 test ! -s conftest.err
6592 }; then 6454 }; then
6593 ac_header_preproc=yes 6455 ac_header_preproc=yes
6594 else 6456 else
6595 $as_echo "$as_me: failed program was:" >&5 6457 echo "$as_me: failed program was:" >&5
6596 sed 's/^/| /' conftest.$ac_ext >&5 6458 sed 's/^/| /' conftest.$ac_ext >&5
6597 6459
6598 ac_header_preproc=no 6460 ac_header_preproc=no
6599 fi 6461 fi
6600 6462
6601 rm -f conftest.err conftest.$ac_ext 6463 rm -f conftest.err conftest.$ac_ext
6602 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6464 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6603 $as_echo "$ac_header_preproc" >&6; } 6465 echo "${ECHO_T}$ac_header_preproc" >&6; }
6604 6466
6605 # So? What about this header? 6467 # So? What about this header?
6606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6607 yes:no: ) 6469 yes:no: )
6608 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6609 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6610 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6611 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6612 ac_header_preproc=yes 6474 ac_header_preproc=yes
6613 ;; 6475 ;;
6614 no:yes:* ) 6476 no:yes:* )
6615 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6616 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6617 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6618 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6619 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6620 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6622 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6624 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6626 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6627 6489
6628 ;; 6490 ;;
6629 esac 6491 esac
6630 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6631 $as_echo_n "checking for $ac_header... " >&6; } 6493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6633 $as_echo_n "(cached) " >&6 6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 else 6496 else
6635 eval "$as_ac_Header=\$ac_header_preproc" 6497 eval "$as_ac_Header=\$ac_header_preproc"
6636 fi 6498 fi
6637 ac_res=`eval 'as_val=${'$as_ac_Header'} 6499 ac_res=`eval echo '${'$as_ac_Header'}'`
6638 $as_echo "$as_val"'` 6500 { echo "$as_me:$LINENO: result: $ac_res" >&5
6639 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6501 echo "${ECHO_T}$ac_res" >&6; }
6640 $as_echo "$ac_res" >&6; } 6502
6641 6503 fi
6642 fi 6504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6643 as_val=`eval 'as_val=${'$as_ac_Header'}
6644 $as_echo "$as_val"'`
6645 if test "x$as_val" = x""yes; then
6646 cat >>confdefs.h <<_ACEOF 6505 cat >>confdefs.h <<_ACEOF
6647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6648 _ACEOF 6507 _ACEOF
6649 6508
6650 fi 6509 fi
6651 6510
6652 done 6511 done
6653 6512
6654 6513
6655 { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 6514 { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5
6656 $as_echo_n "checking if personality LINUX32 can be set... " >&6; } 6515 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; }
6657 cat >conftest.$ac_ext <<_ACEOF 6516 cat >conftest.$ac_ext <<_ACEOF
6658 /* confdefs.h. */ 6517 /* confdefs.h. */
6659 _ACEOF 6518 _ACEOF
6660 cat confdefs.h >>conftest.$ac_ext 6519 cat confdefs.h >>conftest.$ac_ext
6661 cat >>conftest.$ac_ext <<_ACEOF 6520 cat >>conftest.$ac_ext <<_ACEOF
6673 if { (ac_try="$ac_compile" 6532 if { (ac_try="$ac_compile"
6674 case "(($ac_try" in 6533 case "(($ac_try" in
6675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6676 *) ac_try_echo=$ac_try;; 6535 *) ac_try_echo=$ac_try;;
6677 esac 6536 esac
6678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6679 $as_echo "$ac_try_echo") >&5
6680 (eval "$ac_compile") 2>conftest.er1 6538 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$? 6539 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err 6540 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1 6541 rm -f conftest.er1
6684 cat conftest.err >&5 6542 cat conftest.err >&5
6685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && { 6544 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" || 6545 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err 6546 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then 6547 } && test -s conftest.$ac_objext; then
6690 emacs_cv_personality_linux32=yes 6548 emacs_cv_personality_linux32=yes
6691 else 6549 else
6692 $as_echo "$as_me: failed program was:" >&5 6550 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5 6551 sed 's/^/| /' conftest.$ac_ext >&5
6694 6552
6695 emacs_cv_personality_linux32=no 6553 emacs_cv_personality_linux32=no
6696 fi 6554 fi
6697 6555
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6699 { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 6557 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5
6700 $as_echo "$emacs_cv_personality_linux32" >&6; } 6558 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; }
6701 6559
6702 if test $emacs_cv_personality_linux32 = yes; then 6560 if test $emacs_cv_personality_linux32 = yes; then
6703 6561
6704 cat >>confdefs.h <<\_ACEOF 6562 cat >>confdefs.h <<\_ACEOF
6705 #define HAVE_PERSONALITY_LINUX32 1 6563 #define HAVE_PERSONALITY_LINUX32 1
6708 fi 6566 fi
6709 6567
6710 6568
6711 for ac_header in term.h 6569 for ac_header in term.h
6712 do 6570 do
6713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6714 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6715 $as_echo_n "checking for $ac_header... " >&6; } 6573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6717 $as_echo_n "(cached) " >&6 6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 else 6576 else
6719 cat >conftest.$ac_ext <<_ACEOF 6577 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */ 6578 /* confdefs.h. */
6721 _ACEOF 6579 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext 6580 cat confdefs.h >>conftest.$ac_ext
6727 if { (ac_try="$ac_cpp conftest.$ac_ext" 6585 if { (ac_try="$ac_cpp conftest.$ac_ext"
6728 case "(($ac_try" in 6586 case "(($ac_try" in
6729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6730 *) ac_try_echo=$ac_try;; 6588 *) ac_try_echo=$ac_try;;
6731 esac 6589 esac
6732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6733 $as_echo "$ac_try_echo") >&5
6734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6735 ac_status=$? 6592 ac_status=$?
6736 grep -v '^ *+' conftest.er1 >conftest.err 6593 grep -v '^ *+' conftest.er1 >conftest.err
6737 rm -f conftest.er1 6594 rm -f conftest.er1
6738 cat conftest.err >&5 6595 cat conftest.err >&5
6739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } >/dev/null && { 6597 (exit $ac_status); } >/dev/null && {
6741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6742 test ! -s conftest.err 6599 test ! -s conftest.err
6743 }; then 6600 }; then
6744 eval "$as_ac_Header=yes" 6601 eval "$as_ac_Header=yes"
6745 else 6602 else
6746 $as_echo "$as_me: failed program was:" >&5 6603 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5 6604 sed 's/^/| /' conftest.$ac_ext >&5
6748 6605
6749 eval "$as_ac_Header=no" 6606 eval "$as_ac_Header=no"
6750 fi 6607 fi
6751 6608
6752 rm -f conftest.err conftest.$ac_ext 6609 rm -f conftest.err conftest.$ac_ext
6753 fi 6610 fi
6754 ac_res=`eval 'as_val=${'$as_ac_Header'} 6611 ac_res=`eval echo '${'$as_ac_Header'}'`
6755 $as_echo "$as_val"'` 6612 { echo "$as_me:$LINENO: result: $ac_res" >&5
6756 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6613 echo "${ECHO_T}$ac_res" >&6; }
6757 $as_echo "$ac_res" >&6; } 6614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6758 as_val=`eval 'as_val=${'$as_ac_Header'}
6759 $as_echo "$as_val"'`
6760 if test "x$as_val" = x""yes; then
6761 cat >>confdefs.h <<_ACEOF 6615 cat >>confdefs.h <<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763 _ACEOF 6617 _ACEOF
6764 6618
6765 fi 6619 fi
6766 6620
6767 done 6621 done
6768 6622
6769 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6623 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6770 $as_echo_n "checking for ANSI C header files... " >&6; } 6624 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6771 if test "${ac_cv_header_stdc+set}" = set; then 6625 if test "${ac_cv_header_stdc+set}" = set; then
6772 $as_echo_n "(cached) " >&6 6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 else 6627 else
6774 cat >conftest.$ac_ext <<_ACEOF 6628 cat >conftest.$ac_ext <<_ACEOF
6775 /* confdefs.h. */ 6629 /* confdefs.h. */
6776 _ACEOF 6630 _ACEOF
6777 cat confdefs.h >>conftest.$ac_ext 6631 cat confdefs.h >>conftest.$ac_ext
6794 if { (ac_try="$ac_compile" 6648 if { (ac_try="$ac_compile"
6795 case "(($ac_try" in 6649 case "(($ac_try" in
6796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6797 *) ac_try_echo=$ac_try;; 6651 *) ac_try_echo=$ac_try;;
6798 esac 6652 esac
6799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6800 $as_echo "$ac_try_echo") >&5
6801 (eval "$ac_compile") 2>conftest.er1 6654 (eval "$ac_compile") 2>conftest.er1
6802 ac_status=$? 6655 ac_status=$?
6803 grep -v '^ *+' conftest.er1 >conftest.err 6656 grep -v '^ *+' conftest.er1 >conftest.err
6804 rm -f conftest.er1 6657 rm -f conftest.er1
6805 cat conftest.err >&5 6658 cat conftest.err >&5
6806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } && { 6660 (exit $ac_status); } && {
6808 test -z "$ac_c_werror_flag" || 6661 test -z "$ac_c_werror_flag" ||
6809 test ! -s conftest.err 6662 test ! -s conftest.err
6810 } && test -s conftest.$ac_objext; then 6663 } && test -s conftest.$ac_objext; then
6811 ac_cv_header_stdc=yes 6664 ac_cv_header_stdc=yes
6812 else 6665 else
6813 $as_echo "$as_me: failed program was:" >&5 6666 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5 6667 sed 's/^/| /' conftest.$ac_ext >&5
6815 6668
6816 ac_cv_header_stdc=no 6669 ac_cv_header_stdc=no
6817 fi 6670 fi
6818 6671
6900 if { (ac_try="$ac_link" 6753 if { (ac_try="$ac_link"
6901 case "(($ac_try" in 6754 case "(($ac_try" in
6902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6903 *) ac_try_echo=$ac_try;; 6756 *) ac_try_echo=$ac_try;;
6904 esac 6757 esac
6905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906 $as_echo "$ac_try_echo") >&5
6907 (eval "$ac_link") 2>&5 6759 (eval "$ac_link") 2>&5
6908 ac_status=$? 6760 ac_status=$?
6909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6762 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6911 { (case "(($ac_try" in 6763 { (case "(($ac_try" in
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;; 6765 *) ac_try_echo=$ac_try;;
6914 esac 6766 esac
6915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_try") 2>&5 6768 (eval "$ac_try") 2>&5
6918 ac_status=$? 6769 ac_status=$?
6919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then 6771 (exit $ac_status); }; }; then
6921 : 6772 :
6922 else 6773 else
6923 $as_echo "$as_me: program exited with status $ac_status" >&5 6774 echo "$as_me: program exited with status $ac_status" >&5
6924 $as_echo "$as_me: failed program was:" >&5 6775 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5 6776 sed 's/^/| /' conftest.$ac_ext >&5
6926 6777
6927 ( exit $ac_status ) 6778 ( exit $ac_status )
6928 ac_cv_header_stdc=no 6779 ac_cv_header_stdc=no
6929 fi 6780 fi
6930 rm -rf conftest.dSYM
6931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6932 fi 6782 fi
6933 6783
6934 6784
6935 fi 6785 fi
6936 fi 6786 fi
6937 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6787 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6938 $as_echo "$ac_cv_header_stdc" >&6; } 6788 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6939 if test $ac_cv_header_stdc = yes; then 6789 if test $ac_cv_header_stdc = yes; then
6940 6790
6941 cat >>confdefs.h <<\_ACEOF 6791 cat >>confdefs.h <<\_ACEOF
6942 #define STDC_HEADERS 1 6792 #define STDC_HEADERS 1
6943 _ACEOF 6793 _ACEOF
6944 6794
6945 fi 6795 fi
6946 6796
6947 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 6797 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6948 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6798 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6949 if test "${ac_cv_header_time+set}" = set; then 6799 if test "${ac_cv_header_time+set}" = set; then
6950 $as_echo_n "(cached) " >&6 6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6951 else 6801 else
6952 cat >conftest.$ac_ext <<_ACEOF 6802 cat >conftest.$ac_ext <<_ACEOF
6953 /* confdefs.h. */ 6803 /* confdefs.h. */
6954 _ACEOF 6804 _ACEOF
6955 cat confdefs.h >>conftest.$ac_ext 6805 cat confdefs.h >>conftest.$ac_ext
6972 if { (ac_try="$ac_compile" 6822 if { (ac_try="$ac_compile"
6973 case "(($ac_try" in 6823 case "(($ac_try" in
6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975 *) ac_try_echo=$ac_try;; 6825 *) ac_try_echo=$ac_try;;
6976 esac 6826 esac
6977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6978 $as_echo "$ac_try_echo") >&5
6979 (eval "$ac_compile") 2>conftest.er1 6828 (eval "$ac_compile") 2>conftest.er1
6980 ac_status=$? 6829 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err 6830 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1 6831 rm -f conftest.er1
6983 cat conftest.err >&5 6832 cat conftest.err >&5
6984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && { 6834 (exit $ac_status); } && {
6986 test -z "$ac_c_werror_flag" || 6835 test -z "$ac_c_werror_flag" ||
6987 test ! -s conftest.err 6836 test ! -s conftest.err
6988 } && test -s conftest.$ac_objext; then 6837 } && test -s conftest.$ac_objext; then
6989 ac_cv_header_time=yes 6838 ac_cv_header_time=yes
6990 else 6839 else
6991 $as_echo "$as_me: failed program was:" >&5 6840 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5 6841 sed 's/^/| /' conftest.$ac_ext >&5
6993 6842
6994 ac_cv_header_time=no 6843 ac_cv_header_time=no
6995 fi 6844 fi
6996 6845
6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6998 fi 6847 fi
6999 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 6848 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7000 $as_echo "$ac_cv_header_time" >&6; } 6849 echo "${ECHO_T}$ac_cv_header_time" >&6; }
7001 if test $ac_cv_header_time = yes; then 6850 if test $ac_cv_header_time = yes; then
7002 6851
7003 cat >>confdefs.h <<\_ACEOF 6852 cat >>confdefs.h <<\_ACEOF
7004 #define TIME_WITH_SYS_TIME 1 6853 #define TIME_WITH_SYS_TIME 1
7005 _ACEOF 6854 _ACEOF
7006 6855
7007 fi 6856 fi
7008 6857
7009 { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 6858 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
7010 $as_echo_n "checking whether sys_siglist is declared... " >&6; } 6859 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
7011 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then 6860 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
7012 $as_echo_n "(cached) " >&6 6861 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else 6862 else
7014 cat >conftest.$ac_ext <<_ACEOF 6863 cat >conftest.$ac_ext <<_ACEOF
7015 /* confdefs.h. */ 6864 /* confdefs.h. */
7016 _ACEOF 6865 _ACEOF
7017 cat confdefs.h >>conftest.$ac_ext 6866 cat confdefs.h >>conftest.$ac_ext
7033 if { (ac_try="$ac_compile" 6882 if { (ac_try="$ac_compile"
7034 case "(($ac_try" in 6883 case "(($ac_try" in
7035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036 *) ac_try_echo=$ac_try;; 6885 *) ac_try_echo=$ac_try;;
7037 esac 6886 esac
7038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039 $as_echo "$ac_try_echo") >&5
7040 (eval "$ac_compile") 2>conftest.er1 6888 (eval "$ac_compile") 2>conftest.er1
7041 ac_status=$? 6889 ac_status=$?
7042 grep -v '^ *+' conftest.er1 >conftest.err 6890 grep -v '^ *+' conftest.er1 >conftest.err
7043 rm -f conftest.er1 6891 rm -f conftest.er1
7044 cat conftest.err >&5 6892 cat conftest.err >&5
7045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } && { 6894 (exit $ac_status); } && {
7047 test -z "$ac_c_werror_flag" || 6895 test -z "$ac_c_werror_flag" ||
7048 test ! -s conftest.err 6896 test ! -s conftest.err
7049 } && test -s conftest.$ac_objext; then 6897 } && test -s conftest.$ac_objext; then
7050 ac_cv_have_decl_sys_siglist=yes 6898 ac_cv_have_decl_sys_siglist=yes
7051 else 6899 else
7052 $as_echo "$as_me: failed program was:" >&5 6900 echo "$as_me: failed program was:" >&5
7053 sed 's/^/| /' conftest.$ac_ext >&5 6901 sed 's/^/| /' conftest.$ac_ext >&5
7054 6902
7055 ac_cv_have_decl_sys_siglist=no 6903 ac_cv_have_decl_sys_siglist=no
7056 fi 6904 fi
7057 6905
7058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7059 fi 6907 fi
7060 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 6908 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
7061 $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } 6909 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
7062 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then 6910 if test $ac_cv_have_decl_sys_siglist = yes; then
7063 6911
7064 cat >>confdefs.h <<_ACEOF 6912 cat >>confdefs.h <<_ACEOF
7065 #define HAVE_DECL_SYS_SIGLIST 1 6913 #define HAVE_DECL_SYS_SIGLIST 1
7066 _ACEOF 6914 _ACEOF
7067 6915
7075 fi 6923 fi
7076 6924
7077 6925
7078 if test $ac_cv_have_decl_sys_siglist != yes; then 6926 if test $ac_cv_have_decl_sys_siglist != yes; then
7079 # For Tru64, at least: 6927 # For Tru64, at least:
7080 { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 6928 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5
7081 $as_echo_n "checking whether __sys_siglist is declared... " >&6; } 6929 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; }
7082 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then 6930 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then
7083 $as_echo_n "(cached) " >&6 6931 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else 6932 else
7085 cat >conftest.$ac_ext <<_ACEOF 6933 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */ 6934 /* confdefs.h. */
7087 _ACEOF 6935 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext 6936 cat confdefs.h >>conftest.$ac_ext
7104 if { (ac_try="$ac_compile" 6952 if { (ac_try="$ac_compile"
7105 case "(($ac_try" in 6953 case "(($ac_try" in
7106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7107 *) ac_try_echo=$ac_try;; 6955 *) ac_try_echo=$ac_try;;
7108 esac 6956 esac
7109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 $as_echo "$ac_try_echo") >&5
7111 (eval "$ac_compile") 2>conftest.er1 6958 (eval "$ac_compile") 2>conftest.er1
7112 ac_status=$? 6959 ac_status=$?
7113 grep -v '^ *+' conftest.er1 >conftest.err 6960 grep -v '^ *+' conftest.er1 >conftest.err
7114 rm -f conftest.er1 6961 rm -f conftest.er1
7115 cat conftest.err >&5 6962 cat conftest.err >&5
7116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && { 6964 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" || 6965 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err 6966 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then 6967 } && test -s conftest.$ac_objext; then
7121 ac_cv_have_decl___sys_siglist=yes 6968 ac_cv_have_decl___sys_siglist=yes
7122 else 6969 else
7123 $as_echo "$as_me: failed program was:" >&5 6970 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5 6971 sed 's/^/| /' conftest.$ac_ext >&5
7125 6972
7126 ac_cv_have_decl___sys_siglist=no 6973 ac_cv_have_decl___sys_siglist=no
7127 fi 6974 fi
7128 6975
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 fi 6977 fi
7131 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 6978 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5
7132 $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } 6979 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; }
7133 if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then 6980 if test $ac_cv_have_decl___sys_siglist = yes; then
7134 6981
7135 cat >>confdefs.h <<_ACEOF 6982 cat >>confdefs.h <<_ACEOF
7136 #define HAVE_DECL___SYS_SIGLIST 1 6983 #define HAVE_DECL___SYS_SIGLIST 1
7137 _ACEOF 6984 _ACEOF
7138 6985
7152 #define sys_siglist __sys_siglist 6999 #define sys_siglist __sys_siglist
7153 _ACEOF 7000 _ACEOF
7154 7001
7155 fi 7002 fi
7156 fi 7003 fi
7157 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 7004 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7158 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 7005 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7159 if test "${ac_cv_header_sys_wait_h+set}" = set; then 7006 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7160 $as_echo_n "(cached) " >&6 7007 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 else 7008 else
7162 cat >conftest.$ac_ext <<_ACEOF 7009 cat >conftest.$ac_ext <<_ACEOF
7163 /* confdefs.h. */ 7010 /* confdefs.h. */
7164 _ACEOF 7011 _ACEOF
7165 cat confdefs.h >>conftest.$ac_ext 7012 cat confdefs.h >>conftest.$ac_ext
7188 if { (ac_try="$ac_compile" 7035 if { (ac_try="$ac_compile"
7189 case "(($ac_try" in 7036 case "(($ac_try" in
7190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7191 *) ac_try_echo=$ac_try;; 7038 *) ac_try_echo=$ac_try;;
7192 esac 7039 esac
7193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7194 $as_echo "$ac_try_echo") >&5
7195 (eval "$ac_compile") 2>conftest.er1 7041 (eval "$ac_compile") 2>conftest.er1
7196 ac_status=$? 7042 ac_status=$?
7197 grep -v '^ *+' conftest.er1 >conftest.err 7043 grep -v '^ *+' conftest.er1 >conftest.err
7198 rm -f conftest.er1 7044 rm -f conftest.er1
7199 cat conftest.err >&5 7045 cat conftest.err >&5
7200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } && { 7047 (exit $ac_status); } && {
7202 test -z "$ac_c_werror_flag" || 7048 test -z "$ac_c_werror_flag" ||
7203 test ! -s conftest.err 7049 test ! -s conftest.err
7204 } && test -s conftest.$ac_objext; then 7050 } && test -s conftest.$ac_objext; then
7205 ac_cv_header_sys_wait_h=yes 7051 ac_cv_header_sys_wait_h=yes
7206 else 7052 else
7207 $as_echo "$as_me: failed program was:" >&5 7053 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5 7054 sed 's/^/| /' conftest.$ac_ext >&5
7209 7055
7210 ac_cv_header_sys_wait_h=no 7056 ac_cv_header_sys_wait_h=no
7211 fi 7057 fi
7212 7058
7213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7214 fi 7060 fi
7215 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 7061 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7216 $as_echo "$ac_cv_header_sys_wait_h" >&6; } 7062 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7217 if test $ac_cv_header_sys_wait_h = yes; then 7063 if test $ac_cv_header_sys_wait_h = yes; then
7218 7064
7219 cat >>confdefs.h <<\_ACEOF 7065 cat >>confdefs.h <<\_ACEOF
7220 #define HAVE_SYS_WAIT_H 1 7066 #define HAVE_SYS_WAIT_H 1
7221 _ACEOF 7067 _ACEOF
7222 7068
7223 fi 7069 fi
7224 7070
7225 7071
7226 { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 7072 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5
7227 $as_echo_n "checking for struct utimbuf... " >&6; } 7073 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; }
7228 if test "${emacs_cv_struct_utimbuf+set}" = set; then 7074 if test "${emacs_cv_struct_utimbuf+set}" = set; then
7229 $as_echo_n "(cached) " >&6 7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else 7076 else
7231 cat >conftest.$ac_ext <<_ACEOF 7077 cat >conftest.$ac_ext <<_ACEOF
7232 /* confdefs.h. */ 7078 /* confdefs.h. */
7233 _ACEOF 7079 _ACEOF
7234 cat confdefs.h >>conftest.$ac_ext 7080 cat confdefs.h >>conftest.$ac_ext
7259 if { (ac_try="$ac_compile" 7105 if { (ac_try="$ac_compile"
7260 case "(($ac_try" in 7106 case "(($ac_try" in
7261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;; 7108 *) ac_try_echo=$ac_try;;
7263 esac 7109 esac
7264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265 $as_echo "$ac_try_echo") >&5
7266 (eval "$ac_compile") 2>conftest.er1 7111 (eval "$ac_compile") 2>conftest.er1
7267 ac_status=$? 7112 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err 7113 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1 7114 rm -f conftest.er1
7270 cat conftest.err >&5 7115 cat conftest.err >&5
7271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && { 7117 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" || 7118 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err 7119 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then 7120 } && test -s conftest.$ac_objext; then
7276 emacs_cv_struct_utimbuf=yes 7121 emacs_cv_struct_utimbuf=yes
7277 else 7122 else
7278 $as_echo "$as_me: failed program was:" >&5 7123 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5 7124 sed 's/^/| /' conftest.$ac_ext >&5
7280 7125
7281 emacs_cv_struct_utimbuf=no 7126 emacs_cv_struct_utimbuf=no
7282 fi 7127 fi
7283 7128
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285 fi 7130 fi
7286 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 7131 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
7287 $as_echo "$emacs_cv_struct_utimbuf" >&6; } 7132 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; }
7288 if test $emacs_cv_struct_utimbuf = yes; then 7133 if test $emacs_cv_struct_utimbuf = yes; then
7289 7134
7290 cat >>confdefs.h <<\_ACEOF 7135 cat >>confdefs.h <<\_ACEOF
7291 #define HAVE_STRUCT_UTIMBUF 1 7136 #define HAVE_STRUCT_UTIMBUF 1
7292 _ACEOF 7137 _ACEOF
7293 7138
7294 fi 7139 fi
7295 7140
7296 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 7141 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7297 $as_echo_n "checking return type of signal handlers... " >&6; } 7142 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
7298 if test "${ac_cv_type_signal+set}" = set; then 7143 if test "${ac_cv_type_signal+set}" = set; then
7299 $as_echo_n "(cached) " >&6 7144 echo $ECHO_N "(cached) $ECHO_C" >&6
7300 else 7145 else
7301 cat >conftest.$ac_ext <<_ACEOF 7146 cat >conftest.$ac_ext <<_ACEOF
7302 /* confdefs.h. */ 7147 /* confdefs.h. */
7303 _ACEOF 7148 _ACEOF
7304 cat confdefs.h >>conftest.$ac_ext 7149 cat confdefs.h >>conftest.$ac_ext
7319 if { (ac_try="$ac_compile" 7164 if { (ac_try="$ac_compile"
7320 case "(($ac_try" in 7165 case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;; 7167 *) ac_try_echo=$ac_try;;
7323 esac 7168 esac
7324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 $as_echo "$ac_try_echo") >&5
7326 (eval "$ac_compile") 2>conftest.er1 7170 (eval "$ac_compile") 2>conftest.er1
7327 ac_status=$? 7171 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err 7172 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1 7173 rm -f conftest.er1
7330 cat conftest.err >&5 7174 cat conftest.err >&5
7331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } && { 7176 (exit $ac_status); } && {
7333 test -z "$ac_c_werror_flag" || 7177 test -z "$ac_c_werror_flag" ||
7334 test ! -s conftest.err 7178 test ! -s conftest.err
7335 } && test -s conftest.$ac_objext; then 7179 } && test -s conftest.$ac_objext; then
7336 ac_cv_type_signal=int 7180 ac_cv_type_signal=int
7337 else 7181 else
7338 $as_echo "$as_me: failed program was:" >&5 7182 echo "$as_me: failed program was:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5 7183 sed 's/^/| /' conftest.$ac_ext >&5
7340 7184
7341 ac_cv_type_signal=void 7185 ac_cv_type_signal=void
7342 fi 7186 fi
7343 7187
7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 fi 7189 fi
7346 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7190 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7347 $as_echo "$ac_cv_type_signal" >&6; } 7191 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
7348 7192
7349 cat >>confdefs.h <<_ACEOF 7193 cat >>confdefs.h <<_ACEOF
7350 #define RETSIGTYPE $ac_cv_type_signal 7194 #define RETSIGTYPE $ac_cv_type_signal
7351 _ACEOF 7195 _ACEOF
7352 7196
7353 7197
7354 7198
7355 { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 7199 { echo "$as_me:$LINENO: checking for speed_t" >&5
7356 $as_echo_n "checking for speed_t... " >&6; } 7200 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; }
7357 if test "${emacs_cv_speed_t+set}" = set; then 7201 if test "${emacs_cv_speed_t+set}" = set; then
7358 $as_echo_n "(cached) " >&6 7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 else 7203 else
7360 cat >conftest.$ac_ext <<_ACEOF 7204 cat >conftest.$ac_ext <<_ACEOF
7361 /* confdefs.h. */ 7205 /* confdefs.h. */
7362 _ACEOF 7206 _ACEOF
7363 cat confdefs.h >>conftest.$ac_ext 7207 cat confdefs.h >>conftest.$ac_ext
7376 if { (ac_try="$ac_compile" 7220 if { (ac_try="$ac_compile"
7377 case "(($ac_try" in 7221 case "(($ac_try" in
7378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7379 *) ac_try_echo=$ac_try;; 7223 *) ac_try_echo=$ac_try;;
7380 esac 7224 esac
7381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382 $as_echo "$ac_try_echo") >&5
7383 (eval "$ac_compile") 2>conftest.er1 7226 (eval "$ac_compile") 2>conftest.er1
7384 ac_status=$? 7227 ac_status=$?
7385 grep -v '^ *+' conftest.er1 >conftest.err 7228 grep -v '^ *+' conftest.er1 >conftest.err
7386 rm -f conftest.er1 7229 rm -f conftest.er1
7387 cat conftest.err >&5 7230 cat conftest.err >&5
7388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } && { 7232 (exit $ac_status); } && {
7390 test -z "$ac_c_werror_flag" || 7233 test -z "$ac_c_werror_flag" ||
7391 test ! -s conftest.err 7234 test ! -s conftest.err
7392 } && test -s conftest.$ac_objext; then 7235 } && test -s conftest.$ac_objext; then
7393 emacs_cv_speed_t=yes 7236 emacs_cv_speed_t=yes
7394 else 7237 else
7395 $as_echo "$as_me: failed program was:" >&5 7238 echo "$as_me: failed program was:" >&5
7396 sed 's/^/| /' conftest.$ac_ext >&5 7239 sed 's/^/| /' conftest.$ac_ext >&5
7397 7240
7398 emacs_cv_speed_t=no 7241 emacs_cv_speed_t=no
7399 fi 7242 fi
7400 7243
7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7402 fi 7245 fi
7403 { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 7246 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
7404 $as_echo "$emacs_cv_speed_t" >&6; } 7247 echo "${ECHO_T}$emacs_cv_speed_t" >&6; }
7405 if test $emacs_cv_speed_t = yes; then 7248 if test $emacs_cv_speed_t = yes; then
7406 7249
7407 cat >>confdefs.h <<\_ACEOF 7250 cat >>confdefs.h <<\_ACEOF
7408 #define HAVE_SPEED_T 1 7251 #define HAVE_SPEED_T 1
7409 _ACEOF 7252 _ACEOF
7410 7253
7411 fi 7254 fi
7412 7255
7413 { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 7256 { echo "$as_me:$LINENO: checking for struct timeval" >&5
7414 $as_echo_n "checking for struct timeval... " >&6; } 7257 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; }
7415 if test "${emacs_cv_struct_timeval+set}" = set; then 7258 if test "${emacs_cv_struct_timeval+set}" = set; then
7416 $as_echo_n "(cached) " >&6 7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 else 7260 else
7418 cat >conftest.$ac_ext <<_ACEOF 7261 cat >conftest.$ac_ext <<_ACEOF
7419 /* confdefs.h. */ 7262 /* confdefs.h. */
7420 _ACEOF 7263 _ACEOF
7421 cat confdefs.h >>conftest.$ac_ext 7264 cat confdefs.h >>conftest.$ac_ext
7443 if { (ac_try="$ac_compile" 7286 if { (ac_try="$ac_compile"
7444 case "(($ac_try" in 7287 case "(($ac_try" in
7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7446 *) ac_try_echo=$ac_try;; 7289 *) ac_try_echo=$ac_try;;
7447 esac 7290 esac
7448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 $as_echo "$ac_try_echo") >&5
7450 (eval "$ac_compile") 2>conftest.er1 7292 (eval "$ac_compile") 2>conftest.er1
7451 ac_status=$? 7293 ac_status=$?
7452 grep -v '^ *+' conftest.er1 >conftest.err 7294 grep -v '^ *+' conftest.er1 >conftest.err
7453 rm -f conftest.er1 7295 rm -f conftest.er1
7454 cat conftest.err >&5 7296 cat conftest.err >&5
7455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } && { 7298 (exit $ac_status); } && {
7457 test -z "$ac_c_werror_flag" || 7299 test -z "$ac_c_werror_flag" ||
7458 test ! -s conftest.err 7300 test ! -s conftest.err
7459 } && test -s conftest.$ac_objext; then 7301 } && test -s conftest.$ac_objext; then
7460 emacs_cv_struct_timeval=yes 7302 emacs_cv_struct_timeval=yes
7461 else 7303 else
7462 $as_echo "$as_me: failed program was:" >&5 7304 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5 7305 sed 's/^/| /' conftest.$ac_ext >&5
7464 7306
7465 emacs_cv_struct_timeval=no 7307 emacs_cv_struct_timeval=no
7466 fi 7308 fi
7467 7309
7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469 fi 7311 fi
7470 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 7312 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5
7471 $as_echo "$emacs_cv_struct_timeval" >&6; } 7313 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; }
7472 HAVE_TIMEVAL=$emacs_cv_struct_timeval 7314 HAVE_TIMEVAL=$emacs_cv_struct_timeval
7473 if test $emacs_cv_struct_timeval = yes; then 7315 if test $emacs_cv_struct_timeval = yes; then
7474 7316
7475 cat >>confdefs.h <<\_ACEOF 7317 cat >>confdefs.h <<\_ACEOF
7476 #define HAVE_TIMEVAL 1 7318 #define HAVE_TIMEVAL 1
7477 _ACEOF 7319 _ACEOF
7478 7320
7479 fi 7321 fi
7480 7322
7481 { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 7323 { echo "$as_me:$LINENO: checking for struct exception" >&5
7482 $as_echo_n "checking for struct exception... " >&6; } 7324 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; }
7483 if test "${emacs_cv_struct_exception+set}" = set; then 7325 if test "${emacs_cv_struct_exception+set}" = set; then
7484 $as_echo_n "(cached) " >&6 7326 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 else 7327 else
7486 cat >conftest.$ac_ext <<_ACEOF 7328 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h. */ 7329 /* confdefs.h. */
7488 _ACEOF 7330 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext 7331 cat confdefs.h >>conftest.$ac_ext
7502 if { (ac_try="$ac_compile" 7344 if { (ac_try="$ac_compile"
7503 case "(($ac_try" in 7345 case "(($ac_try" in
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;; 7347 *) ac_try_echo=$ac_try;;
7506 esac 7348 esac
7507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 $as_echo "$ac_try_echo") >&5
7509 (eval "$ac_compile") 2>conftest.er1 7350 (eval "$ac_compile") 2>conftest.er1
7510 ac_status=$? 7351 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err 7352 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1 7353 rm -f conftest.er1
7513 cat conftest.err >&5 7354 cat conftest.err >&5
7514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } && { 7356 (exit $ac_status); } && {
7516 test -z "$ac_c_werror_flag" || 7357 test -z "$ac_c_werror_flag" ||
7517 test ! -s conftest.err 7358 test ! -s conftest.err
7518 } && test -s conftest.$ac_objext; then 7359 } && test -s conftest.$ac_objext; then
7519 emacs_cv_struct_exception=yes 7360 emacs_cv_struct_exception=yes
7520 else 7361 else
7521 $as_echo "$as_me: failed program was:" >&5 7362 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5 7363 sed 's/^/| /' conftest.$ac_ext >&5
7523 7364
7524 emacs_cv_struct_exception=no 7365 emacs_cv_struct_exception=no
7525 fi 7366 fi
7526 7367
7527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528 fi 7369 fi
7529 { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 7370 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5
7530 $as_echo "$emacs_cv_struct_exception" >&6; } 7371 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; }
7531 HAVE_EXCEPTION=$emacs_cv_struct_exception 7372 HAVE_EXCEPTION=$emacs_cv_struct_exception
7532 if test $emacs_cv_struct_exception != yes; then 7373 if test $emacs_cv_struct_exception != yes; then
7533 7374
7534 cat >>confdefs.h <<\_ACEOF 7375 cat >>confdefs.h <<\_ACEOF
7535 #define NO_MATHERR 1 7376 #define NO_MATHERR 1
7538 fi 7379 fi
7539 7380
7540 7381
7541 for ac_header in sys/socket.h 7382 for ac_header in sys/socket.h
7542 do 7383 do
7543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7545 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7546 $as_echo_n "checking for $ac_header... " >&6; } 7387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7548 $as_echo_n "(cached) " >&6 7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 fi 7390 fi
7550 ac_res=`eval 'as_val=${'$as_ac_Header'} 7391 ac_res=`eval echo '${'$as_ac_Header'}'`
7551 $as_echo "$as_val"'` 7392 { echo "$as_me:$LINENO: result: $ac_res" >&5
7552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7393 echo "${ECHO_T}$ac_res" >&6; }
7553 $as_echo "$ac_res" >&6; }
7554 else 7394 else
7555 # Is the header compilable? 7395 # Is the header compilable?
7556 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 7396 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7557 $as_echo_n "checking $ac_header usability... " >&6; } 7397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7558 cat >conftest.$ac_ext <<_ACEOF 7398 cat >conftest.$ac_ext <<_ACEOF
7559 /* confdefs.h. */ 7399 /* confdefs.h. */
7560 _ACEOF 7400 _ACEOF
7561 cat confdefs.h >>conftest.$ac_ext 7401 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF 7402 cat >>conftest.$ac_ext <<_ACEOF
7568 if { (ac_try="$ac_compile" 7408 if { (ac_try="$ac_compile"
7569 case "(($ac_try" in 7409 case "(($ac_try" in
7570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7571 *) ac_try_echo=$ac_try;; 7411 *) ac_try_echo=$ac_try;;
7572 esac 7412 esac
7573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7574 $as_echo "$ac_try_echo") >&5
7575 (eval "$ac_compile") 2>conftest.er1 7414 (eval "$ac_compile") 2>conftest.er1
7576 ac_status=$? 7415 ac_status=$?
7577 grep -v '^ *+' conftest.er1 >conftest.err 7416 grep -v '^ *+' conftest.er1 >conftest.err
7578 rm -f conftest.er1 7417 rm -f conftest.er1
7579 cat conftest.err >&5 7418 cat conftest.err >&5
7580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } && { 7420 (exit $ac_status); } && {
7582 test -z "$ac_c_werror_flag" || 7421 test -z "$ac_c_werror_flag" ||
7583 test ! -s conftest.err 7422 test ! -s conftest.err
7584 } && test -s conftest.$ac_objext; then 7423 } && test -s conftest.$ac_objext; then
7585 ac_header_compiler=yes 7424 ac_header_compiler=yes
7586 else 7425 else
7587 $as_echo "$as_me: failed program was:" >&5 7426 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.$ac_ext >&5 7427 sed 's/^/| /' conftest.$ac_ext >&5
7589 7428
7590 ac_header_compiler=no 7429 ac_header_compiler=no
7591 fi 7430 fi
7592 7431
7593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7594 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7595 $as_echo "$ac_header_compiler" >&6; } 7434 echo "${ECHO_T}$ac_header_compiler" >&6; }
7596 7435
7597 # Is the header present? 7436 # Is the header present?
7598 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 7437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7599 $as_echo_n "checking $ac_header presence... " >&6; } 7438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7600 cat >conftest.$ac_ext <<_ACEOF 7439 cat >conftest.$ac_ext <<_ACEOF
7601 /* confdefs.h. */ 7440 /* confdefs.h. */
7602 _ACEOF 7441 _ACEOF
7603 cat confdefs.h >>conftest.$ac_ext 7442 cat confdefs.h >>conftest.$ac_ext
7604 cat >>conftest.$ac_ext <<_ACEOF 7443 cat >>conftest.$ac_ext <<_ACEOF
7608 if { (ac_try="$ac_cpp conftest.$ac_ext" 7447 if { (ac_try="$ac_cpp conftest.$ac_ext"
7609 case "(($ac_try" in 7448 case "(($ac_try" in
7610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7611 *) ac_try_echo=$ac_try;; 7450 *) ac_try_echo=$ac_try;;
7612 esac 7451 esac
7613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7614 $as_echo "$ac_try_echo") >&5
7615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7616 ac_status=$? 7454 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err 7455 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1 7456 rm -f conftest.er1
7619 cat conftest.err >&5 7457 cat conftest.err >&5
7620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } >/dev/null && { 7459 (exit $ac_status); } >/dev/null && {
7622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7623 test ! -s conftest.err 7461 test ! -s conftest.err
7624 }; then 7462 }; then
7625 ac_header_preproc=yes 7463 ac_header_preproc=yes
7626 else 7464 else
7627 $as_echo "$as_me: failed program was:" >&5 7465 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.$ac_ext >&5 7466 sed 's/^/| /' conftest.$ac_ext >&5
7629 7467
7630 ac_header_preproc=no 7468 ac_header_preproc=no
7631 fi 7469 fi
7632 7470
7633 rm -f conftest.err conftest.$ac_ext 7471 rm -f conftest.err conftest.$ac_ext
7634 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7635 $as_echo "$ac_header_preproc" >&6; } 7473 echo "${ECHO_T}$ac_header_preproc" >&6; }
7636 7474
7637 # So? What about this header? 7475 # So? What about this header?
7638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7639 yes:no: ) 7477 yes:no: )
7640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7641 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7642 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7643 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7644 ac_header_preproc=yes 7482 ac_header_preproc=yes
7645 ;; 7483 ;;
7646 no:yes:* ) 7484 no:yes:* )
7647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7648 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7649 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7650 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7651 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7652 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7654 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7656 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7657 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7658 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7659 7497
7660 ;; 7498 ;;
7661 esac 7499 esac
7662 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7663 $as_echo_n "checking for $ac_header... " >&6; } 7501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7665 $as_echo_n "(cached) " >&6 7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7666 else 7504 else
7667 eval "$as_ac_Header=\$ac_header_preproc" 7505 eval "$as_ac_Header=\$ac_header_preproc"
7668 fi 7506 fi
7669 ac_res=`eval 'as_val=${'$as_ac_Header'} 7507 ac_res=`eval echo '${'$as_ac_Header'}'`
7670 $as_echo "$as_val"'` 7508 { echo "$as_me:$LINENO: result: $ac_res" >&5
7671 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7509 echo "${ECHO_T}$ac_res" >&6; }
7672 $as_echo "$ac_res" >&6; } 7510
7673 7511 fi
7674 fi 7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7675 as_val=`eval 'as_val=${'$as_ac_Header'}
7676 $as_echo "$as_val"'`
7677 if test "x$as_val" = x""yes; then
7678 cat >>confdefs.h <<_ACEOF 7513 cat >>confdefs.h <<_ACEOF
7679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7680 _ACEOF 7515 _ACEOF
7681 7516
7682 fi 7517 fi
7683 7518
7684 done 7519 done
7685 7520
7686 7521
7687 for ac_header in net/if.h 7522 for ac_header in net/if.h
7688 do 7523 do
7689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7690 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 $as_echo_n "checking for $ac_header... " >&6; } 7526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7693 $as_echo_n "(cached) " >&6 7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else 7529 else
7695 cat >conftest.$ac_ext <<_ACEOF 7530 cat >conftest.$ac_ext <<_ACEOF
7696 /* confdefs.h. */ 7531 /* confdefs.h. */
7697 _ACEOF 7532 _ACEOF
7698 cat confdefs.h >>conftest.$ac_ext 7533 cat confdefs.h >>conftest.$ac_ext
7709 if { (ac_try="$ac_compile" 7544 if { (ac_try="$ac_compile"
7710 case "(($ac_try" in 7545 case "(($ac_try" in
7711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712 *) ac_try_echo=$ac_try;; 7547 *) ac_try_echo=$ac_try;;
7713 esac 7548 esac
7714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 $as_echo "$ac_try_echo") >&5
7716 (eval "$ac_compile") 2>conftest.er1 7550 (eval "$ac_compile") 2>conftest.er1
7717 ac_status=$? 7551 ac_status=$?
7718 grep -v '^ *+' conftest.er1 >conftest.err 7552 grep -v '^ *+' conftest.er1 >conftest.err
7719 rm -f conftest.er1 7553 rm -f conftest.er1
7720 cat conftest.err >&5 7554 cat conftest.err >&5
7721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } && { 7556 (exit $ac_status); } && {
7723 test -z "$ac_c_werror_flag" || 7557 test -z "$ac_c_werror_flag" ||
7724 test ! -s conftest.err 7558 test ! -s conftest.err
7725 } && test -s conftest.$ac_objext; then 7559 } && test -s conftest.$ac_objext; then
7726 eval "$as_ac_Header=yes" 7560 eval "$as_ac_Header=yes"
7727 else 7561 else
7728 $as_echo "$as_me: failed program was:" >&5 7562 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.$ac_ext >&5 7563 sed 's/^/| /' conftest.$ac_ext >&5
7730 7564
7731 eval "$as_ac_Header=no" 7565 eval "$as_ac_Header=no"
7732 fi 7566 fi
7733 7567
7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7735 fi 7569 fi
7736 ac_res=`eval 'as_val=${'$as_ac_Header'} 7570 ac_res=`eval echo '${'$as_ac_Header'}'`
7737 $as_echo "$as_val"'` 7571 { echo "$as_me:$LINENO: result: $ac_res" >&5
7738 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7572 echo "${ECHO_T}$ac_res" >&6; }
7739 $as_echo "$ac_res" >&6; } 7573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7740 as_val=`eval 'as_val=${'$as_ac_Header'}
7741 $as_echo "$as_val"'`
7742 if test "x$as_val" = x""yes; then
7743 cat >>confdefs.h <<_ACEOF 7574 cat >>confdefs.h <<_ACEOF
7744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7745 _ACEOF 7576 _ACEOF
7746 7577
7747 fi 7578 fi
7748 7579
7749 done 7580 done
7750 7581
7751 7582
7752 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 7583 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7753 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 7584 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
7754 if test "${ac_cv_struct_tm+set}" = set; then 7585 if test "${ac_cv_struct_tm+set}" = set; then
7755 $as_echo_n "(cached) " >&6 7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 else 7587 else
7757 cat >conftest.$ac_ext <<_ACEOF 7588 cat >conftest.$ac_ext <<_ACEOF
7758 /* confdefs.h. */ 7589 /* confdefs.h. */
7759 _ACEOF 7590 _ACEOF
7760 cat confdefs.h >>conftest.$ac_ext 7591 cat confdefs.h >>conftest.$ac_ext
7766 int 7597 int
7767 main () 7598 main ()
7768 { 7599 {
7769 struct tm tm; 7600 struct tm tm;
7770 int *p = &tm.tm_sec; 7601 int *p = &tm.tm_sec;
7771 return !p; 7602 return !p;
7772 ; 7603 ;
7773 return 0; 7604 return 0;
7774 } 7605 }
7775 _ACEOF 7606 _ACEOF
7776 rm -f conftest.$ac_objext 7607 rm -f conftest.$ac_objext
7777 if { (ac_try="$ac_compile" 7608 if { (ac_try="$ac_compile"
7778 case "(($ac_try" in 7609 case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;; 7611 *) ac_try_echo=$ac_try;;
7781 esac 7612 esac
7782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 $as_echo "$ac_try_echo") >&5
7784 (eval "$ac_compile") 2>conftest.er1 7614 (eval "$ac_compile") 2>conftest.er1
7785 ac_status=$? 7615 ac_status=$?
7786 grep -v '^ *+' conftest.er1 >conftest.err 7616 grep -v '^ *+' conftest.er1 >conftest.err
7787 rm -f conftest.er1 7617 rm -f conftest.er1
7788 cat conftest.err >&5 7618 cat conftest.err >&5
7789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); } && { 7620 (exit $ac_status); } && {
7791 test -z "$ac_c_werror_flag" || 7621 test -z "$ac_c_werror_flag" ||
7792 test ! -s conftest.err 7622 test ! -s conftest.err
7793 } && test -s conftest.$ac_objext; then 7623 } && test -s conftest.$ac_objext; then
7794 ac_cv_struct_tm=time.h 7624 ac_cv_struct_tm=time.h
7795 else 7625 else
7796 $as_echo "$as_me: failed program was:" >&5 7626 echo "$as_me: failed program was:" >&5
7797 sed 's/^/| /' conftest.$ac_ext >&5 7627 sed 's/^/| /' conftest.$ac_ext >&5
7798 7628
7799 ac_cv_struct_tm=sys/time.h 7629 ac_cv_struct_tm=sys/time.h
7800 fi 7630 fi
7801 7631
7802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 fi 7633 fi
7804 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7634 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7805 $as_echo "$ac_cv_struct_tm" >&6; } 7635 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
7806 if test $ac_cv_struct_tm = sys/time.h; then 7636 if test $ac_cv_struct_tm = sys/time.h; then
7807 7637
7808 cat >>confdefs.h <<\_ACEOF 7638 cat >>confdefs.h <<\_ACEOF
7809 #define TM_IN_SYS_TIME 1 7639 #define TM_IN_SYS_TIME 1
7810 _ACEOF 7640 _ACEOF
7811 7641
7812 fi 7642 fi
7813 7643
7814 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 7644 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
7815 $as_echo_n "checking for struct tm.tm_zone... " >&6; } 7645 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
7816 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then 7646 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
7817 $as_echo_n "(cached) " >&6 7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 else 7648 else
7819 cat >conftest.$ac_ext <<_ACEOF 7649 cat >conftest.$ac_ext <<_ACEOF
7820 /* confdefs.h. */ 7650 /* confdefs.h. */
7821 _ACEOF 7651 _ACEOF
7822 cat confdefs.h >>conftest.$ac_ext 7652 cat confdefs.h >>conftest.$ac_ext
7840 if { (ac_try="$ac_compile" 7670 if { (ac_try="$ac_compile"
7841 case "(($ac_try" in 7671 case "(($ac_try" in
7842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7843 *) ac_try_echo=$ac_try;; 7673 *) ac_try_echo=$ac_try;;
7844 esac 7674 esac
7845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7846 $as_echo "$ac_try_echo") >&5
7847 (eval "$ac_compile") 2>conftest.er1 7676 (eval "$ac_compile") 2>conftest.er1
7848 ac_status=$? 7677 ac_status=$?
7849 grep -v '^ *+' conftest.er1 >conftest.err 7678 grep -v '^ *+' conftest.er1 >conftest.err
7850 rm -f conftest.er1 7679 rm -f conftest.er1
7851 cat conftest.err >&5 7680 cat conftest.err >&5
7852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); } && { 7682 (exit $ac_status); } && {
7854 test -z "$ac_c_werror_flag" || 7683 test -z "$ac_c_werror_flag" ||
7855 test ! -s conftest.err 7684 test ! -s conftest.err
7856 } && test -s conftest.$ac_objext; then 7685 } && test -s conftest.$ac_objext; then
7857 ac_cv_member_struct_tm_tm_zone=yes 7686 ac_cv_member_struct_tm_tm_zone=yes
7858 else 7687 else
7859 $as_echo "$as_me: failed program was:" >&5 7688 echo "$as_me: failed program was:" >&5
7860 sed 's/^/| /' conftest.$ac_ext >&5 7689 sed 's/^/| /' conftest.$ac_ext >&5
7861 7690
7862 cat >conftest.$ac_ext <<_ACEOF 7691 cat >conftest.$ac_ext <<_ACEOF
7863 /* confdefs.h. */ 7692 /* confdefs.h. */
7864 _ACEOF 7693 _ACEOF
7883 if { (ac_try="$ac_compile" 7712 if { (ac_try="$ac_compile"
7884 case "(($ac_try" in 7713 case "(($ac_try" in
7885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;; 7715 *) ac_try_echo=$ac_try;;
7887 esac 7716 esac
7888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 $as_echo "$ac_try_echo") >&5
7890 (eval "$ac_compile") 2>conftest.er1 7718 (eval "$ac_compile") 2>conftest.er1
7891 ac_status=$? 7719 ac_status=$?
7892 grep -v '^ *+' conftest.er1 >conftest.err 7720 grep -v '^ *+' conftest.er1 >conftest.err
7893 rm -f conftest.er1 7721 rm -f conftest.er1
7894 cat conftest.err >&5 7722 cat conftest.err >&5
7895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } && { 7724 (exit $ac_status); } && {
7897 test -z "$ac_c_werror_flag" || 7725 test -z "$ac_c_werror_flag" ||
7898 test ! -s conftest.err 7726 test ! -s conftest.err
7899 } && test -s conftest.$ac_objext; then 7727 } && test -s conftest.$ac_objext; then
7900 ac_cv_member_struct_tm_tm_zone=yes 7728 ac_cv_member_struct_tm_tm_zone=yes
7901 else 7729 else
7902 $as_echo "$as_me: failed program was:" >&5 7730 echo "$as_me: failed program was:" >&5
7903 sed 's/^/| /' conftest.$ac_ext >&5 7731 sed 's/^/| /' conftest.$ac_ext >&5
7904 7732
7905 ac_cv_member_struct_tm_tm_zone=no 7733 ac_cv_member_struct_tm_tm_zone=no
7906 fi 7734 fi
7907 7735
7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 fi 7737 fi
7910 7738
7911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912 fi 7740 fi
7913 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 7741 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7914 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } 7742 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
7915 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then 7743 if test $ac_cv_member_struct_tm_tm_zone = yes; then
7916 7744
7917 cat >>confdefs.h <<_ACEOF 7745 cat >>confdefs.h <<_ACEOF
7918 #define HAVE_STRUCT_TM_TM_ZONE 1 7746 #define HAVE_STRUCT_TM_TM_ZONE 1
7919 _ACEOF 7747 _ACEOF
7920 7748
7926 cat >>confdefs.h <<\_ACEOF 7754 cat >>confdefs.h <<\_ACEOF
7927 #define HAVE_TM_ZONE 1 7755 #define HAVE_TM_ZONE 1
7928 _ACEOF 7756 _ACEOF
7929 7757
7930 else 7758 else
7931 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 7759 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7932 $as_echo_n "checking whether tzname is declared... " >&6; } 7760 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
7933 if test "${ac_cv_have_decl_tzname+set}" = set; then 7761 if test "${ac_cv_have_decl_tzname+set}" = set; then
7934 $as_echo_n "(cached) " >&6 7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 else 7763 else
7936 cat >conftest.$ac_ext <<_ACEOF 7764 cat >conftest.$ac_ext <<_ACEOF
7937 /* confdefs.h. */ 7765 /* confdefs.h. */
7938 _ACEOF 7766 _ACEOF
7939 cat confdefs.h >>conftest.$ac_ext 7767 cat confdefs.h >>conftest.$ac_ext
7956 if { (ac_try="$ac_compile" 7784 if { (ac_try="$ac_compile"
7957 case "(($ac_try" in 7785 case "(($ac_try" in
7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7959 *) ac_try_echo=$ac_try;; 7787 *) ac_try_echo=$ac_try;;
7960 esac 7788 esac
7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7962 $as_echo "$ac_try_echo") >&5
7963 (eval "$ac_compile") 2>conftest.er1 7790 (eval "$ac_compile") 2>conftest.er1
7964 ac_status=$? 7791 ac_status=$?
7965 grep -v '^ *+' conftest.er1 >conftest.err 7792 grep -v '^ *+' conftest.er1 >conftest.err
7966 rm -f conftest.er1 7793 rm -f conftest.er1
7967 cat conftest.err >&5 7794 cat conftest.err >&5
7968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } && { 7796 (exit $ac_status); } && {
7970 test -z "$ac_c_werror_flag" || 7797 test -z "$ac_c_werror_flag" ||
7971 test ! -s conftest.err 7798 test ! -s conftest.err
7972 } && test -s conftest.$ac_objext; then 7799 } && test -s conftest.$ac_objext; then
7973 ac_cv_have_decl_tzname=yes 7800 ac_cv_have_decl_tzname=yes
7974 else 7801 else
7975 $as_echo "$as_me: failed program was:" >&5 7802 echo "$as_me: failed program was:" >&5
7976 sed 's/^/| /' conftest.$ac_ext >&5 7803 sed 's/^/| /' conftest.$ac_ext >&5
7977 7804
7978 ac_cv_have_decl_tzname=no 7805 ac_cv_have_decl_tzname=no
7979 fi 7806 fi
7980 7807
7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7982 fi 7809 fi
7983 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 7810 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7984 $as_echo "$ac_cv_have_decl_tzname" >&6; } 7811 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
7985 if test "x$ac_cv_have_decl_tzname" = x""yes; then 7812 if test $ac_cv_have_decl_tzname = yes; then
7986 7813
7987 cat >>confdefs.h <<_ACEOF 7814 cat >>confdefs.h <<_ACEOF
7988 #define HAVE_DECL_TZNAME 1 7815 #define HAVE_DECL_TZNAME 1
7989 _ACEOF 7816 _ACEOF
7990 7817
7996 7823
7997 7824
7998 fi 7825 fi
7999 7826
8000 7827
8001 { $as_echo "$as_me:$LINENO: checking for tzname" >&5 7828 { echo "$as_me:$LINENO: checking for tzname" >&5
8002 $as_echo_n "checking for tzname... " >&6; } 7829 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
8003 if test "${ac_cv_var_tzname+set}" = set; then 7830 if test "${ac_cv_var_tzname+set}" = set; then
8004 $as_echo_n "(cached) " >&6 7831 echo $ECHO_N "(cached) $ECHO_C" >&6
8005 else 7832 else
8006 cat >conftest.$ac_ext <<_ACEOF 7833 cat >conftest.$ac_ext <<_ACEOF
8007 /* confdefs.h. */ 7834 /* confdefs.h. */
8008 _ACEOF 7835 _ACEOF
8009 cat confdefs.h >>conftest.$ac_ext 7836 cat confdefs.h >>conftest.$ac_ext
8026 if { (ac_try="$ac_link" 7853 if { (ac_try="$ac_link"
8027 case "(($ac_try" in 7854 case "(($ac_try" in
8028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;; 7856 *) ac_try_echo=$ac_try;;
8030 esac 7857 esac
8031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 $as_echo "$ac_try_echo") >&5
8033 (eval "$ac_link") 2>conftest.er1 7859 (eval "$ac_link") 2>conftest.er1
8034 ac_status=$? 7860 ac_status=$?
8035 grep -v '^ *+' conftest.er1 >conftest.err 7861 grep -v '^ *+' conftest.er1 >conftest.err
8036 rm -f conftest.er1 7862 rm -f conftest.er1
8037 cat conftest.err >&5 7863 cat conftest.err >&5
8038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } && { 7865 (exit $ac_status); } && {
8040 test -z "$ac_c_werror_flag" || 7866 test -z "$ac_c_werror_flag" ||
8041 test ! -s conftest.err 7867 test ! -s conftest.err
8042 } && test -s conftest$ac_exeext && { 7868 } && test -s conftest$ac_exeext &&
8043 test "$cross_compiling" = yes || 7869 $as_test_x conftest$ac_exeext; then
8044 $as_test_x conftest$ac_exeext
8045 }; then
8046 ac_cv_var_tzname=yes 7870 ac_cv_var_tzname=yes
8047 else 7871 else
8048 $as_echo "$as_me: failed program was:" >&5 7872 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5 7873 sed 's/^/| /' conftest.$ac_ext >&5
8050 7874
8051 ac_cv_var_tzname=no 7875 ac_cv_var_tzname=no
8052 fi 7876 fi
8053 7877
8054 rm -rf conftest.dSYM
8055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8056 conftest$ac_exeext conftest.$ac_ext 7879 conftest$ac_exeext conftest.$ac_ext
8057 fi 7880 fi
8058 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 7881 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8059 $as_echo "$ac_cv_var_tzname" >&6; } 7882 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
8060 if test $ac_cv_var_tzname = yes; then 7883 if test $ac_cv_var_tzname = yes; then
8061 7884
8062 cat >>confdefs.h <<\_ACEOF 7885 cat >>confdefs.h <<\_ACEOF
8063 #define HAVE_TZNAME 1 7886 #define HAVE_TZNAME 1
8064 _ACEOF 7887 _ACEOF
8065 7888
8066 fi 7889 fi
8067 fi 7890 fi
8068 7891
8069 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 7892 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
8070 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } 7893 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
8071 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then 7894 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
8072 $as_echo_n "(cached) " >&6 7895 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 else 7896 else
8074 cat >conftest.$ac_ext <<_ACEOF 7897 cat >conftest.$ac_ext <<_ACEOF
8075 /* confdefs.h. */ 7898 /* confdefs.h. */
8076 _ACEOF 7899 _ACEOF
8077 cat confdefs.h >>conftest.$ac_ext 7900 cat confdefs.h >>conftest.$ac_ext
8093 if { (ac_try="$ac_compile" 7916 if { (ac_try="$ac_compile"
8094 case "(($ac_try" in 7917 case "(($ac_try" in
8095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8096 *) ac_try_echo=$ac_try;; 7919 *) ac_try_echo=$ac_try;;
8097 esac 7920 esac
8098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8099 $as_echo "$ac_try_echo") >&5
8100 (eval "$ac_compile") 2>conftest.er1 7922 (eval "$ac_compile") 2>conftest.er1
8101 ac_status=$? 7923 ac_status=$?
8102 grep -v '^ *+' conftest.er1 >conftest.err 7924 grep -v '^ *+' conftest.er1 >conftest.err
8103 rm -f conftest.er1 7925 rm -f conftest.er1
8104 cat conftest.err >&5 7926 cat conftest.err >&5
8105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); } && { 7928 (exit $ac_status); } && {
8107 test -z "$ac_c_werror_flag" || 7929 test -z "$ac_c_werror_flag" ||
8108 test ! -s conftest.err 7930 test ! -s conftest.err
8109 } && test -s conftest.$ac_objext; then 7931 } && test -s conftest.$ac_objext; then
8110 ac_cv_member_struct_tm_tm_gmtoff=yes 7932 ac_cv_member_struct_tm_tm_gmtoff=yes
8111 else 7933 else
8112 $as_echo "$as_me: failed program was:" >&5 7934 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5 7935 sed 's/^/| /' conftest.$ac_ext >&5
8114 7936
8115 cat >conftest.$ac_ext <<_ACEOF 7937 cat >conftest.$ac_ext <<_ACEOF
8116 /* confdefs.h. */ 7938 /* confdefs.h. */
8117 _ACEOF 7939 _ACEOF
8134 if { (ac_try="$ac_compile" 7956 if { (ac_try="$ac_compile"
8135 case "(($ac_try" in 7957 case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;; 7959 *) ac_try_echo=$ac_try;;
8138 esac 7960 esac
8139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 $as_echo "$ac_try_echo") >&5
8141 (eval "$ac_compile") 2>conftest.er1 7962 (eval "$ac_compile") 2>conftest.er1
8142 ac_status=$? 7963 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err 7964 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1 7965 rm -f conftest.er1
8145 cat conftest.err >&5 7966 cat conftest.err >&5
8146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } && { 7968 (exit $ac_status); } && {
8148 test -z "$ac_c_werror_flag" || 7969 test -z "$ac_c_werror_flag" ||
8149 test ! -s conftest.err 7970 test ! -s conftest.err
8150 } && test -s conftest.$ac_objext; then 7971 } && test -s conftest.$ac_objext; then
8151 ac_cv_member_struct_tm_tm_gmtoff=yes 7972 ac_cv_member_struct_tm_tm_gmtoff=yes
8152 else 7973 else
8153 $as_echo "$as_me: failed program was:" >&5 7974 echo "$as_me: failed program was:" >&5
8154 sed 's/^/| /' conftest.$ac_ext >&5 7975 sed 's/^/| /' conftest.$ac_ext >&5
8155 7976
8156 ac_cv_member_struct_tm_tm_gmtoff=no 7977 ac_cv_member_struct_tm_tm_gmtoff=no
8157 fi 7978 fi
8158 7979
8159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8160 fi 7981 fi
8161 7982
8162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8163 fi 7984 fi
8164 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 7985 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
8165 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } 7986 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
8166 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then 7987 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
8167 7988
8168 cat >>confdefs.h <<\_ACEOF 7989 cat >>confdefs.h <<\_ACEOF
8169 #define HAVE_TM_GMTOFF 1 7990 #define HAVE_TM_GMTOFF 1
8170 _ACEOF 7991 _ACEOF
8171 7992
8172 fi 7993 fi
8173 7994
8174 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 7995 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5
8175 $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } 7996 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; }
8176 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then 7997 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then
8177 $as_echo_n "(cached) " >&6 7998 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 else 7999 else
8179 cat >conftest.$ac_ext <<_ACEOF 8000 cat >conftest.$ac_ext <<_ACEOF
8180 /* confdefs.h. */ 8001 /* confdefs.h. */
8181 _ACEOF 8002 _ACEOF
8182 cat confdefs.h >>conftest.$ac_ext 8003 cat confdefs.h >>conftest.$ac_ext
8204 if { (ac_try="$ac_compile" 8025 if { (ac_try="$ac_compile"
8205 case "(($ac_try" in 8026 case "(($ac_try" in
8206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;; 8028 *) ac_try_echo=$ac_try;;
8208 esac 8029 esac
8209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 $as_echo "$ac_try_echo") >&5
8211 (eval "$ac_compile") 2>conftest.er1 8031 (eval "$ac_compile") 2>conftest.er1
8212 ac_status=$? 8032 ac_status=$?
8213 grep -v '^ *+' conftest.er1 >conftest.err 8033 grep -v '^ *+' conftest.er1 >conftest.err
8214 rm -f conftest.er1 8034 rm -f conftest.er1
8215 cat conftest.err >&5 8035 cat conftest.err >&5
8216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } && { 8037 (exit $ac_status); } && {
8218 test -z "$ac_c_werror_flag" || 8038 test -z "$ac_c_werror_flag" ||
8219 test ! -s conftest.err 8039 test ! -s conftest.err
8220 } && test -s conftest.$ac_objext; then 8040 } && test -s conftest.$ac_objext; then
8221 ac_cv_member_struct_ifreq_ifr_flags=yes 8041 ac_cv_member_struct_ifreq_ifr_flags=yes
8222 else 8042 else
8223 $as_echo "$as_me: failed program was:" >&5 8043 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.$ac_ext >&5 8044 sed 's/^/| /' conftest.$ac_ext >&5
8225 8045
8226 cat >conftest.$ac_ext <<_ACEOF 8046 cat >conftest.$ac_ext <<_ACEOF
8227 /* confdefs.h. */ 8047 /* confdefs.h. */
8228 _ACEOF 8048 _ACEOF
8251 if { (ac_try="$ac_compile" 8071 if { (ac_try="$ac_compile"
8252 case "(($ac_try" in 8072 case "(($ac_try" in
8253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8254 *) ac_try_echo=$ac_try;; 8074 *) ac_try_echo=$ac_try;;
8255 esac 8075 esac
8256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8257 $as_echo "$ac_try_echo") >&5
8258 (eval "$ac_compile") 2>conftest.er1 8077 (eval "$ac_compile") 2>conftest.er1
8259 ac_status=$? 8078 ac_status=$?
8260 grep -v '^ *+' conftest.er1 >conftest.err 8079 grep -v '^ *+' conftest.er1 >conftest.err
8261 rm -f conftest.er1 8080 rm -f conftest.er1
8262 cat conftest.err >&5 8081 cat conftest.err >&5
8263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); } && { 8083 (exit $ac_status); } && {
8265 test -z "$ac_c_werror_flag" || 8084 test -z "$ac_c_werror_flag" ||
8266 test ! -s conftest.err 8085 test ! -s conftest.err
8267 } && test -s conftest.$ac_objext; then 8086 } && test -s conftest.$ac_objext; then
8268 ac_cv_member_struct_ifreq_ifr_flags=yes 8087 ac_cv_member_struct_ifreq_ifr_flags=yes
8269 else 8088 else
8270 $as_echo "$as_me: failed program was:" >&5 8089 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.$ac_ext >&5 8090 sed 's/^/| /' conftest.$ac_ext >&5
8272 8091
8273 ac_cv_member_struct_ifreq_ifr_flags=no 8092 ac_cv_member_struct_ifreq_ifr_flags=no
8274 fi 8093 fi
8275 8094
8276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8277 fi 8096 fi
8278 8097
8279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8280 fi 8099 fi
8281 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 8100 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5
8282 $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } 8101 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; }
8283 if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then 8102 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then
8284 8103
8285 cat >>confdefs.h <<_ACEOF 8104 cat >>confdefs.h <<_ACEOF
8286 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 8105 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1
8287 _ACEOF 8106 _ACEOF
8288 8107
8289 8108
8290 fi 8109 fi
8291 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 8110 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5
8292 $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } 8111 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; }
8293 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then 8112 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then
8294 $as_echo_n "(cached) " >&6 8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 else 8114 else
8296 cat >conftest.$ac_ext <<_ACEOF 8115 cat >conftest.$ac_ext <<_ACEOF
8297 /* confdefs.h. */ 8116 /* confdefs.h. */
8298 _ACEOF 8117 _ACEOF
8299 cat confdefs.h >>conftest.$ac_ext 8118 cat confdefs.h >>conftest.$ac_ext
8321 if { (ac_try="$ac_compile" 8140 if { (ac_try="$ac_compile"
8322 case "(($ac_try" in 8141 case "(($ac_try" in
8323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8324 *) ac_try_echo=$ac_try;; 8143 *) ac_try_echo=$ac_try;;
8325 esac 8144 esac
8326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8327 $as_echo "$ac_try_echo") >&5
8328 (eval "$ac_compile") 2>conftest.er1 8146 (eval "$ac_compile") 2>conftest.er1
8329 ac_status=$? 8147 ac_status=$?
8330 grep -v '^ *+' conftest.er1 >conftest.err 8148 grep -v '^ *+' conftest.er1 >conftest.err
8331 rm -f conftest.er1 8149 rm -f conftest.er1
8332 cat conftest.err >&5 8150 cat conftest.err >&5
8333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); } && { 8152 (exit $ac_status); } && {
8335 test -z "$ac_c_werror_flag" || 8153 test -z "$ac_c_werror_flag" ||
8336 test ! -s conftest.err 8154 test ! -s conftest.err
8337 } && test -s conftest.$ac_objext; then 8155 } && test -s conftest.$ac_objext; then
8338 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8156 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8339 else 8157 else
8340 $as_echo "$as_me: failed program was:" >&5 8158 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.$ac_ext >&5 8159 sed 's/^/| /' conftest.$ac_ext >&5
8342 8160
8343 cat >conftest.$ac_ext <<_ACEOF 8161 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */ 8162 /* confdefs.h. */
8345 _ACEOF 8163 _ACEOF
8368 if { (ac_try="$ac_compile" 8186 if { (ac_try="$ac_compile"
8369 case "(($ac_try" in 8187 case "(($ac_try" in
8370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;; 8189 *) ac_try_echo=$ac_try;;
8372 esac 8190 esac
8373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8374 $as_echo "$ac_try_echo") >&5
8375 (eval "$ac_compile") 2>conftest.er1 8192 (eval "$ac_compile") 2>conftest.er1
8376 ac_status=$? 8193 ac_status=$?
8377 grep -v '^ *+' conftest.er1 >conftest.err 8194 grep -v '^ *+' conftest.er1 >conftest.err
8378 rm -f conftest.er1 8195 rm -f conftest.er1
8379 cat conftest.err >&5 8196 cat conftest.err >&5
8380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } && { 8198 (exit $ac_status); } && {
8382 test -z "$ac_c_werror_flag" || 8199 test -z "$ac_c_werror_flag" ||
8383 test ! -s conftest.err 8200 test ! -s conftest.err
8384 } && test -s conftest.$ac_objext; then 8201 } && test -s conftest.$ac_objext; then
8385 ac_cv_member_struct_ifreq_ifr_hwaddr=yes 8202 ac_cv_member_struct_ifreq_ifr_hwaddr=yes
8386 else 8203 else
8387 $as_echo "$as_me: failed program was:" >&5 8204 echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.$ac_ext >&5 8205 sed 's/^/| /' conftest.$ac_ext >&5
8389 8206
8390 ac_cv_member_struct_ifreq_ifr_hwaddr=no 8207 ac_cv_member_struct_ifreq_ifr_hwaddr=no
8391 fi 8208 fi
8392 8209
8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8394 fi 8211 fi
8395 8212
8396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 fi 8214 fi
8398 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 8215 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5
8399 $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } 8216 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; }
8400 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then 8217 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then
8401 8218
8402 cat >>confdefs.h <<_ACEOF 8219 cat >>confdefs.h <<_ACEOF
8403 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 8220 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
8404 _ACEOF 8221 _ACEOF
8405 8222
8406 8223
8407 fi 8224 fi
8408 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 8225 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5
8409 $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } 8226 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; }
8410 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then 8227 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then
8411 $as_echo_n "(cached) " >&6 8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 else 8229 else
8413 cat >conftest.$ac_ext <<_ACEOF 8230 cat >conftest.$ac_ext <<_ACEOF
8414 /* confdefs.h. */ 8231 /* confdefs.h. */
8415 _ACEOF 8232 _ACEOF
8416 cat confdefs.h >>conftest.$ac_ext 8233 cat confdefs.h >>conftest.$ac_ext
8438 if { (ac_try="$ac_compile" 8255 if { (ac_try="$ac_compile"
8439 case "(($ac_try" in 8256 case "(($ac_try" in
8440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441 *) ac_try_echo=$ac_try;; 8258 *) ac_try_echo=$ac_try;;
8442 esac 8259 esac
8443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 $as_echo "$ac_try_echo") >&5
8445 (eval "$ac_compile") 2>conftest.er1 8261 (eval "$ac_compile") 2>conftest.er1
8446 ac_status=$? 8262 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err 8263 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1 8264 rm -f conftest.er1
8449 cat conftest.err >&5 8265 cat conftest.err >&5
8450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } && { 8267 (exit $ac_status); } && {
8452 test -z "$ac_c_werror_flag" || 8268 test -z "$ac_c_werror_flag" ||
8453 test ! -s conftest.err 8269 test ! -s conftest.err
8454 } && test -s conftest.$ac_objext; then 8270 } && test -s conftest.$ac_objext; then
8455 ac_cv_member_struct_ifreq_ifr_netmask=yes 8271 ac_cv_member_struct_ifreq_ifr_netmask=yes
8456 else 8272 else
8457 $as_echo "$as_me: failed program was:" >&5 8273 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.$ac_ext >&5 8274 sed 's/^/| /' conftest.$ac_ext >&5
8459 8275
8460 cat >conftest.$ac_ext <<_ACEOF 8276 cat >conftest.$ac_ext <<_ACEOF
8461 /* confdefs.h. */ 8277 /* confdefs.h. */
8462 _ACEOF 8278 _ACEOF
8485 if { (ac_try="$ac_compile" 8301 if { (ac_try="$ac_compile"
8486 case "(($ac_try" in 8302 case "(($ac_try" in
8487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8488 *) ac_try_echo=$ac_try;; 8304 *) ac_try_echo=$ac_try;;
8489 esac 8305 esac
8490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8491 $as_echo "$ac_try_echo") >&5
8492 (eval "$ac_compile") 2>conftest.er1 8307 (eval "$ac_compile") 2>conftest.er1
8493 ac_status=$? 8308 ac_status=$?
8494 grep -v '^ *+' conftest.er1 >conftest.err 8309 grep -v '^ *+' conftest.er1 >conftest.err
8495 rm -f conftest.er1 8310 rm -f conftest.er1
8496 cat conftest.err >&5 8311 cat conftest.err >&5
8497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } && { 8313 (exit $ac_status); } && {
8499 test -z "$ac_c_werror_flag" || 8314 test -z "$ac_c_werror_flag" ||
8500 test ! -s conftest.err 8315 test ! -s conftest.err
8501 } && test -s conftest.$ac_objext; then 8316 } && test -s conftest.$ac_objext; then
8502 ac_cv_member_struct_ifreq_ifr_netmask=yes 8317 ac_cv_member_struct_ifreq_ifr_netmask=yes
8503 else 8318 else
8504 $as_echo "$as_me: failed program was:" >&5 8319 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5 8320 sed 's/^/| /' conftest.$ac_ext >&5
8506 8321
8507 ac_cv_member_struct_ifreq_ifr_netmask=no 8322 ac_cv_member_struct_ifreq_ifr_netmask=no
8508 fi 8323 fi
8509 8324
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 fi 8326 fi
8512 8327
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 fi 8329 fi
8515 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 8330 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5
8516 $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } 8331 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; }
8517 if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then 8332 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then
8518 8333
8519 cat >>confdefs.h <<_ACEOF 8334 cat >>confdefs.h <<_ACEOF
8520 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 8335 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1
8521 _ACEOF 8336 _ACEOF
8522 8337
8523 8338
8524 fi 8339 fi
8525 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 8340 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5
8526 $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } 8341 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; }
8527 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then 8342 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then
8528 $as_echo_n "(cached) " >&6 8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 else 8344 else
8530 cat >conftest.$ac_ext <<_ACEOF 8345 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */ 8346 /* confdefs.h. */
8532 _ACEOF 8347 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext 8348 cat confdefs.h >>conftest.$ac_ext
8555 if { (ac_try="$ac_compile" 8370 if { (ac_try="$ac_compile"
8556 case "(($ac_try" in 8371 case "(($ac_try" in
8557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8558 *) ac_try_echo=$ac_try;; 8373 *) ac_try_echo=$ac_try;;
8559 esac 8374 esac
8560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8561 $as_echo "$ac_try_echo") >&5
8562 (eval "$ac_compile") 2>conftest.er1 8376 (eval "$ac_compile") 2>conftest.er1
8563 ac_status=$? 8377 ac_status=$?
8564 grep -v '^ *+' conftest.er1 >conftest.err 8378 grep -v '^ *+' conftest.er1 >conftest.err
8565 rm -f conftest.er1 8379 rm -f conftest.er1
8566 cat conftest.err >&5 8380 cat conftest.err >&5
8567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && { 8382 (exit $ac_status); } && {
8569 test -z "$ac_c_werror_flag" || 8383 test -z "$ac_c_werror_flag" ||
8570 test ! -s conftest.err 8384 test ! -s conftest.err
8571 } && test -s conftest.$ac_objext; then 8385 } && test -s conftest.$ac_objext; then
8572 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8386 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8573 else 8387 else
8574 $as_echo "$as_me: failed program was:" >&5 8388 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5 8389 sed 's/^/| /' conftest.$ac_ext >&5
8576 8390
8577 cat >conftest.$ac_ext <<_ACEOF 8391 cat >conftest.$ac_ext <<_ACEOF
8578 /* confdefs.h. */ 8392 /* confdefs.h. */
8579 _ACEOF 8393 _ACEOF
8602 if { (ac_try="$ac_compile" 8416 if { (ac_try="$ac_compile"
8603 case "(($ac_try" in 8417 case "(($ac_try" in
8604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605 *) ac_try_echo=$ac_try;; 8419 *) ac_try_echo=$ac_try;;
8606 esac 8420 esac
8607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608 $as_echo "$ac_try_echo") >&5
8609 (eval "$ac_compile") 2>conftest.er1 8422 (eval "$ac_compile") 2>conftest.er1
8610 ac_status=$? 8423 ac_status=$?
8611 grep -v '^ *+' conftest.er1 >conftest.err 8424 grep -v '^ *+' conftest.er1 >conftest.err
8612 rm -f conftest.er1 8425 rm -f conftest.er1
8613 cat conftest.err >&5 8426 cat conftest.err >&5
8614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } && { 8428 (exit $ac_status); } && {
8616 test -z "$ac_c_werror_flag" || 8429 test -z "$ac_c_werror_flag" ||
8617 test ! -s conftest.err 8430 test ! -s conftest.err
8618 } && test -s conftest.$ac_objext; then 8431 } && test -s conftest.$ac_objext; then
8619 ac_cv_member_struct_ifreq_ifr_broadaddr=yes 8432 ac_cv_member_struct_ifreq_ifr_broadaddr=yes
8620 else 8433 else
8621 $as_echo "$as_me: failed program was:" >&5 8434 echo "$as_me: failed program was:" >&5
8622 sed 's/^/| /' conftest.$ac_ext >&5 8435 sed 's/^/| /' conftest.$ac_ext >&5
8623 8436
8624 ac_cv_member_struct_ifreq_ifr_broadaddr=no 8437 ac_cv_member_struct_ifreq_ifr_broadaddr=no
8625 fi 8438 fi
8626 8439
8627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8628 fi 8441 fi
8629 8442
8630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8631 fi 8444 fi
8632 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 8445 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5
8633 $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } 8446 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; }
8634 if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then 8447 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then
8635 8448
8636 cat >>confdefs.h <<_ACEOF 8449 cat >>confdefs.h <<_ACEOF
8637 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 8450 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1
8638 _ACEOF 8451 _ACEOF
8639 8452
8640 8453
8641 fi 8454 fi
8642 { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 8455 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5
8643 $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } 8456 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; }
8644 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then 8457 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then
8645 $as_echo_n "(cached) " >&6 8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 else 8459 else
8647 cat >conftest.$ac_ext <<_ACEOF 8460 cat >conftest.$ac_ext <<_ACEOF
8648 /* confdefs.h. */ 8461 /* confdefs.h. */
8649 _ACEOF 8462 _ACEOF
8650 cat confdefs.h >>conftest.$ac_ext 8463 cat confdefs.h >>conftest.$ac_ext
8672 if { (ac_try="$ac_compile" 8485 if { (ac_try="$ac_compile"
8673 case "(($ac_try" in 8486 case "(($ac_try" in
8674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8675 *) ac_try_echo=$ac_try;; 8488 *) ac_try_echo=$ac_try;;
8676 esac 8489 esac
8677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8678 $as_echo "$ac_try_echo") >&5
8679 (eval "$ac_compile") 2>conftest.er1 8491 (eval "$ac_compile") 2>conftest.er1
8680 ac_status=$? 8492 ac_status=$?
8681 grep -v '^ *+' conftest.er1 >conftest.err 8493 grep -v '^ *+' conftest.er1 >conftest.err
8682 rm -f conftest.er1 8494 rm -f conftest.er1
8683 cat conftest.err >&5 8495 cat conftest.err >&5
8684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } && { 8497 (exit $ac_status); } && {
8686 test -z "$ac_c_werror_flag" || 8498 test -z "$ac_c_werror_flag" ||
8687 test ! -s conftest.err 8499 test ! -s conftest.err
8688 } && test -s conftest.$ac_objext; then 8500 } && test -s conftest.$ac_objext; then
8689 ac_cv_member_struct_ifreq_ifr_addr=yes 8501 ac_cv_member_struct_ifreq_ifr_addr=yes
8690 else 8502 else
8691 $as_echo "$as_me: failed program was:" >&5 8503 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5 8504 sed 's/^/| /' conftest.$ac_ext >&5
8693 8505
8694 cat >conftest.$ac_ext <<_ACEOF 8506 cat >conftest.$ac_ext <<_ACEOF
8695 /* confdefs.h. */ 8507 /* confdefs.h. */
8696 _ACEOF 8508 _ACEOF
8719 if { (ac_try="$ac_compile" 8531 if { (ac_try="$ac_compile"
8720 case "(($ac_try" in 8532 case "(($ac_try" in
8721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;; 8534 *) ac_try_echo=$ac_try;;
8723 esac 8535 esac
8724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 $as_echo "$ac_try_echo") >&5
8726 (eval "$ac_compile") 2>conftest.er1 8537 (eval "$ac_compile") 2>conftest.er1
8727 ac_status=$? 8538 ac_status=$?
8728 grep -v '^ *+' conftest.er1 >conftest.err 8539 grep -v '^ *+' conftest.er1 >conftest.err
8729 rm -f conftest.er1 8540 rm -f conftest.er1
8730 cat conftest.err >&5 8541 cat conftest.err >&5
8731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && { 8543 (exit $ac_status); } && {
8733 test -z "$ac_c_werror_flag" || 8544 test -z "$ac_c_werror_flag" ||
8734 test ! -s conftest.err 8545 test ! -s conftest.err
8735 } && test -s conftest.$ac_objext; then 8546 } && test -s conftest.$ac_objext; then
8736 ac_cv_member_struct_ifreq_ifr_addr=yes 8547 ac_cv_member_struct_ifreq_ifr_addr=yes
8737 else 8548 else
8738 $as_echo "$as_me: failed program was:" >&5 8549 echo "$as_me: failed program was:" >&5
8739 sed 's/^/| /' conftest.$ac_ext >&5 8550 sed 's/^/| /' conftest.$ac_ext >&5
8740 8551
8741 ac_cv_member_struct_ifreq_ifr_addr=no 8552 ac_cv_member_struct_ifreq_ifr_addr=no
8742 fi 8553 fi
8743 8554
8744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8745 fi 8556 fi
8746 8557
8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8748 fi 8559 fi
8749 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 8560 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5
8750 $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } 8561 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; }
8751 if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then 8562 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then
8752 8563
8753 cat >>confdefs.h <<_ACEOF 8564 cat >>confdefs.h <<_ACEOF
8754 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 8565 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1
8755 _ACEOF 8566 _ACEOF
8756 8567
8757 8568
8758 fi 8569 fi
8759 8570
8760 8571
8761 8572
8762 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 8573 { echo "$as_me:$LINENO: checking for function prototypes" >&5
8763 $as_echo_n "checking for function prototypes... " >&6; } 8574 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
8764 if test "$ac_cv_prog_cc_c89" != no; then 8575 if test "$ac_cv_prog_cc_c89" != no; then
8765 { $as_echo "$as_me:$LINENO: result: yes" >&5 8576 { echo "$as_me:$LINENO: result: yes" >&5
8766 $as_echo "yes" >&6; } 8577 echo "${ECHO_T}yes" >&6; }
8767 8578
8768 cat >>confdefs.h <<\_ACEOF 8579 cat >>confdefs.h <<\_ACEOF
8769 #define PROTOTYPES 1 8580 #define PROTOTYPES 1
8770 _ACEOF 8581 _ACEOF
8771 8582
8773 cat >>confdefs.h <<\_ACEOF 8584 cat >>confdefs.h <<\_ACEOF
8774 #define __PROTOTYPES 1 8585 #define __PROTOTYPES 1
8775 _ACEOF 8586 _ACEOF
8776 8587
8777 else 8588 else
8778 { $as_echo "$as_me:$LINENO: result: no" >&5 8589 { echo "$as_me:$LINENO: result: no" >&5
8779 $as_echo "no" >&6; } 8590 echo "${ECHO_T}no" >&6; }
8780 fi 8591 fi
8781 8592
8782 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 8593 { echo "$as_me:$LINENO: checking for working volatile" >&5
8783 $as_echo_n "checking for working volatile... " >&6; } 8594 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
8784 if test "${ac_cv_c_volatile+set}" = set; then 8595 if test "${ac_cv_c_volatile+set}" = set; then
8785 $as_echo_n "(cached) " >&6 8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 else 8597 else
8787 cat >conftest.$ac_ext <<_ACEOF 8598 cat >conftest.$ac_ext <<_ACEOF
8788 /* confdefs.h. */ 8599 /* confdefs.h. */
8789 _ACEOF 8600 _ACEOF
8790 cat confdefs.h >>conftest.$ac_ext 8601 cat confdefs.h >>conftest.$ac_ext
8806 if { (ac_try="$ac_compile" 8617 if { (ac_try="$ac_compile"
8807 case "(($ac_try" in 8618 case "(($ac_try" in
8808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8809 *) ac_try_echo=$ac_try;; 8620 *) ac_try_echo=$ac_try;;
8810 esac 8621 esac
8811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8812 $as_echo "$ac_try_echo") >&5
8813 (eval "$ac_compile") 2>conftest.er1 8623 (eval "$ac_compile") 2>conftest.er1
8814 ac_status=$? 8624 ac_status=$?
8815 grep -v '^ *+' conftest.er1 >conftest.err 8625 grep -v '^ *+' conftest.er1 >conftest.err
8816 rm -f conftest.er1 8626 rm -f conftest.er1
8817 cat conftest.err >&5 8627 cat conftest.err >&5
8818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } && { 8629 (exit $ac_status); } && {
8820 test -z "$ac_c_werror_flag" || 8630 test -z "$ac_c_werror_flag" ||
8821 test ! -s conftest.err 8631 test ! -s conftest.err
8822 } && test -s conftest.$ac_objext; then 8632 } && test -s conftest.$ac_objext; then
8823 ac_cv_c_volatile=yes 8633 ac_cv_c_volatile=yes
8824 else 8634 else
8825 $as_echo "$as_me: failed program was:" >&5 8635 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5 8636 sed 's/^/| /' conftest.$ac_ext >&5
8827 8637
8828 ac_cv_c_volatile=no 8638 ac_cv_c_volatile=no
8829 fi 8639 fi
8830 8640
8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8832 fi 8642 fi
8833 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 8643 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
8834 $as_echo "$ac_cv_c_volatile" >&6; } 8644 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
8835 if test $ac_cv_c_volatile = no; then 8645 if test $ac_cv_c_volatile = no; then
8836 8646
8837 cat >>confdefs.h <<\_ACEOF 8647 cat >>confdefs.h <<\_ACEOF
8838 #define volatile /**/ 8648 #define volatile
8839 _ACEOF 8649 _ACEOF
8840 8650
8841 fi 8651 fi
8842 8652
8843 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 8653 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8844 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 8654 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8845 if test "${ac_cv_c_const+set}" = set; then 8655 if test "${ac_cv_c_const+set}" = set; then
8846 $as_echo_n "(cached) " >&6 8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8847 else 8657 else
8848 cat >conftest.$ac_ext <<_ACEOF 8658 cat >conftest.$ac_ext <<_ACEOF
8849 /* confdefs.h. */ 8659 /* confdefs.h. */
8850 _ACEOF 8660 _ACEOF
8851 cat confdefs.h >>conftest.$ac_ext 8661 cat confdefs.h >>conftest.$ac_ext
8913 if { (ac_try="$ac_compile" 8723 if { (ac_try="$ac_compile"
8914 case "(($ac_try" in 8724 case "(($ac_try" in
8915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8916 *) ac_try_echo=$ac_try;; 8726 *) ac_try_echo=$ac_try;;
8917 esac 8727 esac
8918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919 $as_echo "$ac_try_echo") >&5
8920 (eval "$ac_compile") 2>conftest.er1 8729 (eval "$ac_compile") 2>conftest.er1
8921 ac_status=$? 8730 ac_status=$?
8922 grep -v '^ *+' conftest.er1 >conftest.err 8731 grep -v '^ *+' conftest.er1 >conftest.err
8923 rm -f conftest.er1 8732 rm -f conftest.er1
8924 cat conftest.err >&5 8733 cat conftest.err >&5
8925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); } && { 8735 (exit $ac_status); } && {
8927 test -z "$ac_c_werror_flag" || 8736 test -z "$ac_c_werror_flag" ||
8928 test ! -s conftest.err 8737 test ! -s conftest.err
8929 } && test -s conftest.$ac_objext; then 8738 } && test -s conftest.$ac_objext; then
8930 ac_cv_c_const=yes 8739 ac_cv_c_const=yes
8931 else 8740 else
8932 $as_echo "$as_me: failed program was:" >&5 8741 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.$ac_ext >&5 8742 sed 's/^/| /' conftest.$ac_ext >&5
8934 8743
8935 ac_cv_c_const=no 8744 ac_cv_c_const=no
8936 fi 8745 fi
8937 8746
8938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8939 fi 8748 fi
8940 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 8749 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8941 $as_echo "$ac_cv_c_const" >&6; } 8750 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8942 if test $ac_cv_c_const = no; then 8751 if test $ac_cv_c_const = no; then
8943 8752
8944 cat >>confdefs.h <<\_ACEOF 8753 cat >>confdefs.h <<\_ACEOF
8945 #define const /**/ 8754 #define const
8946 _ACEOF 8755 _ACEOF
8947 8756
8948 fi 8757 fi
8949 8758
8950 { $as_echo "$as_me:$LINENO: checking for void * support" >&5 8759 { echo "$as_me:$LINENO: checking for void * support" >&5
8951 $as_echo_n "checking for void * support... " >&6; } 8760 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; }
8952 if test "${emacs_cv_void_star+set}" = set; then 8761 if test "${emacs_cv_void_star+set}" = set; then
8953 $as_echo_n "(cached) " >&6 8762 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 else 8763 else
8955 cat >conftest.$ac_ext <<_ACEOF 8764 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */ 8765 /* confdefs.h. */
8957 _ACEOF 8766 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext 8767 cat confdefs.h >>conftest.$ac_ext
8971 if { (ac_try="$ac_compile" 8780 if { (ac_try="$ac_compile"
8972 case "(($ac_try" in 8781 case "(($ac_try" in
8973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8974 *) ac_try_echo=$ac_try;; 8783 *) ac_try_echo=$ac_try;;
8975 esac 8784 esac
8976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8977 $as_echo "$ac_try_echo") >&5
8978 (eval "$ac_compile") 2>conftest.er1 8786 (eval "$ac_compile") 2>conftest.er1
8979 ac_status=$? 8787 ac_status=$?
8980 grep -v '^ *+' conftest.er1 >conftest.err 8788 grep -v '^ *+' conftest.er1 >conftest.err
8981 rm -f conftest.er1 8789 rm -f conftest.er1
8982 cat conftest.err >&5 8790 cat conftest.err >&5
8983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && { 8792 (exit $ac_status); } && {
8985 test -z "$ac_c_werror_flag" || 8793 test -z "$ac_c_werror_flag" ||
8986 test ! -s conftest.err 8794 test ! -s conftest.err
8987 } && test -s conftest.$ac_objext; then 8795 } && test -s conftest.$ac_objext; then
8988 emacs_cv_void_star=yes 8796 emacs_cv_void_star=yes
8989 else 8797 else
8990 $as_echo "$as_me: failed program was:" >&5 8798 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5 8799 sed 's/^/| /' conftest.$ac_ext >&5
8992 8800
8993 emacs_cv_void_star=no 8801 emacs_cv_void_star=no
8994 fi 8802 fi
8995 8803
8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8997 fi 8805 fi
8998 { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 8806 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5
8999 $as_echo "$emacs_cv_void_star" >&6; } 8807 echo "${ECHO_T}$emacs_cv_void_star" >&6; }
9000 if test $emacs_cv_void_star = yes; then 8808 if test $emacs_cv_void_star = yes; then
9001 cat >>confdefs.h <<\_ACEOF 8809 cat >>confdefs.h <<\_ACEOF
9002 #define POINTER_TYPE void 8810 #define POINTER_TYPE void
9003 _ACEOF 8811 _ACEOF
9004 8812
9011 8819
9012 8820
9013 8821
9014 8822
9015 8823
9016 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 8824 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9017 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 8825 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
9018 set x ${MAKE-make} 8826 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9019 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9020 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 8827 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
9021 $as_echo_n "(cached) " >&6 8828 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 else 8829 else
9023 cat >conftest.make <<\_ACEOF 8830 cat >conftest.make <<\_ACEOF
9024 SHELL = /bin/sh 8831 SHELL = /bin/sh
9025 all: 8832 all:
9026 @echo '@@@%%%=$(MAKE)=@@@%%%' 8833 @echo '@@@%%%=$(MAKE)=@@@%%%'
9033 eval ac_cv_prog_make_${ac_make}_set=no;; 8840 eval ac_cv_prog_make_${ac_make}_set=no;;
9034 esac 8841 esac
9035 rm -f conftest.make 8842 rm -f conftest.make
9036 fi 8843 fi
9037 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 8844 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9038 { $as_echo "$as_me:$LINENO: result: yes" >&5 8845 { echo "$as_me:$LINENO: result: yes" >&5
9039 $as_echo "yes" >&6; } 8846 echo "${ECHO_T}yes" >&6; }
9040 SET_MAKE= 8847 SET_MAKE=
9041 else 8848 else
9042 { $as_echo "$as_me:$LINENO: result: no" >&5 8849 { echo "$as_me:$LINENO: result: no" >&5
9043 $as_echo "no" >&6; } 8850 echo "${ECHO_T}no" >&6; }
9044 SET_MAKE="MAKE=${MAKE-make}" 8851 SET_MAKE="MAKE=${MAKE-make}"
9045 fi 8852 fi
9046 8853
9047 8854
9048 { $as_echo "$as_me:$LINENO: checking for long file names" >&5 8855 { echo "$as_me:$LINENO: checking for long file names" >&5
9049 $as_echo_n "checking for long file names... " >&6; } 8856 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; }
9050 if test "${ac_cv_sys_long_file_names+set}" = set; then 8857 if test "${ac_cv_sys_long_file_names+set}" = set; then
9051 $as_echo_n "(cached) " >&6 8858 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 else 8859 else
9053 ac_cv_sys_long_file_names=yes 8860 ac_cv_sys_long_file_names=yes
9054 # Test for long file names in all the places we know might matter: 8861 # Test for long file names in all the places we know might matter:
9055 # . the current directory, where building will happen 8862 # . the current directory, where building will happen
9056 # $prefix/lib where we will be installing things 8863 # $prefix/lib where we will be installing things
9075 ac_cv_sys_long_file_names=no 8882 ac_cv_sys_long_file_names=no
9076 rm -f -r "$ac_xdir" 2>/dev/null 8883 rm -f -r "$ac_xdir" 2>/dev/null
9077 test $ac_cv_sys_long_file_names = no && break 8884 test $ac_cv_sys_long_file_names = no && break
9078 done 8885 done
9079 fi 8886 fi
9080 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 8887 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
9081 $as_echo "$ac_cv_sys_long_file_names" >&6; } 8888 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; }
9082 if test $ac_cv_sys_long_file_names = yes; then 8889 if test $ac_cv_sys_long_file_names = yes; then
9083 8890
9084 cat >>confdefs.h <<\_ACEOF 8891 cat >>confdefs.h <<\_ACEOF
9085 #define HAVE_LONG_FILE_NAMES 1 8892 #define HAVE_LONG_FILE_NAMES 1
9086 _ACEOF 8893 _ACEOF
9088 fi 8895 fi
9089 8896
9090 8897
9091 #### Choose a window system. 8898 #### Choose a window system.
9092 8899
9093 { $as_echo "$as_me:$LINENO: checking for X" >&5 8900 { echo "$as_me:$LINENO: checking for X" >&5
9094 $as_echo_n "checking for X... " >&6; } 8901 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
9095 8902
9096 8903
9097 # Check whether --with-x was given. 8904 # Check whether --with-x was given.
9098 if test "${with_x+set}" = set; then 8905 if test "${with_x+set}" = set; then
9099 withval=$with_x; 8906 withval=$with_x;
9103 if test "x$with_x" = xno; then 8910 if test "x$with_x" = xno; then
9104 # The user explicitly disabled X. 8911 # The user explicitly disabled X.
9105 have_x=disabled 8912 have_x=disabled
9106 else 8913 else
9107 case $x_includes,$x_libraries in #( 8914 case $x_includes,$x_libraries in #(
9108 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 8915 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
9109 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} 8916 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
9110 { (exit 1); exit 1; }; };; #( 8917 { (exit 1); exit 1; }; };; #(
9111 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then 8918 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
9112 $as_echo_n "(cached) " >&6 8919 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 else 8920 else
9114 # One or both of the vars are not set, and there is no cached value. 8921 # One or both of the vars are not set, and there is no cached value.
9115 ac_x_includes=no ac_x_libraries=no 8922 ac_x_includes=no ac_x_libraries=no
9116 rm -f -r conftest.dir 8923 rm -f -r conftest.dir
9117 if mkdir conftest.dir; then 8924 if mkdir conftest.dir; then
9128 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 8935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9129 for ac_var in incroot usrlibdir libdir; do 8936 for ac_var in incroot usrlibdir libdir; do
9130 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 8937 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9131 done 8938 done
9132 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 8939 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9133 for ac_extension in a so sl dylib la dll; do 8940 for ac_extension in a so sl; do
9134 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 8941 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9135 test -f "$ac_im_libdir/libX11.$ac_extension"; then 8942 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9136 ac_im_usrlibdir=$ac_im_libdir; break 8943 ac_im_usrlibdir=$ac_im_libdir; break
9137 fi 8944 fi
9138 done 8945 done
9142 case $ac_im_incroot in 8949 case $ac_im_incroot in
9143 /usr/include) ac_x_includes= ;; 8950 /usr/include) ac_x_includes= ;;
9144 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 8951 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9145 esac 8952 esac
9146 case $ac_im_usrlibdir in 8953 case $ac_im_usrlibdir in
9147 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 8954 /usr/lib | /lib) ;;
9148 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 8955 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9149 esac 8956 esac
9150 fi 8957 fi
9151 cd .. 8958 cd ..
9152 rm -f -r conftest.dir 8959 rm -f -r conftest.dir
9203 if { (ac_try="$ac_cpp conftest.$ac_ext" 9010 if { (ac_try="$ac_cpp conftest.$ac_ext"
9204 case "(($ac_try" in 9011 case "(($ac_try" in
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;; 9013 *) ac_try_echo=$ac_try;;
9207 esac 9014 esac
9208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 $as_echo "$ac_try_echo") >&5
9210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9211 ac_status=$? 9017 ac_status=$?
9212 grep -v '^ *+' conftest.er1 >conftest.err 9018 grep -v '^ *+' conftest.er1 >conftest.err
9213 rm -f conftest.er1 9019 rm -f conftest.er1
9214 cat conftest.err >&5 9020 cat conftest.err >&5
9215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } >/dev/null && { 9022 (exit $ac_status); } >/dev/null && {
9217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9218 test ! -s conftest.err 9024 test ! -s conftest.err
9219 }; then 9025 }; then
9220 # We can compile using X headers with no special include directory. 9026 # We can compile using X headers with no special include directory.
9221 ac_x_includes= 9027 ac_x_includes=
9222 else 9028 else
9223 $as_echo "$as_me: failed program was:" >&5 9029 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.$ac_ext >&5 9030 sed 's/^/| /' conftest.$ac_ext >&5
9225 9031
9226 for ac_dir in $ac_x_header_dirs; do 9032 for ac_dir in $ac_x_header_dirs; do
9227 if test -r "$ac_dir/X11/Xlib.h"; then 9033 if test -r "$ac_dir/X11/Xlib.h"; then
9228 ac_x_includes=$ac_dir 9034 ac_x_includes=$ac_dir
9259 if { (ac_try="$ac_link" 9065 if { (ac_try="$ac_link"
9260 case "(($ac_try" in 9066 case "(($ac_try" in
9261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;; 9068 *) ac_try_echo=$ac_try;;
9263 esac 9069 esac
9264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 $as_echo "$ac_try_echo") >&5
9266 (eval "$ac_link") 2>conftest.er1 9071 (eval "$ac_link") 2>conftest.er1
9267 ac_status=$? 9072 ac_status=$?
9268 grep -v '^ *+' conftest.er1 >conftest.err 9073 grep -v '^ *+' conftest.er1 >conftest.err
9269 rm -f conftest.er1 9074 rm -f conftest.er1
9270 cat conftest.err >&5 9075 cat conftest.err >&5
9271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); } && { 9077 (exit $ac_status); } && {
9273 test -z "$ac_c_werror_flag" || 9078 test -z "$ac_c_werror_flag" ||
9274 test ! -s conftest.err 9079 test ! -s conftest.err
9275 } && test -s conftest$ac_exeext && { 9080 } && test -s conftest$ac_exeext &&
9276 test "$cross_compiling" = yes || 9081 $as_test_x conftest$ac_exeext; then
9277 $as_test_x conftest$ac_exeext
9278 }; then
9279 LIBS=$ac_save_LIBS 9082 LIBS=$ac_save_LIBS
9280 # We can link X programs with no special library path. 9083 # We can link X programs with no special library path.
9281 ac_x_libraries= 9084 ac_x_libraries=
9282 else 9085 else
9283 $as_echo "$as_me: failed program was:" >&5 9086 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5 9087 sed 's/^/| /' conftest.$ac_ext >&5
9285 9088
9286 LIBS=$ac_save_LIBS 9089 LIBS=$ac_save_LIBS
9287 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 9090 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9288 do 9091 do
9289 # Don't even attempt the hair of trying to link an X program! 9092 # Don't even attempt the hair of trying to link an X program!
9290 for ac_extension in a so sl dylib la dll; do 9093 for ac_extension in a so sl; do
9291 if test -r "$ac_dir/libX11.$ac_extension"; then 9094 if test -r "$ac_dir/libX11.$ac_extension"; then
9292 ac_x_libraries=$ac_dir 9095 ac_x_libraries=$ac_dir
9293 break 2 9096 break 2
9294 fi 9097 fi
9295 done 9098 done
9296 done 9099 done
9297 fi 9100 fi
9298 9101
9299 rm -rf conftest.dSYM
9300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9301 conftest$ac_exeext conftest.$ac_ext 9103 conftest$ac_exeext conftest.$ac_ext
9302 fi # $ac_x_libraries = no 9104 fi # $ac_x_libraries = no
9303 9105
9304 case $ac_x_includes,$ac_x_libraries in #( 9106 case $ac_x_includes,$ac_x_libraries in #(
9317 esac 9119 esac
9318 eval "$ac_cv_have_x" 9120 eval "$ac_cv_have_x"
9319 fi # $with_x != no 9121 fi # $with_x != no
9320 9122
9321 if test "$have_x" != yes; then 9123 if test "$have_x" != yes; then
9322 { $as_echo "$as_me:$LINENO: result: $have_x" >&5 9124 { echo "$as_me:$LINENO: result: $have_x" >&5
9323 $as_echo "$have_x" >&6; } 9125 echo "${ECHO_T}$have_x" >&6; }
9324 no_x=yes 9126 no_x=yes
9325 else 9127 else
9326 # If each of the values was on the command line, it overrides each guess. 9128 # If each of the values was on the command line, it overrides each guess.
9327 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9129 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9328 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9130 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9329 # Update the cache value to reflect the command line values. 9131 # Update the cache value to reflect the command line values.
9330 ac_cv_have_x="have_x=yes\ 9132 ac_cv_have_x="have_x=yes\
9331 ac_x_includes='$x_includes'\ 9133 ac_x_includes='$x_includes'\
9332 ac_x_libraries='$x_libraries'" 9134 ac_x_libraries='$x_libraries'"
9333 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9135 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9334 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 9136 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
9335 fi 9137 fi
9336 9138
9337 if test "$no_x" = yes; then 9139 if test "$no_x" = yes; then
9338 window_system=none 9140 window_system=none
9339 else 9141 else
9425 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9227 CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9426 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" 9228 REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}"
9427 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 9229 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
9428 fi 9230 fi
9429 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9231 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9430 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9232 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9431 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } 9233 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; }
9432 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9234 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9433 $as_echo_n "(cached) " >&6 9235 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 fi 9236 fi
9435 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9237 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9436 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } 9238 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; }
9437 else 9239 else
9438 # Is the header compilable? 9240 # Is the header compilable?
9439 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 9241 { echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5
9440 $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } 9242 echo $ECHO_N "checking AppKit/AppKit.h usability... $ECHO_C" >&6; }
9441 cat >conftest.$ac_ext <<_ACEOF 9243 cat >conftest.$ac_ext <<_ACEOF
9442 /* confdefs.h. */ 9244 /* confdefs.h. */
9443 _ACEOF 9245 _ACEOF
9444 cat confdefs.h >>conftest.$ac_ext 9246 cat confdefs.h >>conftest.$ac_ext
9445 cat >>conftest.$ac_ext <<_ACEOF 9247 cat >>conftest.$ac_ext <<_ACEOF
9451 if { (ac_try="$ac_compile" 9253 if { (ac_try="$ac_compile"
9452 case "(($ac_try" in 9254 case "(($ac_try" in
9453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9454 *) ac_try_echo=$ac_try;; 9256 *) ac_try_echo=$ac_try;;
9455 esac 9257 esac
9456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9457 $as_echo "$ac_try_echo") >&5
9458 (eval "$ac_compile") 2>conftest.er1 9259 (eval "$ac_compile") 2>conftest.er1
9459 ac_status=$? 9260 ac_status=$?
9460 grep -v '^ *+' conftest.er1 >conftest.err 9261 grep -v '^ *+' conftest.er1 >conftest.err
9461 rm -f conftest.er1 9262 rm -f conftest.er1
9462 cat conftest.err >&5 9263 cat conftest.err >&5
9463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && { 9265 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" || 9266 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err 9267 test ! -s conftest.err
9467 } && test -s conftest.$ac_objext; then 9268 } && test -s conftest.$ac_objext; then
9468 ac_header_compiler=yes 9269 ac_header_compiler=yes
9469 else 9270 else
9470 $as_echo "$as_me: failed program was:" >&5 9271 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5 9272 sed 's/^/| /' conftest.$ac_ext >&5
9472 9273
9473 ac_header_compiler=no 9274 ac_header_compiler=no
9474 fi 9275 fi
9475 9276
9476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9477 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9278 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9478 $as_echo "$ac_header_compiler" >&6; } 9279 echo "${ECHO_T}$ac_header_compiler" >&6; }
9479 9280
9480 # Is the header present? 9281 # Is the header present?
9481 { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 9282 { echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5
9482 $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } 9283 echo $ECHO_N "checking AppKit/AppKit.h presence... $ECHO_C" >&6; }
9483 cat >conftest.$ac_ext <<_ACEOF 9284 cat >conftest.$ac_ext <<_ACEOF
9484 /* confdefs.h. */ 9285 /* confdefs.h. */
9485 _ACEOF 9286 _ACEOF
9486 cat confdefs.h >>conftest.$ac_ext 9287 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF 9288 cat >>conftest.$ac_ext <<_ACEOF
9491 if { (ac_try="$ac_cpp conftest.$ac_ext" 9292 if { (ac_try="$ac_cpp conftest.$ac_ext"
9492 case "(($ac_try" in 9293 case "(($ac_try" in
9493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9494 *) ac_try_echo=$ac_try;; 9295 *) ac_try_echo=$ac_try;;
9495 esac 9296 esac
9496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9497 $as_echo "$ac_try_echo") >&5
9498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9499 ac_status=$? 9299 ac_status=$?
9500 grep -v '^ *+' conftest.er1 >conftest.err 9300 grep -v '^ *+' conftest.er1 >conftest.err
9501 rm -f conftest.er1 9301 rm -f conftest.er1
9502 cat conftest.err >&5 9302 cat conftest.err >&5
9503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); } >/dev/null && { 9304 (exit $ac_status); } >/dev/null && {
9505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9305 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9506 test ! -s conftest.err 9306 test ! -s conftest.err
9507 }; then 9307 }; then
9508 ac_header_preproc=yes 9308 ac_header_preproc=yes
9509 else 9309 else
9510 $as_echo "$as_me: failed program was:" >&5 9310 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5 9311 sed 's/^/| /' conftest.$ac_ext >&5
9512 9312
9513 ac_header_preproc=no 9313 ac_header_preproc=no
9514 fi 9314 fi
9515 9315
9516 rm -f conftest.err conftest.$ac_ext 9316 rm -f conftest.err conftest.$ac_ext
9517 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9317 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9518 $as_echo "$ac_header_preproc" >&6; } 9318 echo "${ECHO_T}$ac_header_preproc" >&6; }
9519 9319
9520 # So? What about this header? 9320 # So? What about this header?
9521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9522 yes:no: ) 9322 yes:no: )
9523 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 9323 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5
9524 $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9324 echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9525 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 9325 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5
9526 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} 9326 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;}
9527 ac_header_preproc=yes 9327 ac_header_preproc=yes
9528 ;; 9328 ;;
9529 no:yes:* ) 9329 no:yes:* )
9530 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 9330 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5
9531 $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} 9331 echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;}
9532 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 9332 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5
9533 $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} 9333 echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;}
9534 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 9334 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5
9535 $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} 9335 echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;}
9536 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 9336 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5
9537 $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} 9337 echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;}
9538 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 9338 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5
9539 $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} 9339 echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;}
9540 { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 9340 { echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5
9541 $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} 9341 echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;}
9542 9342
9543 ;; 9343 ;;
9544 esac 9344 esac
9545 { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 9345 { echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5
9546 $as_echo_n "checking for AppKit/AppKit.h... " >&6; } 9346 echo $ECHO_N "checking for AppKit/AppKit.h... $ECHO_C" >&6; }
9547 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then 9347 if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then
9548 $as_echo_n "(cached) " >&6 9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9549 else 9349 else
9550 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc 9350 ac_cv_header_AppKit_AppKit_h=$ac_header_preproc
9551 fi 9351 fi
9552 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 9352 { echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5
9553 $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } 9353 echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; }
9554 9354
9555 fi 9355 fi
9556 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then 9356 if test $ac_cv_header_AppKit_AppKit_h = yes; then
9557 HAVE_NS=yes 9357 HAVE_NS=yes
9558 else 9358 else
9559 { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include 9359 { { echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include
9560 files are missing or cannot be compiled." >&5 9360 files are missing or cannot be compiled." >&5
9561 $as_echo "$as_me: error: \`--with-ns' was specified, but the include 9361 echo "$as_me: error: \`--with-ns' was specified, but the include
9562 files are missing or cannot be compiled." >&2;} 9362 files are missing or cannot be compiled." >&2;}
9563 { (exit 1); exit 1; }; } 9363 { (exit 1); exit 1; }; }
9564 fi 9364 fi
9565 9365
9566 9366
9584 if { (ac_try="$ac_compile" 9384 if { (ac_try="$ac_compile"
9585 case "(($ac_try" in 9385 case "(($ac_try" in
9586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9587 *) ac_try_echo=$ac_try;; 9387 *) ac_try_echo=$ac_try;;
9588 esac 9388 esac
9589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9590 $as_echo "$ac_try_echo") >&5
9591 (eval "$ac_compile") 2>conftest.er1 9390 (eval "$ac_compile") 2>conftest.er1
9592 ac_status=$? 9391 ac_status=$?
9593 grep -v '^ *+' conftest.er1 >conftest.err 9392 grep -v '^ *+' conftest.er1 >conftest.err
9594 rm -f conftest.er1 9393 rm -f conftest.er1
9595 cat conftest.err >&5 9394 cat conftest.err >&5
9596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } && { 9396 (exit $ac_status); } && {
9598 test -z "$ac_c_werror_flag" || 9397 test -z "$ac_c_werror_flag" ||
9599 test ! -s conftest.err 9398 test ! -s conftest.err
9600 } && test -s conftest.$ac_objext; then 9399 } && test -s conftest.$ac_objext; then
9601 ns_have_nsinteger=yes 9400 ns_have_nsinteger=yes
9602 else 9401 else
9603 $as_echo "$as_me: failed program was:" >&5 9402 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5 9403 sed 's/^/| /' conftest.$ac_ext >&5
9605 9404
9606 ns_have_nsinteger=no 9405 ns_have_nsinteger=no
9607 fi 9406 fi
9608 9407
9646 esac 9445 esac
9647 9446
9648 if test "$window_system" = none && test "X$with_x" != "Xno"; then 9447 if test "$window_system" = none && test "X$with_x" != "Xno"; then
9649 # Extract the first word of "X", so it can be a program name with args. 9448 # Extract the first word of "X", so it can be a program name with args.
9650 set dummy X; ac_word=$2 9449 set dummy X; ac_word=$2
9651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 9450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9652 $as_echo_n "checking for $ac_word... " >&6; } 9451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9653 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then 9452 if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then
9654 $as_echo_n "(cached) " >&6 9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 else 9454 else
9656 if test -n "$HAVE_XSERVER"; then 9455 if test -n "$HAVE_XSERVER"; then
9657 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test. 9456 ac_cv_prog_HAVE_XSERVER="$HAVE_XSERVER" # Let the user override the test.
9658 else 9457 else
9659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9662 IFS=$as_save_IFS 9461 IFS=$as_save_IFS
9663 test -z "$as_dir" && as_dir=. 9462 test -z "$as_dir" && as_dir=.
9664 for ac_exec_ext in '' $ac_executable_extensions; do 9463 for ac_exec_ext in '' $ac_executable_extensions; do
9665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9666 ac_cv_prog_HAVE_XSERVER="true" 9465 ac_cv_prog_HAVE_XSERVER="true"
9667 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 break 2 9467 break 2
9669 fi 9468 fi
9670 done 9469 done
9671 done 9470 done
9672 IFS=$as_save_IFS 9471 IFS=$as_save_IFS
9674 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" 9473 test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false"
9675 fi 9474 fi
9676 fi 9475 fi
9677 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER 9476 HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER
9678 if test -n "$HAVE_XSERVER"; then 9477 if test -n "$HAVE_XSERVER"; then
9679 { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 9478 { echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5
9680 $as_echo "$HAVE_XSERVER" >&6; } 9479 echo "${ECHO_T}$HAVE_XSERVER" >&6; }
9681 else 9480 else
9682 { $as_echo "$as_me:$LINENO: result: no" >&5 9481 { echo "$as_me:$LINENO: result: no" >&5
9683 $as_echo "no" >&6; } 9482 echo "${ECHO_T}no" >&6; }
9684 fi 9483 fi
9685 9484
9686 9485
9687 if test "$HAVE_XSERVER" = true || 9486 if test "$HAVE_XSERVER" = true ||
9688 test -n "$DISPLAY" || 9487 test -n "$DISPLAY" ||
9689 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then 9488 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then
9690 { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries 9489 { { echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries
9691 were found. You should install the relevant development files for X 9490 were found. You should install the relevant development files for X
9692 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9491 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9693 sure you have development files for image handling, i.e. 9492 sure you have development files for image handling, i.e.
9694 tiff, gif, jpeg, png and xpm. 9493 tiff, gif, jpeg, png and xpm.
9695 If you are sure you want Emacs compiled without X window support, pass 9494 If you are sure you want Emacs compiled without X window support, pass
9696 --without-x 9495 --without-x
9697 to configure." >&5 9496 to configure." >&5
9698 $as_echo "$as_me: error: You seem to be running X, but no X development libraries 9497 echo "$as_me: error: You seem to be running X, but no X development libraries
9699 were found. You should install the relevant development files for X 9498 were found. You should install the relevant development files for X
9700 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make 9499 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
9701 sure you have development files for image handling, i.e. 9500 sure you have development files for image handling, i.e.
9702 tiff, gif, jpeg, png and xpm. 9501 tiff, gif, jpeg, png and xpm.
9703 If you are sure you want Emacs compiled without X window support, pass 9502 If you are sure you want Emacs compiled without X window support, pass
9715 9514
9716 # Do the opsystem or machine files prohibit the use of the GNU malloc? 9515 # Do the opsystem or machine files prohibit the use of the GNU malloc?
9717 # Assume not, until told otherwise. 9516 # Assume not, until told otherwise.
9718 GNU_MALLOC=yes 9517 GNU_MALLOC=yes
9719 doug_lea_malloc=yes 9518 doug_lea_malloc=yes
9720 { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 9519 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5
9721 $as_echo_n "checking for malloc_get_state... " >&6; } 9520 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; }
9722 if test "${ac_cv_func_malloc_get_state+set}" = set; then 9521 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9723 $as_echo_n "(cached) " >&6 9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 else 9523 else
9725 cat >conftest.$ac_ext <<_ACEOF 9524 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */ 9525 /* confdefs.h. */
9727 _ACEOF 9526 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext 9527 cat confdefs.h >>conftest.$ac_ext
9771 if { (ac_try="$ac_link" 9570 if { (ac_try="$ac_link"
9772 case "(($ac_try" in 9571 case "(($ac_try" in
9773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9774 *) ac_try_echo=$ac_try;; 9573 *) ac_try_echo=$ac_try;;
9775 esac 9574 esac
9776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9777 $as_echo "$ac_try_echo") >&5
9778 (eval "$ac_link") 2>conftest.er1 9576 (eval "$ac_link") 2>conftest.er1
9779 ac_status=$? 9577 ac_status=$?
9780 grep -v '^ *+' conftest.er1 >conftest.err 9578 grep -v '^ *+' conftest.er1 >conftest.err
9781 rm -f conftest.er1 9579 rm -f conftest.er1
9782 cat conftest.err >&5 9580 cat conftest.err >&5
9783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && { 9582 (exit $ac_status); } && {
9785 test -z "$ac_c_werror_flag" || 9583 test -z "$ac_c_werror_flag" ||
9786 test ! -s conftest.err 9584 test ! -s conftest.err
9787 } && test -s conftest$ac_exeext && { 9585 } && test -s conftest$ac_exeext &&
9788 test "$cross_compiling" = yes || 9586 $as_test_x conftest$ac_exeext; then
9789 $as_test_x conftest$ac_exeext
9790 }; then
9791 ac_cv_func_malloc_get_state=yes 9587 ac_cv_func_malloc_get_state=yes
9792 else 9588 else
9793 $as_echo "$as_me: failed program was:" >&5 9589 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5 9590 sed 's/^/| /' conftest.$ac_ext >&5
9795 9591
9796 ac_cv_func_malloc_get_state=no 9592 ac_cv_func_malloc_get_state=no
9797 fi 9593 fi
9798 9594
9799 rm -rf conftest.dSYM
9800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9801 conftest$ac_exeext conftest.$ac_ext 9596 conftest$ac_exeext conftest.$ac_ext
9802 fi 9597 fi
9803 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 9598 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
9804 $as_echo "$ac_cv_func_malloc_get_state" >&6; } 9599 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; }
9805 if test "x$ac_cv_func_malloc_get_state" = x""yes; then 9600 if test $ac_cv_func_malloc_get_state = yes; then
9806 : 9601 :
9807 else 9602 else
9808 doug_lea_malloc=no 9603 doug_lea_malloc=no
9809 fi 9604 fi
9810 9605
9811 { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 9606 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5
9812 $as_echo_n "checking for malloc_set_state... " >&6; } 9607 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; }
9813 if test "${ac_cv_func_malloc_set_state+set}" = set; then 9608 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9814 $as_echo_n "(cached) " >&6 9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 else 9610 else
9816 cat >conftest.$ac_ext <<_ACEOF 9611 cat >conftest.$ac_ext <<_ACEOF
9817 /* confdefs.h. */ 9612 /* confdefs.h. */
9818 _ACEOF 9613 _ACEOF
9819 cat confdefs.h >>conftest.$ac_ext 9614 cat confdefs.h >>conftest.$ac_ext
9862 if { (ac_try="$ac_link" 9657 if { (ac_try="$ac_link"
9863 case "(($ac_try" in 9658 case "(($ac_try" in
9864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9865 *) ac_try_echo=$ac_try;; 9660 *) ac_try_echo=$ac_try;;
9866 esac 9661 esac
9867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9868 $as_echo "$ac_try_echo") >&5
9869 (eval "$ac_link") 2>conftest.er1 9663 (eval "$ac_link") 2>conftest.er1
9870 ac_status=$? 9664 ac_status=$?
9871 grep -v '^ *+' conftest.er1 >conftest.err 9665 grep -v '^ *+' conftest.er1 >conftest.err
9872 rm -f conftest.er1 9666 rm -f conftest.er1
9873 cat conftest.err >&5 9667 cat conftest.err >&5
9874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && { 9669 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" || 9670 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err 9671 test ! -s conftest.err
9878 } && test -s conftest$ac_exeext && { 9672 } && test -s conftest$ac_exeext &&
9879 test "$cross_compiling" = yes || 9673 $as_test_x conftest$ac_exeext; then
9880 $as_test_x conftest$ac_exeext
9881 }; then
9882 ac_cv_func_malloc_set_state=yes 9674 ac_cv_func_malloc_set_state=yes
9883 else 9675 else
9884 $as_echo "$as_me: failed program was:" >&5 9676 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.$ac_ext >&5 9677 sed 's/^/| /' conftest.$ac_ext >&5
9886 9678
9887 ac_cv_func_malloc_set_state=no 9679 ac_cv_func_malloc_set_state=no
9888 fi 9680 fi
9889 9681
9890 rm -rf conftest.dSYM
9891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9892 conftest$ac_exeext conftest.$ac_ext 9683 conftest$ac_exeext conftest.$ac_ext
9893 fi 9684 fi
9894 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 9685 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
9895 $as_echo "$ac_cv_func_malloc_set_state" >&6; } 9686 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; }
9896 if test "x$ac_cv_func_malloc_set_state" = x""yes; then 9687 if test $ac_cv_func_malloc_set_state = yes; then
9897 : 9688 :
9898 else 9689 else
9899 doug_lea_malloc=no 9690 doug_lea_malloc=no
9900 fi 9691 fi
9901 9692
9902 { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 9693 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5
9903 $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } 9694 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; }
9904 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then 9695 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9905 $as_echo_n "(cached) " >&6 9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 else 9697 else
9907 cat >conftest.$ac_ext <<_ACEOF 9698 cat >conftest.$ac_ext <<_ACEOF
9908 /* confdefs.h. */ 9699 /* confdefs.h. */
9909 _ACEOF 9700 _ACEOF
9910 cat confdefs.h >>conftest.$ac_ext 9701 cat confdefs.h >>conftest.$ac_ext
9923 if { (ac_try="$ac_link" 9714 if { (ac_try="$ac_link"
9924 case "(($ac_try" in 9715 case "(($ac_try" in
9925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9926 *) ac_try_echo=$ac_try;; 9717 *) ac_try_echo=$ac_try;;
9927 esac 9718 esac
9928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9929 $as_echo "$ac_try_echo") >&5
9930 (eval "$ac_link") 2>conftest.er1 9720 (eval "$ac_link") 2>conftest.er1
9931 ac_status=$? 9721 ac_status=$?
9932 grep -v '^ *+' conftest.er1 >conftest.err 9722 grep -v '^ *+' conftest.er1 >conftest.err
9933 rm -f conftest.er1 9723 rm -f conftest.er1
9934 cat conftest.err >&5 9724 cat conftest.err >&5
9935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } && { 9726 (exit $ac_status); } && {
9937 test -z "$ac_c_werror_flag" || 9727 test -z "$ac_c_werror_flag" ||
9938 test ! -s conftest.err 9728 test ! -s conftest.err
9939 } && test -s conftest$ac_exeext && { 9729 } && test -s conftest$ac_exeext &&
9940 test "$cross_compiling" = yes || 9730 $as_test_x conftest$ac_exeext; then
9941 $as_test_x conftest$ac_exeext
9942 }; then
9943 emacs_cv_var___after_morecore_hook=yes 9731 emacs_cv_var___after_morecore_hook=yes
9944 else 9732 else
9945 $as_echo "$as_me: failed program was:" >&5 9733 echo "$as_me: failed program was:" >&5
9946 sed 's/^/| /' conftest.$ac_ext >&5 9734 sed 's/^/| /' conftest.$ac_ext >&5
9947 9735
9948 emacs_cv_var___after_morecore_hook=no 9736 emacs_cv_var___after_morecore_hook=no
9949 fi 9737 fi
9950 9738
9951 rm -rf conftest.dSYM
9952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9953 conftest$ac_exeext conftest.$ac_ext 9740 conftest$ac_exeext conftest.$ac_ext
9954 fi 9741 fi
9955 { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 9742 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5
9956 $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } 9743 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; }
9957 if test $emacs_cv_var___after_morecore_hook = no; then 9744 if test $emacs_cv_var___after_morecore_hook = no; then
9958 doug_lea_malloc=no 9745 doug_lea_malloc=no
9959 fi 9746 fi
9960 if test "${system_malloc}" = "yes"; then 9747 if test "${system_malloc}" = "yes"; then
9961 GNU_MALLOC=no 9748 GNU_MALLOC=no
9981 9768
9982 9769
9983 9770
9984 for ac_header in stdlib.h unistd.h 9771 for ac_header in stdlib.h unistd.h
9985 do 9772 do
9986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9774 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9989 $as_echo_n "checking for $ac_header... " >&6; } 9776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9991 $as_echo_n "(cached) " >&6 9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 fi 9779 fi
9993 ac_res=`eval 'as_val=${'$as_ac_Header'} 9780 ac_res=`eval echo '${'$as_ac_Header'}'`
9994 $as_echo "$as_val"'` 9781 { echo "$as_me:$LINENO: result: $ac_res" >&5
9995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9782 echo "${ECHO_T}$ac_res" >&6; }
9996 $as_echo "$ac_res" >&6; }
9997 else 9783 else
9998 # Is the header compilable? 9784 # Is the header compilable?
9999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 9785 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10000 $as_echo_n "checking $ac_header usability... " >&6; } 9786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10001 cat >conftest.$ac_ext <<_ACEOF 9787 cat >conftest.$ac_ext <<_ACEOF
10002 /* confdefs.h. */ 9788 /* confdefs.h. */
10003 _ACEOF 9789 _ACEOF
10004 cat confdefs.h >>conftest.$ac_ext 9790 cat confdefs.h >>conftest.$ac_ext
10005 cat >>conftest.$ac_ext <<_ACEOF 9791 cat >>conftest.$ac_ext <<_ACEOF
10011 if { (ac_try="$ac_compile" 9797 if { (ac_try="$ac_compile"
10012 case "(($ac_try" in 9798 case "(($ac_try" in
10013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;; 9800 *) ac_try_echo=$ac_try;;
10015 esac 9801 esac
10016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 $as_echo "$ac_try_echo") >&5
10018 (eval "$ac_compile") 2>conftest.er1 9803 (eval "$ac_compile") 2>conftest.er1
10019 ac_status=$? 9804 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err 9805 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1 9806 rm -f conftest.er1
10022 cat conftest.err >&5 9807 cat conftest.err >&5
10023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } && { 9809 (exit $ac_status); } && {
10025 test -z "$ac_c_werror_flag" || 9810 test -z "$ac_c_werror_flag" ||
10026 test ! -s conftest.err 9811 test ! -s conftest.err
10027 } && test -s conftest.$ac_objext; then 9812 } && test -s conftest.$ac_objext; then
10028 ac_header_compiler=yes 9813 ac_header_compiler=yes
10029 else 9814 else
10030 $as_echo "$as_me: failed program was:" >&5 9815 echo "$as_me: failed program was:" >&5
10031 sed 's/^/| /' conftest.$ac_ext >&5 9816 sed 's/^/| /' conftest.$ac_ext >&5
10032 9817
10033 ac_header_compiler=no 9818 ac_header_compiler=no
10034 fi 9819 fi
10035 9820
10036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9822 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10038 $as_echo "$ac_header_compiler" >&6; } 9823 echo "${ECHO_T}$ac_header_compiler" >&6; }
10039 9824
10040 # Is the header present? 9825 # Is the header present?
10041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 9826 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10042 $as_echo_n "checking $ac_header presence... " >&6; } 9827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10043 cat >conftest.$ac_ext <<_ACEOF 9828 cat >conftest.$ac_ext <<_ACEOF
10044 /* confdefs.h. */ 9829 /* confdefs.h. */
10045 _ACEOF 9830 _ACEOF
10046 cat confdefs.h >>conftest.$ac_ext 9831 cat confdefs.h >>conftest.$ac_ext
10047 cat >>conftest.$ac_ext <<_ACEOF 9832 cat >>conftest.$ac_ext <<_ACEOF
10051 if { (ac_try="$ac_cpp conftest.$ac_ext" 9836 if { (ac_try="$ac_cpp conftest.$ac_ext"
10052 case "(($ac_try" in 9837 case "(($ac_try" in
10053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054 *) ac_try_echo=$ac_try;; 9839 *) ac_try_echo=$ac_try;;
10055 esac 9840 esac
10056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 $as_echo "$ac_try_echo") >&5
10058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10059 ac_status=$? 9843 ac_status=$?
10060 grep -v '^ *+' conftest.er1 >conftest.err 9844 grep -v '^ *+' conftest.er1 >conftest.err
10061 rm -f conftest.er1 9845 rm -f conftest.er1
10062 cat conftest.err >&5 9846 cat conftest.err >&5
10063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } >/dev/null && { 9848 (exit $ac_status); } >/dev/null && {
10065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10066 test ! -s conftest.err 9850 test ! -s conftest.err
10067 }; then 9851 }; then
10068 ac_header_preproc=yes 9852 ac_header_preproc=yes
10069 else 9853 else
10070 $as_echo "$as_me: failed program was:" >&5 9854 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5 9855 sed 's/^/| /' conftest.$ac_ext >&5
10072 9856
10073 ac_header_preproc=no 9857 ac_header_preproc=no
10074 fi 9858 fi
10075 9859
10076 rm -f conftest.err conftest.$ac_ext 9860 rm -f conftest.err conftest.$ac_ext
10077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9861 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10078 $as_echo "$ac_header_preproc" >&6; } 9862 echo "${ECHO_T}$ac_header_preproc" >&6; }
10079 9863
10080 # So? What about this header? 9864 # So? What about this header?
10081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10082 yes:no: ) 9866 yes:no: )
10083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10087 ac_header_preproc=yes 9871 ac_header_preproc=yes
10088 ;; 9872 ;;
10089 no:yes:* ) 9873 no:yes:* )
10090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10102 9886
10103 ;; 9887 ;;
10104 esac 9888 esac
10105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10106 $as_echo_n "checking for $ac_header... " >&6; } 9890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10108 $as_echo_n "(cached) " >&6 9892 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else 9893 else
10110 eval "$as_ac_Header=\$ac_header_preproc" 9894 eval "$as_ac_Header=\$ac_header_preproc"
10111 fi 9895 fi
10112 ac_res=`eval 'as_val=${'$as_ac_Header'} 9896 ac_res=`eval echo '${'$as_ac_Header'}'`
10113 $as_echo "$as_val"'` 9897 { echo "$as_me:$LINENO: result: $ac_res" >&5
10114 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9898 echo "${ECHO_T}$ac_res" >&6; }
10115 $as_echo "$ac_res" >&6; } 9899
10116 9900 fi
10117 fi 9901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10118 as_val=`eval 'as_val=${'$as_ac_Header'}
10119 $as_echo "$as_val"'`
10120 if test "x$as_val" = x""yes; then
10121 cat >>confdefs.h <<_ACEOF 9902 cat >>confdefs.h <<_ACEOF
10122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10123 _ACEOF 9904 _ACEOF
10124 9905
10125 fi 9906 fi
10126 9907
10127 done 9908 done
10128 9909
10129 9910
10130 for ac_func in getpagesize 9911 for ac_func in getpagesize
10131 do 9912 do
10132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10133 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 9914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10134 $as_echo_n "checking for $ac_func... " >&6; } 9915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10136 $as_echo_n "(cached) " >&6 9917 echo $ECHO_N "(cached) $ECHO_C" >&6
10137 else 9918 else
10138 cat >conftest.$ac_ext <<_ACEOF 9919 cat >conftest.$ac_ext <<_ACEOF
10139 /* confdefs.h. */ 9920 /* confdefs.h. */
10140 _ACEOF 9921 _ACEOF
10141 cat confdefs.h >>conftest.$ac_ext 9922 cat confdefs.h >>conftest.$ac_ext
10184 if { (ac_try="$ac_link" 9965 if { (ac_try="$ac_link"
10185 case "(($ac_try" in 9966 case "(($ac_try" in
10186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10187 *) ac_try_echo=$ac_try;; 9968 *) ac_try_echo=$ac_try;;
10188 esac 9969 esac
10189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10190 $as_echo "$ac_try_echo") >&5
10191 (eval "$ac_link") 2>conftest.er1 9971 (eval "$ac_link") 2>conftest.er1
10192 ac_status=$? 9972 ac_status=$?
10193 grep -v '^ *+' conftest.er1 >conftest.err 9973 grep -v '^ *+' conftest.er1 >conftest.err
10194 rm -f conftest.er1 9974 rm -f conftest.er1
10195 cat conftest.err >&5 9975 cat conftest.err >&5
10196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); } && { 9977 (exit $ac_status); } && {
10198 test -z "$ac_c_werror_flag" || 9978 test -z "$ac_c_werror_flag" ||
10199 test ! -s conftest.err 9979 test ! -s conftest.err
10200 } && test -s conftest$ac_exeext && { 9980 } && test -s conftest$ac_exeext &&
10201 test "$cross_compiling" = yes || 9981 $as_test_x conftest$ac_exeext; then
10202 $as_test_x conftest$ac_exeext
10203 }; then
10204 eval "$as_ac_var=yes" 9982 eval "$as_ac_var=yes"
10205 else 9983 else
10206 $as_echo "$as_me: failed program was:" >&5 9984 echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.$ac_ext >&5 9985 sed 's/^/| /' conftest.$ac_ext >&5
10208 9986
10209 eval "$as_ac_var=no" 9987 eval "$as_ac_var=no"
10210 fi 9988 fi
10211 9989
10212 rm -rf conftest.dSYM
10213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10214 conftest$ac_exeext conftest.$ac_ext 9991 conftest$ac_exeext conftest.$ac_ext
10215 fi 9992 fi
10216 ac_res=`eval 'as_val=${'$as_ac_var'} 9993 ac_res=`eval echo '${'$as_ac_var'}'`
10217 $as_echo "$as_val"'` 9994 { echo "$as_me:$LINENO: result: $ac_res" >&5
10218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9995 echo "${ECHO_T}$ac_res" >&6; }
10219 $as_echo "$ac_res" >&6; } 9996 if test `eval echo '${'$as_ac_var'}'` = yes; then
10220 as_val=`eval 'as_val=${'$as_ac_var'}
10221 $as_echo "$as_val"'`
10222 if test "x$as_val" = x""yes; then
10223 cat >>confdefs.h <<_ACEOF 9997 cat >>confdefs.h <<_ACEOF
10224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10225 _ACEOF 9999 _ACEOF
10226 10000
10227 fi 10001 fi
10228 done 10002 done
10229 10003
10230 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 10004 { echo "$as_me:$LINENO: checking for working mmap" >&5
10231 $as_echo_n "checking for working mmap... " >&6; } 10005 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
10232 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 10006 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10233 $as_echo_n "(cached) " >&6 10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 else 10008 else
10235 if test "$cross_compiling" = yes; then 10009 if test "$cross_compiling" = yes; then
10236 ac_cv_func_mmap_fixed_mapped=no 10010 ac_cv_func_mmap_fixed_mapped=no
10237 else 10011 else
10238 cat >conftest.$ac_ext <<_ACEOF 10012 cat >conftest.$ac_ext <<_ACEOF
10372 if { (ac_try="$ac_link" 10146 if { (ac_try="$ac_link"
10373 case "(($ac_try" in 10147 case "(($ac_try" in
10374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10375 *) ac_try_echo=$ac_try;; 10149 *) ac_try_echo=$ac_try;;
10376 esac 10150 esac
10377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10378 $as_echo "$ac_try_echo") >&5
10379 (eval "$ac_link") 2>&5 10152 (eval "$ac_link") 2>&5
10380 ac_status=$? 10153 ac_status=$?
10381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10383 { (case "(($ac_try" in 10156 { (case "(($ac_try" in
10384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10385 *) ac_try_echo=$ac_try;; 10158 *) ac_try_echo=$ac_try;;
10386 esac 10159 esac
10387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10388 $as_echo "$ac_try_echo") >&5
10389 (eval "$ac_try") 2>&5 10161 (eval "$ac_try") 2>&5
10390 ac_status=$? 10162 ac_status=$?
10391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; }; then 10164 (exit $ac_status); }; }; then
10393 ac_cv_func_mmap_fixed_mapped=yes 10165 ac_cv_func_mmap_fixed_mapped=yes
10394 else 10166 else
10395 $as_echo "$as_me: program exited with status $ac_status" >&5 10167 echo "$as_me: program exited with status $ac_status" >&5
10396 $as_echo "$as_me: failed program was:" >&5 10168 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.$ac_ext >&5 10169 sed 's/^/| /' conftest.$ac_ext >&5
10398 10170
10399 ( exit $ac_status ) 10171 ( exit $ac_status )
10400 ac_cv_func_mmap_fixed_mapped=no 10172 ac_cv_func_mmap_fixed_mapped=no
10401 fi 10173 fi
10402 rm -rf conftest.dSYM
10403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10404 fi 10175 fi
10405 10176
10406 10177
10407 fi 10178 fi
10408 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 10179 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10409 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 10180 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
10410 if test $ac_cv_func_mmap_fixed_mapped = yes; then 10181 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10411 10182
10412 cat >>confdefs.h <<\_ACEOF 10183 cat >>confdefs.h <<\_ACEOF
10413 #define HAVE_MMAP 1 10184 #define HAVE_MMAP 1
10414 _ACEOF 10185 _ACEOF
10421 fi 10192 fi
10422 10193
10423 LIBS="$libsrc_libs $LIBS" 10194 LIBS="$libsrc_libs $LIBS"
10424 10195
10425 10196
10426 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 10197 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
10427 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 10198 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
10428 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 10199 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
10429 $as_echo_n "(cached) " >&6 10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10430 else 10201 else
10431 ac_check_lib_save_LIBS=$LIBS 10202 ac_check_lib_save_LIBS=$LIBS
10432 LIBS="-ldnet $LIBS" 10203 LIBS="-ldnet $LIBS"
10433 cat >conftest.$ac_ext <<_ACEOF 10204 cat >conftest.$ac_ext <<_ACEOF
10434 /* confdefs.h. */ 10205 /* confdefs.h. */
10456 if { (ac_try="$ac_link" 10227 if { (ac_try="$ac_link"
10457 case "(($ac_try" in 10228 case "(($ac_try" in
10458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10459 *) ac_try_echo=$ac_try;; 10230 *) ac_try_echo=$ac_try;;
10460 esac 10231 esac
10461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10462 $as_echo "$ac_try_echo") >&5
10463 (eval "$ac_link") 2>conftest.er1 10233 (eval "$ac_link") 2>conftest.er1
10464 ac_status=$? 10234 ac_status=$?
10465 grep -v '^ *+' conftest.er1 >conftest.err 10235 grep -v '^ *+' conftest.er1 >conftest.err
10466 rm -f conftest.er1 10236 rm -f conftest.er1
10467 cat conftest.err >&5 10237 cat conftest.err >&5
10468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } && { 10239 (exit $ac_status); } && {
10470 test -z "$ac_c_werror_flag" || 10240 test -z "$ac_c_werror_flag" ||
10471 test ! -s conftest.err 10241 test ! -s conftest.err
10472 } && test -s conftest$ac_exeext && { 10242 } && test -s conftest$ac_exeext &&
10473 test "$cross_compiling" = yes || 10243 $as_test_x conftest$ac_exeext; then
10474 $as_test_x conftest$ac_exeext
10475 }; then
10476 ac_cv_lib_dnet_dnet_ntoa=yes 10244 ac_cv_lib_dnet_dnet_ntoa=yes
10477 else 10245 else
10478 $as_echo "$as_me: failed program was:" >&5 10246 echo "$as_me: failed program was:" >&5
10479 sed 's/^/| /' conftest.$ac_ext >&5 10247 sed 's/^/| /' conftest.$ac_ext >&5
10480 10248
10481 ac_cv_lib_dnet_dnet_ntoa=no 10249 ac_cv_lib_dnet_dnet_ntoa=no
10482 fi 10250 fi
10483 10251
10484 rm -rf conftest.dSYM
10485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10486 conftest$ac_exeext conftest.$ac_ext 10253 conftest$ac_exeext conftest.$ac_ext
10487 LIBS=$ac_check_lib_save_LIBS 10254 LIBS=$ac_check_lib_save_LIBS
10488 fi 10255 fi
10489 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 10256 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10490 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 10257 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10491 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then 10258 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
10492 cat >>confdefs.h <<_ACEOF 10259 cat >>confdefs.h <<_ACEOF
10493 #define HAVE_LIBDNET 1 10260 #define HAVE_LIBDNET 1
10494 _ACEOF 10261 _ACEOF
10495 10262
10496 LIBS="-ldnet $LIBS" 10263 LIBS="-ldnet $LIBS"
10497 10264
10498 fi 10265 fi
10499 10266
10500 10267
10501 { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 10268 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
10502 $as_echo_n "checking for main in -lXbsd... " >&6; } 10269 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
10503 if test "${ac_cv_lib_Xbsd_main+set}" = set; then 10270 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
10504 $as_echo_n "(cached) " >&6 10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10505 else 10272 else
10506 ac_check_lib_save_LIBS=$LIBS 10273 ac_check_lib_save_LIBS=$LIBS
10507 LIBS="-lXbsd $LIBS" 10274 LIBS="-lXbsd $LIBS"
10508 cat >conftest.$ac_ext <<_ACEOF 10275 cat >conftest.$ac_ext <<_ACEOF
10509 /* confdefs.h. */ 10276 /* confdefs.h. */
10525 if { (ac_try="$ac_link" 10292 if { (ac_try="$ac_link"
10526 case "(($ac_try" in 10293 case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;; 10295 *) ac_try_echo=$ac_try;;
10529 esac 10296 esac
10530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 $as_echo "$ac_try_echo") >&5
10532 (eval "$ac_link") 2>conftest.er1 10298 (eval "$ac_link") 2>conftest.er1
10533 ac_status=$? 10299 ac_status=$?
10534 grep -v '^ *+' conftest.er1 >conftest.err 10300 grep -v '^ *+' conftest.er1 >conftest.err
10535 rm -f conftest.er1 10301 rm -f conftest.er1
10536 cat conftest.err >&5 10302 cat conftest.err >&5
10537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); } && { 10304 (exit $ac_status); } && {
10539 test -z "$ac_c_werror_flag" || 10305 test -z "$ac_c_werror_flag" ||
10540 test ! -s conftest.err 10306 test ! -s conftest.err
10541 } && test -s conftest$ac_exeext && { 10307 } && test -s conftest$ac_exeext &&
10542 test "$cross_compiling" = yes || 10308 $as_test_x conftest$ac_exeext; then
10543 $as_test_x conftest$ac_exeext
10544 }; then
10545 ac_cv_lib_Xbsd_main=yes 10309 ac_cv_lib_Xbsd_main=yes
10546 else 10310 else
10547 $as_echo "$as_me: failed program was:" >&5 10311 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5 10312 sed 's/^/| /' conftest.$ac_ext >&5
10549 10313
10550 ac_cv_lib_Xbsd_main=no 10314 ac_cv_lib_Xbsd_main=no
10551 fi 10315 fi
10552 10316
10553 rm -rf conftest.dSYM
10554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10555 conftest$ac_exeext conftest.$ac_ext 10318 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS 10319 LIBS=$ac_check_lib_save_LIBS
10557 fi 10320 fi
10558 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 10321 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
10559 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 10322 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
10560 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then 10323 if test $ac_cv_lib_Xbsd_main = yes; then
10561 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 10324 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
10562 fi 10325 fi
10563 10326
10564 10327
10565 10328
10566 { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 10329 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5
10567 $as_echo_n "checking for cma_open in -lpthreads... " >&6; } 10330 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; }
10568 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then 10331 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
10569 $as_echo_n "(cached) " >&6 10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10570 else 10333 else
10571 ac_check_lib_save_LIBS=$LIBS 10334 ac_check_lib_save_LIBS=$LIBS
10572 LIBS="-lpthreads $LIBS" 10335 LIBS="-lpthreads $LIBS"
10573 cat >conftest.$ac_ext <<_ACEOF 10336 cat >conftest.$ac_ext <<_ACEOF
10574 /* confdefs.h. */ 10337 /* confdefs.h. */
10596 if { (ac_try="$ac_link" 10359 if { (ac_try="$ac_link"
10597 case "(($ac_try" in 10360 case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;; 10362 *) ac_try_echo=$ac_try;;
10600 esac 10363 esac
10601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 $as_echo "$ac_try_echo") >&5
10603 (eval "$ac_link") 2>conftest.er1 10365 (eval "$ac_link") 2>conftest.er1
10604 ac_status=$? 10366 ac_status=$?
10605 grep -v '^ *+' conftest.er1 >conftest.err 10367 grep -v '^ *+' conftest.er1 >conftest.err
10606 rm -f conftest.er1 10368 rm -f conftest.er1
10607 cat conftest.err >&5 10369 cat conftest.err >&5
10608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } && { 10371 (exit $ac_status); } && {
10610 test -z "$ac_c_werror_flag" || 10372 test -z "$ac_c_werror_flag" ||
10611 test ! -s conftest.err 10373 test ! -s conftest.err
10612 } && test -s conftest$ac_exeext && { 10374 } && test -s conftest$ac_exeext &&
10613 test "$cross_compiling" = yes || 10375 $as_test_x conftest$ac_exeext; then
10614 $as_test_x conftest$ac_exeext
10615 }; then
10616 ac_cv_lib_pthreads_cma_open=yes 10376 ac_cv_lib_pthreads_cma_open=yes
10617 else 10377 else
10618 $as_echo "$as_me: failed program was:" >&5 10378 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5 10379 sed 's/^/| /' conftest.$ac_ext >&5
10620 10380
10621 ac_cv_lib_pthreads_cma_open=no 10381 ac_cv_lib_pthreads_cma_open=no
10622 fi 10382 fi
10623 10383
10624 rm -rf conftest.dSYM
10625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10626 conftest$ac_exeext conftest.$ac_ext 10385 conftest$ac_exeext conftest.$ac_ext
10627 LIBS=$ac_check_lib_save_LIBS 10386 LIBS=$ac_check_lib_save_LIBS
10628 fi 10387 fi
10629 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 10388 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5
10630 $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } 10389 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; }
10631 if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then 10390 if test $ac_cv_lib_pthreads_cma_open = yes; then
10632 cat >>confdefs.h <<_ACEOF 10391 cat >>confdefs.h <<_ACEOF
10633 #define HAVE_LIBPTHREADS 1 10392 #define HAVE_LIBPTHREADS 1
10634 _ACEOF 10393 _ACEOF
10635 10394
10636 LIBS="-lpthreads $LIBS" 10395 LIBS="-lpthreads $LIBS"
10639 10398
10640 10399
10641 10400
10642 case ${host_os} in 10401 case ${host_os} in
10643 aix*) 10402 aix*)
10644 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 10403 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
10645 $as_echo_n "checking for -bbigtoc option... " >&6; } 10404 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; }
10646 if test "${gdb_cv_bigtoc+set}" = set; then 10405 if test "${gdb_cv_bigtoc+set}" = set; then
10647 $as_echo_n "(cached) " >&6 10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10648 else 10407 else
10649 10408
10650 case $GCC in 10409 case $GCC in
10651 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;; 10410 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
10652 *) gdb_cv_bigtoc=-bbigtoc ;; 10411 *) gdb_cv_bigtoc=-bbigtoc ;;
10672 if { (ac_try="$ac_link" 10431 if { (ac_try="$ac_link"
10673 case "(($ac_try" in 10432 case "(($ac_try" in
10674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10675 *) ac_try_echo=$ac_try;; 10434 *) ac_try_echo=$ac_try;;
10676 esac 10435 esac
10677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 $as_echo "$ac_try_echo") >&5
10679 (eval "$ac_link") 2>conftest.er1 10437 (eval "$ac_link") 2>conftest.er1
10680 ac_status=$? 10438 ac_status=$?
10681 grep -v '^ *+' conftest.er1 >conftest.err 10439 grep -v '^ *+' conftest.er1 >conftest.err
10682 rm -f conftest.er1 10440 rm -f conftest.er1
10683 cat conftest.err >&5 10441 cat conftest.err >&5
10684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } && { 10443 (exit $ac_status); } && {
10686 test -z "$ac_c_werror_flag" || 10444 test -z "$ac_c_werror_flag" ||
10687 test ! -s conftest.err 10445 test ! -s conftest.err
10688 } && test -s conftest$ac_exeext && { 10446 } && test -s conftest$ac_exeext &&
10689 test "$cross_compiling" = yes || 10447 $as_test_x conftest$ac_exeext; then
10690 $as_test_x conftest$ac_exeext
10691 }; then
10692 : 10448 :
10693 else 10449 else
10694 $as_echo "$as_me: failed program was:" >&5 10450 echo "$as_me: failed program was:" >&5
10695 sed 's/^/| /' conftest.$ac_ext >&5 10451 sed 's/^/| /' conftest.$ac_ext >&5
10696 10452
10697 gdb_cv_bigtoc= 10453 gdb_cv_bigtoc=
10698 fi 10454 fi
10699 10455
10700 rm -rf conftest.dSYM
10701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10702 conftest$ac_exeext conftest.$ac_ext 10457 conftest$ac_exeext conftest.$ac_ext
10703 10458
10704 fi 10459 fi
10705 { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 10460 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
10706 $as_echo "$gdb_cv_bigtoc" >&6; } 10461 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; }
10707 ;; 10462 ;;
10708 esac 10463 esac
10709 10464
10710 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 10465 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
10711 # used for the tests that follow. We set them back to REAL_CFLAGS and 10466 # used for the tests that follow. We set them back to REAL_CFLAGS and
10728 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 10483 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
10729 export LD_RUN_PATH 10484 export LD_RUN_PATH
10730 fi 10485 fi
10731 10486
10732 if test "${opsys}" = "gnu-linux"; then 10487 if test "${opsys}" = "gnu-linux"; then
10733 { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 10488 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5
10734 $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } 10489 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; }
10735 cat >conftest.$ac_ext <<_ACEOF 10490 cat >conftest.$ac_ext <<_ACEOF
10736 /* confdefs.h. */ 10491 /* confdefs.h. */
10737 _ACEOF 10492 _ACEOF
10738 cat confdefs.h >>conftest.$ac_ext 10493 cat confdefs.h >>conftest.$ac_ext
10739 cat >>conftest.$ac_ext <<_ACEOF 10494 cat >>conftest.$ac_ext <<_ACEOF
10751 if { (ac_try="$ac_link" 10506 if { (ac_try="$ac_link"
10752 case "(($ac_try" in 10507 case "(($ac_try" in
10753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10754 *) ac_try_echo=$ac_try;; 10509 *) ac_try_echo=$ac_try;;
10755 esac 10510 esac
10756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10757 $as_echo "$ac_try_echo") >&5
10758 (eval "$ac_link") 2>conftest.er1 10512 (eval "$ac_link") 2>conftest.er1
10759 ac_status=$? 10513 ac_status=$?
10760 grep -v '^ *+' conftest.er1 >conftest.err 10514 grep -v '^ *+' conftest.er1 >conftest.err
10761 rm -f conftest.er1 10515 rm -f conftest.er1
10762 cat conftest.err >&5 10516 cat conftest.err >&5
10763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && { 10518 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" || 10519 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err 10520 test ! -s conftest.err
10767 } && test -s conftest$ac_exeext && { 10521 } && test -s conftest$ac_exeext &&
10768 test "$cross_compiling" = yes || 10522 $as_test_x conftest$ac_exeext; then
10769 $as_test_x conftest$ac_exeext
10770 }; then
10771 xlinux_first_failure=no 10523 xlinux_first_failure=no
10772 else 10524 else
10773 $as_echo "$as_me: failed program was:" >&5 10525 echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.$ac_ext >&5 10526 sed 's/^/| /' conftest.$ac_ext >&5
10775 10527
10776 xlinux_first_failure=yes 10528 xlinux_first_failure=yes
10777 fi 10529 fi
10778 10530
10779 rm -rf conftest.dSYM
10780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10781 conftest$ac_exeext conftest.$ac_ext 10532 conftest$ac_exeext conftest.$ac_ext
10782 if test "${xlinux_first_failure}" = "yes"; then 10533 if test "${xlinux_first_failure}" = "yes"; then
10783 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" 10534 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
10784 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" 10535 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
10807 if { (ac_try="$ac_link" 10558 if { (ac_try="$ac_link"
10808 case "(($ac_try" in 10559 case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;; 10561 *) ac_try_echo=$ac_try;;
10811 esac 10562 esac
10812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 $as_echo "$ac_try_echo") >&5
10814 (eval "$ac_link") 2>conftest.er1 10564 (eval "$ac_link") 2>conftest.er1
10815 ac_status=$? 10565 ac_status=$?
10816 grep -v '^ *+' conftest.er1 >conftest.err 10566 grep -v '^ *+' conftest.er1 >conftest.err
10817 rm -f conftest.er1 10567 rm -f conftest.er1
10818 cat conftest.err >&5 10568 cat conftest.err >&5
10819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } && { 10570 (exit $ac_status); } && {
10821 test -z "$ac_c_werror_flag" || 10571 test -z "$ac_c_werror_flag" ||
10822 test ! -s conftest.err 10572 test ! -s conftest.err
10823 } && test -s conftest$ac_exeext && { 10573 } && test -s conftest$ac_exeext &&
10824 test "$cross_compiling" = yes || 10574 $as_test_x conftest$ac_exeext; then
10825 $as_test_x conftest$ac_exeext
10826 }; then
10827 xlinux_second_failure=no 10575 xlinux_second_failure=no
10828 else 10576 else
10829 $as_echo "$as_me: failed program was:" >&5 10577 echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5 10578 sed 's/^/| /' conftest.$ac_ext >&5
10831 10579
10832 xlinux_second_failure=yes 10580 xlinux_second_failure=yes
10833 fi 10581 fi
10834 10582
10835 rm -rf conftest.dSYM
10836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10837 conftest$ac_exeext conftest.$ac_ext 10584 conftest$ac_exeext conftest.$ac_ext
10838 if test "${xlinux_second_failure}" = "yes"; then 10585 if test "${xlinux_second_failure}" = "yes"; then
10839 # If we get the same failure with -b, there is no use adding -b. 10586 # If we get the same failure with -b, there is no use adding -b.
10840 # So take it out. This plays safe. 10587 # So take it out. This plays safe.
10841 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 10588 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
10842 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 10589 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
10843 CPPFLAGS="$OLD_CPPFLAGS" 10590 CPPFLAGS="$OLD_CPPFLAGS"
10844 LIBS="$OLD_LIBS" 10591 LIBS="$OLD_LIBS"
10845 { $as_echo "$as_me:$LINENO: result: no" >&5 10592 { echo "$as_me:$LINENO: result: no" >&5
10846 $as_echo "no" >&6; } 10593 echo "${ECHO_T}no" >&6; }
10847 else 10594 else
10848 { $as_echo "$as_me:$LINENO: result: yes" >&5 10595 { echo "$as_me:$LINENO: result: yes" >&5
10849 $as_echo "yes" >&6; } 10596 echo "${ECHO_T}yes" >&6; }
10850 fi 10597 fi
10851 else 10598 else
10852 { $as_echo "$as_me:$LINENO: result: no" >&5 10599 { echo "$as_me:$LINENO: result: no" >&5
10853 $as_echo "no" >&6; } 10600 echo "${ECHO_T}no" >&6; }
10854 fi 10601 fi
10855 fi 10602 fi
10856 10603
10857 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 10604 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
10858 # header files included from there. 10605 # header files included from there.
10859 { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 10606 { echo "$as_me:$LINENO: checking for Xkb" >&5
10860 $as_echo_n "checking for Xkb... " >&6; } 10607 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; }
10861 cat >conftest.$ac_ext <<_ACEOF 10608 cat >conftest.$ac_ext <<_ACEOF
10862 /* confdefs.h. */ 10609 /* confdefs.h. */
10863 _ACEOF 10610 _ACEOF
10864 cat confdefs.h >>conftest.$ac_ext 10611 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF 10612 cat >>conftest.$ac_ext <<_ACEOF
10878 if { (ac_try="$ac_link" 10625 if { (ac_try="$ac_link"
10879 case "(($ac_try" in 10626 case "(($ac_try" in
10880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10881 *) ac_try_echo=$ac_try;; 10628 *) ac_try_echo=$ac_try;;
10882 esac 10629 esac
10883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10884 $as_echo "$ac_try_echo") >&5
10885 (eval "$ac_link") 2>conftest.er1 10631 (eval "$ac_link") 2>conftest.er1
10886 ac_status=$? 10632 ac_status=$?
10887 grep -v '^ *+' conftest.er1 >conftest.err 10633 grep -v '^ *+' conftest.er1 >conftest.err
10888 rm -f conftest.er1 10634 rm -f conftest.er1
10889 cat conftest.err >&5 10635 cat conftest.err >&5
10890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && { 10637 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" || 10638 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err 10639 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext && { 10640 } && test -s conftest$ac_exeext &&
10895 test "$cross_compiling" = yes || 10641 $as_test_x conftest$ac_exeext; then
10896 $as_test_x conftest$ac_exeext
10897 }; then
10898 emacs_xkb=yes 10642 emacs_xkb=yes
10899 else 10643 else
10900 $as_echo "$as_me: failed program was:" >&5 10644 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5 10645 sed 's/^/| /' conftest.$ac_ext >&5
10902 10646
10903 emacs_xkb=no 10647 emacs_xkb=no
10904 fi 10648 fi
10905 10649
10906 rm -rf conftest.dSYM
10907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10908 conftest$ac_exeext conftest.$ac_ext 10651 conftest$ac_exeext conftest.$ac_ext
10909 { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 10652 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5
10910 $as_echo "$emacs_xkb" >&6; } 10653 echo "${ECHO_T}$emacs_xkb" >&6; }
10911 if test $emacs_xkb = yes; then 10654 if test $emacs_xkb = yes; then
10912 10655
10913 cat >>confdefs.h <<\_ACEOF 10656 cat >>confdefs.h <<\_ACEOF
10914 #define HAVE_XKBGETKEYBOARD 1 10657 #define HAVE_XKBGETKEYBOARD 1
10915 _ACEOF 10658 _ACEOF
10921 10664
10922 10665
10923 for ac_func in XrmSetDatabase XScreenResourceString \ 10666 for ac_func in XrmSetDatabase XScreenResourceString \
10924 XScreenNumberOfScreen XSetWMProtocols 10667 XScreenNumberOfScreen XSetWMProtocols
10925 do 10668 do
10926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 10669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10927 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 10670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10928 $as_echo_n "checking for $ac_func... " >&6; } 10671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10930 $as_echo_n "(cached) " >&6 10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 else 10674 else
10932 cat >conftest.$ac_ext <<_ACEOF 10675 cat >conftest.$ac_ext <<_ACEOF
10933 /* confdefs.h. */ 10676 /* confdefs.h. */
10934 _ACEOF 10677 _ACEOF
10935 cat confdefs.h >>conftest.$ac_ext 10678 cat confdefs.h >>conftest.$ac_ext
10978 if { (ac_try="$ac_link" 10721 if { (ac_try="$ac_link"
10979 case "(($ac_try" in 10722 case "(($ac_try" in
10980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10981 *) ac_try_echo=$ac_try;; 10724 *) ac_try_echo=$ac_try;;
10982 esac 10725 esac
10983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10984 $as_echo "$ac_try_echo") >&5
10985 (eval "$ac_link") 2>conftest.er1 10727 (eval "$ac_link") 2>conftest.er1
10986 ac_status=$? 10728 ac_status=$?
10987 grep -v '^ *+' conftest.er1 >conftest.err 10729 grep -v '^ *+' conftest.er1 >conftest.err
10988 rm -f conftest.er1 10730 rm -f conftest.er1
10989 cat conftest.err >&5 10731 cat conftest.err >&5
10990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); } && { 10733 (exit $ac_status); } && {
10992 test -z "$ac_c_werror_flag" || 10734 test -z "$ac_c_werror_flag" ||
10993 test ! -s conftest.err 10735 test ! -s conftest.err
10994 } && test -s conftest$ac_exeext && { 10736 } && test -s conftest$ac_exeext &&
10995 test "$cross_compiling" = yes || 10737 $as_test_x conftest$ac_exeext; then
10996 $as_test_x conftest$ac_exeext
10997 }; then
10998 eval "$as_ac_var=yes" 10738 eval "$as_ac_var=yes"
10999 else 10739 else
11000 $as_echo "$as_me: failed program was:" >&5 10740 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5 10741 sed 's/^/| /' conftest.$ac_ext >&5
11002 10742
11003 eval "$as_ac_var=no" 10743 eval "$as_ac_var=no"
11004 fi 10744 fi
11005 10745
11006 rm -rf conftest.dSYM
11007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11008 conftest$ac_exeext conftest.$ac_ext 10747 conftest$ac_exeext conftest.$ac_ext
11009 fi 10748 fi
11010 ac_res=`eval 'as_val=${'$as_ac_var'} 10749 ac_res=`eval echo '${'$as_ac_var'}'`
11011 $as_echo "$as_val"'` 10750 { echo "$as_me:$LINENO: result: $ac_res" >&5
11012 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10751 echo "${ECHO_T}$ac_res" >&6; }
11013 $as_echo "$ac_res" >&6; } 10752 if test `eval echo '${'$as_ac_var'}'` = yes; then
11014 as_val=`eval 'as_val=${'$as_ac_var'}
11015 $as_echo "$as_val"'`
11016 if test "x$as_val" = x""yes; then
11017 cat >>confdefs.h <<_ACEOF 10753 cat >>confdefs.h <<_ACEOF
11018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11019 _ACEOF 10755 _ACEOF
11020 10756
11021 fi 10757 fi
11022 done 10758 done
11023 10759
11024 fi 10760 fi
11025 10761
11026 if test "${window_system}" = "x11"; then 10762 if test "${window_system}" = "x11"; then
11027 { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 10763 { echo "$as_me:$LINENO: checking X11 version 6" >&5
11028 $as_echo_n "checking X11 version 6... " >&6; } 10764 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; }
11029 if test "${emacs_cv_x11_version_6+set}" = set; then 10765 if test "${emacs_cv_x11_version_6+set}" = set; then
11030 $as_echo_n "(cached) " >&6 10766 echo $ECHO_N "(cached) $ECHO_C" >&6
11031 else 10767 else
11032 cat >conftest.$ac_ext <<_ACEOF 10768 cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h. */ 10769 /* confdefs.h. */
11034 _ACEOF 10770 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext 10771 cat confdefs.h >>conftest.$ac_ext
11051 if { (ac_try="$ac_link" 10787 if { (ac_try="$ac_link"
11052 case "(($ac_try" in 10788 case "(($ac_try" in
11053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11054 *) ac_try_echo=$ac_try;; 10790 *) ac_try_echo=$ac_try;;
11055 esac 10791 esac
11056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11057 $as_echo "$ac_try_echo") >&5
11058 (eval "$ac_link") 2>conftest.er1 10793 (eval "$ac_link") 2>conftest.er1
11059 ac_status=$? 10794 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err 10795 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1 10796 rm -f conftest.er1
11062 cat conftest.err >&5 10797 cat conftest.err >&5
11063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && { 10799 (exit $ac_status); } && {
11065 test -z "$ac_c_werror_flag" || 10800 test -z "$ac_c_werror_flag" ||
11066 test ! -s conftest.err 10801 test ! -s conftest.err
11067 } && test -s conftest$ac_exeext && { 10802 } && test -s conftest$ac_exeext &&
11068 test "$cross_compiling" = yes || 10803 $as_test_x conftest$ac_exeext; then
11069 $as_test_x conftest$ac_exeext
11070 }; then
11071 emacs_cv_x11_version_6=yes 10804 emacs_cv_x11_version_6=yes
11072 else 10805 else
11073 $as_echo "$as_me: failed program was:" >&5 10806 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5 10807 sed 's/^/| /' conftest.$ac_ext >&5
11075 10808
11076 emacs_cv_x11_version_6=no 10809 emacs_cv_x11_version_6=no
11077 fi 10810 fi
11078 10811
11079 rm -rf conftest.dSYM
11080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11081 conftest$ac_exeext conftest.$ac_ext 10813 conftest$ac_exeext conftest.$ac_ext
11082 fi 10814 fi
11083 10815
11084 if test $emacs_cv_x11_version_6 = yes; then 10816 if test $emacs_cv_x11_version_6 = yes; then
11085 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 10817 { echo "$as_me:$LINENO: result: 6 or newer" >&5
11086 $as_echo "6 or newer" >&6; } 10818 echo "${ECHO_T}6 or newer" >&6; }
11087 10819
11088 cat >>confdefs.h <<\_ACEOF 10820 cat >>confdefs.h <<\_ACEOF
11089 #define HAVE_X11R6 1 10821 #define HAVE_X11R6 1
11090 _ACEOF 10822 _ACEOF
11091 10823
11092 else 10824 else
11093 { $as_echo "$as_me:$LINENO: result: before 6" >&5 10825 { echo "$as_me:$LINENO: result: before 6" >&5
11094 $as_echo "before 6" >&6; } 10826 echo "${ECHO_T}before 6" >&6; }
11095 fi 10827 fi
11096 fi 10828 fi
11097 10829
11098 10830
11099 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified. 10831 ### Use -lrsvg-2 if available, unless `--with-rsvg=no' is specified.
11106 10838
11107 succeeded=no 10839 succeeded=no
11108 10840
11109 # Extract the first word of "pkg-config", so it can be a program name with args. 10841 # Extract the first word of "pkg-config", so it can be a program name with args.
11110 set dummy pkg-config; ac_word=$2 10842 set dummy pkg-config; ac_word=$2
11111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11112 $as_echo_n "checking for $ac_word... " >&6; } 10844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11113 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 10845 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11114 $as_echo_n "(cached) " >&6 10846 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else 10847 else
11116 case $PKG_CONFIG in 10848 case $PKG_CONFIG in
11117 [\\/]* | ?:[\\/]*) 10849 [\\/]* | ?:[\\/]*)
11118 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10850 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11119 ;; 10851 ;;
11124 IFS=$as_save_IFS 10856 IFS=$as_save_IFS
11125 test -z "$as_dir" && as_dir=. 10857 test -z "$as_dir" && as_dir=.
11126 for ac_exec_ext in '' $ac_executable_extensions; do 10858 for ac_exec_ext in '' $ac_executable_extensions; do
11127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11128 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10860 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11130 break 2 10862 break 2
11131 fi 10863 fi
11132 done 10864 done
11133 done 10865 done
11134 IFS=$as_save_IFS 10866 IFS=$as_save_IFS
11137 ;; 10869 ;;
11138 esac 10870 esac
11139 fi 10871 fi
11140 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11141 if test -n "$PKG_CONFIG"; then 10873 if test -n "$PKG_CONFIG"; then
11142 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 10874 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11143 $as_echo "$PKG_CONFIG" >&6; } 10875 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11144 else 10876 else
11145 { $as_echo "$as_me:$LINENO: result: no" >&5 10877 { echo "$as_me:$LINENO: result: no" >&5
11146 $as_echo "no" >&6; } 10878 echo "${ECHO_T}no" >&6; }
11147 fi 10879 fi
11148 10880
11149 10881
11150 10882
11151 if test "$PKG_CONFIG" = "no" ; then 10883 if test "$PKG_CONFIG" = "no" ; then
11152 : 10884 :
11153 else 10885 else
11154 PKG_CONFIG_MIN_VERSION=0.9.0 10886 PKG_CONFIG_MIN_VERSION=0.9.0
11155 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 10887 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11156 { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 10888 { echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5
11157 $as_echo_n "checking for $RSVG_MODULE... " >&6; } 10889 echo $ECHO_N "checking for $RSVG_MODULE... $ECHO_C" >&6; }
11158 10890
11159 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then 10891 if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then
11160 { $as_echo "$as_me:$LINENO: result: yes" >&5 10892 { echo "$as_me:$LINENO: result: yes" >&5
11161 $as_echo "yes" >&6; } 10893 echo "${ECHO_T}yes" >&6; }
11162 succeeded=yes 10894 succeeded=yes
11163 10895
11164 { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 10896 { echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5
11165 $as_echo_n "checking RSVG_CFLAGS... " >&6; } 10897 echo $ECHO_N "checking RSVG_CFLAGS... $ECHO_C" >&6; }
11166 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` 10898 RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11167 { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 10899 { echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5
11168 $as_echo "$RSVG_CFLAGS" >&6; } 10900 echo "${ECHO_T}$RSVG_CFLAGS" >&6; }
11169 10901
11170 { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 10902 { echo "$as_me:$LINENO: checking RSVG_LIBS" >&5
11171 $as_echo_n "checking RSVG_LIBS... " >&6; } 10903 echo $ECHO_N "checking RSVG_LIBS... $ECHO_C" >&6; }
11172 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` 10904 RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'`
11173 { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 10905 { echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5
11174 $as_echo "$RSVG_LIBS" >&6; } 10906 echo "${ECHO_T}$RSVG_LIBS" >&6; }
11175 else 10907 else
11176 { $as_echo "$as_me:$LINENO: result: no" >&5 10908 { echo "$as_me:$LINENO: result: no" >&5
11177 $as_echo "no" >&6; } 10909 echo "${ECHO_T}no" >&6; }
11178 RSVG_CFLAGS="" 10910 RSVG_CFLAGS=""
11179 RSVG_LIBS="" 10911 RSVG_LIBS=""
11180 ## If we have a custom action on failure, don't print errors, but 10912 ## If we have a custom action on failure, don't print errors, but
11181 ## do set a variable so people can do so. 10913 ## do set a variable so people can do so.
11182 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"` 10914 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$RSVG_MODULE"`
11223 10955
11224 succeeded=no 10956 succeeded=no
11225 10957
11226 # Extract the first word of "pkg-config", so it can be a program name with args. 10958 # Extract the first word of "pkg-config", so it can be a program name with args.
11227 set dummy pkg-config; ac_word=$2 10959 set dummy pkg-config; ac_word=$2
11228 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 10960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 $as_echo_n "checking for $ac_word... " >&6; } 10961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11230 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 10962 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11231 $as_echo_n "(cached) " >&6 10963 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else 10964 else
11233 case $PKG_CONFIG in 10965 case $PKG_CONFIG in
11234 [\\/]* | ?:[\\/]*) 10966 [\\/]* | ?:[\\/]*)
11235 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10967 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11236 ;; 10968 ;;
11241 IFS=$as_save_IFS 10973 IFS=$as_save_IFS
11242 test -z "$as_dir" && as_dir=. 10974 test -z "$as_dir" && as_dir=.
11243 for ac_exec_ext in '' $ac_executable_extensions; do 10975 for ac_exec_ext in '' $ac_executable_extensions; do
11244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11245 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10977 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 10978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11247 break 2 10979 break 2
11248 fi 10980 fi
11249 done 10981 done
11250 done 10982 done
11251 IFS=$as_save_IFS 10983 IFS=$as_save_IFS
11254 ;; 10986 ;;
11255 esac 10987 esac
11256 fi 10988 fi
11257 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10989 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11258 if test -n "$PKG_CONFIG"; then 10990 if test -n "$PKG_CONFIG"; then
11259 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 10991 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11260 $as_echo "$PKG_CONFIG" >&6; } 10992 echo "${ECHO_T}$PKG_CONFIG" >&6; }
11261 else 10993 else
11262 { $as_echo "$as_me:$LINENO: result: no" >&5 10994 { echo "$as_me:$LINENO: result: no" >&5
11263 $as_echo "no" >&6; } 10995 echo "${ECHO_T}no" >&6; }
11264 fi 10996 fi
11265 10997
11266 10998
11267 10999
11268 if test "$PKG_CONFIG" = "no" ; then 11000 if test "$PKG_CONFIG" = "no" ; then
11269 pkg_check_gtk=no 11001 pkg_check_gtk=no
11270 else 11002 else
11271 PKG_CONFIG_MIN_VERSION=0.9.0 11003 PKG_CONFIG_MIN_VERSION=0.9.0
11272 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11004 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11273 { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 11005 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5
11274 $as_echo_n "checking for $GTK_MODULES... " >&6; } 11006 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; }
11275 11007
11276 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then 11008 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then
11277 { $as_echo "$as_me:$LINENO: result: yes" >&5 11009 { echo "$as_me:$LINENO: result: yes" >&5
11278 $as_echo "yes" >&6; } 11010 echo "${ECHO_T}yes" >&6; }
11279 succeeded=yes 11011 succeeded=yes
11280 11012
11281 { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 11013 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11282 $as_echo_n "checking GTK_CFLAGS... " >&6; } 11014 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; }
11283 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` 11015 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'`
11284 { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 11016 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11285 $as_echo "$GTK_CFLAGS" >&6; } 11017 echo "${ECHO_T}$GTK_CFLAGS" >&6; }
11286 11018
11287 { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 11019 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11288 $as_echo_n "checking GTK_LIBS... " >&6; } 11020 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; }
11289 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` 11021 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'`
11290 { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 11022 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11291 $as_echo "$GTK_LIBS" >&6; } 11023 echo "${ECHO_T}$GTK_LIBS" >&6; }
11292 else 11024 else
11293 { $as_echo "$as_me:$LINENO: result: no" >&5 11025 { echo "$as_me:$LINENO: result: no" >&5
11294 $as_echo "no" >&6; } 11026 echo "${ECHO_T}no" >&6; }
11295 GTK_CFLAGS="" 11027 GTK_CFLAGS=""
11296 GTK_LIBS="" 11028 GTK_LIBS=""
11297 ## If we have a custom action on failure, don't print errors, but 11029 ## If we have a custom action on failure, don't print errors, but
11298 ## do set a variable so people can do so. 11030 ## do set a variable so people can do so.
11299 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` 11031 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"`
11313 else 11045 else
11314 pkg_check_gtk=no 11046 pkg_check_gtk=no
11315 fi 11047 fi
11316 11048
11317 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then 11049 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then
11318 { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 11050 { { echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5
11319 $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} 11051 echo "$as_me: error: $GTK_PKG_ERRORS" >&2;}
11320 { (exit 1); exit 1; }; } 11052 { (exit 1); exit 1; }; }
11321 fi 11053 fi
11322 fi 11054 fi
11323 11055
11324 11056
11331 LIBS="$GTK_LIBS $LIBS" 11063 LIBS="$GTK_LIBS $LIBS"
11332 GTK_COMPILES=no 11064 GTK_COMPILES=no
11333 11065
11334 for ac_func in gtk_main 11066 for ac_func in gtk_main
11335 do 11067 do
11336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11337 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11338 $as_echo_n "checking for $ac_func... " >&6; } 11070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11340 $as_echo_n "(cached) " >&6 11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 else 11073 else
11342 cat >conftest.$ac_ext <<_ACEOF 11074 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */ 11075 /* confdefs.h. */
11344 _ACEOF 11076 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext 11077 cat confdefs.h >>conftest.$ac_ext
11388 if { (ac_try="$ac_link" 11120 if { (ac_try="$ac_link"
11389 case "(($ac_try" in 11121 case "(($ac_try" in
11390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11391 *) ac_try_echo=$ac_try;; 11123 *) ac_try_echo=$ac_try;;
11392 esac 11124 esac
11393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394 $as_echo "$ac_try_echo") >&5
11395 (eval "$ac_link") 2>conftest.er1 11126 (eval "$ac_link") 2>conftest.er1
11396 ac_status=$? 11127 ac_status=$?
11397 grep -v '^ *+' conftest.er1 >conftest.err 11128 grep -v '^ *+' conftest.er1 >conftest.err
11398 rm -f conftest.er1 11129 rm -f conftest.er1
11399 cat conftest.err >&5 11130 cat conftest.err >&5
11400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); } && { 11132 (exit $ac_status); } && {
11402 test -z "$ac_c_werror_flag" || 11133 test -z "$ac_c_werror_flag" ||
11403 test ! -s conftest.err 11134 test ! -s conftest.err
11404 } && test -s conftest$ac_exeext && { 11135 } && test -s conftest$ac_exeext &&
11405 test "$cross_compiling" = yes || 11136 $as_test_x conftest$ac_exeext; then
11406 $as_test_x conftest$ac_exeext
11407 }; then
11408 eval "$as_ac_var=yes" 11137 eval "$as_ac_var=yes"
11409 else 11138 else
11410 $as_echo "$as_me: failed program was:" >&5 11139 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.$ac_ext >&5 11140 sed 's/^/| /' conftest.$ac_ext >&5
11412 11141
11413 eval "$as_ac_var=no" 11142 eval "$as_ac_var=no"
11414 fi 11143 fi
11415 11144
11416 rm -rf conftest.dSYM
11417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11418 conftest$ac_exeext conftest.$ac_ext 11146 conftest$ac_exeext conftest.$ac_ext
11419 fi 11147 fi
11420 ac_res=`eval 'as_val=${'$as_ac_var'} 11148 ac_res=`eval echo '${'$as_ac_var'}'`
11421 $as_echo "$as_val"'` 11149 { echo "$as_me:$LINENO: result: $ac_res" >&5
11422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11150 echo "${ECHO_T}$ac_res" >&6; }
11423 $as_echo "$ac_res" >&6; } 11151 if test `eval echo '${'$as_ac_var'}'` = yes; then
11424 as_val=`eval 'as_val=${'$as_ac_var'}
11425 $as_echo "$as_val"'`
11426 if test "x$as_val" = x""yes; then
11427 cat >>confdefs.h <<_ACEOF 11152 cat >>confdefs.h <<_ACEOF
11428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11429 _ACEOF 11154 _ACEOF
11430 GTK_COMPILES=yes 11155 GTK_COMPILES=yes
11431 fi 11156 fi
11432 done 11157 done
11433 11158
11434 if test "${GTK_COMPILES}" != "yes"; then 11159 if test "${GTK_COMPILES}" != "yes"; then
11435 if test "$USE_X_TOOLKIT" != "maybe"; then 11160 if test "$USE_X_TOOLKIT" != "maybe"; then
11436 { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 11161 { { echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5
11437 $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} 11162 echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;}
11438 { (exit 1); exit 1; }; }; 11163 { (exit 1); exit 1; }; };
11439 fi 11164 fi
11440 else 11165 else
11441 HAVE_GTK=yes 11166 HAVE_GTK=yes
11442 11167
11446 11171
11447 USE_X_TOOLKIT=none 11172 USE_X_TOOLKIT=none
11448 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then 11173 if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then
11449 : 11174 :
11450 else 11175 else
11451 { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with 11176 { echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with
11452 closing open displays. This is no problem if you just use 11177 closing open displays. This is no problem if you just use
11453 one display, but if you use more than one and close one of them 11178 one display, but if you use more than one and close one of them
11454 Emacs may crash." >&5 11179 Emacs may crash." >&5
11455 $as_echo "$as_me: WARNING: Your version of Gtk+ will have problems with 11180 echo "$as_me: WARNING: Your version of Gtk+ will have problems with
11456 closing open displays. This is no problem if you just use 11181 closing open displays. This is no problem if you just use
11457 one display, but if you use more than one and close one of them 11182 one display, but if you use more than one and close one of them
11458 Emacs may crash." >&2;} 11183 Emacs may crash." >&2;}
11459 sleep 3 11184 sleep 3
11460 fi 11185 fi
11471 11196
11472 HAVE_GTK_MULTIDISPLAY=no 11197 HAVE_GTK_MULTIDISPLAY=no
11473 11198
11474 for ac_func in gdk_display_open 11199 for ac_func in gdk_display_open
11475 do 11200 do
11476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11477 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11478 $as_echo_n "checking for $ac_func... " >&6; } 11203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11479 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11480 $as_echo_n "(cached) " >&6 11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 else 11206 else
11482 cat >conftest.$ac_ext <<_ACEOF 11207 cat >conftest.$ac_ext <<_ACEOF
11483 /* confdefs.h. */ 11208 /* confdefs.h. */
11484 _ACEOF 11209 _ACEOF
11485 cat confdefs.h >>conftest.$ac_ext 11210 cat confdefs.h >>conftest.$ac_ext
11528 if { (ac_try="$ac_link" 11253 if { (ac_try="$ac_link"
11529 case "(($ac_try" in 11254 case "(($ac_try" in
11530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11531 *) ac_try_echo=$ac_try;; 11256 *) ac_try_echo=$ac_try;;
11532 esac 11257 esac
11533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11534 $as_echo "$ac_try_echo") >&5
11535 (eval "$ac_link") 2>conftest.er1 11259 (eval "$ac_link") 2>conftest.er1
11536 ac_status=$? 11260 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err 11261 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1 11262 rm -f conftest.er1
11539 cat conftest.err >&5 11263 cat conftest.err >&5
11540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } && { 11265 (exit $ac_status); } && {
11542 test -z "$ac_c_werror_flag" || 11266 test -z "$ac_c_werror_flag" ||
11543 test ! -s conftest.err 11267 test ! -s conftest.err
11544 } && test -s conftest$ac_exeext && { 11268 } && test -s conftest$ac_exeext &&
11545 test "$cross_compiling" = yes || 11269 $as_test_x conftest$ac_exeext; then
11546 $as_test_x conftest$ac_exeext
11547 }; then
11548 eval "$as_ac_var=yes" 11270 eval "$as_ac_var=yes"
11549 else 11271 else
11550 $as_echo "$as_me: failed program was:" >&5 11272 echo "$as_me: failed program was:" >&5
11551 sed 's/^/| /' conftest.$ac_ext >&5 11273 sed 's/^/| /' conftest.$ac_ext >&5
11552 11274
11553 eval "$as_ac_var=no" 11275 eval "$as_ac_var=no"
11554 fi 11276 fi
11555 11277
11556 rm -rf conftest.dSYM
11557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11558 conftest$ac_exeext conftest.$ac_ext 11279 conftest$ac_exeext conftest.$ac_ext
11559 fi 11280 fi
11560 ac_res=`eval 'as_val=${'$as_ac_var'} 11281 ac_res=`eval echo '${'$as_ac_var'}'`
11561 $as_echo "$as_val"'` 11282 { echo "$as_me:$LINENO: result: $ac_res" >&5
11562 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11283 echo "${ECHO_T}$ac_res" >&6; }
11563 $as_echo "$ac_res" >&6; } 11284 if test `eval echo '${'$as_ac_var'}'` = yes; then
11564 as_val=`eval 'as_val=${'$as_ac_var'}
11565 $as_echo "$as_val"'`
11566 if test "x$as_val" = x""yes; then
11567 cat >>confdefs.h <<_ACEOF 11285 cat >>confdefs.h <<_ACEOF
11568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11569 _ACEOF 11287 _ACEOF
11570 HAVE_GTK_MULTIDISPLAY=yes 11288 HAVE_GTK_MULTIDISPLAY=yes
11571 fi 11289 fi
11572 done 11290 done
11573 11291
11581 11299
11582 HAVE_GTK_FILE_SELECTION=no 11300 HAVE_GTK_FILE_SELECTION=no
11583 11301
11584 for ac_func in gtk_file_selection_new 11302 for ac_func in gtk_file_selection_new
11585 do 11303 do
11586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11587 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11588 $as_echo_n "checking for $ac_func... " >&6; } 11306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11590 $as_echo_n "(cached) " >&6 11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 else 11309 else
11592 cat >conftest.$ac_ext <<_ACEOF 11310 cat >conftest.$ac_ext <<_ACEOF
11593 /* confdefs.h. */ 11311 /* confdefs.h. */
11594 _ACEOF 11312 _ACEOF
11595 cat confdefs.h >>conftest.$ac_ext 11313 cat confdefs.h >>conftest.$ac_ext
11638 if { (ac_try="$ac_link" 11356 if { (ac_try="$ac_link"
11639 case "(($ac_try" in 11357 case "(($ac_try" in
11640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;; 11359 *) ac_try_echo=$ac_try;;
11642 esac 11360 esac
11643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644 $as_echo "$ac_try_echo") >&5
11645 (eval "$ac_link") 2>conftest.er1 11362 (eval "$ac_link") 2>conftest.er1
11646 ac_status=$? 11363 ac_status=$?
11647 grep -v '^ *+' conftest.er1 >conftest.err 11364 grep -v '^ *+' conftest.er1 >conftest.err
11648 rm -f conftest.er1 11365 rm -f conftest.er1
11649 cat conftest.err >&5 11366 cat conftest.err >&5
11650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); } && { 11368 (exit $ac_status); } && {
11652 test -z "$ac_c_werror_flag" || 11369 test -z "$ac_c_werror_flag" ||
11653 test ! -s conftest.err 11370 test ! -s conftest.err
11654 } && test -s conftest$ac_exeext && { 11371 } && test -s conftest$ac_exeext &&
11655 test "$cross_compiling" = yes || 11372 $as_test_x conftest$ac_exeext; then
11656 $as_test_x conftest$ac_exeext
11657 }; then
11658 eval "$as_ac_var=yes" 11373 eval "$as_ac_var=yes"
11659 else 11374 else
11660 $as_echo "$as_me: failed program was:" >&5 11375 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5 11376 sed 's/^/| /' conftest.$ac_ext >&5
11662 11377
11663 eval "$as_ac_var=no" 11378 eval "$as_ac_var=no"
11664 fi 11379 fi
11665 11380
11666 rm -rf conftest.dSYM
11667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11668 conftest$ac_exeext conftest.$ac_ext 11382 conftest$ac_exeext conftest.$ac_ext
11669 fi 11383 fi
11670 ac_res=`eval 'as_val=${'$as_ac_var'} 11384 ac_res=`eval echo '${'$as_ac_var'}'`
11671 $as_echo "$as_val"'` 11385 { echo "$as_me:$LINENO: result: $ac_res" >&5
11672 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11386 echo "${ECHO_T}$ac_res" >&6; }
11673 $as_echo "$ac_res" >&6; } 11387 if test `eval echo '${'$as_ac_var'}'` = yes; then
11674 as_val=`eval 'as_val=${'$as_ac_var'}
11675 $as_echo "$as_val"'`
11676 if test "x$as_val" = x""yes; then
11677 cat >>confdefs.h <<_ACEOF 11388 cat >>confdefs.h <<_ACEOF
11678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11679 _ACEOF 11390 _ACEOF
11680 HAVE_GTK_FILE_SELECTION=yes 11391 HAVE_GTK_FILE_SELECTION=yes
11681 fi 11392 fi
11682 done 11393 done
11683 11394
11684 11395
11685 HAVE_GTK_FILE_CHOOSER=no 11396 HAVE_GTK_FILE_CHOOSER=no
11686 11397
11687 for ac_func in gtk_file_chooser_dialog_new 11398 for ac_func in gtk_file_chooser_dialog_new
11688 do 11399 do
11689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11690 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11691 $as_echo_n "checking for $ac_func... " >&6; } 11402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11692 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11693 $as_echo_n "(cached) " >&6 11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 else 11405 else
11695 cat >conftest.$ac_ext <<_ACEOF 11406 cat >conftest.$ac_ext <<_ACEOF
11696 /* confdefs.h. */ 11407 /* confdefs.h. */
11697 _ACEOF 11408 _ACEOF
11698 cat confdefs.h >>conftest.$ac_ext 11409 cat confdefs.h >>conftest.$ac_ext
11741 if { (ac_try="$ac_link" 11452 if { (ac_try="$ac_link"
11742 case "(($ac_try" in 11453 case "(($ac_try" in
11743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11744 *) ac_try_echo=$ac_try;; 11455 *) ac_try_echo=$ac_try;;
11745 esac 11456 esac
11746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11747 $as_echo "$ac_try_echo") >&5
11748 (eval "$ac_link") 2>conftest.er1 11458 (eval "$ac_link") 2>conftest.er1
11749 ac_status=$? 11459 ac_status=$?
11750 grep -v '^ *+' conftest.er1 >conftest.err 11460 grep -v '^ *+' conftest.er1 >conftest.err
11751 rm -f conftest.er1 11461 rm -f conftest.er1
11752 cat conftest.err >&5 11462 cat conftest.err >&5
11753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } && { 11464 (exit $ac_status); } && {
11755 test -z "$ac_c_werror_flag" || 11465 test -z "$ac_c_werror_flag" ||
11756 test ! -s conftest.err 11466 test ! -s conftest.err
11757 } && test -s conftest$ac_exeext && { 11467 } && test -s conftest$ac_exeext &&
11758 test "$cross_compiling" = yes || 11468 $as_test_x conftest$ac_exeext; then
11759 $as_test_x conftest$ac_exeext
11760 }; then
11761 eval "$as_ac_var=yes" 11469 eval "$as_ac_var=yes"
11762 else 11470 else
11763 $as_echo "$as_me: failed program was:" >&5 11471 echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.$ac_ext >&5 11472 sed 's/^/| /' conftest.$ac_ext >&5
11765 11473
11766 eval "$as_ac_var=no" 11474 eval "$as_ac_var=no"
11767 fi 11475 fi
11768 11476
11769 rm -rf conftest.dSYM
11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771 conftest$ac_exeext conftest.$ac_ext 11478 conftest$ac_exeext conftest.$ac_ext
11772 fi 11479 fi
11773 ac_res=`eval 'as_val=${'$as_ac_var'} 11480 ac_res=`eval echo '${'$as_ac_var'}'`
11774 $as_echo "$as_val"'` 11481 { echo "$as_me:$LINENO: result: $ac_res" >&5
11775 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11482 echo "${ECHO_T}$ac_res" >&6; }
11776 $as_echo "$ac_res" >&6; } 11483 if test `eval echo '${'$as_ac_var'}'` = yes; then
11777 as_val=`eval 'as_val=${'$as_ac_var'}
11778 $as_echo "$as_val"'`
11779 if test "x$as_val" = x""yes; then
11780 cat >>confdefs.h <<_ACEOF 11484 cat >>confdefs.h <<_ACEOF
11781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11782 _ACEOF 11486 _ACEOF
11783 HAVE_GTK_FILE_CHOOSER=yes 11487 HAVE_GTK_FILE_CHOOSER=yes
11784 fi 11488 fi
11785 done 11489 done
11786 11490
11797 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then 11501 if test "$HAVE_GTK_FILE_CHOOSER" = yes; then
11798 HAVE_GTK_AND_PTHREAD=no 11502 HAVE_GTK_AND_PTHREAD=no
11799 11503
11800 for ac_header in pthread.h 11504 for ac_header in pthread.h
11801 do 11505 do
11802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11805 $as_echo_n "checking for $ac_header... " >&6; } 11509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11807 $as_echo_n "(cached) " >&6 11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 fi 11512 fi
11809 ac_res=`eval 'as_val=${'$as_ac_Header'} 11513 ac_res=`eval echo '${'$as_ac_Header'}'`
11810 $as_echo "$as_val"'` 11514 { echo "$as_me:$LINENO: result: $ac_res" >&5
11811 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11515 echo "${ECHO_T}$ac_res" >&6; }
11812 $as_echo "$ac_res" >&6; }
11813 else 11516 else
11814 # Is the header compilable? 11517 # Is the header compilable?
11815 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11816 $as_echo_n "checking $ac_header usability... " >&6; } 11519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11817 cat >conftest.$ac_ext <<_ACEOF 11520 cat >conftest.$ac_ext <<_ACEOF
11818 /* confdefs.h. */ 11521 /* confdefs.h. */
11819 _ACEOF 11522 _ACEOF
11820 cat confdefs.h >>conftest.$ac_ext 11523 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF 11524 cat >>conftest.$ac_ext <<_ACEOF
11827 if { (ac_try="$ac_compile" 11530 if { (ac_try="$ac_compile"
11828 case "(($ac_try" in 11531 case "(($ac_try" in
11829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11830 *) ac_try_echo=$ac_try;; 11533 *) ac_try_echo=$ac_try;;
11831 esac 11534 esac
11832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11833 $as_echo "$ac_try_echo") >&5
11834 (eval "$ac_compile") 2>conftest.er1 11536 (eval "$ac_compile") 2>conftest.er1
11835 ac_status=$? 11537 ac_status=$?
11836 grep -v '^ *+' conftest.er1 >conftest.err 11538 grep -v '^ *+' conftest.er1 >conftest.err
11837 rm -f conftest.er1 11539 rm -f conftest.er1
11838 cat conftest.err >&5 11540 cat conftest.err >&5
11839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } && { 11542 (exit $ac_status); } && {
11841 test -z "$ac_c_werror_flag" || 11543 test -z "$ac_c_werror_flag" ||
11842 test ! -s conftest.err 11544 test ! -s conftest.err
11843 } && test -s conftest.$ac_objext; then 11545 } && test -s conftest.$ac_objext; then
11844 ac_header_compiler=yes 11546 ac_header_compiler=yes
11845 else 11547 else
11846 $as_echo "$as_me: failed program was:" >&5 11548 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5 11549 sed 's/^/| /' conftest.$ac_ext >&5
11848 11550
11849 ac_header_compiler=no 11551 ac_header_compiler=no
11850 fi 11552 fi
11851 11553
11852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11854 $as_echo "$ac_header_compiler" >&6; } 11556 echo "${ECHO_T}$ac_header_compiler" >&6; }
11855 11557
11856 # Is the header present? 11558 # Is the header present?
11857 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11858 $as_echo_n "checking $ac_header presence... " >&6; } 11560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11859 cat >conftest.$ac_ext <<_ACEOF 11561 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h. */ 11562 /* confdefs.h. */
11861 _ACEOF 11563 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext 11564 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF 11565 cat >>conftest.$ac_ext <<_ACEOF
11867 if { (ac_try="$ac_cpp conftest.$ac_ext" 11569 if { (ac_try="$ac_cpp conftest.$ac_ext"
11868 case "(($ac_try" in 11570 case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;; 11572 *) ac_try_echo=$ac_try;;
11871 esac 11573 esac
11872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 $as_echo "$ac_try_echo") >&5
11874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11875 ac_status=$? 11576 ac_status=$?
11876 grep -v '^ *+' conftest.er1 >conftest.err 11577 grep -v '^ *+' conftest.er1 >conftest.err
11877 rm -f conftest.er1 11578 rm -f conftest.er1
11878 cat conftest.err >&5 11579 cat conftest.err >&5
11879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } >/dev/null && { 11581 (exit $ac_status); } >/dev/null && {
11881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11882 test ! -s conftest.err 11583 test ! -s conftest.err
11883 }; then 11584 }; then
11884 ac_header_preproc=yes 11585 ac_header_preproc=yes
11885 else 11586 else
11886 $as_echo "$as_me: failed program was:" >&5 11587 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.$ac_ext >&5 11588 sed 's/^/| /' conftest.$ac_ext >&5
11888 11589
11889 ac_header_preproc=no 11590 ac_header_preproc=no
11890 fi 11591 fi
11891 11592
11892 rm -f conftest.err conftest.$ac_ext 11593 rm -f conftest.err conftest.$ac_ext
11893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11894 $as_echo "$ac_header_preproc" >&6; } 11595 echo "${ECHO_T}$ac_header_preproc" >&6; }
11895 11596
11896 # So? What about this header? 11597 # So? What about this header?
11897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11898 yes:no: ) 11599 yes:no: )
11899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11900 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11901 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11903 ac_header_preproc=yes 11604 ac_header_preproc=yes
11904 ;; 11605 ;;
11905 no:yes:* ) 11606 no:yes:* )
11906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11907 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11908 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11909 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11910 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11911 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11912 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11913 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11914 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11915 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11916 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11917 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11918 11619
11919 ;; 11620 ;;
11920 esac 11621 esac
11921 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11922 $as_echo_n "checking for $ac_header... " >&6; } 11623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11924 $as_echo_n "(cached) " >&6 11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else 11626 else
11926 eval "$as_ac_Header=\$ac_header_preproc" 11627 eval "$as_ac_Header=\$ac_header_preproc"
11927 fi 11628 fi
11928 ac_res=`eval 'as_val=${'$as_ac_Header'} 11629 ac_res=`eval echo '${'$as_ac_Header'}'`
11929 $as_echo "$as_val"'` 11630 { echo "$as_me:$LINENO: result: $ac_res" >&5
11930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11631 echo "${ECHO_T}$ac_res" >&6; }
11931 $as_echo "$ac_res" >&6; } 11632
11932 11633 fi
11933 fi 11634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11934 as_val=`eval 'as_val=${'$as_ac_Header'}
11935 $as_echo "$as_val"'`
11936 if test "x$as_val" = x""yes; then
11937 cat >>confdefs.h <<_ACEOF 11635 cat >>confdefs.h <<_ACEOF
11938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11939 _ACEOF 11637 _ACEOF
11940 11638
11941 fi 11639 fi
11942 11640
11943 done 11641 done
11944 11642
11945 if test "$ac_cv_header_pthread_h"; then 11643 if test "$ac_cv_header_pthread_h"; then
11946 { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 11644 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5
11947 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } 11645 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; }
11948 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then 11646 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then
11949 $as_echo_n "(cached) " >&6 11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 else 11648 else
11951 ac_check_lib_save_LIBS=$LIBS 11649 ac_check_lib_save_LIBS=$LIBS
11952 LIBS="-lpthread $LIBS" 11650 LIBS="-lpthread $LIBS"
11953 cat >conftest.$ac_ext <<_ACEOF 11651 cat >conftest.$ac_ext <<_ACEOF
11954 /* confdefs.h. */ 11652 /* confdefs.h. */
11976 if { (ac_try="$ac_link" 11674 if { (ac_try="$ac_link"
11977 case "(($ac_try" in 11675 case "(($ac_try" in
11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979 *) ac_try_echo=$ac_try;; 11677 *) ac_try_echo=$ac_try;;
11980 esac 11678 esac
11981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 $as_echo "$ac_try_echo") >&5
11983 (eval "$ac_link") 2>conftest.er1 11680 (eval "$ac_link") 2>conftest.er1
11984 ac_status=$? 11681 ac_status=$?
11985 grep -v '^ *+' conftest.er1 >conftest.err 11682 grep -v '^ *+' conftest.er1 >conftest.err
11986 rm -f conftest.er1 11683 rm -f conftest.er1
11987 cat conftest.err >&5 11684 cat conftest.err >&5
11988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } && { 11686 (exit $ac_status); } && {
11990 test -z "$ac_c_werror_flag" || 11687 test -z "$ac_c_werror_flag" ||
11991 test ! -s conftest.err 11688 test ! -s conftest.err
11992 } && test -s conftest$ac_exeext && { 11689 } && test -s conftest$ac_exeext &&
11993 test "$cross_compiling" = yes || 11690 $as_test_x conftest$ac_exeext; then
11994 $as_test_x conftest$ac_exeext
11995 }; then
11996 ac_cv_lib_pthread_pthread_self=yes 11691 ac_cv_lib_pthread_pthread_self=yes
11997 else 11692 else
11998 $as_echo "$as_me: failed program was:" >&5 11693 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5 11694 sed 's/^/| /' conftest.$ac_ext >&5
12000 11695
12001 ac_cv_lib_pthread_pthread_self=no 11696 ac_cv_lib_pthread_pthread_self=no
12002 fi 11697 fi
12003 11698
12004 rm -rf conftest.dSYM
12005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12006 conftest$ac_exeext conftest.$ac_ext 11700 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_lib_save_LIBS 11701 LIBS=$ac_check_lib_save_LIBS
12008 fi 11702 fi
12009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 11703 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5
12010 $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } 11704 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; }
12011 if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then 11705 if test $ac_cv_lib_pthread_pthread_self = yes; then
12012 HAVE_GTK_AND_PTHREAD=yes 11706 HAVE_GTK_AND_PTHREAD=yes
12013 fi 11707 fi
12014 11708
12015 fi 11709 fi
12016 if test "$HAVE_GTK_AND_PTHREAD" = yes; then 11710 if test "$HAVE_GTK_AND_PTHREAD" = yes; then
12032 11726
12033 succeeded=no 11727 succeeded=no
12034 11728
12035 # Extract the first word of "pkg-config", so it can be a program name with args. 11729 # Extract the first word of "pkg-config", so it can be a program name with args.
12036 set dummy pkg-config; ac_word=$2 11730 set dummy pkg-config; ac_word=$2
12037 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 $as_echo_n "checking for $ac_word... " >&6; } 11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11733 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12040 $as_echo_n "(cached) " >&6 11734 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else 11735 else
12042 case $PKG_CONFIG in 11736 case $PKG_CONFIG in
12043 [\\/]* | ?:[\\/]*) 11737 [\\/]* | ?:[\\/]*)
12044 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11738 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12045 ;; 11739 ;;
12050 IFS=$as_save_IFS 11744 IFS=$as_save_IFS
12051 test -z "$as_dir" && as_dir=. 11745 test -z "$as_dir" && as_dir=.
12052 for ac_exec_ext in '' $ac_executable_extensions; do 11746 for ac_exec_ext in '' $ac_executable_extensions; do
12053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12054 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11748 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12055 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 break 2 11750 break 2
12057 fi 11751 fi
12058 done 11752 done
12059 done 11753 done
12060 IFS=$as_save_IFS 11754 IFS=$as_save_IFS
12063 ;; 11757 ;;
12064 esac 11758 esac
12065 fi 11759 fi
12066 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11760 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12067 if test -n "$PKG_CONFIG"; then 11761 if test -n "$PKG_CONFIG"; then
12068 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11762 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12069 $as_echo "$PKG_CONFIG" >&6; } 11763 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12070 else 11764 else
12071 { $as_echo "$as_me:$LINENO: result: no" >&5 11765 { echo "$as_me:$LINENO: result: no" >&5
12072 $as_echo "no" >&6; } 11766 echo "${ECHO_T}no" >&6; }
12073 fi 11767 fi
12074 11768
12075 11769
12076 11770
12077 if test "$PKG_CONFIG" = "no" ; then 11771 if test "$PKG_CONFIG" = "no" ; then
12078 HAVE_DBUS=no 11772 HAVE_DBUS=no
12079 else 11773 else
12080 PKG_CONFIG_MIN_VERSION=0.9.0 11774 PKG_CONFIG_MIN_VERSION=0.9.0
12081 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 11775 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12082 { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 11776 { echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5
12083 $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } 11777 echo $ECHO_N "checking for dbus-1 >= 1.0... $ECHO_C" >&6; }
12084 11778
12085 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then 11779 if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then
12086 { $as_echo "$as_me:$LINENO: result: yes" >&5 11780 { echo "$as_me:$LINENO: result: yes" >&5
12087 $as_echo "yes" >&6; } 11781 echo "${ECHO_T}yes" >&6; }
12088 succeeded=yes 11782 succeeded=yes
12089 11783
12090 { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 11784 { echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
12091 $as_echo_n "checking DBUS_CFLAGS... " >&6; } 11785 echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; }
12092 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 11786 DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12093 { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 11787 { echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
12094 $as_echo "$DBUS_CFLAGS" >&6; } 11788 echo "${ECHO_T}$DBUS_CFLAGS" >&6; }
12095 11789
12096 { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 11790 { echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
12097 $as_echo_n "checking DBUS_LIBS... " >&6; } 11791 echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; }
12098 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` 11792 DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'`
12099 { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 11793 { echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
12100 $as_echo "$DBUS_LIBS" >&6; } 11794 echo "${ECHO_T}$DBUS_LIBS" >&6; }
12101 else 11795 else
12102 { $as_echo "$as_me:$LINENO: result: no" >&5 11796 { echo "$as_me:$LINENO: result: no" >&5
12103 $as_echo "no" >&6; } 11797 echo "${ECHO_T}no" >&6; }
12104 DBUS_CFLAGS="" 11798 DBUS_CFLAGS=""
12105 DBUS_LIBS="" 11799 DBUS_LIBS=""
12106 ## If we have a custom action on failure, don't print errors, but 11800 ## If we have a custom action on failure, don't print errors, but
12107 ## do set a variable so people can do so. 11801 ## do set a variable so people can do so.
12108 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"` 11802 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1 >= 1.0"`
12133 fi 11827 fi
12134 11828
12135 HAVE_XAW3D=no 11829 HAVE_XAW3D=no
12136 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then 11830 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
12137 if test "$with_xaw3d" != no; then 11831 if test "$with_xaw3d" != no; then
12138 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 11832 { echo "$as_me:$LINENO: checking for xaw3d" >&5
12139 $as_echo_n "checking for xaw3d... " >&6; } 11833 echo $ECHO_N "checking for xaw3d... $ECHO_C" >&6; }
12140 if test "${emacs_cv_xaw3d+set}" = set; then 11834 if test "${emacs_cv_xaw3d+set}" = set; then
12141 $as_echo_n "(cached) " >&6 11835 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 else 11836 else
12143 cat >conftest.$ac_ext <<_ACEOF 11837 cat >conftest.$ac_ext <<_ACEOF
12144 /* confdefs.h. */ 11838 /* confdefs.h. */
12145 _ACEOF 11839 _ACEOF
12146 cat confdefs.h >>conftest.$ac_ext 11840 cat confdefs.h >>conftest.$ac_ext
12161 if { (ac_try="$ac_link" 11855 if { (ac_try="$ac_link"
12162 case "(($ac_try" in 11856 case "(($ac_try" in
12163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12164 *) ac_try_echo=$ac_try;; 11858 *) ac_try_echo=$ac_try;;
12165 esac 11859 esac
12166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12167 $as_echo "$ac_try_echo") >&5
12168 (eval "$ac_link") 2>conftest.er1 11861 (eval "$ac_link") 2>conftest.er1
12169 ac_status=$? 11862 ac_status=$?
12170 grep -v '^ *+' conftest.er1 >conftest.err 11863 grep -v '^ *+' conftest.er1 >conftest.err
12171 rm -f conftest.er1 11864 rm -f conftest.er1
12172 cat conftest.err >&5 11865 cat conftest.err >&5
12173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } && { 11867 (exit $ac_status); } && {
12175 test -z "$ac_c_werror_flag" || 11868 test -z "$ac_c_werror_flag" ||
12176 test ! -s conftest.err 11869 test ! -s conftest.err
12177 } && test -s conftest$ac_exeext && { 11870 } && test -s conftest$ac_exeext &&
12178 test "$cross_compiling" = yes || 11871 $as_test_x conftest$ac_exeext; then
12179 $as_test_x conftest$ac_exeext
12180 }; then
12181 emacs_cv_xaw3d=yes 11872 emacs_cv_xaw3d=yes
12182 else 11873 else
12183 $as_echo "$as_me: failed program was:" >&5 11874 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5 11875 sed 's/^/| /' conftest.$ac_ext >&5
12185 11876
12186 emacs_cv_xaw3d=no 11877 emacs_cv_xaw3d=no
12187 fi 11878 fi
12188 11879
12189 rm -rf conftest.dSYM
12190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12191 conftest$ac_exeext conftest.$ac_ext 11881 conftest$ac_exeext conftest.$ac_ext
12192 fi 11882 fi
12193 11883
12194 else 11884 else
12195 emacs_cv_xaw3d=no 11885 emacs_cv_xaw3d=no
12196 fi 11886 fi
12197 if test $emacs_cv_xaw3d = yes; then 11887 if test $emacs_cv_xaw3d = yes; then
12198 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 11888 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12199 $as_echo "yes; using Lucid toolkit" >&6; } 11889 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12200 USE_X_TOOLKIT=LUCID 11890 USE_X_TOOLKIT=LUCID
12201 HAVE_XAW3D=yes 11891 HAVE_XAW3D=yes
12202 11892
12203 cat >>confdefs.h <<\_ACEOF 11893 cat >>confdefs.h <<\_ACEOF
12204 #define HAVE_XAW3D 1 11894 #define HAVE_XAW3D 1
12205 _ACEOF 11895 _ACEOF
12206 11896
12207 else 11897 else
12208 { $as_echo "$as_me:$LINENO: result: no" >&5 11898 { echo "$as_me:$LINENO: result: no" >&5
12209 $as_echo "no" >&6; } 11899 echo "${ECHO_T}no" >&6; }
12210 { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 11900 { echo "$as_me:$LINENO: checking for libXaw" >&5
12211 $as_echo_n "checking for libXaw... " >&6; } 11901 echo $ECHO_N "checking for libXaw... $ECHO_C" >&6; }
12212 if test "${emacs_cv_xaw+set}" = set; then 11902 if test "${emacs_cv_xaw+set}" = set; then
12213 $as_echo_n "(cached) " >&6 11903 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 else 11904 else
12215 cat >conftest.$ac_ext <<_ACEOF 11905 cat >conftest.$ac_ext <<_ACEOF
12216 /* confdefs.h. */ 11906 /* confdefs.h. */
12217 _ACEOF 11907 _ACEOF
12218 cat confdefs.h >>conftest.$ac_ext 11908 cat confdefs.h >>conftest.$ac_ext
12233 if { (ac_try="$ac_link" 11923 if { (ac_try="$ac_link"
12234 case "(($ac_try" in 11924 case "(($ac_try" in
12235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12236 *) ac_try_echo=$ac_try;; 11926 *) ac_try_echo=$ac_try;;
12237 esac 11927 esac
12238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12239 $as_echo "$ac_try_echo") >&5
12240 (eval "$ac_link") 2>conftest.er1 11929 (eval "$ac_link") 2>conftest.er1
12241 ac_status=$? 11930 ac_status=$?
12242 grep -v '^ *+' conftest.er1 >conftest.err 11931 grep -v '^ *+' conftest.er1 >conftest.err
12243 rm -f conftest.er1 11932 rm -f conftest.er1
12244 cat conftest.err >&5 11933 cat conftest.err >&5
12245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } && { 11935 (exit $ac_status); } && {
12247 test -z "$ac_c_werror_flag" || 11936 test -z "$ac_c_werror_flag" ||
12248 test ! -s conftest.err 11937 test ! -s conftest.err
12249 } && test -s conftest$ac_exeext && { 11938 } && test -s conftest$ac_exeext &&
12250 test "$cross_compiling" = yes || 11939 $as_test_x conftest$ac_exeext; then
12251 $as_test_x conftest$ac_exeext
12252 }; then
12253 emacs_cv_xaw=yes 11940 emacs_cv_xaw=yes
12254 else 11941 else
12255 $as_echo "$as_me: failed program was:" >&5 11942 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5 11943 sed 's/^/| /' conftest.$ac_ext >&5
12257 11944
12258 emacs_cv_xaw=no 11945 emacs_cv_xaw=no
12259 fi 11946 fi
12260 11947
12261 rm -rf conftest.dSYM
12262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12263 conftest$ac_exeext conftest.$ac_ext 11949 conftest$ac_exeext conftest.$ac_ext
12264 fi 11950 fi
12265 11951
12266 if test $emacs_cv_xaw = yes; then 11952 if test $emacs_cv_xaw = yes; then
12267 { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 11953 { echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5
12268 $as_echo "yes; using Lucid toolkit" >&6; } 11954 echo "${ECHO_T}yes; using Lucid toolkit" >&6; }
12269 USE_X_TOOLKIT=LUCID 11955 USE_X_TOOLKIT=LUCID
12270 elif test x"${USE_X_TOOLKIT}" = xLUCID; then 11956 elif test x"${USE_X_TOOLKIT}" = xLUCID; then
12271 { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 11957 { { echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5
12272 $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} 11958 echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;}
12273 { (exit 1); exit 1; }; } 11959 { (exit 1); exit 1; }; }
12274 else 11960 else
12275 { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 11961 { echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5
12276 $as_echo "no; do not use toolkit by default" >&6; } 11962 echo "${ECHO_T}no; do not use toolkit by default" >&6; }
12277 USE_X_TOOLKIT=none 11963 USE_X_TOOLKIT=none
12278 fi 11964 fi
12279 fi 11965 fi
12280 fi 11966 fi
12281 11967
12282 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 11968 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
12283 11969
12284 if test "${USE_X_TOOLKIT}" != "none"; then 11970 if test "${USE_X_TOOLKIT}" != "none"; then
12285 { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 11971 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5
12286 $as_echo_n "checking X11 toolkit version... " >&6; } 11972 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; }
12287 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 11973 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
12288 $as_echo_n "(cached) " >&6 11974 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else 11975 else
12290 cat >conftest.$ac_ext <<_ACEOF 11976 cat >conftest.$ac_ext <<_ACEOF
12291 /* confdefs.h. */ 11977 /* confdefs.h. */
12292 _ACEOF 11978 _ACEOF
12293 cat confdefs.h >>conftest.$ac_ext 11979 cat confdefs.h >>conftest.$ac_ext
12309 if { (ac_try="$ac_link" 11995 if { (ac_try="$ac_link"
12310 case "(($ac_try" in 11996 case "(($ac_try" in
12311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12312 *) ac_try_echo=$ac_try;; 11998 *) ac_try_echo=$ac_try;;
12313 esac 11999 esac
12314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12315 $as_echo "$ac_try_echo") >&5
12316 (eval "$ac_link") 2>conftest.er1 12001 (eval "$ac_link") 2>conftest.er1
12317 ac_status=$? 12002 ac_status=$?
12318 grep -v '^ *+' conftest.er1 >conftest.err 12003 grep -v '^ *+' conftest.er1 >conftest.err
12319 rm -f conftest.er1 12004 rm -f conftest.er1
12320 cat conftest.err >&5 12005 cat conftest.err >&5
12321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } && { 12007 (exit $ac_status); } && {
12323 test -z "$ac_c_werror_flag" || 12008 test -z "$ac_c_werror_flag" ||
12324 test ! -s conftest.err 12009 test ! -s conftest.err
12325 } && test -s conftest$ac_exeext && { 12010 } && test -s conftest$ac_exeext &&
12326 test "$cross_compiling" = yes || 12011 $as_test_x conftest$ac_exeext; then
12327 $as_test_x conftest$ac_exeext
12328 }; then
12329 emacs_cv_x11_toolkit_version_6=yes 12012 emacs_cv_x11_toolkit_version_6=yes
12330 else 12013 else
12331 $as_echo "$as_me: failed program was:" >&5 12014 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5 12015 sed 's/^/| /' conftest.$ac_ext >&5
12333 12016
12334 emacs_cv_x11_toolkit_version_6=no 12017 emacs_cv_x11_toolkit_version_6=no
12335 fi 12018 fi
12336 12019
12337 rm -rf conftest.dSYM
12338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12339 conftest$ac_exeext conftest.$ac_ext 12021 conftest$ac_exeext conftest.$ac_ext
12340 fi 12022 fi
12341 12023
12342 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 12024 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
12343 if test $emacs_cv_x11_toolkit_version_6 = yes; then 12025 if test $emacs_cv_x11_toolkit_version_6 = yes; then
12344 { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 12026 { echo "$as_me:$LINENO: result: 6 or newer" >&5
12345 $as_echo "6 or newer" >&6; } 12027 echo "${ECHO_T}6 or newer" >&6; }
12346 12028
12347 cat >>confdefs.h <<\_ACEOF 12029 cat >>confdefs.h <<\_ACEOF
12348 #define HAVE_X11XTR6 1 12030 #define HAVE_X11XTR6 1
12349 _ACEOF 12031 _ACEOF
12350 12032
12351 else 12033 else
12352 { $as_echo "$as_me:$LINENO: result: before 6" >&5 12034 { echo "$as_me:$LINENO: result: before 6" >&5
12353 $as_echo "before 6" >&6; } 12035 echo "${ECHO_T}before 6" >&6; }
12354 fi 12036 fi
12355 12037
12356 OLDLIBS="$LIBS" 12038 OLDLIBS="$LIBS"
12357 if test x$HAVE_X11XTR6 = xyes; then 12039 if test x$HAVE_X11XTR6 = xyes; then
12358 LIBS="-lXt -lSM -lICE $LIBS" 12040 LIBS="-lXt -lSM -lICE $LIBS"
12359 else 12041 else
12360 LIBS="-lXt $LIBS" 12042 LIBS="-lXt $LIBS"
12361 fi 12043 fi
12362 12044
12363 { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 12045 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5
12364 $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } 12046 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; }
12365 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 12047 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
12366 $as_echo_n "(cached) " >&6 12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else 12049 else
12368 ac_check_lib_save_LIBS=$LIBS 12050 ac_check_lib_save_LIBS=$LIBS
12369 LIBS="-lXmu $LIBS" 12051 LIBS="-lXmu $LIBS"
12370 cat >conftest.$ac_ext <<_ACEOF 12052 cat >conftest.$ac_ext <<_ACEOF
12371 /* confdefs.h. */ 12053 /* confdefs.h. */
12393 if { (ac_try="$ac_link" 12075 if { (ac_try="$ac_link"
12394 case "(($ac_try" in 12076 case "(($ac_try" in
12395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396 *) ac_try_echo=$ac_try;; 12078 *) ac_try_echo=$ac_try;;
12397 esac 12079 esac
12398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12399 $as_echo "$ac_try_echo") >&5
12400 (eval "$ac_link") 2>conftest.er1 12081 (eval "$ac_link") 2>conftest.er1
12401 ac_status=$? 12082 ac_status=$?
12402 grep -v '^ *+' conftest.er1 >conftest.err 12083 grep -v '^ *+' conftest.er1 >conftest.err
12403 rm -f conftest.er1 12084 rm -f conftest.er1
12404 cat conftest.err >&5 12085 cat conftest.err >&5
12405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } && { 12087 (exit $ac_status); } && {
12407 test -z "$ac_c_werror_flag" || 12088 test -z "$ac_c_werror_flag" ||
12408 test ! -s conftest.err 12089 test ! -s conftest.err
12409 } && test -s conftest$ac_exeext && { 12090 } && test -s conftest$ac_exeext &&
12410 test "$cross_compiling" = yes || 12091 $as_test_x conftest$ac_exeext; then
12411 $as_test_x conftest$ac_exeext
12412 }; then
12413 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 12092 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
12414 else 12093 else
12415 $as_echo "$as_me: failed program was:" >&5 12094 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5 12095 sed 's/^/| /' conftest.$ac_ext >&5
12417 12096
12418 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 12097 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
12419 fi 12098 fi
12420 12099
12421 rm -rf conftest.dSYM
12422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12423 conftest$ac_exeext conftest.$ac_ext 12101 conftest$ac_exeext conftest.$ac_ext
12424 LIBS=$ac_check_lib_save_LIBS 12102 LIBS=$ac_check_lib_save_LIBS
12425 fi 12103 fi
12426 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 12104 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
12427 $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } 12105 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; }
12428 if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then 12106 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
12429 cat >>confdefs.h <<_ACEOF 12107 cat >>confdefs.h <<_ACEOF
12430 #define HAVE_LIBXMU 1 12108 #define HAVE_LIBXMU 1
12431 _ACEOF 12109 _ACEOF
12432 12110
12433 LIBS="-lXmu $LIBS" 12111 LIBS="-lXmu $LIBS"
12439 12117
12440 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 12118 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
12441 if test "${HAVE_X11}" = "yes"; then 12119 if test "${HAVE_X11}" = "yes"; then
12442 if test "${USE_X_TOOLKIT}" != "none"; then 12120 if test "${USE_X_TOOLKIT}" != "none"; then
12443 12121
12444 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 12122 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
12445 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } 12123 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
12446 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 12124 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
12447 $as_echo_n "(cached) " >&6 12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else 12126 else
12449 ac_check_lib_save_LIBS=$LIBS 12127 ac_check_lib_save_LIBS=$LIBS
12450 LIBS="-lXext $LIBS" 12128 LIBS="-lXext $LIBS"
12451 cat >conftest.$ac_ext <<_ACEOF 12129 cat >conftest.$ac_ext <<_ACEOF
12452 /* confdefs.h. */ 12130 /* confdefs.h. */
12474 if { (ac_try="$ac_link" 12152 if { (ac_try="$ac_link"
12475 case "(($ac_try" in 12153 case "(($ac_try" in
12476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12477 *) ac_try_echo=$ac_try;; 12155 *) ac_try_echo=$ac_try;;
12478 esac 12156 esac
12479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12480 $as_echo "$ac_try_echo") >&5
12481 (eval "$ac_link") 2>conftest.er1 12158 (eval "$ac_link") 2>conftest.er1
12482 ac_status=$? 12159 ac_status=$?
12483 grep -v '^ *+' conftest.er1 >conftest.err 12160 grep -v '^ *+' conftest.er1 >conftest.err
12484 rm -f conftest.er1 12161 rm -f conftest.er1
12485 cat conftest.err >&5 12162 cat conftest.err >&5
12486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); } && { 12164 (exit $ac_status); } && {
12488 test -z "$ac_c_werror_flag" || 12165 test -z "$ac_c_werror_flag" ||
12489 test ! -s conftest.err 12166 test ! -s conftest.err
12490 } && test -s conftest$ac_exeext && { 12167 } && test -s conftest$ac_exeext &&
12491 test "$cross_compiling" = yes || 12168 $as_test_x conftest$ac_exeext; then
12492 $as_test_x conftest$ac_exeext
12493 }; then
12494 ac_cv_lib_Xext_XShapeQueryExtension=yes 12169 ac_cv_lib_Xext_XShapeQueryExtension=yes
12495 else 12170 else
12496 $as_echo "$as_me: failed program was:" >&5 12171 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5 12172 sed 's/^/| /' conftest.$ac_ext >&5
12498 12173
12499 ac_cv_lib_Xext_XShapeQueryExtension=no 12174 ac_cv_lib_Xext_XShapeQueryExtension=no
12500 fi 12175 fi
12501 12176
12502 rm -rf conftest.dSYM
12503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12504 conftest$ac_exeext conftest.$ac_ext 12178 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_lib_save_LIBS 12179 LIBS=$ac_check_lib_save_LIBS
12506 fi 12180 fi
12507 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 12181 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
12508 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } 12182 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
12509 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then 12183 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
12510 cat >>confdefs.h <<_ACEOF 12184 cat >>confdefs.h <<_ACEOF
12511 #define HAVE_LIBXEXT 1 12185 #define HAVE_LIBXEXT 1
12512 _ACEOF 12186 _ACEOF
12513 12187
12514 LIBS="-lXext $LIBS" 12188 LIBS="-lXext $LIBS"
12517 12191
12518 fi 12192 fi
12519 fi 12193 fi
12520 12194
12521 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 12195 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
12522 { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 12196 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5
12523 $as_echo_n "checking for Motif version 2.1... " >&6; } 12197 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; }
12524 if test "${emacs_cv_motif_version_2_1+set}" = set; then 12198 if test "${emacs_cv_motif_version_2_1+set}" = set; then
12525 $as_echo_n "(cached) " >&6 12199 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else 12200 else
12527 cat >conftest.$ac_ext <<_ACEOF 12201 cat >conftest.$ac_ext <<_ACEOF
12528 /* confdefs.h. */ 12202 /* confdefs.h. */
12529 _ACEOF 12203 _ACEOF
12530 cat confdefs.h >>conftest.$ac_ext 12204 cat confdefs.h >>conftest.$ac_ext
12547 if { (ac_try="$ac_compile" 12221 if { (ac_try="$ac_compile"
12548 case "(($ac_try" in 12222 case "(($ac_try" in
12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;; 12224 *) ac_try_echo=$ac_try;;
12551 esac 12225 esac
12552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 $as_echo "$ac_try_echo") >&5
12554 (eval "$ac_compile") 2>conftest.er1 12227 (eval "$ac_compile") 2>conftest.er1
12555 ac_status=$? 12228 ac_status=$?
12556 grep -v '^ *+' conftest.er1 >conftest.err 12229 grep -v '^ *+' conftest.er1 >conftest.err
12557 rm -f conftest.er1 12230 rm -f conftest.er1
12558 cat conftest.err >&5 12231 cat conftest.err >&5
12559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } && { 12233 (exit $ac_status); } && {
12561 test -z "$ac_c_werror_flag" || 12234 test -z "$ac_c_werror_flag" ||
12562 test ! -s conftest.err 12235 test ! -s conftest.err
12563 } && test -s conftest.$ac_objext; then 12236 } && test -s conftest.$ac_objext; then
12564 emacs_cv_motif_version_2_1=yes 12237 emacs_cv_motif_version_2_1=yes
12565 else 12238 else
12566 $as_echo "$as_me: failed program was:" >&5 12239 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5 12240 sed 's/^/| /' conftest.$ac_ext >&5
12568 12241
12569 emacs_cv_motif_version_2_1=no 12242 emacs_cv_motif_version_2_1=no
12570 fi 12243 fi
12571 12244
12572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12573 fi 12246 fi
12574 { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 12247 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5
12575 $as_echo "$emacs_cv_motif_version_2_1" >&6; } 12248 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; }
12576 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 12249 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
12577 if test $emacs_cv_motif_version_2_1 = yes; then 12250 if test $emacs_cv_motif_version_2_1 = yes; then
12578 HAVE_LIBXP=no 12251 HAVE_LIBXP=no
12579 12252
12580 cat >>confdefs.h <<\_ACEOF 12253 cat >>confdefs.h <<\_ACEOF
12581 #define HAVE_MOTIF_2_1 1 12254 #define HAVE_MOTIF_2_1 1
12582 _ACEOF 12255 _ACEOF
12583 12256
12584 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 12257 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
12585 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 12258 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; }
12586 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 12259 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
12587 $as_echo_n "(cached) " >&6 12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 else 12261 else
12589 ac_check_lib_save_LIBS=$LIBS 12262 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-lXp $LIBS" 12263 LIBS="-lXp $LIBS"
12591 cat >conftest.$ac_ext <<_ACEOF 12264 cat >conftest.$ac_ext <<_ACEOF
12592 /* confdefs.h. */ 12265 /* confdefs.h. */
12614 if { (ac_try="$ac_link" 12287 if { (ac_try="$ac_link"
12615 case "(($ac_try" in 12288 case "(($ac_try" in
12616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 *) ac_try_echo=$ac_try;; 12290 *) ac_try_echo=$ac_try;;
12618 esac 12291 esac
12619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12620 $as_echo "$ac_try_echo") >&5
12621 (eval "$ac_link") 2>conftest.er1 12293 (eval "$ac_link") 2>conftest.er1
12622 ac_status=$? 12294 ac_status=$?
12623 grep -v '^ *+' conftest.er1 >conftest.err 12295 grep -v '^ *+' conftest.er1 >conftest.err
12624 rm -f conftest.er1 12296 rm -f conftest.er1
12625 cat conftest.err >&5 12297 cat conftest.err >&5
12626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && { 12299 (exit $ac_status); } && {
12628 test -z "$ac_c_werror_flag" || 12300 test -z "$ac_c_werror_flag" ||
12629 test ! -s conftest.err 12301 test ! -s conftest.err
12630 } && test -s conftest$ac_exeext && { 12302 } && test -s conftest$ac_exeext &&
12631 test "$cross_compiling" = yes || 12303 $as_test_x conftest$ac_exeext; then
12632 $as_test_x conftest$ac_exeext
12633 }; then
12634 ac_cv_lib_Xp_XpCreateContext=yes 12304 ac_cv_lib_Xp_XpCreateContext=yes
12635 else 12305 else
12636 $as_echo "$as_me: failed program was:" >&5 12306 echo "$as_me: failed program was:" >&5
12637 sed 's/^/| /' conftest.$ac_ext >&5 12307 sed 's/^/| /' conftest.$ac_ext >&5
12638 12308
12639 ac_cv_lib_Xp_XpCreateContext=no 12309 ac_cv_lib_Xp_XpCreateContext=no
12640 fi 12310 fi
12641 12311
12642 rm -rf conftest.dSYM
12643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12644 conftest$ac_exeext conftest.$ac_ext 12313 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_lib_save_LIBS 12314 LIBS=$ac_check_lib_save_LIBS
12646 fi 12315 fi
12647 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 12316 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
12648 $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 12317 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; }
12649 if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then 12318 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
12650 HAVE_LIBXP=yes 12319 HAVE_LIBXP=yes
12651 fi 12320 fi
12652 12321
12653 if test ${HAVE_LIBXP} = yes; then 12322 if test ${HAVE_LIBXP} = yes; then
12654 12323
12656 #define HAVE_LIBXP 1 12325 #define HAVE_LIBXP 1
12657 _ACEOF 12326 _ACEOF
12658 12327
12659 fi 12328 fi
12660 else 12329 else
12661 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 12330 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
12662 $as_echo_n "checking for LessTif where some systems put it... " >&6; } 12331 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; }
12663 if test "${emacs_cv_lesstif+set}" = set; then 12332 if test "${emacs_cv_lesstif+set}" = set; then
12664 $as_echo_n "(cached) " >&6 12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 else 12334 else
12666 # We put this in CFLAGS temporarily to precede other -I options 12335 # We put this in CFLAGS temporarily to precede other -I options
12667 # that might be in CFLAGS temporarily. 12336 # that might be in CFLAGS temporarily.
12668 # We put this in CPPFLAGS where it precedes the other -I options. 12337 # We put this in CPPFLAGS where it precedes the other -I options.
12669 OLD_CPPFLAGS=$CPPFLAGS 12338 OLD_CPPFLAGS=$CPPFLAGS
12689 if { (ac_try="$ac_compile" 12358 if { (ac_try="$ac_compile"
12690 case "(($ac_try" in 12359 case "(($ac_try" in
12691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12692 *) ac_try_echo=$ac_try;; 12361 *) ac_try_echo=$ac_try;;
12693 esac 12362 esac
12694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12695 $as_echo "$ac_try_echo") >&5
12696 (eval "$ac_compile") 2>conftest.er1 12364 (eval "$ac_compile") 2>conftest.er1
12697 ac_status=$? 12365 ac_status=$?
12698 grep -v '^ *+' conftest.er1 >conftest.err 12366 grep -v '^ *+' conftest.er1 >conftest.err
12699 rm -f conftest.er1 12367 rm -f conftest.er1
12700 cat conftest.err >&5 12368 cat conftest.err >&5
12701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } && { 12370 (exit $ac_status); } && {
12703 test -z "$ac_c_werror_flag" || 12371 test -z "$ac_c_werror_flag" ||
12704 test ! -s conftest.err 12372 test ! -s conftest.err
12705 } && test -s conftest.$ac_objext; then 12373 } && test -s conftest.$ac_objext; then
12706 emacs_cv_lesstif=yes 12374 emacs_cv_lesstif=yes
12707 else 12375 else
12708 $as_echo "$as_me: failed program was:" >&5 12376 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5 12377 sed 's/^/| /' conftest.$ac_ext >&5
12710 12378
12711 emacs_cv_lesstif=no 12379 emacs_cv_lesstif=no
12712 fi 12380 fi
12713 12381
12714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12715 fi 12383 fi
12716 { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 12384 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5
12717 $as_echo "$emacs_cv_lesstif" >&6; } 12385 echo "${ECHO_T}$emacs_cv_lesstif" >&6; }
12718 if test $emacs_cv_lesstif = yes; then 12386 if test $emacs_cv_lesstif = yes; then
12719 # Make sure this -I option remains in CPPFLAGS after it is set 12387 # Make sure this -I option remains in CPPFLAGS after it is set
12720 # back to REAL_CPPFLAGS. 12388 # back to REAL_CPPFLAGS.
12721 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not 12389 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
12722 # have those other -I options anyway. Ultimately, having this 12390 # have those other -I options anyway. Ultimately, having this
12785 if { (ac_try="$ac_compile" 12453 if { (ac_try="$ac_compile"
12786 case "(($ac_try" in 12454 case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;; 12456 *) ac_try_echo=$ac_try;;
12789 esac 12457 esac
12790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 $as_echo "$ac_try_echo") >&5
12792 (eval "$ac_compile") 2>conftest.er1 12459 (eval "$ac_compile") 2>conftest.er1
12793 ac_status=$? 12460 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err 12461 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1 12462 rm -f conftest.er1
12796 cat conftest.err >&5 12463 cat conftest.err >&5
12797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } && { 12465 (exit $ac_status); } && {
12799 test -z "$ac_c_werror_flag" || 12466 test -z "$ac_c_werror_flag" ||
12800 test ! -s conftest.err 12467 test ! -s conftest.err
12801 } && test -s conftest.$ac_objext; then 12468 } && test -s conftest.$ac_objext; then
12802 HAVE_XIM=yes 12469 HAVE_XIM=yes
12804 cat >>confdefs.h <<\_ACEOF 12471 cat >>confdefs.h <<\_ACEOF
12805 #define HAVE_XIM 1 12472 #define HAVE_XIM 1
12806 _ACEOF 12473 _ACEOF
12807 12474
12808 else 12475 else
12809 $as_echo "$as_me: failed program was:" >&5 12476 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5 12477 sed 's/^/| /' conftest.$ac_ext >&5
12811 12478
12812 HAVE_XIM=no 12479 HAVE_XIM=no
12813 fi 12480 fi
12814 12481
12863 if { (ac_try="$ac_compile" 12530 if { (ac_try="$ac_compile"
12864 case "(($ac_try" in 12531 case "(($ac_try" in
12865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12866 *) ac_try_echo=$ac_try;; 12533 *) ac_try_echo=$ac_try;;
12867 esac 12534 esac
12868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12869 $as_echo "$ac_try_echo") >&5
12870 (eval "$ac_compile") 2>conftest.er1 12536 (eval "$ac_compile") 2>conftest.er1
12871 ac_status=$? 12537 ac_status=$?
12872 grep -v '^ *+' conftest.er1 >conftest.err 12538 grep -v '^ *+' conftest.er1 >conftest.err
12873 rm -f conftest.er1 12539 rm -f conftest.er1
12874 cat conftest.err >&5 12540 cat conftest.err >&5
12875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } && { 12542 (exit $ac_status); } && {
12877 test -z "$ac_c_werror_flag" || 12543 test -z "$ac_c_werror_flag" ||
12878 test ! -s conftest.err 12544 test ! -s conftest.err
12879 } && test -s conftest.$ac_objext; then 12545 } && test -s conftest.$ac_objext; then
12880 emacs_cv_arg6_star=yes 12546 emacs_cv_arg6_star=yes
12881 else 12547 else
12882 $as_echo "$as_me: failed program was:" >&5 12548 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5 12549 sed 's/^/| /' conftest.$ac_ext >&5
12884 12550
12885 12551
12886 fi 12552 fi
12887 12553
12910 12576
12911 succeeded=no 12577 succeeded=no
12912 12578
12913 # Extract the first word of "pkg-config", so it can be a program name with args. 12579 # Extract the first word of "pkg-config", so it can be a program name with args.
12914 set dummy pkg-config; ac_word=$2 12580 set dummy pkg-config; ac_word=$2
12915 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12916 $as_echo_n "checking for $ac_word... " >&6; } 12582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12583 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12918 $as_echo_n "(cached) " >&6 12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 else 12585 else
12920 case $PKG_CONFIG in 12586 case $PKG_CONFIG in
12921 [\\/]* | ?:[\\/]*) 12587 [\\/]* | ?:[\\/]*)
12922 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12588 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12923 ;; 12589 ;;
12928 IFS=$as_save_IFS 12594 IFS=$as_save_IFS
12929 test -z "$as_dir" && as_dir=. 12595 test -z "$as_dir" && as_dir=.
12930 for ac_exec_ext in '' $ac_executable_extensions; do 12596 for ac_exec_ext in '' $ac_executable_extensions; do
12931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12932 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12598 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12933 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12934 break 2 12600 break 2
12935 fi 12601 fi
12936 done 12602 done
12937 done 12603 done
12938 IFS=$as_save_IFS 12604 IFS=$as_save_IFS
12941 ;; 12607 ;;
12942 esac 12608 esac
12943 fi 12609 fi
12944 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12610 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12945 if test -n "$PKG_CONFIG"; then 12611 if test -n "$PKG_CONFIG"; then
12946 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12612 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12947 $as_echo "$PKG_CONFIG" >&6; } 12613 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12948 else 12614 else
12949 { $as_echo "$as_me:$LINENO: result: no" >&5 12615 { echo "$as_me:$LINENO: result: no" >&5
12950 $as_echo "no" >&6; } 12616 echo "${ECHO_T}no" >&6; }
12951 fi 12617 fi
12952 12618
12953 12619
12954 12620
12955 if test "$PKG_CONFIG" = "no" ; then 12621 if test "$PKG_CONFIG" = "no" ; then
12956 HAVE_FC=no 12622 HAVE_FC=no
12957 else 12623 else
12958 PKG_CONFIG_MIN_VERSION=0.9.0 12624 PKG_CONFIG_MIN_VERSION=0.9.0
12959 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12625 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12960 { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 12626 { echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5
12961 $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } 12627 echo $ECHO_N "checking for fontconfig >= 2.2.0... $ECHO_C" >&6; }
12962 12628
12963 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then 12629 if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then
12964 { $as_echo "$as_me:$LINENO: result: yes" >&5 12630 { echo "$as_me:$LINENO: result: yes" >&5
12965 $as_echo "yes" >&6; } 12631 echo "${ECHO_T}yes" >&6; }
12966 succeeded=yes 12632 succeeded=yes
12967 12633
12968 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 12634 { echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5
12969 $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } 12635 echo $ECHO_N "checking FONTCONFIG_CFLAGS... $ECHO_C" >&6; }
12970 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 12636 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
12971 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 12637 { echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5
12972 $as_echo "$FONTCONFIG_CFLAGS" >&6; } 12638 echo "${ECHO_T}$FONTCONFIG_CFLAGS" >&6; }
12973 12639
12974 { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 12640 { echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5
12975 $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } 12641 echo $ECHO_N "checking FONTCONFIG_LIBS... $ECHO_C" >&6; }
12976 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` 12642 FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'`
12977 { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 12643 { echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5
12978 $as_echo "$FONTCONFIG_LIBS" >&6; } 12644 echo "${ECHO_T}$FONTCONFIG_LIBS" >&6; }
12979 else 12645 else
12980 { $as_echo "$as_me:$LINENO: result: no" >&5 12646 { echo "$as_me:$LINENO: result: no" >&5
12981 $as_echo "no" >&6; } 12647 echo "${ECHO_T}no" >&6; }
12982 FONTCONFIG_CFLAGS="" 12648 FONTCONFIG_CFLAGS=""
12983 FONTCONFIG_LIBS="" 12649 FONTCONFIG_LIBS=""
12984 ## If we have a custom action on failure, don't print errors, but 12650 ## If we have a custom action on failure, don't print errors, but
12985 ## do set a variable so people can do so. 12651 ## do set a variable so people can do so.
12986 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"` 12652 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "fontconfig >= 2.2.0"`
13013 12679
13014 succeeded=no 12680 succeeded=no
13015 12681
13016 # Extract the first word of "pkg-config", so it can be a program name with args. 12682 # Extract the first word of "pkg-config", so it can be a program name with args.
13017 set dummy pkg-config; ac_word=$2 12683 set dummy pkg-config; ac_word=$2
13018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13019 $as_echo_n "checking for $ac_word... " >&6; } 12685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13020 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12686 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13021 $as_echo_n "(cached) " >&6 12687 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 else 12688 else
13023 case $PKG_CONFIG in 12689 case $PKG_CONFIG in
13024 [\\/]* | ?:[\\/]*) 12690 [\\/]* | ?:[\\/]*)
13025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12691 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13026 ;; 12692 ;;
13031 IFS=$as_save_IFS 12697 IFS=$as_save_IFS
13032 test -z "$as_dir" && as_dir=. 12698 test -z "$as_dir" && as_dir=.
13033 for ac_exec_ext in '' $ac_executable_extensions; do 12699 for ac_exec_ext in '' $ac_executable_extensions; do
13034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12701 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13037 break 2 12703 break 2
13038 fi 12704 fi
13039 done 12705 done
13040 done 12706 done
13041 IFS=$as_save_IFS 12707 IFS=$as_save_IFS
13044 ;; 12710 ;;
13045 esac 12711 esac
13046 fi 12712 fi
13047 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12713 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13048 if test -n "$PKG_CONFIG"; then 12714 if test -n "$PKG_CONFIG"; then
13049 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12715 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13050 $as_echo "$PKG_CONFIG" >&6; } 12716 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13051 else 12717 else
13052 { $as_echo "$as_me:$LINENO: result: no" >&5 12718 { echo "$as_me:$LINENO: result: no" >&5
13053 $as_echo "no" >&6; } 12719 echo "${ECHO_T}no" >&6; }
13054 fi 12720 fi
13055 12721
13056 12722
13057 12723
13058 if test "$PKG_CONFIG" = "no" ; then 12724 if test "$PKG_CONFIG" = "no" ; then
13059 HAVE_XFT=no 12725 HAVE_XFT=no
13060 else 12726 else
13061 PKG_CONFIG_MIN_VERSION=0.9.0 12727 PKG_CONFIG_MIN_VERSION=0.9.0
13062 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12728 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13063 { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 12729 { echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5
13064 $as_echo_n "checking for xft >= 0.13.0... " >&6; } 12730 echo $ECHO_N "checking for xft >= 0.13.0... $ECHO_C" >&6; }
13065 12731
13066 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then 12732 if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then
13067 { $as_echo "$as_me:$LINENO: result: yes" >&5 12733 { echo "$as_me:$LINENO: result: yes" >&5
13068 $as_echo "yes" >&6; } 12734 echo "${ECHO_T}yes" >&6; }
13069 succeeded=yes 12735 succeeded=yes
13070 12736
13071 { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 12737 { echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5
13072 $as_echo_n "checking XFT_CFLAGS... " >&6; } 12738 echo $ECHO_N "checking XFT_CFLAGS... $ECHO_C" >&6; }
13073 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` 12739 XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13074 { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 12740 { echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5
13075 $as_echo "$XFT_CFLAGS" >&6; } 12741 echo "${ECHO_T}$XFT_CFLAGS" >&6; }
13076 12742
13077 { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 12743 { echo "$as_me:$LINENO: checking XFT_LIBS" >&5
13078 $as_echo_n "checking XFT_LIBS... " >&6; } 12744 echo $ECHO_N "checking XFT_LIBS... $ECHO_C" >&6; }
13079 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` 12745 XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'`
13080 { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 12746 { echo "$as_me:$LINENO: result: $XFT_LIBS" >&5
13081 $as_echo "$XFT_LIBS" >&6; } 12747 echo "${ECHO_T}$XFT_LIBS" >&6; }
13082 else 12748 else
13083 { $as_echo "$as_me:$LINENO: result: no" >&5 12749 { echo "$as_me:$LINENO: result: no" >&5
13084 $as_echo "no" >&6; } 12750 echo "${ECHO_T}no" >&6; }
13085 XFT_CFLAGS="" 12751 XFT_CFLAGS=""
13086 XFT_LIBS="" 12752 XFT_LIBS=""
13087 ## If we have a custom action on failure, don't print errors, but 12753 ## If we have a custom action on failure, don't print errors, but
13088 ## do set a variable so people can do so. 12754 ## do set a variable so people can do so.
13089 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"` 12755 XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 0.13.0"`
13110 OLD_LIBS="$LIBS" 12776 OLD_LIBS="$LIBS"
13111 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 12777 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
13112 CFLAGS="$CFLAGS $XFT_CFLAGS" 12778 CFLAGS="$CFLAGS $XFT_CFLAGS"
13113 LIBS="$XFT_LIBS $LIBS" 12779 LIBS="$XFT_LIBS $LIBS"
13114 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12780 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13115 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 12781 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13116 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 12782 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
13117 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12783 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13118 $as_echo_n "(cached) " >&6 12784 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 fi 12785 fi
13120 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 12786 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13121 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } 12787 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
13122 else 12788 else
13123 # Is the header compilable? 12789 # Is the header compilable?
13124 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 12790 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5
13125 $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } 12791 echo $ECHO_N "checking X11/Xft/Xft.h usability... $ECHO_C" >&6; }
13126 cat >conftest.$ac_ext <<_ACEOF 12792 cat >conftest.$ac_ext <<_ACEOF
13127 /* confdefs.h. */ 12793 /* confdefs.h. */
13128 _ACEOF 12794 _ACEOF
13129 cat confdefs.h >>conftest.$ac_ext 12795 cat confdefs.h >>conftest.$ac_ext
13130 cat >>conftest.$ac_ext <<_ACEOF 12796 cat >>conftest.$ac_ext <<_ACEOF
13136 if { (ac_try="$ac_compile" 12802 if { (ac_try="$ac_compile"
13137 case "(($ac_try" in 12803 case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;; 12805 *) ac_try_echo=$ac_try;;
13140 esac 12806 esac
13141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 $as_echo "$ac_try_echo") >&5
13143 (eval "$ac_compile") 2>conftest.er1 12808 (eval "$ac_compile") 2>conftest.er1
13144 ac_status=$? 12809 ac_status=$?
13145 grep -v '^ *+' conftest.er1 >conftest.err 12810 grep -v '^ *+' conftest.er1 >conftest.err
13146 rm -f conftest.er1 12811 rm -f conftest.er1
13147 cat conftest.err >&5 12812 cat conftest.err >&5
13148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } && { 12814 (exit $ac_status); } && {
13150 test -z "$ac_c_werror_flag" || 12815 test -z "$ac_c_werror_flag" ||
13151 test ! -s conftest.err 12816 test ! -s conftest.err
13152 } && test -s conftest.$ac_objext; then 12817 } && test -s conftest.$ac_objext; then
13153 ac_header_compiler=yes 12818 ac_header_compiler=yes
13154 else 12819 else
13155 $as_echo "$as_me: failed program was:" >&5 12820 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5 12821 sed 's/^/| /' conftest.$ac_ext >&5
13157 12822
13158 ac_header_compiler=no 12823 ac_header_compiler=no
13159 fi 12824 fi
13160 12825
13161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13162 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12827 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13163 $as_echo "$ac_header_compiler" >&6; } 12828 echo "${ECHO_T}$ac_header_compiler" >&6; }
13164 12829
13165 # Is the header present? 12830 # Is the header present?
13166 { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 12831 { echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5
13167 $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } 12832 echo $ECHO_N "checking X11/Xft/Xft.h presence... $ECHO_C" >&6; }
13168 cat >conftest.$ac_ext <<_ACEOF 12833 cat >conftest.$ac_ext <<_ACEOF
13169 /* confdefs.h. */ 12834 /* confdefs.h. */
13170 _ACEOF 12835 _ACEOF
13171 cat confdefs.h >>conftest.$ac_ext 12836 cat confdefs.h >>conftest.$ac_ext
13172 cat >>conftest.$ac_ext <<_ACEOF 12837 cat >>conftest.$ac_ext <<_ACEOF
13176 if { (ac_try="$ac_cpp conftest.$ac_ext" 12841 if { (ac_try="$ac_cpp conftest.$ac_ext"
13177 case "(($ac_try" in 12842 case "(($ac_try" in
13178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;; 12844 *) ac_try_echo=$ac_try;;
13180 esac 12845 esac
13181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13182 $as_echo "$ac_try_echo") >&5
13183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13184 ac_status=$? 12848 ac_status=$?
13185 grep -v '^ *+' conftest.er1 >conftest.err 12849 grep -v '^ *+' conftest.er1 >conftest.err
13186 rm -f conftest.er1 12850 rm -f conftest.er1
13187 cat conftest.err >&5 12851 cat conftest.err >&5
13188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } >/dev/null && { 12853 (exit $ac_status); } >/dev/null && {
13190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13191 test ! -s conftest.err 12855 test ! -s conftest.err
13192 }; then 12856 }; then
13193 ac_header_preproc=yes 12857 ac_header_preproc=yes
13194 else 12858 else
13195 $as_echo "$as_me: failed program was:" >&5 12859 echo "$as_me: failed program was:" >&5
13196 sed 's/^/| /' conftest.$ac_ext >&5 12860 sed 's/^/| /' conftest.$ac_ext >&5
13197 12861
13198 ac_header_preproc=no 12862 ac_header_preproc=no
13199 fi 12863 fi
13200 12864
13201 rm -f conftest.err conftest.$ac_ext 12865 rm -f conftest.err conftest.$ac_ext
13202 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12866 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13203 $as_echo "$ac_header_preproc" >&6; } 12867 echo "${ECHO_T}$ac_header_preproc" >&6; }
13204 12868
13205 # So? What about this header? 12869 # So? What about this header?
13206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13207 yes:no: ) 12871 yes:no: )
13208 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 12872 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5
13209 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 12873 echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13210 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 12874 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5
13211 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} 12875 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;}
13212 ac_header_preproc=yes 12876 ac_header_preproc=yes
13213 ;; 12877 ;;
13214 no:yes:* ) 12878 no:yes:* )
13215 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 12879 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5
13216 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} 12880 echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;}
13217 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 12881 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5
13218 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} 12882 echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;}
13219 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 12883 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5
13220 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} 12884 echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;}
13221 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 12885 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5
13222 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} 12886 echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;}
13223 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 12887 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5
13224 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} 12888 echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;}
13225 { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 12889 { echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5
13226 $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} 12890 echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;}
13227 12891
13228 ;; 12892 ;;
13229 esac 12893 esac
13230 { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 12894 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
13231 $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } 12895 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
13232 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12896 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
13233 $as_echo_n "(cached) " >&6 12897 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 else 12898 else
13235 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc 12899 ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc
13236 fi 12900 fi
13237 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 12901 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
13238 $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } 12902 echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
13239 12903
13240 fi 12904 fi
13241 if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then 12905 if test $ac_cv_header_X11_Xft_Xft_h = yes; then
13242 { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 12906 { echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5
13243 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 12907 echo $ECHO_N "checking for XftFontOpen in -lXft... $ECHO_C" >&6; }
13244 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then 12908 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then
13245 $as_echo_n "(cached) " >&6 12909 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 else 12910 else
13247 ac_check_lib_save_LIBS=$LIBS 12911 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lXft $XFT_LIBS $LIBS" 12912 LIBS="-lXft $XFT_LIBS $LIBS"
13249 cat >conftest.$ac_ext <<_ACEOF 12913 cat >conftest.$ac_ext <<_ACEOF
13250 /* confdefs.h. */ 12914 /* confdefs.h. */
13272 if { (ac_try="$ac_link" 12936 if { (ac_try="$ac_link"
13273 case "(($ac_try" in 12937 case "(($ac_try" in
13274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13275 *) ac_try_echo=$ac_try;; 12939 *) ac_try_echo=$ac_try;;
13276 esac 12940 esac
13277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13278 $as_echo "$ac_try_echo") >&5
13279 (eval "$ac_link") 2>conftest.er1 12942 (eval "$ac_link") 2>conftest.er1
13280 ac_status=$? 12943 ac_status=$?
13281 grep -v '^ *+' conftest.er1 >conftest.err 12944 grep -v '^ *+' conftest.er1 >conftest.err
13282 rm -f conftest.er1 12945 rm -f conftest.er1
13283 cat conftest.err >&5 12946 cat conftest.err >&5
13284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } && { 12948 (exit $ac_status); } && {
13286 test -z "$ac_c_werror_flag" || 12949 test -z "$ac_c_werror_flag" ||
13287 test ! -s conftest.err 12950 test ! -s conftest.err
13288 } && test -s conftest$ac_exeext && { 12951 } && test -s conftest$ac_exeext &&
13289 test "$cross_compiling" = yes || 12952 $as_test_x conftest$ac_exeext; then
13290 $as_test_x conftest$ac_exeext
13291 }; then
13292 ac_cv_lib_Xft_XftFontOpen=yes 12953 ac_cv_lib_Xft_XftFontOpen=yes
13293 else 12954 else
13294 $as_echo "$as_me: failed program was:" >&5 12955 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.$ac_ext >&5 12956 sed 's/^/| /' conftest.$ac_ext >&5
13296 12957
13297 ac_cv_lib_Xft_XftFontOpen=no 12958 ac_cv_lib_Xft_XftFontOpen=no
13298 fi 12959 fi
13299 12960
13300 rm -rf conftest.dSYM
13301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13302 conftest$ac_exeext conftest.$ac_ext 12962 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_lib_save_LIBS 12963 LIBS=$ac_check_lib_save_LIBS
13304 fi 12964 fi
13305 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 12965 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5
13306 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 12966 echo "${ECHO_T}$ac_cv_lib_Xft_XftFontOpen" >&6; }
13307 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then 12967 if test $ac_cv_lib_Xft_XftFontOpen = yes; then
13308 HAVE_XFT=yes 12968 HAVE_XFT=yes
13309 fi 12969 fi
13310 12970
13311 fi 12971 fi
13312 12972
13344 13004
13345 succeeded=no 13005 succeeded=no
13346 13006
13347 # Extract the first word of "pkg-config", so it can be a program name with args. 13007 # Extract the first word of "pkg-config", so it can be a program name with args.
13348 set dummy pkg-config; ac_word=$2 13008 set dummy pkg-config; ac_word=$2
13349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13350 $as_echo_n "checking for $ac_word... " >&6; } 13010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13352 $as_echo_n "(cached) " >&6 13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else 13013 else
13354 case $PKG_CONFIG in 13014 case $PKG_CONFIG in
13355 [\\/]* | ?:[\\/]*) 13015 [\\/]* | ?:[\\/]*)
13356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13016 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13357 ;; 13017 ;;
13362 IFS=$as_save_IFS 13022 IFS=$as_save_IFS
13363 test -z "$as_dir" && as_dir=. 13023 test -z "$as_dir" && as_dir=.
13364 for ac_exec_ext in '' $ac_executable_extensions; do 13024 for ac_exec_ext in '' $ac_executable_extensions; do
13365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13026 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13368 break 2 13028 break 2
13369 fi 13029 fi
13370 done 13030 done
13371 done 13031 done
13372 IFS=$as_save_IFS 13032 IFS=$as_save_IFS
13375 ;; 13035 ;;
13376 esac 13036 esac
13377 fi 13037 fi
13378 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13038 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13379 if test -n "$PKG_CONFIG"; then 13039 if test -n "$PKG_CONFIG"; then
13380 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13040 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13381 $as_echo "$PKG_CONFIG" >&6; } 13041 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13382 else 13042 else
13383 { $as_echo "$as_me:$LINENO: result: no" >&5 13043 { echo "$as_me:$LINENO: result: no" >&5
13384 $as_echo "no" >&6; } 13044 echo "${ECHO_T}no" >&6; }
13385 fi 13045 fi
13386 13046
13387 13047
13388 13048
13389 if test "$PKG_CONFIG" = "no" ; then 13049 if test "$PKG_CONFIG" = "no" ; then
13390 HAVE_FREETYPE=no 13050 HAVE_FREETYPE=no
13391 else 13051 else
13392 PKG_CONFIG_MIN_VERSION=0.9.0 13052 PKG_CONFIG_MIN_VERSION=0.9.0
13393 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13053 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13394 { $as_echo "$as_me:$LINENO: checking for freetype2" >&5 13054 { echo "$as_me:$LINENO: checking for freetype2" >&5
13395 $as_echo_n "checking for freetype2... " >&6; } 13055 echo $ECHO_N "checking for freetype2... $ECHO_C" >&6; }
13396 13056
13397 if $PKG_CONFIG --exists "freetype2" 2>&5; then 13057 if $PKG_CONFIG --exists "freetype2" 2>&5; then
13398 { $as_echo "$as_me:$LINENO: result: yes" >&5 13058 { echo "$as_me:$LINENO: result: yes" >&5
13399 $as_echo "yes" >&6; } 13059 echo "${ECHO_T}yes" >&6; }
13400 succeeded=yes 13060 succeeded=yes
13401 13061
13402 { $as_echo "$as_me:$LINENO: checking FREETYPE_CFLAGS" >&5 13062 { echo "$as_me:$LINENO: checking FREETYPE_CFLAGS" >&5
13403 $as_echo_n "checking FREETYPE_CFLAGS... " >&6; } 13063 echo $ECHO_N "checking FREETYPE_CFLAGS... $ECHO_C" >&6; }
13404 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2"|sed -e 's,///*,/,g'` 13064 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2"|sed -e 's,///*,/,g'`
13405 { $as_echo "$as_me:$LINENO: result: $FREETYPE_CFLAGS" >&5 13065 { echo "$as_me:$LINENO: result: $FREETYPE_CFLAGS" >&5
13406 $as_echo "$FREETYPE_CFLAGS" >&6; } 13066 echo "${ECHO_T}$FREETYPE_CFLAGS" >&6; }
13407 13067
13408 { $as_echo "$as_me:$LINENO: checking FREETYPE_LIBS" >&5 13068 { echo "$as_me:$LINENO: checking FREETYPE_LIBS" >&5
13409 $as_echo_n "checking FREETYPE_LIBS... " >&6; } 13069 echo $ECHO_N "checking FREETYPE_LIBS... $ECHO_C" >&6; }
13410 FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2"|sed -e 's,///*,/,g'` 13070 FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2"|sed -e 's,///*,/,g'`
13411 { $as_echo "$as_me:$LINENO: result: $FREETYPE_LIBS" >&5 13071 { echo "$as_me:$LINENO: result: $FREETYPE_LIBS" >&5
13412 $as_echo "$FREETYPE_LIBS" >&6; } 13072 echo "${ECHO_T}$FREETYPE_LIBS" >&6; }
13413 else 13073 else
13414 { $as_echo "$as_me:$LINENO: result: no" >&5 13074 { echo "$as_me:$LINENO: result: no" >&5
13415 $as_echo "no" >&6; } 13075 echo "${ECHO_T}no" >&6; }
13416 FREETYPE_CFLAGS="" 13076 FREETYPE_CFLAGS=""
13417 FREETYPE_LIBS="" 13077 FREETYPE_LIBS=""
13418 ## If we have a custom action on failure, don't print errors, but 13078 ## If we have a custom action on failure, don't print errors, but
13419 ## do set a variable so people can do so. 13079 ## do set a variable so people can do so.
13420 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"` 13080 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
13448 13108
13449 succeeded=no 13109 succeeded=no
13450 13110
13451 # Extract the first word of "pkg-config", so it can be a program name with args. 13111 # Extract the first word of "pkg-config", so it can be a program name with args.
13452 set dummy pkg-config; ac_word=$2 13112 set dummy pkg-config; ac_word=$2
13453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13454 $as_echo_n "checking for $ac_word... " >&6; } 13114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13455 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13115 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13456 $as_echo_n "(cached) " >&6 13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else 13117 else
13458 case $PKG_CONFIG in 13118 case $PKG_CONFIG in
13459 [\\/]* | ?:[\\/]*) 13119 [\\/]* | ?:[\\/]*)
13460 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13120 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13461 ;; 13121 ;;
13466 IFS=$as_save_IFS 13126 IFS=$as_save_IFS
13467 test -z "$as_dir" && as_dir=. 13127 test -z "$as_dir" && as_dir=.
13468 for ac_exec_ext in '' $ac_executable_extensions; do 13128 for ac_exec_ext in '' $ac_executable_extensions; do
13469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13470 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13130 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13472 break 2 13132 break 2
13473 fi 13133 fi
13474 done 13134 done
13475 done 13135 done
13476 IFS=$as_save_IFS 13136 IFS=$as_save_IFS
13479 ;; 13139 ;;
13480 esac 13140 esac
13481 fi 13141 fi
13482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13142 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13483 if test -n "$PKG_CONFIG"; then 13143 if test -n "$PKG_CONFIG"; then
13484 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13144 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13485 $as_echo "$PKG_CONFIG" >&6; } 13145 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13486 else 13146 else
13487 { $as_echo "$as_me:$LINENO: result: no" >&5 13147 { echo "$as_me:$LINENO: result: no" >&5
13488 $as_echo "no" >&6; } 13148 echo "${ECHO_T}no" >&6; }
13489 fi 13149 fi
13490 13150
13491 13151
13492 13152
13493 if test "$PKG_CONFIG" = "no" ; then 13153 if test "$PKG_CONFIG" = "no" ; then
13494 HAVE_LIBOTF=no 13154 HAVE_LIBOTF=no
13495 else 13155 else
13496 PKG_CONFIG_MIN_VERSION=0.9.0 13156 PKG_CONFIG_MIN_VERSION=0.9.0
13497 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13157 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13498 { $as_echo "$as_me:$LINENO: checking for libotf" >&5 13158 { echo "$as_me:$LINENO: checking for libotf" >&5
13499 $as_echo_n "checking for libotf... " >&6; } 13159 echo $ECHO_N "checking for libotf... $ECHO_C" >&6; }
13500 13160
13501 if $PKG_CONFIG --exists "libotf" 2>&5; then 13161 if $PKG_CONFIG --exists "libotf" 2>&5; then
13502 { $as_echo "$as_me:$LINENO: result: yes" >&5 13162 { echo "$as_me:$LINENO: result: yes" >&5
13503 $as_echo "yes" >&6; } 13163 echo "${ECHO_T}yes" >&6; }
13504 succeeded=yes 13164 succeeded=yes
13505 13165
13506 { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 13166 { echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5
13507 $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } 13167 echo $ECHO_N "checking LIBOTF_CFLAGS... $ECHO_C" >&6; }
13508 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` 13168 LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'`
13509 { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 13169 { echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5
13510 $as_echo "$LIBOTF_CFLAGS" >&6; } 13170 echo "${ECHO_T}$LIBOTF_CFLAGS" >&6; }
13511 13171
13512 { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 13172 { echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5
13513 $as_echo_n "checking LIBOTF_LIBS... " >&6; } 13173 echo $ECHO_N "checking LIBOTF_LIBS... $ECHO_C" >&6; }
13514 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` 13174 LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'`
13515 { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 13175 { echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5
13516 $as_echo "$LIBOTF_LIBS" >&6; } 13176 echo "${ECHO_T}$LIBOTF_LIBS" >&6; }
13517 else 13177 else
13518 { $as_echo "$as_me:$LINENO: result: no" >&5 13178 { echo "$as_me:$LINENO: result: no" >&5
13519 $as_echo "no" >&6; } 13179 echo "${ECHO_T}no" >&6; }
13520 LIBOTF_CFLAGS="" 13180 LIBOTF_CFLAGS=""
13521 LIBOTF_LIBS="" 13181 LIBOTF_LIBS=""
13522 ## If we have a custom action on failure, don't print errors, but 13182 ## If we have a custom action on failure, don't print errors, but
13523 ## do set a variable so people can do so. 13183 ## do set a variable so people can do so.
13524 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"` 13184 LIBOTF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libotf"`
13543 13203
13544 cat >>confdefs.h <<\_ACEOF 13204 cat >>confdefs.h <<\_ACEOF
13545 #define HAVE_LIBOTF 1 13205 #define HAVE_LIBOTF 1
13546 _ACEOF 13206 _ACEOF
13547 13207
13548 { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 13208 { echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5
13549 $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } 13209 echo $ECHO_N "checking for OTF_get_variation_glyphs in -lotf... $ECHO_C" >&6; }
13550 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then 13210 if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then
13551 $as_echo_n "(cached) " >&6 13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 else 13212 else
13553 ac_check_lib_save_LIBS=$LIBS 13213 ac_check_lib_save_LIBS=$LIBS
13554 LIBS="-lotf $LIBS" 13214 LIBS="-lotf $LIBS"
13555 cat >conftest.$ac_ext <<_ACEOF 13215 cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h. */ 13216 /* confdefs.h. */
13578 if { (ac_try="$ac_link" 13238 if { (ac_try="$ac_link"
13579 case "(($ac_try" in 13239 case "(($ac_try" in
13580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581 *) ac_try_echo=$ac_try;; 13241 *) ac_try_echo=$ac_try;;
13582 esac 13242 esac
13583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13584 $as_echo "$ac_try_echo") >&5
13585 (eval "$ac_link") 2>conftest.er1 13244 (eval "$ac_link") 2>conftest.er1
13586 ac_status=$? 13245 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err 13246 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1 13247 rm -f conftest.er1
13589 cat conftest.err >&5 13248 cat conftest.err >&5
13590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && { 13250 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" || 13251 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err 13252 test ! -s conftest.err
13594 } && test -s conftest$ac_exeext && { 13253 } && test -s conftest$ac_exeext &&
13595 test "$cross_compiling" = yes || 13254 $as_test_x conftest$ac_exeext; then
13596 $as_test_x conftest$ac_exeext
13597 }; then
13598 ac_cv_lib_otf_OTF_get_variation_glyphs=yes 13255 ac_cv_lib_otf_OTF_get_variation_glyphs=yes
13599 else 13256 else
13600 $as_echo "$as_me: failed program was:" >&5 13257 echo "$as_me: failed program was:" >&5
13601 sed 's/^/| /' conftest.$ac_ext >&5 13258 sed 's/^/| /' conftest.$ac_ext >&5
13602 13259
13603 ac_cv_lib_otf_OTF_get_variation_glyphs=no 13260 ac_cv_lib_otf_OTF_get_variation_glyphs=no
13604 fi 13261 fi
13605 13262
13606 rm -rf conftest.dSYM
13607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13608 conftest$ac_exeext conftest.$ac_ext 13264 conftest$ac_exeext conftest.$ac_ext
13609 LIBS=$ac_check_lib_save_LIBS 13265 LIBS=$ac_check_lib_save_LIBS
13610 fi 13266 fi
13611 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 13267 { echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5
13612 $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } 13268 echo "${ECHO_T}$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; }
13613 if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then 13269 if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then
13614 HAVE_OTF_GET_VARIATION_GLYPHS=yes 13270 HAVE_OTF_GET_VARIATION_GLYPHS=yes
13615 else 13271 else
13616 HAVE_OTF_GET_VARIATION_GLYPHS=no 13272 HAVE_OTF_GET_VARIATION_GLYPHS=no
13617 fi 13273 fi
13618 13274
13633 13289
13634 succeeded=no 13290 succeeded=no
13635 13291
13636 # Extract the first word of "pkg-config", so it can be a program name with args. 13292 # Extract the first word of "pkg-config", so it can be a program name with args.
13637 set dummy pkg-config; ac_word=$2 13293 set dummy pkg-config; ac_word=$2
13638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13639 $as_echo_n "checking for $ac_word... " >&6; } 13295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13640 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 13296 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13641 $as_echo_n "(cached) " >&6 13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 else 13298 else
13643 case $PKG_CONFIG in 13299 case $PKG_CONFIG in
13644 [\\/]* | ?:[\\/]*) 13300 [\\/]* | ?:[\\/]*)
13645 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13301 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13646 ;; 13302 ;;
13651 IFS=$as_save_IFS 13307 IFS=$as_save_IFS
13652 test -z "$as_dir" && as_dir=. 13308 test -z "$as_dir" && as_dir=.
13653 for ac_exec_ext in '' $ac_executable_extensions; do 13309 for ac_exec_ext in '' $ac_executable_extensions; do
13654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13655 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13311 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13656 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13657 break 2 13313 break 2
13658 fi 13314 fi
13659 done 13315 done
13660 done 13316 done
13661 IFS=$as_save_IFS 13317 IFS=$as_save_IFS
13664 ;; 13320 ;;
13665 esac 13321 esac
13666 fi 13322 fi
13667 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13323 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13668 if test -n "$PKG_CONFIG"; then 13324 if test -n "$PKG_CONFIG"; then
13669 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 13325 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13670 $as_echo "$PKG_CONFIG" >&6; } 13326 echo "${ECHO_T}$PKG_CONFIG" >&6; }
13671 else 13327 else
13672 { $as_echo "$as_me:$LINENO: result: no" >&5 13328 { echo "$as_me:$LINENO: result: no" >&5
13673 $as_echo "no" >&6; } 13329 echo "${ECHO_T}no" >&6; }
13674 fi 13330 fi
13675 13331
13676 13332
13677 13333
13678 if test "$PKG_CONFIG" = "no" ; then 13334 if test "$PKG_CONFIG" = "no" ; then
13679 HAVE_M17N_FLT=no 13335 HAVE_M17N_FLT=no
13680 else 13336 else
13681 PKG_CONFIG_MIN_VERSION=0.9.0 13337 PKG_CONFIG_MIN_VERSION=0.9.0
13682 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13338 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13683 { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 13339 { echo "$as_me:$LINENO: checking for m17n-flt" >&5
13684 $as_echo_n "checking for m17n-flt... " >&6; } 13340 echo $ECHO_N "checking for m17n-flt... $ECHO_C" >&6; }
13685 13341
13686 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then 13342 if $PKG_CONFIG --exists "m17n-flt" 2>&5; then
13687 { $as_echo "$as_me:$LINENO: result: yes" >&5 13343 { echo "$as_me:$LINENO: result: yes" >&5
13688 $as_echo "yes" >&6; } 13344 echo "${ECHO_T}yes" >&6; }
13689 succeeded=yes 13345 succeeded=yes
13690 13346
13691 { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 13347 { echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5
13692 $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } 13348 echo $ECHO_N "checking M17N_FLT_CFLAGS... $ECHO_C" >&6; }
13693 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` 13349 M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'`
13694 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 13350 { echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5
13695 $as_echo "$M17N_FLT_CFLAGS" >&6; } 13351 echo "${ECHO_T}$M17N_FLT_CFLAGS" >&6; }
13696 13352
13697 { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 13353 { echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5
13698 $as_echo_n "checking M17N_FLT_LIBS... " >&6; } 13354 echo $ECHO_N "checking M17N_FLT_LIBS... $ECHO_C" >&6; }
13699 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` 13355 M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'`
13700 { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 13356 { echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5
13701 $as_echo "$M17N_FLT_LIBS" >&6; } 13357 echo "${ECHO_T}$M17N_FLT_LIBS" >&6; }
13702 else 13358 else
13703 { $as_echo "$as_me:$LINENO: result: no" >&5 13359 { echo "$as_me:$LINENO: result: no" >&5
13704 $as_echo "no" >&6; } 13360 echo "${ECHO_T}no" >&6; }
13705 M17N_FLT_CFLAGS="" 13361 M17N_FLT_CFLAGS=""
13706 M17N_FLT_LIBS="" 13362 M17N_FLT_LIBS=""
13707 ## If we have a custom action on failure, don't print errors, but 13363 ## If we have a custom action on failure, don't print errors, but
13708 ## do set a variable so people can do so. 13364 ## do set a variable so people can do so.
13709 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"` 13365 M17N_FLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "m17n-flt"`
13753 ### Use -lXpm if available, unless `--with-xpm=no'. 13409 ### Use -lXpm if available, unless `--with-xpm=no'.
13754 HAVE_XPM=no 13410 HAVE_XPM=no
13755 if test "${HAVE_X11}" = "yes"; then 13411 if test "${HAVE_X11}" = "yes"; then
13756 if test "${with_xpm}" != "no"; then 13412 if test "${with_xpm}" != "no"; then
13757 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13413 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13758 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13414 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13759 $as_echo_n "checking for X11/xpm.h... " >&6; } 13415 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
13760 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13416 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13761 $as_echo_n "(cached) " >&6 13417 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 fi 13418 fi
13763 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13419 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13764 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } 13420 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
13765 else 13421 else
13766 # Is the header compilable? 13422 # Is the header compilable?
13767 { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 13423 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5
13768 $as_echo_n "checking X11/xpm.h usability... " >&6; } 13424 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; }
13769 cat >conftest.$ac_ext <<_ACEOF 13425 cat >conftest.$ac_ext <<_ACEOF
13770 /* confdefs.h. */ 13426 /* confdefs.h. */
13771 _ACEOF 13427 _ACEOF
13772 cat confdefs.h >>conftest.$ac_ext 13428 cat confdefs.h >>conftest.$ac_ext
13773 cat >>conftest.$ac_ext <<_ACEOF 13429 cat >>conftest.$ac_ext <<_ACEOF
13779 if { (ac_try="$ac_compile" 13435 if { (ac_try="$ac_compile"
13780 case "(($ac_try" in 13436 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;; 13438 *) ac_try_echo=$ac_try;;
13783 esac 13439 esac
13784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 $as_echo "$ac_try_echo") >&5
13786 (eval "$ac_compile") 2>conftest.er1 13441 (eval "$ac_compile") 2>conftest.er1
13787 ac_status=$? 13442 ac_status=$?
13788 grep -v '^ *+' conftest.er1 >conftest.err 13443 grep -v '^ *+' conftest.er1 >conftest.err
13789 rm -f conftest.er1 13444 rm -f conftest.er1
13790 cat conftest.err >&5 13445 cat conftest.err >&5
13791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && { 13447 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" || 13448 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err 13449 test ! -s conftest.err
13795 } && test -s conftest.$ac_objext; then 13450 } && test -s conftest.$ac_objext; then
13796 ac_header_compiler=yes 13451 ac_header_compiler=yes
13797 else 13452 else
13798 $as_echo "$as_me: failed program was:" >&5 13453 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5 13454 sed 's/^/| /' conftest.$ac_ext >&5
13800 13455
13801 ac_header_compiler=no 13456 ac_header_compiler=no
13802 fi 13457 fi
13803 13458
13804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13805 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13460 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13806 $as_echo "$ac_header_compiler" >&6; } 13461 echo "${ECHO_T}$ac_header_compiler" >&6; }
13807 13462
13808 # Is the header present? 13463 # Is the header present?
13809 { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 13464 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5
13810 $as_echo_n "checking X11/xpm.h presence... " >&6; } 13465 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; }
13811 cat >conftest.$ac_ext <<_ACEOF 13466 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */ 13467 /* confdefs.h. */
13813 _ACEOF 13468 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext 13469 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF 13470 cat >>conftest.$ac_ext <<_ACEOF
13819 if { (ac_try="$ac_cpp conftest.$ac_ext" 13474 if { (ac_try="$ac_cpp conftest.$ac_ext"
13820 case "(($ac_try" in 13475 case "(($ac_try" in
13821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13822 *) ac_try_echo=$ac_try;; 13477 *) ac_try_echo=$ac_try;;
13823 esac 13478 esac
13824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13825 $as_echo "$ac_try_echo") >&5
13826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13827 ac_status=$? 13481 ac_status=$?
13828 grep -v '^ *+' conftest.er1 >conftest.err 13482 grep -v '^ *+' conftest.er1 >conftest.err
13829 rm -f conftest.er1 13483 rm -f conftest.er1
13830 cat conftest.err >&5 13484 cat conftest.err >&5
13831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } >/dev/null && { 13486 (exit $ac_status); } >/dev/null && {
13833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13834 test ! -s conftest.err 13488 test ! -s conftest.err
13835 }; then 13489 }; then
13836 ac_header_preproc=yes 13490 ac_header_preproc=yes
13837 else 13491 else
13838 $as_echo "$as_me: failed program was:" >&5 13492 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.$ac_ext >&5 13493 sed 's/^/| /' conftest.$ac_ext >&5
13840 13494
13841 ac_header_preproc=no 13495 ac_header_preproc=no
13842 fi 13496 fi
13843 13497
13844 rm -f conftest.err conftest.$ac_ext 13498 rm -f conftest.err conftest.$ac_ext
13845 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13499 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13846 $as_echo "$ac_header_preproc" >&6; } 13500 echo "${ECHO_T}$ac_header_preproc" >&6; }
13847 13501
13848 # So? What about this header? 13502 # So? What about this header?
13849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13850 yes:no: ) 13504 yes:no: )
13851 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 13505 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
13852 $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13506 echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13853 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 13507 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5
13854 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} 13508 echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;}
13855 ac_header_preproc=yes 13509 ac_header_preproc=yes
13856 ;; 13510 ;;
13857 no:yes:* ) 13511 no:yes:* )
13858 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 13512 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5
13859 $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} 13513 echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;}
13860 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 13514 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5
13861 $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} 13515 echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;}
13862 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 13516 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5
13863 $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} 13517 echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;}
13864 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 13518 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5
13865 $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 13519 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
13866 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 13520 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5
13867 $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} 13521 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;}
13868 { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 13522 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5
13869 $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} 13523 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;}
13870 13524
13871 ;; 13525 ;;
13872 esac 13526 esac
13873 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 13527 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
13874 $as_echo_n "checking for X11/xpm.h... " >&6; } 13528 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
13875 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 13529 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
13876 $as_echo_n "(cached) " >&6 13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 else 13531 else
13878 ac_cv_header_X11_xpm_h=$ac_header_preproc 13532 ac_cv_header_X11_xpm_h=$ac_header_preproc
13879 fi 13533 fi
13880 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 13534 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5
13881 $as_echo "$ac_cv_header_X11_xpm_h" >&6; } 13535 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; }
13882 13536
13883 fi 13537 fi
13884 if test "x$ac_cv_header_X11_xpm_h" = x""yes; then 13538 if test $ac_cv_header_X11_xpm_h = yes; then
13885 { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 13539 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5
13886 $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } 13540 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }
13887 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 13541 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
13888 $as_echo_n "(cached) " >&6 13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13889 else 13543 else
13890 ac_check_lib_save_LIBS=$LIBS 13544 ac_check_lib_save_LIBS=$LIBS
13891 LIBS="-lXpm -lX11 $LIBS" 13545 LIBS="-lXpm -lX11 $LIBS"
13892 cat >conftest.$ac_ext <<_ACEOF 13546 cat >conftest.$ac_ext <<_ACEOF
13893 /* confdefs.h. */ 13547 /* confdefs.h. */
13915 if { (ac_try="$ac_link" 13569 if { (ac_try="$ac_link"
13916 case "(($ac_try" in 13570 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;; 13572 *) ac_try_echo=$ac_try;;
13919 esac 13573 esac
13920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 $as_echo "$ac_try_echo") >&5
13922 (eval "$ac_link") 2>conftest.er1 13575 (eval "$ac_link") 2>conftest.er1
13923 ac_status=$? 13576 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err 13577 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1 13578 rm -f conftest.er1
13926 cat conftest.err >&5 13579 cat conftest.err >&5
13927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && { 13581 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" || 13582 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err 13583 test ! -s conftest.err
13931 } && test -s conftest$ac_exeext && { 13584 } && test -s conftest$ac_exeext &&
13932 test "$cross_compiling" = yes || 13585 $as_test_x conftest$ac_exeext; then
13933 $as_test_x conftest$ac_exeext
13934 }; then
13935 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 13586 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
13936 else 13587 else
13937 $as_echo "$as_me: failed program was:" >&5 13588 echo "$as_me: failed program was:" >&5
13938 sed 's/^/| /' conftest.$ac_ext >&5 13589 sed 's/^/| /' conftest.$ac_ext >&5
13939 13590
13940 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 13591 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
13941 fi 13592 fi
13942 13593
13943 rm -rf conftest.dSYM
13944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13945 conftest$ac_exeext conftest.$ac_ext 13595 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_lib_save_LIBS 13596 LIBS=$ac_check_lib_save_LIBS
13947 fi 13597 fi
13948 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 13598 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
13949 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } 13599 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }
13950 if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then 13600 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
13951 HAVE_XPM=yes 13601 HAVE_XPM=yes
13952 fi 13602 fi
13953 13603
13954 fi 13604 fi
13955 13605
13956 13606
13957 if test "${HAVE_XPM}" = "yes"; then 13607 if test "${HAVE_XPM}" = "yes"; then
13958 { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 13608 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5
13959 $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } 13609 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; }
13960 cat >conftest.$ac_ext <<_ACEOF 13610 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h. */ 13611 /* confdefs.h. */
13962 _ACEOF 13612 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext 13613 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF 13614 cat >>conftest.$ac_ext <<_ACEOF
13977 fi 13627 fi
13978 rm -f conftest* 13628 rm -f conftest*
13979 13629
13980 13630
13981 if test "${HAVE_XPM}" = "yes"; then 13631 if test "${HAVE_XPM}" = "yes"; then
13982 { $as_echo "$as_me:$LINENO: result: yes" >&5 13632 { echo "$as_me:$LINENO: result: yes" >&5
13983 $as_echo "yes" >&6; } 13633 echo "${ECHO_T}yes" >&6; }
13984 else 13634 else
13985 { $as_echo "$as_me:$LINENO: result: no" >&5 13635 { echo "$as_me:$LINENO: result: no" >&5
13986 $as_echo "no" >&6; } 13636 echo "${ECHO_T}no" >&6; }
13987 fi 13637 fi
13988 fi 13638 fi
13989 fi 13639 fi
13990 13640
13991 if test "${HAVE_XPM}" = "yes"; then 13641 if test "${HAVE_XPM}" = "yes"; then
14000 ### Use -ljpeg if available, unless `--with-jpeg=no'. 13650 ### Use -ljpeg if available, unless `--with-jpeg=no'.
14001 HAVE_JPEG=no 13651 HAVE_JPEG=no
14002 if test "${HAVE_X11}" = "yes"; then 13652 if test "${HAVE_X11}" = "yes"; then
14003 if test "${with_jpeg}" != "no"; then 13653 if test "${with_jpeg}" != "no"; then
14004 if test "${ac_cv_header_jerror_h+set}" = set; then 13654 if test "${ac_cv_header_jerror_h+set}" = set; then
14005 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 13655 { echo "$as_me:$LINENO: checking for jerror.h" >&5
14006 $as_echo_n "checking for jerror.h... " >&6; } 13656 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
14007 if test "${ac_cv_header_jerror_h+set}" = set; then 13657 if test "${ac_cv_header_jerror_h+set}" = set; then
14008 $as_echo_n "(cached) " >&6 13658 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 fi 13659 fi
14010 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 13660 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14011 $as_echo "$ac_cv_header_jerror_h" >&6; } 13661 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
14012 else 13662 else
14013 # Is the header compilable? 13663 # Is the header compilable?
14014 { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 13664 { echo "$as_me:$LINENO: checking jerror.h usability" >&5
14015 $as_echo_n "checking jerror.h usability... " >&6; } 13665 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; }
14016 cat >conftest.$ac_ext <<_ACEOF 13666 cat >conftest.$ac_ext <<_ACEOF
14017 /* confdefs.h. */ 13667 /* confdefs.h. */
14018 _ACEOF 13668 _ACEOF
14019 cat confdefs.h >>conftest.$ac_ext 13669 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF 13670 cat >>conftest.$ac_ext <<_ACEOF
14026 if { (ac_try="$ac_compile" 13676 if { (ac_try="$ac_compile"
14027 case "(($ac_try" in 13677 case "(($ac_try" in
14028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14029 *) ac_try_echo=$ac_try;; 13679 *) ac_try_echo=$ac_try;;
14030 esac 13680 esac
14031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032 $as_echo "$ac_try_echo") >&5
14033 (eval "$ac_compile") 2>conftest.er1 13682 (eval "$ac_compile") 2>conftest.er1
14034 ac_status=$? 13683 ac_status=$?
14035 grep -v '^ *+' conftest.er1 >conftest.err 13684 grep -v '^ *+' conftest.er1 >conftest.err
14036 rm -f conftest.er1 13685 rm -f conftest.er1
14037 cat conftest.err >&5 13686 cat conftest.err >&5
14038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } && { 13688 (exit $ac_status); } && {
14040 test -z "$ac_c_werror_flag" || 13689 test -z "$ac_c_werror_flag" ||
14041 test ! -s conftest.err 13690 test ! -s conftest.err
14042 } && test -s conftest.$ac_objext; then 13691 } && test -s conftest.$ac_objext; then
14043 ac_header_compiler=yes 13692 ac_header_compiler=yes
14044 else 13693 else
14045 $as_echo "$as_me: failed program was:" >&5 13694 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5 13695 sed 's/^/| /' conftest.$ac_ext >&5
14047 13696
14048 ac_header_compiler=no 13697 ac_header_compiler=no
14049 fi 13698 fi
14050 13699
14051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14052 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13701 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14053 $as_echo "$ac_header_compiler" >&6; } 13702 echo "${ECHO_T}$ac_header_compiler" >&6; }
14054 13703
14055 # Is the header present? 13704 # Is the header present?
14056 { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 13705 { echo "$as_me:$LINENO: checking jerror.h presence" >&5
14057 $as_echo_n "checking jerror.h presence... " >&6; } 13706 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; }
14058 cat >conftest.$ac_ext <<_ACEOF 13707 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */ 13708 /* confdefs.h. */
14060 _ACEOF 13709 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext 13710 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF 13711 cat >>conftest.$ac_ext <<_ACEOF
14066 if { (ac_try="$ac_cpp conftest.$ac_ext" 13715 if { (ac_try="$ac_cpp conftest.$ac_ext"
14067 case "(($ac_try" in 13716 case "(($ac_try" in
14068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14069 *) ac_try_echo=$ac_try;; 13718 *) ac_try_echo=$ac_try;;
14070 esac 13719 esac
14071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14072 $as_echo "$ac_try_echo") >&5
14073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14074 ac_status=$? 13722 ac_status=$?
14075 grep -v '^ *+' conftest.er1 >conftest.err 13723 grep -v '^ *+' conftest.er1 >conftest.err
14076 rm -f conftest.er1 13724 rm -f conftest.er1
14077 cat conftest.err >&5 13725 cat conftest.err >&5
14078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } >/dev/null && { 13727 (exit $ac_status); } >/dev/null && {
14080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14081 test ! -s conftest.err 13729 test ! -s conftest.err
14082 }; then 13730 }; then
14083 ac_header_preproc=yes 13731 ac_header_preproc=yes
14084 else 13732 else
14085 $as_echo "$as_me: failed program was:" >&5 13733 echo "$as_me: failed program was:" >&5
14086 sed 's/^/| /' conftest.$ac_ext >&5 13734 sed 's/^/| /' conftest.$ac_ext >&5
14087 13735
14088 ac_header_preproc=no 13736 ac_header_preproc=no
14089 fi 13737 fi
14090 13738
14091 rm -f conftest.err conftest.$ac_ext 13739 rm -f conftest.err conftest.$ac_ext
14092 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13740 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14093 $as_echo "$ac_header_preproc" >&6; } 13741 echo "${ECHO_T}$ac_header_preproc" >&6; }
14094 13742
14095 # So? What about this header? 13743 # So? What about this header?
14096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14097 yes:no: ) 13745 yes:no: )
14098 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 13746 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5
14099 $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13747 echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14100 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 13748 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5
14101 $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} 13749 echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;}
14102 ac_header_preproc=yes 13750 ac_header_preproc=yes
14103 ;; 13751 ;;
14104 no:yes:* ) 13752 no:yes:* )
14105 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 13753 { echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5
14106 $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} 13754 echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;}
14107 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 13755 { echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5
14108 $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} 13756 echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;}
14109 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 13757 { echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5
14110 $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} 13758 echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;}
14111 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 13759 { echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5
14112 $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} 13760 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;}
14113 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 13761 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5
14114 $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} 13762 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;}
14115 { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 13763 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5
14116 $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} 13764 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;}
14117 13765
14118 ;; 13766 ;;
14119 esac 13767 esac
14120 { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 13768 { echo "$as_me:$LINENO: checking for jerror.h" >&5
14121 $as_echo_n "checking for jerror.h... " >&6; } 13769 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; }
14122 if test "${ac_cv_header_jerror_h+set}" = set; then 13770 if test "${ac_cv_header_jerror_h+set}" = set; then
14123 $as_echo_n "(cached) " >&6 13771 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else 13772 else
14125 ac_cv_header_jerror_h=$ac_header_preproc 13773 ac_cv_header_jerror_h=$ac_header_preproc
14126 fi 13774 fi
14127 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 13775 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5
14128 $as_echo "$ac_cv_header_jerror_h" >&6; } 13776 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; }
14129 13777
14130 fi 13778 fi
14131 if test "x$ac_cv_header_jerror_h" = x""yes; then 13779 if test $ac_cv_header_jerror_h = yes; then
14132 { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 13780 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5
14133 $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } 13781 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; }
14134 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 13782 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
14135 $as_echo_n "(cached) " >&6 13783 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 else 13784 else
14137 ac_check_lib_save_LIBS=$LIBS 13785 ac_check_lib_save_LIBS=$LIBS
14138 LIBS="-ljpeg $LIBS" 13786 LIBS="-ljpeg $LIBS"
14139 cat >conftest.$ac_ext <<_ACEOF 13787 cat >conftest.$ac_ext <<_ACEOF
14140 /* confdefs.h. */ 13788 /* confdefs.h. */
14162 if { (ac_try="$ac_link" 13810 if { (ac_try="$ac_link"
14163 case "(($ac_try" in 13811 case "(($ac_try" in
14164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14165 *) ac_try_echo=$ac_try;; 13813 *) ac_try_echo=$ac_try;;
14166 esac 13814 esac
14167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14168 $as_echo "$ac_try_echo") >&5
14169 (eval "$ac_link") 2>conftest.er1 13816 (eval "$ac_link") 2>conftest.er1
14170 ac_status=$? 13817 ac_status=$?
14171 grep -v '^ *+' conftest.er1 >conftest.err 13818 grep -v '^ *+' conftest.er1 >conftest.err
14172 rm -f conftest.er1 13819 rm -f conftest.er1
14173 cat conftest.err >&5 13820 cat conftest.err >&5
14174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } && { 13822 (exit $ac_status); } && {
14176 test -z "$ac_c_werror_flag" || 13823 test -z "$ac_c_werror_flag" ||
14177 test ! -s conftest.err 13824 test ! -s conftest.err
14178 } && test -s conftest$ac_exeext && { 13825 } && test -s conftest$ac_exeext &&
14179 test "$cross_compiling" = yes || 13826 $as_test_x conftest$ac_exeext; then
14180 $as_test_x conftest$ac_exeext
14181 }; then
14182 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 13827 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
14183 else 13828 else
14184 $as_echo "$as_me: failed program was:" >&5 13829 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5 13830 sed 's/^/| /' conftest.$ac_ext >&5
14186 13831
14187 ac_cv_lib_jpeg_jpeg_destroy_compress=no 13832 ac_cv_lib_jpeg_jpeg_destroy_compress=no
14188 fi 13833 fi
14189 13834
14190 rm -rf conftest.dSYM
14191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14192 conftest$ac_exeext conftest.$ac_ext 13836 conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_lib_save_LIBS 13837 LIBS=$ac_check_lib_save_LIBS
14194 fi 13838 fi
14195 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 13839 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
14196 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } 13840 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; }
14197 if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then 13841 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
14198 HAVE_JPEG=yes 13842 HAVE_JPEG=yes
14199 fi 13843 fi
14200 13844
14201 fi 13845 fi
14202 13846
14224 cat >>confdefs.h <<\_ACEOF 13868 cat >>confdefs.h <<\_ACEOF
14225 #define HAVE_JPEG 1 13869 #define HAVE_JPEG 1
14226 _ACEOF 13870 _ACEOF
14227 13871
14228 else 13872 else
14229 { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 13873 { echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5
14230 $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 13874 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
14231 HAVE_JPEG=no 13875 HAVE_JPEG=no
14232 fi 13876 fi
14233 rm -f conftest* 13877 rm -f conftest*
14234 13878
14235 fi 13879 fi
14243 # in /usr/include/libpng. 13887 # in /usr/include/libpng.
14244 13888
14245 13889
14246 for ac_header in png.h libpng/png.h 13890 for ac_header in png.h libpng/png.h
14247 do 13891 do
14248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14250 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13894 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14251 $as_echo_n "checking for $ac_header... " >&6; } 13895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14253 $as_echo_n "(cached) " >&6 13897 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 fi 13898 fi
14255 ac_res=`eval 'as_val=${'$as_ac_Header'} 13899 ac_res=`eval echo '${'$as_ac_Header'}'`
14256 $as_echo "$as_val"'` 13900 { echo "$as_me:$LINENO: result: $ac_res" >&5
14257 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13901 echo "${ECHO_T}$ac_res" >&6; }
14258 $as_echo "$ac_res" >&6; }
14259 else 13902 else
14260 # Is the header compilable? 13903 # Is the header compilable?
14261 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13904 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14262 $as_echo_n "checking $ac_header usability... " >&6; } 13905 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14263 cat >conftest.$ac_ext <<_ACEOF 13906 cat >conftest.$ac_ext <<_ACEOF
14264 /* confdefs.h. */ 13907 /* confdefs.h. */
14265 _ACEOF 13908 _ACEOF
14266 cat confdefs.h >>conftest.$ac_ext 13909 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF 13910 cat >>conftest.$ac_ext <<_ACEOF
14273 if { (ac_try="$ac_compile" 13916 if { (ac_try="$ac_compile"
14274 case "(($ac_try" in 13917 case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;; 13919 *) ac_try_echo=$ac_try;;
14277 esac 13920 esac
14278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 $as_echo "$ac_try_echo") >&5
14280 (eval "$ac_compile") 2>conftest.er1 13922 (eval "$ac_compile") 2>conftest.er1
14281 ac_status=$? 13923 ac_status=$?
14282 grep -v '^ *+' conftest.er1 >conftest.err 13924 grep -v '^ *+' conftest.er1 >conftest.err
14283 rm -f conftest.er1 13925 rm -f conftest.er1
14284 cat conftest.err >&5 13926 cat conftest.err >&5
14285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } && { 13928 (exit $ac_status); } && {
14287 test -z "$ac_c_werror_flag" || 13929 test -z "$ac_c_werror_flag" ||
14288 test ! -s conftest.err 13930 test ! -s conftest.err
14289 } && test -s conftest.$ac_objext; then 13931 } && test -s conftest.$ac_objext; then
14290 ac_header_compiler=yes 13932 ac_header_compiler=yes
14291 else 13933 else
14292 $as_echo "$as_me: failed program was:" >&5 13934 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5 13935 sed 's/^/| /' conftest.$ac_ext >&5
14294 13936
14295 ac_header_compiler=no 13937 ac_header_compiler=no
14296 fi 13938 fi
14297 13939
14298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13941 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14300 $as_echo "$ac_header_compiler" >&6; } 13942 echo "${ECHO_T}$ac_header_compiler" >&6; }
14301 13943
14302 # Is the header present? 13944 # Is the header present?
14303 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13945 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14304 $as_echo_n "checking $ac_header presence... " >&6; } 13946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14305 cat >conftest.$ac_ext <<_ACEOF 13947 cat >conftest.$ac_ext <<_ACEOF
14306 /* confdefs.h. */ 13948 /* confdefs.h. */
14307 _ACEOF 13949 _ACEOF
14308 cat confdefs.h >>conftest.$ac_ext 13950 cat confdefs.h >>conftest.$ac_ext
14309 cat >>conftest.$ac_ext <<_ACEOF 13951 cat >>conftest.$ac_ext <<_ACEOF
14313 if { (ac_try="$ac_cpp conftest.$ac_ext" 13955 if { (ac_try="$ac_cpp conftest.$ac_ext"
14314 case "(($ac_try" in 13956 case "(($ac_try" in
14315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14316 *) ac_try_echo=$ac_try;; 13958 *) ac_try_echo=$ac_try;;
14317 esac 13959 esac
14318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14319 $as_echo "$ac_try_echo") >&5
14320 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14321 ac_status=$? 13962 ac_status=$?
14322 grep -v '^ *+' conftest.er1 >conftest.err 13963 grep -v '^ *+' conftest.er1 >conftest.err
14323 rm -f conftest.er1 13964 rm -f conftest.er1
14324 cat conftest.err >&5 13965 cat conftest.err >&5
14325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } >/dev/null && { 13967 (exit $ac_status); } >/dev/null && {
14327 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14328 test ! -s conftest.err 13969 test ! -s conftest.err
14329 }; then 13970 }; then
14330 ac_header_preproc=yes 13971 ac_header_preproc=yes
14331 else 13972 else
14332 $as_echo "$as_me: failed program was:" >&5 13973 echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.$ac_ext >&5 13974 sed 's/^/| /' conftest.$ac_ext >&5
14334 13975
14335 ac_header_preproc=no 13976 ac_header_preproc=no
14336 fi 13977 fi
14337 13978
14338 rm -f conftest.err conftest.$ac_ext 13979 rm -f conftest.err conftest.$ac_ext
14339 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13980 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14340 $as_echo "$ac_header_preproc" >&6; } 13981 echo "${ECHO_T}$ac_header_preproc" >&6; }
14341 13982
14342 # So? What about this header? 13983 # So? What about this header?
14343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14344 yes:no: ) 13985 yes:no: )
14345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14346 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14348 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14349 ac_header_preproc=yes 13990 ac_header_preproc=yes
14350 ;; 13991 ;;
14351 no:yes:* ) 13992 no:yes:* )
14352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14353 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14355 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14357 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14359 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14361 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14363 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14364 14005
14365 ;; 14006 ;;
14366 esac 14007 esac
14367 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14368 $as_echo_n "checking for $ac_header... " >&6; } 14009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14370 $as_echo_n "(cached) " >&6 14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 else 14012 else
14372 eval "$as_ac_Header=\$ac_header_preproc" 14013 eval "$as_ac_Header=\$ac_header_preproc"
14373 fi 14014 fi
14374 ac_res=`eval 'as_val=${'$as_ac_Header'} 14015 ac_res=`eval echo '${'$as_ac_Header'}'`
14375 $as_echo "$as_val"'` 14016 { echo "$as_me:$LINENO: result: $ac_res" >&5
14376 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14017 echo "${ECHO_T}$ac_res" >&6; }
14377 $as_echo "$ac_res" >&6; } 14018
14378 14019 fi
14379 fi 14020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14380 as_val=`eval 'as_val=${'$as_ac_Header'}
14381 $as_echo "$as_val"'`
14382 if test "x$as_val" = x""yes; then
14383 cat >>confdefs.h <<_ACEOF 14021 cat >>confdefs.h <<_ACEOF
14384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14385 _ACEOF 14023 _ACEOF
14386 14024
14387 fi 14025 fi
14388 14026
14389 done 14027 done
14390 14028
14391 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then 14029 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
14392 { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 14030 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5
14393 $as_echo_n "checking for png_get_channels in -lpng... " >&6; } 14031 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; }
14394 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 14032 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
14395 $as_echo_n "(cached) " >&6 14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else 14034 else
14397 ac_check_lib_save_LIBS=$LIBS 14035 ac_check_lib_save_LIBS=$LIBS
14398 LIBS="-lpng -lz -lm $LIBS" 14036 LIBS="-lpng -lz -lm $LIBS"
14399 cat >conftest.$ac_ext <<_ACEOF 14037 cat >conftest.$ac_ext <<_ACEOF
14400 /* confdefs.h. */ 14038 /* confdefs.h. */
14422 if { (ac_try="$ac_link" 14060 if { (ac_try="$ac_link"
14423 case "(($ac_try" in 14061 case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;; 14063 *) ac_try_echo=$ac_try;;
14426 esac 14064 esac
14427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 $as_echo "$ac_try_echo") >&5
14429 (eval "$ac_link") 2>conftest.er1 14066 (eval "$ac_link") 2>conftest.er1
14430 ac_status=$? 14067 ac_status=$?
14431 grep -v '^ *+' conftest.er1 >conftest.err 14068 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1 14069 rm -f conftest.er1
14433 cat conftest.err >&5 14070 cat conftest.err >&5
14434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } && { 14072 (exit $ac_status); } && {
14436 test -z "$ac_c_werror_flag" || 14073 test -z "$ac_c_werror_flag" ||
14437 test ! -s conftest.err 14074 test ! -s conftest.err
14438 } && test -s conftest$ac_exeext && { 14075 } && test -s conftest$ac_exeext &&
14439 test "$cross_compiling" = yes || 14076 $as_test_x conftest$ac_exeext; then
14440 $as_test_x conftest$ac_exeext
14441 }; then
14442 ac_cv_lib_png_png_get_channels=yes 14077 ac_cv_lib_png_png_get_channels=yes
14443 else 14078 else
14444 $as_echo "$as_me: failed program was:" >&5 14079 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5 14080 sed 's/^/| /' conftest.$ac_ext >&5
14446 14081
14447 ac_cv_lib_png_png_get_channels=no 14082 ac_cv_lib_png_png_get_channels=no
14448 fi 14083 fi
14449 14084
14450 rm -rf conftest.dSYM
14451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14452 conftest$ac_exeext conftest.$ac_ext 14086 conftest$ac_exeext conftest.$ac_ext
14453 LIBS=$ac_check_lib_save_LIBS 14087 LIBS=$ac_check_lib_save_LIBS
14454 fi 14088 fi
14455 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 14089 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5
14456 $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } 14090 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; }
14457 if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then 14091 if test $ac_cv_lib_png_png_get_channels = yes; then
14458 HAVE_PNG=yes 14092 HAVE_PNG=yes
14459 fi 14093 fi
14460 14094
14461 fi 14095 fi
14462 fi 14096 fi
14473 ### Use -ltiff if available, unless `--with-tiff=no'. 14107 ### Use -ltiff if available, unless `--with-tiff=no'.
14474 HAVE_TIFF=no 14108 HAVE_TIFF=no
14475 if test "${HAVE_X11}" = "yes"; then 14109 if test "${HAVE_X11}" = "yes"; then
14476 if test "${with_tiff}" != "no"; then 14110 if test "${with_tiff}" != "no"; then
14477 if test "${ac_cv_header_tiffio_h+set}" = set; then 14111 if test "${ac_cv_header_tiffio_h+set}" = set; then
14478 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 14112 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
14479 $as_echo_n "checking for tiffio.h... " >&6; } 14113 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
14480 if test "${ac_cv_header_tiffio_h+set}" = set; then 14114 if test "${ac_cv_header_tiffio_h+set}" = set; then
14481 $as_echo_n "(cached) " >&6 14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 fi 14116 fi
14483 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14117 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14484 $as_echo "$ac_cv_header_tiffio_h" >&6; } 14118 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
14485 else 14119 else
14486 # Is the header compilable? 14120 # Is the header compilable?
14487 { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 14121 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
14488 $as_echo_n "checking tiffio.h usability... " >&6; } 14122 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
14489 cat >conftest.$ac_ext <<_ACEOF 14123 cat >conftest.$ac_ext <<_ACEOF
14490 /* confdefs.h. */ 14124 /* confdefs.h. */
14491 _ACEOF 14125 _ACEOF
14492 cat confdefs.h >>conftest.$ac_ext 14126 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF 14127 cat >>conftest.$ac_ext <<_ACEOF
14499 if { (ac_try="$ac_compile" 14133 if { (ac_try="$ac_compile"
14500 case "(($ac_try" in 14134 case "(($ac_try" in
14501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14502 *) ac_try_echo=$ac_try;; 14136 *) ac_try_echo=$ac_try;;
14503 esac 14137 esac
14504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14505 $as_echo "$ac_try_echo") >&5
14506 (eval "$ac_compile") 2>conftest.er1 14139 (eval "$ac_compile") 2>conftest.er1
14507 ac_status=$? 14140 ac_status=$?
14508 grep -v '^ *+' conftest.er1 >conftest.err 14141 grep -v '^ *+' conftest.er1 >conftest.err
14509 rm -f conftest.er1 14142 rm -f conftest.er1
14510 cat conftest.err >&5 14143 cat conftest.err >&5
14511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } && { 14145 (exit $ac_status); } && {
14513 test -z "$ac_c_werror_flag" || 14146 test -z "$ac_c_werror_flag" ||
14514 test ! -s conftest.err 14147 test ! -s conftest.err
14515 } && test -s conftest.$ac_objext; then 14148 } && test -s conftest.$ac_objext; then
14516 ac_header_compiler=yes 14149 ac_header_compiler=yes
14517 else 14150 else
14518 $as_echo "$as_me: failed program was:" >&5 14151 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5 14152 sed 's/^/| /' conftest.$ac_ext >&5
14520 14153
14521 ac_header_compiler=no 14154 ac_header_compiler=no
14522 fi 14155 fi
14523 14156
14524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14525 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14158 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14526 $as_echo "$ac_header_compiler" >&6; } 14159 echo "${ECHO_T}$ac_header_compiler" >&6; }
14527 14160
14528 # Is the header present? 14161 # Is the header present?
14529 { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 14162 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
14530 $as_echo_n "checking tiffio.h presence... " >&6; } 14163 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
14531 cat >conftest.$ac_ext <<_ACEOF 14164 cat >conftest.$ac_ext <<_ACEOF
14532 /* confdefs.h. */ 14165 /* confdefs.h. */
14533 _ACEOF 14166 _ACEOF
14534 cat confdefs.h >>conftest.$ac_ext 14167 cat confdefs.h >>conftest.$ac_ext
14535 cat >>conftest.$ac_ext <<_ACEOF 14168 cat >>conftest.$ac_ext <<_ACEOF
14539 if { (ac_try="$ac_cpp conftest.$ac_ext" 14172 if { (ac_try="$ac_cpp conftest.$ac_ext"
14540 case "(($ac_try" in 14173 case "(($ac_try" in
14541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542 *) ac_try_echo=$ac_try;; 14175 *) ac_try_echo=$ac_try;;
14543 esac 14176 esac
14544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14545 $as_echo "$ac_try_echo") >&5
14546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14547 ac_status=$? 14179 ac_status=$?
14548 grep -v '^ *+' conftest.er1 >conftest.err 14180 grep -v '^ *+' conftest.er1 >conftest.err
14549 rm -f conftest.er1 14181 rm -f conftest.er1
14550 cat conftest.err >&5 14182 cat conftest.err >&5
14551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } >/dev/null && { 14184 (exit $ac_status); } >/dev/null && {
14553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14554 test ! -s conftest.err 14186 test ! -s conftest.err
14555 }; then 14187 }; then
14556 ac_header_preproc=yes 14188 ac_header_preproc=yes
14557 else 14189 else
14558 $as_echo "$as_me: failed program was:" >&5 14190 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.$ac_ext >&5 14191 sed 's/^/| /' conftest.$ac_ext >&5
14560 14192
14561 ac_header_preproc=no 14193 ac_header_preproc=no
14562 fi 14194 fi
14563 14195
14564 rm -f conftest.err conftest.$ac_ext 14196 rm -f conftest.err conftest.$ac_ext
14565 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14197 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14566 $as_echo "$ac_header_preproc" >&6; } 14198 echo "${ECHO_T}$ac_header_preproc" >&6; }
14567 14199
14568 # So? What about this header? 14200 # So? What about this header?
14569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14570 yes:no: ) 14202 yes:no: )
14571 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 14203 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
14572 $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14204 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14573 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 14205 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
14574 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} 14206 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
14575 ac_header_preproc=yes 14207 ac_header_preproc=yes
14576 ;; 14208 ;;
14577 no:yes:* ) 14209 no:yes:* )
14578 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 14210 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
14579 $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} 14211 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
14580 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 14212 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
14581 $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} 14213 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
14582 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 14214 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
14583 $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} 14215 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
14584 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 14216 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
14585 $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} 14217 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
14586 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 14218 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
14587 $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} 14219 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
14588 { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 14220 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
14589 $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} 14221 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
14590 14222
14591 ;; 14223 ;;
14592 esac 14224 esac
14593 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 14225 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
14594 $as_echo_n "checking for tiffio.h... " >&6; } 14226 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
14595 if test "${ac_cv_header_tiffio_h+set}" = set; then 14227 if test "${ac_cv_header_tiffio_h+set}" = set; then
14596 $as_echo_n "(cached) " >&6 14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 else 14229 else
14598 ac_cv_header_tiffio_h=$ac_header_preproc 14230 ac_cv_header_tiffio_h=$ac_header_preproc
14599 fi 14231 fi
14600 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 14232 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
14601 $as_echo "$ac_cv_header_tiffio_h" >&6; } 14233 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
14602 14234
14603 fi 14235 fi
14604 if test "x$ac_cv_header_tiffio_h" = x""yes; then 14236 if test $ac_cv_header_tiffio_h = yes; then
14605 tifflibs="-lz -lm" 14237 tifflibs="-lz -lm"
14606 # At least one tiff package requires the jpeg library. 14238 # At least one tiff package requires the jpeg library.
14607 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 14239 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
14608 { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 14240 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5
14609 $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } 14241 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; }
14610 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 14242 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
14611 $as_echo_n "(cached) " >&6 14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 else 14244 else
14613 ac_check_lib_save_LIBS=$LIBS 14245 ac_check_lib_save_LIBS=$LIBS
14614 LIBS="-ltiff $tifflibs $LIBS" 14246 LIBS="-ltiff $tifflibs $LIBS"
14615 cat >conftest.$ac_ext <<_ACEOF 14247 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */ 14248 /* confdefs.h. */
14638 if { (ac_try="$ac_link" 14270 if { (ac_try="$ac_link"
14639 case "(($ac_try" in 14271 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;; 14273 *) ac_try_echo=$ac_try;;
14642 esac 14274 esac
14643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 $as_echo "$ac_try_echo") >&5
14645 (eval "$ac_link") 2>conftest.er1 14276 (eval "$ac_link") 2>conftest.er1
14646 ac_status=$? 14277 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err 14278 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1 14279 rm -f conftest.er1
14649 cat conftest.err >&5 14280 cat conftest.err >&5
14650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } && { 14282 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" || 14283 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err 14284 test ! -s conftest.err
14654 } && test -s conftest$ac_exeext && { 14285 } && test -s conftest$ac_exeext &&
14655 test "$cross_compiling" = yes || 14286 $as_test_x conftest$ac_exeext; then
14656 $as_test_x conftest$ac_exeext
14657 }; then
14658 ac_cv_lib_tiff_TIFFGetVersion=yes 14287 ac_cv_lib_tiff_TIFFGetVersion=yes
14659 else 14288 else
14660 $as_echo "$as_me: failed program was:" >&5 14289 echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.$ac_ext >&5 14290 sed 's/^/| /' conftest.$ac_ext >&5
14662 14291
14663 ac_cv_lib_tiff_TIFFGetVersion=no 14292 ac_cv_lib_tiff_TIFFGetVersion=no
14664 fi 14293 fi
14665 14294
14666 rm -rf conftest.dSYM
14667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14668 conftest$ac_exeext conftest.$ac_ext 14296 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_lib_save_LIBS 14297 LIBS=$ac_check_lib_save_LIBS
14670 fi 14298 fi
14671 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 14299 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
14672 $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } 14300 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; }
14673 if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then 14301 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
14674 HAVE_TIFF=yes 14302 HAVE_TIFF=yes
14675 fi 14303 fi
14676 14304
14677 fi 14305 fi
14678 14306
14690 14318
14691 ### Use -lgif or -lungif if available, unless `--with-gif=no'. 14319 ### Use -lgif or -lungif if available, unless `--with-gif=no'.
14692 HAVE_GIF=no 14320 HAVE_GIF=no
14693 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then 14321 if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then
14694 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14322 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14695 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14323 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14696 $as_echo_n "checking for gif_lib.h... " >&6; } 14324 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
14697 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14325 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14698 $as_echo_n "(cached) " >&6 14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 fi 14327 fi
14700 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14328 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14701 $as_echo "$ac_cv_header_gif_lib_h" >&6; } 14329 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
14702 else 14330 else
14703 # Is the header compilable? 14331 # Is the header compilable?
14704 { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 14332 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5
14705 $as_echo_n "checking gif_lib.h usability... " >&6; } 14333 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; }
14706 cat >conftest.$ac_ext <<_ACEOF 14334 cat >conftest.$ac_ext <<_ACEOF
14707 /* confdefs.h. */ 14335 /* confdefs.h. */
14708 _ACEOF 14336 _ACEOF
14709 cat confdefs.h >>conftest.$ac_ext 14337 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF 14338 cat >>conftest.$ac_ext <<_ACEOF
14716 if { (ac_try="$ac_compile" 14344 if { (ac_try="$ac_compile"
14717 case "(($ac_try" in 14345 case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;; 14347 *) ac_try_echo=$ac_try;;
14720 esac 14348 esac
14721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 $as_echo "$ac_try_echo") >&5
14723 (eval "$ac_compile") 2>conftest.er1 14350 (eval "$ac_compile") 2>conftest.er1
14724 ac_status=$? 14351 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err 14352 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1 14353 rm -f conftest.er1
14727 cat conftest.err >&5 14354 cat conftest.err >&5
14728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } && { 14356 (exit $ac_status); } && {
14730 test -z "$ac_c_werror_flag" || 14357 test -z "$ac_c_werror_flag" ||
14731 test ! -s conftest.err 14358 test ! -s conftest.err
14732 } && test -s conftest.$ac_objext; then 14359 } && test -s conftest.$ac_objext; then
14733 ac_header_compiler=yes 14360 ac_header_compiler=yes
14734 else 14361 else
14735 $as_echo "$as_me: failed program was:" >&5 14362 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.$ac_ext >&5 14363 sed 's/^/| /' conftest.$ac_ext >&5
14737 14364
14738 ac_header_compiler=no 14365 ac_header_compiler=no
14739 fi 14366 fi
14740 14367
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14743 $as_echo "$ac_header_compiler" >&6; } 14370 echo "${ECHO_T}$ac_header_compiler" >&6; }
14744 14371
14745 # Is the header present? 14372 # Is the header present?
14746 { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 14373 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5
14747 $as_echo_n "checking gif_lib.h presence... " >&6; } 14374 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; }
14748 cat >conftest.$ac_ext <<_ACEOF 14375 cat >conftest.$ac_ext <<_ACEOF
14749 /* confdefs.h. */ 14376 /* confdefs.h. */
14750 _ACEOF 14377 _ACEOF
14751 cat confdefs.h >>conftest.$ac_ext 14378 cat confdefs.h >>conftest.$ac_ext
14752 cat >>conftest.$ac_ext <<_ACEOF 14379 cat >>conftest.$ac_ext <<_ACEOF
14756 if { (ac_try="$ac_cpp conftest.$ac_ext" 14383 if { (ac_try="$ac_cpp conftest.$ac_ext"
14757 case "(($ac_try" in 14384 case "(($ac_try" in
14758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14759 *) ac_try_echo=$ac_try;; 14386 *) ac_try_echo=$ac_try;;
14760 esac 14387 esac
14761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14762 $as_echo "$ac_try_echo") >&5
14763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14764 ac_status=$? 14390 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err 14391 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1 14392 rm -f conftest.er1
14767 cat conftest.err >&5 14393 cat conftest.err >&5
14768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } >/dev/null && { 14395 (exit $ac_status); } >/dev/null && {
14770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14771 test ! -s conftest.err 14397 test ! -s conftest.err
14772 }; then 14398 }; then
14773 ac_header_preproc=yes 14399 ac_header_preproc=yes
14774 else 14400 else
14775 $as_echo "$as_me: failed program was:" >&5 14401 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5 14402 sed 's/^/| /' conftest.$ac_ext >&5
14777 14403
14778 ac_header_preproc=no 14404 ac_header_preproc=no
14779 fi 14405 fi
14780 14406
14781 rm -f conftest.err conftest.$ac_ext 14407 rm -f conftest.err conftest.$ac_ext
14782 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14408 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14783 $as_echo "$ac_header_preproc" >&6; } 14409 echo "${ECHO_T}$ac_header_preproc" >&6; }
14784 14410
14785 # So? What about this header? 14411 # So? What about this header?
14786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14787 yes:no: ) 14413 yes:no: )
14788 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 14414 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5
14789 $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14415 echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14790 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 14416 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5
14791 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} 14417 echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;}
14792 ac_header_preproc=yes 14418 ac_header_preproc=yes
14793 ;; 14419 ;;
14794 no:yes:* ) 14420 no:yes:* )
14795 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 14421 { echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5
14796 $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} 14422 echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;}
14797 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 14423 { echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5
14798 $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} 14424 echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;}
14799 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 14425 { echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5
14800 $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} 14426 echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;}
14801 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 14427 { echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5
14802 $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} 14428 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;}
14803 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 14429 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5
14804 $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} 14430 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;}
14805 { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 14431 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5
14806 $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} 14432 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;}
14807 14433
14808 ;; 14434 ;;
14809 esac 14435 esac
14810 { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 14436 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5
14811 $as_echo_n "checking for gif_lib.h... " >&6; } 14437 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; }
14812 if test "${ac_cv_header_gif_lib_h+set}" = set; then 14438 if test "${ac_cv_header_gif_lib_h+set}" = set; then
14813 $as_echo_n "(cached) " >&6 14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else 14440 else
14815 ac_cv_header_gif_lib_h=$ac_header_preproc 14441 ac_cv_header_gif_lib_h=$ac_header_preproc
14816 fi 14442 fi
14817 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 14443 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5
14818 $as_echo "$ac_cv_header_gif_lib_h" >&6; } 14444 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; }
14819 14445
14820 fi 14446 fi
14821 if test "x$ac_cv_header_gif_lib_h" = x""yes; then 14447 if test $ac_cv_header_gif_lib_h = yes; then
14822 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 14448 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
14823 # Earlier versions can crash Emacs. 14449 # Earlier versions can crash Emacs.
14824 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 14450 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5
14825 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 14451 echo $ECHO_N "checking for EGifPutExtensionLast in -lgif... $ECHO_C" >&6; }
14826 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then 14452 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then
14827 $as_echo_n "(cached) " >&6 14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else 14454 else
14829 ac_check_lib_save_LIBS=$LIBS 14455 ac_check_lib_save_LIBS=$LIBS
14830 LIBS="-lgif $LIBS" 14456 LIBS="-lgif $LIBS"
14831 cat >conftest.$ac_ext <<_ACEOF 14457 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */ 14458 /* confdefs.h. */
14854 if { (ac_try="$ac_link" 14480 if { (ac_try="$ac_link"
14855 case "(($ac_try" in 14481 case "(($ac_try" in
14856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14857 *) ac_try_echo=$ac_try;; 14483 *) ac_try_echo=$ac_try;;
14858 esac 14484 esac
14859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14860 $as_echo "$ac_try_echo") >&5
14861 (eval "$ac_link") 2>conftest.er1 14486 (eval "$ac_link") 2>conftest.er1
14862 ac_status=$? 14487 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err 14488 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1 14489 rm -f conftest.er1
14865 cat conftest.err >&5 14490 cat conftest.err >&5
14866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } && { 14492 (exit $ac_status); } && {
14868 test -z "$ac_c_werror_flag" || 14493 test -z "$ac_c_werror_flag" ||
14869 test ! -s conftest.err 14494 test ! -s conftest.err
14870 } && test -s conftest$ac_exeext && { 14495 } && test -s conftest$ac_exeext &&
14871 test "$cross_compiling" = yes || 14496 $as_test_x conftest$ac_exeext; then
14872 $as_test_x conftest$ac_exeext
14873 }; then
14874 ac_cv_lib_gif_EGifPutExtensionLast=yes 14497 ac_cv_lib_gif_EGifPutExtensionLast=yes
14875 else 14498 else
14876 $as_echo "$as_me: failed program was:" >&5 14499 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5 14500 sed 's/^/| /' conftest.$ac_ext >&5
14878 14501
14879 ac_cv_lib_gif_EGifPutExtensionLast=no 14502 ac_cv_lib_gif_EGifPutExtensionLast=no
14880 fi 14503 fi
14881 14504
14882 rm -rf conftest.dSYM
14883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14884 conftest$ac_exeext conftest.$ac_ext 14506 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_check_lib_save_LIBS 14507 LIBS=$ac_check_lib_save_LIBS
14886 fi 14508 fi
14887 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 14509 { echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
14888 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 14510 echo "${ECHO_T}$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
14889 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then 14511 if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then
14890 HAVE_GIF=yes 14512 HAVE_GIF=yes
14891 else 14513 else
14892 try_libungif=yes 14514 try_libungif=yes
14893 fi 14515 fi
14894 14516
14900 ac_gif_lib_name="-lgif" 14522 ac_gif_lib_name="-lgif"
14901 fi 14523 fi
14902 14524
14903 # If gif_lib.h but no libgif, try libungif. 14525 # If gif_lib.h but no libgif, try libungif.
14904 if test x"$try_libungif" = xyes; then 14526 if test x"$try_libungif" = xyes; then
14905 { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 14527 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5
14906 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 14528 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; }
14907 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 14529 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
14908 $as_echo_n "(cached) " >&6 14530 echo $ECHO_N "(cached) $ECHO_C" >&6
14909 else 14531 else
14910 ac_check_lib_save_LIBS=$LIBS 14532 ac_check_lib_save_LIBS=$LIBS
14911 LIBS="-lungif $LIBS" 14533 LIBS="-lungif $LIBS"
14912 cat >conftest.$ac_ext <<_ACEOF 14534 cat >conftest.$ac_ext <<_ACEOF
14913 /* confdefs.h. */ 14535 /* confdefs.h. */
14935 if { (ac_try="$ac_link" 14557 if { (ac_try="$ac_link"
14936 case "(($ac_try" in 14558 case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;; 14560 *) ac_try_echo=$ac_try;;
14939 esac 14561 esac
14940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 $as_echo "$ac_try_echo") >&5
14942 (eval "$ac_link") 2>conftest.er1 14563 (eval "$ac_link") 2>conftest.er1
14943 ac_status=$? 14564 ac_status=$?
14944 grep -v '^ *+' conftest.er1 >conftest.err 14565 grep -v '^ *+' conftest.er1 >conftest.err
14945 rm -f conftest.er1 14566 rm -f conftest.er1
14946 cat conftest.err >&5 14567 cat conftest.err >&5
14947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } && { 14569 (exit $ac_status); } && {
14949 test -z "$ac_c_werror_flag" || 14570 test -z "$ac_c_werror_flag" ||
14950 test ! -s conftest.err 14571 test ! -s conftest.err
14951 } && test -s conftest$ac_exeext && { 14572 } && test -s conftest$ac_exeext &&
14952 test "$cross_compiling" = yes || 14573 $as_test_x conftest$ac_exeext; then
14953 $as_test_x conftest$ac_exeext
14954 }; then
14955 ac_cv_lib_ungif_EGifPutExtensionLast=yes 14574 ac_cv_lib_ungif_EGifPutExtensionLast=yes
14956 else 14575 else
14957 $as_echo "$as_me: failed program was:" >&5 14576 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5 14577 sed 's/^/| /' conftest.$ac_ext >&5
14959 14578
14960 ac_cv_lib_ungif_EGifPutExtensionLast=no 14579 ac_cv_lib_ungif_EGifPutExtensionLast=no
14961 fi 14580 fi
14962 14581
14963 rm -rf conftest.dSYM
14964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14965 conftest$ac_exeext conftest.$ac_ext 14583 conftest$ac_exeext conftest.$ac_ext
14966 LIBS=$ac_check_lib_save_LIBS 14584 LIBS=$ac_check_lib_save_LIBS
14967 fi 14585 fi
14968 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 14586 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
14969 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 14587 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
14970 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then 14588 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
14971 HAVE_GIF=yes 14589 HAVE_GIF=yes
14972 fi 14590 fi
14973 14591
14974 14592
14975 if test "$HAVE_GIF" = yes; then 14593 if test "$HAVE_GIF" = yes; then
15004 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" 14622 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no"
15005 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && 14623 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" &&
15006 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" 14624 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no"
15007 14625
15008 if test "X${MISSING}" != X; then 14626 if test "X${MISSING}" != X; then
15009 { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: 14627 { { echo "$as_me:$LINENO: error: The following required libraries were not found:
15010 $MISSING 14628 $MISSING
15011 Maybe some development libraries/packages are missing? 14629 Maybe some development libraries/packages are missing?
15012 If you don't want to link with them give 14630 If you don't want to link with them give
15013 $WITH_NO 14631 $WITH_NO
15014 as options to configure" >&5 14632 as options to configure" >&5
15015 $as_echo "$as_me: error: The following required libraries were not found: 14633 echo "$as_me: error: The following required libraries were not found:
15016 $MISSING 14634 $MISSING
15017 Maybe some development libraries/packages are missing? 14635 Maybe some development libraries/packages are missing?
15018 If you don't want to link with them give 14636 If you don't want to link with them give
15019 $WITH_NO 14637 $WITH_NO
15020 as options to configure" >&2;} 14638 as options to configure" >&2;}
15024 14642
15025 ### Use -lgpm if available, unless `--with-gpm=no'. 14643 ### Use -lgpm if available, unless `--with-gpm=no'.
15026 HAVE_GPM=no 14644 HAVE_GPM=no
15027 if test "${with_gpm}" != "no"; then 14645 if test "${with_gpm}" != "no"; then
15028 if test "${ac_cv_header_gpm_h+set}" = set; then 14646 if test "${ac_cv_header_gpm_h+set}" = set; then
15029 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 14647 { echo "$as_me:$LINENO: checking for gpm.h" >&5
15030 $as_echo_n "checking for gpm.h... " >&6; } 14648 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; }
15031 if test "${ac_cv_header_gpm_h+set}" = set; then 14649 if test "${ac_cv_header_gpm_h+set}" = set; then
15032 $as_echo_n "(cached) " >&6 14650 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 fi 14651 fi
15034 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 14652 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15035 $as_echo "$ac_cv_header_gpm_h" >&6; } 14653 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; }
15036 else 14654 else
15037 # Is the header compilable? 14655 # Is the header compilable?
15038 { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 14656 { echo "$as_me:$LINENO: checking gpm.h usability" >&5
15039 $as_echo_n "checking gpm.h usability... " >&6; } 14657 echo $ECHO_N "checking gpm.h usability... $ECHO_C" >&6; }
15040 cat >conftest.$ac_ext <<_ACEOF 14658 cat >conftest.$ac_ext <<_ACEOF
15041 /* confdefs.h. */ 14659 /* confdefs.h. */
15042 _ACEOF 14660 _ACEOF
15043 cat confdefs.h >>conftest.$ac_ext 14661 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF 14662 cat >>conftest.$ac_ext <<_ACEOF
15050 if { (ac_try="$ac_compile" 14668 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in 14669 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;; 14671 *) ac_try_echo=$ac_try;;
15054 esac 14672 esac
15055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 $as_echo "$ac_try_echo") >&5
15057 (eval "$ac_compile") 2>conftest.er1 14674 (eval "$ac_compile") 2>conftest.er1
15058 ac_status=$? 14675 ac_status=$?
15059 grep -v '^ *+' conftest.er1 >conftest.err 14676 grep -v '^ *+' conftest.er1 >conftest.err
15060 rm -f conftest.er1 14677 rm -f conftest.er1
15061 cat conftest.err >&5 14678 cat conftest.err >&5
15062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } && { 14680 (exit $ac_status); } && {
15064 test -z "$ac_c_werror_flag" || 14681 test -z "$ac_c_werror_flag" ||
15065 test ! -s conftest.err 14682 test ! -s conftest.err
15066 } && test -s conftest.$ac_objext; then 14683 } && test -s conftest.$ac_objext; then
15067 ac_header_compiler=yes 14684 ac_header_compiler=yes
15068 else 14685 else
15069 $as_echo "$as_me: failed program was:" >&5 14686 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5 14687 sed 's/^/| /' conftest.$ac_ext >&5
15071 14688
15072 ac_header_compiler=no 14689 ac_header_compiler=no
15073 fi 14690 fi
15074 14691
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15076 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14693 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15077 $as_echo "$ac_header_compiler" >&6; } 14694 echo "${ECHO_T}$ac_header_compiler" >&6; }
15078 14695
15079 # Is the header present? 14696 # Is the header present?
15080 { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 14697 { echo "$as_me:$LINENO: checking gpm.h presence" >&5
15081 $as_echo_n "checking gpm.h presence... " >&6; } 14698 echo $ECHO_N "checking gpm.h presence... $ECHO_C" >&6; }
15082 cat >conftest.$ac_ext <<_ACEOF 14699 cat >conftest.$ac_ext <<_ACEOF
15083 /* confdefs.h. */ 14700 /* confdefs.h. */
15084 _ACEOF 14701 _ACEOF
15085 cat confdefs.h >>conftest.$ac_ext 14702 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF 14703 cat >>conftest.$ac_ext <<_ACEOF
15090 if { (ac_try="$ac_cpp conftest.$ac_ext" 14707 if { (ac_try="$ac_cpp conftest.$ac_ext"
15091 case "(($ac_try" in 14708 case "(($ac_try" in
15092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;; 14710 *) ac_try_echo=$ac_try;;
15094 esac 14711 esac
15095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 $as_echo "$ac_try_echo") >&5
15097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15098 ac_status=$? 14714 ac_status=$?
15099 grep -v '^ *+' conftest.er1 >conftest.err 14715 grep -v '^ *+' conftest.er1 >conftest.err
15100 rm -f conftest.er1 14716 rm -f conftest.er1
15101 cat conftest.err >&5 14717 cat conftest.err >&5
15102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } >/dev/null && { 14719 (exit $ac_status); } >/dev/null && {
15104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15105 test ! -s conftest.err 14721 test ! -s conftest.err
15106 }; then 14722 }; then
15107 ac_header_preproc=yes 14723 ac_header_preproc=yes
15108 else 14724 else
15109 $as_echo "$as_me: failed program was:" >&5 14725 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5 14726 sed 's/^/| /' conftest.$ac_ext >&5
15111 14727
15112 ac_header_preproc=no 14728 ac_header_preproc=no
15113 fi 14729 fi
15114 14730
15115 rm -f conftest.err conftest.$ac_ext 14731 rm -f conftest.err conftest.$ac_ext
15116 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14732 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15117 $as_echo "$ac_header_preproc" >&6; } 14733 echo "${ECHO_T}$ac_header_preproc" >&6; }
15118 14734
15119 # So? What about this header? 14735 # So? What about this header?
15120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15121 yes:no: ) 14737 yes:no: )
15122 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 14738 { echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5
15123 $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14739 echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15124 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 14740 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5
15125 $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} 14741 echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;}
15126 ac_header_preproc=yes 14742 ac_header_preproc=yes
15127 ;; 14743 ;;
15128 no:yes:* ) 14744 no:yes:* )
15129 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 14745 { echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5
15130 $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} 14746 echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;}
15131 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 14747 { echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5
15132 $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} 14748 echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;}
15133 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 14749 { echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5
15134 $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} 14750 echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;}
15135 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 14751 { echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5
15136 $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} 14752 echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;}
15137 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 14753 { echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5
15138 $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} 14754 echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;}
15139 { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 14755 { echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5
15140 $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} 14756 echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;}
15141 14757
15142 ;; 14758 ;;
15143 esac 14759 esac
15144 { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 14760 { echo "$as_me:$LINENO: checking for gpm.h" >&5
15145 $as_echo_n "checking for gpm.h... " >&6; } 14761 echo $ECHO_N "checking for gpm.h... $ECHO_C" >&6; }
15146 if test "${ac_cv_header_gpm_h+set}" = set; then 14762 if test "${ac_cv_header_gpm_h+set}" = set; then
15147 $as_echo_n "(cached) " >&6 14763 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else 14764 else
15149 ac_cv_header_gpm_h=$ac_header_preproc 14765 ac_cv_header_gpm_h=$ac_header_preproc
15150 fi 14766 fi
15151 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 14767 { echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5
15152 $as_echo "$ac_cv_header_gpm_h" >&6; } 14768 echo "${ECHO_T}$ac_cv_header_gpm_h" >&6; }
15153 14769
15154 fi 14770 fi
15155 if test "x$ac_cv_header_gpm_h" = x""yes; then 14771 if test $ac_cv_header_gpm_h = yes; then
15156 { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 14772 { echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5
15157 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 14773 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6; }
15158 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then 14774 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then
15159 $as_echo_n "(cached) " >&6 14775 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 else 14776 else
15161 ac_check_lib_save_LIBS=$LIBS 14777 ac_check_lib_save_LIBS=$LIBS
15162 LIBS="-lgpm $LIBS" 14778 LIBS="-lgpm $LIBS"
15163 cat >conftest.$ac_ext <<_ACEOF 14779 cat >conftest.$ac_ext <<_ACEOF
15164 /* confdefs.h. */ 14780 /* confdefs.h. */
15186 if { (ac_try="$ac_link" 14802 if { (ac_try="$ac_link"
15187 case "(($ac_try" in 14803 case "(($ac_try" in
15188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15189 *) ac_try_echo=$ac_try;; 14805 *) ac_try_echo=$ac_try;;
15190 esac 14806 esac
15191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15192 $as_echo "$ac_try_echo") >&5
15193 (eval "$ac_link") 2>conftest.er1 14808 (eval "$ac_link") 2>conftest.er1
15194 ac_status=$? 14809 ac_status=$?
15195 grep -v '^ *+' conftest.er1 >conftest.err 14810 grep -v '^ *+' conftest.er1 >conftest.err
15196 rm -f conftest.er1 14811 rm -f conftest.er1
15197 cat conftest.err >&5 14812 cat conftest.err >&5
15198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } && { 14814 (exit $ac_status); } && {
15200 test -z "$ac_c_werror_flag" || 14815 test -z "$ac_c_werror_flag" ||
15201 test ! -s conftest.err 14816 test ! -s conftest.err
15202 } && test -s conftest$ac_exeext && { 14817 } && test -s conftest$ac_exeext &&
15203 test "$cross_compiling" = yes || 14818 $as_test_x conftest$ac_exeext; then
15204 $as_test_x conftest$ac_exeext
15205 }; then
15206 ac_cv_lib_gpm_Gpm_Open=yes 14819 ac_cv_lib_gpm_Gpm_Open=yes
15207 else 14820 else
15208 $as_echo "$as_me: failed program was:" >&5 14821 echo "$as_me: failed program was:" >&5
15209 sed 's/^/| /' conftest.$ac_ext >&5 14822 sed 's/^/| /' conftest.$ac_ext >&5
15210 14823
15211 ac_cv_lib_gpm_Gpm_Open=no 14824 ac_cv_lib_gpm_Gpm_Open=no
15212 fi 14825 fi
15213 14826
15214 rm -rf conftest.dSYM
15215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15216 conftest$ac_exeext conftest.$ac_ext 14828 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_lib_save_LIBS 14829 LIBS=$ac_check_lib_save_LIBS
15218 fi 14830 fi
15219 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 14831 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5
15220 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 14832 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6; }
15221 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then 14833 if test $ac_cv_lib_gpm_Gpm_Open = yes; then
15222 HAVE_GPM=yes 14834 HAVE_GPM=yes
15223 fi 14835 fi
15224 14836
15225 fi 14837 fi
15226 14838
15234 _ACEOF 14846 _ACEOF
15235 14847
15236 fi 14848 fi
15237 14849
15238 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14850 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15239 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 14851 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15240 $as_echo_n "checking for malloc/malloc.h... " >&6; } 14852 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
15241 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14853 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15242 $as_echo_n "(cached) " >&6 14854 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 fi 14855 fi
15244 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 14856 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15245 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } 14857 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
15246 else 14858 else
15247 # Is the header compilable? 14859 # Is the header compilable?
15248 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 14860 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5
15249 $as_echo_n "checking malloc/malloc.h usability... " >&6; } 14861 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; }
15250 cat >conftest.$ac_ext <<_ACEOF 14862 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */ 14863 /* confdefs.h. */
15252 _ACEOF 14864 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext 14865 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF 14866 cat >>conftest.$ac_ext <<_ACEOF
15260 if { (ac_try="$ac_compile" 14872 if { (ac_try="$ac_compile"
15261 case "(($ac_try" in 14873 case "(($ac_try" in
15262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15263 *) ac_try_echo=$ac_try;; 14875 *) ac_try_echo=$ac_try;;
15264 esac 14876 esac
15265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15266 $as_echo "$ac_try_echo") >&5
15267 (eval "$ac_compile") 2>conftest.er1 14878 (eval "$ac_compile") 2>conftest.er1
15268 ac_status=$? 14879 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err 14880 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1 14881 rm -f conftest.er1
15271 cat conftest.err >&5 14882 cat conftest.err >&5
15272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && { 14884 (exit $ac_status); } && {
15274 test -z "$ac_c_werror_flag" || 14885 test -z "$ac_c_werror_flag" ||
15275 test ! -s conftest.err 14886 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then 14887 } && test -s conftest.$ac_objext; then
15277 ac_header_compiler=yes 14888 ac_header_compiler=yes
15278 else 14889 else
15279 $as_echo "$as_me: failed program was:" >&5 14890 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5 14891 sed 's/^/| /' conftest.$ac_ext >&5
15281 14892
15282 ac_header_compiler=no 14893 ac_header_compiler=no
15283 fi 14894 fi
15284 14895
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15286 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14897 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15287 $as_echo "$ac_header_compiler" >&6; } 14898 echo "${ECHO_T}$ac_header_compiler" >&6; }
15288 14899
15289 # Is the header present? 14900 # Is the header present?
15290 { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 14901 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5
15291 $as_echo_n "checking malloc/malloc.h presence... " >&6; } 14902 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; }
15292 cat >conftest.$ac_ext <<_ACEOF 14903 cat >conftest.$ac_ext <<_ACEOF
15293 /* confdefs.h. */ 14904 /* confdefs.h. */
15294 _ACEOF 14905 _ACEOF
15295 cat confdefs.h >>conftest.$ac_ext 14906 cat confdefs.h >>conftest.$ac_ext
15296 cat >>conftest.$ac_ext <<_ACEOF 14907 cat >>conftest.$ac_ext <<_ACEOF
15300 if { (ac_try="$ac_cpp conftest.$ac_ext" 14911 if { (ac_try="$ac_cpp conftest.$ac_ext"
15301 case "(($ac_try" in 14912 case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;; 14914 *) ac_try_echo=$ac_try;;
15304 esac 14915 esac
15305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15306 $as_echo "$ac_try_echo") >&5
15307 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15308 ac_status=$? 14918 ac_status=$?
15309 grep -v '^ *+' conftest.er1 >conftest.err 14919 grep -v '^ *+' conftest.er1 >conftest.err
15310 rm -f conftest.er1 14920 rm -f conftest.er1
15311 cat conftest.err >&5 14921 cat conftest.err >&5
15312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } >/dev/null && { 14923 (exit $ac_status); } >/dev/null && {
15314 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15315 test ! -s conftest.err 14925 test ! -s conftest.err
15316 }; then 14926 }; then
15317 ac_header_preproc=yes 14927 ac_header_preproc=yes
15318 else 14928 else
15319 $as_echo "$as_me: failed program was:" >&5 14929 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5 14930 sed 's/^/| /' conftest.$ac_ext >&5
15321 14931
15322 ac_header_preproc=no 14932 ac_header_preproc=no
15323 fi 14933 fi
15324 14934
15325 rm -f conftest.err conftest.$ac_ext 14935 rm -f conftest.err conftest.$ac_ext
15326 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14936 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15327 $as_echo "$ac_header_preproc" >&6; } 14937 echo "${ECHO_T}$ac_header_preproc" >&6; }
15328 14938
15329 # So? What about this header? 14939 # So? What about this header?
15330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15331 yes:no: ) 14941 yes:no: )
15332 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 14942 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5
15333 $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14943 echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15334 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 14944 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5
15335 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} 14945 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;}
15336 ac_header_preproc=yes 14946 ac_header_preproc=yes
15337 ;; 14947 ;;
15338 no:yes:* ) 14948 no:yes:* )
15339 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 14949 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5
15340 $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} 14950 echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;}
15341 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 14951 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5
15342 $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} 14952 echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;}
15343 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 14953 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5
15344 $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} 14954 echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;}
15345 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 14955 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5
15346 $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 14956 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;}
15347 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 14957 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5
15348 $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} 14958 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;}
15349 { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 14959 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5
15350 $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} 14960 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;}
15351 14961
15352 ;; 14962 ;;
15353 esac 14963 esac
15354 { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 14964 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5
15355 $as_echo_n "checking for malloc/malloc.h... " >&6; } 14965 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; }
15356 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then 14966 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then
15357 $as_echo_n "(cached) " >&6 14967 echo $ECHO_N "(cached) $ECHO_C" >&6
15358 else 14968 else
15359 ac_cv_header_malloc_malloc_h=$ac_header_preproc 14969 ac_cv_header_malloc_malloc_h=$ac_header_preproc
15360 fi 14970 fi
15361 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 14971 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5
15362 $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } 14972 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; }
15363 14973
15364 fi 14974 fi
15365 if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then 14975 if test $ac_cv_header_malloc_malloc_h = yes; then
15366 14976
15367 cat >>confdefs.h <<\_ACEOF 14977 cat >>confdefs.h <<\_ACEOF
15368 #define HAVE_MALLOC_MALLOC_H 1 14978 #define HAVE_MALLOC_MALLOC_H 1
15369 _ACEOF 14979 _ACEOF
15370 14980
15410 15020
15411 ### Use session management (-lSM -lICE) if available 15021 ### Use session management (-lSM -lICE) if available
15412 HAVE_X_SM=no 15022 HAVE_X_SM=no
15413 if test "${HAVE_X11}" = "yes"; then 15023 if test "${HAVE_X11}" = "yes"; then
15414 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15024 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15415 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15025 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15416 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 15026 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
15417 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15027 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15418 $as_echo_n "(cached) " >&6 15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 fi 15029 fi
15420 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15030 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15421 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } 15031 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
15422 else 15032 else
15423 # Is the header compilable? 15033 # Is the header compilable?
15424 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 15034 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5
15425 $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } 15035 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; }
15426 cat >conftest.$ac_ext <<_ACEOF 15036 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */ 15037 /* confdefs.h. */
15428 _ACEOF 15038 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext 15039 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF 15040 cat >>conftest.$ac_ext <<_ACEOF
15436 if { (ac_try="$ac_compile" 15046 if { (ac_try="$ac_compile"
15437 case "(($ac_try" in 15047 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15439 *) ac_try_echo=$ac_try;; 15049 *) ac_try_echo=$ac_try;;
15440 esac 15050 esac
15441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 $as_echo "$ac_try_echo") >&5
15443 (eval "$ac_compile") 2>conftest.er1 15052 (eval "$ac_compile") 2>conftest.er1
15444 ac_status=$? 15053 ac_status=$?
15445 grep -v '^ *+' conftest.er1 >conftest.err 15054 grep -v '^ *+' conftest.er1 >conftest.err
15446 rm -f conftest.er1 15055 rm -f conftest.er1
15447 cat conftest.err >&5 15056 cat conftest.err >&5
15448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } && { 15058 (exit $ac_status); } && {
15450 test -z "$ac_c_werror_flag" || 15059 test -z "$ac_c_werror_flag" ||
15451 test ! -s conftest.err 15060 test ! -s conftest.err
15452 } && test -s conftest.$ac_objext; then 15061 } && test -s conftest.$ac_objext; then
15453 ac_header_compiler=yes 15062 ac_header_compiler=yes
15454 else 15063 else
15455 $as_echo "$as_me: failed program was:" >&5 15064 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.$ac_ext >&5 15065 sed 's/^/| /' conftest.$ac_ext >&5
15457 15066
15458 ac_header_compiler=no 15067 ac_header_compiler=no
15459 fi 15068 fi
15460 15069
15461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15462 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15463 $as_echo "$ac_header_compiler" >&6; } 15072 echo "${ECHO_T}$ac_header_compiler" >&6; }
15464 15073
15465 # Is the header present? 15074 # Is the header present?
15466 { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 15075 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5
15467 $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } 15076 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; }
15468 cat >conftest.$ac_ext <<_ACEOF 15077 cat >conftest.$ac_ext <<_ACEOF
15469 /* confdefs.h. */ 15078 /* confdefs.h. */
15470 _ACEOF 15079 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext 15080 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF 15081 cat >>conftest.$ac_ext <<_ACEOF
15476 if { (ac_try="$ac_cpp conftest.$ac_ext" 15085 if { (ac_try="$ac_cpp conftest.$ac_ext"
15477 case "(($ac_try" in 15086 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;; 15088 *) ac_try_echo=$ac_try;;
15480 esac 15089 esac
15481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 $as_echo "$ac_try_echo") >&5
15483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15484 ac_status=$? 15092 ac_status=$?
15485 grep -v '^ *+' conftest.er1 >conftest.err 15093 grep -v '^ *+' conftest.er1 >conftest.err
15486 rm -f conftest.er1 15094 rm -f conftest.er1
15487 cat conftest.err >&5 15095 cat conftest.err >&5
15488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } >/dev/null && { 15097 (exit $ac_status); } >/dev/null && {
15490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15491 test ! -s conftest.err 15099 test ! -s conftest.err
15492 }; then 15100 }; then
15493 ac_header_preproc=yes 15101 ac_header_preproc=yes
15494 else 15102 else
15495 $as_echo "$as_me: failed program was:" >&5 15103 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5 15104 sed 's/^/| /' conftest.$ac_ext >&5
15497 15105
15498 ac_header_preproc=no 15106 ac_header_preproc=no
15499 fi 15107 fi
15500 15108
15501 rm -f conftest.err conftest.$ac_ext 15109 rm -f conftest.err conftest.$ac_ext
15502 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15110 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15503 $as_echo "$ac_header_preproc" >&6; } 15111 echo "${ECHO_T}$ac_header_preproc" >&6; }
15504 15112
15505 # So? What about this header? 15113 # So? What about this header?
15506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15507 yes:no: ) 15115 yes:no: )
15508 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 15116 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15509 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15117 echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15510 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 15118 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5
15511 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} 15119 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;}
15512 ac_header_preproc=yes 15120 ac_header_preproc=yes
15513 ;; 15121 ;;
15514 no:yes:* ) 15122 no:yes:* )
15515 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 15123 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5
15516 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} 15124 echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;}
15517 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 15125 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5
15518 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} 15126 echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;}
15519 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 15127 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5
15520 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} 15128 echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;}
15521 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 15129 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5
15522 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 15130 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15523 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 15131 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5
15524 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} 15132 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;}
15525 { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 15133 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5
15526 $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} 15134 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;}
15527 15135
15528 ;; 15136 ;;
15529 esac 15137 esac
15530 { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 15138 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5
15531 $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } 15139 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; }
15532 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 15140 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
15533 $as_echo_n "(cached) " >&6 15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else 15142 else
15535 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc 15143 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc
15536 fi 15144 fi
15537 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 15145 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5
15538 $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } 15146 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; }
15539 15147
15540 fi 15148 fi
15541 if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then 15149 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
15542 { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 15150 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
15543 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } 15151 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
15544 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 15152 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
15545 $as_echo_n "(cached) " >&6 15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else 15154 else
15547 ac_check_lib_save_LIBS=$LIBS 15155 ac_check_lib_save_LIBS=$LIBS
15548 LIBS="-lSM -lICE $LIBS" 15156 LIBS="-lSM -lICE $LIBS"
15549 cat >conftest.$ac_ext <<_ACEOF 15157 cat >conftest.$ac_ext <<_ACEOF
15550 /* confdefs.h. */ 15158 /* confdefs.h. */
15572 if { (ac_try="$ac_link" 15180 if { (ac_try="$ac_link"
15573 case "(($ac_try" in 15181 case "(($ac_try" in
15574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;; 15183 *) ac_try_echo=$ac_try;;
15576 esac 15184 esac
15577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15578 $as_echo "$ac_try_echo") >&5
15579 (eval "$ac_link") 2>conftest.er1 15186 (eval "$ac_link") 2>conftest.er1
15580 ac_status=$? 15187 ac_status=$?
15581 grep -v '^ *+' conftest.er1 >conftest.err 15188 grep -v '^ *+' conftest.er1 >conftest.err
15582 rm -f conftest.er1 15189 rm -f conftest.er1
15583 cat conftest.err >&5 15190 cat conftest.err >&5
15584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } && { 15192 (exit $ac_status); } && {
15586 test -z "$ac_c_werror_flag" || 15193 test -z "$ac_c_werror_flag" ||
15587 test ! -s conftest.err 15194 test ! -s conftest.err
15588 } && test -s conftest$ac_exeext && { 15195 } && test -s conftest$ac_exeext &&
15589 test "$cross_compiling" = yes || 15196 $as_test_x conftest$ac_exeext; then
15590 $as_test_x conftest$ac_exeext
15591 }; then
15592 ac_cv_lib_SM_SmcOpenConnection=yes 15197 ac_cv_lib_SM_SmcOpenConnection=yes
15593 else 15198 else
15594 $as_echo "$as_me: failed program was:" >&5 15199 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5 15200 sed 's/^/| /' conftest.$ac_ext >&5
15596 15201
15597 ac_cv_lib_SM_SmcOpenConnection=no 15202 ac_cv_lib_SM_SmcOpenConnection=no
15598 fi 15203 fi
15599 15204
15600 rm -rf conftest.dSYM
15601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15602 conftest$ac_exeext conftest.$ac_ext 15206 conftest$ac_exeext conftest.$ac_ext
15603 LIBS=$ac_check_lib_save_LIBS 15207 LIBS=$ac_check_lib_save_LIBS
15604 fi 15208 fi
15605 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 15209 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
15606 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } 15210 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
15607 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then 15211 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
15608 HAVE_X_SM=yes 15212 HAVE_X_SM=yes
15609 fi 15213 fi
15610 15214
15611 fi 15215 fi
15612 15216
15624 esac 15228 esac
15625 fi 15229 fi
15626 fi 15230 fi
15627 15231
15628 # If netdb.h doesn't declare h_errno, we must declare it by hand. 15232 # If netdb.h doesn't declare h_errno, we must declare it by hand.
15629 { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 15233 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5
15630 $as_echo_n "checking whether netdb declares h_errno... " >&6; } 15234 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; }
15631 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 15235 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
15632 $as_echo_n "(cached) " >&6 15236 echo $ECHO_N "(cached) $ECHO_C" >&6
15633 else 15237 else
15634 cat >conftest.$ac_ext <<_ACEOF 15238 cat >conftest.$ac_ext <<_ACEOF
15635 /* confdefs.h. */ 15239 /* confdefs.h. */
15636 _ACEOF 15240 _ACEOF
15637 cat confdefs.h >>conftest.$ac_ext 15241 cat confdefs.h >>conftest.$ac_ext
15650 if { (ac_try="$ac_link" 15254 if { (ac_try="$ac_link"
15651 case "(($ac_try" in 15255 case "(($ac_try" in
15652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;; 15257 *) ac_try_echo=$ac_try;;
15654 esac 15258 esac
15655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15656 $as_echo "$ac_try_echo") >&5
15657 (eval "$ac_link") 2>conftest.er1 15260 (eval "$ac_link") 2>conftest.er1
15658 ac_status=$? 15261 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err 15262 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1 15263 rm -f conftest.er1
15661 cat conftest.err >&5 15264 cat conftest.err >&5
15662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && { 15266 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" || 15267 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err 15268 test ! -s conftest.err
15666 } && test -s conftest$ac_exeext && { 15269 } && test -s conftest$ac_exeext &&
15667 test "$cross_compiling" = yes || 15270 $as_test_x conftest$ac_exeext; then
15668 $as_test_x conftest$ac_exeext
15669 }; then
15670 emacs_cv_netdb_declares_h_errno=yes 15271 emacs_cv_netdb_declares_h_errno=yes
15671 else 15272 else
15672 $as_echo "$as_me: failed program was:" >&5 15273 echo "$as_me: failed program was:" >&5
15673 sed 's/^/| /' conftest.$ac_ext >&5 15274 sed 's/^/| /' conftest.$ac_ext >&5
15674 15275
15675 emacs_cv_netdb_declares_h_errno=no 15276 emacs_cv_netdb_declares_h_errno=no
15676 fi 15277 fi
15677 15278
15678 rm -rf conftest.dSYM
15679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15680 conftest$ac_exeext conftest.$ac_ext 15280 conftest$ac_exeext conftest.$ac_ext
15681 fi 15281 fi
15682 { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 15282 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
15683 $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } 15283 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; }
15684 if test $emacs_cv_netdb_declares_h_errno = yes; then 15284 if test $emacs_cv_netdb_declares_h_errno = yes; then
15685 15285
15686 cat >>confdefs.h <<\_ACEOF 15286 cat >>confdefs.h <<\_ACEOF
15687 #define HAVE_H_ERRNO 1 15287 #define HAVE_H_ERRNO 1
15688 _ACEOF 15288 _ACEOF
15689 15289
15690 fi 15290 fi
15691 15291
15692 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 15292 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15693 # for constant arguments. Useless! 15293 # for constant arguments. Useless!
15694 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 15294 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
15695 $as_echo_n "checking for working alloca.h... " >&6; } 15295 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
15696 if test "${ac_cv_working_alloca_h+set}" = set; then 15296 if test "${ac_cv_working_alloca_h+set}" = set; then
15697 $as_echo_n "(cached) " >&6 15297 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else 15298 else
15699 cat >conftest.$ac_ext <<_ACEOF 15299 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */ 15300 /* confdefs.h. */
15701 _ACEOF 15301 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext 15302 cat confdefs.h >>conftest.$ac_ext
15716 if { (ac_try="$ac_link" 15316 if { (ac_try="$ac_link"
15717 case "(($ac_try" in 15317 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;; 15319 *) ac_try_echo=$ac_try;;
15720 esac 15320 esac
15721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 $as_echo "$ac_try_echo") >&5
15723 (eval "$ac_link") 2>conftest.er1 15322 (eval "$ac_link") 2>conftest.er1
15724 ac_status=$? 15323 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err 15324 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1 15325 rm -f conftest.er1
15727 cat conftest.err >&5 15326 cat conftest.err >&5
15728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && { 15328 (exit $ac_status); } && {
15730 test -z "$ac_c_werror_flag" || 15329 test -z "$ac_c_werror_flag" ||
15731 test ! -s conftest.err 15330 test ! -s conftest.err
15732 } && test -s conftest$ac_exeext && { 15331 } && test -s conftest$ac_exeext &&
15733 test "$cross_compiling" = yes || 15332 $as_test_x conftest$ac_exeext; then
15734 $as_test_x conftest$ac_exeext
15735 }; then
15736 ac_cv_working_alloca_h=yes 15333 ac_cv_working_alloca_h=yes
15737 else 15334 else
15738 $as_echo "$as_me: failed program was:" >&5 15335 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.$ac_ext >&5 15336 sed 's/^/| /' conftest.$ac_ext >&5
15740 15337
15741 ac_cv_working_alloca_h=no 15338 ac_cv_working_alloca_h=no
15742 fi 15339 fi
15743 15340
15744 rm -rf conftest.dSYM
15745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15746 conftest$ac_exeext conftest.$ac_ext 15342 conftest$ac_exeext conftest.$ac_ext
15747 fi 15343 fi
15748 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 15344 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15749 $as_echo "$ac_cv_working_alloca_h" >&6; } 15345 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
15750 if test $ac_cv_working_alloca_h = yes; then 15346 if test $ac_cv_working_alloca_h = yes; then
15751 15347
15752 cat >>confdefs.h <<\_ACEOF 15348 cat >>confdefs.h <<\_ACEOF
15753 #define HAVE_ALLOCA_H 1 15349 #define HAVE_ALLOCA_H 1
15754 _ACEOF 15350 _ACEOF
15755 15351
15756 fi 15352 fi
15757 15353
15758 { $as_echo "$as_me:$LINENO: checking for alloca" >&5 15354 { echo "$as_me:$LINENO: checking for alloca" >&5
15759 $as_echo_n "checking for alloca... " >&6; } 15355 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
15760 if test "${ac_cv_func_alloca_works+set}" = set; then 15356 if test "${ac_cv_func_alloca_works+set}" = set; then
15761 $as_echo_n "(cached) " >&6 15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else 15358 else
15763 cat >conftest.$ac_ext <<_ACEOF 15359 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */ 15360 /* confdefs.h. */
15765 _ACEOF 15361 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext 15362 cat confdefs.h >>conftest.$ac_ext
15800 if { (ac_try="$ac_link" 15396 if { (ac_try="$ac_link"
15801 case "(($ac_try" in 15397 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;; 15399 *) ac_try_echo=$ac_try;;
15804 esac 15400 esac
15805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 $as_echo "$ac_try_echo") >&5
15807 (eval "$ac_link") 2>conftest.er1 15402 (eval "$ac_link") 2>conftest.er1
15808 ac_status=$? 15403 ac_status=$?
15809 grep -v '^ *+' conftest.er1 >conftest.err 15404 grep -v '^ *+' conftest.er1 >conftest.err
15810 rm -f conftest.er1 15405 rm -f conftest.er1
15811 cat conftest.err >&5 15406 cat conftest.err >&5
15812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } && { 15408 (exit $ac_status); } && {
15814 test -z "$ac_c_werror_flag" || 15409 test -z "$ac_c_werror_flag" ||
15815 test ! -s conftest.err 15410 test ! -s conftest.err
15816 } && test -s conftest$ac_exeext && { 15411 } && test -s conftest$ac_exeext &&
15817 test "$cross_compiling" = yes || 15412 $as_test_x conftest$ac_exeext; then
15818 $as_test_x conftest$ac_exeext
15819 }; then
15820 ac_cv_func_alloca_works=yes 15413 ac_cv_func_alloca_works=yes
15821 else 15414 else
15822 $as_echo "$as_me: failed program was:" >&5 15415 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5 15416 sed 's/^/| /' conftest.$ac_ext >&5
15824 15417
15825 ac_cv_func_alloca_works=no 15418 ac_cv_func_alloca_works=no
15826 fi 15419 fi
15827 15420
15828 rm -rf conftest.dSYM
15829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15830 conftest$ac_exeext conftest.$ac_ext 15422 conftest$ac_exeext conftest.$ac_ext
15831 fi 15423 fi
15832 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 15424 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15833 $as_echo "$ac_cv_func_alloca_works" >&6; } 15425 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
15834 15426
15835 if test $ac_cv_func_alloca_works = yes; then 15427 if test $ac_cv_func_alloca_works = yes; then
15836 15428
15837 cat >>confdefs.h <<\_ACEOF 15429 cat >>confdefs.h <<\_ACEOF
15838 #define HAVE_ALLOCA 1 15430 #define HAVE_ALLOCA 1
15849 cat >>confdefs.h <<\_ACEOF 15441 cat >>confdefs.h <<\_ACEOF
15850 #define C_ALLOCA 1 15442 #define C_ALLOCA 1
15851 _ACEOF 15443 _ACEOF
15852 15444
15853 15445
15854 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 15446 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15855 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 15447 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
15856 if test "${ac_cv_os_cray+set}" = set; then 15448 if test "${ac_cv_os_cray+set}" = set; then
15857 $as_echo_n "(cached) " >&6 15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 else 15450 else
15859 cat >conftest.$ac_ext <<_ACEOF 15451 cat >conftest.$ac_ext <<_ACEOF
15860 /* confdefs.h. */ 15452 /* confdefs.h. */
15861 _ACEOF 15453 _ACEOF
15862 cat confdefs.h >>conftest.$ac_ext 15454 cat confdefs.h >>conftest.$ac_ext
15876 ac_cv_os_cray=no 15468 ac_cv_os_cray=no
15877 fi 15469 fi
15878 rm -f conftest* 15470 rm -f conftest*
15879 15471
15880 fi 15472 fi
15881 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 15473 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15882 $as_echo "$ac_cv_os_cray" >&6; } 15474 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
15883 if test $ac_cv_os_cray = yes; then 15475 if test $ac_cv_os_cray = yes; then
15884 for ac_func in _getb67 GETB67 getb67; do 15476 for ac_func in _getb67 GETB67 getb67; do
15885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15886 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15887 $as_echo_n "checking for $ac_func... " >&6; } 15479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15889 $as_echo_n "(cached) " >&6 15481 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 else 15482 else
15891 cat >conftest.$ac_ext <<_ACEOF 15483 cat >conftest.$ac_ext <<_ACEOF
15892 /* confdefs.h. */ 15484 /* confdefs.h. */
15893 _ACEOF 15485 _ACEOF
15894 cat confdefs.h >>conftest.$ac_ext 15486 cat confdefs.h >>conftest.$ac_ext
15937 if { (ac_try="$ac_link" 15529 if { (ac_try="$ac_link"
15938 case "(($ac_try" in 15530 case "(($ac_try" in
15939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15940 *) ac_try_echo=$ac_try;; 15532 *) ac_try_echo=$ac_try;;
15941 esac 15533 esac
15942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15943 $as_echo "$ac_try_echo") >&5
15944 (eval "$ac_link") 2>conftest.er1 15535 (eval "$ac_link") 2>conftest.er1
15945 ac_status=$? 15536 ac_status=$?
15946 grep -v '^ *+' conftest.er1 >conftest.err 15537 grep -v '^ *+' conftest.er1 >conftest.err
15947 rm -f conftest.er1 15538 rm -f conftest.er1
15948 cat conftest.err >&5 15539 cat conftest.err >&5
15949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } && { 15541 (exit $ac_status); } && {
15951 test -z "$ac_c_werror_flag" || 15542 test -z "$ac_c_werror_flag" ||
15952 test ! -s conftest.err 15543 test ! -s conftest.err
15953 } && test -s conftest$ac_exeext && { 15544 } && test -s conftest$ac_exeext &&
15954 test "$cross_compiling" = yes || 15545 $as_test_x conftest$ac_exeext; then
15955 $as_test_x conftest$ac_exeext
15956 }; then
15957 eval "$as_ac_var=yes" 15546 eval "$as_ac_var=yes"
15958 else 15547 else
15959 $as_echo "$as_me: failed program was:" >&5 15548 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5 15549 sed 's/^/| /' conftest.$ac_ext >&5
15961 15550
15962 eval "$as_ac_var=no" 15551 eval "$as_ac_var=no"
15963 fi 15552 fi
15964 15553
15965 rm -rf conftest.dSYM
15966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15967 conftest$ac_exeext conftest.$ac_ext 15555 conftest$ac_exeext conftest.$ac_ext
15968 fi 15556 fi
15969 ac_res=`eval 'as_val=${'$as_ac_var'} 15557 ac_res=`eval echo '${'$as_ac_var'}'`
15970 $as_echo "$as_val"'` 15558 { echo "$as_me:$LINENO: result: $ac_res" >&5
15971 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15559 echo "${ECHO_T}$ac_res" >&6; }
15972 $as_echo "$ac_res" >&6; } 15560 if test `eval echo '${'$as_ac_var'}'` = yes; then
15973 as_val=`eval 'as_val=${'$as_ac_var'}
15974 $as_echo "$as_val"'`
15975 if test "x$as_val" = x""yes; then
15976 15561
15977 cat >>confdefs.h <<_ACEOF 15562 cat >>confdefs.h <<_ACEOF
15978 #define CRAY_STACKSEG_END $ac_func 15563 #define CRAY_STACKSEG_END $ac_func
15979 _ACEOF 15564 _ACEOF
15980 15565
15982 fi 15567 fi
15983 15568
15984 done 15569 done
15985 fi 15570 fi
15986 15571
15987 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 15572 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15988 $as_echo_n "checking stack direction for C alloca... " >&6; } 15573 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
15989 if test "${ac_cv_c_stack_direction+set}" = set; then 15574 if test "${ac_cv_c_stack_direction+set}" = set; then
15990 $as_echo_n "(cached) " >&6 15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 else 15576 else
15992 if test "$cross_compiling" = yes; then 15577 if test "$cross_compiling" = yes; then
15993 ac_cv_c_stack_direction=0 15578 ac_cv_c_stack_direction=0
15994 else 15579 else
15995 cat >conftest.$ac_ext <<_ACEOF 15580 cat >conftest.$ac_ext <<_ACEOF
16023 if { (ac_try="$ac_link" 15608 if { (ac_try="$ac_link"
16024 case "(($ac_try" in 15609 case "(($ac_try" in
16025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16026 *) ac_try_echo=$ac_try;; 15611 *) ac_try_echo=$ac_try;;
16027 esac 15612 esac
16028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16029 $as_echo "$ac_try_echo") >&5
16030 (eval "$ac_link") 2>&5 15614 (eval "$ac_link") 2>&5
16031 ac_status=$? 15615 ac_status=$?
16032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16034 { (case "(($ac_try" in 15618 { (case "(($ac_try" in
16035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16036 *) ac_try_echo=$ac_try;; 15620 *) ac_try_echo=$ac_try;;
16037 esac 15621 esac
16038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16039 $as_echo "$ac_try_echo") >&5
16040 (eval "$ac_try") 2>&5 15623 (eval "$ac_try") 2>&5
16041 ac_status=$? 15624 ac_status=$?
16042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then 15626 (exit $ac_status); }; }; then
16044 ac_cv_c_stack_direction=1 15627 ac_cv_c_stack_direction=1
16045 else 15628 else
16046 $as_echo "$as_me: program exited with status $ac_status" >&5 15629 echo "$as_me: program exited with status $ac_status" >&5
16047 $as_echo "$as_me: failed program was:" >&5 15630 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5 15631 sed 's/^/| /' conftest.$ac_ext >&5
16049 15632
16050 ( exit $ac_status ) 15633 ( exit $ac_status )
16051 ac_cv_c_stack_direction=-1 15634 ac_cv_c_stack_direction=-1
16052 fi 15635 fi
16053 rm -rf conftest.dSYM
16054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16055 fi 15637 fi
16056 15638
16057 15639
16058 fi 15640 fi
16059 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 15641 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16060 $as_echo "$ac_cv_c_stack_direction" >&6; } 15642 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
16061 15643
16062 cat >>confdefs.h <<_ACEOF 15644 cat >>confdefs.h <<_ACEOF
16063 #define STACK_DIRECTION $ac_cv_c_stack_direction 15645 #define STACK_DIRECTION $ac_cv_c_stack_direction
16064 _ACEOF 15646 _ACEOF
16065 15647
16066 15648
16067 fi 15649 fi
16068 15650
16069 15651
16070 if test x"$ac_cv_func_alloca_works" != xyes; then 15652 if test x"$ac_cv_func_alloca_works" != xyes; then
16071 { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 15653 { { echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5
16072 $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} 15654 echo "$as_me: error: a system implementation of alloca is required " >&2;}
16073 { (exit 1); exit 1; }; } 15655 { (exit 1); exit 1; }; }
16074 fi 15656 fi
16075 15657
16076 # fmod, logb, and frexp are found in -lm on most systems. 15658 # fmod, logb, and frexp are found in -lm on most systems.
16077 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 15659 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
16078 15660
16079 { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 15661 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
16080 $as_echo_n "checking for sqrt in -lm... " >&6; } 15662 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
16081 if test "${ac_cv_lib_m_sqrt+set}" = set; then 15663 if test "${ac_cv_lib_m_sqrt+set}" = set; then
16082 $as_echo_n "(cached) " >&6 15664 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else 15665 else
16084 ac_check_lib_save_LIBS=$LIBS 15666 ac_check_lib_save_LIBS=$LIBS
16085 LIBS="-lm $LIBS" 15667 LIBS="-lm $LIBS"
16086 cat >conftest.$ac_ext <<_ACEOF 15668 cat >conftest.$ac_ext <<_ACEOF
16087 /* confdefs.h. */ 15669 /* confdefs.h. */
16109 if { (ac_try="$ac_link" 15691 if { (ac_try="$ac_link"
16110 case "(($ac_try" in 15692 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;; 15694 *) ac_try_echo=$ac_try;;
16113 esac 15695 esac
16114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 $as_echo "$ac_try_echo") >&5
16116 (eval "$ac_link") 2>conftest.er1 15697 (eval "$ac_link") 2>conftest.er1
16117 ac_status=$? 15698 ac_status=$?
16118 grep -v '^ *+' conftest.er1 >conftest.err 15699 grep -v '^ *+' conftest.er1 >conftest.err
16119 rm -f conftest.er1 15700 rm -f conftest.er1
16120 cat conftest.err >&5 15701 cat conftest.err >&5
16121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } && { 15703 (exit $ac_status); } && {
16123 test -z "$ac_c_werror_flag" || 15704 test -z "$ac_c_werror_flag" ||
16124 test ! -s conftest.err 15705 test ! -s conftest.err
16125 } && test -s conftest$ac_exeext && { 15706 } && test -s conftest$ac_exeext &&
16126 test "$cross_compiling" = yes || 15707 $as_test_x conftest$ac_exeext; then
16127 $as_test_x conftest$ac_exeext
16128 }; then
16129 ac_cv_lib_m_sqrt=yes 15708 ac_cv_lib_m_sqrt=yes
16130 else 15709 else
16131 $as_echo "$as_me: failed program was:" >&5 15710 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.$ac_ext >&5 15711 sed 's/^/| /' conftest.$ac_ext >&5
16133 15712
16134 ac_cv_lib_m_sqrt=no 15713 ac_cv_lib_m_sqrt=no
16135 fi 15714 fi
16136 15715
16137 rm -rf conftest.dSYM
16138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16139 conftest$ac_exeext conftest.$ac_ext 15717 conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_lib_save_LIBS 15718 LIBS=$ac_check_lib_save_LIBS
16141 fi 15719 fi
16142 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 15720 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
16143 $as_echo "$ac_cv_lib_m_sqrt" >&6; } 15721 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
16144 if test "x$ac_cv_lib_m_sqrt" = x""yes; then 15722 if test $ac_cv_lib_m_sqrt = yes; then
16145 cat >>confdefs.h <<_ACEOF 15723 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_LIBM 1 15724 #define HAVE_LIBM 1
16147 _ACEOF 15725 _ACEOF
16148 15726
16149 LIBS="-lm $LIBS" 15727 LIBS="-lm $LIBS"
16152 15730
16153 15731
16154 # Check for mail-locking functions in a "mail" library. Probably this should 15732 # Check for mail-locking functions in a "mail" library. Probably this should
16155 # have the same check as for liblockfile below. 15733 # have the same check as for liblockfile below.
16156 15734
16157 { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 15735 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5
16158 $as_echo_n "checking for maillock in -lmail... " >&6; } 15736 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; }
16159 if test "${ac_cv_lib_mail_maillock+set}" = set; then 15737 if test "${ac_cv_lib_mail_maillock+set}" = set; then
16160 $as_echo_n "(cached) " >&6 15738 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 else 15739 else
16162 ac_check_lib_save_LIBS=$LIBS 15740 ac_check_lib_save_LIBS=$LIBS
16163 LIBS="-lmail $LIBS" 15741 LIBS="-lmail $LIBS"
16164 cat >conftest.$ac_ext <<_ACEOF 15742 cat >conftest.$ac_ext <<_ACEOF
16165 /* confdefs.h. */ 15743 /* confdefs.h. */
16187 if { (ac_try="$ac_link" 15765 if { (ac_try="$ac_link"
16188 case "(($ac_try" in 15766 case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;; 15768 *) ac_try_echo=$ac_try;;
16191 esac 15769 esac
16192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 $as_echo "$ac_try_echo") >&5
16194 (eval "$ac_link") 2>conftest.er1 15771 (eval "$ac_link") 2>conftest.er1
16195 ac_status=$? 15772 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err 15773 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1 15774 rm -f conftest.er1
16198 cat conftest.err >&5 15775 cat conftest.err >&5
16199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } && { 15777 (exit $ac_status); } && {
16201 test -z "$ac_c_werror_flag" || 15778 test -z "$ac_c_werror_flag" ||
16202 test ! -s conftest.err 15779 test ! -s conftest.err
16203 } && test -s conftest$ac_exeext && { 15780 } && test -s conftest$ac_exeext &&
16204 test "$cross_compiling" = yes || 15781 $as_test_x conftest$ac_exeext; then
16205 $as_test_x conftest$ac_exeext
16206 }; then
16207 ac_cv_lib_mail_maillock=yes 15782 ac_cv_lib_mail_maillock=yes
16208 else 15783 else
16209 $as_echo "$as_me: failed program was:" >&5 15784 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5 15785 sed 's/^/| /' conftest.$ac_ext >&5
16211 15786
16212 ac_cv_lib_mail_maillock=no 15787 ac_cv_lib_mail_maillock=no
16213 fi 15788 fi
16214 15789
16215 rm -rf conftest.dSYM
16216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16217 conftest$ac_exeext conftest.$ac_ext 15791 conftest$ac_exeext conftest.$ac_ext
16218 LIBS=$ac_check_lib_save_LIBS 15792 LIBS=$ac_check_lib_save_LIBS
16219 fi 15793 fi
16220 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 15794 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5
16221 $as_echo "$ac_cv_lib_mail_maillock" >&6; } 15795 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; }
16222 if test "x$ac_cv_lib_mail_maillock" = x""yes; then 15796 if test $ac_cv_lib_mail_maillock = yes; then
16223 cat >>confdefs.h <<_ACEOF 15797 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_LIBMAIL 1 15798 #define HAVE_LIBMAIL 1
16225 _ACEOF 15799 _ACEOF
16226 15800
16227 LIBS="-lmail $LIBS" 15801 LIBS="-lmail $LIBS"
16228 15802
16229 fi 15803 fi
16230 15804
16231 15805
16232 { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 15806 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
16233 $as_echo_n "checking for maillock in -llockfile... " >&6; } 15807 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; }
16234 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 15808 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
16235 $as_echo_n "(cached) " >&6 15809 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 else 15810 else
16237 ac_check_lib_save_LIBS=$LIBS 15811 ac_check_lib_save_LIBS=$LIBS
16238 LIBS="-llockfile $LIBS" 15812 LIBS="-llockfile $LIBS"
16239 cat >conftest.$ac_ext <<_ACEOF 15813 cat >conftest.$ac_ext <<_ACEOF
16240 /* confdefs.h. */ 15814 /* confdefs.h. */
16262 if { (ac_try="$ac_link" 15836 if { (ac_try="$ac_link"
16263 case "(($ac_try" in 15837 case "(($ac_try" in
16264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16265 *) ac_try_echo=$ac_try;; 15839 *) ac_try_echo=$ac_try;;
16266 esac 15840 esac
16267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16268 $as_echo "$ac_try_echo") >&5
16269 (eval "$ac_link") 2>conftest.er1 15842 (eval "$ac_link") 2>conftest.er1
16270 ac_status=$? 15843 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err 15844 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1 15845 rm -f conftest.er1
16273 cat conftest.err >&5 15846 cat conftest.err >&5
16274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } && { 15848 (exit $ac_status); } && {
16276 test -z "$ac_c_werror_flag" || 15849 test -z "$ac_c_werror_flag" ||
16277 test ! -s conftest.err 15850 test ! -s conftest.err
16278 } && test -s conftest$ac_exeext && { 15851 } && test -s conftest$ac_exeext &&
16279 test "$cross_compiling" = yes || 15852 $as_test_x conftest$ac_exeext; then
16280 $as_test_x conftest$ac_exeext
16281 }; then
16282 ac_cv_lib_lockfile_maillock=yes 15853 ac_cv_lib_lockfile_maillock=yes
16283 else 15854 else
16284 $as_echo "$as_me: failed program was:" >&5 15855 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5 15856 sed 's/^/| /' conftest.$ac_ext >&5
16286 15857
16287 ac_cv_lib_lockfile_maillock=no 15858 ac_cv_lib_lockfile_maillock=no
16288 fi 15859 fi
16289 15860
16290 rm -rf conftest.dSYM
16291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16292 conftest$ac_exeext conftest.$ac_ext 15862 conftest$ac_exeext conftest.$ac_ext
16293 LIBS=$ac_check_lib_save_LIBS 15863 LIBS=$ac_check_lib_save_LIBS
16294 fi 15864 fi
16295 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 15865 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
16296 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } 15866 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; }
16297 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then 15867 if test $ac_cv_lib_lockfile_maillock = yes; then
16298 cat >>confdefs.h <<_ACEOF 15868 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_LIBLOCKFILE 1 15869 #define HAVE_LIBLOCKFILE 1
16300 _ACEOF 15870 _ACEOF
16301 15871
16302 LIBS="-llockfile $LIBS" 15872 LIBS="-llockfile $LIBS"
16307 # locking (e.g. Debian). If we couldn't link against liblockfile 15877 # locking (e.g. Debian). If we couldn't link against liblockfile
16308 # (no liblockfile.a installed), ensure that we don't need to. 15878 # (no liblockfile.a installed), ensure that we don't need to.
16309 if test "$ac_cv_lib_lockfile_maillock" = no; then 15879 if test "$ac_cv_lib_lockfile_maillock" = no; then
16310 # Extract the first word of "liblockfile.so", so it can be a program name with args. 15880 # Extract the first word of "liblockfile.so", so it can be a program name with args.
16311 set dummy liblockfile.so; ac_word=$2 15881 set dummy liblockfile.so; ac_word=$2
16312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 15882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16313 $as_echo_n "checking for $ac_word... " >&6; } 15883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16314 if test "${ac_cv_prog_liblockfile+set}" = set; then 15884 if test "${ac_cv_prog_liblockfile+set}" = set; then
16315 $as_echo_n "(cached) " >&6 15885 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else 15886 else
16317 if test -n "$liblockfile"; then 15887 if test -n "$liblockfile"; then
16318 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 15888 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
16319 else 15889 else
16320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16324 IFS=$as_save_IFS 15894 IFS=$as_save_IFS
16325 test -z "$as_dir" && as_dir=. 15895 test -z "$as_dir" && as_dir=.
16326 for ac_exec_ext in '' $ac_executable_extensions; do 15896 for ac_exec_ext in '' $ac_executable_extensions; do
16327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 15897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16328 ac_cv_prog_liblockfile="yes" 15898 ac_cv_prog_liblockfile="yes"
16329 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16330 break 2 15900 break 2
16331 fi 15901 fi
16332 done 15902 done
16333 done 15903 done
16334 IFS=$as_save_IFS 15904 IFS=$as_save_IFS
16336 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 15906 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
16337 fi 15907 fi
16338 fi 15908 fi
16339 liblockfile=$ac_cv_prog_liblockfile 15909 liblockfile=$ac_cv_prog_liblockfile
16340 if test -n "$liblockfile"; then 15910 if test -n "$liblockfile"; then
16341 { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 15911 { echo "$as_me:$LINENO: result: $liblockfile" >&5
16342 $as_echo "$liblockfile" >&6; } 15912 echo "${ECHO_T}$liblockfile" >&6; }
16343 else 15913 else
16344 { $as_echo "$as_me:$LINENO: result: no" >&5 15914 { echo "$as_me:$LINENO: result: no" >&5
16345 $as_echo "no" >&6; } 15915 echo "${ECHO_T}no" >&6; }
16346 fi 15916 fi
16347 15917
16348 15918
16349 if test $ac_cv_prog_liblockfile = yes; then 15919 if test $ac_cv_prog_liblockfile = yes; then
16350 { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. 15920 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it.
16351 This probably means that movemail could lose mail. 15921 This probably means that movemail could lose mail.
16352 There may be a \`development' package to install containing liblockfile." >&5 15922 There may be a \`development' package to install containing liblockfile." >&5
16353 $as_echo "$as_me: error: Shared liblockfile found but can't link against it. 15923 echo "$as_me: error: Shared liblockfile found but can't link against it.
16354 This probably means that movemail could lose mail. 15924 This probably means that movemail could lose mail.
16355 There may be a \`development' package to install containing liblockfile." >&2;} 15925 There may be a \`development' package to install containing liblockfile." >&2;}
16356 { (exit 1); exit 1; }; } 15926 { (exit 1); exit 1; }; }
16357 else : 15927 else :
16358 fi 15928 fi
16359 fi 15929 fi
16360 15930
16361 for ac_func in touchlock 15931 for ac_func in touchlock
16362 do 15932 do
16363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16364 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16365 $as_echo_n "checking for $ac_func... " >&6; } 15935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16366 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16367 $as_echo_n "(cached) " >&6 15937 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 else 15938 else
16369 cat >conftest.$ac_ext <<_ACEOF 15939 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */ 15940 /* confdefs.h. */
16371 _ACEOF 15941 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext 15942 cat confdefs.h >>conftest.$ac_ext
16415 if { (ac_try="$ac_link" 15985 if { (ac_try="$ac_link"
16416 case "(($ac_try" in 15986 case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;; 15988 *) ac_try_echo=$ac_try;;
16419 esac 15989 esac
16420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 $as_echo "$ac_try_echo") >&5
16422 (eval "$ac_link") 2>conftest.er1 15991 (eval "$ac_link") 2>conftest.er1
16423 ac_status=$? 15992 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err 15993 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1 15994 rm -f conftest.er1
16426 cat conftest.err >&5 15995 cat conftest.err >&5
16427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && { 15997 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" || 15998 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err 15999 test ! -s conftest.err
16431 } && test -s conftest$ac_exeext && { 16000 } && test -s conftest$ac_exeext &&
16432 test "$cross_compiling" = yes || 16001 $as_test_x conftest$ac_exeext; then
16433 $as_test_x conftest$ac_exeext
16434 }; then
16435 eval "$as_ac_var=yes" 16002 eval "$as_ac_var=yes"
16436 else 16003 else
16437 $as_echo "$as_me: failed program was:" >&5 16004 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5 16005 sed 's/^/| /' conftest.$ac_ext >&5
16439 16006
16440 eval "$as_ac_var=no" 16007 eval "$as_ac_var=no"
16441 fi 16008 fi
16442 16009
16443 rm -rf conftest.dSYM
16444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16445 conftest$ac_exeext conftest.$ac_ext 16011 conftest$ac_exeext conftest.$ac_ext
16446 fi 16012 fi
16447 ac_res=`eval 'as_val=${'$as_ac_var'} 16013 ac_res=`eval echo '${'$as_ac_var'}'`
16448 $as_echo "$as_val"'` 16014 { echo "$as_me:$LINENO: result: $ac_res" >&5
16449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16015 echo "${ECHO_T}$ac_res" >&6; }
16450 $as_echo "$ac_res" >&6; } 16016 if test `eval echo '${'$as_ac_var'}'` = yes; then
16451 as_val=`eval 'as_val=${'$as_ac_var'}
16452 $as_echo "$as_val"'`
16453 if test "x$as_val" = x""yes; then
16454 cat >>confdefs.h <<_ACEOF 16017 cat >>confdefs.h <<_ACEOF
16455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16456 _ACEOF 16019 _ACEOF
16457 16020
16458 fi 16021 fi
16459 done 16022 done
16460 16023
16461 16024
16462 for ac_header in maillock.h 16025 for ac_header in maillock.h
16463 do 16026 do
16464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16467 $as_echo_n "checking for $ac_header... " >&6; } 16030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16469 $as_echo_n "(cached) " >&6 16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 fi 16033 fi
16471 ac_res=`eval 'as_val=${'$as_ac_Header'} 16034 ac_res=`eval echo '${'$as_ac_Header'}'`
16472 $as_echo "$as_val"'` 16035 { echo "$as_me:$LINENO: result: $ac_res" >&5
16473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16036 echo "${ECHO_T}$ac_res" >&6; }
16474 $as_echo "$ac_res" >&6; }
16475 else 16037 else
16476 # Is the header compilable? 16038 # Is the header compilable?
16477 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16039 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16478 $as_echo_n "checking $ac_header usability... " >&6; } 16040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16479 cat >conftest.$ac_ext <<_ACEOF 16041 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */ 16042 /* confdefs.h. */
16481 _ACEOF 16043 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext 16044 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF 16045 cat >>conftest.$ac_ext <<_ACEOF
16489 if { (ac_try="$ac_compile" 16051 if { (ac_try="$ac_compile"
16490 case "(($ac_try" in 16052 case "(($ac_try" in
16491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16492 *) ac_try_echo=$ac_try;; 16054 *) ac_try_echo=$ac_try;;
16493 esac 16055 esac
16494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16495 $as_echo "$ac_try_echo") >&5
16496 (eval "$ac_compile") 2>conftest.er1 16057 (eval "$ac_compile") 2>conftest.er1
16497 ac_status=$? 16058 ac_status=$?
16498 grep -v '^ *+' conftest.er1 >conftest.err 16059 grep -v '^ *+' conftest.er1 >conftest.err
16499 rm -f conftest.er1 16060 rm -f conftest.er1
16500 cat conftest.err >&5 16061 cat conftest.err >&5
16501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); } && { 16063 (exit $ac_status); } && {
16503 test -z "$ac_c_werror_flag" || 16064 test -z "$ac_c_werror_flag" ||
16504 test ! -s conftest.err 16065 test ! -s conftest.err
16505 } && test -s conftest.$ac_objext; then 16066 } && test -s conftest.$ac_objext; then
16506 ac_header_compiler=yes 16067 ac_header_compiler=yes
16507 else 16068 else
16508 $as_echo "$as_me: failed program was:" >&5 16069 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.$ac_ext >&5 16070 sed 's/^/| /' conftest.$ac_ext >&5
16510 16071
16511 ac_header_compiler=no 16072 ac_header_compiler=no
16512 fi 16073 fi
16513 16074
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16515 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16516 $as_echo "$ac_header_compiler" >&6; } 16077 echo "${ECHO_T}$ac_header_compiler" >&6; }
16517 16078
16518 # Is the header present? 16079 # Is the header present?
16519 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16080 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16520 $as_echo_n "checking $ac_header presence... " >&6; } 16081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16521 cat >conftest.$ac_ext <<_ACEOF 16082 cat >conftest.$ac_ext <<_ACEOF
16522 /* confdefs.h. */ 16083 /* confdefs.h. */
16523 _ACEOF 16084 _ACEOF
16524 cat confdefs.h >>conftest.$ac_ext 16085 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF 16086 cat >>conftest.$ac_ext <<_ACEOF
16529 if { (ac_try="$ac_cpp conftest.$ac_ext" 16090 if { (ac_try="$ac_cpp conftest.$ac_ext"
16530 case "(($ac_try" in 16091 case "(($ac_try" in
16531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;; 16093 *) ac_try_echo=$ac_try;;
16533 esac 16094 esac
16534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16535 $as_echo "$ac_try_echo") >&5
16536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16537 ac_status=$? 16097 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err 16098 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1 16099 rm -f conftest.er1
16540 cat conftest.err >&5 16100 cat conftest.err >&5
16541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } >/dev/null && { 16102 (exit $ac_status); } >/dev/null && {
16543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16544 test ! -s conftest.err 16104 test ! -s conftest.err
16545 }; then 16105 }; then
16546 ac_header_preproc=yes 16106 ac_header_preproc=yes
16547 else 16107 else
16548 $as_echo "$as_me: failed program was:" >&5 16108 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5 16109 sed 's/^/| /' conftest.$ac_ext >&5
16550 16110
16551 ac_header_preproc=no 16111 ac_header_preproc=no
16552 fi 16112 fi
16553 16113
16554 rm -f conftest.err conftest.$ac_ext 16114 rm -f conftest.err conftest.$ac_ext
16555 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16556 $as_echo "$ac_header_preproc" >&6; } 16116 echo "${ECHO_T}$ac_header_preproc" >&6; }
16557 16117
16558 # So? What about this header? 16118 # So? What about this header?
16559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16560 yes:no: ) 16120 yes:no: )
16561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16562 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16564 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16565 ac_header_preproc=yes 16125 ac_header_preproc=yes
16566 ;; 16126 ;;
16567 no:yes:* ) 16127 no:yes:* )
16568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16569 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16571 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16573 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16575 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16577 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16579 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16580 16140
16581 ;; 16141 ;;
16582 esac 16142 esac
16583 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16584 $as_echo_n "checking for $ac_header... " >&6; } 16144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16586 $as_echo_n "(cached) " >&6 16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 else 16147 else
16588 eval "$as_ac_Header=\$ac_header_preproc" 16148 eval "$as_ac_Header=\$ac_header_preproc"
16589 fi 16149 fi
16590 ac_res=`eval 'as_val=${'$as_ac_Header'} 16150 ac_res=`eval echo '${'$as_ac_Header'}'`
16591 $as_echo "$as_val"'` 16151 { echo "$as_me:$LINENO: result: $ac_res" >&5
16592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16152 echo "${ECHO_T}$ac_res" >&6; }
16593 $as_echo "$ac_res" >&6; } 16153
16594 16154 fi
16595 fi 16155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16596 as_val=`eval 'as_val=${'$as_ac_Header'}
16597 $as_echo "$as_val"'`
16598 if test "x$as_val" = x""yes; then
16599 cat >>confdefs.h <<_ACEOF 16156 cat >>confdefs.h <<_ACEOF
16600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16601 _ACEOF 16158 _ACEOF
16602 16159
16603 fi 16160 fi
16604 16161
16605 done 16162 done
16685 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 16242 sendto recvfrom getsockopt setsockopt getsockname getpeername \
16686 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ 16243 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \
16687 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ 16244 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \
16688 cfmakeraw cfsetspeed 16245 cfmakeraw cfsetspeed
16689 do 16246 do
16690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16691 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16248 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16692 $as_echo_n "checking for $ac_func... " >&6; } 16249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16250 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16694 $as_echo_n "(cached) " >&6 16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else 16252 else
16696 cat >conftest.$ac_ext <<_ACEOF 16253 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */ 16254 /* confdefs.h. */
16698 _ACEOF 16255 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext 16256 cat confdefs.h >>conftest.$ac_ext
16742 if { (ac_try="$ac_link" 16299 if { (ac_try="$ac_link"
16743 case "(($ac_try" in 16300 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;; 16302 *) ac_try_echo=$ac_try;;
16746 esac 16303 esac
16747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 $as_echo "$ac_try_echo") >&5
16749 (eval "$ac_link") 2>conftest.er1 16305 (eval "$ac_link") 2>conftest.er1
16750 ac_status=$? 16306 ac_status=$?
16751 grep -v '^ *+' conftest.er1 >conftest.err 16307 grep -v '^ *+' conftest.er1 >conftest.err
16752 rm -f conftest.er1 16308 rm -f conftest.er1
16753 cat conftest.err >&5 16309 cat conftest.err >&5
16754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } && { 16311 (exit $ac_status); } && {
16756 test -z "$ac_c_werror_flag" || 16312 test -z "$ac_c_werror_flag" ||
16757 test ! -s conftest.err 16313 test ! -s conftest.err
16758 } && test -s conftest$ac_exeext && { 16314 } && test -s conftest$ac_exeext &&
16759 test "$cross_compiling" = yes || 16315 $as_test_x conftest$ac_exeext; then
16760 $as_test_x conftest$ac_exeext
16761 }; then
16762 eval "$as_ac_var=yes" 16316 eval "$as_ac_var=yes"
16763 else 16317 else
16764 $as_echo "$as_me: failed program was:" >&5 16318 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5 16319 sed 's/^/| /' conftest.$ac_ext >&5
16766 16320
16767 eval "$as_ac_var=no" 16321 eval "$as_ac_var=no"
16768 fi 16322 fi
16769 16323
16770 rm -rf conftest.dSYM
16771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16772 conftest$ac_exeext conftest.$ac_ext 16325 conftest$ac_exeext conftest.$ac_ext
16773 fi 16326 fi
16774 ac_res=`eval 'as_val=${'$as_ac_var'} 16327 ac_res=`eval echo '${'$as_ac_var'}'`
16775 $as_echo "$as_val"'` 16328 { echo "$as_me:$LINENO: result: $ac_res" >&5
16776 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16329 echo "${ECHO_T}$ac_res" >&6; }
16777 $as_echo "$ac_res" >&6; } 16330 if test `eval echo '${'$as_ac_var'}'` = yes; then
16778 as_val=`eval 'as_val=${'$as_ac_var'}
16779 $as_echo "$as_val"'`
16780 if test "x$as_val" = x""yes; then
16781 cat >>confdefs.h <<_ACEOF 16331 cat >>confdefs.h <<_ACEOF
16782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16783 _ACEOF 16333 _ACEOF
16784 16334
16785 fi 16335 fi
16786 done 16336 done
16787 16337
16788 16338
16789 16339
16790 for ac_header in sys/un.h 16340 for ac_header in sys/un.h
16791 do 16341 do
16792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16794 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16795 $as_echo_n "checking for $ac_header... " >&6; } 16345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16797 $as_echo_n "(cached) " >&6 16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 fi 16348 fi
16799 ac_res=`eval 'as_val=${'$as_ac_Header'} 16349 ac_res=`eval echo '${'$as_ac_Header'}'`
16800 $as_echo "$as_val"'` 16350 { echo "$as_me:$LINENO: result: $ac_res" >&5
16801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16351 echo "${ECHO_T}$ac_res" >&6; }
16802 $as_echo "$ac_res" >&6; }
16803 else 16352 else
16804 # Is the header compilable? 16353 # Is the header compilable?
16805 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16354 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16806 $as_echo_n "checking $ac_header usability... " >&6; } 16355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16807 cat >conftest.$ac_ext <<_ACEOF 16356 cat >conftest.$ac_ext <<_ACEOF
16808 /* confdefs.h. */ 16357 /* confdefs.h. */
16809 _ACEOF 16358 _ACEOF
16810 cat confdefs.h >>conftest.$ac_ext 16359 cat confdefs.h >>conftest.$ac_ext
16811 cat >>conftest.$ac_ext <<_ACEOF 16360 cat >>conftest.$ac_ext <<_ACEOF
16817 if { (ac_try="$ac_compile" 16366 if { (ac_try="$ac_compile"
16818 case "(($ac_try" in 16367 case "(($ac_try" in
16819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16820 *) ac_try_echo=$ac_try;; 16369 *) ac_try_echo=$ac_try;;
16821 esac 16370 esac
16822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16823 $as_echo "$ac_try_echo") >&5
16824 (eval "$ac_compile") 2>conftest.er1 16372 (eval "$ac_compile") 2>conftest.er1
16825 ac_status=$? 16373 ac_status=$?
16826 grep -v '^ *+' conftest.er1 >conftest.err 16374 grep -v '^ *+' conftest.er1 >conftest.err
16827 rm -f conftest.er1 16375 rm -f conftest.er1
16828 cat conftest.err >&5 16376 cat conftest.err >&5
16829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } && { 16378 (exit $ac_status); } && {
16831 test -z "$ac_c_werror_flag" || 16379 test -z "$ac_c_werror_flag" ||
16832 test ! -s conftest.err 16380 test ! -s conftest.err
16833 } && test -s conftest.$ac_objext; then 16381 } && test -s conftest.$ac_objext; then
16834 ac_header_compiler=yes 16382 ac_header_compiler=yes
16835 else 16383 else
16836 $as_echo "$as_me: failed program was:" >&5 16384 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5 16385 sed 's/^/| /' conftest.$ac_ext >&5
16838 16386
16839 ac_header_compiler=no 16387 ac_header_compiler=no
16840 fi 16388 fi
16841 16389
16842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16843 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16391 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16844 $as_echo "$ac_header_compiler" >&6; } 16392 echo "${ECHO_T}$ac_header_compiler" >&6; }
16845 16393
16846 # Is the header present? 16394 # Is the header present?
16847 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16395 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16848 $as_echo_n "checking $ac_header presence... " >&6; } 16396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16849 cat >conftest.$ac_ext <<_ACEOF 16397 cat >conftest.$ac_ext <<_ACEOF
16850 /* confdefs.h. */ 16398 /* confdefs.h. */
16851 _ACEOF 16399 _ACEOF
16852 cat confdefs.h >>conftest.$ac_ext 16400 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF 16401 cat >>conftest.$ac_ext <<_ACEOF
16857 if { (ac_try="$ac_cpp conftest.$ac_ext" 16405 if { (ac_try="$ac_cpp conftest.$ac_ext"
16858 case "(($ac_try" in 16406 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;; 16408 *) ac_try_echo=$ac_try;;
16861 esac 16409 esac
16862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 $as_echo "$ac_try_echo") >&5
16864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16865 ac_status=$? 16412 ac_status=$?
16866 grep -v '^ *+' conftest.er1 >conftest.err 16413 grep -v '^ *+' conftest.er1 >conftest.err
16867 rm -f conftest.er1 16414 rm -f conftest.er1
16868 cat conftest.err >&5 16415 cat conftest.err >&5
16869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } >/dev/null && { 16417 (exit $ac_status); } >/dev/null && {
16871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16872 test ! -s conftest.err 16419 test ! -s conftest.err
16873 }; then 16420 }; then
16874 ac_header_preproc=yes 16421 ac_header_preproc=yes
16875 else 16422 else
16876 $as_echo "$as_me: failed program was:" >&5 16423 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5 16424 sed 's/^/| /' conftest.$ac_ext >&5
16878 16425
16879 ac_header_preproc=no 16426 ac_header_preproc=no
16880 fi 16427 fi
16881 16428
16882 rm -f conftest.err conftest.$ac_ext 16429 rm -f conftest.err conftest.$ac_ext
16883 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16430 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16884 $as_echo "$ac_header_preproc" >&6; } 16431 echo "${ECHO_T}$ac_header_preproc" >&6; }
16885 16432
16886 # So? What about this header? 16433 # So? What about this header?
16887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16888 yes:no: ) 16435 yes:no: )
16889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16890 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16892 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16893 ac_header_preproc=yes 16440 ac_header_preproc=yes
16894 ;; 16441 ;;
16895 no:yes:* ) 16442 no:yes:* )
16896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16897 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16899 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16900 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16901 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16903 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16905 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16906 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16907 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16908 16455
16909 ;; 16456 ;;
16910 esac 16457 esac
16911 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16912 $as_echo_n "checking for $ac_header... " >&6; } 16459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16914 $as_echo_n "(cached) " >&6 16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else 16462 else
16916 eval "$as_ac_Header=\$ac_header_preproc" 16463 eval "$as_ac_Header=\$ac_header_preproc"
16917 fi 16464 fi
16918 ac_res=`eval 'as_val=${'$as_ac_Header'} 16465 ac_res=`eval echo '${'$as_ac_Header'}'`
16919 $as_echo "$as_val"'` 16466 { echo "$as_me:$LINENO: result: $ac_res" >&5
16920 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16467 echo "${ECHO_T}$ac_res" >&6; }
16921 $as_echo "$ac_res" >&6; } 16468
16922 16469 fi
16923 fi 16470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16924 as_val=`eval 'as_val=${'$as_ac_Header'}
16925 $as_echo "$as_val"'`
16926 if test "x$as_val" = x""yes; then
16927 cat >>confdefs.h <<_ACEOF 16471 cat >>confdefs.h <<_ACEOF
16928 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16929 _ACEOF 16473 _ACEOF
16930 16474
16931 fi 16475 fi
16932 16476
16933 done 16477 done
16937 16481
16938 16482
16939 16483
16940 for ac_header in $ac_header_list 16484 for ac_header in $ac_header_list
16941 do 16485 do
16942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 16486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16944 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
16945 $as_echo_n "checking for $ac_header... " >&6; } 16489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16947 $as_echo_n "(cached) " >&6 16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 fi 16492 fi
16949 ac_res=`eval 'as_val=${'$as_ac_Header'} 16493 ac_res=`eval echo '${'$as_ac_Header'}'`
16950 $as_echo "$as_val"'` 16494 { echo "$as_me:$LINENO: result: $ac_res" >&5
16951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16495 echo "${ECHO_T}$ac_res" >&6; }
16952 $as_echo "$ac_res" >&6; }
16953 else 16496 else
16954 # Is the header compilable? 16497 # Is the header compilable?
16955 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 16498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
16956 $as_echo_n "checking $ac_header usability... " >&6; } 16499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16957 cat >conftest.$ac_ext <<_ACEOF 16500 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */ 16501 /* confdefs.h. */
16959 _ACEOF 16502 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext 16503 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF 16504 cat >>conftest.$ac_ext <<_ACEOF
16967 if { (ac_try="$ac_compile" 16510 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in 16511 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;; 16513 *) ac_try_echo=$ac_try;;
16971 esac 16514 esac
16972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 $as_echo "$ac_try_echo") >&5
16974 (eval "$ac_compile") 2>conftest.er1 16516 (eval "$ac_compile") 2>conftest.er1
16975 ac_status=$? 16517 ac_status=$?
16976 grep -v '^ *+' conftest.er1 >conftest.err 16518 grep -v '^ *+' conftest.er1 >conftest.err
16977 rm -f conftest.er1 16519 rm -f conftest.er1
16978 cat conftest.err >&5 16520 cat conftest.err >&5
16979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } && { 16522 (exit $ac_status); } && {
16981 test -z "$ac_c_werror_flag" || 16523 test -z "$ac_c_werror_flag" ||
16982 test ! -s conftest.err 16524 test ! -s conftest.err
16983 } && test -s conftest.$ac_objext; then 16525 } && test -s conftest.$ac_objext; then
16984 ac_header_compiler=yes 16526 ac_header_compiler=yes
16985 else 16527 else
16986 $as_echo "$as_me: failed program was:" >&5 16528 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5 16529 sed 's/^/| /' conftest.$ac_ext >&5
16988 16530
16989 ac_header_compiler=no 16531 ac_header_compiler=no
16990 fi 16532 fi
16991 16533
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16994 $as_echo "$ac_header_compiler" >&6; } 16536 echo "${ECHO_T}$ac_header_compiler" >&6; }
16995 16537
16996 # Is the header present? 16538 # Is the header present?
16997 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 16539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
16998 $as_echo_n "checking $ac_header presence... " >&6; } 16540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16999 cat >conftest.$ac_ext <<_ACEOF 16541 cat >conftest.$ac_ext <<_ACEOF
17000 /* confdefs.h. */ 16542 /* confdefs.h. */
17001 _ACEOF 16543 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext 16544 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF 16545 cat >>conftest.$ac_ext <<_ACEOF
17007 if { (ac_try="$ac_cpp conftest.$ac_ext" 16549 if { (ac_try="$ac_cpp conftest.$ac_ext"
17008 case "(($ac_try" in 16550 case "(($ac_try" in
17009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17010 *) ac_try_echo=$ac_try;; 16552 *) ac_try_echo=$ac_try;;
17011 esac 16553 esac
17012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17013 $as_echo "$ac_try_echo") >&5
17014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17015 ac_status=$? 16556 ac_status=$?
17016 grep -v '^ *+' conftest.er1 >conftest.err 16557 grep -v '^ *+' conftest.er1 >conftest.err
17017 rm -f conftest.er1 16558 rm -f conftest.er1
17018 cat conftest.err >&5 16559 cat conftest.err >&5
17019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } >/dev/null && { 16561 (exit $ac_status); } >/dev/null && {
17021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 16562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17022 test ! -s conftest.err 16563 test ! -s conftest.err
17023 }; then 16564 }; then
17024 ac_header_preproc=yes 16565 ac_header_preproc=yes
17025 else 16566 else
17026 $as_echo "$as_me: failed program was:" >&5 16567 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5 16568 sed 's/^/| /' conftest.$ac_ext >&5
17028 16569
17029 ac_header_preproc=no 16570 ac_header_preproc=no
17030 fi 16571 fi
17031 16572
17032 rm -f conftest.err conftest.$ac_ext 16573 rm -f conftest.err conftest.$ac_ext
17033 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17034 $as_echo "$ac_header_preproc" >&6; } 16575 echo "${ECHO_T}$ac_header_preproc" >&6; }
17035 16576
17036 # So? What about this header? 16577 # So? What about this header?
17037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17038 yes:no: ) 16579 yes:no: )
17039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17040 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17042 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17043 ac_header_preproc=yes 16584 ac_header_preproc=yes
17044 ;; 16585 ;;
17045 no:yes:* ) 16586 no:yes:* )
17046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17047 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17048 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17049 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17051 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17053 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17055 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17057 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17058 16599
17059 ;; 16600 ;;
17060 esac 16601 esac
17061 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 16602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17062 $as_echo_n "checking for $ac_header... " >&6; } 16603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17064 $as_echo_n "(cached) " >&6 16605 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else 16606 else
17066 eval "$as_ac_Header=\$ac_header_preproc" 16607 eval "$as_ac_Header=\$ac_header_preproc"
17067 fi 16608 fi
17068 ac_res=`eval 'as_val=${'$as_ac_Header'} 16609 ac_res=`eval echo '${'$as_ac_Header'}'`
17069 $as_echo "$as_val"'` 16610 { echo "$as_me:$LINENO: result: $ac_res" >&5
17070 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16611 echo "${ECHO_T}$ac_res" >&6; }
17071 $as_echo "$ac_res" >&6; } 16612
17072 16613 fi
17073 fi 16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17074 as_val=`eval 'as_val=${'$as_ac_Header'}
17075 $as_echo "$as_val"'`
17076 if test "x$as_val" = x""yes; then
17077 cat >>confdefs.h <<_ACEOF 16615 cat >>confdefs.h <<_ACEOF
17078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17079 _ACEOF 16617 _ACEOF
17080 16618
17081 fi 16619 fi
17082 16620
17083 done 16621 done
17090 16628
17091 16629
17092 16630
17093 for ac_func in $ac_func_list 16631 for ac_func in $ac_func_list
17094 do 16632 do
17095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17097 $as_echo_n "checking for $ac_func... " >&6; } 16635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17099 $as_echo_n "(cached) " >&6 16637 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 else 16638 else
17101 cat >conftest.$ac_ext <<_ACEOF 16639 cat >conftest.$ac_ext <<_ACEOF
17102 /* confdefs.h. */ 16640 /* confdefs.h. */
17103 _ACEOF 16641 _ACEOF
17104 cat confdefs.h >>conftest.$ac_ext 16642 cat confdefs.h >>conftest.$ac_ext
17147 if { (ac_try="$ac_link" 16685 if { (ac_try="$ac_link"
17148 case "(($ac_try" in 16686 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;; 16688 *) ac_try_echo=$ac_try;;
17151 esac 16689 esac
17152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 $as_echo "$ac_try_echo") >&5
17154 (eval "$ac_link") 2>conftest.er1 16691 (eval "$ac_link") 2>conftest.er1
17155 ac_status=$? 16692 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err 16693 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1 16694 rm -f conftest.er1
17158 cat conftest.err >&5 16695 cat conftest.err >&5
17159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } && { 16697 (exit $ac_status); } && {
17161 test -z "$ac_c_werror_flag" || 16698 test -z "$ac_c_werror_flag" ||
17162 test ! -s conftest.err 16699 test ! -s conftest.err
17163 } && test -s conftest$ac_exeext && { 16700 } && test -s conftest$ac_exeext &&
17164 test "$cross_compiling" = yes || 16701 $as_test_x conftest$ac_exeext; then
17165 $as_test_x conftest$ac_exeext
17166 }; then
17167 eval "$as_ac_var=yes" 16702 eval "$as_ac_var=yes"
17168 else 16703 else
17169 $as_echo "$as_me: failed program was:" >&5 16704 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5 16705 sed 's/^/| /' conftest.$ac_ext >&5
17171 16706
17172 eval "$as_ac_var=no" 16707 eval "$as_ac_var=no"
17173 fi 16708 fi
17174 16709
17175 rm -rf conftest.dSYM
17176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17177 conftest$ac_exeext conftest.$ac_ext 16711 conftest$ac_exeext conftest.$ac_ext
17178 fi 16712 fi
17179 ac_res=`eval 'as_val=${'$as_ac_var'} 16713 ac_res=`eval echo '${'$as_ac_var'}'`
17180 $as_echo "$as_val"'` 16714 { echo "$as_me:$LINENO: result: $ac_res" >&5
17181 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16715 echo "${ECHO_T}$ac_res" >&6; }
17182 $as_echo "$ac_res" >&6; } 16716 if test `eval echo '${'$as_ac_var'}'` = yes; then
17183 as_val=`eval 'as_val=${'$as_ac_var'}
17184 $as_echo "$as_val"'`
17185 if test "x$as_val" = x""yes; then
17186 cat >>confdefs.h <<_ACEOF 16717 cat >>confdefs.h <<_ACEOF
17187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17188 _ACEOF 16719 _ACEOF
17189 16720
17190 fi 16721 fi
17191 done 16722 done
17192 16723
17204 16735
17205 16736
17206 16737
17207 16738
17208 16739
17209 { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 16740 { echo "$as_me:$LINENO: checking for working mktime" >&5
17210 $as_echo_n "checking for working mktime... " >&6; } 16741 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
17211 if test "${ac_cv_func_working_mktime+set}" = set; then 16742 if test "${ac_cv_func_working_mktime+set}" = set; then
17212 $as_echo_n "(cached) " >&6 16743 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else 16744 else
17214 if test "$cross_compiling" = yes; then 16745 if test "$cross_compiling" = yes; then
17215 ac_cv_func_working_mktime=no 16746 ac_cv_func_working_mktime=no
17216 else 16747 else
17217 cat >conftest.$ac_ext <<_ACEOF 16748 cat >conftest.$ac_ext <<_ACEOF
17419 if { (ac_try="$ac_link" 16950 if { (ac_try="$ac_link"
17420 case "(($ac_try" in 16951 case "(($ac_try" in
17421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;; 16953 *) ac_try_echo=$ac_try;;
17423 esac 16954 esac
17424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 $as_echo "$ac_try_echo") >&5
17426 (eval "$ac_link") 2>&5 16956 (eval "$ac_link") 2>&5
17427 ac_status=$? 16957 ac_status=$?
17428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17430 { (case "(($ac_try" in 16960 { (case "(($ac_try" in
17431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17432 *) ac_try_echo=$ac_try;; 16962 *) ac_try_echo=$ac_try;;
17433 esac 16963 esac
17434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17435 $as_echo "$ac_try_echo") >&5
17436 (eval "$ac_try") 2>&5 16965 (eval "$ac_try") 2>&5
17437 ac_status=$? 16966 ac_status=$?
17438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then 16968 (exit $ac_status); }; }; then
17440 ac_cv_func_working_mktime=yes 16969 ac_cv_func_working_mktime=yes
17441 else 16970 else
17442 $as_echo "$as_me: program exited with status $ac_status" >&5 16971 echo "$as_me: program exited with status $ac_status" >&5
17443 $as_echo "$as_me: failed program was:" >&5 16972 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5 16973 sed 's/^/| /' conftest.$ac_ext >&5
17445 16974
17446 ( exit $ac_status ) 16975 ( exit $ac_status )
17447 ac_cv_func_working_mktime=no 16976 ac_cv_func_working_mktime=no
17448 fi 16977 fi
17449 rm -rf conftest.dSYM
17450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17451 fi 16979 fi
17452 16980
17453 16981
17454 fi 16982 fi
17455 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 16983 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
17456 $as_echo "$ac_cv_func_working_mktime" >&6; } 16984 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
17457 if test $ac_cv_func_working_mktime = no; then 16985 if test $ac_cv_func_working_mktime = no; then
17458 case " $LIBOBJS " in 16986 case " $LIBOBJS " in
17459 *" mktime.$ac_objext "* ) ;; 16987 *" mktime.$ac_objext "* ) ;;
17460 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" 16988 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
17461 ;; 16989 ;;
17473 17001
17474 ac_have_func=no # yes means we've found a way to get the load average. 17002 ac_have_func=no # yes means we've found a way to get the load average.
17475 17003
17476 # Make sure getloadavg.c is where it belongs, at configure-time. 17004 # Make sure getloadavg.c is where it belongs, at configure-time.
17477 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || 17005 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" ||
17478 { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 17006 { { echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5
17479 $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} 17007 echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;}
17480 { (exit 1); exit 1; }; } 17008 { (exit 1); exit 1; }; }
17481 17009
17482 ac_save_LIBS=$LIBS 17010 ac_save_LIBS=$LIBS
17483 17011
17484 # Check for getloadavg, but be sure not to touch the cache variable. 17012 # Check for getloadavg, but be sure not to touch the cache variable.
17485 ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 17013 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5
17486 $as_echo_n "checking for getloadavg... " >&6; } 17014 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; }
17487 if test "${ac_cv_func_getloadavg+set}" = set; then 17015 if test "${ac_cv_func_getloadavg+set}" = set; then
17488 $as_echo_n "(cached) " >&6 17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 else 17017 else
17490 cat >conftest.$ac_ext <<_ACEOF 17018 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */ 17019 /* confdefs.h. */
17492 _ACEOF 17020 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext 17021 cat confdefs.h >>conftest.$ac_ext
17536 if { (ac_try="$ac_link" 17064 if { (ac_try="$ac_link"
17537 case "(($ac_try" in 17065 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;; 17067 *) ac_try_echo=$ac_try;;
17540 esac 17068 esac
17541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 $as_echo "$ac_try_echo") >&5
17543 (eval "$ac_link") 2>conftest.er1 17070 (eval "$ac_link") 2>conftest.er1
17544 ac_status=$? 17071 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err 17072 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1 17073 rm -f conftest.er1
17547 cat conftest.err >&5 17074 cat conftest.err >&5
17548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } && { 17076 (exit $ac_status); } && {
17550 test -z "$ac_c_werror_flag" || 17077 test -z "$ac_c_werror_flag" ||
17551 test ! -s conftest.err 17078 test ! -s conftest.err
17552 } && test -s conftest$ac_exeext && { 17079 } && test -s conftest$ac_exeext &&
17553 test "$cross_compiling" = yes || 17080 $as_test_x conftest$ac_exeext; then
17554 $as_test_x conftest$ac_exeext
17555 }; then
17556 ac_cv_func_getloadavg=yes 17081 ac_cv_func_getloadavg=yes
17557 else 17082 else
17558 $as_echo "$as_me: failed program was:" >&5 17083 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5 17084 sed 's/^/| /' conftest.$ac_ext >&5
17560 17085
17561 ac_cv_func_getloadavg=no 17086 ac_cv_func_getloadavg=no
17562 fi 17087 fi
17563 17088
17564 rm -rf conftest.dSYM
17565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17566 conftest$ac_exeext conftest.$ac_ext 17090 conftest$ac_exeext conftest.$ac_ext
17567 fi 17091 fi
17568 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 17092 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
17569 $as_echo "$ac_cv_func_getloadavg" >&6; } 17093 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; }
17570 if test "x$ac_cv_func_getloadavg" = x""yes; then 17094 if test $ac_cv_func_getloadavg = yes; then
17571 exit 0 17095 exit 0
17572 else 17096 else
17573 exit 1 17097 exit 1
17574 fi 17098 fi
17575 ) && ac_have_func=yes 17099 ) && ac_have_func=yes
17576 17100
17577 # On HPUX9, an unprivileged user can get load averages through this function. 17101 # On HPUX9, an unprivileged user can get load averages through this function.
17578 17102
17579 for ac_func in pstat_getdynamic 17103 for ac_func in pstat_getdynamic
17580 do 17104 do
17581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17582 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17106 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17583 $as_echo_n "checking for $ac_func... " >&6; } 17107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17584 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17108 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17585 $as_echo_n "(cached) " >&6 17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17586 else 17110 else
17587 cat >conftest.$ac_ext <<_ACEOF 17111 cat >conftest.$ac_ext <<_ACEOF
17588 /* confdefs.h. */ 17112 /* confdefs.h. */
17589 _ACEOF 17113 _ACEOF
17590 cat confdefs.h >>conftest.$ac_ext 17114 cat confdefs.h >>conftest.$ac_ext
17633 if { (ac_try="$ac_link" 17157 if { (ac_try="$ac_link"
17634 case "(($ac_try" in 17158 case "(($ac_try" in
17635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17636 *) ac_try_echo=$ac_try;; 17160 *) ac_try_echo=$ac_try;;
17637 esac 17161 esac
17638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17639 $as_echo "$ac_try_echo") >&5
17640 (eval "$ac_link") 2>conftest.er1 17163 (eval "$ac_link") 2>conftest.er1
17641 ac_status=$? 17164 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err 17165 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1 17166 rm -f conftest.er1
17644 cat conftest.err >&5 17167 cat conftest.err >&5
17645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && { 17169 (exit $ac_status); } && {
17647 test -z "$ac_c_werror_flag" || 17170 test -z "$ac_c_werror_flag" ||
17648 test ! -s conftest.err 17171 test ! -s conftest.err
17649 } && test -s conftest$ac_exeext && { 17172 } && test -s conftest$ac_exeext &&
17650 test "$cross_compiling" = yes || 17173 $as_test_x conftest$ac_exeext; then
17651 $as_test_x conftest$ac_exeext
17652 }; then
17653 eval "$as_ac_var=yes" 17174 eval "$as_ac_var=yes"
17654 else 17175 else
17655 $as_echo "$as_me: failed program was:" >&5 17176 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5 17177 sed 's/^/| /' conftest.$ac_ext >&5
17657 17178
17658 eval "$as_ac_var=no" 17179 eval "$as_ac_var=no"
17659 fi 17180 fi
17660 17181
17661 rm -rf conftest.dSYM
17662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17663 conftest$ac_exeext conftest.$ac_ext 17183 conftest$ac_exeext conftest.$ac_ext
17664 fi 17184 fi
17665 ac_res=`eval 'as_val=${'$as_ac_var'} 17185 ac_res=`eval echo '${'$as_ac_var'}'`
17666 $as_echo "$as_val"'` 17186 { echo "$as_me:$LINENO: result: $ac_res" >&5
17667 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17187 echo "${ECHO_T}$ac_res" >&6; }
17668 $as_echo "$ac_res" >&6; } 17188 if test `eval echo '${'$as_ac_var'}'` = yes; then
17669 as_val=`eval 'as_val=${'$as_ac_var'}
17670 $as_echo "$as_val"'`
17671 if test "x$as_val" = x""yes; then
17672 cat >>confdefs.h <<_ACEOF 17189 cat >>confdefs.h <<_ACEOF
17673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17674 _ACEOF 17191 _ACEOF
17675 17192
17676 fi 17193 fi
17677 done 17194 done
17678 17195
17679 17196
17680 # Solaris has libkstat which does not require root. 17197 # Solaris has libkstat which does not require root.
17681 17198
17682 { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 17199 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
17683 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 17200 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
17684 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 17201 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
17685 $as_echo_n "(cached) " >&6 17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else 17203 else
17687 ac_check_lib_save_LIBS=$LIBS 17204 ac_check_lib_save_LIBS=$LIBS
17688 LIBS="-lkstat $LIBS" 17205 LIBS="-lkstat $LIBS"
17689 cat >conftest.$ac_ext <<_ACEOF 17206 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */ 17207 /* confdefs.h. */
17712 if { (ac_try="$ac_link" 17229 if { (ac_try="$ac_link"
17713 case "(($ac_try" in 17230 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;; 17232 *) ac_try_echo=$ac_try;;
17716 esac 17233 esac
17717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 $as_echo "$ac_try_echo") >&5
17719 (eval "$ac_link") 2>conftest.er1 17235 (eval "$ac_link") 2>conftest.er1
17720 ac_status=$? 17236 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err 17237 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1 17238 rm -f conftest.er1
17723 cat conftest.err >&5 17239 cat conftest.err >&5
17724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && { 17241 (exit $ac_status); } && {
17726 test -z "$ac_c_werror_flag" || 17242 test -z "$ac_c_werror_flag" ||
17727 test ! -s conftest.err 17243 test ! -s conftest.err
17728 } && test -s conftest$ac_exeext && { 17244 } && test -s conftest$ac_exeext &&
17729 test "$cross_compiling" = yes || 17245 $as_test_x conftest$ac_exeext; then
17730 $as_test_x conftest$ac_exeext
17731 }; then
17732 ac_cv_lib_kstat_kstat_open=yes 17246 ac_cv_lib_kstat_kstat_open=yes
17733 else 17247 else
17734 $as_echo "$as_me: failed program was:" >&5 17248 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5 17249 sed 's/^/| /' conftest.$ac_ext >&5
17736 17250
17737 ac_cv_lib_kstat_kstat_open=no 17251 ac_cv_lib_kstat_kstat_open=no
17738 fi 17252 fi
17739 17253
17740 rm -rf conftest.dSYM
17741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17742 conftest$ac_exeext conftest.$ac_ext 17255 conftest$ac_exeext conftest.$ac_ext
17743 LIBS=$ac_check_lib_save_LIBS 17256 LIBS=$ac_check_lib_save_LIBS
17744 fi 17257 fi
17745 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 17258 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
17746 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 17259 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
17747 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then 17260 if test $ac_cv_lib_kstat_kstat_open = yes; then
17748 cat >>confdefs.h <<_ACEOF 17261 cat >>confdefs.h <<_ACEOF
17749 #define HAVE_LIBKSTAT 1 17262 #define HAVE_LIBKSTAT 1
17750 _ACEOF 17263 _ACEOF
17751 17264
17752 LIBS="-lkstat $LIBS" 17265 LIBS="-lkstat $LIBS"
17758 # Some systems with -lutil have (and need) -lkvm as well, some do not. 17271 # Some systems with -lutil have (and need) -lkvm as well, some do not.
17759 # On Solaris, -lkvm requires nlist from -lelf, so check that first 17272 # On Solaris, -lkvm requires nlist from -lelf, so check that first
17760 # to get the right answer into the cache. 17273 # to get the right answer into the cache.
17761 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 17274 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
17762 if test $ac_have_func = no; then 17275 if test $ac_have_func = no; then
17763 { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 17276 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
17764 $as_echo_n "checking for elf_begin in -lelf... " >&6; } 17277 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; }
17765 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 17278 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
17766 $as_echo_n "(cached) " >&6 17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17767 else 17280 else
17768 ac_check_lib_save_LIBS=$LIBS 17281 ac_check_lib_save_LIBS=$LIBS
17769 LIBS="-lelf $LIBS" 17282 LIBS="-lelf $LIBS"
17770 cat >conftest.$ac_ext <<_ACEOF 17283 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */ 17284 /* confdefs.h. */
17793 if { (ac_try="$ac_link" 17306 if { (ac_try="$ac_link"
17794 case "(($ac_try" in 17307 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;; 17309 *) ac_try_echo=$ac_try;;
17797 esac 17310 esac
17798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 $as_echo "$ac_try_echo") >&5
17800 (eval "$ac_link") 2>conftest.er1 17312 (eval "$ac_link") 2>conftest.er1
17801 ac_status=$? 17313 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err 17314 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1 17315 rm -f conftest.er1
17804 cat conftest.err >&5 17316 cat conftest.err >&5
17805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && { 17318 (exit $ac_status); } && {
17807 test -z "$ac_c_werror_flag" || 17319 test -z "$ac_c_werror_flag" ||
17808 test ! -s conftest.err 17320 test ! -s conftest.err
17809 } && test -s conftest$ac_exeext && { 17321 } && test -s conftest$ac_exeext &&
17810 test "$cross_compiling" = yes || 17322 $as_test_x conftest$ac_exeext; then
17811 $as_test_x conftest$ac_exeext
17812 }; then
17813 ac_cv_lib_elf_elf_begin=yes 17323 ac_cv_lib_elf_elf_begin=yes
17814 else 17324 else
17815 $as_echo "$as_me: failed program was:" >&5 17325 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5 17326 sed 's/^/| /' conftest.$ac_ext >&5
17817 17327
17818 ac_cv_lib_elf_elf_begin=no 17328 ac_cv_lib_elf_elf_begin=no
17819 fi 17329 fi
17820 17330
17821 rm -rf conftest.dSYM
17822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17823 conftest$ac_exeext conftest.$ac_ext 17332 conftest$ac_exeext conftest.$ac_ext
17824 LIBS=$ac_check_lib_save_LIBS 17333 LIBS=$ac_check_lib_save_LIBS
17825 fi 17334 fi
17826 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 17335 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
17827 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } 17336 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; }
17828 if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then 17337 if test $ac_cv_lib_elf_elf_begin = yes; then
17829 LIBS="-lelf $LIBS" 17338 LIBS="-lelf $LIBS"
17830 fi 17339 fi
17831 17340
17832 fi 17341 fi
17833 if test $ac_have_func = no; then 17342 if test $ac_have_func = no; then
17834 { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 17343 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
17835 $as_echo_n "checking for kvm_open in -lkvm... " >&6; } 17344 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
17836 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 17345 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
17837 $as_echo_n "(cached) " >&6 17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 else 17347 else
17839 ac_check_lib_save_LIBS=$LIBS 17348 ac_check_lib_save_LIBS=$LIBS
17840 LIBS="-lkvm $LIBS" 17349 LIBS="-lkvm $LIBS"
17841 cat >conftest.$ac_ext <<_ACEOF 17350 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */ 17351 /* confdefs.h. */
17864 if { (ac_try="$ac_link" 17373 if { (ac_try="$ac_link"
17865 case "(($ac_try" in 17374 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;; 17376 *) ac_try_echo=$ac_try;;
17868 esac 17377 esac
17869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17870 $as_echo "$ac_try_echo") >&5
17871 (eval "$ac_link") 2>conftest.er1 17379 (eval "$ac_link") 2>conftest.er1
17872 ac_status=$? 17380 ac_status=$?
17873 grep -v '^ *+' conftest.er1 >conftest.err 17381 grep -v '^ *+' conftest.er1 >conftest.err
17874 rm -f conftest.er1 17382 rm -f conftest.er1
17875 cat conftest.err >&5 17383 cat conftest.err >&5
17876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } && { 17385 (exit $ac_status); } && {
17878 test -z "$ac_c_werror_flag" || 17386 test -z "$ac_c_werror_flag" ||
17879 test ! -s conftest.err 17387 test ! -s conftest.err
17880 } && test -s conftest$ac_exeext && { 17388 } && test -s conftest$ac_exeext &&
17881 test "$cross_compiling" = yes || 17389 $as_test_x conftest$ac_exeext; then
17882 $as_test_x conftest$ac_exeext
17883 }; then
17884 ac_cv_lib_kvm_kvm_open=yes 17390 ac_cv_lib_kvm_kvm_open=yes
17885 else 17391 else
17886 $as_echo "$as_me: failed program was:" >&5 17392 echo "$as_me: failed program was:" >&5
17887 sed 's/^/| /' conftest.$ac_ext >&5 17393 sed 's/^/| /' conftest.$ac_ext >&5
17888 17394
17889 ac_cv_lib_kvm_kvm_open=no 17395 ac_cv_lib_kvm_kvm_open=no
17890 fi 17396 fi
17891 17397
17892 rm -rf conftest.dSYM
17893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17894 conftest$ac_exeext conftest.$ac_ext 17399 conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_check_lib_save_LIBS 17400 LIBS=$ac_check_lib_save_LIBS
17896 fi 17401 fi
17897 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 17402 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
17898 $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } 17403 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
17899 if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then 17404 if test $ac_cv_lib_kvm_kvm_open = yes; then
17900 LIBS="-lkvm $LIBS" 17405 LIBS="-lkvm $LIBS"
17901 fi 17406 fi
17902 17407
17903 # Check for the 4.4BSD definition of getloadavg. 17408 # Check for the 4.4BSD definition of getloadavg.
17904 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 17409 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
17905 $as_echo_n "checking for getloadavg in -lutil... " >&6; } 17410 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; }
17906 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 17411 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
17907 $as_echo_n "(cached) " >&6 17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17908 else 17413 else
17909 ac_check_lib_save_LIBS=$LIBS 17414 ac_check_lib_save_LIBS=$LIBS
17910 LIBS="-lutil $LIBS" 17415 LIBS="-lutil $LIBS"
17911 cat >conftest.$ac_ext <<_ACEOF 17416 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */ 17417 /* confdefs.h. */
17934 if { (ac_try="$ac_link" 17439 if { (ac_try="$ac_link"
17935 case "(($ac_try" in 17440 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;; 17442 *) ac_try_echo=$ac_try;;
17938 esac 17443 esac
17939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 $as_echo "$ac_try_echo") >&5
17941 (eval "$ac_link") 2>conftest.er1 17445 (eval "$ac_link") 2>conftest.er1
17942 ac_status=$? 17446 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err 17447 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1 17448 rm -f conftest.er1
17945 cat conftest.err >&5 17449 cat conftest.err >&5
17946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && { 17451 (exit $ac_status); } && {
17948 test -z "$ac_c_werror_flag" || 17452 test -z "$ac_c_werror_flag" ||
17949 test ! -s conftest.err 17453 test ! -s conftest.err
17950 } && test -s conftest$ac_exeext && { 17454 } && test -s conftest$ac_exeext &&
17951 test "$cross_compiling" = yes || 17455 $as_test_x conftest$ac_exeext; then
17952 $as_test_x conftest$ac_exeext
17953 }; then
17954 ac_cv_lib_util_getloadavg=yes 17456 ac_cv_lib_util_getloadavg=yes
17955 else 17457 else
17956 $as_echo "$as_me: failed program was:" >&5 17458 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5 17459 sed 's/^/| /' conftest.$ac_ext >&5
17958 17460
17959 ac_cv_lib_util_getloadavg=no 17461 ac_cv_lib_util_getloadavg=no
17960 fi 17462 fi
17961 17463
17962 rm -rf conftest.dSYM
17963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17964 conftest$ac_exeext conftest.$ac_ext 17465 conftest$ac_exeext conftest.$ac_ext
17965 LIBS=$ac_check_lib_save_LIBS 17466 LIBS=$ac_check_lib_save_LIBS
17966 fi 17467 fi
17967 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 17468 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
17968 $as_echo "$ac_cv_lib_util_getloadavg" >&6; } 17469 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; }
17969 if test "x$ac_cv_lib_util_getloadavg" = x""yes; then 17470 if test $ac_cv_lib_util_getloadavg = yes; then
17970 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 17471 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
17971 fi 17472 fi
17972 17473
17973 fi 17474 fi
17974 17475
17975 if test $ac_have_func = no; then 17476 if test $ac_have_func = no; then
17976 # There is a commonly available library for RS/6000 AIX. 17477 # There is a commonly available library for RS/6000 AIX.
17977 # Since it is not a standard part of AIX, it might be installed locally. 17478 # Since it is not a standard part of AIX, it might be installed locally.
17978 ac_getloadavg_LIBS=$LIBS 17479 ac_getloadavg_LIBS=$LIBS
17979 LIBS="-L/usr/local/lib $LIBS" 17480 LIBS="-L/usr/local/lib $LIBS"
17980 { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 17481 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5
17981 $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } 17482 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; }
17982 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 17483 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
17983 $as_echo_n "(cached) " >&6 17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 else 17485 else
17985 ac_check_lib_save_LIBS=$LIBS 17486 ac_check_lib_save_LIBS=$LIBS
17986 LIBS="-lgetloadavg $LIBS" 17487 LIBS="-lgetloadavg $LIBS"
17987 cat >conftest.$ac_ext <<_ACEOF 17488 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */ 17489 /* confdefs.h. */
18010 if { (ac_try="$ac_link" 17511 if { (ac_try="$ac_link"
18011 case "(($ac_try" in 17512 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;; 17514 *) ac_try_echo=$ac_try;;
18014 esac 17515 esac
18015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 $as_echo "$ac_try_echo") >&5
18017 (eval "$ac_link") 2>conftest.er1 17517 (eval "$ac_link") 2>conftest.er1
18018 ac_status=$? 17518 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err 17519 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1 17520 rm -f conftest.er1
18021 cat conftest.err >&5 17521 cat conftest.err >&5
18022 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && { 17523 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" || 17524 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err 17525 test ! -s conftest.err
18026 } && test -s conftest$ac_exeext && { 17526 } && test -s conftest$ac_exeext &&
18027 test "$cross_compiling" = yes || 17527 $as_test_x conftest$ac_exeext; then
18028 $as_test_x conftest$ac_exeext
18029 }; then
18030 ac_cv_lib_getloadavg_getloadavg=yes 17528 ac_cv_lib_getloadavg_getloadavg=yes
18031 else 17529 else
18032 $as_echo "$as_me: failed program was:" >&5 17530 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5 17531 sed 's/^/| /' conftest.$ac_ext >&5
18034 17532
18035 ac_cv_lib_getloadavg_getloadavg=no 17533 ac_cv_lib_getloadavg_getloadavg=no
18036 fi 17534 fi
18037 17535
18038 rm -rf conftest.dSYM
18039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18040 conftest$ac_exeext conftest.$ac_ext 17537 conftest$ac_exeext conftest.$ac_ext
18041 LIBS=$ac_check_lib_save_LIBS 17538 LIBS=$ac_check_lib_save_LIBS
18042 fi 17539 fi
18043 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 17540 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
18044 $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } 17541 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; }
18045 if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then 17542 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
18046 LIBS="-lgetloadavg $LIBS" 17543 LIBS="-lgetloadavg $LIBS"
18047 else 17544 else
18048 LIBS=$ac_getloadavg_LIBS 17545 LIBS=$ac_getloadavg_LIBS
18049 fi 17546 fi
18050 17547
18053 # Make sure it is really in the library, if we think we found it, 17550 # Make sure it is really in the library, if we think we found it,
18054 # otherwise set up the replacement function. 17551 # otherwise set up the replacement function.
18055 17552
18056 for ac_func in getloadavg 17553 for ac_func in getloadavg
18057 do 17554 do
18058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18059 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18060 $as_echo_n "checking for $ac_func... " >&6; } 17557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18062 $as_echo_n "(cached) " >&6 17559 echo $ECHO_N "(cached) $ECHO_C" >&6
18063 else 17560 else
18064 cat >conftest.$ac_ext <<_ACEOF 17561 cat >conftest.$ac_ext <<_ACEOF
18065 /* confdefs.h. */ 17562 /* confdefs.h. */
18066 _ACEOF 17563 _ACEOF
18067 cat confdefs.h >>conftest.$ac_ext 17564 cat confdefs.h >>conftest.$ac_ext
18110 if { (ac_try="$ac_link" 17607 if { (ac_try="$ac_link"
18111 case "(($ac_try" in 17608 case "(($ac_try" in
18112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18113 *) ac_try_echo=$ac_try;; 17610 *) ac_try_echo=$ac_try;;
18114 esac 17611 esac
18115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18116 $as_echo "$ac_try_echo") >&5
18117 (eval "$ac_link") 2>conftest.er1 17613 (eval "$ac_link") 2>conftest.er1
18118 ac_status=$? 17614 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err 17615 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1 17616 rm -f conftest.er1
18121 cat conftest.err >&5 17617 cat conftest.err >&5
18122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && { 17619 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" || 17620 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err 17621 test ! -s conftest.err
18126 } && test -s conftest$ac_exeext && { 17622 } && test -s conftest$ac_exeext &&
18127 test "$cross_compiling" = yes || 17623 $as_test_x conftest$ac_exeext; then
18128 $as_test_x conftest$ac_exeext
18129 }; then
18130 eval "$as_ac_var=yes" 17624 eval "$as_ac_var=yes"
18131 else 17625 else
18132 $as_echo "$as_me: failed program was:" >&5 17626 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5 17627 sed 's/^/| /' conftest.$ac_ext >&5
18134 17628
18135 eval "$as_ac_var=no" 17629 eval "$as_ac_var=no"
18136 fi 17630 fi
18137 17631
18138 rm -rf conftest.dSYM
18139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18140 conftest$ac_exeext conftest.$ac_ext 17633 conftest$ac_exeext conftest.$ac_ext
18141 fi 17634 fi
18142 ac_res=`eval 'as_val=${'$as_ac_var'} 17635 ac_res=`eval echo '${'$as_ac_var'}'`
18143 $as_echo "$as_val"'` 17636 { echo "$as_me:$LINENO: result: $ac_res" >&5
18144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17637 echo "${ECHO_T}$ac_res" >&6; }
18145 $as_echo "$ac_res" >&6; } 17638 if test `eval echo '${'$as_ac_var'}'` = yes; then
18146 as_val=`eval 'as_val=${'$as_ac_var'}
18147 $as_echo "$as_val"'`
18148 if test "x$as_val" = x""yes; then
18149 cat >>confdefs.h <<_ACEOF 17639 cat >>confdefs.h <<_ACEOF
18150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18151 _ACEOF 17641 _ACEOF
18152 17642
18153 else 17643 else
18154 case " $LIBOBJS " in 17644 case " $LIBOBJS " in
18155 *" getloadavg.$ac_objext "* ) ;; 17645 *" getloadavg.$ac_objext "* ) ;;
18163 _ACEOF 17653 _ACEOF
18164 17654
18165 # Figure out what our getloadavg.c needs. 17655 # Figure out what our getloadavg.c needs.
18166 ac_have_func=no 17656 ac_have_func=no
18167 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17657 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18168 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 17658 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18169 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } 17659 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
18170 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17660 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18171 $as_echo_n "(cached) " >&6 17661 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 fi 17662 fi
18173 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 17663 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18174 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } 17664 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
18175 else 17665 else
18176 # Is the header compilable? 17666 # Is the header compilable?
18177 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 17667 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
18178 $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } 17668 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; }
18179 cat >conftest.$ac_ext <<_ACEOF 17669 cat >conftest.$ac_ext <<_ACEOF
18180 /* confdefs.h. */ 17670 /* confdefs.h. */
18181 _ACEOF 17671 _ACEOF
18182 cat confdefs.h >>conftest.$ac_ext 17672 cat confdefs.h >>conftest.$ac_ext
18183 cat >>conftest.$ac_ext <<_ACEOF 17673 cat >>conftest.$ac_ext <<_ACEOF
18189 if { (ac_try="$ac_compile" 17679 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in 17680 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;; 17682 *) ac_try_echo=$ac_try;;
18193 esac 17683 esac
18194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 $as_echo "$ac_try_echo") >&5
18196 (eval "$ac_compile") 2>conftest.er1 17685 (eval "$ac_compile") 2>conftest.er1
18197 ac_status=$? 17686 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err 17687 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1 17688 rm -f conftest.er1
18200 cat conftest.err >&5 17689 cat conftest.err >&5
18201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && { 17691 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" || 17692 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err 17693 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then 17694 } && test -s conftest.$ac_objext; then
18206 ac_header_compiler=yes 17695 ac_header_compiler=yes
18207 else 17696 else
18208 $as_echo "$as_me: failed program was:" >&5 17697 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5 17698 sed 's/^/| /' conftest.$ac_ext >&5
18210 17699
18211 ac_header_compiler=no 17700 ac_header_compiler=no
18212 fi 17701 fi
18213 17702
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17704 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18216 $as_echo "$ac_header_compiler" >&6; } 17705 echo "${ECHO_T}$ac_header_compiler" >&6; }
18217 17706
18218 # Is the header present? 17707 # Is the header present?
18219 { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 17708 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
18220 $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } 17709 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; }
18221 cat >conftest.$ac_ext <<_ACEOF 17710 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */ 17711 /* confdefs.h. */
18223 _ACEOF 17712 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext 17713 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF 17714 cat >>conftest.$ac_ext <<_ACEOF
18229 if { (ac_try="$ac_cpp conftest.$ac_ext" 17718 if { (ac_try="$ac_cpp conftest.$ac_ext"
18230 case "(($ac_try" in 17719 case "(($ac_try" in
18231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18232 *) ac_try_echo=$ac_try;; 17721 *) ac_try_echo=$ac_try;;
18233 esac 17722 esac
18234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18235 $as_echo "$ac_try_echo") >&5
18236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18237 ac_status=$? 17725 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err 17726 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1 17727 rm -f conftest.er1
18240 cat conftest.err >&5 17728 cat conftest.err >&5
18241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } >/dev/null && { 17730 (exit $ac_status); } >/dev/null && {
18243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18244 test ! -s conftest.err 17732 test ! -s conftest.err
18245 }; then 17733 }; then
18246 ac_header_preproc=yes 17734 ac_header_preproc=yes
18247 else 17735 else
18248 $as_echo "$as_me: failed program was:" >&5 17736 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5 17737 sed 's/^/| /' conftest.$ac_ext >&5
18250 17738
18251 ac_header_preproc=no 17739 ac_header_preproc=no
18252 fi 17740 fi
18253 17741
18254 rm -f conftest.err conftest.$ac_ext 17742 rm -f conftest.err conftest.$ac_ext
18255 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17743 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18256 $as_echo "$ac_header_preproc" >&6; } 17744 echo "${ECHO_T}$ac_header_preproc" >&6; }
18257 17745
18258 # So? What about this header? 17746 # So? What about this header?
18259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18260 yes:no: ) 17748 yes:no: )
18261 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 17749 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
18262 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 17750 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18263 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 17751 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
18264 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} 17752 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
18265 ac_header_preproc=yes 17753 ac_header_preproc=yes
18266 ;; 17754 ;;
18267 no:yes:* ) 17755 no:yes:* )
18268 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 17756 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
18269 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} 17757 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
18270 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 17758 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
18271 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} 17759 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
18272 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 17760 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
18273 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} 17761 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
18274 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 17762 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
18275 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} 17763 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
18276 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 17764 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
18277 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} 17765 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
18278 { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 17766 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
18279 $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} 17767 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
18280 17768
18281 ;; 17769 ;;
18282 esac 17770 esac
18283 { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 17771 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
18284 $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } 17772 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; }
18285 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 17773 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
18286 $as_echo_n "(cached) " >&6 17774 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 else 17775 else
18288 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc 17776 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
18289 fi 17777 fi
18290 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 17778 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
18291 $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } 17779 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; }
18292 17780
18293 fi 17781 fi
18294 if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then 17782 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
18295 ac_have_func=yes 17783 ac_have_func=yes
18296 17784
18297 cat >>confdefs.h <<\_ACEOF 17785 cat >>confdefs.h <<\_ACEOF
18298 #define DGUX 1 17786 #define DGUX 1
18299 _ACEOF 17787 _ACEOF
18300 17788
18301 17789
18302 { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 17790 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
18303 $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } 17791 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; }
18304 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 17792 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
18305 $as_echo_n "(cached) " >&6 17793 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 else 17794 else
18307 ac_check_lib_save_LIBS=$LIBS 17795 ac_check_lib_save_LIBS=$LIBS
18308 LIBS="-ldgc $LIBS" 17796 LIBS="-ldgc $LIBS"
18309 cat >conftest.$ac_ext <<_ACEOF 17797 cat >conftest.$ac_ext <<_ACEOF
18310 /* confdefs.h. */ 17798 /* confdefs.h. */
18332 if { (ac_try="$ac_link" 17820 if { (ac_try="$ac_link"
18333 case "(($ac_try" in 17821 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;; 17823 *) ac_try_echo=$ac_try;;
18336 esac 17824 esac
18337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 $as_echo "$ac_try_echo") >&5
18339 (eval "$ac_link") 2>conftest.er1 17826 (eval "$ac_link") 2>conftest.er1
18340 ac_status=$? 17827 ac_status=$?
18341 grep -v '^ *+' conftest.er1 >conftest.err 17828 grep -v '^ *+' conftest.er1 >conftest.err
18342 rm -f conftest.er1 17829 rm -f conftest.er1
18343 cat conftest.err >&5 17830 cat conftest.err >&5
18344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } && { 17832 (exit $ac_status); } && {
18346 test -z "$ac_c_werror_flag" || 17833 test -z "$ac_c_werror_flag" ||
18347 test ! -s conftest.err 17834 test ! -s conftest.err
18348 } && test -s conftest$ac_exeext && { 17835 } && test -s conftest$ac_exeext &&
18349 test "$cross_compiling" = yes || 17836 $as_test_x conftest$ac_exeext; then
18350 $as_test_x conftest$ac_exeext
18351 }; then
18352 ac_cv_lib_dgc_dg_sys_info=yes 17837 ac_cv_lib_dgc_dg_sys_info=yes
18353 else 17838 else
18354 $as_echo "$as_me: failed program was:" >&5 17839 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5 17840 sed 's/^/| /' conftest.$ac_ext >&5
18356 17841
18357 ac_cv_lib_dgc_dg_sys_info=no 17842 ac_cv_lib_dgc_dg_sys_info=no
18358 fi 17843 fi
18359 17844
18360 rm -rf conftest.dSYM
18361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18362 conftest$ac_exeext conftest.$ac_ext 17846 conftest$ac_exeext conftest.$ac_ext
18363 LIBS=$ac_check_lib_save_LIBS 17847 LIBS=$ac_check_lib_save_LIBS
18364 fi 17848 fi
18365 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 17849 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
18366 $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } 17850 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; }
18367 if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then 17851 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
18368 cat >>confdefs.h <<_ACEOF 17852 cat >>confdefs.h <<_ACEOF
18369 #define HAVE_LIBDGC 1 17853 #define HAVE_LIBDGC 1
18370 _ACEOF 17854 _ACEOF
18371 17855
18372 LIBS="-ldgc $LIBS" 17856 LIBS="-ldgc $LIBS"
18376 fi 17860 fi
18377 17861
18378 17862
18379 17863
18380 if test "${ac_cv_header_locale_h+set}" = set; then 17864 if test "${ac_cv_header_locale_h+set}" = set; then
18381 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 17865 { echo "$as_me:$LINENO: checking for locale.h" >&5
18382 $as_echo_n "checking for locale.h... " >&6; } 17866 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
18383 if test "${ac_cv_header_locale_h+set}" = set; then 17867 if test "${ac_cv_header_locale_h+set}" = set; then
18384 $as_echo_n "(cached) " >&6 17868 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 fi 17869 fi
18386 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 17870 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18387 $as_echo "$ac_cv_header_locale_h" >&6; } 17871 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
18388 else 17872 else
18389 # Is the header compilable? 17873 # Is the header compilable?
18390 { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 17874 { echo "$as_me:$LINENO: checking locale.h usability" >&5
18391 $as_echo_n "checking locale.h usability... " >&6; } 17875 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; }
18392 cat >conftest.$ac_ext <<_ACEOF 17876 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */ 17877 /* confdefs.h. */
18394 _ACEOF 17878 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext 17879 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF 17880 cat >>conftest.$ac_ext <<_ACEOF
18402 if { (ac_try="$ac_compile" 17886 if { (ac_try="$ac_compile"
18403 case "(($ac_try" in 17887 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;; 17889 *) ac_try_echo=$ac_try;;
18406 esac 17890 esac
18407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 $as_echo "$ac_try_echo") >&5
18409 (eval "$ac_compile") 2>conftest.er1 17892 (eval "$ac_compile") 2>conftest.er1
18410 ac_status=$? 17893 ac_status=$?
18411 grep -v '^ *+' conftest.er1 >conftest.err 17894 grep -v '^ *+' conftest.er1 >conftest.err
18412 rm -f conftest.er1 17895 rm -f conftest.er1
18413 cat conftest.err >&5 17896 cat conftest.err >&5
18414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && { 17898 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" || 17899 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err 17900 test ! -s conftest.err
18418 } && test -s conftest.$ac_objext; then 17901 } && test -s conftest.$ac_objext; then
18419 ac_header_compiler=yes 17902 ac_header_compiler=yes
18420 else 17903 else
18421 $as_echo "$as_me: failed program was:" >&5 17904 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5 17905 sed 's/^/| /' conftest.$ac_ext >&5
18423 17906
18424 ac_header_compiler=no 17907 ac_header_compiler=no
18425 fi 17908 fi
18426 17909
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17911 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18429 $as_echo "$ac_header_compiler" >&6; } 17912 echo "${ECHO_T}$ac_header_compiler" >&6; }
18430 17913
18431 # Is the header present? 17914 # Is the header present?
18432 { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 17915 { echo "$as_me:$LINENO: checking locale.h presence" >&5
18433 $as_echo_n "checking locale.h presence... " >&6; } 17916 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; }
18434 cat >conftest.$ac_ext <<_ACEOF 17917 cat >conftest.$ac_ext <<_ACEOF
18435 /* confdefs.h. */ 17918 /* confdefs.h. */
18436 _ACEOF 17919 _ACEOF
18437 cat confdefs.h >>conftest.$ac_ext 17920 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF 17921 cat >>conftest.$ac_ext <<_ACEOF
18442 if { (ac_try="$ac_cpp conftest.$ac_ext" 17925 if { (ac_try="$ac_cpp conftest.$ac_ext"
18443 case "(($ac_try" in 17926 case "(($ac_try" in
18444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18445 *) ac_try_echo=$ac_try;; 17928 *) ac_try_echo=$ac_try;;
18446 esac 17929 esac
18447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18448 $as_echo "$ac_try_echo") >&5
18449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18450 ac_status=$? 17932 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err 17933 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1 17934 rm -f conftest.er1
18453 cat conftest.err >&5 17935 cat conftest.err >&5
18454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } >/dev/null && { 17937 (exit $ac_status); } >/dev/null && {
18456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18457 test ! -s conftest.err 17939 test ! -s conftest.err
18458 }; then 17940 }; then
18459 ac_header_preproc=yes 17941 ac_header_preproc=yes
18460 else 17942 else
18461 $as_echo "$as_me: failed program was:" >&5 17943 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5 17944 sed 's/^/| /' conftest.$ac_ext >&5
18463 17945
18464 ac_header_preproc=no 17946 ac_header_preproc=no
18465 fi 17947 fi
18466 17948
18467 rm -f conftest.err conftest.$ac_ext 17949 rm -f conftest.err conftest.$ac_ext
18468 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18469 $as_echo "$ac_header_preproc" >&6; } 17951 echo "${ECHO_T}$ac_header_preproc" >&6; }
18470 17952
18471 # So? What about this header? 17953 # So? What about this header?
18472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18473 yes:no: ) 17955 yes:no: )
18474 { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 17956 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
18475 $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 17957 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18476 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 17958 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
18477 $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} 17959 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
18478 ac_header_preproc=yes 17960 ac_header_preproc=yes
18479 ;; 17961 ;;
18480 no:yes:* ) 17962 no:yes:* )
18481 { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 17963 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
18482 $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} 17964 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
18483 { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 17965 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
18484 $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} 17966 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
18485 { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 17967 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
18486 $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} 17968 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
18487 { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 17969 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
18488 $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} 17970 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
18489 { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 17971 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
18490 $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} 17972 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
18491 { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 17973 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
18492 $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} 17974 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
18493 17975
18494 ;; 17976 ;;
18495 esac 17977 esac
18496 { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 17978 { echo "$as_me:$LINENO: checking for locale.h" >&5
18497 $as_echo_n "checking for locale.h... " >&6; } 17979 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; }
18498 if test "${ac_cv_header_locale_h+set}" = set; then 17980 if test "${ac_cv_header_locale_h+set}" = set; then
18499 $as_echo_n "(cached) " >&6 17981 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 else 17982 else
18501 ac_cv_header_locale_h=$ac_header_preproc 17983 ac_cv_header_locale_h=$ac_header_preproc
18502 fi 17984 fi
18503 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 17985 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
18504 $as_echo "$ac_cv_header_locale_h" >&6; } 17986 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; }
18505 17987
18506 fi 17988 fi
18507 17989
18508 17990
18509 17991
18510 for ac_func in setlocale 17992 for ac_func in setlocale
18511 do 17993 do
18512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18513 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 17995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18514 $as_echo_n "checking for $ac_func... " >&6; } 17996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18516 $as_echo_n "(cached) " >&6 17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18517 else 17999 else
18518 cat >conftest.$ac_ext <<_ACEOF 18000 cat >conftest.$ac_ext <<_ACEOF
18519 /* confdefs.h. */ 18001 /* confdefs.h. */
18520 _ACEOF 18002 _ACEOF
18521 cat confdefs.h >>conftest.$ac_ext 18003 cat confdefs.h >>conftest.$ac_ext
18564 if { (ac_try="$ac_link" 18046 if { (ac_try="$ac_link"
18565 case "(($ac_try" in 18047 case "(($ac_try" in
18566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18567 *) ac_try_echo=$ac_try;; 18049 *) ac_try_echo=$ac_try;;
18568 esac 18050 esac
18569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18570 $as_echo "$ac_try_echo") >&5
18571 (eval "$ac_link") 2>conftest.er1 18052 (eval "$ac_link") 2>conftest.er1
18572 ac_status=$? 18053 ac_status=$?
18573 grep -v '^ *+' conftest.er1 >conftest.err 18054 grep -v '^ *+' conftest.er1 >conftest.err
18574 rm -f conftest.er1 18055 rm -f conftest.er1
18575 cat conftest.err >&5 18056 cat conftest.err >&5
18576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } && { 18058 (exit $ac_status); } && {
18578 test -z "$ac_c_werror_flag" || 18059 test -z "$ac_c_werror_flag" ||
18579 test ! -s conftest.err 18060 test ! -s conftest.err
18580 } && test -s conftest$ac_exeext && { 18061 } && test -s conftest$ac_exeext &&
18581 test "$cross_compiling" = yes || 18062 $as_test_x conftest$ac_exeext; then
18582 $as_test_x conftest$ac_exeext
18583 }; then
18584 eval "$as_ac_var=yes" 18063 eval "$as_ac_var=yes"
18585 else 18064 else
18586 $as_echo "$as_me: failed program was:" >&5 18065 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5 18066 sed 's/^/| /' conftest.$ac_ext >&5
18588 18067
18589 eval "$as_ac_var=no" 18068 eval "$as_ac_var=no"
18590 fi 18069 fi
18591 18070
18592 rm -rf conftest.dSYM
18593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18594 conftest$ac_exeext conftest.$ac_ext 18072 conftest$ac_exeext conftest.$ac_ext
18595 fi 18073 fi
18596 ac_res=`eval 'as_val=${'$as_ac_var'} 18074 ac_res=`eval echo '${'$as_ac_var'}'`
18597 $as_echo "$as_val"'` 18075 { echo "$as_me:$LINENO: result: $ac_res" >&5
18598 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18076 echo "${ECHO_T}$ac_res" >&6; }
18599 $as_echo "$ac_res" >&6; } 18077 if test `eval echo '${'$as_ac_var'}'` = yes; then
18600 as_val=`eval 'as_val=${'$as_ac_var'}
18601 $as_echo "$as_val"'`
18602 if test "x$as_val" = x""yes; then
18603 cat >>confdefs.h <<_ACEOF 18078 cat >>confdefs.h <<_ACEOF
18604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 18079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18605 _ACEOF 18080 _ACEOF
18606 18081
18607 fi 18082 fi
18608 done 18083 done
18609 18084
18620 18095
18621 fi 18096 fi
18622 18097
18623 if test $ac_have_func = no; then 18098 if test $ac_have_func = no; then
18624 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18099 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18625 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18100 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18626 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } 18101 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
18627 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18102 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18628 $as_echo_n "(cached) " >&6 18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 fi 18104 fi
18630 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18105 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18631 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } 18106 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
18632 else 18107 else
18633 # Is the header compilable? 18108 # Is the header compilable?
18634 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 18109 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
18635 $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } 18110 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; }
18636 cat >conftest.$ac_ext <<_ACEOF 18111 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */ 18112 /* confdefs.h. */
18638 _ACEOF 18113 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext 18114 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF 18115 cat >>conftest.$ac_ext <<_ACEOF
18646 if { (ac_try="$ac_compile" 18121 if { (ac_try="$ac_compile"
18647 case "(($ac_try" in 18122 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;; 18124 *) ac_try_echo=$ac_try;;
18650 esac 18125 esac
18651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 $as_echo "$ac_try_echo") >&5
18653 (eval "$ac_compile") 2>conftest.er1 18127 (eval "$ac_compile") 2>conftest.er1
18654 ac_status=$? 18128 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err 18129 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1 18130 rm -f conftest.er1
18657 cat conftest.err >&5 18131 cat conftest.err >&5
18658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && { 18133 (exit $ac_status); } && {
18660 test -z "$ac_c_werror_flag" || 18134 test -z "$ac_c_werror_flag" ||
18661 test ! -s conftest.err 18135 test ! -s conftest.err
18662 } && test -s conftest.$ac_objext; then 18136 } && test -s conftest.$ac_objext; then
18663 ac_header_compiler=yes 18137 ac_header_compiler=yes
18664 else 18138 else
18665 $as_echo "$as_me: failed program was:" >&5 18139 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5 18140 sed 's/^/| /' conftest.$ac_ext >&5
18667 18141
18668 ac_header_compiler=no 18142 ac_header_compiler=no
18669 fi 18143 fi
18670 18144
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18673 $as_echo "$ac_header_compiler" >&6; } 18147 echo "${ECHO_T}$ac_header_compiler" >&6; }
18674 18148
18675 # Is the header present? 18149 # Is the header present?
18676 { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 18150 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
18677 $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } 18151 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; }
18678 cat >conftest.$ac_ext <<_ACEOF 18152 cat >conftest.$ac_ext <<_ACEOF
18679 /* confdefs.h. */ 18153 /* confdefs.h. */
18680 _ACEOF 18154 _ACEOF
18681 cat confdefs.h >>conftest.$ac_ext 18155 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF 18156 cat >>conftest.$ac_ext <<_ACEOF
18686 if { (ac_try="$ac_cpp conftest.$ac_ext" 18160 if { (ac_try="$ac_cpp conftest.$ac_ext"
18687 case "(($ac_try" in 18161 case "(($ac_try" in
18688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18689 *) ac_try_echo=$ac_try;; 18163 *) ac_try_echo=$ac_try;;
18690 esac 18164 esac
18691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18692 $as_echo "$ac_try_echo") >&5
18693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18694 ac_status=$? 18167 ac_status=$?
18695 grep -v '^ *+' conftest.er1 >conftest.err 18168 grep -v '^ *+' conftest.er1 >conftest.err
18696 rm -f conftest.er1 18169 rm -f conftest.er1
18697 cat conftest.err >&5 18170 cat conftest.err >&5
18698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } >/dev/null && { 18172 (exit $ac_status); } >/dev/null && {
18700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18701 test ! -s conftest.err 18174 test ! -s conftest.err
18702 }; then 18175 }; then
18703 ac_header_preproc=yes 18176 ac_header_preproc=yes
18704 else 18177 else
18705 $as_echo "$as_me: failed program was:" >&5 18178 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5 18179 sed 's/^/| /' conftest.$ac_ext >&5
18707 18180
18708 ac_header_preproc=no 18181 ac_header_preproc=no
18709 fi 18182 fi
18710 18183
18711 rm -f conftest.err conftest.$ac_ext 18184 rm -f conftest.err conftest.$ac_ext
18712 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18713 $as_echo "$ac_header_preproc" >&6; } 18186 echo "${ECHO_T}$ac_header_preproc" >&6; }
18714 18187
18715 # So? What about this header? 18188 # So? What about this header?
18716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18717 yes:no: ) 18190 yes:no: )
18718 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18191 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18719 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18192 echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18720 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 18193 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5
18721 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} 18194 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;}
18722 ac_header_preproc=yes 18195 ac_header_preproc=yes
18723 ;; 18196 ;;
18724 no:yes:* ) 18197 no:yes:* )
18725 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 18198 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5
18726 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} 18199 echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;}
18727 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 18200 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5
18728 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} 18201 echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;}
18729 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 18202 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5
18730 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} 18203 echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;}
18731 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18204 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18732 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18205 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18733 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 18206 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5
18734 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} 18207 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;}
18735 { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 18208 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5
18736 $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} 18209 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;}
18737 18210
18738 ;; 18211 ;;
18739 esac 18212 esac
18740 { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 18213 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
18741 $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } 18214 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; }
18742 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 18215 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
18743 $as_echo_n "(cached) " >&6 18216 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else 18217 else
18745 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc 18218 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
18746 fi 18219 fi
18747 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 18220 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
18748 $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } 18221 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; }
18749 18222
18750 fi 18223 fi
18751 if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then 18224 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
18752 ac_have_func=yes 18225 ac_have_func=yes
18753 18226
18754 cat >>confdefs.h <<\_ACEOF 18227 cat >>confdefs.h <<\_ACEOF
18755 #define UMAX 1 18228 #define UMAX 1
18756 _ACEOF 18229 _ACEOF
18765 18238
18766 fi 18239 fi
18767 18240
18768 if test $ac_have_func = no; then 18241 if test $ac_have_func = no; then
18769 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18242 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18770 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18243 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18771 $as_echo_n "checking for sys/cpustats.h... " >&6; } 18244 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
18772 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18245 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18773 $as_echo_n "(cached) " >&6 18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 fi 18247 fi
18775 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18248 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18776 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } 18249 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
18777 else 18250 else
18778 # Is the header compilable? 18251 # Is the header compilable?
18779 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 18252 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
18780 $as_echo_n "checking sys/cpustats.h usability... " >&6; } 18253 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; }
18781 cat >conftest.$ac_ext <<_ACEOF 18254 cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h. */ 18255 /* confdefs.h. */
18783 _ACEOF 18256 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext 18257 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF 18258 cat >>conftest.$ac_ext <<_ACEOF
18791 if { (ac_try="$ac_compile" 18264 if { (ac_try="$ac_compile"
18792 case "(($ac_try" in 18265 case "(($ac_try" in
18793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18794 *) ac_try_echo=$ac_try;; 18267 *) ac_try_echo=$ac_try;;
18795 esac 18268 esac
18796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18797 $as_echo "$ac_try_echo") >&5
18798 (eval "$ac_compile") 2>conftest.er1 18270 (eval "$ac_compile") 2>conftest.er1
18799 ac_status=$? 18271 ac_status=$?
18800 grep -v '^ *+' conftest.er1 >conftest.err 18272 grep -v '^ *+' conftest.er1 >conftest.err
18801 rm -f conftest.er1 18273 rm -f conftest.er1
18802 cat conftest.err >&5 18274 cat conftest.err >&5
18803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } && { 18276 (exit $ac_status); } && {
18805 test -z "$ac_c_werror_flag" || 18277 test -z "$ac_c_werror_flag" ||
18806 test ! -s conftest.err 18278 test ! -s conftest.err
18807 } && test -s conftest.$ac_objext; then 18279 } && test -s conftest.$ac_objext; then
18808 ac_header_compiler=yes 18280 ac_header_compiler=yes
18809 else 18281 else
18810 $as_echo "$as_me: failed program was:" >&5 18282 echo "$as_me: failed program was:" >&5
18811 sed 's/^/| /' conftest.$ac_ext >&5 18283 sed 's/^/| /' conftest.$ac_ext >&5
18812 18284
18813 ac_header_compiler=no 18285 ac_header_compiler=no
18814 fi 18286 fi
18815 18287
18816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18289 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18818 $as_echo "$ac_header_compiler" >&6; } 18290 echo "${ECHO_T}$ac_header_compiler" >&6; }
18819 18291
18820 # Is the header present? 18292 # Is the header present?
18821 { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 18293 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
18822 $as_echo_n "checking sys/cpustats.h presence... " >&6; } 18294 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; }
18823 cat >conftest.$ac_ext <<_ACEOF 18295 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */ 18296 /* confdefs.h. */
18825 _ACEOF 18297 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext 18298 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF 18299 cat >>conftest.$ac_ext <<_ACEOF
18831 if { (ac_try="$ac_cpp conftest.$ac_ext" 18303 if { (ac_try="$ac_cpp conftest.$ac_ext"
18832 case "(($ac_try" in 18304 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;; 18306 *) ac_try_echo=$ac_try;;
18835 esac 18307 esac
18836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 $as_echo "$ac_try_echo") >&5
18838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18839 ac_status=$? 18310 ac_status=$?
18840 grep -v '^ *+' conftest.er1 >conftest.err 18311 grep -v '^ *+' conftest.er1 >conftest.err
18841 rm -f conftest.er1 18312 rm -f conftest.er1
18842 cat conftest.err >&5 18313 cat conftest.err >&5
18843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } >/dev/null && { 18315 (exit $ac_status); } >/dev/null && {
18845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18846 test ! -s conftest.err 18317 test ! -s conftest.err
18847 }; then 18318 }; then
18848 ac_header_preproc=yes 18319 ac_header_preproc=yes
18849 else 18320 else
18850 $as_echo "$as_me: failed program was:" >&5 18321 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5 18322 sed 's/^/| /' conftest.$ac_ext >&5
18852 18323
18853 ac_header_preproc=no 18324 ac_header_preproc=no
18854 fi 18325 fi
18855 18326
18856 rm -f conftest.err conftest.$ac_ext 18327 rm -f conftest.err conftest.$ac_ext
18857 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18328 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18858 $as_echo "$ac_header_preproc" >&6; } 18329 echo "${ECHO_T}$ac_header_preproc" >&6; }
18859 18330
18860 # So? What about this header? 18331 # So? What about this header?
18861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18862 yes:no: ) 18333 yes:no: )
18863 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 18334 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5
18864 $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18335 echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18865 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 18336 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5
18866 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} 18337 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;}
18867 ac_header_preproc=yes 18338 ac_header_preproc=yes
18868 ;; 18339 ;;
18869 no:yes:* ) 18340 no:yes:* )
18870 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 18341 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5
18871 $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} 18342 echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;}
18872 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 18343 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5
18873 $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} 18344 echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;}
18874 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 18345 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5
18875 $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} 18346 echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;}
18876 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 18347 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5
18877 $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} 18348 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;}
18878 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 18349 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5
18879 $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} 18350 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;}
18880 { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 18351 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5
18881 $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} 18352 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;}
18882 18353
18883 ;; 18354 ;;
18884 esac 18355 esac
18885 { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 18356 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
18886 $as_echo_n "checking for sys/cpustats.h... " >&6; } 18357 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; }
18887 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 18358 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
18888 $as_echo_n "(cached) " >&6 18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 else 18360 else
18890 ac_cv_header_sys_cpustats_h=$ac_header_preproc 18361 ac_cv_header_sys_cpustats_h=$ac_header_preproc
18891 fi 18362 fi
18892 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 18363 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
18893 $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } 18364 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; }
18894 18365
18895 fi 18366 fi
18896 if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then 18367 if test $ac_cv_header_sys_cpustats_h = yes; then
18897 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF 18368 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF
18898 #define UMAX 1 18369 #define UMAX 1
18899 _ACEOF 18370 _ACEOF
18900 18371
18901 fi 18372 fi
18905 18376
18906 if test $ac_have_func = no; then 18377 if test $ac_have_func = no; then
18907 18378
18908 for ac_header in mach/mach.h 18379 for ac_header in mach/mach.h
18909 do 18380 do
18910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18912 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18913 $as_echo_n "checking for $ac_header... " >&6; } 18384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18915 $as_echo_n "(cached) " >&6 18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 fi 18387 fi
18917 ac_res=`eval 'as_val=${'$as_ac_Header'} 18388 ac_res=`eval echo '${'$as_ac_Header'}'`
18918 $as_echo "$as_val"'` 18389 { echo "$as_me:$LINENO: result: $ac_res" >&5
18919 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18390 echo "${ECHO_T}$ac_res" >&6; }
18920 $as_echo "$ac_res" >&6; }
18921 else 18391 else
18922 # Is the header compilable? 18392 # Is the header compilable?
18923 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18393 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18924 $as_echo_n "checking $ac_header usability... " >&6; } 18394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18925 cat >conftest.$ac_ext <<_ACEOF 18395 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */ 18396 /* confdefs.h. */
18927 _ACEOF 18397 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext 18398 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF 18399 cat >>conftest.$ac_ext <<_ACEOF
18935 if { (ac_try="$ac_compile" 18405 if { (ac_try="$ac_compile"
18936 case "(($ac_try" in 18406 case "(($ac_try" in
18937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18938 *) ac_try_echo=$ac_try;; 18408 *) ac_try_echo=$ac_try;;
18939 esac 18409 esac
18940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18941 $as_echo "$ac_try_echo") >&5
18942 (eval "$ac_compile") 2>conftest.er1 18411 (eval "$ac_compile") 2>conftest.er1
18943 ac_status=$? 18412 ac_status=$?
18944 grep -v '^ *+' conftest.er1 >conftest.err 18413 grep -v '^ *+' conftest.er1 >conftest.err
18945 rm -f conftest.er1 18414 rm -f conftest.er1
18946 cat conftest.err >&5 18415 cat conftest.err >&5
18947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } && { 18417 (exit $ac_status); } && {
18949 test -z "$ac_c_werror_flag" || 18418 test -z "$ac_c_werror_flag" ||
18950 test ! -s conftest.err 18419 test ! -s conftest.err
18951 } && test -s conftest.$ac_objext; then 18420 } && test -s conftest.$ac_objext; then
18952 ac_header_compiler=yes 18421 ac_header_compiler=yes
18953 else 18422 else
18954 $as_echo "$as_me: failed program was:" >&5 18423 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5 18424 sed 's/^/| /' conftest.$ac_ext >&5
18956 18425
18957 ac_header_compiler=no 18426 ac_header_compiler=no
18958 fi 18427 fi
18959 18428
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18430 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18962 $as_echo "$ac_header_compiler" >&6; } 18431 echo "${ECHO_T}$ac_header_compiler" >&6; }
18963 18432
18964 # Is the header present? 18433 # Is the header present?
18965 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18434 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18966 $as_echo_n "checking $ac_header presence... " >&6; } 18435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18967 cat >conftest.$ac_ext <<_ACEOF 18436 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */ 18437 /* confdefs.h. */
18969 _ACEOF 18438 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext 18439 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF 18440 cat >>conftest.$ac_ext <<_ACEOF
18975 if { (ac_try="$ac_cpp conftest.$ac_ext" 18444 if { (ac_try="$ac_cpp conftest.$ac_ext"
18976 case "(($ac_try" in 18445 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;; 18447 *) ac_try_echo=$ac_try;;
18979 esac 18448 esac
18980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 $as_echo "$ac_try_echo") >&5
18982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18983 ac_status=$? 18451 ac_status=$?
18984 grep -v '^ *+' conftest.er1 >conftest.err 18452 grep -v '^ *+' conftest.er1 >conftest.err
18985 rm -f conftest.er1 18453 rm -f conftest.er1
18986 cat conftest.err >&5 18454 cat conftest.err >&5
18987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } >/dev/null && { 18456 (exit $ac_status); } >/dev/null && {
18989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18990 test ! -s conftest.err 18458 test ! -s conftest.err
18991 }; then 18459 }; then
18992 ac_header_preproc=yes 18460 ac_header_preproc=yes
18993 else 18461 else
18994 $as_echo "$as_me: failed program was:" >&5 18462 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5 18463 sed 's/^/| /' conftest.$ac_ext >&5
18996 18464
18997 ac_header_preproc=no 18465 ac_header_preproc=no
18998 fi 18466 fi
18999 18467
19000 rm -f conftest.err conftest.$ac_ext 18468 rm -f conftest.err conftest.$ac_ext
19001 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19002 $as_echo "$ac_header_preproc" >&6; } 18470 echo "${ECHO_T}$ac_header_preproc" >&6; }
19003 18471
19004 # So? What about this header? 18472 # So? What about this header?
19005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19006 yes:no: ) 18474 yes:no: )
19007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19008 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19010 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19011 ac_header_preproc=yes 18479 ac_header_preproc=yes
19012 ;; 18480 ;;
19013 no:yes:* ) 18481 no:yes:* )
19014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19015 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19017 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19019 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19021 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19023 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19024 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19025 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19026 18494
19027 ;; 18495 ;;
19028 esac 18496 esac
19029 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19030 $as_echo_n "checking for $ac_header... " >&6; } 18498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19032 $as_echo_n "(cached) " >&6 18500 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 else 18501 else
19034 eval "$as_ac_Header=\$ac_header_preproc" 18502 eval "$as_ac_Header=\$ac_header_preproc"
19035 fi 18503 fi
19036 ac_res=`eval 'as_val=${'$as_ac_Header'} 18504 ac_res=`eval echo '${'$as_ac_Header'}'`
19037 $as_echo "$as_val"'` 18505 { echo "$as_me:$LINENO: result: $ac_res" >&5
19038 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18506 echo "${ECHO_T}$ac_res" >&6; }
19039 $as_echo "$ac_res" >&6; } 18507
19040 18508 fi
19041 fi 18509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19042 as_val=`eval 'as_val=${'$as_ac_Header'}
19043 $as_echo "$as_val"'`
19044 if test "x$as_val" = x""yes; then
19045 cat >>confdefs.h <<_ACEOF 18510 cat >>confdefs.h <<_ACEOF
19046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19047 _ACEOF 18512 _ACEOF
19048 18513
19049 fi 18514 fi
19050 18515
19051 done 18516 done
19053 fi 18518 fi
19054 18519
19055 18520
19056 for ac_header in nlist.h 18521 for ac_header in nlist.h
19057 do 18522 do
19058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19060 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19061 $as_echo_n "checking for $ac_header... " >&6; } 18526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19063 $as_echo_n "(cached) " >&6 18528 echo $ECHO_N "(cached) $ECHO_C" >&6
19064 fi 18529 fi
19065 ac_res=`eval 'as_val=${'$as_ac_Header'} 18530 ac_res=`eval echo '${'$as_ac_Header'}'`
19066 $as_echo "$as_val"'` 18531 { echo "$as_me:$LINENO: result: $ac_res" >&5
19067 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18532 echo "${ECHO_T}$ac_res" >&6; }
19068 $as_echo "$ac_res" >&6; }
19069 else 18533 else
19070 # Is the header compilable? 18534 # Is the header compilable?
19071 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19072 $as_echo_n "checking $ac_header usability... " >&6; } 18536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19073 cat >conftest.$ac_ext <<_ACEOF 18537 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */ 18538 /* confdefs.h. */
19075 _ACEOF 18539 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext 18540 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF 18541 cat >>conftest.$ac_ext <<_ACEOF
19083 if { (ac_try="$ac_compile" 18547 if { (ac_try="$ac_compile"
19084 case "(($ac_try" in 18548 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;; 18550 *) ac_try_echo=$ac_try;;
19087 esac 18551 esac
19088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 $as_echo "$ac_try_echo") >&5
19090 (eval "$ac_compile") 2>conftest.er1 18553 (eval "$ac_compile") 2>conftest.er1
19091 ac_status=$? 18554 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err 18555 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1 18556 rm -f conftest.er1
19094 cat conftest.err >&5 18557 cat conftest.err >&5
19095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && { 18559 (exit $ac_status); } && {
19097 test -z "$ac_c_werror_flag" || 18560 test -z "$ac_c_werror_flag" ||
19098 test ! -s conftest.err 18561 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then 18562 } && test -s conftest.$ac_objext; then
19100 ac_header_compiler=yes 18563 ac_header_compiler=yes
19101 else 18564 else
19102 $as_echo "$as_me: failed program was:" >&5 18565 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5 18566 sed 's/^/| /' conftest.$ac_ext >&5
19104 18567
19105 ac_header_compiler=no 18568 ac_header_compiler=no
19106 fi 18569 fi
19107 18570
19108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19110 $as_echo "$ac_header_compiler" >&6; } 18573 echo "${ECHO_T}$ac_header_compiler" >&6; }
19111 18574
19112 # Is the header present? 18575 # Is the header present?
19113 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19114 $as_echo_n "checking $ac_header presence... " >&6; } 18577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19115 cat >conftest.$ac_ext <<_ACEOF 18578 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */ 18579 /* confdefs.h. */
19117 _ACEOF 18580 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext 18581 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF 18582 cat >>conftest.$ac_ext <<_ACEOF
19123 if { (ac_try="$ac_cpp conftest.$ac_ext" 18586 if { (ac_try="$ac_cpp conftest.$ac_ext"
19124 case "(($ac_try" in 18587 case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;; 18589 *) ac_try_echo=$ac_try;;
19127 esac 18590 esac
19128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 $as_echo "$ac_try_echo") >&5
19130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19131 ac_status=$? 18593 ac_status=$?
19132 grep -v '^ *+' conftest.er1 >conftest.err 18594 grep -v '^ *+' conftest.er1 >conftest.err
19133 rm -f conftest.er1 18595 rm -f conftest.er1
19134 cat conftest.err >&5 18596 cat conftest.err >&5
19135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } >/dev/null && { 18598 (exit $ac_status); } >/dev/null && {
19137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19138 test ! -s conftest.err 18600 test ! -s conftest.err
19139 }; then 18601 }; then
19140 ac_header_preproc=yes 18602 ac_header_preproc=yes
19141 else 18603 else
19142 $as_echo "$as_me: failed program was:" >&5 18604 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5 18605 sed 's/^/| /' conftest.$ac_ext >&5
19144 18606
19145 ac_header_preproc=no 18607 ac_header_preproc=no
19146 fi 18608 fi
19147 18609
19148 rm -f conftest.err conftest.$ac_ext 18610 rm -f conftest.err conftest.$ac_ext
19149 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19150 $as_echo "$ac_header_preproc" >&6; } 18612 echo "${ECHO_T}$ac_header_preproc" >&6; }
19151 18613
19152 # So? What about this header? 18614 # So? What about this header?
19153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19154 yes:no: ) 18616 yes:no: )
19155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19156 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19158 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19159 ac_header_preproc=yes 18621 ac_header_preproc=yes
19160 ;; 18622 ;;
19161 no:yes:* ) 18623 no:yes:* )
19162 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19163 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19164 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19165 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19166 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19167 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19169 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19171 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19172 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19173 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19174 18636
19175 ;; 18637 ;;
19176 esac 18638 esac
19177 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19178 $as_echo_n "checking for $ac_header... " >&6; } 18640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19180 $as_echo_n "(cached) " >&6 18642 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 else 18643 else
19182 eval "$as_ac_Header=\$ac_header_preproc" 18644 eval "$as_ac_Header=\$ac_header_preproc"
19183 fi 18645 fi
19184 ac_res=`eval 'as_val=${'$as_ac_Header'} 18646 ac_res=`eval echo '${'$as_ac_Header'}'`
19185 $as_echo "$as_val"'` 18647 { echo "$as_me:$LINENO: result: $ac_res" >&5
19186 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18648 echo "${ECHO_T}$ac_res" >&6; }
19187 $as_echo "$ac_res" >&6; } 18649
19188 18650 fi
19189 fi 18651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19190 as_val=`eval 'as_val=${'$as_ac_Header'}
19191 $as_echo "$as_val"'`
19192 if test "x$as_val" = x""yes; then
19193 cat >>confdefs.h <<_ACEOF 18652 cat >>confdefs.h <<_ACEOF
19194 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19195 _ACEOF 18654 _ACEOF
19196 { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 18655 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5
19197 $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } 18656 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; }
19198 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 18657 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
19199 $as_echo_n "(cached) " >&6 18658 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 else 18659 else
19201 cat >conftest.$ac_ext <<_ACEOF 18660 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */ 18661 /* confdefs.h. */
19203 _ACEOF 18662 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext 18663 cat confdefs.h >>conftest.$ac_ext
19220 if { (ac_try="$ac_compile" 18679 if { (ac_try="$ac_compile"
19221 case "(($ac_try" in 18680 case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;; 18682 *) ac_try_echo=$ac_try;;
19224 esac 18683 esac
19225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 $as_echo "$ac_try_echo") >&5
19227 (eval "$ac_compile") 2>conftest.er1 18685 (eval "$ac_compile") 2>conftest.er1
19228 ac_status=$? 18686 ac_status=$?
19229 grep -v '^ *+' conftest.er1 >conftest.err 18687 grep -v '^ *+' conftest.er1 >conftest.err
19230 rm -f conftest.er1 18688 rm -f conftest.er1
19231 cat conftest.err >&5 18689 cat conftest.err >&5
19232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } && { 18691 (exit $ac_status); } && {
19234 test -z "$ac_c_werror_flag" || 18692 test -z "$ac_c_werror_flag" ||
19235 test ! -s conftest.err 18693 test ! -s conftest.err
19236 } && test -s conftest.$ac_objext; then 18694 } && test -s conftest.$ac_objext; then
19237 ac_cv_member_struct_nlist_n_un_n_name=yes 18695 ac_cv_member_struct_nlist_n_un_n_name=yes
19238 else 18696 else
19239 $as_echo "$as_me: failed program was:" >&5 18697 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5 18698 sed 's/^/| /' conftest.$ac_ext >&5
19241 18699
19242 cat >conftest.$ac_ext <<_ACEOF 18700 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h. */ 18701 /* confdefs.h. */
19244 _ACEOF 18702 _ACEOF
19261 if { (ac_try="$ac_compile" 18719 if { (ac_try="$ac_compile"
19262 case "(($ac_try" in 18720 case "(($ac_try" in
19263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19264 *) ac_try_echo=$ac_try;; 18722 *) ac_try_echo=$ac_try;;
19265 esac 18723 esac
19266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19267 $as_echo "$ac_try_echo") >&5
19268 (eval "$ac_compile") 2>conftest.er1 18725 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$? 18726 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err 18727 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1 18728 rm -f conftest.er1
19272 cat conftest.err >&5 18729 cat conftest.err >&5
19273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && { 18731 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" || 18732 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err 18733 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then 18734 } && test -s conftest.$ac_objext; then
19278 ac_cv_member_struct_nlist_n_un_n_name=yes 18735 ac_cv_member_struct_nlist_n_un_n_name=yes
19279 else 18736 else
19280 $as_echo "$as_me: failed program was:" >&5 18737 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5 18738 sed 's/^/| /' conftest.$ac_ext >&5
19282 18739
19283 ac_cv_member_struct_nlist_n_un_n_name=no 18740 ac_cv_member_struct_nlist_n_un_n_name=no
19284 fi 18741 fi
19285 18742
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19287 fi 18744 fi
19288 18745
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19290 fi 18747 fi
19291 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 18748 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
19292 $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } 18749 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; }
19293 if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then 18750 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
19294 18751
19295 cat >>confdefs.h <<_ACEOF 18752 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 18753 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
19297 _ACEOF 18754 _ACEOF
19298 18755
19311 fi 18768 fi
19312 done 18769 done
19313 18770
19314 18771
19315 # Some definitions of getloadavg require that the program be installed setgid. 18772 # Some definitions of getloadavg require that the program be installed setgid.
19316 { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 18773 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
19317 $as_echo_n "checking whether getloadavg requires setgid... " >&6; } 18774 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; }
19318 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 18775 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
19319 $as_echo_n "(cached) " >&6 18776 echo $ECHO_N "(cached) $ECHO_C" >&6
19320 else 18777 else
19321 cat >conftest.$ac_ext <<_ACEOF 18778 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h. */ 18779 /* confdefs.h. */
19323 _ACEOF 18780 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext 18781 cat confdefs.h >>conftest.$ac_ext
19336 ac_cv_func_getloadavg_setgid=no 18793 ac_cv_func_getloadavg_setgid=no
19337 fi 18794 fi
19338 rm -f conftest* 18795 rm -f conftest*
19339 18796
19340 fi 18797 fi
19341 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 18798 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
19342 $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } 18799 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; }
19343 if test $ac_cv_func_getloadavg_setgid = yes; then 18800 if test $ac_cv_func_getloadavg_setgid = yes; then
19344 NEED_SETGID=true 18801 NEED_SETGID=true
19345 18802
19346 cat >>confdefs.h <<\_ACEOF 18803 cat >>confdefs.h <<\_ACEOF
19347 #define GETLOADAVG_PRIVILEGED 1 18804 #define GETLOADAVG_PRIVILEGED 1
19350 else 18807 else
19351 NEED_SETGID=false 18808 NEED_SETGID=false
19352 fi 18809 fi
19353 18810
19354 if test $ac_cv_func_getloadavg_setgid = yes; then 18811 if test $ac_cv_func_getloadavg_setgid = yes; then
19355 { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 18812 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
19356 $as_echo_n "checking group of /dev/kmem... " >&6; } 18813 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; }
19357 if test "${ac_cv_group_kmem+set}" = set; then 18814 if test "${ac_cv_group_kmem+set}" = set; then
19358 $as_echo_n "(cached) " >&6 18815 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else 18816 else
19360 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 18817 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
19361 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` 18818 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
19362 # If we got an error (system does not support symlinks), try without -L. 18819 # If we got an error (system does not support symlinks), try without -L.
19363 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` 18820 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
19364 ac_cv_group_kmem=`$as_echo "$ac_ls_output" \ 18821 ac_cv_group_kmem=`echo $ac_ls_output \
19365 | sed -ne 's/[ ][ ]*/ /g; 18822 | sed -ne 's/[ ][ ]*/ /g;
19366 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 18823 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
19367 / /s/.* //;p;'` 18824 / /s/.* //;p;'`
19368 18825
19369 fi 18826 fi
19370 { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 18827 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
19371 $as_echo "$ac_cv_group_kmem" >&6; } 18828 echo "${ECHO_T}$ac_cv_group_kmem" >&6; }
19372 KMEM_GROUP=$ac_cv_group_kmem 18829 KMEM_GROUP=$ac_cv_group_kmem
19373 fi 18830 fi
19374 if test "x$ac_save_LIBS" = x; then 18831 if test "x$ac_save_LIBS" = x; then
19375 GETLOADAVG_LIBS=$LIBS 18832 GETLOADAVG_LIBS=$LIBS
19376 else 18833 else
19377 GETLOADAVG_LIBS=`$as_echo "$LIBS" | sed "s|$ac_save_LIBS||"` 18834 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
19378 fi 18835 fi
19379 LIBS=$ac_save_LIBS 18836 LIBS=$ac_save_LIBS
19380 18837
19381 18838
19382 18839
19383 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 18840 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19384 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } 18841 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
19385 if test "${ac_cv_sys_largefile_source+set}" = set; then 18842 if test "${ac_cv_sys_largefile_source+set}" = set; then
19386 $as_echo_n "(cached) " >&6 18843 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 else 18844 else
19388 while :; do 18845 while :; do
19389 cat >conftest.$ac_ext <<_ACEOF 18846 cat >conftest.$ac_ext <<_ACEOF
19390 /* confdefs.h. */ 18847 /* confdefs.h. */
19391 _ACEOF 18848 _ACEOF
19392 cat confdefs.h >>conftest.$ac_ext 18849 cat confdefs.h >>conftest.$ac_ext
19393 cat >>conftest.$ac_ext <<_ACEOF 18850 cat >>conftest.$ac_ext <<_ACEOF
19394 /* end confdefs.h. */ 18851 /* end confdefs.h. */
19395 #include <sys/types.h> /* for off_t */ 18852 #include <stdio.h>
19396 #include <stdio.h>
19397 int 18853 int
19398 main () 18854 main ()
19399 { 18855 {
19400 int (*fp) (FILE *, off_t, int) = fseeko; 18856 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
19401 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19402 ; 18857 ;
19403 return 0; 18858 return 0;
19404 } 18859 }
19405 _ACEOF 18860 _ACEOF
19406 rm -f conftest.$ac_objext conftest$ac_exeext 18861 rm -f conftest.$ac_objext conftest$ac_exeext
19407 if { (ac_try="$ac_link" 18862 if { (ac_try="$ac_link"
19408 case "(($ac_try" in 18863 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;; 18865 *) ac_try_echo=$ac_try;;
19411 esac 18866 esac
19412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 $as_echo "$ac_try_echo") >&5
19414 (eval "$ac_link") 2>conftest.er1 18868 (eval "$ac_link") 2>conftest.er1
19415 ac_status=$? 18869 ac_status=$?
19416 grep -v '^ *+' conftest.er1 >conftest.err 18870 grep -v '^ *+' conftest.er1 >conftest.err
19417 rm -f conftest.er1 18871 rm -f conftest.er1
19418 cat conftest.err >&5 18872 cat conftest.err >&5
19419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } && { 18874 (exit $ac_status); } && {
19421 test -z "$ac_c_werror_flag" || 18875 test -z "$ac_c_werror_flag" ||
19422 test ! -s conftest.err 18876 test ! -s conftest.err
19423 } && test -s conftest$ac_exeext && { 18877 } && test -s conftest$ac_exeext &&
19424 test "$cross_compiling" = yes || 18878 $as_test_x conftest$ac_exeext; then
19425 $as_test_x conftest$ac_exeext
19426 }; then
19427 ac_cv_sys_largefile_source=no; break 18879 ac_cv_sys_largefile_source=no; break
19428 else 18880 else
19429 $as_echo "$as_me: failed program was:" >&5 18881 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5 18882 sed 's/^/| /' conftest.$ac_ext >&5
19431 18883
19432 18884
19433 fi 18885 fi
19434 18886
19435 rm -rf conftest.dSYM
19436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19437 conftest$ac_exeext conftest.$ac_ext 18888 conftest$ac_exeext conftest.$ac_ext
19438 cat >conftest.$ac_ext <<_ACEOF 18889 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */ 18890 /* confdefs.h. */
19440 _ACEOF 18891 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext 18892 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF 18893 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */ 18894 /* end confdefs.h. */
19444 #define _LARGEFILE_SOURCE 1 18895 #define _LARGEFILE_SOURCE 1
19445 #include <sys/types.h> /* for off_t */ 18896 #include <stdio.h>
19446 #include <stdio.h>
19447 int 18897 int
19448 main () 18898 main ()
19449 { 18899 {
19450 int (*fp) (FILE *, off_t, int) = fseeko; 18900 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
19451 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19452 ; 18901 ;
19453 return 0; 18902 return 0;
19454 } 18903 }
19455 _ACEOF 18904 _ACEOF
19456 rm -f conftest.$ac_objext conftest$ac_exeext 18905 rm -f conftest.$ac_objext conftest$ac_exeext
19457 if { (ac_try="$ac_link" 18906 if { (ac_try="$ac_link"
19458 case "(($ac_try" in 18907 case "(($ac_try" in
19459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19460 *) ac_try_echo=$ac_try;; 18909 *) ac_try_echo=$ac_try;;
19461 esac 18910 esac
19462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19463 $as_echo "$ac_try_echo") >&5
19464 (eval "$ac_link") 2>conftest.er1 18912 (eval "$ac_link") 2>conftest.er1
19465 ac_status=$? 18913 ac_status=$?
19466 grep -v '^ *+' conftest.er1 >conftest.err 18914 grep -v '^ *+' conftest.er1 >conftest.err
19467 rm -f conftest.er1 18915 rm -f conftest.er1
19468 cat conftest.err >&5 18916 cat conftest.err >&5
19469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } && { 18918 (exit $ac_status); } && {
19471 test -z "$ac_c_werror_flag" || 18919 test -z "$ac_c_werror_flag" ||
19472 test ! -s conftest.err 18920 test ! -s conftest.err
19473 } && test -s conftest$ac_exeext && { 18921 } && test -s conftest$ac_exeext &&
19474 test "$cross_compiling" = yes || 18922 $as_test_x conftest$ac_exeext; then
19475 $as_test_x conftest$ac_exeext
19476 }; then
19477 ac_cv_sys_largefile_source=1; break 18923 ac_cv_sys_largefile_source=1; break
19478 else 18924 else
19479 $as_echo "$as_me: failed program was:" >&5 18925 echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.$ac_ext >&5 18926 sed 's/^/| /' conftest.$ac_ext >&5
19481 18927
19482 18928
19483 fi 18929 fi
19484 18930
19485 rm -rf conftest.dSYM
19486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19487 conftest$ac_exeext conftest.$ac_ext 18932 conftest$ac_exeext conftest.$ac_ext
19488 ac_cv_sys_largefile_source=unknown 18933 ac_cv_sys_largefile_source=unknown
19489 break 18934 break
19490 done 18935 done
19491 fi 18936 fi
19492 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 18937 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19493 $as_echo "$ac_cv_sys_largefile_source" >&6; } 18938 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
19494 case $ac_cv_sys_largefile_source in #( 18939 case $ac_cv_sys_largefile_source in #(
19495 no | unknown) ;; 18940 no | unknown) ;;
19496 *) 18941 *)
19497 cat >>confdefs.h <<_ACEOF 18942 cat >>confdefs.h <<_ACEOF
19498 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 18943 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19499 _ACEOF 18944 _ACEOF
19500 ;; 18945 ;;
19501 esac 18946 esac
19502 rm -rf conftest* 18947 rm -f conftest*
19503 18948
19504 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 18949 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19505 # in glibc 2.1.3, but that breaks too many other things. 18950 # in glibc 2.1.3, but that breaks too many other things.
19506 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 18951 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19507 if test $ac_cv_sys_largefile_source != unknown; then 18952 if test $ac_cv_sys_largefile_source != unknown; then
19537 18982
19538 GETOPT_H= 18983 GETOPT_H=
19539 18984
19540 for ac_header in getopt.h 18985 for ac_header in getopt.h
19541 do 18986 do
19542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19544 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18989 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19545 $as_echo_n "checking for $ac_header... " >&6; } 18990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19547 $as_echo_n "(cached) " >&6 18992 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 fi 18993 fi
19549 ac_res=`eval 'as_val=${'$as_ac_Header'} 18994 ac_res=`eval echo '${'$as_ac_Header'}'`
19550 $as_echo "$as_val"'` 18995 { echo "$as_me:$LINENO: result: $ac_res" >&5
19551 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18996 echo "${ECHO_T}$ac_res" >&6; }
19552 $as_echo "$ac_res" >&6; }
19553 else 18997 else
19554 # Is the header compilable? 18998 # Is the header compilable?
19555 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18999 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19556 $as_echo_n "checking $ac_header usability... " >&6; } 19000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19557 cat >conftest.$ac_ext <<_ACEOF 19001 cat >conftest.$ac_ext <<_ACEOF
19558 /* confdefs.h. */ 19002 /* confdefs.h. */
19559 _ACEOF 19003 _ACEOF
19560 cat confdefs.h >>conftest.$ac_ext 19004 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF 19005 cat >>conftest.$ac_ext <<_ACEOF
19567 if { (ac_try="$ac_compile" 19011 if { (ac_try="$ac_compile"
19568 case "(($ac_try" in 19012 case "(($ac_try" in
19569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19570 *) ac_try_echo=$ac_try;; 19014 *) ac_try_echo=$ac_try;;
19571 esac 19015 esac
19572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19573 $as_echo "$ac_try_echo") >&5
19574 (eval "$ac_compile") 2>conftest.er1 19017 (eval "$ac_compile") 2>conftest.er1
19575 ac_status=$? 19018 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err 19019 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1 19020 rm -f conftest.er1
19578 cat conftest.err >&5 19021 cat conftest.err >&5
19579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && { 19023 (exit $ac_status); } && {
19581 test -z "$ac_c_werror_flag" || 19024 test -z "$ac_c_werror_flag" ||
19582 test ! -s conftest.err 19025 test ! -s conftest.err
19583 } && test -s conftest.$ac_objext; then 19026 } && test -s conftest.$ac_objext; then
19584 ac_header_compiler=yes 19027 ac_header_compiler=yes
19585 else 19028 else
19586 $as_echo "$as_me: failed program was:" >&5 19029 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5 19030 sed 's/^/| /' conftest.$ac_ext >&5
19588 19031
19589 ac_header_compiler=no 19032 ac_header_compiler=no
19590 fi 19033 fi
19591 19034
19592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19593 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 19036 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19594 $as_echo "$ac_header_compiler" >&6; } 19037 echo "${ECHO_T}$ac_header_compiler" >&6; }
19595 19038
19596 # Is the header present? 19039 # Is the header present?
19597 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 19040 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19598 $as_echo_n "checking $ac_header presence... " >&6; } 19041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19599 cat >conftest.$ac_ext <<_ACEOF 19042 cat >conftest.$ac_ext <<_ACEOF
19600 /* confdefs.h. */ 19043 /* confdefs.h. */
19601 _ACEOF 19044 _ACEOF
19602 cat confdefs.h >>conftest.$ac_ext 19045 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF 19046 cat >>conftest.$ac_ext <<_ACEOF
19607 if { (ac_try="$ac_cpp conftest.$ac_ext" 19050 if { (ac_try="$ac_cpp conftest.$ac_ext"
19608 case "(($ac_try" in 19051 case "(($ac_try" in
19609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19610 *) ac_try_echo=$ac_try;; 19053 *) ac_try_echo=$ac_try;;
19611 esac 19054 esac
19612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19613 $as_echo "$ac_try_echo") >&5
19614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 19056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19615 ac_status=$? 19057 ac_status=$?
19616 grep -v '^ *+' conftest.er1 >conftest.err 19058 grep -v '^ *+' conftest.er1 >conftest.err
19617 rm -f conftest.er1 19059 rm -f conftest.er1
19618 cat conftest.err >&5 19060 cat conftest.err >&5
19619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } >/dev/null && { 19062 (exit $ac_status); } >/dev/null && {
19621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 19063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19622 test ! -s conftest.err 19064 test ! -s conftest.err
19623 }; then 19065 }; then
19624 ac_header_preproc=yes 19066 ac_header_preproc=yes
19625 else 19067 else
19626 $as_echo "$as_me: failed program was:" >&5 19068 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5 19069 sed 's/^/| /' conftest.$ac_ext >&5
19628 19070
19629 ac_header_preproc=no 19071 ac_header_preproc=no
19630 fi 19072 fi
19631 19073
19632 rm -f conftest.err conftest.$ac_ext 19074 rm -f conftest.err conftest.$ac_ext
19633 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 19075 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19634 $as_echo "$ac_header_preproc" >&6; } 19076 echo "${ECHO_T}$ac_header_preproc" >&6; }
19635 19077
19636 # So? What about this header? 19078 # So? What about this header?
19637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 19079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19638 yes:no: ) 19080 yes:no: )
19639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 19081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19640 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 19082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 19083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19642 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 19084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19643 ac_header_preproc=yes 19085 ac_header_preproc=yes
19644 ;; 19086 ;;
19645 no:yes:* ) 19087 no:yes:* )
19646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 19088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19647 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 19089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 19090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19649 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 19091 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 19092 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19651 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 19093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 19094 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19653 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 19095 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 19096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19655 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 19097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 19098 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19657 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 19099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19658 19100
19659 ;; 19101 ;;
19660 esac 19102 esac
19661 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 19103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19662 $as_echo_n "checking for $ac_header... " >&6; } 19104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 19105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19664 $as_echo_n "(cached) " >&6 19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 else 19107 else
19666 eval "$as_ac_Header=\$ac_header_preproc" 19108 eval "$as_ac_Header=\$ac_header_preproc"
19667 fi 19109 fi
19668 ac_res=`eval 'as_val=${'$as_ac_Header'} 19110 ac_res=`eval echo '${'$as_ac_Header'}'`
19669 $as_echo "$as_val"'` 19111 { echo "$as_me:$LINENO: result: $ac_res" >&5
19670 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19112 echo "${ECHO_T}$ac_res" >&6; }
19671 $as_echo "$ac_res" >&6; } 19113
19672 19114 fi
19673 fi 19115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19674 as_val=`eval 'as_val=${'$as_ac_Header'}
19675 $as_echo "$as_val"'`
19676 if test "x$as_val" = x""yes; then
19677 cat >>confdefs.h <<_ACEOF 19116 cat >>confdefs.h <<_ACEOF
19678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19679 _ACEOF 19118 _ACEOF
19680 19119
19681 else 19120 else
19682 GETOPT_H=getopt.h 19121 GETOPT_H=getopt.h
19683 fi 19122 fi
19686 19125
19687 if test -z "$GETOPT_H"; then 19126 if test -z "$GETOPT_H"; then
19688 19127
19689 for ac_func in getopt_long_only 19128 for ac_func in getopt_long_only
19690 do 19129 do
19691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19692 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19693 $as_echo_n "checking for $ac_func... " >&6; } 19132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19695 $as_echo_n "(cached) " >&6 19134 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else 19135 else
19697 cat >conftest.$ac_ext <<_ACEOF 19136 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */ 19137 /* confdefs.h. */
19699 _ACEOF 19138 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext 19139 cat confdefs.h >>conftest.$ac_ext
19743 if { (ac_try="$ac_link" 19182 if { (ac_try="$ac_link"
19744 case "(($ac_try" in 19183 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;; 19185 *) ac_try_echo=$ac_try;;
19747 esac 19186 esac
19748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 $as_echo "$ac_try_echo") >&5
19750 (eval "$ac_link") 2>conftest.er1 19188 (eval "$ac_link") 2>conftest.er1
19751 ac_status=$? 19189 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err 19190 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1 19191 rm -f conftest.er1
19754 cat conftest.err >&5 19192 cat conftest.err >&5
19755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && { 19194 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" || 19195 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err 19196 test ! -s conftest.err
19759 } && test -s conftest$ac_exeext && { 19197 } && test -s conftest$ac_exeext &&
19760 test "$cross_compiling" = yes || 19198 $as_test_x conftest$ac_exeext; then
19761 $as_test_x conftest$ac_exeext
19762 }; then
19763 eval "$as_ac_var=yes" 19199 eval "$as_ac_var=yes"
19764 else 19200 else
19765 $as_echo "$as_me: failed program was:" >&5 19201 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5 19202 sed 's/^/| /' conftest.$ac_ext >&5
19767 19203
19768 eval "$as_ac_var=no" 19204 eval "$as_ac_var=no"
19769 fi 19205 fi
19770 19206
19771 rm -rf conftest.dSYM
19772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19773 conftest$ac_exeext conftest.$ac_ext 19208 conftest$ac_exeext conftest.$ac_ext
19774 fi 19209 fi
19775 ac_res=`eval 'as_val=${'$as_ac_var'} 19210 ac_res=`eval echo '${'$as_ac_var'}'`
19776 $as_echo "$as_val"'` 19211 { echo "$as_me:$LINENO: result: $ac_res" >&5
19777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19212 echo "${ECHO_T}$ac_res" >&6; }
19778 $as_echo "$ac_res" >&6; } 19213 if test `eval echo '${'$as_ac_var'}'` = yes; then
19779 as_val=`eval 'as_val=${'$as_ac_var'}
19780 $as_echo "$as_val"'`
19781 if test "x$as_val" = x""yes; then
19782 cat >>confdefs.h <<_ACEOF 19214 cat >>confdefs.h <<_ACEOF
19783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19784 _ACEOF 19216 _ACEOF
19785 19217
19786 else 19218 else
19787 GETOPT_H=getopt.h 19219 GETOPT_H=getopt.h
19788 fi 19220 fi
19789 done 19221 done
19790 19222
19791 fi 19223 fi
19792 19224
19793 if test -z "$GETOPT_H"; then 19225 if test -z "$GETOPT_H"; then
19794 { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 19226 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5
19795 $as_echo_n "checking whether optreset is declared... " >&6; } 19227 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; }
19796 if test "${ac_cv_have_decl_optreset+set}" = set; then 19228 if test "${ac_cv_have_decl_optreset+set}" = set; then
19797 $as_echo_n "(cached) " >&6 19229 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else 19230 else
19799 cat >conftest.$ac_ext <<_ACEOF 19231 cat >conftest.$ac_ext <<_ACEOF
19800 /* confdefs.h. */ 19232 /* confdefs.h. */
19801 _ACEOF 19233 _ACEOF
19802 cat confdefs.h >>conftest.$ac_ext 19234 cat confdefs.h >>conftest.$ac_ext
19819 if { (ac_try="$ac_compile" 19251 if { (ac_try="$ac_compile"
19820 case "(($ac_try" in 19252 case "(($ac_try" in
19821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19822 *) ac_try_echo=$ac_try;; 19254 *) ac_try_echo=$ac_try;;
19823 esac 19255 esac
19824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19825 $as_echo "$ac_try_echo") >&5
19826 (eval "$ac_compile") 2>conftest.er1 19257 (eval "$ac_compile") 2>conftest.er1
19827 ac_status=$? 19258 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err 19259 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1 19260 rm -f conftest.er1
19830 cat conftest.err >&5 19261 cat conftest.err >&5
19831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } && { 19263 (exit $ac_status); } && {
19833 test -z "$ac_c_werror_flag" || 19264 test -z "$ac_c_werror_flag" ||
19834 test ! -s conftest.err 19265 test ! -s conftest.err
19835 } && test -s conftest.$ac_objext; then 19266 } && test -s conftest.$ac_objext; then
19836 ac_cv_have_decl_optreset=yes 19267 ac_cv_have_decl_optreset=yes
19837 else 19268 else
19838 $as_echo "$as_me: failed program was:" >&5 19269 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5 19270 sed 's/^/| /' conftest.$ac_ext >&5
19840 19271
19841 ac_cv_have_decl_optreset=no 19272 ac_cv_have_decl_optreset=no
19842 fi 19273 fi
19843 19274
19844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19845 fi 19276 fi
19846 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 19277 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
19847 $as_echo "$ac_cv_have_decl_optreset" >&6; } 19278 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; }
19848 if test "x$ac_cv_have_decl_optreset" = x""yes; then 19279 if test $ac_cv_have_decl_optreset = yes; then
19849 GETOPT_H=getopt.h 19280 GETOPT_H=getopt.h
19850 fi 19281 fi
19851 19282
19852 fi 19283 fi
19853 19284
19854 if test -z "$GETOPT_H"; then 19285 if test -z "$GETOPT_H"; then
19855 { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 19286 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
19856 $as_echo_n "checking for working GNU getopt function... " >&6; } 19287 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; }
19857 if test "${gl_cv_func_gnu_getopt+set}" = set; then 19288 if test "${gl_cv_func_gnu_getopt+set}" = set; then
19858 $as_echo_n "(cached) " >&6 19289 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else 19290 else
19860 if test "$cross_compiling" = yes; then 19291 if test "$cross_compiling" = yes; then
19861 { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 19292 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
19862 $as_echo_n "checking whether getopt_clip is declared... " >&6; } 19293 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; }
19863 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then 19294 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
19864 $as_echo_n "(cached) " >&6 19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 else 19296 else
19866 cat >conftest.$ac_ext <<_ACEOF 19297 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */ 19298 /* confdefs.h. */
19868 _ACEOF 19299 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext 19300 cat confdefs.h >>conftest.$ac_ext
19886 if { (ac_try="$ac_compile" 19317 if { (ac_try="$ac_compile"
19887 case "(($ac_try" in 19318 case "(($ac_try" in
19888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19889 *) ac_try_echo=$ac_try;; 19320 *) ac_try_echo=$ac_try;;
19890 esac 19321 esac
19891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19892 $as_echo "$ac_try_echo") >&5
19893 (eval "$ac_compile") 2>conftest.er1 19323 (eval "$ac_compile") 2>conftest.er1
19894 ac_status=$? 19324 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err 19325 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1 19326 rm -f conftest.er1
19897 cat conftest.err >&5 19327 cat conftest.err >&5
19898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && { 19329 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" || 19330 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err 19331 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then 19332 } && test -s conftest.$ac_objext; then
19903 ac_cv_have_decl_getopt_clip=yes 19333 ac_cv_have_decl_getopt_clip=yes
19904 else 19334 else
19905 $as_echo "$as_me: failed program was:" >&5 19335 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5 19336 sed 's/^/| /' conftest.$ac_ext >&5
19907 19337
19908 ac_cv_have_decl_getopt_clip=no 19338 ac_cv_have_decl_getopt_clip=no
19909 fi 19339 fi
19910 19340
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 fi 19342 fi
19913 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 19343 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
19914 $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } 19344 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; }
19915 if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then 19345 if test $ac_cv_have_decl_getopt_clip = yes; then
19916 gl_cv_func_gnu_getopt=no 19346 gl_cv_func_gnu_getopt=no
19917 else 19347 else
19918 gl_cv_func_gnu_getopt=yes 19348 gl_cv_func_gnu_getopt=yes
19919 fi 19349 fi
19920 19350
19944 if { (ac_try="$ac_link" 19374 if { (ac_try="$ac_link"
19945 case "(($ac_try" in 19375 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;; 19377 *) ac_try_echo=$ac_try;;
19948 esac 19378 esac
19949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 $as_echo "$ac_try_echo") >&5
19951 (eval "$ac_link") 2>&5 19380 (eval "$ac_link") 2>&5
19952 ac_status=$? 19381 ac_status=$?
19953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19955 { (case "(($ac_try" in 19384 { (case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;; 19386 *) ac_try_echo=$ac_try;;
19958 esac 19387 esac
19959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 $as_echo "$ac_try_echo") >&5
19961 (eval "$ac_try") 2>&5 19389 (eval "$ac_try") 2>&5
19962 ac_status=$? 19390 ac_status=$?
19963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then 19392 (exit $ac_status); }; }; then
19965 gl_cv_func_gnu_getopt=yes 19393 gl_cv_func_gnu_getopt=yes
19966 else 19394 else
19967 $as_echo "$as_me: program exited with status $ac_status" >&5 19395 echo "$as_me: program exited with status $ac_status" >&5
19968 $as_echo "$as_me: failed program was:" >&5 19396 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5 19397 sed 's/^/| /' conftest.$ac_ext >&5
19970 19398
19971 ( exit $ac_status ) 19399 ( exit $ac_status )
19972 gl_cv_func_gnu_getopt=no 19400 gl_cv_func_gnu_getopt=no
19973 fi 19401 fi
19974 rm -rf conftest.dSYM
19975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 19402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19976 fi 19403 fi
19977 19404
19978 19405
19979 fi 19406 fi
19980 { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 19407 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
19981 $as_echo "$gl_cv_func_gnu_getopt" >&6; } 19408 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; }
19982 if test "$gl_cv_func_gnu_getopt" = "no"; then 19409 if test "$gl_cv_func_gnu_getopt" = "no"; then
19983 GETOPT_H=getopt.h 19410 GETOPT_H=getopt.h
19984 fi 19411 fi
19985 fi 19412 fi
19986 19413
20003 fi 19430 fi
20004 19431
20005 19432
20006 19433
20007 19434
20008 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 19435 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
20009 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 19436 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; }
20010 if test "${ac_cv_func_getpgrp_void+set}" = set; then 19437 if test "${ac_cv_func_getpgrp_void+set}" = set; then
20011 $as_echo_n "(cached) " >&6 19438 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else 19439 else
20013 # Use it with a single arg. 19440 # Use it with a single arg.
20014 cat >conftest.$ac_ext <<_ACEOF 19441 cat >conftest.$ac_ext <<_ACEOF
20015 /* confdefs.h. */ 19442 /* confdefs.h. */
20016 _ACEOF 19443 _ACEOF
20030 if { (ac_try="$ac_compile" 19457 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in 19458 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;; 19460 *) ac_try_echo=$ac_try;;
20034 esac 19461 esac
20035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 $as_echo "$ac_try_echo") >&5
20037 (eval "$ac_compile") 2>conftest.er1 19463 (eval "$ac_compile") 2>conftest.er1
20038 ac_status=$? 19464 ac_status=$?
20039 grep -v '^ *+' conftest.er1 >conftest.err 19465 grep -v '^ *+' conftest.er1 >conftest.err
20040 rm -f conftest.er1 19466 rm -f conftest.er1
20041 cat conftest.err >&5 19467 cat conftest.err >&5
20042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } && { 19469 (exit $ac_status); } && {
20044 test -z "$ac_c_werror_flag" || 19470 test -z "$ac_c_werror_flag" ||
20045 test ! -s conftest.err 19471 test ! -s conftest.err
20046 } && test -s conftest.$ac_objext; then 19472 } && test -s conftest.$ac_objext; then
20047 ac_cv_func_getpgrp_void=no 19473 ac_cv_func_getpgrp_void=no
20048 else 19474 else
20049 $as_echo "$as_me: failed program was:" >&5 19475 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5 19476 sed 's/^/| /' conftest.$ac_ext >&5
20051 19477
20052 ac_cv_func_getpgrp_void=yes 19478 ac_cv_func_getpgrp_void=yes
20053 fi 19479 fi
20054 19480
20055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 19482
20057 fi 19483 fi
20058 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 19484 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
20059 $as_echo "$ac_cv_func_getpgrp_void" >&6; } 19485 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; }
20060 if test $ac_cv_func_getpgrp_void = yes; then 19486 if test $ac_cv_func_getpgrp_void = yes; then
20061 19487
20062 cat >>confdefs.h <<\_ACEOF 19488 cat >>confdefs.h <<\_ACEOF
20063 #define GETPGRP_VOID 1 19489 #define GETPGRP_VOID 1
20064 _ACEOF 19490 _ACEOF
20067 19493
20068 19494
20069 19495
20070 for ac_func in strftime 19496 for ac_func in strftime
20071 do 19497 do
20072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20073 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20074 $as_echo_n "checking for $ac_func... " >&6; } 19500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20076 $as_echo_n "(cached) " >&6 19502 echo $ECHO_N "(cached) $ECHO_C" >&6
20077 else 19503 else
20078 cat >conftest.$ac_ext <<_ACEOF 19504 cat >conftest.$ac_ext <<_ACEOF
20079 /* confdefs.h. */ 19505 /* confdefs.h. */
20080 _ACEOF 19506 _ACEOF
20081 cat confdefs.h >>conftest.$ac_ext 19507 cat confdefs.h >>conftest.$ac_ext
20124 if { (ac_try="$ac_link" 19550 if { (ac_try="$ac_link"
20125 case "(($ac_try" in 19551 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;; 19553 *) ac_try_echo=$ac_try;;
20128 esac 19554 esac
20129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 $as_echo "$ac_try_echo") >&5
20131 (eval "$ac_link") 2>conftest.er1 19556 (eval "$ac_link") 2>conftest.er1
20132 ac_status=$? 19557 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err 19558 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1 19559 rm -f conftest.er1
20135 cat conftest.err >&5 19560 cat conftest.err >&5
20136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && { 19562 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" || 19563 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err 19564 test ! -s conftest.err
20140 } && test -s conftest$ac_exeext && { 19565 } && test -s conftest$ac_exeext &&
20141 test "$cross_compiling" = yes || 19566 $as_test_x conftest$ac_exeext; then
20142 $as_test_x conftest$ac_exeext
20143 }; then
20144 eval "$as_ac_var=yes" 19567 eval "$as_ac_var=yes"
20145 else 19568 else
20146 $as_echo "$as_me: failed program was:" >&5 19569 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5 19570 sed 's/^/| /' conftest.$ac_ext >&5
20148 19571
20149 eval "$as_ac_var=no" 19572 eval "$as_ac_var=no"
20150 fi 19573 fi
20151 19574
20152 rm -rf conftest.dSYM
20153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20154 conftest$ac_exeext conftest.$ac_ext 19576 conftest$ac_exeext conftest.$ac_ext
20155 fi 19577 fi
20156 ac_res=`eval 'as_val=${'$as_ac_var'} 19578 ac_res=`eval echo '${'$as_ac_var'}'`
20157 $as_echo "$as_val"'` 19579 { echo "$as_me:$LINENO: result: $ac_res" >&5
20158 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19580 echo "${ECHO_T}$ac_res" >&6; }
20159 $as_echo "$ac_res" >&6; } 19581 if test `eval echo '${'$as_ac_var'}'` = yes; then
20160 as_val=`eval 'as_val=${'$as_ac_var'}
20161 $as_echo "$as_val"'`
20162 if test "x$as_val" = x""yes; then
20163 cat >>confdefs.h <<_ACEOF 19582 cat >>confdefs.h <<_ACEOF
20164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20165 _ACEOF 19584 _ACEOF
20166 19585
20167 else 19586 else
20168 # strftime is in -lintl on SCO UNIX. 19587 # strftime is in -lintl on SCO UNIX.
20169 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 19588 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
20170 $as_echo_n "checking for strftime in -lintl... " >&6; } 19589 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
20171 if test "${ac_cv_lib_intl_strftime+set}" = set; then 19590 if test "${ac_cv_lib_intl_strftime+set}" = set; then
20172 $as_echo_n "(cached) " >&6 19591 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 else 19592 else
20174 ac_check_lib_save_LIBS=$LIBS 19593 ac_check_lib_save_LIBS=$LIBS
20175 LIBS="-lintl $LIBS" 19594 LIBS="-lintl $LIBS"
20176 cat >conftest.$ac_ext <<_ACEOF 19595 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */ 19596 /* confdefs.h. */
20199 if { (ac_try="$ac_link" 19618 if { (ac_try="$ac_link"
20200 case "(($ac_try" in 19619 case "(($ac_try" in
20201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;; 19621 *) ac_try_echo=$ac_try;;
20203 esac 19622 esac
20204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 $as_echo "$ac_try_echo") >&5
20206 (eval "$ac_link") 2>conftest.er1 19624 (eval "$ac_link") 2>conftest.er1
20207 ac_status=$? 19625 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err 19626 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1 19627 rm -f conftest.er1
20210 cat conftest.err >&5 19628 cat conftest.err >&5
20211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } && { 19630 (exit $ac_status); } && {
20213 test -z "$ac_c_werror_flag" || 19631 test -z "$ac_c_werror_flag" ||
20214 test ! -s conftest.err 19632 test ! -s conftest.err
20215 } && test -s conftest$ac_exeext && { 19633 } && test -s conftest$ac_exeext &&
20216 test "$cross_compiling" = yes || 19634 $as_test_x conftest$ac_exeext; then
20217 $as_test_x conftest$ac_exeext
20218 }; then
20219 ac_cv_lib_intl_strftime=yes 19635 ac_cv_lib_intl_strftime=yes
20220 else 19636 else
20221 $as_echo "$as_me: failed program was:" >&5 19637 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5 19638 sed 's/^/| /' conftest.$ac_ext >&5
20223 19639
20224 ac_cv_lib_intl_strftime=no 19640 ac_cv_lib_intl_strftime=no
20225 fi 19641 fi
20226 19642
20227 rm -rf conftest.dSYM
20228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20229 conftest$ac_exeext conftest.$ac_ext 19644 conftest$ac_exeext conftest.$ac_ext
20230 LIBS=$ac_check_lib_save_LIBS 19645 LIBS=$ac_check_lib_save_LIBS
20231 fi 19646 fi
20232 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 19647 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
20233 $as_echo "$ac_cv_lib_intl_strftime" >&6; } 19648 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
20234 if test "x$ac_cv_lib_intl_strftime" = x""yes; then 19649 if test $ac_cv_lib_intl_strftime = yes; then
20235 cat >>confdefs.h <<\_ACEOF 19650 cat >>confdefs.h <<\_ACEOF
20236 #define HAVE_STRFTIME 1 19651 #define HAVE_STRFTIME 1
20237 _ACEOF 19652 _ACEOF
20238 19653
20239 LIBS="-lintl $LIBS" 19654 LIBS="-lintl $LIBS"
20245 19660
20246 # UNIX98 PTYs. 19661 # UNIX98 PTYs.
20247 19662
20248 for ac_func in grantpt 19663 for ac_func in grantpt
20249 do 19664 do
20250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20251 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20252 $as_echo_n "checking for $ac_func... " >&6; } 19667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20254 $as_echo_n "(cached) " >&6 19669 echo $ECHO_N "(cached) $ECHO_C" >&6
20255 else 19670 else
20256 cat >conftest.$ac_ext <<_ACEOF 19671 cat >conftest.$ac_ext <<_ACEOF
20257 /* confdefs.h. */ 19672 /* confdefs.h. */
20258 _ACEOF 19673 _ACEOF
20259 cat confdefs.h >>conftest.$ac_ext 19674 cat confdefs.h >>conftest.$ac_ext
20302 if { (ac_try="$ac_link" 19717 if { (ac_try="$ac_link"
20303 case "(($ac_try" in 19718 case "(($ac_try" in
20304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20305 *) ac_try_echo=$ac_try;; 19720 *) ac_try_echo=$ac_try;;
20306 esac 19721 esac
20307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20308 $as_echo "$ac_try_echo") >&5
20309 (eval "$ac_link") 2>conftest.er1 19723 (eval "$ac_link") 2>conftest.er1
20310 ac_status=$? 19724 ac_status=$?
20311 grep -v '^ *+' conftest.er1 >conftest.err 19725 grep -v '^ *+' conftest.er1 >conftest.err
20312 rm -f conftest.er1 19726 rm -f conftest.er1
20313 cat conftest.err >&5 19727 cat conftest.err >&5
20314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } && { 19729 (exit $ac_status); } && {
20316 test -z "$ac_c_werror_flag" || 19730 test -z "$ac_c_werror_flag" ||
20317 test ! -s conftest.err 19731 test ! -s conftest.err
20318 } && test -s conftest$ac_exeext && { 19732 } && test -s conftest$ac_exeext &&
20319 test "$cross_compiling" = yes || 19733 $as_test_x conftest$ac_exeext; then
20320 $as_test_x conftest$ac_exeext
20321 }; then
20322 eval "$as_ac_var=yes" 19734 eval "$as_ac_var=yes"
20323 else 19735 else
20324 $as_echo "$as_me: failed program was:" >&5 19736 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5 19737 sed 's/^/| /' conftest.$ac_ext >&5
20326 19738
20327 eval "$as_ac_var=no" 19739 eval "$as_ac_var=no"
20328 fi 19740 fi
20329 19741
20330 rm -rf conftest.dSYM
20331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20332 conftest$ac_exeext conftest.$ac_ext 19743 conftest$ac_exeext conftest.$ac_ext
20333 fi 19744 fi
20334 ac_res=`eval 'as_val=${'$as_ac_var'} 19745 ac_res=`eval echo '${'$as_ac_var'}'`
20335 $as_echo "$as_val"'` 19746 { echo "$as_me:$LINENO: result: $ac_res" >&5
20336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19747 echo "${ECHO_T}$ac_res" >&6; }
20337 $as_echo "$ac_res" >&6; } 19748 if test `eval echo '${'$as_ac_var'}'` = yes; then
20338 as_val=`eval 'as_val=${'$as_ac_var'}
20339 $as_echo "$as_val"'`
20340 if test "x$as_val" = x""yes; then
20341 cat >>confdefs.h <<_ACEOF 19749 cat >>confdefs.h <<_ACEOF
20342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20343 _ACEOF 19751 _ACEOF
20344 19752
20345 fi 19753 fi
20346 done 19754 done
20347 19755
20348 19756
20349 # PTY-related GNU extensions. 19757 # PTY-related GNU extensions.
20350 19758
20351 for ac_func in getpt 19759 for ac_func in getpt
20352 do 19760 do
20353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20354 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 19762 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20355 $as_echo_n "checking for $ac_func... " >&6; } 19763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20356 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 19764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20357 $as_echo_n "(cached) " >&6 19765 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 else 19766 else
20359 cat >conftest.$ac_ext <<_ACEOF 19767 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h. */ 19768 /* confdefs.h. */
20361 _ACEOF 19769 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext 19770 cat confdefs.h >>conftest.$ac_ext
20405 if { (ac_try="$ac_link" 19813 if { (ac_try="$ac_link"
20406 case "(($ac_try" in 19814 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;; 19816 *) ac_try_echo=$ac_try;;
20409 esac 19817 esac
20410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 $as_echo "$ac_try_echo") >&5
20412 (eval "$ac_link") 2>conftest.er1 19819 (eval "$ac_link") 2>conftest.er1
20413 ac_status=$? 19820 ac_status=$?
20414 grep -v '^ *+' conftest.er1 >conftest.err 19821 grep -v '^ *+' conftest.er1 >conftest.err
20415 rm -f conftest.er1 19822 rm -f conftest.er1
20416 cat conftest.err >&5 19823 cat conftest.err >&5
20417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } && { 19825 (exit $ac_status); } && {
20419 test -z "$ac_c_werror_flag" || 19826 test -z "$ac_c_werror_flag" ||
20420 test ! -s conftest.err 19827 test ! -s conftest.err
20421 } && test -s conftest$ac_exeext && { 19828 } && test -s conftest$ac_exeext &&
20422 test "$cross_compiling" = yes || 19829 $as_test_x conftest$ac_exeext; then
20423 $as_test_x conftest$ac_exeext
20424 }; then
20425 eval "$as_ac_var=yes" 19830 eval "$as_ac_var=yes"
20426 else 19831 else
20427 $as_echo "$as_me: failed program was:" >&5 19832 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5 19833 sed 's/^/| /' conftest.$ac_ext >&5
20429 19834
20430 eval "$as_ac_var=no" 19835 eval "$as_ac_var=no"
20431 fi 19836 fi
20432 19837
20433 rm -rf conftest.dSYM
20434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20435 conftest$ac_exeext conftest.$ac_ext 19839 conftest$ac_exeext conftest.$ac_ext
20436 fi 19840 fi
20437 ac_res=`eval 'as_val=${'$as_ac_var'} 19841 ac_res=`eval echo '${'$as_ac_var'}'`
20438 $as_echo "$as_val"'` 19842 { echo "$as_me:$LINENO: result: $ac_res" >&5
20439 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 19843 echo "${ECHO_T}$ac_res" >&6; }
20440 $as_echo "$ac_res" >&6; } 19844 if test `eval echo '${'$as_ac_var'}'` = yes; then
20441 as_val=`eval 'as_val=${'$as_ac_var'}
20442 $as_echo "$as_val"'`
20443 if test "x$as_val" = x""yes; then
20444 cat >>confdefs.h <<_ACEOF 19845 cat >>confdefs.h <<_ACEOF
20445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20446 _ACEOF 19847 _ACEOF
20447 19848
20448 fi 19849 fi
20449 done 19850 done
20450 19851
20452 # Check this now, so that we will NOT find the above functions in ncurses. 19853 # Check this now, so that we will NOT find the above functions in ncurses.
20453 # That is because we have not set up to link ncurses in lib-src. 19854 # That is because we have not set up to link ncurses in lib-src.
20454 # It's better to believe a function is not available 19855 # It's better to believe a function is not available
20455 # than to expect to find it in ncurses. 19856 # than to expect to find it in ncurses.
20456 19857
20457 { $as_echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 19858 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5
20458 $as_echo_n "checking for tparm in -lncurses... " >&6; } 19859 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; }
20459 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 19860 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
20460 $as_echo_n "(cached) " >&6 19861 echo $ECHO_N "(cached) $ECHO_C" >&6
20461 else 19862 else
20462 ac_check_lib_save_LIBS=$LIBS 19863 ac_check_lib_save_LIBS=$LIBS
20463 LIBS="-lncurses $LIBS" 19864 LIBS="-lncurses $LIBS"
20464 cat >conftest.$ac_ext <<_ACEOF 19865 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */ 19866 /* confdefs.h. */
20487 if { (ac_try="$ac_link" 19888 if { (ac_try="$ac_link"
20488 case "(($ac_try" in 19889 case "(($ac_try" in
20489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20490 *) ac_try_echo=$ac_try;; 19891 *) ac_try_echo=$ac_try;;
20491 esac 19892 esac
20492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20493 $as_echo "$ac_try_echo") >&5
20494 (eval "$ac_link") 2>conftest.er1 19894 (eval "$ac_link") 2>conftest.er1
20495 ac_status=$? 19895 ac_status=$?
20496 grep -v '^ *+' conftest.er1 >conftest.err 19896 grep -v '^ *+' conftest.er1 >conftest.err
20497 rm -f conftest.er1 19897 rm -f conftest.er1
20498 cat conftest.err >&5 19898 cat conftest.err >&5
20499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && { 19900 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" || 19901 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err 19902 test ! -s conftest.err
20503 } && test -s conftest$ac_exeext && { 19903 } && test -s conftest$ac_exeext &&
20504 test "$cross_compiling" = yes || 19904 $as_test_x conftest$ac_exeext; then
20505 $as_test_x conftest$ac_exeext
20506 }; then
20507 ac_cv_lib_ncurses_tparm=yes 19905 ac_cv_lib_ncurses_tparm=yes
20508 else 19906 else
20509 $as_echo "$as_me: failed program was:" >&5 19907 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5 19908 sed 's/^/| /' conftest.$ac_ext >&5
20511 19909
20512 ac_cv_lib_ncurses_tparm=no 19910 ac_cv_lib_ncurses_tparm=no
20513 fi 19911 fi
20514 19912
20515 rm -rf conftest.dSYM
20516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20517 conftest$ac_exeext conftest.$ac_ext 19914 conftest$ac_exeext conftest.$ac_ext
20518 LIBS=$ac_check_lib_save_LIBS 19915 LIBS=$ac_check_lib_save_LIBS
20519 fi 19916 fi
20520 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 19917 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5
20521 $as_echo "$ac_cv_lib_ncurses_tparm" >&6; } 19918 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; }
20522 if test "x$ac_cv_lib_ncurses_tparm" = x""yes; then 19919 if test $ac_cv_lib_ncurses_tparm = yes; then
20523 cat >>confdefs.h <<_ACEOF 19920 cat >>confdefs.h <<_ACEOF
20524 #define HAVE_LIBNCURSES 1 19921 #define HAVE_LIBNCURSES 1
20525 _ACEOF 19922 _ACEOF
20526 19923
20527 LIBS="-lncurses $LIBS" 19924 LIBS="-lncurses $LIBS"
20553 if { (ac_try="$ac_link" 19950 if { (ac_try="$ac_link"
20554 case "(($ac_try" in 19951 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;; 19953 *) ac_try_echo=$ac_try;;
20557 esac 19954 esac
20558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 $as_echo "$ac_try_echo") >&5
20560 (eval "$ac_link") 2>conftest.er1 19956 (eval "$ac_link") 2>conftest.er1
20561 ac_status=$? 19957 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err 19958 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1 19959 rm -f conftest.er1
20564 cat conftest.err >&5 19960 cat conftest.err >&5
20565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && { 19962 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" || 19963 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err 19964 test ! -s conftest.err
20569 } && test -s conftest$ac_exeext && { 19965 } && test -s conftest$ac_exeext &&
20570 test "$cross_compiling" = yes || 19966 $as_test_x conftest$ac_exeext; then
20571 $as_test_x conftest$ac_exeext
20572 }; then
20573 have_res_init=yes 19967 have_res_init=yes
20574 else 19968 else
20575 $as_echo "$as_me: failed program was:" >&5 19969 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5 19970 sed 's/^/| /' conftest.$ac_ext >&5
20577 19971
20578 have_res_init=no 19972 have_res_init=no
20579 fi 19973 fi
20580 19974
20581 rm -rf conftest.dSYM
20582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20583 conftest$ac_exeext conftest.$ac_ext 19976 conftest$ac_exeext conftest.$ac_ext
20584 if test "$have_res_init" = no; then 19977 if test "$have_res_init" = no; then
20585 OLIBS="$LIBS" 19978 OLIBS="$LIBS"
20586 LIBS="$LIBS -lresolv" 19979 LIBS="$LIBS -lresolv"
20587 { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 19980 { echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5
20588 $as_echo_n "checking for res_init with -lresolv... " >&6; } 19981 echo $ECHO_N "checking for res_init with -lresolv... $ECHO_C" >&6; }
20589 cat >conftest.$ac_ext <<_ACEOF 19982 cat >conftest.$ac_ext <<_ACEOF
20590 /* confdefs.h. */ 19983 /* confdefs.h. */
20591 _ACEOF 19984 _ACEOF
20592 cat confdefs.h >>conftest.$ac_ext 19985 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF 19986 cat >>conftest.$ac_ext <<_ACEOF
20607 if { (ac_try="$ac_link" 20000 if { (ac_try="$ac_link"
20608 case "(($ac_try" in 20001 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;; 20003 *) ac_try_echo=$ac_try;;
20611 esac 20004 esac
20612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 $as_echo "$ac_try_echo") >&5
20614 (eval "$ac_link") 2>conftest.er1 20006 (eval "$ac_link") 2>conftest.er1
20615 ac_status=$? 20007 ac_status=$?
20616 grep -v '^ *+' conftest.er1 >conftest.err 20008 grep -v '^ *+' conftest.er1 >conftest.err
20617 rm -f conftest.er1 20009 rm -f conftest.er1
20618 cat conftest.err >&5 20010 cat conftest.err >&5
20619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } && { 20012 (exit $ac_status); } && {
20621 test -z "$ac_c_werror_flag" || 20013 test -z "$ac_c_werror_flag" ||
20622 test ! -s conftest.err 20014 test ! -s conftest.err
20623 } && test -s conftest$ac_exeext && { 20015 } && test -s conftest$ac_exeext &&
20624 test "$cross_compiling" = yes || 20016 $as_test_x conftest$ac_exeext; then
20625 $as_test_x conftest$ac_exeext
20626 }; then
20627 have_res_init=yes 20017 have_res_init=yes
20628 else 20018 else
20629 $as_echo "$as_me: failed program was:" >&5 20019 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5 20020 sed 's/^/| /' conftest.$ac_ext >&5
20631 20021
20632 have_res_init=no 20022 have_res_init=no
20633 fi 20023 fi
20634 20024
20635 rm -rf conftest.dSYM
20636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20637 conftest$ac_exeext conftest.$ac_ext 20026 conftest$ac_exeext conftest.$ac_ext
20638 { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 20027 { echo "$as_me:$LINENO: result: $have_res_init" >&5
20639 $as_echo "$have_res_init" >&6; } 20028 echo "${ECHO_T}$have_res_init" >&6; }
20640 if test "$have_res_init" = yes ; then 20029 if test "$have_res_init" = yes ; then
20641 resolv=yes 20030 resolv=yes
20642 fi 20031 fi
20643 LIBS="$OLIBS" 20032 LIBS="$OLIBS"
20644 fi 20033 fi
20652 fi 20041 fi
20653 20042
20654 # Do we need the Hesiod library to provide the support routines? 20043 # Do we need the Hesiod library to provide the support routines?
20655 if test "$with_hesiod" != no ; then 20044 if test "$with_hesiod" != no ; then
20656 # Don't set $LIBS here -- see comments above. 20045 # Don't set $LIBS here -- see comments above.
20657 { $as_echo "$as_me:$LINENO: checking for res_send" >&5 20046 { echo "$as_me:$LINENO: checking for res_send" >&5
20658 $as_echo_n "checking for res_send... " >&6; } 20047 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; }
20659 if test "${ac_cv_func_res_send+set}" = set; then 20048 if test "${ac_cv_func_res_send+set}" = set; then
20660 $as_echo_n "(cached) " >&6 20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 else 20050 else
20662 cat >conftest.$ac_ext <<_ACEOF 20051 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */ 20052 /* confdefs.h. */
20664 _ACEOF 20053 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext 20054 cat confdefs.h >>conftest.$ac_ext
20708 if { (ac_try="$ac_link" 20097 if { (ac_try="$ac_link"
20709 case "(($ac_try" in 20098 case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;; 20100 *) ac_try_echo=$ac_try;;
20712 esac 20101 esac
20713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 $as_echo "$ac_try_echo") >&5
20715 (eval "$ac_link") 2>conftest.er1 20103 (eval "$ac_link") 2>conftest.er1
20716 ac_status=$? 20104 ac_status=$?
20717 grep -v '^ *+' conftest.er1 >conftest.err 20105 grep -v '^ *+' conftest.er1 >conftest.err
20718 rm -f conftest.er1 20106 rm -f conftest.er1
20719 cat conftest.err >&5 20107 cat conftest.err >&5
20720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); } && { 20109 (exit $ac_status); } && {
20722 test -z "$ac_c_werror_flag" || 20110 test -z "$ac_c_werror_flag" ||
20723 test ! -s conftest.err 20111 test ! -s conftest.err
20724 } && test -s conftest$ac_exeext && { 20112 } && test -s conftest$ac_exeext &&
20725 test "$cross_compiling" = yes || 20113 $as_test_x conftest$ac_exeext; then
20726 $as_test_x conftest$ac_exeext
20727 }; then
20728 ac_cv_func_res_send=yes 20114 ac_cv_func_res_send=yes
20729 else 20115 else
20730 $as_echo "$as_me: failed program was:" >&5 20116 echo "$as_me: failed program was:" >&5
20731 sed 's/^/| /' conftest.$ac_ext >&5 20117 sed 's/^/| /' conftest.$ac_ext >&5
20732 20118
20733 ac_cv_func_res_send=no 20119 ac_cv_func_res_send=no
20734 fi 20120 fi
20735 20121
20736 rm -rf conftest.dSYM
20737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20738 conftest$ac_exeext conftest.$ac_ext 20123 conftest$ac_exeext conftest.$ac_ext
20739 fi 20124 fi
20740 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 20125 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
20741 $as_echo "$ac_cv_func_res_send" >&6; } 20126 echo "${ECHO_T}$ac_cv_func_res_send" >&6; }
20742 if test "x$ac_cv_func_res_send" = x""yes; then 20127 if test $ac_cv_func_res_send = yes; then
20743 : 20128 :
20744 else 20129 else
20745 { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 20130 { echo "$as_me:$LINENO: checking for __res_send" >&5
20746 $as_echo_n "checking for __res_send... " >&6; } 20131 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; }
20747 if test "${ac_cv_func___res_send+set}" = set; then 20132 if test "${ac_cv_func___res_send+set}" = set; then
20748 $as_echo_n "(cached) " >&6 20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20749 else 20134 else
20750 cat >conftest.$ac_ext <<_ACEOF 20135 cat >conftest.$ac_ext <<_ACEOF
20751 /* confdefs.h. */ 20136 /* confdefs.h. */
20752 _ACEOF 20137 _ACEOF
20753 cat confdefs.h >>conftest.$ac_ext 20138 cat confdefs.h >>conftest.$ac_ext
20796 if { (ac_try="$ac_link" 20181 if { (ac_try="$ac_link"
20797 case "(($ac_try" in 20182 case "(($ac_try" in
20798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20799 *) ac_try_echo=$ac_try;; 20184 *) ac_try_echo=$ac_try;;
20800 esac 20185 esac
20801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20802 $as_echo "$ac_try_echo") >&5
20803 (eval "$ac_link") 2>conftest.er1 20187 (eval "$ac_link") 2>conftest.er1
20804 ac_status=$? 20188 ac_status=$?
20805 grep -v '^ *+' conftest.er1 >conftest.err 20189 grep -v '^ *+' conftest.er1 >conftest.err
20806 rm -f conftest.er1 20190 rm -f conftest.er1
20807 cat conftest.err >&5 20191 cat conftest.err >&5
20808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } && { 20193 (exit $ac_status); } && {
20810 test -z "$ac_c_werror_flag" || 20194 test -z "$ac_c_werror_flag" ||
20811 test ! -s conftest.err 20195 test ! -s conftest.err
20812 } && test -s conftest$ac_exeext && { 20196 } && test -s conftest$ac_exeext &&
20813 test "$cross_compiling" = yes || 20197 $as_test_x conftest$ac_exeext; then
20814 $as_test_x conftest$ac_exeext
20815 }; then
20816 ac_cv_func___res_send=yes 20198 ac_cv_func___res_send=yes
20817 else 20199 else
20818 $as_echo "$as_me: failed program was:" >&5 20200 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5 20201 sed 's/^/| /' conftest.$ac_ext >&5
20820 20202
20821 ac_cv_func___res_send=no 20203 ac_cv_func___res_send=no
20822 fi 20204 fi
20823 20205
20824 rm -rf conftest.dSYM
20825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20826 conftest$ac_exeext conftest.$ac_ext 20207 conftest$ac_exeext conftest.$ac_ext
20827 fi 20208 fi
20828 { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 20209 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5
20829 $as_echo "$ac_cv_func___res_send" >&6; } 20210 echo "${ECHO_T}$ac_cv_func___res_send" >&6; }
20830 if test "x$ac_cv_func___res_send" = x""yes; then 20211 if test $ac_cv_func___res_send = yes; then
20831 : 20212 :
20832 else 20213 else
20833 { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 20214 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
20834 $as_echo_n "checking for res_send in -lresolv... " >&6; } 20215 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; }
20835 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 20216 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
20836 $as_echo_n "(cached) " >&6 20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 else 20218 else
20838 ac_check_lib_save_LIBS=$LIBS 20219 ac_check_lib_save_LIBS=$LIBS
20839 LIBS="-lresolv $LIBS" 20220 LIBS="-lresolv $LIBS"
20840 cat >conftest.$ac_ext <<_ACEOF 20221 cat >conftest.$ac_ext <<_ACEOF
20841 /* confdefs.h. */ 20222 /* confdefs.h. */
20863 if { (ac_try="$ac_link" 20244 if { (ac_try="$ac_link"
20864 case "(($ac_try" in 20245 case "(($ac_try" in
20865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20866 *) ac_try_echo=$ac_try;; 20247 *) ac_try_echo=$ac_try;;
20867 esac 20248 esac
20868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 $as_echo "$ac_try_echo") >&5
20870 (eval "$ac_link") 2>conftest.er1 20250 (eval "$ac_link") 2>conftest.er1
20871 ac_status=$? 20251 ac_status=$?
20872 grep -v '^ *+' conftest.er1 >conftest.err 20252 grep -v '^ *+' conftest.er1 >conftest.err
20873 rm -f conftest.er1 20253 rm -f conftest.er1
20874 cat conftest.err >&5 20254 cat conftest.err >&5
20875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { 20256 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" || 20257 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err 20258 test ! -s conftest.err
20879 } && test -s conftest$ac_exeext && { 20259 } && test -s conftest$ac_exeext &&
20880 test "$cross_compiling" = yes || 20260 $as_test_x conftest$ac_exeext; then
20881 $as_test_x conftest$ac_exeext
20882 }; then
20883 ac_cv_lib_resolv_res_send=yes 20261 ac_cv_lib_resolv_res_send=yes
20884 else 20262 else
20885 $as_echo "$as_me: failed program was:" >&5 20263 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5 20264 sed 's/^/| /' conftest.$ac_ext >&5
20887 20265
20888 ac_cv_lib_resolv_res_send=no 20266 ac_cv_lib_resolv_res_send=no
20889 fi 20267 fi
20890 20268
20891 rm -rf conftest.dSYM
20892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20893 conftest$ac_exeext conftest.$ac_ext 20270 conftest$ac_exeext conftest.$ac_ext
20894 LIBS=$ac_check_lib_save_LIBS 20271 LIBS=$ac_check_lib_save_LIBS
20895 fi 20272 fi
20896 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 20273 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
20897 $as_echo "$ac_cv_lib_resolv_res_send" >&6; } 20274 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; }
20898 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then 20275 if test $ac_cv_lib_resolv_res_send = yes; then
20899 resolv=yes 20276 resolv=yes
20900 else 20277 else
20901 { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 20278 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5
20902 $as_echo_n "checking for __res_send in -lresolv... " >&6; } 20279 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; }
20903 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 20280 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
20904 $as_echo_n "(cached) " >&6 20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20905 else 20282 else
20906 ac_check_lib_save_LIBS=$LIBS 20283 ac_check_lib_save_LIBS=$LIBS
20907 LIBS="-lresolv $LIBS" 20284 LIBS="-lresolv $LIBS"
20908 cat >conftest.$ac_ext <<_ACEOF 20285 cat >conftest.$ac_ext <<_ACEOF
20909 /* confdefs.h. */ 20286 /* confdefs.h. */
20931 if { (ac_try="$ac_link" 20308 if { (ac_try="$ac_link"
20932 case "(($ac_try" in 20309 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;; 20311 *) ac_try_echo=$ac_try;;
20935 esac 20312 esac
20936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 $as_echo "$ac_try_echo") >&5
20938 (eval "$ac_link") 2>conftest.er1 20314 (eval "$ac_link") 2>conftest.er1
20939 ac_status=$? 20315 ac_status=$?
20940 grep -v '^ *+' conftest.er1 >conftest.err 20316 grep -v '^ *+' conftest.er1 >conftest.err
20941 rm -f conftest.er1 20317 rm -f conftest.er1
20942 cat conftest.err >&5 20318 cat conftest.err >&5
20943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } && { 20320 (exit $ac_status); } && {
20945 test -z "$ac_c_werror_flag" || 20321 test -z "$ac_c_werror_flag" ||
20946 test ! -s conftest.err 20322 test ! -s conftest.err
20947 } && test -s conftest$ac_exeext && { 20323 } && test -s conftest$ac_exeext &&
20948 test "$cross_compiling" = yes || 20324 $as_test_x conftest$ac_exeext; then
20949 $as_test_x conftest$ac_exeext
20950 }; then
20951 ac_cv_lib_resolv___res_send=yes 20325 ac_cv_lib_resolv___res_send=yes
20952 else 20326 else
20953 $as_echo "$as_me: failed program was:" >&5 20327 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5 20328 sed 's/^/| /' conftest.$ac_ext >&5
20955 20329
20956 ac_cv_lib_resolv___res_send=no 20330 ac_cv_lib_resolv___res_send=no
20957 fi 20331 fi
20958 20332
20959 rm -rf conftest.dSYM
20960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20961 conftest$ac_exeext conftest.$ac_ext 20334 conftest$ac_exeext conftest.$ac_ext
20962 LIBS=$ac_check_lib_save_LIBS 20335 LIBS=$ac_check_lib_save_LIBS
20963 fi 20336 fi
20964 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 20337 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5
20965 $as_echo "$ac_cv_lib_resolv___res_send" >&6; } 20338 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; }
20966 if test "x$ac_cv_lib_resolv___res_send" = x""yes; then 20339 if test $ac_cv_lib_resolv___res_send = yes; then
20967 resolv=yes 20340 resolv=yes
20968 fi 20341 fi
20969 20342
20970 fi 20343 fi
20971 20344
20976 if test "$resolv" = yes ; then 20349 if test "$resolv" = yes ; then
20977 RESOLVLIB=-lresolv 20350 RESOLVLIB=-lresolv
20978 else 20351 else
20979 RESOLVLIB= 20352 RESOLVLIB=
20980 fi 20353 fi
20981 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 20354 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5
20982 $as_echo_n "checking for hes_getmailhost... " >&6; } 20355 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; }
20983 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 20356 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
20984 $as_echo_n "(cached) " >&6 20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20985 else 20358 else
20986 cat >conftest.$ac_ext <<_ACEOF 20359 cat >conftest.$ac_ext <<_ACEOF
20987 /* confdefs.h. */ 20360 /* confdefs.h. */
20988 _ACEOF 20361 _ACEOF
20989 cat confdefs.h >>conftest.$ac_ext 20362 cat confdefs.h >>conftest.$ac_ext
21032 if { (ac_try="$ac_link" 20405 if { (ac_try="$ac_link"
21033 case "(($ac_try" in 20406 case "(($ac_try" in
21034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;; 20408 *) ac_try_echo=$ac_try;;
21036 esac 20409 esac
21037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 $as_echo "$ac_try_echo") >&5
21039 (eval "$ac_link") 2>conftest.er1 20411 (eval "$ac_link") 2>conftest.er1
21040 ac_status=$? 20412 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err 20413 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1 20414 rm -f conftest.er1
21043 cat conftest.err >&5 20415 cat conftest.err >&5
21044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } && { 20417 (exit $ac_status); } && {
21046 test -z "$ac_c_werror_flag" || 20418 test -z "$ac_c_werror_flag" ||
21047 test ! -s conftest.err 20419 test ! -s conftest.err
21048 } && test -s conftest$ac_exeext && { 20420 } && test -s conftest$ac_exeext &&
21049 test "$cross_compiling" = yes || 20421 $as_test_x conftest$ac_exeext; then
21050 $as_test_x conftest$ac_exeext
21051 }; then
21052 ac_cv_func_hes_getmailhost=yes 20422 ac_cv_func_hes_getmailhost=yes
21053 else 20423 else
21054 $as_echo "$as_me: failed program was:" >&5 20424 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.$ac_ext >&5 20425 sed 's/^/| /' conftest.$ac_ext >&5
21056 20426
21057 ac_cv_func_hes_getmailhost=no 20427 ac_cv_func_hes_getmailhost=no
21058 fi 20428 fi
21059 20429
21060 rm -rf conftest.dSYM
21061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21062 conftest$ac_exeext conftest.$ac_ext 20431 conftest$ac_exeext conftest.$ac_ext
21063 fi 20432 fi
21064 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 20433 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5
21065 $as_echo "$ac_cv_func_hes_getmailhost" >&6; } 20434 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; }
21066 if test "x$ac_cv_func_hes_getmailhost" = x""yes; then 20435 if test $ac_cv_func_hes_getmailhost = yes; then
21067 : 20436 :
21068 else 20437 else
21069 { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 20438 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5
21070 $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } 20439 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; }
21071 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 20440 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
21072 $as_echo_n "(cached) " >&6 20441 echo $ECHO_N "(cached) $ECHO_C" >&6
21073 else 20442 else
21074 ac_check_lib_save_LIBS=$LIBS 20443 ac_check_lib_save_LIBS=$LIBS
21075 LIBS="-lhesiod $RESOLVLIB $LIBS" 20444 LIBS="-lhesiod $RESOLVLIB $LIBS"
21076 cat >conftest.$ac_ext <<_ACEOF 20445 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */ 20446 /* confdefs.h. */
21099 if { (ac_try="$ac_link" 20468 if { (ac_try="$ac_link"
21100 case "(($ac_try" in 20469 case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;; 20471 *) ac_try_echo=$ac_try;;
21103 esac 20472 esac
21104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21105 $as_echo "$ac_try_echo") >&5
21106 (eval "$ac_link") 2>conftest.er1 20474 (eval "$ac_link") 2>conftest.er1
21107 ac_status=$? 20475 ac_status=$?
21108 grep -v '^ *+' conftest.er1 >conftest.err 20476 grep -v '^ *+' conftest.er1 >conftest.err
21109 rm -f conftest.er1 20477 rm -f conftest.er1
21110 cat conftest.err >&5 20478 cat conftest.err >&5
21111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } && { 20480 (exit $ac_status); } && {
21113 test -z "$ac_c_werror_flag" || 20481 test -z "$ac_c_werror_flag" ||
21114 test ! -s conftest.err 20482 test ! -s conftest.err
21115 } && test -s conftest$ac_exeext && { 20483 } && test -s conftest$ac_exeext &&
21116 test "$cross_compiling" = yes || 20484 $as_test_x conftest$ac_exeext; then
21117 $as_test_x conftest$ac_exeext
21118 }; then
21119 ac_cv_lib_hesiod_hes_getmailhost=yes 20485 ac_cv_lib_hesiod_hes_getmailhost=yes
21120 else 20486 else
21121 $as_echo "$as_me: failed program was:" >&5 20487 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5 20488 sed 's/^/| /' conftest.$ac_ext >&5
21123 20489
21124 ac_cv_lib_hesiod_hes_getmailhost=no 20490 ac_cv_lib_hesiod_hes_getmailhost=no
21125 fi 20491 fi
21126 20492
21127 rm -rf conftest.dSYM
21128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21129 conftest$ac_exeext conftest.$ac_ext 20494 conftest$ac_exeext conftest.$ac_ext
21130 LIBS=$ac_check_lib_save_LIBS 20495 LIBS=$ac_check_lib_save_LIBS
21131 fi 20496 fi
21132 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 20497 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
21133 $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } 20498 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; }
21134 if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then 20499 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
21135 20500
21136 cat >>confdefs.h <<\_ACEOF 20501 cat >>confdefs.h <<\_ACEOF
21137 #define HAVE_LIBHESIOD 1 20502 #define HAVE_LIBHESIOD 1
21138 _ACEOF 20503 _ACEOF
21139 20504
21155 fi 20520 fi
21156 20521
21157 # These tell us which Kerberos-related libraries to use. 20522 # These tell us which Kerberos-related libraries to use.
21158 if test "${with_kerberos}" != no; then 20523 if test "${with_kerberos}" != no; then
21159 20524
21160 { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 20525 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
21161 $as_echo_n "checking for com_err in -lcom_err... " >&6; } 20526 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
21162 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 20527 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
21163 $as_echo_n "(cached) " >&6 20528 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 else 20529 else
21165 ac_check_lib_save_LIBS=$LIBS 20530 ac_check_lib_save_LIBS=$LIBS
21166 LIBS="-lcom_err $LIBS" 20531 LIBS="-lcom_err $LIBS"
21167 cat >conftest.$ac_ext <<_ACEOF 20532 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */ 20533 /* confdefs.h. */
21190 if { (ac_try="$ac_link" 20555 if { (ac_try="$ac_link"
21191 case "(($ac_try" in 20556 case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;; 20558 *) ac_try_echo=$ac_try;;
21194 esac 20559 esac
21195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 $as_echo "$ac_try_echo") >&5
21197 (eval "$ac_link") 2>conftest.er1 20561 (eval "$ac_link") 2>conftest.er1
21198 ac_status=$? 20562 ac_status=$?
21199 grep -v '^ *+' conftest.er1 >conftest.err 20563 grep -v '^ *+' conftest.er1 >conftest.err
21200 rm -f conftest.er1 20564 rm -f conftest.er1
21201 cat conftest.err >&5 20565 cat conftest.err >&5
21202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } && { 20567 (exit $ac_status); } && {
21204 test -z "$ac_c_werror_flag" || 20568 test -z "$ac_c_werror_flag" ||
21205 test ! -s conftest.err 20569 test ! -s conftest.err
21206 } && test -s conftest$ac_exeext && { 20570 } && test -s conftest$ac_exeext &&
21207 test "$cross_compiling" = yes || 20571 $as_test_x conftest$ac_exeext; then
21208 $as_test_x conftest$ac_exeext
21209 }; then
21210 ac_cv_lib_com_err_com_err=yes 20572 ac_cv_lib_com_err_com_err=yes
21211 else 20573 else
21212 $as_echo "$as_me: failed program was:" >&5 20574 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5 20575 sed 's/^/| /' conftest.$ac_ext >&5
21214 20576
21215 ac_cv_lib_com_err_com_err=no 20577 ac_cv_lib_com_err_com_err=no
21216 fi 20578 fi
21217 20579
21218 rm -rf conftest.dSYM
21219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21220 conftest$ac_exeext conftest.$ac_ext 20581 conftest$ac_exeext conftest.$ac_ext
21221 LIBS=$ac_check_lib_save_LIBS 20582 LIBS=$ac_check_lib_save_LIBS
21222 fi 20583 fi
21223 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 20584 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
21224 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } 20585 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
21225 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then 20586 if test $ac_cv_lib_com_err_com_err = yes; then
21226 cat >>confdefs.h <<_ACEOF 20587 cat >>confdefs.h <<_ACEOF
21227 #define HAVE_LIBCOM_ERR 1 20588 #define HAVE_LIBCOM_ERR 1
21228 _ACEOF 20589 _ACEOF
21229 20590
21230 LIBS="-lcom_err $LIBS" 20591 LIBS="-lcom_err $LIBS"
21231 20592
21232 fi 20593 fi
21233 20594
21234 20595
21235 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 20596 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
21236 $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } 20597 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; }
21237 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 20598 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
21238 $as_echo_n "(cached) " >&6 20599 echo $ECHO_N "(cached) $ECHO_C" >&6
21239 else 20600 else
21240 ac_check_lib_save_LIBS=$LIBS 20601 ac_check_lib_save_LIBS=$LIBS
21241 LIBS="-lk5crypto $LIBS" 20602 LIBS="-lk5crypto $LIBS"
21242 cat >conftest.$ac_ext <<_ACEOF 20603 cat >conftest.$ac_ext <<_ACEOF
21243 /* confdefs.h. */ 20604 /* confdefs.h. */
21265 if { (ac_try="$ac_link" 20626 if { (ac_try="$ac_link"
21266 case "(($ac_try" in 20627 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;; 20629 *) ac_try_echo=$ac_try;;
21269 esac 20630 esac
21270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 $as_echo "$ac_try_echo") >&5
21272 (eval "$ac_link") 2>conftest.er1 20632 (eval "$ac_link") 2>conftest.er1
21273 ac_status=$? 20633 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err 20634 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1 20635 rm -f conftest.er1
21276 cat conftest.err >&5 20636 cat conftest.err >&5
21277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && { 20638 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" || 20639 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err 20640 test ! -s conftest.err
21281 } && test -s conftest$ac_exeext && { 20641 } && test -s conftest$ac_exeext &&
21282 test "$cross_compiling" = yes || 20642 $as_test_x conftest$ac_exeext; then
21283 $as_test_x conftest$ac_exeext
21284 }; then
21285 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 20643 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
21286 else 20644 else
21287 $as_echo "$as_me: failed program was:" >&5 20645 echo "$as_me: failed program was:" >&5
21288 sed 's/^/| /' conftest.$ac_ext >&5 20646 sed 's/^/| /' conftest.$ac_ext >&5
21289 20647
21290 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 20648 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
21291 fi 20649 fi
21292 20650
21293 rm -rf conftest.dSYM
21294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21295 conftest$ac_exeext conftest.$ac_ext 20652 conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS 20653 LIBS=$ac_check_lib_save_LIBS
21297 fi 20654 fi
21298 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 20655 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
21299 $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } 20656 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; }
21300 if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then 20657 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
21301 cat >>confdefs.h <<_ACEOF 20658 cat >>confdefs.h <<_ACEOF
21302 #define HAVE_LIBK5CRYPTO 1 20659 #define HAVE_LIBK5CRYPTO 1
21303 _ACEOF 20660 _ACEOF
21304 20661
21305 LIBS="-lk5crypto $LIBS" 20662 LIBS="-lk5crypto $LIBS"
21306 20663
21307 fi 20664 fi
21308 20665
21309 20666
21310 { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 20667 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5
21311 $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } 20668 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; }
21312 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 20669 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
21313 $as_echo_n "(cached) " >&6 20670 echo $ECHO_N "(cached) $ECHO_C" >&6
21314 else 20671 else
21315 ac_check_lib_save_LIBS=$LIBS 20672 ac_check_lib_save_LIBS=$LIBS
21316 LIBS="-lcrypto $LIBS" 20673 LIBS="-lcrypto $LIBS"
21317 cat >conftest.$ac_ext <<_ACEOF 20674 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */ 20675 /* confdefs.h. */
21340 if { (ac_try="$ac_link" 20697 if { (ac_try="$ac_link"
21341 case "(($ac_try" in 20698 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;; 20700 *) ac_try_echo=$ac_try;;
21344 esac 20701 esac
21345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 $as_echo "$ac_try_echo") >&5
21347 (eval "$ac_link") 2>conftest.er1 20703 (eval "$ac_link") 2>conftest.er1
21348 ac_status=$? 20704 ac_status=$?
21349 grep -v '^ *+' conftest.er1 >conftest.err 20705 grep -v '^ *+' conftest.er1 >conftest.err
21350 rm -f conftest.er1 20706 rm -f conftest.er1
21351 cat conftest.err >&5 20707 cat conftest.err >&5
21352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && { 20709 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" || 20710 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err 20711 test ! -s conftest.err
21356 } && test -s conftest$ac_exeext && { 20712 } && test -s conftest$ac_exeext &&
21357 test "$cross_compiling" = yes || 20713 $as_test_x conftest$ac_exeext; then
21358 $as_test_x conftest$ac_exeext
21359 }; then
21360 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 20714 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
21361 else 20715 else
21362 $as_echo "$as_me: failed program was:" >&5 20716 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5 20717 sed 's/^/| /' conftest.$ac_ext >&5
21364 20718
21365 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 20719 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
21366 fi 20720 fi
21367 20721
21368 rm -rf conftest.dSYM
21369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21370 conftest$ac_exeext conftest.$ac_ext 20723 conftest$ac_exeext conftest.$ac_ext
21371 LIBS=$ac_check_lib_save_LIBS 20724 LIBS=$ac_check_lib_save_LIBS
21372 fi 20725 fi
21373 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 20726 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
21374 $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } 20727 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; }
21375 if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then 20728 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
21376 cat >>confdefs.h <<_ACEOF 20729 cat >>confdefs.h <<_ACEOF
21377 #define HAVE_LIBCRYPTO 1 20730 #define HAVE_LIBCRYPTO 1
21378 _ACEOF 20731 _ACEOF
21379 20732
21380 LIBS="-lcrypto $LIBS" 20733 LIBS="-lcrypto $LIBS"
21381 20734
21382 fi 20735 fi
21383 20736
21384 20737
21385 { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 20738 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
21386 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } 20739 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
21387 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 20740 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
21388 $as_echo_n "(cached) " >&6 20741 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 else 20742 else
21390 ac_check_lib_save_LIBS=$LIBS 20743 ac_check_lib_save_LIBS=$LIBS
21391 LIBS="-lkrb5 $LIBS" 20744 LIBS="-lkrb5 $LIBS"
21392 cat >conftest.$ac_ext <<_ACEOF 20745 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */ 20746 /* confdefs.h. */
21415 if { (ac_try="$ac_link" 20768 if { (ac_try="$ac_link"
21416 case "(($ac_try" in 20769 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;; 20771 *) ac_try_echo=$ac_try;;
21419 esac 20772 esac
21420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 $as_echo "$ac_try_echo") >&5
21422 (eval "$ac_link") 2>conftest.er1 20774 (eval "$ac_link") 2>conftest.er1
21423 ac_status=$? 20775 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err 20776 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1 20777 rm -f conftest.er1
21426 cat conftest.err >&5 20778 cat conftest.err >&5
21427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } && { 20780 (exit $ac_status); } && {
21429 test -z "$ac_c_werror_flag" || 20781 test -z "$ac_c_werror_flag" ||
21430 test ! -s conftest.err 20782 test ! -s conftest.err
21431 } && test -s conftest$ac_exeext && { 20783 } && test -s conftest$ac_exeext &&
21432 test "$cross_compiling" = yes || 20784 $as_test_x conftest$ac_exeext; then
21433 $as_test_x conftest$ac_exeext
21434 }; then
21435 ac_cv_lib_krb5_krb5_init_context=yes 20785 ac_cv_lib_krb5_krb5_init_context=yes
21436 else 20786 else
21437 $as_echo "$as_me: failed program was:" >&5 20787 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5 20788 sed 's/^/| /' conftest.$ac_ext >&5
21439 20789
21440 ac_cv_lib_krb5_krb5_init_context=no 20790 ac_cv_lib_krb5_krb5_init_context=no
21441 fi 20791 fi
21442 20792
21443 rm -rf conftest.dSYM
21444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21445 conftest$ac_exeext conftest.$ac_ext 20794 conftest$ac_exeext conftest.$ac_ext
21446 LIBS=$ac_check_lib_save_LIBS 20795 LIBS=$ac_check_lib_save_LIBS
21447 fi 20796 fi
21448 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 20797 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5
21449 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } 20798 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; }
21450 if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then 20799 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
21451 cat >>confdefs.h <<_ACEOF 20800 cat >>confdefs.h <<_ACEOF
21452 #define HAVE_LIBKRB5 1 20801 #define HAVE_LIBKRB5 1
21453 _ACEOF 20802 _ACEOF
21454 20803
21455 LIBS="-lkrb5 $LIBS" 20804 LIBS="-lkrb5 $LIBS"
21456 20805
21457 fi 20806 fi
21458 20807
21459 if test "${with_kerberos5}" = no; then 20808 if test "${with_kerberos5}" = no; then
21460 20809
21461 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 20810 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
21462 $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } 20811 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
21463 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 20812 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
21464 $as_echo_n "(cached) " >&6 20813 echo $ECHO_N "(cached) $ECHO_C" >&6
21465 else 20814 else
21466 ac_check_lib_save_LIBS=$LIBS 20815 ac_check_lib_save_LIBS=$LIBS
21467 LIBS="-ldes425 $LIBS" 20816 LIBS="-ldes425 $LIBS"
21468 cat >conftest.$ac_ext <<_ACEOF 20817 cat >conftest.$ac_ext <<_ACEOF
21469 /* confdefs.h. */ 20818 /* confdefs.h. */
21491 if { (ac_try="$ac_link" 20840 if { (ac_try="$ac_link"
21492 case "(($ac_try" in 20841 case "(($ac_try" in
21493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;; 20843 *) ac_try_echo=$ac_try;;
21495 esac 20844 esac
21496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 $as_echo "$ac_try_echo") >&5
21498 (eval "$ac_link") 2>conftest.er1 20846 (eval "$ac_link") 2>conftest.er1
21499 ac_status=$? 20847 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err 20848 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1 20849 rm -f conftest.er1
21502 cat conftest.err >&5 20850 cat conftest.err >&5
21503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } && { 20852 (exit $ac_status); } && {
21505 test -z "$ac_c_werror_flag" || 20853 test -z "$ac_c_werror_flag" ||
21506 test ! -s conftest.err 20854 test ! -s conftest.err
21507 } && test -s conftest$ac_exeext && { 20855 } && test -s conftest$ac_exeext &&
21508 test "$cross_compiling" = yes || 20856 $as_test_x conftest$ac_exeext; then
21509 $as_test_x conftest$ac_exeext
21510 }; then
21511 ac_cv_lib_des425_des_cbc_encrypt=yes 20857 ac_cv_lib_des425_des_cbc_encrypt=yes
21512 else 20858 else
21513 $as_echo "$as_me: failed program was:" >&5 20859 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5 20860 sed 's/^/| /' conftest.$ac_ext >&5
21515 20861
21516 ac_cv_lib_des425_des_cbc_encrypt=no 20862 ac_cv_lib_des425_des_cbc_encrypt=no
21517 fi 20863 fi
21518 20864
21519 rm -rf conftest.dSYM
21520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21521 conftest$ac_exeext conftest.$ac_ext 20866 conftest$ac_exeext conftest.$ac_ext
21522 LIBS=$ac_check_lib_save_LIBS 20867 LIBS=$ac_check_lib_save_LIBS
21523 fi 20868 fi
21524 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 20869 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
21525 $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 20870 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
21526 if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then 20871 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
21527 cat >>confdefs.h <<_ACEOF 20872 cat >>confdefs.h <<_ACEOF
21528 #define HAVE_LIBDES425 1 20873 #define HAVE_LIBDES425 1
21529 _ACEOF 20874 _ACEOF
21530 20875
21531 LIBS="-ldes425 $LIBS" 20876 LIBS="-ldes425 $LIBS"
21532 20877
21533 else 20878 else
21534 20879
21535 { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 20880 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
21536 $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } 20881 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; }
21537 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 20882 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
21538 $as_echo_n "(cached) " >&6 20883 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 else 20884 else
21540 ac_check_lib_save_LIBS=$LIBS 20885 ac_check_lib_save_LIBS=$LIBS
21541 LIBS="-ldes $LIBS" 20886 LIBS="-ldes $LIBS"
21542 cat >conftest.$ac_ext <<_ACEOF 20887 cat >conftest.$ac_ext <<_ACEOF
21543 /* confdefs.h. */ 20888 /* confdefs.h. */
21565 if { (ac_try="$ac_link" 20910 if { (ac_try="$ac_link"
21566 case "(($ac_try" in 20911 case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;; 20913 *) ac_try_echo=$ac_try;;
21569 esac 20914 esac
21570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 $as_echo "$ac_try_echo") >&5
21572 (eval "$ac_link") 2>conftest.er1 20916 (eval "$ac_link") 2>conftest.er1
21573 ac_status=$? 20917 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err 20918 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1 20919 rm -f conftest.er1
21576 cat conftest.err >&5 20920 cat conftest.err >&5
21577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && { 20922 (exit $ac_status); } && {
21579 test -z "$ac_c_werror_flag" || 20923 test -z "$ac_c_werror_flag" ||
21580 test ! -s conftest.err 20924 test ! -s conftest.err
21581 } && test -s conftest$ac_exeext && { 20925 } && test -s conftest$ac_exeext &&
21582 test "$cross_compiling" = yes || 20926 $as_test_x conftest$ac_exeext; then
21583 $as_test_x conftest$ac_exeext
21584 }; then
21585 ac_cv_lib_des_des_cbc_encrypt=yes 20927 ac_cv_lib_des_des_cbc_encrypt=yes
21586 else 20928 else
21587 $as_echo "$as_me: failed program was:" >&5 20929 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5 20930 sed 's/^/| /' conftest.$ac_ext >&5
21589 20931
21590 ac_cv_lib_des_des_cbc_encrypt=no 20932 ac_cv_lib_des_des_cbc_encrypt=no
21591 fi 20933 fi
21592 20934
21593 rm -rf conftest.dSYM
21594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21595 conftest$ac_exeext conftest.$ac_ext 20936 conftest$ac_exeext conftest.$ac_ext
21596 LIBS=$ac_check_lib_save_LIBS 20937 LIBS=$ac_check_lib_save_LIBS
21597 fi 20938 fi
21598 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 20939 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
21599 $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } 20940 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; }
21600 if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then 20941 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
21601 cat >>confdefs.h <<_ACEOF 20942 cat >>confdefs.h <<_ACEOF
21602 #define HAVE_LIBDES 1 20943 #define HAVE_LIBDES 1
21603 _ACEOF 20944 _ACEOF
21604 20945
21605 LIBS="-ldes $LIBS" 20946 LIBS="-ldes $LIBS"
21607 fi 20948 fi
21608 20949
21609 fi 20950 fi
21610 20951
21611 20952
21612 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 20953 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5
21613 $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } 20954 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; }
21614 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 20955 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
21615 $as_echo_n "(cached) " >&6 20956 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 else 20957 else
21617 ac_check_lib_save_LIBS=$LIBS 20958 ac_check_lib_save_LIBS=$LIBS
21618 LIBS="-lkrb4 $LIBS" 20959 LIBS="-lkrb4 $LIBS"
21619 cat >conftest.$ac_ext <<_ACEOF 20960 cat >conftest.$ac_ext <<_ACEOF
21620 /* confdefs.h. */ 20961 /* confdefs.h. */
21642 if { (ac_try="$ac_link" 20983 if { (ac_try="$ac_link"
21643 case "(($ac_try" in 20984 case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;; 20986 *) ac_try_echo=$ac_try;;
21646 esac 20987 esac
21647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 $as_echo "$ac_try_echo") >&5
21649 (eval "$ac_link") 2>conftest.er1 20989 (eval "$ac_link") 2>conftest.er1
21650 ac_status=$? 20990 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err 20991 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1 20992 rm -f conftest.er1
21653 cat conftest.err >&5 20993 cat conftest.err >&5
21654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } && { 20995 (exit $ac_status); } && {
21656 test -z "$ac_c_werror_flag" || 20996 test -z "$ac_c_werror_flag" ||
21657 test ! -s conftest.err 20997 test ! -s conftest.err
21658 } && test -s conftest$ac_exeext && { 20998 } && test -s conftest$ac_exeext &&
21659 test "$cross_compiling" = yes || 20999 $as_test_x conftest$ac_exeext; then
21660 $as_test_x conftest$ac_exeext
21661 }; then
21662 ac_cv_lib_krb4_krb_get_cred=yes 21000 ac_cv_lib_krb4_krb_get_cred=yes
21663 else 21001 else
21664 $as_echo "$as_me: failed program was:" >&5 21002 echo "$as_me: failed program was:" >&5
21665 sed 's/^/| /' conftest.$ac_ext >&5 21003 sed 's/^/| /' conftest.$ac_ext >&5
21666 21004
21667 ac_cv_lib_krb4_krb_get_cred=no 21005 ac_cv_lib_krb4_krb_get_cred=no
21668 fi 21006 fi
21669 21007
21670 rm -rf conftest.dSYM
21671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21672 conftest$ac_exeext conftest.$ac_ext 21009 conftest$ac_exeext conftest.$ac_ext
21673 LIBS=$ac_check_lib_save_LIBS 21010 LIBS=$ac_check_lib_save_LIBS
21674 fi 21011 fi
21675 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 21012 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5
21676 $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } 21013 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; }
21677 if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then 21014 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
21678 cat >>confdefs.h <<_ACEOF 21015 cat >>confdefs.h <<_ACEOF
21679 #define HAVE_LIBKRB4 1 21016 #define HAVE_LIBKRB4 1
21680 _ACEOF 21017 _ACEOF
21681 21018
21682 LIBS="-lkrb4 $LIBS" 21019 LIBS="-lkrb4 $LIBS"
21683 21020
21684 else 21021 else
21685 21022
21686 { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 21023 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5
21687 $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } 21024 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; }
21688 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 21025 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
21689 $as_echo_n "(cached) " >&6 21026 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else 21027 else
21691 ac_check_lib_save_LIBS=$LIBS 21028 ac_check_lib_save_LIBS=$LIBS
21692 LIBS="-lkrb $LIBS" 21029 LIBS="-lkrb $LIBS"
21693 cat >conftest.$ac_ext <<_ACEOF 21030 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */ 21031 /* confdefs.h. */
21716 if { (ac_try="$ac_link" 21053 if { (ac_try="$ac_link"
21717 case "(($ac_try" in 21054 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;; 21056 *) ac_try_echo=$ac_try;;
21720 esac 21057 esac
21721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 $as_echo "$ac_try_echo") >&5
21723 (eval "$ac_link") 2>conftest.er1 21059 (eval "$ac_link") 2>conftest.er1
21724 ac_status=$? 21060 ac_status=$?
21725 grep -v '^ *+' conftest.er1 >conftest.err 21061 grep -v '^ *+' conftest.er1 >conftest.err
21726 rm -f conftest.er1 21062 rm -f conftest.er1
21727 cat conftest.err >&5 21063 cat conftest.err >&5
21728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } && { 21065 (exit $ac_status); } && {
21730 test -z "$ac_c_werror_flag" || 21066 test -z "$ac_c_werror_flag" ||
21731 test ! -s conftest.err 21067 test ! -s conftest.err
21732 } && test -s conftest$ac_exeext && { 21068 } && test -s conftest$ac_exeext &&
21733 test "$cross_compiling" = yes || 21069 $as_test_x conftest$ac_exeext; then
21734 $as_test_x conftest$ac_exeext
21735 }; then
21736 ac_cv_lib_krb_krb_get_cred=yes 21070 ac_cv_lib_krb_krb_get_cred=yes
21737 else 21071 else
21738 $as_echo "$as_me: failed program was:" >&5 21072 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5 21073 sed 's/^/| /' conftest.$ac_ext >&5
21740 21074
21741 ac_cv_lib_krb_krb_get_cred=no 21075 ac_cv_lib_krb_krb_get_cred=no
21742 fi 21076 fi
21743 21077
21744 rm -rf conftest.dSYM
21745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21746 conftest$ac_exeext conftest.$ac_ext 21079 conftest$ac_exeext conftest.$ac_ext
21747 LIBS=$ac_check_lib_save_LIBS 21080 LIBS=$ac_check_lib_save_LIBS
21748 fi 21081 fi
21749 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 21082 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5
21750 $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } 21083 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; }
21751 if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then 21084 if test $ac_cv_lib_krb_krb_get_cred = yes; then
21752 cat >>confdefs.h <<_ACEOF 21085 cat >>confdefs.h <<_ACEOF
21753 #define HAVE_LIBKRB 1 21086 #define HAVE_LIBKRB 1
21754 _ACEOF 21087 _ACEOF
21755 21088
21756 LIBS="-lkrb $LIBS" 21089 LIBS="-lkrb $LIBS"
21763 21096
21764 if test "${with_kerberos5}" != no; then 21097 if test "${with_kerberos5}" != no; then
21765 21098
21766 for ac_header in krb5.h 21099 for ac_header in krb5.h
21767 do 21100 do
21768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21770 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21771 $as_echo_n "checking for $ac_header... " >&6; } 21104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21773 $as_echo_n "(cached) " >&6 21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 fi 21107 fi
21775 ac_res=`eval 'as_val=${'$as_ac_Header'} 21108 ac_res=`eval echo '${'$as_ac_Header'}'`
21776 $as_echo "$as_val"'` 21109 { echo "$as_me:$LINENO: result: $ac_res" >&5
21777 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21110 echo "${ECHO_T}$ac_res" >&6; }
21778 $as_echo "$ac_res" >&6; }
21779 else 21111 else
21780 # Is the header compilable? 21112 # Is the header compilable?
21781 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21113 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21782 $as_echo_n "checking $ac_header usability... " >&6; } 21114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21783 cat >conftest.$ac_ext <<_ACEOF 21115 cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h. */ 21116 /* confdefs.h. */
21785 _ACEOF 21117 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext 21118 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF 21119 cat >>conftest.$ac_ext <<_ACEOF
21793 if { (ac_try="$ac_compile" 21125 if { (ac_try="$ac_compile"
21794 case "(($ac_try" in 21126 case "(($ac_try" in
21795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;; 21128 *) ac_try_echo=$ac_try;;
21797 esac 21129 esac
21798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 $as_echo "$ac_try_echo") >&5
21800 (eval "$ac_compile") 2>conftest.er1 21131 (eval "$ac_compile") 2>conftest.er1
21801 ac_status=$? 21132 ac_status=$?
21802 grep -v '^ *+' conftest.er1 >conftest.err 21133 grep -v '^ *+' conftest.er1 >conftest.err
21803 rm -f conftest.er1 21134 rm -f conftest.er1
21804 cat conftest.err >&5 21135 cat conftest.err >&5
21805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { 21137 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" || 21138 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err 21139 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then 21140 } && test -s conftest.$ac_objext; then
21810 ac_header_compiler=yes 21141 ac_header_compiler=yes
21811 else 21142 else
21812 $as_echo "$as_me: failed program was:" >&5 21143 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5 21144 sed 's/^/| /' conftest.$ac_ext >&5
21814 21145
21815 ac_header_compiler=no 21146 ac_header_compiler=no
21816 fi 21147 fi
21817 21148
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21820 $as_echo "$ac_header_compiler" >&6; } 21151 echo "${ECHO_T}$ac_header_compiler" >&6; }
21821 21152
21822 # Is the header present? 21153 # Is the header present?
21823 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21154 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21824 $as_echo_n "checking $ac_header presence... " >&6; } 21155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21825 cat >conftest.$ac_ext <<_ACEOF 21156 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */ 21157 /* confdefs.h. */
21827 _ACEOF 21158 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext 21159 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF 21160 cat >>conftest.$ac_ext <<_ACEOF
21833 if { (ac_try="$ac_cpp conftest.$ac_ext" 21164 if { (ac_try="$ac_cpp conftest.$ac_ext"
21834 case "(($ac_try" in 21165 case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;; 21167 *) ac_try_echo=$ac_try;;
21837 esac 21168 esac
21838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21839 $as_echo "$ac_try_echo") >&5
21840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21841 ac_status=$? 21171 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err 21172 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1 21173 rm -f conftest.er1
21844 cat conftest.err >&5 21174 cat conftest.err >&5
21845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } >/dev/null && { 21176 (exit $ac_status); } >/dev/null && {
21847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21848 test ! -s conftest.err 21178 test ! -s conftest.err
21849 }; then 21179 }; then
21850 ac_header_preproc=yes 21180 ac_header_preproc=yes
21851 else 21181 else
21852 $as_echo "$as_me: failed program was:" >&5 21182 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5 21183 sed 's/^/| /' conftest.$ac_ext >&5
21854 21184
21855 ac_header_preproc=no 21185 ac_header_preproc=no
21856 fi 21186 fi
21857 21187
21858 rm -f conftest.err conftest.$ac_ext 21188 rm -f conftest.err conftest.$ac_ext
21859 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21860 $as_echo "$ac_header_preproc" >&6; } 21190 echo "${ECHO_T}$ac_header_preproc" >&6; }
21861 21191
21862 # So? What about this header? 21192 # So? What about this header?
21863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21864 yes:no: ) 21194 yes:no: )
21865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21866 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21868 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21869 ac_header_preproc=yes 21199 ac_header_preproc=yes
21870 ;; 21200 ;;
21871 no:yes:* ) 21201 no:yes:* )
21872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21873 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21875 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21877 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21878 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21879 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21881 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21883 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21884 21214
21885 ;; 21215 ;;
21886 esac 21216 esac
21887 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21888 $as_echo_n "checking for $ac_header... " >&6; } 21218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21890 $as_echo_n "(cached) " >&6 21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21891 else 21221 else
21892 eval "$as_ac_Header=\$ac_header_preproc" 21222 eval "$as_ac_Header=\$ac_header_preproc"
21893 fi 21223 fi
21894 ac_res=`eval 'as_val=${'$as_ac_Header'} 21224 ac_res=`eval echo '${'$as_ac_Header'}'`
21895 $as_echo "$as_val"'` 21225 { echo "$as_me:$LINENO: result: $ac_res" >&5
21896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21226 echo "${ECHO_T}$ac_res" >&6; }
21897 $as_echo "$ac_res" >&6; } 21227
21898 21228 fi
21899 fi 21229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21900 as_val=`eval 'as_val=${'$as_ac_Header'}
21901 $as_echo "$as_val"'`
21902 if test "x$as_val" = x""yes; then
21903 cat >>confdefs.h <<_ACEOF 21230 cat >>confdefs.h <<_ACEOF
21904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21905 _ACEOF 21232 _ACEOF
21906 { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 21233 { echo "$as_me:$LINENO: checking for krb5_error.text" >&5
21907 $as_echo_n "checking for krb5_error.text... " >&6; } 21234 echo $ECHO_N "checking for krb5_error.text... $ECHO_C" >&6; }
21908 if test "${ac_cv_member_krb5_error_text+set}" = set; then 21235 if test "${ac_cv_member_krb5_error_text+set}" = set; then
21909 $as_echo_n "(cached) " >&6 21236 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 else 21237 else
21911 cat >conftest.$ac_ext <<_ACEOF 21238 cat >conftest.$ac_ext <<_ACEOF
21912 /* confdefs.h. */ 21239 /* confdefs.h. */
21913 _ACEOF 21240 _ACEOF
21914 cat confdefs.h >>conftest.$ac_ext 21241 cat confdefs.h >>conftest.$ac_ext
21930 if { (ac_try="$ac_compile" 21257 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in 21258 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;; 21260 *) ac_try_echo=$ac_try;;
21934 esac 21261 esac
21935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 $as_echo "$ac_try_echo") >&5
21937 (eval "$ac_compile") 2>conftest.er1 21263 (eval "$ac_compile") 2>conftest.er1
21938 ac_status=$? 21264 ac_status=$?
21939 grep -v '^ *+' conftest.er1 >conftest.err 21265 grep -v '^ *+' conftest.er1 >conftest.err
21940 rm -f conftest.er1 21266 rm -f conftest.er1
21941 cat conftest.err >&5 21267 cat conftest.err >&5
21942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } && { 21269 (exit $ac_status); } && {
21944 test -z "$ac_c_werror_flag" || 21270 test -z "$ac_c_werror_flag" ||
21945 test ! -s conftest.err 21271 test ! -s conftest.err
21946 } && test -s conftest.$ac_objext; then 21272 } && test -s conftest.$ac_objext; then
21947 ac_cv_member_krb5_error_text=yes 21273 ac_cv_member_krb5_error_text=yes
21948 else 21274 else
21949 $as_echo "$as_me: failed program was:" >&5 21275 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5 21276 sed 's/^/| /' conftest.$ac_ext >&5
21951 21277
21952 cat >conftest.$ac_ext <<_ACEOF 21278 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */ 21279 /* confdefs.h. */
21954 _ACEOF 21280 _ACEOF
21971 if { (ac_try="$ac_compile" 21297 if { (ac_try="$ac_compile"
21972 case "(($ac_try" in 21298 case "(($ac_try" in
21973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21974 *) ac_try_echo=$ac_try;; 21300 *) ac_try_echo=$ac_try;;
21975 esac 21301 esac
21976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21977 $as_echo "$ac_try_echo") >&5
21978 (eval "$ac_compile") 2>conftest.er1 21303 (eval "$ac_compile") 2>conftest.er1
21979 ac_status=$? 21304 ac_status=$?
21980 grep -v '^ *+' conftest.er1 >conftest.err 21305 grep -v '^ *+' conftest.er1 >conftest.err
21981 rm -f conftest.er1 21306 rm -f conftest.er1
21982 cat conftest.err >&5 21307 cat conftest.err >&5
21983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } && { 21309 (exit $ac_status); } && {
21985 test -z "$ac_c_werror_flag" || 21310 test -z "$ac_c_werror_flag" ||
21986 test ! -s conftest.err 21311 test ! -s conftest.err
21987 } && test -s conftest.$ac_objext; then 21312 } && test -s conftest.$ac_objext; then
21988 ac_cv_member_krb5_error_text=yes 21313 ac_cv_member_krb5_error_text=yes
21989 else 21314 else
21990 $as_echo "$as_me: failed program was:" >&5 21315 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5 21316 sed 's/^/| /' conftest.$ac_ext >&5
21992 21317
21993 ac_cv_member_krb5_error_text=no 21318 ac_cv_member_krb5_error_text=no
21994 fi 21319 fi
21995 21320
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 fi 21322 fi
21998 21323
21999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22000 fi 21325 fi
22001 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 21326 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5
22002 $as_echo "$ac_cv_member_krb5_error_text" >&6; } 21327 echo "${ECHO_T}$ac_cv_member_krb5_error_text" >&6; }
22003 if test "x$ac_cv_member_krb5_error_text" = x""yes; then 21328 if test $ac_cv_member_krb5_error_text = yes; then
22004 21329
22005 cat >>confdefs.h <<_ACEOF 21330 cat >>confdefs.h <<_ACEOF
22006 #define HAVE_KRB5_ERROR_TEXT 1 21331 #define HAVE_KRB5_ERROR_TEXT 1
22007 _ACEOF 21332 _ACEOF
22008 21333
22009 21334
22010 fi 21335 fi
22011 { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 21336 { echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5
22012 $as_echo_n "checking for krb5_error.e_text... " >&6; } 21337 echo $ECHO_N "checking for krb5_error.e_text... $ECHO_C" >&6; }
22013 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then 21338 if test "${ac_cv_member_krb5_error_e_text+set}" = set; then
22014 $as_echo_n "(cached) " >&6 21339 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 else 21340 else
22016 cat >conftest.$ac_ext <<_ACEOF 21341 cat >conftest.$ac_ext <<_ACEOF
22017 /* confdefs.h. */ 21342 /* confdefs.h. */
22018 _ACEOF 21343 _ACEOF
22019 cat confdefs.h >>conftest.$ac_ext 21344 cat confdefs.h >>conftest.$ac_ext
22035 if { (ac_try="$ac_compile" 21360 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in 21361 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;; 21363 *) ac_try_echo=$ac_try;;
22039 esac 21364 esac
22040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 $as_echo "$ac_try_echo") >&5
22042 (eval "$ac_compile") 2>conftest.er1 21366 (eval "$ac_compile") 2>conftest.er1
22043 ac_status=$? 21367 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err 21368 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1 21369 rm -f conftest.er1
22046 cat conftest.err >&5 21370 cat conftest.err >&5
22047 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } && { 21372 (exit $ac_status); } && {
22049 test -z "$ac_c_werror_flag" || 21373 test -z "$ac_c_werror_flag" ||
22050 test ! -s conftest.err 21374 test ! -s conftest.err
22051 } && test -s conftest.$ac_objext; then 21375 } && test -s conftest.$ac_objext; then
22052 ac_cv_member_krb5_error_e_text=yes 21376 ac_cv_member_krb5_error_e_text=yes
22053 else 21377 else
22054 $as_echo "$as_me: failed program was:" >&5 21378 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5 21379 sed 's/^/| /' conftest.$ac_ext >&5
22056 21380
22057 cat >conftest.$ac_ext <<_ACEOF 21381 cat >conftest.$ac_ext <<_ACEOF
22058 /* confdefs.h. */ 21382 /* confdefs.h. */
22059 _ACEOF 21383 _ACEOF
22076 if { (ac_try="$ac_compile" 21400 if { (ac_try="$ac_compile"
22077 case "(($ac_try" in 21401 case "(($ac_try" in
22078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22079 *) ac_try_echo=$ac_try;; 21403 *) ac_try_echo=$ac_try;;
22080 esac 21404 esac
22081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22082 $as_echo "$ac_try_echo") >&5
22083 (eval "$ac_compile") 2>conftest.er1 21406 (eval "$ac_compile") 2>conftest.er1
22084 ac_status=$? 21407 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err 21408 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1 21409 rm -f conftest.er1
22087 cat conftest.err >&5 21410 cat conftest.err >&5
22088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } && { 21412 (exit $ac_status); } && {
22090 test -z "$ac_c_werror_flag" || 21413 test -z "$ac_c_werror_flag" ||
22091 test ! -s conftest.err 21414 test ! -s conftest.err
22092 } && test -s conftest.$ac_objext; then 21415 } && test -s conftest.$ac_objext; then
22093 ac_cv_member_krb5_error_e_text=yes 21416 ac_cv_member_krb5_error_e_text=yes
22094 else 21417 else
22095 $as_echo "$as_me: failed program was:" >&5 21418 echo "$as_me: failed program was:" >&5
22096 sed 's/^/| /' conftest.$ac_ext >&5 21419 sed 's/^/| /' conftest.$ac_ext >&5
22097 21420
22098 ac_cv_member_krb5_error_e_text=no 21421 ac_cv_member_krb5_error_e_text=no
22099 fi 21422 fi
22100 21423
22101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22102 fi 21425 fi
22103 21426
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 fi 21428 fi
22106 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 21429 { echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5
22107 $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } 21430 echo "${ECHO_T}$ac_cv_member_krb5_error_e_text" >&6; }
22108 if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then 21431 if test $ac_cv_member_krb5_error_e_text = yes; then
22109 21432
22110 cat >>confdefs.h <<_ACEOF 21433 cat >>confdefs.h <<_ACEOF
22111 #define HAVE_KRB5_ERROR_E_TEXT 1 21434 #define HAVE_KRB5_ERROR_E_TEXT 1
22112 _ACEOF 21435 _ACEOF
22113 21436
22120 21443
22121 else 21444 else
22122 21445
22123 for ac_header in des.h 21446 for ac_header in des.h
22124 do 21447 do
22125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22127 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22128 $as_echo_n "checking for $ac_header... " >&6; } 21451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22129 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22130 $as_echo_n "(cached) " >&6 21453 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 fi 21454 fi
22132 ac_res=`eval 'as_val=${'$as_ac_Header'} 21455 ac_res=`eval echo '${'$as_ac_Header'}'`
22133 $as_echo "$as_val"'` 21456 { echo "$as_me:$LINENO: result: $ac_res" >&5
22134 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21457 echo "${ECHO_T}$ac_res" >&6; }
22135 $as_echo "$ac_res" >&6; }
22136 else 21458 else
22137 # Is the header compilable? 21459 # Is the header compilable?
22138 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21460 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22139 $as_echo_n "checking $ac_header usability... " >&6; } 21461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22140 cat >conftest.$ac_ext <<_ACEOF 21462 cat >conftest.$ac_ext <<_ACEOF
22141 /* confdefs.h. */ 21463 /* confdefs.h. */
22142 _ACEOF 21464 _ACEOF
22143 cat confdefs.h >>conftest.$ac_ext 21465 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF 21466 cat >>conftest.$ac_ext <<_ACEOF
22150 if { (ac_try="$ac_compile" 21472 if { (ac_try="$ac_compile"
22151 case "(($ac_try" in 21473 case "(($ac_try" in
22152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22153 *) ac_try_echo=$ac_try;; 21475 *) ac_try_echo=$ac_try;;
22154 esac 21476 esac
22155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22156 $as_echo "$ac_try_echo") >&5
22157 (eval "$ac_compile") 2>conftest.er1 21478 (eval "$ac_compile") 2>conftest.er1
22158 ac_status=$? 21479 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err 21480 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1 21481 rm -f conftest.er1
22161 cat conftest.err >&5 21482 cat conftest.err >&5
22162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } && { 21484 (exit $ac_status); } && {
22164 test -z "$ac_c_werror_flag" || 21485 test -z "$ac_c_werror_flag" ||
22165 test ! -s conftest.err 21486 test ! -s conftest.err
22166 } && test -s conftest.$ac_objext; then 21487 } && test -s conftest.$ac_objext; then
22167 ac_header_compiler=yes 21488 ac_header_compiler=yes
22168 else 21489 else
22169 $as_echo "$as_me: failed program was:" >&5 21490 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5 21491 sed 's/^/| /' conftest.$ac_ext >&5
22171 21492
22172 ac_header_compiler=no 21493 ac_header_compiler=no
22173 fi 21494 fi
22174 21495
22175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22176 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21497 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22177 $as_echo "$ac_header_compiler" >&6; } 21498 echo "${ECHO_T}$ac_header_compiler" >&6; }
22178 21499
22179 # Is the header present? 21500 # Is the header present?
22180 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21501 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22181 $as_echo_n "checking $ac_header presence... " >&6; } 21502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22182 cat >conftest.$ac_ext <<_ACEOF 21503 cat >conftest.$ac_ext <<_ACEOF
22183 /* confdefs.h. */ 21504 /* confdefs.h. */
22184 _ACEOF 21505 _ACEOF
22185 cat confdefs.h >>conftest.$ac_ext 21506 cat confdefs.h >>conftest.$ac_ext
22186 cat >>conftest.$ac_ext <<_ACEOF 21507 cat >>conftest.$ac_ext <<_ACEOF
22190 if { (ac_try="$ac_cpp conftest.$ac_ext" 21511 if { (ac_try="$ac_cpp conftest.$ac_ext"
22191 case "(($ac_try" in 21512 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;; 21514 *) ac_try_echo=$ac_try;;
22194 esac 21515 esac
22195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 $as_echo "$ac_try_echo") >&5
22197 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22198 ac_status=$? 21518 ac_status=$?
22199 grep -v '^ *+' conftest.er1 >conftest.err 21519 grep -v '^ *+' conftest.er1 >conftest.err
22200 rm -f conftest.er1 21520 rm -f conftest.er1
22201 cat conftest.err >&5 21521 cat conftest.err >&5
22202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } >/dev/null && { 21523 (exit $ac_status); } >/dev/null && {
22204 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22205 test ! -s conftest.err 21525 test ! -s conftest.err
22206 }; then 21526 }; then
22207 ac_header_preproc=yes 21527 ac_header_preproc=yes
22208 else 21528 else
22209 $as_echo "$as_me: failed program was:" >&5 21529 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.$ac_ext >&5 21530 sed 's/^/| /' conftest.$ac_ext >&5
22211 21531
22212 ac_header_preproc=no 21532 ac_header_preproc=no
22213 fi 21533 fi
22214 21534
22215 rm -f conftest.err conftest.$ac_ext 21535 rm -f conftest.err conftest.$ac_ext
22216 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21536 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22217 $as_echo "$ac_header_preproc" >&6; } 21537 echo "${ECHO_T}$ac_header_preproc" >&6; }
22218 21538
22219 # So? What about this header? 21539 # So? What about this header?
22220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22221 yes:no: ) 21541 yes:no: )
22222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22223 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22225 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22226 ac_header_preproc=yes 21546 ac_header_preproc=yes
22227 ;; 21547 ;;
22228 no:yes:* ) 21548 no:yes:* )
22229 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22230 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22232 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22233 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22234 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22236 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22238 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22240 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22241 21561
22242 ;; 21562 ;;
22243 esac 21563 esac
22244 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22245 $as_echo_n "checking for $ac_header... " >&6; } 21565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22247 $as_echo_n "(cached) " >&6 21567 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 else 21568 else
22249 eval "$as_ac_Header=\$ac_header_preproc" 21569 eval "$as_ac_Header=\$ac_header_preproc"
22250 fi 21570 fi
22251 ac_res=`eval 'as_val=${'$as_ac_Header'} 21571 ac_res=`eval echo '${'$as_ac_Header'}'`
22252 $as_echo "$as_val"'` 21572 { echo "$as_me:$LINENO: result: $ac_res" >&5
22253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21573 echo "${ECHO_T}$ac_res" >&6; }
22254 $as_echo "$ac_res" >&6; } 21574
22255 21575 fi
22256 fi 21576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22257 as_val=`eval 'as_val=${'$as_ac_Header'}
22258 $as_echo "$as_val"'`
22259 if test "x$as_val" = x""yes; then
22260 cat >>confdefs.h <<_ACEOF 21577 cat >>confdefs.h <<_ACEOF
22261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22262 _ACEOF 21579 _ACEOF
22263 21580
22264 else 21581 else
22265 21582
22266 for ac_header in kerberosIV/des.h 21583 for ac_header in kerberosIV/des.h
22267 do 21584 do
22268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22270 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21587 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22271 $as_echo_n "checking for $ac_header... " >&6; } 21588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22273 $as_echo_n "(cached) " >&6 21590 echo $ECHO_N "(cached) $ECHO_C" >&6
22274 fi 21591 fi
22275 ac_res=`eval 'as_val=${'$as_ac_Header'} 21592 ac_res=`eval echo '${'$as_ac_Header'}'`
22276 $as_echo "$as_val"'` 21593 { echo "$as_me:$LINENO: result: $ac_res" >&5
22277 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21594 echo "${ECHO_T}$ac_res" >&6; }
22278 $as_echo "$ac_res" >&6; }
22279 else 21595 else
22280 # Is the header compilable? 21596 # Is the header compilable?
22281 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21597 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22282 $as_echo_n "checking $ac_header usability... " >&6; } 21598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22283 cat >conftest.$ac_ext <<_ACEOF 21599 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */ 21600 /* confdefs.h. */
22285 _ACEOF 21601 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext 21602 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF 21603 cat >>conftest.$ac_ext <<_ACEOF
22293 if { (ac_try="$ac_compile" 21609 if { (ac_try="$ac_compile"
22294 case "(($ac_try" in 21610 case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;; 21612 *) ac_try_echo=$ac_try;;
22297 esac 21613 esac
22298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22299 $as_echo "$ac_try_echo") >&5
22300 (eval "$ac_compile") 2>conftest.er1 21615 (eval "$ac_compile") 2>conftest.er1
22301 ac_status=$? 21616 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err 21617 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1 21618 rm -f conftest.er1
22304 cat conftest.err >&5 21619 cat conftest.err >&5
22305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } && { 21621 (exit $ac_status); } && {
22307 test -z "$ac_c_werror_flag" || 21622 test -z "$ac_c_werror_flag" ||
22308 test ! -s conftest.err 21623 test ! -s conftest.err
22309 } && test -s conftest.$ac_objext; then 21624 } && test -s conftest.$ac_objext; then
22310 ac_header_compiler=yes 21625 ac_header_compiler=yes
22311 else 21626 else
22312 $as_echo "$as_me: failed program was:" >&5 21627 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.$ac_ext >&5 21628 sed 's/^/| /' conftest.$ac_ext >&5
22314 21629
22315 ac_header_compiler=no 21630 ac_header_compiler=no
22316 fi 21631 fi
22317 21632
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22320 $as_echo "$ac_header_compiler" >&6; } 21635 echo "${ECHO_T}$ac_header_compiler" >&6; }
22321 21636
22322 # Is the header present? 21637 # Is the header present?
22323 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21638 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22324 $as_echo_n "checking $ac_header presence... " >&6; } 21639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22325 cat >conftest.$ac_ext <<_ACEOF 21640 cat >conftest.$ac_ext <<_ACEOF
22326 /* confdefs.h. */ 21641 /* confdefs.h. */
22327 _ACEOF 21642 _ACEOF
22328 cat confdefs.h >>conftest.$ac_ext 21643 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF 21644 cat >>conftest.$ac_ext <<_ACEOF
22333 if { (ac_try="$ac_cpp conftest.$ac_ext" 21648 if { (ac_try="$ac_cpp conftest.$ac_ext"
22334 case "(($ac_try" in 21649 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;; 21651 *) ac_try_echo=$ac_try;;
22337 esac 21652 esac
22338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 $as_echo "$ac_try_echo") >&5
22340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22341 ac_status=$? 21655 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err 21656 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1 21657 rm -f conftest.er1
22344 cat conftest.err >&5 21658 cat conftest.err >&5
22345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } >/dev/null && { 21660 (exit $ac_status); } >/dev/null && {
22347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22348 test ! -s conftest.err 21662 test ! -s conftest.err
22349 }; then 21663 }; then
22350 ac_header_preproc=yes 21664 ac_header_preproc=yes
22351 else 21665 else
22352 $as_echo "$as_me: failed program was:" >&5 21666 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5 21667 sed 's/^/| /' conftest.$ac_ext >&5
22354 21668
22355 ac_header_preproc=no 21669 ac_header_preproc=no
22356 fi 21670 fi
22357 21671
22358 rm -f conftest.err conftest.$ac_ext 21672 rm -f conftest.err conftest.$ac_ext
22359 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22360 $as_echo "$ac_header_preproc" >&6; } 21674 echo "${ECHO_T}$ac_header_preproc" >&6; }
22361 21675
22362 # So? What about this header? 21676 # So? What about this header?
22363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22364 yes:no: ) 21678 yes:no: )
22365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22366 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22368 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22369 ac_header_preproc=yes 21683 ac_header_preproc=yes
22370 ;; 21684 ;;
22371 no:yes:* ) 21685 no:yes:* )
22372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22373 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22375 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22377 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22379 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22381 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22383 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22384 21698
22385 ;; 21699 ;;
22386 esac 21700 esac
22387 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21701 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22388 $as_echo_n "checking for $ac_header... " >&6; } 21702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22390 $as_echo_n "(cached) " >&6 21704 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 else 21705 else
22392 eval "$as_ac_Header=\$ac_header_preproc" 21706 eval "$as_ac_Header=\$ac_header_preproc"
22393 fi 21707 fi
22394 ac_res=`eval 'as_val=${'$as_ac_Header'} 21708 ac_res=`eval echo '${'$as_ac_Header'}'`
22395 $as_echo "$as_val"'` 21709 { echo "$as_me:$LINENO: result: $ac_res" >&5
22396 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21710 echo "${ECHO_T}$ac_res" >&6; }
22397 $as_echo "$ac_res" >&6; } 21711
22398 21712 fi
22399 fi 21713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22400 as_val=`eval 'as_val=${'$as_ac_Header'}
22401 $as_echo "$as_val"'`
22402 if test "x$as_val" = x""yes; then
22403 cat >>confdefs.h <<_ACEOF 21714 cat >>confdefs.h <<_ACEOF
22404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22405 _ACEOF 21716 _ACEOF
22406 21717
22407 else 21718 else
22408 21719
22409 for ac_header in kerberos/des.h 21720 for ac_header in kerberos/des.h
22410 do 21721 do
22411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22413 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22414 $as_echo_n "checking for $ac_header... " >&6; } 21725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22416 $as_echo_n "(cached) " >&6 21727 echo $ECHO_N "(cached) $ECHO_C" >&6
22417 fi 21728 fi
22418 ac_res=`eval 'as_val=${'$as_ac_Header'} 21729 ac_res=`eval echo '${'$as_ac_Header'}'`
22419 $as_echo "$as_val"'` 21730 { echo "$as_me:$LINENO: result: $ac_res" >&5
22420 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21731 echo "${ECHO_T}$ac_res" >&6; }
22421 $as_echo "$ac_res" >&6; }
22422 else 21732 else
22423 # Is the header compilable? 21733 # Is the header compilable?
22424 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21734 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22425 $as_echo_n "checking $ac_header usability... " >&6; } 21735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22426 cat >conftest.$ac_ext <<_ACEOF 21736 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */ 21737 /* confdefs.h. */
22428 _ACEOF 21738 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext 21739 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF 21740 cat >>conftest.$ac_ext <<_ACEOF
22436 if { (ac_try="$ac_compile" 21746 if { (ac_try="$ac_compile"
22437 case "(($ac_try" in 21747 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;; 21749 *) ac_try_echo=$ac_try;;
22440 esac 21750 esac
22441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 $as_echo "$ac_try_echo") >&5
22443 (eval "$ac_compile") 2>conftest.er1 21752 (eval "$ac_compile") 2>conftest.er1
22444 ac_status=$? 21753 ac_status=$?
22445 grep -v '^ *+' conftest.er1 >conftest.err 21754 grep -v '^ *+' conftest.er1 >conftest.err
22446 rm -f conftest.er1 21755 rm -f conftest.er1
22447 cat conftest.err >&5 21756 cat conftest.err >&5
22448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && { 21758 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" || 21759 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err 21760 test ! -s conftest.err
22452 } && test -s conftest.$ac_objext; then 21761 } && test -s conftest.$ac_objext; then
22453 ac_header_compiler=yes 21762 ac_header_compiler=yes
22454 else 21763 else
22455 $as_echo "$as_me: failed program was:" >&5 21764 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5 21765 sed 's/^/| /' conftest.$ac_ext >&5
22457 21766
22458 ac_header_compiler=no 21767 ac_header_compiler=no
22459 fi 21768 fi
22460 21769
22461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22462 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21771 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22463 $as_echo "$ac_header_compiler" >&6; } 21772 echo "${ECHO_T}$ac_header_compiler" >&6; }
22464 21773
22465 # Is the header present? 21774 # Is the header present?
22466 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21775 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22467 $as_echo_n "checking $ac_header presence... " >&6; } 21776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22468 cat >conftest.$ac_ext <<_ACEOF 21777 cat >conftest.$ac_ext <<_ACEOF
22469 /* confdefs.h. */ 21778 /* confdefs.h. */
22470 _ACEOF 21779 _ACEOF
22471 cat confdefs.h >>conftest.$ac_ext 21780 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF 21781 cat >>conftest.$ac_ext <<_ACEOF
22476 if { (ac_try="$ac_cpp conftest.$ac_ext" 21785 if { (ac_try="$ac_cpp conftest.$ac_ext"
22477 case "(($ac_try" in 21786 case "(($ac_try" in
22478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;; 21788 *) ac_try_echo=$ac_try;;
22480 esac 21789 esac
22481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 $as_echo "$ac_try_echo") >&5
22483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22484 ac_status=$? 21792 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err 21793 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1 21794 rm -f conftest.er1
22487 cat conftest.err >&5 21795 cat conftest.err >&5
22488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } >/dev/null && { 21797 (exit $ac_status); } >/dev/null && {
22490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22491 test ! -s conftest.err 21799 test ! -s conftest.err
22492 }; then 21800 }; then
22493 ac_header_preproc=yes 21801 ac_header_preproc=yes
22494 else 21802 else
22495 $as_echo "$as_me: failed program was:" >&5 21803 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5 21804 sed 's/^/| /' conftest.$ac_ext >&5
22497 21805
22498 ac_header_preproc=no 21806 ac_header_preproc=no
22499 fi 21807 fi
22500 21808
22501 rm -f conftest.err conftest.$ac_ext 21809 rm -f conftest.err conftest.$ac_ext
22502 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21810 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22503 $as_echo "$ac_header_preproc" >&6; } 21811 echo "${ECHO_T}$ac_header_preproc" >&6; }
22504 21812
22505 # So? What about this header? 21813 # So? What about this header?
22506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22507 yes:no: ) 21815 yes:no: )
22508 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22509 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22511 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22512 ac_header_preproc=yes 21820 ac_header_preproc=yes
22513 ;; 21821 ;;
22514 no:yes:* ) 21822 no:yes:* )
22515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22516 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22518 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22519 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22520 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22521 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22522 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22523 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22524 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22526 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22527 21835
22528 ;; 21836 ;;
22529 esac 21837 esac
22530 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21838 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22531 $as_echo_n "checking for $ac_header... " >&6; } 21839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22533 $as_echo_n "(cached) " >&6 21841 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 else 21842 else
22535 eval "$as_ac_Header=\$ac_header_preproc" 21843 eval "$as_ac_Header=\$ac_header_preproc"
22536 fi 21844 fi
22537 ac_res=`eval 'as_val=${'$as_ac_Header'} 21845 ac_res=`eval echo '${'$as_ac_Header'}'`
22538 $as_echo "$as_val"'` 21846 { echo "$as_me:$LINENO: result: $ac_res" >&5
22539 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21847 echo "${ECHO_T}$ac_res" >&6; }
22540 $as_echo "$ac_res" >&6; } 21848
22541 21849 fi
22542 fi 21850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22543 as_val=`eval 'as_val=${'$as_ac_Header'}
22544 $as_echo "$as_val"'`
22545 if test "x$as_val" = x""yes; then
22546 cat >>confdefs.h <<_ACEOF 21851 cat >>confdefs.h <<_ACEOF
22547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22548 _ACEOF 21853 _ACEOF
22549 21854
22550 fi 21855 fi
22551 21856
22552 done 21857 done
22560 done 21865 done
22561 21866
22562 21867
22563 for ac_header in krb.h 21868 for ac_header in krb.h
22564 do 21869 do
22565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22567 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22568 $as_echo_n "checking for $ac_header... " >&6; } 21873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22570 $as_echo_n "(cached) " >&6 21875 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 fi 21876 fi
22572 ac_res=`eval 'as_val=${'$as_ac_Header'} 21877 ac_res=`eval echo '${'$as_ac_Header'}'`
22573 $as_echo "$as_val"'` 21878 { echo "$as_me:$LINENO: result: $ac_res" >&5
22574 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21879 echo "${ECHO_T}$ac_res" >&6; }
22575 $as_echo "$ac_res" >&6; }
22576 else 21880 else
22577 # Is the header compilable? 21881 # Is the header compilable?
22578 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 21882 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22579 $as_echo_n "checking $ac_header usability... " >&6; } 21883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22580 cat >conftest.$ac_ext <<_ACEOF 21884 cat >conftest.$ac_ext <<_ACEOF
22581 /* confdefs.h. */ 21885 /* confdefs.h. */
22582 _ACEOF 21886 _ACEOF
22583 cat confdefs.h >>conftest.$ac_ext 21887 cat confdefs.h >>conftest.$ac_ext
22584 cat >>conftest.$ac_ext <<_ACEOF 21888 cat >>conftest.$ac_ext <<_ACEOF
22590 if { (ac_try="$ac_compile" 21894 if { (ac_try="$ac_compile"
22591 case "(($ac_try" in 21895 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;; 21897 *) ac_try_echo=$ac_try;;
22594 esac 21898 esac
22595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 $as_echo "$ac_try_echo") >&5
22597 (eval "$ac_compile") 2>conftest.er1 21900 (eval "$ac_compile") 2>conftest.er1
22598 ac_status=$? 21901 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err 21902 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1 21903 rm -f conftest.er1
22601 cat conftest.err >&5 21904 cat conftest.err >&5
22602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && { 21906 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" || 21907 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err 21908 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then 21909 } && test -s conftest.$ac_objext; then
22607 ac_header_compiler=yes 21910 ac_header_compiler=yes
22608 else 21911 else
22609 $as_echo "$as_me: failed program was:" >&5 21912 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5 21913 sed 's/^/| /' conftest.$ac_ext >&5
22611 21914
22612 ac_header_compiler=no 21915 ac_header_compiler=no
22613 fi 21916 fi
22614 21917
22615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 21919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22617 $as_echo "$ac_header_compiler" >&6; } 21920 echo "${ECHO_T}$ac_header_compiler" >&6; }
22618 21921
22619 # Is the header present? 21922 # Is the header present?
22620 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 21923 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22621 $as_echo_n "checking $ac_header presence... " >&6; } 21924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22622 cat >conftest.$ac_ext <<_ACEOF 21925 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */ 21926 /* confdefs.h. */
22624 _ACEOF 21927 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext 21928 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF 21929 cat >>conftest.$ac_ext <<_ACEOF
22630 if { (ac_try="$ac_cpp conftest.$ac_ext" 21933 if { (ac_try="$ac_cpp conftest.$ac_ext"
22631 case "(($ac_try" in 21934 case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;; 21936 *) ac_try_echo=$ac_try;;
22634 esac 21937 esac
22635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 $as_echo "$ac_try_echo") >&5
22637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22638 ac_status=$? 21940 ac_status=$?
22639 grep -v '^ *+' conftest.er1 >conftest.err 21941 grep -v '^ *+' conftest.er1 >conftest.err
22640 rm -f conftest.er1 21942 rm -f conftest.er1
22641 cat conftest.err >&5 21943 cat conftest.err >&5
22642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } >/dev/null && { 21945 (exit $ac_status); } >/dev/null && {
22644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22645 test ! -s conftest.err 21947 test ! -s conftest.err
22646 }; then 21948 }; then
22647 ac_header_preproc=yes 21949 ac_header_preproc=yes
22648 else 21950 else
22649 $as_echo "$as_me: failed program was:" >&5 21951 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.$ac_ext >&5 21952 sed 's/^/| /' conftest.$ac_ext >&5
22651 21953
22652 ac_header_preproc=no 21954 ac_header_preproc=no
22653 fi 21955 fi
22654 21956
22655 rm -f conftest.err conftest.$ac_ext 21957 rm -f conftest.err conftest.$ac_ext
22656 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 21958 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22657 $as_echo "$ac_header_preproc" >&6; } 21959 echo "${ECHO_T}$ac_header_preproc" >&6; }
22658 21960
22659 # So? What about this header? 21961 # So? What about this header?
22660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 21962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22661 yes:no: ) 21963 yes:no: )
22662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 21964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22663 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 21965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22664 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 21966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22665 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 21967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22666 ac_header_preproc=yes 21968 ac_header_preproc=yes
22667 ;; 21969 ;;
22668 no:yes:* ) 21970 no:yes:* )
22669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 21971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22670 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 21972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22671 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 21973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22672 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 21974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 21975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22674 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 21976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 21977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22676 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 21978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 21979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22678 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 21980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 21981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22680 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22681 21983
22682 ;; 21984 ;;
22683 esac 21985 esac
22684 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 21986 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22685 $as_echo_n "checking for $ac_header... " >&6; } 21987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22687 $as_echo_n "(cached) " >&6 21989 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 else 21990 else
22689 eval "$as_ac_Header=\$ac_header_preproc" 21991 eval "$as_ac_Header=\$ac_header_preproc"
22690 fi 21992 fi
22691 ac_res=`eval 'as_val=${'$as_ac_Header'} 21993 ac_res=`eval echo '${'$as_ac_Header'}'`
22692 $as_echo "$as_val"'` 21994 { echo "$as_me:$LINENO: result: $ac_res" >&5
22693 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21995 echo "${ECHO_T}$ac_res" >&6; }
22694 $as_echo "$ac_res" >&6; } 21996
22695 21997 fi
22696 fi 21998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22697 as_val=`eval 'as_val=${'$as_ac_Header'}
22698 $as_echo "$as_val"'`
22699 if test "x$as_val" = x""yes; then
22700 cat >>confdefs.h <<_ACEOF 21999 cat >>confdefs.h <<_ACEOF
22701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22702 _ACEOF 22001 _ACEOF
22703 22002
22704 else 22003 else
22705 22004
22706 for ac_header in kerberosIV/krb.h 22005 for ac_header in kerberosIV/krb.h
22707 do 22006 do
22708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22710 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22711 $as_echo_n "checking for $ac_header... " >&6; } 22010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22713 $as_echo_n "(cached) " >&6 22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22714 fi 22013 fi
22715 ac_res=`eval 'as_val=${'$as_ac_Header'} 22014 ac_res=`eval echo '${'$as_ac_Header'}'`
22716 $as_echo "$as_val"'` 22015 { echo "$as_me:$LINENO: result: $ac_res" >&5
22717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22016 echo "${ECHO_T}$ac_res" >&6; }
22718 $as_echo "$ac_res" >&6; }
22719 else 22017 else
22720 # Is the header compilable? 22018 # Is the header compilable?
22721 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22019 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22722 $as_echo_n "checking $ac_header usability... " >&6; } 22020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22723 cat >conftest.$ac_ext <<_ACEOF 22021 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */ 22022 /* confdefs.h. */
22725 _ACEOF 22023 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext 22024 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF 22025 cat >>conftest.$ac_ext <<_ACEOF
22733 if { (ac_try="$ac_compile" 22031 if { (ac_try="$ac_compile"
22734 case "(($ac_try" in 22032 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;; 22034 *) ac_try_echo=$ac_try;;
22737 esac 22035 esac
22738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 $as_echo "$ac_try_echo") >&5
22740 (eval "$ac_compile") 2>conftest.er1 22037 (eval "$ac_compile") 2>conftest.er1
22741 ac_status=$? 22038 ac_status=$?
22742 grep -v '^ *+' conftest.er1 >conftest.err 22039 grep -v '^ *+' conftest.er1 >conftest.err
22743 rm -f conftest.er1 22040 rm -f conftest.er1
22744 cat conftest.err >&5 22041 cat conftest.err >&5
22745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } && { 22043 (exit $ac_status); } && {
22747 test -z "$ac_c_werror_flag" || 22044 test -z "$ac_c_werror_flag" ||
22748 test ! -s conftest.err 22045 test ! -s conftest.err
22749 } && test -s conftest.$ac_objext; then 22046 } && test -s conftest.$ac_objext; then
22750 ac_header_compiler=yes 22047 ac_header_compiler=yes
22751 else 22048 else
22752 $as_echo "$as_me: failed program was:" >&5 22049 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5 22050 sed 's/^/| /' conftest.$ac_ext >&5
22754 22051
22755 ac_header_compiler=no 22052 ac_header_compiler=no
22756 fi 22053 fi
22757 22054
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22760 $as_echo "$ac_header_compiler" >&6; } 22057 echo "${ECHO_T}$ac_header_compiler" >&6; }
22761 22058
22762 # Is the header present? 22059 # Is the header present?
22763 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22060 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22764 $as_echo_n "checking $ac_header presence... " >&6; } 22061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22765 cat >conftest.$ac_ext <<_ACEOF 22062 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */ 22063 /* confdefs.h. */
22767 _ACEOF 22064 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext 22065 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF 22066 cat >>conftest.$ac_ext <<_ACEOF
22773 if { (ac_try="$ac_cpp conftest.$ac_ext" 22070 if { (ac_try="$ac_cpp conftest.$ac_ext"
22774 case "(($ac_try" in 22071 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;; 22073 *) ac_try_echo=$ac_try;;
22777 esac 22074 esac
22778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 $as_echo "$ac_try_echo") >&5
22780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22781 ac_status=$? 22077 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err 22078 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1 22079 rm -f conftest.er1
22784 cat conftest.err >&5 22080 cat conftest.err >&5
22785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } >/dev/null && { 22082 (exit $ac_status); } >/dev/null && {
22787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22788 test ! -s conftest.err 22084 test ! -s conftest.err
22789 }; then 22085 }; then
22790 ac_header_preproc=yes 22086 ac_header_preproc=yes
22791 else 22087 else
22792 $as_echo "$as_me: failed program was:" >&5 22088 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5 22089 sed 's/^/| /' conftest.$ac_ext >&5
22794 22090
22795 ac_header_preproc=no 22091 ac_header_preproc=no
22796 fi 22092 fi
22797 22093
22798 rm -f conftest.err conftest.$ac_ext 22094 rm -f conftest.err conftest.$ac_ext
22799 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22800 $as_echo "$ac_header_preproc" >&6; } 22096 echo "${ECHO_T}$ac_header_preproc" >&6; }
22801 22097
22802 # So? What about this header? 22098 # So? What about this header?
22803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22804 yes:no: ) 22100 yes:no: )
22805 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22806 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22808 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22809 ac_header_preproc=yes 22105 ac_header_preproc=yes
22810 ;; 22106 ;;
22811 no:yes:* ) 22107 no:yes:* )
22812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22813 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22815 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22816 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22817 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22819 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22821 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22823 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22824 22120
22825 ;; 22121 ;;
22826 esac 22122 esac
22827 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22828 $as_echo_n "checking for $ac_header... " >&6; } 22124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22830 $as_echo_n "(cached) " >&6 22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 else 22127 else
22832 eval "$as_ac_Header=\$ac_header_preproc" 22128 eval "$as_ac_Header=\$ac_header_preproc"
22833 fi 22129 fi
22834 ac_res=`eval 'as_val=${'$as_ac_Header'} 22130 ac_res=`eval echo '${'$as_ac_Header'}'`
22835 $as_echo "$as_val"'` 22131 { echo "$as_me:$LINENO: result: $ac_res" >&5
22836 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22132 echo "${ECHO_T}$ac_res" >&6; }
22837 $as_echo "$ac_res" >&6; } 22133
22838 22134 fi
22839 fi 22135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22840 as_val=`eval 'as_val=${'$as_ac_Header'}
22841 $as_echo "$as_val"'`
22842 if test "x$as_val" = x""yes; then
22843 cat >>confdefs.h <<_ACEOF 22136 cat >>confdefs.h <<_ACEOF
22844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22845 _ACEOF 22138 _ACEOF
22846 22139
22847 else 22140 else
22848 22141
22849 for ac_header in kerberos/krb.h 22142 for ac_header in kerberos/krb.h
22850 do 22143 do
22851 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22853 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22854 $as_echo_n "checking for $ac_header... " >&6; } 22147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22856 $as_echo_n "(cached) " >&6 22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 fi 22150 fi
22858 ac_res=`eval 'as_val=${'$as_ac_Header'} 22151 ac_res=`eval echo '${'$as_ac_Header'}'`
22859 $as_echo "$as_val"'` 22152 { echo "$as_me:$LINENO: result: $ac_res" >&5
22860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22153 echo "${ECHO_T}$ac_res" >&6; }
22861 $as_echo "$ac_res" >&6; }
22862 else 22154 else
22863 # Is the header compilable? 22155 # Is the header compilable?
22864 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22156 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22865 $as_echo_n "checking $ac_header usability... " >&6; } 22157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22866 cat >conftest.$ac_ext <<_ACEOF 22158 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h. */ 22159 /* confdefs.h. */
22868 _ACEOF 22160 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext 22161 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF 22162 cat >>conftest.$ac_ext <<_ACEOF
22876 if { (ac_try="$ac_compile" 22168 if { (ac_try="$ac_compile"
22877 case "(($ac_try" in 22169 case "(($ac_try" in
22878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22879 *) ac_try_echo=$ac_try;; 22171 *) ac_try_echo=$ac_try;;
22880 esac 22172 esac
22881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22882 $as_echo "$ac_try_echo") >&5
22883 (eval "$ac_compile") 2>conftest.er1 22174 (eval "$ac_compile") 2>conftest.er1
22884 ac_status=$? 22175 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err 22176 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1 22177 rm -f conftest.er1
22887 cat conftest.err >&5 22178 cat conftest.err >&5
22888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } && { 22180 (exit $ac_status); } && {
22890 test -z "$ac_c_werror_flag" || 22181 test -z "$ac_c_werror_flag" ||
22891 test ! -s conftest.err 22182 test ! -s conftest.err
22892 } && test -s conftest.$ac_objext; then 22183 } && test -s conftest.$ac_objext; then
22893 ac_header_compiler=yes 22184 ac_header_compiler=yes
22894 else 22185 else
22895 $as_echo "$as_me: failed program was:" >&5 22186 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5 22187 sed 's/^/| /' conftest.$ac_ext >&5
22897 22188
22898 ac_header_compiler=no 22189 ac_header_compiler=no
22899 fi 22190 fi
22900 22191
22901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22902 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22903 $as_echo "$ac_header_compiler" >&6; } 22194 echo "${ECHO_T}$ac_header_compiler" >&6; }
22904 22195
22905 # Is the header present? 22196 # Is the header present?
22906 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22197 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22907 $as_echo_n "checking $ac_header presence... " >&6; } 22198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22908 cat >conftest.$ac_ext <<_ACEOF 22199 cat >conftest.$ac_ext <<_ACEOF
22909 /* confdefs.h. */ 22200 /* confdefs.h. */
22910 _ACEOF 22201 _ACEOF
22911 cat confdefs.h >>conftest.$ac_ext 22202 cat confdefs.h >>conftest.$ac_ext
22912 cat >>conftest.$ac_ext <<_ACEOF 22203 cat >>conftest.$ac_ext <<_ACEOF
22916 if { (ac_try="$ac_cpp conftest.$ac_ext" 22207 if { (ac_try="$ac_cpp conftest.$ac_ext"
22917 case "(($ac_try" in 22208 case "(($ac_try" in
22918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22919 *) ac_try_echo=$ac_try;; 22210 *) ac_try_echo=$ac_try;;
22920 esac 22211 esac
22921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22922 $as_echo "$ac_try_echo") >&5
22923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22924 ac_status=$? 22214 ac_status=$?
22925 grep -v '^ *+' conftest.er1 >conftest.err 22215 grep -v '^ *+' conftest.er1 >conftest.err
22926 rm -f conftest.er1 22216 rm -f conftest.er1
22927 cat conftest.err >&5 22217 cat conftest.err >&5
22928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } >/dev/null && { 22219 (exit $ac_status); } >/dev/null && {
22930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22931 test ! -s conftest.err 22221 test ! -s conftest.err
22932 }; then 22222 }; then
22933 ac_header_preproc=yes 22223 ac_header_preproc=yes
22934 else 22224 else
22935 $as_echo "$as_me: failed program was:" >&5 22225 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5 22226 sed 's/^/| /' conftest.$ac_ext >&5
22937 22227
22938 ac_header_preproc=no 22228 ac_header_preproc=no
22939 fi 22229 fi
22940 22230
22941 rm -f conftest.err conftest.$ac_ext 22231 rm -f conftest.err conftest.$ac_ext
22942 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22943 $as_echo "$ac_header_preproc" >&6; } 22233 echo "${ECHO_T}$ac_header_preproc" >&6; }
22944 22234
22945 # So? What about this header? 22235 # So? What about this header?
22946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22947 yes:no: ) 22237 yes:no: )
22948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22949 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22951 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22952 ac_header_preproc=yes 22242 ac_header_preproc=yes
22953 ;; 22243 ;;
22954 no:yes:* ) 22244 no:yes:* )
22955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22956 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22958 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22960 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22962 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22964 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22966 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22967 22257
22968 ;; 22258 ;;
22969 esac 22259 esac
22970 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22971 $as_echo_n "checking for $ac_header... " >&6; } 22261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22973 $as_echo_n "(cached) " >&6 22263 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 else 22264 else
22975 eval "$as_ac_Header=\$ac_header_preproc" 22265 eval "$as_ac_Header=\$ac_header_preproc"
22976 fi 22266 fi
22977 ac_res=`eval 'as_val=${'$as_ac_Header'} 22267 ac_res=`eval echo '${'$as_ac_Header'}'`
22978 $as_echo "$as_val"'` 22268 { echo "$as_me:$LINENO: result: $ac_res" >&5
22979 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22269 echo "${ECHO_T}$ac_res" >&6; }
22980 $as_echo "$ac_res" >&6; } 22270
22981 22271 fi
22982 fi 22272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22983 as_val=`eval 'as_val=${'$as_ac_Header'}
22984 $as_echo "$as_val"'`
22985 if test "x$as_val" = x""yes; then
22986 cat >>confdefs.h <<_ACEOF 22273 cat >>confdefs.h <<_ACEOF
22987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22988 _ACEOF 22275 _ACEOF
22989 22276
22990 fi 22277 fi
22991 22278
22992 done 22279 done
23001 22288
23002 fi 22289 fi
23003 22290
23004 for ac_header in com_err.h 22291 for ac_header in com_err.h
23005 do 22292 do
23006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23008 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22295 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23009 $as_echo_n "checking for $ac_header... " >&6; } 22296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23011 $as_echo_n "(cached) " >&6 22298 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 fi 22299 fi
23013 ac_res=`eval 'as_val=${'$as_ac_Header'} 22300 ac_res=`eval echo '${'$as_ac_Header'}'`
23014 $as_echo "$as_val"'` 22301 { echo "$as_me:$LINENO: result: $ac_res" >&5
23015 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22302 echo "${ECHO_T}$ac_res" >&6; }
23016 $as_echo "$ac_res" >&6; }
23017 else 22303 else
23018 # Is the header compilable? 22304 # Is the header compilable?
23019 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22305 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23020 $as_echo_n "checking $ac_header usability... " >&6; } 22306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23021 cat >conftest.$ac_ext <<_ACEOF 22307 cat >conftest.$ac_ext <<_ACEOF
23022 /* confdefs.h. */ 22308 /* confdefs.h. */
23023 _ACEOF 22309 _ACEOF
23024 cat confdefs.h >>conftest.$ac_ext 22310 cat confdefs.h >>conftest.$ac_ext
23025 cat >>conftest.$ac_ext <<_ACEOF 22311 cat >>conftest.$ac_ext <<_ACEOF
23031 if { (ac_try="$ac_compile" 22317 if { (ac_try="$ac_compile"
23032 case "(($ac_try" in 22318 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;; 22320 *) ac_try_echo=$ac_try;;
23035 esac 22321 esac
23036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 $as_echo "$ac_try_echo") >&5
23038 (eval "$ac_compile") 2>conftest.er1 22323 (eval "$ac_compile") 2>conftest.er1
23039 ac_status=$? 22324 ac_status=$?
23040 grep -v '^ *+' conftest.er1 >conftest.err 22325 grep -v '^ *+' conftest.er1 >conftest.err
23041 rm -f conftest.er1 22326 rm -f conftest.er1
23042 cat conftest.err >&5 22327 cat conftest.err >&5
23043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } && { 22329 (exit $ac_status); } && {
23045 test -z "$ac_c_werror_flag" || 22330 test -z "$ac_c_werror_flag" ||
23046 test ! -s conftest.err 22331 test ! -s conftest.err
23047 } && test -s conftest.$ac_objext; then 22332 } && test -s conftest.$ac_objext; then
23048 ac_header_compiler=yes 22333 ac_header_compiler=yes
23049 else 22334 else
23050 $as_echo "$as_me: failed program was:" >&5 22335 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5 22336 sed 's/^/| /' conftest.$ac_ext >&5
23052 22337
23053 ac_header_compiler=no 22338 ac_header_compiler=no
23054 fi 22339 fi
23055 22340
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23057 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22342 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23058 $as_echo "$ac_header_compiler" >&6; } 22343 echo "${ECHO_T}$ac_header_compiler" >&6; }
23059 22344
23060 # Is the header present? 22345 # Is the header present?
23061 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22346 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23062 $as_echo_n "checking $ac_header presence... " >&6; } 22347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23063 cat >conftest.$ac_ext <<_ACEOF 22348 cat >conftest.$ac_ext <<_ACEOF
23064 /* confdefs.h. */ 22349 /* confdefs.h. */
23065 _ACEOF 22350 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext 22351 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF 22352 cat >>conftest.$ac_ext <<_ACEOF
23071 if { (ac_try="$ac_cpp conftest.$ac_ext" 22356 if { (ac_try="$ac_cpp conftest.$ac_ext"
23072 case "(($ac_try" in 22357 case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;; 22359 *) ac_try_echo=$ac_try;;
23075 esac 22360 esac
23076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 $as_echo "$ac_try_echo") >&5
23078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23079 ac_status=$? 22363 ac_status=$?
23080 grep -v '^ *+' conftest.er1 >conftest.err 22364 grep -v '^ *+' conftest.er1 >conftest.err
23081 rm -f conftest.er1 22365 rm -f conftest.er1
23082 cat conftest.err >&5 22366 cat conftest.err >&5
23083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } >/dev/null && { 22368 (exit $ac_status); } >/dev/null && {
23085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23086 test ! -s conftest.err 22370 test ! -s conftest.err
23087 }; then 22371 }; then
23088 ac_header_preproc=yes 22372 ac_header_preproc=yes
23089 else 22373 else
23090 $as_echo "$as_me: failed program was:" >&5 22374 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5 22375 sed 's/^/| /' conftest.$ac_ext >&5
23092 22376
23093 ac_header_preproc=no 22377 ac_header_preproc=no
23094 fi 22378 fi
23095 22379
23096 rm -f conftest.err conftest.$ac_ext 22380 rm -f conftest.err conftest.$ac_ext
23097 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22381 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23098 $as_echo "$ac_header_preproc" >&6; } 22382 echo "${ECHO_T}$ac_header_preproc" >&6; }
23099 22383
23100 # So? What about this header? 22384 # So? What about this header?
23101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23102 yes:no: ) 22386 yes:no: )
23103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23104 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23106 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23107 ac_header_preproc=yes 22391 ac_header_preproc=yes
23108 ;; 22392 ;;
23109 no:yes:* ) 22393 no:yes:* )
23110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23111 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23113 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23115 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23117 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23119 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23121 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23122 22406
23123 ;; 22407 ;;
23124 esac 22408 esac
23125 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22409 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23126 $as_echo_n "checking for $ac_header... " >&6; } 22410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23128 $as_echo_n "(cached) " >&6 22412 echo $ECHO_N "(cached) $ECHO_C" >&6
23129 else 22413 else
23130 eval "$as_ac_Header=\$ac_header_preproc" 22414 eval "$as_ac_Header=\$ac_header_preproc"
23131 fi 22415 fi
23132 ac_res=`eval 'as_val=${'$as_ac_Header'} 22416 ac_res=`eval echo '${'$as_ac_Header'}'`
23133 $as_echo "$as_val"'` 22417 { echo "$as_me:$LINENO: result: $ac_res" >&5
23134 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22418 echo "${ECHO_T}$ac_res" >&6; }
23135 $as_echo "$ac_res" >&6; } 22419
23136 22420 fi
23137 fi 22421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23138 as_val=`eval 'as_val=${'$as_ac_Header'}
23139 $as_echo "$as_val"'`
23140 if test "x$as_val" = x""yes; then
23141 cat >>confdefs.h <<_ACEOF 22422 cat >>confdefs.h <<_ACEOF
23142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23143 _ACEOF 22424 _ACEOF
23144 22425
23145 fi 22426 fi
23146 22427
23147 done 22428 done
23149 fi 22430 fi
23150 22431
23151 # Solaris requires -lintl if you want strerror (which calls dgettext) 22432 # Solaris requires -lintl if you want strerror (which calls dgettext)
23152 # to return localized messages. 22433 # to return localized messages.
23153 22434
23154 { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 22435 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
23155 $as_echo_n "checking for dgettext in -lintl... " >&6; } 22436 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
23156 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 22437 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
23157 $as_echo_n "(cached) " >&6 22438 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 else 22439 else
23159 ac_check_lib_save_LIBS=$LIBS 22440 ac_check_lib_save_LIBS=$LIBS
23160 LIBS="-lintl $LIBS" 22441 LIBS="-lintl $LIBS"
23161 cat >conftest.$ac_ext <<_ACEOF 22442 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */ 22443 /* confdefs.h. */
23184 if { (ac_try="$ac_link" 22465 if { (ac_try="$ac_link"
23185 case "(($ac_try" in 22466 case "(($ac_try" in
23186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23187 *) ac_try_echo=$ac_try;; 22468 *) ac_try_echo=$ac_try;;
23188 esac 22469 esac
23189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23190 $as_echo "$ac_try_echo") >&5
23191 (eval "$ac_link") 2>conftest.er1 22471 (eval "$ac_link") 2>conftest.er1
23192 ac_status=$? 22472 ac_status=$?
23193 grep -v '^ *+' conftest.er1 >conftest.err 22473 grep -v '^ *+' conftest.er1 >conftest.err
23194 rm -f conftest.er1 22474 rm -f conftest.er1
23195 cat conftest.err >&5 22475 cat conftest.err >&5
23196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } && { 22477 (exit $ac_status); } && {
23198 test -z "$ac_c_werror_flag" || 22478 test -z "$ac_c_werror_flag" ||
23199 test ! -s conftest.err 22479 test ! -s conftest.err
23200 } && test -s conftest$ac_exeext && { 22480 } && test -s conftest$ac_exeext &&
23201 test "$cross_compiling" = yes || 22481 $as_test_x conftest$ac_exeext; then
23202 $as_test_x conftest$ac_exeext
23203 }; then
23204 ac_cv_lib_intl_dgettext=yes 22482 ac_cv_lib_intl_dgettext=yes
23205 else 22483 else
23206 $as_echo "$as_me: failed program was:" >&5 22484 echo "$as_me: failed program was:" >&5
23207 sed 's/^/| /' conftest.$ac_ext >&5 22485 sed 's/^/| /' conftest.$ac_ext >&5
23208 22486
23209 ac_cv_lib_intl_dgettext=no 22487 ac_cv_lib_intl_dgettext=no
23210 fi 22488 fi
23211 22489
23212 rm -rf conftest.dSYM
23213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23214 conftest$ac_exeext conftest.$ac_ext 22491 conftest$ac_exeext conftest.$ac_ext
23215 LIBS=$ac_check_lib_save_LIBS 22492 LIBS=$ac_check_lib_save_LIBS
23216 fi 22493 fi
23217 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 22494 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
23218 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } 22495 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
23219 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then 22496 if test $ac_cv_lib_intl_dgettext = yes; then
23220 cat >>confdefs.h <<_ACEOF 22497 cat >>confdefs.h <<_ACEOF
23221 #define HAVE_LIBINTL 1 22498 #define HAVE_LIBINTL 1
23222 _ACEOF 22499 _ACEOF
23223 22500
23224 LIBS="-lintl $LIBS" 22501 LIBS="-lintl $LIBS"
23225 22502
23226 fi 22503 fi
23227 22504
23228 22505
23229 { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 22506 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5
23230 $as_echo_n "checking whether localtime caches TZ... " >&6; } 22507 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; }
23231 if test "${emacs_cv_localtime_cache+set}" = set; then 22508 if test "${emacs_cv_localtime_cache+set}" = set; then
23232 $as_echo_n "(cached) " >&6 22509 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 else 22510 else
23234 if test x$ac_cv_func_tzset = xyes; then 22511 if test x$ac_cv_func_tzset = xyes; then
23235 if test "$cross_compiling" = yes; then 22512 if test "$cross_compiling" = yes; then
23236 # If we have tzset, assume the worst when cross-compiling. 22513 # If we have tzset, assume the worst when cross-compiling.
23237 emacs_cv_localtime_cache=yes 22514 emacs_cv_localtime_cache=yes
23276 if { (ac_try="$ac_link" 22553 if { (ac_try="$ac_link"
23277 case "(($ac_try" in 22554 case "(($ac_try" in
23278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23279 *) ac_try_echo=$ac_try;; 22556 *) ac_try_echo=$ac_try;;
23280 esac 22557 esac
23281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23282 $as_echo "$ac_try_echo") >&5
23283 (eval "$ac_link") 2>&5 22559 (eval "$ac_link") 2>&5
23284 ac_status=$? 22560 ac_status=$?
23285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 22562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23287 { (case "(($ac_try" in 22563 { (case "(($ac_try" in
23288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23289 *) ac_try_echo=$ac_try;; 22565 *) ac_try_echo=$ac_try;;
23290 esac 22566 esac
23291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23292 $as_echo "$ac_try_echo") >&5
23293 (eval "$ac_try") 2>&5 22568 (eval "$ac_try") 2>&5
23294 ac_status=$? 22569 ac_status=$?
23295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; }; then 22571 (exit $ac_status); }; }; then
23297 emacs_cv_localtime_cache=no 22572 emacs_cv_localtime_cache=no
23298 else 22573 else
23299 $as_echo "$as_me: program exited with status $ac_status" >&5 22574 echo "$as_me: program exited with status $ac_status" >&5
23300 $as_echo "$as_me: failed program was:" >&5 22575 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5 22576 sed 's/^/| /' conftest.$ac_ext >&5
23302 22577
23303 ( exit $ac_status ) 22578 ( exit $ac_status )
23304 emacs_cv_localtime_cache=yes 22579 emacs_cv_localtime_cache=yes
23305 fi 22580 fi
23306 rm -rf conftest.dSYM
23307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 22581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23308 fi 22582 fi
23309 22583
23310 22584
23311 else 22585 else
23312 # If we lack tzset, report that localtime does not cache TZ, 22586 # If we lack tzset, report that localtime does not cache TZ,
23313 # since we can't invalidate the cache if we don't have tzset. 22587 # since we can't invalidate the cache if we don't have tzset.
23314 emacs_cv_localtime_cache=no 22588 emacs_cv_localtime_cache=no
23315 fi 22589 fi
23316 fi 22590 fi
23317 { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 22591 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
23318 $as_echo "$emacs_cv_localtime_cache" >&6; } 22592 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; }
23319 if test $emacs_cv_localtime_cache = yes; then 22593 if test $emacs_cv_localtime_cache = yes; then
23320 22594
23321 cat >>confdefs.h <<\_ACEOF 22595 cat >>confdefs.h <<\_ACEOF
23322 #define LOCALTIME_CACHE 1 22596 #define LOCALTIME_CACHE 1
23323 _ACEOF 22597 _ACEOF
23326 22600
23327 if test "x$HAVE_TIMEVAL" = xyes; then 22601 if test "x$HAVE_TIMEVAL" = xyes; then
23328 22602
23329 for ac_func in gettimeofday 22603 for ac_func in gettimeofday
23330 do 22604 do
23331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 22605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23332 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 22606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23333 $as_echo_n "checking for $ac_func... " >&6; } 22607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23334 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 22608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23335 $as_echo_n "(cached) " >&6 22609 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else 22610 else
23337 cat >conftest.$ac_ext <<_ACEOF 22611 cat >conftest.$ac_ext <<_ACEOF
23338 /* confdefs.h. */ 22612 /* confdefs.h. */
23339 _ACEOF 22613 _ACEOF
23340 cat confdefs.h >>conftest.$ac_ext 22614 cat confdefs.h >>conftest.$ac_ext
23383 if { (ac_try="$ac_link" 22657 if { (ac_try="$ac_link"
23384 case "(($ac_try" in 22658 case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23386 *) ac_try_echo=$ac_try;; 22660 *) ac_try_echo=$ac_try;;
23387 esac 22661 esac
23388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23389 $as_echo "$ac_try_echo") >&5
23390 (eval "$ac_link") 2>conftest.er1 22663 (eval "$ac_link") 2>conftest.er1
23391 ac_status=$? 22664 ac_status=$?
23392 grep -v '^ *+' conftest.er1 >conftest.err 22665 grep -v '^ *+' conftest.er1 >conftest.err
23393 rm -f conftest.er1 22666 rm -f conftest.er1
23394 cat conftest.err >&5 22667 cat conftest.err >&5
23395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); } && { 22669 (exit $ac_status); } && {
23397 test -z "$ac_c_werror_flag" || 22670 test -z "$ac_c_werror_flag" ||
23398 test ! -s conftest.err 22671 test ! -s conftest.err
23399 } && test -s conftest$ac_exeext && { 22672 } && test -s conftest$ac_exeext &&
23400 test "$cross_compiling" = yes || 22673 $as_test_x conftest$ac_exeext; then
23401 $as_test_x conftest$ac_exeext
23402 }; then
23403 eval "$as_ac_var=yes" 22674 eval "$as_ac_var=yes"
23404 else 22675 else
23405 $as_echo "$as_me: failed program was:" >&5 22676 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5 22677 sed 's/^/| /' conftest.$ac_ext >&5
23407 22678
23408 eval "$as_ac_var=no" 22679 eval "$as_ac_var=no"
23409 fi 22680 fi
23410 22681
23411 rm -rf conftest.dSYM
23412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23413 conftest$ac_exeext conftest.$ac_ext 22683 conftest$ac_exeext conftest.$ac_ext
23414 fi 22684 fi
23415 ac_res=`eval 'as_val=${'$as_ac_var'} 22685 ac_res=`eval echo '${'$as_ac_var'}'`
23416 $as_echo "$as_val"'` 22686 { echo "$as_me:$LINENO: result: $ac_res" >&5
23417 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22687 echo "${ECHO_T}$ac_res" >&6; }
23418 $as_echo "$ac_res" >&6; } 22688 if test `eval echo '${'$as_ac_var'}'` = yes; then
23419 as_val=`eval 'as_val=${'$as_ac_var'}
23420 $as_echo "$as_val"'`
23421 if test "x$as_val" = x""yes; then
23422 cat >>confdefs.h <<_ACEOF 22689 cat >>confdefs.h <<_ACEOF
23423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 22690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23424 _ACEOF 22691 _ACEOF
23425 22692
23426 fi 22693 fi
23427 done 22694 done
23428 22695
23429 if test $ac_cv_func_gettimeofday = yes; then 22696 if test $ac_cv_func_gettimeofday = yes; then
23430 { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 22697 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23431 $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } 22698 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; }
23432 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 22699 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23433 $as_echo_n "(cached) " >&6 22700 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 else 22701 else
23435 cat >conftest.$ac_ext <<_ACEOF 22702 cat >conftest.$ac_ext <<_ACEOF
23436 /* confdefs.h. */ 22703 /* confdefs.h. */
23437 _ACEOF 22704 _ACEOF
23438 cat confdefs.h >>conftest.$ac_ext 22705 cat confdefs.h >>conftest.$ac_ext
23462 if { (ac_try="$ac_compile" 22729 if { (ac_try="$ac_compile"
23463 case "(($ac_try" in 22730 case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;; 22732 *) ac_try_echo=$ac_try;;
23466 esac 22733 esac
23467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 $as_echo "$ac_try_echo") >&5
23469 (eval "$ac_compile") 2>conftest.er1 22735 (eval "$ac_compile") 2>conftest.er1
23470 ac_status=$? 22736 ac_status=$?
23471 grep -v '^ *+' conftest.er1 >conftest.err 22737 grep -v '^ *+' conftest.er1 >conftest.err
23472 rm -f conftest.er1 22738 rm -f conftest.er1
23473 cat conftest.err >&5 22739 cat conftest.err >&5
23474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } && { 22741 (exit $ac_status); } && {
23476 test -z "$ac_c_werror_flag" || 22742 test -z "$ac_c_werror_flag" ||
23477 test ! -s conftest.err 22743 test ! -s conftest.err
23478 } && test -s conftest.$ac_objext; then 22744 } && test -s conftest.$ac_objext; then
23479 emacs_cv_gettimeofday_two_arguments=yes 22745 emacs_cv_gettimeofday_two_arguments=yes
23480 else 22746 else
23481 $as_echo "$as_me: failed program was:" >&5 22747 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.$ac_ext >&5 22748 sed 's/^/| /' conftest.$ac_ext >&5
23483 22749
23484 emacs_cv_gettimeofday_two_arguments=no 22750 emacs_cv_gettimeofday_two_arguments=no
23485 fi 22751 fi
23486 22752
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 fi 22754 fi
23489 { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 22755 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23490 $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } 22756 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; }
23491 if test $emacs_cv_gettimeofday_two_arguments = no; then 22757 if test $emacs_cv_gettimeofday_two_arguments = no; then
23492 22758
23493 cat >>confdefs.h <<\_ACEOF 22759 cat >>confdefs.h <<\_ACEOF
23494 #define GETTIMEOFDAY_ONE_ARGUMENT 1 22760 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23495 _ACEOF 22761 _ACEOF
23497 fi 22763 fi
23498 fi 22764 fi
23499 fi 22765 fi
23500 22766
23501 ok_so_far=yes 22767 ok_so_far=yes
23502 { $as_echo "$as_me:$LINENO: checking for socket" >&5 22768 { echo "$as_me:$LINENO: checking for socket" >&5
23503 $as_echo_n "checking for socket... " >&6; } 22769 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
23504 if test "${ac_cv_func_socket+set}" = set; then 22770 if test "${ac_cv_func_socket+set}" = set; then
23505 $as_echo_n "(cached) " >&6 22771 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 else 22772 else
23507 cat >conftest.$ac_ext <<_ACEOF 22773 cat >conftest.$ac_ext <<_ACEOF
23508 /* confdefs.h. */ 22774 /* confdefs.h. */
23509 _ACEOF 22775 _ACEOF
23510 cat confdefs.h >>conftest.$ac_ext 22776 cat confdefs.h >>conftest.$ac_ext
23553 if { (ac_try="$ac_link" 22819 if { (ac_try="$ac_link"
23554 case "(($ac_try" in 22820 case "(($ac_try" in
23555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23556 *) ac_try_echo=$ac_try;; 22822 *) ac_try_echo=$ac_try;;
23557 esac 22823 esac
23558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23559 $as_echo "$ac_try_echo") >&5
23560 (eval "$ac_link") 2>conftest.er1 22825 (eval "$ac_link") 2>conftest.er1
23561 ac_status=$? 22826 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err 22827 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1 22828 rm -f conftest.er1
23564 cat conftest.err >&5 22829 cat conftest.err >&5
23565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } && { 22831 (exit $ac_status); } && {
23567 test -z "$ac_c_werror_flag" || 22832 test -z "$ac_c_werror_flag" ||
23568 test ! -s conftest.err 22833 test ! -s conftest.err
23569 } && test -s conftest$ac_exeext && { 22834 } && test -s conftest$ac_exeext &&
23570 test "$cross_compiling" = yes || 22835 $as_test_x conftest$ac_exeext; then
23571 $as_test_x conftest$ac_exeext
23572 }; then
23573 ac_cv_func_socket=yes 22836 ac_cv_func_socket=yes
23574 else 22837 else
23575 $as_echo "$as_me: failed program was:" >&5 22838 echo "$as_me: failed program was:" >&5
23576 sed 's/^/| /' conftest.$ac_ext >&5 22839 sed 's/^/| /' conftest.$ac_ext >&5
23577 22840
23578 ac_cv_func_socket=no 22841 ac_cv_func_socket=no
23579 fi 22842 fi
23580 22843
23581 rm -rf conftest.dSYM
23582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23583 conftest$ac_exeext conftest.$ac_ext 22845 conftest$ac_exeext conftest.$ac_ext
23584 fi 22846 fi
23585 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 22847 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
23586 $as_echo "$ac_cv_func_socket" >&6; } 22848 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
23587 if test "x$ac_cv_func_socket" = x""yes; then 22849 if test $ac_cv_func_socket = yes; then
23588 : 22850 :
23589 else 22851 else
23590 ok_so_far=no 22852 ok_so_far=no
23591 fi 22853 fi
23592 22854
23593 if test $ok_so_far = yes; then 22855 if test $ok_so_far = yes; then
23594 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22856 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23595 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 22857 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
23596 $as_echo_n "checking for netinet/in.h... " >&6; } 22858 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
23597 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22859 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23598 $as_echo_n "(cached) " >&6 22860 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 fi 22861 fi
23600 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 22862 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
23601 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 22863 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
23602 else 22864 else
23603 # Is the header compilable? 22865 # Is the header compilable?
23604 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 22866 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
23605 $as_echo_n "checking netinet/in.h usability... " >&6; } 22867 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; }
23606 cat >conftest.$ac_ext <<_ACEOF 22868 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */ 22869 /* confdefs.h. */
23608 _ACEOF 22870 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext 22871 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF 22872 cat >>conftest.$ac_ext <<_ACEOF
23616 if { (ac_try="$ac_compile" 22878 if { (ac_try="$ac_compile"
23617 case "(($ac_try" in 22879 case "(($ac_try" in
23618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23619 *) ac_try_echo=$ac_try;; 22881 *) ac_try_echo=$ac_try;;
23620 esac 22882 esac
23621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23622 $as_echo "$ac_try_echo") >&5
23623 (eval "$ac_compile") 2>conftest.er1 22884 (eval "$ac_compile") 2>conftest.er1
23624 ac_status=$? 22885 ac_status=$?
23625 grep -v '^ *+' conftest.er1 >conftest.err 22886 grep -v '^ *+' conftest.er1 >conftest.err
23626 rm -f conftest.er1 22887 rm -f conftest.er1
23627 cat conftest.err >&5 22888 cat conftest.err >&5
23628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } && { 22890 (exit $ac_status); } && {
23630 test -z "$ac_c_werror_flag" || 22891 test -z "$ac_c_werror_flag" ||
23631 test ! -s conftest.err 22892 test ! -s conftest.err
23632 } && test -s conftest.$ac_objext; then 22893 } && test -s conftest.$ac_objext; then
23633 ac_header_compiler=yes 22894 ac_header_compiler=yes
23634 else 22895 else
23635 $as_echo "$as_me: failed program was:" >&5 22896 echo "$as_me: failed program was:" >&5
23636 sed 's/^/| /' conftest.$ac_ext >&5 22897 sed 's/^/| /' conftest.$ac_ext >&5
23637 22898
23638 ac_header_compiler=no 22899 ac_header_compiler=no
23639 fi 22900 fi
23640 22901
23641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23642 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22903 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23643 $as_echo "$ac_header_compiler" >&6; } 22904 echo "${ECHO_T}$ac_header_compiler" >&6; }
23644 22905
23645 # Is the header present? 22906 # Is the header present?
23646 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 22907 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
23647 $as_echo_n "checking netinet/in.h presence... " >&6; } 22908 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; }
23648 cat >conftest.$ac_ext <<_ACEOF 22909 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */ 22910 /* confdefs.h. */
23650 _ACEOF 22911 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext 22912 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF 22913 cat >>conftest.$ac_ext <<_ACEOF
23656 if { (ac_try="$ac_cpp conftest.$ac_ext" 22917 if { (ac_try="$ac_cpp conftest.$ac_ext"
23657 case "(($ac_try" in 22918 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;; 22920 *) ac_try_echo=$ac_try;;
23660 esac 22921 esac
23661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 $as_echo "$ac_try_echo") >&5
23663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23664 ac_status=$? 22924 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err 22925 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1 22926 rm -f conftest.er1
23667 cat conftest.err >&5 22927 cat conftest.err >&5
23668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } >/dev/null && { 22929 (exit $ac_status); } >/dev/null && {
23670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23671 test ! -s conftest.err 22931 test ! -s conftest.err
23672 }; then 22932 }; then
23673 ac_header_preproc=yes 22933 ac_header_preproc=yes
23674 else 22934 else
23675 $as_echo "$as_me: failed program was:" >&5 22935 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5 22936 sed 's/^/| /' conftest.$ac_ext >&5
23677 22937
23678 ac_header_preproc=no 22938 ac_header_preproc=no
23679 fi 22939 fi
23680 22940
23681 rm -f conftest.err conftest.$ac_ext 22941 rm -f conftest.err conftest.$ac_ext
23682 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22942 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23683 $as_echo "$ac_header_preproc" >&6; } 22943 echo "${ECHO_T}$ac_header_preproc" >&6; }
23684 22944
23685 # So? What about this header? 22945 # So? What about this header?
23686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23687 yes:no: ) 22947 yes:no: )
23688 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 22948 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
23689 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 22949 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23690 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 22950 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
23691 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 22951 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
23692 ac_header_preproc=yes 22952 ac_header_preproc=yes
23693 ;; 22953 ;;
23694 no:yes:* ) 22954 no:yes:* )
23695 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 22955 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
23696 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 22956 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
23697 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 22957 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
23698 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 22958 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
23699 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 22959 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
23700 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 22960 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
23701 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 22961 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
23702 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 22962 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
23703 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 22963 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
23704 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 22964 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
23705 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 22965 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
23706 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 22966 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
23707 22967
23708 ;; 22968 ;;
23709 esac 22969 esac
23710 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 22970 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5
23711 $as_echo_n "checking for netinet/in.h... " >&6; } 22971 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; }
23712 if test "${ac_cv_header_netinet_in_h+set}" = set; then 22972 if test "${ac_cv_header_netinet_in_h+set}" = set; then
23713 $as_echo_n "(cached) " >&6 22973 echo $ECHO_N "(cached) $ECHO_C" >&6
23714 else 22974 else
23715 ac_cv_header_netinet_in_h=$ac_header_preproc 22975 ac_cv_header_netinet_in_h=$ac_header_preproc
23716 fi 22976 fi
23717 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 22977 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
23718 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 22978 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; }
23719 22979
23720 fi 22980 fi
23721 if test "x$ac_cv_header_netinet_in_h" = x""yes; then 22981 if test $ac_cv_header_netinet_in_h = yes; then
23722 : 22982 :
23723 else 22983 else
23724 ok_so_far=no 22984 ok_so_far=no
23725 fi 22985 fi
23726 22986
23727 22987
23728 fi 22988 fi
23729 if test $ok_so_far = yes; then 22989 if test $ok_so_far = yes; then
23730 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 22990 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23731 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 22991 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23732 $as_echo_n "checking for arpa/inet.h... " >&6; } 22992 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
23733 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 22993 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23734 $as_echo_n "(cached) " >&6 22994 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 fi 22995 fi
23736 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 22996 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23737 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 22997 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
23738 else 22998 else
23739 # Is the header compilable? 22999 # Is the header compilable?
23740 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 23000 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
23741 $as_echo_n "checking arpa/inet.h usability... " >&6; } 23001 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
23742 cat >conftest.$ac_ext <<_ACEOF 23002 cat >conftest.$ac_ext <<_ACEOF
23743 /* confdefs.h. */ 23003 /* confdefs.h. */
23744 _ACEOF 23004 _ACEOF
23745 cat confdefs.h >>conftest.$ac_ext 23005 cat confdefs.h >>conftest.$ac_ext
23746 cat >>conftest.$ac_ext <<_ACEOF 23006 cat >>conftest.$ac_ext <<_ACEOF
23752 if { (ac_try="$ac_compile" 23012 if { (ac_try="$ac_compile"
23753 case "(($ac_try" in 23013 case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755 *) ac_try_echo=$ac_try;; 23015 *) ac_try_echo=$ac_try;;
23756 esac 23016 esac
23757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23758 $as_echo "$ac_try_echo") >&5
23759 (eval "$ac_compile") 2>conftest.er1 23018 (eval "$ac_compile") 2>conftest.er1
23760 ac_status=$? 23019 ac_status=$?
23761 grep -v '^ *+' conftest.er1 >conftest.err 23020 grep -v '^ *+' conftest.er1 >conftest.err
23762 rm -f conftest.er1 23021 rm -f conftest.er1
23763 cat conftest.err >&5 23022 cat conftest.err >&5
23764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); } && { 23024 (exit $ac_status); } && {
23766 test -z "$ac_c_werror_flag" || 23025 test -z "$ac_c_werror_flag" ||
23767 test ! -s conftest.err 23026 test ! -s conftest.err
23768 } && test -s conftest.$ac_objext; then 23027 } && test -s conftest.$ac_objext; then
23769 ac_header_compiler=yes 23028 ac_header_compiler=yes
23770 else 23029 else
23771 $as_echo "$as_me: failed program was:" >&5 23030 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5 23031 sed 's/^/| /' conftest.$ac_ext >&5
23773 23032
23774 ac_header_compiler=no 23033 ac_header_compiler=no
23775 fi 23034 fi
23776 23035
23777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23778 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23037 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23779 $as_echo "$ac_header_compiler" >&6; } 23038 echo "${ECHO_T}$ac_header_compiler" >&6; }
23780 23039
23781 # Is the header present? 23040 # Is the header present?
23782 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 23041 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
23783 $as_echo_n "checking arpa/inet.h presence... " >&6; } 23042 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
23784 cat >conftest.$ac_ext <<_ACEOF 23043 cat >conftest.$ac_ext <<_ACEOF
23785 /* confdefs.h. */ 23044 /* confdefs.h. */
23786 _ACEOF 23045 _ACEOF
23787 cat confdefs.h >>conftest.$ac_ext 23046 cat confdefs.h >>conftest.$ac_ext
23788 cat >>conftest.$ac_ext <<_ACEOF 23047 cat >>conftest.$ac_ext <<_ACEOF
23792 if { (ac_try="$ac_cpp conftest.$ac_ext" 23051 if { (ac_try="$ac_cpp conftest.$ac_ext"
23793 case "(($ac_try" in 23052 case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;; 23054 *) ac_try_echo=$ac_try;;
23796 esac 23055 esac
23797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798 $as_echo "$ac_try_echo") >&5
23799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23800 ac_status=$? 23058 ac_status=$?
23801 grep -v '^ *+' conftest.er1 >conftest.err 23059 grep -v '^ *+' conftest.er1 >conftest.err
23802 rm -f conftest.er1 23060 rm -f conftest.er1
23803 cat conftest.err >&5 23061 cat conftest.err >&5
23804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); } >/dev/null && { 23063 (exit $ac_status); } >/dev/null && {
23806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23807 test ! -s conftest.err 23065 test ! -s conftest.err
23808 }; then 23066 }; then
23809 ac_header_preproc=yes 23067 ac_header_preproc=yes
23810 else 23068 else
23811 $as_echo "$as_me: failed program was:" >&5 23069 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5 23070 sed 's/^/| /' conftest.$ac_ext >&5
23813 23071
23814 ac_header_preproc=no 23072 ac_header_preproc=no
23815 fi 23073 fi
23816 23074
23817 rm -f conftest.err conftest.$ac_ext 23075 rm -f conftest.err conftest.$ac_ext
23818 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23076 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23819 $as_echo "$ac_header_preproc" >&6; } 23077 echo "${ECHO_T}$ac_header_preproc" >&6; }
23820 23078
23821 # So? What about this header? 23079 # So? What about this header?
23822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23823 yes:no: ) 23081 yes:no: )
23824 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 23082 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
23825 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 23083 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23826 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 23084 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
23827 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 23085 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
23828 ac_header_preproc=yes 23086 ac_header_preproc=yes
23829 ;; 23087 ;;
23830 no:yes:* ) 23088 no:yes:* )
23831 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 23089 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
23832 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 23090 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
23833 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 23091 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
23834 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 23092 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
23835 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 23093 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
23836 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 23094 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
23837 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 23095 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
23838 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 23096 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
23839 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 23097 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
23840 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 23098 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
23841 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 23099 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
23842 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 23100 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
23843 23101
23844 ;; 23102 ;;
23845 esac 23103 esac
23846 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 23104 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
23847 $as_echo_n "checking for arpa/inet.h... " >&6; } 23105 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
23848 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 23106 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
23849 $as_echo_n "(cached) " >&6 23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 else 23108 else
23851 ac_cv_header_arpa_inet_h=$ac_header_preproc 23109 ac_cv_header_arpa_inet_h=$ac_header_preproc
23852 fi 23110 fi
23853 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 23111 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
23854 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 23112 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
23855 23113
23856 fi 23114 fi
23857 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then 23115 if test $ac_cv_header_arpa_inet_h = yes; then
23858 : 23116 :
23859 else 23117 else
23860 ok_so_far=no 23118 ok_so_far=no
23861 fi 23119 fi
23862 23120
23871 fi 23129 fi
23872 23130
23873 23131
23874 for ac_header in sys/ioctl.h 23132 for ac_header in sys/ioctl.h
23875 do 23133 do
23876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 23134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23878 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23136 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23879 $as_echo_n "checking for $ac_header... " >&6; } 23137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23138 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23881 $as_echo_n "(cached) " >&6 23139 echo $ECHO_N "(cached) $ECHO_C" >&6
23882 fi 23140 fi
23883 ac_res=`eval 'as_val=${'$as_ac_Header'} 23141 ac_res=`eval echo '${'$as_ac_Header'}'`
23884 $as_echo "$as_val"'` 23142 { echo "$as_me:$LINENO: result: $ac_res" >&5
23885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23143 echo "${ECHO_T}$ac_res" >&6; }
23886 $as_echo "$ac_res" >&6; }
23887 else 23144 else
23888 # Is the header compilable? 23145 # Is the header compilable?
23889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 23146 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23890 $as_echo_n "checking $ac_header usability... " >&6; } 23147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23891 cat >conftest.$ac_ext <<_ACEOF 23148 cat >conftest.$ac_ext <<_ACEOF
23892 /* confdefs.h. */ 23149 /* confdefs.h. */
23893 _ACEOF 23150 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext 23151 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF 23152 cat >>conftest.$ac_ext <<_ACEOF
23901 if { (ac_try="$ac_compile" 23158 if { (ac_try="$ac_compile"
23902 case "(($ac_try" in 23159 case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;; 23161 *) ac_try_echo=$ac_try;;
23905 esac 23162 esac
23906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 $as_echo "$ac_try_echo") >&5
23908 (eval "$ac_compile") 2>conftest.er1 23164 (eval "$ac_compile") 2>conftest.er1
23909 ac_status=$? 23165 ac_status=$?
23910 grep -v '^ *+' conftest.er1 >conftest.err 23166 grep -v '^ *+' conftest.er1 >conftest.err
23911 rm -f conftest.er1 23167 rm -f conftest.er1
23912 cat conftest.err >&5 23168 cat conftest.err >&5
23913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } && { 23170 (exit $ac_status); } && {
23915 test -z "$ac_c_werror_flag" || 23171 test -z "$ac_c_werror_flag" ||
23916 test ! -s conftest.err 23172 test ! -s conftest.err
23917 } && test -s conftest.$ac_objext; then 23173 } && test -s conftest.$ac_objext; then
23918 ac_header_compiler=yes 23174 ac_header_compiler=yes
23919 else 23175 else
23920 $as_echo "$as_me: failed program was:" >&5 23176 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.$ac_ext >&5 23177 sed 's/^/| /' conftest.$ac_ext >&5
23922 23178
23923 ac_header_compiler=no 23179 ac_header_compiler=no
23924 fi 23180 fi
23925 23181
23926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23183 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23928 $as_echo "$ac_header_compiler" >&6; } 23184 echo "${ECHO_T}$ac_header_compiler" >&6; }
23929 23185
23930 # Is the header present? 23186 # Is the header present?
23931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 23187 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23932 $as_echo_n "checking $ac_header presence... " >&6; } 23188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23933 cat >conftest.$ac_ext <<_ACEOF 23189 cat >conftest.$ac_ext <<_ACEOF
23934 /* confdefs.h. */ 23190 /* confdefs.h. */
23935 _ACEOF 23191 _ACEOF
23936 cat confdefs.h >>conftest.$ac_ext 23192 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF 23193 cat >>conftest.$ac_ext <<_ACEOF
23941 if { (ac_try="$ac_cpp conftest.$ac_ext" 23197 if { (ac_try="$ac_cpp conftest.$ac_ext"
23942 case "(($ac_try" in 23198 case "(($ac_try" in
23943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944 *) ac_try_echo=$ac_try;; 23200 *) ac_try_echo=$ac_try;;
23945 esac 23201 esac
23946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947 $as_echo "$ac_try_echo") >&5
23948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23949 ac_status=$? 23204 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err 23205 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1 23206 rm -f conftest.er1
23952 cat conftest.err >&5 23207 cat conftest.err >&5
23953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } >/dev/null && { 23209 (exit $ac_status); } >/dev/null && {
23955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23210 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23956 test ! -s conftest.err 23211 test ! -s conftest.err
23957 }; then 23212 }; then
23958 ac_header_preproc=yes 23213 ac_header_preproc=yes
23959 else 23214 else
23960 $as_echo "$as_me: failed program was:" >&5 23215 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5 23216 sed 's/^/| /' conftest.$ac_ext >&5
23962 23217
23963 ac_header_preproc=no 23218 ac_header_preproc=no
23964 fi 23219 fi
23965 23220
23966 rm -f conftest.err conftest.$ac_ext 23221 rm -f conftest.err conftest.$ac_ext
23967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23222 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23968 $as_echo "$ac_header_preproc" >&6; } 23223 echo "${ECHO_T}$ac_header_preproc" >&6; }
23969 23224
23970 # So? What about this header? 23225 # So? What about this header?
23971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23972 yes:no: ) 23227 yes:no: )
23973 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23977 ac_header_preproc=yes 23232 ac_header_preproc=yes
23978 ;; 23233 ;;
23979 no:yes:* ) 23234 no:yes:* )
23980 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23983 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23987 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23992 23247
23993 ;; 23248 ;;
23994 esac 23249 esac
23995 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23996 $as_echo_n "checking for $ac_header... " >&6; } 23251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23998 $as_echo_n "(cached) " >&6 23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 else 23254 else
24000 eval "$as_ac_Header=\$ac_header_preproc" 23255 eval "$as_ac_Header=\$ac_header_preproc"
24001 fi 23256 fi
24002 ac_res=`eval 'as_val=${'$as_ac_Header'} 23257 ac_res=`eval echo '${'$as_ac_Header'}'`
24003 $as_echo "$as_val"'` 23258 { echo "$as_me:$LINENO: result: $ac_res" >&5
24004 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23259 echo "${ECHO_T}$ac_res" >&6; }
24005 $as_echo "$ac_res" >&6; } 23260
24006 23261 fi
24007 fi 23262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24008 as_val=`eval 'as_val=${'$as_ac_Header'}
24009 $as_echo "$as_val"'`
24010 if test "x$as_val" = x""yes; then
24011 cat >>confdefs.h <<_ACEOF 23263 cat >>confdefs.h <<_ACEOF
24012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24013 _ACEOF 23265 _ACEOF
24014 23266
24015 fi 23267 fi
24016 23268
24017 done 23269 done
24023 #define HAVE_AIX_SMT_EXP 1 23275 #define HAVE_AIX_SMT_EXP 1
24024 _ACEOF 23276 _ACEOF
24025 23277
24026 fi 23278 fi
24027 23279
24028 { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 23280 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5
24029 $as_echo_n "checking whether system supports dynamic ptys... " >&6; } 23281 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; }
24030 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 23282 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
24031 { $as_echo "$as_me:$LINENO: result: yes" >&5 23283 { echo "$as_me:$LINENO: result: yes" >&5
24032 $as_echo "yes" >&6; } 23284 echo "${ECHO_T}yes" >&6; }
24033 23285
24034 cat >>confdefs.h <<\_ACEOF 23286 cat >>confdefs.h <<\_ACEOF
24035 #define HAVE_DEV_PTMX 1 23287 #define HAVE_DEV_PTMX 1
24036 _ACEOF 23288 _ACEOF
24037 23289
24038 else 23290 else
24039 { $as_echo "$as_me:$LINENO: result: no" >&5 23291 { echo "$as_me:$LINENO: result: no" >&5
24040 $as_echo "no" >&6; } 23292 echo "${ECHO_T}no" >&6; }
24041 fi 23293 fi
24042 23294
24043 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 23295 { echo "$as_me:$LINENO: checking for pid_t" >&5
24044 $as_echo_n "checking for pid_t... " >&6; } 23296 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
24045 if test "${ac_cv_type_pid_t+set}" = set; then 23297 if test "${ac_cv_type_pid_t+set}" = set; then
24046 $as_echo_n "(cached) " >&6 23298 echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else 23299 else
24048 ac_cv_type_pid_t=no 23300 cat >conftest.$ac_ext <<_ACEOF
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h. */ 23301 /* confdefs.h. */
24051 _ACEOF 23302 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext 23303 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF 23304 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */ 23305 /* end confdefs.h. */
24055 $ac_includes_default 23306 $ac_includes_default
23307 typedef pid_t ac__type_new_;
24056 int 23308 int
24057 main () 23309 main ()
24058 { 23310 {
24059 if (sizeof (pid_t)) 23311 if ((ac__type_new_ *) 0)
24060 return 0; 23312 return 0;
23313 if (sizeof (ac__type_new_))
23314 return 0;
24061 ; 23315 ;
24062 return 0; 23316 return 0;
24063 } 23317 }
24064 _ACEOF 23318 _ACEOF
24065 rm -f conftest.$ac_objext 23319 rm -f conftest.$ac_objext
24066 if { (ac_try="$ac_compile" 23320 if { (ac_try="$ac_compile"
24067 case "(($ac_try" in 23321 case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;; 23323 *) ac_try_echo=$ac_try;;
24070 esac 23324 esac
24071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24072 $as_echo "$ac_try_echo") >&5
24073 (eval "$ac_compile") 2>conftest.er1 23326 (eval "$ac_compile") 2>conftest.er1
24074 ac_status=$? 23327 ac_status=$?
24075 grep -v '^ *+' conftest.er1 >conftest.err 23328 grep -v '^ *+' conftest.er1 >conftest.err
24076 rm -f conftest.er1 23329 rm -f conftest.er1
24077 cat conftest.err >&5 23330 cat conftest.err >&5
24078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); } && { 23332 (exit $ac_status); } && {
24080 test -z "$ac_c_werror_flag" || 23333 test -z "$ac_c_werror_flag" ||
24081 test ! -s conftest.err 23334 test ! -s conftest.err
24082 } && test -s conftest.$ac_objext; then 23335 } && test -s conftest.$ac_objext; then
24083 cat >conftest.$ac_ext <<_ACEOF 23336 ac_cv_type_pid_t=yes
23337 else
23338 echo "$as_me: failed program was:" >&5
23339 sed 's/^/| /' conftest.$ac_ext >&5
23340
23341 ac_cv_type_pid_t=no
23342 fi
23343
23344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23345 fi
23346 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
23347 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
23348 if test $ac_cv_type_pid_t = yes; then
23349 :
23350 else
23351
23352 cat >>confdefs.h <<_ACEOF
23353 #define pid_t int
23354 _ACEOF
23355
23356 fi
23357
23358
23359 for ac_header in vfork.h
23360 do
23361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 fi
23368 ac_res=`eval echo '${'$as_ac_Header'}'`
23369 { echo "$as_me:$LINENO: result: $ac_res" >&5
23370 echo "${ECHO_T}$ac_res" >&6; }
23371 else
23372 # Is the header compilable?
23373 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23375 cat >conftest.$ac_ext <<_ACEOF
24084 /* confdefs.h. */ 23376 /* confdefs.h. */
24085 _ACEOF 23377 _ACEOF
24086 cat confdefs.h >>conftest.$ac_ext 23378 cat confdefs.h >>conftest.$ac_ext
24087 cat >>conftest.$ac_ext <<_ACEOF 23379 cat >>conftest.$ac_ext <<_ACEOF
24088 /* end confdefs.h. */ 23380 /* end confdefs.h. */
24089 $ac_includes_default 23381 $ac_includes_default
24090 int 23382 #include <$ac_header>
24091 main ()
24092 {
24093 if (sizeof ((pid_t)))
24094 return 0;
24095 ;
24096 return 0;
24097 }
24098 _ACEOF 23383 _ACEOF
24099 rm -f conftest.$ac_objext 23384 rm -f conftest.$ac_objext
24100 if { (ac_try="$ac_compile" 23385 if { (ac_try="$ac_compile"
24101 case "(($ac_try" in 23386 case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;; 23388 *) ac_try_echo=$ac_try;;
24104 esac 23389 esac
24105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24106 $as_echo "$ac_try_echo") >&5
24107 (eval "$ac_compile") 2>conftest.er1 23391 (eval "$ac_compile") 2>conftest.er1
24108 ac_status=$? 23392 ac_status=$?
24109 grep -v '^ *+' conftest.er1 >conftest.err 23393 grep -v '^ *+' conftest.er1 >conftest.err
24110 rm -f conftest.er1 23394 rm -f conftest.er1
24111 cat conftest.err >&5 23395 cat conftest.err >&5
24112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_c_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest.$ac_objext; then
24117 :
24118 else
24119 $as_echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24121
24122 ac_cv_type_pid_t=yes
24123 fi
24124
24125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24126 else
24127 $as_echo "$as_me: failed program was:" >&5
24128 sed 's/^/| /' conftest.$ac_ext >&5
24129
24130
24131 fi
24132
24133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24134 fi
24135 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
24136 $as_echo "$ac_cv_type_pid_t" >&6; }
24137 if test "x$ac_cv_type_pid_t" = x""yes; then
24138 :
24139 else
24140
24141 cat >>confdefs.h <<_ACEOF
24142 #define pid_t int
24143 _ACEOF
24144
24145 fi
24146
24147
24148 for ac_header in vfork.h
24149 do
24150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24152 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24153 $as_echo_n "checking for $ac_header... " >&6; }
24154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24155 $as_echo_n "(cached) " >&6
24156 fi
24157 ac_res=`eval 'as_val=${'$as_ac_Header'}
24158 $as_echo "$as_val"'`
24159 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24160 $as_echo "$ac_res" >&6; }
24161 else
24162 # Is the header compilable?
24163 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
24164 $as_echo_n "checking $ac_header usability... " >&6; }
24165 cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h. */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 $ac_includes_default
24172 #include <$ac_header>
24173 _ACEOF
24174 rm -f conftest.$ac_objext
24175 if { (ac_try="$ac_compile"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24179 esac
24180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24181 $as_echo "$ac_try_echo") >&5
24182 (eval "$ac_compile") 2>conftest.er1
24183 ac_status=$?
24184 grep -v '^ *+' conftest.er1 >conftest.err
24185 rm -f conftest.er1
24186 cat conftest.err >&5
24187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } && { 23397 (exit $ac_status); } && {
24189 test -z "$ac_c_werror_flag" || 23398 test -z "$ac_c_werror_flag" ||
24190 test ! -s conftest.err 23399 test ! -s conftest.err
24191 } && test -s conftest.$ac_objext; then 23400 } && test -s conftest.$ac_objext; then
24192 ac_header_compiler=yes 23401 ac_header_compiler=yes
24193 else 23402 else
24194 $as_echo "$as_me: failed program was:" >&5 23403 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5 23404 sed 's/^/| /' conftest.$ac_ext >&5
24196 23405
24197 ac_header_compiler=no 23406 ac_header_compiler=no
24198 fi 23407 fi
24199 23408
24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24201 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23410 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24202 $as_echo "$ac_header_compiler" >&6; } 23411 echo "${ECHO_T}$ac_header_compiler" >&6; }
24203 23412
24204 # Is the header present? 23413 # Is the header present?
24205 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 23414 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24206 $as_echo_n "checking $ac_header presence... " >&6; } 23415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24207 cat >conftest.$ac_ext <<_ACEOF 23416 cat >conftest.$ac_ext <<_ACEOF
24208 /* confdefs.h. */ 23417 /* confdefs.h. */
24209 _ACEOF 23418 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext 23419 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF 23420 cat >>conftest.$ac_ext <<_ACEOF
24215 if { (ac_try="$ac_cpp conftest.$ac_ext" 23424 if { (ac_try="$ac_cpp conftest.$ac_ext"
24216 case "(($ac_try" in 23425 case "(($ac_try" in
24217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24218 *) ac_try_echo=$ac_try;; 23427 *) ac_try_echo=$ac_try;;
24219 esac 23428 esac
24220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24221 $as_echo "$ac_try_echo") >&5
24222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24223 ac_status=$? 23431 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err 23432 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1 23433 rm -f conftest.er1
24226 cat conftest.err >&5 23434 cat conftest.err >&5
24227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } >/dev/null && { 23436 (exit $ac_status); } >/dev/null && {
24229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24230 test ! -s conftest.err 23438 test ! -s conftest.err
24231 }; then 23439 }; then
24232 ac_header_preproc=yes 23440 ac_header_preproc=yes
24233 else 23441 else
24234 $as_echo "$as_me: failed program was:" >&5 23442 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5 23443 sed 's/^/| /' conftest.$ac_ext >&5
24236 23444
24237 ac_header_preproc=no 23445 ac_header_preproc=no
24238 fi 23446 fi
24239 23447
24240 rm -f conftest.err conftest.$ac_ext 23448 rm -f conftest.err conftest.$ac_ext
24241 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23449 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24242 $as_echo "$ac_header_preproc" >&6; } 23450 echo "${ECHO_T}$ac_header_preproc" >&6; }
24243 23451
24244 # So? What about this header? 23452 # So? What about this header?
24245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24246 yes:no: ) 23454 yes:no: )
24247 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24248 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24250 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24251 ac_header_preproc=yes 23459 ac_header_preproc=yes
24252 ;; 23460 ;;
24253 no:yes:* ) 23461 no:yes:* )
24254 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24255 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24256 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24257 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24258 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24259 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24260 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24261 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24263 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24264 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24265 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24266 23474
24267 ;; 23475 ;;
24268 esac 23476 esac
24269 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24270 $as_echo_n "checking for $ac_header... " >&6; } 23478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24272 $as_echo_n "(cached) " >&6 23480 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else 23481 else
24274 eval "$as_ac_Header=\$ac_header_preproc" 23482 eval "$as_ac_Header=\$ac_header_preproc"
24275 fi 23483 fi
24276 ac_res=`eval 'as_val=${'$as_ac_Header'} 23484 ac_res=`eval echo '${'$as_ac_Header'}'`
24277 $as_echo "$as_val"'` 23485 { echo "$as_me:$LINENO: result: $ac_res" >&5
24278 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23486 echo "${ECHO_T}$ac_res" >&6; }
24279 $as_echo "$ac_res" >&6; } 23487
24280 23488 fi
24281 fi 23489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24282 as_val=`eval 'as_val=${'$as_ac_Header'}
24283 $as_echo "$as_val"'`
24284 if test "x$as_val" = x""yes; then
24285 cat >>confdefs.h <<_ACEOF 23490 cat >>confdefs.h <<_ACEOF
24286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24287 _ACEOF 23492 _ACEOF
24288 23493
24289 fi 23494 fi
24290 23495
24291 done 23496 done
24292 23497
24293 23498
24294 23499
24295 for ac_func in fork vfork 23500 for ac_func in fork vfork
24296 do 23501 do
24297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 23502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24298 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 23503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24299 $as_echo_n "checking for $ac_func... " >&6; } 23504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 23505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24301 $as_echo_n "(cached) " >&6 23506 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 else 23507 else
24303 cat >conftest.$ac_ext <<_ACEOF 23508 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h. */ 23509 /* confdefs.h. */
24305 _ACEOF 23510 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext 23511 cat confdefs.h >>conftest.$ac_ext
24349 if { (ac_try="$ac_link" 23554 if { (ac_try="$ac_link"
24350 case "(($ac_try" in 23555 case "(($ac_try" in
24351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24352 *) ac_try_echo=$ac_try;; 23557 *) ac_try_echo=$ac_try;;
24353 esac 23558 esac
24354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24355 $as_echo "$ac_try_echo") >&5
24356 (eval "$ac_link") 2>conftest.er1 23560 (eval "$ac_link") 2>conftest.er1
24357 ac_status=$? 23561 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err 23562 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1 23563 rm -f conftest.er1
24360 cat conftest.err >&5 23564 cat conftest.err >&5
24361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && { 23566 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" || 23567 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err 23568 test ! -s conftest.err
24365 } && test -s conftest$ac_exeext && { 23569 } && test -s conftest$ac_exeext &&
24366 test "$cross_compiling" = yes || 23570 $as_test_x conftest$ac_exeext; then
24367 $as_test_x conftest$ac_exeext
24368 }; then
24369 eval "$as_ac_var=yes" 23571 eval "$as_ac_var=yes"
24370 else 23572 else
24371 $as_echo "$as_me: failed program was:" >&5 23573 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5 23574 sed 's/^/| /' conftest.$ac_ext >&5
24373 23575
24374 eval "$as_ac_var=no" 23576 eval "$as_ac_var=no"
24375 fi 23577 fi
24376 23578
24377 rm -rf conftest.dSYM
24378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24379 conftest$ac_exeext conftest.$ac_ext 23580 conftest$ac_exeext conftest.$ac_ext
24380 fi 23581 fi
24381 ac_res=`eval 'as_val=${'$as_ac_var'} 23582 ac_res=`eval echo '${'$as_ac_var'}'`
24382 $as_echo "$as_val"'` 23583 { echo "$as_me:$LINENO: result: $ac_res" >&5
24383 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23584 echo "${ECHO_T}$ac_res" >&6; }
24384 $as_echo "$ac_res" >&6; } 23585 if test `eval echo '${'$as_ac_var'}'` = yes; then
24385 as_val=`eval 'as_val=${'$as_ac_var'}
24386 $as_echo "$as_val"'`
24387 if test "x$as_val" = x""yes; then
24388 cat >>confdefs.h <<_ACEOF 23586 cat >>confdefs.h <<_ACEOF
24389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 23587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24390 _ACEOF 23588 _ACEOF
24391 23589
24392 fi 23590 fi
24393 done 23591 done
24394 23592
24395 if test "x$ac_cv_func_fork" = xyes; then 23593 if test "x$ac_cv_func_fork" = xyes; then
24396 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 23594 { echo "$as_me:$LINENO: checking for working fork" >&5
24397 $as_echo_n "checking for working fork... " >&6; } 23595 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
24398 if test "${ac_cv_func_fork_works+set}" = set; then 23596 if test "${ac_cv_func_fork_works+set}" = set; then
24399 $as_echo_n "(cached) " >&6 23597 echo $ECHO_N "(cached) $ECHO_C" >&6
24400 else 23598 else
24401 if test "$cross_compiling" = yes; then 23599 if test "$cross_compiling" = yes; then
24402 ac_cv_func_fork_works=cross 23600 ac_cv_func_fork_works=cross
24403 else 23601 else
24404 cat >conftest.$ac_ext <<_ACEOF 23602 cat >conftest.$ac_ext <<_ACEOF
24423 if { (ac_try="$ac_link" 23621 if { (ac_try="$ac_link"
24424 case "(($ac_try" in 23622 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;; 23624 *) ac_try_echo=$ac_try;;
24427 esac 23625 esac
24428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429 $as_echo "$ac_try_echo") >&5
24430 (eval "$ac_link") 2>&5 23627 (eval "$ac_link") 2>&5
24431 ac_status=$? 23628 ac_status=$?
24432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24434 { (case "(($ac_try" in 23631 { (case "(($ac_try" in
24435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24436 *) ac_try_echo=$ac_try;; 23633 *) ac_try_echo=$ac_try;;
24437 esac 23634 esac
24438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24439 $as_echo "$ac_try_echo") >&5
24440 (eval "$ac_try") 2>&5 23636 (eval "$ac_try") 2>&5
24441 ac_status=$? 23637 ac_status=$?
24442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; }; then 23639 (exit $ac_status); }; }; then
24444 ac_cv_func_fork_works=yes 23640 ac_cv_func_fork_works=yes
24445 else 23641 else
24446 $as_echo "$as_me: program exited with status $ac_status" >&5 23642 echo "$as_me: program exited with status $ac_status" >&5
24447 $as_echo "$as_me: failed program was:" >&5 23643 echo "$as_me: failed program was:" >&5
24448 sed 's/^/| /' conftest.$ac_ext >&5 23644 sed 's/^/| /' conftest.$ac_ext >&5
24449 23645
24450 ( exit $ac_status ) 23646 ( exit $ac_status )
24451 ac_cv_func_fork_works=no 23647 ac_cv_func_fork_works=no
24452 fi 23648 fi
24453 rm -rf conftest.dSYM
24454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24455 fi 23650 fi
24456 23651
24457 23652
24458 fi 23653 fi
24459 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 23654 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
24460 $as_echo "$ac_cv_func_fork_works" >&6; } 23655 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
24461 23656
24462 else 23657 else
24463 ac_cv_func_fork_works=$ac_cv_func_fork 23658 ac_cv_func_fork_works=$ac_cv_func_fork
24464 fi 23659 fi
24465 if test "x$ac_cv_func_fork_works" = xcross; then 23660 if test "x$ac_cv_func_fork_works" = xcross; then
24470 ;; 23665 ;;
24471 *) 23666 *)
24472 ac_cv_func_fork_works=yes 23667 ac_cv_func_fork_works=yes
24473 ;; 23668 ;;
24474 esac 23669 esac
24475 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 23670 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
24476 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 23671 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
24477 fi 23672 fi
24478 ac_cv_func_vfork_works=$ac_cv_func_vfork 23673 ac_cv_func_vfork_works=$ac_cv_func_vfork
24479 if test "x$ac_cv_func_vfork" = xyes; then 23674 if test "x$ac_cv_func_vfork" = xyes; then
24480 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 23675 { echo "$as_me:$LINENO: checking for working vfork" >&5
24481 $as_echo_n "checking for working vfork... " >&6; } 23676 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
24482 if test "${ac_cv_func_vfork_works+set}" = set; then 23677 if test "${ac_cv_func_vfork_works+set}" = set; then
24483 $as_echo_n "(cached) " >&6 23678 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 else 23679 else
24485 if test "$cross_compiling" = yes; then 23680 if test "$cross_compiling" = yes; then
24486 ac_cv_func_vfork_works=cross 23681 ac_cv_func_vfork_works=cross
24487 else 23682 else
24488 cat >conftest.$ac_ext <<_ACEOF 23683 cat >conftest.$ac_ext <<_ACEOF
24585 if { (ac_try="$ac_link" 23780 if { (ac_try="$ac_link"
24586 case "(($ac_try" in 23781 case "(($ac_try" in
24587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24588 *) ac_try_echo=$ac_try;; 23783 *) ac_try_echo=$ac_try;;
24589 esac 23784 esac
24590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591 $as_echo "$ac_try_echo") >&5
24592 (eval "$ac_link") 2>&5 23786 (eval "$ac_link") 2>&5
24593 ac_status=$? 23787 ac_status=$?
24594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24596 { (case "(($ac_try" in 23790 { (case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;; 23792 *) ac_try_echo=$ac_try;;
24599 esac 23793 esac
24600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 $as_echo "$ac_try_echo") >&5
24602 (eval "$ac_try") 2>&5 23795 (eval "$ac_try") 2>&5
24603 ac_status=$? 23796 ac_status=$?
24604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; }; then 23798 (exit $ac_status); }; }; then
24606 ac_cv_func_vfork_works=yes 23799 ac_cv_func_vfork_works=yes
24607 else 23800 else
24608 $as_echo "$as_me: program exited with status $ac_status" >&5 23801 echo "$as_me: program exited with status $ac_status" >&5
24609 $as_echo "$as_me: failed program was:" >&5 23802 echo "$as_me: failed program was:" >&5
24610 sed 's/^/| /' conftest.$ac_ext >&5 23803 sed 's/^/| /' conftest.$ac_ext >&5
24611 23804
24612 ( exit $ac_status ) 23805 ( exit $ac_status )
24613 ac_cv_func_vfork_works=no 23806 ac_cv_func_vfork_works=no
24614 fi 23807 fi
24615 rm -rf conftest.dSYM
24616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24617 fi 23809 fi
24618 23810
24619 23811
24620 fi 23812 fi
24621 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 23813 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
24622 $as_echo "$ac_cv_func_vfork_works" >&6; } 23814 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
24623 23815
24624 fi; 23816 fi;
24625 if test "x$ac_cv_func_fork_works" = xcross; then 23817 if test "x$ac_cv_func_fork_works" = xcross; then
24626 ac_cv_func_vfork_works=$ac_cv_func_vfork 23818 ac_cv_func_vfork_works=$ac_cv_func_vfork
24627 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 23819 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
24628 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 23820 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
24629 fi 23821 fi
24630 23822
24631 if test "x$ac_cv_func_vfork_works" = xyes; then 23823 if test "x$ac_cv_func_vfork_works" = xyes; then
24632 23824
24633 cat >>confdefs.h <<\_ACEOF 23825 cat >>confdefs.h <<\_ACEOF
24648 _ACEOF 23840 _ACEOF
24649 23841
24650 fi 23842 fi
24651 23843
24652 23844
24653 { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 23845 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
24654 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } 23846 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
24655 if test "${emacs_cv_langinfo_codeset+set}" = set; then 23847 if test "${emacs_cv_langinfo_codeset+set}" = set; then
24656 $as_echo_n "(cached) " >&6 23848 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else 23849 else
24658 cat >conftest.$ac_ext <<_ACEOF 23850 cat >conftest.$ac_ext <<_ACEOF
24659 /* confdefs.h. */ 23851 /* confdefs.h. */
24660 _ACEOF 23852 _ACEOF
24661 cat confdefs.h >>conftest.$ac_ext 23853 cat confdefs.h >>conftest.$ac_ext
24674 if { (ac_try="$ac_link" 23866 if { (ac_try="$ac_link"
24675 case "(($ac_try" in 23867 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;; 23869 *) ac_try_echo=$ac_try;;
24678 esac 23870 esac
24679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 $as_echo "$ac_try_echo") >&5
24681 (eval "$ac_link") 2>conftest.er1 23872 (eval "$ac_link") 2>conftest.er1
24682 ac_status=$? 23873 ac_status=$?
24683 grep -v '^ *+' conftest.er1 >conftest.err 23874 grep -v '^ *+' conftest.er1 >conftest.err
24684 rm -f conftest.er1 23875 rm -f conftest.er1
24685 cat conftest.err >&5 23876 cat conftest.err >&5
24686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); } && { 23878 (exit $ac_status); } && {
24688 test -z "$ac_c_werror_flag" || 23879 test -z "$ac_c_werror_flag" ||
24689 test ! -s conftest.err 23880 test ! -s conftest.err
24690 } && test -s conftest$ac_exeext && { 23881 } && test -s conftest$ac_exeext &&
24691 test "$cross_compiling" = yes || 23882 $as_test_x conftest$ac_exeext; then
24692 $as_test_x conftest$ac_exeext
24693 }; then
24694 emacs_cv_langinfo_codeset=yes 23883 emacs_cv_langinfo_codeset=yes
24695 else 23884 else
24696 $as_echo "$as_me: failed program was:" >&5 23885 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5 23886 sed 's/^/| /' conftest.$ac_ext >&5
24698 23887
24699 emacs_cv_langinfo_codeset=no 23888 emacs_cv_langinfo_codeset=no
24700 fi 23889 fi
24701 23890
24702 rm -rf conftest.dSYM
24703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24704 conftest$ac_exeext conftest.$ac_ext 23892 conftest$ac_exeext conftest.$ac_ext
24705 23893
24706 fi 23894 fi
24707 { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 23895 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5
24708 $as_echo "$emacs_cv_langinfo_codeset" >&6; } 23896 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; }
24709 if test $emacs_cv_langinfo_codeset = yes; then 23897 if test $emacs_cv_langinfo_codeset = yes; then
24710 23898
24711 cat >>confdefs.h <<\_ACEOF 23899 cat >>confdefs.h <<\_ACEOF
24712 #define HAVE_LANGINFO_CODESET 1 23900 #define HAVE_LANGINFO_CODESET 1
24713 _ACEOF 23901 _ACEOF
24714 23902
24715 fi 23903 fi
24716 23904
24717 { $as_echo "$as_me:$LINENO: checking for size_t" >&5 23905 { echo "$as_me:$LINENO: checking for size_t" >&5
24718 $as_echo_n "checking for size_t... " >&6; } 23906 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
24719 if test "${ac_cv_type_size_t+set}" = set; then 23907 if test "${ac_cv_type_size_t+set}" = set; then
24720 $as_echo_n "(cached) " >&6 23908 echo $ECHO_N "(cached) $ECHO_C" >&6
24721 else 23909 else
24722 ac_cv_type_size_t=no 23910 cat >conftest.$ac_ext <<_ACEOF
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h. */ 23911 /* confdefs.h. */
24725 _ACEOF 23912 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext 23913 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF 23914 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */ 23915 /* end confdefs.h. */
24729 $ac_includes_default 23916 $ac_includes_default
23917 typedef size_t ac__type_new_;
24730 int 23918 int
24731 main () 23919 main ()
24732 { 23920 {
24733 if (sizeof (size_t)) 23921 if ((ac__type_new_ *) 0)
24734 return 0; 23922 return 0;
23923 if (sizeof (ac__type_new_))
23924 return 0;
24735 ; 23925 ;
24736 return 0; 23926 return 0;
24737 } 23927 }
24738 _ACEOF 23928 _ACEOF
24739 rm -f conftest.$ac_objext 23929 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile" 23930 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in 23931 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;; 23933 *) ac_try_echo=$ac_try;;
24744 esac 23934 esac
24745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 $as_echo "$ac_try_echo") >&5
24747 (eval "$ac_compile") 2>conftest.er1 23936 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$? 23937 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err 23938 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1 23939 rm -f conftest.er1
24751 cat conftest.err >&5 23940 cat conftest.err >&5
24752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && { 23942 (exit $ac_status); } && {
24754 test -z "$ac_c_werror_flag" || 23943 test -z "$ac_c_werror_flag" ||
24755 test ! -s conftest.err 23944 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then 23945 } && test -s conftest.$ac_objext; then
24757 cat >conftest.$ac_ext <<_ACEOF 23946 ac_cv_type_size_t=yes
24758 /* confdefs.h. */ 23947 else
24759 _ACEOF 23948 echo "$as_me: failed program was:" >&5
24760 cat confdefs.h >>conftest.$ac_ext
24761 cat >>conftest.$ac_ext <<_ACEOF
24762 /* end confdefs.h. */
24763 $ac_includes_default
24764 int
24765 main ()
24766 {
24767 if (sizeof ((size_t)))
24768 return 0;
24769 ;
24770 return 0;
24771 }
24772 _ACEOF
24773 rm -f conftest.$ac_objext
24774 if { (ac_try="$ac_compile"
24775 case "(($ac_try" in
24776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24777 *) ac_try_echo=$ac_try;;
24778 esac
24779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24780 $as_echo "$ac_try_echo") >&5
24781 (eval "$ac_compile") 2>conftest.er1
24782 ac_status=$?
24783 grep -v '^ *+' conftest.er1 >conftest.err
24784 rm -f conftest.er1
24785 cat conftest.err >&5
24786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } && {
24788 test -z "$ac_c_werror_flag" ||
24789 test ! -s conftest.err
24790 } && test -s conftest.$ac_objext; then
24791 :
24792 else
24793 $as_echo "$as_me: failed program was:" >&5
24794 sed 's/^/| /' conftest.$ac_ext >&5 23949 sed 's/^/| /' conftest.$ac_ext >&5
24795 23950
24796 ac_cv_type_size_t=yes 23951 ac_cv_type_size_t=no
24797 fi 23952 fi
24798 23953
24799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24800 else 23955 fi
24801 $as_echo "$as_me: failed program was:" >&5 23956 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24802 sed 's/^/| /' conftest.$ac_ext >&5 23957 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
24803 23958 if test $ac_cv_type_size_t = yes; then
24804
24805 fi
24806
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808 fi
24809 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
24810 $as_echo "$ac_cv_type_size_t" >&6; }
24811 if test "x$ac_cv_type_size_t" = x""yes; then
24812 23959
24813 cat >>confdefs.h <<_ACEOF 23960 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_SIZE_T 1 23961 #define HAVE_SIZE_T 1
24815 _ACEOF 23962 _ACEOF
24816 23963
24817 23964
24818 fi 23965 fi
24819 23966
24820 23967
24821 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 23968 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
24822 $as_echo_n "checking for mbstate_t... " >&6; } 23969 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
24823 if test "${ac_cv_type_mbstate_t+set}" = set; then 23970 if test "${ac_cv_type_mbstate_t+set}" = set; then
24824 $as_echo_n "(cached) " >&6 23971 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 else 23972 else
24826 cat >conftest.$ac_ext <<_ACEOF 23973 cat >conftest.$ac_ext <<_ACEOF
24827 /* confdefs.h. */ 23974 /* confdefs.h. */
24828 _ACEOF 23975 _ACEOF
24829 cat confdefs.h >>conftest.$ac_ext 23976 cat confdefs.h >>conftest.$ac_ext
24843 if { (ac_try="$ac_compile" 23990 if { (ac_try="$ac_compile"
24844 case "(($ac_try" in 23991 case "(($ac_try" in
24845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24846 *) ac_try_echo=$ac_try;; 23993 *) ac_try_echo=$ac_try;;
24847 esac 23994 esac
24848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24849 $as_echo "$ac_try_echo") >&5
24850 (eval "$ac_compile") 2>conftest.er1 23996 (eval "$ac_compile") 2>conftest.er1
24851 ac_status=$? 23997 ac_status=$?
24852 grep -v '^ *+' conftest.er1 >conftest.err 23998 grep -v '^ *+' conftest.er1 >conftest.err
24853 rm -f conftest.er1 23999 rm -f conftest.er1
24854 cat conftest.err >&5 24000 cat conftest.err >&5
24855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && { 24002 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" || 24003 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err 24004 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then 24005 } && test -s conftest.$ac_objext; then
24860 ac_cv_type_mbstate_t=yes 24006 ac_cv_type_mbstate_t=yes
24861 else 24007 else
24862 $as_echo "$as_me: failed program was:" >&5 24008 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5 24009 sed 's/^/| /' conftest.$ac_ext >&5
24864 24010
24865 ac_cv_type_mbstate_t=no 24011 ac_cv_type_mbstate_t=no
24866 fi 24012 fi
24867 24013
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 fi 24015 fi
24870 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 24016 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
24871 $as_echo "$ac_cv_type_mbstate_t" >&6; } 24017 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
24872 if test $ac_cv_type_mbstate_t = yes; then 24018 if test $ac_cv_type_mbstate_t = yes; then
24873 24019
24874 cat >>confdefs.h <<\_ACEOF 24020 cat >>confdefs.h <<\_ACEOF
24875 #define HAVE_MBSTATE_T 1 24021 #define HAVE_MBSTATE_T 1
24876 _ACEOF 24022 _ACEOF
24881 #define mbstate_t int 24027 #define mbstate_t int
24882 _ACEOF 24028 _ACEOF
24883 24029
24884 fi 24030 fi
24885 24031
24886 { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 24032 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5
24887 $as_echo_n "checking for C restrict keyword... " >&6; } 24033 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; }
24888 if test "${emacs_cv_c_restrict+set}" = set; then 24034 if test "${emacs_cv_c_restrict+set}" = set; then
24889 $as_echo_n "(cached) " >&6 24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24890 else 24036 else
24891 cat >conftest.$ac_ext <<_ACEOF 24037 cat >conftest.$ac_ext <<_ACEOF
24892 /* confdefs.h. */ 24038 /* confdefs.h. */
24893 _ACEOF 24039 _ACEOF
24894 cat confdefs.h >>conftest.$ac_ext 24040 cat confdefs.h >>conftest.$ac_ext
24907 if { (ac_try="$ac_compile" 24053 if { (ac_try="$ac_compile"
24908 case "(($ac_try" in 24054 case "(($ac_try" in
24909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24910 *) ac_try_echo=$ac_try;; 24056 *) ac_try_echo=$ac_try;;
24911 esac 24057 esac
24912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24913 $as_echo "$ac_try_echo") >&5
24914 (eval "$ac_compile") 2>conftest.er1 24059 (eval "$ac_compile") 2>conftest.er1
24915 ac_status=$? 24060 ac_status=$?
24916 grep -v '^ *+' conftest.er1 >conftest.err 24061 grep -v '^ *+' conftest.er1 >conftest.err
24917 rm -f conftest.er1 24062 rm -f conftest.er1
24918 cat conftest.err >&5 24063 cat conftest.err >&5
24919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); } && { 24065 (exit $ac_status); } && {
24921 test -z "$ac_c_werror_flag" || 24066 test -z "$ac_c_werror_flag" ||
24922 test ! -s conftest.err 24067 test ! -s conftest.err
24923 } && test -s conftest.$ac_objext; then 24068 } && test -s conftest.$ac_objext; then
24924 emacs_cv_c_restrict=yes 24069 emacs_cv_c_restrict=yes
24925 else 24070 else
24926 $as_echo "$as_me: failed program was:" >&5 24071 echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5 24072 sed 's/^/| /' conftest.$ac_ext >&5
24928 24073
24929 cat >conftest.$ac_ext <<_ACEOF 24074 cat >conftest.$ac_ext <<_ACEOF
24930 /* confdefs.h. */ 24075 /* confdefs.h. */
24931 _ACEOF 24076 _ACEOF
24945 if { (ac_try="$ac_compile" 24090 if { (ac_try="$ac_compile"
24946 case "(($ac_try" in 24091 case "(($ac_try" in
24947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24948 *) ac_try_echo=$ac_try;; 24093 *) ac_try_echo=$ac_try;;
24949 esac 24094 esac
24950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24951 $as_echo "$ac_try_echo") >&5
24952 (eval "$ac_compile") 2>conftest.er1 24096 (eval "$ac_compile") 2>conftest.er1
24953 ac_status=$? 24097 ac_status=$?
24954 grep -v '^ *+' conftest.er1 >conftest.err 24098 grep -v '^ *+' conftest.er1 >conftest.err
24955 rm -f conftest.er1 24099 rm -f conftest.er1
24956 cat conftest.err >&5 24100 cat conftest.err >&5
24957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); } && { 24102 (exit $ac_status); } && {
24959 test -z "$ac_c_werror_flag" || 24103 test -z "$ac_c_werror_flag" ||
24960 test ! -s conftest.err 24104 test ! -s conftest.err
24961 } && test -s conftest.$ac_objext; then 24105 } && test -s conftest.$ac_objext; then
24962 emacs_cv_c_restrict=__restrict 24106 emacs_cv_c_restrict=__restrict
24963 else 24107 else
24964 $as_echo "$as_me: failed program was:" >&5 24108 echo "$as_me: failed program was:" >&5
24965 sed 's/^/| /' conftest.$ac_ext >&5 24109 sed 's/^/| /' conftest.$ac_ext >&5
24966 24110
24967 emacs_cv_c_restrict=no 24111 emacs_cv_c_restrict=no
24968 fi 24112 fi
24969 24113
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 fi 24115 fi
24972 24116
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 fi 24118 fi
24975 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 24119 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5
24976 $as_echo "$emacs_cv_c_restrict" >&6; } 24120 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; }
24977 case "$emacs_cv_c_restrict" in 24121 case "$emacs_cv_c_restrict" in
24978 yes) emacs_restrict=restrict;; 24122 yes) emacs_restrict=restrict;;
24979 no) emacs_restrict="";; 24123 no) emacs_restrict="";;
24980 *) emacs_restrict="$emacs_cv_c_restrict";; 24124 *) emacs_restrict="$emacs_cv_c_restrict";;
24981 esac 24125 esac
24985 #define __restrict $emacs_restrict 24129 #define __restrict $emacs_restrict
24986 _ACEOF 24130 _ACEOF
24987 24131
24988 fi 24132 fi
24989 24133
24990 { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 24134 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5
24991 $as_echo_n "checking for C restricted array declarations... " >&6; } 24135 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; }
24992 if test "${emacs_cv_c_restrict_arr+set}" = set; then 24136 if test "${emacs_cv_c_restrict_arr+set}" = set; then
24993 $as_echo_n "(cached) " >&6 24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 else 24138 else
24995 cat >conftest.$ac_ext <<_ACEOF 24139 cat >conftest.$ac_ext <<_ACEOF
24996 /* confdefs.h. */ 24140 /* confdefs.h. */
24997 _ACEOF 24141 _ACEOF
24998 cat confdefs.h >>conftest.$ac_ext 24142 cat confdefs.h >>conftest.$ac_ext
25011 if { (ac_try="$ac_compile" 24155 if { (ac_try="$ac_compile"
25012 case "(($ac_try" in 24156 case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;; 24158 *) ac_try_echo=$ac_try;;
25015 esac 24159 esac
25016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25017 $as_echo "$ac_try_echo") >&5
25018 (eval "$ac_compile") 2>conftest.er1 24161 (eval "$ac_compile") 2>conftest.er1
25019 ac_status=$? 24162 ac_status=$?
25020 grep -v '^ *+' conftest.er1 >conftest.err 24163 grep -v '^ *+' conftest.er1 >conftest.err
25021 rm -f conftest.er1 24164 rm -f conftest.er1
25022 cat conftest.err >&5 24165 cat conftest.err >&5
25023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } && { 24167 (exit $ac_status); } && {
25025 test -z "$ac_c_werror_flag" || 24168 test -z "$ac_c_werror_flag" ||
25026 test ! -s conftest.err 24169 test ! -s conftest.err
25027 } && test -s conftest.$ac_objext; then 24170 } && test -s conftest.$ac_objext; then
25028 emacs_cv_c_restrict_arr=yes 24171 emacs_cv_c_restrict_arr=yes
25029 else 24172 else
25030 $as_echo "$as_me: failed program was:" >&5 24173 echo "$as_me: failed program was:" >&5
25031 sed 's/^/| /' conftest.$ac_ext >&5 24174 sed 's/^/| /' conftest.$ac_ext >&5
25032 24175
25033 emacs_cv_c_restrict_arr=no 24176 emacs_cv_c_restrict_arr=no
25034 fi 24177 fi
25035 24178
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 fi 24180 fi
25038 { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 24181 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5
25039 $as_echo "$emacs_cv_c_restrict_arr" >&6; } 24182 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; }
25040 if test "$emacs_cv_c_restrict_arr" = yes; then 24183 if test "$emacs_cv_c_restrict_arr" = yes; then
25041 24184
25042 cat >>confdefs.h <<\_ACEOF 24185 cat >>confdefs.h <<\_ACEOF
25043 #define __restrict_arr __restrict 24186 #define __restrict_arr __restrict
25044 _ACEOF 24187 _ACEOF
25053 24196
25054 #### Find out which version of Emacs this is. 24197 #### Find out which version of Emacs this is.
25055 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 24198 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
25056 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 24199 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
25057 if test x"${version}" = x; then 24200 if test x"${version}" = x; then
25058 { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 24201 { { echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
25059 $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 24202 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
25060 { (exit 1); exit 1; }; } 24203 { (exit 1); exit 1; }; }
25061 fi 24204 fi
25062 24205
25063 ### Specify what sort of things we'll be editing into Makefile and config.h. 24206 ### Specify what sort of things we'll be editing into Makefile and config.h.
25064 ### Use configuration here uncanonicalized to avoid exceeding size limits. 24207 ### Use configuration here uncanonicalized to avoid exceeding size limits.
25361 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 24504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25362 eval ac_val=\$$ac_var 24505 eval ac_val=\$$ac_var
25363 case $ac_val in #( 24506 case $ac_val in #(
25364 *${as_nl}*) 24507 *${as_nl}*)
25365 case $ac_var in #( 24508 case $ac_var in #(
25366 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 24509 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25367 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 24510 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25368 esac 24511 esac
25369 case $ac_var in #( 24512 case $ac_var in #(
25370 _ | IFS | as_nl) ;; #( 24513 _ | IFS | as_nl) ;; #(
25371 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25372 *) $as_unset $ac_var ;; 24514 *) $as_unset $ac_var ;;
25373 esac ;; 24515 esac ;;
25374 esac 24516 esac
25375 done 24517 done
25376 24518
25399 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 24541 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25400 :end' >>confcache 24542 :end' >>confcache
25401 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 24543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25402 if test -w "$cache_file"; then 24544 if test -w "$cache_file"; then
25403 test "x$cache_file" != "x/dev/null" && 24545 test "x$cache_file" != "x/dev/null" &&
25404 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 24546 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25405 $as_echo "$as_me: updating cache $cache_file" >&6;} 24547 echo "$as_me: updating cache $cache_file" >&6;}
25406 cat confcache >$cache_file 24548 cat confcache >$cache_file
25407 else 24549 else
25408 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 24550 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25409 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 24551 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25410 fi 24552 fi
25411 fi 24553 fi
25412 rm -f confcache 24554 rm -f confcache
25413 24555
25414 test "x$prefix" = xNONE && prefix=$ac_default_prefix 24556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25420 ac_libobjs= 24562 ac_libobjs=
25421 ac_ltlibobjs= 24563 ac_ltlibobjs=
25422 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 24564 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25423 # 1. Remove the extension, and $U if already installed. 24565 # 1. Remove the extension, and $U if already installed.
25424 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 24566 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25425 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 24567 ac_i=`echo "$ac_i" | sed "$ac_script"`
25426 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 24568 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25427 # will be set to the directory where LIBOBJS objects are built. 24569 # will be set to the directory where LIBOBJS objects are built.
25428 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 24570 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25429 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 24571 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25430 done 24572 done
25433 LTLIBOBJS=$ac_ltlibobjs 24575 LTLIBOBJS=$ac_ltlibobjs
25434 24576
25435 24577
25436 24578
25437 : ${CONFIG_STATUS=./config.status} 24579 : ${CONFIG_STATUS=./config.status}
25438 ac_write_fail=0
25439 ac_clean_files_save=$ac_clean_files 24580 ac_clean_files_save=$ac_clean_files
25440 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 24581 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25441 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 24582 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25442 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 24583 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25443 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24584 cat >$CONFIG_STATUS <<_ACEOF
25444 #! $SHELL 24585 #! $SHELL
25445 # Generated by $as_me. 24586 # Generated by $as_me.
25446 # Run this file to recreate the current configuration. 24587 # Run this file to recreate the current configuration.
25447 # Compiler output produced by configure, useful for debugging 24588 # Compiler output produced by configure, useful for debugging
25448 # configure, is in config.log if it exists. 24589 # configure, is in config.log if it exists.
25451 ac_cs_recheck=false 24592 ac_cs_recheck=false
25452 ac_cs_silent=false 24593 ac_cs_silent=false
25453 SHELL=\${CONFIG_SHELL-$SHELL} 24594 SHELL=\${CONFIG_SHELL-$SHELL}
25454 _ACEOF 24595 _ACEOF
25455 24596
25456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24597 cat >>$CONFIG_STATUS <<\_ACEOF
25457 ## --------------------- ## 24598 ## --------------------- ##
25458 ## M4sh Initialization. ## 24599 ## M4sh Initialization. ##
25459 ## --------------------- ## 24600 ## --------------------- ##
25460 24601
25461 # Be more Bourne compatible 24602 # Be more Bourne compatible
25462 DUALCASE=1; export DUALCASE # for MKS sh 24603 DUALCASE=1; export DUALCASE # for MKS sh
25463 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24604 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25464 emulate sh 24605 emulate sh
25465 NULLCMD=: 24606 NULLCMD=:
25466 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24607 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25467 # is contrary to our usage. Disable this feature. 24608 # is contrary to our usage. Disable this feature.
25468 alias -g '${1+"$@"}'='"$@"' 24609 alias -g '${1+"$@"}'='"$@"'
25469 setopt NO_GLOB_SUBST 24610 setopt NO_GLOB_SUBST
25470 else 24611 else
25471 case `(set -o) 2>/dev/null` in 24612 case `(set -o) 2>/dev/null` in
25483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 24624 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 24625 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25485 as_cr_digits='0123456789' 24626 as_cr_digits='0123456789'
25486 as_cr_alnum=$as_cr_Letters$as_cr_digits 24627 as_cr_alnum=$as_cr_Letters$as_cr_digits
25487 24628
25488 as_nl='
25489 '
25490 export as_nl
25491 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25492 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25493 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25494 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25495 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25496 as_echo='printf %s\n'
25497 as_echo_n='printf %s'
25498 else
25499 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25500 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25501 as_echo_n='/usr/ucb/echo -n'
25502 else
25503 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25504 as_echo_n_body='eval
25505 arg=$1;
25506 case $arg in
25507 *"$as_nl"*)
25508 expr "X$arg" : "X\\(.*\\)$as_nl";
25509 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25510 esac;
25511 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25512 '
25513 export as_echo_n_body
25514 as_echo_n='sh -c $as_echo_n_body as_echo'
25515 fi
25516 export as_echo_body
25517 as_echo='sh -c $as_echo_body as_echo'
25518 fi
25519
25520 # The user is always right. 24629 # The user is always right.
25521 if test "${PATH_SEPARATOR+set}" != set; then 24630 if test "${PATH_SEPARATOR+set}" != set; then
25522 PATH_SEPARATOR=: 24631 echo "#! /bin/sh" >conf$$.sh
25523 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 24632 echo "exit 0" >>conf$$.sh
25524 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 24633 chmod +x conf$$.sh
25525 PATH_SEPARATOR=';' 24634 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25526 } 24635 PATH_SEPARATOR=';'
24636 else
24637 PATH_SEPARATOR=:
24638 fi
24639 rm -f conf$$.sh
25527 fi 24640 fi
25528 24641
25529 # Support unset when possible. 24642 # Support unset when possible.
25530 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 24643 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25531 as_unset=unset 24644 as_unset=unset
25537 # IFS 24650 # IFS
25538 # We need space, tab and new line, in precisely that order. Quoting is 24651 # We need space, tab and new line, in precisely that order. Quoting is
25539 # there to prevent editors from complaining about space-tab. 24652 # there to prevent editors from complaining about space-tab.
25540 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 24653 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25541 # splitting by setting IFS to empty value.) 24654 # splitting by setting IFS to empty value.)
24655 as_nl='
24656 '
25542 IFS=" "" $as_nl" 24657 IFS=" "" $as_nl"
25543 24658
25544 # Find who we are. Look in the path if we contain no directory separator. 24659 # Find who we are. Look in the path if we contain no directory separator.
25545 case $0 in 24660 case $0 in
25546 *[\\/]* ) as_myself=$0 ;; 24661 *[\\/]* ) as_myself=$0 ;;
25559 # in which case we are not to be found in the path. 24674 # in which case we are not to be found in the path.
25560 if test "x$as_myself" = x; then 24675 if test "x$as_myself" = x; then
25561 as_myself=$0 24676 as_myself=$0
25562 fi 24677 fi
25563 if test ! -f "$as_myself"; then 24678 if test ! -f "$as_myself"; then
25564 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 24679 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25565 { (exit 1); exit 1; } 24680 { (exit 1); exit 1; }
25566 fi 24681 fi
25567 24682
25568 # Work around bugs in pre-3.0 UWIN ksh. 24683 # Work around bugs in pre-3.0 UWIN ksh.
25569 for as_var in ENV MAIL MAILPATH 24684 for as_var in ENV MAIL MAILPATH
25572 PS1='$ ' 24687 PS1='$ '
25573 PS2='> ' 24688 PS2='> '
25574 PS4='+ ' 24689 PS4='+ '
25575 24690
25576 # NLS nuisances. 24691 # NLS nuisances.
25577 LC_ALL=C 24692 for as_var in \
25578 export LC_ALL 24693 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25579 LANGUAGE=C 24694 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25580 export LANGUAGE 24695 LC_TELEPHONE LC_TIME
24696 do
24697 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24698 eval $as_var=C; export $as_var
24699 else
24700 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24701 fi
24702 done
25581 24703
25582 # Required to use basename. 24704 # Required to use basename.
25583 if expr a : '\(a\)' >/dev/null 2>&1 && 24705 if expr a : '\(a\)' >/dev/null 2>&1 &&
25584 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24706 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25585 as_expr=expr 24707 as_expr=expr
25597 # Name of the executable. 24719 # Name of the executable.
25598 as_me=`$as_basename -- "$0" || 24720 as_me=`$as_basename -- "$0" ||
25599 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 24721 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25600 X"$0" : 'X\(//\)$' \| \ 24722 X"$0" : 'X\(//\)$' \| \
25601 X"$0" : 'X\(/\)' \| . 2>/dev/null || 24723 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25602 $as_echo X/"$0" | 24724 echo X/"$0" |
25603 sed '/^.*\/\([^/][^/]*\)\/*$/{ 24725 sed '/^.*\/\([^/][^/]*\)\/*$/{
25604 s//\1/ 24726 s//\1/
25605 q 24727 q
25606 } 24728 }
25607 /^X\/\(\/\/\)$/{ 24729 /^X\/\(\/\/\)$/{
25648 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 24770 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25649 t loop 24771 t loop
25650 s/-\n.*// 24772 s/-\n.*//
25651 ' >$as_me.lineno && 24773 ' >$as_me.lineno &&
25652 chmod +x "$as_me.lineno" || 24774 chmod +x "$as_me.lineno" ||
25653 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 24775 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25654 { (exit 1); exit 1; }; } 24776 { (exit 1); exit 1; }; }
25655 24777
25656 # Don't try to exec as it changes $[0], causing all sort of problems 24778 # Don't try to exec as it changes $[0], causing all sort of problems
25657 # (the dirname of $[0] is not the place where we might find the 24779 # (the dirname of $[0] is not the place where we might find the
25658 # original and so on. Autoconf is especially sensitive to this). 24780 # original and so on. Autoconf is especially sensitive to this).
25676 *) ECHO_C='\c';; 24798 *) ECHO_C='\c';;
25677 esac;; 24799 esac;;
25678 *) 24800 *)
25679 ECHO_N='-n';; 24801 ECHO_N='-n';;
25680 esac 24802 esac
24803
25681 if expr a : '\(a\)' >/dev/null 2>&1 && 24804 if expr a : '\(a\)' >/dev/null 2>&1 &&
25682 test "X`expr 00001 : '.*\(...\)'`" = X001; then 24805 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25683 as_expr=expr 24806 as_expr=expr
25684 else 24807 else
25685 as_expr=false 24808 as_expr=false
25688 rm -f conf$$ conf$$.exe conf$$.file 24811 rm -f conf$$ conf$$.exe conf$$.file
25689 if test -d conf$$.dir; then 24812 if test -d conf$$.dir; then
25690 rm -f conf$$.dir/conf$$.file 24813 rm -f conf$$.dir/conf$$.file
25691 else 24814 else
25692 rm -f conf$$.dir 24815 rm -f conf$$.dir
25693 mkdir conf$$.dir 2>/dev/null 24816 mkdir conf$$.dir
25694 fi 24817 fi
25695 if (echo >conf$$.file) 2>/dev/null; then 24818 echo >conf$$.file
25696 if ln -s conf$$.file conf$$ 2>/dev/null; then 24819 if ln -s conf$$.file conf$$ 2>/dev/null; then
25697 as_ln_s='ln -s' 24820 as_ln_s='ln -s'
25698 # ... but there are two gotchas: 24821 # ... but there are two gotchas:
25699 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 24822 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25700 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 24823 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25701 # In both cases, we have to default to `cp -p'. 24824 # In both cases, we have to default to `cp -p'.
25702 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 24825 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25703 as_ln_s='cp -p'
25704 elif ln conf$$.file conf$$ 2>/dev/null; then
25705 as_ln_s=ln
25706 else
25707 as_ln_s='cp -p' 24826 as_ln_s='cp -p'
25708 fi 24827 elif ln conf$$.file conf$$ 2>/dev/null; then
24828 as_ln_s=ln
25709 else 24829 else
25710 as_ln_s='cp -p' 24830 as_ln_s='cp -p'
25711 fi 24831 fi
25712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 24832 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25713 rmdir conf$$.dir 2>/dev/null 24833 rmdir conf$$.dir 2>/dev/null
25728 as_ls_L_option= 24848 as_ls_L_option=
25729 fi 24849 fi
25730 as_test_x=' 24850 as_test_x='
25731 eval sh -c '\'' 24851 eval sh -c '\''
25732 if test -d "$1"; then 24852 if test -d "$1"; then
25733 test -d "$1/."; 24853 test -d "$1/.";
25734 else 24854 else
25735 case $1 in 24855 case $1 in
25736 -*)set "./$1";; 24856 -*)set "./$1";;
25737 esac; 24857 esac;
25738 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 24858 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25739 ???[sx]*):;;*)false;;esac;fi 24859 ???[sx]*):;;*)false;;esac;fi
25740 '\'' sh 24860 '\'' sh
25741 ' 24861 '
25754 # Save the log message, to keep $[0] and so on meaningful, and to 24874 # Save the log message, to keep $[0] and so on meaningful, and to
25755 # report actual input values of CONFIG_FILES etc. instead of their 24875 # report actual input values of CONFIG_FILES etc. instead of their
25756 # values after options handling. 24876 # values after options handling.
25757 ac_log=" 24877 ac_log="
25758 This file was extended by emacs $as_me 23.0.91, which was 24878 This file was extended by emacs $as_me 23.0.91, which was
25759 generated by GNU Autoconf 2.63. Invocation command line was 24879 generated by GNU Autoconf 2.61. Invocation command line was
25760 24880
25761 CONFIG_FILES = $CONFIG_FILES 24881 CONFIG_FILES = $CONFIG_FILES
25762 CONFIG_HEADERS = $CONFIG_HEADERS 24882 CONFIG_HEADERS = $CONFIG_HEADERS
25763 CONFIG_LINKS = $CONFIG_LINKS 24883 CONFIG_LINKS = $CONFIG_LINKS
25764 CONFIG_COMMANDS = $CONFIG_COMMANDS 24884 CONFIG_COMMANDS = $CONFIG_COMMANDS
25767 on `(hostname || uname -n) 2>/dev/null | sed 1q` 24887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25768 " 24888 "
25769 24889
25770 _ACEOF 24890 _ACEOF
25771 24891
25772 case $ac_config_files in *" 24892 cat >>$CONFIG_STATUS <<_ACEOF
25773 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25774 esac
25775
25776 case $ac_config_headers in *"
25777 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25778 esac
25779
25780
25781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25782 # Files that config.status was made for. 24893 # Files that config.status was made for.
25783 config_files="$ac_config_files" 24894 config_files="$ac_config_files"
25784 config_headers="$ac_config_headers" 24895 config_headers="$ac_config_headers"
25785 config_commands="$ac_config_commands" 24896 config_commands="$ac_config_commands"
25786 24897
25787 _ACEOF 24898 _ACEOF
25788 24899
25789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24900 cat >>$CONFIG_STATUS <<\_ACEOF
25790 ac_cs_usage="\ 24901 ac_cs_usage="\
25791 \`$as_me' instantiates files from templates according to the 24902 \`$as_me' instantiates files from templates according to the
25792 current configuration. 24903 current configuration.
25793 24904
25794 Usage: $0 [OPTION]... [FILE]... 24905 Usage: $0 [OPTIONS] [FILE]...
25795 24906
25796 -h, --help print this help, then exit 24907 -h, --help print this help, then exit
25797 -V, --version print version number and configuration settings, then exit 24908 -V, --version print version number and configuration settings, then exit
25798 -q, --quiet, --silent 24909 -q, --quiet do not print progress messages
25799 do not print progress messages
25800 -d, --debug don't remove temporary files 24910 -d, --debug don't remove temporary files
25801 --recheck update $as_me by reconfiguring in the same conditions 24911 --recheck update $as_me by reconfiguring in the same conditions
25802 --file=FILE[:TEMPLATE] 24912 --file=FILE[:TEMPLATE]
25803 instantiate the configuration file FILE 24913 instantiate the configuration file FILE
25804 --header=FILE[:TEMPLATE] 24914 --header=FILE[:TEMPLATE]
25805 instantiate the configuration header FILE 24915 instantiate the configuration header FILE
25806 24916
25807 Configuration files: 24917 Configuration files:
25808 $config_files 24918 $config_files
25809 24919
25810 Configuration headers: 24920 Configuration headers:
25814 $config_commands 24924 $config_commands
25815 24925
25816 Report bugs to <bug-autoconf@gnu.org>." 24926 Report bugs to <bug-autoconf@gnu.org>."
25817 24927
25818 _ACEOF 24928 _ACEOF
25819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 24929 cat >>$CONFIG_STATUS <<_ACEOF
25820 ac_cs_version="\\ 24930 ac_cs_version="\\
25821 emacs config.status 23.0.91 24931 emacs config.status 23.0.91
25822 configured by $0, generated by GNU Autoconf 2.63, 24932 configured by $0, generated by GNU Autoconf 2.61,
25823 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 24933 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25824 24934
25825 Copyright (C) 2008 Free Software Foundation, Inc. 24935 Copyright (C) 2006 Free Software Foundation, Inc.
25826 This config.status script is free software; the Free Software Foundation 24936 This config.status script is free software; the Free Software Foundation
25827 gives unlimited permission to copy, distribute and modify it." 24937 gives unlimited permission to copy, distribute and modify it."
25828 24938
25829 ac_pwd='$ac_pwd' 24939 ac_pwd='$ac_pwd'
25830 srcdir='$srcdir' 24940 srcdir='$srcdir'
25831 INSTALL='$INSTALL' 24941 INSTALL='$INSTALL'
25832 test -n "\$AWK" || AWK=awk 24942 _ACEOF
25833 _ACEOF 24943
25834 24944 cat >>$CONFIG_STATUS <<\_ACEOF
25835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 24945 # If no file are specified by the user, then we need to provide default
25836 # The default lists apply if the user does not specify any file. 24946 # value. By we need to know if files were specified by the user.
25837 ac_need_defaults=: 24947 ac_need_defaults=:
25838 while test $# != 0 24948 while test $# != 0
25839 do 24949 do
25840 case $1 in 24950 case $1 in
25841 --*=*) 24951 --*=*)
25853 case $ac_option in 24963 case $ac_option in
25854 # Handling of the options. 24964 # Handling of the options.
25855 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 24965 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25856 ac_cs_recheck=: ;; 24966 ac_cs_recheck=: ;;
25857 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 24967 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25858 $as_echo "$ac_cs_version"; exit ;; 24968 echo "$ac_cs_version"; exit ;;
25859 --debug | --debu | --deb | --de | --d | -d ) 24969 --debug | --debu | --deb | --de | --d | -d )
25860 debug=: ;; 24970 debug=: ;;
25861 --file | --fil | --fi | --f ) 24971 --file | --fil | --fi | --f )
25862 $ac_shift 24972 $ac_shift
25863 case $ac_optarg in 24973 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25864 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25865 esac
25866 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
25867 ac_need_defaults=false;; 24974 ac_need_defaults=false;;
25868 --header | --heade | --head | --hea ) 24975 --header | --heade | --head | --hea )
25869 $ac_shift 24976 $ac_shift
25870 case $ac_optarg in 24977 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25871 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25872 esac
25873 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
25874 ac_need_defaults=false;; 24978 ac_need_defaults=false;;
25875 --he | --h) 24979 --he | --h)
25876 # Conflict between --help and --header 24980 # Conflict between --help and --header
25877 { $as_echo "$as_me: error: ambiguous option: $1 24981 { echo "$as_me: error: ambiguous option: $1
25878 Try \`$0 --help' for more information." >&2 24982 Try \`$0 --help' for more information." >&2
25879 { (exit 1); exit 1; }; };; 24983 { (exit 1); exit 1; }; };;
25880 --help | --hel | -h ) 24984 --help | --hel | -h )
25881 $as_echo "$ac_cs_usage"; exit ;; 24985 echo "$ac_cs_usage"; exit ;;
25882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 24986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25883 | -silent | --silent | --silen | --sile | --sil | --si | --s) 24987 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25884 ac_cs_silent=: ;; 24988 ac_cs_silent=: ;;
25885 24989
25886 # This is an error. 24990 # This is an error.
25887 -*) { $as_echo "$as_me: error: unrecognized option: $1 24991 -*) { echo "$as_me: error: unrecognized option: $1
25888 Try \`$0 --help' for more information." >&2 24992 Try \`$0 --help' for more information." >&2
25889 { (exit 1); exit 1; }; } ;; 24993 { (exit 1); exit 1; }; } ;;
25890 24994
25891 *) ac_config_targets="$ac_config_targets $1" 24995 *) ac_config_targets="$ac_config_targets $1"
25892 ac_need_defaults=false ;; 24996 ac_need_defaults=false ;;
25901 exec 6>/dev/null 25005 exec 6>/dev/null
25902 ac_configure_extra_args="$ac_configure_extra_args --silent" 25006 ac_configure_extra_args="$ac_configure_extra_args --silent"
25903 fi 25007 fi
25904 25008
25905 _ACEOF 25009 _ACEOF
25906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25010 cat >>$CONFIG_STATUS <<_ACEOF
25907 if \$ac_cs_recheck; then 25011 if \$ac_cs_recheck; then
25908 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 25012 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25909 shift 25013 CONFIG_SHELL=$SHELL
25910 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25911 CONFIG_SHELL='$SHELL'
25912 export CONFIG_SHELL 25014 export CONFIG_SHELL
25913 exec "\$@" 25015 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25914 fi 25016 fi
25915 25017
25916 _ACEOF 25018 _ACEOF
25917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25019 cat >>$CONFIG_STATUS <<\_ACEOF
25918 exec 5>>config.log 25020 exec 5>>config.log
25919 { 25021 {
25920 echo 25022 echo
25921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25023 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25922 ## Running $as_me. ## 25024 ## Running $as_me. ##
25923 _ASBOX 25025 _ASBOX
25924 $as_echo "$ac_log" 25026 echo "$ac_log"
25925 } >&5 25027 } >&5
25926 25028
25927 _ACEOF 25029 _ACEOF
25928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25030 cat >>$CONFIG_STATUS <<_ACEOF
25929 # 25031 #
25930 # INIT-COMMANDS 25032 # INIT-COMMANDS
25931 # 25033 #
25932 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs" 25034 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" cpp_undefs="$cpp_undefs"
25933 25035
25934 _ACEOF 25036 _ACEOF
25935 25037
25936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25038 cat >>$CONFIG_STATUS <<\_ACEOF
25937 25039
25938 # Handling of arguments. 25040 # Handling of arguments.
25939 for ac_config_target in $ac_config_targets 25041 for ac_config_target in $ac_config_targets
25940 do 25042 do
25941 case $ac_config_target in 25043 case $ac_config_target in
25951 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; 25053 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
25952 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; 25054 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
25953 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 25055 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
25954 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 25056 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
25955 25057
25956 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 25058 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25957 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 25059 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25958 { (exit 1); exit 1; }; };; 25060 { (exit 1); exit 1; }; };;
25959 esac 25061 esac
25960 done 25062 done
25961 25063
25962 25064
25993 { 25095 {
25994 tmp=./conf$$-$RANDOM 25096 tmp=./conf$$-$RANDOM
25995 (umask 077 && mkdir "$tmp") 25097 (umask 077 && mkdir "$tmp")
25996 } || 25098 } ||
25997 { 25099 {
25998 $as_echo "$as_me: cannot create a temporary directory in ." >&2 25100 echo "$me: cannot create a temporary directory in ." >&2
25999 { (exit 1); exit 1; } 25101 { (exit 1); exit 1; }
26000 } 25102 }
26001 25103
26002 # Set up the scripts for CONFIG_FILES section. 25104 #
26003 # No need to generate them if there are no CONFIG_FILES. 25105 # Set up the sed scripts for CONFIG_FILES section.
26004 # This happens for instance with `./config.status config.h'. 25106 #
25107
25108 # No need to generate the scripts if there are no CONFIG_FILES.
25109 # This happens for instance when ./config.status config.h
26005 if test -n "$CONFIG_FILES"; then 25110 if test -n "$CONFIG_FILES"; then
26006 25111
26007 25112 _ACEOF
26008 ac_cr=' 25113
26009 ' 25114
26010 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 25115
26011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26012 ac_cs_awk_cr='\\r'
26013 else
26014 ac_cs_awk_cr=$ac_cr
26015 fi
26016
26017 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26018 _ACEOF
26019
26020
26021 {
26022 echo "cat >conf$$subs.awk <<_ACEOF" &&
26023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26024 echo "_ACEOF"
26025 } >conf$$subs.sh ||
26026 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26027 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26028 { (exit 1); exit 1; }; }
26029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26030 ac_delim='%!_!# ' 25116 ac_delim='%!_!# '
26031 for ac_last_try in false false false false false :; do 25117 for ac_last_try in false false false false false :; do
26032 . ./conf$$subs.sh || 25118 cat >conf$$subs.sed <<_ACEOF
26033 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25119 SHELL!$SHELL$ac_delim
26034 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25120 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26035 { (exit 1); exit 1; }; } 25121 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26036 25122 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26037 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 25123 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26038 if test $ac_delim_n = $ac_delim_num; then 25124 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25125 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25126 exec_prefix!$exec_prefix$ac_delim
25127 prefix!$prefix$ac_delim
25128 program_transform_name!$program_transform_name$ac_delim
25129 bindir!$bindir$ac_delim
25130 sbindir!$sbindir$ac_delim
25131 libexecdir!$libexecdir$ac_delim
25132 datarootdir!$datarootdir$ac_delim
25133 datadir!$datadir$ac_delim
25134 sysconfdir!$sysconfdir$ac_delim
25135 sharedstatedir!$sharedstatedir$ac_delim
25136 localstatedir!$localstatedir$ac_delim
25137 includedir!$includedir$ac_delim
25138 oldincludedir!$oldincludedir$ac_delim
25139 docdir!$docdir$ac_delim
25140 infodir!$infodir$ac_delim
25141 htmldir!$htmldir$ac_delim
25142 dvidir!$dvidir$ac_delim
25143 pdfdir!$pdfdir$ac_delim
25144 psdir!$psdir$ac_delim
25145 libdir!$libdir$ac_delim
25146 localedir!$localedir$ac_delim
25147 mandir!$mandir$ac_delim
25148 DEFS!$DEFS$ac_delim
25149 ECHO_C!$ECHO_C$ac_delim
25150 ECHO_N!$ECHO_N$ac_delim
25151 ECHO_T!$ECHO_T$ac_delim
25152 LIBS!$LIBS$ac_delim
25153 build_alias!$build_alias$ac_delim
25154 host_alias!$host_alias$ac_delim
25155 target_alias!$target_alias$ac_delim
25156 MAINT!$MAINT$ac_delim
25157 build!$build$ac_delim
25158 build_cpu!$build_cpu$ac_delim
25159 build_vendor!$build_vendor$ac_delim
25160 build_os!$build_os$ac_delim
25161 host!$host$ac_delim
25162 host_cpu!$host_cpu$ac_delim
25163 host_vendor!$host_vendor$ac_delim
25164 host_os!$host_os$ac_delim
25165 CC!$CC$ac_delim
25166 CFLAGS!$CFLAGS$ac_delim
25167 LDFLAGS!$LDFLAGS$ac_delim
25168 CPPFLAGS!$CPPFLAGS$ac_delim
25169 ac_ct_CC!$ac_ct_CC$ac_delim
25170 EXEEXT!$EXEEXT$ac_delim
25171 OBJEXT!$OBJEXT$ac_delim
25172 CPP!$CPP$ac_delim
25173 GREP!$GREP$ac_delim
25174 EGREP!$EGREP$ac_delim
25175 LN_S!$LN_S$ac_delim
25176 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25177 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25178 INSTALL_DATA!$INSTALL_DATA$ac_delim
25179 RANLIB!$RANLIB$ac_delim
25180 INSTALL_INFO!$INSTALL_INFO$ac_delim
25181 GZIP_PROG!$GZIP_PROG$ac_delim
25182 MAKEINFO!$MAKEINFO$ac_delim
25183 LIBSOUND!$LIBSOUND$ac_delim
25184 PKG_CONFIG!$PKG_CONFIG$ac_delim
25185 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
25186 ALSA_LIBS!$ALSA_LIBS$ac_delim
25187 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim
25188 SET_MAKE!$SET_MAKE$ac_delim
25189 XMKMF!$XMKMF$ac_delim
25190 HAVE_XSERVER!$HAVE_XSERVER$ac_delim
25191 RSVG_CFLAGS!$RSVG_CFLAGS$ac_delim
25192 RSVG_LIBS!$RSVG_LIBS$ac_delim
25193 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
25194 GTK_LIBS!$GTK_LIBS$ac_delim
25195 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
25196 DBUS_LIBS!$DBUS_LIBS$ac_delim
25197 FONTCONFIG_CFLAGS!$FONTCONFIG_CFLAGS$ac_delim
25198 FONTCONFIG_LIBS!$FONTCONFIG_LIBS$ac_delim
25199 XFT_CFLAGS!$XFT_CFLAGS$ac_delim
25200 XFT_LIBS!$XFT_LIBS$ac_delim
25201 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
25202 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
25203 LIBOTF_CFLAGS!$LIBOTF_CFLAGS$ac_delim
25204 LIBOTF_LIBS!$LIBOTF_LIBS$ac_delim
25205 M17N_FLT_CFLAGS!$M17N_FLT_CFLAGS$ac_delim
25206 M17N_FLT_LIBS!$M17N_FLT_LIBS$ac_delim
25207 ALLOCA!$ALLOCA$ac_delim
25208 liblockfile!$liblockfile$ac_delim
25209 LIBOBJS!$LIBOBJS$ac_delim
25210 NEED_SETGID!$NEED_SETGID$ac_delim
25211 KMEM_GROUP!$KMEM_GROUP$ac_delim
25212 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim
25213 GETOPT_H!$GETOPT_H$ac_delim
25214 GETOPTOBJS!$GETOPTOBJS$ac_delim
25215 version!$version$ac_delim
25216 _ACEOF
25217
25218 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26039 break 25219 break
26040 elif $ac_last_try; then 25220 elif $ac_last_try; then
26041 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 25221 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26042 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 25222 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26043 { (exit 1); exit 1; }; } 25223 { (exit 1); exit 1; }; }
26044 else 25224 else
26045 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 25225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26046 fi 25226 fi
26047 done 25227 done
26048 rm -f conf$$subs.sh 25228
26049 25229 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25230 if test -n "$ac_eof"; then
26051 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 25231 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26052 _ACEOF 25232 ac_eof=`expr $ac_eof + 1`
26053 sed -n ' 25233 fi
26054 h 25234
26055 s/^/S["/; s/!.*/"]=/ 25235 cat >>$CONFIG_STATUS <<_ACEOF
26056 p 25236 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26057 g 25237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26058 s/^[^!]*!// 25238 _ACEOF
26059 :repl 25239 sed '
26060 t repl 25240 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26061 s/'"$ac_delim"'$// 25241 s/^/s,@/; s/!/@,|#_!!_#|/
26062 t delim 25242 :n
26063 :nl 25243 t n
26064 h 25244 s/'"$ac_delim"'$/,g/; t
26065 s/\(.\{148\}\).*/\1/ 25245 s/$/\\/; p
26066 t more1 25246 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26067 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 25247 ' >>$CONFIG_STATUS <conf$$subs.sed
26068 p 25248 rm -f conf$$subs.sed
26069 n 25249 cat >>$CONFIG_STATUS <<_ACEOF
26070 b repl 25250 CEOF$ac_eof
26071 :more1 25251 _ACEOF
26072 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25252
26073 p 25253
26074 g 25254 ac_delim='%!_!# '
26075 s/.\{148\}// 25255 for ac_last_try in false false false false false :; do
26076 t nl 25256 cat >conf$$subs.sed <<_ACEOF
26077 :delim 25257 configuration!$configuration$ac_delim
26078 h 25258 canonical!$canonical$ac_delim
26079 s/\(.\{148\}\).*/\1/ 25259 srcdir!$srcdir$ac_delim
26080 t more2 25260 lispdir!$lispdir$ac_delim
26081 s/["\\]/\\&/g; s/^/"/; s/$/"/ 25261 locallisppath!$locallisppath$ac_delim
26082 p 25262 lisppath!$lisppath$ac_delim
26083 b 25263 x_default_search_path!$x_default_search_path$ac_delim
26084 :more2 25264 etcdir!$etcdir$ac_delim
26085 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 25265 archlibdir!$archlibdir$ac_delim
26086 p 25266 bitmapdir!$bitmapdir$ac_delim
26087 g 25267 gamedir!$gamedir$ac_delim
26088 s/.\{148\}// 25268 gameuser!$gameuser$ac_delim
26089 t delim 25269 c_switch_system!$c_switch_system$ac_delim
26090 ' <conf$$subs.awk | sed ' 25270 c_switch_machine!$c_switch_machine$ac_delim
26091 /^[^""]/{ 25271 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim
26092 N 25272 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim
26093 s/\n// 25273 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim
26094 } 25274 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim
26095 ' >>$CONFIG_STATUS || ac_write_fail=1 25275 machfile!$machfile$ac_delim
26096 rm -f conf$$subs.awk 25276 opsysfile!$opsysfile$ac_delim
26097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25277 ns_appdir!$ns_appdir$ac_delim
26098 _ACAWK 25278 ns_appbindir!$ns_appbindir$ac_delim
26099 cat >>"\$tmp/subs1.awk" <<_ACAWK && 25279 ns_appresdir!$ns_appresdir$ac_delim
26100 for (key in S) S_is_set[key] = 1 25280 ns_appsrc!$ns_appsrc$ac_delim
26101 FS = "" 25281 GNUSTEP_MAKEFILES!$GNUSTEP_MAKEFILES$ac_delim
26102 25282 GNUSTEP_SYSTEM_HEADERS!$GNUSTEP_SYSTEM_HEADERS$ac_delim
26103 } 25283 GNUSTEP_SYSTEM_LIBRARIES!$GNUSTEP_SYSTEM_LIBRARIES$ac_delim
26104 { 25284 GNU_OBJC_CFLAGS!$GNU_OBJC_CFLAGS$ac_delim
26105 line = $ 0 25285 LIB_SRC_EXTRA_INSTALLABLES!$LIB_SRC_EXTRA_INSTALLABLES$ac_delim
26106 nfields = split(line, field, "@") 25286 LTLIBOBJS!$LTLIBOBJS$ac_delim
26107 substed = 0 25287 _ACEOF
26108 len = length(field[1]) 25288
26109 for (i = 2; i < nfields; i++) { 25289 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
26110 key = field[i] 25290 break
26111 keylen = length(key) 25291 elif $ac_last_try; then
26112 if (S_is_set[key]) { 25292 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26113 value = S[key] 25293 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26114 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26115 len += length(value) + length(field[++i])
26116 substed = 1
26117 } else
26118 len += 1 + keylen
26119 }
26120
26121 print line
26122 }
26123
26124 _ACAWK
26125 _ACEOF
26126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26127 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26128 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26129 else
26130 cat
26131 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26132 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
26133 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
26134 { (exit 1); exit 1; }; } 25294 { (exit 1); exit 1; }; }
26135 _ACEOF 25295 else
25296 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25297 fi
25298 done
25299
25300 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25301 if test -n "$ac_eof"; then
25302 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25303 ac_eof=`expr $ac_eof + 1`
25304 fi
25305
25306 cat >>$CONFIG_STATUS <<_ACEOF
25307 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25308 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25309 _ACEOF
25310 sed '
25311 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25312 s/^/s,@/; s/!/@,|#_!!_#|/
25313 :n
25314 t n
25315 s/'"$ac_delim"'$/,g/; t
25316 s/$/\\/; p
25317 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25318 ' >>$CONFIG_STATUS <conf$$subs.sed
25319 rm -f conf$$subs.sed
25320 cat >>$CONFIG_STATUS <<_ACEOF
25321 :end
25322 s/|#_!!_#|//g
25323 CEOF$ac_eof
25324 _ACEOF
25325
26136 25326
26137 # VPATH may cause trouble with some makes, so we remove $(srcdir), 25327 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26138 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 25328 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26139 # trailing colons and then remove the whole line if VPATH becomes empty 25329 # trailing colons and then remove the whole line if VPATH becomes empty
26140 # (actually we leave an empty line to preserve line numbers). 25330 # (actually we leave an empty line to preserve line numbers).
26147 s/:*$// 25337 s/:*$//
26148 s/^[^=]*=[ ]*$// 25338 s/^[^=]*=[ ]*$//
26149 }' 25339 }'
26150 fi 25340 fi
26151 25341
26152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25342 cat >>$CONFIG_STATUS <<\_ACEOF
26153 fi # test -n "$CONFIG_FILES" 25343 fi # test -n "$CONFIG_FILES"
26154 25344
26155 # Set up the scripts for CONFIG_HEADERS section. 25345
26156 # No need to generate them if there are no CONFIG_HEADERS. 25346 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
26157 # This happens for instance with `./config.status Makefile'.
26158 if test -n "$CONFIG_HEADERS"; then
26159 cat >"$tmp/defines.awk" <<\_ACAWK ||
26160 BEGIN {
26161 _ACEOF
26162
26163 # Transform confdefs.h into an awk script `defines.awk', embedded as
26164 # here-document in config.status, that substitutes the proper values into
26165 # config.h.in to produce config.h.
26166
26167 # Create a delimiter string that does not exist in confdefs.h, to ease
26168 # handling of long lines.
26169 ac_delim='%!_!# '
26170 for ac_last_try in false false :; do
26171 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26172 if test -z "$ac_t"; then
26173 break
26174 elif $ac_last_try; then
26175 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
26176 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
26177 { (exit 1); exit 1; }; }
26178 else
26179 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26180 fi
26181 done
26182
26183 # For the awk script, D is an array of macro values keyed by name,
26184 # likewise P contains macro parameters if any. Preserve backslash
26185 # newline sequences.
26186
26187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26188 sed -n '
26189 s/.\{148\}/&'"$ac_delim"'/g
26190 t rset
26191 :rset
26192 s/^[ ]*#[ ]*define[ ][ ]*/ /
26193 t def
26194 d
26195 :def
26196 s/\\$//
26197 t bsnl
26198 s/["\\]/\\&/g
26199 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26200 D["\1"]=" \3"/p
26201 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26202 d
26203 :bsnl
26204 s/["\\]/\\&/g
26205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26206 D["\1"]=" \3\\\\\\n"\\/p
26207 t cont
26208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26209 t cont
26210 d
26211 :cont
26212 n
26213 s/.\{148\}/&'"$ac_delim"'/g
26214 t clear
26215 :clear
26216 s/\\$//
26217 t bsnlc
26218 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26219 d
26220 :bsnlc
26221 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26222 b cont
26223 ' <confdefs.h | sed '
26224 s/'"$ac_delim"'/"\\\
26225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26226
26227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26228 for (key in D) D_is_set[key] = 1
26229 FS = ""
26230 }
26231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26232 line = \$ 0
26233 split(line, arg, " ")
26234 if (arg[1] == "#") {
26235 defundef = arg[2]
26236 mac1 = arg[3]
26237 } else {
26238 defundef = substr(arg[1], 2)
26239 mac1 = arg[2]
26240 }
26241 split(mac1, mac2, "(") #)
26242 macro = mac2[1]
26243 prefix = substr(line, 1, index(line, defundef) - 1)
26244 if (D_is_set[macro]) {
26245 # Preserve the white space surrounding the "#".
26246 print prefix "define", macro P[macro] D[macro]
26247 next
26248 } else {
26249 # Replace #undef with comments. This is necessary, for example,
26250 # in the case of _POSIX_SOURCE, which is predefined and required
26251 # on some systems where configure will not decide to define it.
26252 if (defundef == "undef") {
26253 print "/*", prefix defundef, macro, "*/"
26254 next
26255 }
26256 }
26257 }
26258 { print }
26259 _ACAWK
26260 _ACEOF
26261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26262 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26263 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26264 { (exit 1); exit 1; }; }
26265 fi # test -n "$CONFIG_HEADERS"
26266
26267
26268 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26269 shift
26270 for ac_tag
26271 do 25347 do
26272 case $ac_tag in 25348 case $ac_tag in
26273 :[FHLC]) ac_mode=$ac_tag; continue;; 25349 :[FHLC]) ac_mode=$ac_tag; continue;;
26274 esac 25350 esac
26275 case $ac_mode$ac_tag in 25351 case $ac_mode$ac_tag in
26276 :[FHL]*:*);; 25352 :[FHL]*:*);;
26277 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 25353 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26278 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 25354 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26279 { (exit 1); exit 1; }; };; 25355 { (exit 1); exit 1; }; };;
26280 :[FH]-) ac_tag=-:-;; 25356 :[FH]-) ac_tag=-:-;;
26281 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 25357 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26282 esac 25358 esac
26283 ac_save_IFS=$IFS 25359 ac_save_IFS=$IFS
26302 test -f "$ac_f" || 25378 test -f "$ac_f" ||
26303 case $ac_f in 25379 case $ac_f in
26304 [\\/$]*) false;; 25380 [\\/$]*) false;;
26305 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 25381 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26306 esac || 25382 esac ||
26307 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 25383 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26308 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 25384 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26309 { (exit 1); exit 1; }; };; 25385 { (exit 1); exit 1; }; };;
26310 esac 25386 esac
26311 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 25387 ac_file_inputs="$ac_file_inputs $ac_f"
26312 ac_file_inputs="$ac_file_inputs '$ac_f'"
26313 done 25388 done
26314 25389
26315 # Let's still pretend it is `configure' which instantiates (i.e., don't 25390 # Let's still pretend it is `configure' which instantiates (i.e., don't
26316 # use $as_me), people would be surprised to read: 25391 # use $as_me), people would be surprised to read:
26317 # /* config.h. Generated by config.status. */ 25392 # /* config.h. Generated by config.status. */
26318 configure_input='Generated from '` 25393 configure_input="Generated from "`IFS=:
26319 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 25394 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26320 `' by configure.'
26321 if test x"$ac_file" != x-; then 25395 if test x"$ac_file" != x-; then
26322 configure_input="$ac_file. $configure_input" 25396 configure_input="$ac_file. $configure_input"
26323 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 25397 { echo "$as_me:$LINENO: creating $ac_file" >&5
26324 $as_echo "$as_me: creating $ac_file" >&6;} 25398 echo "$as_me: creating $ac_file" >&6;}
26325 fi 25399 fi
26326 # Neutralize special characters interpreted by sed in replacement strings.
26327 case $configure_input in #(
26328 *\&* | *\|* | *\\* )
26329 ac_sed_conf_input=`$as_echo "$configure_input" |
26330 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26331 *) ac_sed_conf_input=$configure_input;;
26332 esac
26333 25400
26334 case $ac_tag in 25401 case $ac_tag in
26335 *:-:* | *:-) cat >"$tmp/stdin" \ 25402 *:-:* | *:-) cat >"$tmp/stdin";;
26336 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26337 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26338 { (exit 1); exit 1; }; } ;;
26339 esac 25403 esac
26340 ;; 25404 ;;
26341 esac 25405 esac
26342 25406
26343 ac_dir=`$as_dirname -- "$ac_file" || 25407 ac_dir=`$as_dirname -- "$ac_file" ||
26344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26345 X"$ac_file" : 'X\(//\)[^/]' \| \ 25409 X"$ac_file" : 'X\(//\)[^/]' \| \
26346 X"$ac_file" : 'X\(//\)$' \| \ 25410 X"$ac_file" : 'X\(//\)$' \| \
26347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 25411 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26348 $as_echo X"$ac_file" | 25412 echo X"$ac_file" |
26349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26350 s//\1/ 25414 s//\1/
26351 q 25415 q
26352 } 25416 }
26353 /^X\(\/\/\)[^/].*/{ 25417 /^X\(\/\/\)[^/].*/{
26369 esac 25433 esac
26370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 25434 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26371 as_dirs= 25435 as_dirs=
26372 while :; do 25436 while :; do
26373 case $as_dir in #( 25437 case $as_dir in #(
26374 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 25438 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26375 *) as_qdir=$as_dir;; 25439 *) as_qdir=$as_dir;;
26376 esac 25440 esac
26377 as_dirs="'$as_qdir' $as_dirs" 25441 as_dirs="'$as_qdir' $as_dirs"
26378 as_dir=`$as_dirname -- "$as_dir" || 25442 as_dir=`$as_dirname -- "$as_dir" ||
26379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 25443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26380 X"$as_dir" : 'X\(//\)[^/]' \| \ 25444 X"$as_dir" : 'X\(//\)[^/]' \| \
26381 X"$as_dir" : 'X\(//\)$' \| \ 25445 X"$as_dir" : 'X\(//\)$' \| \
26382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 25446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26383 $as_echo X"$as_dir" | 25447 echo X"$as_dir" |
26384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 25448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26385 s//\1/ 25449 s//\1/
26386 q 25450 q
26387 } 25451 }
26388 /^X\(\/\/\)[^/].*/{ 25452 /^X\(\/\/\)[^/].*/{
26399 } 25463 }
26400 s/.*/./; q'` 25464 s/.*/./; q'`
26401 test -d "$as_dir" && break 25465 test -d "$as_dir" && break
26402 done 25466 done
26403 test -z "$as_dirs" || eval "mkdir $as_dirs" 25467 test -z "$as_dirs" || eval "mkdir $as_dirs"
26404 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 25468 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26405 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 25469 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26406 { (exit 1); exit 1; }; }; } 25470 { (exit 1); exit 1; }; }; }
26407 ac_builddir=. 25471 ac_builddir=.
26408 25472
26409 case "$ac_dir" in 25473 case "$ac_dir" in
26410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 25474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26411 *) 25475 *)
26412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 25476 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26413 # A ".." for each directory in $ac_dir_suffix. 25477 # A ".." for each directory in $ac_dir_suffix.
26414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 25478 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26415 case $ac_top_builddir_sub in 25479 case $ac_top_builddir_sub in
26416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 25480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 25481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26418 esac ;; 25482 esac ;;
26419 esac 25483 esac
26449 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 25513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26450 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 25514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26451 esac 25515 esac
26452 _ACEOF 25516 _ACEOF
26453 25517
26454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25518 cat >>$CONFIG_STATUS <<\_ACEOF
26455 # If the template does not know about datarootdir, expand it. 25519 # If the template does not know about datarootdir, expand it.
26456 # FIXME: This hack should be removed a few years after 2.60. 25520 # FIXME: This hack should be removed a few years after 2.60.
26457 ac_datarootdir_hack=; ac_datarootdir_seen= 25521 ac_datarootdir_hack=; ac_datarootdir_seen=
26458 25522
26459 ac_sed_dataroot=' 25523 case `sed -n '/datarootdir/ {
26460 /datarootdir/ {
26461 p 25524 p
26462 q 25525 q
26463 } 25526 }
26464 /@datadir@/p 25527 /@datadir@/p
26465 /@docdir@/p 25528 /@docdir@/p
26466 /@infodir@/p 25529 /@infodir@/p
26467 /@localedir@/p 25530 /@localedir@/p
26468 /@mandir@/p 25531 /@mandir@/p
26469 ' 25532 ' $ac_file_inputs` in
26470 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26471 *datarootdir*) ac_datarootdir_seen=yes;; 25533 *datarootdir*) ac_datarootdir_seen=yes;;
26472 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 25534 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26473 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 25535 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26474 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 25536 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26475 _ACEOF 25537 _ACEOF
26476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25538 cat >>$CONFIG_STATUS <<_ACEOF
26477 ac_datarootdir_hack=' 25539 ac_datarootdir_hack='
26478 s&@datadir@&$datadir&g 25540 s&@datadir@&$datadir&g
26479 s&@docdir@&$docdir&g 25541 s&@docdir@&$docdir&g
26480 s&@infodir@&$infodir&g 25542 s&@infodir@&$infodir&g
26481 s&@localedir@&$localedir&g 25543 s&@localedir@&$localedir&g
26485 _ACEOF 25547 _ACEOF
26486 25548
26487 # Neutralize VPATH when `$srcdir' = `.'. 25549 # Neutralize VPATH when `$srcdir' = `.'.
26488 # Shell code in configure.ac might set extrasub. 25550 # Shell code in configure.ac might set extrasub.
26489 # FIXME: do we really want to maintain this feature? 25551 # FIXME: do we really want to maintain this feature?
26490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 25552 cat >>$CONFIG_STATUS <<_ACEOF
26491 ac_sed_extra="$ac_vpsub 25553 sed "$ac_vpsub
26492 $extrasub 25554 $extrasub
26493 _ACEOF 25555 _ACEOF
26494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 25556 cat >>$CONFIG_STATUS <<\_ACEOF
26495 :t 25557 :t
26496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 25558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26497 s|@configure_input@|$ac_sed_conf_input|;t t 25559 s&@configure_input@&$configure_input&;t t
26498 s&@top_builddir@&$ac_top_builddir_sub&;t t 25560 s&@top_builddir@&$ac_top_builddir_sub&;t t
26499 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26500 s&@srcdir@&$ac_srcdir&;t t 25561 s&@srcdir@&$ac_srcdir&;t t
26501 s&@abs_srcdir@&$ac_abs_srcdir&;t t 25562 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26502 s&@top_srcdir@&$ac_top_srcdir&;t t 25563 s&@top_srcdir@&$ac_top_srcdir&;t t
26503 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 25564 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26504 s&@builddir@&$ac_builddir&;t t 25565 s&@builddir@&$ac_builddir&;t t
26505 s&@abs_builddir@&$ac_abs_builddir&;t t 25566 s&@abs_builddir@&$ac_abs_builddir&;t t
26506 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 25567 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26507 s&@INSTALL@&$ac_INSTALL&;t t 25568 s&@INSTALL@&$ac_INSTALL&;t t
26508 $ac_datarootdir_hack 25569 $ac_datarootdir_hack
26509 " 25570 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
26510 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26511 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26512 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26513 { (exit 1); exit 1; }; }
26514 25571
26515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 25572 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26516 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 25573 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 25574 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26518 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25575 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26519 which seems to be undefined. Please make sure it is defined." >&5 25576 which seems to be undefined. Please make sure it is defined." >&5
26520 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 25577 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26521 which seems to be undefined. Please make sure it is defined." >&2;} 25578 which seems to be undefined. Please make sure it is defined." >&2;}
26522 25579
26523 rm -f "$tmp/stdin" 25580 rm -f "$tmp/stdin"
26524 case $ac_file in 25581 case $ac_file in
26525 -) cat "$tmp/out" && rm -f "$tmp/out";; 25582 -) cat "$tmp/out"; rm -f "$tmp/out";;
26526 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 25583 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26527 esac \ 25584 esac
26528 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26529 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26530 { (exit 1); exit 1; }; }
26531 ;; 25585 ;;
26532 :H) 25586 :H)
26533 # 25587 #
26534 # CONFIG_HEADER 25588 # CONFIG_HEADER
26535 # 25589 #
25590 _ACEOF
25591
25592 # Transform confdefs.h into a sed script `conftest.defines', that
25593 # substitutes the proper values into config.h.in to produce config.h.
25594 rm -f conftest.defines conftest.tail
25595 # First, append a space to every undef/define line, to ease matching.
25596 echo 's/$/ /' >conftest.defines
25597 # Then, protect against being on the right side of a sed subst, or in
25598 # an unquoted here document, in config.status. If some macros were
25599 # called several times there might be several #defines for the same
25600 # symbol, which is useless. But do not sort them, since the last
25601 # AC_DEFINE must be honored.
25602 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25603 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25604 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25605 # PARAMS is the parameter list in the macro definition--in most cases, it's
25606 # just an empty string.
25607 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25608 ac_dB='\\)[ (].*,\\1define\\2'
25609 ac_dC=' '
25610 ac_dD=' ,'
25611
25612 uniq confdefs.h |
25613 sed -n '
25614 t rset
25615 :rset
25616 s/^[ ]*#[ ]*define[ ][ ]*//
25617 t ok
25618 d
25619 :ok
25620 s/[\\&,]/\\&/g
25621 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25622 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25623 ' >>conftest.defines
25624
25625 # Remove the space that was appended to ease matching.
25626 # Then replace #undef with comments. This is necessary, for
25627 # example, in the case of _POSIX_SOURCE, which is predefined and required
25628 # on some systems where configure will not decide to define it.
25629 # (The regexp can be short, since the line contains either #define or #undef.)
25630 echo 's/ $//
25631 s,^[ #]*u.*,/* & */,' >>conftest.defines
25632
25633 # Break up conftest.defines:
25634 ac_max_sed_lines=50
25635
25636 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25637 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25638 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25639 # et cetera.
25640 ac_in='$ac_file_inputs'
25641 ac_out='"$tmp/out1"'
25642 ac_nxt='"$tmp/out2"'
25643
25644 while :
25645 do
25646 # Write a here document:
25647 cat >>$CONFIG_STATUS <<_ACEOF
25648 # First, check the format of the line:
25649 cat >"\$tmp/defines.sed" <<\\CEOF
25650 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25651 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25652 b
25653 :def
25654 _ACEOF
25655 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25656 echo 'CEOF
25657 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25658 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25659 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25660 grep . conftest.tail >/dev/null || break
25661 rm -f conftest.defines
25662 mv conftest.tail conftest.defines
25663 done
25664 rm -f conftest.defines conftest.tail
25665
25666 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25667 cat >>$CONFIG_STATUS <<\_ACEOF
26536 if test x"$ac_file" != x-; then 25668 if test x"$ac_file" != x-; then
26537 { 25669 echo "/* $configure_input */" >"$tmp/config.h"
26538 $as_echo "/* $configure_input */" \ 25670 cat "$ac_result" >>"$tmp/config.h"
26539 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 25671 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
26540 } >"$tmp/config.h" \ 25672 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26541 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 25673 echo "$as_me: $ac_file is unchanged" >&6;}
26542 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26543 { (exit 1); exit 1; }; }
26544 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26545 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26546 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26547 else 25674 else
26548 rm -f "$ac_file" 25675 rm -f $ac_file
26549 mv "$tmp/config.h" "$ac_file" \ 25676 mv "$tmp/config.h" $ac_file
26550 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26551 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26552 { (exit 1); exit 1; }; }
26553 fi 25677 fi
26554 else 25678 else
26555 $as_echo "/* $configure_input */" \ 25679 echo "/* $configure_input */"
26556 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 25680 cat "$ac_result"
26557 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
26558 $as_echo "$as_me: error: could not create -" >&2;}
26559 { (exit 1); exit 1; }; }
26560 fi 25681 fi
25682 rm -f "$tmp/out12"
26561 ;; 25683 ;;
26562 25684
26563 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 25685 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26564 $as_echo "$as_me: executing $ac_file commands" >&6;} 25686 echo "$as_me: executing $ac_file commands" >&6;}
26565 ;; 25687 ;;
26566 esac 25688 esac
26567 25689
26568 25690
26569 case $ac_file$ac_mode in 25691 case $ac_file$ac_mode in
26633 25755
26634 { (exit 0); exit 0; } 25756 { (exit 0); exit 0; }
26635 _ACEOF 25757 _ACEOF
26636 chmod +x $CONFIG_STATUS 25758 chmod +x $CONFIG_STATUS
26637 ac_clean_files=$ac_clean_files_save 25759 ac_clean_files=$ac_clean_files_save
26638
26639 test $ac_write_fail = 0 ||
26640 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26641 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26642 { (exit 1); exit 1; }; }
26643 25760
26644 25761
26645 # configure is writing to config.log, and then calls config.status. 25762 # configure is writing to config.log, and then calls config.status.
26646 # config.status does its own redirection, appending to config.log. 25763 # config.status does its own redirection, appending to config.log.
26647 # Unfortunately, on DOS this fails, as config.log is still kept open 25764 # Unfortunately, on DOS this fails, as config.log is still kept open
26660 exec 5>>config.log 25777 exec 5>>config.log
26661 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 25778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26662 # would make configure fail if this is the last instruction. 25779 # would make configure fail if this is the last instruction.
26663 $ac_cs_success || { (exit 1); exit 1; } 25780 $ac_cs_success || { (exit 1); exit 1; }
26664 fi 25781 fi
26665 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 25782
26666 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 25783
26667 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26668 fi
26669
26670