diff options
| author | Glenn Morris | 2010-04-26 19:38:36 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-26 19:38:36 -0700 |
| commit | 7186fb09de6c3c4789aaa808a4f9af97b1cf14d4 (patch) | |
| tree | 2ce0b96c3505b401c3ab22745530976ec48242b9 | |
| parent | b678dd8b8e406bcb65375723b72f239263bf5347 (diff) | |
| download | emacs-7186fb09de6c3c4789aaa808a4f9af97b1cf14d4.tar.gz emacs-7186fb09de6c3c4789aaa808a4f9af97b1cf14d4.zip | |
Regenerate configure.
| -rwxr-xr-x | configure | 18949 |
1 files changed, 15716 insertions, 3233 deletions
| @@ -1,22 +1,18 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.65 for emacs 24.0.50. | 3 | # Generated by GNU Autoconf 2.62 for emacs 24.0.50. |
| 4 | # | ||
| 5 | # | 4 | # |
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 8 | # Inc. | ||
| 9 | # | ||
| 10 | # | ||
| 11 | # This configure script is free software; the Free Software Foundation | 7 | # This configure script is free software; the Free Software Foundation |
| 12 | # gives unlimited permission to copy, distribute and modify it. | 8 | # gives unlimited permission to copy, distribute and modify it. |
| 13 | ## -------------------- ## | 9 | ## --------------------- ## |
| 14 | ## M4sh Initialization. ## | 10 | ## M4sh Initialization. ## |
| 15 | ## -------------------- ## | 11 | ## --------------------- ## |
| 16 | 12 | ||
| 17 | # Be more Bourne compatible | 13 | # Be more Bourne compatible |
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | 14 | DUALCASE=1; export DUALCASE # for MKS sh |
| 19 | 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 |
| 20 | emulate sh | 16 | emulate sh |
| 21 | NULLCMD=: | 17 | NULLCMD=: |
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -24,15 +20,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |||
| 24 | alias -g '${1+"$@"}'='"$@"' | 20 | alias -g '${1+"$@"}'='"$@"' |
| 25 | setopt NO_GLOB_SUBST | 21 | setopt NO_GLOB_SUBST |
| 26 | else | 22 | else |
| 27 | case `(set -o) 2>/dev/null` in #( | 23 | case `(set -o) 2>/dev/null` in |
| 28 | *posix*) : | 24 | *posix*) set -o posix ;; |
| 29 | set -o posix ;; #( | ||
| 30 | *) : | ||
| 31 | ;; | ||
| 32 | esac | 25 | esac |
| 26 | |||
| 33 | fi | 27 | fi |
| 34 | 28 | ||
| 35 | 29 | ||
| 30 | |||
| 31 | |||
| 32 | # PATH needs CR | ||
| 33 | # Avoid depending upon Character Ranges. | ||
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 37 | as_cr_digits='0123456789' | ||
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 39 | |||
| 36 | as_nl=' | 40 | as_nl=' |
| 37 | ' | 41 | ' |
| 38 | export as_nl | 42 | export as_nl |
| @@ -40,13 +44,7 @@ export as_nl | |||
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 42 | as_echo=$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 |
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 44 | # but without wasting forks for bash or zsh. | ||
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 47 | as_echo='print -r --' | ||
| 48 | as_echo_n='print -rn --' | ||
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 50 | as_echo='printf %s\n' | 48 | as_echo='printf %s\n' |
| 51 | as_echo_n='printf %s' | 49 | as_echo_n='printf %s' |
| 52 | else | 50 | else |
| @@ -57,7 +55,7 @@ else | |||
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 58 | as_echo_n_body='eval | 56 | as_echo_n_body='eval |
| 59 | arg=$1; | 57 | arg=$1; |
| 60 | case $arg in #( | 58 | case $arg in |
| 61 | *"$as_nl"*) | 59 | *"$as_nl"*) |
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -80,6 +78,13 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 80 | } | 78 | } |
| 81 | fi | 79 | fi |
| 82 | 80 | ||
| 81 | # Support unset when possible. | ||
| 82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 83 | as_unset=unset | ||
| 84 | else | ||
| 85 | as_unset=false | ||
| 86 | fi | ||
| 87 | |||
| 83 | 88 | ||
| 84 | # IFS | 89 | # IFS |
| 85 | # We need space, tab and new line, in precisely that order. Quoting is | 90 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -89,15 +94,15 @@ fi | |||
| 89 | IFS=" "" $as_nl" | 94 | IFS=" "" $as_nl" |
| 90 | 95 | ||
| 91 | # Find who we are. Look in the path if we contain no directory separator. | 96 | # Find who we are. Look in the path if we contain no directory separator. |
| 92 | case $0 in #(( | 97 | case $0 in |
| 93 | *[\\/]* ) as_myself=$0 ;; | 98 | *[\\/]* ) as_myself=$0 ;; |
| 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 95 | for as_dir in $PATH | 100 | for as_dir in $PATH |
| 96 | do | 101 | do |
| 97 | IFS=$as_save_IFS | 102 | IFS=$as_save_IFS |
| 98 | test -z "$as_dir" && as_dir=. | 103 | test -z "$as_dir" && as_dir=. |
| 99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 100 | done | 105 | done |
| 101 | IFS=$as_save_IFS | 106 | IFS=$as_save_IFS |
| 102 | 107 | ||
| 103 | ;; | 108 | ;; |
| @@ -109,16 +114,12 @@ if test "x$as_myself" = x; then | |||
| 109 | fi | 114 | fi |
| 110 | if test ! -f "$as_myself"; then | 115 | if test ! -f "$as_myself"; then |
| 111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 112 | exit 1 | 117 | { (exit 1); exit 1; } |
| 113 | fi | 118 | fi |
| 114 | 119 | ||
| 115 | # Unset variables that we do not need and which cause bugs (e.g. in | 120 | # Work around bugs in pre-3.0 UWIN ksh. |
| 116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 121 | for as_var in ENV MAIL MAILPATH |
| 117 | # suppresses any "Segmentation fault" message there. '((' could | 122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 118 | # trigger a bug in pdksh 5.2.14. | ||
| 119 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 120 | do eval test x\${$as_var+set} = xset \ | ||
| 121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 122 | done | 123 | done |
| 123 | PS1='$ ' | 124 | PS1='$ ' |
| 124 | PS2='> ' | 125 | PS2='> ' |
| @@ -130,299 +131,330 @@ export LC_ALL | |||
| 130 | LANGUAGE=C | 131 | LANGUAGE=C |
| 131 | export LANGUAGE | 132 | export LANGUAGE |
| 132 | 133 | ||
| 134 | # Required to use basename. | ||
| 135 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 137 | as_expr=expr | ||
| 138 | else | ||
| 139 | as_expr=false | ||
| 140 | fi | ||
| 141 | |||
| 142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 143 | as_basename=basename | ||
| 144 | else | ||
| 145 | as_basename=false | ||
| 146 | fi | ||
| 147 | |||
| 148 | |||
| 149 | # Name of the executable. | ||
| 150 | as_me=`$as_basename -- "$0" || | ||
| 151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 152 | X"$0" : 'X\(//\)$' \| \ | ||
| 153 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 154 | $as_echo X/"$0" | | ||
| 155 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 156 | s//\1/ | ||
| 157 | q | ||
| 158 | } | ||
| 159 | /^X\/\(\/\/\)$/{ | ||
| 160 | s//\1/ | ||
| 161 | q | ||
| 162 | } | ||
| 163 | /^X\/\(\/\).*/{ | ||
| 164 | s//\1/ | ||
| 165 | q | ||
| 166 | } | ||
| 167 | s/.*/./; q'` | ||
| 168 | |||
| 133 | # CDPATH. | 169 | # CDPATH. |
| 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 170 | $as_unset CDPATH |
| 171 | |||
| 135 | 172 | ||
| 136 | if test "x$CONFIG_SHELL" = x; then | 173 | if test "x$CONFIG_SHELL" = x; then |
| 137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 174 | if (eval ":") 2>/dev/null; then |
| 138 | emulate sh | 175 | as_have_required=yes |
| 139 | NULLCMD=: | ||
| 140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 141 | # is contrary to our usage. Disable this feature. | ||
| 142 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 143 | setopt NO_GLOB_SUBST | ||
| 144 | else | 176 | else |
| 145 | case \`(set -o) 2>/dev/null\` in #( | 177 | as_have_required=no |
| 146 | *posix*) : | ||
| 147 | set -o posix ;; #( | ||
| 148 | *) : | ||
| 149 | ;; | ||
| 150 | esac | ||
| 151 | fi | 178 | fi |
| 152 | " | 179 | |
| 153 | as_required="as_fn_return () { (exit \$1); } | 180 | if test $as_have_required = yes && (eval ": |
| 154 | as_fn_success () { as_fn_return 0; } | 181 | (as_func_return () { |
| 155 | as_fn_failure () { as_fn_return 1; } | 182 | (exit \$1) |
| 156 | as_fn_ret_success () { return 0; } | 183 | } |
| 157 | as_fn_ret_failure () { return 1; } | 184 | as_func_success () { |
| 185 | as_func_return 0 | ||
| 186 | } | ||
| 187 | as_func_failure () { | ||
| 188 | as_func_return 1 | ||
| 189 | } | ||
| 190 | as_func_ret_success () { | ||
| 191 | return 0 | ||
| 192 | } | ||
| 193 | as_func_ret_failure () { | ||
| 194 | return 1 | ||
| 195 | } | ||
| 158 | 196 | ||
| 159 | exitcode=0 | 197 | exitcode=0 |
| 160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 198 | if as_func_success; then |
| 161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 199 | : |
| 162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
| 163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
| 164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
| 165 | |||
| 166 | else | ||
| 167 | exitcode=1; echo positional parameters were not saved. | ||
| 168 | fi | ||
| 169 | test x\$exitcode = x0 || exit 1" | ||
| 170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
| 171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
| 172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
| 173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
| 174 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
| 175 | if (eval "$as_required") 2>/dev/null; then : | ||
| 176 | as_have_required=yes | ||
| 177 | else | 200 | else |
| 178 | as_have_required=no | 201 | exitcode=1 |
| 202 | echo as_func_success failed. | ||
| 203 | fi | ||
| 204 | |||
| 205 | if as_func_failure; then | ||
| 206 | exitcode=1 | ||
| 207 | echo as_func_failure succeeded. | ||
| 179 | fi | 208 | fi |
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 181 | 209 | ||
| 210 | if as_func_ret_success; then | ||
| 211 | : | ||
| 182 | else | 212 | else |
| 183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 213 | exitcode=1 |
| 184 | as_found=false | 214 | echo as_func_ret_success failed. |
| 215 | fi | ||
| 216 | |||
| 217 | if as_func_ret_failure; then | ||
| 218 | exitcode=1 | ||
| 219 | echo as_func_ret_failure succeeded. | ||
| 220 | fi | ||
| 221 | |||
| 222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 223 | : | ||
| 224 | else | ||
| 225 | exitcode=1 | ||
| 226 | echo positional parameters were not saved. | ||
| 227 | fi | ||
| 228 | |||
| 229 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
| 230 | |||
| 231 | ( | ||
| 232 | as_lineno_1=\$LINENO | ||
| 233 | as_lineno_2=\$LINENO | ||
| 234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
| 235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
| 236 | ") 2> /dev/null; then | ||
| 237 | : | ||
| 238 | else | ||
| 239 | as_candidate_shells= | ||
| 240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 186 | do | 242 | do |
| 187 | IFS=$as_save_IFS | 243 | IFS=$as_save_IFS |
| 188 | test -z "$as_dir" && as_dir=. | 244 | test -z "$as_dir" && as_dir=. |
| 189 | as_found=: | 245 | case $as_dir in |
| 190 | case $as_dir in #( | ||
| 191 | /*) | 246 | /*) |
| 192 | for as_base in sh bash ksh sh5; do | 247 | for as_base in sh bash ksh sh5; do |
| 193 | # Try only shells that exist, to save several forks. | 248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 194 | as_shell=$as_dir/$as_base | ||
| 195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 199 | break 2 | ||
| 200 | fi | ||
| 201 | fi | ||
| 202 | done;; | 249 | done;; |
| 203 | esac | 250 | esac |
| 204 | as_found=false | ||
| 205 | done | 251 | done |
| 206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
| 208 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 209 | fi; } | ||
| 210 | IFS=$as_save_IFS | 252 | IFS=$as_save_IFS |
| 211 | 253 | ||
| 212 | 254 | ||
| 213 | if test "x$CONFIG_SHELL" != x; then : | 255 | for as_shell in $as_candidate_shells $SHELL; do |
| 214 | # We cannot yet assume a decent shell, so we have to provide a | 256 | # Try only shells that exist, to save several forks. |
| 215 | # neutralization value for shells without unset; and this also | 257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 216 | # works around shells that cannot unset nonexistent variables. | 258 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
| 217 | BASH_ENV=/dev/null | 259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 218 | ENV=/dev/null | 260 | emulate sh |
| 219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 261 | NULLCMD=: |
| 220 | export CONFIG_SHELL | 262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 263 | # is contrary to our usage. Disable this feature. |
| 222 | fi | 264 | alias -g '${1+"$@"}'='"$@"' |
| 265 | setopt NO_GLOB_SUBST | ||
| 266 | else | ||
| 267 | case `(set -o) 2>/dev/null` in | ||
| 268 | *posix*) set -o posix ;; | ||
| 269 | esac | ||
| 223 | 270 | ||
| 224 | if test x$as_have_required = xno; then : | ||
| 225 | $as_echo "$0: This script requires a shell more modern than all" | ||
| 226 | $as_echo "$0: the shells that I found on your system." | ||
| 227 | if test x${ZSH_VERSION+set} = xset ; then | ||
| 228 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
| 229 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
| 230 | else | ||
| 231 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | ||
| 232 | $0: including any error possibly output before this | ||
| 233 | $0: message. Then install a modern shell, or manually run | ||
| 234 | $0: the script under such a shell if you do have one." | ||
| 235 | fi | ||
| 236 | exit 1 | ||
| 237 | fi | ||
| 238 | fi | 271 | fi |
| 272 | |||
| 273 | |||
| 274 | : | ||
| 275 | _ASEOF | ||
| 276 | }; then | ||
| 277 | CONFIG_SHELL=$as_shell | ||
| 278 | as_have_required=yes | ||
| 279 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
| 280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 281 | emulate sh | ||
| 282 | NULLCMD=: | ||
| 283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 284 | # is contrary to our usage. Disable this feature. | ||
| 285 | alias -g '${1+"$@"}'='"$@"' | ||
| 286 | setopt NO_GLOB_SUBST | ||
| 287 | else | ||
| 288 | case `(set -o) 2>/dev/null` in | ||
| 289 | *posix*) set -o posix ;; | ||
| 290 | esac | ||
| 291 | |||
| 239 | fi | 292 | fi |
| 240 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 241 | export SHELL | ||
| 242 | # Unset more variables known to interfere with behavior of common tools. | ||
| 243 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 244 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 245 | 293 | ||
| 246 | ## --------------------- ## | ||
| 247 | ## M4sh Shell Functions. ## | ||
| 248 | ## --------------------- ## | ||
| 249 | # as_fn_unset VAR | ||
| 250 | # --------------- | ||
| 251 | # Portably unset VAR. | ||
| 252 | as_fn_unset () | ||
| 253 | { | ||
| 254 | { eval $1=; unset $1;} | ||
| 255 | } | ||
| 256 | as_unset=as_fn_unset | ||
| 257 | 294 | ||
| 258 | # as_fn_set_status STATUS | 295 | : |
| 259 | # ----------------------- | 296 | (as_func_return () { |
| 260 | # Set $? to STATUS, without forking. | 297 | (exit $1) |
| 261 | as_fn_set_status () | 298 | } |
| 262 | { | 299 | as_func_success () { |
| 263 | return $1 | 300 | as_func_return 0 |
| 264 | } # as_fn_set_status | 301 | } |
| 302 | as_func_failure () { | ||
| 303 | as_func_return 1 | ||
| 304 | } | ||
| 305 | as_func_ret_success () { | ||
| 306 | return 0 | ||
| 307 | } | ||
| 308 | as_func_ret_failure () { | ||
| 309 | return 1 | ||
| 310 | } | ||
| 265 | 311 | ||
| 266 | # as_fn_exit STATUS | 312 | exitcode=0 |
| 267 | # ----------------- | 313 | if as_func_success; then |
| 268 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 314 | : |
| 269 | as_fn_exit () | 315 | else |
| 270 | { | 316 | exitcode=1 |
| 271 | set +e | 317 | echo as_func_success failed. |
| 272 | as_fn_set_status $1 | 318 | fi |
| 273 | exit $1 | ||
| 274 | } # as_fn_exit | ||
| 275 | 319 | ||
| 276 | # as_fn_mkdir_p | 320 | if as_func_failure; then |
| 277 | # ------------- | 321 | exitcode=1 |
| 278 | # Create "$as_dir" as a directory, including parents if necessary. | 322 | echo as_func_failure succeeded. |
| 279 | as_fn_mkdir_p () | 323 | fi |
| 280 | { | ||
| 281 | 324 | ||
| 282 | case $as_dir in #( | 325 | if as_func_ret_success; then |
| 283 | -*) as_dir=./$as_dir;; | 326 | : |
| 284 | esac | ||
| 285 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 286 | as_dirs= | ||
| 287 | while :; do | ||
| 288 | case $as_dir in #( | ||
| 289 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 290 | *) as_qdir=$as_dir;; | ||
| 291 | esac | ||
| 292 | as_dirs="'$as_qdir' $as_dirs" | ||
| 293 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 294 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 295 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 296 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 297 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 298 | $as_echo X"$as_dir" | | ||
| 299 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 300 | s//\1/ | ||
| 301 | q | ||
| 302 | } | ||
| 303 | /^X\(\/\/\)[^/].*/{ | ||
| 304 | s//\1/ | ||
| 305 | q | ||
| 306 | } | ||
| 307 | /^X\(\/\/\)$/{ | ||
| 308 | s//\1/ | ||
| 309 | q | ||
| 310 | } | ||
| 311 | /^X\(\/\).*/{ | ||
| 312 | s//\1/ | ||
| 313 | q | ||
| 314 | } | ||
| 315 | s/.*/./; q'` | ||
| 316 | test -d "$as_dir" && break | ||
| 317 | done | ||
| 318 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 319 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 320 | |||
| 321 | |||
| 322 | } # as_fn_mkdir_p | ||
| 323 | # as_fn_append VAR VALUE | ||
| 324 | # ---------------------- | ||
| 325 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 326 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 327 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 328 | # implementations. | ||
| 329 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 330 | eval 'as_fn_append () | ||
| 331 | { | ||
| 332 | eval $1+=\$2 | ||
| 333 | }' | ||
| 334 | else | 327 | else |
| 335 | as_fn_append () | 328 | exitcode=1 |
| 336 | { | 329 | echo as_func_ret_success failed. |
| 337 | eval $1=\$$1\$2 | 330 | fi |
| 338 | } | 331 | |
| 339 | fi # as_fn_append | 332 | if as_func_ret_failure; then |
| 340 | 333 | exitcode=1 | |
| 341 | # as_fn_arith ARG... | 334 | echo as_func_ret_failure succeeded. |
| 342 | # ------------------ | 335 | fi |
| 343 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 336 | |
| 344 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 337 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 345 | # must be portable across $(()) and expr. | 338 | : |
| 346 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 347 | eval 'as_fn_arith () | ||
| 348 | { | ||
| 349 | as_val=$(( $* )) | ||
| 350 | }' | ||
| 351 | else | 339 | else |
| 352 | as_fn_arith () | 340 | exitcode=1 |
| 353 | { | 341 | echo positional parameters were not saved. |
| 354 | as_val=`expr "$@" || test $? -eq 1` | 342 | fi |
| 355 | } | ||
| 356 | fi # as_fn_arith | ||
| 357 | 343 | ||
| 344 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
| 358 | 345 | ||
| 359 | # as_fn_error ERROR [LINENO LOG_FD] | 346 | ( |
| 360 | # --------------------------------- | 347 | as_lineno_1=$LINENO |
| 361 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 348 | as_lineno_2=$LINENO |
| 362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 349 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 363 | # script with status $?, using 1 if that was 0. | 350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 364 | as_fn_error () | ||
| 365 | { | ||
| 366 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 367 | if test "$3"; then | ||
| 368 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 370 | fi | ||
| 371 | $as_echo "$as_me: error: $1" >&2 | ||
| 372 | as_fn_exit $as_status | ||
| 373 | } # as_fn_error | ||
| 374 | 351 | ||
| 375 | if expr a : '\(a\)' >/dev/null 2>&1 && | 352 | _ASEOF |
| 376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 353 | }; then |
| 377 | as_expr=expr | 354 | break |
| 355 | fi | ||
| 356 | |||
| 357 | fi | ||
| 358 | |||
| 359 | done | ||
| 360 | |||
| 361 | if test "x$CONFIG_SHELL" != x; then | ||
| 362 | for as_var in BASH_ENV ENV | ||
| 363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 364 | done | ||
| 365 | export CONFIG_SHELL | ||
| 366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
| 367 | fi | ||
| 368 | |||
| 369 | |||
| 370 | if test $as_have_required = no; then | ||
| 371 | echo This script requires a shell more modern than all the | ||
| 372 | echo shells that I found on your system. Please install a | ||
| 373 | echo modern shell, or manually run the script under such a | ||
| 374 | echo shell if you do have one. | ||
| 375 | { (exit 1); exit 1; } | ||
| 376 | fi | ||
| 377 | |||
| 378 | |||
| 379 | fi | ||
| 380 | |||
| 381 | fi | ||
| 382 | |||
| 383 | |||
| 384 | |||
| 385 | (eval "as_func_return () { | ||
| 386 | (exit \$1) | ||
| 387 | } | ||
| 388 | as_func_success () { | ||
| 389 | as_func_return 0 | ||
| 390 | } | ||
| 391 | as_func_failure () { | ||
| 392 | as_func_return 1 | ||
| 393 | } | ||
| 394 | as_func_ret_success () { | ||
| 395 | return 0 | ||
| 396 | } | ||
| 397 | as_func_ret_failure () { | ||
| 398 | return 1 | ||
| 399 | } | ||
| 400 | |||
| 401 | exitcode=0 | ||
| 402 | if as_func_success; then | ||
| 403 | : | ||
| 378 | else | 404 | else |
| 379 | as_expr=false | 405 | exitcode=1 |
| 406 | echo as_func_success failed. | ||
| 380 | fi | 407 | fi |
| 381 | 408 | ||
| 382 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 409 | if as_func_failure; then |
| 383 | as_basename=basename | 410 | exitcode=1 |
| 411 | echo as_func_failure succeeded. | ||
| 412 | fi | ||
| 413 | |||
| 414 | if as_func_ret_success; then | ||
| 415 | : | ||
| 384 | else | 416 | else |
| 385 | as_basename=false | 417 | exitcode=1 |
| 418 | echo as_func_ret_success failed. | ||
| 386 | fi | 419 | fi |
| 387 | 420 | ||
| 388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 421 | if as_func_ret_failure; then |
| 389 | as_dirname=dirname | 422 | exitcode=1 |
| 423 | echo as_func_ret_failure succeeded. | ||
| 424 | fi | ||
| 425 | |||
| 426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 427 | : | ||
| 390 | else | 428 | else |
| 391 | as_dirname=false | 429 | exitcode=1 |
| 430 | echo positional parameters were not saved. | ||
| 392 | fi | 431 | fi |
| 393 | 432 | ||
| 394 | as_me=`$as_basename -- "$0" || | 433 | test \$exitcode = 0") || { |
| 395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 434 | echo No shell found that supports shell functions. |
| 396 | X"$0" : 'X\(//\)$' \| \ | 435 | echo Please tell bug-autoconf@gnu.org about your system, |
| 397 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 436 | echo including any error possibly output before this message. |
| 398 | $as_echo X/"$0" | | 437 | echo This can help us improve future autoconf versions. |
| 399 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 438 | echo Configuration will now proceed without shell functions. |
| 400 | s//\1/ | 439 | } |
| 401 | q | ||
| 402 | } | ||
| 403 | /^X\/\(\/\/\)$/{ | ||
| 404 | s//\1/ | ||
| 405 | q | ||
| 406 | } | ||
| 407 | /^X\/\(\/\).*/{ | ||
| 408 | s//\1/ | ||
| 409 | q | ||
| 410 | } | ||
| 411 | s/.*/./; q'` | ||
| 412 | 440 | ||
| 413 | # Avoid depending upon Character Ranges. | ||
| 414 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 415 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 416 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 417 | as_cr_digits='0123456789' | ||
| 418 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 419 | 441 | ||
| 420 | 442 | ||
| 421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 443 | as_lineno_1=$LINENO |
| 422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 444 | as_lineno_2=$LINENO |
| 423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 445 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 447 | |
| 448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 449 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 450 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 451 | # does the real work. The second script uses 'N' to pair each | ||
| 452 | # line-number line with the line containing $LINENO, and appends | ||
| 453 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 454 | # case at line end. | ||
| 455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 456 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 457 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 426 | sed -n ' | 458 | sed -n ' |
| 427 | p | 459 | p |
| 428 | /[$]LINENO/= | 460 | /[$]LINENO/= |
| @@ -439,7 +471,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
| 439 | s/-\n.*// | 471 | s/-\n.*// |
| 440 | ' >$as_me.lineno && | 472 | ' >$as_me.lineno && |
| 441 | chmod +x "$as_me.lineno" || | 473 | chmod +x "$as_me.lineno" || |
| 442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 475 | { (exit 1); exit 1; }; } | ||
| 443 | 476 | ||
| 444 | # Don't try to exec as it changes $[0], causing all sort of problems | 477 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 445 | # (the dirname of $[0] is not the place where we might find the | 478 | # (the dirname of $[0] is not the place where we might find the |
| @@ -449,18 +482,29 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
| 449 | exit | 482 | exit |
| 450 | } | 483 | } |
| 451 | 484 | ||
| 485 | |||
| 486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 487 | as_dirname=dirname | ||
| 488 | else | ||
| 489 | as_dirname=false | ||
| 490 | fi | ||
| 491 | |||
| 452 | ECHO_C= ECHO_N= ECHO_T= | 492 | ECHO_C= ECHO_N= ECHO_T= |
| 453 | case `echo -n x` in #((((( | 493 | case `echo -n x` in |
| 454 | -n*) | 494 | -n*) |
| 455 | case `echo 'xy\c'` in | 495 | case `echo 'x\c'` in |
| 456 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 457 | xy) ECHO_C='\c';; | 497 | *) ECHO_C='\c';; |
| 458 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 459 | ECHO_T=' ';; | ||
| 460 | esac;; | 498 | esac;; |
| 461 | *) | 499 | *) |
| 462 | ECHO_N='-n';; | 500 | ECHO_N='-n';; |
| 463 | esac | 501 | esac |
| 502 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 504 | as_expr=expr | ||
| 505 | else | ||
| 506 | as_expr=false | ||
| 507 | fi | ||
| 464 | 508 | ||
| 465 | rm -f conf$$ conf$$.exe conf$$.file | 509 | rm -f conf$$ conf$$.exe conf$$.file |
| 466 | if test -d conf$$.dir; then | 510 | if test -d conf$$.dir; then |
| @@ -490,7 +534,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
| 490 | rmdir conf$$.dir 2>/dev/null | 534 | rmdir conf$$.dir 2>/dev/null |
| 491 | 535 | ||
| 492 | if mkdir -p . 2>/dev/null; then | 536 | if mkdir -p . 2>/dev/null; then |
| 493 | as_mkdir_p='mkdir -p "$as_dir"' | 537 | as_mkdir_p=: |
| 494 | else | 538 | else |
| 495 | test -d ./-p && rmdir ./-p | 539 | test -d ./-p && rmdir ./-p |
| 496 | as_mkdir_p=false | 540 | as_mkdir_p=false |
| @@ -509,10 +553,10 @@ else | |||
| 509 | if test -d "$1"; then | 553 | if test -d "$1"; then |
| 510 | test -d "$1/."; | 554 | test -d "$1/."; |
| 511 | else | 555 | else |
| 512 | case $1 in #( | 556 | case $1 in |
| 513 | -*)set "./$1";; | 557 | -*)set "./$1";; |
| 514 | esac; | 558 | esac; |
| 515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 516 | ???[sx]*):;;*)false;;esac;fi | 560 | ???[sx]*):;;*)false;;esac;fi |
| 517 | '\'' sh | 561 | '\'' sh |
| 518 | ' | 562 | ' |
| @@ -526,8 +570,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
| 526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 527 | 571 | ||
| 528 | 572 | ||
| 529 | test -n "$DJDIR" || exec 7<&0 </dev/null | 573 | |
| 530 | exec 6>&1 | 574 | exec 7<&0 </dev/null 6>&1 |
| 531 | 575 | ||
| 532 | # Name of the host. | 576 | # Name of the host. |
| 533 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| @@ -545,6 +589,7 @@ cross_compiling=no | |||
| 545 | subdirs= | 589 | subdirs= |
| 546 | MFLAGS= | 590 | MFLAGS= |
| 547 | MAKEFLAGS= | 591 | MAKEFLAGS= |
| 592 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 548 | 593 | ||
| 549 | # Identity of this package. | 594 | # Identity of this package. |
| 550 | PACKAGE_NAME='emacs' | 595 | PACKAGE_NAME='emacs' |
| @@ -552,7 +597,6 @@ PACKAGE_TARNAME='emacs' | |||
| 552 | PACKAGE_VERSION='24.0.50' | 597 | PACKAGE_VERSION='24.0.50' |
| 553 | PACKAGE_STRING='emacs 24.0.50' | 598 | PACKAGE_STRING='emacs 24.0.50' |
| 554 | PACKAGE_BUGREPORT='' | 599 | PACKAGE_BUGREPORT='' |
| 555 | PACKAGE_URL='' | ||
| 556 | 600 | ||
| 557 | ac_unique_file="src/lisp.h" | 601 | ac_unique_file="src/lisp.h" |
| 558 | # Factoring default headers for most tests. | 602 | # Factoring default headers for most tests. |
| @@ -594,159 +638,161 @@ ac_includes_default="\ | |||
| 594 | ac_config_libobj_dir=src | 638 | ac_config_libobj_dir=src |
| 595 | ac_header_list= | 639 | ac_header_list= |
| 596 | ac_func_list= | 640 | ac_func_list= |
| 597 | ac_subst_vars='LTLIBOBJS | 641 | ac_subst_vars='SHELL |
| 598 | XOBJ | ||
| 599 | XMENU_OBJ | ||
| 600 | OTHER_FILES | ||
| 601 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 602 | GNU_OBJC_CFLAGS | ||
| 603 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 604 | GNUSTEP_SYSTEM_HEADERS | ||
| 605 | GNUSTEP_MAKEFILES | ||
| 606 | ns_appsrc | ||
| 607 | ns_appresdir | ||
| 608 | ns_appbindir | ||
| 609 | ns_appdir | ||
| 610 | opsysfile | ||
| 611 | machfile | ||
| 612 | X_TOOLKIT_TYPE | ||
| 613 | C_SWITCH_X_SITE | ||
| 614 | LD_SWITCH_X_SITE_AUX | ||
| 615 | LD_SWITCH_X_SITE | ||
| 616 | c_switch_machine | ||
| 617 | c_switch_system | ||
| 618 | gameuser | ||
| 619 | gamedir | ||
| 620 | bitmapdir | ||
| 621 | archlibdir | ||
| 622 | etcdir | ||
| 623 | x_default_search_path | ||
| 624 | lisppath | ||
| 625 | locallisppath | ||
| 626 | lispdir | ||
| 627 | srcdir | ||
| 628 | canonical | ||
| 629 | configuration | ||
| 630 | version | ||
| 631 | KRB4LIB | ||
| 632 | DESLIB | ||
| 633 | KRB5LIB | ||
| 634 | CRYPTOLIB | ||
| 635 | COM_ERRLIB | ||
| 636 | LIBRESOLV | ||
| 637 | LIBHESIOD | ||
| 638 | GETOPTOBJS | ||
| 639 | GETOPT_H | ||
| 640 | GETLOADAVG_LIBS | ||
| 641 | KMEM_GROUP | ||
| 642 | NEED_SETGID | ||
| 643 | LIBOBJS | ||
| 644 | LIBS_MAIL | ||
| 645 | liblockfile | ||
| 646 | ALLOCA | ||
| 647 | LIBXSM | ||
| 648 | LIBGPM | ||
| 649 | LIBGIF | ||
| 650 | LIBTIFF | ||
| 651 | LIBPNG | ||
| 652 | LIBJPEG | ||
| 653 | LIBXPM | ||
| 654 | FREETYPE_LIBS | ||
| 655 | FREETYPE_CFLAGS | ||
| 656 | M17N_FLT_LIBS | ||
| 657 | M17N_FLT_CFLAGS | ||
| 658 | LIBOTF_LIBS | ||
| 659 | LIBOTF_CFLAGS | ||
| 660 | XFT_LIBS | ||
| 661 | XFT_CFLAGS | ||
| 662 | FONTCONFIG_LIBS | ||
| 663 | FONTCONFIG_CFLAGS | ||
| 664 | LIBSELINUX_LIBS | ||
| 665 | GCONF_LIBS | ||
| 666 | GCONF_CFLAGS | ||
| 667 | DBUS_OBJ | ||
| 668 | DBUS_LIBS | ||
| 669 | DBUS_CFLAGS | ||
| 670 | GTK_OBJ | ||
| 671 | GTK_LIBS | ||
| 672 | GTK_CFLAGS | ||
| 673 | RSVG_LIBS | ||
| 674 | RSVG_CFLAGS | ||
| 675 | HAVE_XSERVER | ||
| 676 | XMKMF | ||
| 677 | SET_MAKE | ||
| 678 | CFLAGS_SOUND | ||
| 679 | ALSA_LIBS | ||
| 680 | ALSA_CFLAGS | ||
| 681 | PKG_CONFIG | ||
| 682 | LIBSOUND | ||
| 683 | CRT_DIR | ||
| 684 | LIB_MATH | ||
| 685 | MAKEINFO | ||
| 686 | GZIP_PROG | ||
| 687 | INSTALL_INFO | ||
| 688 | RANLIB | ||
| 689 | INSTALL_DATA | ||
| 690 | INSTALL_SCRIPT | ||
| 691 | INSTALL_PROGRAM | ||
| 692 | LN_S | ||
| 693 | EGREP | ||
| 694 | GREP | ||
| 695 | CPP | ||
| 696 | OBJEXT | ||
| 697 | EXEEXT | ||
| 698 | ac_ct_CC | ||
| 699 | CPPFLAGS | ||
| 700 | LDFLAGS | ||
| 701 | CFLAGS | ||
| 702 | CC | ||
| 703 | host_os | ||
| 704 | host_vendor | ||
| 705 | host_cpu | ||
| 706 | host | ||
| 707 | build_os | ||
| 708 | build_vendor | ||
| 709 | build_cpu | ||
| 710 | build | ||
| 711 | MAINT | ||
| 712 | target_alias | ||
| 713 | host_alias | ||
| 714 | build_alias | ||
| 715 | LIBS | ||
| 716 | ECHO_T | ||
| 717 | ECHO_N | ||
| 718 | ECHO_C | ||
| 719 | DEFS | ||
| 720 | mandir | ||
| 721 | localedir | ||
| 722 | libdir | ||
| 723 | psdir | ||
| 724 | pdfdir | ||
| 725 | dvidir | ||
| 726 | htmldir | ||
| 727 | infodir | ||
| 728 | docdir | ||
| 729 | oldincludedir | ||
| 730 | includedir | ||
| 731 | localstatedir | ||
| 732 | sharedstatedir | ||
| 733 | sysconfdir | ||
| 734 | datadir | ||
| 735 | datarootdir | ||
| 736 | libexecdir | ||
| 737 | sbindir | ||
| 738 | bindir | ||
| 739 | program_transform_name | ||
| 740 | prefix | ||
| 741 | exec_prefix | ||
| 742 | PACKAGE_URL | ||
| 743 | PACKAGE_BUGREPORT | ||
| 744 | PACKAGE_STRING | ||
| 745 | PACKAGE_VERSION | ||
| 746 | PACKAGE_TARNAME | ||
| 747 | PACKAGE_NAME | ||
| 748 | PATH_SEPARATOR | 642 | PATH_SEPARATOR |
| 749 | SHELL' | 643 | PACKAGE_NAME |
| 644 | PACKAGE_TARNAME | ||
| 645 | PACKAGE_VERSION | ||
| 646 | PACKAGE_STRING | ||
| 647 | PACKAGE_BUGREPORT | ||
| 648 | exec_prefix | ||
| 649 | prefix | ||
| 650 | program_transform_name | ||
| 651 | bindir | ||
| 652 | sbindir | ||
| 653 | libexecdir | ||
| 654 | datarootdir | ||
| 655 | datadir | ||
| 656 | sysconfdir | ||
| 657 | sharedstatedir | ||
| 658 | localstatedir | ||
| 659 | includedir | ||
| 660 | oldincludedir | ||
| 661 | docdir | ||
| 662 | infodir | ||
| 663 | htmldir | ||
| 664 | dvidir | ||
| 665 | pdfdir | ||
| 666 | psdir | ||
| 667 | libdir | ||
| 668 | localedir | ||
| 669 | mandir | ||
| 670 | DEFS | ||
| 671 | ECHO_C | ||
| 672 | ECHO_N | ||
| 673 | ECHO_T | ||
| 674 | LIBS | ||
| 675 | build_alias | ||
| 676 | host_alias | ||
| 677 | target_alias | ||
| 678 | MAINT | ||
| 679 | build | ||
| 680 | build_cpu | ||
| 681 | build_vendor | ||
| 682 | build_os | ||
| 683 | host | ||
| 684 | host_cpu | ||
| 685 | host_vendor | ||
| 686 | host_os | ||
| 687 | CC | ||
| 688 | CFLAGS | ||
| 689 | LDFLAGS | ||
| 690 | CPPFLAGS | ||
| 691 | ac_ct_CC | ||
| 692 | EXEEXT | ||
| 693 | OBJEXT | ||
| 694 | CPP | ||
| 695 | GREP | ||
| 696 | EGREP | ||
| 697 | LN_S | ||
| 698 | INSTALL_PROGRAM | ||
| 699 | INSTALL_SCRIPT | ||
| 700 | INSTALL_DATA | ||
| 701 | RANLIB | ||
| 702 | INSTALL_INFO | ||
| 703 | GZIP_PROG | ||
| 704 | MAKEINFO | ||
| 705 | LIB_MATH | ||
| 706 | CRT_DIR | ||
| 707 | LIBSOUND | ||
| 708 | PKG_CONFIG | ||
| 709 | ALSA_CFLAGS | ||
| 710 | ALSA_LIBS | ||
| 711 | CFLAGS_SOUND | ||
| 712 | SET_MAKE | ||
| 713 | XMKMF | ||
| 714 | HAVE_XSERVER | ||
| 715 | RSVG_CFLAGS | ||
| 716 | RSVG_LIBS | ||
| 717 | GTK_CFLAGS | ||
| 718 | GTK_LIBS | ||
| 719 | GTK_OBJ | ||
| 720 | DBUS_CFLAGS | ||
| 721 | DBUS_LIBS | ||
| 722 | DBUS_OBJ | ||
| 723 | GCONF_CFLAGS | ||
| 724 | GCONF_LIBS | ||
| 725 | LIBSELINUX_LIBS | ||
| 726 | LUCID_LIBW | ||
| 727 | LIBXP | ||
| 728 | FONTCONFIG_CFLAGS | ||
| 729 | FONTCONFIG_LIBS | ||
| 730 | XFT_CFLAGS | ||
| 731 | XFT_LIBS | ||
| 732 | LIBOTF_CFLAGS | ||
| 733 | LIBOTF_LIBS | ||
| 734 | M17N_FLT_CFLAGS | ||
| 735 | M17N_FLT_LIBS | ||
| 736 | FREETYPE_CFLAGS | ||
| 737 | FREETYPE_LIBS | ||
| 738 | LIBXPM | ||
| 739 | LIBJPEG | ||
| 740 | LIBPNG | ||
| 741 | LIBTIFF | ||
| 742 | LIBGIF | ||
| 743 | LIBGPM | ||
| 744 | LIBXSM | ||
| 745 | ALLOCA | ||
| 746 | liblockfile | ||
| 747 | LIBS_MAIL | ||
| 748 | LIBOBJS | ||
| 749 | NEED_SETGID | ||
| 750 | KMEM_GROUP | ||
| 751 | GETLOADAVG_LIBS | ||
| 752 | GETOPT_H | ||
| 753 | GETOPTOBJS | ||
| 754 | LIBHESIOD | ||
| 755 | LIBRESOLV | ||
| 756 | COM_ERRLIB | ||
| 757 | CRYPTOLIB | ||
| 758 | KRB5LIB | ||
| 759 | DESLIB | ||
| 760 | KRB4LIB | ||
| 761 | version | ||
| 762 | configuration | ||
| 763 | canonical | ||
| 764 | srcdir | ||
| 765 | lispdir | ||
| 766 | locallisppath | ||
| 767 | lisppath | ||
| 768 | x_default_search_path | ||
| 769 | etcdir | ||
| 770 | archlibdir | ||
| 771 | bitmapdir | ||
| 772 | gamedir | ||
| 773 | gameuser | ||
| 774 | c_switch_system | ||
| 775 | c_switch_machine | ||
| 776 | LD_SWITCH_X_SITE | ||
| 777 | LD_SWITCH_X_SITE_AUX | ||
| 778 | C_SWITCH_X_SITE | ||
| 779 | X_TOOLKIT_TYPE | ||
| 780 | machfile | ||
| 781 | opsysfile | ||
| 782 | ns_appdir | ||
| 783 | ns_appbindir | ||
| 784 | ns_appresdir | ||
| 785 | ns_appsrc | ||
| 786 | GNUSTEP_MAKEFILES | ||
| 787 | GNUSTEP_SYSTEM_HEADERS | ||
| 788 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 789 | GNU_OBJC_CFLAGS | ||
| 790 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 791 | OTHER_FILES | ||
| 792 | XMENU_OBJ | ||
| 793 | XOBJ | ||
| 794 | WIDGET_OBJ | ||
| 795 | LTLIBOBJS' | ||
| 750 | ac_subst_files='' | 796 | ac_subst_files='' |
| 751 | ac_user_opts=' | 797 | ac_user_opts=' |
| 752 | enable_option_checking | 798 | enable_option_checking |
| @@ -911,7 +957,8 @@ do | |||
| 911 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 957 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 912 | # Reject names that are not valid shell variable names. | 958 | # Reject names that are not valid shell variable names. |
| 913 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 959 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 914 | as_fn_error "invalid feature name: $ac_useropt" | 960 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 961 | { (exit 1); exit 1; }; } | ||
| 915 | ac_useropt_orig=$ac_useropt | 962 | ac_useropt_orig=$ac_useropt |
| 916 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 963 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 917 | case $ac_user_opts in | 964 | case $ac_user_opts in |
| @@ -937,7 +984,8 @@ do | |||
| 937 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 984 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 938 | # Reject names that are not valid shell variable names. | 985 | # Reject names that are not valid shell variable names. |
| 939 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 986 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 940 | as_fn_error "invalid feature name: $ac_useropt" | 987 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 988 | { (exit 1); exit 1; }; } | ||
| 941 | ac_useropt_orig=$ac_useropt | 989 | ac_useropt_orig=$ac_useropt |
| 942 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 990 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 943 | case $ac_user_opts in | 991 | case $ac_user_opts in |
| @@ -1141,7 +1189,8 @@ do | |||
| 1141 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1189 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1142 | # Reject names that are not valid shell variable names. | 1190 | # Reject names that are not valid shell variable names. |
| 1143 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1191 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1144 | as_fn_error "invalid package name: $ac_useropt" | 1192 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1193 | { (exit 1); exit 1; }; } | ||
| 1145 | ac_useropt_orig=$ac_useropt | 1194 | ac_useropt_orig=$ac_useropt |
| 1146 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1195 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1147 | case $ac_user_opts in | 1196 | case $ac_user_opts in |
| @@ -1157,7 +1206,8 @@ do | |||
| 1157 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1206 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1158 | # Reject names that are not valid shell variable names. | 1207 | # Reject names that are not valid shell variable names. |
| 1159 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1208 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1160 | as_fn_error "invalid package name: $ac_useropt" | 1209 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1210 | { (exit 1); exit 1; }; } | ||
| 1161 | ac_useropt_orig=$ac_useropt | 1211 | ac_useropt_orig=$ac_useropt |
| 1162 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1212 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1163 | case $ac_user_opts in | 1213 | case $ac_user_opts in |
| @@ -1187,17 +1237,17 @@ do | |||
| 1187 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1237 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1188 | x_libraries=$ac_optarg ;; | 1238 | x_libraries=$ac_optarg ;; |
| 1189 | 1239 | ||
| 1190 | -*) as_fn_error "unrecognized option: \`$ac_option' | 1240 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| 1191 | Try \`$0 --help' for more information." | 1241 | Try \`$0 --help' for more information." >&2 |
| 1242 | { (exit 1); exit 1; }; } | ||
| 1192 | ;; | 1243 | ;; |
| 1193 | 1244 | ||
| 1194 | *=*) | 1245 | *=*) |
| 1195 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1246 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1196 | # Reject names that are not valid shell variable names. | 1247 | # Reject names that are not valid shell variable names. |
| 1197 | case $ac_envvar in #( | 1248 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1198 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1249 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1199 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1250 | { (exit 1); exit 1; }; } |
| 1200 | esac | ||
| 1201 | eval $ac_envvar=\$ac_optarg | 1251 | eval $ac_envvar=\$ac_optarg |
| 1202 | export $ac_envvar ;; | 1252 | export $ac_envvar ;; |
| 1203 | 1253 | ||
| @@ -1214,14 +1264,16 @@ done | |||
| 1214 | 1264 | ||
| 1215 | if test -n "$ac_prev"; then | 1265 | if test -n "$ac_prev"; then |
| 1216 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1266 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1217 | as_fn_error "missing argument to $ac_option" | 1267 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1268 | { (exit 1); exit 1; }; } | ||
| 1218 | fi | 1269 | fi |
| 1219 | 1270 | ||
| 1220 | if test -n "$ac_unrecognized_opts"; then | 1271 | if test -n "$ac_unrecognized_opts"; then |
| 1221 | case $enable_option_checking in | 1272 | case $enable_option_checking in |
| 1222 | no) ;; | 1273 | no) ;; |
| 1223 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1274 | fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
| 1224 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1275 | { (exit 1); exit 1; }; } ;; |
| 1276 | *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1225 | esac | 1277 | esac |
| 1226 | fi | 1278 | fi |
| 1227 | 1279 | ||
| @@ -1243,7 +1295,8 @@ do | |||
| 1243 | [\\/$]* | ?:[\\/]* ) continue;; | 1295 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1244 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1296 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1245 | esac | 1297 | esac |
| 1246 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1298 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1299 | { (exit 1); exit 1; }; } | ||
| 1247 | done | 1300 | done |
| 1248 | 1301 | ||
| 1249 | # There might be people who depend on the old broken behavior: `$host' | 1302 | # There might be people who depend on the old broken behavior: `$host' |
| @@ -1273,9 +1326,11 @@ test "$silent" = yes && exec 6>/dev/null | |||
| 1273 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1326 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1274 | ac_ls_di=`ls -di .` && | 1327 | ac_ls_di=`ls -di .` && |
| 1275 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1328 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1276 | as_fn_error "working directory cannot be determined" | 1329 | { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1330 | { (exit 1); exit 1; }; } | ||
| 1277 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1331 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1278 | as_fn_error "pwd does not report name of working directory" | 1332 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1333 | { (exit 1); exit 1; }; } | ||
| 1279 | 1334 | ||
| 1280 | 1335 | ||
| 1281 | # Find the source files, if location was not specified. | 1336 | # Find the source files, if location was not specified. |
| @@ -1314,11 +1369,13 @@ else | |||
| 1314 | fi | 1369 | fi |
| 1315 | if test ! -r "$srcdir/$ac_unique_file"; then | 1370 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1316 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1371 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1317 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1372 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1373 | { (exit 1); exit 1; }; } | ||
| 1318 | fi | 1374 | fi |
| 1319 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1375 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1320 | ac_abs_confdir=`( | 1376 | ac_abs_confdir=`( |
| 1321 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1377 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| 1378 | { (exit 1); exit 1; }; } | ||
| 1322 | pwd)` | 1379 | pwd)` |
| 1323 | # When building in place, set srcdir=. | 1380 | # When building in place, set srcdir=. |
| 1324 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1381 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| @@ -1498,7 +1555,7 @@ Some influential environment variables: | |||
| 1498 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1555 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1499 | nonstandard directory <lib dir> | 1556 | nonstandard directory <lib dir> |
| 1500 | LIBS libraries to pass to the linker, e.g. -l<library> | 1557 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1501 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1558 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1502 | you have headers in a nonstandard directory <include dir> | 1559 | you have headers in a nonstandard directory <include dir> |
| 1503 | CPP C preprocessor | 1560 | CPP C preprocessor |
| 1504 | XMKMF Path to xmkmf, Makefile generator for X Window System | 1561 | XMKMF Path to xmkmf, Makefile generator for X Window System |
| @@ -1506,7 +1563,6 @@ Some influential environment variables: | |||
| 1506 | Use these variables to override the choices made by `configure' or to help | 1563 | Use these variables to override the choices made by `configure' or to help |
| 1507 | it to find libraries and programs with nonstandard names/locations. | 1564 | it to find libraries and programs with nonstandard names/locations. |
| 1508 | 1565 | ||
| 1509 | Report bugs to the package provider. | ||
| 1510 | _ACEOF | 1566 | _ACEOF |
| 1511 | ac_status=$? | 1567 | ac_status=$? |
| 1512 | fi | 1568 | fi |
| @@ -1570,551 +1626,21 @@ test -n "$ac_init_help" && exit $ac_status | |||
| 1570 | if $ac_init_version; then | 1626 | if $ac_init_version; then |
| 1571 | cat <<\_ACEOF | 1627 | cat <<\_ACEOF |
| 1572 | emacs configure 24.0.50 | 1628 | emacs configure 24.0.50 |
| 1573 | generated by GNU Autoconf 2.65 | 1629 | generated by GNU Autoconf 2.62 |
| 1574 | 1630 | ||
| 1575 | Copyright (C) 2009 Free Software Foundation, Inc. | 1631 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1632 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
| 1576 | This configure script is free software; the Free Software Foundation | 1633 | This configure script is free software; the Free Software Foundation |
| 1577 | gives unlimited permission to copy, distribute and modify it. | 1634 | gives unlimited permission to copy, distribute and modify it. |
| 1578 | _ACEOF | 1635 | _ACEOF |
| 1579 | exit | 1636 | exit |
| 1580 | fi | 1637 | fi |
| 1581 | |||
| 1582 | ## ------------------------ ## | ||
| 1583 | ## Autoconf initialization. ## | ||
| 1584 | ## ------------------------ ## | ||
| 1585 | |||
| 1586 | # ac_fn_c_try_compile LINENO | ||
| 1587 | # -------------------------- | ||
| 1588 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1589 | ac_fn_c_try_compile () | ||
| 1590 | { | ||
| 1591 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1592 | rm -f conftest.$ac_objext | ||
| 1593 | if { { ac_try="$ac_compile" | ||
| 1594 | case "(($ac_try" in | ||
| 1595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1596 | *) ac_try_echo=$ac_try;; | ||
| 1597 | esac | ||
| 1598 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1599 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1600 | (eval "$ac_compile") 2>conftest.err | ||
| 1601 | ac_status=$? | ||
| 1602 | if test -s conftest.err; then | ||
| 1603 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1604 | cat conftest.er1 >&5 | ||
| 1605 | mv -f conftest.er1 conftest.err | ||
| 1606 | fi | ||
| 1607 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1608 | test $ac_status = 0; } && { | ||
| 1609 | test -z "$ac_c_werror_flag" || | ||
| 1610 | test ! -s conftest.err | ||
| 1611 | } && test -s conftest.$ac_objext; then : | ||
| 1612 | ac_retval=0 | ||
| 1613 | else | ||
| 1614 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1615 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1616 | |||
| 1617 | ac_retval=1 | ||
| 1618 | fi | ||
| 1619 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1620 | as_fn_set_status $ac_retval | ||
| 1621 | |||
| 1622 | } # ac_fn_c_try_compile | ||
| 1623 | |||
| 1624 | # ac_fn_c_try_link LINENO | ||
| 1625 | # ----------------------- | ||
| 1626 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1627 | ac_fn_c_try_link () | ||
| 1628 | { | ||
| 1629 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1630 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1631 | if { { ac_try="$ac_link" | ||
| 1632 | case "(($ac_try" in | ||
| 1633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1634 | *) ac_try_echo=$ac_try;; | ||
| 1635 | esac | ||
| 1636 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1637 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1638 | (eval "$ac_link") 2>conftest.err | ||
| 1639 | ac_status=$? | ||
| 1640 | if test -s conftest.err; then | ||
| 1641 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1642 | cat conftest.er1 >&5 | ||
| 1643 | mv -f conftest.er1 conftest.err | ||
| 1644 | fi | ||
| 1645 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1646 | test $ac_status = 0; } && { | ||
| 1647 | test -z "$ac_c_werror_flag" || | ||
| 1648 | test ! -s conftest.err | ||
| 1649 | } && test -s conftest$ac_exeext && { | ||
| 1650 | test "$cross_compiling" = yes || | ||
| 1651 | $as_test_x conftest$ac_exeext | ||
| 1652 | }; then : | ||
| 1653 | ac_retval=0 | ||
| 1654 | else | ||
| 1655 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1656 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1657 | |||
| 1658 | ac_retval=1 | ||
| 1659 | fi | ||
| 1660 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1661 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1662 | # interfere with the next link command; also delete a directory that is | ||
| 1663 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1664 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1665 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1666 | as_fn_set_status $ac_retval | ||
| 1667 | |||
| 1668 | } # ac_fn_c_try_link | ||
| 1669 | |||
| 1670 | # ac_fn_c_try_cpp LINENO | ||
| 1671 | # ---------------------- | ||
| 1672 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1673 | ac_fn_c_try_cpp () | ||
| 1674 | { | ||
| 1675 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1676 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1677 | case "(($ac_try" in | ||
| 1678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1679 | *) ac_try_echo=$ac_try;; | ||
| 1680 | esac | ||
| 1681 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1682 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1683 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1684 | ac_status=$? | ||
| 1685 | if test -s conftest.err; then | ||
| 1686 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1687 | cat conftest.er1 >&5 | ||
| 1688 | mv -f conftest.er1 conftest.err | ||
| 1689 | fi | ||
| 1690 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1691 | test $ac_status = 0; } >/dev/null && { | ||
| 1692 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1693 | test ! -s conftest.err | ||
| 1694 | }; then : | ||
| 1695 | ac_retval=0 | ||
| 1696 | else | ||
| 1697 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1698 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1699 | |||
| 1700 | ac_retval=1 | ||
| 1701 | fi | ||
| 1702 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1703 | as_fn_set_status $ac_retval | ||
| 1704 | |||
| 1705 | } # ac_fn_c_try_cpp | ||
| 1706 | |||
| 1707 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1708 | # ------------------------------------------------------- | ||
| 1709 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1710 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1711 | # accordingly. | ||
| 1712 | ac_fn_c_check_header_mongrel () | ||
| 1713 | { | ||
| 1714 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1715 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1716 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1717 | $as_echo_n "checking for $2... " >&6; } | ||
| 1718 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1719 | $as_echo_n "(cached) " >&6 | ||
| 1720 | fi | ||
| 1721 | eval ac_res=\$$3 | ||
| 1722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1723 | $as_echo "$ac_res" >&6; } | ||
| 1724 | else | ||
| 1725 | # Is the header compilable? | ||
| 1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1727 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1728 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1729 | /* end confdefs.h. */ | ||
| 1730 | $4 | ||
| 1731 | #include <$2> | ||
| 1732 | _ACEOF | ||
| 1733 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1734 | ac_header_compiler=yes | ||
| 1735 | else | ||
| 1736 | ac_header_compiler=no | ||
| 1737 | fi | ||
| 1738 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1740 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1741 | |||
| 1742 | # Is the header present? | ||
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1744 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1745 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1746 | /* end confdefs.h. */ | ||
| 1747 | #include <$2> | ||
| 1748 | _ACEOF | ||
| 1749 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1750 | ac_header_preproc=yes | ||
| 1751 | else | ||
| 1752 | ac_header_preproc=no | ||
| 1753 | fi | ||
| 1754 | rm -f conftest.err conftest.$ac_ext | ||
| 1755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1756 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1757 | |||
| 1758 | # So? What about this header? | ||
| 1759 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1760 | yes:no: ) | ||
| 1761 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1762 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1763 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1764 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1765 | ;; | ||
| 1766 | no:yes:* ) | ||
| 1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1768 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1769 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1770 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1771 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1772 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1773 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1774 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1775 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1776 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1777 | ;; | ||
| 1778 | esac | ||
| 1779 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1780 | $as_echo_n "checking for $2... " >&6; } | ||
| 1781 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1782 | $as_echo_n "(cached) " >&6 | ||
| 1783 | else | ||
| 1784 | eval "$3=\$ac_header_compiler" | ||
| 1785 | fi | ||
| 1786 | eval ac_res=\$$3 | ||
| 1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1788 | $as_echo "$ac_res" >&6; } | ||
| 1789 | fi | ||
| 1790 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1791 | |||
| 1792 | } # ac_fn_c_check_header_mongrel | ||
| 1793 | |||
| 1794 | # ac_fn_c_try_run LINENO | ||
| 1795 | # ---------------------- | ||
| 1796 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1797 | # that executables *can* be run. | ||
| 1798 | ac_fn_c_try_run () | ||
| 1799 | { | ||
| 1800 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1801 | if { { ac_try="$ac_link" | ||
| 1802 | case "(($ac_try" in | ||
| 1803 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1804 | *) ac_try_echo=$ac_try;; | ||
| 1805 | esac | ||
| 1806 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1807 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1808 | (eval "$ac_link") 2>&5 | ||
| 1809 | ac_status=$? | ||
| 1810 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1811 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1812 | { { case "(($ac_try" in | ||
| 1813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1814 | *) ac_try_echo=$ac_try;; | ||
| 1815 | esac | ||
| 1816 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1817 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1818 | (eval "$ac_try") 2>&5 | ||
| 1819 | ac_status=$? | ||
| 1820 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1821 | test $ac_status = 0; }; }; then : | ||
| 1822 | ac_retval=0 | ||
| 1823 | else | ||
| 1824 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1825 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1826 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1827 | |||
| 1828 | ac_retval=$ac_status | ||
| 1829 | fi | ||
| 1830 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1831 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1832 | as_fn_set_status $ac_retval | ||
| 1833 | |||
| 1834 | } # ac_fn_c_try_run | ||
| 1835 | |||
| 1836 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1837 | # ------------------------------------------------------- | ||
| 1838 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1839 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1840 | ac_fn_c_check_header_compile () | ||
| 1841 | { | ||
| 1842 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1844 | $as_echo_n "checking for $2... " >&6; } | ||
| 1845 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1846 | $as_echo_n "(cached) " >&6 | ||
| 1847 | else | ||
| 1848 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1849 | /* end confdefs.h. */ | ||
| 1850 | $4 | ||
| 1851 | #include <$2> | ||
| 1852 | _ACEOF | ||
| 1853 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1854 | eval "$3=yes" | ||
| 1855 | else | ||
| 1856 | eval "$3=no" | ||
| 1857 | fi | ||
| 1858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1859 | fi | ||
| 1860 | eval ac_res=\$$3 | ||
| 1861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1862 | $as_echo "$ac_res" >&6; } | ||
| 1863 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1864 | |||
| 1865 | } # ac_fn_c_check_header_compile | ||
| 1866 | |||
| 1867 | # ac_fn_c_check_header_preproc LINENO HEADER VAR | ||
| 1868 | # ---------------------------------------------- | ||
| 1869 | # Tests whether HEADER is present, setting the cache variable VAR accordingly. | ||
| 1870 | ac_fn_c_check_header_preproc () | ||
| 1871 | { | ||
| 1872 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1874 | $as_echo_n "checking for $2... " >&6; } | ||
| 1875 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1876 | $as_echo_n "(cached) " >&6 | ||
| 1877 | else | ||
| 1878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1879 | /* end confdefs.h. */ | ||
| 1880 | #include <$2> | ||
| 1881 | _ACEOF | ||
| 1882 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1883 | eval "$3=yes" | ||
| 1884 | else | ||
| 1885 | eval "$3=no" | ||
| 1886 | fi | ||
| 1887 | rm -f conftest.err conftest.$ac_ext | ||
| 1888 | fi | ||
| 1889 | eval ac_res=\$$3 | ||
| 1890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1891 | $as_echo "$ac_res" >&6; } | ||
| 1892 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1893 | |||
| 1894 | } # ac_fn_c_check_header_preproc | ||
| 1895 | |||
| 1896 | # ac_fn_c_check_decl LINENO SYMBOL VAR | ||
| 1897 | # ------------------------------------ | ||
| 1898 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | ||
| 1899 | ac_fn_c_check_decl () | ||
| 1900 | { | ||
| 1901 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1902 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | ||
| 1903 | $as_echo_n "checking whether $2 is declared... " >&6; } | ||
| 1904 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1905 | $as_echo_n "(cached) " >&6 | ||
| 1906 | else | ||
| 1907 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1908 | /* end confdefs.h. */ | ||
| 1909 | $4 | ||
| 1910 | int | ||
| 1911 | main () | ||
| 1912 | { | ||
| 1913 | #ifndef $2 | ||
| 1914 | (void) $2; | ||
| 1915 | #endif | ||
| 1916 | |||
| 1917 | ; | ||
| 1918 | return 0; | ||
| 1919 | } | ||
| 1920 | _ACEOF | ||
| 1921 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1922 | eval "$3=yes" | ||
| 1923 | else | ||
| 1924 | eval "$3=no" | ||
| 1925 | fi | ||
| 1926 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1927 | fi | ||
| 1928 | eval ac_res=\$$3 | ||
| 1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1930 | $as_echo "$ac_res" >&6; } | ||
| 1931 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1932 | |||
| 1933 | } # ac_fn_c_check_decl | ||
| 1934 | |||
| 1935 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 1936 | # ---------------------------------------------------- | ||
| 1937 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 1938 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 1939 | ac_fn_c_check_member () | ||
| 1940 | { | ||
| 1941 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 1943 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 1944 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1945 | $as_echo_n "(cached) " >&6 | ||
| 1946 | else | ||
| 1947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1948 | /* end confdefs.h. */ | ||
| 1949 | $5 | ||
| 1950 | int | ||
| 1951 | main () | ||
| 1952 | { | ||
| 1953 | static $2 ac_aggr; | ||
| 1954 | if (ac_aggr.$3) | ||
| 1955 | return 0; | ||
| 1956 | ; | ||
| 1957 | return 0; | ||
| 1958 | } | ||
| 1959 | _ACEOF | ||
| 1960 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1961 | eval "$4=yes" | ||
| 1962 | else | ||
| 1963 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1964 | /* end confdefs.h. */ | ||
| 1965 | $5 | ||
| 1966 | int | ||
| 1967 | main () | ||
| 1968 | { | ||
| 1969 | static $2 ac_aggr; | ||
| 1970 | if (sizeof ac_aggr.$3) | ||
| 1971 | return 0; | ||
| 1972 | ; | ||
| 1973 | return 0; | ||
| 1974 | } | ||
| 1975 | _ACEOF | ||
| 1976 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1977 | eval "$4=yes" | ||
| 1978 | else | ||
| 1979 | eval "$4=no" | ||
| 1980 | fi | ||
| 1981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1982 | fi | ||
| 1983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1984 | fi | ||
| 1985 | eval ac_res=\$$4 | ||
| 1986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1987 | $as_echo "$ac_res" >&6; } | ||
| 1988 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1989 | |||
| 1990 | } # ac_fn_c_check_member | ||
| 1991 | |||
| 1992 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1993 | # ---------------------------------- | ||
| 1994 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1995 | ac_fn_c_check_func () | ||
| 1996 | { | ||
| 1997 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1999 | $as_echo_n "checking for $2... " >&6; } | ||
| 2000 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2001 | $as_echo_n "(cached) " >&6 | ||
| 2002 | else | ||
| 2003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2004 | /* end confdefs.h. */ | ||
| 2005 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 2006 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 2007 | #define $2 innocuous_$2 | ||
| 2008 | |||
| 2009 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 2010 | which can conflict with char $2 (); below. | ||
| 2011 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 2012 | <limits.h> exists even on freestanding compilers. */ | ||
| 2013 | |||
| 2014 | #ifdef __STDC__ | ||
| 2015 | # include <limits.h> | ||
| 2016 | #else | ||
| 2017 | # include <assert.h> | ||
| 2018 | #endif | ||
| 2019 | |||
| 2020 | #undef $2 | ||
| 2021 | |||
| 2022 | /* Override any GCC internal prototype to avoid an error. | ||
| 2023 | Use char because int might match the return type of a GCC | ||
| 2024 | builtin and then its argument prototype would still apply. */ | ||
| 2025 | #ifdef __cplusplus | ||
| 2026 | extern "C" | ||
| 2027 | #endif | ||
| 2028 | char $2 (); | ||
| 2029 | /* The GNU C library defines this for functions which it implements | ||
| 2030 | to always fail with ENOSYS. Some functions are actually named | ||
| 2031 | something starting with __ and the normal name is an alias. */ | ||
| 2032 | #if defined __stub_$2 || defined __stub___$2 | ||
| 2033 | choke me | ||
| 2034 | #endif | ||
| 2035 | |||
| 2036 | int | ||
| 2037 | main () | ||
| 2038 | { | ||
| 2039 | return $2 (); | ||
| 2040 | ; | ||
| 2041 | return 0; | ||
| 2042 | } | ||
| 2043 | _ACEOF | ||
| 2044 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 2045 | eval "$3=yes" | ||
| 2046 | else | ||
| 2047 | eval "$3=no" | ||
| 2048 | fi | ||
| 2049 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 2050 | conftest$ac_exeext conftest.$ac_ext | ||
| 2051 | fi | ||
| 2052 | eval ac_res=\$$3 | ||
| 2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2054 | $as_echo "$ac_res" >&6; } | ||
| 2055 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2056 | |||
| 2057 | } # ac_fn_c_check_func | ||
| 2058 | |||
| 2059 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2060 | # ------------------------------------------- | ||
| 2061 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2062 | # variable VAR accordingly. | ||
| 2063 | ac_fn_c_check_type () | ||
| 2064 | { | ||
| 2065 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2067 | $as_echo_n "checking for $2... " >&6; } | ||
| 2068 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2069 | $as_echo_n "(cached) " >&6 | ||
| 2070 | else | ||
| 2071 | eval "$3=no" | ||
| 2072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2073 | /* end confdefs.h. */ | ||
| 2074 | $4 | ||
| 2075 | int | ||
| 2076 | main () | ||
| 2077 | { | ||
| 2078 | if (sizeof ($2)) | ||
| 2079 | return 0; | ||
| 2080 | ; | ||
| 2081 | return 0; | ||
| 2082 | } | ||
| 2083 | _ACEOF | ||
| 2084 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2086 | /* end confdefs.h. */ | ||
| 2087 | $4 | ||
| 2088 | int | ||
| 2089 | main () | ||
| 2090 | { | ||
| 2091 | if (sizeof (($2))) | ||
| 2092 | return 0; | ||
| 2093 | ; | ||
| 2094 | return 0; | ||
| 2095 | } | ||
| 2096 | _ACEOF | ||
| 2097 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2098 | |||
| 2099 | else | ||
| 2100 | eval "$3=yes" | ||
| 2101 | fi | ||
| 2102 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2103 | fi | ||
| 2104 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2105 | fi | ||
| 2106 | eval ac_res=\$$3 | ||
| 2107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2108 | $as_echo "$ac_res" >&6; } | ||
| 2109 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2110 | |||
| 2111 | } # ac_fn_c_check_type | ||
| 2112 | cat >config.log <<_ACEOF | 1638 | cat >config.log <<_ACEOF |
| 2113 | This file contains any messages produced by compilers while | 1639 | This file contains any messages produced by compilers while |
| 2114 | running configure, to aid debugging if configure makes a mistake. | 1640 | running configure, to aid debugging if configure makes a mistake. |
| 2115 | 1641 | ||
| 2116 | It was created by emacs $as_me 24.0.50, which was | 1642 | It was created by emacs $as_me 24.0.50, which was |
| 2117 | generated by GNU Autoconf 2.65. Invocation command line was | 1643 | generated by GNU Autoconf 2.62. Invocation command line was |
| 2118 | 1644 | ||
| 2119 | $ $0 $@ | 1645 | $ $0 $@ |
| 2120 | 1646 | ||
| @@ -2150,8 +1676,8 @@ for as_dir in $PATH | |||
| 2150 | do | 1676 | do |
| 2151 | IFS=$as_save_IFS | 1677 | IFS=$as_save_IFS |
| 2152 | test -z "$as_dir" && as_dir=. | 1678 | test -z "$as_dir" && as_dir=. |
| 2153 | $as_echo "PATH: $as_dir" | 1679 | $as_echo "PATH: $as_dir" |
| 2154 | done | 1680 | done |
| 2155 | IFS=$as_save_IFS | 1681 | IFS=$as_save_IFS |
| 2156 | 1682 | ||
| 2157 | } >&5 | 1683 | } >&5 |
| @@ -2188,9 +1714,9 @@ do | |||
| 2188 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1714 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2189 | esac | 1715 | esac |
| 2190 | case $ac_pass in | 1716 | case $ac_pass in |
| 2191 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1717 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 2192 | 2) | 1718 | 2) |
| 2193 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1719 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 2194 | if test $ac_must_keep_next = true; then | 1720 | if test $ac_must_keep_next = true; then |
| 2195 | ac_must_keep_next=false # Got value, back to normal. | 1721 | ac_must_keep_next=false # Got value, back to normal. |
| 2196 | else | 1722 | else |
| @@ -2206,13 +1732,13 @@ do | |||
| 2206 | -* ) ac_must_keep_next=true ;; | 1732 | -* ) ac_must_keep_next=true ;; |
| 2207 | esac | 1733 | esac |
| 2208 | fi | 1734 | fi |
| 2209 | as_fn_append ac_configure_args " '$ac_arg'" | 1735 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 2210 | ;; | 1736 | ;; |
| 2211 | esac | 1737 | esac |
| 2212 | done | 1738 | done |
| 2213 | done | 1739 | done |
| 2214 | { ac_configure_args0=; unset ac_configure_args0;} | 1740 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 2215 | { ac_configure_args1=; unset ac_configure_args1;} | 1741 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 2216 | 1742 | ||
| 2217 | # When interrupted or exit'd, cleanup temporary files, and complete | 1743 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2218 | # config.log. We remove comments because anyway the quotes in there | 1744 | # config.log. We remove comments because anyway the quotes in there |
| @@ -2237,13 +1763,13 @@ _ASBOX | |||
| 2237 | case $ac_val in #( | 1763 | case $ac_val in #( |
| 2238 | *${as_nl}*) | 1764 | *${as_nl}*) |
| 2239 | case $ac_var in #( | 1765 | case $ac_var in #( |
| 2240 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1766 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 2241 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1767 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 2242 | esac | 1768 | esac |
| 2243 | case $ac_var in #( | 1769 | case $ac_var in #( |
| 2244 | _ | IFS | as_nl) ;; #( | 1770 | _ | IFS | as_nl) ;; #( |
| 2245 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1771 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2246 | *) { eval $ac_var=; unset $ac_var;} ;; | 1772 | *) $as_unset $ac_var ;; |
| 2247 | esac ;; | 1773 | esac ;; |
| 2248 | esac | 1774 | esac |
| 2249 | done | 1775 | done |
| @@ -2315,39 +1841,37 @@ _ASBOX | |||
| 2315 | exit $exit_status | 1841 | exit $exit_status |
| 2316 | ' 0 | 1842 | ' 0 |
| 2317 | for ac_signal in 1 2 13 15; do | 1843 | for ac_signal in 1 2 13 15; do |
| 2318 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1844 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 2319 | done | 1845 | done |
| 2320 | ac_signal=0 | 1846 | ac_signal=0 |
| 2321 | 1847 | ||
| 2322 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1848 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2323 | rm -f -r conftest* confdefs.h | 1849 | rm -f -r conftest* confdefs.h |
| 2324 | 1850 | ||
| 2325 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2326 | |||
| 2327 | # Predefined preprocessor variables. | 1851 | # Predefined preprocessor variables. |
| 2328 | 1852 | ||
| 2329 | cat >>confdefs.h <<_ACEOF | 1853 | cat >>confdefs.h <<_ACEOF |
| 2330 | #define PACKAGE_NAME "$PACKAGE_NAME" | 1854 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2331 | _ACEOF | 1855 | _ACEOF |
| 2332 | 1856 | ||
| 1857 | |||
| 2333 | cat >>confdefs.h <<_ACEOF | 1858 | cat >>confdefs.h <<_ACEOF |
| 2334 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1859 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2335 | _ACEOF | 1860 | _ACEOF |
| 2336 | 1861 | ||
| 1862 | |||
| 2337 | cat >>confdefs.h <<_ACEOF | 1863 | cat >>confdefs.h <<_ACEOF |
| 2338 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1864 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2339 | _ACEOF | 1865 | _ACEOF |
| 2340 | 1866 | ||
| 1867 | |||
| 2341 | cat >>confdefs.h <<_ACEOF | 1868 | cat >>confdefs.h <<_ACEOF |
| 2342 | #define PACKAGE_STRING "$PACKAGE_STRING" | 1869 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2343 | _ACEOF | 1870 | _ACEOF |
| 2344 | 1871 | ||
| 2345 | cat >>confdefs.h <<_ACEOF | ||
| 2346 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 2347 | _ACEOF | ||
| 2348 | 1872 | ||
| 2349 | cat >>confdefs.h <<_ACEOF | 1873 | cat >>confdefs.h <<_ACEOF |
| 2350 | #define PACKAGE_URL "$PACKAGE_URL" | 1874 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2351 | _ACEOF | 1875 | _ACEOF |
| 2352 | 1876 | ||
| 2353 | 1877 | ||
| @@ -2367,8 +1891,8 @@ fi | |||
| 2367 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1891 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2368 | do | 1892 | do |
| 2369 | test "x$ac_site_file" = xNONE && continue | 1893 | test "x$ac_site_file" = xNONE && continue |
| 2370 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1894 | if test -r "$ac_site_file"; then |
| 2371 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1895 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 2372 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 1896 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2373 | sed 's/^/| /' "$ac_site_file" >&5 | 1897 | sed 's/^/| /' "$ac_site_file" >&5 |
| 2374 | . "$ac_site_file" | 1898 | . "$ac_site_file" |
| @@ -2376,10 +1900,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |||
| 2376 | done | 1900 | done |
| 2377 | 1901 | ||
| 2378 | if test -r "$cache_file"; then | 1902 | if test -r "$cache_file"; then |
| 2379 | # Some versions of bash will fail to source /dev/null (special files | 1903 | # Some versions of bash will fail to source /dev/null (special |
| 2380 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1904 | # files actually), so we avoid doing that. |
| 2381 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1905 | if test -f "$cache_file"; then |
| 2382 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1906 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 2383 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 1907 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2384 | case $cache_file in | 1908 | case $cache_file in |
| 2385 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1909 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| @@ -2387,16 +1911,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} | |||
| 2387 | esac | 1911 | esac |
| 2388 | fi | 1912 | fi |
| 2389 | else | 1913 | else |
| 2390 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1914 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 2391 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 1915 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2392 | >$cache_file | 1916 | >$cache_file |
| 2393 | fi | 1917 | fi |
| 2394 | 1918 | ||
| 2395 | as_fn_append ac_header_list " stdlib.h" | 1919 | ac_header_list="$ac_header_list sys/time.h" |
| 2396 | as_fn_append ac_header_list " unistd.h" | 1920 | ac_header_list="$ac_header_list unistd.h" |
| 2397 | as_fn_append ac_header_list " sys/param.h" | 1921 | ac_func_list="$ac_func_list alarm" |
| 2398 | as_fn_append ac_header_list " sys/time.h" | ||
| 2399 | as_fn_append ac_func_list " alarm" | ||
| 2400 | # Check that the precious variables saved in the cache have kept the same | 1922 | # Check that the precious variables saved in the cache have kept the same |
| 2401 | # value. | 1923 | # value. |
| 2402 | ac_cache_corrupted=false | 1924 | ac_cache_corrupted=false |
| @@ -2407,11 +1929,11 @@ for ac_var in $ac_precious_vars; do | |||
| 2407 | eval ac_new_val=\$ac_env_${ac_var}_value | 1929 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 2408 | case $ac_old_set,$ac_new_set in | 1930 | case $ac_old_set,$ac_new_set in |
| 2409 | set,) | 1931 | set,) |
| 2410 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1932 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2411 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1933 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2412 | ac_cache_corrupted=: ;; | 1934 | ac_cache_corrupted=: ;; |
| 2413 | ,set) | 1935 | ,set) |
| 2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1936 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 2415 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1937 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2416 | ac_cache_corrupted=: ;; | 1938 | ac_cache_corrupted=: ;; |
| 2417 | ,);; | 1939 | ,);; |
| @@ -2421,17 +1943,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |||
| 2421 | ac_old_val_w=`echo x $ac_old_val` | 1943 | ac_old_val_w=`echo x $ac_old_val` |
| 2422 | ac_new_val_w=`echo x $ac_new_val` | 1944 | ac_new_val_w=`echo x $ac_new_val` |
| 2423 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1945 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2424 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1946 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2425 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1947 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2426 | ac_cache_corrupted=: | 1948 | ac_cache_corrupted=: |
| 2427 | else | 1949 | else |
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 1950 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2429 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 1951 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2430 | eval $ac_var=\$ac_old_val | 1952 | eval $ac_var=\$ac_old_val |
| 2431 | fi | 1953 | fi |
| 2432 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 1954 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| 2433 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 1955 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2434 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 1956 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| 2435 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 1957 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2436 | fi;; | 1958 | fi;; |
| 2437 | esac | 1959 | esac |
| @@ -2443,20 +1965,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |||
| 2443 | esac | 1965 | esac |
| 2444 | case " $ac_configure_args " in | 1966 | case " $ac_configure_args " in |
| 2445 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1967 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2446 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1968 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 2447 | esac | 1969 | esac |
| 2448 | fi | 1970 | fi |
| 2449 | done | 1971 | done |
| 2450 | if $ac_cache_corrupted; then | 1972 | if $ac_cache_corrupted; then |
| 2451 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1973 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 2452 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2454 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1974 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2455 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1975 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1976 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1977 | { (exit 1); exit 1; }; } | ||
| 2456 | fi | 1978 | fi |
| 2457 | ## -------------------- ## | 1979 | |
| 2458 | ## Main body of script. ## | 1980 | |
| 2459 | ## -------------------- ## | 1981 | |
| 1982 | |||
| 1983 | |||
| 1984 | |||
| 1985 | |||
| 1986 | |||
| 1987 | |||
| 1988 | |||
| 1989 | |||
| 1990 | |||
| 1991 | |||
| 1992 | |||
| 1993 | |||
| 1994 | |||
| 1995 | |||
| 1996 | |||
| 1997 | |||
| 1998 | |||
| 1999 | |||
| 2000 | |||
| 2001 | |||
| 2002 | |||
| 2460 | 2003 | ||
| 2461 | ac_ext=c | 2004 | ac_ext=c |
| 2462 | ac_cpp='$CPP $CPPFLAGS' | 2005 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -2495,33 +2038,39 @@ gameuser=games | |||
| 2495 | 2038 | ||
| 2496 | 2039 | ||
| 2497 | # Check whether --with-pop was given. | 2040 | # Check whether --with-pop was given. |
| 2498 | if test "${with_pop+set}" = set; then : | 2041 | if test "${with_pop+set}" = set; then |
| 2499 | withval=$with_pop; | 2042 | withval=$with_pop; |
| 2500 | else | 2043 | else |
| 2501 | with_pop=yes | 2044 | with_pop=yes |
| 2502 | fi | 2045 | fi |
| 2503 | 2046 | ||
| 2504 | if test "$with_pop" = yes; then | 2047 | if test "$with_pop" = yes; then |
| 2505 | $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 2048 | cat >>confdefs.h <<\_ACEOF |
| 2049 | #define MAIL_USE_POP 1 | ||
| 2050 | _ACEOF | ||
| 2506 | 2051 | ||
| 2507 | fi | 2052 | fi |
| 2508 | 2053 | ||
| 2509 | 2054 | ||
| 2055 | |||
| 2510 | # Check whether --with-kerberos was given. | 2056 | # Check whether --with-kerberos was given. |
| 2511 | if test "${with_kerberos+set}" = set; then : | 2057 | if test "${with_kerberos+set}" = set; then |
| 2512 | withval=$with_kerberos; | 2058 | withval=$with_kerberos; |
| 2513 | else | 2059 | else |
| 2514 | with_kerberos=no | 2060 | with_kerberos=no |
| 2515 | fi | 2061 | fi |
| 2516 | 2062 | ||
| 2517 | if test "$with_kerberos" != no; then | 2063 | if test "$with_kerberos" != no; then |
| 2518 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2064 | cat >>confdefs.h <<\_ACEOF |
| 2065 | #define KERBEROS 1 | ||
| 2066 | _ACEOF | ||
| 2519 | 2067 | ||
| 2520 | fi | 2068 | fi |
| 2521 | 2069 | ||
| 2522 | 2070 | ||
| 2071 | |||
| 2523 | # Check whether --with-kerberos5 was given. | 2072 | # Check whether --with-kerberos5 was given. |
| 2524 | if test "${with_kerberos5+set}" = set; then : | 2073 | if test "${with_kerberos5+set}" = set; then |
| 2525 | withval=$with_kerberos5; | 2074 | withval=$with_kerberos5; |
| 2526 | else | 2075 | else |
| 2527 | with_kerberos5=no | 2076 | with_kerberos5=no |
| @@ -2530,17 +2079,21 @@ fi | |||
| 2530 | if test "${with_kerberos5}" != no; then | 2079 | if test "${with_kerberos5}" != no; then |
| 2531 | if test "${with_kerberos}" = no; then | 2080 | if test "${with_kerberos}" = no; then |
| 2532 | with_kerberos=yes | 2081 | with_kerberos=yes |
| 2533 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2082 | cat >>confdefs.h <<\_ACEOF |
| 2083 | #define KERBEROS 1 | ||
| 2084 | _ACEOF | ||
| 2534 | 2085 | ||
| 2535 | fi | 2086 | fi |
| 2536 | 2087 | ||
| 2537 | $as_echo "#define KERBEROS5 1" >>confdefs.h | 2088 | cat >>confdefs.h <<\_ACEOF |
| 2089 | #define KERBEROS5 1 | ||
| 2090 | _ACEOF | ||
| 2538 | 2091 | ||
| 2539 | fi | 2092 | fi |
| 2540 | 2093 | ||
| 2541 | 2094 | ||
| 2542 | # Check whether --with-hesiod was given. | 2095 | # Check whether --with-hesiod was given. |
| 2543 | if test "${with_hesiod+set}" = set; then : | 2096 | if test "${with_hesiod+set}" = set; then |
| 2544 | withval=$with_hesiod; | 2097 | withval=$with_hesiod; |
| 2545 | else | 2098 | else |
| 2546 | with_hesiod=no | 2099 | with_hesiod=no |
| @@ -2548,13 +2101,15 @@ fi | |||
| 2548 | 2101 | ||
| 2549 | if test "$with_hesiod" != no; then | 2102 | if test "$with_hesiod" != no; then |
| 2550 | 2103 | ||
| 2551 | $as_echo "#define HESIOD 1" >>confdefs.h | 2104 | cat >>confdefs.h <<\_ACEOF |
| 2105 | #define HESIOD 1 | ||
| 2106 | _ACEOF | ||
| 2552 | 2107 | ||
| 2553 | fi | 2108 | fi |
| 2554 | 2109 | ||
| 2555 | 2110 | ||
| 2556 | # Check whether --with-mmdf was given. | 2111 | # Check whether --with-mmdf was given. |
| 2557 | if test "${with_mmdf+set}" = set; then : | 2112 | if test "${with_mmdf+set}" = set; then |
| 2558 | withval=$with_mmdf; | 2113 | withval=$with_mmdf; |
| 2559 | else | 2114 | else |
| 2560 | with_mmdf=no | 2115 | with_mmdf=no |
| @@ -2562,13 +2117,15 @@ fi | |||
| 2562 | 2117 | ||
| 2563 | if test "$with_mmdf" != no; then | 2118 | if test "$with_mmdf" != no; then |
| 2564 | 2119 | ||
| 2565 | $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h | 2120 | cat >>confdefs.h <<\_ACEOF |
| 2121 | #define MAIL_USE_MMDF 1 | ||
| 2122 | _ACEOF | ||
| 2566 | 2123 | ||
| 2567 | fi | 2124 | fi |
| 2568 | 2125 | ||
| 2569 | 2126 | ||
| 2570 | # Check whether --with-mail-unlink was given. | 2127 | # Check whether --with-mail-unlink was given. |
| 2571 | if test "${with_mail_unlink+set}" = set; then : | 2128 | if test "${with_mail_unlink+set}" = set; then |
| 2572 | withval=$with_mail_unlink; | 2129 | withval=$with_mail_unlink; |
| 2573 | else | 2130 | else |
| 2574 | with_mail_unlink=no | 2131 | with_mail_unlink=no |
| @@ -2576,13 +2133,15 @@ fi | |||
| 2576 | 2133 | ||
| 2577 | if test "$with_mail_unlink" != no; then | 2134 | if test "$with_mail_unlink" != no; then |
| 2578 | 2135 | ||
| 2579 | $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h | 2136 | cat >>confdefs.h <<\_ACEOF |
| 2137 | #define MAIL_UNLINK_SPOOL 1 | ||
| 2138 | _ACEOF | ||
| 2580 | 2139 | ||
| 2581 | fi | 2140 | fi |
| 2582 | 2141 | ||
| 2583 | 2142 | ||
| 2584 | # Check whether --with-mailhost was given. | 2143 | # Check whether --with-mailhost was given. |
| 2585 | if test "${with_mailhost+set}" = set; then : | 2144 | if test "${with_mailhost+set}" = set; then |
| 2586 | withval=$with_mailhost; | 2145 | withval=$with_mailhost; |
| 2587 | cat >>confdefs.h <<_ACEOF | 2146 | cat >>confdefs.h <<_ACEOF |
| 2588 | #define MAILHOST "$withval" | 2147 | #define MAILHOST "$withval" |
| @@ -2593,7 +2152,7 @@ fi | |||
| 2593 | 2152 | ||
| 2594 | 2153 | ||
| 2595 | # Check whether --with-sound was given. | 2154 | # Check whether --with-sound was given. |
| 2596 | if test "${with_sound+set}" = set; then : | 2155 | if test "${with_sound+set}" = set; then |
| 2597 | withval=$with_sound; | 2156 | withval=$with_sound; |
| 2598 | else | 2157 | else |
| 2599 | with_sound=yes | 2158 | with_sound=yes |
| @@ -2602,7 +2161,7 @@ fi | |||
| 2602 | 2161 | ||
| 2603 | 2162 | ||
| 2604 | # Check whether --with-sync-input was given. | 2163 | # Check whether --with-sync-input was given. |
| 2605 | if test "${with_sync_input+set}" = set; then : | 2164 | if test "${with_sync_input+set}" = set; then |
| 2606 | withval=$with_sync_input; | 2165 | withval=$with_sync_input; |
| 2607 | else | 2166 | else |
| 2608 | with_sync_input=yes | 2167 | with_sync_input=yes |
| @@ -2610,13 +2169,15 @@ fi | |||
| 2610 | 2169 | ||
| 2611 | if test "$with_sync_input" = yes; then | 2170 | if test "$with_sync_input" = yes; then |
| 2612 | 2171 | ||
| 2613 | $as_echo "#define SYNC_INPUT 1" >>confdefs.h | 2172 | cat >>confdefs.h <<\_ACEOF |
| 2173 | #define SYNC_INPUT 1 | ||
| 2174 | _ACEOF | ||
| 2614 | 2175 | ||
| 2615 | fi | 2176 | fi |
| 2616 | 2177 | ||
| 2617 | 2178 | ||
| 2618 | # Check whether --with-x-toolkit was given. | 2179 | # Check whether --with-x-toolkit was given. |
| 2619 | if test "${with_x_toolkit+set}" = set; then : | 2180 | if test "${with_x_toolkit+set}" = set; then |
| 2620 | withval=$with_x_toolkit; case "${withval}" in | 2181 | withval=$with_x_toolkit; case "${withval}" in |
| 2621 | y | ye | yes ) val=gtk ;; | 2182 | y | ye | yes ) val=gtk ;; |
| 2622 | n | no ) val=no ;; | 2183 | n | no ) val=no ;; |
| @@ -2625,9 +2186,13 @@ if test "${with_x_toolkit+set}" = set; then : | |||
| 2625 | m | mo | mot | moti | motif ) val=motif ;; | 2186 | m | mo | mot | moti | motif ) val=motif ;; |
| 2626 | g | gt | gtk ) val=gtk ;; | 2187 | g | gt | gtk ) val=gtk ;; |
| 2627 | * ) | 2188 | * ) |
| 2628 | as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2189 | { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; |
| 2190 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | ||
| 2191 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 | ||
| 2192 | $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | ||
| 2629 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2193 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
| 2630 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2194 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} |
| 2195 | { (exit 1); exit 1; }; } | ||
| 2631 | ;; | 2196 | ;; |
| 2632 | esac | 2197 | esac |
| 2633 | with_x_toolkit=$val | 2198 | with_x_toolkit=$val |
| @@ -2637,7 +2202,7 @@ fi | |||
| 2637 | 2202 | ||
| 2638 | 2203 | ||
| 2639 | # Check whether --with-xpm was given. | 2204 | # Check whether --with-xpm was given. |
| 2640 | if test "${with_xpm+set}" = set; then : | 2205 | if test "${with_xpm+set}" = set; then |
| 2641 | withval=$with_xpm; | 2206 | withval=$with_xpm; |
| 2642 | else | 2207 | else |
| 2643 | with_xpm=yes | 2208 | with_xpm=yes |
| @@ -2645,7 +2210,7 @@ fi | |||
| 2645 | 2210 | ||
| 2646 | 2211 | ||
| 2647 | # Check whether --with-jpeg was given. | 2212 | # Check whether --with-jpeg was given. |
| 2648 | if test "${with_jpeg+set}" = set; then : | 2213 | if test "${with_jpeg+set}" = set; then |
| 2649 | withval=$with_jpeg; | 2214 | withval=$with_jpeg; |
| 2650 | else | 2215 | else |
| 2651 | with_jpeg=yes | 2216 | with_jpeg=yes |
| @@ -2653,7 +2218,7 @@ fi | |||
| 2653 | 2218 | ||
| 2654 | 2219 | ||
| 2655 | # Check whether --with-tiff was given. | 2220 | # Check whether --with-tiff was given. |
| 2656 | if test "${with_tiff+set}" = set; then : | 2221 | if test "${with_tiff+set}" = set; then |
| 2657 | withval=$with_tiff; | 2222 | withval=$with_tiff; |
| 2658 | else | 2223 | else |
| 2659 | with_tiff=yes | 2224 | with_tiff=yes |
| @@ -2661,7 +2226,7 @@ fi | |||
| 2661 | 2226 | ||
| 2662 | 2227 | ||
| 2663 | # Check whether --with-gif was given. | 2228 | # Check whether --with-gif was given. |
| 2664 | if test "${with_gif+set}" = set; then : | 2229 | if test "${with_gif+set}" = set; then |
| 2665 | withval=$with_gif; | 2230 | withval=$with_gif; |
| 2666 | else | 2231 | else |
| 2667 | with_gif=yes | 2232 | with_gif=yes |
| @@ -2669,7 +2234,7 @@ fi | |||
| 2669 | 2234 | ||
| 2670 | 2235 | ||
| 2671 | # Check whether --with-png was given. | 2236 | # Check whether --with-png was given. |
| 2672 | if test "${with_png+set}" = set; then : | 2237 | if test "${with_png+set}" = set; then |
| 2673 | withval=$with_png; | 2238 | withval=$with_png; |
| 2674 | else | 2239 | else |
| 2675 | with_png=yes | 2240 | with_png=yes |
| @@ -2677,7 +2242,7 @@ fi | |||
| 2677 | 2242 | ||
| 2678 | 2243 | ||
| 2679 | # Check whether --with-rsvg was given. | 2244 | # Check whether --with-rsvg was given. |
| 2680 | if test "${with_rsvg+set}" = set; then : | 2245 | if test "${with_rsvg+set}" = set; then |
| 2681 | withval=$with_rsvg; | 2246 | withval=$with_rsvg; |
| 2682 | else | 2247 | else |
| 2683 | with_rsvg=yes | 2248 | with_rsvg=yes |
| @@ -2686,7 +2251,7 @@ fi | |||
| 2686 | 2251 | ||
| 2687 | 2252 | ||
| 2688 | # Check whether --with-xft was given. | 2253 | # Check whether --with-xft was given. |
| 2689 | if test "${with_xft+set}" = set; then : | 2254 | if test "${with_xft+set}" = set; then |
| 2690 | withval=$with_xft; | 2255 | withval=$with_xft; |
| 2691 | else | 2256 | else |
| 2692 | with_xft=yes | 2257 | with_xft=yes |
| @@ -2694,7 +2259,7 @@ fi | |||
| 2694 | 2259 | ||
| 2695 | 2260 | ||
| 2696 | # Check whether --with-libotf was given. | 2261 | # Check whether --with-libotf was given. |
| 2697 | if test "${with_libotf+set}" = set; then : | 2262 | if test "${with_libotf+set}" = set; then |
| 2698 | withval=$with_libotf; | 2263 | withval=$with_libotf; |
| 2699 | else | 2264 | else |
| 2700 | with_libotf=yes | 2265 | with_libotf=yes |
| @@ -2702,7 +2267,7 @@ fi | |||
| 2702 | 2267 | ||
| 2703 | 2268 | ||
| 2704 | # Check whether --with-m17n-flt was given. | 2269 | # Check whether --with-m17n-flt was given. |
| 2705 | if test "${with_m17n_flt+set}" = set; then : | 2270 | if test "${with_m17n_flt+set}" = set; then |
| 2706 | withval=$with_m17n_flt; | 2271 | withval=$with_m17n_flt; |
| 2707 | else | 2272 | else |
| 2708 | with_m17n_flt=yes | 2273 | with_m17n_flt=yes |
| @@ -2711,7 +2276,7 @@ fi | |||
| 2711 | 2276 | ||
| 2712 | 2277 | ||
| 2713 | # Check whether --with-toolkit-scroll-bars was given. | 2278 | # Check whether --with-toolkit-scroll-bars was given. |
| 2714 | if test "${with_toolkit_scroll_bars+set}" = set; then : | 2279 | if test "${with_toolkit_scroll_bars+set}" = set; then |
| 2715 | withval=$with_toolkit_scroll_bars; | 2280 | withval=$with_toolkit_scroll_bars; |
| 2716 | else | 2281 | else |
| 2717 | with_toolkit_scroll_bars=yes | 2282 | with_toolkit_scroll_bars=yes |
| @@ -2719,7 +2284,7 @@ fi | |||
| 2719 | 2284 | ||
| 2720 | 2285 | ||
| 2721 | # Check whether --with-xaw3d was given. | 2286 | # Check whether --with-xaw3d was given. |
| 2722 | if test "${with_xaw3d+set}" = set; then : | 2287 | if test "${with_xaw3d+set}" = set; then |
| 2723 | withval=$with_xaw3d; | 2288 | withval=$with_xaw3d; |
| 2724 | else | 2289 | else |
| 2725 | with_xaw3d=yes | 2290 | with_xaw3d=yes |
| @@ -2727,7 +2292,7 @@ fi | |||
| 2727 | 2292 | ||
| 2728 | 2293 | ||
| 2729 | # Check whether --with-xim was given. | 2294 | # Check whether --with-xim was given. |
| 2730 | if test "${with_xim+set}" = set; then : | 2295 | if test "${with_xim+set}" = set; then |
| 2731 | withval=$with_xim; | 2296 | withval=$with_xim; |
| 2732 | else | 2297 | else |
| 2733 | with_xim=yes | 2298 | with_xim=yes |
| @@ -2735,7 +2300,7 @@ fi | |||
| 2735 | 2300 | ||
| 2736 | 2301 | ||
| 2737 | # Check whether --with-ns was given. | 2302 | # Check whether --with-ns was given. |
| 2738 | if test "${with_ns+set}" = set; then : | 2303 | if test "${with_ns+set}" = set; then |
| 2739 | withval=$with_ns; | 2304 | withval=$with_ns; |
| 2740 | else | 2305 | else |
| 2741 | with_ns=no | 2306 | with_ns=no |
| @@ -2744,7 +2309,7 @@ fi | |||
| 2744 | 2309 | ||
| 2745 | 2310 | ||
| 2746 | # Check whether --with-gpm was given. | 2311 | # Check whether --with-gpm was given. |
| 2747 | if test "${with_gpm+set}" = set; then : | 2312 | if test "${with_gpm+set}" = set; then |
| 2748 | withval=$with_gpm; | 2313 | withval=$with_gpm; |
| 2749 | else | 2314 | else |
| 2750 | with_gpm=yes | 2315 | with_gpm=yes |
| @@ -2752,7 +2317,7 @@ fi | |||
| 2752 | 2317 | ||
| 2753 | 2318 | ||
| 2754 | # Check whether --with-dbus was given. | 2319 | # Check whether --with-dbus was given. |
| 2755 | if test "${with_dbus+set}" = set; then : | 2320 | if test "${with_dbus+set}" = set; then |
| 2756 | withval=$with_dbus; | 2321 | withval=$with_dbus; |
| 2757 | else | 2322 | else |
| 2758 | with_dbus=yes | 2323 | with_dbus=yes |
| @@ -2760,7 +2325,7 @@ fi | |||
| 2760 | 2325 | ||
| 2761 | 2326 | ||
| 2762 | # Check whether --with-gconf was given. | 2327 | # Check whether --with-gconf was given. |
| 2763 | if test "${with_gconf+set}" = set; then : | 2328 | if test "${with_gconf+set}" = set; then |
| 2764 | withval=$with_gconf; | 2329 | withval=$with_gconf; |
| 2765 | else | 2330 | else |
| 2766 | with_gconf=yes | 2331 | with_gconf=yes |
| @@ -2768,7 +2333,7 @@ fi | |||
| 2768 | 2333 | ||
| 2769 | 2334 | ||
| 2770 | # Check whether --with-selinux was given. | 2335 | # Check whether --with-selinux was given. |
| 2771 | if test "${with_selinux+set}" = set; then : | 2336 | if test "${with_selinux+set}" = set; then |
| 2772 | withval=$with_selinux; | 2337 | withval=$with_selinux; |
| 2773 | else | 2338 | else |
| 2774 | with_selinux=yes | 2339 | with_selinux=yes |
| @@ -2779,7 +2344,7 @@ fi | |||
| 2779 | ## a suitable makeinfo, and can live without the manuals. | 2344 | ## a suitable makeinfo, and can live without the manuals. |
| 2780 | 2345 | ||
| 2781 | # Check whether --with-makeinfo was given. | 2346 | # Check whether --with-makeinfo was given. |
| 2782 | if test "${with_makeinfo+set}" = set; then : | 2347 | if test "${with_makeinfo+set}" = set; then |
| 2783 | withval=$with_makeinfo; | 2348 | withval=$with_makeinfo; |
| 2784 | else | 2349 | else |
| 2785 | with_makeinfo=yes | 2350 | with_makeinfo=yes |
| @@ -2788,23 +2353,29 @@ fi | |||
| 2788 | 2353 | ||
| 2789 | 2354 | ||
| 2790 | # Check whether --with-gtk was given. | 2355 | # Check whether --with-gtk was given. |
| 2791 | if test "${with_gtk+set}" = set; then : | 2356 | if test "${with_gtk+set}" = set; then |
| 2792 | withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to | 2357 | withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to |
| 2793 | specify a toolkit." "$LINENO" 5 | 2358 | specify a toolkit." >&5 |
| 2359 | $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | ||
| 2360 | specify a toolkit." >&2;} | ||
| 2361 | { (exit 1); exit 1; }; } | ||
| 2794 | fi | 2362 | fi |
| 2795 | 2363 | ||
| 2796 | 2364 | ||
| 2797 | 2365 | ||
| 2798 | # Check whether --with-gcc was given. | 2366 | # Check whether --with-gcc was given. |
| 2799 | if test "${with_gcc+set}" = set; then : | 2367 | if test "${with_gcc+set}" = set; then |
| 2800 | withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment | 2368 | withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
| 2801 | variable to specify a compiler." "$LINENO" 5 | 2369 | variable to specify a compiler." >&5 |
| 2370 | $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | ||
| 2371 | variable to specify a compiler." >&2;} | ||
| 2372 | { (exit 1); exit 1; }; } | ||
| 2802 | fi | 2373 | fi |
| 2803 | 2374 | ||
| 2804 | 2375 | ||
| 2805 | 2376 | ||
| 2806 | # Check whether --with-pkg-config-prog was given. | 2377 | # Check whether --with-pkg-config-prog was given. |
| 2807 | if test "${with_pkg_config_prog+set}" = set; then : | 2378 | if test "${with_pkg_config_prog+set}" = set; then |
| 2808 | withval=$with_pkg_config_prog; | 2379 | withval=$with_pkg_config_prog; |
| 2809 | fi | 2380 | fi |
| 2810 | 2381 | ||
| @@ -2817,7 +2388,7 @@ fi | |||
| 2817 | CRT_DIR= | 2388 | CRT_DIR= |
| 2818 | 2389 | ||
| 2819 | # Check whether --with-crt-dir was given. | 2390 | # Check whether --with-crt-dir was given. |
| 2820 | if test "${with_crt_dir+set}" = set; then : | 2391 | if test "${with_crt_dir+set}" = set; then |
| 2821 | withval=$with_crt_dir; | 2392 | withval=$with_crt_dir; |
| 2822 | fi | 2393 | fi |
| 2823 | 2394 | ||
| @@ -2825,7 +2396,7 @@ CRT_DIR="${with_crt_dir}" | |||
| 2825 | 2396 | ||
| 2826 | 2397 | ||
| 2827 | # Check whether --with-gnustep-conf was given. | 2398 | # Check whether --with-gnustep-conf was given. |
| 2828 | if test "${with_gnustep_conf+set}" = set; then : | 2399 | if test "${with_gnustep_conf+set}" = set; then |
| 2829 | withval=$with_gnustep_conf; | 2400 | withval=$with_gnustep_conf; |
| 2830 | fi | 2401 | fi |
| 2831 | 2402 | ||
| @@ -2835,7 +2406,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | |||
| 2835 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2406 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
| 2836 | 2407 | ||
| 2837 | # Check whether --enable-ns-self-contained was given. | 2408 | # Check whether --enable-ns-self-contained was given. |
| 2838 | if test "${enable_ns_self_contained+set}" = set; then : | 2409 | if test "${enable_ns_self_contained+set}" = set; then |
| 2839 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2410 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
| 2840 | else | 2411 | else |
| 2841 | EN_NS_SELF_CONTAINED=yes | 2412 | EN_NS_SELF_CONTAINED=yes |
| @@ -2843,7 +2414,7 @@ fi | |||
| 2843 | 2414 | ||
| 2844 | 2415 | ||
| 2845 | # Check whether --enable-asserts was given. | 2416 | # Check whether --enable-asserts was given. |
| 2846 | if test "${enable_asserts+set}" = set; then : | 2417 | if test "${enable_asserts+set}" = set; then |
| 2847 | enableval=$enable_asserts; USE_XASSERTS=$enableval | 2418 | enableval=$enable_asserts; USE_XASSERTS=$enableval |
| 2848 | else | 2419 | else |
| 2849 | USE_XASSERTS=no | 2420 | USE_XASSERTS=no |
| @@ -2851,7 +2422,7 @@ fi | |||
| 2851 | 2422 | ||
| 2852 | 2423 | ||
| 2853 | # Check whether --enable-maintainer-mode was given. | 2424 | # Check whether --enable-maintainer-mode was given. |
| 2854 | if test "${enable_maintainer_mode+set}" = set; then : | 2425 | if test "${enable_maintainer_mode+set}" = set; then |
| 2855 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2426 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2856 | else | 2427 | else |
| 2857 | USE_MAINTAINER_MODE=no | 2428 | USE_MAINTAINER_MODE=no |
| @@ -2865,7 +2436,7 @@ fi | |||
| 2865 | 2436 | ||
| 2866 | 2437 | ||
| 2867 | # Check whether --enable-locallisppath was given. | 2438 | # Check whether --enable-locallisppath was given. |
| 2868 | if test "${enable_locallisppath+set}" = set; then : | 2439 | if test "${enable_locallisppath+set}" = set; then |
| 2869 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2440 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| 2870 | locallisppath= | 2441 | locallisppath= |
| 2871 | elif test "${enableval}" != "yes"; then | 2442 | elif test "${enableval}" != "yes"; then |
| @@ -2875,7 +2446,7 @@ fi | |||
| 2875 | 2446 | ||
| 2876 | 2447 | ||
| 2877 | # Check whether --enable-checking was given. | 2448 | # Check whether --enable-checking was given. |
| 2878 | if test "${enable_checking+set}" = set; then : | 2449 | if test "${enable_checking+set}" = set; then |
| 2879 | enableval=$enable_checking; ac_checking_flags="${enableval}" | 2450 | enableval=$enable_checking; ac_checking_flags="${enableval}" |
| 2880 | fi | 2451 | fi |
| 2881 | 2452 | ||
| @@ -2903,44 +2474,58 @@ do | |||
| 2903 | stringfreelist) ac_gc_check_string_free_list=1 ;; | 2474 | stringfreelist) ac_gc_check_string_free_list=1 ;; |
| 2904 | xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2475 | xmallocoverrun) ac_xmalloc_overrun=1 ;; |
| 2905 | conslist) ac_gc_check_cons_list=1 ;; | 2476 | conslist) ac_gc_check_cons_list=1 ;; |
| 2906 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2477 | *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 |
| 2478 | $as_echo "$as_me: error: unknown check category $check" >&2;} | ||
| 2479 | { (exit 1); exit 1; }; } ;; | ||
| 2907 | esac | 2480 | esac |
| 2908 | done | 2481 | done |
| 2909 | IFS="$ac_save_IFS" | 2482 | IFS="$ac_save_IFS" |
| 2910 | 2483 | ||
| 2911 | if test x$ac_enable_checking != x ; then | 2484 | if test x$ac_enable_checking != x ; then |
| 2912 | 2485 | ||
| 2913 | $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h | 2486 | cat >>confdefs.h <<\_ACEOF |
| 2487 | #define ENABLE_CHECKING 1 | ||
| 2488 | _ACEOF | ||
| 2914 | 2489 | ||
| 2915 | fi | 2490 | fi |
| 2916 | if test x$ac_gc_check_stringbytes != x ; then | 2491 | if test x$ac_gc_check_stringbytes != x ; then |
| 2917 | 2492 | ||
| 2918 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 2493 | cat >>confdefs.h <<\_ACEOF |
| 2494 | #define GC_CHECK_STRING_BYTES 1 | ||
| 2495 | _ACEOF | ||
| 2919 | 2496 | ||
| 2920 | fi | 2497 | fi |
| 2921 | if test x$ac_gc_check_stringoverrun != x ; then | 2498 | if test x$ac_gc_check_stringoverrun != x ; then |
| 2922 | 2499 | ||
| 2923 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 2500 | cat >>confdefs.h <<\_ACEOF |
| 2501 | #define GC_CHECK_STRING_OVERRUN 1 | ||
| 2502 | _ACEOF | ||
| 2924 | 2503 | ||
| 2925 | fi | 2504 | fi |
| 2926 | if test x$ac_gc_check_string_free_list != x ; then | 2505 | if test x$ac_gc_check_string_free_list != x ; then |
| 2927 | 2506 | ||
| 2928 | $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h | 2507 | cat >>confdefs.h <<\_ACEOF |
| 2508 | #define GC_CHECK_STRING_FREE_LIST 1 | ||
| 2509 | _ACEOF | ||
| 2929 | 2510 | ||
| 2930 | fi | 2511 | fi |
| 2931 | if test x$ac_xmalloc_overrun != x ; then | 2512 | if test x$ac_xmalloc_overrun != x ; then |
| 2932 | 2513 | ||
| 2933 | $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h | 2514 | cat >>confdefs.h <<\_ACEOF |
| 2515 | #define XMALLOC_OVERRUN_CHECK 1 | ||
| 2516 | _ACEOF | ||
| 2934 | 2517 | ||
| 2935 | fi | 2518 | fi |
| 2936 | if test x$ac_gc_check_cons_list != x ; then | 2519 | if test x$ac_gc_check_cons_list != x ; then |
| 2937 | 2520 | ||
| 2938 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 2521 | cat >>confdefs.h <<\_ACEOF |
| 2522 | #define GC_CHECK_CONS_LIST 1 | ||
| 2523 | _ACEOF | ||
| 2939 | 2524 | ||
| 2940 | fi | 2525 | fi |
| 2941 | 2526 | ||
| 2942 | # Check whether --enable-profiling was given. | 2527 | # Check whether --enable-profiling was given. |
| 2943 | if test "${enable_profiling+set}" = set; then : | 2528 | if test "${enable_profiling+set}" = set; then |
| 2944 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2529 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
| 2945 | fi | 2530 | fi |
| 2946 | 2531 | ||
| @@ -2953,7 +2538,7 @@ else | |||
| 2953 | fi | 2538 | fi |
| 2954 | 2539 | ||
| 2955 | # Check whether --enable-autodepend was given. | 2540 | # Check whether --enable-autodepend was given. |
| 2956 | if test "${enable_autodepend+set}" = set; then : | 2541 | if test "${enable_autodepend+set}" = set; then |
| 2957 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2542 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
| 2958 | else | 2543 | else |
| 2959 | ac_enable_autodepend=yes | 2544 | ac_enable_autodepend=yes |
| @@ -2987,7 +2572,7 @@ esac | |||
| 2987 | #### Check if the source directory already has a configured system in it. | 2572 | #### Check if the source directory already has a configured system in it. |
| 2988 | if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2573 | if test `pwd` != `(cd ${srcdir} && pwd)` \ |
| 2989 | && test -f "${srcdir}/src/config.h" ; then | 2574 | && test -f "${srcdir}/src/config.h" ; then |
| 2990 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used | 2575 | { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used |
| 2991 | as a build directory right now; it has been configured in its own | 2576 | as a build directory right now; it has been configured in its own |
| 2992 | right. To configure in another directory as well, you MUST | 2577 | right. To configure in another directory as well, you MUST |
| 2993 | use GNU make. If you do not have GNU make, then you must | 2578 | use GNU make. If you do not have GNU make, then you must |
| @@ -3008,16 +2593,24 @@ fi | |||
| 3008 | 2593 | ||
| 3009 | ac_aux_dir= | 2594 | ac_aux_dir= |
| 3010 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2595 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 3011 | for ac_t in install-sh install.sh shtool; do | 2596 | if test -f "$ac_dir/install-sh"; then |
| 3012 | if test -f "$ac_dir/$ac_t"; then | 2597 | ac_aux_dir=$ac_dir |
| 3013 | ac_aux_dir=$ac_dir | 2598 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 3014 | ac_install_sh="$ac_aux_dir/$ac_t -c" | 2599 | break |
| 3015 | break 2 | 2600 | elif test -f "$ac_dir/install.sh"; then |
| 3016 | fi | 2601 | ac_aux_dir=$ac_dir |
| 3017 | done | 2602 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2603 | break | ||
| 2604 | elif test -f "$ac_dir/shtool"; then | ||
| 2605 | ac_aux_dir=$ac_dir | ||
| 2606 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2607 | break | ||
| 2608 | fi | ||
| 3018 | done | 2609 | done |
| 3019 | if test -z "$ac_aux_dir"; then | 2610 | if test -z "$ac_aux_dir"; then |
| 3020 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2611 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 2612 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
| 2613 | { (exit 1); exit 1; }; } | ||
| 3021 | fi | 2614 | fi |
| 3022 | 2615 | ||
| 3023 | # These three variables are undocumented and unsupported, | 2616 | # These three variables are undocumented and unsupported, |
| @@ -3031,27 +2624,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
| 3031 | 2624 | ||
| 3032 | # Make sure we can run config.sub. | 2625 | # Make sure we can run config.sub. |
| 3033 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2626 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 3034 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2627 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 2628 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
| 2629 | { (exit 1); exit 1; }; } | ||
| 3035 | 2630 | ||
| 3036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2631 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| 3037 | $as_echo_n "checking build system type... " >&6; } | 2632 | $as_echo_n "checking build system type... " >&6; } |
| 3038 | if test "${ac_cv_build+set}" = set; then : | 2633 | if test "${ac_cv_build+set}" = set; then |
| 3039 | $as_echo_n "(cached) " >&6 | 2634 | $as_echo_n "(cached) " >&6 |
| 3040 | else | 2635 | else |
| 3041 | ac_build_alias=$build_alias | 2636 | ac_build_alias=$build_alias |
| 3042 | test "x$ac_build_alias" = x && | 2637 | test "x$ac_build_alias" = x && |
| 3043 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2638 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 3044 | test "x$ac_build_alias" = x && | 2639 | test "x$ac_build_alias" = x && |
| 3045 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2640 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 2641 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
| 2642 | { (exit 1); exit 1; }; } | ||
| 3046 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2643 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 3047 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2644 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 2645 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
| 2646 | { (exit 1); exit 1; }; } | ||
| 3048 | 2647 | ||
| 3049 | fi | 2648 | fi |
| 3050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2649 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 3051 | $as_echo "$ac_cv_build" >&6; } | 2650 | $as_echo "$ac_cv_build" >&6; } |
| 3052 | case $ac_cv_build in | 2651 | case $ac_cv_build in |
| 3053 | *-*-*) ;; | 2652 | *-*-*) ;; |
| 3054 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2653 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 2654 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
| 2655 | { (exit 1); exit 1; }; };; | ||
| 3055 | esac | 2656 | esac |
| 3056 | build=$ac_cv_build | 2657 | build=$ac_cv_build |
| 3057 | ac_save_IFS=$IFS; IFS='-' | 2658 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3067,24 +2668,28 @@ IFS=$ac_save_IFS | |||
| 3067 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2668 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3068 | 2669 | ||
| 3069 | 2670 | ||
| 3070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2671 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| 3071 | $as_echo_n "checking host system type... " >&6; } | 2672 | $as_echo_n "checking host system type... " >&6; } |
| 3072 | if test "${ac_cv_host+set}" = set; then : | 2673 | if test "${ac_cv_host+set}" = set; then |
| 3073 | $as_echo_n "(cached) " >&6 | 2674 | $as_echo_n "(cached) " >&6 |
| 3074 | else | 2675 | else |
| 3075 | if test "x$host_alias" = x; then | 2676 | if test "x$host_alias" = x; then |
| 3076 | ac_cv_host=$ac_cv_build | 2677 | ac_cv_host=$ac_cv_build |
| 3077 | else | 2678 | else |
| 3078 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2679 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 3079 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2680 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 2681 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
| 2682 | { (exit 1); exit 1; }; } | ||
| 3080 | fi | 2683 | fi |
| 3081 | 2684 | ||
| 3082 | fi | 2685 | fi |
| 3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2686 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 3084 | $as_echo "$ac_cv_host" >&6; } | 2687 | $as_echo "$ac_cv_host" >&6; } |
| 3085 | case $ac_cv_host in | 2688 | case $ac_cv_host in |
| 3086 | *-*-*) ;; | 2689 | *-*-*) ;; |
| 3087 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2690 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 2691 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
| 2692 | { (exit 1); exit 1; }; };; | ||
| 3088 | esac | 2693 | esac |
| 3089 | host=$ac_cv_host | 2694 | host=$ac_cv_host |
| 3090 | ac_save_IFS=$IFS; IFS='-' | 2695 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3164,7 +2769,9 @@ case "${canonical}" in | |||
| 3164 | opsys=netbsd | 2769 | opsys=netbsd |
| 3165 | if test -f /usr/lib/crti.o; then | 2770 | if test -f /usr/lib/crti.o; then |
| 3166 | 2771 | ||
| 3167 | $as_echo "#define HAVE_CRTIN /**/" >>confdefs.h | 2772 | cat >>confdefs.h <<\_ACEOF |
| 2773 | #define HAVE_CRTIN /**/ | ||
| 2774 | _ACEOF | ||
| 3168 | 2775 | ||
| 3169 | fi | 2776 | fi |
| 3170 | 2777 | ||
| @@ -3389,8 +2996,11 @@ fi | |||
| 3389 | 2996 | ||
| 3390 | 2997 | ||
| 3391 | if test $unported = yes; then | 2998 | if test $unported = yes; then |
| 3392 | as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 2999 | { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. |
| 3393 | Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3000 | Check \`etc/MACHINES' for recognized configuration names." >&5 |
| 3001 | $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | ||
| 3002 | Check \`etc/MACHINES' for recognized configuration names." >&2;} | ||
| 3003 | { (exit 1); exit 1; }; } | ||
| 3394 | fi | 3004 | fi |
| 3395 | 3005 | ||
| 3396 | machfile="m/${machine}.h" | 3006 | machfile="m/${machine}.h" |
| @@ -3411,9 +3021,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 3411 | if test -n "$ac_tool_prefix"; then | 3021 | if test -n "$ac_tool_prefix"; then |
| 3412 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3022 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3413 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3023 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3024 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3415 | $as_echo_n "checking for $ac_word... " >&6; } | 3025 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3416 | if test "${ac_cv_prog_CC+set}" = set; then : | 3026 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3417 | $as_echo_n "(cached) " >&6 | 3027 | $as_echo_n "(cached) " >&6 |
| 3418 | else | 3028 | else |
| 3419 | if test -n "$CC"; then | 3029 | if test -n "$CC"; then |
| @@ -3424,24 +3034,24 @@ for as_dir in $PATH | |||
| 3424 | do | 3034 | do |
| 3425 | IFS=$as_save_IFS | 3035 | IFS=$as_save_IFS |
| 3426 | test -z "$as_dir" && as_dir=. | 3036 | test -z "$as_dir" && as_dir=. |
| 3427 | for ac_exec_ext in '' $ac_executable_extensions; do | 3037 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3428 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3038 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3429 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3039 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3430 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3040 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3431 | break 2 | 3041 | break 2 |
| 3432 | fi | 3042 | fi |
| 3433 | done | 3043 | done |
| 3434 | done | 3044 | done |
| 3435 | IFS=$as_save_IFS | 3045 | IFS=$as_save_IFS |
| 3436 | 3046 | ||
| 3437 | fi | 3047 | fi |
| 3438 | fi | 3048 | fi |
| 3439 | CC=$ac_cv_prog_CC | 3049 | CC=$ac_cv_prog_CC |
| 3440 | if test -n "$CC"; then | 3050 | if test -n "$CC"; then |
| 3441 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3051 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3442 | $as_echo "$CC" >&6; } | 3052 | $as_echo "$CC" >&6; } |
| 3443 | else | 3053 | else |
| 3444 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3054 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3445 | $as_echo "no" >&6; } | 3055 | $as_echo "no" >&6; } |
| 3446 | fi | 3056 | fi |
| 3447 | 3057 | ||
| @@ -3451,9 +3061,9 @@ if test -z "$ac_cv_prog_CC"; then | |||
| 3451 | ac_ct_CC=$CC | 3061 | ac_ct_CC=$CC |
| 3452 | # Extract the first word of "gcc", so it can be a program name with args. | 3062 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3453 | set dummy gcc; ac_word=$2 | 3063 | set dummy gcc; ac_word=$2 |
| 3454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3064 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3455 | $as_echo_n "checking for $ac_word... " >&6; } | 3065 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3456 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3066 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3457 | $as_echo_n "(cached) " >&6 | 3067 | $as_echo_n "(cached) " >&6 |
| 3458 | else | 3068 | else |
| 3459 | if test -n "$ac_ct_CC"; then | 3069 | if test -n "$ac_ct_CC"; then |
| @@ -3464,24 +3074,24 @@ for as_dir in $PATH | |||
| 3464 | do | 3074 | do |
| 3465 | IFS=$as_save_IFS | 3075 | IFS=$as_save_IFS |
| 3466 | test -z "$as_dir" && as_dir=. | 3076 | test -z "$as_dir" && as_dir=. |
| 3467 | for ac_exec_ext in '' $ac_executable_extensions; do | 3077 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3468 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3078 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3469 | ac_cv_prog_ac_ct_CC="gcc" | 3079 | ac_cv_prog_ac_ct_CC="gcc" |
| 3470 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3080 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3471 | break 2 | 3081 | break 2 |
| 3472 | fi | 3082 | fi |
| 3473 | done | 3083 | done |
| 3474 | done | 3084 | done |
| 3475 | IFS=$as_save_IFS | 3085 | IFS=$as_save_IFS |
| 3476 | 3086 | ||
| 3477 | fi | 3087 | fi |
| 3478 | fi | 3088 | fi |
| 3479 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3089 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3480 | if test -n "$ac_ct_CC"; then | 3090 | if test -n "$ac_ct_CC"; then |
| 3481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3091 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3482 | $as_echo "$ac_ct_CC" >&6; } | 3092 | $as_echo "$ac_ct_CC" >&6; } |
| 3483 | else | 3093 | else |
| 3484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3094 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3485 | $as_echo "no" >&6; } | 3095 | $as_echo "no" >&6; } |
| 3486 | fi | 3096 | fi |
| 3487 | 3097 | ||
| @@ -3490,8 +3100,12 @@ fi | |||
| 3490 | else | 3100 | else |
| 3491 | case $cross_compiling:$ac_tool_warned in | 3101 | case $cross_compiling:$ac_tool_warned in |
| 3492 | yes:) | 3102 | yes:) |
| 3493 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3103 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3494 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3104 | whose name does not start with the host triplet. If you think this |
| 3105 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3106 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3107 | whose name does not start with the host triplet. If you think this | ||
| 3108 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3495 | ac_tool_warned=yes ;; | 3109 | ac_tool_warned=yes ;; |
| 3496 | esac | 3110 | esac |
| 3497 | CC=$ac_ct_CC | 3111 | CC=$ac_ct_CC |
| @@ -3504,9 +3118,9 @@ if test -z "$CC"; then | |||
| 3504 | if test -n "$ac_tool_prefix"; then | 3118 | if test -n "$ac_tool_prefix"; then |
| 3505 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3119 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3506 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3120 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3121 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3508 | $as_echo_n "checking for $ac_word... " >&6; } | 3122 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3509 | if test "${ac_cv_prog_CC+set}" = set; then : | 3123 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3510 | $as_echo_n "(cached) " >&6 | 3124 | $as_echo_n "(cached) " >&6 |
| 3511 | else | 3125 | else |
| 3512 | if test -n "$CC"; then | 3126 | if test -n "$CC"; then |
| @@ -3517,24 +3131,24 @@ for as_dir in $PATH | |||
| 3517 | do | 3131 | do |
| 3518 | IFS=$as_save_IFS | 3132 | IFS=$as_save_IFS |
| 3519 | test -z "$as_dir" && as_dir=. | 3133 | test -z "$as_dir" && as_dir=. |
| 3520 | for ac_exec_ext in '' $ac_executable_extensions; do | 3134 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3521 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3135 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3522 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3136 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3523 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3137 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3524 | break 2 | 3138 | break 2 |
| 3525 | fi | 3139 | fi |
| 3526 | done | 3140 | done |
| 3527 | done | 3141 | done |
| 3528 | IFS=$as_save_IFS | 3142 | IFS=$as_save_IFS |
| 3529 | 3143 | ||
| 3530 | fi | 3144 | fi |
| 3531 | fi | 3145 | fi |
| 3532 | CC=$ac_cv_prog_CC | 3146 | CC=$ac_cv_prog_CC |
| 3533 | if test -n "$CC"; then | 3147 | if test -n "$CC"; then |
| 3534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3148 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3535 | $as_echo "$CC" >&6; } | 3149 | $as_echo "$CC" >&6; } |
| 3536 | else | 3150 | else |
| 3537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3151 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3538 | $as_echo "no" >&6; } | 3152 | $as_echo "no" >&6; } |
| 3539 | fi | 3153 | fi |
| 3540 | 3154 | ||
| @@ -3544,9 +3158,9 @@ fi | |||
| 3544 | if test -z "$CC"; then | 3158 | if test -z "$CC"; then |
| 3545 | # Extract the first word of "cc", so it can be a program name with args. | 3159 | # Extract the first word of "cc", so it can be a program name with args. |
| 3546 | set dummy cc; ac_word=$2 | 3160 | set dummy cc; ac_word=$2 |
| 3547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3161 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3548 | $as_echo_n "checking for $ac_word... " >&6; } | 3162 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3549 | if test "${ac_cv_prog_CC+set}" = set; then : | 3163 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3550 | $as_echo_n "(cached) " >&6 | 3164 | $as_echo_n "(cached) " >&6 |
| 3551 | else | 3165 | else |
| 3552 | if test -n "$CC"; then | 3166 | if test -n "$CC"; then |
| @@ -3558,18 +3172,18 @@ for as_dir in $PATH | |||
| 3558 | do | 3172 | do |
| 3559 | IFS=$as_save_IFS | 3173 | IFS=$as_save_IFS |
| 3560 | test -z "$as_dir" && as_dir=. | 3174 | test -z "$as_dir" && as_dir=. |
| 3561 | for ac_exec_ext in '' $ac_executable_extensions; do | 3175 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3562 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3176 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3563 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3177 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3564 | ac_prog_rejected=yes | 3178 | ac_prog_rejected=yes |
| 3565 | continue | 3179 | continue |
| 3566 | fi | 3180 | fi |
| 3567 | ac_cv_prog_CC="cc" | 3181 | ac_cv_prog_CC="cc" |
| 3568 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3182 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3569 | break 2 | 3183 | break 2 |
| 3570 | fi | 3184 | fi |
| 3571 | done | 3185 | done |
| 3572 | done | 3186 | done |
| 3573 | IFS=$as_save_IFS | 3187 | IFS=$as_save_IFS |
| 3574 | 3188 | ||
| 3575 | if test $ac_prog_rejected = yes; then | 3189 | if test $ac_prog_rejected = yes; then |
| @@ -3588,10 +3202,10 @@ fi | |||
| 3588 | fi | 3202 | fi |
| 3589 | CC=$ac_cv_prog_CC | 3203 | CC=$ac_cv_prog_CC |
| 3590 | if test -n "$CC"; then | 3204 | if test -n "$CC"; then |
| 3591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3205 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3592 | $as_echo "$CC" >&6; } | 3206 | $as_echo "$CC" >&6; } |
| 3593 | else | 3207 | else |
| 3594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3208 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3595 | $as_echo "no" >&6; } | 3209 | $as_echo "no" >&6; } |
| 3596 | fi | 3210 | fi |
| 3597 | 3211 | ||
| @@ -3603,9 +3217,9 @@ if test -z "$CC"; then | |||
| 3603 | do | 3217 | do |
| 3604 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3218 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3605 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3219 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3220 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3607 | $as_echo_n "checking for $ac_word... " >&6; } | 3221 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3608 | if test "${ac_cv_prog_CC+set}" = set; then : | 3222 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3609 | $as_echo_n "(cached) " >&6 | 3223 | $as_echo_n "(cached) " >&6 |
| 3610 | else | 3224 | else |
| 3611 | if test -n "$CC"; then | 3225 | if test -n "$CC"; then |
| @@ -3616,24 +3230,24 @@ for as_dir in $PATH | |||
| 3616 | do | 3230 | do |
| 3617 | IFS=$as_save_IFS | 3231 | IFS=$as_save_IFS |
| 3618 | test -z "$as_dir" && as_dir=. | 3232 | test -z "$as_dir" && as_dir=. |
| 3619 | for ac_exec_ext in '' $ac_executable_extensions; do | 3233 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3620 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3234 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3621 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3235 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3622 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3236 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3623 | break 2 | 3237 | break 2 |
| 3624 | fi | 3238 | fi |
| 3625 | done | 3239 | done |
| 3626 | done | 3240 | done |
| 3627 | IFS=$as_save_IFS | 3241 | IFS=$as_save_IFS |
| 3628 | 3242 | ||
| 3629 | fi | 3243 | fi |
| 3630 | fi | 3244 | fi |
| 3631 | CC=$ac_cv_prog_CC | 3245 | CC=$ac_cv_prog_CC |
| 3632 | if test -n "$CC"; then | 3246 | if test -n "$CC"; then |
| 3633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3247 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3634 | $as_echo "$CC" >&6; } | 3248 | $as_echo "$CC" >&6; } |
| 3635 | else | 3249 | else |
| 3636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3250 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3637 | $as_echo "no" >&6; } | 3251 | $as_echo "no" >&6; } |
| 3638 | fi | 3252 | fi |
| 3639 | 3253 | ||
| @@ -3647,9 +3261,9 @@ if test -z "$CC"; then | |||
| 3647 | do | 3261 | do |
| 3648 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3262 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3649 | set dummy $ac_prog; ac_word=$2 | 3263 | set dummy $ac_prog; ac_word=$2 |
| 3650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3264 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3651 | $as_echo_n "checking for $ac_word... " >&6; } | 3265 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3652 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3266 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3653 | $as_echo_n "(cached) " >&6 | 3267 | $as_echo_n "(cached) " >&6 |
| 3654 | else | 3268 | else |
| 3655 | if test -n "$ac_ct_CC"; then | 3269 | if test -n "$ac_ct_CC"; then |
| @@ -3660,24 +3274,24 @@ for as_dir in $PATH | |||
| 3660 | do | 3274 | do |
| 3661 | IFS=$as_save_IFS | 3275 | IFS=$as_save_IFS |
| 3662 | test -z "$as_dir" && as_dir=. | 3276 | test -z "$as_dir" && as_dir=. |
| 3663 | for ac_exec_ext in '' $ac_executable_extensions; do | 3277 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3664 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3278 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3665 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3279 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3666 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3280 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3667 | break 2 | 3281 | break 2 |
| 3668 | fi | 3282 | fi |
| 3669 | done | 3283 | done |
| 3670 | done | 3284 | done |
| 3671 | IFS=$as_save_IFS | 3285 | IFS=$as_save_IFS |
| 3672 | 3286 | ||
| 3673 | fi | 3287 | fi |
| 3674 | fi | 3288 | fi |
| 3675 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3289 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3676 | if test -n "$ac_ct_CC"; then | 3290 | if test -n "$ac_ct_CC"; then |
| 3677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3291 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3678 | $as_echo "$ac_ct_CC" >&6; } | 3292 | $as_echo "$ac_ct_CC" >&6; } |
| 3679 | else | 3293 | else |
| 3680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3294 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3681 | $as_echo "no" >&6; } | 3295 | $as_echo "no" >&6; } |
| 3682 | fi | 3296 | fi |
| 3683 | 3297 | ||
| @@ -3690,8 +3304,12 @@ done | |||
| 3690 | else | 3304 | else |
| 3691 | case $cross_compiling:$ac_tool_warned in | 3305 | case $cross_compiling:$ac_tool_warned in |
| 3692 | yes:) | 3306 | yes:) |
| 3693 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3307 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3694 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3308 | whose name does not start with the host triplet. If you think this |
| 3309 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3310 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3311 | whose name does not start with the host triplet. If you think this | ||
| 3312 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3695 | ac_tool_warned=yes ;; | 3313 | ac_tool_warned=yes ;; |
| 3696 | esac | 3314 | esac |
| 3697 | CC=$ac_ct_CC | 3315 | CC=$ac_ct_CC |
| @@ -3701,37 +3319,55 @@ fi | |||
| 3701 | fi | 3319 | fi |
| 3702 | 3320 | ||
| 3703 | 3321 | ||
| 3704 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3322 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3705 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3323 | See \`config.log' for more details." >&5 |
| 3706 | as_fn_error "no acceptable C compiler found in \$PATH | 3324 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3707 | See \`config.log' for more details." "$LINENO" 5; } | 3325 | See \`config.log' for more details." >&2;} |
| 3326 | { (exit 1); exit 1; }; } | ||
| 3708 | 3327 | ||
| 3709 | # Provide some information about the compiler. | 3328 | # Provide some information about the compiler. |
| 3710 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3329 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 3711 | set X $ac_compile | 3330 | set X $ac_compile |
| 3712 | ac_compiler=$2 | 3331 | ac_compiler=$2 |
| 3713 | for ac_option in --version -v -V -qversion; do | 3332 | { (ac_try="$ac_compiler --version >&5" |
| 3714 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 3715 | case "(($ac_try" in | 3333 | case "(($ac_try" in |
| 3716 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3334 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3717 | *) ac_try_echo=$ac_try;; | 3335 | *) ac_try_echo=$ac_try;; |
| 3718 | esac | 3336 | esac |
| 3719 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3337 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3720 | $as_echo "$ac_try_echo"; } >&5 | 3338 | $as_echo "$ac_try_echo") >&5 |
| 3721 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3339 | (eval "$ac_compiler --version >&5") 2>&5 |
| 3722 | ac_status=$? | 3340 | ac_status=$? |
| 3723 | if test -s conftest.err; then | 3341 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3724 | sed '10a\ | 3342 | (exit $ac_status); } |
| 3725 | ... rest of stderr output deleted ... | 3343 | { (ac_try="$ac_compiler -v >&5" |
| 3726 | 10q' conftest.err >conftest.er1 | 3344 | case "(($ac_try" in |
| 3727 | cat conftest.er1 >&5 | 3345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3728 | fi | 3346 | *) ac_try_echo=$ac_try;; |
| 3729 | rm -f conftest.er1 conftest.err | 3347 | esac |
| 3730 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3348 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3731 | test $ac_status = 0; } | 3349 | $as_echo "$ac_try_echo") >&5 |
| 3732 | done | 3350 | (eval "$ac_compiler -v >&5") 2>&5 |
| 3351 | ac_status=$? | ||
| 3352 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3353 | (exit $ac_status); } | ||
| 3354 | { (ac_try="$ac_compiler -V >&5" | ||
| 3355 | case "(($ac_try" in | ||
| 3356 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3357 | *) ac_try_echo=$ac_try;; | ||
| 3358 | esac | ||
| 3359 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3360 | $as_echo "$ac_try_echo") >&5 | ||
| 3361 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 3362 | ac_status=$? | ||
| 3363 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3364 | (exit $ac_status); } | ||
| 3733 | 3365 | ||
| 3734 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3366 | cat >conftest.$ac_ext <<_ACEOF |
| 3367 | /* confdefs.h. */ | ||
| 3368 | _ACEOF | ||
| 3369 | cat confdefs.h >>conftest.$ac_ext | ||
| 3370 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3735 | /* end confdefs.h. */ | 3371 | /* end confdefs.h. */ |
| 3736 | 3372 | ||
| 3737 | int | 3373 | int |
| @@ -3747,8 +3383,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |||
| 3747 | # Try to create an executable without -o first, disregard a.out. | 3383 | # Try to create an executable without -o first, disregard a.out. |
| 3748 | # It will help us diagnose broken compilers, and finding out an intuition | 3384 | # It will help us diagnose broken compilers, and finding out an intuition |
| 3749 | # of exeext. | 3385 | # of exeext. |
| 3750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3386 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 3751 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3387 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3752 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3388 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3753 | 3389 | ||
| 3754 | # The possible output files: | 3390 | # The possible output files: |
| @@ -3764,17 +3400,17 @@ do | |||
| 3764 | done | 3400 | done |
| 3765 | rm -f $ac_rmfiles | 3401 | rm -f $ac_rmfiles |
| 3766 | 3402 | ||
| 3767 | if { { ac_try="$ac_link_default" | 3403 | if { (ac_try="$ac_link_default" |
| 3768 | case "(($ac_try" in | 3404 | case "(($ac_try" in |
| 3769 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3405 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3770 | *) ac_try_echo=$ac_try;; | 3406 | *) ac_try_echo=$ac_try;; |
| 3771 | esac | 3407 | esac |
| 3772 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3408 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3773 | $as_echo "$ac_try_echo"; } >&5 | 3409 | $as_echo "$ac_try_echo") >&5 |
| 3774 | (eval "$ac_link_default") 2>&5 | 3410 | (eval "$ac_link_default") 2>&5 |
| 3775 | ac_status=$? | 3411 | ac_status=$? |
| 3776 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3412 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3777 | test $ac_status = 0; }; then : | 3413 | (exit $ac_status); }; then |
| 3778 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3414 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3779 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3415 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3780 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3416 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| @@ -3791,7 +3427,7 @@ do | |||
| 3791 | # certainly right. | 3427 | # certainly right. |
| 3792 | break;; | 3428 | break;; |
| 3793 | *.* ) | 3429 | *.* ) |
| 3794 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3430 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3795 | then :; else | 3431 | then :; else |
| 3796 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3432 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3797 | fi | 3433 | fi |
| @@ -3810,42 +3446,80 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
| 3810 | else | 3446 | else |
| 3811 | ac_file='' | 3447 | ac_file='' |
| 3812 | fi | 3448 | fi |
| 3813 | if test -z "$ac_file"; then : | 3449 | |
| 3814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3450 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 3815 | $as_echo "no" >&6; } | 3451 | $as_echo "$ac_file" >&6; } |
| 3816 | $as_echo "$as_me: failed program was:" >&5 | 3452 | if test -z "$ac_file"; then |
| 3453 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3817 | sed 's/^/| /' conftest.$ac_ext >&5 | 3454 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3818 | 3455 | ||
| 3819 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3456 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 3820 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3457 | See \`config.log' for more details." >&5 |
| 3821 | { as_fn_set_status 77 | 3458 | $as_echo "$as_me: error: C compiler cannot create executables |
| 3822 | as_fn_error "C compiler cannot create executables | 3459 | See \`config.log' for more details." >&2;} |
| 3823 | See \`config.log' for more details." "$LINENO" 5; }; } | 3460 | { (exit 77); exit 77; }; } |
| 3824 | else | ||
| 3825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3826 | $as_echo "yes" >&6; } | ||
| 3827 | fi | 3461 | fi |
| 3828 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3462 | |
| 3829 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
| 3830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 3831 | $as_echo "$ac_file" >&6; } | ||
| 3832 | ac_exeext=$ac_cv_exeext | 3463 | ac_exeext=$ac_cv_exeext |
| 3833 | 3464 | ||
| 3465 | # Check that the compiler produces executables we can run. If not, either | ||
| 3466 | # the compiler is broken, or we cross compile. | ||
| 3467 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
| 3468 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
| 3469 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
| 3470 | # If not cross compiling, check that we can run a simple program. | ||
| 3471 | if test "$cross_compiling" != yes; then | ||
| 3472 | if { ac_try='./$ac_file' | ||
| 3473 | { (case "(($ac_try" in | ||
| 3474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3475 | *) ac_try_echo=$ac_try;; | ||
| 3476 | esac | ||
| 3477 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3478 | $as_echo "$ac_try_echo") >&5 | ||
| 3479 | (eval "$ac_try") 2>&5 | ||
| 3480 | ac_status=$? | ||
| 3481 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3482 | (exit $ac_status); }; }; then | ||
| 3483 | cross_compiling=no | ||
| 3484 | else | ||
| 3485 | if test "$cross_compiling" = maybe; then | ||
| 3486 | cross_compiling=yes | ||
| 3487 | else | ||
| 3488 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
| 3489 | If you meant to cross compile, use \`--host'. | ||
| 3490 | See \`config.log' for more details." >&5 | ||
| 3491 | $as_echo "$as_me: error: cannot run C compiled programs. | ||
| 3492 | If you meant to cross compile, use \`--host'. | ||
| 3493 | See \`config.log' for more details." >&2;} | ||
| 3494 | { (exit 1); exit 1; }; } | ||
| 3495 | fi | ||
| 3496 | fi | ||
| 3497 | fi | ||
| 3498 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 3499 | $as_echo "yes" >&6; } | ||
| 3500 | |||
| 3834 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3501 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3835 | ac_clean_files=$ac_clean_files_save | 3502 | ac_clean_files=$ac_clean_files_save |
| 3836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3503 | # Check that the compiler produces executables we can run. If not, either |
| 3504 | # the compiler is broken, or we cross compile. | ||
| 3505 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
| 3506 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3507 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
| 3508 | $as_echo "$cross_compiling" >&6; } | ||
| 3509 | |||
| 3510 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
| 3837 | $as_echo_n "checking for suffix of executables... " >&6; } | 3511 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 3838 | if { { ac_try="$ac_link" | 3512 | if { (ac_try="$ac_link" |
| 3839 | case "(($ac_try" in | 3513 | case "(($ac_try" in |
| 3840 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3514 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3841 | *) ac_try_echo=$ac_try;; | 3515 | *) ac_try_echo=$ac_try;; |
| 3842 | esac | 3516 | esac |
| 3843 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3517 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3844 | $as_echo "$ac_try_echo"; } >&5 | 3518 | $as_echo "$ac_try_echo") >&5 |
| 3845 | (eval "$ac_link") 2>&5 | 3519 | (eval "$ac_link") 2>&5 |
| 3846 | ac_status=$? | 3520 | ac_status=$? |
| 3847 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3521 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3848 | test $ac_status = 0; }; then : | 3522 | (exit $ac_status); }; then |
| 3849 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3523 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3850 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3524 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3851 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3525 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| @@ -3860,83 +3534,30 @@ for ac_file in conftest.exe conftest conftest.*; do | |||
| 3860 | esac | 3534 | esac |
| 3861 | done | 3535 | done |
| 3862 | else | 3536 | else |
| 3863 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3537 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 3864 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3538 | See \`config.log' for more details." >&5 |
| 3865 | as_fn_error "cannot compute suffix of executables: cannot compile and link | 3539 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 3866 | See \`config.log' for more details." "$LINENO" 5; } | 3540 | See \`config.log' for more details." >&2;} |
| 3541 | { (exit 1); exit 1; }; } | ||
| 3867 | fi | 3542 | fi |
| 3868 | rm -f conftest conftest$ac_cv_exeext | 3543 | |
| 3869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3544 | rm -f conftest$ac_cv_exeext |
| 3545 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
| 3870 | $as_echo "$ac_cv_exeext" >&6; } | 3546 | $as_echo "$ac_cv_exeext" >&6; } |
| 3871 | 3547 | ||
| 3872 | rm -f conftest.$ac_ext | 3548 | rm -f conftest.$ac_ext |
| 3873 | EXEEXT=$ac_cv_exeext | 3549 | EXEEXT=$ac_cv_exeext |
| 3874 | ac_exeext=$EXEEXT | 3550 | ac_exeext=$EXEEXT |
| 3875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3551 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3876 | /* end confdefs.h. */ | ||
| 3877 | #include <stdio.h> | ||
| 3878 | int | ||
| 3879 | main () | ||
| 3880 | { | ||
| 3881 | FILE *f = fopen ("conftest.out", "w"); | ||
| 3882 | return ferror (f) || fclose (f) != 0; | ||
| 3883 | |||
| 3884 | ; | ||
| 3885 | return 0; | ||
| 3886 | } | ||
| 3887 | _ACEOF | ||
| 3888 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 3889 | # Check that the compiler produces executables we can run. If not, either | ||
| 3890 | # the compiler is broken, or we cross compile. | ||
| 3891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 3892 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3893 | if test "$cross_compiling" != yes; then | ||
| 3894 | { { ac_try="$ac_link" | ||
| 3895 | case "(($ac_try" in | ||
| 3896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3897 | *) ac_try_echo=$ac_try;; | ||
| 3898 | esac | ||
| 3899 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3900 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3901 | (eval "$ac_link") 2>&5 | ||
| 3902 | ac_status=$? | ||
| 3903 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3904 | test $ac_status = 0; } | ||
| 3905 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 3906 | { { case "(($ac_try" in | ||
| 3907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3908 | *) ac_try_echo=$ac_try;; | ||
| 3909 | esac | ||
| 3910 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3911 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3912 | (eval "$ac_try") 2>&5 | ||
| 3913 | ac_status=$? | ||
| 3914 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3915 | test $ac_status = 0; }; }; then | ||
| 3916 | cross_compiling=no | ||
| 3917 | else | ||
| 3918 | if test "$cross_compiling" = maybe; then | ||
| 3919 | cross_compiling=yes | ||
| 3920 | else | ||
| 3921 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3922 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3923 | as_fn_error "cannot run C compiled programs. | ||
| 3924 | If you meant to cross compile, use \`--host'. | ||
| 3925 | See \`config.log' for more details." "$LINENO" 5; } | ||
| 3926 | fi | ||
| 3927 | fi | ||
| 3928 | fi | ||
| 3929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 3930 | $as_echo "$cross_compiling" >&6; } | ||
| 3931 | |||
| 3932 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 3933 | ac_clean_files=$ac_clean_files_save | ||
| 3934 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 3935 | $as_echo_n "checking for suffix of object files... " >&6; } | 3552 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 3936 | if test "${ac_cv_objext+set}" = set; then : | 3553 | if test "${ac_cv_objext+set}" = set; then |
| 3937 | $as_echo_n "(cached) " >&6 | 3554 | $as_echo_n "(cached) " >&6 |
| 3938 | else | 3555 | else |
| 3939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3556 | cat >conftest.$ac_ext <<_ACEOF |
| 3557 | /* confdefs.h. */ | ||
| 3558 | _ACEOF | ||
| 3559 | cat confdefs.h >>conftest.$ac_ext | ||
| 3560 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3940 | /* end confdefs.h. */ | 3561 | /* end confdefs.h. */ |
| 3941 | 3562 | ||
| 3942 | int | 3563 | int |
| @@ -3948,17 +3569,17 @@ main () | |||
| 3948 | } | 3569 | } |
| 3949 | _ACEOF | 3570 | _ACEOF |
| 3950 | rm -f conftest.o conftest.obj | 3571 | rm -f conftest.o conftest.obj |
| 3951 | if { { ac_try="$ac_compile" | 3572 | if { (ac_try="$ac_compile" |
| 3952 | case "(($ac_try" in | 3573 | case "(($ac_try" in |
| 3953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3574 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3954 | *) ac_try_echo=$ac_try;; | 3575 | *) ac_try_echo=$ac_try;; |
| 3955 | esac | 3576 | esac |
| 3956 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3577 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3957 | $as_echo "$ac_try_echo"; } >&5 | 3578 | $as_echo "$ac_try_echo") >&5 |
| 3958 | (eval "$ac_compile") 2>&5 | 3579 | (eval "$ac_compile") 2>&5 |
| 3959 | ac_status=$? | 3580 | ac_status=$? |
| 3960 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3581 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3961 | test $ac_status = 0; }; then : | 3582 | (exit $ac_status); }; then |
| 3962 | for ac_file in conftest.o conftest.obj conftest.*; do | 3583 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3963 | test -f "$ac_file" || continue; | 3584 | test -f "$ac_file" || continue; |
| 3964 | case $ac_file in | 3585 | case $ac_file in |
| @@ -3971,23 +3592,29 @@ else | |||
| 3971 | $as_echo "$as_me: failed program was:" >&5 | 3592 | $as_echo "$as_me: failed program was:" >&5 |
| 3972 | sed 's/^/| /' conftest.$ac_ext >&5 | 3593 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3973 | 3594 | ||
| 3974 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3595 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 3975 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3596 | See \`config.log' for more details." >&5 |
| 3976 | as_fn_error "cannot compute suffix of object files: cannot compile | 3597 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 3977 | See \`config.log' for more details." "$LINENO" 5; } | 3598 | See \`config.log' for more details." >&2;} |
| 3599 | { (exit 1); exit 1; }; } | ||
| 3978 | fi | 3600 | fi |
| 3601 | |||
| 3979 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3602 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3980 | fi | 3603 | fi |
| 3981 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3604 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3982 | $as_echo "$ac_cv_objext" >&6; } | 3605 | $as_echo "$ac_cv_objext" >&6; } |
| 3983 | OBJEXT=$ac_cv_objext | 3606 | OBJEXT=$ac_cv_objext |
| 3984 | ac_objext=$OBJEXT | 3607 | ac_objext=$OBJEXT |
| 3985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3608 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3986 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3609 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3987 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3610 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3988 | $as_echo_n "(cached) " >&6 | 3611 | $as_echo_n "(cached) " >&6 |
| 3989 | else | 3612 | else |
| 3990 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3613 | cat >conftest.$ac_ext <<_ACEOF |
| 3614 | /* confdefs.h. */ | ||
| 3615 | _ACEOF | ||
| 3616 | cat confdefs.h >>conftest.$ac_ext | ||
| 3617 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3991 | /* end confdefs.h. */ | 3618 | /* end confdefs.h. */ |
| 3992 | 3619 | ||
| 3993 | int | 3620 | int |
| @@ -4001,16 +3628,37 @@ main () | |||
| 4001 | return 0; | 3628 | return 0; |
| 4002 | } | 3629 | } |
| 4003 | _ACEOF | 3630 | _ACEOF |
| 4004 | if ac_fn_c_try_compile "$LINENO"; then : | 3631 | rm -f conftest.$ac_objext |
| 3632 | if { (ac_try="$ac_compile" | ||
| 3633 | case "(($ac_try" in | ||
| 3634 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3635 | *) ac_try_echo=$ac_try;; | ||
| 3636 | esac | ||
| 3637 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3638 | $as_echo "$ac_try_echo") >&5 | ||
| 3639 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3640 | ac_status=$? | ||
| 3641 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3642 | rm -f conftest.er1 | ||
| 3643 | cat conftest.err >&5 | ||
| 3644 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3645 | (exit $ac_status); } && { | ||
| 3646 | test -z "$ac_c_werror_flag" || | ||
| 3647 | test ! -s conftest.err | ||
| 3648 | } && test -s conftest.$ac_objext; then | ||
| 4005 | ac_compiler_gnu=yes | 3649 | ac_compiler_gnu=yes |
| 4006 | else | 3650 | else |
| 4007 | ac_compiler_gnu=no | 3651 | $as_echo "$as_me: failed program was:" >&5 |
| 3652 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3653 | |||
| 3654 | ac_compiler_gnu=no | ||
| 4008 | fi | 3655 | fi |
| 3656 | |||
| 4009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3657 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4010 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3658 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4011 | 3659 | ||
| 4012 | fi | 3660 | fi |
| 4013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3661 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 4014 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3662 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4015 | if test $ac_compiler_gnu = yes; then | 3663 | if test $ac_compiler_gnu = yes; then |
| 4016 | GCC=yes | 3664 | GCC=yes |
| @@ -4019,16 +3667,20 @@ else | |||
| 4019 | fi | 3667 | fi |
| 4020 | ac_test_CFLAGS=${CFLAGS+set} | 3668 | ac_test_CFLAGS=${CFLAGS+set} |
| 4021 | ac_save_CFLAGS=$CFLAGS | 3669 | ac_save_CFLAGS=$CFLAGS |
| 4022 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3670 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 4023 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3671 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4024 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 3672 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 4025 | $as_echo_n "(cached) " >&6 | 3673 | $as_echo_n "(cached) " >&6 |
| 4026 | else | 3674 | else |
| 4027 | ac_save_c_werror_flag=$ac_c_werror_flag | 3675 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 4028 | ac_c_werror_flag=yes | 3676 | ac_c_werror_flag=yes |
| 4029 | ac_cv_prog_cc_g=no | 3677 | ac_cv_prog_cc_g=no |
| 4030 | CFLAGS="-g" | 3678 | CFLAGS="-g" |
| 4031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3679 | cat >conftest.$ac_ext <<_ACEOF |
| 3680 | /* confdefs.h. */ | ||
| 3681 | _ACEOF | ||
| 3682 | cat confdefs.h >>conftest.$ac_ext | ||
| 3683 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4032 | /* end confdefs.h. */ | 3684 | /* end confdefs.h. */ |
| 4033 | 3685 | ||
| 4034 | int | 3686 | int |
| @@ -4039,11 +3691,35 @@ main () | |||
| 4039 | return 0; | 3691 | return 0; |
| 4040 | } | 3692 | } |
| 4041 | _ACEOF | 3693 | _ACEOF |
| 4042 | if ac_fn_c_try_compile "$LINENO"; then : | 3694 | rm -f conftest.$ac_objext |
| 3695 | if { (ac_try="$ac_compile" | ||
| 3696 | case "(($ac_try" in | ||
| 3697 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3698 | *) ac_try_echo=$ac_try;; | ||
| 3699 | esac | ||
| 3700 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3701 | $as_echo "$ac_try_echo") >&5 | ||
| 3702 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3703 | ac_status=$? | ||
| 3704 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3705 | rm -f conftest.er1 | ||
| 3706 | cat conftest.err >&5 | ||
| 3707 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3708 | (exit $ac_status); } && { | ||
| 3709 | test -z "$ac_c_werror_flag" || | ||
| 3710 | test ! -s conftest.err | ||
| 3711 | } && test -s conftest.$ac_objext; then | ||
| 4043 | ac_cv_prog_cc_g=yes | 3712 | ac_cv_prog_cc_g=yes |
| 4044 | else | 3713 | else |
| 4045 | CFLAGS="" | 3714 | $as_echo "$as_me: failed program was:" >&5 |
| 4046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3715 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3716 | |||
| 3717 | CFLAGS="" | ||
| 3718 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3719 | /* confdefs.h. */ | ||
| 3720 | _ACEOF | ||
| 3721 | cat confdefs.h >>conftest.$ac_ext | ||
| 3722 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4047 | /* end confdefs.h. */ | 3723 | /* end confdefs.h. */ |
| 4048 | 3724 | ||
| 4049 | int | 3725 | int |
| @@ -4054,12 +3730,36 @@ main () | |||
| 4054 | return 0; | 3730 | return 0; |
| 4055 | } | 3731 | } |
| 4056 | _ACEOF | 3732 | _ACEOF |
| 4057 | if ac_fn_c_try_compile "$LINENO"; then : | 3733 | rm -f conftest.$ac_objext |
| 4058 | 3734 | if { (ac_try="$ac_compile" | |
| 3735 | case "(($ac_try" in | ||
| 3736 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3737 | *) ac_try_echo=$ac_try;; | ||
| 3738 | esac | ||
| 3739 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3740 | $as_echo "$ac_try_echo") >&5 | ||
| 3741 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3742 | ac_status=$? | ||
| 3743 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3744 | rm -f conftest.er1 | ||
| 3745 | cat conftest.err >&5 | ||
| 3746 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3747 | (exit $ac_status); } && { | ||
| 3748 | test -z "$ac_c_werror_flag" || | ||
| 3749 | test ! -s conftest.err | ||
| 3750 | } && test -s conftest.$ac_objext; then | ||
| 3751 | : | ||
| 4059 | else | 3752 | else |
| 4060 | ac_c_werror_flag=$ac_save_c_werror_flag | 3753 | $as_echo "$as_me: failed program was:" >&5 |
| 3754 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3755 | |||
| 3756 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 4061 | CFLAGS="-g" | 3757 | CFLAGS="-g" |
| 4062 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3758 | cat >conftest.$ac_ext <<_ACEOF |
| 3759 | /* confdefs.h. */ | ||
| 3760 | _ACEOF | ||
| 3761 | cat confdefs.h >>conftest.$ac_ext | ||
| 3762 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4063 | /* end confdefs.h. */ | 3763 | /* end confdefs.h. */ |
| 4064 | 3764 | ||
| 4065 | int | 3765 | int |
| @@ -4070,17 +3770,42 @@ main () | |||
| 4070 | return 0; | 3770 | return 0; |
| 4071 | } | 3771 | } |
| 4072 | _ACEOF | 3772 | _ACEOF |
| 4073 | if ac_fn_c_try_compile "$LINENO"; then : | 3773 | rm -f conftest.$ac_objext |
| 3774 | if { (ac_try="$ac_compile" | ||
| 3775 | case "(($ac_try" in | ||
| 3776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3777 | *) ac_try_echo=$ac_try;; | ||
| 3778 | esac | ||
| 3779 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3780 | $as_echo "$ac_try_echo") >&5 | ||
| 3781 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3782 | ac_status=$? | ||
| 3783 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3784 | rm -f conftest.er1 | ||
| 3785 | cat conftest.err >&5 | ||
| 3786 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3787 | (exit $ac_status); } && { | ||
| 3788 | test -z "$ac_c_werror_flag" || | ||
| 3789 | test ! -s conftest.err | ||
| 3790 | } && test -s conftest.$ac_objext; then | ||
| 4074 | ac_cv_prog_cc_g=yes | 3791 | ac_cv_prog_cc_g=yes |
| 3792 | else | ||
| 3793 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3794 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3795 | |||
| 3796 | |||
| 4075 | fi | 3797 | fi |
| 3798 | |||
| 4076 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3799 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4077 | fi | 3800 | fi |
| 3801 | |||
| 4078 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3802 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4079 | fi | 3803 | fi |
| 3804 | |||
| 4080 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3805 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4081 | ac_c_werror_flag=$ac_save_c_werror_flag | 3806 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4082 | fi | 3807 | fi |
| 4083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3808 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 4084 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 3809 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4085 | if test "$ac_test_CFLAGS" = set; then | 3810 | if test "$ac_test_CFLAGS" = set; then |
| 4086 | CFLAGS=$ac_save_CFLAGS | 3811 | CFLAGS=$ac_save_CFLAGS |
| @@ -4097,14 +3822,18 @@ else | |||
| 4097 | CFLAGS= | 3822 | CFLAGS= |
| 4098 | fi | 3823 | fi |
| 4099 | fi | 3824 | fi |
| 4100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3825 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 4101 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3826 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4102 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3827 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 4103 | $as_echo_n "(cached) " >&6 | 3828 | $as_echo_n "(cached) " >&6 |
| 4104 | else | 3829 | else |
| 4105 | ac_cv_prog_cc_c89=no | 3830 | ac_cv_prog_cc_c89=no |
| 4106 | ac_save_CC=$CC | 3831 | ac_save_CC=$CC |
| 4107 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3832 | cat >conftest.$ac_ext <<_ACEOF |
| 3833 | /* confdefs.h. */ | ||
| 3834 | _ACEOF | ||
| 3835 | cat confdefs.h >>conftest.$ac_ext | ||
| 3836 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4108 | /* end confdefs.h. */ | 3837 | /* end confdefs.h. */ |
| 4109 | #include <stdarg.h> | 3838 | #include <stdarg.h> |
| 4110 | #include <stdio.h> | 3839 | #include <stdio.h> |
| @@ -4161,9 +3890,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
| 4161 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3890 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4162 | do | 3891 | do |
| 4163 | CC="$ac_save_CC $ac_arg" | 3892 | CC="$ac_save_CC $ac_arg" |
| 4164 | if ac_fn_c_try_compile "$LINENO"; then : | 3893 | rm -f conftest.$ac_objext |
| 3894 | if { (ac_try="$ac_compile" | ||
| 3895 | case "(($ac_try" in | ||
| 3896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3897 | *) ac_try_echo=$ac_try;; | ||
| 3898 | esac | ||
| 3899 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3900 | $as_echo "$ac_try_echo") >&5 | ||
| 3901 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3902 | ac_status=$? | ||
| 3903 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3904 | rm -f conftest.er1 | ||
| 3905 | cat conftest.err >&5 | ||
| 3906 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3907 | (exit $ac_status); } && { | ||
| 3908 | test -z "$ac_c_werror_flag" || | ||
| 3909 | test ! -s conftest.err | ||
| 3910 | } && test -s conftest.$ac_objext; then | ||
| 4165 | ac_cv_prog_cc_c89=$ac_arg | 3911 | ac_cv_prog_cc_c89=$ac_arg |
| 3912 | else | ||
| 3913 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3914 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3915 | |||
| 3916 | |||
| 4166 | fi | 3917 | fi |
| 3918 | |||
| 4167 | rm -f core conftest.err conftest.$ac_objext | 3919 | rm -f core conftest.err conftest.$ac_objext |
| 4168 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 3920 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4169 | done | 3921 | done |
| @@ -4174,19 +3926,17 @@ fi | |||
| 4174 | # AC_CACHE_VAL | 3926 | # AC_CACHE_VAL |
| 4175 | case "x$ac_cv_prog_cc_c89" in | 3927 | case "x$ac_cv_prog_cc_c89" in |
| 4176 | x) | 3928 | x) |
| 4177 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3929 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| 4178 | $as_echo "none needed" >&6; } ;; | 3930 | $as_echo "none needed" >&6; } ;; |
| 4179 | xno) | 3931 | xno) |
| 4180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3932 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| 4181 | $as_echo "unsupported" >&6; } ;; | 3933 | $as_echo "unsupported" >&6; } ;; |
| 4182 | *) | 3934 | *) |
| 4183 | CC="$CC $ac_cv_prog_cc_c89" | 3935 | CC="$CC $ac_cv_prog_cc_c89" |
| 4184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3936 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 4185 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3937 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4186 | esac | 3938 | esac |
| 4187 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 4188 | 3939 | ||
| 4189 | fi | ||
| 4190 | 3940 | ||
| 4191 | ac_ext=c | 3941 | ac_ext=c |
| 4192 | ac_cpp='$CPP $CPPFLAGS' | 3942 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -4204,13 +3954,17 @@ fi | |||
| 4204 | ## using a Sun compiler, which needs -Xs to prevent whitespace. | 3954 | ## using a Sun compiler, which needs -Xs to prevent whitespace. |
| 4205 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 3955 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
| 4206 | test x"$CPP" = x; then | 3956 | test x"$CPP" = x; then |
| 4207 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 3957 | { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 |
| 4208 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 3958 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
| 4209 | 3959 | ||
| 4210 | if test "${emacs_cv_sunpro_c+set}" = set; then : | 3960 | if test "${emacs_cv_sunpro_c+set}" = set; then |
| 4211 | $as_echo_n "(cached) " >&6 | 3961 | $as_echo_n "(cached) " >&6 |
| 4212 | else | 3962 | else |
| 4213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3963 | cat >conftest.$ac_ext <<_ACEOF |
| 3964 | /* confdefs.h. */ | ||
| 3965 | _ACEOF | ||
| 3966 | cat confdefs.h >>conftest.$ac_ext | ||
| 3967 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4214 | /* end confdefs.h. */ | 3968 | /* end confdefs.h. */ |
| 4215 | 3969 | ||
| 4216 | int | 3970 | int |
| @@ -4224,16 +3978,41 @@ fail; | |||
| 4224 | return 0; | 3978 | return 0; |
| 4225 | } | 3979 | } |
| 4226 | _ACEOF | 3980 | _ACEOF |
| 4227 | if ac_fn_c_try_link "$LINENO"; then : | 3981 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 3982 | if { (ac_try="$ac_link" | ||
| 3983 | case "(($ac_try" in | ||
| 3984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3985 | *) ac_try_echo=$ac_try;; | ||
| 3986 | esac | ||
| 3987 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3988 | $as_echo "$ac_try_echo") >&5 | ||
| 3989 | (eval "$ac_link") 2>conftest.er1 | ||
| 3990 | ac_status=$? | ||
| 3991 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3992 | rm -f conftest.er1 | ||
| 3993 | cat conftest.err >&5 | ||
| 3994 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3995 | (exit $ac_status); } && { | ||
| 3996 | test -z "$ac_c_werror_flag" || | ||
| 3997 | test ! -s conftest.err | ||
| 3998 | } && test -s conftest$ac_exeext && { | ||
| 3999 | test "$cross_compiling" = yes || | ||
| 4000 | $as_test_x conftest$ac_exeext | ||
| 4001 | }; then | ||
| 4228 | emacs_cv_sunpro_c=yes | 4002 | emacs_cv_sunpro_c=yes |
| 4229 | else | 4003 | else |
| 4230 | emacs_cv_sunpro_c=no | 4004 | $as_echo "$as_me: failed program was:" >&5 |
| 4005 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4006 | |||
| 4007 | emacs_cv_sunpro_c=no | ||
| 4231 | fi | 4008 | fi |
| 4232 | rm -f core conftest.err conftest.$ac_objext \ | 4009 | |
| 4233 | conftest$ac_exeext conftest.$ac_ext | 4010 | rm -rf conftest.dSYM |
| 4011 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 4012 | conftest$ac_exeext conftest.$ac_ext | ||
| 4234 | fi | 4013 | fi |
| 4235 | 4014 | ||
| 4236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 | 4015 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 |
| 4237 | $as_echo "$emacs_cv_sunpro_c" >&6; } | 4016 | $as_echo "$emacs_cv_sunpro_c" >&6; } |
| 4238 | 4017 | ||
| 4239 | if test x"$emacs_cv_sunpro_c" = xyes; then | 4018 | if test x"$emacs_cv_sunpro_c" = xyes; then |
| @@ -4273,14 +4052,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4273 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4052 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4274 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4053 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4275 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4054 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 4055 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4277 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4056 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4278 | # On Suns, sometimes $CPP names a directory. | 4057 | # On Suns, sometimes $CPP names a directory. |
| 4279 | if test -n "$CPP" && test -d "$CPP"; then | 4058 | if test -n "$CPP" && test -d "$CPP"; then |
| 4280 | CPP= | 4059 | CPP= |
| 4281 | fi | 4060 | fi |
| 4282 | if test -z "$CPP"; then | 4061 | if test -z "$CPP"; then |
| 4283 | if test "${ac_cv_prog_CPP+set}" = set; then : | 4062 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4284 | $as_echo_n "(cached) " >&6 | 4063 | $as_echo_n "(cached) " >&6 |
| 4285 | else | 4064 | else |
| 4286 | # Double quotes because CPP needs to be expanded | 4065 | # Double quotes because CPP needs to be expanded |
| @@ -4295,7 +4074,11 @@ do | |||
| 4295 | # <limits.h> exists even on freestanding compilers. | 4074 | # <limits.h> exists even on freestanding compilers. |
| 4296 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4075 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4297 | # not just through cpp. "Syntax error" is here to catch this case. | 4076 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4298 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4077 | cat >conftest.$ac_ext <<_ACEOF |
| 4078 | /* confdefs.h. */ | ||
| 4079 | _ACEOF | ||
| 4080 | cat confdefs.h >>conftest.$ac_ext | ||
| 4081 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4299 | /* end confdefs.h. */ | 4082 | /* end confdefs.h. */ |
| 4300 | #ifdef __STDC__ | 4083 | #ifdef __STDC__ |
| 4301 | # include <limits.h> | 4084 | # include <limits.h> |
| @@ -4304,34 +4087,78 @@ do | |||
| 4304 | #endif | 4087 | #endif |
| 4305 | Syntax error | 4088 | Syntax error |
| 4306 | _ACEOF | 4089 | _ACEOF |
| 4307 | if ac_fn_c_try_cpp "$LINENO"; then : | 4090 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4308 | 4091 | case "(($ac_try" in | |
| 4092 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4093 | *) ac_try_echo=$ac_try;; | ||
| 4094 | esac | ||
| 4095 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4096 | $as_echo "$ac_try_echo") >&5 | ||
| 4097 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4098 | ac_status=$? | ||
| 4099 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4100 | rm -f conftest.er1 | ||
| 4101 | cat conftest.err >&5 | ||
| 4102 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4103 | (exit $ac_status); } >/dev/null && { | ||
| 4104 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4105 | test ! -s conftest.err | ||
| 4106 | }; then | ||
| 4107 | : | ||
| 4309 | else | 4108 | else |
| 4109 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4110 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4111 | |||
| 4310 | # Broken: fails on valid input. | 4112 | # Broken: fails on valid input. |
| 4311 | continue | 4113 | continue |
| 4312 | fi | 4114 | fi |
| 4115 | |||
| 4313 | rm -f conftest.err conftest.$ac_ext | 4116 | rm -f conftest.err conftest.$ac_ext |
| 4314 | 4117 | ||
| 4315 | # OK, works on sane cases. Now check whether nonexistent headers | 4118 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4316 | # can be detected and how. | 4119 | # can be detected and how. |
| 4317 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4120 | cat >conftest.$ac_ext <<_ACEOF |
| 4121 | /* confdefs.h. */ | ||
| 4122 | _ACEOF | ||
| 4123 | cat confdefs.h >>conftest.$ac_ext | ||
| 4124 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4318 | /* end confdefs.h. */ | 4125 | /* end confdefs.h. */ |
| 4319 | #include <ac_nonexistent.h> | 4126 | #include <ac_nonexistent.h> |
| 4320 | _ACEOF | 4127 | _ACEOF |
| 4321 | if ac_fn_c_try_cpp "$LINENO"; then : | 4128 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4129 | case "(($ac_try" in | ||
| 4130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4131 | *) ac_try_echo=$ac_try;; | ||
| 4132 | esac | ||
| 4133 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4134 | $as_echo "$ac_try_echo") >&5 | ||
| 4135 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4136 | ac_status=$? | ||
| 4137 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4138 | rm -f conftest.er1 | ||
| 4139 | cat conftest.err >&5 | ||
| 4140 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4141 | (exit $ac_status); } >/dev/null && { | ||
| 4142 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4143 | test ! -s conftest.err | ||
| 4144 | }; then | ||
| 4322 | # Broken: success on invalid input. | 4145 | # Broken: success on invalid input. |
| 4323 | continue | 4146 | continue |
| 4324 | else | 4147 | else |
| 4148 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4149 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4150 | |||
| 4325 | # Passes both tests. | 4151 | # Passes both tests. |
| 4326 | ac_preproc_ok=: | 4152 | ac_preproc_ok=: |
| 4327 | break | 4153 | break |
| 4328 | fi | 4154 | fi |
| 4155 | |||
| 4329 | rm -f conftest.err conftest.$ac_ext | 4156 | rm -f conftest.err conftest.$ac_ext |
| 4330 | 4157 | ||
| 4331 | done | 4158 | done |
| 4332 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4159 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4333 | rm -f conftest.err conftest.$ac_ext | 4160 | rm -f conftest.err conftest.$ac_ext |
| 4334 | if $ac_preproc_ok; then : | 4161 | if $ac_preproc_ok; then |
| 4335 | break | 4162 | break |
| 4336 | fi | 4163 | fi |
| 4337 | 4164 | ||
| @@ -4343,7 +4170,7 @@ fi | |||
| 4343 | else | 4170 | else |
| 4344 | ac_cv_prog_CPP=$CPP | 4171 | ac_cv_prog_CPP=$CPP |
| 4345 | fi | 4172 | fi |
| 4346 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 4173 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4347 | $as_echo "$CPP" >&6; } | 4174 | $as_echo "$CPP" >&6; } |
| 4348 | ac_preproc_ok=false | 4175 | ac_preproc_ok=false |
| 4349 | for ac_c_preproc_warn_flag in '' yes | 4176 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4354,7 +4181,11 @@ do | |||
| 4354 | # <limits.h> exists even on freestanding compilers. | 4181 | # <limits.h> exists even on freestanding compilers. |
| 4355 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4182 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4356 | # not just through cpp. "Syntax error" is here to catch this case. | 4183 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4357 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4184 | cat >conftest.$ac_ext <<_ACEOF |
| 4185 | /* confdefs.h. */ | ||
| 4186 | _ACEOF | ||
| 4187 | cat confdefs.h >>conftest.$ac_ext | ||
| 4188 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4358 | /* end confdefs.h. */ | 4189 | /* end confdefs.h. */ |
| 4359 | #ifdef __STDC__ | 4190 | #ifdef __STDC__ |
| 4360 | # include <limits.h> | 4191 | # include <limits.h> |
| @@ -4363,40 +4194,85 @@ do | |||
| 4363 | #endif | 4194 | #endif |
| 4364 | Syntax error | 4195 | Syntax error |
| 4365 | _ACEOF | 4196 | _ACEOF |
| 4366 | if ac_fn_c_try_cpp "$LINENO"; then : | 4197 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4367 | 4198 | case "(($ac_try" in | |
| 4199 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4200 | *) ac_try_echo=$ac_try;; | ||
| 4201 | esac | ||
| 4202 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4203 | $as_echo "$ac_try_echo") >&5 | ||
| 4204 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4205 | ac_status=$? | ||
| 4206 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4207 | rm -f conftest.er1 | ||
| 4208 | cat conftest.err >&5 | ||
| 4209 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4210 | (exit $ac_status); } >/dev/null && { | ||
| 4211 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4212 | test ! -s conftest.err | ||
| 4213 | }; then | ||
| 4214 | : | ||
| 4368 | else | 4215 | else |
| 4216 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4217 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4218 | |||
| 4369 | # Broken: fails on valid input. | 4219 | # Broken: fails on valid input. |
| 4370 | continue | 4220 | continue |
| 4371 | fi | 4221 | fi |
| 4222 | |||
| 4372 | rm -f conftest.err conftest.$ac_ext | 4223 | rm -f conftest.err conftest.$ac_ext |
| 4373 | 4224 | ||
| 4374 | # OK, works on sane cases. Now check whether nonexistent headers | 4225 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4375 | # can be detected and how. | 4226 | # can be detected and how. |
| 4376 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4227 | cat >conftest.$ac_ext <<_ACEOF |
| 4228 | /* confdefs.h. */ | ||
| 4229 | _ACEOF | ||
| 4230 | cat confdefs.h >>conftest.$ac_ext | ||
| 4231 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4377 | /* end confdefs.h. */ | 4232 | /* end confdefs.h. */ |
| 4378 | #include <ac_nonexistent.h> | 4233 | #include <ac_nonexistent.h> |
| 4379 | _ACEOF | 4234 | _ACEOF |
| 4380 | if ac_fn_c_try_cpp "$LINENO"; then : | 4235 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4236 | case "(($ac_try" in | ||
| 4237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4238 | *) ac_try_echo=$ac_try;; | ||
| 4239 | esac | ||
| 4240 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4241 | $as_echo "$ac_try_echo") >&5 | ||
| 4242 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4243 | ac_status=$? | ||
| 4244 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4245 | rm -f conftest.er1 | ||
| 4246 | cat conftest.err >&5 | ||
| 4247 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4248 | (exit $ac_status); } >/dev/null && { | ||
| 4249 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4250 | test ! -s conftest.err | ||
| 4251 | }; then | ||
| 4381 | # Broken: success on invalid input. | 4252 | # Broken: success on invalid input. |
| 4382 | continue | 4253 | continue |
| 4383 | else | 4254 | else |
| 4255 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4256 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4257 | |||
| 4384 | # Passes both tests. | 4258 | # Passes both tests. |
| 4385 | ac_preproc_ok=: | 4259 | ac_preproc_ok=: |
| 4386 | break | 4260 | break |
| 4387 | fi | 4261 | fi |
| 4262 | |||
| 4388 | rm -f conftest.err conftest.$ac_ext | 4263 | rm -f conftest.err conftest.$ac_ext |
| 4389 | 4264 | ||
| 4390 | done | 4265 | done |
| 4391 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4266 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4392 | rm -f conftest.err conftest.$ac_ext | 4267 | rm -f conftest.err conftest.$ac_ext |
| 4393 | if $ac_preproc_ok; then : | 4268 | if $ac_preproc_ok; then |
| 4394 | 4269 | : | |
| 4395 | else | 4270 | else |
| 4396 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4271 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4397 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4272 | See \`config.log' for more details." >&5 |
| 4398 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4273 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4399 | See \`config.log' for more details." "$LINENO" 5; } | 4274 | See \`config.log' for more details." >&2;} |
| 4275 | { (exit 1); exit 1; }; } | ||
| 4400 | fi | 4276 | fi |
| 4401 | 4277 | ||
| 4402 | ac_ext=c | 4278 | ac_ext=c |
| @@ -4406,9 +4282,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
| 4406 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4282 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4407 | 4283 | ||
| 4408 | 4284 | ||
| 4409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4285 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 4410 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4286 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4411 | if test "${ac_cv_path_GREP+set}" = set; then : | 4287 | if test "${ac_cv_path_GREP+set}" = set; then |
| 4412 | $as_echo_n "(cached) " >&6 | 4288 | $as_echo_n "(cached) " >&6 |
| 4413 | else | 4289 | else |
| 4414 | if test -z "$GREP"; then | 4290 | if test -z "$GREP"; then |
| @@ -4419,7 +4295,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4419 | do | 4295 | do |
| 4420 | IFS=$as_save_IFS | 4296 | IFS=$as_save_IFS |
| 4421 | test -z "$as_dir" && as_dir=. | 4297 | test -z "$as_dir" && as_dir=. |
| 4422 | for ac_prog in grep ggrep; do | 4298 | for ac_prog in grep ggrep; do |
| 4423 | for ac_exec_ext in '' $ac_executable_extensions; do | 4299 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4424 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4300 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4425 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4301 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| @@ -4439,7 +4315,7 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
| 4439 | $as_echo 'GREP' >> "conftest.nl" | 4315 | $as_echo 'GREP' >> "conftest.nl" |
| 4440 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4316 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4441 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4317 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4442 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4318 | ac_count=`expr $ac_count + 1` |
| 4443 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4319 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4444 | # Best one so far, save it but keep looking for a better one | 4320 | # Best one so far, save it but keep looking for a better one |
| 4445 | ac_cv_path_GREP="$ac_path_GREP" | 4321 | ac_cv_path_GREP="$ac_path_GREP" |
| @@ -4454,24 +4330,26 @@ esac | |||
| 4454 | $ac_path_GREP_found && break 3 | 4330 | $ac_path_GREP_found && break 3 |
| 4455 | done | 4331 | done |
| 4456 | done | 4332 | done |
| 4457 | done | 4333 | done |
| 4458 | IFS=$as_save_IFS | 4334 | IFS=$as_save_IFS |
| 4459 | if test -z "$ac_cv_path_GREP"; then | 4335 | if test -z "$ac_cv_path_GREP"; then |
| 4460 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4336 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4337 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4338 | { (exit 1); exit 1; }; } | ||
| 4461 | fi | 4339 | fi |
| 4462 | else | 4340 | else |
| 4463 | ac_cv_path_GREP=$GREP | 4341 | ac_cv_path_GREP=$GREP |
| 4464 | fi | 4342 | fi |
| 4465 | 4343 | ||
| 4466 | fi | 4344 | fi |
| 4467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4345 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 4468 | $as_echo "$ac_cv_path_GREP" >&6; } | 4346 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 4469 | GREP="$ac_cv_path_GREP" | 4347 | GREP="$ac_cv_path_GREP" |
| 4470 | 4348 | ||
| 4471 | 4349 | ||
| 4472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4350 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4473 | $as_echo_n "checking for egrep... " >&6; } | 4351 | $as_echo_n "checking for egrep... " >&6; } |
| 4474 | if test "${ac_cv_path_EGREP+set}" = set; then : | 4352 | if test "${ac_cv_path_EGREP+set}" = set; then |
| 4475 | $as_echo_n "(cached) " >&6 | 4353 | $as_echo_n "(cached) " >&6 |
| 4476 | else | 4354 | else |
| 4477 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4355 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| @@ -4485,7 +4363,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4485 | do | 4363 | do |
| 4486 | IFS=$as_save_IFS | 4364 | IFS=$as_save_IFS |
| 4487 | test -z "$as_dir" && as_dir=. | 4365 | test -z "$as_dir" && as_dir=. |
| 4488 | for ac_prog in egrep; do | 4366 | for ac_prog in egrep; do |
| 4489 | for ac_exec_ext in '' $ac_executable_extensions; do | 4367 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4490 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4368 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4491 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4369 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| @@ -4505,7 +4383,7 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
| 4505 | $as_echo 'EGREP' >> "conftest.nl" | 4383 | $as_echo 'EGREP' >> "conftest.nl" |
| 4506 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4384 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4507 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4385 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4508 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4386 | ac_count=`expr $ac_count + 1` |
| 4509 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4387 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4510 | # Best one so far, save it but keep looking for a better one | 4388 | # Best one so far, save it but keep looking for a better one |
| 4511 | ac_cv_path_EGREP="$ac_path_EGREP" | 4389 | ac_cv_path_EGREP="$ac_path_EGREP" |
| @@ -4520,10 +4398,12 @@ esac | |||
| 4520 | $ac_path_EGREP_found && break 3 | 4398 | $ac_path_EGREP_found && break 3 |
| 4521 | done | 4399 | done |
| 4522 | done | 4400 | done |
| 4523 | done | 4401 | done |
| 4524 | IFS=$as_save_IFS | 4402 | IFS=$as_save_IFS |
| 4525 | if test -z "$ac_cv_path_EGREP"; then | 4403 | if test -z "$ac_cv_path_EGREP"; then |
| 4526 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4404 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4405 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4406 | { (exit 1); exit 1; }; } | ||
| 4527 | fi | 4407 | fi |
| 4528 | else | 4408 | else |
| 4529 | ac_cv_path_EGREP=$EGREP | 4409 | ac_cv_path_EGREP=$EGREP |
| @@ -4531,17 +4411,21 @@ fi | |||
| 4531 | 4411 | ||
| 4532 | fi | 4412 | fi |
| 4533 | fi | 4413 | fi |
| 4534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4414 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 4535 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4415 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4536 | EGREP="$ac_cv_path_EGREP" | 4416 | EGREP="$ac_cv_path_EGREP" |
| 4537 | 4417 | ||
| 4538 | 4418 | ||
| 4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4419 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4540 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4420 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4541 | if test "${ac_cv_header_stdc+set}" = set; then : | 4421 | if test "${ac_cv_header_stdc+set}" = set; then |
| 4542 | $as_echo_n "(cached) " >&6 | 4422 | $as_echo_n "(cached) " >&6 |
| 4543 | else | 4423 | else |
| 4544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4424 | cat >conftest.$ac_ext <<_ACEOF |
| 4425 | /* confdefs.h. */ | ||
| 4426 | _ACEOF | ||
| 4427 | cat confdefs.h >>conftest.$ac_ext | ||
| 4428 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4545 | /* end confdefs.h. */ | 4429 | /* end confdefs.h. */ |
| 4546 | #include <stdlib.h> | 4430 | #include <stdlib.h> |
| 4547 | #include <stdarg.h> | 4431 | #include <stdarg.h> |
| @@ -4556,23 +4440,48 @@ main () | |||
| 4556 | return 0; | 4440 | return 0; |
| 4557 | } | 4441 | } |
| 4558 | _ACEOF | 4442 | _ACEOF |
| 4559 | if ac_fn_c_try_compile "$LINENO"; then : | 4443 | rm -f conftest.$ac_objext |
| 4444 | if { (ac_try="$ac_compile" | ||
| 4445 | case "(($ac_try" in | ||
| 4446 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4447 | *) ac_try_echo=$ac_try;; | ||
| 4448 | esac | ||
| 4449 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4450 | $as_echo "$ac_try_echo") >&5 | ||
| 4451 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4452 | ac_status=$? | ||
| 4453 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4454 | rm -f conftest.er1 | ||
| 4455 | cat conftest.err >&5 | ||
| 4456 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4457 | (exit $ac_status); } && { | ||
| 4458 | test -z "$ac_c_werror_flag" || | ||
| 4459 | test ! -s conftest.err | ||
| 4460 | } && test -s conftest.$ac_objext; then | ||
| 4560 | ac_cv_header_stdc=yes | 4461 | ac_cv_header_stdc=yes |
| 4561 | else | 4462 | else |
| 4562 | ac_cv_header_stdc=no | 4463 | $as_echo "$as_me: failed program was:" >&5 |
| 4464 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4465 | |||
| 4466 | ac_cv_header_stdc=no | ||
| 4563 | fi | 4467 | fi |
| 4468 | |||
| 4564 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4469 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4565 | 4470 | ||
| 4566 | if test $ac_cv_header_stdc = yes; then | 4471 | if test $ac_cv_header_stdc = yes; then |
| 4567 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4472 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4473 | cat >conftest.$ac_ext <<_ACEOF |
| 4474 | /* confdefs.h. */ | ||
| 4475 | _ACEOF | ||
| 4476 | cat confdefs.h >>conftest.$ac_ext | ||
| 4477 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4569 | /* end confdefs.h. */ | 4478 | /* end confdefs.h. */ |
| 4570 | #include <string.h> | 4479 | #include <string.h> |
| 4571 | 4480 | ||
| 4572 | _ACEOF | 4481 | _ACEOF |
| 4573 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4482 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4574 | $EGREP "memchr" >/dev/null 2>&1; then : | 4483 | $EGREP "memchr" >/dev/null 2>&1; then |
| 4575 | 4484 | : | |
| 4576 | else | 4485 | else |
| 4577 | ac_cv_header_stdc=no | 4486 | ac_cv_header_stdc=no |
| 4578 | fi | 4487 | fi |
| @@ -4582,14 +4491,18 @@ fi | |||
| 4582 | 4491 | ||
| 4583 | if test $ac_cv_header_stdc = yes; then | 4492 | if test $ac_cv_header_stdc = yes; then |
| 4584 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4493 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4585 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4494 | cat >conftest.$ac_ext <<_ACEOF |
| 4495 | /* confdefs.h. */ | ||
| 4496 | _ACEOF | ||
| 4497 | cat confdefs.h >>conftest.$ac_ext | ||
| 4498 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4586 | /* end confdefs.h. */ | 4499 | /* end confdefs.h. */ |
| 4587 | #include <stdlib.h> | 4500 | #include <stdlib.h> |
| 4588 | 4501 | ||
| 4589 | _ACEOF | 4502 | _ACEOF |
| 4590 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4503 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4591 | $EGREP "free" >/dev/null 2>&1; then : | 4504 | $EGREP "free" >/dev/null 2>&1; then |
| 4592 | 4505 | : | |
| 4593 | else | 4506 | else |
| 4594 | ac_cv_header_stdc=no | 4507 | ac_cv_header_stdc=no |
| 4595 | fi | 4508 | fi |
| @@ -4599,10 +4512,14 @@ fi | |||
| 4599 | 4512 | ||
| 4600 | if test $ac_cv_header_stdc = yes; then | 4513 | if test $ac_cv_header_stdc = yes; then |
| 4601 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4514 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4602 | if test "$cross_compiling" = yes; then : | 4515 | if test "$cross_compiling" = yes; then |
| 4603 | : | 4516 | : |
| 4604 | else | 4517 | else |
| 4605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4518 | cat >conftest.$ac_ext <<_ACEOF |
| 4519 | /* confdefs.h. */ | ||
| 4520 | _ACEOF | ||
| 4521 | cat confdefs.h >>conftest.$ac_ext | ||
| 4522 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4606 | /* end confdefs.h. */ | 4523 | /* end confdefs.h. */ |
| 4607 | #include <ctype.h> | 4524 | #include <ctype.h> |
| 4608 | #include <stdlib.h> | 4525 | #include <stdlib.h> |
| @@ -4629,34 +4546,117 @@ main () | |||
| 4629 | return 0; | 4546 | return 0; |
| 4630 | } | 4547 | } |
| 4631 | _ACEOF | 4548 | _ACEOF |
| 4632 | if ac_fn_c_try_run "$LINENO"; then : | 4549 | rm -f conftest$ac_exeext |
| 4633 | 4550 | if { (ac_try="$ac_link" | |
| 4551 | case "(($ac_try" in | ||
| 4552 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4553 | *) ac_try_echo=$ac_try;; | ||
| 4554 | esac | ||
| 4555 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4556 | $as_echo "$ac_try_echo") >&5 | ||
| 4557 | (eval "$ac_link") 2>&5 | ||
| 4558 | ac_status=$? | ||
| 4559 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4560 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 4561 | { (case "(($ac_try" in | ||
| 4562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4563 | *) ac_try_echo=$ac_try;; | ||
| 4564 | esac | ||
| 4565 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4566 | $as_echo "$ac_try_echo") >&5 | ||
| 4567 | (eval "$ac_try") 2>&5 | ||
| 4568 | ac_status=$? | ||
| 4569 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4570 | (exit $ac_status); }; }; then | ||
| 4571 | : | ||
| 4634 | else | 4572 | else |
| 4635 | ac_cv_header_stdc=no | 4573 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 4574 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4575 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4576 | |||
| 4577 | ( exit $ac_status ) | ||
| 4578 | ac_cv_header_stdc=no | ||
| 4636 | fi | 4579 | fi |
| 4637 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4580 | rm -rf conftest.dSYM |
| 4638 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 4581 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4639 | fi | 4582 | fi |
| 4640 | 4583 | ||
| 4584 | |||
| 4641 | fi | 4585 | fi |
| 4642 | fi | 4586 | fi |
| 4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4587 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4644 | $as_echo "$ac_cv_header_stdc" >&6; } | 4588 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 4645 | if test $ac_cv_header_stdc = yes; then | 4589 | if test $ac_cv_header_stdc = yes; then |
| 4646 | 4590 | ||
| 4647 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4591 | cat >>confdefs.h <<\_ACEOF |
| 4592 | #define STDC_HEADERS 1 | ||
| 4593 | _ACEOF | ||
| 4648 | 4594 | ||
| 4649 | fi | 4595 | fi |
| 4650 | 4596 | ||
| 4651 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4597 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4598 | |||
| 4599 | |||
| 4600 | |||
| 4601 | |||
| 4602 | |||
| 4603 | |||
| 4604 | |||
| 4605 | |||
| 4606 | |||
| 4652 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4607 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4653 | inttypes.h stdint.h unistd.h | 4608 | inttypes.h stdint.h unistd.h |
| 4654 | do : | 4609 | do |
| 4655 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4610 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4656 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4611 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4657 | " | 4612 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4658 | eval as_val=\$$as_ac_Header | 4613 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4659 | if test "x$as_val" = x""yes; then : | 4614 | $as_echo_n "(cached) " >&6 |
| 4615 | else | ||
| 4616 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4617 | /* confdefs.h. */ | ||
| 4618 | _ACEOF | ||
| 4619 | cat confdefs.h >>conftest.$ac_ext | ||
| 4620 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4621 | /* end confdefs.h. */ | ||
| 4622 | $ac_includes_default | ||
| 4623 | |||
| 4624 | #include <$ac_header> | ||
| 4625 | _ACEOF | ||
| 4626 | rm -f conftest.$ac_objext | ||
| 4627 | if { (ac_try="$ac_compile" | ||
| 4628 | case "(($ac_try" in | ||
| 4629 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4630 | *) ac_try_echo=$ac_try;; | ||
| 4631 | esac | ||
| 4632 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4633 | $as_echo "$ac_try_echo") >&5 | ||
| 4634 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4635 | ac_status=$? | ||
| 4636 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4637 | rm -f conftest.er1 | ||
| 4638 | cat conftest.err >&5 | ||
| 4639 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4640 | (exit $ac_status); } && { | ||
| 4641 | test -z "$ac_c_werror_flag" || | ||
| 4642 | test ! -s conftest.err | ||
| 4643 | } && test -s conftest.$ac_objext; then | ||
| 4644 | eval "$as_ac_Header=yes" | ||
| 4645 | else | ||
| 4646 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4647 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4648 | |||
| 4649 | eval "$as_ac_Header=no" | ||
| 4650 | fi | ||
| 4651 | |||
| 4652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4653 | fi | ||
| 4654 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 4655 | $as_echo "$as_val"'` | ||
| 4656 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 4657 | $as_echo "$ac_res" >&6; } | ||
| 4658 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 4659 | $as_echo "$as_val"'` = yes; then | ||
| 4660 | cat >>confdefs.h <<_ACEOF | 4660 | cat >>confdefs.h <<_ACEOF |
| 4661 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4661 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4662 | _ACEOF | 4662 | _ACEOF |
| @@ -4667,8 +4667,134 @@ done | |||
| 4667 | 4667 | ||
| 4668 | 4668 | ||
| 4669 | 4669 | ||
| 4670 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4670 | if test "${ac_cv_header_minix_config_h+set}" = set; then |
| 4671 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4671 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
| 4672 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4673 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4674 | $as_echo_n "(cached) " >&6 | ||
| 4675 | fi | ||
| 4676 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4677 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4678 | else | ||
| 4679 | # Is the header compilable? | ||
| 4680 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | ||
| 4681 | $as_echo_n "checking minix/config.h usability... " >&6; } | ||
| 4682 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4683 | /* confdefs.h. */ | ||
| 4684 | _ACEOF | ||
| 4685 | cat confdefs.h >>conftest.$ac_ext | ||
| 4686 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4687 | /* end confdefs.h. */ | ||
| 4688 | $ac_includes_default | ||
| 4689 | #include <minix/config.h> | ||
| 4690 | _ACEOF | ||
| 4691 | rm -f conftest.$ac_objext | ||
| 4692 | if { (ac_try="$ac_compile" | ||
| 4693 | case "(($ac_try" in | ||
| 4694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4695 | *) ac_try_echo=$ac_try;; | ||
| 4696 | esac | ||
| 4697 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4698 | $as_echo "$ac_try_echo") >&5 | ||
| 4699 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4700 | ac_status=$? | ||
| 4701 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4702 | rm -f conftest.er1 | ||
| 4703 | cat conftest.err >&5 | ||
| 4704 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4705 | (exit $ac_status); } && { | ||
| 4706 | test -z "$ac_c_werror_flag" || | ||
| 4707 | test ! -s conftest.err | ||
| 4708 | } && test -s conftest.$ac_objext; then | ||
| 4709 | ac_header_compiler=yes | ||
| 4710 | else | ||
| 4711 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4712 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4713 | |||
| 4714 | ac_header_compiler=no | ||
| 4715 | fi | ||
| 4716 | |||
| 4717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4718 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 4719 | $as_echo "$ac_header_compiler" >&6; } | ||
| 4720 | |||
| 4721 | # Is the header present? | ||
| 4722 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | ||
| 4723 | $as_echo_n "checking minix/config.h presence... " >&6; } | ||
| 4724 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4725 | /* confdefs.h. */ | ||
| 4726 | _ACEOF | ||
| 4727 | cat confdefs.h >>conftest.$ac_ext | ||
| 4728 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4729 | /* end confdefs.h. */ | ||
| 4730 | #include <minix/config.h> | ||
| 4731 | _ACEOF | ||
| 4732 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 4733 | case "(($ac_try" in | ||
| 4734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4735 | *) ac_try_echo=$ac_try;; | ||
| 4736 | esac | ||
| 4737 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4738 | $as_echo "$ac_try_echo") >&5 | ||
| 4739 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4740 | ac_status=$? | ||
| 4741 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4742 | rm -f conftest.er1 | ||
| 4743 | cat conftest.err >&5 | ||
| 4744 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4745 | (exit $ac_status); } >/dev/null && { | ||
| 4746 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4747 | test ! -s conftest.err | ||
| 4748 | }; then | ||
| 4749 | ac_header_preproc=yes | ||
| 4750 | else | ||
| 4751 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4752 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4753 | |||
| 4754 | ac_header_preproc=no | ||
| 4755 | fi | ||
| 4756 | |||
| 4757 | rm -f conftest.err conftest.$ac_ext | ||
| 4758 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 4759 | $as_echo "$ac_header_preproc" >&6; } | ||
| 4760 | |||
| 4761 | # So? What about this header? | ||
| 4762 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 4763 | yes:no: ) | ||
| 4764 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 4765 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 4766 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | ||
| 4767 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | ||
| 4768 | ac_header_preproc=yes | ||
| 4769 | ;; | ||
| 4770 | no:yes:* ) | ||
| 4771 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | ||
| 4772 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | ||
| 4773 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | ||
| 4774 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | ||
| 4775 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | ||
| 4776 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | ||
| 4777 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 4778 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 4779 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | ||
| 4780 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | ||
| 4781 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | ||
| 4782 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | ||
| 4783 | |||
| 4784 | ;; | ||
| 4785 | esac | ||
| 4786 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | ||
| 4787 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4788 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4789 | $as_echo_n "(cached) " >&6 | ||
| 4790 | else | ||
| 4791 | ac_cv_header_minix_config_h=$ac_header_preproc | ||
| 4792 | fi | ||
| 4793 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4794 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4795 | |||
| 4796 | fi | ||
| 4797 | if test $ac_cv_header_minix_config_h = yes; then | ||
| 4672 | MINIX=yes | 4798 | MINIX=yes |
| 4673 | else | 4799 | else |
| 4674 | MINIX= | 4800 | MINIX= |
| @@ -4677,23 +4803,34 @@ fi | |||
| 4677 | 4803 | ||
| 4678 | if test "$MINIX" = yes; then | 4804 | if test "$MINIX" = yes; then |
| 4679 | 4805 | ||
| 4680 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 4806 | cat >>confdefs.h <<\_ACEOF |
| 4807 | #define _POSIX_SOURCE 1 | ||
| 4808 | _ACEOF | ||
| 4681 | 4809 | ||
| 4682 | 4810 | ||
| 4683 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 4811 | cat >>confdefs.h <<\_ACEOF |
| 4812 | #define _POSIX_1_SOURCE 2 | ||
| 4813 | _ACEOF | ||
| 4684 | 4814 | ||
| 4685 | 4815 | ||
| 4686 | $as_echo "#define _MINIX 1" >>confdefs.h | 4816 | cat >>confdefs.h <<\_ACEOF |
| 4817 | #define _MINIX 1 | ||
| 4818 | _ACEOF | ||
| 4687 | 4819 | ||
| 4688 | fi | 4820 | fi |
| 4689 | 4821 | ||
| 4690 | 4822 | ||
| 4691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4823 | |
| 4824 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | ||
| 4692 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4825 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 4693 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4826 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then |
| 4694 | $as_echo_n "(cached) " >&6 | 4827 | $as_echo_n "(cached) " >&6 |
| 4695 | else | 4828 | else |
| 4696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4829 | cat >conftest.$ac_ext <<_ACEOF |
| 4830 | /* confdefs.h. */ | ||
| 4831 | _ACEOF | ||
| 4832 | cat confdefs.h >>conftest.$ac_ext | ||
| 4833 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4697 | /* end confdefs.h. */ | 4834 | /* end confdefs.h. */ |
| 4698 | 4835 | ||
| 4699 | # define __EXTENSIONS__ 1 | 4836 | # define __EXTENSIONS__ 1 |
| @@ -4706,34 +4843,69 @@ main () | |||
| 4706 | return 0; | 4843 | return 0; |
| 4707 | } | 4844 | } |
| 4708 | _ACEOF | 4845 | _ACEOF |
| 4709 | if ac_fn_c_try_compile "$LINENO"; then : | 4846 | rm -f conftest.$ac_objext |
| 4847 | if { (ac_try="$ac_compile" | ||
| 4848 | case "(($ac_try" in | ||
| 4849 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4850 | *) ac_try_echo=$ac_try;; | ||
| 4851 | esac | ||
| 4852 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4853 | $as_echo "$ac_try_echo") >&5 | ||
| 4854 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4855 | ac_status=$? | ||
| 4856 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4857 | rm -f conftest.er1 | ||
| 4858 | cat conftest.err >&5 | ||
| 4859 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4860 | (exit $ac_status); } && { | ||
| 4861 | test -z "$ac_c_werror_flag" || | ||
| 4862 | test ! -s conftest.err | ||
| 4863 | } && test -s conftest.$ac_objext; then | ||
| 4710 | ac_cv_safe_to_define___extensions__=yes | 4864 | ac_cv_safe_to_define___extensions__=yes |
| 4711 | else | 4865 | else |
| 4712 | ac_cv_safe_to_define___extensions__=no | 4866 | $as_echo "$as_me: failed program was:" >&5 |
| 4867 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4868 | |||
| 4869 | ac_cv_safe_to_define___extensions__=no | ||
| 4713 | fi | 4870 | fi |
| 4871 | |||
| 4714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4872 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4715 | fi | 4873 | fi |
| 4716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | 4874 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 4717 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4875 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 4718 | test $ac_cv_safe_to_define___extensions__ = yes && | 4876 | test $ac_cv_safe_to_define___extensions__ = yes && |
| 4719 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 4877 | cat >>confdefs.h <<\_ACEOF |
| 4878 | #define __EXTENSIONS__ 1 | ||
| 4879 | _ACEOF | ||
| 4720 | 4880 | ||
| 4721 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 4881 | cat >>confdefs.h <<\_ACEOF |
| 4882 | #define _ALL_SOURCE 1 | ||
| 4883 | _ACEOF | ||
| 4722 | 4884 | ||
| 4723 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 4885 | cat >>confdefs.h <<\_ACEOF |
| 4886 | #define _GNU_SOURCE 1 | ||
| 4887 | _ACEOF | ||
| 4724 | 4888 | ||
| 4725 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 4889 | cat >>confdefs.h <<\_ACEOF |
| 4890 | #define _POSIX_PTHREAD_SEMANTICS 1 | ||
| 4891 | _ACEOF | ||
| 4726 | 4892 | ||
| 4727 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 4893 | cat >>confdefs.h <<\_ACEOF |
| 4894 | #define _TANDEM_SOURCE 1 | ||
| 4895 | _ACEOF | ||
| 4728 | 4896 | ||
| 4729 | 4897 | ||
| 4730 | 4898 | ||
| 4731 | ### Use -Wno-pointer-sign if the compiler supports it | 4899 | ### Use -Wno-pointer-sign if the compiler supports it |
| 4732 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 | 4900 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
| 4733 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4901 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
| 4734 | SAVE_CFLAGS="$CFLAGS" | 4902 | SAVE_CFLAGS="$CFLAGS" |
| 4735 | CFLAGS="$CFLAGS -Wno-pointer-sign" | 4903 | CFLAGS="$CFLAGS -Wno-pointer-sign" |
| 4736 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4904 | cat >conftest.$ac_ext <<_ACEOF |
| 4905 | /* confdefs.h. */ | ||
| 4906 | _ACEOF | ||
| 4907 | cat confdefs.h >>conftest.$ac_ext | ||
| 4908 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4737 | /* end confdefs.h. */ | 4909 | /* end confdefs.h. */ |
| 4738 | 4910 | ||
| 4739 | int | 4911 | int |
| @@ -4744,27 +4916,52 @@ main () | |||
| 4744 | return 0; | 4916 | return 0; |
| 4745 | } | 4917 | } |
| 4746 | _ACEOF | 4918 | _ACEOF |
| 4747 | if ac_fn_c_try_compile "$LINENO"; then : | 4919 | rm -f conftest.$ac_objext |
| 4920 | if { (ac_try="$ac_compile" | ||
| 4921 | case "(($ac_try" in | ||
| 4922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4923 | *) ac_try_echo=$ac_try;; | ||
| 4924 | esac | ||
| 4925 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4926 | $as_echo "$ac_try_echo") >&5 | ||
| 4927 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4928 | ac_status=$? | ||
| 4929 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4930 | rm -f conftest.er1 | ||
| 4931 | cat conftest.err >&5 | ||
| 4932 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4933 | (exit $ac_status); } && { | ||
| 4934 | test -z "$ac_c_werror_flag" || | ||
| 4935 | test ! -s conftest.err | ||
| 4936 | } && test -s conftest.$ac_objext; then | ||
| 4748 | has_option=yes | 4937 | has_option=yes |
| 4749 | else | 4938 | else |
| 4750 | has_option=no | 4939 | $as_echo "$as_me: failed program was:" >&5 |
| 4940 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4941 | |||
| 4942 | has_option=no | ||
| 4751 | fi | 4943 | fi |
| 4944 | |||
| 4752 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4753 | if test $has_option = yes; then | 4946 | if test $has_option = yes; then |
| 4754 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4947 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
| 4755 | fi | 4948 | fi |
| 4756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 4949 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4757 | $as_echo "$has_option" >&6; } | 4950 | $as_echo "$has_option" >&6; } |
| 4758 | CFLAGS="$SAVE_CFLAGS" | 4951 | CFLAGS="$SAVE_CFLAGS" |
| 4759 | unset has_option | 4952 | unset has_option |
| 4760 | unset SAVE_CFLAGS | 4953 | unset SAVE_CFLAGS |
| 4761 | 4954 | ||
| 4762 | ### Use -Wdeclaration-after-statement if the compiler supports it | 4955 | ### Use -Wdeclaration-after-statement if the compiler supports it |
| 4763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4956 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
| 4764 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4957 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
| 4765 | SAVE_CFLAGS="$CFLAGS" | 4958 | SAVE_CFLAGS="$CFLAGS" |
| 4766 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4959 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
| 4767 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4960 | cat >conftest.$ac_ext <<_ACEOF |
| 4961 | /* confdefs.h. */ | ||
| 4962 | _ACEOF | ||
| 4963 | cat confdefs.h >>conftest.$ac_ext | ||
| 4964 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4768 | /* end confdefs.h. */ | 4965 | /* end confdefs.h. */ |
| 4769 | 4966 | ||
| 4770 | int | 4967 | int |
| @@ -4775,16 +4972,37 @@ main () | |||
| 4775 | return 0; | 4972 | return 0; |
| 4776 | } | 4973 | } |
| 4777 | _ACEOF | 4974 | _ACEOF |
| 4778 | if ac_fn_c_try_compile "$LINENO"; then : | 4975 | rm -f conftest.$ac_objext |
| 4976 | if { (ac_try="$ac_compile" | ||
| 4977 | case "(($ac_try" in | ||
| 4978 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4979 | *) ac_try_echo=$ac_try;; | ||
| 4980 | esac | ||
| 4981 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4982 | $as_echo "$ac_try_echo") >&5 | ||
| 4983 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4984 | ac_status=$? | ||
| 4985 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4986 | rm -f conftest.er1 | ||
| 4987 | cat conftest.err >&5 | ||
| 4988 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4989 | (exit $ac_status); } && { | ||
| 4990 | test -z "$ac_c_werror_flag" || | ||
| 4991 | test ! -s conftest.err | ||
| 4992 | } && test -s conftest.$ac_objext; then | ||
| 4779 | has_option=yes | 4993 | has_option=yes |
| 4780 | else | 4994 | else |
| 4781 | has_option=no | 4995 | $as_echo "$as_me: failed program was:" >&5 |
| 4996 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4997 | |||
| 4998 | has_option=no | ||
| 4782 | fi | 4999 | fi |
| 5000 | |||
| 4783 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5001 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4784 | if test $has_option = yes; then | 5002 | if test $has_option = yes; then |
| 4785 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 5003 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
| 4786 | fi | 5004 | fi |
| 4787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 5005 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4788 | $as_echo "$has_option" >&6; } | 5006 | $as_echo "$has_option" >&6; } |
| 4789 | CFLAGS="$SAVE_CFLAGS" | 5007 | CFLAGS="$SAVE_CFLAGS" |
| 4790 | unset has_option | 5008 | unset has_option |
| @@ -4792,14 +5010,14 @@ unset SAVE_CFLAGS | |||
| 4792 | 5010 | ||
| 4793 | #### Some other nice autoconf tests. | 5011 | #### Some other nice autoconf tests. |
| 4794 | 5012 | ||
| 4795 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 5013 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 4796 | $as_echo_n "checking whether ln -s works... " >&6; } | 5014 | $as_echo_n "checking whether ln -s works... " >&6; } |
| 4797 | LN_S=$as_ln_s | 5015 | LN_S=$as_ln_s |
| 4798 | if test "$LN_S" = "ln -s"; then | 5016 | if test "$LN_S" = "ln -s"; then |
| 4799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5017 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 4800 | $as_echo "yes" >&6; } | 5018 | $as_echo "yes" >&6; } |
| 4801 | else | 5019 | else |
| 4802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 5020 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 4803 | $as_echo "no, using $LN_S" >&6; } | 5021 | $as_echo "no, using $LN_S" >&6; } |
| 4804 | fi | 5022 | fi |
| 4805 | 5023 | ||
| @@ -4808,14 +5026,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4808 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5026 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4809 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5027 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4810 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5028 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 5029 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4812 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5030 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4813 | # On Suns, sometimes $CPP names a directory. | 5031 | # On Suns, sometimes $CPP names a directory. |
| 4814 | if test -n "$CPP" && test -d "$CPP"; then | 5032 | if test -n "$CPP" && test -d "$CPP"; then |
| 4815 | CPP= | 5033 | CPP= |
| 4816 | fi | 5034 | fi |
| 4817 | if test -z "$CPP"; then | 5035 | if test -z "$CPP"; then |
| 4818 | if test "${ac_cv_prog_CPP+set}" = set; then : | 5036 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4819 | $as_echo_n "(cached) " >&6 | 5037 | $as_echo_n "(cached) " >&6 |
| 4820 | else | 5038 | else |
| 4821 | # Double quotes because CPP needs to be expanded | 5039 | # Double quotes because CPP needs to be expanded |
| @@ -4830,7 +5048,11 @@ do | |||
| 4830 | # <limits.h> exists even on freestanding compilers. | 5048 | # <limits.h> exists even on freestanding compilers. |
| 4831 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5049 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4832 | # not just through cpp. "Syntax error" is here to catch this case. | 5050 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4833 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5051 | cat >conftest.$ac_ext <<_ACEOF |
| 5052 | /* confdefs.h. */ | ||
| 5053 | _ACEOF | ||
| 5054 | cat confdefs.h >>conftest.$ac_ext | ||
| 5055 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4834 | /* end confdefs.h. */ | 5056 | /* end confdefs.h. */ |
| 4835 | #ifdef __STDC__ | 5057 | #ifdef __STDC__ |
| 4836 | # include <limits.h> | 5058 | # include <limits.h> |
| @@ -4839,34 +5061,78 @@ do | |||
| 4839 | #endif | 5061 | #endif |
| 4840 | Syntax error | 5062 | Syntax error |
| 4841 | _ACEOF | 5063 | _ACEOF |
| 4842 | if ac_fn_c_try_cpp "$LINENO"; then : | 5064 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4843 | 5065 | case "(($ac_try" in | |
| 5066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5067 | *) ac_try_echo=$ac_try;; | ||
| 5068 | esac | ||
| 5069 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5070 | $as_echo "$ac_try_echo") >&5 | ||
| 5071 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5072 | ac_status=$? | ||
| 5073 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5074 | rm -f conftest.er1 | ||
| 5075 | cat conftest.err >&5 | ||
| 5076 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5077 | (exit $ac_status); } >/dev/null && { | ||
| 5078 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5079 | test ! -s conftest.err | ||
| 5080 | }; then | ||
| 5081 | : | ||
| 4844 | else | 5082 | else |
| 5083 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5084 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5085 | |||
| 4845 | # Broken: fails on valid input. | 5086 | # Broken: fails on valid input. |
| 4846 | continue | 5087 | continue |
| 4847 | fi | 5088 | fi |
| 5089 | |||
| 4848 | rm -f conftest.err conftest.$ac_ext | 5090 | rm -f conftest.err conftest.$ac_ext |
| 4849 | 5091 | ||
| 4850 | # OK, works on sane cases. Now check whether nonexistent headers | 5092 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4851 | # can be detected and how. | 5093 | # can be detected and how. |
| 4852 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5094 | cat >conftest.$ac_ext <<_ACEOF |
| 5095 | /* confdefs.h. */ | ||
| 5096 | _ACEOF | ||
| 5097 | cat confdefs.h >>conftest.$ac_ext | ||
| 5098 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4853 | /* end confdefs.h. */ | 5099 | /* end confdefs.h. */ |
| 4854 | #include <ac_nonexistent.h> | 5100 | #include <ac_nonexistent.h> |
| 4855 | _ACEOF | 5101 | _ACEOF |
| 4856 | if ac_fn_c_try_cpp "$LINENO"; then : | 5102 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5103 | case "(($ac_try" in | ||
| 5104 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5105 | *) ac_try_echo=$ac_try;; | ||
| 5106 | esac | ||
| 5107 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5108 | $as_echo "$ac_try_echo") >&5 | ||
| 5109 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5110 | ac_status=$? | ||
| 5111 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5112 | rm -f conftest.er1 | ||
| 5113 | cat conftest.err >&5 | ||
| 5114 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5115 | (exit $ac_status); } >/dev/null && { | ||
| 5116 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5117 | test ! -s conftest.err | ||
| 5118 | }; then | ||
| 4857 | # Broken: success on invalid input. | 5119 | # Broken: success on invalid input. |
| 4858 | continue | 5120 | continue |
| 4859 | else | 5121 | else |
| 5122 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5123 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5124 | |||
| 4860 | # Passes both tests. | 5125 | # Passes both tests. |
| 4861 | ac_preproc_ok=: | 5126 | ac_preproc_ok=: |
| 4862 | break | 5127 | break |
| 4863 | fi | 5128 | fi |
| 5129 | |||
| 4864 | rm -f conftest.err conftest.$ac_ext | 5130 | rm -f conftest.err conftest.$ac_ext |
| 4865 | 5131 | ||
| 4866 | done | 5132 | done |
| 4867 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5133 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4868 | rm -f conftest.err conftest.$ac_ext | 5134 | rm -f conftest.err conftest.$ac_ext |
| 4869 | if $ac_preproc_ok; then : | 5135 | if $ac_preproc_ok; then |
| 4870 | break | 5136 | break |
| 4871 | fi | 5137 | fi |
| 4872 | 5138 | ||
| @@ -4878,7 +5144,7 @@ fi | |||
| 4878 | else | 5144 | else |
| 4879 | ac_cv_prog_CPP=$CPP | 5145 | ac_cv_prog_CPP=$CPP |
| 4880 | fi | 5146 | fi |
| 4881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5147 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4882 | $as_echo "$CPP" >&6; } | 5148 | $as_echo "$CPP" >&6; } |
| 4883 | ac_preproc_ok=false | 5149 | ac_preproc_ok=false |
| 4884 | for ac_c_preproc_warn_flag in '' yes | 5150 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4889,7 +5155,11 @@ do | |||
| 4889 | # <limits.h> exists even on freestanding compilers. | 5155 | # <limits.h> exists even on freestanding compilers. |
| 4890 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5156 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4891 | # not just through cpp. "Syntax error" is here to catch this case. | 5157 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5158 | cat >conftest.$ac_ext <<_ACEOF |
| 5159 | /* confdefs.h. */ | ||
| 5160 | _ACEOF | ||
| 5161 | cat confdefs.h >>conftest.$ac_ext | ||
| 5162 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4893 | /* end confdefs.h. */ | 5163 | /* end confdefs.h. */ |
| 4894 | #ifdef __STDC__ | 5164 | #ifdef __STDC__ |
| 4895 | # include <limits.h> | 5165 | # include <limits.h> |
| @@ -4898,40 +5168,85 @@ do | |||
| 4898 | #endif | 5168 | #endif |
| 4899 | Syntax error | 5169 | Syntax error |
| 4900 | _ACEOF | 5170 | _ACEOF |
| 4901 | if ac_fn_c_try_cpp "$LINENO"; then : | 5171 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4902 | 5172 | case "(($ac_try" in | |
| 5173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5174 | *) ac_try_echo=$ac_try;; | ||
| 5175 | esac | ||
| 5176 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5177 | $as_echo "$ac_try_echo") >&5 | ||
| 5178 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5179 | ac_status=$? | ||
| 5180 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5181 | rm -f conftest.er1 | ||
| 5182 | cat conftest.err >&5 | ||
| 5183 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5184 | (exit $ac_status); } >/dev/null && { | ||
| 5185 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5186 | test ! -s conftest.err | ||
| 5187 | }; then | ||
| 5188 | : | ||
| 4903 | else | 5189 | else |
| 5190 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5191 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5192 | |||
| 4904 | # Broken: fails on valid input. | 5193 | # Broken: fails on valid input. |
| 4905 | continue | 5194 | continue |
| 4906 | fi | 5195 | fi |
| 5196 | |||
| 4907 | rm -f conftest.err conftest.$ac_ext | 5197 | rm -f conftest.err conftest.$ac_ext |
| 4908 | 5198 | ||
| 4909 | # OK, works on sane cases. Now check whether nonexistent headers | 5199 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4910 | # can be detected and how. | 5200 | # can be detected and how. |
| 4911 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5201 | cat >conftest.$ac_ext <<_ACEOF |
| 5202 | /* confdefs.h. */ | ||
| 5203 | _ACEOF | ||
| 5204 | cat confdefs.h >>conftest.$ac_ext | ||
| 5205 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4912 | /* end confdefs.h. */ | 5206 | /* end confdefs.h. */ |
| 4913 | #include <ac_nonexistent.h> | 5207 | #include <ac_nonexistent.h> |
| 4914 | _ACEOF | 5208 | _ACEOF |
| 4915 | if ac_fn_c_try_cpp "$LINENO"; then : | 5209 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5210 | case "(($ac_try" in | ||
| 5211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5212 | *) ac_try_echo=$ac_try;; | ||
| 5213 | esac | ||
| 5214 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5215 | $as_echo "$ac_try_echo") >&5 | ||
| 5216 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5217 | ac_status=$? | ||
| 5218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5219 | rm -f conftest.er1 | ||
| 5220 | cat conftest.err >&5 | ||
| 5221 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5222 | (exit $ac_status); } >/dev/null && { | ||
| 5223 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5224 | test ! -s conftest.err | ||
| 5225 | }; then | ||
| 4916 | # Broken: success on invalid input. | 5226 | # Broken: success on invalid input. |
| 4917 | continue | 5227 | continue |
| 4918 | else | 5228 | else |
| 5229 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5231 | |||
| 4919 | # Passes both tests. | 5232 | # Passes both tests. |
| 4920 | ac_preproc_ok=: | 5233 | ac_preproc_ok=: |
| 4921 | break | 5234 | break |
| 4922 | fi | 5235 | fi |
| 5236 | |||
| 4923 | rm -f conftest.err conftest.$ac_ext | 5237 | rm -f conftest.err conftest.$ac_ext |
| 4924 | 5238 | ||
| 4925 | done | 5239 | done |
| 4926 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5240 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4927 | rm -f conftest.err conftest.$ac_ext | 5241 | rm -f conftest.err conftest.$ac_ext |
| 4928 | if $ac_preproc_ok; then : | 5242 | if $ac_preproc_ok; then |
| 4929 | 5243 | : | |
| 4930 | else | 5244 | else |
| 4931 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5245 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4932 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5246 | See \`config.log' for more details." >&5 |
| 4933 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5247 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4934 | See \`config.log' for more details." "$LINENO" 5; } | 5248 | See \`config.log' for more details." >&2;} |
| 5249 | { (exit 1); exit 1; }; } | ||
| 4935 | fi | 5250 | fi |
| 4936 | 5251 | ||
| 4937 | ac_ext=c | 5252 | ac_ext=c |
| @@ -4954,10 +5269,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 4954 | # OS/2's system install, which has a completely different semantic | 5269 | # OS/2's system install, which has a completely different semantic |
| 4955 | # ./install, which can be erroneously created by make from ./install.sh. | 5270 | # ./install, which can be erroneously created by make from ./install.sh. |
| 4956 | # Reject install programs that cannot install multiple files. | 5271 | # Reject install programs that cannot install multiple files. |
| 4957 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 5272 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 4958 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5273 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 4959 | if test -z "$INSTALL"; then | 5274 | if test -z "$INSTALL"; then |
| 4960 | if test "${ac_cv_path_install+set}" = set; then : | 5275 | if test "${ac_cv_path_install+set}" = set; then |
| 4961 | $as_echo_n "(cached) " >&6 | 5276 | $as_echo_n "(cached) " >&6 |
| 4962 | else | 5277 | else |
| 4963 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5278 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -4965,11 +5280,11 @@ for as_dir in $PATH | |||
| 4965 | do | 5280 | do |
| 4966 | IFS=$as_save_IFS | 5281 | IFS=$as_save_IFS |
| 4967 | test -z "$as_dir" && as_dir=. | 5282 | test -z "$as_dir" && as_dir=. |
| 4968 | # Account for people who put trailing slashes in PATH elements. | 5283 | # Account for people who put trailing slashes in PATH elements. |
| 4969 | case $as_dir/ in #(( | 5284 | case $as_dir/ in |
| 4970 | ./ | .// | /[cC]/* | \ | 5285 | ./ | .// | /cC/* | \ |
| 4971 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 5286 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 4972 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 5287 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 4973 | /usr/ucb/* ) ;; | 5288 | /usr/ucb/* ) ;; |
| 4974 | *) | 5289 | *) |
| 4975 | # OSF1 and SCO ODT 3.0 have their own names for install. | 5290 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| @@ -5006,7 +5321,7 @@ case $as_dir/ in #(( | |||
| 5006 | ;; | 5321 | ;; |
| 5007 | esac | 5322 | esac |
| 5008 | 5323 | ||
| 5009 | done | 5324 | done |
| 5010 | IFS=$as_save_IFS | 5325 | IFS=$as_save_IFS |
| 5011 | 5326 | ||
| 5012 | rm -rf conftest.one conftest.two conftest.dir | 5327 | rm -rf conftest.one conftest.two conftest.dir |
| @@ -5022,7 +5337,7 @@ fi | |||
| 5022 | INSTALL=$ac_install_sh | 5337 | INSTALL=$ac_install_sh |
| 5023 | fi | 5338 | fi |
| 5024 | fi | 5339 | fi |
| 5025 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 5340 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 5026 | $as_echo "$INSTALL" >&6; } | 5341 | $as_echo "$INSTALL" >&6; } |
| 5027 | 5342 | ||
| 5028 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5343 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| @@ -5037,9 +5352,9 @@ if test "x$RANLIB" = x; then | |||
| 5037 | if test -n "$ac_tool_prefix"; then | 5352 | if test -n "$ac_tool_prefix"; then |
| 5038 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5353 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 5039 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5354 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5355 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5041 | $as_echo_n "checking for $ac_word... " >&6; } | 5356 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5042 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5357 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 5043 | $as_echo_n "(cached) " >&6 | 5358 | $as_echo_n "(cached) " >&6 |
| 5044 | else | 5359 | else |
| 5045 | if test -n "$RANLIB"; then | 5360 | if test -n "$RANLIB"; then |
| @@ -5050,24 +5365,24 @@ for as_dir in $PATH | |||
| 5050 | do | 5365 | do |
| 5051 | IFS=$as_save_IFS | 5366 | IFS=$as_save_IFS |
| 5052 | test -z "$as_dir" && as_dir=. | 5367 | test -z "$as_dir" && as_dir=. |
| 5053 | for ac_exec_ext in '' $ac_executable_extensions; do | 5368 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5054 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5369 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5055 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5370 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5056 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5371 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5057 | break 2 | 5372 | break 2 |
| 5058 | fi | 5373 | fi |
| 5059 | done | 5374 | done |
| 5060 | done | 5375 | done |
| 5061 | IFS=$as_save_IFS | 5376 | IFS=$as_save_IFS |
| 5062 | 5377 | ||
| 5063 | fi | 5378 | fi |
| 5064 | fi | 5379 | fi |
| 5065 | RANLIB=$ac_cv_prog_RANLIB | 5380 | RANLIB=$ac_cv_prog_RANLIB |
| 5066 | if test -n "$RANLIB"; then | 5381 | if test -n "$RANLIB"; then |
| 5067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 5382 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 5068 | $as_echo "$RANLIB" >&6; } | 5383 | $as_echo "$RANLIB" >&6; } |
| 5069 | else | 5384 | else |
| 5070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5385 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5071 | $as_echo "no" >&6; } | 5386 | $as_echo "no" >&6; } |
| 5072 | fi | 5387 | fi |
| 5073 | 5388 | ||
| @@ -5077,9 +5392,9 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 5077 | ac_ct_RANLIB=$RANLIB | 5392 | ac_ct_RANLIB=$RANLIB |
| 5078 | # Extract the first word of "ranlib", so it can be a program name with args. | 5393 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 5079 | set dummy ranlib; ac_word=$2 | 5394 | set dummy ranlib; ac_word=$2 |
| 5080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5395 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5081 | $as_echo_n "checking for $ac_word... " >&6; } | 5396 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5082 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5397 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 5083 | $as_echo_n "(cached) " >&6 | 5398 | $as_echo_n "(cached) " >&6 |
| 5084 | else | 5399 | else |
| 5085 | if test -n "$ac_ct_RANLIB"; then | 5400 | if test -n "$ac_ct_RANLIB"; then |
| @@ -5090,24 +5405,24 @@ for as_dir in $PATH | |||
| 5090 | do | 5405 | do |
| 5091 | IFS=$as_save_IFS | 5406 | IFS=$as_save_IFS |
| 5092 | test -z "$as_dir" && as_dir=. | 5407 | test -z "$as_dir" && as_dir=. |
| 5093 | for ac_exec_ext in '' $ac_executable_extensions; do | 5408 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5094 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5409 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5095 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 5410 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5096 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5411 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5097 | break 2 | 5412 | break 2 |
| 5098 | fi | 5413 | fi |
| 5099 | done | 5414 | done |
| 5100 | done | 5415 | done |
| 5101 | IFS=$as_save_IFS | 5416 | IFS=$as_save_IFS |
| 5102 | 5417 | ||
| 5103 | fi | 5418 | fi |
| 5104 | fi | 5419 | fi |
| 5105 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5420 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5106 | if test -n "$ac_ct_RANLIB"; then | 5421 | if test -n "$ac_ct_RANLIB"; then |
| 5107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 5422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 5108 | $as_echo "$ac_ct_RANLIB" >&6; } | 5423 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 5109 | else | 5424 | else |
| 5110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5425 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5111 | $as_echo "no" >&6; } | 5426 | $as_echo "no" >&6; } |
| 5112 | fi | 5427 | fi |
| 5113 | 5428 | ||
| @@ -5116,8 +5431,12 @@ fi | |||
| 5116 | else | 5431 | else |
| 5117 | case $cross_compiling:$ac_tool_warned in | 5432 | case $cross_compiling:$ac_tool_warned in |
| 5118 | yes:) | 5433 | yes:) |
| 5119 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 5434 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 5120 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 5435 | whose name does not start with the host triplet. If you think this |
| 5436 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 5437 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 5438 | whose name does not start with the host triplet. If you think this | ||
| 5439 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 5121 | ac_tool_warned=yes ;; | 5440 | ac_tool_warned=yes ;; |
| 5122 | esac | 5441 | esac |
| 5123 | RANLIB=$ac_ct_RANLIB | 5442 | RANLIB=$ac_ct_RANLIB |
| @@ -5129,9 +5448,9 @@ fi | |||
| 5129 | fi | 5448 | fi |
| 5130 | # Extract the first word of "install-info", so it can be a program name with args. | 5449 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5131 | set dummy install-info; ac_word=$2 | 5450 | set dummy install-info; ac_word=$2 |
| 5132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5451 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5133 | $as_echo_n "checking for $ac_word... " >&6; } | 5452 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5134 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5453 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5135 | $as_echo_n "(cached) " >&6 | 5454 | $as_echo_n "(cached) " >&6 |
| 5136 | else | 5455 | else |
| 5137 | case $INSTALL_INFO in | 5456 | case $INSTALL_INFO in |
| @@ -5144,14 +5463,14 @@ for as_dir in $PATH | |||
| 5144 | do | 5463 | do |
| 5145 | IFS=$as_save_IFS | 5464 | IFS=$as_save_IFS |
| 5146 | test -z "$as_dir" && as_dir=. | 5465 | test -z "$as_dir" && as_dir=. |
| 5147 | for ac_exec_ext in '' $ac_executable_extensions; do | 5466 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5148 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5467 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5149 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5468 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5150 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5469 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5151 | break 2 | 5470 | break 2 |
| 5152 | fi | 5471 | fi |
| 5153 | done | 5472 | done |
| 5154 | done | 5473 | done |
| 5155 | IFS=$as_save_IFS | 5474 | IFS=$as_save_IFS |
| 5156 | 5475 | ||
| 5157 | ;; | 5476 | ;; |
| @@ -5159,19 +5478,19 @@ esac | |||
| 5159 | fi | 5478 | fi |
| 5160 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5479 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5161 | if test -n "$INSTALL_INFO"; then | 5480 | if test -n "$INSTALL_INFO"; then |
| 5162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5481 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5163 | $as_echo "$INSTALL_INFO" >&6; } | 5482 | $as_echo "$INSTALL_INFO" >&6; } |
| 5164 | else | 5483 | else |
| 5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5484 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5166 | $as_echo "no" >&6; } | 5485 | $as_echo "no" >&6; } |
| 5167 | fi | 5486 | fi |
| 5168 | 5487 | ||
| 5169 | 5488 | ||
| 5170 | # Extract the first word of "install-info", so it can be a program name with args. | 5489 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5171 | set dummy install-info; ac_word=$2 | 5490 | set dummy install-info; ac_word=$2 |
| 5172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5491 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5173 | $as_echo_n "checking for $ac_word... " >&6; } | 5492 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5174 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5493 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5175 | $as_echo_n "(cached) " >&6 | 5494 | $as_echo_n "(cached) " >&6 |
| 5176 | else | 5495 | else |
| 5177 | case $INSTALL_INFO in | 5496 | case $INSTALL_INFO in |
| @@ -5184,14 +5503,14 @@ for as_dir in /usr/sbin | |||
| 5184 | do | 5503 | do |
| 5185 | IFS=$as_save_IFS | 5504 | IFS=$as_save_IFS |
| 5186 | test -z "$as_dir" && as_dir=. | 5505 | test -z "$as_dir" && as_dir=. |
| 5187 | for ac_exec_ext in '' $ac_executable_extensions; do | 5506 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5188 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5507 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5189 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5508 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5190 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5509 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5191 | break 2 | 5510 | break 2 |
| 5192 | fi | 5511 | fi |
| 5193 | done | 5512 | done |
| 5194 | done | 5513 | done |
| 5195 | IFS=$as_save_IFS | 5514 | IFS=$as_save_IFS |
| 5196 | 5515 | ||
| 5197 | ;; | 5516 | ;; |
| @@ -5199,19 +5518,19 @@ esac | |||
| 5199 | fi | 5518 | fi |
| 5200 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5519 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5201 | if test -n "$INSTALL_INFO"; then | 5520 | if test -n "$INSTALL_INFO"; then |
| 5202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5521 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5203 | $as_echo "$INSTALL_INFO" >&6; } | 5522 | $as_echo "$INSTALL_INFO" >&6; } |
| 5204 | else | 5523 | else |
| 5205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5524 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5206 | $as_echo "no" >&6; } | 5525 | $as_echo "no" >&6; } |
| 5207 | fi | 5526 | fi |
| 5208 | 5527 | ||
| 5209 | 5528 | ||
| 5210 | # Extract the first word of "install-info", so it can be a program name with args. | 5529 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5211 | set dummy install-info; ac_word=$2 | 5530 | set dummy install-info; ac_word=$2 |
| 5212 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5531 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5213 | $as_echo_n "checking for $ac_word... " >&6; } | 5532 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5214 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5533 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5215 | $as_echo_n "(cached) " >&6 | 5534 | $as_echo_n "(cached) " >&6 |
| 5216 | else | 5535 | else |
| 5217 | case $INSTALL_INFO in | 5536 | case $INSTALL_INFO in |
| @@ -5224,14 +5543,14 @@ for as_dir in /sbin | |||
| 5224 | do | 5543 | do |
| 5225 | IFS=$as_save_IFS | 5544 | IFS=$as_save_IFS |
| 5226 | test -z "$as_dir" && as_dir=. | 5545 | test -z "$as_dir" && as_dir=. |
| 5227 | for ac_exec_ext in '' $ac_executable_extensions; do | 5546 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5228 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5547 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5229 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5548 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5230 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5549 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5231 | break 2 | 5550 | break 2 |
| 5232 | fi | 5551 | fi |
| 5233 | done | 5552 | done |
| 5234 | done | 5553 | done |
| 5235 | IFS=$as_save_IFS | 5554 | IFS=$as_save_IFS |
| 5236 | 5555 | ||
| 5237 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5556 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
| @@ -5240,19 +5559,19 @@ esac | |||
| 5240 | fi | 5559 | fi |
| 5241 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5560 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5242 | if test -n "$INSTALL_INFO"; then | 5561 | if test -n "$INSTALL_INFO"; then |
| 5243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5562 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5244 | $as_echo "$INSTALL_INFO" >&6; } | 5563 | $as_echo "$INSTALL_INFO" >&6; } |
| 5245 | else | 5564 | else |
| 5246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5565 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5247 | $as_echo "no" >&6; } | 5566 | $as_echo "no" >&6; } |
| 5248 | fi | 5567 | fi |
| 5249 | 5568 | ||
| 5250 | 5569 | ||
| 5251 | # Extract the first word of "gzip", so it can be a program name with args. | 5570 | # Extract the first word of "gzip", so it can be a program name with args. |
| 5252 | set dummy gzip; ac_word=$2 | 5571 | set dummy gzip; ac_word=$2 |
| 5253 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5572 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5254 | $as_echo_n "checking for $ac_word... " >&6; } | 5573 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5255 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5574 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
| 5256 | $as_echo_n "(cached) " >&6 | 5575 | $as_echo_n "(cached) " >&6 |
| 5257 | else | 5576 | else |
| 5258 | case $GZIP_PROG in | 5577 | case $GZIP_PROG in |
| @@ -5265,14 +5584,14 @@ for as_dir in $PATH | |||
| 5265 | do | 5584 | do |
| 5266 | IFS=$as_save_IFS | 5585 | IFS=$as_save_IFS |
| 5267 | test -z "$as_dir" && as_dir=. | 5586 | test -z "$as_dir" && as_dir=. |
| 5268 | for ac_exec_ext in '' $ac_executable_extensions; do | 5587 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5269 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5588 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5270 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5589 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
| 5271 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5590 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5272 | break 2 | 5591 | break 2 |
| 5273 | fi | 5592 | fi |
| 5274 | done | 5593 | done |
| 5275 | done | 5594 | done |
| 5276 | IFS=$as_save_IFS | 5595 | IFS=$as_save_IFS |
| 5277 | 5596 | ||
| 5278 | ;; | 5597 | ;; |
| @@ -5280,10 +5599,10 @@ esac | |||
| 5280 | fi | 5599 | fi |
| 5281 | GZIP_PROG=$ac_cv_path_GZIP_PROG | 5600 | GZIP_PROG=$ac_cv_path_GZIP_PROG |
| 5282 | if test -n "$GZIP_PROG"; then | 5601 | if test -n "$GZIP_PROG"; then |
| 5283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 | 5602 | { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
| 5284 | $as_echo "$GZIP_PROG" >&6; } | 5603 | $as_echo "$GZIP_PROG" >&6; } |
| 5285 | else | 5604 | else |
| 5286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5605 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5287 | $as_echo "no" >&6; } | 5606 | $as_echo "no" >&6; } |
| 5288 | fi | 5607 | fi |
| 5289 | 5608 | ||
| @@ -5293,9 +5612,9 @@ fi | |||
| 5293 | ## Need makeinfo >= 4.6 (?) to build the manuals. | 5612 | ## Need makeinfo >= 4.6 (?) to build the manuals. |
| 5294 | # Extract the first word of "makeinfo", so it can be a program name with args. | 5613 | # Extract the first word of "makeinfo", so it can be a program name with args. |
| 5295 | set dummy makeinfo; ac_word=$2 | 5614 | set dummy makeinfo; ac_word=$2 |
| 5296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5615 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5297 | $as_echo_n "checking for $ac_word... " >&6; } | 5616 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5298 | if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5617 | if test "${ac_cv_path_MAKEINFO+set}" = set; then |
| 5299 | $as_echo_n "(cached) " >&6 | 5618 | $as_echo_n "(cached) " >&6 |
| 5300 | else | 5619 | else |
| 5301 | case $MAKEINFO in | 5620 | case $MAKEINFO in |
| @@ -5308,14 +5627,14 @@ for as_dir in $PATH | |||
| 5308 | do | 5627 | do |
| 5309 | IFS=$as_save_IFS | 5628 | IFS=$as_save_IFS |
| 5310 | test -z "$as_dir" && as_dir=. | 5629 | test -z "$as_dir" && as_dir=. |
| 5311 | for ac_exec_ext in '' $ac_executable_extensions; do | 5630 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5312 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5631 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5313 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5632 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
| 5314 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5633 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5315 | break 2 | 5634 | break 2 |
| 5316 | fi | 5635 | fi |
| 5317 | done | 5636 | done |
| 5318 | done | 5637 | done |
| 5319 | IFS=$as_save_IFS | 5638 | IFS=$as_save_IFS |
| 5320 | 5639 | ||
| 5321 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5640 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
| @@ -5324,10 +5643,10 @@ esac | |||
| 5324 | fi | 5643 | fi |
| 5325 | MAKEINFO=$ac_cv_path_MAKEINFO | 5644 | MAKEINFO=$ac_cv_path_MAKEINFO |
| 5326 | if test -n "$MAKEINFO"; then | 5645 | if test -n "$MAKEINFO"; then |
| 5327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 | 5646 | { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
| 5328 | $as_echo "$MAKEINFO" >&6; } | 5647 | $as_echo "$MAKEINFO" >&6; } |
| 5329 | else | 5648 | else |
| 5330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5649 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5331 | $as_echo "no" >&6; } | 5650 | $as_echo "no" >&6; } |
| 5332 | fi | 5651 | fi |
| 5333 | 5652 | ||
| @@ -5350,10 +5669,15 @@ if test "$MAKEINFO" = "no"; then | |||
| 5350 | if test "x${with_makeinfo}" = "xno"; then | 5669 | if test "x${with_makeinfo}" = "xno"; then |
| 5351 | MAKEINFO=off | 5670 | MAKEINFO=off |
| 5352 | elif test ! -e $srcdir/info/emacs; then | 5671 | elif test ! -e $srcdir/info/emacs; then |
| 5353 | as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5672 | { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your |
| 5673 | source tree does not seem to have pre-built manuals in the \`info' directory. | ||
| 5674 | Either install a suitable version of makeinfo, or re-run configure | ||
| 5675 | with the \`--without-makeinfo' option to build without the manuals. " >&5 | ||
| 5676 | $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | ||
| 5354 | source tree does not seem to have pre-built manuals in the \`info' directory. | 5677 | source tree does not seem to have pre-built manuals in the \`info' directory. |
| 5355 | Either install a suitable version of makeinfo, or re-run configure | 5678 | Either install a suitable version of makeinfo, or re-run configure |
| 5356 | with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5679 | with the \`--without-makeinfo' option to build without the manuals. " >&2;} |
| 5680 | { (exit 1); exit 1; }; } | ||
| 5357 | fi | 5681 | fi |
| 5358 | fi | 5682 | fi |
| 5359 | 5683 | ||
| @@ -5376,22 +5700,46 @@ else | |||
| 5376 | LDFLAGS="$LDFLAGS -znocombreloc" | 5700 | LDFLAGS="$LDFLAGS -znocombreloc" |
| 5377 | fi | 5701 | fi |
| 5378 | 5702 | ||
| 5379 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5703 | { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
| 5380 | $as_echo_n "checking for -znocombreloc... " >&6; } | 5704 | $as_echo_n "checking for -znocombreloc... " >&6; } |
| 5381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5705 | cat >conftest.$ac_ext <<_ACEOF |
| 5382 | /* end confdefs.h. */ | ||
| 5383 | main(){return 0;} | 5706 | main(){return 0;} |
| 5384 | _ACEOF | 5707 | _ACEOF |
| 5385 | if ac_fn_c_try_link "$LINENO"; then : | 5708 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 5386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5709 | if { (ac_try="$ac_link" |
| 5710 | case "(($ac_try" in | ||
| 5711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5712 | *) ac_try_echo=$ac_try;; | ||
| 5713 | esac | ||
| 5714 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5715 | $as_echo "$ac_try_echo") >&5 | ||
| 5716 | (eval "$ac_link") 2>conftest.er1 | ||
| 5717 | ac_status=$? | ||
| 5718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5719 | rm -f conftest.er1 | ||
| 5720 | cat conftest.err >&5 | ||
| 5721 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5722 | (exit $ac_status); } && { | ||
| 5723 | test -z "$ac_c_werror_flag" || | ||
| 5724 | test ! -s conftest.err | ||
| 5725 | } && test -s conftest$ac_exeext && { | ||
| 5726 | test "$cross_compiling" = yes || | ||
| 5727 | $as_test_x conftest$ac_exeext | ||
| 5728 | }; then | ||
| 5729 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 5387 | $as_echo "yes" >&6; } | 5730 | $as_echo "yes" >&6; } |
| 5388 | else | 5731 | else |
| 5389 | LDFLAGS=$late_LDFLAGS | 5732 | $as_echo "$as_me: failed program was:" >&5 |
| 5390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5733 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5734 | |||
| 5735 | LDFLAGS=$late_LDFLAGS | ||
| 5736 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
| 5391 | $as_echo "no" >&6; } | 5737 | $as_echo "no" >&6; } |
| 5392 | fi | 5738 | fi |
| 5393 | rm -f core conftest.err conftest.$ac_objext \ | 5739 | |
| 5394 | conftest$ac_exeext conftest.$ac_ext | 5740 | rm -rf conftest.dSYM |
| 5741 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 5742 | conftest$ac_exeext conftest.$ac_ext | ||
| 5395 | 5743 | ||
| 5396 | LIB_MATH=-lm | 5744 | LIB_MATH=-lm |
| 5397 | 5745 | ||
| @@ -5409,7 +5757,7 @@ esac | |||
| 5409 | 5757 | ||
| 5410 | #### Extract some information from the operating system and machine files. | 5758 | #### Extract some information from the operating system and machine files. |
| 5411 | 5759 | ||
| 5412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out | 5760 | { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
| 5413 | - which libraries the lib-src programs will want, and | 5761 | - which libraries the lib-src programs will want, and |
| 5414 | - whether the GNU malloc routines are usable..." >&5 | 5762 | - whether the GNU malloc routines are usable..." >&5 |
| 5415 | $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5763 | $as_echo "$as_me: checking the machine- and system-dependent files to find out |
| @@ -5550,15 +5898,15 @@ fi | |||
| 5550 | 5898 | ||
| 5551 | 5899 | ||
| 5552 | # Check whether --enable-largefile was given. | 5900 | # Check whether --enable-largefile was given. |
| 5553 | if test "${enable_largefile+set}" = set; then : | 5901 | if test "${enable_largefile+set}" = set; then |
| 5554 | enableval=$enable_largefile; | 5902 | enableval=$enable_largefile; |
| 5555 | fi | 5903 | fi |
| 5556 | 5904 | ||
| 5557 | if test "$enable_largefile" != no; then | 5905 | if test "$enable_largefile" != no; then |
| 5558 | 5906 | ||
| 5559 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 5907 | { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
| 5560 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5908 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
| 5561 | if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 5909 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
| 5562 | $as_echo_n "(cached) " >&6 | 5910 | $as_echo_n "(cached) " >&6 |
| 5563 | else | 5911 | else |
| 5564 | ac_cv_sys_largefile_CC=no | 5912 | ac_cv_sys_largefile_CC=no |
| @@ -5567,7 +5915,11 @@ else | |||
| 5567 | while :; do | 5915 | while :; do |
| 5568 | # IRIX 6.2 and later do not support large files by default, | 5916 | # IRIX 6.2 and later do not support large files by default, |
| 5569 | # so use the C compiler's -n32 option if that helps. | 5917 | # so use the C compiler's -n32 option if that helps. |
| 5570 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5918 | cat >conftest.$ac_ext <<_ACEOF |
| 5919 | /* confdefs.h. */ | ||
| 5920 | _ACEOF | ||
| 5921 | cat confdefs.h >>conftest.$ac_ext | ||
| 5922 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5571 | /* end confdefs.h. */ | 5923 | /* end confdefs.h. */ |
| 5572 | #include <sys/types.h> | 5924 | #include <sys/types.h> |
| 5573 | /* Check that off_t can represent 2**63 - 1 correctly. | 5925 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5586,14 +5938,60 @@ main () | |||
| 5586 | return 0; | 5938 | return 0; |
| 5587 | } | 5939 | } |
| 5588 | _ACEOF | 5940 | _ACEOF |
| 5589 | if ac_fn_c_try_compile "$LINENO"; then : | 5941 | rm -f conftest.$ac_objext |
| 5942 | if { (ac_try="$ac_compile" | ||
| 5943 | case "(($ac_try" in | ||
| 5944 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5945 | *) ac_try_echo=$ac_try;; | ||
| 5946 | esac | ||
| 5947 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5948 | $as_echo "$ac_try_echo") >&5 | ||
| 5949 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5950 | ac_status=$? | ||
| 5951 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5952 | rm -f conftest.er1 | ||
| 5953 | cat conftest.err >&5 | ||
| 5954 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5955 | (exit $ac_status); } && { | ||
| 5956 | test -z "$ac_c_werror_flag" || | ||
| 5957 | test ! -s conftest.err | ||
| 5958 | } && test -s conftest.$ac_objext; then | ||
| 5590 | break | 5959 | break |
| 5960 | else | ||
| 5961 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5962 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5963 | |||
| 5964 | |||
| 5591 | fi | 5965 | fi |
| 5966 | |||
| 5592 | rm -f core conftest.err conftest.$ac_objext | 5967 | rm -f core conftest.err conftest.$ac_objext |
| 5593 | CC="$CC -n32" | 5968 | CC="$CC -n32" |
| 5594 | if ac_fn_c_try_compile "$LINENO"; then : | 5969 | rm -f conftest.$ac_objext |
| 5970 | if { (ac_try="$ac_compile" | ||
| 5971 | case "(($ac_try" in | ||
| 5972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5973 | *) ac_try_echo=$ac_try;; | ||
| 5974 | esac | ||
| 5975 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5976 | $as_echo "$ac_try_echo") >&5 | ||
| 5977 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5978 | ac_status=$? | ||
| 5979 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5980 | rm -f conftest.er1 | ||
| 5981 | cat conftest.err >&5 | ||
| 5982 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5983 | (exit $ac_status); } && { | ||
| 5984 | test -z "$ac_c_werror_flag" || | ||
| 5985 | test ! -s conftest.err | ||
| 5986 | } && test -s conftest.$ac_objext; then | ||
| 5595 | ac_cv_sys_largefile_CC=' -n32'; break | 5987 | ac_cv_sys_largefile_CC=' -n32'; break |
| 5988 | else | ||
| 5989 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5990 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5991 | |||
| 5992 | |||
| 5596 | fi | 5993 | fi |
| 5994 | |||
| 5597 | rm -f core conftest.err conftest.$ac_objext | 5995 | rm -f core conftest.err conftest.$ac_objext |
| 5598 | break | 5996 | break |
| 5599 | done | 5997 | done |
| @@ -5601,19 +5999,23 @@ rm -f core conftest.err conftest.$ac_objext | |||
| 5601 | rm -f conftest.$ac_ext | 5999 | rm -f conftest.$ac_ext |
| 5602 | fi | 6000 | fi |
| 5603 | fi | 6001 | fi |
| 5604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 6002 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
| 5605 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 6003 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
| 5606 | if test "$ac_cv_sys_largefile_CC" != no; then | 6004 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 5607 | CC=$CC$ac_cv_sys_largefile_CC | 6005 | CC=$CC$ac_cv_sys_largefile_CC |
| 5608 | fi | 6006 | fi |
| 5609 | 6007 | ||
| 5610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 6008 | { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 5611 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 6009 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 5612 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 6010 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
| 5613 | $as_echo_n "(cached) " >&6 | 6011 | $as_echo_n "(cached) " >&6 |
| 5614 | else | 6012 | else |
| 5615 | while :; do | 6013 | while :; do |
| 5616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6014 | cat >conftest.$ac_ext <<_ACEOF |
| 6015 | /* confdefs.h. */ | ||
| 6016 | _ACEOF | ||
| 6017 | cat confdefs.h >>conftest.$ac_ext | ||
| 6018 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5617 | /* end confdefs.h. */ | 6019 | /* end confdefs.h. */ |
| 5618 | #include <sys/types.h> | 6020 | #include <sys/types.h> |
| 5619 | /* Check that off_t can represent 2**63 - 1 correctly. | 6021 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5632,11 +6034,38 @@ main () | |||
| 5632 | return 0; | 6034 | return 0; |
| 5633 | } | 6035 | } |
| 5634 | _ACEOF | 6036 | _ACEOF |
| 5635 | if ac_fn_c_try_compile "$LINENO"; then : | 6037 | rm -f conftest.$ac_objext |
| 6038 | if { (ac_try="$ac_compile" | ||
| 6039 | case "(($ac_try" in | ||
| 6040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6041 | *) ac_try_echo=$ac_try;; | ||
| 6042 | esac | ||
| 6043 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6044 | $as_echo "$ac_try_echo") >&5 | ||
| 6045 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6046 | ac_status=$? | ||
| 6047 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6048 | rm -f conftest.er1 | ||
| 6049 | cat conftest.err >&5 | ||
| 6050 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6051 | (exit $ac_status); } && { | ||
| 6052 | test -z "$ac_c_werror_flag" || | ||
| 6053 | test ! -s conftest.err | ||
| 6054 | } && test -s conftest.$ac_objext; then | ||
| 5636 | ac_cv_sys_file_offset_bits=no; break | 6055 | ac_cv_sys_file_offset_bits=no; break |
| 6056 | else | ||
| 6057 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6058 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6059 | |||
| 6060 | |||
| 5637 | fi | 6061 | fi |
| 6062 | |||
| 5638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6063 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5639 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6064 | cat >conftest.$ac_ext <<_ACEOF |
| 6065 | /* confdefs.h. */ | ||
| 6066 | _ACEOF | ||
| 6067 | cat confdefs.h >>conftest.$ac_ext | ||
| 6068 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5640 | /* end confdefs.h. */ | 6069 | /* end confdefs.h. */ |
| 5641 | #define _FILE_OFFSET_BITS 64 | 6070 | #define _FILE_OFFSET_BITS 64 |
| 5642 | #include <sys/types.h> | 6071 | #include <sys/types.h> |
| @@ -5656,15 +6085,38 @@ main () | |||
| 5656 | return 0; | 6085 | return 0; |
| 5657 | } | 6086 | } |
| 5658 | _ACEOF | 6087 | _ACEOF |
| 5659 | if ac_fn_c_try_compile "$LINENO"; then : | 6088 | rm -f conftest.$ac_objext |
| 6089 | if { (ac_try="$ac_compile" | ||
| 6090 | case "(($ac_try" in | ||
| 6091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6092 | *) ac_try_echo=$ac_try;; | ||
| 6093 | esac | ||
| 6094 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6095 | $as_echo "$ac_try_echo") >&5 | ||
| 6096 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6097 | ac_status=$? | ||
| 6098 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6099 | rm -f conftest.er1 | ||
| 6100 | cat conftest.err >&5 | ||
| 6101 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6102 | (exit $ac_status); } && { | ||
| 6103 | test -z "$ac_c_werror_flag" || | ||
| 6104 | test ! -s conftest.err | ||
| 6105 | } && test -s conftest.$ac_objext; then | ||
| 5660 | ac_cv_sys_file_offset_bits=64; break | 6106 | ac_cv_sys_file_offset_bits=64; break |
| 6107 | else | ||
| 6108 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6109 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6110 | |||
| 6111 | |||
| 5661 | fi | 6112 | fi |
| 6113 | |||
| 5662 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6114 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5663 | ac_cv_sys_file_offset_bits=unknown | 6115 | ac_cv_sys_file_offset_bits=unknown |
| 5664 | break | 6116 | break |
| 5665 | done | 6117 | done |
| 5666 | fi | 6118 | fi |
| 5667 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 6119 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
| 5668 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 6120 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
| 5669 | case $ac_cv_sys_file_offset_bits in #( | 6121 | case $ac_cv_sys_file_offset_bits in #( |
| 5670 | no | unknown) ;; | 6122 | no | unknown) ;; |
| @@ -5676,13 +6128,17 @@ _ACEOF | |||
| 5676 | esac | 6128 | esac |
| 5677 | rm -rf conftest* | 6129 | rm -rf conftest* |
| 5678 | if test $ac_cv_sys_file_offset_bits = unknown; then | 6130 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 5679 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 6131 | { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
| 5680 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 6132 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 5681 | if test "${ac_cv_sys_large_files+set}" = set; then : | 6133 | if test "${ac_cv_sys_large_files+set}" = set; then |
| 5682 | $as_echo_n "(cached) " >&6 | 6134 | $as_echo_n "(cached) " >&6 |
| 5683 | else | 6135 | else |
| 5684 | while :; do | 6136 | while :; do |
| 5685 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6137 | cat >conftest.$ac_ext <<_ACEOF |
| 6138 | /* confdefs.h. */ | ||
| 6139 | _ACEOF | ||
| 6140 | cat confdefs.h >>conftest.$ac_ext | ||
| 6141 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5686 | /* end confdefs.h. */ | 6142 | /* end confdefs.h. */ |
| 5687 | #include <sys/types.h> | 6143 | #include <sys/types.h> |
| 5688 | /* Check that off_t can represent 2**63 - 1 correctly. | 6144 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5701,11 +6157,38 @@ main () | |||
| 5701 | return 0; | 6157 | return 0; |
| 5702 | } | 6158 | } |
| 5703 | _ACEOF | 6159 | _ACEOF |
| 5704 | if ac_fn_c_try_compile "$LINENO"; then : | 6160 | rm -f conftest.$ac_objext |
| 6161 | if { (ac_try="$ac_compile" | ||
| 6162 | case "(($ac_try" in | ||
| 6163 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6164 | *) ac_try_echo=$ac_try;; | ||
| 6165 | esac | ||
| 6166 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6167 | $as_echo "$ac_try_echo") >&5 | ||
| 6168 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6169 | ac_status=$? | ||
| 6170 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6171 | rm -f conftest.er1 | ||
| 6172 | cat conftest.err >&5 | ||
| 6173 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6174 | (exit $ac_status); } && { | ||
| 6175 | test -z "$ac_c_werror_flag" || | ||
| 6176 | test ! -s conftest.err | ||
| 6177 | } && test -s conftest.$ac_objext; then | ||
| 5705 | ac_cv_sys_large_files=no; break | 6178 | ac_cv_sys_large_files=no; break |
| 6179 | else | ||
| 6180 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6181 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6182 | |||
| 6183 | |||
| 5706 | fi | 6184 | fi |
| 6185 | |||
| 5707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6186 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5708 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6187 | cat >conftest.$ac_ext <<_ACEOF |
| 6188 | /* confdefs.h. */ | ||
| 6189 | _ACEOF | ||
| 6190 | cat confdefs.h >>conftest.$ac_ext | ||
| 6191 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5709 | /* end confdefs.h. */ | 6192 | /* end confdefs.h. */ |
| 5710 | #define _LARGE_FILES 1 | 6193 | #define _LARGE_FILES 1 |
| 5711 | #include <sys/types.h> | 6194 | #include <sys/types.h> |
| @@ -5725,15 +6208,38 @@ main () | |||
| 5725 | return 0; | 6208 | return 0; |
| 5726 | } | 6209 | } |
| 5727 | _ACEOF | 6210 | _ACEOF |
| 5728 | if ac_fn_c_try_compile "$LINENO"; then : | 6211 | rm -f conftest.$ac_objext |
| 6212 | if { (ac_try="$ac_compile" | ||
| 6213 | case "(($ac_try" in | ||
| 6214 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6215 | *) ac_try_echo=$ac_try;; | ||
| 6216 | esac | ||
| 6217 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6218 | $as_echo "$ac_try_echo") >&5 | ||
| 6219 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6220 | ac_status=$? | ||
| 6221 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6222 | rm -f conftest.er1 | ||
| 6223 | cat conftest.err >&5 | ||
| 6224 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6225 | (exit $ac_status); } && { | ||
| 6226 | test -z "$ac_c_werror_flag" || | ||
| 6227 | test ! -s conftest.err | ||
| 6228 | } && test -s conftest.$ac_objext; then | ||
| 5729 | ac_cv_sys_large_files=1; break | 6229 | ac_cv_sys_large_files=1; break |
| 6230 | else | ||
| 6231 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6232 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6233 | |||
| 6234 | |||
| 5730 | fi | 6235 | fi |
| 6236 | |||
| 5731 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6237 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5732 | ac_cv_sys_large_files=unknown | 6238 | ac_cv_sys_large_files=unknown |
| 5733 | break | 6239 | break |
| 5734 | done | 6240 | done |
| 5735 | fi | 6241 | fi |
| 5736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 6242 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
| 5737 | $as_echo "$ac_cv_sys_large_files" >&6; } | 6243 | $as_echo "$ac_cv_sys_large_files" >&6; } |
| 5738 | case $ac_cv_sys_large_files in #( | 6244 | case $ac_cv_sys_large_files in #( |
| 5739 | no | unknown) ;; | 6245 | no | unknown) ;; |
| @@ -5767,7 +6273,18 @@ case "${canonical}" in | |||
| 5767 | fi | 6273 | fi |
| 5768 | 6274 | ||
| 5769 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 6275 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
| 5770 | as_fn_error "crt*.o not found. Use --with-crt-dir to specify the location." "$LINENO" 5 | 6276 | { { $as_echo "$as_me:$LINENO: error: crt*.o not found. Use --with-crt-dir to specify the location." >&5 |
| 6277 | $as_echo "$as_me: error: crt*.o not found. Use --with-crt-dir to specify the location." >&2;} | ||
| 6278 | { (exit 1); exit 1; }; } | ||
| 6279 | ;; | ||
| 6280 | |||
| 6281 | *) | ||
| 6282 | ## For clarity, ignore any user-specified setting on other platforms. | ||
| 6283 | if test "X$CRT_DIR" != "X"; then | ||
| 6284 | { $as_echo "$as_me:$LINENO: WARNING: Ignoring user-specified crt-dir." >&5 | ||
| 6285 | $as_echo "$as_me: WARNING: Ignoring user-specified crt-dir." >&2;} | ||
| 6286 | CRT_DIR= | ||
| 6287 | fi | ||
| 5771 | ;; | 6288 | ;; |
| 5772 | 6289 | ||
| 5773 | esac | 6290 | esac |
| @@ -5780,12 +6297,145 @@ test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib | |||
| 5780 | 6297 | ||
| 5781 | if test "${with_sound}" != "no"; then | 6298 | if test "${with_sound}" != "no"; then |
| 5782 | # Sound support for GNU/Linux and the free BSDs. | 6299 | # Sound support for GNU/Linux and the free BSDs. |
| 5783 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6300 | |
| 5784 | do : | 6301 | |
| 5785 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6302 | |
| 5786 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6303 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
| 5787 | eval as_val=\$$as_ac_Header | 6304 | do |
| 5788 | if test "x$as_val" = x""yes; then : | 6305 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6306 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6307 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6308 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6309 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6310 | $as_echo_n "(cached) " >&6 | ||
| 6311 | fi | ||
| 6312 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6313 | $as_echo "$as_val"'` | ||
| 6314 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6315 | $as_echo "$ac_res" >&6; } | ||
| 6316 | else | ||
| 6317 | # Is the header compilable? | ||
| 6318 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6319 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6320 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6321 | /* confdefs.h. */ | ||
| 6322 | _ACEOF | ||
| 6323 | cat confdefs.h >>conftest.$ac_ext | ||
| 6324 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6325 | /* end confdefs.h. */ | ||
| 6326 | $ac_includes_default | ||
| 6327 | #include <$ac_header> | ||
| 6328 | _ACEOF | ||
| 6329 | rm -f conftest.$ac_objext | ||
| 6330 | if { (ac_try="$ac_compile" | ||
| 6331 | case "(($ac_try" in | ||
| 6332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6333 | *) ac_try_echo=$ac_try;; | ||
| 6334 | esac | ||
| 6335 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6336 | $as_echo "$ac_try_echo") >&5 | ||
| 6337 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6338 | ac_status=$? | ||
| 6339 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6340 | rm -f conftest.er1 | ||
| 6341 | cat conftest.err >&5 | ||
| 6342 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6343 | (exit $ac_status); } && { | ||
| 6344 | test -z "$ac_c_werror_flag" || | ||
| 6345 | test ! -s conftest.err | ||
| 6346 | } && test -s conftest.$ac_objext; then | ||
| 6347 | ac_header_compiler=yes | ||
| 6348 | else | ||
| 6349 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6350 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6351 | |||
| 6352 | ac_header_compiler=no | ||
| 6353 | fi | ||
| 6354 | |||
| 6355 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6356 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6357 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6358 | |||
| 6359 | # Is the header present? | ||
| 6360 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6361 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6362 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6363 | /* confdefs.h. */ | ||
| 6364 | _ACEOF | ||
| 6365 | cat confdefs.h >>conftest.$ac_ext | ||
| 6366 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6367 | /* end confdefs.h. */ | ||
| 6368 | #include <$ac_header> | ||
| 6369 | _ACEOF | ||
| 6370 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6371 | case "(($ac_try" in | ||
| 6372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6373 | *) ac_try_echo=$ac_try;; | ||
| 6374 | esac | ||
| 6375 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6376 | $as_echo "$ac_try_echo") >&5 | ||
| 6377 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6378 | ac_status=$? | ||
| 6379 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6380 | rm -f conftest.er1 | ||
| 6381 | cat conftest.err >&5 | ||
| 6382 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6383 | (exit $ac_status); } >/dev/null && { | ||
| 6384 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6385 | test ! -s conftest.err | ||
| 6386 | }; then | ||
| 6387 | ac_header_preproc=yes | ||
| 6388 | else | ||
| 6389 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6390 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6391 | |||
| 6392 | ac_header_preproc=no | ||
| 6393 | fi | ||
| 6394 | |||
| 6395 | rm -f conftest.err conftest.$ac_ext | ||
| 6396 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6397 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6398 | |||
| 6399 | # So? What about this header? | ||
| 6400 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6401 | yes:no: ) | ||
| 6402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6403 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6404 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6405 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6406 | ac_header_preproc=yes | ||
| 6407 | ;; | ||
| 6408 | no:yes:* ) | ||
| 6409 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6410 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6411 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6412 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6413 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6414 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6415 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6416 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6417 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6418 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6419 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6420 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6421 | |||
| 6422 | ;; | ||
| 6423 | esac | ||
| 6424 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6425 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6426 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6427 | $as_echo_n "(cached) " >&6 | ||
| 6428 | else | ||
| 6429 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6430 | fi | ||
| 6431 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6432 | $as_echo "$as_val"'` | ||
| 6433 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6434 | $as_echo "$ac_res" >&6; } | ||
| 6435 | |||
| 6436 | fi | ||
| 6437 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6438 | $as_echo "$as_val"'` = yes; then | ||
| 5789 | cat >>confdefs.h <<_ACEOF | 6439 | cat >>confdefs.h <<_ACEOF |
| 5790 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6440 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5791 | _ACEOF | 6441 | _ACEOF |
| @@ -5795,14 +6445,18 @@ fi | |||
| 5795 | done | 6445 | done |
| 5796 | 6446 | ||
| 5797 | # Emulation library used on NetBSD. | 6447 | # Emulation library used on NetBSD. |
| 5798 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6448 | { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
| 5799 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6449 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
| 5800 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6450 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
| 5801 | $as_echo_n "(cached) " >&6 | 6451 | $as_echo_n "(cached) " >&6 |
| 5802 | else | 6452 | else |
| 5803 | ac_check_lib_save_LIBS=$LIBS | 6453 | ac_check_lib_save_LIBS=$LIBS |
| 5804 | LIBS="-lossaudio $LIBS" | 6454 | LIBS="-lossaudio $LIBS" |
| 5805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6455 | cat >conftest.$ac_ext <<_ACEOF |
| 6456 | /* confdefs.h. */ | ||
| 6457 | _ACEOF | ||
| 6458 | cat confdefs.h >>conftest.$ac_ext | ||
| 6459 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5806 | /* end confdefs.h. */ | 6460 | /* end confdefs.h. */ |
| 5807 | 6461 | ||
| 5808 | /* Override any GCC internal prototype to avoid an error. | 6462 | /* Override any GCC internal prototype to avoid an error. |
| @@ -5820,18 +6474,43 @@ return _oss_ioctl (); | |||
| 5820 | return 0; | 6474 | return 0; |
| 5821 | } | 6475 | } |
| 5822 | _ACEOF | 6476 | _ACEOF |
| 5823 | if ac_fn_c_try_link "$LINENO"; then : | 6477 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 6478 | if { (ac_try="$ac_link" | ||
| 6479 | case "(($ac_try" in | ||
| 6480 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6481 | *) ac_try_echo=$ac_try;; | ||
| 6482 | esac | ||
| 6483 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6484 | $as_echo "$ac_try_echo") >&5 | ||
| 6485 | (eval "$ac_link") 2>conftest.er1 | ||
| 6486 | ac_status=$? | ||
| 6487 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6488 | rm -f conftest.er1 | ||
| 6489 | cat conftest.err >&5 | ||
| 6490 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6491 | (exit $ac_status); } && { | ||
| 6492 | test -z "$ac_c_werror_flag" || | ||
| 6493 | test ! -s conftest.err | ||
| 6494 | } && test -s conftest$ac_exeext && { | ||
| 6495 | test "$cross_compiling" = yes || | ||
| 6496 | $as_test_x conftest$ac_exeext | ||
| 6497 | }; then | ||
| 5824 | ac_cv_lib_ossaudio__oss_ioctl=yes | 6498 | ac_cv_lib_ossaudio__oss_ioctl=yes |
| 5825 | else | 6499 | else |
| 5826 | ac_cv_lib_ossaudio__oss_ioctl=no | 6500 | $as_echo "$as_me: failed program was:" >&5 |
| 6501 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6502 | |||
| 6503 | ac_cv_lib_ossaudio__oss_ioctl=no | ||
| 5827 | fi | 6504 | fi |
| 5828 | rm -f core conftest.err conftest.$ac_objext \ | 6505 | |
| 5829 | conftest$ac_exeext conftest.$ac_ext | 6506 | rm -rf conftest.dSYM |
| 6507 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 6508 | conftest$ac_exeext conftest.$ac_ext | ||
| 5830 | LIBS=$ac_check_lib_save_LIBS | 6509 | LIBS=$ac_check_lib_save_LIBS |
| 5831 | fi | 6510 | fi |
| 5832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6511 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
| 5833 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6512 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
| 5834 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6513 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
| 5835 | LIBSOUND=-lossaudio | 6514 | LIBSOUND=-lossaudio |
| 5836 | else | 6515 | else |
| 5837 | LIBSOUND= | 6516 | LIBSOUND= |
| @@ -5846,9 +6525,9 @@ fi | |||
| 5846 | 6525 | ||
| 5847 | # Extract the first word of "pkg-config", so it can be a program name with args. | 6526 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 5848 | set dummy pkg-config; ac_word=$2 | 6527 | set dummy pkg-config; ac_word=$2 |
| 5849 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6528 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5850 | $as_echo_n "checking for $ac_word... " >&6; } | 6529 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5851 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6530 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 5852 | $as_echo_n "(cached) " >&6 | 6531 | $as_echo_n "(cached) " >&6 |
| 5853 | else | 6532 | else |
| 5854 | case $PKG_CONFIG in | 6533 | case $PKG_CONFIG in |
| @@ -5861,14 +6540,14 @@ for as_dir in $PATH | |||
| 5861 | do | 6540 | do |
| 5862 | IFS=$as_save_IFS | 6541 | IFS=$as_save_IFS |
| 5863 | test -z "$as_dir" && as_dir=. | 6542 | test -z "$as_dir" && as_dir=. |
| 5864 | for ac_exec_ext in '' $ac_executable_extensions; do | 6543 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5865 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6544 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5866 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6545 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5867 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6546 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5868 | break 2 | 6547 | break 2 |
| 5869 | fi | 6548 | fi |
| 5870 | done | 6549 | done |
| 5871 | done | 6550 | done |
| 5872 | IFS=$as_save_IFS | 6551 | IFS=$as_save_IFS |
| 5873 | 6552 | ||
| 5874 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6553 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -5877,10 +6556,10 @@ esac | |||
| 5877 | fi | 6556 | fi |
| 5878 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6557 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 5879 | if test -n "$PKG_CONFIG"; then | 6558 | if test -n "$PKG_CONFIG"; then |
| 5880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 6559 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 5881 | $as_echo "$PKG_CONFIG" >&6; } | 6560 | $as_echo "$PKG_CONFIG" >&6; } |
| 5882 | else | 6561 | else |
| 5883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6562 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5884 | $as_echo "no" >&6; } | 6563 | $as_echo "no" >&6; } |
| 5885 | fi | 6564 | fi |
| 5886 | 6565 | ||
| @@ -5891,27 +6570,27 @@ fi | |||
| 5891 | else | 6570 | else |
| 5892 | PKG_CONFIG_MIN_VERSION=0.9.0 | 6571 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 5893 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6572 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 5894 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 6573 | { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
| 5895 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 6574 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
| 5896 | 6575 | ||
| 5897 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6576 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
| 5898 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6577 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 5899 | $as_echo "yes" >&6; } | 6578 | $as_echo "yes" >&6; } |
| 5900 | succeeded=yes | 6579 | succeeded=yes |
| 5901 | 6580 | ||
| 5902 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 | 6581 | { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
| 5903 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 6582 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
| 5904 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6583 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5905 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 | 6584 | { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
| 5906 | $as_echo "$ALSA_CFLAGS" >&6; } | 6585 | $as_echo "$ALSA_CFLAGS" >&6; } |
| 5907 | 6586 | ||
| 5908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 | 6587 | { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
| 5909 | $as_echo_n "checking ALSA_LIBS... " >&6; } | 6588 | $as_echo_n "checking ALSA_LIBS... " >&6; } |
| 5910 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6589 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 | 6590 | { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
| 5912 | $as_echo "$ALSA_LIBS" >&6; } | 6591 | $as_echo "$ALSA_LIBS" >&6; } |
| 5913 | else | 6592 | else |
| 5914 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6593 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5915 | $as_echo "no" >&6; } | 6594 | $as_echo "no" >&6; } |
| 5916 | ALSA_CFLAGS="" | 6595 | ALSA_CFLAGS="" |
| 5917 | ALSA_LIBS="" | 6596 | ALSA_LIBS="" |
| @@ -5940,7 +6619,11 @@ $as_echo "no" >&6; } | |||
| 5940 | SAVE_LDFLAGS="$LDFLAGS" | 6619 | SAVE_LDFLAGS="$LDFLAGS" |
| 5941 | CFLAGS="$ALSA_CFLAGS $CFLAGS" | 6620 | CFLAGS="$ALSA_CFLAGS $CFLAGS" |
| 5942 | LDFLAGS="$ALSA_LIBS $LDFLAGS" | 6621 | LDFLAGS="$ALSA_LIBS $LDFLAGS" |
| 5943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6622 | cat >conftest.$ac_ext <<_ACEOF |
| 6623 | /* confdefs.h. */ | ||
| 6624 | _ACEOF | ||
| 6625 | cat confdefs.h >>conftest.$ac_ext | ||
| 6626 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5944 | /* end confdefs.h. */ | 6627 | /* end confdefs.h. */ |
| 5945 | #include <asoundlib.h> | 6628 | #include <asoundlib.h> |
| 5946 | int | 6629 | int |
| @@ -5951,14 +6634,39 @@ snd_lib_error_set_handler (0); | |||
| 5951 | return 0; | 6634 | return 0; |
| 5952 | } | 6635 | } |
| 5953 | _ACEOF | 6636 | _ACEOF |
| 5954 | if ac_fn_c_try_compile "$LINENO"; then : | 6637 | rm -f conftest.$ac_objext |
| 6638 | if { (ac_try="$ac_compile" | ||
| 6639 | case "(($ac_try" in | ||
| 6640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6641 | *) ac_try_echo=$ac_try;; | ||
| 6642 | esac | ||
| 6643 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6644 | $as_echo "$ac_try_echo") >&5 | ||
| 6645 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6646 | ac_status=$? | ||
| 6647 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6648 | rm -f conftest.er1 | ||
| 6649 | cat conftest.err >&5 | ||
| 6650 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6651 | (exit $ac_status); } && { | ||
| 6652 | test -z "$ac_c_werror_flag" || | ||
| 6653 | test ! -s conftest.err | ||
| 6654 | } && test -s conftest.$ac_objext; then | ||
| 5955 | emacs_alsa_normal=yes | 6655 | emacs_alsa_normal=yes |
| 5956 | else | 6656 | else |
| 5957 | emacs_alsa_normal=no | 6657 | $as_echo "$as_me: failed program was:" >&5 |
| 6658 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6659 | |||
| 6660 | emacs_alsa_normal=no | ||
| 5958 | fi | 6661 | fi |
| 6662 | |||
| 5959 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6663 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5960 | if test "$emacs_alsa_normal" != yes; then | 6664 | if test "$emacs_alsa_normal" != yes; then |
| 5961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6665 | cat >conftest.$ac_ext <<_ACEOF |
| 6666 | /* confdefs.h. */ | ||
| 6667 | _ACEOF | ||
| 6668 | cat confdefs.h >>conftest.$ac_ext | ||
| 6669 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5962 | /* end confdefs.h. */ | 6670 | /* end confdefs.h. */ |
| 5963 | #include <alsa/asoundlib.h> | 6671 | #include <alsa/asoundlib.h> |
| 5964 | int | 6672 | int |
| @@ -5969,14 +6677,37 @@ snd_lib_error_set_handler (0); | |||
| 5969 | return 0; | 6677 | return 0; |
| 5970 | } | 6678 | } |
| 5971 | _ACEOF | 6679 | _ACEOF |
| 5972 | if ac_fn_c_try_compile "$LINENO"; then : | 6680 | rm -f conftest.$ac_objext |
| 6681 | if { (ac_try="$ac_compile" | ||
| 6682 | case "(($ac_try" in | ||
| 6683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6684 | *) ac_try_echo=$ac_try;; | ||
| 6685 | esac | ||
| 6686 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6687 | $as_echo "$ac_try_echo") >&5 | ||
| 6688 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6689 | ac_status=$? | ||
| 6690 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6691 | rm -f conftest.er1 | ||
| 6692 | cat conftest.err >&5 | ||
| 6693 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6694 | (exit $ac_status); } && { | ||
| 6695 | test -z "$ac_c_werror_flag" || | ||
| 6696 | test ! -s conftest.err | ||
| 6697 | } && test -s conftest.$ac_objext; then | ||
| 5973 | emacs_alsa_subdir=yes | 6698 | emacs_alsa_subdir=yes |
| 5974 | else | 6699 | else |
| 5975 | emacs_alsa_subdir=no | 6700 | $as_echo "$as_me: failed program was:" >&5 |
| 6701 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6702 | |||
| 6703 | emacs_alsa_subdir=no | ||
| 5976 | fi | 6704 | fi |
| 6705 | |||
| 5977 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6706 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5978 | if test "$emacs_alsa_subdir" != yes; then | 6707 | if test "$emacs_alsa_subdir" != yes; then |
| 5979 | as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6708 | { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 |
| 6709 | $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | ||
| 6710 | { (exit 1); exit 1; }; } | ||
| 5980 | fi | 6711 | fi |
| 5981 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6712 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
| 5982 | fi | 6713 | fi |
| @@ -5986,22 +6717,179 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
| 5986 | LIBSOUND="$LIBSOUND $ALSA_LIBS" | 6717 | LIBSOUND="$LIBSOUND $ALSA_LIBS" |
| 5987 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 6718 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
| 5988 | 6719 | ||
| 5989 | $as_echo "#define HAVE_ALSA 1" >>confdefs.h | 6720 | cat >>confdefs.h <<\_ACEOF |
| 6721 | #define HAVE_ALSA 1 | ||
| 6722 | _ACEOF | ||
| 5990 | 6723 | ||
| 5991 | fi | 6724 | fi |
| 5992 | 6725 | ||
| 5993 | fi | 6726 | fi |
| 5994 | 6727 | ||
| 6728 | |||
| 6729 | |||
| 6730 | |||
| 6731 | |||
| 6732 | |||
| 6733 | |||
| 6734 | |||
| 6735 | |||
| 6736 | |||
| 6737 | |||
| 6738 | |||
| 6739 | |||
| 6740 | |||
| 6741 | |||
| 6742 | |||
| 6743 | |||
| 6744 | |||
| 6745 | |||
| 6746 | |||
| 6747 | |||
| 6748 | |||
| 6749 | |||
| 6750 | |||
| 6751 | |||
| 6752 | |||
| 5995 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6753 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 5996 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6754 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 5997 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6755 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 5998 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6756 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
| 5999 | sys/utsname.h pwd.h utmp.h | 6757 | sys/utsname.h pwd.h utmp.h |
| 6000 | do : | 6758 | do |
| 6001 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6759 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6002 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6760 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6003 | eval as_val=\$$as_ac_Header | 6761 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6004 | if test "x$as_val" = x""yes; then : | 6762 | $as_echo_n "checking for $ac_header... " >&6; } |
| 6763 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6764 | $as_echo_n "(cached) " >&6 | ||
| 6765 | fi | ||
| 6766 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6767 | $as_echo "$as_val"'` | ||
| 6768 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6769 | $as_echo "$ac_res" >&6; } | ||
| 6770 | else | ||
| 6771 | # Is the header compilable? | ||
| 6772 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6773 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6774 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6775 | /* confdefs.h. */ | ||
| 6776 | _ACEOF | ||
| 6777 | cat confdefs.h >>conftest.$ac_ext | ||
| 6778 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6779 | /* end confdefs.h. */ | ||
| 6780 | $ac_includes_default | ||
| 6781 | #include <$ac_header> | ||
| 6782 | _ACEOF | ||
| 6783 | rm -f conftest.$ac_objext | ||
| 6784 | if { (ac_try="$ac_compile" | ||
| 6785 | case "(($ac_try" in | ||
| 6786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6787 | *) ac_try_echo=$ac_try;; | ||
| 6788 | esac | ||
| 6789 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6790 | $as_echo "$ac_try_echo") >&5 | ||
| 6791 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6792 | ac_status=$? | ||
| 6793 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6794 | rm -f conftest.er1 | ||
| 6795 | cat conftest.err >&5 | ||
| 6796 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6797 | (exit $ac_status); } && { | ||
| 6798 | test -z "$ac_c_werror_flag" || | ||
| 6799 | test ! -s conftest.err | ||
| 6800 | } && test -s conftest.$ac_objext; then | ||
| 6801 | ac_header_compiler=yes | ||
| 6802 | else | ||
| 6803 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6804 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6805 | |||
| 6806 | ac_header_compiler=no | ||
| 6807 | fi | ||
| 6808 | |||
| 6809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6810 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6811 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6812 | |||
| 6813 | # Is the header present? | ||
| 6814 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6815 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6816 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6817 | /* confdefs.h. */ | ||
| 6818 | _ACEOF | ||
| 6819 | cat confdefs.h >>conftest.$ac_ext | ||
| 6820 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6821 | /* end confdefs.h. */ | ||
| 6822 | #include <$ac_header> | ||
| 6823 | _ACEOF | ||
| 6824 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6825 | case "(($ac_try" in | ||
| 6826 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6827 | *) ac_try_echo=$ac_try;; | ||
| 6828 | esac | ||
| 6829 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6830 | $as_echo "$ac_try_echo") >&5 | ||
| 6831 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6832 | ac_status=$? | ||
| 6833 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6834 | rm -f conftest.er1 | ||
| 6835 | cat conftest.err >&5 | ||
| 6836 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6837 | (exit $ac_status); } >/dev/null && { | ||
| 6838 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6839 | test ! -s conftest.err | ||
| 6840 | }; then | ||
| 6841 | ac_header_preproc=yes | ||
| 6842 | else | ||
| 6843 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6844 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6845 | |||
| 6846 | ac_header_preproc=no | ||
| 6847 | fi | ||
| 6848 | |||
| 6849 | rm -f conftest.err conftest.$ac_ext | ||
| 6850 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6851 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6852 | |||
| 6853 | # So? What about this header? | ||
| 6854 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6855 | yes:no: ) | ||
| 6856 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6857 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6858 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6859 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6860 | ac_header_preproc=yes | ||
| 6861 | ;; | ||
| 6862 | no:yes:* ) | ||
| 6863 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6864 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6865 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6866 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6867 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6868 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6869 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6870 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6871 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6872 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6873 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6874 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6875 | |||
| 6876 | ;; | ||
| 6877 | esac | ||
| 6878 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6879 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6880 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6881 | $as_echo_n "(cached) " >&6 | ||
| 6882 | else | ||
| 6883 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6884 | fi | ||
| 6885 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6886 | $as_echo "$as_val"'` | ||
| 6887 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6888 | $as_echo "$ac_res" >&6; } | ||
| 6889 | |||
| 6890 | fi | ||
| 6891 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6892 | $as_echo "$as_val"'` = yes; then | ||
| 6005 | cat >>confdefs.h <<_ACEOF | 6893 | cat >>confdefs.h <<_ACEOF |
| 6006 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6894 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6007 | _ACEOF | 6895 | _ACEOF |
| @@ -6011,9 +6899,13 @@ fi | |||
| 6011 | done | 6899 | done |
| 6012 | 6900 | ||
| 6013 | 6901 | ||
| 6014 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 6902 | { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
| 6015 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 6903 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
| 6016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6904 | cat >conftest.$ac_ext <<_ACEOF |
| 6905 | /* confdefs.h. */ | ||
| 6906 | _ACEOF | ||
| 6907 | cat confdefs.h >>conftest.$ac_ext | ||
| 6908 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6017 | /* end confdefs.h. */ | 6909 | /* end confdefs.h. */ |
| 6018 | #include <sys/personality.h> | 6910 | #include <sys/personality.h> |
| 6019 | int | 6911 | int |
| @@ -6024,39 +6916,112 @@ personality (PER_LINUX32) | |||
| 6024 | return 0; | 6916 | return 0; |
| 6025 | } | 6917 | } |
| 6026 | _ACEOF | 6918 | _ACEOF |
| 6027 | if ac_fn_c_try_compile "$LINENO"; then : | 6919 | rm -f conftest.$ac_objext |
| 6920 | if { (ac_try="$ac_compile" | ||
| 6921 | case "(($ac_try" in | ||
| 6922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6923 | *) ac_try_echo=$ac_try;; | ||
| 6924 | esac | ||
| 6925 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6926 | $as_echo "$ac_try_echo") >&5 | ||
| 6927 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6928 | ac_status=$? | ||
| 6929 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6930 | rm -f conftest.er1 | ||
| 6931 | cat conftest.err >&5 | ||
| 6932 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6933 | (exit $ac_status); } && { | ||
| 6934 | test -z "$ac_c_werror_flag" || | ||
| 6935 | test ! -s conftest.err | ||
| 6936 | } && test -s conftest.$ac_objext; then | ||
| 6028 | emacs_cv_personality_linux32=yes | 6937 | emacs_cv_personality_linux32=yes |
| 6029 | else | 6938 | else |
| 6030 | emacs_cv_personality_linux32=no | 6939 | $as_echo "$as_me: failed program was:" >&5 |
| 6940 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6941 | |||
| 6942 | emacs_cv_personality_linux32=no | ||
| 6031 | fi | 6943 | fi |
| 6944 | |||
| 6032 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 | 6946 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
| 6034 | $as_echo "$emacs_cv_personality_linux32" >&6; } | 6947 | $as_echo "$emacs_cv_personality_linux32" >&6; } |
| 6035 | 6948 | ||
| 6036 | if test $emacs_cv_personality_linux32 = yes; then | 6949 | if test $emacs_cv_personality_linux32 = yes; then |
| 6037 | 6950 | ||
| 6038 | $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h | 6951 | cat >>confdefs.h <<\_ACEOF |
| 6952 | #define HAVE_PERSONALITY_LINUX32 1 | ||
| 6953 | _ACEOF | ||
| 6039 | 6954 | ||
| 6040 | fi | 6955 | fi |
| 6041 | 6956 | ||
| 6957 | |||
| 6042 | for ac_header in term.h | 6958 | for ac_header in term.h |
| 6043 | do : | 6959 | do |
| 6044 | ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 6960 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6045 | if test "x$ac_cv_header_term_h" = x""yes; then : | 6961 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6962 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6963 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6964 | $as_echo_n "(cached) " >&6 | ||
| 6965 | else | ||
| 6966 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6967 | /* confdefs.h. */ | ||
| 6968 | _ACEOF | ||
| 6969 | cat confdefs.h >>conftest.$ac_ext | ||
| 6970 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6971 | /* end confdefs.h. */ | ||
| 6972 | #include <$ac_header> | ||
| 6973 | _ACEOF | ||
| 6974 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6975 | case "(($ac_try" in | ||
| 6976 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6977 | *) ac_try_echo=$ac_try;; | ||
| 6978 | esac | ||
| 6979 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6980 | $as_echo "$ac_try_echo") >&5 | ||
| 6981 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6982 | ac_status=$? | ||
| 6983 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6984 | rm -f conftest.er1 | ||
| 6985 | cat conftest.err >&5 | ||
| 6986 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6987 | (exit $ac_status); } >/dev/null && { | ||
| 6988 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6989 | test ! -s conftest.err | ||
| 6990 | }; then | ||
| 6991 | eval "$as_ac_Header=yes" | ||
| 6992 | else | ||
| 6993 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6994 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6995 | |||
| 6996 | eval "$as_ac_Header=no" | ||
| 6997 | fi | ||
| 6998 | |||
| 6999 | rm -f conftest.err conftest.$ac_ext | ||
| 7000 | fi | ||
| 7001 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7002 | $as_echo "$as_val"'` | ||
| 7003 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7004 | $as_echo "$ac_res" >&6; } | ||
| 7005 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7006 | $as_echo "$as_val"'` = yes; then | ||
| 6046 | cat >>confdefs.h <<_ACEOF | 7007 | cat >>confdefs.h <<_ACEOF |
| 6047 | #define HAVE_TERM_H 1 | 7008 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6048 | _ACEOF | 7009 | _ACEOF |
| 6049 | 7010 | ||
| 6050 | fi | 7011 | fi |
| 6051 | 7012 | ||
| 6052 | done | 7013 | done |
| 6053 | 7014 | ||
| 6054 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 7015 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6055 | $as_echo_n "checking for ANSI C header files... " >&6; } | 7016 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 6056 | if test "${ac_cv_header_stdc+set}" = set; then : | 7017 | if test "${ac_cv_header_stdc+set}" = set; then |
| 6057 | $as_echo_n "(cached) " >&6 | 7018 | $as_echo_n "(cached) " >&6 |
| 6058 | else | 7019 | else |
| 6059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7020 | cat >conftest.$ac_ext <<_ACEOF |
| 7021 | /* confdefs.h. */ | ||
| 7022 | _ACEOF | ||
| 7023 | cat confdefs.h >>conftest.$ac_ext | ||
| 7024 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6060 | /* end confdefs.h. */ | 7025 | /* end confdefs.h. */ |
| 6061 | #include <stdlib.h> | 7026 | #include <stdlib.h> |
| 6062 | #include <stdarg.h> | 7027 | #include <stdarg.h> |
| @@ -6071,23 +7036,48 @@ main () | |||
| 6071 | return 0; | 7036 | return 0; |
| 6072 | } | 7037 | } |
| 6073 | _ACEOF | 7038 | _ACEOF |
| 6074 | if ac_fn_c_try_compile "$LINENO"; then : | 7039 | rm -f conftest.$ac_objext |
| 7040 | if { (ac_try="$ac_compile" | ||
| 7041 | case "(($ac_try" in | ||
| 7042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7043 | *) ac_try_echo=$ac_try;; | ||
| 7044 | esac | ||
| 7045 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7046 | $as_echo "$ac_try_echo") >&5 | ||
| 7047 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7048 | ac_status=$? | ||
| 7049 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7050 | rm -f conftest.er1 | ||
| 7051 | cat conftest.err >&5 | ||
| 7052 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7053 | (exit $ac_status); } && { | ||
| 7054 | test -z "$ac_c_werror_flag" || | ||
| 7055 | test ! -s conftest.err | ||
| 7056 | } && test -s conftest.$ac_objext; then | ||
| 6075 | ac_cv_header_stdc=yes | 7057 | ac_cv_header_stdc=yes |
| 6076 | else | 7058 | else |
| 6077 | ac_cv_header_stdc=no | 7059 | $as_echo "$as_me: failed program was:" >&5 |
| 7060 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7061 | |||
| 7062 | ac_cv_header_stdc=no | ||
| 6078 | fi | 7063 | fi |
| 7064 | |||
| 6079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7065 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6080 | 7066 | ||
| 6081 | if test $ac_cv_header_stdc = yes; then | 7067 | if test $ac_cv_header_stdc = yes; then |
| 6082 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7068 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6083 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7069 | cat >conftest.$ac_ext <<_ACEOF |
| 7070 | /* confdefs.h. */ | ||
| 7071 | _ACEOF | ||
| 7072 | cat confdefs.h >>conftest.$ac_ext | ||
| 7073 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6084 | /* end confdefs.h. */ | 7074 | /* end confdefs.h. */ |
| 6085 | #include <string.h> | 7075 | #include <string.h> |
| 6086 | 7076 | ||
| 6087 | _ACEOF | 7077 | _ACEOF |
| 6088 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7078 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6089 | $EGREP "memchr" >/dev/null 2>&1; then : | 7079 | $EGREP "memchr" >/dev/null 2>&1; then |
| 6090 | 7080 | : | |
| 6091 | else | 7081 | else |
| 6092 | ac_cv_header_stdc=no | 7082 | ac_cv_header_stdc=no |
| 6093 | fi | 7083 | fi |
| @@ -6097,14 +7087,18 @@ fi | |||
| 6097 | 7087 | ||
| 6098 | if test $ac_cv_header_stdc = yes; then | 7088 | if test $ac_cv_header_stdc = yes; then |
| 6099 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7089 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 6100 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7090 | cat >conftest.$ac_ext <<_ACEOF |
| 7091 | /* confdefs.h. */ | ||
| 7092 | _ACEOF | ||
| 7093 | cat confdefs.h >>conftest.$ac_ext | ||
| 7094 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6101 | /* end confdefs.h. */ | 7095 | /* end confdefs.h. */ |
| 6102 | #include <stdlib.h> | 7096 | #include <stdlib.h> |
| 6103 | 7097 | ||
| 6104 | _ACEOF | 7098 | _ACEOF |
| 6105 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7099 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6106 | $EGREP "free" >/dev/null 2>&1; then : | 7100 | $EGREP "free" >/dev/null 2>&1; then |
| 6107 | 7101 | : | |
| 6108 | else | 7102 | else |
| 6109 | ac_cv_header_stdc=no | 7103 | ac_cv_header_stdc=no |
| 6110 | fi | 7104 | fi |
| @@ -6114,10 +7108,14 @@ fi | |||
| 6114 | 7108 | ||
| 6115 | if test $ac_cv_header_stdc = yes; then | 7109 | if test $ac_cv_header_stdc = yes; then |
| 6116 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 7110 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 6117 | if test "$cross_compiling" = yes; then : | 7111 | if test "$cross_compiling" = yes; then |
| 6118 | : | 7112 | : |
| 6119 | else | 7113 | else |
| 6120 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7114 | cat >conftest.$ac_ext <<_ACEOF |
| 7115 | /* confdefs.h. */ | ||
| 7116 | _ACEOF | ||
| 7117 | cat confdefs.h >>conftest.$ac_ext | ||
| 7118 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6121 | /* end confdefs.h. */ | 7119 | /* end confdefs.h. */ |
| 6122 | #include <ctype.h> | 7120 | #include <ctype.h> |
| 6123 | #include <stdlib.h> | 7121 | #include <stdlib.h> |
| @@ -6144,31 +7142,64 @@ main () | |||
| 6144 | return 0; | 7142 | return 0; |
| 6145 | } | 7143 | } |
| 6146 | _ACEOF | 7144 | _ACEOF |
| 6147 | if ac_fn_c_try_run "$LINENO"; then : | 7145 | rm -f conftest$ac_exeext |
| 6148 | 7146 | if { (ac_try="$ac_link" | |
| 7147 | case "(($ac_try" in | ||
| 7148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7149 | *) ac_try_echo=$ac_try;; | ||
| 7150 | esac | ||
| 7151 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7152 | $as_echo "$ac_try_echo") >&5 | ||
| 7153 | (eval "$ac_link") 2>&5 | ||
| 7154 | ac_status=$? | ||
| 7155 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7156 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 7157 | { (case "(($ac_try" in | ||
| 7158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7159 | *) ac_try_echo=$ac_try;; | ||
| 7160 | esac | ||
| 7161 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7162 | $as_echo "$ac_try_echo") >&5 | ||
| 7163 | (eval "$ac_try") 2>&5 | ||
| 7164 | ac_status=$? | ||
| 7165 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7166 | (exit $ac_status); }; }; then | ||
| 7167 | : | ||
| 6149 | else | 7168 | else |
| 6150 | ac_cv_header_stdc=no | 7169 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 7170 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7171 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7172 | |||
| 7173 | ( exit $ac_status ) | ||
| 7174 | ac_cv_header_stdc=no | ||
| 6151 | fi | 7175 | fi |
| 6152 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7176 | rm -rf conftest.dSYM |
| 6153 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 7177 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6154 | fi | 7178 | fi |
| 6155 | 7179 | ||
| 7180 | |||
| 6156 | fi | 7181 | fi |
| 6157 | fi | 7182 | fi |
| 6158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 7183 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 6159 | $as_echo "$ac_cv_header_stdc" >&6; } | 7184 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 6160 | if test $ac_cv_header_stdc = yes; then | 7185 | if test $ac_cv_header_stdc = yes; then |
| 6161 | 7186 | ||
| 6162 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 7187 | cat >>confdefs.h <<\_ACEOF |
| 7188 | #define STDC_HEADERS 1 | ||
| 7189 | _ACEOF | ||
| 6163 | 7190 | ||
| 6164 | fi | 7191 | fi |
| 6165 | 7192 | ||
| 6166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 7193 | { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6167 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 7194 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 6168 | if test "${ac_cv_header_time+set}" = set; then : | 7195 | if test "${ac_cv_header_time+set}" = set; then |
| 6169 | $as_echo_n "(cached) " >&6 | 7196 | $as_echo_n "(cached) " >&6 |
| 6170 | else | 7197 | else |
| 6171 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7198 | cat >conftest.$ac_ext <<_ACEOF |
| 7199 | /* confdefs.h. */ | ||
| 7200 | _ACEOF | ||
| 7201 | cat confdefs.h >>conftest.$ac_ext | ||
| 7202 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6172 | /* end confdefs.h. */ | 7203 | /* end confdefs.h. */ |
| 6173 | #include <sys/types.h> | 7204 | #include <sys/types.h> |
| 6174 | #include <sys/time.h> | 7205 | #include <sys/time.h> |
| @@ -6183,57 +7214,202 @@ return 0; | |||
| 6183 | return 0; | 7214 | return 0; |
| 6184 | } | 7215 | } |
| 6185 | _ACEOF | 7216 | _ACEOF |
| 6186 | if ac_fn_c_try_compile "$LINENO"; then : | 7217 | rm -f conftest.$ac_objext |
| 7218 | if { (ac_try="$ac_compile" | ||
| 7219 | case "(($ac_try" in | ||
| 7220 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7221 | *) ac_try_echo=$ac_try;; | ||
| 7222 | esac | ||
| 7223 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7224 | $as_echo "$ac_try_echo") >&5 | ||
| 7225 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7226 | ac_status=$? | ||
| 7227 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7228 | rm -f conftest.er1 | ||
| 7229 | cat conftest.err >&5 | ||
| 7230 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7231 | (exit $ac_status); } && { | ||
| 7232 | test -z "$ac_c_werror_flag" || | ||
| 7233 | test ! -s conftest.err | ||
| 7234 | } && test -s conftest.$ac_objext; then | ||
| 6187 | ac_cv_header_time=yes | 7235 | ac_cv_header_time=yes |
| 6188 | else | 7236 | else |
| 6189 | ac_cv_header_time=no | 7237 | $as_echo "$as_me: failed program was:" >&5 |
| 7238 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7239 | |||
| 7240 | ac_cv_header_time=no | ||
| 6190 | fi | 7241 | fi |
| 7242 | |||
| 6191 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7243 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6192 | fi | 7244 | fi |
| 6193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | 7245 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6194 | $as_echo "$ac_cv_header_time" >&6; } | 7246 | $as_echo "$ac_cv_header_time" >&6; } |
| 6195 | if test $ac_cv_header_time = yes; then | 7247 | if test $ac_cv_header_time = yes; then |
| 6196 | 7248 | ||
| 6197 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 7249 | cat >>confdefs.h <<\_ACEOF |
| 7250 | #define TIME_WITH_SYS_TIME 1 | ||
| 7251 | _ACEOF | ||
| 6198 | 7252 | ||
| 6199 | fi | 7253 | fi |
| 6200 | 7254 | ||
| 6201 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7255 | { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
| 6202 | if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7256 | $as_echo_n "checking whether sys_siglist is declared... " >&6; } |
| 6203 | ac_have_decl=1 | 7257 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
| 7258 | $as_echo_n "(cached) " >&6 | ||
| 6204 | else | 7259 | else |
| 6205 | ac_have_decl=0 | 7260 | cat >conftest.$ac_ext <<_ACEOF |
| 7261 | /* confdefs.h. */ | ||
| 7262 | _ACEOF | ||
| 7263 | cat confdefs.h >>conftest.$ac_ext | ||
| 7264 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7265 | /* end confdefs.h. */ | ||
| 7266 | $ac_includes_default | ||
| 7267 | int | ||
| 7268 | main () | ||
| 7269 | { | ||
| 7270 | #ifndef sys_siglist | ||
| 7271 | (void) sys_siglist; | ||
| 7272 | #endif | ||
| 7273 | |||
| 7274 | ; | ||
| 7275 | return 0; | ||
| 7276 | } | ||
| 7277 | _ACEOF | ||
| 7278 | rm -f conftest.$ac_objext | ||
| 7279 | if { (ac_try="$ac_compile" | ||
| 7280 | case "(($ac_try" in | ||
| 7281 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7282 | *) ac_try_echo=$ac_try;; | ||
| 7283 | esac | ||
| 7284 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7285 | $as_echo "$ac_try_echo") >&5 | ||
| 7286 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7287 | ac_status=$? | ||
| 7288 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7289 | rm -f conftest.er1 | ||
| 7290 | cat conftest.err >&5 | ||
| 7291 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7292 | (exit $ac_status); } && { | ||
| 7293 | test -z "$ac_c_werror_flag" || | ||
| 7294 | test ! -s conftest.err | ||
| 7295 | } && test -s conftest.$ac_objext; then | ||
| 7296 | ac_cv_have_decl_sys_siglist=yes | ||
| 7297 | else | ||
| 7298 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7299 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7300 | |||
| 7301 | ac_cv_have_decl_sys_siglist=no | ||
| 7302 | fi | ||
| 7303 | |||
| 7304 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6206 | fi | 7305 | fi |
| 7306 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | ||
| 7307 | $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | ||
| 7308 | if test $ac_cv_have_decl_sys_siglist = yes; then | ||
| 6207 | 7309 | ||
| 6208 | cat >>confdefs.h <<_ACEOF | 7310 | cat >>confdefs.h <<_ACEOF |
| 6209 | #define HAVE_DECL_SYS_SIGLIST $ac_have_decl | 7311 | #define HAVE_DECL_SYS_SIGLIST 1 |
| 7312 | _ACEOF | ||
| 7313 | |||
| 7314 | |||
| 7315 | else | ||
| 7316 | cat >>confdefs.h <<_ACEOF | ||
| 7317 | #define HAVE_DECL_SYS_SIGLIST 0 | ||
| 6210 | _ACEOF | 7318 | _ACEOF |
| 6211 | 7319 | ||
| 7320 | |||
| 7321 | fi | ||
| 7322 | |||
| 7323 | |||
| 6212 | if test $ac_cv_have_decl_sys_siglist != yes; then | 7324 | if test $ac_cv_have_decl_sys_siglist != yes; then |
| 6213 | # For Tru64, at least: | 7325 | # For Tru64, at least: |
| 6214 | ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 7326 | { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
| 6215 | if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7327 | $as_echo_n "checking whether __sys_siglist is declared... " >&6; } |
| 6216 | ac_have_decl=1 | 7328 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
| 7329 | $as_echo_n "(cached) " >&6 | ||
| 7330 | else | ||
| 7331 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7332 | /* confdefs.h. */ | ||
| 7333 | _ACEOF | ||
| 7334 | cat confdefs.h >>conftest.$ac_ext | ||
| 7335 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7336 | /* end confdefs.h. */ | ||
| 7337 | $ac_includes_default | ||
| 7338 | int | ||
| 7339 | main () | ||
| 7340 | { | ||
| 7341 | #ifndef __sys_siglist | ||
| 7342 | (void) __sys_siglist; | ||
| 7343 | #endif | ||
| 7344 | |||
| 7345 | ; | ||
| 7346 | return 0; | ||
| 7347 | } | ||
| 7348 | _ACEOF | ||
| 7349 | rm -f conftest.$ac_objext | ||
| 7350 | if { (ac_try="$ac_compile" | ||
| 7351 | case "(($ac_try" in | ||
| 7352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7353 | *) ac_try_echo=$ac_try;; | ||
| 7354 | esac | ||
| 7355 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7356 | $as_echo "$ac_try_echo") >&5 | ||
| 7357 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7358 | ac_status=$? | ||
| 7359 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7360 | rm -f conftest.er1 | ||
| 7361 | cat conftest.err >&5 | ||
| 7362 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7363 | (exit $ac_status); } && { | ||
| 7364 | test -z "$ac_c_werror_flag" || | ||
| 7365 | test ! -s conftest.err | ||
| 7366 | } && test -s conftest.$ac_objext; then | ||
| 7367 | ac_cv_have_decl___sys_siglist=yes | ||
| 6217 | else | 7368 | else |
| 6218 | ac_have_decl=0 | 7369 | $as_echo "$as_me: failed program was:" >&5 |
| 7370 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7371 | |||
| 7372 | ac_cv_have_decl___sys_siglist=no | ||
| 7373 | fi | ||
| 7374 | |||
| 7375 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6219 | fi | 7376 | fi |
| 7377 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | ||
| 7378 | $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | ||
| 7379 | if test $ac_cv_have_decl___sys_siglist = yes; then | ||
| 6220 | 7380 | ||
| 6221 | cat >>confdefs.h <<_ACEOF | 7381 | cat >>confdefs.h <<_ACEOF |
| 6222 | #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | 7382 | #define HAVE_DECL___SYS_SIGLIST 1 |
| 7383 | _ACEOF | ||
| 7384 | |||
| 7385 | |||
| 7386 | else | ||
| 7387 | cat >>confdefs.h <<_ACEOF | ||
| 7388 | #define HAVE_DECL___SYS_SIGLIST 0 | ||
| 6223 | _ACEOF | 7389 | _ACEOF |
| 6224 | 7390 | ||
| 7391 | |||
| 7392 | fi | ||
| 7393 | |||
| 7394 | |||
| 6225 | if test $ac_cv_have_decl___sys_siglist = yes; then | 7395 | if test $ac_cv_have_decl___sys_siglist = yes; then |
| 6226 | 7396 | ||
| 6227 | $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | 7397 | cat >>confdefs.h <<\_ACEOF |
| 7398 | #define sys_siglist __sys_siglist | ||
| 7399 | _ACEOF | ||
| 6228 | 7400 | ||
| 6229 | fi | 7401 | fi |
| 6230 | fi | 7402 | fi |
| 6231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7403 | { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 6232 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 7404 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
| 6233 | if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7405 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
| 6234 | $as_echo_n "(cached) " >&6 | 7406 | $as_echo_n "(cached) " >&6 |
| 6235 | else | 7407 | else |
| 6236 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7408 | cat >conftest.$ac_ext <<_ACEOF |
| 7409 | /* confdefs.h. */ | ||
| 7410 | _ACEOF | ||
| 7411 | cat confdefs.h >>conftest.$ac_ext | ||
| 7412 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6237 | /* end confdefs.h. */ | 7413 | /* end confdefs.h. */ |
| 6238 | #include <sys/types.h> | 7414 | #include <sys/types.h> |
| 6239 | #include <sys/wait.h> | 7415 | #include <sys/wait.h> |
| @@ -6254,28 +7430,55 @@ main () | |||
| 6254 | return 0; | 7430 | return 0; |
| 6255 | } | 7431 | } |
| 6256 | _ACEOF | 7432 | _ACEOF |
| 6257 | if ac_fn_c_try_compile "$LINENO"; then : | 7433 | rm -f conftest.$ac_objext |
| 7434 | if { (ac_try="$ac_compile" | ||
| 7435 | case "(($ac_try" in | ||
| 7436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7437 | *) ac_try_echo=$ac_try;; | ||
| 7438 | esac | ||
| 7439 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7440 | $as_echo "$ac_try_echo") >&5 | ||
| 7441 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7442 | ac_status=$? | ||
| 7443 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7444 | rm -f conftest.er1 | ||
| 7445 | cat conftest.err >&5 | ||
| 7446 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7447 | (exit $ac_status); } && { | ||
| 7448 | test -z "$ac_c_werror_flag" || | ||
| 7449 | test ! -s conftest.err | ||
| 7450 | } && test -s conftest.$ac_objext; then | ||
| 6258 | ac_cv_header_sys_wait_h=yes | 7451 | ac_cv_header_sys_wait_h=yes |
| 6259 | else | 7452 | else |
| 6260 | ac_cv_header_sys_wait_h=no | 7453 | $as_echo "$as_me: failed program was:" >&5 |
| 7454 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7455 | |||
| 7456 | ac_cv_header_sys_wait_h=no | ||
| 6261 | fi | 7457 | fi |
| 7458 | |||
| 6262 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6263 | fi | 7460 | fi |
| 6264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 | 7461 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 6265 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 7462 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
| 6266 | if test $ac_cv_header_sys_wait_h = yes; then | 7463 | if test $ac_cv_header_sys_wait_h = yes; then |
| 6267 | 7464 | ||
| 6268 | $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 7465 | cat >>confdefs.h <<\_ACEOF |
| 7466 | #define HAVE_SYS_WAIT_H 1 | ||
| 7467 | _ACEOF | ||
| 6269 | 7468 | ||
| 6270 | fi | 7469 | fi |
| 6271 | 7470 | ||
| 6272 | 7471 | ||
| 6273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 7472 | { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
| 6274 | $as_echo_n "checking for struct utimbuf... " >&6; } | 7473 | $as_echo_n "checking for struct utimbuf... " >&6; } |
| 6275 | if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7474 | if test "${emacs_cv_struct_utimbuf+set}" = set; then |
| 6276 | $as_echo_n "(cached) " >&6 | 7475 | $as_echo_n "(cached) " >&6 |
| 6277 | else | 7476 | else |
| 6278 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7477 | cat >conftest.$ac_ext <<_ACEOF |
| 7478 | /* confdefs.h. */ | ||
| 7479 | _ACEOF | ||
| 7480 | cat confdefs.h >>conftest.$ac_ext | ||
| 7481 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6279 | /* end confdefs.h. */ | 7482 | /* end confdefs.h. */ |
| 6280 | #ifdef TIME_WITH_SYS_TIME | 7483 | #ifdef TIME_WITH_SYS_TIME |
| 6281 | #include <sys/time.h> | 7484 | #include <sys/time.h> |
| @@ -6298,27 +7501,54 @@ static struct utimbuf x; x.actime = x.modtime; | |||
| 6298 | return 0; | 7501 | return 0; |
| 6299 | } | 7502 | } |
| 6300 | _ACEOF | 7503 | _ACEOF |
| 6301 | if ac_fn_c_try_compile "$LINENO"; then : | 7504 | rm -f conftest.$ac_objext |
| 7505 | if { (ac_try="$ac_compile" | ||
| 7506 | case "(($ac_try" in | ||
| 7507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7508 | *) ac_try_echo=$ac_try;; | ||
| 7509 | esac | ||
| 7510 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7511 | $as_echo "$ac_try_echo") >&5 | ||
| 7512 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7513 | ac_status=$? | ||
| 7514 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7515 | rm -f conftest.er1 | ||
| 7516 | cat conftest.err >&5 | ||
| 7517 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7518 | (exit $ac_status); } && { | ||
| 7519 | test -z "$ac_c_werror_flag" || | ||
| 7520 | test ! -s conftest.err | ||
| 7521 | } && test -s conftest.$ac_objext; then | ||
| 6302 | emacs_cv_struct_utimbuf=yes | 7522 | emacs_cv_struct_utimbuf=yes |
| 6303 | else | 7523 | else |
| 6304 | emacs_cv_struct_utimbuf=no | 7524 | $as_echo "$as_me: failed program was:" >&5 |
| 7525 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7526 | |||
| 7527 | emacs_cv_struct_utimbuf=no | ||
| 6305 | fi | 7528 | fi |
| 7529 | |||
| 6306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7530 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6307 | fi | 7531 | fi |
| 6308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 | 7532 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
| 6309 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 7533 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
| 6310 | if test $emacs_cv_struct_utimbuf = yes; then | 7534 | if test $emacs_cv_struct_utimbuf = yes; then |
| 6311 | 7535 | ||
| 6312 | $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h | 7536 | cat >>confdefs.h <<\_ACEOF |
| 7537 | #define HAVE_STRUCT_UTIMBUF 1 | ||
| 7538 | _ACEOF | ||
| 6313 | 7539 | ||
| 6314 | fi | 7540 | fi |
| 6315 | 7541 | ||
| 6316 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 7542 | { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
| 6317 | $as_echo_n "checking return type of signal handlers... " >&6; } | 7543 | $as_echo_n "checking return type of signal handlers... " >&6; } |
| 6318 | if test "${ac_cv_type_signal+set}" = set; then : | 7544 | if test "${ac_cv_type_signal+set}" = set; then |
| 6319 | $as_echo_n "(cached) " >&6 | 7545 | $as_echo_n "(cached) " >&6 |
| 6320 | else | 7546 | else |
| 6321 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7547 | cat >conftest.$ac_ext <<_ACEOF |
| 7548 | /* confdefs.h. */ | ||
| 7549 | _ACEOF | ||
| 7550 | cat confdefs.h >>conftest.$ac_ext | ||
| 7551 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6322 | /* end confdefs.h. */ | 7552 | /* end confdefs.h. */ |
| 6323 | #include <sys/types.h> | 7553 | #include <sys/types.h> |
| 6324 | #include <signal.h> | 7554 | #include <signal.h> |
| @@ -6331,14 +7561,35 @@ return *(signal (0, 0)) (0) == 1; | |||
| 6331 | return 0; | 7561 | return 0; |
| 6332 | } | 7562 | } |
| 6333 | _ACEOF | 7563 | _ACEOF |
| 6334 | if ac_fn_c_try_compile "$LINENO"; then : | 7564 | rm -f conftest.$ac_objext |
| 7565 | if { (ac_try="$ac_compile" | ||
| 7566 | case "(($ac_try" in | ||
| 7567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7568 | *) ac_try_echo=$ac_try;; | ||
| 7569 | esac | ||
| 7570 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7571 | $as_echo "$ac_try_echo") >&5 | ||
| 7572 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7573 | ac_status=$? | ||
| 7574 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7575 | rm -f conftest.er1 | ||
| 7576 | cat conftest.err >&5 | ||
| 7577 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7578 | (exit $ac_status); } && { | ||
| 7579 | test -z "$ac_c_werror_flag" || | ||
| 7580 | test ! -s conftest.err | ||
| 7581 | } && test -s conftest.$ac_objext; then | ||
| 6335 | ac_cv_type_signal=int | 7582 | ac_cv_type_signal=int |
| 6336 | else | 7583 | else |
| 6337 | ac_cv_type_signal=void | 7584 | $as_echo "$as_me: failed program was:" >&5 |
| 7585 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7586 | |||
| 7587 | ac_cv_type_signal=void | ||
| 6338 | fi | 7588 | fi |
| 7589 | |||
| 6339 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7590 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6340 | fi | 7591 | fi |
| 6341 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | 7592 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
| 6342 | $as_echo "$ac_cv_type_signal" >&6; } | 7593 | $as_echo "$ac_cv_type_signal" >&6; } |
| 6343 | 7594 | ||
| 6344 | cat >>confdefs.h <<_ACEOF | 7595 | cat >>confdefs.h <<_ACEOF |
| @@ -6347,12 +7598,16 @@ _ACEOF | |||
| 6347 | 7598 | ||
| 6348 | 7599 | ||
| 6349 | 7600 | ||
| 6350 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 7601 | { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 |
| 6351 | $as_echo_n "checking for speed_t... " >&6; } | 7602 | $as_echo_n "checking for speed_t... " >&6; } |
| 6352 | if test "${emacs_cv_speed_t+set}" = set; then : | 7603 | if test "${emacs_cv_speed_t+set}" = set; then |
| 6353 | $as_echo_n "(cached) " >&6 | 7604 | $as_echo_n "(cached) " >&6 |
| 6354 | else | 7605 | else |
| 6355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7606 | cat >conftest.$ac_ext <<_ACEOF |
| 7607 | /* confdefs.h. */ | ||
| 7608 | _ACEOF | ||
| 7609 | cat confdefs.h >>conftest.$ac_ext | ||
| 7610 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6356 | /* end confdefs.h. */ | 7611 | /* end confdefs.h. */ |
| 6357 | #include <termios.h> | 7612 | #include <termios.h> |
| 6358 | int | 7613 | int |
| @@ -6363,27 +7618,54 @@ speed_t x = 1; | |||
| 6363 | return 0; | 7618 | return 0; |
| 6364 | } | 7619 | } |
| 6365 | _ACEOF | 7620 | _ACEOF |
| 6366 | if ac_fn_c_try_compile "$LINENO"; then : | 7621 | rm -f conftest.$ac_objext |
| 7622 | if { (ac_try="$ac_compile" | ||
| 7623 | case "(($ac_try" in | ||
| 7624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7625 | *) ac_try_echo=$ac_try;; | ||
| 7626 | esac | ||
| 7627 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7628 | $as_echo "$ac_try_echo") >&5 | ||
| 7629 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7630 | ac_status=$? | ||
| 7631 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7632 | rm -f conftest.er1 | ||
| 7633 | cat conftest.err >&5 | ||
| 7634 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7635 | (exit $ac_status); } && { | ||
| 7636 | test -z "$ac_c_werror_flag" || | ||
| 7637 | test ! -s conftest.err | ||
| 7638 | } && test -s conftest.$ac_objext; then | ||
| 6367 | emacs_cv_speed_t=yes | 7639 | emacs_cv_speed_t=yes |
| 6368 | else | 7640 | else |
| 6369 | emacs_cv_speed_t=no | 7641 | $as_echo "$as_me: failed program was:" >&5 |
| 7642 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7643 | |||
| 7644 | emacs_cv_speed_t=no | ||
| 6370 | fi | 7645 | fi |
| 7646 | |||
| 6371 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6372 | fi | 7648 | fi |
| 6373 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 | 7649 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
| 6374 | $as_echo "$emacs_cv_speed_t" >&6; } | 7650 | $as_echo "$emacs_cv_speed_t" >&6; } |
| 6375 | if test $emacs_cv_speed_t = yes; then | 7651 | if test $emacs_cv_speed_t = yes; then |
| 6376 | 7652 | ||
| 6377 | $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h | 7653 | cat >>confdefs.h <<\_ACEOF |
| 7654 | #define HAVE_SPEED_T 1 | ||
| 7655 | _ACEOF | ||
| 6378 | 7656 | ||
| 6379 | fi | 7657 | fi |
| 6380 | 7658 | ||
| 6381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 7659 | { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 |
| 6382 | $as_echo_n "checking for struct timeval... " >&6; } | 7660 | $as_echo_n "checking for struct timeval... " >&6; } |
| 6383 | if test "${emacs_cv_struct_timeval+set}" = set; then : | 7661 | if test "${emacs_cv_struct_timeval+set}" = set; then |
| 6384 | $as_echo_n "(cached) " >&6 | 7662 | $as_echo_n "(cached) " >&6 |
| 6385 | else | 7663 | else |
| 6386 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7664 | cat >conftest.$ac_ext <<_ACEOF |
| 7665 | /* confdefs.h. */ | ||
| 7666 | _ACEOF | ||
| 7667 | cat confdefs.h >>conftest.$ac_ext | ||
| 7668 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6387 | /* end confdefs.h. */ | 7669 | /* end confdefs.h. */ |
| 6388 | #ifdef TIME_WITH_SYS_TIME | 7670 | #ifdef TIME_WITH_SYS_TIME |
| 6389 | #include <sys/time.h> | 7671 | #include <sys/time.h> |
| @@ -6403,28 +7685,55 @@ static struct timeval x; x.tv_sec = x.tv_usec; | |||
| 6403 | return 0; | 7685 | return 0; |
| 6404 | } | 7686 | } |
| 6405 | _ACEOF | 7687 | _ACEOF |
| 6406 | if ac_fn_c_try_compile "$LINENO"; then : | 7688 | rm -f conftest.$ac_objext |
| 7689 | if { (ac_try="$ac_compile" | ||
| 7690 | case "(($ac_try" in | ||
| 7691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7692 | *) ac_try_echo=$ac_try;; | ||
| 7693 | esac | ||
| 7694 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7695 | $as_echo "$ac_try_echo") >&5 | ||
| 7696 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7697 | ac_status=$? | ||
| 7698 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7699 | rm -f conftest.er1 | ||
| 7700 | cat conftest.err >&5 | ||
| 7701 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7702 | (exit $ac_status); } && { | ||
| 7703 | test -z "$ac_c_werror_flag" || | ||
| 7704 | test ! -s conftest.err | ||
| 7705 | } && test -s conftest.$ac_objext; then | ||
| 6407 | emacs_cv_struct_timeval=yes | 7706 | emacs_cv_struct_timeval=yes |
| 6408 | else | 7707 | else |
| 6409 | emacs_cv_struct_timeval=no | 7708 | $as_echo "$as_me: failed program was:" >&5 |
| 7709 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7710 | |||
| 7711 | emacs_cv_struct_timeval=no | ||
| 6410 | fi | 7712 | fi |
| 7713 | |||
| 6411 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6412 | fi | 7715 | fi |
| 6413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 | 7716 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
| 6414 | $as_echo "$emacs_cv_struct_timeval" >&6; } | 7717 | $as_echo "$emacs_cv_struct_timeval" >&6; } |
| 6415 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7718 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 6416 | if test $emacs_cv_struct_timeval = yes; then | 7719 | if test $emacs_cv_struct_timeval = yes; then |
| 6417 | 7720 | ||
| 6418 | $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h | 7721 | cat >>confdefs.h <<\_ACEOF |
| 7722 | #define HAVE_TIMEVAL 1 | ||
| 7723 | _ACEOF | ||
| 6419 | 7724 | ||
| 6420 | fi | 7725 | fi |
| 6421 | 7726 | ||
| 6422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 7727 | { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 |
| 6423 | $as_echo_n "checking for struct exception... " >&6; } | 7728 | $as_echo_n "checking for struct exception... " >&6; } |
| 6424 | if test "${emacs_cv_struct_exception+set}" = set; then : | 7729 | if test "${emacs_cv_struct_exception+set}" = set; then |
| 6425 | $as_echo_n "(cached) " >&6 | 7730 | $as_echo_n "(cached) " >&6 |
| 6426 | else | 7731 | else |
| 6427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7732 | cat >conftest.$ac_ext <<_ACEOF |
| 7733 | /* confdefs.h. */ | ||
| 7734 | _ACEOF | ||
| 7735 | cat confdefs.h >>conftest.$ac_ext | ||
| 7736 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6428 | /* end confdefs.h. */ | 7737 | /* end confdefs.h. */ |
| 6429 | #include <math.h> | 7738 | #include <math.h> |
| 6430 | int | 7739 | int |
| @@ -6435,44 +7744,248 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |||
| 6435 | return 0; | 7744 | return 0; |
| 6436 | } | 7745 | } |
| 6437 | _ACEOF | 7746 | _ACEOF |
| 6438 | if ac_fn_c_try_compile "$LINENO"; then : | 7747 | rm -f conftest.$ac_objext |
| 7748 | if { (ac_try="$ac_compile" | ||
| 7749 | case "(($ac_try" in | ||
| 7750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7751 | *) ac_try_echo=$ac_try;; | ||
| 7752 | esac | ||
| 7753 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7754 | $as_echo "$ac_try_echo") >&5 | ||
| 7755 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7756 | ac_status=$? | ||
| 7757 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7758 | rm -f conftest.er1 | ||
| 7759 | cat conftest.err >&5 | ||
| 7760 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7761 | (exit $ac_status); } && { | ||
| 7762 | test -z "$ac_c_werror_flag" || | ||
| 7763 | test ! -s conftest.err | ||
| 7764 | } && test -s conftest.$ac_objext; then | ||
| 6439 | emacs_cv_struct_exception=yes | 7765 | emacs_cv_struct_exception=yes |
| 6440 | else | 7766 | else |
| 6441 | emacs_cv_struct_exception=no | 7767 | $as_echo "$as_me: failed program was:" >&5 |
| 7768 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7769 | |||
| 7770 | emacs_cv_struct_exception=no | ||
| 6442 | fi | 7771 | fi |
| 7772 | |||
| 6443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6444 | fi | 7774 | fi |
| 6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 | 7775 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
| 6446 | $as_echo "$emacs_cv_struct_exception" >&6; } | 7776 | $as_echo "$emacs_cv_struct_exception" >&6; } |
| 6447 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 7777 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 6448 | if test $emacs_cv_struct_exception != yes; then | 7778 | if test $emacs_cv_struct_exception != yes; then |
| 6449 | 7779 | ||
| 6450 | $as_echo "#define NO_MATHERR 1" >>confdefs.h | 7780 | cat >>confdefs.h <<\_ACEOF |
| 7781 | #define NO_MATHERR 1 | ||
| 7782 | _ACEOF | ||
| 6451 | 7783 | ||
| 6452 | fi | 7784 | fi |
| 6453 | 7785 | ||
| 7786 | |||
| 6454 | for ac_header in sys/socket.h | 7787 | for ac_header in sys/socket.h |
| 6455 | do : | 7788 | do |
| 6456 | ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 7789 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6457 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7790 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7791 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7792 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7793 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7794 | $as_echo_n "(cached) " >&6 | ||
| 7795 | fi | ||
| 7796 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7797 | $as_echo "$as_val"'` | ||
| 7798 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7799 | $as_echo "$ac_res" >&6; } | ||
| 7800 | else | ||
| 7801 | # Is the header compilable? | ||
| 7802 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 7803 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 7804 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7805 | /* confdefs.h. */ | ||
| 7806 | _ACEOF | ||
| 7807 | cat confdefs.h >>conftest.$ac_ext | ||
| 7808 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7809 | /* end confdefs.h. */ | ||
| 7810 | $ac_includes_default | ||
| 7811 | #include <$ac_header> | ||
| 7812 | _ACEOF | ||
| 7813 | rm -f conftest.$ac_objext | ||
| 7814 | if { (ac_try="$ac_compile" | ||
| 7815 | case "(($ac_try" in | ||
| 7816 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7817 | *) ac_try_echo=$ac_try;; | ||
| 7818 | esac | ||
| 7819 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7820 | $as_echo "$ac_try_echo") >&5 | ||
| 7821 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7822 | ac_status=$? | ||
| 7823 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7824 | rm -f conftest.er1 | ||
| 7825 | cat conftest.err >&5 | ||
| 7826 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7827 | (exit $ac_status); } && { | ||
| 7828 | test -z "$ac_c_werror_flag" || | ||
| 7829 | test ! -s conftest.err | ||
| 7830 | } && test -s conftest.$ac_objext; then | ||
| 7831 | ac_header_compiler=yes | ||
| 7832 | else | ||
| 7833 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7834 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7835 | |||
| 7836 | ac_header_compiler=no | ||
| 7837 | fi | ||
| 7838 | |||
| 7839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7840 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 7841 | $as_echo "$ac_header_compiler" >&6; } | ||
| 7842 | |||
| 7843 | # Is the header present? | ||
| 7844 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 7845 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 7846 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7847 | /* confdefs.h. */ | ||
| 7848 | _ACEOF | ||
| 7849 | cat confdefs.h >>conftest.$ac_ext | ||
| 7850 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7851 | /* end confdefs.h. */ | ||
| 7852 | #include <$ac_header> | ||
| 7853 | _ACEOF | ||
| 7854 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 7855 | case "(($ac_try" in | ||
| 7856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7857 | *) ac_try_echo=$ac_try;; | ||
| 7858 | esac | ||
| 7859 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7860 | $as_echo "$ac_try_echo") >&5 | ||
| 7861 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 7862 | ac_status=$? | ||
| 7863 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7864 | rm -f conftest.er1 | ||
| 7865 | cat conftest.err >&5 | ||
| 7866 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7867 | (exit $ac_status); } >/dev/null && { | ||
| 7868 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 7869 | test ! -s conftest.err | ||
| 7870 | }; then | ||
| 7871 | ac_header_preproc=yes | ||
| 7872 | else | ||
| 7873 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7874 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7875 | |||
| 7876 | ac_header_preproc=no | ||
| 7877 | fi | ||
| 7878 | |||
| 7879 | rm -f conftest.err conftest.$ac_ext | ||
| 7880 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 7881 | $as_echo "$ac_header_preproc" >&6; } | ||
| 7882 | |||
| 7883 | # So? What about this header? | ||
| 7884 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 7885 | yes:no: ) | ||
| 7886 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 7887 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 7888 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 7889 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 7890 | ac_header_preproc=yes | ||
| 7891 | ;; | ||
| 7892 | no:yes:* ) | ||
| 7893 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 7894 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 7895 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 7896 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 7897 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 7898 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 7899 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 7900 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 7901 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 7902 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 7903 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 7904 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 7905 | |||
| 7906 | ;; | ||
| 7907 | esac | ||
| 7908 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7909 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7910 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7911 | $as_echo_n "(cached) " >&6 | ||
| 7912 | else | ||
| 7913 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 7914 | fi | ||
| 7915 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7916 | $as_echo "$as_val"'` | ||
| 7917 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7918 | $as_echo "$ac_res" >&6; } | ||
| 7919 | |||
| 7920 | fi | ||
| 7921 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7922 | $as_echo "$as_val"'` = yes; then | ||
| 6458 | cat >>confdefs.h <<_ACEOF | 7923 | cat >>confdefs.h <<_ACEOF |
| 6459 | #define HAVE_SYS_SOCKET_H 1 | 7924 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6460 | _ACEOF | 7925 | _ACEOF |
| 6461 | 7926 | ||
| 6462 | fi | 7927 | fi |
| 6463 | 7928 | ||
| 6464 | done | 7929 | done |
| 6465 | 7930 | ||
| 7931 | |||
| 6466 | for ac_header in net/if.h | 7932 | for ac_header in net/if.h |
| 6467 | do : | 7933 | do |
| 6468 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 7934 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7935 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7936 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7937 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7938 | $as_echo_n "(cached) " >&6 | ||
| 7939 | else | ||
| 7940 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7941 | /* confdefs.h. */ | ||
| 7942 | _ACEOF | ||
| 7943 | cat confdefs.h >>conftest.$ac_ext | ||
| 7944 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7945 | /* end confdefs.h. */ | ||
| 7946 | $ac_includes_default | ||
| 6469 | #if HAVE_SYS_SOCKET_H | 7947 | #if HAVE_SYS_SOCKET_H |
| 6470 | #include <sys/socket.h> | 7948 | #include <sys/socket.h> |
| 6471 | #endif | 7949 | #endif |
| 6472 | " | 7950 | |
| 6473 | if test "x$ac_cv_header_net_if_h" = x""yes; then : | 7951 | #include <$ac_header> |
| 7952 | _ACEOF | ||
| 7953 | rm -f conftest.$ac_objext | ||
| 7954 | if { (ac_try="$ac_compile" | ||
| 7955 | case "(($ac_try" in | ||
| 7956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7957 | *) ac_try_echo=$ac_try;; | ||
| 7958 | esac | ||
| 7959 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7960 | $as_echo "$ac_try_echo") >&5 | ||
| 7961 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7962 | ac_status=$? | ||
| 7963 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7964 | rm -f conftest.er1 | ||
| 7965 | cat conftest.err >&5 | ||
| 7966 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7967 | (exit $ac_status); } && { | ||
| 7968 | test -z "$ac_c_werror_flag" || | ||
| 7969 | test ! -s conftest.err | ||
| 7970 | } && test -s conftest.$ac_objext; then | ||
| 7971 | eval "$as_ac_Header=yes" | ||
| 7972 | else | ||
| 7973 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7974 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7975 | |||
| 7976 | eval "$as_ac_Header=no" | ||
| 7977 | fi | ||
| 7978 | |||
| 7979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7980 | fi | ||
| 7981 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7982 | $as_echo "$as_val"'` | ||
| 7983 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7984 | $as_echo "$ac_res" >&6; } | ||
| 7985 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7986 | $as_echo "$as_val"'` = yes; then | ||
| 6474 | cat >>confdefs.h <<_ACEOF | 7987 | cat >>confdefs.h <<_ACEOF |
| 6475 | #define HAVE_NET_IF_H 1 | 7988 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6476 | _ACEOF | 7989 | _ACEOF |
| 6477 | 7990 | ||
| 6478 | fi | 7991 | fi |
| @@ -6480,12 +7993,16 @@ fi | |||
| 6480 | done | 7993 | done |
| 6481 | 7994 | ||
| 6482 | 7995 | ||
| 6483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 7996 | { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 6484 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 7997 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 6485 | if test "${ac_cv_struct_tm+set}" = set; then : | 7998 | if test "${ac_cv_struct_tm+set}" = set; then |
| 6486 | $as_echo_n "(cached) " >&6 | 7999 | $as_echo_n "(cached) " >&6 |
| 6487 | else | 8000 | else |
| 6488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8001 | cat >conftest.$ac_ext <<_ACEOF |
| 8002 | /* confdefs.h. */ | ||
| 8003 | _ACEOF | ||
| 8004 | cat confdefs.h >>conftest.$ac_ext | ||
| 8005 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6489 | /* end confdefs.h. */ | 8006 | /* end confdefs.h. */ |
| 6490 | #include <sys/types.h> | 8007 | #include <sys/types.h> |
| 6491 | #include <time.h> | 8008 | #include <time.h> |
| @@ -6500,26 +8017,146 @@ struct tm tm; | |||
| 6500 | return 0; | 8017 | return 0; |
| 6501 | } | 8018 | } |
| 6502 | _ACEOF | 8019 | _ACEOF |
| 6503 | if ac_fn_c_try_compile "$LINENO"; then : | 8020 | rm -f conftest.$ac_objext |
| 8021 | if { (ac_try="$ac_compile" | ||
| 8022 | case "(($ac_try" in | ||
| 8023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8024 | *) ac_try_echo=$ac_try;; | ||
| 8025 | esac | ||
| 8026 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8027 | $as_echo "$ac_try_echo") >&5 | ||
| 8028 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8029 | ac_status=$? | ||
| 8030 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8031 | rm -f conftest.er1 | ||
| 8032 | cat conftest.err >&5 | ||
| 8033 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8034 | (exit $ac_status); } && { | ||
| 8035 | test -z "$ac_c_werror_flag" || | ||
| 8036 | test ! -s conftest.err | ||
| 8037 | } && test -s conftest.$ac_objext; then | ||
| 6504 | ac_cv_struct_tm=time.h | 8038 | ac_cv_struct_tm=time.h |
| 6505 | else | 8039 | else |
| 6506 | ac_cv_struct_tm=sys/time.h | 8040 | $as_echo "$as_me: failed program was:" >&5 |
| 8041 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8042 | |||
| 8043 | ac_cv_struct_tm=sys/time.h | ||
| 6507 | fi | 8044 | fi |
| 8045 | |||
| 6508 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6509 | fi | 8047 | fi |
| 6510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 | 8048 | { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
| 6511 | $as_echo "$ac_cv_struct_tm" >&6; } | 8049 | $as_echo "$ac_cv_struct_tm" >&6; } |
| 6512 | if test $ac_cv_struct_tm = sys/time.h; then | 8050 | if test $ac_cv_struct_tm = sys/time.h; then |
| 6513 | 8051 | ||
| 6514 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h | 8052 | cat >>confdefs.h <<\_ACEOF |
| 8053 | #define TM_IN_SYS_TIME 1 | ||
| 8054 | _ACEOF | ||
| 6515 | 8055 | ||
| 6516 | fi | 8056 | fi |
| 6517 | 8057 | ||
| 6518 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 8058 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
| 8059 | $as_echo_n "checking for struct tm.tm_zone... " >&6; } | ||
| 8060 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | ||
| 8061 | $as_echo_n "(cached) " >&6 | ||
| 8062 | else | ||
| 8063 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8064 | /* confdefs.h. */ | ||
| 8065 | _ACEOF | ||
| 8066 | cat confdefs.h >>conftest.$ac_ext | ||
| 8067 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8068 | /* end confdefs.h. */ | ||
| 8069 | #include <sys/types.h> | ||
| 6519 | #include <$ac_cv_struct_tm> | 8070 | #include <$ac_cv_struct_tm> |
| 6520 | 8071 | ||
| 6521 | " | 8072 | |
| 6522 | if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8073 | int |
| 8074 | main () | ||
| 8075 | { | ||
| 8076 | static struct tm ac_aggr; | ||
| 8077 | if (ac_aggr.tm_zone) | ||
| 8078 | return 0; | ||
| 8079 | ; | ||
| 8080 | return 0; | ||
| 8081 | } | ||
| 8082 | _ACEOF | ||
| 8083 | rm -f conftest.$ac_objext | ||
| 8084 | if { (ac_try="$ac_compile" | ||
| 8085 | case "(($ac_try" in | ||
| 8086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8087 | *) ac_try_echo=$ac_try;; | ||
| 8088 | esac | ||
| 8089 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8090 | $as_echo "$ac_try_echo") >&5 | ||
| 8091 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8092 | ac_status=$? | ||
| 8093 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8094 | rm -f conftest.er1 | ||
| 8095 | cat conftest.err >&5 | ||
| 8096 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8097 | (exit $ac_status); } && { | ||
| 8098 | test -z "$ac_c_werror_flag" || | ||
| 8099 | test ! -s conftest.err | ||
| 8100 | } && test -s conftest.$ac_objext; then | ||
| 8101 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8102 | else | ||
| 8103 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8104 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8105 | |||
| 8106 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8107 | /* confdefs.h. */ | ||
| 8108 | _ACEOF | ||
| 8109 | cat confdefs.h >>conftest.$ac_ext | ||
| 8110 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8111 | /* end confdefs.h. */ | ||
| 8112 | #include <sys/types.h> | ||
| 8113 | #include <$ac_cv_struct_tm> | ||
| 8114 | |||
| 8115 | |||
| 8116 | int | ||
| 8117 | main () | ||
| 8118 | { | ||
| 8119 | static struct tm ac_aggr; | ||
| 8120 | if (sizeof ac_aggr.tm_zone) | ||
| 8121 | return 0; | ||
| 8122 | ; | ||
| 8123 | return 0; | ||
| 8124 | } | ||
| 8125 | _ACEOF | ||
| 8126 | rm -f conftest.$ac_objext | ||
| 8127 | if { (ac_try="$ac_compile" | ||
| 8128 | case "(($ac_try" in | ||
| 8129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8130 | *) ac_try_echo=$ac_try;; | ||
| 8131 | esac | ||
| 8132 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8133 | $as_echo "$ac_try_echo") >&5 | ||
| 8134 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8135 | ac_status=$? | ||
| 8136 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8137 | rm -f conftest.er1 | ||
| 8138 | cat conftest.err >&5 | ||
| 8139 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8140 | (exit $ac_status); } && { | ||
| 8141 | test -z "$ac_c_werror_flag" || | ||
| 8142 | test ! -s conftest.err | ||
| 8143 | } && test -s conftest.$ac_objext; then | ||
| 8144 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8145 | else | ||
| 8146 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8147 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8148 | |||
| 8149 | ac_cv_member_struct_tm_tm_zone=no | ||
| 8150 | fi | ||
| 8151 | |||
| 8152 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8153 | fi | ||
| 8154 | |||
| 8155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8156 | fi | ||
| 8157 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | ||
| 8158 | $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | ||
| 8159 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | ||
| 6523 | 8160 | ||
| 6524 | cat >>confdefs.h <<_ACEOF | 8161 | cat >>confdefs.h <<_ACEOF |
| 6525 | #define HAVE_STRUCT_TM_TM_ZONE 1 | 8162 | #define HAVE_STRUCT_TM_TM_ZONE 1 |
| @@ -6530,27 +8167,91 @@ fi | |||
| 6530 | 8167 | ||
| 6531 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 8168 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
| 6532 | 8169 | ||
| 6533 | $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 8170 | cat >>confdefs.h <<\_ACEOF |
| 8171 | #define HAVE_TM_ZONE 1 | ||
| 8172 | _ACEOF | ||
| 6534 | 8173 | ||
| 6535 | else | 8174 | else |
| 6536 | ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 8175 | { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
| 6537 | " | 8176 | $as_echo_n "checking whether tzname is declared... " >&6; } |
| 6538 | if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8177 | if test "${ac_cv_have_decl_tzname+set}" = set; then |
| 6539 | ac_have_decl=1 | 8178 | $as_echo_n "(cached) " >&6 |
| 6540 | else | 8179 | else |
| 6541 | ac_have_decl=0 | 8180 | cat >conftest.$ac_ext <<_ACEOF |
| 8181 | /* confdefs.h. */ | ||
| 8182 | _ACEOF | ||
| 8183 | cat confdefs.h >>conftest.$ac_ext | ||
| 8184 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8185 | /* end confdefs.h. */ | ||
| 8186 | #include <time.h> | ||
| 8187 | |||
| 8188 | int | ||
| 8189 | main () | ||
| 8190 | { | ||
| 8191 | #ifndef tzname | ||
| 8192 | (void) tzname; | ||
| 8193 | #endif | ||
| 8194 | |||
| 8195 | ; | ||
| 8196 | return 0; | ||
| 8197 | } | ||
| 8198 | _ACEOF | ||
| 8199 | rm -f conftest.$ac_objext | ||
| 8200 | if { (ac_try="$ac_compile" | ||
| 8201 | case "(($ac_try" in | ||
| 8202 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8203 | *) ac_try_echo=$ac_try;; | ||
| 8204 | esac | ||
| 8205 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8206 | $as_echo "$ac_try_echo") >&5 | ||
| 8207 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8208 | ac_status=$? | ||
| 8209 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8210 | rm -f conftest.er1 | ||
| 8211 | cat conftest.err >&5 | ||
| 8212 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8213 | (exit $ac_status); } && { | ||
| 8214 | test -z "$ac_c_werror_flag" || | ||
| 8215 | test ! -s conftest.err | ||
| 8216 | } && test -s conftest.$ac_objext; then | ||
| 8217 | ac_cv_have_decl_tzname=yes | ||
| 8218 | else | ||
| 8219 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8220 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8221 | |||
| 8222 | ac_cv_have_decl_tzname=no | ||
| 6542 | fi | 8223 | fi |
| 6543 | 8224 | ||
| 8225 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8226 | fi | ||
| 8227 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 8228 | $as_echo "$ac_cv_have_decl_tzname" >&6; } | ||
| 8229 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 8230 | |||
| 6544 | cat >>confdefs.h <<_ACEOF | 8231 | cat >>confdefs.h <<_ACEOF |
| 6545 | #define HAVE_DECL_TZNAME $ac_have_decl | 8232 | #define HAVE_DECL_TZNAME 1 |
| 8233 | _ACEOF | ||
| 8234 | |||
| 8235 | |||
| 8236 | else | ||
| 8237 | cat >>confdefs.h <<_ACEOF | ||
| 8238 | #define HAVE_DECL_TZNAME 0 | ||
| 6546 | _ACEOF | 8239 | _ACEOF |
| 6547 | 8240 | ||
| 6548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 8241 | |
| 8242 | fi | ||
| 8243 | |||
| 8244 | |||
| 8245 | { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 6549 | $as_echo_n "checking for tzname... " >&6; } | 8246 | $as_echo_n "checking for tzname... " >&6; } |
| 6550 | if test "${ac_cv_var_tzname+set}" = set; then : | 8247 | if test "${ac_cv_var_tzname+set}" = set; then |
| 6551 | $as_echo_n "(cached) " >&6 | 8248 | $as_echo_n "(cached) " >&6 |
| 6552 | else | 8249 | else |
| 6553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8250 | cat >conftest.$ac_ext <<_ACEOF |
| 8251 | /* confdefs.h. */ | ||
| 8252 | _ACEOF | ||
| 8253 | cat confdefs.h >>conftest.$ac_ext | ||
| 8254 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6554 | /* end confdefs.h. */ | 8255 | /* end confdefs.h. */ |
| 6555 | #include <time.h> | 8256 | #include <time.h> |
| 6556 | #if !HAVE_DECL_TZNAME | 8257 | #if !HAVE_DECL_TZNAME |
| @@ -6565,40 +8266,265 @@ return tzname[0][0]; | |||
| 6565 | return 0; | 8266 | return 0; |
| 6566 | } | 8267 | } |
| 6567 | _ACEOF | 8268 | _ACEOF |
| 6568 | if ac_fn_c_try_link "$LINENO"; then : | 8269 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8270 | if { (ac_try="$ac_link" | ||
| 8271 | case "(($ac_try" in | ||
| 8272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8273 | *) ac_try_echo=$ac_try;; | ||
| 8274 | esac | ||
| 8275 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8276 | $as_echo "$ac_try_echo") >&5 | ||
| 8277 | (eval "$ac_link") 2>conftest.er1 | ||
| 8278 | ac_status=$? | ||
| 8279 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8280 | rm -f conftest.er1 | ||
| 8281 | cat conftest.err >&5 | ||
| 8282 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8283 | (exit $ac_status); } && { | ||
| 8284 | test -z "$ac_c_werror_flag" || | ||
| 8285 | test ! -s conftest.err | ||
| 8286 | } && test -s conftest$ac_exeext && { | ||
| 8287 | test "$cross_compiling" = yes || | ||
| 8288 | $as_test_x conftest$ac_exeext | ||
| 8289 | }; then | ||
| 6569 | ac_cv_var_tzname=yes | 8290 | ac_cv_var_tzname=yes |
| 6570 | else | 8291 | else |
| 6571 | ac_cv_var_tzname=no | 8292 | $as_echo "$as_me: failed program was:" >&5 |
| 8293 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8294 | |||
| 8295 | ac_cv_var_tzname=no | ||
| 6572 | fi | 8296 | fi |
| 6573 | rm -f core conftest.err conftest.$ac_objext \ | 8297 | |
| 6574 | conftest$ac_exeext conftest.$ac_ext | 8298 | rm -rf conftest.dSYM |
| 8299 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8300 | conftest$ac_exeext conftest.$ac_ext | ||
| 6575 | fi | 8301 | fi |
| 6576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 | 8302 | { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
| 6577 | $as_echo "$ac_cv_var_tzname" >&6; } | 8303 | $as_echo "$ac_cv_var_tzname" >&6; } |
| 6578 | if test $ac_cv_var_tzname = yes; then | 8304 | if test $ac_cv_var_tzname = yes; then |
| 6579 | 8305 | ||
| 6580 | $as_echo "#define HAVE_TZNAME 1" >>confdefs.h | 8306 | cat >>confdefs.h <<\_ACEOF |
| 8307 | #define HAVE_TZNAME 1 | ||
| 8308 | _ACEOF | ||
| 6581 | 8309 | ||
| 6582 | fi | 8310 | fi |
| 6583 | fi | 8311 | fi |
| 6584 | 8312 | ||
| 6585 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8313 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
| 6586 | " | 8314 | $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } |
| 6587 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8315 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
| 8316 | $as_echo_n "(cached) " >&6 | ||
| 8317 | else | ||
| 8318 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8319 | /* confdefs.h. */ | ||
| 8320 | _ACEOF | ||
| 8321 | cat confdefs.h >>conftest.$ac_ext | ||
| 8322 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8323 | /* end confdefs.h. */ | ||
| 8324 | #include <time.h> | ||
| 8325 | |||
| 8326 | int | ||
| 8327 | main () | ||
| 8328 | { | ||
| 8329 | static struct tm ac_aggr; | ||
| 8330 | if (ac_aggr.tm_gmtoff) | ||
| 8331 | return 0; | ||
| 8332 | ; | ||
| 8333 | return 0; | ||
| 8334 | } | ||
| 8335 | _ACEOF | ||
| 8336 | rm -f conftest.$ac_objext | ||
| 8337 | if { (ac_try="$ac_compile" | ||
| 8338 | case "(($ac_try" in | ||
| 8339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8340 | *) ac_try_echo=$ac_try;; | ||
| 8341 | esac | ||
| 8342 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8343 | $as_echo "$ac_try_echo") >&5 | ||
| 8344 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8345 | ac_status=$? | ||
| 8346 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8347 | rm -f conftest.er1 | ||
| 8348 | cat conftest.err >&5 | ||
| 8349 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8350 | (exit $ac_status); } && { | ||
| 8351 | test -z "$ac_c_werror_flag" || | ||
| 8352 | test ! -s conftest.err | ||
| 8353 | } && test -s conftest.$ac_objext; then | ||
| 8354 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8355 | else | ||
| 8356 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8357 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6588 | 8358 | ||
| 6589 | $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 8359 | cat >conftest.$ac_ext <<_ACEOF |
| 8360 | /* confdefs.h. */ | ||
| 8361 | _ACEOF | ||
| 8362 | cat confdefs.h >>conftest.$ac_ext | ||
| 8363 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8364 | /* end confdefs.h. */ | ||
| 8365 | #include <time.h> | ||
| 8366 | |||
| 8367 | int | ||
| 8368 | main () | ||
| 8369 | { | ||
| 8370 | static struct tm ac_aggr; | ||
| 8371 | if (sizeof ac_aggr.tm_gmtoff) | ||
| 8372 | return 0; | ||
| 8373 | ; | ||
| 8374 | return 0; | ||
| 8375 | } | ||
| 8376 | _ACEOF | ||
| 8377 | rm -f conftest.$ac_objext | ||
| 8378 | if { (ac_try="$ac_compile" | ||
| 8379 | case "(($ac_try" in | ||
| 8380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8381 | *) ac_try_echo=$ac_try;; | ||
| 8382 | esac | ||
| 8383 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8384 | $as_echo "$ac_try_echo") >&5 | ||
| 8385 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8386 | ac_status=$? | ||
| 8387 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8388 | rm -f conftest.er1 | ||
| 8389 | cat conftest.err >&5 | ||
| 8390 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8391 | (exit $ac_status); } && { | ||
| 8392 | test -z "$ac_c_werror_flag" || | ||
| 8393 | test ! -s conftest.err | ||
| 8394 | } && test -s conftest.$ac_objext; then | ||
| 8395 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8396 | else | ||
| 8397 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8398 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8399 | |||
| 8400 | ac_cv_member_struct_tm_tm_gmtoff=no | ||
| 8401 | fi | ||
| 8402 | |||
| 8403 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8404 | fi | ||
| 8405 | |||
| 8406 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8407 | fi | ||
| 8408 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | ||
| 8409 | $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | ||
| 8410 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | ||
| 8411 | |||
| 8412 | cat >>confdefs.h <<\_ACEOF | ||
| 8413 | #define HAVE_TM_GMTOFF 1 | ||
| 8414 | _ACEOF | ||
| 6590 | 8415 | ||
| 6591 | fi | 8416 | fi |
| 6592 | 8417 | ||
| 6593 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default | 8418 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 |
| 8419 | $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | ||
| 8420 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | ||
| 8421 | $as_echo_n "(cached) " >&6 | ||
| 8422 | else | ||
| 8423 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8424 | /* confdefs.h. */ | ||
| 8425 | _ACEOF | ||
| 8426 | cat confdefs.h >>conftest.$ac_ext | ||
| 8427 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8428 | /* end confdefs.h. */ | ||
| 8429 | $ac_includes_default | ||
| 8430 | #if HAVE_SYS_SOCKET_H | ||
| 8431 | #include <sys/socket.h> | ||
| 8432 | #endif | ||
| 8433 | #if HAVE_NET_IF_H | ||
| 8434 | #include <net/if.h> | ||
| 8435 | #endif | ||
| 8436 | |||
| 8437 | int | ||
| 8438 | main () | ||
| 8439 | { | ||
| 8440 | static struct ifreq ac_aggr; | ||
| 8441 | if (ac_aggr.ifr_flags) | ||
| 8442 | return 0; | ||
| 8443 | ; | ||
| 8444 | return 0; | ||
| 8445 | } | ||
| 8446 | _ACEOF | ||
| 8447 | rm -f conftest.$ac_objext | ||
| 8448 | if { (ac_try="$ac_compile" | ||
| 8449 | case "(($ac_try" in | ||
| 8450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8451 | *) ac_try_echo=$ac_try;; | ||
| 8452 | esac | ||
| 8453 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8454 | $as_echo "$ac_try_echo") >&5 | ||
| 8455 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8456 | ac_status=$? | ||
| 8457 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8458 | rm -f conftest.er1 | ||
| 8459 | cat conftest.err >&5 | ||
| 8460 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8461 | (exit $ac_status); } && { | ||
| 8462 | test -z "$ac_c_werror_flag" || | ||
| 8463 | test ! -s conftest.err | ||
| 8464 | } && test -s conftest.$ac_objext; then | ||
| 8465 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8466 | else | ||
| 8467 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8468 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8469 | |||
| 8470 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8471 | /* confdefs.h. */ | ||
| 8472 | _ACEOF | ||
| 8473 | cat confdefs.h >>conftest.$ac_ext | ||
| 8474 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8475 | /* end confdefs.h. */ | ||
| 8476 | $ac_includes_default | ||
| 6594 | #if HAVE_SYS_SOCKET_H | 8477 | #if HAVE_SYS_SOCKET_H |
| 6595 | #include <sys/socket.h> | 8478 | #include <sys/socket.h> |
| 6596 | #endif | 8479 | #endif |
| 6597 | #if HAVE_NET_IF_H | 8480 | #if HAVE_NET_IF_H |
| 6598 | #include <net/if.h> | 8481 | #include <net/if.h> |
| 6599 | #endif | 8482 | #endif |
| 6600 | " | 8483 | |
| 6601 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8484 | int |
| 8485 | main () | ||
| 8486 | { | ||
| 8487 | static struct ifreq ac_aggr; | ||
| 8488 | if (sizeof ac_aggr.ifr_flags) | ||
| 8489 | return 0; | ||
| 8490 | ; | ||
| 8491 | return 0; | ||
| 8492 | } | ||
| 8493 | _ACEOF | ||
| 8494 | rm -f conftest.$ac_objext | ||
| 8495 | if { (ac_try="$ac_compile" | ||
| 8496 | case "(($ac_try" in | ||
| 8497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8498 | *) ac_try_echo=$ac_try;; | ||
| 8499 | esac | ||
| 8500 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8501 | $as_echo "$ac_try_echo") >&5 | ||
| 8502 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8503 | ac_status=$? | ||
| 8504 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8505 | rm -f conftest.er1 | ||
| 8506 | cat conftest.err >&5 | ||
| 8507 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8508 | (exit $ac_status); } && { | ||
| 8509 | test -z "$ac_c_werror_flag" || | ||
| 8510 | test ! -s conftest.err | ||
| 8511 | } && test -s conftest.$ac_objext; then | ||
| 8512 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8513 | else | ||
| 8514 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8515 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8516 | |||
| 8517 | ac_cv_member_struct_ifreq_ifr_flags=no | ||
| 8518 | fi | ||
| 8519 | |||
| 8520 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8521 | fi | ||
| 8522 | |||
| 8523 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8524 | fi | ||
| 8525 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | ||
| 8526 | $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | ||
| 8527 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | ||
| 6602 | 8528 | ||
| 6603 | cat >>confdefs.h <<_ACEOF | 8529 | cat >>confdefs.h <<_ACEOF |
| 6604 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8530 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
| @@ -6606,15 +8532,116 @@ _ACEOF | |||
| 6606 | 8532 | ||
| 6607 | 8533 | ||
| 6608 | fi | 8534 | fi |
| 6609 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default | 8535 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
| 8536 | $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | ||
| 8537 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | ||
| 8538 | $as_echo_n "(cached) " >&6 | ||
| 8539 | else | ||
| 8540 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8541 | /* confdefs.h. */ | ||
| 8542 | _ACEOF | ||
| 8543 | cat confdefs.h >>conftest.$ac_ext | ||
| 8544 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8545 | /* end confdefs.h. */ | ||
| 8546 | $ac_includes_default | ||
| 8547 | #if HAVE_SYS_SOCKET_H | ||
| 8548 | #include <sys/socket.h> | ||
| 8549 | #endif | ||
| 8550 | #if HAVE_NET_IF_H | ||
| 8551 | #include <net/if.h> | ||
| 8552 | #endif | ||
| 8553 | |||
| 8554 | int | ||
| 8555 | main () | ||
| 8556 | { | ||
| 8557 | static struct ifreq ac_aggr; | ||
| 8558 | if (ac_aggr.ifr_hwaddr) | ||
| 8559 | return 0; | ||
| 8560 | ; | ||
| 8561 | return 0; | ||
| 8562 | } | ||
| 8563 | _ACEOF | ||
| 8564 | rm -f conftest.$ac_objext | ||
| 8565 | if { (ac_try="$ac_compile" | ||
| 8566 | case "(($ac_try" in | ||
| 8567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8568 | *) ac_try_echo=$ac_try;; | ||
| 8569 | esac | ||
| 8570 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8571 | $as_echo "$ac_try_echo") >&5 | ||
| 8572 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8573 | ac_status=$? | ||
| 8574 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8575 | rm -f conftest.er1 | ||
| 8576 | cat conftest.err >&5 | ||
| 8577 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8578 | (exit $ac_status); } && { | ||
| 8579 | test -z "$ac_c_werror_flag" || | ||
| 8580 | test ! -s conftest.err | ||
| 8581 | } && test -s conftest.$ac_objext; then | ||
| 8582 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8583 | else | ||
| 8584 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8585 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8586 | |||
| 8587 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8588 | /* confdefs.h. */ | ||
| 8589 | _ACEOF | ||
| 8590 | cat confdefs.h >>conftest.$ac_ext | ||
| 8591 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8592 | /* end confdefs.h. */ | ||
| 8593 | $ac_includes_default | ||
| 6610 | #if HAVE_SYS_SOCKET_H | 8594 | #if HAVE_SYS_SOCKET_H |
| 6611 | #include <sys/socket.h> | 8595 | #include <sys/socket.h> |
| 6612 | #endif | 8596 | #endif |
| 6613 | #if HAVE_NET_IF_H | 8597 | #if HAVE_NET_IF_H |
| 6614 | #include <net/if.h> | 8598 | #include <net/if.h> |
| 6615 | #endif | 8599 | #endif |
| 6616 | " | 8600 | |
| 6617 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8601 | int |
| 8602 | main () | ||
| 8603 | { | ||
| 8604 | static struct ifreq ac_aggr; | ||
| 8605 | if (sizeof ac_aggr.ifr_hwaddr) | ||
| 8606 | return 0; | ||
| 8607 | ; | ||
| 8608 | return 0; | ||
| 8609 | } | ||
| 8610 | _ACEOF | ||
| 8611 | rm -f conftest.$ac_objext | ||
| 8612 | if { (ac_try="$ac_compile" | ||
| 8613 | case "(($ac_try" in | ||
| 8614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8615 | *) ac_try_echo=$ac_try;; | ||
| 8616 | esac | ||
| 8617 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8618 | $as_echo "$ac_try_echo") >&5 | ||
| 8619 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8620 | ac_status=$? | ||
| 8621 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8622 | rm -f conftest.er1 | ||
| 8623 | cat conftest.err >&5 | ||
| 8624 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8625 | (exit $ac_status); } && { | ||
| 8626 | test -z "$ac_c_werror_flag" || | ||
| 8627 | test ! -s conftest.err | ||
| 8628 | } && test -s conftest.$ac_objext; then | ||
| 8629 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8630 | else | ||
| 8631 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8632 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8633 | |||
| 8634 | ac_cv_member_struct_ifreq_ifr_hwaddr=no | ||
| 8635 | fi | ||
| 8636 | |||
| 8637 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8638 | fi | ||
| 8639 | |||
| 8640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8641 | fi | ||
| 8642 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | ||
| 8643 | $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | ||
| 8644 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | ||
| 6618 | 8645 | ||
| 6619 | cat >>confdefs.h <<_ACEOF | 8646 | cat >>confdefs.h <<_ACEOF |
| 6620 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 8647 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
| @@ -6622,15 +8649,116 @@ _ACEOF | |||
| 6622 | 8649 | ||
| 6623 | 8650 | ||
| 6624 | fi | 8651 | fi |
| 6625 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default | 8652 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
| 8653 | $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | ||
| 8654 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | ||
| 8655 | $as_echo_n "(cached) " >&6 | ||
| 8656 | else | ||
| 8657 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8658 | /* confdefs.h. */ | ||
| 8659 | _ACEOF | ||
| 8660 | cat confdefs.h >>conftest.$ac_ext | ||
| 8661 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8662 | /* end confdefs.h. */ | ||
| 8663 | $ac_includes_default | ||
| 6626 | #if HAVE_SYS_SOCKET_H | 8664 | #if HAVE_SYS_SOCKET_H |
| 6627 | #include <sys/socket.h> | 8665 | #include <sys/socket.h> |
| 6628 | #endif | 8666 | #endif |
| 6629 | #if HAVE_NET_IF_H | 8667 | #if HAVE_NET_IF_H |
| 6630 | #include <net/if.h> | 8668 | #include <net/if.h> |
| 6631 | #endif | 8669 | #endif |
| 6632 | " | 8670 | |
| 6633 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8671 | int |
| 8672 | main () | ||
| 8673 | { | ||
| 8674 | static struct ifreq ac_aggr; | ||
| 8675 | if (ac_aggr.ifr_netmask) | ||
| 8676 | return 0; | ||
| 8677 | ; | ||
| 8678 | return 0; | ||
| 8679 | } | ||
| 8680 | _ACEOF | ||
| 8681 | rm -f conftest.$ac_objext | ||
| 8682 | if { (ac_try="$ac_compile" | ||
| 8683 | case "(($ac_try" in | ||
| 8684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8685 | *) ac_try_echo=$ac_try;; | ||
| 8686 | esac | ||
| 8687 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8688 | $as_echo "$ac_try_echo") >&5 | ||
| 8689 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8690 | ac_status=$? | ||
| 8691 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8692 | rm -f conftest.er1 | ||
| 8693 | cat conftest.err >&5 | ||
| 8694 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8695 | (exit $ac_status); } && { | ||
| 8696 | test -z "$ac_c_werror_flag" || | ||
| 8697 | test ! -s conftest.err | ||
| 8698 | } && test -s conftest.$ac_objext; then | ||
| 8699 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8700 | else | ||
| 8701 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8703 | |||
| 8704 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8705 | /* confdefs.h. */ | ||
| 8706 | _ACEOF | ||
| 8707 | cat confdefs.h >>conftest.$ac_ext | ||
| 8708 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8709 | /* end confdefs.h. */ | ||
| 8710 | $ac_includes_default | ||
| 8711 | #if HAVE_SYS_SOCKET_H | ||
| 8712 | #include <sys/socket.h> | ||
| 8713 | #endif | ||
| 8714 | #if HAVE_NET_IF_H | ||
| 8715 | #include <net/if.h> | ||
| 8716 | #endif | ||
| 8717 | |||
| 8718 | int | ||
| 8719 | main () | ||
| 8720 | { | ||
| 8721 | static struct ifreq ac_aggr; | ||
| 8722 | if (sizeof ac_aggr.ifr_netmask) | ||
| 8723 | return 0; | ||
| 8724 | ; | ||
| 8725 | return 0; | ||
| 8726 | } | ||
| 8727 | _ACEOF | ||
| 8728 | rm -f conftest.$ac_objext | ||
| 8729 | if { (ac_try="$ac_compile" | ||
| 8730 | case "(($ac_try" in | ||
| 8731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8732 | *) ac_try_echo=$ac_try;; | ||
| 8733 | esac | ||
| 8734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8735 | $as_echo "$ac_try_echo") >&5 | ||
| 8736 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8737 | ac_status=$? | ||
| 8738 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8739 | rm -f conftest.er1 | ||
| 8740 | cat conftest.err >&5 | ||
| 8741 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8742 | (exit $ac_status); } && { | ||
| 8743 | test -z "$ac_c_werror_flag" || | ||
| 8744 | test ! -s conftest.err | ||
| 8745 | } && test -s conftest.$ac_objext; then | ||
| 8746 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8747 | else | ||
| 8748 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8749 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8750 | |||
| 8751 | ac_cv_member_struct_ifreq_ifr_netmask=no | ||
| 8752 | fi | ||
| 8753 | |||
| 8754 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8755 | fi | ||
| 8756 | |||
| 8757 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8758 | fi | ||
| 8759 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | ||
| 8760 | $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | ||
| 8761 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | ||
| 6634 | 8762 | ||
| 6635 | cat >>confdefs.h <<_ACEOF | 8763 | cat >>confdefs.h <<_ACEOF |
| 6636 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 8764 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
| @@ -6638,15 +8766,116 @@ _ACEOF | |||
| 6638 | 8766 | ||
| 6639 | 8767 | ||
| 6640 | fi | 8768 | fi |
| 6641 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default | 8769 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
| 8770 | $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | ||
| 8771 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | ||
| 8772 | $as_echo_n "(cached) " >&6 | ||
| 8773 | else | ||
| 8774 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8775 | /* confdefs.h. */ | ||
| 8776 | _ACEOF | ||
| 8777 | cat confdefs.h >>conftest.$ac_ext | ||
| 8778 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8779 | /* end confdefs.h. */ | ||
| 8780 | $ac_includes_default | ||
| 6642 | #if HAVE_SYS_SOCKET_H | 8781 | #if HAVE_SYS_SOCKET_H |
| 6643 | #include <sys/socket.h> | 8782 | #include <sys/socket.h> |
| 6644 | #endif | 8783 | #endif |
| 6645 | #if HAVE_NET_IF_H | 8784 | #if HAVE_NET_IF_H |
| 6646 | #include <net/if.h> | 8785 | #include <net/if.h> |
| 6647 | #endif | 8786 | #endif |
| 6648 | " | 8787 | |
| 6649 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 8788 | int |
| 8789 | main () | ||
| 8790 | { | ||
| 8791 | static struct ifreq ac_aggr; | ||
| 8792 | if (ac_aggr.ifr_broadaddr) | ||
| 8793 | return 0; | ||
| 8794 | ; | ||
| 8795 | return 0; | ||
| 8796 | } | ||
| 8797 | _ACEOF | ||
| 8798 | rm -f conftest.$ac_objext | ||
| 8799 | if { (ac_try="$ac_compile" | ||
| 8800 | case "(($ac_try" in | ||
| 8801 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8802 | *) ac_try_echo=$ac_try;; | ||
| 8803 | esac | ||
| 8804 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8805 | $as_echo "$ac_try_echo") >&5 | ||
| 8806 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8807 | ac_status=$? | ||
| 8808 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8809 | rm -f conftest.er1 | ||
| 8810 | cat conftest.err >&5 | ||
| 8811 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8812 | (exit $ac_status); } && { | ||
| 8813 | test -z "$ac_c_werror_flag" || | ||
| 8814 | test ! -s conftest.err | ||
| 8815 | } && test -s conftest.$ac_objext; then | ||
| 8816 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8817 | else | ||
| 8818 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8819 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8820 | |||
| 8821 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8822 | /* confdefs.h. */ | ||
| 8823 | _ACEOF | ||
| 8824 | cat confdefs.h >>conftest.$ac_ext | ||
| 8825 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8826 | /* end confdefs.h. */ | ||
| 8827 | $ac_includes_default | ||
| 8828 | #if HAVE_SYS_SOCKET_H | ||
| 8829 | #include <sys/socket.h> | ||
| 8830 | #endif | ||
| 8831 | #if HAVE_NET_IF_H | ||
| 8832 | #include <net/if.h> | ||
| 8833 | #endif | ||
| 8834 | |||
| 8835 | int | ||
| 8836 | main () | ||
| 8837 | { | ||
| 8838 | static struct ifreq ac_aggr; | ||
| 8839 | if (sizeof ac_aggr.ifr_broadaddr) | ||
| 8840 | return 0; | ||
| 8841 | ; | ||
| 8842 | return 0; | ||
| 8843 | } | ||
| 8844 | _ACEOF | ||
| 8845 | rm -f conftest.$ac_objext | ||
| 8846 | if { (ac_try="$ac_compile" | ||
| 8847 | case "(($ac_try" in | ||
| 8848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8849 | *) ac_try_echo=$ac_try;; | ||
| 8850 | esac | ||
| 8851 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8852 | $as_echo "$ac_try_echo") >&5 | ||
| 8853 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8854 | ac_status=$? | ||
| 8855 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8856 | rm -f conftest.er1 | ||
| 8857 | cat conftest.err >&5 | ||
| 8858 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8859 | (exit $ac_status); } && { | ||
| 8860 | test -z "$ac_c_werror_flag" || | ||
| 8861 | test ! -s conftest.err | ||
| 8862 | } && test -s conftest.$ac_objext; then | ||
| 8863 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8864 | else | ||
| 8865 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8866 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8867 | |||
| 8868 | ac_cv_member_struct_ifreq_ifr_broadaddr=no | ||
| 8869 | fi | ||
| 8870 | |||
| 8871 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8872 | fi | ||
| 8873 | |||
| 8874 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8875 | fi | ||
| 8876 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | ||
| 8877 | $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | ||
| 8878 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | ||
| 6650 | 8879 | ||
| 6651 | cat >>confdefs.h <<_ACEOF | 8880 | cat >>confdefs.h <<_ACEOF |
| 6652 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 8881 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
| @@ -6654,15 +8883,116 @@ _ACEOF | |||
| 6654 | 8883 | ||
| 6655 | 8884 | ||
| 6656 | fi | 8885 | fi |
| 6657 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default | 8886 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
| 8887 | $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | ||
| 8888 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | ||
| 8889 | $as_echo_n "(cached) " >&6 | ||
| 8890 | else | ||
| 8891 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8892 | /* confdefs.h. */ | ||
| 8893 | _ACEOF | ||
| 8894 | cat confdefs.h >>conftest.$ac_ext | ||
| 8895 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8896 | /* end confdefs.h. */ | ||
| 8897 | $ac_includes_default | ||
| 6658 | #if HAVE_SYS_SOCKET_H | 8898 | #if HAVE_SYS_SOCKET_H |
| 6659 | #include <sys/socket.h> | 8899 | #include <sys/socket.h> |
| 6660 | #endif | 8900 | #endif |
| 6661 | #if HAVE_NET_IF_H | 8901 | #if HAVE_NET_IF_H |
| 6662 | #include <net/if.h> | 8902 | #include <net/if.h> |
| 6663 | #endif | 8903 | #endif |
| 6664 | " | 8904 | |
| 6665 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 8905 | int |
| 8906 | main () | ||
| 8907 | { | ||
| 8908 | static struct ifreq ac_aggr; | ||
| 8909 | if (ac_aggr.ifr_addr) | ||
| 8910 | return 0; | ||
| 8911 | ; | ||
| 8912 | return 0; | ||
| 8913 | } | ||
| 8914 | _ACEOF | ||
| 8915 | rm -f conftest.$ac_objext | ||
| 8916 | if { (ac_try="$ac_compile" | ||
| 8917 | case "(($ac_try" in | ||
| 8918 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8919 | *) ac_try_echo=$ac_try;; | ||
| 8920 | esac | ||
| 8921 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8922 | $as_echo "$ac_try_echo") >&5 | ||
| 8923 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8924 | ac_status=$? | ||
| 8925 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8926 | rm -f conftest.er1 | ||
| 8927 | cat conftest.err >&5 | ||
| 8928 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8929 | (exit $ac_status); } && { | ||
| 8930 | test -z "$ac_c_werror_flag" || | ||
| 8931 | test ! -s conftest.err | ||
| 8932 | } && test -s conftest.$ac_objext; then | ||
| 8933 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8934 | else | ||
| 8935 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8936 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8937 | |||
| 8938 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8939 | /* confdefs.h. */ | ||
| 8940 | _ACEOF | ||
| 8941 | cat confdefs.h >>conftest.$ac_ext | ||
| 8942 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8943 | /* end confdefs.h. */ | ||
| 8944 | $ac_includes_default | ||
| 8945 | #if HAVE_SYS_SOCKET_H | ||
| 8946 | #include <sys/socket.h> | ||
| 8947 | #endif | ||
| 8948 | #if HAVE_NET_IF_H | ||
| 8949 | #include <net/if.h> | ||
| 8950 | #endif | ||
| 8951 | |||
| 8952 | int | ||
| 8953 | main () | ||
| 8954 | { | ||
| 8955 | static struct ifreq ac_aggr; | ||
| 8956 | if (sizeof ac_aggr.ifr_addr) | ||
| 8957 | return 0; | ||
| 8958 | ; | ||
| 8959 | return 0; | ||
| 8960 | } | ||
| 8961 | _ACEOF | ||
| 8962 | rm -f conftest.$ac_objext | ||
| 8963 | if { (ac_try="$ac_compile" | ||
| 8964 | case "(($ac_try" in | ||
| 8965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8966 | *) ac_try_echo=$ac_try;; | ||
| 8967 | esac | ||
| 8968 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8969 | $as_echo "$ac_try_echo") >&5 | ||
| 8970 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8971 | ac_status=$? | ||
| 8972 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8973 | rm -f conftest.er1 | ||
| 8974 | cat conftest.err >&5 | ||
| 8975 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8976 | (exit $ac_status); } && { | ||
| 8977 | test -z "$ac_c_werror_flag" || | ||
| 8978 | test ! -s conftest.err | ||
| 8979 | } && test -s conftest.$ac_objext; then | ||
| 8980 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8981 | else | ||
| 8982 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8983 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8984 | |||
| 8985 | ac_cv_member_struct_ifreq_ifr_addr=no | ||
| 8986 | fi | ||
| 8987 | |||
| 8988 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8989 | fi | ||
| 8990 | |||
| 8991 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8992 | fi | ||
| 8993 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | ||
| 8994 | $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | ||
| 8995 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | ||
| 6666 | 8996 | ||
| 6667 | cat >>confdefs.h <<_ACEOF | 8997 | cat >>confdefs.h <<_ACEOF |
| 6668 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 8998 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
| @@ -6673,28 +9003,36 @@ fi | |||
| 6673 | 9003 | ||
| 6674 | 9004 | ||
| 6675 | 9005 | ||
| 6676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 9006 | { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 |
| 6677 | $as_echo_n "checking for function prototypes... " >&6; } | 9007 | $as_echo_n "checking for function prototypes... " >&6; } |
| 6678 | if test "$ac_cv_prog_cc_c89" != no; then | 9008 | if test "$ac_cv_prog_cc_c89" != no; then |
| 6679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9009 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6680 | $as_echo "yes" >&6; } | 9010 | $as_echo "yes" >&6; } |
| 6681 | 9011 | ||
| 6682 | $as_echo "#define PROTOTYPES 1" >>confdefs.h | 9012 | cat >>confdefs.h <<\_ACEOF |
| 9013 | #define PROTOTYPES 1 | ||
| 9014 | _ACEOF | ||
| 6683 | 9015 | ||
| 6684 | 9016 | ||
| 6685 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 9017 | cat >>confdefs.h <<\_ACEOF |
| 9018 | #define __PROTOTYPES 1 | ||
| 9019 | _ACEOF | ||
| 6686 | 9020 | ||
| 6687 | else | 9021 | else |
| 6688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9022 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6689 | $as_echo "no" >&6; } | 9023 | $as_echo "no" >&6; } |
| 6690 | fi | 9024 | fi |
| 6691 | 9025 | ||
| 6692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 9026 | { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 |
| 6693 | $as_echo_n "checking for working volatile... " >&6; } | 9027 | $as_echo_n "checking for working volatile... " >&6; } |
| 6694 | if test "${ac_cv_c_volatile+set}" = set; then : | 9028 | if test "${ac_cv_c_volatile+set}" = set; then |
| 6695 | $as_echo_n "(cached) " >&6 | 9029 | $as_echo_n "(cached) " >&6 |
| 6696 | else | 9030 | else |
| 6697 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9031 | cat >conftest.$ac_ext <<_ACEOF |
| 9032 | /* confdefs.h. */ | ||
| 9033 | _ACEOF | ||
| 9034 | cat confdefs.h >>conftest.$ac_ext | ||
| 9035 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6698 | /* end confdefs.h. */ | 9036 | /* end confdefs.h. */ |
| 6699 | 9037 | ||
| 6700 | int | 9038 | int |
| @@ -6708,27 +9046,54 @@ return !x && !y; | |||
| 6708 | return 0; | 9046 | return 0; |
| 6709 | } | 9047 | } |
| 6710 | _ACEOF | 9048 | _ACEOF |
| 6711 | if ac_fn_c_try_compile "$LINENO"; then : | 9049 | rm -f conftest.$ac_objext |
| 9050 | if { (ac_try="$ac_compile" | ||
| 9051 | case "(($ac_try" in | ||
| 9052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9053 | *) ac_try_echo=$ac_try;; | ||
| 9054 | esac | ||
| 9055 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9056 | $as_echo "$ac_try_echo") >&5 | ||
| 9057 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9058 | ac_status=$? | ||
| 9059 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9060 | rm -f conftest.er1 | ||
| 9061 | cat conftest.err >&5 | ||
| 9062 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9063 | (exit $ac_status); } && { | ||
| 9064 | test -z "$ac_c_werror_flag" || | ||
| 9065 | test ! -s conftest.err | ||
| 9066 | } && test -s conftest.$ac_objext; then | ||
| 6712 | ac_cv_c_volatile=yes | 9067 | ac_cv_c_volatile=yes |
| 6713 | else | 9068 | else |
| 6714 | ac_cv_c_volatile=no | 9069 | $as_echo "$as_me: failed program was:" >&5 |
| 9070 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9071 | |||
| 9072 | ac_cv_c_volatile=no | ||
| 6715 | fi | 9073 | fi |
| 9074 | |||
| 6716 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6717 | fi | 9076 | fi |
| 6718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 | 9077 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
| 6719 | $as_echo "$ac_cv_c_volatile" >&6; } | 9078 | $as_echo "$ac_cv_c_volatile" >&6; } |
| 6720 | if test $ac_cv_c_volatile = no; then | 9079 | if test $ac_cv_c_volatile = no; then |
| 6721 | 9080 | ||
| 6722 | $as_echo "#define volatile /**/" >>confdefs.h | 9081 | cat >>confdefs.h <<\_ACEOF |
| 9082 | #define volatile /**/ | ||
| 9083 | _ACEOF | ||
| 6723 | 9084 | ||
| 6724 | fi | 9085 | fi |
| 6725 | 9086 | ||
| 6726 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 9087 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 6727 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 9088 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 6728 | if test "${ac_cv_c_const+set}" = set; then : | 9089 | if test "${ac_cv_c_const+set}" = set; then |
| 6729 | $as_echo_n "(cached) " >&6 | 9090 | $as_echo_n "(cached) " >&6 |
| 6730 | else | 9091 | else |
| 6731 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9092 | cat >conftest.$ac_ext <<_ACEOF |
| 9093 | /* confdefs.h. */ | ||
| 9094 | _ACEOF | ||
| 9095 | cat confdefs.h >>conftest.$ac_ext | ||
| 9096 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6732 | /* end confdefs.h. */ | 9097 | /* end confdefs.h. */ |
| 6733 | 9098 | ||
| 6734 | int | 9099 | int |
| @@ -6788,27 +9153,54 @@ main () | |||
| 6788 | return 0; | 9153 | return 0; |
| 6789 | } | 9154 | } |
| 6790 | _ACEOF | 9155 | _ACEOF |
| 6791 | if ac_fn_c_try_compile "$LINENO"; then : | 9156 | rm -f conftest.$ac_objext |
| 9157 | if { (ac_try="$ac_compile" | ||
| 9158 | case "(($ac_try" in | ||
| 9159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9160 | *) ac_try_echo=$ac_try;; | ||
| 9161 | esac | ||
| 9162 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9163 | $as_echo "$ac_try_echo") >&5 | ||
| 9164 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9165 | ac_status=$? | ||
| 9166 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9167 | rm -f conftest.er1 | ||
| 9168 | cat conftest.err >&5 | ||
| 9169 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9170 | (exit $ac_status); } && { | ||
| 9171 | test -z "$ac_c_werror_flag" || | ||
| 9172 | test ! -s conftest.err | ||
| 9173 | } && test -s conftest.$ac_objext; then | ||
| 6792 | ac_cv_c_const=yes | 9174 | ac_cv_c_const=yes |
| 6793 | else | 9175 | else |
| 6794 | ac_cv_c_const=no | 9176 | $as_echo "$as_me: failed program was:" >&5 |
| 9177 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9178 | |||
| 9179 | ac_cv_c_const=no | ||
| 6795 | fi | 9180 | fi |
| 9181 | |||
| 6796 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6797 | fi | 9183 | fi |
| 6798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 9184 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 6799 | $as_echo "$ac_cv_c_const" >&6; } | 9185 | $as_echo "$ac_cv_c_const" >&6; } |
| 6800 | if test $ac_cv_c_const = no; then | 9186 | if test $ac_cv_c_const = no; then |
| 6801 | 9187 | ||
| 6802 | $as_echo "#define const /**/" >>confdefs.h | 9188 | cat >>confdefs.h <<\_ACEOF |
| 9189 | #define const /**/ | ||
| 9190 | _ACEOF | ||
| 6803 | 9191 | ||
| 6804 | fi | 9192 | fi |
| 6805 | 9193 | ||
| 6806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 9194 | { $as_echo "$as_me:$LINENO: checking for void * support" >&5 |
| 6807 | $as_echo_n "checking for void * support... " >&6; } | 9195 | $as_echo_n "checking for void * support... " >&6; } |
| 6808 | if test "${emacs_cv_void_star+set}" = set; then : | 9196 | if test "${emacs_cv_void_star+set}" = set; then |
| 6809 | $as_echo_n "(cached) " >&6 | 9197 | $as_echo_n "(cached) " >&6 |
| 6810 | else | 9198 | else |
| 6811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9199 | cat >conftest.$ac_ext <<_ACEOF |
| 9200 | /* confdefs.h. */ | ||
| 9201 | _ACEOF | ||
| 9202 | cat confdefs.h >>conftest.$ac_ext | ||
| 9203 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6812 | /* end confdefs.h. */ | 9204 | /* end confdefs.h. */ |
| 6813 | 9205 | ||
| 6814 | int | 9206 | int |
| @@ -6819,31 +9211,57 @@ void * foo; | |||
| 6819 | return 0; | 9211 | return 0; |
| 6820 | } | 9212 | } |
| 6821 | _ACEOF | 9213 | _ACEOF |
| 6822 | if ac_fn_c_try_compile "$LINENO"; then : | 9214 | rm -f conftest.$ac_objext |
| 9215 | if { (ac_try="$ac_compile" | ||
| 9216 | case "(($ac_try" in | ||
| 9217 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9218 | *) ac_try_echo=$ac_try;; | ||
| 9219 | esac | ||
| 9220 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9221 | $as_echo "$ac_try_echo") >&5 | ||
| 9222 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9223 | ac_status=$? | ||
| 9224 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9225 | rm -f conftest.er1 | ||
| 9226 | cat conftest.err >&5 | ||
| 9227 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9228 | (exit $ac_status); } && { | ||
| 9229 | test -z "$ac_c_werror_flag" || | ||
| 9230 | test ! -s conftest.err | ||
| 9231 | } && test -s conftest.$ac_objext; then | ||
| 6823 | emacs_cv_void_star=yes | 9232 | emacs_cv_void_star=yes |
| 6824 | else | 9233 | else |
| 6825 | emacs_cv_void_star=no | 9234 | $as_echo "$as_me: failed program was:" >&5 |
| 9235 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9236 | |||
| 9237 | emacs_cv_void_star=no | ||
| 6826 | fi | 9238 | fi |
| 9239 | |||
| 6827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9240 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6828 | fi | 9241 | fi |
| 6829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 | 9242 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
| 6830 | $as_echo "$emacs_cv_void_star" >&6; } | 9243 | $as_echo "$emacs_cv_void_star" >&6; } |
| 6831 | if test $emacs_cv_void_star = yes; then | 9244 | if test $emacs_cv_void_star = yes; then |
| 6832 | $as_echo "#define POINTER_TYPE void" >>confdefs.h | 9245 | cat >>confdefs.h <<\_ACEOF |
| 9246 | #define POINTER_TYPE void | ||
| 9247 | _ACEOF | ||
| 6833 | 9248 | ||
| 6834 | else | 9249 | else |
| 6835 | $as_echo "#define POINTER_TYPE char" >>confdefs.h | 9250 | cat >>confdefs.h <<\_ACEOF |
| 9251 | #define POINTER_TYPE char | ||
| 9252 | _ACEOF | ||
| 6836 | 9253 | ||
| 6837 | fi | 9254 | fi |
| 6838 | 9255 | ||
| 6839 | 9256 | ||
| 6840 | 9257 | ||
| 6841 | 9258 | ||
| 6842 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9259 | |
| 9260 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 6843 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 9261 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6844 | set x ${MAKE-make} | 9262 | set x ${MAKE-make} |
| 6845 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 9263 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6846 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 9264 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6847 | $as_echo_n "(cached) " >&6 | 9265 | $as_echo_n "(cached) " >&6 |
| 6848 | else | 9266 | else |
| 6849 | cat >conftest.make <<\_ACEOF | 9267 | cat >conftest.make <<\_ACEOF |
| @@ -6861,18 +9279,18 @@ esac | |||
| 6861 | rm -f conftest.make | 9279 | rm -f conftest.make |
| 6862 | fi | 9280 | fi |
| 6863 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 9281 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9282 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6865 | $as_echo "yes" >&6; } | 9283 | $as_echo "yes" >&6; } |
| 6866 | SET_MAKE= | 9284 | SET_MAKE= |
| 6867 | else | 9285 | else |
| 6868 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9286 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6869 | $as_echo "no" >&6; } | 9287 | $as_echo "no" >&6; } |
| 6870 | SET_MAKE="MAKE=${MAKE-make}" | 9288 | SET_MAKE="MAKE=${MAKE-make}" |
| 6871 | fi | 9289 | fi |
| 6872 | 9290 | ||
| 6873 | 9291 | ||
| 6874 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 9292 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
| 6875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 | 9293 | { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 |
| 6876 | $as_echo_n "checking whether we are using GNU Make... " >&6; } | 9294 | $as_echo_n "checking whether we are using GNU Make... " >&6; } |
| 6877 | HAVE_GNU_MAKE=no | 9295 | HAVE_GNU_MAKE=no |
| 6878 | testval=`make --version 2>/dev/null | grep 'GNU Make'` | 9296 | testval=`make --version 2>/dev/null | grep 'GNU Make'` |
| @@ -6881,14 +9299,18 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; } | |||
| 6881 | else | 9299 | else |
| 6882 | ac_enable_autodepend=no | 9300 | ac_enable_autodepend=no |
| 6883 | fi | 9301 | fi |
| 6884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 | 9302 | { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 |
| 6885 | $as_echo "$HAVE_GNU_MAKE" >&6; } | 9303 | $as_echo "$HAVE_GNU_MAKE" >&6; } |
| 6886 | if test $HAVE_GNU_MAKE = yes; then | 9304 | if test $HAVE_GNU_MAKE = yes; then |
| 6887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9305 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 |
| 6888 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9306 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
| 6889 | SAVE_CFLAGS="$CFLAGS" | 9307 | SAVE_CFLAGS="$CFLAGS" |
| 6890 | CFLAGS="$CFLAGS -MMD -MF deps.d" | 9308 | CFLAGS="$CFLAGS -MMD -MF deps.d" |
| 6891 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9309 | cat >conftest.$ac_ext <<_ACEOF |
| 9310 | /* confdefs.h. */ | ||
| 9311 | _ACEOF | ||
| 9312 | cat confdefs.h >>conftest.$ac_ext | ||
| 9313 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6892 | /* end confdefs.h. */ | 9314 | /* end confdefs.h. */ |
| 6893 | 9315 | ||
| 6894 | int | 9316 | int |
| @@ -6899,28 +9321,51 @@ main () | |||
| 6899 | return 0; | 9321 | return 0; |
| 6900 | } | 9322 | } |
| 6901 | _ACEOF | 9323 | _ACEOF |
| 6902 | if ac_fn_c_try_compile "$LINENO"; then : | 9324 | rm -f conftest.$ac_objext |
| 6903 | 9325 | if { (ac_try="$ac_compile" | |
| 9326 | case "(($ac_try" in | ||
| 9327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9328 | *) ac_try_echo=$ac_try;; | ||
| 9329 | esac | ||
| 9330 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9331 | $as_echo "$ac_try_echo") >&5 | ||
| 9332 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9333 | ac_status=$? | ||
| 9334 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9335 | rm -f conftest.er1 | ||
| 9336 | cat conftest.err >&5 | ||
| 9337 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9338 | (exit $ac_status); } && { | ||
| 9339 | test -z "$ac_c_werror_flag" || | ||
| 9340 | test ! -s conftest.err | ||
| 9341 | } && test -s conftest.$ac_objext; then | ||
| 9342 | : | ||
| 6904 | else | 9343 | else |
| 6905 | ac_enable_autodepend=no | 9344 | $as_echo "$as_me: failed program was:" >&5 |
| 9345 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9346 | |||
| 9347 | ac_enable_autodepend=no | ||
| 6906 | fi | 9348 | fi |
| 9349 | |||
| 6907 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9350 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6908 | CFLAGS="$SAVE_CFLAGS" | 9351 | CFLAGS="$SAVE_CFLAGS" |
| 6909 | test -f deps.d || ac_enable_autodepend=no | 9352 | test -f deps.d || ac_enable_autodepend=no |
| 6910 | rm -rf deps.d | 9353 | rm -rf deps.d |
| 6911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 | 9354 | { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 |
| 6912 | $as_echo "$ac_enable_autodepend" >&6; } | 9355 | $as_echo "$ac_enable_autodepend" >&6; } |
| 6913 | fi | 9356 | fi |
| 6914 | if test $ac_enable_autodepend = yes; then | 9357 | if test $ac_enable_autodepend = yes; then |
| 6915 | 9358 | ||
| 6916 | $as_echo "#define AUTO_DEPEND 1" >>confdefs.h | 9359 | cat >>confdefs.h <<\_ACEOF |
| 9360 | #define AUTO_DEPEND 1 | ||
| 9361 | _ACEOF | ||
| 6917 | 9362 | ||
| 6918 | fi | 9363 | fi |
| 6919 | fi | 9364 | fi |
| 6920 | 9365 | ||
| 6921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 9366 | { $as_echo "$as_me:$LINENO: checking for long file names" >&5 |
| 6922 | $as_echo_n "checking for long file names... " >&6; } | 9367 | $as_echo_n "checking for long file names... " >&6; } |
| 6923 | if test "${ac_cv_sys_long_file_names+set}" = set; then : | 9368 | if test "${ac_cv_sys_long_file_names+set}" = set; then |
| 6924 | $as_echo_n "(cached) " >&6 | 9369 | $as_echo_n "(cached) " >&6 |
| 6925 | else | 9370 | else |
| 6926 | ac_cv_sys_long_file_names=yes | 9371 | ac_cv_sys_long_file_names=yes |
| @@ -6950,23 +9395,25 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib | |||
| 6950 | test $ac_cv_sys_long_file_names = no && break | 9395 | test $ac_cv_sys_long_file_names = no && break |
| 6951 | done | 9396 | done |
| 6952 | fi | 9397 | fi |
| 6953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 | 9398 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
| 6954 | $as_echo "$ac_cv_sys_long_file_names" >&6; } | 9399 | $as_echo "$ac_cv_sys_long_file_names" >&6; } |
| 6955 | if test $ac_cv_sys_long_file_names = yes; then | 9400 | if test $ac_cv_sys_long_file_names = yes; then |
| 6956 | 9401 | ||
| 6957 | $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h | 9402 | cat >>confdefs.h <<\_ACEOF |
| 9403 | #define HAVE_LONG_FILE_NAMES 1 | ||
| 9404 | _ACEOF | ||
| 6958 | 9405 | ||
| 6959 | fi | 9406 | fi |
| 6960 | 9407 | ||
| 6961 | 9408 | ||
| 6962 | #### Choose a window system. | 9409 | #### Choose a window system. |
| 6963 | 9410 | ||
| 6964 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9411 | { $as_echo "$as_me:$LINENO: checking for X" >&5 |
| 6965 | $as_echo_n "checking for X... " >&6; } | 9412 | $as_echo_n "checking for X... " >&6; } |
| 6966 | 9413 | ||
| 6967 | 9414 | ||
| 6968 | # Check whether --with-x was given. | 9415 | # Check whether --with-x was given. |
| 6969 | if test "${with_x+set}" = set; then : | 9416 | if test "${with_x+set}" = set; then |
| 6970 | withval=$with_x; | 9417 | withval=$with_x; |
| 6971 | fi | 9418 | fi |
| 6972 | 9419 | ||
| @@ -6976,8 +9423,10 @@ if test "x$with_x" = xno; then | |||
| 6976 | have_x=disabled | 9423 | have_x=disabled |
| 6977 | else | 9424 | else |
| 6978 | case $x_includes,$x_libraries in #( | 9425 | case $x_includes,$x_libraries in #( |
| 6979 | *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 9426 | *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
| 6980 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 9427 | $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
| 9428 | { (exit 1); exit 1; }; };; #( | ||
| 9429 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | ||
| 6981 | $as_echo_n "(cached) " >&6 | 9430 | $as_echo_n "(cached) " >&6 |
| 6982 | else | 9431 | else |
| 6983 | # One or both of the vars are not set, and there is no cached value. | 9432 | # One or both of the vars are not set, and there is no cached value. |
| @@ -7013,7 +9462,7 @@ _ACEOF | |||
| 7013 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9462 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 7014 | esac | 9463 | esac |
| 7015 | case $ac_im_usrlibdir in | 9464 | case $ac_im_usrlibdir in |
| 7016 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; | 9465 | /usr/lib | /lib) ;; |
| 7017 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9466 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 7018 | esac | 9467 | esac |
| 7019 | fi | 9468 | fi |
| @@ -7025,25 +9474,21 @@ fi | |||
| 7025 | # Check X11 before X11Rn because it is often a symlink to the current release. | 9474 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 7026 | ac_x_header_dirs=' | 9475 | ac_x_header_dirs=' |
| 7027 | /usr/X11/include | 9476 | /usr/X11/include |
| 7028 | /usr/X11R7/include | ||
| 7029 | /usr/X11R6/include | 9477 | /usr/X11R6/include |
| 7030 | /usr/X11R5/include | 9478 | /usr/X11R5/include |
| 7031 | /usr/X11R4/include | 9479 | /usr/X11R4/include |
| 7032 | 9480 | ||
| 7033 | /usr/include/X11 | 9481 | /usr/include/X11 |
| 7034 | /usr/include/X11R7 | ||
| 7035 | /usr/include/X11R6 | 9482 | /usr/include/X11R6 |
| 7036 | /usr/include/X11R5 | 9483 | /usr/include/X11R5 |
| 7037 | /usr/include/X11R4 | 9484 | /usr/include/X11R4 |
| 7038 | 9485 | ||
| 7039 | /usr/local/X11/include | 9486 | /usr/local/X11/include |
| 7040 | /usr/local/X11R7/include | ||
| 7041 | /usr/local/X11R6/include | 9487 | /usr/local/X11R6/include |
| 7042 | /usr/local/X11R5/include | 9488 | /usr/local/X11R5/include |
| 7043 | /usr/local/X11R4/include | 9489 | /usr/local/X11R4/include |
| 7044 | 9490 | ||
| 7045 | /usr/local/include/X11 | 9491 | /usr/local/include/X11 |
| 7046 | /usr/local/include/X11R7 | ||
| 7047 | /usr/local/include/X11R6 | 9492 | /usr/local/include/X11R6 |
| 7048 | /usr/local/include/X11R5 | 9493 | /usr/local/include/X11R5 |
| 7049 | /usr/local/include/X11R4 | 9494 | /usr/local/include/X11R4 |
| @@ -7065,14 +9510,37 @@ ac_x_header_dirs=' | |||
| 7065 | if test "$ac_x_includes" = no; then | 9510 | if test "$ac_x_includes" = no; then |
| 7066 | # Guess where to find include files, by looking for Xlib.h. | 9511 | # Guess where to find include files, by looking for Xlib.h. |
| 7067 | # First, try using that file with no special directory specified. | 9512 | # First, try using that file with no special directory specified. |
| 7068 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9513 | cat >conftest.$ac_ext <<_ACEOF |
| 9514 | /* confdefs.h. */ | ||
| 9515 | _ACEOF | ||
| 9516 | cat confdefs.h >>conftest.$ac_ext | ||
| 9517 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7069 | /* end confdefs.h. */ | 9518 | /* end confdefs.h. */ |
| 7070 | #include <X11/Xlib.h> | 9519 | #include <X11/Xlib.h> |
| 7071 | _ACEOF | 9520 | _ACEOF |
| 7072 | if ac_fn_c_try_cpp "$LINENO"; then : | 9521 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9522 | case "(($ac_try" in | ||
| 9523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9524 | *) ac_try_echo=$ac_try;; | ||
| 9525 | esac | ||
| 9526 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9527 | $as_echo "$ac_try_echo") >&5 | ||
| 9528 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9529 | ac_status=$? | ||
| 9530 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9531 | rm -f conftest.er1 | ||
| 9532 | cat conftest.err >&5 | ||
| 9533 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9534 | (exit $ac_status); } >/dev/null && { | ||
| 9535 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9536 | test ! -s conftest.err | ||
| 9537 | }; then | ||
| 7073 | # We can compile using X headers with no special include directory. | 9538 | # We can compile using X headers with no special include directory. |
| 7074 | ac_x_includes= | 9539 | ac_x_includes= |
| 7075 | else | 9540 | else |
| 9541 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9542 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9543 | |||
| 7076 | for ac_dir in $ac_x_header_dirs; do | 9544 | for ac_dir in $ac_x_header_dirs; do |
| 7077 | if test -r "$ac_dir/X11/Xlib.h"; then | 9545 | if test -r "$ac_dir/X11/Xlib.h"; then |
| 7078 | ac_x_includes=$ac_dir | 9546 | ac_x_includes=$ac_dir |
| @@ -7080,6 +9548,7 @@ else | |||
| 7080 | fi | 9548 | fi |
| 7081 | done | 9549 | done |
| 7082 | fi | 9550 | fi |
| 9551 | |||
| 7083 | rm -f conftest.err conftest.$ac_ext | 9552 | rm -f conftest.err conftest.$ac_ext |
| 7084 | fi # $ac_x_includes = no | 9553 | fi # $ac_x_includes = no |
| 7085 | 9554 | ||
| @@ -7089,7 +9558,11 @@ if test "$ac_x_libraries" = no; then | |||
| 7089 | # Don't add to $LIBS permanently. | 9558 | # Don't add to $LIBS permanently. |
| 7090 | ac_save_LIBS=$LIBS | 9559 | ac_save_LIBS=$LIBS |
| 7091 | LIBS="-lX11 $LIBS" | 9560 | LIBS="-lX11 $LIBS" |
| 7092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9561 | cat >conftest.$ac_ext <<_ACEOF |
| 9562 | /* confdefs.h. */ | ||
| 9563 | _ACEOF | ||
| 9564 | cat confdefs.h >>conftest.$ac_ext | ||
| 9565 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7093 | /* end confdefs.h. */ | 9566 | /* end confdefs.h. */ |
| 7094 | #include <X11/Xlib.h> | 9567 | #include <X11/Xlib.h> |
| 7095 | int | 9568 | int |
| @@ -7100,12 +9573,35 @@ XrmInitialize () | |||
| 7100 | return 0; | 9573 | return 0; |
| 7101 | } | 9574 | } |
| 7102 | _ACEOF | 9575 | _ACEOF |
| 7103 | if ac_fn_c_try_link "$LINENO"; then : | 9576 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9577 | if { (ac_try="$ac_link" | ||
| 9578 | case "(($ac_try" in | ||
| 9579 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9580 | *) ac_try_echo=$ac_try;; | ||
| 9581 | esac | ||
| 9582 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9583 | $as_echo "$ac_try_echo") >&5 | ||
| 9584 | (eval "$ac_link") 2>conftest.er1 | ||
| 9585 | ac_status=$? | ||
| 9586 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9587 | rm -f conftest.er1 | ||
| 9588 | cat conftest.err >&5 | ||
| 9589 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9590 | (exit $ac_status); } && { | ||
| 9591 | test -z "$ac_c_werror_flag" || | ||
| 9592 | test ! -s conftest.err | ||
| 9593 | } && test -s conftest$ac_exeext && { | ||
| 9594 | test "$cross_compiling" = yes || | ||
| 9595 | $as_test_x conftest$ac_exeext | ||
| 9596 | }; then | ||
| 7104 | LIBS=$ac_save_LIBS | 9597 | LIBS=$ac_save_LIBS |
| 7105 | # We can link X programs with no special library path. | 9598 | # We can link X programs with no special library path. |
| 7106 | ac_x_libraries= | 9599 | ac_x_libraries= |
| 7107 | else | 9600 | else |
| 7108 | LIBS=$ac_save_LIBS | 9601 | $as_echo "$as_me: failed program was:" >&5 |
| 9602 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9603 | |||
| 9604 | LIBS=$ac_save_LIBS | ||
| 7109 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9605 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 7110 | do | 9606 | do |
| 7111 | # Don't even attempt the hair of trying to link an X program! | 9607 | # Don't even attempt the hair of trying to link an X program! |
| @@ -7117,8 +9613,10 @@ do | |||
| 7117 | done | 9613 | done |
| 7118 | done | 9614 | done |
| 7119 | fi | 9615 | fi |
| 7120 | rm -f core conftest.err conftest.$ac_objext \ | 9616 | |
| 7121 | conftest$ac_exeext conftest.$ac_ext | 9617 | rm -rf conftest.dSYM |
| 9618 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9619 | conftest$ac_exeext conftest.$ac_ext | ||
| 7122 | fi # $ac_x_libraries = no | 9620 | fi # $ac_x_libraries = no |
| 7123 | 9621 | ||
| 7124 | case $ac_x_includes,$ac_x_libraries in #( | 9622 | case $ac_x_includes,$ac_x_libraries in #( |
| @@ -7139,7 +9637,7 @@ fi | |||
| 7139 | fi # $with_x != no | 9637 | fi # $with_x != no |
| 7140 | 9638 | ||
| 7141 | if test "$have_x" != yes; then | 9639 | if test "$have_x" != yes; then |
| 7142 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 | 9640 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
| 7143 | $as_echo "$have_x" >&6; } | 9641 | $as_echo "$have_x" >&6; } |
| 7144 | no_x=yes | 9642 | no_x=yes |
| 7145 | else | 9643 | else |
| @@ -7150,7 +9648,7 @@ else | |||
| 7150 | ac_cv_have_x="have_x=yes\ | 9648 | ac_cv_have_x="have_x=yes\ |
| 7151 | ac_x_includes='$x_includes'\ | 9649 | ac_x_includes='$x_includes'\ |
| 7152 | ac_x_libraries='$x_libraries'" | 9650 | ac_x_libraries='$x_libraries'" |
| 7153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 | 9651 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
| 7154 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9652 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 7155 | fi | 9653 | fi |
| 7156 | 9654 | ||
| @@ -7246,17 +9744,150 @@ if test "${with_ns}" != no; then | |||
| 7246 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9744 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| 7247 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9745 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
| 7248 | fi | 9746 | fi |
| 7249 | ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 9747 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then |
| 7250 | if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9748 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 |
| 9749 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9750 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9751 | $as_echo_n "(cached) " >&6 | ||
| 9752 | fi | ||
| 9753 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9754 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9755 | else | ||
| 9756 | # Is the header compilable? | ||
| 9757 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | ||
| 9758 | $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | ||
| 9759 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9760 | /* confdefs.h. */ | ||
| 9761 | _ACEOF | ||
| 9762 | cat confdefs.h >>conftest.$ac_ext | ||
| 9763 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9764 | /* end confdefs.h. */ | ||
| 9765 | $ac_includes_default | ||
| 9766 | #include <AppKit/AppKit.h> | ||
| 9767 | _ACEOF | ||
| 9768 | rm -f conftest.$ac_objext | ||
| 9769 | if { (ac_try="$ac_compile" | ||
| 9770 | case "(($ac_try" in | ||
| 9771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9772 | *) ac_try_echo=$ac_try;; | ||
| 9773 | esac | ||
| 9774 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9775 | $as_echo "$ac_try_echo") >&5 | ||
| 9776 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9777 | ac_status=$? | ||
| 9778 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9779 | rm -f conftest.er1 | ||
| 9780 | cat conftest.err >&5 | ||
| 9781 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9782 | (exit $ac_status); } && { | ||
| 9783 | test -z "$ac_c_werror_flag" || | ||
| 9784 | test ! -s conftest.err | ||
| 9785 | } && test -s conftest.$ac_objext; then | ||
| 9786 | ac_header_compiler=yes | ||
| 9787 | else | ||
| 9788 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9789 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9790 | |||
| 9791 | ac_header_compiler=no | ||
| 9792 | fi | ||
| 9793 | |||
| 9794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9795 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 9796 | $as_echo "$ac_header_compiler" >&6; } | ||
| 9797 | |||
| 9798 | # Is the header present? | ||
| 9799 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | ||
| 9800 | $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | ||
| 9801 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9802 | /* confdefs.h. */ | ||
| 9803 | _ACEOF | ||
| 9804 | cat confdefs.h >>conftest.$ac_ext | ||
| 9805 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9806 | /* end confdefs.h. */ | ||
| 9807 | #include <AppKit/AppKit.h> | ||
| 9808 | _ACEOF | ||
| 9809 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 9810 | case "(($ac_try" in | ||
| 9811 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9812 | *) ac_try_echo=$ac_try;; | ||
| 9813 | esac | ||
| 9814 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9815 | $as_echo "$ac_try_echo") >&5 | ||
| 9816 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9817 | ac_status=$? | ||
| 9818 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9819 | rm -f conftest.er1 | ||
| 9820 | cat conftest.err >&5 | ||
| 9821 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9822 | (exit $ac_status); } >/dev/null && { | ||
| 9823 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9824 | test ! -s conftest.err | ||
| 9825 | }; then | ||
| 9826 | ac_header_preproc=yes | ||
| 9827 | else | ||
| 9828 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9829 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9830 | |||
| 9831 | ac_header_preproc=no | ||
| 9832 | fi | ||
| 9833 | |||
| 9834 | rm -f conftest.err conftest.$ac_ext | ||
| 9835 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 9836 | $as_echo "$ac_header_preproc" >&6; } | ||
| 9837 | |||
| 9838 | # So? What about this header? | ||
| 9839 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 9840 | yes:no: ) | ||
| 9841 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 9842 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 9843 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | ||
| 9844 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | ||
| 9845 | ac_header_preproc=yes | ||
| 9846 | ;; | ||
| 9847 | no:yes:* ) | ||
| 9848 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | ||
| 9849 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | ||
| 9850 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | ||
| 9851 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | ||
| 9852 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | ||
| 9853 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | ||
| 9854 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 9855 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 9856 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | ||
| 9857 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | ||
| 9858 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | ||
| 9859 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | ||
| 9860 | |||
| 9861 | ;; | ||
| 9862 | esac | ||
| 9863 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | ||
| 9864 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9865 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9866 | $as_echo_n "(cached) " >&6 | ||
| 9867 | else | ||
| 9868 | ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | ||
| 9869 | fi | ||
| 9870 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9871 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9872 | |||
| 9873 | fi | ||
| 9874 | if test $ac_cv_header_AppKit_AppKit_h = yes; then | ||
| 7251 | HAVE_NS=yes | 9875 | HAVE_NS=yes |
| 7252 | else | 9876 | else |
| 7253 | as_fn_error "\`--with-ns' was specified, but the include | 9877 | { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include |
| 7254 | files are missing or cannot be compiled." "$LINENO" 5 | 9878 | files are missing or cannot be compiled." >&5 |
| 9879 | $as_echo "$as_me: error: \`--with-ns' was specified, but the include | ||
| 9880 | files are missing or cannot be compiled." >&2;} | ||
| 9881 | { (exit 1); exit 1; }; } | ||
| 7255 | fi | 9882 | fi |
| 7256 | 9883 | ||
| 7257 | 9884 | ||
| 7258 | NS_HAVE_NSINTEGER=yes | 9885 | NS_HAVE_NSINTEGER=yes |
| 7259 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9886 | cat >conftest.$ac_ext <<_ACEOF |
| 9887 | /* confdefs.h. */ | ||
| 9888 | _ACEOF | ||
| 9889 | cat confdefs.h >>conftest.$ac_ext | ||
| 9890 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7260 | /* end confdefs.h. */ | 9891 | /* end confdefs.h. */ |
| 7261 | #include <Foundation/NSObjCRuntime.h> | 9892 | #include <Foundation/NSObjCRuntime.h> |
| 7262 | int | 9893 | int |
| @@ -7267,11 +9898,32 @@ NSInteger i; | |||
| 7267 | return 0; | 9898 | return 0; |
| 7268 | } | 9899 | } |
| 7269 | _ACEOF | 9900 | _ACEOF |
| 7270 | if ac_fn_c_try_compile "$LINENO"; then : | 9901 | rm -f conftest.$ac_objext |
| 9902 | if { (ac_try="$ac_compile" | ||
| 9903 | case "(($ac_try" in | ||
| 9904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9905 | *) ac_try_echo=$ac_try;; | ||
| 9906 | esac | ||
| 9907 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9908 | $as_echo "$ac_try_echo") >&5 | ||
| 9909 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9910 | ac_status=$? | ||
| 9911 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9912 | rm -f conftest.er1 | ||
| 9913 | cat conftest.err >&5 | ||
| 9914 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9915 | (exit $ac_status); } && { | ||
| 9916 | test -z "$ac_c_werror_flag" || | ||
| 9917 | test ! -s conftest.err | ||
| 9918 | } && test -s conftest.$ac_objext; then | ||
| 7271 | ns_have_nsinteger=yes | 9919 | ns_have_nsinteger=yes |
| 7272 | else | 9920 | else |
| 7273 | ns_have_nsinteger=no | 9921 | $as_echo "$as_me: failed program was:" >&5 |
| 9922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9923 | |||
| 9924 | ns_have_nsinteger=no | ||
| 7274 | fi | 9925 | fi |
| 9926 | |||
| 7275 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7276 | if test $ns_have_nsinteger = no; then | 9928 | if test $ns_have_nsinteger = no; then |
| 7277 | NS_HAVE_NSINTEGER=no | 9929 | NS_HAVE_NSINTEGER=no |
| @@ -7313,9 +9965,9 @@ esac | |||
| 7313 | if test "$window_system" = none && test "X$with_x" != "Xno"; then | 9965 | if test "$window_system" = none && test "X$with_x" != "Xno"; then |
| 7314 | # Extract the first word of "X", so it can be a program name with args. | 9966 | # Extract the first word of "X", so it can be a program name with args. |
| 7315 | set dummy X; ac_word=$2 | 9967 | set dummy X; ac_word=$2 |
| 7316 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9968 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 7317 | $as_echo_n "checking for $ac_word... " >&6; } | 9969 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7318 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 9970 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then |
| 7319 | $as_echo_n "(cached) " >&6 | 9971 | $as_echo_n "(cached) " >&6 |
| 7320 | else | 9972 | else |
| 7321 | if test -n "$HAVE_XSERVER"; then | 9973 | if test -n "$HAVE_XSERVER"; then |
| @@ -7326,14 +9978,14 @@ for as_dir in $PATH | |||
| 7326 | do | 9978 | do |
| 7327 | IFS=$as_save_IFS | 9979 | IFS=$as_save_IFS |
| 7328 | test -z "$as_dir" && as_dir=. | 9980 | test -z "$as_dir" && as_dir=. |
| 7329 | for ac_exec_ext in '' $ac_executable_extensions; do | 9981 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7330 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9982 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7331 | ac_cv_prog_HAVE_XSERVER="true" | 9983 | ac_cv_prog_HAVE_XSERVER="true" |
| 7332 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9984 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7333 | break 2 | 9985 | break 2 |
| 7334 | fi | 9986 | fi |
| 7335 | done | 9987 | done |
| 7336 | done | 9988 | done |
| 7337 | IFS=$as_save_IFS | 9989 | IFS=$as_save_IFS |
| 7338 | 9990 | ||
| 7339 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 9991 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
| @@ -7341,10 +9993,10 @@ fi | |||
| 7341 | fi | 9993 | fi |
| 7342 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 9994 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
| 7343 | if test -n "$HAVE_XSERVER"; then | 9995 | if test -n "$HAVE_XSERVER"; then |
| 7344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 | 9996 | { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 |
| 7345 | $as_echo "$HAVE_XSERVER" >&6; } | 9997 | $as_echo "$HAVE_XSERVER" >&6; } |
| 7346 | else | 9998 | else |
| 7347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9999 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7348 | $as_echo "no" >&6; } | 10000 | $as_echo "no" >&6; } |
| 7349 | fi | 10001 | fi |
| 7350 | 10002 | ||
| @@ -7352,14 +10004,23 @@ fi | |||
| 7352 | if test "$HAVE_XSERVER" = true || | 10004 | if test "$HAVE_XSERVER" = true || |
| 7353 | test -n "$DISPLAY" || | 10005 | test -n "$DISPLAY" || |
| 7354 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 10006 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
| 7355 | as_fn_error "You seem to be running X, but no X development libraries | 10007 | { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries |
| 10008 | were found. You should install the relevant development files for X | ||
| 10009 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | ||
| 10010 | sure you have development files for image handling, i.e. | ||
| 10011 | tiff, gif, jpeg, png and xpm. | ||
| 10012 | If you are sure you want Emacs compiled without X window support, pass | ||
| 10013 | --without-x | ||
| 10014 | to configure." >&5 | ||
| 10015 | $as_echo "$as_me: error: You seem to be running X, but no X development libraries | ||
| 7356 | were found. You should install the relevant development files for X | 10016 | were found. You should install the relevant development files for X |
| 7357 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 10017 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
| 7358 | sure you have development files for image handling, i.e. | 10018 | sure you have development files for image handling, i.e. |
| 7359 | tiff, gif, jpeg, png and xpm. | 10019 | tiff, gif, jpeg, png and xpm. |
| 7360 | If you are sure you want Emacs compiled without X window support, pass | 10020 | If you are sure you want Emacs compiled without X window support, pass |
| 7361 | --without-x | 10021 | --without-x |
| 7362 | to configure." "$LINENO" 5 | 10022 | to configure." >&2;} |
| 10023 | { (exit 1); exit 1; }; } | ||
| 7363 | fi | 10024 | fi |
| 7364 | fi | 10025 | fi |
| 7365 | 10026 | ||
| @@ -7373,26 +10034,198 @@ esac | |||
| 7373 | # Assume not, until told otherwise. | 10034 | # Assume not, until told otherwise. |
| 7374 | GNU_MALLOC=yes | 10035 | GNU_MALLOC=yes |
| 7375 | doug_lea_malloc=yes | 10036 | doug_lea_malloc=yes |
| 7376 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 10037 | { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
| 7377 | if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 10038 | $as_echo_n "checking for malloc_get_state... " >&6; } |
| 10039 | if test "${ac_cv_func_malloc_get_state+set}" = set; then | ||
| 10040 | $as_echo_n "(cached) " >&6 | ||
| 10041 | else | ||
| 10042 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10043 | /* confdefs.h. */ | ||
| 10044 | _ACEOF | ||
| 10045 | cat confdefs.h >>conftest.$ac_ext | ||
| 10046 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10047 | /* end confdefs.h. */ | ||
| 10048 | /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | ||
| 10049 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10050 | #define malloc_get_state innocuous_malloc_get_state | ||
| 7378 | 10051 | ||
| 10052 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10053 | which can conflict with char malloc_get_state (); below. | ||
| 10054 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10055 | <limits.h> exists even on freestanding compilers. */ | ||
| 10056 | |||
| 10057 | #ifdef __STDC__ | ||
| 10058 | # include <limits.h> | ||
| 10059 | #else | ||
| 10060 | # include <assert.h> | ||
| 10061 | #endif | ||
| 10062 | |||
| 10063 | #undef malloc_get_state | ||
| 10064 | |||
| 10065 | /* Override any GCC internal prototype to avoid an error. | ||
| 10066 | Use char because int might match the return type of a GCC | ||
| 10067 | builtin and then its argument prototype would still apply. */ | ||
| 10068 | #ifdef __cplusplus | ||
| 10069 | extern "C" | ||
| 10070 | #endif | ||
| 10071 | char malloc_get_state (); | ||
| 10072 | /* The GNU C library defines this for functions which it implements | ||
| 10073 | to always fail with ENOSYS. Some functions are actually named | ||
| 10074 | something starting with __ and the normal name is an alias. */ | ||
| 10075 | #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | ||
| 10076 | choke me | ||
| 10077 | #endif | ||
| 10078 | |||
| 10079 | int | ||
| 10080 | main () | ||
| 10081 | { | ||
| 10082 | return malloc_get_state (); | ||
| 10083 | ; | ||
| 10084 | return 0; | ||
| 10085 | } | ||
| 10086 | _ACEOF | ||
| 10087 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10088 | if { (ac_try="$ac_link" | ||
| 10089 | case "(($ac_try" in | ||
| 10090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10091 | *) ac_try_echo=$ac_try;; | ||
| 10092 | esac | ||
| 10093 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10094 | $as_echo "$ac_try_echo") >&5 | ||
| 10095 | (eval "$ac_link") 2>conftest.er1 | ||
| 10096 | ac_status=$? | ||
| 10097 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10098 | rm -f conftest.er1 | ||
| 10099 | cat conftest.err >&5 | ||
| 10100 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10101 | (exit $ac_status); } && { | ||
| 10102 | test -z "$ac_c_werror_flag" || | ||
| 10103 | test ! -s conftest.err | ||
| 10104 | } && test -s conftest$ac_exeext && { | ||
| 10105 | test "$cross_compiling" = yes || | ||
| 10106 | $as_test_x conftest$ac_exeext | ||
| 10107 | }; then | ||
| 10108 | ac_cv_func_malloc_get_state=yes | ||
| 10109 | else | ||
| 10110 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10111 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10112 | |||
| 10113 | ac_cv_func_malloc_get_state=no | ||
| 10114 | fi | ||
| 10115 | |||
| 10116 | rm -rf conftest.dSYM | ||
| 10117 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10118 | conftest$ac_exeext conftest.$ac_ext | ||
| 10119 | fi | ||
| 10120 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | ||
| 10121 | $as_echo "$ac_cv_func_malloc_get_state" >&6; } | ||
| 10122 | if test $ac_cv_func_malloc_get_state = yes; then | ||
| 10123 | : | ||
| 7379 | else | 10124 | else |
| 7380 | doug_lea_malloc=no | 10125 | doug_lea_malloc=no |
| 7381 | fi | 10126 | fi |
| 7382 | 10127 | ||
| 7383 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 10128 | { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
| 7384 | if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 10129 | $as_echo_n "checking for malloc_set_state... " >&6; } |
| 10130 | if test "${ac_cv_func_malloc_set_state+set}" = set; then | ||
| 10131 | $as_echo_n "(cached) " >&6 | ||
| 10132 | else | ||
| 10133 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10134 | /* confdefs.h. */ | ||
| 10135 | _ACEOF | ||
| 10136 | cat confdefs.h >>conftest.$ac_ext | ||
| 10137 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10138 | /* end confdefs.h. */ | ||
| 10139 | /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | ||
| 10140 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10141 | #define malloc_set_state innocuous_malloc_set_state | ||
| 10142 | |||
| 10143 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10144 | which can conflict with char malloc_set_state (); below. | ||
| 10145 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10146 | <limits.h> exists even on freestanding compilers. */ | ||
| 10147 | |||
| 10148 | #ifdef __STDC__ | ||
| 10149 | # include <limits.h> | ||
| 10150 | #else | ||
| 10151 | # include <assert.h> | ||
| 10152 | #endif | ||
| 10153 | |||
| 10154 | #undef malloc_set_state | ||
| 10155 | |||
| 10156 | /* Override any GCC internal prototype to avoid an error. | ||
| 10157 | Use char because int might match the return type of a GCC | ||
| 10158 | builtin and then its argument prototype would still apply. */ | ||
| 10159 | #ifdef __cplusplus | ||
| 10160 | extern "C" | ||
| 10161 | #endif | ||
| 10162 | char malloc_set_state (); | ||
| 10163 | /* The GNU C library defines this for functions which it implements | ||
| 10164 | to always fail with ENOSYS. Some functions are actually named | ||
| 10165 | something starting with __ and the normal name is an alias. */ | ||
| 10166 | #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | ||
| 10167 | choke me | ||
| 10168 | #endif | ||
| 10169 | |||
| 10170 | int | ||
| 10171 | main () | ||
| 10172 | { | ||
| 10173 | return malloc_set_state (); | ||
| 10174 | ; | ||
| 10175 | return 0; | ||
| 10176 | } | ||
| 10177 | _ACEOF | ||
| 10178 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10179 | if { (ac_try="$ac_link" | ||
| 10180 | case "(($ac_try" in | ||
| 10181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10182 | *) ac_try_echo=$ac_try;; | ||
| 10183 | esac | ||
| 10184 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10185 | $as_echo "$ac_try_echo") >&5 | ||
| 10186 | (eval "$ac_link") 2>conftest.er1 | ||
| 10187 | ac_status=$? | ||
| 10188 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10189 | rm -f conftest.er1 | ||
| 10190 | cat conftest.err >&5 | ||
| 10191 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10192 | (exit $ac_status); } && { | ||
| 10193 | test -z "$ac_c_werror_flag" || | ||
| 10194 | test ! -s conftest.err | ||
| 10195 | } && test -s conftest$ac_exeext && { | ||
| 10196 | test "$cross_compiling" = yes || | ||
| 10197 | $as_test_x conftest$ac_exeext | ||
| 10198 | }; then | ||
| 10199 | ac_cv_func_malloc_set_state=yes | ||
| 10200 | else | ||
| 10201 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10202 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10203 | |||
| 10204 | ac_cv_func_malloc_set_state=no | ||
| 10205 | fi | ||
| 7385 | 10206 | ||
| 10207 | rm -rf conftest.dSYM | ||
| 10208 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10209 | conftest$ac_exeext conftest.$ac_ext | ||
| 10210 | fi | ||
| 10211 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | ||
| 10212 | $as_echo "$ac_cv_func_malloc_set_state" >&6; } | ||
| 10213 | if test $ac_cv_func_malloc_set_state = yes; then | ||
| 10214 | : | ||
| 7386 | else | 10215 | else |
| 7387 | doug_lea_malloc=no | 10216 | doug_lea_malloc=no |
| 7388 | fi | 10217 | fi |
| 7389 | 10218 | ||
| 7390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 10219 | { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
| 7391 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 10220 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
| 7392 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 10221 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
| 7393 | $as_echo_n "(cached) " >&6 | 10222 | $as_echo_n "(cached) " >&6 |
| 7394 | else | 10223 | else |
| 7395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10224 | cat >conftest.$ac_ext <<_ACEOF |
| 10225 | /* confdefs.h. */ | ||
| 10226 | _ACEOF | ||
| 10227 | cat confdefs.h >>conftest.$ac_ext | ||
| 10228 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7396 | /* end confdefs.h. */ | 10229 | /* end confdefs.h. */ |
| 7397 | extern void (* __after_morecore_hook)(); | 10230 | extern void (* __after_morecore_hook)(); |
| 7398 | int | 10231 | int |
| @@ -7403,15 +10236,40 @@ __after_morecore_hook = 0 | |||
| 7403 | return 0; | 10236 | return 0; |
| 7404 | } | 10237 | } |
| 7405 | _ACEOF | 10238 | _ACEOF |
| 7406 | if ac_fn_c_try_link "$LINENO"; then : | 10239 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10240 | if { (ac_try="$ac_link" | ||
| 10241 | case "(($ac_try" in | ||
| 10242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10243 | *) ac_try_echo=$ac_try;; | ||
| 10244 | esac | ||
| 10245 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10246 | $as_echo "$ac_try_echo") >&5 | ||
| 10247 | (eval "$ac_link") 2>conftest.er1 | ||
| 10248 | ac_status=$? | ||
| 10249 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10250 | rm -f conftest.er1 | ||
| 10251 | cat conftest.err >&5 | ||
| 10252 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10253 | (exit $ac_status); } && { | ||
| 10254 | test -z "$ac_c_werror_flag" || | ||
| 10255 | test ! -s conftest.err | ||
| 10256 | } && test -s conftest$ac_exeext && { | ||
| 10257 | test "$cross_compiling" = yes || | ||
| 10258 | $as_test_x conftest$ac_exeext | ||
| 10259 | }; then | ||
| 7407 | emacs_cv_var___after_morecore_hook=yes | 10260 | emacs_cv_var___after_morecore_hook=yes |
| 7408 | else | 10261 | else |
| 7409 | emacs_cv_var___after_morecore_hook=no | 10262 | $as_echo "$as_me: failed program was:" >&5 |
| 10263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10264 | |||
| 10265 | emacs_cv_var___after_morecore_hook=no | ||
| 7410 | fi | 10266 | fi |
| 7411 | rm -f core conftest.err conftest.$ac_objext \ | 10267 | |
| 7412 | conftest$ac_exeext conftest.$ac_ext | 10268 | rm -rf conftest.dSYM |
| 10269 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10270 | conftest$ac_exeext conftest.$ac_ext | ||
| 7413 | fi | 10271 | fi |
| 7414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 | 10272 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
| 7415 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 10273 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
| 7416 | if test $emacs_cv_var___after_morecore_hook = no; then | 10274 | if test $emacs_cv_var___after_morecore_hook = no; then |
| 7417 | doug_lea_malloc=no | 10275 | doug_lea_malloc=no |
| @@ -7427,7 +10285,9 @@ if test "$doug_lea_malloc" = "yes" ; then | |||
| 7427 | (Using Doug Lea's new malloc from the GNU C Library.)" | 10285 | (Using Doug Lea's new malloc from the GNU C Library.)" |
| 7428 | fi | 10286 | fi |
| 7429 | 10287 | ||
| 7430 | $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h | 10288 | cat >>confdefs.h <<\_ACEOF |
| 10289 | #define DOUG_LEA_MALLOC 1 | ||
| 10290 | _ACEOF | ||
| 7431 | 10291 | ||
| 7432 | fi | 10292 | fi |
| 7433 | 10293 | ||
| @@ -7438,14 +10298,142 @@ fi | |||
| 7438 | 10298 | ||
| 7439 | 10299 | ||
| 7440 | 10300 | ||
| 10301 | for ac_header in stdlib.h unistd.h | ||
| 10302 | do | ||
| 10303 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 10304 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10305 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10306 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10307 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10308 | $as_echo_n "(cached) " >&6 | ||
| 10309 | fi | ||
| 10310 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10311 | $as_echo "$as_val"'` | ||
| 10312 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10313 | $as_echo "$ac_res" >&6; } | ||
| 10314 | else | ||
| 10315 | # Is the header compilable? | ||
| 10316 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 10317 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 10318 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10319 | /* confdefs.h. */ | ||
| 10320 | _ACEOF | ||
| 10321 | cat confdefs.h >>conftest.$ac_ext | ||
| 10322 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10323 | /* end confdefs.h. */ | ||
| 10324 | $ac_includes_default | ||
| 10325 | #include <$ac_header> | ||
| 10326 | _ACEOF | ||
| 10327 | rm -f conftest.$ac_objext | ||
| 10328 | if { (ac_try="$ac_compile" | ||
| 10329 | case "(($ac_try" in | ||
| 10330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10331 | *) ac_try_echo=$ac_try;; | ||
| 10332 | esac | ||
| 10333 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10334 | $as_echo "$ac_try_echo") >&5 | ||
| 10335 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10336 | ac_status=$? | ||
| 10337 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10338 | rm -f conftest.er1 | ||
| 10339 | cat conftest.err >&5 | ||
| 10340 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10341 | (exit $ac_status); } && { | ||
| 10342 | test -z "$ac_c_werror_flag" || | ||
| 10343 | test ! -s conftest.err | ||
| 10344 | } && test -s conftest.$ac_objext; then | ||
| 10345 | ac_header_compiler=yes | ||
| 10346 | else | ||
| 10347 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10348 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7441 | 10349 | ||
| 7442 | for ac_header in $ac_header_list | 10350 | ac_header_compiler=no |
| 7443 | do : | 10351 | fi |
| 7444 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10352 | |
| 7445 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 10353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7446 | " | 10354 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7447 | eval as_val=\$$as_ac_Header | 10355 | $as_echo "$ac_header_compiler" >&6; } |
| 7448 | if test "x$as_val" = x""yes; then : | 10356 | |
| 10357 | # Is the header present? | ||
| 10358 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 10359 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 10360 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10361 | /* confdefs.h. */ | ||
| 10362 | _ACEOF | ||
| 10363 | cat confdefs.h >>conftest.$ac_ext | ||
| 10364 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10365 | /* end confdefs.h. */ | ||
| 10366 | #include <$ac_header> | ||
| 10367 | _ACEOF | ||
| 10368 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 10369 | case "(($ac_try" in | ||
| 10370 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10371 | *) ac_try_echo=$ac_try;; | ||
| 10372 | esac | ||
| 10373 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10374 | $as_echo "$ac_try_echo") >&5 | ||
| 10375 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10376 | ac_status=$? | ||
| 10377 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10378 | rm -f conftest.er1 | ||
| 10379 | cat conftest.err >&5 | ||
| 10380 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10381 | (exit $ac_status); } >/dev/null && { | ||
| 10382 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 10383 | test ! -s conftest.err | ||
| 10384 | }; then | ||
| 10385 | ac_header_preproc=yes | ||
| 10386 | else | ||
| 10387 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10389 | |||
| 10390 | ac_header_preproc=no | ||
| 10391 | fi | ||
| 10392 | |||
| 10393 | rm -f conftest.err conftest.$ac_ext | ||
| 10394 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 10395 | $as_echo "$ac_header_preproc" >&6; } | ||
| 10396 | |||
| 10397 | # So? What about this header? | ||
| 10398 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 10399 | yes:no: ) | ||
| 10400 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 10401 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 10402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 10403 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 10404 | ac_header_preproc=yes | ||
| 10405 | ;; | ||
| 10406 | no:yes:* ) | ||
| 10407 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 10408 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 10409 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 10410 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 10411 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 10412 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 10413 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 10414 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 10415 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 10416 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 10417 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 10418 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 10419 | |||
| 10420 | ;; | ||
| 10421 | esac | ||
| 10422 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10423 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10424 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10425 | $as_echo_n "(cached) " >&6 | ||
| 10426 | else | ||
| 10427 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 10428 | fi | ||
| 10429 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10430 | $as_echo "$as_val"'` | ||
| 10431 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10432 | $as_echo "$ac_res" >&6; } | ||
| 10433 | |||
| 10434 | fi | ||
| 10435 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 10436 | $as_echo "$as_val"'` = yes; then | ||
| 7449 | cat >>confdefs.h <<_ACEOF | 10437 | cat >>confdefs.h <<_ACEOF |
| 7450 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10438 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7451 | _ACEOF | 10439 | _ACEOF |
| @@ -7455,32 +10443,118 @@ fi | |||
| 7455 | done | 10443 | done |
| 7456 | 10444 | ||
| 7457 | 10445 | ||
| 10446 | for ac_func in getpagesize | ||
| 10447 | do | ||
| 10448 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 10449 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 10450 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 10451 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10452 | $as_echo_n "(cached) " >&6 | ||
| 10453 | else | ||
| 10454 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10455 | /* confdefs.h. */ | ||
| 10456 | _ACEOF | ||
| 10457 | cat confdefs.h >>conftest.$ac_ext | ||
| 10458 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10459 | /* end confdefs.h. */ | ||
| 10460 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 10461 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10462 | #define $ac_func innocuous_$ac_func | ||
| 10463 | |||
| 10464 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10465 | which can conflict with char $ac_func (); below. | ||
| 10466 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10467 | <limits.h> exists even on freestanding compilers. */ | ||
| 7458 | 10468 | ||
| 10469 | #ifdef __STDC__ | ||
| 10470 | # include <limits.h> | ||
| 10471 | #else | ||
| 10472 | # include <assert.h> | ||
| 10473 | #endif | ||
| 7459 | 10474 | ||
| 10475 | #undef $ac_func | ||
| 7460 | 10476 | ||
| 10477 | /* Override any GCC internal prototype to avoid an error. | ||
| 10478 | Use char because int might match the return type of a GCC | ||
| 10479 | builtin and then its argument prototype would still apply. */ | ||
| 10480 | #ifdef __cplusplus | ||
| 10481 | extern "C" | ||
| 10482 | #endif | ||
| 10483 | char $ac_func (); | ||
| 10484 | /* The GNU C library defines this for functions which it implements | ||
| 10485 | to always fail with ENOSYS. Some functions are actually named | ||
| 10486 | something starting with __ and the normal name is an alias. */ | ||
| 10487 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 10488 | choke me | ||
| 10489 | #endif | ||
| 7461 | 10490 | ||
| 10491 | int | ||
| 10492 | main () | ||
| 10493 | { | ||
| 10494 | return $ac_func (); | ||
| 10495 | ; | ||
| 10496 | return 0; | ||
| 10497 | } | ||
| 10498 | _ACEOF | ||
| 10499 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10500 | if { (ac_try="$ac_link" | ||
| 10501 | case "(($ac_try" in | ||
| 10502 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10503 | *) ac_try_echo=$ac_try;; | ||
| 10504 | esac | ||
| 10505 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10506 | $as_echo "$ac_try_echo") >&5 | ||
| 10507 | (eval "$ac_link") 2>conftest.er1 | ||
| 10508 | ac_status=$? | ||
| 10509 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10510 | rm -f conftest.er1 | ||
| 10511 | cat conftest.err >&5 | ||
| 10512 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10513 | (exit $ac_status); } && { | ||
| 10514 | test -z "$ac_c_werror_flag" || | ||
| 10515 | test ! -s conftest.err | ||
| 10516 | } && test -s conftest$ac_exeext && { | ||
| 10517 | test "$cross_compiling" = yes || | ||
| 10518 | $as_test_x conftest$ac_exeext | ||
| 10519 | }; then | ||
| 10520 | eval "$as_ac_var=yes" | ||
| 10521 | else | ||
| 10522 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10523 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7462 | 10524 | ||
| 10525 | eval "$as_ac_var=no" | ||
| 10526 | fi | ||
| 7463 | 10527 | ||
| 7464 | for ac_func in getpagesize | 10528 | rm -rf conftest.dSYM |
| 7465 | do : | 10529 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7466 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 10530 | conftest$ac_exeext conftest.$ac_ext |
| 7467 | if test "x$ac_cv_func_getpagesize" = x""yes; then : | 10531 | fi |
| 10532 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 10533 | $as_echo "$as_val"'` | ||
| 10534 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10535 | $as_echo "$ac_res" >&6; } | ||
| 10536 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 10537 | $as_echo "$as_val"'` = yes; then | ||
| 7468 | cat >>confdefs.h <<_ACEOF | 10538 | cat >>confdefs.h <<_ACEOF |
| 7469 | #define HAVE_GETPAGESIZE 1 | 10539 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7470 | _ACEOF | 10540 | _ACEOF |
| 7471 | 10541 | ||
| 7472 | fi | 10542 | fi |
| 7473 | done | 10543 | done |
| 7474 | 10544 | ||
| 7475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 10545 | { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 7476 | $as_echo_n "checking for working mmap... " >&6; } | 10546 | $as_echo_n "checking for working mmap... " >&6; } |
| 7477 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 10547 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 7478 | $as_echo_n "(cached) " >&6 | 10548 | $as_echo_n "(cached) " >&6 |
| 7479 | else | 10549 | else |
| 7480 | if test "$cross_compiling" = yes; then : | 10550 | if test "$cross_compiling" = yes; then |
| 7481 | ac_cv_func_mmap_fixed_mapped=no | 10551 | ac_cv_func_mmap_fixed_mapped=no |
| 7482 | else | 10552 | else |
| 7483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10553 | cat >conftest.$ac_ext <<_ACEOF |
| 10554 | /* confdefs.h. */ | ||
| 10555 | _ACEOF | ||
| 10556 | cat confdefs.h >>conftest.$ac_ext | ||
| 10557 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7484 | /* end confdefs.h. */ | 10558 | /* end confdefs.h. */ |
| 7485 | $ac_includes_default | 10559 | $ac_includes_default |
| 7486 | /* malloc might have been renamed as rpl_malloc. */ | 10560 | /* malloc might have been renamed as rpl_malloc. */ |
| @@ -7517,6 +10591,11 @@ char *malloc (); | |||
| 7517 | 10591 | ||
| 7518 | /* This mess was copied from the GNU getpagesize.h. */ | 10592 | /* This mess was copied from the GNU getpagesize.h. */ |
| 7519 | #ifndef HAVE_GETPAGESIZE | 10593 | #ifndef HAVE_GETPAGESIZE |
| 10594 | /* Assume that all systems that can run configure have sys/param.h. */ | ||
| 10595 | # ifndef HAVE_SYS_PARAM_H | ||
| 10596 | # define HAVE_SYS_PARAM_H 1 | ||
| 10597 | # endif | ||
| 10598 | |||
| 7520 | # ifdef _SC_PAGESIZE | 10599 | # ifdef _SC_PAGESIZE |
| 7521 | # define getpagesize() sysconf(_SC_PAGESIZE) | 10600 | # define getpagesize() sysconf(_SC_PAGESIZE) |
| 7522 | # else /* no _SC_PAGESIZE */ | 10601 | # else /* no _SC_PAGESIZE */ |
| @@ -7552,7 +10631,7 @@ main () | |||
| 7552 | { | 10631 | { |
| 7553 | char *data, *data2, *data3; | 10632 | char *data, *data2, *data3; |
| 7554 | int i, pagesize; | 10633 | int i, pagesize; |
| 7555 | int fd, fd2; | 10634 | int fd; |
| 7556 | 10635 | ||
| 7557 | pagesize = getpagesize (); | 10636 | pagesize = getpagesize (); |
| 7558 | 10637 | ||
| @@ -7565,41 +10644,27 @@ main () | |||
| 7565 | umask (0); | 10644 | umask (0); |
| 7566 | fd = creat ("conftest.mmap", 0600); | 10645 | fd = creat ("conftest.mmap", 0600); |
| 7567 | if (fd < 0) | 10646 | if (fd < 0) |
| 7568 | return 2; | 10647 | return 1; |
| 7569 | if (write (fd, data, pagesize) != pagesize) | 10648 | if (write (fd, data, pagesize) != pagesize) |
| 7570 | return 3; | 10649 | return 1; |
| 7571 | close (fd); | 10650 | close (fd); |
| 7572 | 10651 | ||
| 7573 | /* Next, check that the tail of a page is zero-filled. File must have | ||
| 7574 | non-zero length, otherwise we risk SIGBUS for entire page. */ | ||
| 7575 | fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | ||
| 7576 | if (fd2 < 0) | ||
| 7577 | return 4; | ||
| 7578 | data2 = ""; | ||
| 7579 | if (write (fd2, data2, 1) != 1) | ||
| 7580 | return 5; | ||
| 7581 | data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | ||
| 7582 | if (data2 == MAP_FAILED) | ||
| 7583 | return 6; | ||
| 7584 | for (i = 0; i < pagesize; ++i) | ||
| 7585 | if (*(data2 + i)) | ||
| 7586 | return 7; | ||
| 7587 | close (fd2); | ||
| 7588 | if (munmap (data2, pagesize)) | ||
| 7589 | return 8; | ||
| 7590 | |||
| 7591 | /* Next, try to mmap the file at a fixed address which already has | 10652 | /* Next, try to mmap the file at a fixed address which already has |
| 7592 | something else allocated at it. If we can, also make sure that | 10653 | something else allocated at it. If we can, also make sure that |
| 7593 | we see the same garbage. */ | 10654 | we see the same garbage. */ |
| 7594 | fd = open ("conftest.mmap", O_RDWR); | 10655 | fd = open ("conftest.mmap", O_RDWR); |
| 7595 | if (fd < 0) | 10656 | if (fd < 0) |
| 7596 | return 9; | 10657 | return 1; |
| 10658 | data2 = (char *) malloc (2 * pagesize); | ||
| 10659 | if (!data2) | ||
| 10660 | return 1; | ||
| 10661 | data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 7597 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 10662 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 7598 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 10663 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 7599 | return 10; | 10664 | return 1; |
| 7600 | for (i = 0; i < pagesize; ++i) | 10665 | for (i = 0; i < pagesize; ++i) |
| 7601 | if (*(data + i) != *(data2 + i)) | 10666 | if (*(data + i) != *(data2 + i)) |
| 7602 | return 11; | 10667 | return 1; |
| 7603 | 10668 | ||
| 7604 | /* Finally, make sure that changes to the mapped area do not | 10669 | /* Finally, make sure that changes to the mapped area do not |
| 7605 | percolate back to the file as seen by read(). (This is a bug on | 10670 | percolate back to the file as seen by read(). (This is a bug on |
| @@ -7608,34 +10673,63 @@ main () | |||
| 7608 | *(data2 + i) = *(data2 + i) + 1; | 10673 | *(data2 + i) = *(data2 + i) + 1; |
| 7609 | data3 = (char *) malloc (pagesize); | 10674 | data3 = (char *) malloc (pagesize); |
| 7610 | if (!data3) | 10675 | if (!data3) |
| 7611 | return 12; | 10676 | return 1; |
| 7612 | if (read (fd, data3, pagesize) != pagesize) | 10677 | if (read (fd, data3, pagesize) != pagesize) |
| 7613 | return 13; | 10678 | return 1; |
| 7614 | for (i = 0; i < pagesize; ++i) | 10679 | for (i = 0; i < pagesize; ++i) |
| 7615 | if (*(data + i) != *(data3 + i)) | 10680 | if (*(data + i) != *(data3 + i)) |
| 7616 | return 14; | 10681 | return 1; |
| 7617 | close (fd); | 10682 | close (fd); |
| 7618 | return 0; | 10683 | return 0; |
| 7619 | } | 10684 | } |
| 7620 | _ACEOF | 10685 | _ACEOF |
| 7621 | if ac_fn_c_try_run "$LINENO"; then : | 10686 | rm -f conftest$ac_exeext |
| 10687 | if { (ac_try="$ac_link" | ||
| 10688 | case "(($ac_try" in | ||
| 10689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10690 | *) ac_try_echo=$ac_try;; | ||
| 10691 | esac | ||
| 10692 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10693 | $as_echo "$ac_try_echo") >&5 | ||
| 10694 | (eval "$ac_link") 2>&5 | ||
| 10695 | ac_status=$? | ||
| 10696 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10697 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 10698 | { (case "(($ac_try" in | ||
| 10699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10700 | *) ac_try_echo=$ac_try;; | ||
| 10701 | esac | ||
| 10702 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10703 | $as_echo "$ac_try_echo") >&5 | ||
| 10704 | (eval "$ac_try") 2>&5 | ||
| 10705 | ac_status=$? | ||
| 10706 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10707 | (exit $ac_status); }; }; then | ||
| 7622 | ac_cv_func_mmap_fixed_mapped=yes | 10708 | ac_cv_func_mmap_fixed_mapped=yes |
| 7623 | else | 10709 | else |
| 7624 | ac_cv_func_mmap_fixed_mapped=no | 10710 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 10711 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10712 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10713 | |||
| 10714 | ( exit $ac_status ) | ||
| 10715 | ac_cv_func_mmap_fixed_mapped=no | ||
| 7625 | fi | 10716 | fi |
| 7626 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 10717 | rm -rf conftest.dSYM |
| 7627 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 10718 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7628 | fi | 10719 | fi |
| 7629 | 10720 | ||
| 10721 | |||
| 7630 | fi | 10722 | fi |
| 7631 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10723 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 7632 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 10724 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 7633 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10725 | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 7634 | 10726 | ||
| 7635 | $as_echo "#define HAVE_MMAP 1" >>confdefs.h | 10727 | cat >>confdefs.h <<\_ACEOF |
| 10728 | #define HAVE_MMAP 1 | ||
| 10729 | _ACEOF | ||
| 7636 | 10730 | ||
| 7637 | fi | 10731 | fi |
| 7638 | rm -f conftest.mmap conftest.txt | 10732 | rm -f conftest.mmap |
| 7639 | 10733 | ||
| 7640 | if test $use_mmap_for_buffers = yes; then | 10734 | if test $use_mmap_for_buffers = yes; then |
| 7641 | REL_ALLOC=no | 10735 | REL_ALLOC=no |
| @@ -7643,14 +10737,19 @@ fi | |||
| 7643 | 10737 | ||
| 7644 | LIBS="$libsrc_libs $LIBS" | 10738 | LIBS="$libsrc_libs $LIBS" |
| 7645 | 10739 | ||
| 7646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 10740 | |
| 10741 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | ||
| 7647 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10742 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
| 7648 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 10743 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| 7649 | $as_echo_n "(cached) " >&6 | 10744 | $as_echo_n "(cached) " >&6 |
| 7650 | else | 10745 | else |
| 7651 | ac_check_lib_save_LIBS=$LIBS | 10746 | ac_check_lib_save_LIBS=$LIBS |
| 7652 | LIBS="-ldnet $LIBS" | 10747 | LIBS="-ldnet $LIBS" |
| 7653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10748 | cat >conftest.$ac_ext <<_ACEOF |
| 10749 | /* confdefs.h. */ | ||
| 10750 | _ACEOF | ||
| 10751 | cat confdefs.h >>conftest.$ac_ext | ||
| 10752 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7654 | /* end confdefs.h. */ | 10753 | /* end confdefs.h. */ |
| 7655 | 10754 | ||
| 7656 | /* Override any GCC internal prototype to avoid an error. | 10755 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7668,18 +10767,43 @@ return dnet_ntoa (); | |||
| 7668 | return 0; | 10767 | return 0; |
| 7669 | } | 10768 | } |
| 7670 | _ACEOF | 10769 | _ACEOF |
| 7671 | if ac_fn_c_try_link "$LINENO"; then : | 10770 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10771 | if { (ac_try="$ac_link" | ||
| 10772 | case "(($ac_try" in | ||
| 10773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10774 | *) ac_try_echo=$ac_try;; | ||
| 10775 | esac | ||
| 10776 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10777 | $as_echo "$ac_try_echo") >&5 | ||
| 10778 | (eval "$ac_link") 2>conftest.er1 | ||
| 10779 | ac_status=$? | ||
| 10780 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10781 | rm -f conftest.er1 | ||
| 10782 | cat conftest.err >&5 | ||
| 10783 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10784 | (exit $ac_status); } && { | ||
| 10785 | test -z "$ac_c_werror_flag" || | ||
| 10786 | test ! -s conftest.err | ||
| 10787 | } && test -s conftest$ac_exeext && { | ||
| 10788 | test "$cross_compiling" = yes || | ||
| 10789 | $as_test_x conftest$ac_exeext | ||
| 10790 | }; then | ||
| 7672 | ac_cv_lib_dnet_dnet_ntoa=yes | 10791 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 7673 | else | 10792 | else |
| 7674 | ac_cv_lib_dnet_dnet_ntoa=no | 10793 | $as_echo "$as_me: failed program was:" >&5 |
| 10794 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10795 | |||
| 10796 | ac_cv_lib_dnet_dnet_ntoa=no | ||
| 7675 | fi | 10797 | fi |
| 7676 | rm -f core conftest.err conftest.$ac_objext \ | 10798 | |
| 7677 | conftest$ac_exeext conftest.$ac_ext | 10799 | rm -rf conftest.dSYM |
| 10800 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10801 | conftest$ac_exeext conftest.$ac_ext | ||
| 7678 | LIBS=$ac_check_lib_save_LIBS | 10802 | LIBS=$ac_check_lib_save_LIBS |
| 7679 | fi | 10803 | fi |
| 7680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 10804 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 7681 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 10805 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 7682 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 10806 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
| 7683 | cat >>confdefs.h <<_ACEOF | 10807 | cat >>confdefs.h <<_ACEOF |
| 7684 | #define HAVE_LIBDNET 1 | 10808 | #define HAVE_LIBDNET 1 |
| 7685 | _ACEOF | 10809 | _ACEOF |
| @@ -7689,14 +10813,18 @@ _ACEOF | |||
| 7689 | fi | 10813 | fi |
| 7690 | 10814 | ||
| 7691 | 10815 | ||
| 7692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 10816 | { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
| 7693 | $as_echo_n "checking for main in -lXbsd... " >&6; } | 10817 | $as_echo_n "checking for main in -lXbsd... " >&6; } |
| 7694 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 10818 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
| 7695 | $as_echo_n "(cached) " >&6 | 10819 | $as_echo_n "(cached) " >&6 |
| 7696 | else | 10820 | else |
| 7697 | ac_check_lib_save_LIBS=$LIBS | 10821 | ac_check_lib_save_LIBS=$LIBS |
| 7698 | LIBS="-lXbsd $LIBS" | 10822 | LIBS="-lXbsd $LIBS" |
| 7699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10823 | cat >conftest.$ac_ext <<_ACEOF |
| 10824 | /* confdefs.h. */ | ||
| 10825 | _ACEOF | ||
| 10826 | cat confdefs.h >>conftest.$ac_ext | ||
| 10827 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7700 | /* end confdefs.h. */ | 10828 | /* end confdefs.h. */ |
| 7701 | 10829 | ||
| 7702 | 10830 | ||
| @@ -7708,30 +10836,60 @@ return main (); | |||
| 7708 | return 0; | 10836 | return 0; |
| 7709 | } | 10837 | } |
| 7710 | _ACEOF | 10838 | _ACEOF |
| 7711 | if ac_fn_c_try_link "$LINENO"; then : | 10839 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10840 | if { (ac_try="$ac_link" | ||
| 10841 | case "(($ac_try" in | ||
| 10842 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10843 | *) ac_try_echo=$ac_try;; | ||
| 10844 | esac | ||
| 10845 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10846 | $as_echo "$ac_try_echo") >&5 | ||
| 10847 | (eval "$ac_link") 2>conftest.er1 | ||
| 10848 | ac_status=$? | ||
| 10849 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10850 | rm -f conftest.er1 | ||
| 10851 | cat conftest.err >&5 | ||
| 10852 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10853 | (exit $ac_status); } && { | ||
| 10854 | test -z "$ac_c_werror_flag" || | ||
| 10855 | test ! -s conftest.err | ||
| 10856 | } && test -s conftest$ac_exeext && { | ||
| 10857 | test "$cross_compiling" = yes || | ||
| 10858 | $as_test_x conftest$ac_exeext | ||
| 10859 | }; then | ||
| 7712 | ac_cv_lib_Xbsd_main=yes | 10860 | ac_cv_lib_Xbsd_main=yes |
| 7713 | else | 10861 | else |
| 7714 | ac_cv_lib_Xbsd_main=no | 10862 | $as_echo "$as_me: failed program was:" >&5 |
| 10863 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10864 | |||
| 10865 | ac_cv_lib_Xbsd_main=no | ||
| 7715 | fi | 10866 | fi |
| 7716 | rm -f core conftest.err conftest.$ac_objext \ | 10867 | |
| 7717 | conftest$ac_exeext conftest.$ac_ext | 10868 | rm -rf conftest.dSYM |
| 10869 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10870 | conftest$ac_exeext conftest.$ac_ext | ||
| 7718 | LIBS=$ac_check_lib_save_LIBS | 10871 | LIBS=$ac_check_lib_save_LIBS |
| 7719 | fi | 10872 | fi |
| 7720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 10873 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
| 7721 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 10874 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
| 7722 | if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 10875 | if test $ac_cv_lib_Xbsd_main = yes; then |
| 7723 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 10876 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
| 7724 | fi | 10877 | fi |
| 7725 | 10878 | ||
| 7726 | 10879 | ||
| 7727 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 10880 | |
| 10881 | { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | ||
| 7728 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 10882 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 7729 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 10883 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
| 7730 | $as_echo_n "(cached) " >&6 | 10884 | $as_echo_n "(cached) " >&6 |
| 7731 | else | 10885 | else |
| 7732 | ac_check_lib_save_LIBS=$LIBS | 10886 | ac_check_lib_save_LIBS=$LIBS |
| 7733 | LIBS="-lpthreads $LIBS" | 10887 | LIBS="-lpthreads $LIBS" |
| 7734 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10888 | cat >conftest.$ac_ext <<_ACEOF |
| 10889 | /* confdefs.h. */ | ||
| 10890 | _ACEOF | ||
| 10891 | cat confdefs.h >>conftest.$ac_ext | ||
| 10892 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7735 | /* end confdefs.h. */ | 10893 | /* end confdefs.h. */ |
| 7736 | 10894 | ||
| 7737 | /* Override any GCC internal prototype to avoid an error. | 10895 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7749,18 +10907,43 @@ return cma_open (); | |||
| 7749 | return 0; | 10907 | return 0; |
| 7750 | } | 10908 | } |
| 7751 | _ACEOF | 10909 | _ACEOF |
| 7752 | if ac_fn_c_try_link "$LINENO"; then : | 10910 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10911 | if { (ac_try="$ac_link" | ||
| 10912 | case "(($ac_try" in | ||
| 10913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10914 | *) ac_try_echo=$ac_try;; | ||
| 10915 | esac | ||
| 10916 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10917 | $as_echo "$ac_try_echo") >&5 | ||
| 10918 | (eval "$ac_link") 2>conftest.er1 | ||
| 10919 | ac_status=$? | ||
| 10920 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10921 | rm -f conftest.er1 | ||
| 10922 | cat conftest.err >&5 | ||
| 10923 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10924 | (exit $ac_status); } && { | ||
| 10925 | test -z "$ac_c_werror_flag" || | ||
| 10926 | test ! -s conftest.err | ||
| 10927 | } && test -s conftest$ac_exeext && { | ||
| 10928 | test "$cross_compiling" = yes || | ||
| 10929 | $as_test_x conftest$ac_exeext | ||
| 10930 | }; then | ||
| 7753 | ac_cv_lib_pthreads_cma_open=yes | 10931 | ac_cv_lib_pthreads_cma_open=yes |
| 7754 | else | 10932 | else |
| 7755 | ac_cv_lib_pthreads_cma_open=no | 10933 | $as_echo "$as_me: failed program was:" >&5 |
| 10934 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10935 | |||
| 10936 | ac_cv_lib_pthreads_cma_open=no | ||
| 7756 | fi | 10937 | fi |
| 7757 | rm -f core conftest.err conftest.$ac_objext \ | 10938 | |
| 7758 | conftest$ac_exeext conftest.$ac_ext | 10939 | rm -rf conftest.dSYM |
| 10940 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10941 | conftest$ac_exeext conftest.$ac_ext | ||
| 7759 | LIBS=$ac_check_lib_save_LIBS | 10942 | LIBS=$ac_check_lib_save_LIBS |
| 7760 | fi | 10943 | fi |
| 7761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 10944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
| 7762 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 10945 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
| 7763 | if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 10946 | if test $ac_cv_lib_pthreads_cma_open = yes; then |
| 7764 | cat >>confdefs.h <<_ACEOF | 10947 | cat >>confdefs.h <<_ACEOF |
| 7765 | #define HAVE_LIBPTHREADS 1 | 10948 | #define HAVE_LIBPTHREADS 1 |
| 7766 | _ACEOF | 10949 | _ACEOF |
| @@ -7773,9 +10956,9 @@ fi | |||
| 7773 | 10956 | ||
| 7774 | case ${host_os} in | 10957 | case ${host_os} in |
| 7775 | aix*) | 10958 | aix*) |
| 7776 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 10959 | { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
| 7777 | $as_echo_n "checking for -bbigtoc option... " >&6; } | 10960 | $as_echo_n "checking for -bbigtoc option... " >&6; } |
| 7778 | if test "${gdb_cv_bigtoc+set}" = set; then : | 10961 | if test "${gdb_cv_bigtoc+set}" = set; then |
| 7779 | $as_echo_n "(cached) " >&6 | 10962 | $as_echo_n "(cached) " >&6 |
| 7780 | else | 10963 | else |
| 7781 | 10964 | ||
| @@ -7785,7 +10968,11 @@ else | |||
| 7785 | esac | 10968 | esac |
| 7786 | 10969 | ||
| 7787 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 10970 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
| 7788 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10971 | cat >conftest.$ac_ext <<_ACEOF |
| 10972 | /* confdefs.h. */ | ||
| 10973 | _ACEOF | ||
| 10974 | cat confdefs.h >>conftest.$ac_ext | ||
| 10975 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7789 | /* end confdefs.h. */ | 10976 | /* end confdefs.h. */ |
| 7790 | 10977 | ||
| 7791 | int | 10978 | int |
| @@ -7796,16 +10983,41 @@ int i; | |||
| 7796 | return 0; | 10983 | return 0; |
| 7797 | } | 10984 | } |
| 7798 | _ACEOF | 10985 | _ACEOF |
| 7799 | if ac_fn_c_try_link "$LINENO"; then : | 10986 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 7800 | 10987 | if { (ac_try="$ac_link" | |
| 10988 | case "(($ac_try" in | ||
| 10989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10990 | *) ac_try_echo=$ac_try;; | ||
| 10991 | esac | ||
| 10992 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10993 | $as_echo "$ac_try_echo") >&5 | ||
| 10994 | (eval "$ac_link") 2>conftest.er1 | ||
| 10995 | ac_status=$? | ||
| 10996 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10997 | rm -f conftest.er1 | ||
| 10998 | cat conftest.err >&5 | ||
| 10999 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11000 | (exit $ac_status); } && { | ||
| 11001 | test -z "$ac_c_werror_flag" || | ||
| 11002 | test ! -s conftest.err | ||
| 11003 | } && test -s conftest$ac_exeext && { | ||
| 11004 | test "$cross_compiling" = yes || | ||
| 11005 | $as_test_x conftest$ac_exeext | ||
| 11006 | }; then | ||
| 11007 | : | ||
| 7801 | else | 11008 | else |
| 7802 | gdb_cv_bigtoc= | 11009 | $as_echo "$as_me: failed program was:" >&5 |
| 11010 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11011 | |||
| 11012 | gdb_cv_bigtoc= | ||
| 7803 | fi | 11013 | fi |
| 7804 | rm -f core conftest.err conftest.$ac_objext \ | 11014 | |
| 7805 | conftest$ac_exeext conftest.$ac_ext | 11015 | rm -rf conftest.dSYM |
| 11016 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11017 | conftest$ac_exeext conftest.$ac_ext | ||
| 7806 | 11018 | ||
| 7807 | fi | 11019 | fi |
| 7808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 | 11020 | { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
| 7809 | $as_echo "$gdb_cv_bigtoc" >&6; } | 11021 | $as_echo "$gdb_cv_bigtoc" >&6; } |
| 7810 | ;; | 11022 | ;; |
| 7811 | esac | 11023 | esac |
| @@ -7833,9 +11045,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 7833 | fi | 11045 | fi |
| 7834 | 11046 | ||
| 7835 | if test "${opsys}" = "gnu-linux"; then | 11047 | if test "${opsys}" = "gnu-linux"; then |
| 7836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 | 11048 | { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
| 7837 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 11049 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
| 7838 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11050 | cat >conftest.$ac_ext <<_ACEOF |
| 11051 | /* confdefs.h. */ | ||
| 11052 | _ACEOF | ||
| 11053 | cat confdefs.h >>conftest.$ac_ext | ||
| 11054 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7839 | /* end confdefs.h. */ | 11055 | /* end confdefs.h. */ |
| 7840 | 11056 | ||
| 7841 | int | 11057 | int |
| @@ -7846,13 +11062,38 @@ XOpenDisplay ("foo"); | |||
| 7846 | return 0; | 11062 | return 0; |
| 7847 | } | 11063 | } |
| 7848 | _ACEOF | 11064 | _ACEOF |
| 7849 | if ac_fn_c_try_link "$LINENO"; then : | 11065 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11066 | if { (ac_try="$ac_link" | ||
| 11067 | case "(($ac_try" in | ||
| 11068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11069 | *) ac_try_echo=$ac_try;; | ||
| 11070 | esac | ||
| 11071 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11072 | $as_echo "$ac_try_echo") >&5 | ||
| 11073 | (eval "$ac_link") 2>conftest.er1 | ||
| 11074 | ac_status=$? | ||
| 11075 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11076 | rm -f conftest.er1 | ||
| 11077 | cat conftest.err >&5 | ||
| 11078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11079 | (exit $ac_status); } && { | ||
| 11080 | test -z "$ac_c_werror_flag" || | ||
| 11081 | test ! -s conftest.err | ||
| 11082 | } && test -s conftest$ac_exeext && { | ||
| 11083 | test "$cross_compiling" = yes || | ||
| 11084 | $as_test_x conftest$ac_exeext | ||
| 11085 | }; then | ||
| 7850 | xlinux_first_failure=no | 11086 | xlinux_first_failure=no |
| 7851 | else | 11087 | else |
| 7852 | xlinux_first_failure=yes | 11088 | $as_echo "$as_me: failed program was:" >&5 |
| 11089 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11090 | |||
| 11091 | xlinux_first_failure=yes | ||
| 7853 | fi | 11092 | fi |
| 7854 | rm -f core conftest.err conftest.$ac_objext \ | 11093 | |
| 7855 | conftest$ac_exeext conftest.$ac_ext | 11094 | rm -rf conftest.dSYM |
| 11095 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11096 | conftest$ac_exeext conftest.$ac_ext | ||
| 7856 | if test "${xlinux_first_failure}" = "yes"; then | 11097 | if test "${xlinux_first_failure}" = "yes"; then |
| 7857 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11098 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
| 7858 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11099 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
| @@ -7862,7 +11103,11 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7862 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 11103 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
| 7863 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 11104 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 7864 | LIBS="$LIBS -b i486-linuxaout" | 11105 | LIBS="$LIBS -b i486-linuxaout" |
| 7865 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11106 | cat >conftest.$ac_ext <<_ACEOF |
| 11107 | /* confdefs.h. */ | ||
| 11108 | _ACEOF | ||
| 11109 | cat confdefs.h >>conftest.$ac_ext | ||
| 11110 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7866 | /* end confdefs.h. */ | 11111 | /* end confdefs.h. */ |
| 7867 | 11112 | ||
| 7868 | int | 11113 | int |
| @@ -7873,13 +11118,38 @@ XOpenDisplay ("foo"); | |||
| 7873 | return 0; | 11118 | return 0; |
| 7874 | } | 11119 | } |
| 7875 | _ACEOF | 11120 | _ACEOF |
| 7876 | if ac_fn_c_try_link "$LINENO"; then : | 11121 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11122 | if { (ac_try="$ac_link" | ||
| 11123 | case "(($ac_try" in | ||
| 11124 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11125 | *) ac_try_echo=$ac_try;; | ||
| 11126 | esac | ||
| 11127 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11128 | $as_echo "$ac_try_echo") >&5 | ||
| 11129 | (eval "$ac_link") 2>conftest.er1 | ||
| 11130 | ac_status=$? | ||
| 11131 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11132 | rm -f conftest.er1 | ||
| 11133 | cat conftest.err >&5 | ||
| 11134 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11135 | (exit $ac_status); } && { | ||
| 11136 | test -z "$ac_c_werror_flag" || | ||
| 11137 | test ! -s conftest.err | ||
| 11138 | } && test -s conftest$ac_exeext && { | ||
| 11139 | test "$cross_compiling" = yes || | ||
| 11140 | $as_test_x conftest$ac_exeext | ||
| 11141 | }; then | ||
| 7877 | xlinux_second_failure=no | 11142 | xlinux_second_failure=no |
| 7878 | else | 11143 | else |
| 7879 | xlinux_second_failure=yes | 11144 | $as_echo "$as_me: failed program was:" >&5 |
| 11145 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11146 | |||
| 11147 | xlinux_second_failure=yes | ||
| 7880 | fi | 11148 | fi |
| 7881 | rm -f core conftest.err conftest.$ac_objext \ | 11149 | |
| 7882 | conftest$ac_exeext conftest.$ac_ext | 11150 | rm -rf conftest.dSYM |
| 11151 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11152 | conftest$ac_exeext conftest.$ac_ext | ||
| 7883 | if test "${xlinux_second_failure}" = "yes"; then | 11153 | if test "${xlinux_second_failure}" = "yes"; then |
| 7884 | # If we get the same failure with -b, there is no use adding -b. | 11154 | # If we get the same failure with -b, there is no use adding -b. |
| 7885 | # So take it out. This plays safe. | 11155 | # So take it out. This plays safe. |
| @@ -7887,23 +11157,27 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7887 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11157 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
| 7888 | CPPFLAGS="$OLD_CPPFLAGS" | 11158 | CPPFLAGS="$OLD_CPPFLAGS" |
| 7889 | LIBS="$OLD_LIBS" | 11159 | LIBS="$OLD_LIBS" |
| 7890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11160 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7891 | $as_echo "no" >&6; } | 11161 | $as_echo "no" >&6; } |
| 7892 | else | 11162 | else |
| 7893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11163 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 7894 | $as_echo "yes" >&6; } | 11164 | $as_echo "yes" >&6; } |
| 7895 | fi | 11165 | fi |
| 7896 | else | 11166 | else |
| 7897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11167 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7898 | $as_echo "no" >&6; } | 11168 | $as_echo "no" >&6; } |
| 7899 | fi | 11169 | fi |
| 7900 | fi | 11170 | fi |
| 7901 | 11171 | ||
| 7902 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11172 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
| 7903 | # header files included from there. | 11173 | # header files included from there. |
| 7904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 | 11174 | { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 |
| 7905 | $as_echo_n "checking for Xkb... " >&6; } | 11175 | $as_echo_n "checking for Xkb... " >&6; } |
| 7906 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11176 | cat >conftest.$ac_ext <<_ACEOF |
| 11177 | /* confdefs.h. */ | ||
| 11178 | _ACEOF | ||
| 11179 | cat confdefs.h >>conftest.$ac_ext | ||
| 11180 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7907 | /* end confdefs.h. */ | 11181 | /* end confdefs.h. */ |
| 7908 | #include <X11/Xlib.h> | 11182 | #include <X11/Xlib.h> |
| 7909 | #include <X11/XKBlib.h> | 11183 | #include <X11/XKBlib.h> |
| @@ -7915,28 +11189,145 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | |||
| 7915 | return 0; | 11189 | return 0; |
| 7916 | } | 11190 | } |
| 7917 | _ACEOF | 11191 | _ACEOF |
| 7918 | if ac_fn_c_try_link "$LINENO"; then : | 11192 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11193 | if { (ac_try="$ac_link" | ||
| 11194 | case "(($ac_try" in | ||
| 11195 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11196 | *) ac_try_echo=$ac_try;; | ||
| 11197 | esac | ||
| 11198 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11199 | $as_echo "$ac_try_echo") >&5 | ||
| 11200 | (eval "$ac_link") 2>conftest.er1 | ||
| 11201 | ac_status=$? | ||
| 11202 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11203 | rm -f conftest.er1 | ||
| 11204 | cat conftest.err >&5 | ||
| 11205 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11206 | (exit $ac_status); } && { | ||
| 11207 | test -z "$ac_c_werror_flag" || | ||
| 11208 | test ! -s conftest.err | ||
| 11209 | } && test -s conftest$ac_exeext && { | ||
| 11210 | test "$cross_compiling" = yes || | ||
| 11211 | $as_test_x conftest$ac_exeext | ||
| 11212 | }; then | ||
| 7919 | emacs_xkb=yes | 11213 | emacs_xkb=yes |
| 7920 | else | 11214 | else |
| 7921 | emacs_xkb=no | 11215 | $as_echo "$as_me: failed program was:" >&5 |
| 11216 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11217 | |||
| 11218 | emacs_xkb=no | ||
| 7922 | fi | 11219 | fi |
| 7923 | rm -f core conftest.err conftest.$ac_objext \ | 11220 | |
| 7924 | conftest$ac_exeext conftest.$ac_ext | 11221 | rm -rf conftest.dSYM |
| 7925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 | 11222 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11223 | conftest$ac_exeext conftest.$ac_ext | ||
| 11224 | { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | ||
| 7926 | $as_echo "$emacs_xkb" >&6; } | 11225 | $as_echo "$emacs_xkb" >&6; } |
| 7927 | if test $emacs_xkb = yes; then | 11226 | if test $emacs_xkb = yes; then |
| 7928 | 11227 | ||
| 7929 | $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h | 11228 | cat >>confdefs.h <<\_ACEOF |
| 11229 | #define HAVE_XKBGETKEYBOARD 1 | ||
| 11230 | _ACEOF | ||
| 7930 | 11231 | ||
| 7931 | fi | 11232 | fi |
| 7932 | 11233 | ||
| 7933 | for ac_func in XrmSetDatabase XScreenResourceString \ | 11234 | |
| 11235 | |||
| 11236 | |||
| 11237 | |||
| 11238 | for ac_func in XrmSetDatabase XScreenResourceString \ | ||
| 7934 | XScreenNumberOfScreen XSetWMProtocols | 11239 | XScreenNumberOfScreen XSetWMProtocols |
| 7935 | do : | 11240 | do |
| 7936 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11241 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7937 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11242 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7938 | eval as_val=\$$as_ac_var | 11243 | $as_echo_n "checking for $ac_func... " >&6; } |
| 7939 | if test "x$as_val" = x""yes; then : | 11244 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11245 | $as_echo_n "(cached) " >&6 | ||
| 11246 | else | ||
| 11247 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11248 | /* confdefs.h. */ | ||
| 11249 | _ACEOF | ||
| 11250 | cat confdefs.h >>conftest.$ac_ext | ||
| 11251 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11252 | /* end confdefs.h. */ | ||
| 11253 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11254 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11255 | #define $ac_func innocuous_$ac_func | ||
| 11256 | |||
| 11257 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11258 | which can conflict with char $ac_func (); below. | ||
| 11259 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11260 | <limits.h> exists even on freestanding compilers. */ | ||
| 11261 | |||
| 11262 | #ifdef __STDC__ | ||
| 11263 | # include <limits.h> | ||
| 11264 | #else | ||
| 11265 | # include <assert.h> | ||
| 11266 | #endif | ||
| 11267 | |||
| 11268 | #undef $ac_func | ||
| 11269 | |||
| 11270 | /* Override any GCC internal prototype to avoid an error. | ||
| 11271 | Use char because int might match the return type of a GCC | ||
| 11272 | builtin and then its argument prototype would still apply. */ | ||
| 11273 | #ifdef __cplusplus | ||
| 11274 | extern "C" | ||
| 11275 | #endif | ||
| 11276 | char $ac_func (); | ||
| 11277 | /* The GNU C library defines this for functions which it implements | ||
| 11278 | to always fail with ENOSYS. Some functions are actually named | ||
| 11279 | something starting with __ and the normal name is an alias. */ | ||
| 11280 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11281 | choke me | ||
| 11282 | #endif | ||
| 11283 | |||
| 11284 | int | ||
| 11285 | main () | ||
| 11286 | { | ||
| 11287 | return $ac_func (); | ||
| 11288 | ; | ||
| 11289 | return 0; | ||
| 11290 | } | ||
| 11291 | _ACEOF | ||
| 11292 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11293 | if { (ac_try="$ac_link" | ||
| 11294 | case "(($ac_try" in | ||
| 11295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11296 | *) ac_try_echo=$ac_try;; | ||
| 11297 | esac | ||
| 11298 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11299 | $as_echo "$ac_try_echo") >&5 | ||
| 11300 | (eval "$ac_link") 2>conftest.er1 | ||
| 11301 | ac_status=$? | ||
| 11302 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11303 | rm -f conftest.er1 | ||
| 11304 | cat conftest.err >&5 | ||
| 11305 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11306 | (exit $ac_status); } && { | ||
| 11307 | test -z "$ac_c_werror_flag" || | ||
| 11308 | test ! -s conftest.err | ||
| 11309 | } && test -s conftest$ac_exeext && { | ||
| 11310 | test "$cross_compiling" = yes || | ||
| 11311 | $as_test_x conftest$ac_exeext | ||
| 11312 | }; then | ||
| 11313 | eval "$as_ac_var=yes" | ||
| 11314 | else | ||
| 11315 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11316 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11317 | |||
| 11318 | eval "$as_ac_var=no" | ||
| 11319 | fi | ||
| 11320 | |||
| 11321 | rm -rf conftest.dSYM | ||
| 11322 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11323 | conftest$ac_exeext conftest.$ac_ext | ||
| 11324 | fi | ||
| 11325 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11326 | $as_echo "$as_val"'` | ||
| 11327 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11328 | $as_echo "$ac_res" >&6; } | ||
| 11329 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11330 | $as_echo "$as_val"'` = yes; then | ||
| 7940 | cat >>confdefs.h <<_ACEOF | 11331 | cat >>confdefs.h <<_ACEOF |
| 7941 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11332 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7942 | _ACEOF | 11333 | _ACEOF |
| @@ -7947,12 +11338,16 @@ done | |||
| 7947 | fi | 11338 | fi |
| 7948 | 11339 | ||
| 7949 | if test "${window_system}" = "x11"; then | 11340 | if test "${window_system}" = "x11"; then |
| 7950 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 11341 | { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 |
| 7951 | $as_echo_n "checking X11 version 6... " >&6; } | 11342 | $as_echo_n "checking X11 version 6... " >&6; } |
| 7952 | if test "${emacs_cv_x11_version_6+set}" = set; then : | 11343 | if test "${emacs_cv_x11_version_6+set}" = set; then |
| 7953 | $as_echo_n "(cached) " >&6 | 11344 | $as_echo_n "(cached) " >&6 |
| 7954 | else | 11345 | else |
| 7955 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11346 | cat >conftest.$ac_ext <<_ACEOF |
| 11347 | /* confdefs.h. */ | ||
| 11348 | _ACEOF | ||
| 11349 | cat confdefs.h >>conftest.$ac_ext | ||
| 11350 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7956 | /* end confdefs.h. */ | 11351 | /* end confdefs.h. */ |
| 7957 | #include <X11/Xlib.h> | 11352 | #include <X11/Xlib.h> |
| 7958 | int | 11353 | int |
| @@ -7966,23 +11361,50 @@ fail; | |||
| 7966 | return 0; | 11361 | return 0; |
| 7967 | } | 11362 | } |
| 7968 | _ACEOF | 11363 | _ACEOF |
| 7969 | if ac_fn_c_try_link "$LINENO"; then : | 11364 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11365 | if { (ac_try="$ac_link" | ||
| 11366 | case "(($ac_try" in | ||
| 11367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11368 | *) ac_try_echo=$ac_try;; | ||
| 11369 | esac | ||
| 11370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11371 | $as_echo "$ac_try_echo") >&5 | ||
| 11372 | (eval "$ac_link") 2>conftest.er1 | ||
| 11373 | ac_status=$? | ||
| 11374 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11375 | rm -f conftest.er1 | ||
| 11376 | cat conftest.err >&5 | ||
| 11377 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11378 | (exit $ac_status); } && { | ||
| 11379 | test -z "$ac_c_werror_flag" || | ||
| 11380 | test ! -s conftest.err | ||
| 11381 | } && test -s conftest$ac_exeext && { | ||
| 11382 | test "$cross_compiling" = yes || | ||
| 11383 | $as_test_x conftest$ac_exeext | ||
| 11384 | }; then | ||
| 7970 | emacs_cv_x11_version_6=yes | 11385 | emacs_cv_x11_version_6=yes |
| 7971 | else | 11386 | else |
| 7972 | emacs_cv_x11_version_6=no | 11387 | $as_echo "$as_me: failed program was:" >&5 |
| 11388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11389 | |||
| 11390 | emacs_cv_x11_version_6=no | ||
| 7973 | fi | 11391 | fi |
| 7974 | rm -f core conftest.err conftest.$ac_objext \ | 11392 | |
| 7975 | conftest$ac_exeext conftest.$ac_ext | 11393 | rm -rf conftest.dSYM |
| 11394 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11395 | conftest$ac_exeext conftest.$ac_ext | ||
| 7976 | fi | 11396 | fi |
| 7977 | 11397 | ||
| 7978 | if test $emacs_cv_x11_version_6 = yes; then | 11398 | if test $emacs_cv_x11_version_6 = yes; then |
| 7979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 11399 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 7980 | $as_echo "6 or newer" >&6; } | 11400 | $as_echo "6 or newer" >&6; } |
| 7981 | 11401 | ||
| 7982 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 11402 | cat >>confdefs.h <<\_ACEOF |
| 11403 | #define HAVE_X11R6 1 | ||
| 11404 | _ACEOF | ||
| 7983 | 11405 | ||
| 7984 | else | 11406 | else |
| 7985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 11407 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 7986 | $as_echo "before 6" >&6; } | 11408 | $as_echo "before 6" >&6; } |
| 7987 | fi | 11409 | fi |
| 7988 | fi | 11410 | fi |
| @@ -8000,9 +11422,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then | |||
| 8000 | 11422 | ||
| 8001 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11423 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8002 | set dummy pkg-config; ac_word=$2 | 11424 | set dummy pkg-config; ac_word=$2 |
| 8003 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11425 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8004 | $as_echo_n "checking for $ac_word... " >&6; } | 11426 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8005 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11427 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8006 | $as_echo_n "(cached) " >&6 | 11428 | $as_echo_n "(cached) " >&6 |
| 8007 | else | 11429 | else |
| 8008 | case $PKG_CONFIG in | 11430 | case $PKG_CONFIG in |
| @@ -8015,14 +11437,14 @@ for as_dir in $PATH | |||
| 8015 | do | 11437 | do |
| 8016 | IFS=$as_save_IFS | 11438 | IFS=$as_save_IFS |
| 8017 | test -z "$as_dir" && as_dir=. | 11439 | test -z "$as_dir" && as_dir=. |
| 8018 | for ac_exec_ext in '' $ac_executable_extensions; do | 11440 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8019 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11441 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8020 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11442 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8021 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11443 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8022 | break 2 | 11444 | break 2 |
| 8023 | fi | 11445 | fi |
| 8024 | done | 11446 | done |
| 8025 | done | 11447 | done |
| 8026 | IFS=$as_save_IFS | 11448 | IFS=$as_save_IFS |
| 8027 | 11449 | ||
| 8028 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11450 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8031,10 +11453,10 @@ esac | |||
| 8031 | fi | 11453 | fi |
| 8032 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11454 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8033 | if test -n "$PKG_CONFIG"; then | 11455 | if test -n "$PKG_CONFIG"; then |
| 8034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11456 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8035 | $as_echo "$PKG_CONFIG" >&6; } | 11457 | $as_echo "$PKG_CONFIG" >&6; } |
| 8036 | else | 11458 | else |
| 8037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11459 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8038 | $as_echo "no" >&6; } | 11460 | $as_echo "no" >&6; } |
| 8039 | fi | 11461 | fi |
| 8040 | 11462 | ||
| @@ -8045,27 +11467,27 @@ fi | |||
| 8045 | else | 11467 | else |
| 8046 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11468 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8047 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11469 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 11470 | { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 |
| 8049 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 11471 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
| 8050 | 11472 | ||
| 8051 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 11473 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
| 8052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11474 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8053 | $as_echo "yes" >&6; } | 11475 | $as_echo "yes" >&6; } |
| 8054 | succeeded=yes | 11476 | succeeded=yes |
| 8055 | 11477 | ||
| 8056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 | 11478 | { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 |
| 8057 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 11479 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
| 8058 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11480 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 | 11481 | { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 |
| 8060 | $as_echo "$RSVG_CFLAGS" >&6; } | 11482 | $as_echo "$RSVG_CFLAGS" >&6; } |
| 8061 | 11483 | ||
| 8062 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 | 11484 | { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 |
| 8063 | $as_echo_n "checking RSVG_LIBS... " >&6; } | 11485 | $as_echo_n "checking RSVG_LIBS... " >&6; } |
| 8064 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11486 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 | 11487 | { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 |
| 8066 | $as_echo "$RSVG_LIBS" >&6; } | 11488 | $as_echo "$RSVG_LIBS" >&6; } |
| 8067 | else | 11489 | else |
| 8068 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11490 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8069 | $as_echo "no" >&6; } | 11491 | $as_echo "no" >&6; } |
| 8070 | RSVG_CFLAGS="" | 11492 | RSVG_CFLAGS="" |
| 8071 | RSVG_LIBS="" | 11493 | RSVG_LIBS="" |
| @@ -8095,7 +11517,9 @@ $as_echo "no" >&6; } | |||
| 8095 | if test ".${RSVG_CFLAGS}" != "."; then | 11517 | if test ".${RSVG_CFLAGS}" != "."; then |
| 8096 | HAVE_RSVG=yes | 11518 | HAVE_RSVG=yes |
| 8097 | 11519 | ||
| 8098 | $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 11520 | cat >>confdefs.h <<\_ACEOF |
| 11521 | #define HAVE_RSVG 1 | ||
| 11522 | _ACEOF | ||
| 8099 | 11523 | ||
| 8100 | CFLAGS="$CFLAGS $RSVG_CFLAGS" | 11524 | CFLAGS="$CFLAGS $RSVG_CFLAGS" |
| 8101 | LIBS="$RSVG_LIBS $LIBS" | 11525 | LIBS="$RSVG_LIBS $LIBS" |
| @@ -8115,9 +11539,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | |||
| 8115 | 11539 | ||
| 8116 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11540 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8117 | set dummy pkg-config; ac_word=$2 | 11541 | set dummy pkg-config; ac_word=$2 |
| 8118 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11542 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8119 | $as_echo_n "checking for $ac_word... " >&6; } | 11543 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8120 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11544 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8121 | $as_echo_n "(cached) " >&6 | 11545 | $as_echo_n "(cached) " >&6 |
| 8122 | else | 11546 | else |
| 8123 | case $PKG_CONFIG in | 11547 | case $PKG_CONFIG in |
| @@ -8130,14 +11554,14 @@ for as_dir in $PATH | |||
| 8130 | do | 11554 | do |
| 8131 | IFS=$as_save_IFS | 11555 | IFS=$as_save_IFS |
| 8132 | test -z "$as_dir" && as_dir=. | 11556 | test -z "$as_dir" && as_dir=. |
| 8133 | for ac_exec_ext in '' $ac_executable_extensions; do | 11557 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8134 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11558 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8135 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11559 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8136 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11560 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8137 | break 2 | 11561 | break 2 |
| 8138 | fi | 11562 | fi |
| 8139 | done | 11563 | done |
| 8140 | done | 11564 | done |
| 8141 | IFS=$as_save_IFS | 11565 | IFS=$as_save_IFS |
| 8142 | 11566 | ||
| 8143 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11567 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8146,10 +11570,10 @@ esac | |||
| 8146 | fi | 11570 | fi |
| 8147 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11571 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8148 | if test -n "$PKG_CONFIG"; then | 11572 | if test -n "$PKG_CONFIG"; then |
| 8149 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11573 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8150 | $as_echo "$PKG_CONFIG" >&6; } | 11574 | $as_echo "$PKG_CONFIG" >&6; } |
| 8151 | else | 11575 | else |
| 8152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11576 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8153 | $as_echo "no" >&6; } | 11577 | $as_echo "no" >&6; } |
| 8154 | fi | 11578 | fi |
| 8155 | 11579 | ||
| @@ -8160,27 +11584,27 @@ fi | |||
| 8160 | else | 11584 | else |
| 8161 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11585 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8162 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11586 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 11587 | { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
| 8164 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 11588 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 8165 | 11589 | ||
| 8166 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 11590 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
| 8167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11591 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8168 | $as_echo "yes" >&6; } | 11592 | $as_echo "yes" >&6; } |
| 8169 | succeeded=yes | 11593 | succeeded=yes |
| 8170 | 11594 | ||
| 8171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 11595 | { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
| 8172 | $as_echo_n "checking GTK_CFLAGS... " >&6; } | 11596 | $as_echo_n "checking GTK_CFLAGS... " >&6; } |
| 8173 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11597 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 11598 | { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
| 8175 | $as_echo "$GTK_CFLAGS" >&6; } | 11599 | $as_echo "$GTK_CFLAGS" >&6; } |
| 8176 | 11600 | ||
| 8177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 11601 | { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
| 8178 | $as_echo_n "checking GTK_LIBS... " >&6; } | 11602 | $as_echo_n "checking GTK_LIBS... " >&6; } |
| 8179 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11603 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 11604 | { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
| 8181 | $as_echo "$GTK_LIBS" >&6; } | 11605 | $as_echo "$GTK_LIBS" >&6; } |
| 8182 | else | 11606 | else |
| 8183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11607 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8184 | $as_echo "no" >&6; } | 11608 | $as_echo "no" >&6; } |
| 8185 | GTK_CFLAGS="" | 11609 | GTK_CFLAGS="" |
| 8186 | GTK_LIBS="" | 11610 | GTK_LIBS="" |
| @@ -8205,7 +11629,9 @@ $as_echo "no" >&6; } | |||
| 8205 | fi | 11629 | fi |
| 8206 | 11630 | ||
| 8207 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 11631 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
| 8208 | as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 11632 | { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 |
| 11633 | $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | ||
| 11634 | { (exit 1); exit 1; }; } | ||
| 8209 | fi | 11635 | fi |
| 8210 | fi | 11636 | fi |
| 8211 | 11637 | ||
| @@ -8219,12 +11645,101 @@ if test x"$pkg_check_gtk" = xyes; then | |||
| 8219 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 11645 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 8220 | LIBS="$GTK_LIBS $LIBS" | 11646 | LIBS="$GTK_LIBS $LIBS" |
| 8221 | GTK_COMPILES=no | 11647 | GTK_COMPILES=no |
| 8222 | for ac_func in gtk_main | 11648 | |
| 8223 | do : | 11649 | for ac_func in gtk_main |
| 8224 | ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11650 | do |
| 8225 | if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11651 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11652 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11653 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11654 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11655 | $as_echo_n "(cached) " >&6 | ||
| 11656 | else | ||
| 11657 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11658 | /* confdefs.h. */ | ||
| 11659 | _ACEOF | ||
| 11660 | cat confdefs.h >>conftest.$ac_ext | ||
| 11661 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11662 | /* end confdefs.h. */ | ||
| 11663 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11664 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11665 | #define $ac_func innocuous_$ac_func | ||
| 11666 | |||
| 11667 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11668 | which can conflict with char $ac_func (); below. | ||
| 11669 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11670 | <limits.h> exists even on freestanding compilers. */ | ||
| 11671 | |||
| 11672 | #ifdef __STDC__ | ||
| 11673 | # include <limits.h> | ||
| 11674 | #else | ||
| 11675 | # include <assert.h> | ||
| 11676 | #endif | ||
| 11677 | |||
| 11678 | #undef $ac_func | ||
| 11679 | |||
| 11680 | /* Override any GCC internal prototype to avoid an error. | ||
| 11681 | Use char because int might match the return type of a GCC | ||
| 11682 | builtin and then its argument prototype would still apply. */ | ||
| 11683 | #ifdef __cplusplus | ||
| 11684 | extern "C" | ||
| 11685 | #endif | ||
| 11686 | char $ac_func (); | ||
| 11687 | /* The GNU C library defines this for functions which it implements | ||
| 11688 | to always fail with ENOSYS. Some functions are actually named | ||
| 11689 | something starting with __ and the normal name is an alias. */ | ||
| 11690 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11691 | choke me | ||
| 11692 | #endif | ||
| 11693 | |||
| 11694 | int | ||
| 11695 | main () | ||
| 11696 | { | ||
| 11697 | return $ac_func (); | ||
| 11698 | ; | ||
| 11699 | return 0; | ||
| 11700 | } | ||
| 11701 | _ACEOF | ||
| 11702 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11703 | if { (ac_try="$ac_link" | ||
| 11704 | case "(($ac_try" in | ||
| 11705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11706 | *) ac_try_echo=$ac_try;; | ||
| 11707 | esac | ||
| 11708 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11709 | $as_echo "$ac_try_echo") >&5 | ||
| 11710 | (eval "$ac_link") 2>conftest.er1 | ||
| 11711 | ac_status=$? | ||
| 11712 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11713 | rm -f conftest.er1 | ||
| 11714 | cat conftest.err >&5 | ||
| 11715 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11716 | (exit $ac_status); } && { | ||
| 11717 | test -z "$ac_c_werror_flag" || | ||
| 11718 | test ! -s conftest.err | ||
| 11719 | } && test -s conftest$ac_exeext && { | ||
| 11720 | test "$cross_compiling" = yes || | ||
| 11721 | $as_test_x conftest$ac_exeext | ||
| 11722 | }; then | ||
| 11723 | eval "$as_ac_var=yes" | ||
| 11724 | else | ||
| 11725 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11726 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11727 | |||
| 11728 | eval "$as_ac_var=no" | ||
| 11729 | fi | ||
| 11730 | |||
| 11731 | rm -rf conftest.dSYM | ||
| 11732 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11733 | conftest$ac_exeext conftest.$ac_ext | ||
| 11734 | fi | ||
| 11735 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11736 | $as_echo "$as_val"'` | ||
| 11737 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11738 | $as_echo "$ac_res" >&6; } | ||
| 11739 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11740 | $as_echo "$as_val"'` = yes; then | ||
| 8226 | cat >>confdefs.h <<_ACEOF | 11741 | cat >>confdefs.h <<_ACEOF |
| 8227 | #define HAVE_GTK_MAIN 1 | 11742 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8228 | _ACEOF | 11743 | _ACEOF |
| 8229 | GTK_COMPILES=yes | 11744 | GTK_COMPILES=yes |
| 8230 | fi | 11745 | fi |
| @@ -8232,19 +11747,23 @@ done | |||
| 8232 | 11747 | ||
| 8233 | if test "${GTK_COMPILES}" != "yes"; then | 11748 | if test "${GTK_COMPILES}" != "yes"; then |
| 8234 | if test "$USE_X_TOOLKIT" != "maybe"; then | 11749 | if test "$USE_X_TOOLKIT" != "maybe"; then |
| 8235 | as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 11750 | { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 |
| 11751 | $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | ||
| 11752 | { (exit 1); exit 1; }; }; | ||
| 8236 | fi | 11753 | fi |
| 8237 | else | 11754 | else |
| 8238 | HAVE_GTK=yes | 11755 | HAVE_GTK=yes |
| 8239 | 11756 | ||
| 8240 | $as_echo "#define USE_GTK 1" >>confdefs.h | 11757 | cat >>confdefs.h <<\_ACEOF |
| 11758 | #define USE_GTK 1 | ||
| 11759 | _ACEOF | ||
| 8241 | 11760 | ||
| 8242 | GTK_OBJ=gtkutil.o | 11761 | GTK_OBJ=gtkutil.o |
| 8243 | USE_X_TOOLKIT=none | 11762 | USE_X_TOOLKIT=none |
| 8244 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 11763 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
| 8245 | : | 11764 | : |
| 8246 | else | 11765 | else |
| 8247 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 11766 | { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with |
| 8248 | closing open displays. This is no problem if you just use | 11767 | closing open displays. This is no problem if you just use |
| 8249 | one display, but if you use more than one and close one of them | 11768 | one display, but if you use more than one and close one of them |
| 8250 | Emacs may crash." >&5 | 11769 | Emacs may crash." >&5 |
| @@ -8267,12 +11786,101 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 8267 | fi | 11786 | fi |
| 8268 | 11787 | ||
| 8269 | HAVE_GTK_MULTIDISPLAY=no | 11788 | HAVE_GTK_MULTIDISPLAY=no |
| 8270 | for ac_func in gdk_display_open | 11789 | |
| 8271 | do : | 11790 | for ac_func in gdk_display_open |
| 8272 | ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" | 11791 | do |
| 8273 | if test "x$ac_cv_func_gdk_display_open" = x""yes; then : | 11792 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11793 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11794 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11795 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11796 | $as_echo_n "(cached) " >&6 | ||
| 11797 | else | ||
| 11798 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11799 | /* confdefs.h. */ | ||
| 11800 | _ACEOF | ||
| 11801 | cat confdefs.h >>conftest.$ac_ext | ||
| 11802 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11803 | /* end confdefs.h. */ | ||
| 11804 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11805 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11806 | #define $ac_func innocuous_$ac_func | ||
| 11807 | |||
| 11808 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11809 | which can conflict with char $ac_func (); below. | ||
| 11810 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11811 | <limits.h> exists even on freestanding compilers. */ | ||
| 11812 | |||
| 11813 | #ifdef __STDC__ | ||
| 11814 | # include <limits.h> | ||
| 11815 | #else | ||
| 11816 | # include <assert.h> | ||
| 11817 | #endif | ||
| 11818 | |||
| 11819 | #undef $ac_func | ||
| 11820 | |||
| 11821 | /* Override any GCC internal prototype to avoid an error. | ||
| 11822 | Use char because int might match the return type of a GCC | ||
| 11823 | builtin and then its argument prototype would still apply. */ | ||
| 11824 | #ifdef __cplusplus | ||
| 11825 | extern "C" | ||
| 11826 | #endif | ||
| 11827 | char $ac_func (); | ||
| 11828 | /* The GNU C library defines this for functions which it implements | ||
| 11829 | to always fail with ENOSYS. Some functions are actually named | ||
| 11830 | something starting with __ and the normal name is an alias. */ | ||
| 11831 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11832 | choke me | ||
| 11833 | #endif | ||
| 11834 | |||
| 11835 | int | ||
| 11836 | main () | ||
| 11837 | { | ||
| 11838 | return $ac_func (); | ||
| 11839 | ; | ||
| 11840 | return 0; | ||
| 11841 | } | ||
| 11842 | _ACEOF | ||
| 11843 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11844 | if { (ac_try="$ac_link" | ||
| 11845 | case "(($ac_try" in | ||
| 11846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11847 | *) ac_try_echo=$ac_try;; | ||
| 11848 | esac | ||
| 11849 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11850 | $as_echo "$ac_try_echo") >&5 | ||
| 11851 | (eval "$ac_link") 2>conftest.er1 | ||
| 11852 | ac_status=$? | ||
| 11853 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11854 | rm -f conftest.er1 | ||
| 11855 | cat conftest.err >&5 | ||
| 11856 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11857 | (exit $ac_status); } && { | ||
| 11858 | test -z "$ac_c_werror_flag" || | ||
| 11859 | test ! -s conftest.err | ||
| 11860 | } && test -s conftest$ac_exeext && { | ||
| 11861 | test "$cross_compiling" = yes || | ||
| 11862 | $as_test_x conftest$ac_exeext | ||
| 11863 | }; then | ||
| 11864 | eval "$as_ac_var=yes" | ||
| 11865 | else | ||
| 11866 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11867 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11868 | |||
| 11869 | eval "$as_ac_var=no" | ||
| 11870 | fi | ||
| 11871 | |||
| 11872 | rm -rf conftest.dSYM | ||
| 11873 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11874 | conftest$ac_exeext conftest.$ac_ext | ||
| 11875 | fi | ||
| 11876 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11877 | $as_echo "$as_val"'` | ||
| 11878 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11879 | $as_echo "$ac_res" >&6; } | ||
| 11880 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11881 | $as_echo "$as_val"'` = yes; then | ||
| 8274 | cat >>confdefs.h <<_ACEOF | 11882 | cat >>confdefs.h <<_ACEOF |
| 8275 | #define HAVE_GDK_DISPLAY_OPEN 1 | 11883 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8276 | _ACEOF | 11884 | _ACEOF |
| 8277 | HAVE_GTK_MULTIDISPLAY=yes | 11885 | HAVE_GTK_MULTIDISPLAY=yes |
| 8278 | fi | 11886 | fi |
| @@ -8280,27 +11888,170 @@ done | |||
| 8280 | 11888 | ||
| 8281 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 11889 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
| 8282 | 11890 | ||
| 8283 | $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h | 11891 | cat >>confdefs.h <<\_ACEOF |
| 11892 | #define HAVE_GTK_MULTIDISPLAY 1 | ||
| 11893 | _ACEOF | ||
| 8284 | 11894 | ||
| 8285 | fi | 11895 | fi |
| 8286 | 11896 | ||
| 8287 | HAVE_GTK_FILE_SELECTION=no | 11897 | HAVE_GTK_FILE_SELECTION=no |
| 8288 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 11898 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 |
| 11899 | $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | ||
| 11900 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | ||
| 11901 | $as_echo_n "(cached) " >&6 | ||
| 11902 | else | ||
| 11903 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11904 | /* confdefs.h. */ | ||
| 11905 | _ACEOF | ||
| 11906 | cat confdefs.h >>conftest.$ac_ext | ||
| 11907 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11908 | /* end confdefs.h. */ | ||
| 11909 | $ac_includes_default | ||
| 8289 | #include <gtk/gtk.h> | 11910 | #include <gtk/gtk.h> |
| 8290 | " | 11911 | |
| 8291 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 11912 | int |
| 11913 | main () | ||
| 11914 | { | ||
| 11915 | #ifndef GTK_TYPE_FILE_SELECTION | ||
| 11916 | (void) GTK_TYPE_FILE_SELECTION; | ||
| 11917 | #endif | ||
| 11918 | |||
| 11919 | ; | ||
| 11920 | return 0; | ||
| 11921 | } | ||
| 11922 | _ACEOF | ||
| 11923 | rm -f conftest.$ac_objext | ||
| 11924 | if { (ac_try="$ac_compile" | ||
| 11925 | case "(($ac_try" in | ||
| 11926 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11927 | *) ac_try_echo=$ac_try;; | ||
| 11928 | esac | ||
| 11929 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11930 | $as_echo "$ac_try_echo") >&5 | ||
| 11931 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11932 | ac_status=$? | ||
| 11933 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11934 | rm -f conftest.er1 | ||
| 11935 | cat conftest.err >&5 | ||
| 11936 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11937 | (exit $ac_status); } && { | ||
| 11938 | test -z "$ac_c_werror_flag" || | ||
| 11939 | test ! -s conftest.err | ||
| 11940 | } && test -s conftest.$ac_objext; then | ||
| 11941 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | ||
| 11942 | else | ||
| 11943 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11944 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11945 | |||
| 11946 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | ||
| 11947 | fi | ||
| 11948 | |||
| 11949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11950 | fi | ||
| 11951 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | ||
| 11952 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | ||
| 11953 | if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | ||
| 8292 | HAVE_GTK_FILE_SELECTION=yes | 11954 | HAVE_GTK_FILE_SELECTION=yes |
| 8293 | else | 11955 | else |
| 8294 | HAVE_GTK_FILE_SELECTION=no | 11956 | HAVE_GTK_FILE_SELECTION=no |
| 8295 | fi | 11957 | fi |
| 8296 | 11958 | ||
| 8297 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 11959 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
| 8298 | for ac_func in gtk_file_selection_new | 11960 | |
| 8299 | do : | 11961 | for ac_func in gtk_file_selection_new |
| 8300 | ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 11962 | do |
| 8301 | if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 11963 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11964 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11965 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11966 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11967 | $as_echo_n "(cached) " >&6 | ||
| 11968 | else | ||
| 11969 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11970 | /* confdefs.h. */ | ||
| 11971 | _ACEOF | ||
| 11972 | cat confdefs.h >>conftest.$ac_ext | ||
| 11973 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11974 | /* end confdefs.h. */ | ||
| 11975 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11976 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11977 | #define $ac_func innocuous_$ac_func | ||
| 11978 | |||
| 11979 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11980 | which can conflict with char $ac_func (); below. | ||
| 11981 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11982 | <limits.h> exists even on freestanding compilers. */ | ||
| 11983 | |||
| 11984 | #ifdef __STDC__ | ||
| 11985 | # include <limits.h> | ||
| 11986 | #else | ||
| 11987 | # include <assert.h> | ||
| 11988 | #endif | ||
| 11989 | |||
| 11990 | #undef $ac_func | ||
| 11991 | |||
| 11992 | /* Override any GCC internal prototype to avoid an error. | ||
| 11993 | Use char because int might match the return type of a GCC | ||
| 11994 | builtin and then its argument prototype would still apply. */ | ||
| 11995 | #ifdef __cplusplus | ||
| 11996 | extern "C" | ||
| 11997 | #endif | ||
| 11998 | char $ac_func (); | ||
| 11999 | /* The GNU C library defines this for functions which it implements | ||
| 12000 | to always fail with ENOSYS. Some functions are actually named | ||
| 12001 | something starting with __ and the normal name is an alias. */ | ||
| 12002 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12003 | choke me | ||
| 12004 | #endif | ||
| 12005 | |||
| 12006 | int | ||
| 12007 | main () | ||
| 12008 | { | ||
| 12009 | return $ac_func (); | ||
| 12010 | ; | ||
| 12011 | return 0; | ||
| 12012 | } | ||
| 12013 | _ACEOF | ||
| 12014 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12015 | if { (ac_try="$ac_link" | ||
| 12016 | case "(($ac_try" in | ||
| 12017 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12018 | *) ac_try_echo=$ac_try;; | ||
| 12019 | esac | ||
| 12020 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12021 | $as_echo "$ac_try_echo") >&5 | ||
| 12022 | (eval "$ac_link") 2>conftest.er1 | ||
| 12023 | ac_status=$? | ||
| 12024 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12025 | rm -f conftest.er1 | ||
| 12026 | cat conftest.err >&5 | ||
| 12027 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12028 | (exit $ac_status); } && { | ||
| 12029 | test -z "$ac_c_werror_flag" || | ||
| 12030 | test ! -s conftest.err | ||
| 12031 | } && test -s conftest$ac_exeext && { | ||
| 12032 | test "$cross_compiling" = yes || | ||
| 12033 | $as_test_x conftest$ac_exeext | ||
| 12034 | }; then | ||
| 12035 | eval "$as_ac_var=yes" | ||
| 12036 | else | ||
| 12037 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12038 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12039 | |||
| 12040 | eval "$as_ac_var=no" | ||
| 12041 | fi | ||
| 12042 | |||
| 12043 | rm -rf conftest.dSYM | ||
| 12044 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12045 | conftest$ac_exeext conftest.$ac_ext | ||
| 12046 | fi | ||
| 12047 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12048 | $as_echo "$as_val"'` | ||
| 12049 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12050 | $as_echo "$ac_res" >&6; } | ||
| 12051 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12052 | $as_echo "$as_val"'` = yes; then | ||
| 8302 | cat >>confdefs.h <<_ACEOF | 12053 | cat >>confdefs.h <<_ACEOF |
| 8303 | #define HAVE_GTK_FILE_SELECTION_NEW 1 | 12054 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8304 | _ACEOF | 12055 | _ACEOF |
| 8305 | HAVE_GTK_FILE_SELECTION=yes | 12056 | HAVE_GTK_FILE_SELECTION=yes |
| 8306 | else | 12057 | else |
| @@ -8311,22 +12062,163 @@ done | |||
| 8311 | fi | 12062 | fi |
| 8312 | 12063 | ||
| 8313 | HAVE_GTK_FILE_CHOOSER=no | 12064 | HAVE_GTK_FILE_CHOOSER=no |
| 8314 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default | 12065 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 |
| 12066 | $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | ||
| 12067 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | ||
| 12068 | $as_echo_n "(cached) " >&6 | ||
| 12069 | else | ||
| 12070 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12071 | /* confdefs.h. */ | ||
| 12072 | _ACEOF | ||
| 12073 | cat confdefs.h >>conftest.$ac_ext | ||
| 12074 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12075 | /* end confdefs.h. */ | ||
| 12076 | $ac_includes_default | ||
| 8315 | #include <gtk/gtk.h> | 12077 | #include <gtk/gtk.h> |
| 8316 | " | 12078 | |
| 8317 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : | 12079 | int |
| 12080 | main () | ||
| 12081 | { | ||
| 12082 | #ifndef GTK_TYPE_FILE_CHOOSER | ||
| 12083 | (void) GTK_TYPE_FILE_CHOOSER; | ||
| 12084 | #endif | ||
| 12085 | |||
| 12086 | ; | ||
| 12087 | return 0; | ||
| 12088 | } | ||
| 12089 | _ACEOF | ||
| 12090 | rm -f conftest.$ac_objext | ||
| 12091 | if { (ac_try="$ac_compile" | ||
| 12092 | case "(($ac_try" in | ||
| 12093 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12094 | *) ac_try_echo=$ac_try;; | ||
| 12095 | esac | ||
| 12096 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12097 | $as_echo "$ac_try_echo") >&5 | ||
| 12098 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12099 | ac_status=$? | ||
| 12100 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12101 | rm -f conftest.er1 | ||
| 12102 | cat conftest.err >&5 | ||
| 12103 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12104 | (exit $ac_status); } && { | ||
| 12105 | test -z "$ac_c_werror_flag" || | ||
| 12106 | test ! -s conftest.err | ||
| 12107 | } && test -s conftest.$ac_objext; then | ||
| 12108 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | ||
| 12109 | else | ||
| 12110 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12111 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12112 | |||
| 12113 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | ||
| 12114 | fi | ||
| 12115 | |||
| 12116 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12117 | fi | ||
| 12118 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | ||
| 12119 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | ||
| 12120 | if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | ||
| 8318 | HAVE_GTK_FILE_CHOOSER=yes | 12121 | HAVE_GTK_FILE_CHOOSER=yes |
| 8319 | else | 12122 | else |
| 8320 | HAVE_GTK_FILE_CHOOSER=no | 12123 | HAVE_GTK_FILE_CHOOSER=no |
| 8321 | fi | 12124 | fi |
| 8322 | 12125 | ||
| 8323 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12126 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8324 | for ac_func in gtk_file_chooser_dialog_new | 12127 | |
| 8325 | do : | 12128 | for ac_func in gtk_file_chooser_dialog_new |
| 8326 | ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" | 12129 | do |
| 8327 | if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : | 12130 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12131 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12132 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12133 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12134 | $as_echo_n "(cached) " >&6 | ||
| 12135 | else | ||
| 12136 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12137 | /* confdefs.h. */ | ||
| 12138 | _ACEOF | ||
| 12139 | cat confdefs.h >>conftest.$ac_ext | ||
| 12140 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12141 | /* end confdefs.h. */ | ||
| 12142 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12143 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12144 | #define $ac_func innocuous_$ac_func | ||
| 12145 | |||
| 12146 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12147 | which can conflict with char $ac_func (); below. | ||
| 12148 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12149 | <limits.h> exists even on freestanding compilers. */ | ||
| 12150 | |||
| 12151 | #ifdef __STDC__ | ||
| 12152 | # include <limits.h> | ||
| 12153 | #else | ||
| 12154 | # include <assert.h> | ||
| 12155 | #endif | ||
| 12156 | |||
| 12157 | #undef $ac_func | ||
| 12158 | |||
| 12159 | /* Override any GCC internal prototype to avoid an error. | ||
| 12160 | Use char because int might match the return type of a GCC | ||
| 12161 | builtin and then its argument prototype would still apply. */ | ||
| 12162 | #ifdef __cplusplus | ||
| 12163 | extern "C" | ||
| 12164 | #endif | ||
| 12165 | char $ac_func (); | ||
| 12166 | /* The GNU C library defines this for functions which it implements | ||
| 12167 | to always fail with ENOSYS. Some functions are actually named | ||
| 12168 | something starting with __ and the normal name is an alias. */ | ||
| 12169 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12170 | choke me | ||
| 12171 | #endif | ||
| 12172 | |||
| 12173 | int | ||
| 12174 | main () | ||
| 12175 | { | ||
| 12176 | return $ac_func (); | ||
| 12177 | ; | ||
| 12178 | return 0; | ||
| 12179 | } | ||
| 12180 | _ACEOF | ||
| 12181 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12182 | if { (ac_try="$ac_link" | ||
| 12183 | case "(($ac_try" in | ||
| 12184 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12185 | *) ac_try_echo=$ac_try;; | ||
| 12186 | esac | ||
| 12187 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12188 | $as_echo "$ac_try_echo") >&5 | ||
| 12189 | (eval "$ac_link") 2>conftest.er1 | ||
| 12190 | ac_status=$? | ||
| 12191 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12192 | rm -f conftest.er1 | ||
| 12193 | cat conftest.err >&5 | ||
| 12194 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12195 | (exit $ac_status); } && { | ||
| 12196 | test -z "$ac_c_werror_flag" || | ||
| 12197 | test ! -s conftest.err | ||
| 12198 | } && test -s conftest$ac_exeext && { | ||
| 12199 | test "$cross_compiling" = yes || | ||
| 12200 | $as_test_x conftest$ac_exeext | ||
| 12201 | }; then | ||
| 12202 | eval "$as_ac_var=yes" | ||
| 12203 | else | ||
| 12204 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12205 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12206 | |||
| 12207 | eval "$as_ac_var=no" | ||
| 12208 | fi | ||
| 12209 | |||
| 12210 | rm -rf conftest.dSYM | ||
| 12211 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12212 | conftest$ac_exeext conftest.$ac_ext | ||
| 12213 | fi | ||
| 12214 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12215 | $as_echo "$as_val"'` | ||
| 12216 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12217 | $as_echo "$ac_res" >&6; } | ||
| 12218 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12219 | $as_echo "$as_val"'` = yes; then | ||
| 8328 | cat >>confdefs.h <<_ACEOF | 12220 | cat >>confdefs.h <<_ACEOF |
| 8329 | #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 | 12221 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8330 | _ACEOF | 12222 | _ACEOF |
| 8331 | HAVE_GTK_FILE_CHOOSER=yes | 12223 | HAVE_GTK_FILE_CHOOSER=yes |
| 8332 | else | 12224 | else |
| @@ -8339,18 +12231,153 @@ done | |||
| 8339 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 12231 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
| 8340 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12232 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8341 | 12233 | ||
| 8342 | $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h | 12234 | cat >>confdefs.h <<\_ACEOF |
| 12235 | #define HAVE_GTK_FILE_BOTH 1 | ||
| 12236 | _ACEOF | ||
| 8343 | 12237 | ||
| 8344 | fi | 12238 | fi |
| 8345 | 12239 | ||
| 8346 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12240 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8347 | HAVE_GTK_AND_PTHREAD=no | 12241 | HAVE_GTK_AND_PTHREAD=no |
| 8348 | for ac_header in pthread.h | 12242 | |
| 8349 | do : | 12243 | for ac_header in pthread.h |
| 8350 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 12244 | do |
| 8351 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | 12245 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12246 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12247 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12248 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12249 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12250 | $as_echo_n "(cached) " >&6 | ||
| 12251 | fi | ||
| 12252 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12253 | $as_echo "$as_val"'` | ||
| 12254 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12255 | $as_echo "$ac_res" >&6; } | ||
| 12256 | else | ||
| 12257 | # Is the header compilable? | ||
| 12258 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 12259 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 12260 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12261 | /* confdefs.h. */ | ||
| 12262 | _ACEOF | ||
| 12263 | cat confdefs.h >>conftest.$ac_ext | ||
| 12264 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12265 | /* end confdefs.h. */ | ||
| 12266 | $ac_includes_default | ||
| 12267 | #include <$ac_header> | ||
| 12268 | _ACEOF | ||
| 12269 | rm -f conftest.$ac_objext | ||
| 12270 | if { (ac_try="$ac_compile" | ||
| 12271 | case "(($ac_try" in | ||
| 12272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12273 | *) ac_try_echo=$ac_try;; | ||
| 12274 | esac | ||
| 12275 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12276 | $as_echo "$ac_try_echo") >&5 | ||
| 12277 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12278 | ac_status=$? | ||
| 12279 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12280 | rm -f conftest.er1 | ||
| 12281 | cat conftest.err >&5 | ||
| 12282 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12283 | (exit $ac_status); } && { | ||
| 12284 | test -z "$ac_c_werror_flag" || | ||
| 12285 | test ! -s conftest.err | ||
| 12286 | } && test -s conftest.$ac_objext; then | ||
| 12287 | ac_header_compiler=yes | ||
| 12288 | else | ||
| 12289 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12290 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12291 | |||
| 12292 | ac_header_compiler=no | ||
| 12293 | fi | ||
| 12294 | |||
| 12295 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12296 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 12297 | $as_echo "$ac_header_compiler" >&6; } | ||
| 12298 | |||
| 12299 | # Is the header present? | ||
| 12300 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 12301 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 12302 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12303 | /* confdefs.h. */ | ||
| 12304 | _ACEOF | ||
| 12305 | cat confdefs.h >>conftest.$ac_ext | ||
| 12306 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12307 | /* end confdefs.h. */ | ||
| 12308 | #include <$ac_header> | ||
| 12309 | _ACEOF | ||
| 12310 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 12311 | case "(($ac_try" in | ||
| 12312 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12313 | *) ac_try_echo=$ac_try;; | ||
| 12314 | esac | ||
| 12315 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12316 | $as_echo "$ac_try_echo") >&5 | ||
| 12317 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12318 | ac_status=$? | ||
| 12319 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12320 | rm -f conftest.er1 | ||
| 12321 | cat conftest.err >&5 | ||
| 12322 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12323 | (exit $ac_status); } >/dev/null && { | ||
| 12324 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 12325 | test ! -s conftest.err | ||
| 12326 | }; then | ||
| 12327 | ac_header_preproc=yes | ||
| 12328 | else | ||
| 12329 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12330 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12331 | |||
| 12332 | ac_header_preproc=no | ||
| 12333 | fi | ||
| 12334 | |||
| 12335 | rm -f conftest.err conftest.$ac_ext | ||
| 12336 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 12337 | $as_echo "$ac_header_preproc" >&6; } | ||
| 12338 | |||
| 12339 | # So? What about this header? | ||
| 12340 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 12341 | yes:no: ) | ||
| 12342 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 12343 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 12344 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 12345 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 12346 | ac_header_preproc=yes | ||
| 12347 | ;; | ||
| 12348 | no:yes:* ) | ||
| 12349 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 12350 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 12351 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 12352 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 12353 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 12354 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 12355 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 12356 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 12357 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12358 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 12359 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 12360 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12361 | |||
| 12362 | ;; | ||
| 12363 | esac | ||
| 12364 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12365 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12366 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12367 | $as_echo_n "(cached) " >&6 | ||
| 12368 | else | ||
| 12369 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 12370 | fi | ||
| 12371 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12372 | $as_echo "$as_val"'` | ||
| 12373 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12374 | $as_echo "$ac_res" >&6; } | ||
| 12375 | |||
| 12376 | fi | ||
| 12377 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 12378 | $as_echo "$as_val"'` = yes; then | ||
| 8352 | cat >>confdefs.h <<_ACEOF | 12379 | cat >>confdefs.h <<_ACEOF |
| 8353 | #define HAVE_PTHREAD_H 1 | 12380 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8354 | _ACEOF | 12381 | _ACEOF |
| 8355 | 12382 | ||
| 8356 | fi | 12383 | fi |
| @@ -8358,14 +12385,18 @@ fi | |||
| 8358 | done | 12385 | done |
| 8359 | 12386 | ||
| 8360 | if test "$ac_cv_header_pthread_h"; then | 12387 | if test "$ac_cv_header_pthread_h"; then |
| 8361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 12388 | { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
| 8362 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 12389 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
| 8363 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 12390 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
| 8364 | $as_echo_n "(cached) " >&6 | 12391 | $as_echo_n "(cached) " >&6 |
| 8365 | else | 12392 | else |
| 8366 | ac_check_lib_save_LIBS=$LIBS | 12393 | ac_check_lib_save_LIBS=$LIBS |
| 8367 | LIBS="-lpthread $LIBS" | 12394 | LIBS="-lpthread $LIBS" |
| 8368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12395 | cat >conftest.$ac_ext <<_ACEOF |
| 12396 | /* confdefs.h. */ | ||
| 12397 | _ACEOF | ||
| 12398 | cat confdefs.h >>conftest.$ac_ext | ||
| 12399 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8369 | /* end confdefs.h. */ | 12400 | /* end confdefs.h. */ |
| 8370 | 12401 | ||
| 8371 | /* Override any GCC internal prototype to avoid an error. | 12402 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8383,18 +12414,43 @@ return pthread_self (); | |||
| 8383 | return 0; | 12414 | return 0; |
| 8384 | } | 12415 | } |
| 8385 | _ACEOF | 12416 | _ACEOF |
| 8386 | if ac_fn_c_try_link "$LINENO"; then : | 12417 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12418 | if { (ac_try="$ac_link" | ||
| 12419 | case "(($ac_try" in | ||
| 12420 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12421 | *) ac_try_echo=$ac_try;; | ||
| 12422 | esac | ||
| 12423 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12424 | $as_echo "$ac_try_echo") >&5 | ||
| 12425 | (eval "$ac_link") 2>conftest.er1 | ||
| 12426 | ac_status=$? | ||
| 12427 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12428 | rm -f conftest.er1 | ||
| 12429 | cat conftest.err >&5 | ||
| 12430 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12431 | (exit $ac_status); } && { | ||
| 12432 | test -z "$ac_c_werror_flag" || | ||
| 12433 | test ! -s conftest.err | ||
| 12434 | } && test -s conftest$ac_exeext && { | ||
| 12435 | test "$cross_compiling" = yes || | ||
| 12436 | $as_test_x conftest$ac_exeext | ||
| 12437 | }; then | ||
| 8387 | ac_cv_lib_pthread_pthread_self=yes | 12438 | ac_cv_lib_pthread_pthread_self=yes |
| 8388 | else | 12439 | else |
| 8389 | ac_cv_lib_pthread_pthread_self=no | 12440 | $as_echo "$as_me: failed program was:" >&5 |
| 12441 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12442 | |||
| 12443 | ac_cv_lib_pthread_pthread_self=no | ||
| 8390 | fi | 12444 | fi |
| 8391 | rm -f core conftest.err conftest.$ac_objext \ | 12445 | |
| 8392 | conftest$ac_exeext conftest.$ac_ext | 12446 | rm -rf conftest.dSYM |
| 12447 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12448 | conftest$ac_exeext conftest.$ac_ext | ||
| 8393 | LIBS=$ac_check_lib_save_LIBS | 12449 | LIBS=$ac_check_lib_save_LIBS |
| 8394 | fi | 12450 | fi |
| 8395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12451 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
| 8396 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 12452 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
| 8397 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 12453 | if test $ac_cv_lib_pthread_pthread_self = yes; then |
| 8398 | HAVE_GTK_AND_PTHREAD=yes | 12454 | HAVE_GTK_AND_PTHREAD=yes |
| 8399 | fi | 12455 | fi |
| 8400 | 12456 | ||
| @@ -8405,7 +12461,9 @@ fi | |||
| 8405 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 12461 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
| 8406 | esac | 12462 | esac |
| 8407 | 12463 | ||
| 8408 | $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | 12464 | cat >>confdefs.h <<\_ACEOF |
| 12465 | #define HAVE_GTK_AND_PTHREAD 1 | ||
| 12466 | _ACEOF | ||
| 8409 | 12467 | ||
| 8410 | fi | 12468 | fi |
| 8411 | fi | 12469 | fi |
| @@ -8419,9 +12477,9 @@ if test "${with_dbus}" = "yes"; then | |||
| 8419 | 12477 | ||
| 8420 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12478 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8421 | set dummy pkg-config; ac_word=$2 | 12479 | set dummy pkg-config; ac_word=$2 |
| 8422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12480 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8423 | $as_echo_n "checking for $ac_word... " >&6; } | 12481 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8424 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12482 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8425 | $as_echo_n "(cached) " >&6 | 12483 | $as_echo_n "(cached) " >&6 |
| 8426 | else | 12484 | else |
| 8427 | case $PKG_CONFIG in | 12485 | case $PKG_CONFIG in |
| @@ -8434,14 +12492,14 @@ for as_dir in $PATH | |||
| 8434 | do | 12492 | do |
| 8435 | IFS=$as_save_IFS | 12493 | IFS=$as_save_IFS |
| 8436 | test -z "$as_dir" && as_dir=. | 12494 | test -z "$as_dir" && as_dir=. |
| 8437 | for ac_exec_ext in '' $ac_executable_extensions; do | 12495 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8438 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12496 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8439 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12497 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8440 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12498 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8441 | break 2 | 12499 | break 2 |
| 8442 | fi | 12500 | fi |
| 8443 | done | 12501 | done |
| 8444 | done | 12502 | done |
| 8445 | IFS=$as_save_IFS | 12503 | IFS=$as_save_IFS |
| 8446 | 12504 | ||
| 8447 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12505 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8450,10 +12508,10 @@ esac | |||
| 8450 | fi | 12508 | fi |
| 8451 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12509 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8452 | if test -n "$PKG_CONFIG"; then | 12510 | if test -n "$PKG_CONFIG"; then |
| 8453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12511 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8454 | $as_echo "$PKG_CONFIG" >&6; } | 12512 | $as_echo "$PKG_CONFIG" >&6; } |
| 8455 | else | 12513 | else |
| 8456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12514 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8457 | $as_echo "no" >&6; } | 12515 | $as_echo "no" >&6; } |
| 8458 | fi | 12516 | fi |
| 8459 | 12517 | ||
| @@ -8464,27 +12522,27 @@ fi | |||
| 8464 | else | 12522 | else |
| 8465 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12523 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8466 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12524 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8467 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 12525 | { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 |
| 8468 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 12526 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
| 8469 | 12527 | ||
| 8470 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 12528 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
| 8471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12529 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8472 | $as_echo "yes" >&6; } | 12530 | $as_echo "yes" >&6; } |
| 8473 | succeeded=yes | 12531 | succeeded=yes |
| 8474 | 12532 | ||
| 8475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 | 12533 | { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 |
| 8476 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 12534 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
| 8477 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12535 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 | 12536 | { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 |
| 8479 | $as_echo "$DBUS_CFLAGS" >&6; } | 12537 | $as_echo "$DBUS_CFLAGS" >&6; } |
| 8480 | 12538 | ||
| 8481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 | 12539 | { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 |
| 8482 | $as_echo_n "checking DBUS_LIBS... " >&6; } | 12540 | $as_echo_n "checking DBUS_LIBS... " >&6; } |
| 8483 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12541 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 | 12542 | { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 |
| 8485 | $as_echo "$DBUS_LIBS" >&6; } | 12543 | $as_echo "$DBUS_LIBS" >&6; } |
| 8486 | else | 12544 | else |
| 8487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12545 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8488 | $as_echo "no" >&6; } | 12546 | $as_echo "no" >&6; } |
| 8489 | DBUS_CFLAGS="" | 12547 | DBUS_CFLAGS="" |
| 8490 | DBUS_LIBS="" | 12548 | DBUS_LIBS="" |
| @@ -8511,14 +12569,105 @@ $as_echo "no" >&6; } | |||
| 8511 | if test "$HAVE_DBUS" = yes; then | 12569 | if test "$HAVE_DBUS" = yes; then |
| 8512 | LIBS="$LIBS $DBUS_LIBS" | 12570 | LIBS="$LIBS $DBUS_LIBS" |
| 8513 | 12571 | ||
| 8514 | $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 12572 | cat >>confdefs.h <<\_ACEOF |
| 12573 | #define HAVE_DBUS 1 | ||
| 12574 | _ACEOF | ||
| 12575 | |||
| 12576 | |||
| 12577 | for ac_func in dbus_watch_get_unix_fd | ||
| 12578 | do | ||
| 12579 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 12580 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12581 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12582 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12583 | $as_echo_n "(cached) " >&6 | ||
| 12584 | else | ||
| 12585 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12586 | /* confdefs.h. */ | ||
| 12587 | _ACEOF | ||
| 12588 | cat confdefs.h >>conftest.$ac_ext | ||
| 12589 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12590 | /* end confdefs.h. */ | ||
| 12591 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12592 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12593 | #define $ac_func innocuous_$ac_func | ||
| 12594 | |||
| 12595 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12596 | which can conflict with char $ac_func (); below. | ||
| 12597 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12598 | <limits.h> exists even on freestanding compilers. */ | ||
| 12599 | |||
| 12600 | #ifdef __STDC__ | ||
| 12601 | # include <limits.h> | ||
| 12602 | #else | ||
| 12603 | # include <assert.h> | ||
| 12604 | #endif | ||
| 12605 | |||
| 12606 | #undef $ac_func | ||
| 12607 | |||
| 12608 | /* Override any GCC internal prototype to avoid an error. | ||
| 12609 | Use char because int might match the return type of a GCC | ||
| 12610 | builtin and then its argument prototype would still apply. */ | ||
| 12611 | #ifdef __cplusplus | ||
| 12612 | extern "C" | ||
| 12613 | #endif | ||
| 12614 | char $ac_func (); | ||
| 12615 | /* The GNU C library defines this for functions which it implements | ||
| 12616 | to always fail with ENOSYS. Some functions are actually named | ||
| 12617 | something starting with __ and the normal name is an alias. */ | ||
| 12618 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12619 | choke me | ||
| 12620 | #endif | ||
| 12621 | |||
| 12622 | int | ||
| 12623 | main () | ||
| 12624 | { | ||
| 12625 | return $ac_func (); | ||
| 12626 | ; | ||
| 12627 | return 0; | ||
| 12628 | } | ||
| 12629 | _ACEOF | ||
| 12630 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12631 | if { (ac_try="$ac_link" | ||
| 12632 | case "(($ac_try" in | ||
| 12633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12634 | *) ac_try_echo=$ac_try;; | ||
| 12635 | esac | ||
| 12636 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12637 | $as_echo "$ac_try_echo") >&5 | ||
| 12638 | (eval "$ac_link") 2>conftest.er1 | ||
| 12639 | ac_status=$? | ||
| 12640 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12641 | rm -f conftest.er1 | ||
| 12642 | cat conftest.err >&5 | ||
| 12643 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12644 | (exit $ac_status); } && { | ||
| 12645 | test -z "$ac_c_werror_flag" || | ||
| 12646 | test ! -s conftest.err | ||
| 12647 | } && test -s conftest$ac_exeext && { | ||
| 12648 | test "$cross_compiling" = yes || | ||
| 12649 | $as_test_x conftest$ac_exeext | ||
| 12650 | }; then | ||
| 12651 | eval "$as_ac_var=yes" | ||
| 12652 | else | ||
| 12653 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12654 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12655 | |||
| 12656 | eval "$as_ac_var=no" | ||
| 12657 | fi | ||
| 8515 | 12658 | ||
| 8516 | for ac_func in dbus_watch_get_unix_fd | 12659 | rm -rf conftest.dSYM |
| 8517 | do : | 12660 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 8518 | ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 12661 | conftest$ac_exeext conftest.$ac_ext |
| 8519 | if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 12662 | fi |
| 12663 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12664 | $as_echo "$as_val"'` | ||
| 12665 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12666 | $as_echo "$ac_res" >&6; } | ||
| 12667 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12668 | $as_echo "$as_val"'` = yes; then | ||
| 8520 | cat >>confdefs.h <<_ACEOF | 12669 | cat >>confdefs.h <<_ACEOF |
| 8521 | #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 12670 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8522 | _ACEOF | 12671 | _ACEOF |
| 8523 | 12672 | ||
| 8524 | fi | 12673 | fi |
| @@ -8536,9 +12685,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | |||
| 8536 | 12685 | ||
| 8537 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12686 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8538 | set dummy pkg-config; ac_word=$2 | 12687 | set dummy pkg-config; ac_word=$2 |
| 8539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12688 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8540 | $as_echo_n "checking for $ac_word... " >&6; } | 12689 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8541 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12690 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8542 | $as_echo_n "(cached) " >&6 | 12691 | $as_echo_n "(cached) " >&6 |
| 8543 | else | 12692 | else |
| 8544 | case $PKG_CONFIG in | 12693 | case $PKG_CONFIG in |
| @@ -8551,14 +12700,14 @@ for as_dir in $PATH | |||
| 8551 | do | 12700 | do |
| 8552 | IFS=$as_save_IFS | 12701 | IFS=$as_save_IFS |
| 8553 | test -z "$as_dir" && as_dir=. | 12702 | test -z "$as_dir" && as_dir=. |
| 8554 | for ac_exec_ext in '' $ac_executable_extensions; do | 12703 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8555 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12704 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8556 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12705 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8557 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12706 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8558 | break 2 | 12707 | break 2 |
| 8559 | fi | 12708 | fi |
| 8560 | done | 12709 | done |
| 8561 | done | 12710 | done |
| 8562 | IFS=$as_save_IFS | 12711 | IFS=$as_save_IFS |
| 8563 | 12712 | ||
| 8564 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12713 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8567,10 +12716,10 @@ esac | |||
| 8567 | fi | 12716 | fi |
| 8568 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12717 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8569 | if test -n "$PKG_CONFIG"; then | 12718 | if test -n "$PKG_CONFIG"; then |
| 8570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12719 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8571 | $as_echo "$PKG_CONFIG" >&6; } | 12720 | $as_echo "$PKG_CONFIG" >&6; } |
| 8572 | else | 12721 | else |
| 8573 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12722 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8574 | $as_echo "no" >&6; } | 12723 | $as_echo "no" >&6; } |
| 8575 | fi | 12724 | fi |
| 8576 | 12725 | ||
| @@ -8581,27 +12730,27 @@ fi | |||
| 8581 | else | 12730 | else |
| 8582 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12731 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8583 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12732 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 12733 | { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 |
| 8585 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 12734 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
| 8586 | 12735 | ||
| 8587 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 12736 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
| 8588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12737 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8589 | $as_echo "yes" >&6; } | 12738 | $as_echo "yes" >&6; } |
| 8590 | succeeded=yes | 12739 | succeeded=yes |
| 8591 | 12740 | ||
| 8592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 | 12741 | { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 |
| 8593 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 12742 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
| 8594 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12743 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 | 12744 | { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 |
| 8596 | $as_echo "$GCONF_CFLAGS" >&6; } | 12745 | $as_echo "$GCONF_CFLAGS" >&6; } |
| 8597 | 12746 | ||
| 8598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 | 12747 | { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 |
| 8599 | $as_echo_n "checking GCONF_LIBS... " >&6; } | 12748 | $as_echo_n "checking GCONF_LIBS... " >&6; } |
| 8600 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12749 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8601 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 | 12750 | { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 |
| 8602 | $as_echo "$GCONF_LIBS" >&6; } | 12751 | $as_echo "$GCONF_LIBS" >&6; } |
| 8603 | else | 12752 | else |
| 8604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12753 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8605 | $as_echo "no" >&6; } | 12754 | $as_echo "no" >&6; } |
| 8606 | GCONF_CFLAGS="" | 12755 | GCONF_CFLAGS="" |
| 8607 | GCONF_LIBS="" | 12756 | GCONF_LIBS="" |
| @@ -8627,7 +12776,9 @@ $as_echo "no" >&6; } | |||
| 8627 | 12776 | ||
| 8628 | if test "$HAVE_GCONF" = yes; then | 12777 | if test "$HAVE_GCONF" = yes; then |
| 8629 | 12778 | ||
| 8630 | $as_echo "#define HAVE_GCONF 1" >>confdefs.h | 12779 | cat >>confdefs.h <<\_ACEOF |
| 12780 | #define HAVE_GCONF 1 | ||
| 12781 | _ACEOF | ||
| 8631 | 12782 | ||
| 8632 | fi | 12783 | fi |
| 8633 | fi | 12784 | fi |
| @@ -8635,14 +12786,18 @@ fi | |||
| 8635 | HAVE_LIBSELINUX=no | 12786 | HAVE_LIBSELINUX=no |
| 8636 | LIBSELINUX_LIBS= | 12787 | LIBSELINUX_LIBS= |
| 8637 | if test "${with_selinux}" = "yes"; then | 12788 | if test "${with_selinux}" = "yes"; then |
| 8638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 12789 | { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 |
| 8639 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 12790 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
| 8640 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 12791 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then |
| 8641 | $as_echo_n "(cached) " >&6 | 12792 | $as_echo_n "(cached) " >&6 |
| 8642 | else | 12793 | else |
| 8643 | ac_check_lib_save_LIBS=$LIBS | 12794 | ac_check_lib_save_LIBS=$LIBS |
| 8644 | LIBS="-lselinux $LIBS" | 12795 | LIBS="-lselinux $LIBS" |
| 8645 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12796 | cat >conftest.$ac_ext <<_ACEOF |
| 12797 | /* confdefs.h. */ | ||
| 12798 | _ACEOF | ||
| 12799 | cat confdefs.h >>conftest.$ac_ext | ||
| 12800 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8646 | /* end confdefs.h. */ | 12801 | /* end confdefs.h. */ |
| 8647 | 12802 | ||
| 8648 | /* Override any GCC internal prototype to avoid an error. | 12803 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8660,18 +12815,43 @@ return lgetfilecon (); | |||
| 8660 | return 0; | 12815 | return 0; |
| 8661 | } | 12816 | } |
| 8662 | _ACEOF | 12817 | _ACEOF |
| 8663 | if ac_fn_c_try_link "$LINENO"; then : | 12818 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12819 | if { (ac_try="$ac_link" | ||
| 12820 | case "(($ac_try" in | ||
| 12821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12822 | *) ac_try_echo=$ac_try;; | ||
| 12823 | esac | ||
| 12824 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12825 | $as_echo "$ac_try_echo") >&5 | ||
| 12826 | (eval "$ac_link") 2>conftest.er1 | ||
| 12827 | ac_status=$? | ||
| 12828 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12829 | rm -f conftest.er1 | ||
| 12830 | cat conftest.err >&5 | ||
| 12831 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12832 | (exit $ac_status); } && { | ||
| 12833 | test -z "$ac_c_werror_flag" || | ||
| 12834 | test ! -s conftest.err | ||
| 12835 | } && test -s conftest$ac_exeext && { | ||
| 12836 | test "$cross_compiling" = yes || | ||
| 12837 | $as_test_x conftest$ac_exeext | ||
| 12838 | }; then | ||
| 8664 | ac_cv_lib_selinux_lgetfilecon=yes | 12839 | ac_cv_lib_selinux_lgetfilecon=yes |
| 8665 | else | 12840 | else |
| 8666 | ac_cv_lib_selinux_lgetfilecon=no | 12841 | $as_echo "$as_me: failed program was:" >&5 |
| 12842 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12843 | |||
| 12844 | ac_cv_lib_selinux_lgetfilecon=no | ||
| 8667 | fi | 12845 | fi |
| 8668 | rm -f core conftest.err conftest.$ac_objext \ | 12846 | |
| 8669 | conftest$ac_exeext conftest.$ac_ext | 12847 | rm -rf conftest.dSYM |
| 12848 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12849 | conftest$ac_exeext conftest.$ac_ext | ||
| 8670 | LIBS=$ac_check_lib_save_LIBS | 12850 | LIBS=$ac_check_lib_save_LIBS |
| 8671 | fi | 12851 | fi |
| 8672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 12852 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
| 8673 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 12853 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
| 8674 | if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 12854 | if test $ac_cv_lib_selinux_lgetfilecon = yes; then |
| 8675 | HAVE_LIBSELINUX=yes | 12855 | HAVE_LIBSELINUX=yes |
| 8676 | else | 12856 | else |
| 8677 | HAVE_LIBSELINUX=no | 12857 | HAVE_LIBSELINUX=no |
| @@ -8679,7 +12859,9 @@ fi | |||
| 8679 | 12859 | ||
| 8680 | if test "$HAVE_LIBSELINUX" = yes; then | 12860 | if test "$HAVE_LIBSELINUX" = yes; then |
| 8681 | 12861 | ||
| 8682 | $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h | 12862 | cat >>confdefs.h <<\_ACEOF |
| 12863 | #define HAVE_LIBSELINUX 1 | ||
| 12864 | _ACEOF | ||
| 8683 | 12865 | ||
| 8684 | LIBSELINUX_LIBS=-lselinux | 12866 | LIBSELINUX_LIBS=-lselinux |
| 8685 | fi | 12867 | fi |
| @@ -8687,14 +12869,19 @@ fi | |||
| 8687 | 12869 | ||
| 8688 | 12870 | ||
| 8689 | HAVE_XAW3D=no | 12871 | HAVE_XAW3D=no |
| 12872 | LUCID_LIBW= | ||
| 8690 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 12873 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8691 | if test "$with_xaw3d" != no; then | 12874 | if test "$with_xaw3d" != no; then |
| 8692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 12875 | { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
| 8693 | $as_echo_n "checking for xaw3d... " >&6; } | 12876 | $as_echo_n "checking for xaw3d... " >&6; } |
| 8694 | if test "${emacs_cv_xaw3d+set}" = set; then : | 12877 | if test "${emacs_cv_xaw3d+set}" = set; then |
| 8695 | $as_echo_n "(cached) " >&6 | 12878 | $as_echo_n "(cached) " >&6 |
| 8696 | else | 12879 | else |
| 8697 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12880 | cat >conftest.$ac_ext <<_ACEOF |
| 12881 | /* confdefs.h. */ | ||
| 12882 | _ACEOF | ||
| 12883 | cat confdefs.h >>conftest.$ac_ext | ||
| 12884 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8698 | /* end confdefs.h. */ | 12885 | /* end confdefs.h. */ |
| 8699 | 12886 | ||
| 8700 | #include <X11/Intrinsic.h> | 12887 | #include <X11/Intrinsic.h> |
| @@ -8707,35 +12894,67 @@ main () | |||
| 8707 | return 0; | 12894 | return 0; |
| 8708 | } | 12895 | } |
| 8709 | _ACEOF | 12896 | _ACEOF |
| 8710 | if ac_fn_c_try_link "$LINENO"; then : | 12897 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12898 | if { (ac_try="$ac_link" | ||
| 12899 | case "(($ac_try" in | ||
| 12900 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12901 | *) ac_try_echo=$ac_try;; | ||
| 12902 | esac | ||
| 12903 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12904 | $as_echo "$ac_try_echo") >&5 | ||
| 12905 | (eval "$ac_link") 2>conftest.er1 | ||
| 12906 | ac_status=$? | ||
| 12907 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12908 | rm -f conftest.er1 | ||
| 12909 | cat conftest.err >&5 | ||
| 12910 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12911 | (exit $ac_status); } && { | ||
| 12912 | test -z "$ac_c_werror_flag" || | ||
| 12913 | test ! -s conftest.err | ||
| 12914 | } && test -s conftest$ac_exeext && { | ||
| 12915 | test "$cross_compiling" = yes || | ||
| 12916 | $as_test_x conftest$ac_exeext | ||
| 12917 | }; then | ||
| 8711 | emacs_cv_xaw3d=yes | 12918 | emacs_cv_xaw3d=yes |
| 8712 | else | 12919 | else |
| 8713 | emacs_cv_xaw3d=no | 12920 | $as_echo "$as_me: failed program was:" >&5 |
| 12921 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12922 | |||
| 12923 | emacs_cv_xaw3d=no | ||
| 8714 | fi | 12924 | fi |
| 8715 | rm -f core conftest.err conftest.$ac_objext \ | 12925 | |
| 8716 | conftest$ac_exeext conftest.$ac_ext | 12926 | rm -rf conftest.dSYM |
| 12927 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12928 | conftest$ac_exeext conftest.$ac_ext | ||
| 8717 | fi | 12929 | fi |
| 8718 | 12930 | ||
| 8719 | else | 12931 | else |
| 8720 | emacs_cv_xaw3d=no | 12932 | emacs_cv_xaw3d=no |
| 8721 | fi | 12933 | fi |
| 8722 | if test $emacs_cv_xaw3d = yes; then | 12934 | if test $emacs_cv_xaw3d = yes; then |
| 8723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 12935 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8724 | $as_echo "yes; using Lucid toolkit" >&6; } | 12936 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8725 | USE_X_TOOLKIT=LUCID | 12937 | USE_X_TOOLKIT=LUCID |
| 8726 | HAVE_XAW3D=yes | 12938 | HAVE_XAW3D=yes |
| 12939 | LUCID_LIBW=-lXaw3d | ||
| 8727 | 12940 | ||
| 8728 | $as_echo "#define HAVE_XAW3D 1" >>confdefs.h | 12941 | cat >>confdefs.h <<\_ACEOF |
| 12942 | #define HAVE_XAW3D 1 | ||
| 12943 | _ACEOF | ||
| 8729 | 12944 | ||
| 8730 | else | 12945 | else |
| 8731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12946 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8732 | $as_echo "no" >&6; } | 12947 | $as_echo "no" >&6; } |
| 8733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 12948 | { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 |
| 8734 | $as_echo_n "checking for libXaw... " >&6; } | 12949 | $as_echo_n "checking for libXaw... " >&6; } |
| 8735 | if test "${emacs_cv_xaw+set}" = set; then : | 12950 | if test "${emacs_cv_xaw+set}" = set; then |
| 8736 | $as_echo_n "(cached) " >&6 | 12951 | $as_echo_n "(cached) " >&6 |
| 8737 | else | 12952 | else |
| 8738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12953 | cat >conftest.$ac_ext <<_ACEOF |
| 12954 | /* confdefs.h. */ | ||
| 12955 | _ACEOF | ||
| 12956 | cat confdefs.h >>conftest.$ac_ext | ||
| 12957 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8739 | /* end confdefs.h. */ | 12958 | /* end confdefs.h. */ |
| 8740 | 12959 | ||
| 8741 | #include <X11/Intrinsic.h> | 12960 | #include <X11/Intrinsic.h> |
| @@ -8748,38 +12967,71 @@ main () | |||
| 8748 | return 0; | 12967 | return 0; |
| 8749 | } | 12968 | } |
| 8750 | _ACEOF | 12969 | _ACEOF |
| 8751 | if ac_fn_c_try_link "$LINENO"; then : | 12970 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12971 | if { (ac_try="$ac_link" | ||
| 12972 | case "(($ac_try" in | ||
| 12973 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12974 | *) ac_try_echo=$ac_try;; | ||
| 12975 | esac | ||
| 12976 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12977 | $as_echo "$ac_try_echo") >&5 | ||
| 12978 | (eval "$ac_link") 2>conftest.er1 | ||
| 12979 | ac_status=$? | ||
| 12980 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12981 | rm -f conftest.er1 | ||
| 12982 | cat conftest.err >&5 | ||
| 12983 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12984 | (exit $ac_status); } && { | ||
| 12985 | test -z "$ac_c_werror_flag" || | ||
| 12986 | test ! -s conftest.err | ||
| 12987 | } && test -s conftest$ac_exeext && { | ||
| 12988 | test "$cross_compiling" = yes || | ||
| 12989 | $as_test_x conftest$ac_exeext | ||
| 12990 | }; then | ||
| 8752 | emacs_cv_xaw=yes | 12991 | emacs_cv_xaw=yes |
| 8753 | else | 12992 | else |
| 8754 | emacs_cv_xaw=no | 12993 | $as_echo "$as_me: failed program was:" >&5 |
| 12994 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12995 | |||
| 12996 | emacs_cv_xaw=no | ||
| 8755 | fi | 12997 | fi |
| 8756 | rm -f core conftest.err conftest.$ac_objext \ | 12998 | |
| 8757 | conftest$ac_exeext conftest.$ac_ext | 12999 | rm -rf conftest.dSYM |
| 13000 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13001 | conftest$ac_exeext conftest.$ac_ext | ||
| 8758 | fi | 13002 | fi |
| 8759 | 13003 | ||
| 8760 | if test $emacs_cv_xaw = yes; then | 13004 | if test $emacs_cv_xaw = yes; then |
| 8761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 13005 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8762 | $as_echo "yes; using Lucid toolkit" >&6; } | 13006 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8763 | USE_X_TOOLKIT=LUCID | 13007 | USE_X_TOOLKIT=LUCID |
| 13008 | LUCID_LIBW=-lXaw | ||
| 8764 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 13009 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8765 | as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 13010 | { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 |
| 13011 | $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | ||
| 13012 | { (exit 1); exit 1; }; } | ||
| 8766 | else | 13013 | else |
| 8767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 13014 | { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 |
| 8768 | $as_echo "no; do not use toolkit by default" >&6; } | 13015 | $as_echo "no; do not use toolkit by default" >&6; } |
| 8769 | USE_X_TOOLKIT=none | 13016 | USE_X_TOOLKIT=none |
| 8770 | fi | 13017 | fi |
| 8771 | fi | 13018 | fi |
| 8772 | fi | 13019 | fi |
| 8773 | 13020 | ||
| 13021 | |||
| 8774 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 13022 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
| 8775 | 13023 | ||
| 8776 | if test "${USE_X_TOOLKIT}" != "none"; then | 13024 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 13025 | { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
| 8778 | $as_echo_n "checking X11 toolkit version... " >&6; } | 13026 | $as_echo_n "checking X11 toolkit version... " >&6; } |
| 8779 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 13027 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
| 8780 | $as_echo_n "(cached) " >&6 | 13028 | $as_echo_n "(cached) " >&6 |
| 8781 | else | 13029 | else |
| 8782 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13030 | cat >conftest.$ac_ext <<_ACEOF |
| 13031 | /* confdefs.h. */ | ||
| 13032 | _ACEOF | ||
| 13033 | cat confdefs.h >>conftest.$ac_ext | ||
| 13034 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8783 | /* end confdefs.h. */ | 13035 | /* end confdefs.h. */ |
| 8784 | #include <X11/Intrinsic.h> | 13036 | #include <X11/Intrinsic.h> |
| 8785 | int | 13037 | int |
| @@ -8793,24 +13045,51 @@ fail; | |||
| 8793 | return 0; | 13045 | return 0; |
| 8794 | } | 13046 | } |
| 8795 | _ACEOF | 13047 | _ACEOF |
| 8796 | if ac_fn_c_try_link "$LINENO"; then : | 13048 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13049 | if { (ac_try="$ac_link" | ||
| 13050 | case "(($ac_try" in | ||
| 13051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13052 | *) ac_try_echo=$ac_try;; | ||
| 13053 | esac | ||
| 13054 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13055 | $as_echo "$ac_try_echo") >&5 | ||
| 13056 | (eval "$ac_link") 2>conftest.er1 | ||
| 13057 | ac_status=$? | ||
| 13058 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13059 | rm -f conftest.er1 | ||
| 13060 | cat conftest.err >&5 | ||
| 13061 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13062 | (exit $ac_status); } && { | ||
| 13063 | test -z "$ac_c_werror_flag" || | ||
| 13064 | test ! -s conftest.err | ||
| 13065 | } && test -s conftest$ac_exeext && { | ||
| 13066 | test "$cross_compiling" = yes || | ||
| 13067 | $as_test_x conftest$ac_exeext | ||
| 13068 | }; then | ||
| 8797 | emacs_cv_x11_toolkit_version_6=yes | 13069 | emacs_cv_x11_toolkit_version_6=yes |
| 8798 | else | 13070 | else |
| 8799 | emacs_cv_x11_toolkit_version_6=no | 13071 | $as_echo "$as_me: failed program was:" >&5 |
| 13072 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13073 | |||
| 13074 | emacs_cv_x11_toolkit_version_6=no | ||
| 8800 | fi | 13075 | fi |
| 8801 | rm -f core conftest.err conftest.$ac_objext \ | 13076 | |
| 8802 | conftest$ac_exeext conftest.$ac_ext | 13077 | rm -rf conftest.dSYM |
| 13078 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13079 | conftest$ac_exeext conftest.$ac_ext | ||
| 8803 | fi | 13080 | fi |
| 8804 | 13081 | ||
| 8805 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13082 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
| 8806 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13083 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 8807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 13084 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 8808 | $as_echo "6 or newer" >&6; } | 13085 | $as_echo "6 or newer" >&6; } |
| 8809 | 13086 | ||
| 8810 | $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | 13087 | cat >>confdefs.h <<\_ACEOF |
| 13088 | #define HAVE_X11XTR6 1 | ||
| 13089 | _ACEOF | ||
| 8811 | 13090 | ||
| 8812 | else | 13091 | else |
| 8813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 13092 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 8814 | $as_echo "before 6" >&6; } | 13093 | $as_echo "before 6" >&6; } |
| 8815 | fi | 13094 | fi |
| 8816 | 13095 | ||
| @@ -8820,14 +13099,19 @@ $as_echo "before 6" >&6; } | |||
| 8820 | else | 13099 | else |
| 8821 | LIBS="-lXt $LIBS" | 13100 | LIBS="-lXt $LIBS" |
| 8822 | fi | 13101 | fi |
| 8823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13102 | |
| 13103 | { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | ||
| 8824 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 13104 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
| 8825 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 13105 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
| 8826 | $as_echo_n "(cached) " >&6 | 13106 | $as_echo_n "(cached) " >&6 |
| 8827 | else | 13107 | else |
| 8828 | ac_check_lib_save_LIBS=$LIBS | 13108 | ac_check_lib_save_LIBS=$LIBS |
| 8829 | LIBS="-lXmu $LIBS" | 13109 | LIBS="-lXmu $LIBS" |
| 8830 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13110 | cat >conftest.$ac_ext <<_ACEOF |
| 13111 | /* confdefs.h. */ | ||
| 13112 | _ACEOF | ||
| 13113 | cat confdefs.h >>conftest.$ac_ext | ||
| 13114 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8831 | /* end confdefs.h. */ | 13115 | /* end confdefs.h. */ |
| 8832 | 13116 | ||
| 8833 | /* Override any GCC internal prototype to avoid an error. | 13117 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8845,18 +13129,43 @@ return XmuConvertStandardSelection (); | |||
| 8845 | return 0; | 13129 | return 0; |
| 8846 | } | 13130 | } |
| 8847 | _ACEOF | 13131 | _ACEOF |
| 8848 | if ac_fn_c_try_link "$LINENO"; then : | 13132 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13133 | if { (ac_try="$ac_link" | ||
| 13134 | case "(($ac_try" in | ||
| 13135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13136 | *) ac_try_echo=$ac_try;; | ||
| 13137 | esac | ||
| 13138 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13139 | $as_echo "$ac_try_echo") >&5 | ||
| 13140 | (eval "$ac_link") 2>conftest.er1 | ||
| 13141 | ac_status=$? | ||
| 13142 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13143 | rm -f conftest.er1 | ||
| 13144 | cat conftest.err >&5 | ||
| 13145 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13146 | (exit $ac_status); } && { | ||
| 13147 | test -z "$ac_c_werror_flag" || | ||
| 13148 | test ! -s conftest.err | ||
| 13149 | } && test -s conftest$ac_exeext && { | ||
| 13150 | test "$cross_compiling" = yes || | ||
| 13151 | $as_test_x conftest$ac_exeext | ||
| 13152 | }; then | ||
| 8849 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13153 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
| 8850 | else | 13154 | else |
| 8851 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13155 | $as_echo "$as_me: failed program was:" >&5 |
| 13156 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13157 | |||
| 13158 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | ||
| 8852 | fi | 13159 | fi |
| 8853 | rm -f core conftest.err conftest.$ac_objext \ | 13160 | |
| 8854 | conftest$ac_exeext conftest.$ac_ext | 13161 | rm -rf conftest.dSYM |
| 13162 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13163 | conftest$ac_exeext conftest.$ac_ext | ||
| 8855 | LIBS=$ac_check_lib_save_LIBS | 13164 | LIBS=$ac_check_lib_save_LIBS |
| 8856 | fi | 13165 | fi |
| 8857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13166 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
| 8858 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 13167 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
| 8859 | if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 13168 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
| 8860 | cat >>confdefs.h <<_ACEOF | 13169 | cat >>confdefs.h <<_ACEOF |
| 8861 | #define HAVE_LIBXMU 1 | 13170 | #define HAVE_LIBXMU 1 |
| 8862 | _ACEOF | 13171 | _ACEOF |
| @@ -8871,14 +13180,19 @@ fi | |||
| 8871 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13180 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
| 8872 | if test "${HAVE_X11}" = "yes"; then | 13181 | if test "${HAVE_X11}" = "yes"; then |
| 8873 | if test "${USE_X_TOOLKIT}" != "none"; then | 13182 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 13183 | |
| 13184 | { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | ||
| 8875 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 13185 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
| 8876 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 13186 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
| 8877 | $as_echo_n "(cached) " >&6 | 13187 | $as_echo_n "(cached) " >&6 |
| 8878 | else | 13188 | else |
| 8879 | ac_check_lib_save_LIBS=$LIBS | 13189 | ac_check_lib_save_LIBS=$LIBS |
| 8880 | LIBS="-lXext $LIBS" | 13190 | LIBS="-lXext $LIBS" |
| 8881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13191 | cat >conftest.$ac_ext <<_ACEOF |
| 13192 | /* confdefs.h. */ | ||
| 13193 | _ACEOF | ||
| 13194 | cat confdefs.h >>conftest.$ac_ext | ||
| 13195 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8882 | /* end confdefs.h. */ | 13196 | /* end confdefs.h. */ |
| 8883 | 13197 | ||
| 8884 | /* Override any GCC internal prototype to avoid an error. | 13198 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8896,18 +13210,43 @@ return XShapeQueryExtension (); | |||
| 8896 | return 0; | 13210 | return 0; |
| 8897 | } | 13211 | } |
| 8898 | _ACEOF | 13212 | _ACEOF |
| 8899 | if ac_fn_c_try_link "$LINENO"; then : | 13213 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13214 | if { (ac_try="$ac_link" | ||
| 13215 | case "(($ac_try" in | ||
| 13216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13217 | *) ac_try_echo=$ac_try;; | ||
| 13218 | esac | ||
| 13219 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13220 | $as_echo "$ac_try_echo") >&5 | ||
| 13221 | (eval "$ac_link") 2>conftest.er1 | ||
| 13222 | ac_status=$? | ||
| 13223 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13224 | rm -f conftest.er1 | ||
| 13225 | cat conftest.err >&5 | ||
| 13226 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13227 | (exit $ac_status); } && { | ||
| 13228 | test -z "$ac_c_werror_flag" || | ||
| 13229 | test ! -s conftest.err | ||
| 13230 | } && test -s conftest$ac_exeext && { | ||
| 13231 | test "$cross_compiling" = yes || | ||
| 13232 | $as_test_x conftest$ac_exeext | ||
| 13233 | }; then | ||
| 8900 | ac_cv_lib_Xext_XShapeQueryExtension=yes | 13234 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
| 8901 | else | 13235 | else |
| 8902 | ac_cv_lib_Xext_XShapeQueryExtension=no | 13236 | $as_echo "$as_me: failed program was:" >&5 |
| 13237 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13238 | |||
| 13239 | ac_cv_lib_Xext_XShapeQueryExtension=no | ||
| 8903 | fi | 13240 | fi |
| 8904 | rm -f core conftest.err conftest.$ac_objext \ | 13241 | |
| 8905 | conftest$ac_exeext conftest.$ac_ext | 13242 | rm -rf conftest.dSYM |
| 13243 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13244 | conftest$ac_exeext conftest.$ac_ext | ||
| 8906 | LIBS=$ac_check_lib_save_LIBS | 13245 | LIBS=$ac_check_lib_save_LIBS |
| 8907 | fi | 13246 | fi |
| 8908 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13247 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
| 8909 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 13248 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
| 8910 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 13249 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
| 8911 | cat >>confdefs.h <<_ACEOF | 13250 | cat >>confdefs.h <<_ACEOF |
| 8912 | #define HAVE_LIBXEXT 1 | 13251 | #define HAVE_LIBXEXT 1 |
| 8913 | _ACEOF | 13252 | _ACEOF |
| @@ -8919,13 +13258,18 @@ fi | |||
| 8919 | fi | 13258 | fi |
| 8920 | fi | 13259 | fi |
| 8921 | 13260 | ||
| 13261 | LIBXP= | ||
| 8922 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13262 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 8923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 13263 | { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
| 8924 | $as_echo_n "checking for Motif version 2.1... " >&6; } | 13264 | $as_echo_n "checking for Motif version 2.1... " >&6; } |
| 8925 | if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 13265 | if test "${emacs_cv_motif_version_2_1+set}" = set; then |
| 8926 | $as_echo_n "(cached) " >&6 | 13266 | $as_echo_n "(cached) " >&6 |
| 8927 | else | 13267 | else |
| 8928 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13268 | cat >conftest.$ac_ext <<_ACEOF |
| 13269 | /* confdefs.h. */ | ||
| 13270 | _ACEOF | ||
| 13271 | cat confdefs.h >>conftest.$ac_ext | ||
| 13272 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8929 | /* end confdefs.h. */ | 13273 | /* end confdefs.h. */ |
| 8930 | #include <Xm/Xm.h> | 13274 | #include <Xm/Xm.h> |
| 8931 | int | 13275 | int |
| @@ -8940,29 +13284,56 @@ Motif version prior to 2.1. | |||
| 8940 | return 0; | 13284 | return 0; |
| 8941 | } | 13285 | } |
| 8942 | _ACEOF | 13286 | _ACEOF |
| 8943 | if ac_fn_c_try_compile "$LINENO"; then : | 13287 | rm -f conftest.$ac_objext |
| 13288 | if { (ac_try="$ac_compile" | ||
| 13289 | case "(($ac_try" in | ||
| 13290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13291 | *) ac_try_echo=$ac_try;; | ||
| 13292 | esac | ||
| 13293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13294 | $as_echo "$ac_try_echo") >&5 | ||
| 13295 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13296 | ac_status=$? | ||
| 13297 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13298 | rm -f conftest.er1 | ||
| 13299 | cat conftest.err >&5 | ||
| 13300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13301 | (exit $ac_status); } && { | ||
| 13302 | test -z "$ac_c_werror_flag" || | ||
| 13303 | test ! -s conftest.err | ||
| 13304 | } && test -s conftest.$ac_objext; then | ||
| 8944 | emacs_cv_motif_version_2_1=yes | 13305 | emacs_cv_motif_version_2_1=yes |
| 8945 | else | 13306 | else |
| 8946 | emacs_cv_motif_version_2_1=no | 13307 | $as_echo "$as_me: failed program was:" >&5 |
| 13308 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13309 | |||
| 13310 | emacs_cv_motif_version_2_1=no | ||
| 8947 | fi | 13311 | fi |
| 13312 | |||
| 8948 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8949 | fi | 13314 | fi |
| 8950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 13315 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
| 8951 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 13316 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
| 8952 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 13317 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
| 8953 | if test $emacs_cv_motif_version_2_1 = yes; then | 13318 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 8954 | HAVE_LIBXP=no | 13319 | HAVE_LIBXP=no |
| 8955 | 13320 | ||
| 8956 | $as_echo "#define HAVE_MOTIF_2_1 1" >>confdefs.h | 13321 | cat >>confdefs.h <<\_ACEOF |
| 13322 | #define HAVE_MOTIF_2_1 1 | ||
| 13323 | _ACEOF | ||
| 8957 | 13324 | ||
| 8958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 13325 | { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
| 8959 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 13326 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
| 8960 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 13327 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
| 8961 | $as_echo_n "(cached) " >&6 | 13328 | $as_echo_n "(cached) " >&6 |
| 8962 | else | 13329 | else |
| 8963 | ac_check_lib_save_LIBS=$LIBS | 13330 | ac_check_lib_save_LIBS=$LIBS |
| 8964 | LIBS="-lXp $LIBS" | 13331 | LIBS="-lXp $LIBS" |
| 8965 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13332 | cat >conftest.$ac_ext <<_ACEOF |
| 13333 | /* confdefs.h. */ | ||
| 13334 | _ACEOF | ||
| 13335 | cat confdefs.h >>conftest.$ac_ext | ||
| 13336 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8966 | /* end confdefs.h. */ | 13337 | /* end confdefs.h. */ |
| 8967 | 13338 | ||
| 8968 | /* Override any GCC internal prototype to avoid an error. | 13339 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8980,30 +13351,58 @@ return XpCreateContext (); | |||
| 8980 | return 0; | 13351 | return 0; |
| 8981 | } | 13352 | } |
| 8982 | _ACEOF | 13353 | _ACEOF |
| 8983 | if ac_fn_c_try_link "$LINENO"; then : | 13354 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13355 | if { (ac_try="$ac_link" | ||
| 13356 | case "(($ac_try" in | ||
| 13357 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13358 | *) ac_try_echo=$ac_try;; | ||
| 13359 | esac | ||
| 13360 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13361 | $as_echo "$ac_try_echo") >&5 | ||
| 13362 | (eval "$ac_link") 2>conftest.er1 | ||
| 13363 | ac_status=$? | ||
| 13364 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13365 | rm -f conftest.er1 | ||
| 13366 | cat conftest.err >&5 | ||
| 13367 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13368 | (exit $ac_status); } && { | ||
| 13369 | test -z "$ac_c_werror_flag" || | ||
| 13370 | test ! -s conftest.err | ||
| 13371 | } && test -s conftest$ac_exeext && { | ||
| 13372 | test "$cross_compiling" = yes || | ||
| 13373 | $as_test_x conftest$ac_exeext | ||
| 13374 | }; then | ||
| 8984 | ac_cv_lib_Xp_XpCreateContext=yes | 13375 | ac_cv_lib_Xp_XpCreateContext=yes |
| 8985 | else | 13376 | else |
| 8986 | ac_cv_lib_Xp_XpCreateContext=no | 13377 | $as_echo "$as_me: failed program was:" >&5 |
| 13378 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13379 | |||
| 13380 | ac_cv_lib_Xp_XpCreateContext=no | ||
| 8987 | fi | 13381 | fi |
| 8988 | rm -f core conftest.err conftest.$ac_objext \ | 13382 | |
| 8989 | conftest$ac_exeext conftest.$ac_ext | 13383 | rm -rf conftest.dSYM |
| 13384 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13385 | conftest$ac_exeext conftest.$ac_ext | ||
| 8990 | LIBS=$ac_check_lib_save_LIBS | 13386 | LIBS=$ac_check_lib_save_LIBS |
| 8991 | fi | 13387 | fi |
| 8992 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13388 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
| 8993 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 13389 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
| 8994 | if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 13390 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
| 8995 | HAVE_LIBXP=yes | 13391 | HAVE_LIBXP=yes |
| 8996 | fi | 13392 | fi |
| 8997 | 13393 | ||
| 8998 | if test ${HAVE_LIBXP} = yes; then | 13394 | if test ${HAVE_LIBXP} = yes; then |
| 8999 | 13395 | ||
| 9000 | $as_echo "#define HAVE_LIBXP 1" >>confdefs.h | 13396 | cat >>confdefs.h <<\_ACEOF |
| 13397 | #define HAVE_LIBXP 1 | ||
| 13398 | _ACEOF | ||
| 9001 | 13399 | ||
| 13400 | LIBXP=-lXp | ||
| 9002 | fi | 13401 | fi |
| 9003 | else | 13402 | else |
| 9004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 13403 | { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
| 9005 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 13404 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
| 9006 | if test "${emacs_cv_lesstif+set}" = set; then : | 13405 | if test "${emacs_cv_lesstif+set}" = set; then |
| 9007 | $as_echo_n "(cached) " >&6 | 13406 | $as_echo_n "(cached) " >&6 |
| 9008 | else | 13407 | else |
| 9009 | # We put this in CFLAGS temporarily to precede other -I options | 13408 | # We put this in CFLAGS temporarily to precede other -I options |
| @@ -9013,7 +13412,11 @@ else | |||
| 9013 | OLD_CFLAGS=$CFLAGS | 13412 | OLD_CFLAGS=$CFLAGS |
| 9014 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 13413 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
| 9015 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 13414 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
| 9016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13415 | cat >conftest.$ac_ext <<_ACEOF |
| 13416 | /* confdefs.h. */ | ||
| 13417 | _ACEOF | ||
| 13418 | cat confdefs.h >>conftest.$ac_ext | ||
| 13419 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9017 | /* end confdefs.h. */ | 13420 | /* end confdefs.h. */ |
| 9018 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 13421 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
| 9019 | int | 13422 | int |
| @@ -9024,14 +13427,35 @@ int x = 5; | |||
| 9024 | return 0; | 13427 | return 0; |
| 9025 | } | 13428 | } |
| 9026 | _ACEOF | 13429 | _ACEOF |
| 9027 | if ac_fn_c_try_compile "$LINENO"; then : | 13430 | rm -f conftest.$ac_objext |
| 13431 | if { (ac_try="$ac_compile" | ||
| 13432 | case "(($ac_try" in | ||
| 13433 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13434 | *) ac_try_echo=$ac_try;; | ||
| 13435 | esac | ||
| 13436 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13437 | $as_echo "$ac_try_echo") >&5 | ||
| 13438 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13439 | ac_status=$? | ||
| 13440 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13441 | rm -f conftest.er1 | ||
| 13442 | cat conftest.err >&5 | ||
| 13443 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13444 | (exit $ac_status); } && { | ||
| 13445 | test -z "$ac_c_werror_flag" || | ||
| 13446 | test ! -s conftest.err | ||
| 13447 | } && test -s conftest.$ac_objext; then | ||
| 9028 | emacs_cv_lesstif=yes | 13448 | emacs_cv_lesstif=yes |
| 9029 | else | 13449 | else |
| 9030 | emacs_cv_lesstif=no | 13450 | $as_echo "$as_me: failed program was:" >&5 |
| 13451 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13452 | |||
| 13453 | emacs_cv_lesstif=no | ||
| 9031 | fi | 13454 | fi |
| 13455 | |||
| 9032 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9033 | fi | 13457 | fi |
| 9034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 | 13458 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
| 9035 | $as_echo "$emacs_cv_lesstif" >&6; } | 13459 | $as_echo "$emacs_cv_lesstif" >&6; } |
| 9036 | if test $emacs_cv_lesstif = yes; then | 13460 | if test $emacs_cv_lesstif = yes; then |
| 9037 | # Make sure this -I option remains in CPPFLAGS after it is set | 13461 | # Make sure this -I option remains in CPPFLAGS after it is set |
| @@ -9049,31 +13473,45 @@ $as_echo "$emacs_cv_lesstif" >&6; } | |||
| 9049 | fi | 13473 | fi |
| 9050 | 13474 | ||
| 9051 | 13475 | ||
| 13476 | |||
| 13477 | |||
| 9052 | USE_TOOLKIT_SCROLL_BARS=no | 13478 | USE_TOOLKIT_SCROLL_BARS=no |
| 9053 | if test "${with_toolkit_scroll_bars}" != "no"; then | 13479 | if test "${with_toolkit_scroll_bars}" != "no"; then |
| 9054 | if test "${USE_X_TOOLKIT}" != "none"; then | 13480 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 9055 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13481 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 9056 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13482 | cat >>confdefs.h <<\_ACEOF |
| 13483 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13484 | _ACEOF | ||
| 9057 | 13485 | ||
| 9058 | HAVE_XAW3D=no | 13486 | HAVE_XAW3D=no |
| 9059 | USE_TOOLKIT_SCROLL_BARS=yes | 13487 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9060 | elif test "${HAVE_XAW3D}" = "yes"; then | 13488 | elif test "${HAVE_XAW3D}" = "yes"; then |
| 9061 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13489 | cat >>confdefs.h <<\_ACEOF |
| 13490 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13491 | _ACEOF | ||
| 9062 | 13492 | ||
| 9063 | USE_TOOLKIT_SCROLL_BARS=yes | 13493 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9064 | fi | 13494 | fi |
| 9065 | elif test "${HAVE_GTK}" = "yes"; then | 13495 | elif test "${HAVE_GTK}" = "yes"; then |
| 9066 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13496 | cat >>confdefs.h <<\_ACEOF |
| 13497 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13498 | _ACEOF | ||
| 9067 | 13499 | ||
| 9068 | USE_TOOLKIT_SCROLL_BARS=yes | 13500 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9069 | elif test "${HAVE_NS}" = "yes"; then | 13501 | elif test "${HAVE_NS}" = "yes"; then |
| 9070 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13502 | cat >>confdefs.h <<\_ACEOF |
| 13503 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13504 | _ACEOF | ||
| 9071 | 13505 | ||
| 9072 | USE_TOOLKIT_SCROLL_BARS=yes | 13506 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9073 | fi | 13507 | fi |
| 9074 | fi | 13508 | fi |
| 9075 | 13509 | ||
| 9076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13510 | cat >conftest.$ac_ext <<_ACEOF |
| 13511 | /* confdefs.h. */ | ||
| 13512 | _ACEOF | ||
| 13513 | cat confdefs.h >>conftest.$ac_ext | ||
| 13514 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9077 | /* end confdefs.h. */ | 13515 | /* end confdefs.h. */ |
| 9078 | 13516 | ||
| 9079 | #include <X11/Xlib.h> | 13517 | #include <X11/Xlib.h> |
| @@ -9086,20 +13524,45 @@ XIMProc callback; | |||
| 9086 | return 0; | 13524 | return 0; |
| 9087 | } | 13525 | } |
| 9088 | _ACEOF | 13526 | _ACEOF |
| 9089 | if ac_fn_c_try_compile "$LINENO"; then : | 13527 | rm -f conftest.$ac_objext |
| 13528 | if { (ac_try="$ac_compile" | ||
| 13529 | case "(($ac_try" in | ||
| 13530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13531 | *) ac_try_echo=$ac_try;; | ||
| 13532 | esac | ||
| 13533 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13534 | $as_echo "$ac_try_echo") >&5 | ||
| 13535 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13536 | ac_status=$? | ||
| 13537 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13538 | rm -f conftest.er1 | ||
| 13539 | cat conftest.err >&5 | ||
| 13540 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13541 | (exit $ac_status); } && { | ||
| 13542 | test -z "$ac_c_werror_flag" || | ||
| 13543 | test ! -s conftest.err | ||
| 13544 | } && test -s conftest.$ac_objext; then | ||
| 9090 | HAVE_XIM=yes | 13545 | HAVE_XIM=yes |
| 9091 | 13546 | ||
| 9092 | $as_echo "#define HAVE_XIM 1" >>confdefs.h | 13547 | cat >>confdefs.h <<\_ACEOF |
| 13548 | #define HAVE_XIM 1 | ||
| 13549 | _ACEOF | ||
| 9093 | 13550 | ||
| 9094 | else | 13551 | else |
| 9095 | HAVE_XIM=no | 13552 | $as_echo "$as_me: failed program was:" >&5 |
| 13553 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13554 | |||
| 13555 | HAVE_XIM=no | ||
| 9096 | fi | 13556 | fi |
| 13557 | |||
| 9097 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13558 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9098 | 13559 | ||
| 9099 | 13560 | ||
| 9100 | if test "${with_xim}" != "no"; then | 13561 | if test "${with_xim}" != "no"; then |
| 9101 | 13562 | ||
| 9102 | $as_echo "#define USE_XIM 1" >>confdefs.h | 13563 | cat >>confdefs.h <<\_ACEOF |
| 13564 | #define USE_XIM 1 | ||
| 13565 | _ACEOF | ||
| 9103 | 13566 | ||
| 9104 | fi | 13567 | fi |
| 9105 | 13568 | ||
| @@ -9109,7 +13572,11 @@ if test "${HAVE_XIM}" != "no"; then | |||
| 9109 | if test "$GCC" = yes; then | 13572 | if test "$GCC" = yes; then |
| 9110 | CFLAGS="$CFLAGS --pedantic-errors" | 13573 | CFLAGS="$CFLAGS --pedantic-errors" |
| 9111 | fi | 13574 | fi |
| 9112 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13575 | cat >conftest.$ac_ext <<_ACEOF |
| 13576 | /* confdefs.h. */ | ||
| 13577 | _ACEOF | ||
| 13578 | cat confdefs.h >>conftest.$ac_ext | ||
| 13579 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9113 | /* end confdefs.h. */ | 13580 | /* end confdefs.h. */ |
| 9114 | 13581 | ||
| 9115 | #include <X11/Xlib.h> | 13582 | #include <X11/Xlib.h> |
| @@ -9135,15 +13602,43 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | |||
| 9135 | return 0; | 13602 | return 0; |
| 9136 | } | 13603 | } |
| 9137 | _ACEOF | 13604 | _ACEOF |
| 9138 | if ac_fn_c_try_compile "$LINENO"; then : | 13605 | rm -f conftest.$ac_objext |
| 13606 | if { (ac_try="$ac_compile" | ||
| 13607 | case "(($ac_try" in | ||
| 13608 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13609 | *) ac_try_echo=$ac_try;; | ||
| 13610 | esac | ||
| 13611 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13612 | $as_echo "$ac_try_echo") >&5 | ||
| 13613 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13614 | ac_status=$? | ||
| 13615 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13616 | rm -f conftest.er1 | ||
| 13617 | cat conftest.err >&5 | ||
| 13618 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13619 | (exit $ac_status); } && { | ||
| 13620 | test -z "$ac_c_werror_flag" || | ||
| 13621 | test ! -s conftest.err | ||
| 13622 | } && test -s conftest.$ac_objext; then | ||
| 9139 | emacs_cv_arg6_star=yes | 13623 | emacs_cv_arg6_star=yes |
| 13624 | else | ||
| 13625 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13626 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13627 | |||
| 13628 | |||
| 9140 | fi | 13629 | fi |
| 13630 | |||
| 9141 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13631 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9142 | if test "$emacs_cv_arg6_star" = yes; then | 13632 | |
| 9143 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h | 13633 | if test "$emacs_cv_arg6_star" = yes; then |
| 13634 | cat >>confdefs.h <<\_ACEOF | ||
| 13635 | #define XRegisterIMInstantiateCallback_arg6 XPointer* | ||
| 13636 | _ACEOF | ||
| 9144 | 13637 | ||
| 9145 | else | 13638 | else |
| 9146 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h | 13639 | cat >>confdefs.h <<\_ACEOF |
| 13640 | #define XRegisterIMInstantiateCallback_arg6 XPointer | ||
| 13641 | _ACEOF | ||
| 9147 | 13642 | ||
| 9148 | fi | 13643 | fi |
| 9149 | CFLAGS=$late_CFLAGS | 13644 | CFLAGS=$late_CFLAGS |
| @@ -9160,9 +13655,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9160 | 13655 | ||
| 9161 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13656 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9162 | set dummy pkg-config; ac_word=$2 | 13657 | set dummy pkg-config; ac_word=$2 |
| 9163 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13658 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9164 | $as_echo_n "checking for $ac_word... " >&6; } | 13659 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9165 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13660 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9166 | $as_echo_n "(cached) " >&6 | 13661 | $as_echo_n "(cached) " >&6 |
| 9167 | else | 13662 | else |
| 9168 | case $PKG_CONFIG in | 13663 | case $PKG_CONFIG in |
| @@ -9175,14 +13670,14 @@ for as_dir in $PATH | |||
| 9175 | do | 13670 | do |
| 9176 | IFS=$as_save_IFS | 13671 | IFS=$as_save_IFS |
| 9177 | test -z "$as_dir" && as_dir=. | 13672 | test -z "$as_dir" && as_dir=. |
| 9178 | for ac_exec_ext in '' $ac_executable_extensions; do | 13673 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9179 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13674 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9180 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13675 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9181 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13676 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9182 | break 2 | 13677 | break 2 |
| 9183 | fi | 13678 | fi |
| 9184 | done | 13679 | done |
| 9185 | done | 13680 | done |
| 9186 | IFS=$as_save_IFS | 13681 | IFS=$as_save_IFS |
| 9187 | 13682 | ||
| 9188 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13683 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9191,10 +13686,10 @@ esac | |||
| 9191 | fi | 13686 | fi |
| 9192 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13687 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9193 | if test -n "$PKG_CONFIG"; then | 13688 | if test -n "$PKG_CONFIG"; then |
| 9194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13689 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9195 | $as_echo "$PKG_CONFIG" >&6; } | 13690 | $as_echo "$PKG_CONFIG" >&6; } |
| 9196 | else | 13691 | else |
| 9197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13692 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9198 | $as_echo "no" >&6; } | 13693 | $as_echo "no" >&6; } |
| 9199 | fi | 13694 | fi |
| 9200 | 13695 | ||
| @@ -9205,27 +13700,27 @@ fi | |||
| 9205 | else | 13700 | else |
| 9206 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13701 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9207 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13702 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 13703 | { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 |
| 9209 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 13704 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
| 9210 | 13705 | ||
| 9211 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 13706 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
| 9212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13707 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9213 | $as_echo "yes" >&6; } | 13708 | $as_echo "yes" >&6; } |
| 9214 | succeeded=yes | 13709 | succeeded=yes |
| 9215 | 13710 | ||
| 9216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 | 13711 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 |
| 9217 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 13712 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
| 9218 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13713 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 | 13714 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 |
| 9220 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 13715 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
| 9221 | 13716 | ||
| 9222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 | 13717 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 |
| 9223 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 13718 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
| 9224 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13719 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 | 13720 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 |
| 9226 | $as_echo "$FONTCONFIG_LIBS" >&6; } | 13721 | $as_echo "$FONTCONFIG_LIBS" >&6; } |
| 9227 | else | 13722 | else |
| 9228 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13723 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9229 | $as_echo "no" >&6; } | 13724 | $as_echo "no" >&6; } |
| 9230 | FONTCONFIG_CFLAGS="" | 13725 | FONTCONFIG_CFLAGS="" |
| 9231 | FONTCONFIG_LIBS="" | 13726 | FONTCONFIG_LIBS="" |
| @@ -9262,9 +13757,9 @@ $as_echo "no" >&6; } | |||
| 9262 | 13757 | ||
| 9263 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13758 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9264 | set dummy pkg-config; ac_word=$2 | 13759 | set dummy pkg-config; ac_word=$2 |
| 9265 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13760 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9266 | $as_echo_n "checking for $ac_word... " >&6; } | 13761 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9267 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13762 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9268 | $as_echo_n "(cached) " >&6 | 13763 | $as_echo_n "(cached) " >&6 |
| 9269 | else | 13764 | else |
| 9270 | case $PKG_CONFIG in | 13765 | case $PKG_CONFIG in |
| @@ -9277,14 +13772,14 @@ for as_dir in $PATH | |||
| 9277 | do | 13772 | do |
| 9278 | IFS=$as_save_IFS | 13773 | IFS=$as_save_IFS |
| 9279 | test -z "$as_dir" && as_dir=. | 13774 | test -z "$as_dir" && as_dir=. |
| 9280 | for ac_exec_ext in '' $ac_executable_extensions; do | 13775 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9281 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13776 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9282 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13777 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9283 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13778 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9284 | break 2 | 13779 | break 2 |
| 9285 | fi | 13780 | fi |
| 9286 | done | 13781 | done |
| 9287 | done | 13782 | done |
| 9288 | IFS=$as_save_IFS | 13783 | IFS=$as_save_IFS |
| 9289 | 13784 | ||
| 9290 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13785 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9293,10 +13788,10 @@ esac | |||
| 9293 | fi | 13788 | fi |
| 9294 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13789 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9295 | if test -n "$PKG_CONFIG"; then | 13790 | if test -n "$PKG_CONFIG"; then |
| 9296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13791 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9297 | $as_echo "$PKG_CONFIG" >&6; } | 13792 | $as_echo "$PKG_CONFIG" >&6; } |
| 9298 | else | 13793 | else |
| 9299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13794 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9300 | $as_echo "no" >&6; } | 13795 | $as_echo "no" >&6; } |
| 9301 | fi | 13796 | fi |
| 9302 | 13797 | ||
| @@ -9307,27 +13802,27 @@ fi | |||
| 9307 | else | 13802 | else |
| 9308 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13803 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9309 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13804 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 13805 | { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 |
| 9311 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 13806 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
| 9312 | 13807 | ||
| 9313 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 13808 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
| 9314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13809 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9315 | $as_echo "yes" >&6; } | 13810 | $as_echo "yes" >&6; } |
| 9316 | succeeded=yes | 13811 | succeeded=yes |
| 9317 | 13812 | ||
| 9318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 | 13813 | { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 |
| 9319 | $as_echo_n "checking XFT_CFLAGS... " >&6; } | 13814 | $as_echo_n "checking XFT_CFLAGS... " >&6; } |
| 9320 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13815 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 | 13816 | { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 |
| 9322 | $as_echo "$XFT_CFLAGS" >&6; } | 13817 | $as_echo "$XFT_CFLAGS" >&6; } |
| 9323 | 13818 | ||
| 9324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 | 13819 | { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 |
| 9325 | $as_echo_n "checking XFT_LIBS... " >&6; } | 13820 | $as_echo_n "checking XFT_LIBS... " >&6; } |
| 9326 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13821 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 | 13822 | { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 |
| 9328 | $as_echo "$XFT_LIBS" >&6; } | 13823 | $as_echo "$XFT_LIBS" >&6; } |
| 9329 | else | 13824 | else |
| 9330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13825 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9331 | $as_echo "no" >&6; } | 13826 | $as_echo "no" >&6; } |
| 9332 | XFT_CFLAGS="" | 13827 | XFT_CFLAGS="" |
| 9333 | XFT_LIBS="" | 13828 | XFT_LIBS="" |
| @@ -9354,14 +13849,18 @@ $as_echo "no" >&6; } | |||
| 9354 | ## Because xftfont.c uses XRenderQueryExtension, we also | 13849 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 9355 | ## need to link to -lXrender. | 13850 | ## need to link to -lXrender. |
| 9356 | HAVE_XRENDER=no | 13851 | HAVE_XRENDER=no |
| 9357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 13852 | { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 |
| 9358 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 13853 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
| 9359 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 13854 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then |
| 9360 | $as_echo_n "(cached) " >&6 | 13855 | $as_echo_n "(cached) " >&6 |
| 9361 | else | 13856 | else |
| 9362 | ac_check_lib_save_LIBS=$LIBS | 13857 | ac_check_lib_save_LIBS=$LIBS |
| 9363 | LIBS="-lXrender $LIBS" | 13858 | LIBS="-lXrender $LIBS" |
| 9364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13859 | cat >conftest.$ac_ext <<_ACEOF |
| 13860 | /* confdefs.h. */ | ||
| 13861 | _ACEOF | ||
| 13862 | cat confdefs.h >>conftest.$ac_ext | ||
| 13863 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9365 | /* end confdefs.h. */ | 13864 | /* end confdefs.h. */ |
| 9366 | 13865 | ||
| 9367 | /* Override any GCC internal prototype to avoid an error. | 13866 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9379,18 +13878,43 @@ return XRenderQueryExtension (); | |||
| 9379 | return 0; | 13878 | return 0; |
| 9380 | } | 13879 | } |
| 9381 | _ACEOF | 13880 | _ACEOF |
| 9382 | if ac_fn_c_try_link "$LINENO"; then : | 13881 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13882 | if { (ac_try="$ac_link" | ||
| 13883 | case "(($ac_try" in | ||
| 13884 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13885 | *) ac_try_echo=$ac_try;; | ||
| 13886 | esac | ||
| 13887 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13888 | $as_echo "$ac_try_echo") >&5 | ||
| 13889 | (eval "$ac_link") 2>conftest.er1 | ||
| 13890 | ac_status=$? | ||
| 13891 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13892 | rm -f conftest.er1 | ||
| 13893 | cat conftest.err >&5 | ||
| 13894 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13895 | (exit $ac_status); } && { | ||
| 13896 | test -z "$ac_c_werror_flag" || | ||
| 13897 | test ! -s conftest.err | ||
| 13898 | } && test -s conftest$ac_exeext && { | ||
| 13899 | test "$cross_compiling" = yes || | ||
| 13900 | $as_test_x conftest$ac_exeext | ||
| 13901 | }; then | ||
| 9383 | ac_cv_lib_Xrender_XRenderQueryExtension=yes | 13902 | ac_cv_lib_Xrender_XRenderQueryExtension=yes |
| 9384 | else | 13903 | else |
| 9385 | ac_cv_lib_Xrender_XRenderQueryExtension=no | 13904 | $as_echo "$as_me: failed program was:" >&5 |
| 13905 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13906 | |||
| 13907 | ac_cv_lib_Xrender_XRenderQueryExtension=no | ||
| 9386 | fi | 13908 | fi |
| 9387 | rm -f core conftest.err conftest.$ac_objext \ | 13909 | |
| 9388 | conftest$ac_exeext conftest.$ac_ext | 13910 | rm -rf conftest.dSYM |
| 13911 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13912 | conftest$ac_exeext conftest.$ac_ext | ||
| 9389 | LIBS=$ac_check_lib_save_LIBS | 13913 | LIBS=$ac_check_lib_save_LIBS |
| 9390 | fi | 13914 | fi |
| 9391 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 13915 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
| 9392 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 13916 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
| 9393 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 13917 | if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then |
| 9394 | HAVE_XRENDER=yes | 13918 | HAVE_XRENDER=yes |
| 9395 | fi | 13919 | fi |
| 9396 | 13920 | ||
| @@ -9402,16 +13926,146 @@ fi | |||
| 9402 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 13926 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 9403 | XFT_LIBS="-lXrender $XFT_LIBS" | 13927 | XFT_LIBS="-lXrender $XFT_LIBS" |
| 9404 | LIBS="$XFT_LIBS $LIBS" | 13928 | LIBS="$XFT_LIBS $LIBS" |
| 9405 | ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 13929 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
| 9406 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 13930 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
| 9407 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 13931 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } |
| 13932 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 13933 | $as_echo_n "(cached) " >&6 | ||
| 13934 | fi | ||
| 13935 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 13936 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 13937 | else | ||
| 13938 | # Is the header compilable? | ||
| 13939 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | ||
| 13940 | $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | ||
| 13941 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13942 | /* confdefs.h. */ | ||
| 13943 | _ACEOF | ||
| 13944 | cat confdefs.h >>conftest.$ac_ext | ||
| 13945 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13946 | /* end confdefs.h. */ | ||
| 13947 | $ac_includes_default | ||
| 13948 | #include <X11/Xft/Xft.h> | ||
| 13949 | _ACEOF | ||
| 13950 | rm -f conftest.$ac_objext | ||
| 13951 | if { (ac_try="$ac_compile" | ||
| 13952 | case "(($ac_try" in | ||
| 13953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13954 | *) ac_try_echo=$ac_try;; | ||
| 13955 | esac | ||
| 13956 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13957 | $as_echo "$ac_try_echo") >&5 | ||
| 13958 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13959 | ac_status=$? | ||
| 13960 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13961 | rm -f conftest.er1 | ||
| 13962 | cat conftest.err >&5 | ||
| 13963 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13964 | (exit $ac_status); } && { | ||
| 13965 | test -z "$ac_c_werror_flag" || | ||
| 13966 | test ! -s conftest.err | ||
| 13967 | } && test -s conftest.$ac_objext; then | ||
| 13968 | ac_header_compiler=yes | ||
| 13969 | else | ||
| 13970 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13971 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13972 | |||
| 13973 | ac_header_compiler=no | ||
| 13974 | fi | ||
| 13975 | |||
| 13976 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 13977 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 13978 | $as_echo "$ac_header_compiler" >&6; } | ||
| 13979 | |||
| 13980 | # Is the header present? | ||
| 13981 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | ||
| 13982 | $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | ||
| 13983 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13984 | /* confdefs.h. */ | ||
| 13985 | _ACEOF | ||
| 13986 | cat confdefs.h >>conftest.$ac_ext | ||
| 13987 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13988 | /* end confdefs.h. */ | ||
| 13989 | #include <X11/Xft/Xft.h> | ||
| 13990 | _ACEOF | ||
| 13991 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 13992 | case "(($ac_try" in | ||
| 13993 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13994 | *) ac_try_echo=$ac_try;; | ||
| 13995 | esac | ||
| 13996 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13997 | $as_echo "$ac_try_echo") >&5 | ||
| 13998 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 13999 | ac_status=$? | ||
| 14000 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14001 | rm -f conftest.er1 | ||
| 14002 | cat conftest.err >&5 | ||
| 14003 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14004 | (exit $ac_status); } >/dev/null && { | ||
| 14005 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14006 | test ! -s conftest.err | ||
| 14007 | }; then | ||
| 14008 | ac_header_preproc=yes | ||
| 14009 | else | ||
| 14010 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14011 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14012 | |||
| 14013 | ac_header_preproc=no | ||
| 14014 | fi | ||
| 14015 | |||
| 14016 | rm -f conftest.err conftest.$ac_ext | ||
| 14017 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14018 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14019 | |||
| 14020 | # So? What about this header? | ||
| 14021 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14022 | yes:no: ) | ||
| 14023 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14024 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14025 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | ||
| 14026 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | ||
| 14027 | ac_header_preproc=yes | ||
| 14028 | ;; | ||
| 14029 | no:yes:* ) | ||
| 14030 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | ||
| 14031 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | ||
| 14032 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | ||
| 14033 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | ||
| 14034 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | ||
| 14035 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | ||
| 14036 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14037 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14038 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | ||
| 14039 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | ||
| 14040 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | ||
| 14041 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | ||
| 14042 | |||
| 14043 | ;; | ||
| 14044 | esac | ||
| 14045 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | ||
| 14046 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | ||
| 14047 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 14048 | $as_echo_n "(cached) " >&6 | ||
| 14049 | else | ||
| 14050 | ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | ||
| 14051 | fi | ||
| 14052 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 14053 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 14054 | |||
| 14055 | fi | ||
| 14056 | if test $ac_cv_header_X11_Xft_Xft_h = yes; then | ||
| 14057 | { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | ||
| 9408 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 14058 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
| 9409 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 14059 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then |
| 9410 | $as_echo_n "(cached) " >&6 | 14060 | $as_echo_n "(cached) " >&6 |
| 9411 | else | 14061 | else |
| 9412 | ac_check_lib_save_LIBS=$LIBS | 14062 | ac_check_lib_save_LIBS=$LIBS |
| 9413 | LIBS="-lXft $XFT_LIBS $LIBS" | 14063 | LIBS="-lXft $XFT_LIBS $LIBS" |
| 9414 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14064 | cat >conftest.$ac_ext <<_ACEOF |
| 14065 | /* confdefs.h. */ | ||
| 14066 | _ACEOF | ||
| 14067 | cat confdefs.h >>conftest.$ac_ext | ||
| 14068 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9415 | /* end confdefs.h. */ | 14069 | /* end confdefs.h. */ |
| 9416 | 14070 | ||
| 9417 | /* Override any GCC internal prototype to avoid an error. | 14071 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9429,18 +14083,43 @@ return XftFontOpen (); | |||
| 9429 | return 0; | 14083 | return 0; |
| 9430 | } | 14084 | } |
| 9431 | _ACEOF | 14085 | _ACEOF |
| 9432 | if ac_fn_c_try_link "$LINENO"; then : | 14086 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14087 | if { (ac_try="$ac_link" | ||
| 14088 | case "(($ac_try" in | ||
| 14089 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14090 | *) ac_try_echo=$ac_try;; | ||
| 14091 | esac | ||
| 14092 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14093 | $as_echo "$ac_try_echo") >&5 | ||
| 14094 | (eval "$ac_link") 2>conftest.er1 | ||
| 14095 | ac_status=$? | ||
| 14096 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14097 | rm -f conftest.er1 | ||
| 14098 | cat conftest.err >&5 | ||
| 14099 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14100 | (exit $ac_status); } && { | ||
| 14101 | test -z "$ac_c_werror_flag" || | ||
| 14102 | test ! -s conftest.err | ||
| 14103 | } && test -s conftest$ac_exeext && { | ||
| 14104 | test "$cross_compiling" = yes || | ||
| 14105 | $as_test_x conftest$ac_exeext | ||
| 14106 | }; then | ||
| 9433 | ac_cv_lib_Xft_XftFontOpen=yes | 14107 | ac_cv_lib_Xft_XftFontOpen=yes |
| 9434 | else | 14108 | else |
| 9435 | ac_cv_lib_Xft_XftFontOpen=no | 14109 | $as_echo "$as_me: failed program was:" >&5 |
| 14110 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14111 | |||
| 14112 | ac_cv_lib_Xft_XftFontOpen=no | ||
| 9436 | fi | 14113 | fi |
| 9437 | rm -f core conftest.err conftest.$ac_objext \ | 14114 | |
| 9438 | conftest$ac_exeext conftest.$ac_ext | 14115 | rm -rf conftest.dSYM |
| 14116 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14117 | conftest$ac_exeext conftest.$ac_ext | ||
| 9439 | LIBS=$ac_check_lib_save_LIBS | 14118 | LIBS=$ac_check_lib_save_LIBS |
| 9440 | fi | 14119 | fi |
| 9441 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 14120 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
| 9442 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 14121 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
| 9443 | if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 14122 | if test $ac_cv_lib_Xft_XftFontOpen = yes; then |
| 9444 | HAVE_XFT=yes | 14123 | HAVE_XFT=yes |
| 9445 | fi | 14124 | fi |
| 9446 | 14125 | ||
| @@ -9450,7 +14129,9 @@ fi | |||
| 9450 | 14129 | ||
| 9451 | if test "${HAVE_XFT}" = "yes"; then | 14130 | if test "${HAVE_XFT}" = "yes"; then |
| 9452 | 14131 | ||
| 9453 | $as_echo "#define HAVE_XFT 1" >>confdefs.h | 14132 | cat >>confdefs.h <<\_ACEOF |
| 14133 | #define HAVE_XFT 1 | ||
| 14134 | _ACEOF | ||
| 9454 | 14135 | ||
| 9455 | 14136 | ||
| 9456 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 14137 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
| @@ -9479,7 +14160,9 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h | |||
| 9479 | HAVE_LIBOTF=no | 14160 | HAVE_LIBOTF=no |
| 9480 | if test "${HAVE_FREETYPE}" = "yes"; then | 14161 | if test "${HAVE_FREETYPE}" = "yes"; then |
| 9481 | 14162 | ||
| 9482 | $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | 14163 | cat >>confdefs.h <<\_ACEOF |
| 14164 | #define HAVE_FREETYPE 1 | ||
| 14165 | _ACEOF | ||
| 9483 | 14166 | ||
| 9484 | if test "${with_libotf}" != "no"; then | 14167 | if test "${with_libotf}" != "no"; then |
| 9485 | 14168 | ||
| @@ -9487,9 +14170,9 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | |||
| 9487 | 14170 | ||
| 9488 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14171 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9489 | set dummy pkg-config; ac_word=$2 | 14172 | set dummy pkg-config; ac_word=$2 |
| 9490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14173 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9491 | $as_echo_n "checking for $ac_word... " >&6; } | 14174 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9492 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14175 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9493 | $as_echo_n "(cached) " >&6 | 14176 | $as_echo_n "(cached) " >&6 |
| 9494 | else | 14177 | else |
| 9495 | case $PKG_CONFIG in | 14178 | case $PKG_CONFIG in |
| @@ -9502,14 +14185,14 @@ for as_dir in $PATH | |||
| 9502 | do | 14185 | do |
| 9503 | IFS=$as_save_IFS | 14186 | IFS=$as_save_IFS |
| 9504 | test -z "$as_dir" && as_dir=. | 14187 | test -z "$as_dir" && as_dir=. |
| 9505 | for ac_exec_ext in '' $ac_executable_extensions; do | 14188 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9506 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14189 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9507 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14190 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9508 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14191 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9509 | break 2 | 14192 | break 2 |
| 9510 | fi | 14193 | fi |
| 9511 | done | 14194 | done |
| 9512 | done | 14195 | done |
| 9513 | IFS=$as_save_IFS | 14196 | IFS=$as_save_IFS |
| 9514 | 14197 | ||
| 9515 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14198 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9518,10 +14201,10 @@ esac | |||
| 9518 | fi | 14201 | fi |
| 9519 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14202 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9520 | if test -n "$PKG_CONFIG"; then | 14203 | if test -n "$PKG_CONFIG"; then |
| 9521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14204 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9522 | $as_echo "$PKG_CONFIG" >&6; } | 14205 | $as_echo "$PKG_CONFIG" >&6; } |
| 9523 | else | 14206 | else |
| 9524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14207 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9525 | $as_echo "no" >&6; } | 14208 | $as_echo "no" >&6; } |
| 9526 | fi | 14209 | fi |
| 9527 | 14210 | ||
| @@ -9532,27 +14215,27 @@ fi | |||
| 9532 | else | 14215 | else |
| 9533 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14216 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9534 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14217 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 14218 | { $as_echo "$as_me:$LINENO: checking for libotf" >&5 |
| 9536 | $as_echo_n "checking for libotf... " >&6; } | 14219 | $as_echo_n "checking for libotf... " >&6; } |
| 9537 | 14220 | ||
| 9538 | if $PKG_CONFIG --exists "libotf" 2>&5; then | 14221 | if $PKG_CONFIG --exists "libotf" 2>&5; then |
| 9539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14222 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9540 | $as_echo "yes" >&6; } | 14223 | $as_echo "yes" >&6; } |
| 9541 | succeeded=yes | 14224 | succeeded=yes |
| 9542 | 14225 | ||
| 9543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 | 14226 | { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 |
| 9544 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 14227 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
| 9545 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 14228 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
| 9546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 | 14229 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 |
| 9547 | $as_echo "$LIBOTF_CFLAGS" >&6; } | 14230 | $as_echo "$LIBOTF_CFLAGS" >&6; } |
| 9548 | 14231 | ||
| 9549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 | 14232 | { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 |
| 9550 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 14233 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
| 9551 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 14234 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
| 9552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 | 14235 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 |
| 9553 | $as_echo "$LIBOTF_LIBS" >&6; } | 14236 | $as_echo "$LIBOTF_LIBS" >&6; } |
| 9554 | else | 14237 | else |
| 9555 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14238 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9556 | $as_echo "no" >&6; } | 14239 | $as_echo "no" >&6; } |
| 9557 | LIBOTF_CFLAGS="" | 14240 | LIBOTF_CFLAGS="" |
| 9558 | LIBOTF_LIBS="" | 14241 | LIBOTF_LIBS="" |
| @@ -9578,16 +14261,22 @@ $as_echo "no" >&6; } | |||
| 9578 | 14261 | ||
| 9579 | if test "$HAVE_LIBOTF" = "yes"; then | 14262 | if test "$HAVE_LIBOTF" = "yes"; then |
| 9580 | 14263 | ||
| 9581 | $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 14264 | cat >>confdefs.h <<\_ACEOF |
| 14265 | #define HAVE_LIBOTF 1 | ||
| 14266 | _ACEOF | ||
| 9582 | 14267 | ||
| 9583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 14268 | { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 |
| 9584 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 14269 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
| 9585 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 14270 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then |
| 9586 | $as_echo_n "(cached) " >&6 | 14271 | $as_echo_n "(cached) " >&6 |
| 9587 | else | 14272 | else |
| 9588 | ac_check_lib_save_LIBS=$LIBS | 14273 | ac_check_lib_save_LIBS=$LIBS |
| 9589 | LIBS="-lotf $LIBS" | 14274 | LIBS="-lotf $LIBS" |
| 9590 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14275 | cat >conftest.$ac_ext <<_ACEOF |
| 14276 | /* confdefs.h. */ | ||
| 14277 | _ACEOF | ||
| 14278 | cat confdefs.h >>conftest.$ac_ext | ||
| 14279 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9591 | /* end confdefs.h. */ | 14280 | /* end confdefs.h. */ |
| 9592 | 14281 | ||
| 9593 | /* Override any GCC internal prototype to avoid an error. | 14282 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9605,18 +14294,43 @@ return OTF_get_variation_glyphs (); | |||
| 9605 | return 0; | 14294 | return 0; |
| 9606 | } | 14295 | } |
| 9607 | _ACEOF | 14296 | _ACEOF |
| 9608 | if ac_fn_c_try_link "$LINENO"; then : | 14297 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14298 | if { (ac_try="$ac_link" | ||
| 14299 | case "(($ac_try" in | ||
| 14300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14301 | *) ac_try_echo=$ac_try;; | ||
| 14302 | esac | ||
| 14303 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14304 | $as_echo "$ac_try_echo") >&5 | ||
| 14305 | (eval "$ac_link") 2>conftest.er1 | ||
| 14306 | ac_status=$? | ||
| 14307 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14308 | rm -f conftest.er1 | ||
| 14309 | cat conftest.err >&5 | ||
| 14310 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14311 | (exit $ac_status); } && { | ||
| 14312 | test -z "$ac_c_werror_flag" || | ||
| 14313 | test ! -s conftest.err | ||
| 14314 | } && test -s conftest$ac_exeext && { | ||
| 14315 | test "$cross_compiling" = yes || | ||
| 14316 | $as_test_x conftest$ac_exeext | ||
| 14317 | }; then | ||
| 9609 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 14318 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
| 9610 | else | 14319 | else |
| 9611 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | 14320 | $as_echo "$as_me: failed program was:" >&5 |
| 14321 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14322 | |||
| 14323 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | ||
| 9612 | fi | 14324 | fi |
| 9613 | rm -f core conftest.err conftest.$ac_objext \ | 14325 | |
| 9614 | conftest$ac_exeext conftest.$ac_ext | 14326 | rm -rf conftest.dSYM |
| 14327 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14328 | conftest$ac_exeext conftest.$ac_ext | ||
| 9615 | LIBS=$ac_check_lib_save_LIBS | 14329 | LIBS=$ac_check_lib_save_LIBS |
| 9616 | fi | 14330 | fi |
| 9617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 14331 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
| 9618 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 14332 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
| 9619 | if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 14333 | if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then |
| 9620 | HAVE_OTF_GET_VARIATION_GLYPHS=yes | 14334 | HAVE_OTF_GET_VARIATION_GLYPHS=yes |
| 9621 | else | 14335 | else |
| 9622 | HAVE_OTF_GET_VARIATION_GLYPHS=no | 14336 | HAVE_OTF_GET_VARIATION_GLYPHS=no |
| @@ -9624,7 +14338,9 @@ fi | |||
| 9624 | 14338 | ||
| 9625 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 14339 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
| 9626 | 14340 | ||
| 9627 | $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | 14341 | cat >>confdefs.h <<\_ACEOF |
| 14342 | #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | ||
| 14343 | _ACEOF | ||
| 9628 | 14344 | ||
| 9629 | fi | 14345 | fi |
| 9630 | fi | 14346 | fi |
| @@ -9639,9 +14355,9 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | |||
| 9639 | 14355 | ||
| 9640 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14356 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9641 | set dummy pkg-config; ac_word=$2 | 14357 | set dummy pkg-config; ac_word=$2 |
| 9642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14358 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9643 | $as_echo_n "checking for $ac_word... " >&6; } | 14359 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9644 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14360 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9645 | $as_echo_n "(cached) " >&6 | 14361 | $as_echo_n "(cached) " >&6 |
| 9646 | else | 14362 | else |
| 9647 | case $PKG_CONFIG in | 14363 | case $PKG_CONFIG in |
| @@ -9654,14 +14370,14 @@ for as_dir in $PATH | |||
| 9654 | do | 14370 | do |
| 9655 | IFS=$as_save_IFS | 14371 | IFS=$as_save_IFS |
| 9656 | test -z "$as_dir" && as_dir=. | 14372 | test -z "$as_dir" && as_dir=. |
| 9657 | for ac_exec_ext in '' $ac_executable_extensions; do | 14373 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9658 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14374 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9659 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14375 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9660 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14376 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9661 | break 2 | 14377 | break 2 |
| 9662 | fi | 14378 | fi |
| 9663 | done | 14379 | done |
| 9664 | done | 14380 | done |
| 9665 | IFS=$as_save_IFS | 14381 | IFS=$as_save_IFS |
| 9666 | 14382 | ||
| 9667 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14383 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9670,10 +14386,10 @@ esac | |||
| 9670 | fi | 14386 | fi |
| 9671 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14387 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9672 | if test -n "$PKG_CONFIG"; then | 14388 | if test -n "$PKG_CONFIG"; then |
| 9673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14389 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9674 | $as_echo "$PKG_CONFIG" >&6; } | 14390 | $as_echo "$PKG_CONFIG" >&6; } |
| 9675 | else | 14391 | else |
| 9676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14392 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9677 | $as_echo "no" >&6; } | 14393 | $as_echo "no" >&6; } |
| 9678 | fi | 14394 | fi |
| 9679 | 14395 | ||
| @@ -9684,27 +14400,27 @@ fi | |||
| 9684 | else | 14400 | else |
| 9685 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14401 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9686 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14402 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 14403 | { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 |
| 9688 | $as_echo_n "checking for m17n-flt... " >&6; } | 14404 | $as_echo_n "checking for m17n-flt... " >&6; } |
| 9689 | 14405 | ||
| 9690 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 14406 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
| 9691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14407 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9692 | $as_echo "yes" >&6; } | 14408 | $as_echo "yes" >&6; } |
| 9693 | succeeded=yes | 14409 | succeeded=yes |
| 9694 | 14410 | ||
| 9695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 | 14411 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 |
| 9696 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 14412 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
| 9697 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 14413 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
| 9698 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 | 14414 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 |
| 9699 | $as_echo "$M17N_FLT_CFLAGS" >&6; } | 14415 | $as_echo "$M17N_FLT_CFLAGS" >&6; } |
| 9700 | 14416 | ||
| 9701 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 | 14417 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 |
| 9702 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 14418 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
| 9703 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 14419 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
| 9704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 | 14420 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 |
| 9705 | $as_echo "$M17N_FLT_LIBS" >&6; } | 14421 | $as_echo "$M17N_FLT_LIBS" >&6; } |
| 9706 | else | 14422 | else |
| 9707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14423 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9708 | $as_echo "no" >&6; } | 14424 | $as_echo "no" >&6; } |
| 9709 | M17N_FLT_CFLAGS="" | 14425 | M17N_FLT_CFLAGS="" |
| 9710 | M17N_FLT_LIBS="" | 14426 | M17N_FLT_LIBS="" |
| @@ -9730,7 +14446,9 @@ $as_echo "no" >&6; } | |||
| 9730 | 14446 | ||
| 9731 | if test "$HAVE_M17N_FLT" = "yes"; then | 14447 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 9732 | 14448 | ||
| 9733 | $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h | 14449 | cat >>confdefs.h <<\_ACEOF |
| 14450 | #define HAVE_M17N_FLT 1 | ||
| 14451 | _ACEOF | ||
| 9734 | 14452 | ||
| 9735 | fi | 14453 | fi |
| 9736 | fi | 14454 | fi |
| @@ -9757,16 +14475,146 @@ HAVE_XPM=no | |||
| 9757 | LIBXPM= | 14475 | LIBXPM= |
| 9758 | if test "${HAVE_X11}" = "yes"; then | 14476 | if test "${HAVE_X11}" = "yes"; then |
| 9759 | if test "${with_xpm}" != "no"; then | 14477 | if test "${with_xpm}" != "no"; then |
| 9760 | ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 14478 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 9761 | if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 14479 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
| 9762 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14480 | $as_echo_n "checking for X11/xpm.h... " >&6; } |
| 14481 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14482 | $as_echo_n "(cached) " >&6 | ||
| 14483 | fi | ||
| 14484 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14485 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14486 | else | ||
| 14487 | # Is the header compilable? | ||
| 14488 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | ||
| 14489 | $as_echo_n "checking X11/xpm.h usability... " >&6; } | ||
| 14490 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14491 | /* confdefs.h. */ | ||
| 14492 | _ACEOF | ||
| 14493 | cat confdefs.h >>conftest.$ac_ext | ||
| 14494 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14495 | /* end confdefs.h. */ | ||
| 14496 | $ac_includes_default | ||
| 14497 | #include <X11/xpm.h> | ||
| 14498 | _ACEOF | ||
| 14499 | rm -f conftest.$ac_objext | ||
| 14500 | if { (ac_try="$ac_compile" | ||
| 14501 | case "(($ac_try" in | ||
| 14502 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14503 | *) ac_try_echo=$ac_try;; | ||
| 14504 | esac | ||
| 14505 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14506 | $as_echo "$ac_try_echo") >&5 | ||
| 14507 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14508 | ac_status=$? | ||
| 14509 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14510 | rm -f conftest.er1 | ||
| 14511 | cat conftest.err >&5 | ||
| 14512 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14513 | (exit $ac_status); } && { | ||
| 14514 | test -z "$ac_c_werror_flag" || | ||
| 14515 | test ! -s conftest.err | ||
| 14516 | } && test -s conftest.$ac_objext; then | ||
| 14517 | ac_header_compiler=yes | ||
| 14518 | else | ||
| 14519 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14520 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14521 | |||
| 14522 | ac_header_compiler=no | ||
| 14523 | fi | ||
| 14524 | |||
| 14525 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14526 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14527 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14528 | |||
| 14529 | # Is the header present? | ||
| 14530 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | ||
| 14531 | $as_echo_n "checking X11/xpm.h presence... " >&6; } | ||
| 14532 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14533 | /* confdefs.h. */ | ||
| 14534 | _ACEOF | ||
| 14535 | cat confdefs.h >>conftest.$ac_ext | ||
| 14536 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14537 | /* end confdefs.h. */ | ||
| 14538 | #include <X11/xpm.h> | ||
| 14539 | _ACEOF | ||
| 14540 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14541 | case "(($ac_try" in | ||
| 14542 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14543 | *) ac_try_echo=$ac_try;; | ||
| 14544 | esac | ||
| 14545 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14546 | $as_echo "$ac_try_echo") >&5 | ||
| 14547 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14548 | ac_status=$? | ||
| 14549 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14550 | rm -f conftest.er1 | ||
| 14551 | cat conftest.err >&5 | ||
| 14552 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14553 | (exit $ac_status); } >/dev/null && { | ||
| 14554 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14555 | test ! -s conftest.err | ||
| 14556 | }; then | ||
| 14557 | ac_header_preproc=yes | ||
| 14558 | else | ||
| 14559 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14560 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14561 | |||
| 14562 | ac_header_preproc=no | ||
| 14563 | fi | ||
| 14564 | |||
| 14565 | rm -f conftest.err conftest.$ac_ext | ||
| 14566 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14567 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14568 | |||
| 14569 | # So? What about this header? | ||
| 14570 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14571 | yes:no: ) | ||
| 14572 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14573 | $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14574 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | ||
| 14575 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | ||
| 14576 | ac_header_preproc=yes | ||
| 14577 | ;; | ||
| 14578 | no:yes:* ) | ||
| 14579 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | ||
| 14580 | $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | ||
| 14581 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | ||
| 14582 | $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | ||
| 14583 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | ||
| 14584 | $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | ||
| 14585 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14586 | $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14587 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | ||
| 14588 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 14589 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | ||
| 14590 | $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 14591 | |||
| 14592 | ;; | ||
| 14593 | esac | ||
| 14594 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | ||
| 14595 | $as_echo_n "checking for X11/xpm.h... " >&6; } | ||
| 14596 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14597 | $as_echo_n "(cached) " >&6 | ||
| 14598 | else | ||
| 14599 | ac_cv_header_X11_xpm_h=$ac_header_preproc | ||
| 14600 | fi | ||
| 14601 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14602 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14603 | |||
| 14604 | fi | ||
| 14605 | if test $ac_cv_header_X11_xpm_h = yes; then | ||
| 14606 | { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | ||
| 9763 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 14607 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
| 9764 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 14608 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
| 9765 | $as_echo_n "(cached) " >&6 | 14609 | $as_echo_n "(cached) " >&6 |
| 9766 | else | 14610 | else |
| 9767 | ac_check_lib_save_LIBS=$LIBS | 14611 | ac_check_lib_save_LIBS=$LIBS |
| 9768 | LIBS="-lXpm -lX11 $LIBS" | 14612 | LIBS="-lXpm -lX11 $LIBS" |
| 9769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14613 | cat >conftest.$ac_ext <<_ACEOF |
| 14614 | /* confdefs.h. */ | ||
| 14615 | _ACEOF | ||
| 14616 | cat confdefs.h >>conftest.$ac_ext | ||
| 14617 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9770 | /* end confdefs.h. */ | 14618 | /* end confdefs.h. */ |
| 9771 | 14619 | ||
| 9772 | /* Override any GCC internal prototype to avoid an error. | 14620 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9784,18 +14632,43 @@ return XpmReadFileToPixmap (); | |||
| 9784 | return 0; | 14632 | return 0; |
| 9785 | } | 14633 | } |
| 9786 | _ACEOF | 14634 | _ACEOF |
| 9787 | if ac_fn_c_try_link "$LINENO"; then : | 14635 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14636 | if { (ac_try="$ac_link" | ||
| 14637 | case "(($ac_try" in | ||
| 14638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14639 | *) ac_try_echo=$ac_try;; | ||
| 14640 | esac | ||
| 14641 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14642 | $as_echo "$ac_try_echo") >&5 | ||
| 14643 | (eval "$ac_link") 2>conftest.er1 | ||
| 14644 | ac_status=$? | ||
| 14645 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14646 | rm -f conftest.er1 | ||
| 14647 | cat conftest.err >&5 | ||
| 14648 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14649 | (exit $ac_status); } && { | ||
| 14650 | test -z "$ac_c_werror_flag" || | ||
| 14651 | test ! -s conftest.err | ||
| 14652 | } && test -s conftest$ac_exeext && { | ||
| 14653 | test "$cross_compiling" = yes || | ||
| 14654 | $as_test_x conftest$ac_exeext | ||
| 14655 | }; then | ||
| 9788 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14656 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
| 9789 | else | 14657 | else |
| 9790 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14658 | $as_echo "$as_me: failed program was:" >&5 |
| 14659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14660 | |||
| 14661 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | ||
| 9791 | fi | 14662 | fi |
| 9792 | rm -f core conftest.err conftest.$ac_objext \ | 14663 | |
| 9793 | conftest$ac_exeext conftest.$ac_ext | 14664 | rm -rf conftest.dSYM |
| 14665 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14666 | conftest$ac_exeext conftest.$ac_ext | ||
| 9794 | LIBS=$ac_check_lib_save_LIBS | 14667 | LIBS=$ac_check_lib_save_LIBS |
| 9795 | fi | 14668 | fi |
| 9796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14669 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
| 9797 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 14670 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
| 9798 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 14671 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
| 9799 | HAVE_XPM=yes | 14672 | HAVE_XPM=yes |
| 9800 | fi | 14673 | fi |
| 9801 | 14674 | ||
| @@ -9803,9 +14676,13 @@ fi | |||
| 9803 | 14676 | ||
| 9804 | 14677 | ||
| 9805 | if test "${HAVE_XPM}" = "yes"; then | 14678 | if test "${HAVE_XPM}" = "yes"; then |
| 9806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14679 | { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 9807 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 14680 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
| 9808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14681 | cat >conftest.$ac_ext <<_ACEOF |
| 14682 | /* confdefs.h. */ | ||
| 14683 | _ACEOF | ||
| 14684 | cat confdefs.h >>conftest.$ac_ext | ||
| 14685 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9809 | /* end confdefs.h. */ | 14686 | /* end confdefs.h. */ |
| 9810 | #include "X11/xpm.h" | 14687 | #include "X11/xpm.h" |
| 9811 | #ifndef XpmReturnAllocPixels | 14688 | #ifndef XpmReturnAllocPixels |
| @@ -9814,7 +14691,7 @@ no_return_alloc_pixels | |||
| 9814 | 14691 | ||
| 9815 | _ACEOF | 14692 | _ACEOF |
| 9816 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14693 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9817 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : | 14694 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then |
| 9818 | HAVE_XPM=no | 14695 | HAVE_XPM=no |
| 9819 | else | 14696 | else |
| 9820 | HAVE_XPM=yes | 14697 | HAVE_XPM=yes |
| @@ -9823,10 +14700,10 @@ rm -f conftest* | |||
| 9823 | 14700 | ||
| 9824 | 14701 | ||
| 9825 | if test "${HAVE_XPM}" = "yes"; then | 14702 | if test "${HAVE_XPM}" = "yes"; then |
| 9826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14703 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9827 | $as_echo "yes" >&6; } | 14704 | $as_echo "yes" >&6; } |
| 9828 | else | 14705 | else |
| 9829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14706 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9830 | $as_echo "no" >&6; } | 14707 | $as_echo "no" >&6; } |
| 9831 | fi | 14708 | fi |
| 9832 | fi | 14709 | fi |
| @@ -9834,7 +14711,9 @@ $as_echo "no" >&6; } | |||
| 9834 | 14711 | ||
| 9835 | if test "${HAVE_XPM}" = "yes"; then | 14712 | if test "${HAVE_XPM}" = "yes"; then |
| 9836 | 14713 | ||
| 9837 | $as_echo "#define HAVE_XPM 1" >>confdefs.h | 14714 | cat >>confdefs.h <<\_ACEOF |
| 14715 | #define HAVE_XPM 1 | ||
| 14716 | _ACEOF | ||
| 9838 | 14717 | ||
| 9839 | LIBXPM=-lXpm | 14718 | LIBXPM=-lXpm |
| 9840 | fi | 14719 | fi |
| @@ -9846,16 +14725,146 @@ HAVE_JPEG=no | |||
| 9846 | LIBJPEG= | 14725 | LIBJPEG= |
| 9847 | if test "${HAVE_X11}" = "yes"; then | 14726 | if test "${HAVE_X11}" = "yes"; then |
| 9848 | if test "${with_jpeg}" != "no"; then | 14727 | if test "${with_jpeg}" != "no"; then |
| 9849 | ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 14728 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 9850 | if test "x$ac_cv_header_jerror_h" = x""yes; then : | 14729 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 |
| 9851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14730 | $as_echo_n "checking for jerror.h... " >&6; } |
| 14731 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14732 | $as_echo_n "(cached) " >&6 | ||
| 14733 | fi | ||
| 14734 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14735 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14736 | else | ||
| 14737 | # Is the header compilable? | ||
| 14738 | { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | ||
| 14739 | $as_echo_n "checking jerror.h usability... " >&6; } | ||
| 14740 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14741 | /* confdefs.h. */ | ||
| 14742 | _ACEOF | ||
| 14743 | cat confdefs.h >>conftest.$ac_ext | ||
| 14744 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14745 | /* end confdefs.h. */ | ||
| 14746 | $ac_includes_default | ||
| 14747 | #include <jerror.h> | ||
| 14748 | _ACEOF | ||
| 14749 | rm -f conftest.$ac_objext | ||
| 14750 | if { (ac_try="$ac_compile" | ||
| 14751 | case "(($ac_try" in | ||
| 14752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14753 | *) ac_try_echo=$ac_try;; | ||
| 14754 | esac | ||
| 14755 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14756 | $as_echo "$ac_try_echo") >&5 | ||
| 14757 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14758 | ac_status=$? | ||
| 14759 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14760 | rm -f conftest.er1 | ||
| 14761 | cat conftest.err >&5 | ||
| 14762 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14763 | (exit $ac_status); } && { | ||
| 14764 | test -z "$ac_c_werror_flag" || | ||
| 14765 | test ! -s conftest.err | ||
| 14766 | } && test -s conftest.$ac_objext; then | ||
| 14767 | ac_header_compiler=yes | ||
| 14768 | else | ||
| 14769 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14770 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14771 | |||
| 14772 | ac_header_compiler=no | ||
| 14773 | fi | ||
| 14774 | |||
| 14775 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14776 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14777 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14778 | |||
| 14779 | # Is the header present? | ||
| 14780 | { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | ||
| 14781 | $as_echo_n "checking jerror.h presence... " >&6; } | ||
| 14782 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14783 | /* confdefs.h. */ | ||
| 14784 | _ACEOF | ||
| 14785 | cat confdefs.h >>conftest.$ac_ext | ||
| 14786 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14787 | /* end confdefs.h. */ | ||
| 14788 | #include <jerror.h> | ||
| 14789 | _ACEOF | ||
| 14790 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14791 | case "(($ac_try" in | ||
| 14792 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14793 | *) ac_try_echo=$ac_try;; | ||
| 14794 | esac | ||
| 14795 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14796 | $as_echo "$ac_try_echo") >&5 | ||
| 14797 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14798 | ac_status=$? | ||
| 14799 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14800 | rm -f conftest.er1 | ||
| 14801 | cat conftest.err >&5 | ||
| 14802 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14803 | (exit $ac_status); } >/dev/null && { | ||
| 14804 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14805 | test ! -s conftest.err | ||
| 14806 | }; then | ||
| 14807 | ac_header_preproc=yes | ||
| 14808 | else | ||
| 14809 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14810 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14811 | |||
| 14812 | ac_header_preproc=no | ||
| 14813 | fi | ||
| 14814 | |||
| 14815 | rm -f conftest.err conftest.$ac_ext | ||
| 14816 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14817 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14818 | |||
| 14819 | # So? What about this header? | ||
| 14820 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14821 | yes:no: ) | ||
| 14822 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14823 | $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14824 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | ||
| 14825 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | ||
| 14826 | ac_header_preproc=yes | ||
| 14827 | ;; | ||
| 14828 | no:yes:* ) | ||
| 14829 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | ||
| 14830 | $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | ||
| 14831 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | ||
| 14832 | $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | ||
| 14833 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | ||
| 14834 | $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | ||
| 14835 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14836 | $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14837 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | ||
| 14838 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | ||
| 14839 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | ||
| 14840 | $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | ||
| 14841 | |||
| 14842 | ;; | ||
| 14843 | esac | ||
| 14844 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | ||
| 14845 | $as_echo_n "checking for jerror.h... " >&6; } | ||
| 14846 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14847 | $as_echo_n "(cached) " >&6 | ||
| 14848 | else | ||
| 14849 | ac_cv_header_jerror_h=$ac_header_preproc | ||
| 14850 | fi | ||
| 14851 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14852 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14853 | |||
| 14854 | fi | ||
| 14855 | if test $ac_cv_header_jerror_h = yes; then | ||
| 14856 | { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | ||
| 9852 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 14857 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
| 9853 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 14858 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
| 9854 | $as_echo_n "(cached) " >&6 | 14859 | $as_echo_n "(cached) " >&6 |
| 9855 | else | 14860 | else |
| 9856 | ac_check_lib_save_LIBS=$LIBS | 14861 | ac_check_lib_save_LIBS=$LIBS |
| 9857 | LIBS="-ljpeg $LIBS" | 14862 | LIBS="-ljpeg $LIBS" |
| 9858 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14863 | cat >conftest.$ac_ext <<_ACEOF |
| 14864 | /* confdefs.h. */ | ||
| 14865 | _ACEOF | ||
| 14866 | cat confdefs.h >>conftest.$ac_ext | ||
| 14867 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9859 | /* end confdefs.h. */ | 14868 | /* end confdefs.h. */ |
| 9860 | 14869 | ||
| 9861 | /* Override any GCC internal prototype to avoid an error. | 14870 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9873,18 +14882,43 @@ return jpeg_destroy_compress (); | |||
| 9873 | return 0; | 14882 | return 0; |
| 9874 | } | 14883 | } |
| 9875 | _ACEOF | 14884 | _ACEOF |
| 9876 | if ac_fn_c_try_link "$LINENO"; then : | 14885 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14886 | if { (ac_try="$ac_link" | ||
| 14887 | case "(($ac_try" in | ||
| 14888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14889 | *) ac_try_echo=$ac_try;; | ||
| 14890 | esac | ||
| 14891 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14892 | $as_echo "$ac_try_echo") >&5 | ||
| 14893 | (eval "$ac_link") 2>conftest.er1 | ||
| 14894 | ac_status=$? | ||
| 14895 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14896 | rm -f conftest.er1 | ||
| 14897 | cat conftest.err >&5 | ||
| 14898 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14899 | (exit $ac_status); } && { | ||
| 14900 | test -z "$ac_c_werror_flag" || | ||
| 14901 | test ! -s conftest.err | ||
| 14902 | } && test -s conftest$ac_exeext && { | ||
| 14903 | test "$cross_compiling" = yes || | ||
| 14904 | $as_test_x conftest$ac_exeext | ||
| 14905 | }; then | ||
| 9877 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 14906 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
| 9878 | else | 14907 | else |
| 9879 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | 14908 | $as_echo "$as_me: failed program was:" >&5 |
| 14909 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14910 | |||
| 14911 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | ||
| 9880 | fi | 14912 | fi |
| 9881 | rm -f core conftest.err conftest.$ac_objext \ | 14913 | |
| 9882 | conftest$ac_exeext conftest.$ac_ext | 14914 | rm -rf conftest.dSYM |
| 14915 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14916 | conftest$ac_exeext conftest.$ac_ext | ||
| 9883 | LIBS=$ac_check_lib_save_LIBS | 14917 | LIBS=$ac_check_lib_save_LIBS |
| 9884 | fi | 14918 | fi |
| 9885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 14919 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
| 9886 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 14920 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
| 9887 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 14921 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
| 9888 | HAVE_JPEG=yes | 14922 | HAVE_JPEG=yes |
| 9889 | fi | 14923 | fi |
| 9890 | 14924 | ||
| @@ -9893,21 +14927,30 @@ fi | |||
| 9893 | 14927 | ||
| 9894 | fi | 14928 | fi |
| 9895 | 14929 | ||
| 9896 | if test "${HAVE_JPEG}" = "yes"; then | ||
| 9897 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | ||
| 9898 | 14930 | ||
| 9899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14931 | if test "${HAVE_JPEG}" = "yes"; then |
| 14932 | cat >>confdefs.h <<\_ACEOF | ||
| 14933 | #define HAVE_JPEG 1 | ||
| 14934 | _ACEOF | ||
| 14935 | |||
| 14936 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14937 | /* confdefs.h. */ | ||
| 14938 | _ACEOF | ||
| 14939 | cat confdefs.h >>conftest.$ac_ext | ||
| 14940 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9900 | /* end confdefs.h. */ | 14941 | /* end confdefs.h. */ |
| 9901 | #include <jpeglib.h> | 14942 | #include <jpeglib.h> |
| 9902 | version=JPEG_LIB_VERSION | 14943 | version=JPEG_LIB_VERSION |
| 9903 | 14944 | ||
| 9904 | _ACEOF | 14945 | _ACEOF |
| 9905 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14946 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9906 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : | 14947 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
| 9907 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 14948 | cat >>confdefs.h <<\_ACEOF |
| 14949 | #define HAVE_JPEG 1 | ||
| 14950 | _ACEOF | ||
| 9908 | 14951 | ||
| 9909 | else | 14952 | else |
| 9910 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 | 14953 | { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 |
| 9911 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 14954 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
| 9912 | HAVE_JPEG=no | 14955 | HAVE_JPEG=no |
| 9913 | fi | 14956 | fi |
| @@ -9927,12 +14970,144 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9927 | if test "${with_png}" != "no"; then | 14970 | if test "${with_png}" != "no"; then |
| 9928 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 14971 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
| 9929 | # in /usr/include/libpng. | 14972 | # in /usr/include/libpng. |
| 9930 | for ac_header in png.h libpng/png.h | 14973 | |
| 9931 | do : | 14974 | |
| 9932 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14975 | for ac_header in png.h libpng/png.h |
| 9933 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 14976 | do |
| 9934 | eval as_val=\$$as_ac_Header | 14977 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9935 | if test "x$as_val" = x""yes; then : | 14978 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14979 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 14980 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 14981 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 14982 | $as_echo_n "(cached) " >&6 | ||
| 14983 | fi | ||
| 14984 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 14985 | $as_echo "$as_val"'` | ||
| 14986 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 14987 | $as_echo "$ac_res" >&6; } | ||
| 14988 | else | ||
| 14989 | # Is the header compilable? | ||
| 14990 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 14991 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 14992 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14993 | /* confdefs.h. */ | ||
| 14994 | _ACEOF | ||
| 14995 | cat confdefs.h >>conftest.$ac_ext | ||
| 14996 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14997 | /* end confdefs.h. */ | ||
| 14998 | $ac_includes_default | ||
| 14999 | #include <$ac_header> | ||
| 15000 | _ACEOF | ||
| 15001 | rm -f conftest.$ac_objext | ||
| 15002 | if { (ac_try="$ac_compile" | ||
| 15003 | case "(($ac_try" in | ||
| 15004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15005 | *) ac_try_echo=$ac_try;; | ||
| 15006 | esac | ||
| 15007 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15008 | $as_echo "$ac_try_echo") >&5 | ||
| 15009 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15010 | ac_status=$? | ||
| 15011 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15012 | rm -f conftest.er1 | ||
| 15013 | cat conftest.err >&5 | ||
| 15014 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15015 | (exit $ac_status); } && { | ||
| 15016 | test -z "$ac_c_werror_flag" || | ||
| 15017 | test ! -s conftest.err | ||
| 15018 | } && test -s conftest.$ac_objext; then | ||
| 15019 | ac_header_compiler=yes | ||
| 15020 | else | ||
| 15021 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15022 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15023 | |||
| 15024 | ac_header_compiler=no | ||
| 15025 | fi | ||
| 15026 | |||
| 15027 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15028 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15029 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15030 | |||
| 15031 | # Is the header present? | ||
| 15032 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 15033 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 15034 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15035 | /* confdefs.h. */ | ||
| 15036 | _ACEOF | ||
| 15037 | cat confdefs.h >>conftest.$ac_ext | ||
| 15038 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15039 | /* end confdefs.h. */ | ||
| 15040 | #include <$ac_header> | ||
| 15041 | _ACEOF | ||
| 15042 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15043 | case "(($ac_try" in | ||
| 15044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15045 | *) ac_try_echo=$ac_try;; | ||
| 15046 | esac | ||
| 15047 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15048 | $as_echo "$ac_try_echo") >&5 | ||
| 15049 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15050 | ac_status=$? | ||
| 15051 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15052 | rm -f conftest.er1 | ||
| 15053 | cat conftest.err >&5 | ||
| 15054 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15055 | (exit $ac_status); } >/dev/null && { | ||
| 15056 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15057 | test ! -s conftest.err | ||
| 15058 | }; then | ||
| 15059 | ac_header_preproc=yes | ||
| 15060 | else | ||
| 15061 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15062 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15063 | |||
| 15064 | ac_header_preproc=no | ||
| 15065 | fi | ||
| 15066 | |||
| 15067 | rm -f conftest.err conftest.$ac_ext | ||
| 15068 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15069 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15070 | |||
| 15071 | # So? What about this header? | ||
| 15072 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15073 | yes:no: ) | ||
| 15074 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15075 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15076 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 15077 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 15078 | ac_header_preproc=yes | ||
| 15079 | ;; | ||
| 15080 | no:yes:* ) | ||
| 15081 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 15082 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 15083 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 15084 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 15085 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 15086 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 15087 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15088 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15089 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 15090 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 15091 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 15092 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 15093 | |||
| 15094 | ;; | ||
| 15095 | esac | ||
| 15096 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 15097 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 15098 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 15099 | $as_echo_n "(cached) " >&6 | ||
| 15100 | else | ||
| 15101 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 15102 | fi | ||
| 15103 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 15104 | $as_echo "$as_val"'` | ||
| 15105 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 15106 | $as_echo "$ac_res" >&6; } | ||
| 15107 | |||
| 15108 | fi | ||
| 15109 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 15110 | $as_echo "$as_val"'` = yes; then | ||
| 9936 | cat >>confdefs.h <<_ACEOF | 15111 | cat >>confdefs.h <<_ACEOF |
| 9937 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 15112 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 9938 | _ACEOF | 15113 | _ACEOF |
| @@ -9942,14 +15117,18 @@ fi | |||
| 9942 | done | 15117 | done |
| 9943 | 15118 | ||
| 9944 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 15119 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
| 9945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 15120 | { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
| 9946 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 15121 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
| 9947 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 15122 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
| 9948 | $as_echo_n "(cached) " >&6 | 15123 | $as_echo_n "(cached) " >&6 |
| 9949 | else | 15124 | else |
| 9950 | ac_check_lib_save_LIBS=$LIBS | 15125 | ac_check_lib_save_LIBS=$LIBS |
| 9951 | LIBS="-lpng -lz -lm $LIBS" | 15126 | LIBS="-lpng -lz -lm $LIBS" |
| 9952 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15127 | cat >conftest.$ac_ext <<_ACEOF |
| 15128 | /* confdefs.h. */ | ||
| 15129 | _ACEOF | ||
| 15130 | cat confdefs.h >>conftest.$ac_ext | ||
| 15131 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9953 | /* end confdefs.h. */ | 15132 | /* end confdefs.h. */ |
| 9954 | 15133 | ||
| 9955 | /* Override any GCC internal prototype to avoid an error. | 15134 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9967,18 +15146,43 @@ return png_get_channels (); | |||
| 9967 | return 0; | 15146 | return 0; |
| 9968 | } | 15147 | } |
| 9969 | _ACEOF | 15148 | _ACEOF |
| 9970 | if ac_fn_c_try_link "$LINENO"; then : | 15149 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15150 | if { (ac_try="$ac_link" | ||
| 15151 | case "(($ac_try" in | ||
| 15152 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15153 | *) ac_try_echo=$ac_try;; | ||
| 15154 | esac | ||
| 15155 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15156 | $as_echo "$ac_try_echo") >&5 | ||
| 15157 | (eval "$ac_link") 2>conftest.er1 | ||
| 15158 | ac_status=$? | ||
| 15159 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15160 | rm -f conftest.er1 | ||
| 15161 | cat conftest.err >&5 | ||
| 15162 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15163 | (exit $ac_status); } && { | ||
| 15164 | test -z "$ac_c_werror_flag" || | ||
| 15165 | test ! -s conftest.err | ||
| 15166 | } && test -s conftest$ac_exeext && { | ||
| 15167 | test "$cross_compiling" = yes || | ||
| 15168 | $as_test_x conftest$ac_exeext | ||
| 15169 | }; then | ||
| 9971 | ac_cv_lib_png_png_get_channels=yes | 15170 | ac_cv_lib_png_png_get_channels=yes |
| 9972 | else | 15171 | else |
| 9973 | ac_cv_lib_png_png_get_channels=no | 15172 | $as_echo "$as_me: failed program was:" >&5 |
| 15173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15174 | |||
| 15175 | ac_cv_lib_png_png_get_channels=no | ||
| 9974 | fi | 15176 | fi |
| 9975 | rm -f core conftest.err conftest.$ac_objext \ | 15177 | |
| 9976 | conftest$ac_exeext conftest.$ac_ext | 15178 | rm -rf conftest.dSYM |
| 15179 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15180 | conftest$ac_exeext conftest.$ac_ext | ||
| 9977 | LIBS=$ac_check_lib_save_LIBS | 15181 | LIBS=$ac_check_lib_save_LIBS |
| 9978 | fi | 15182 | fi |
| 9979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 15183 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
| 9980 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 15184 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
| 9981 | if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 15185 | if test $ac_cv_lib_png_png_get_channels = yes; then |
| 9982 | HAVE_PNG=yes | 15186 | HAVE_PNG=yes |
| 9983 | fi | 15187 | fi |
| 9984 | 15188 | ||
| @@ -9987,7 +15191,9 @@ fi | |||
| 9987 | 15191 | ||
| 9988 | if test "${HAVE_PNG}" = "yes"; then | 15192 | if test "${HAVE_PNG}" = "yes"; then |
| 9989 | 15193 | ||
| 9990 | $as_echo "#define HAVE_PNG 1" >>confdefs.h | 15194 | cat >>confdefs.h <<\_ACEOF |
| 15195 | #define HAVE_PNG 1 | ||
| 15196 | _ACEOF | ||
| 9991 | 15197 | ||
| 9992 | LIBPNG="-lpng -lz -lm" | 15198 | LIBPNG="-lpng -lz -lm" |
| 9993 | fi | 15199 | fi |
| @@ -9999,19 +15205,149 @@ HAVE_TIFF=no | |||
| 9999 | LIBTIFF= | 15205 | LIBTIFF= |
| 10000 | if test "${HAVE_X11}" = "yes"; then | 15206 | if test "${HAVE_X11}" = "yes"; then |
| 10001 | if test "${with_tiff}" != "no"; then | 15207 | if test "${with_tiff}" != "no"; then |
| 10002 | ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 15208 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 10003 | if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 15209 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
| 15210 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15211 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15212 | $as_echo_n "(cached) " >&6 | ||
| 15213 | fi | ||
| 15214 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15215 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15216 | else | ||
| 15217 | # Is the header compilable? | ||
| 15218 | { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | ||
| 15219 | $as_echo_n "checking tiffio.h usability... " >&6; } | ||
| 15220 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15221 | /* confdefs.h. */ | ||
| 15222 | _ACEOF | ||
| 15223 | cat confdefs.h >>conftest.$ac_ext | ||
| 15224 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15225 | /* end confdefs.h. */ | ||
| 15226 | $ac_includes_default | ||
| 15227 | #include <tiffio.h> | ||
| 15228 | _ACEOF | ||
| 15229 | rm -f conftest.$ac_objext | ||
| 15230 | if { (ac_try="$ac_compile" | ||
| 15231 | case "(($ac_try" in | ||
| 15232 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15233 | *) ac_try_echo=$ac_try;; | ||
| 15234 | esac | ||
| 15235 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15236 | $as_echo "$ac_try_echo") >&5 | ||
| 15237 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15238 | ac_status=$? | ||
| 15239 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15240 | rm -f conftest.er1 | ||
| 15241 | cat conftest.err >&5 | ||
| 15242 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15243 | (exit $ac_status); } && { | ||
| 15244 | test -z "$ac_c_werror_flag" || | ||
| 15245 | test ! -s conftest.err | ||
| 15246 | } && test -s conftest.$ac_objext; then | ||
| 15247 | ac_header_compiler=yes | ||
| 15248 | else | ||
| 15249 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15250 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15251 | |||
| 15252 | ac_header_compiler=no | ||
| 15253 | fi | ||
| 15254 | |||
| 15255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15256 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15257 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15258 | |||
| 15259 | # Is the header present? | ||
| 15260 | { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | ||
| 15261 | $as_echo_n "checking tiffio.h presence... " >&6; } | ||
| 15262 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15263 | /* confdefs.h. */ | ||
| 15264 | _ACEOF | ||
| 15265 | cat confdefs.h >>conftest.$ac_ext | ||
| 15266 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15267 | /* end confdefs.h. */ | ||
| 15268 | #include <tiffio.h> | ||
| 15269 | _ACEOF | ||
| 15270 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15271 | case "(($ac_try" in | ||
| 15272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15273 | *) ac_try_echo=$ac_try;; | ||
| 15274 | esac | ||
| 15275 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15276 | $as_echo "$ac_try_echo") >&5 | ||
| 15277 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15278 | ac_status=$? | ||
| 15279 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15280 | rm -f conftest.er1 | ||
| 15281 | cat conftest.err >&5 | ||
| 15282 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15283 | (exit $ac_status); } >/dev/null && { | ||
| 15284 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15285 | test ! -s conftest.err | ||
| 15286 | }; then | ||
| 15287 | ac_header_preproc=yes | ||
| 15288 | else | ||
| 15289 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15290 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15291 | |||
| 15292 | ac_header_preproc=no | ||
| 15293 | fi | ||
| 15294 | |||
| 15295 | rm -f conftest.err conftest.$ac_ext | ||
| 15296 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15297 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15298 | |||
| 15299 | # So? What about this header? | ||
| 15300 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15301 | yes:no: ) | ||
| 15302 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15303 | $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15304 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | ||
| 15305 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | ||
| 15306 | ac_header_preproc=yes | ||
| 15307 | ;; | ||
| 15308 | no:yes:* ) | ||
| 15309 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | ||
| 15310 | $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | ||
| 15311 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | ||
| 15312 | $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | ||
| 15313 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | ||
| 15314 | $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | ||
| 15315 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15316 | $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15317 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | ||
| 15318 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | ||
| 15319 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | ||
| 15320 | $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | ||
| 15321 | |||
| 15322 | ;; | ||
| 15323 | esac | ||
| 15324 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | ||
| 15325 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15326 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15327 | $as_echo_n "(cached) " >&6 | ||
| 15328 | else | ||
| 15329 | ac_cv_header_tiffio_h=$ac_header_preproc | ||
| 15330 | fi | ||
| 15331 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15332 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15333 | |||
| 15334 | fi | ||
| 15335 | if test $ac_cv_header_tiffio_h = yes; then | ||
| 10004 | tifflibs="-lz -lm" | 15336 | tifflibs="-lz -lm" |
| 10005 | # At least one tiff package requires the jpeg library. | 15337 | # At least one tiff package requires the jpeg library. |
| 10006 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 15338 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 10007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 15339 | { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
| 10008 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 15340 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
| 10009 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 15341 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
| 10010 | $as_echo_n "(cached) " >&6 | 15342 | $as_echo_n "(cached) " >&6 |
| 10011 | else | 15343 | else |
| 10012 | ac_check_lib_save_LIBS=$LIBS | 15344 | ac_check_lib_save_LIBS=$LIBS |
| 10013 | LIBS="-ltiff $tifflibs $LIBS" | 15345 | LIBS="-ltiff $tifflibs $LIBS" |
| 10014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15346 | cat >conftest.$ac_ext <<_ACEOF |
| 15347 | /* confdefs.h. */ | ||
| 15348 | _ACEOF | ||
| 15349 | cat confdefs.h >>conftest.$ac_ext | ||
| 15350 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10015 | /* end confdefs.h. */ | 15351 | /* end confdefs.h. */ |
| 10016 | 15352 | ||
| 10017 | /* Override any GCC internal prototype to avoid an error. | 15353 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10029,18 +15365,43 @@ return TIFFGetVersion (); | |||
| 10029 | return 0; | 15365 | return 0; |
| 10030 | } | 15366 | } |
| 10031 | _ACEOF | 15367 | _ACEOF |
| 10032 | if ac_fn_c_try_link "$LINENO"; then : | 15368 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15369 | if { (ac_try="$ac_link" | ||
| 15370 | case "(($ac_try" in | ||
| 15371 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15372 | *) ac_try_echo=$ac_try;; | ||
| 15373 | esac | ||
| 15374 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15375 | $as_echo "$ac_try_echo") >&5 | ||
| 15376 | (eval "$ac_link") 2>conftest.er1 | ||
| 15377 | ac_status=$? | ||
| 15378 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15379 | rm -f conftest.er1 | ||
| 15380 | cat conftest.err >&5 | ||
| 15381 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15382 | (exit $ac_status); } && { | ||
| 15383 | test -z "$ac_c_werror_flag" || | ||
| 15384 | test ! -s conftest.err | ||
| 15385 | } && test -s conftest$ac_exeext && { | ||
| 15386 | test "$cross_compiling" = yes || | ||
| 15387 | $as_test_x conftest$ac_exeext | ||
| 15388 | }; then | ||
| 10033 | ac_cv_lib_tiff_TIFFGetVersion=yes | 15389 | ac_cv_lib_tiff_TIFFGetVersion=yes |
| 10034 | else | 15390 | else |
| 10035 | ac_cv_lib_tiff_TIFFGetVersion=no | 15391 | $as_echo "$as_me: failed program was:" >&5 |
| 15392 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15393 | |||
| 15394 | ac_cv_lib_tiff_TIFFGetVersion=no | ||
| 10036 | fi | 15395 | fi |
| 10037 | rm -f core conftest.err conftest.$ac_objext \ | 15396 | |
| 10038 | conftest$ac_exeext conftest.$ac_ext | 15397 | rm -rf conftest.dSYM |
| 15398 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15399 | conftest$ac_exeext conftest.$ac_ext | ||
| 10039 | LIBS=$ac_check_lib_save_LIBS | 15400 | LIBS=$ac_check_lib_save_LIBS |
| 10040 | fi | 15401 | fi |
| 10041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 15402 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
| 10042 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 15403 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
| 10043 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 15404 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
| 10044 | HAVE_TIFF=yes | 15405 | HAVE_TIFF=yes |
| 10045 | fi | 15406 | fi |
| 10046 | 15407 | ||
| @@ -10051,7 +15412,9 @@ fi | |||
| 10051 | 15412 | ||
| 10052 | if test "${HAVE_TIFF}" = "yes"; then | 15413 | if test "${HAVE_TIFF}" = "yes"; then |
| 10053 | 15414 | ||
| 10054 | $as_echo "#define HAVE_TIFF 1" >>confdefs.h | 15415 | cat >>confdefs.h <<\_ACEOF |
| 15416 | #define HAVE_TIFF 1 | ||
| 15417 | _ACEOF | ||
| 10055 | 15418 | ||
| 10056 | LIBTIFF=-ltiff | 15419 | LIBTIFF=-ltiff |
| 10057 | fi | 15420 | fi |
| @@ -10062,18 +15425,148 @@ fi | |||
| 10062 | HAVE_GIF=no | 15425 | HAVE_GIF=no |
| 10063 | LIBGIF= | 15426 | LIBGIF= |
| 10064 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 15427 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
| 10065 | ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 15428 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 10066 | if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 15429 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 15430 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15431 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15432 | $as_echo_n "(cached) " >&6 | ||
| 15433 | fi | ||
| 15434 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15435 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15436 | else | ||
| 15437 | # Is the header compilable? | ||
| 15438 | { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | ||
| 15439 | $as_echo_n "checking gif_lib.h usability... " >&6; } | ||
| 15440 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15441 | /* confdefs.h. */ | ||
| 15442 | _ACEOF | ||
| 15443 | cat confdefs.h >>conftest.$ac_ext | ||
| 15444 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15445 | /* end confdefs.h. */ | ||
| 15446 | $ac_includes_default | ||
| 15447 | #include <gif_lib.h> | ||
| 15448 | _ACEOF | ||
| 15449 | rm -f conftest.$ac_objext | ||
| 15450 | if { (ac_try="$ac_compile" | ||
| 15451 | case "(($ac_try" in | ||
| 15452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15453 | *) ac_try_echo=$ac_try;; | ||
| 15454 | esac | ||
| 15455 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15456 | $as_echo "$ac_try_echo") >&5 | ||
| 15457 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15458 | ac_status=$? | ||
| 15459 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15460 | rm -f conftest.er1 | ||
| 15461 | cat conftest.err >&5 | ||
| 15462 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15463 | (exit $ac_status); } && { | ||
| 15464 | test -z "$ac_c_werror_flag" || | ||
| 15465 | test ! -s conftest.err | ||
| 15466 | } && test -s conftest.$ac_objext; then | ||
| 15467 | ac_header_compiler=yes | ||
| 15468 | else | ||
| 15469 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15470 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15471 | |||
| 15472 | ac_header_compiler=no | ||
| 15473 | fi | ||
| 15474 | |||
| 15475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15476 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15477 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15478 | |||
| 15479 | # Is the header present? | ||
| 15480 | { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | ||
| 15481 | $as_echo_n "checking gif_lib.h presence... " >&6; } | ||
| 15482 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15483 | /* confdefs.h. */ | ||
| 15484 | _ACEOF | ||
| 15485 | cat confdefs.h >>conftest.$ac_ext | ||
| 15486 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15487 | /* end confdefs.h. */ | ||
| 15488 | #include <gif_lib.h> | ||
| 15489 | _ACEOF | ||
| 15490 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15491 | case "(($ac_try" in | ||
| 15492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15493 | *) ac_try_echo=$ac_try;; | ||
| 15494 | esac | ||
| 15495 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15496 | $as_echo "$ac_try_echo") >&5 | ||
| 15497 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15498 | ac_status=$? | ||
| 15499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15500 | rm -f conftest.er1 | ||
| 15501 | cat conftest.err >&5 | ||
| 15502 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15503 | (exit $ac_status); } >/dev/null && { | ||
| 15504 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15505 | test ! -s conftest.err | ||
| 15506 | }; then | ||
| 15507 | ac_header_preproc=yes | ||
| 15508 | else | ||
| 15509 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15510 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15511 | |||
| 15512 | ac_header_preproc=no | ||
| 15513 | fi | ||
| 15514 | |||
| 15515 | rm -f conftest.err conftest.$ac_ext | ||
| 15516 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15517 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15518 | |||
| 15519 | # So? What about this header? | ||
| 15520 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15521 | yes:no: ) | ||
| 15522 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15523 | $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15524 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | ||
| 15525 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | ||
| 15526 | ac_header_preproc=yes | ||
| 15527 | ;; | ||
| 15528 | no:yes:* ) | ||
| 15529 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | ||
| 15530 | $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | ||
| 15531 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | ||
| 15532 | $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | ||
| 15533 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | ||
| 15534 | $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | ||
| 15535 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15536 | $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15537 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | ||
| 15538 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | ||
| 15539 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | ||
| 15540 | $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | ||
| 15541 | |||
| 15542 | ;; | ||
| 15543 | esac | ||
| 15544 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | ||
| 15545 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15546 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15547 | $as_echo_n "(cached) " >&6 | ||
| 15548 | else | ||
| 15549 | ac_cv_header_gif_lib_h=$ac_header_preproc | ||
| 15550 | fi | ||
| 15551 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15552 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15553 | |||
| 15554 | fi | ||
| 15555 | if test $ac_cv_header_gif_lib_h = yes; then | ||
| 10067 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15556 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 10068 | # Earlier versions can crash Emacs. | 15557 | # Earlier versions can crash Emacs. |
| 10069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 15558 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
| 10070 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 15559 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
| 10071 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 15560 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
| 10072 | $as_echo_n "(cached) " >&6 | 15561 | $as_echo_n "(cached) " >&6 |
| 10073 | else | 15562 | else |
| 10074 | ac_check_lib_save_LIBS=$LIBS | 15563 | ac_check_lib_save_LIBS=$LIBS |
| 10075 | LIBS="-lgif $LIBS" | 15564 | LIBS="-lgif $LIBS" |
| 10076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15565 | cat >conftest.$ac_ext <<_ACEOF |
| 15566 | /* confdefs.h. */ | ||
| 15567 | _ACEOF | ||
| 15568 | cat confdefs.h >>conftest.$ac_ext | ||
| 15569 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10077 | /* end confdefs.h. */ | 15570 | /* end confdefs.h. */ |
| 10078 | 15571 | ||
| 10079 | /* Override any GCC internal prototype to avoid an error. | 15572 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10091,18 +15584,43 @@ return EGifPutExtensionLast (); | |||
| 10091 | return 0; | 15584 | return 0; |
| 10092 | } | 15585 | } |
| 10093 | _ACEOF | 15586 | _ACEOF |
| 10094 | if ac_fn_c_try_link "$LINENO"; then : | 15587 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15588 | if { (ac_try="$ac_link" | ||
| 15589 | case "(($ac_try" in | ||
| 15590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15591 | *) ac_try_echo=$ac_try;; | ||
| 15592 | esac | ||
| 15593 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15594 | $as_echo "$ac_try_echo") >&5 | ||
| 15595 | (eval "$ac_link") 2>conftest.er1 | ||
| 15596 | ac_status=$? | ||
| 15597 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15598 | rm -f conftest.er1 | ||
| 15599 | cat conftest.err >&5 | ||
| 15600 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15601 | (exit $ac_status); } && { | ||
| 15602 | test -z "$ac_c_werror_flag" || | ||
| 15603 | test ! -s conftest.err | ||
| 15604 | } && test -s conftest$ac_exeext && { | ||
| 15605 | test "$cross_compiling" = yes || | ||
| 15606 | $as_test_x conftest$ac_exeext | ||
| 15607 | }; then | ||
| 10095 | ac_cv_lib_gif_EGifPutExtensionLast=yes | 15608 | ac_cv_lib_gif_EGifPutExtensionLast=yes |
| 10096 | else | 15609 | else |
| 10097 | ac_cv_lib_gif_EGifPutExtensionLast=no | 15610 | $as_echo "$as_me: failed program was:" >&5 |
| 15611 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15612 | |||
| 15613 | ac_cv_lib_gif_EGifPutExtensionLast=no | ||
| 10098 | fi | 15614 | fi |
| 10099 | rm -f core conftest.err conftest.$ac_objext \ | 15615 | |
| 10100 | conftest$ac_exeext conftest.$ac_ext | 15616 | rm -rf conftest.dSYM |
| 15617 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15618 | conftest$ac_exeext conftest.$ac_ext | ||
| 10101 | LIBS=$ac_check_lib_save_LIBS | 15619 | LIBS=$ac_check_lib_save_LIBS |
| 10102 | fi | 15620 | fi |
| 10103 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 15621 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
| 10104 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 15622 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
| 10105 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 15623 | if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
| 10106 | HAVE_GIF=yes | 15624 | HAVE_GIF=yes |
| 10107 | else | 15625 | else |
| 10108 | HAVE_GIF=maybe | 15626 | HAVE_GIF=maybe |
| @@ -10116,14 +15634,18 @@ fi | |||
| 10116 | LIBGIF=-lgif | 15634 | LIBGIF=-lgif |
| 10117 | elif test "$HAVE_GIF" = maybe; then | 15635 | elif test "$HAVE_GIF" = maybe; then |
| 10118 | # If gif_lib.h but no libgif, try libungif. | 15636 | # If gif_lib.h but no libgif, try libungif. |
| 10119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 15637 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
| 10120 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 15638 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
| 10121 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 15639 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
| 10122 | $as_echo_n "(cached) " >&6 | 15640 | $as_echo_n "(cached) " >&6 |
| 10123 | else | 15641 | else |
| 10124 | ac_check_lib_save_LIBS=$LIBS | 15642 | ac_check_lib_save_LIBS=$LIBS |
| 10125 | LIBS="-lungif $LIBS" | 15643 | LIBS="-lungif $LIBS" |
| 10126 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15644 | cat >conftest.$ac_ext <<_ACEOF |
| 15645 | /* confdefs.h. */ | ||
| 15646 | _ACEOF | ||
| 15647 | cat confdefs.h >>conftest.$ac_ext | ||
| 15648 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10127 | /* end confdefs.h. */ | 15649 | /* end confdefs.h. */ |
| 10128 | 15650 | ||
| 10129 | /* Override any GCC internal prototype to avoid an error. | 15651 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10141,18 +15663,43 @@ return EGifPutExtensionLast (); | |||
| 10141 | return 0; | 15663 | return 0; |
| 10142 | } | 15664 | } |
| 10143 | _ACEOF | 15665 | _ACEOF |
| 10144 | if ac_fn_c_try_link "$LINENO"; then : | 15666 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15667 | if { (ac_try="$ac_link" | ||
| 15668 | case "(($ac_try" in | ||
| 15669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15670 | *) ac_try_echo=$ac_try;; | ||
| 15671 | esac | ||
| 15672 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15673 | $as_echo "$ac_try_echo") >&5 | ||
| 15674 | (eval "$ac_link") 2>conftest.er1 | ||
| 15675 | ac_status=$? | ||
| 15676 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15677 | rm -f conftest.er1 | ||
| 15678 | cat conftest.err >&5 | ||
| 15679 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15680 | (exit $ac_status); } && { | ||
| 15681 | test -z "$ac_c_werror_flag" || | ||
| 15682 | test ! -s conftest.err | ||
| 15683 | } && test -s conftest$ac_exeext && { | ||
| 15684 | test "$cross_compiling" = yes || | ||
| 15685 | $as_test_x conftest$ac_exeext | ||
| 15686 | }; then | ||
| 10145 | ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15687 | ac_cv_lib_ungif_EGifPutExtensionLast=yes |
| 10146 | else | 15688 | else |
| 10147 | ac_cv_lib_ungif_EGifPutExtensionLast=no | 15689 | $as_echo "$as_me: failed program was:" >&5 |
| 15690 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15691 | |||
| 15692 | ac_cv_lib_ungif_EGifPutExtensionLast=no | ||
| 10148 | fi | 15693 | fi |
| 10149 | rm -f core conftest.err conftest.$ac_objext \ | 15694 | |
| 10150 | conftest$ac_exeext conftest.$ac_ext | 15695 | rm -rf conftest.dSYM |
| 15696 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15697 | conftest$ac_exeext conftest.$ac_ext | ||
| 10151 | LIBS=$ac_check_lib_save_LIBS | 15698 | LIBS=$ac_check_lib_save_LIBS |
| 10152 | fi | 15699 | fi |
| 10153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15700 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
| 10154 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 15701 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 10155 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 15702 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
| 10156 | HAVE_GIF=yes | 15703 | HAVE_GIF=yes |
| 10157 | else | 15704 | else |
| 10158 | HAVE_GIF=no | 15705 | HAVE_GIF=no |
| @@ -10163,7 +15710,9 @@ fi | |||
| 10163 | 15710 | ||
| 10164 | if test "${HAVE_GIF}" = "yes"; then | 15711 | if test "${HAVE_GIF}" = "yes"; then |
| 10165 | 15712 | ||
| 10166 | $as_echo "#define HAVE_GIF 1" >>confdefs.h | 15713 | cat >>confdefs.h <<\_ACEOF |
| 15714 | #define HAVE_GIF 1 | ||
| 15715 | _ACEOF | ||
| 10167 | 15716 | ||
| 10168 | fi | 15717 | fi |
| 10169 | fi | 15718 | fi |
| @@ -10184,12 +15733,19 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10184 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 15733 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 10185 | 15734 | ||
| 10186 | if test "X${MISSING}" != X; then | 15735 | if test "X${MISSING}" != X; then |
| 10187 | as_fn_error "The following required libraries were not found: | 15736 | { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: |
| 15737 | $MISSING | ||
| 15738 | Maybe some development libraries/packages are missing? | ||
| 15739 | If you don't want to link with them give | ||
| 15740 | $WITH_NO | ||
| 15741 | as options to configure" >&5 | ||
| 15742 | $as_echo "$as_me: error: The following required libraries were not found: | ||
| 10188 | $MISSING | 15743 | $MISSING |
| 10189 | Maybe some development libraries/packages are missing? | 15744 | Maybe some development libraries/packages are missing? |
| 10190 | If you don't want to link with them give | 15745 | If you don't want to link with them give |
| 10191 | $WITH_NO | 15746 | $WITH_NO |
| 10192 | as options to configure" "$LINENO" 5 | 15747 | as options to configure" >&2;} |
| 15748 | { (exit 1); exit 1; }; } | ||
| 10193 | fi | 15749 | fi |
| 10194 | fi | 15750 | fi |
| 10195 | 15751 | ||
| @@ -10197,16 +15753,146 @@ fi | |||
| 10197 | HAVE_GPM=no | 15753 | HAVE_GPM=no |
| 10198 | LIBGPM= | 15754 | LIBGPM= |
| 10199 | if test "${with_gpm}" != "no"; then | 15755 | if test "${with_gpm}" != "no"; then |
| 10200 | ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 15756 | if test "${ac_cv_header_gpm_h+set}" = set; then |
| 10201 | if test "x$ac_cv_header_gpm_h" = x""yes; then : | 15757 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 |
| 10202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 15758 | $as_echo_n "checking for gpm.h... " >&6; } |
| 15759 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15760 | $as_echo_n "(cached) " >&6 | ||
| 15761 | fi | ||
| 15762 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15763 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15764 | else | ||
| 15765 | # Is the header compilable? | ||
| 15766 | { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | ||
| 15767 | $as_echo_n "checking gpm.h usability... " >&6; } | ||
| 15768 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15769 | /* confdefs.h. */ | ||
| 15770 | _ACEOF | ||
| 15771 | cat confdefs.h >>conftest.$ac_ext | ||
| 15772 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15773 | /* end confdefs.h. */ | ||
| 15774 | $ac_includes_default | ||
| 15775 | #include <gpm.h> | ||
| 15776 | _ACEOF | ||
| 15777 | rm -f conftest.$ac_objext | ||
| 15778 | if { (ac_try="$ac_compile" | ||
| 15779 | case "(($ac_try" in | ||
| 15780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15781 | *) ac_try_echo=$ac_try;; | ||
| 15782 | esac | ||
| 15783 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15784 | $as_echo "$ac_try_echo") >&5 | ||
| 15785 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15786 | ac_status=$? | ||
| 15787 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15788 | rm -f conftest.er1 | ||
| 15789 | cat conftest.err >&5 | ||
| 15790 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15791 | (exit $ac_status); } && { | ||
| 15792 | test -z "$ac_c_werror_flag" || | ||
| 15793 | test ! -s conftest.err | ||
| 15794 | } && test -s conftest.$ac_objext; then | ||
| 15795 | ac_header_compiler=yes | ||
| 15796 | else | ||
| 15797 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15798 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15799 | |||
| 15800 | ac_header_compiler=no | ||
| 15801 | fi | ||
| 15802 | |||
| 15803 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15804 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15805 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15806 | |||
| 15807 | # Is the header present? | ||
| 15808 | { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | ||
| 15809 | $as_echo_n "checking gpm.h presence... " >&6; } | ||
| 15810 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15811 | /* confdefs.h. */ | ||
| 15812 | _ACEOF | ||
| 15813 | cat confdefs.h >>conftest.$ac_ext | ||
| 15814 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15815 | /* end confdefs.h. */ | ||
| 15816 | #include <gpm.h> | ||
| 15817 | _ACEOF | ||
| 15818 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15819 | case "(($ac_try" in | ||
| 15820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15821 | *) ac_try_echo=$ac_try;; | ||
| 15822 | esac | ||
| 15823 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15824 | $as_echo "$ac_try_echo") >&5 | ||
| 15825 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15826 | ac_status=$? | ||
| 15827 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15828 | rm -f conftest.er1 | ||
| 15829 | cat conftest.err >&5 | ||
| 15830 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15831 | (exit $ac_status); } >/dev/null && { | ||
| 15832 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15833 | test ! -s conftest.err | ||
| 15834 | }; then | ||
| 15835 | ac_header_preproc=yes | ||
| 15836 | else | ||
| 15837 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15838 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15839 | |||
| 15840 | ac_header_preproc=no | ||
| 15841 | fi | ||
| 15842 | |||
| 15843 | rm -f conftest.err conftest.$ac_ext | ||
| 15844 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15845 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15846 | |||
| 15847 | # So? What about this header? | ||
| 15848 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15849 | yes:no: ) | ||
| 15850 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15851 | $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15852 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | ||
| 15853 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | ||
| 15854 | ac_header_preproc=yes | ||
| 15855 | ;; | ||
| 15856 | no:yes:* ) | ||
| 15857 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | ||
| 15858 | $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | ||
| 15859 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | ||
| 15860 | $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | ||
| 15861 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | ||
| 15862 | $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | ||
| 15863 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15864 | $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15865 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | ||
| 15866 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 15867 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | ||
| 15868 | $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 15869 | |||
| 15870 | ;; | ||
| 15871 | esac | ||
| 15872 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | ||
| 15873 | $as_echo_n "checking for gpm.h... " >&6; } | ||
| 15874 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15875 | $as_echo_n "(cached) " >&6 | ||
| 15876 | else | ||
| 15877 | ac_cv_header_gpm_h=$ac_header_preproc | ||
| 15878 | fi | ||
| 15879 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15880 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15881 | |||
| 15882 | fi | ||
| 15883 | if test $ac_cv_header_gpm_h = yes; then | ||
| 15884 | { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | ||
| 10203 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 15885 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
| 10204 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 15886 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
| 10205 | $as_echo_n "(cached) " >&6 | 15887 | $as_echo_n "(cached) " >&6 |
| 10206 | else | 15888 | else |
| 10207 | ac_check_lib_save_LIBS=$LIBS | 15889 | ac_check_lib_save_LIBS=$LIBS |
| 10208 | LIBS="-lgpm $LIBS" | 15890 | LIBS="-lgpm $LIBS" |
| 10209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15891 | cat >conftest.$ac_ext <<_ACEOF |
| 15892 | /* confdefs.h. */ | ||
| 15893 | _ACEOF | ||
| 15894 | cat confdefs.h >>conftest.$ac_ext | ||
| 15895 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10210 | /* end confdefs.h. */ | 15896 | /* end confdefs.h. */ |
| 10211 | 15897 | ||
| 10212 | /* Override any GCC internal prototype to avoid an error. | 15898 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10224,18 +15910,43 @@ return Gpm_Open (); | |||
| 10224 | return 0; | 15910 | return 0; |
| 10225 | } | 15911 | } |
| 10226 | _ACEOF | 15912 | _ACEOF |
| 10227 | if ac_fn_c_try_link "$LINENO"; then : | 15913 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15914 | if { (ac_try="$ac_link" | ||
| 15915 | case "(($ac_try" in | ||
| 15916 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15917 | *) ac_try_echo=$ac_try;; | ||
| 15918 | esac | ||
| 15919 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15920 | $as_echo "$ac_try_echo") >&5 | ||
| 15921 | (eval "$ac_link") 2>conftest.er1 | ||
| 15922 | ac_status=$? | ||
| 15923 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15924 | rm -f conftest.er1 | ||
| 15925 | cat conftest.err >&5 | ||
| 15926 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15927 | (exit $ac_status); } && { | ||
| 15928 | test -z "$ac_c_werror_flag" || | ||
| 15929 | test ! -s conftest.err | ||
| 15930 | } && test -s conftest$ac_exeext && { | ||
| 15931 | test "$cross_compiling" = yes || | ||
| 15932 | $as_test_x conftest$ac_exeext | ||
| 15933 | }; then | ||
| 10228 | ac_cv_lib_gpm_Gpm_Open=yes | 15934 | ac_cv_lib_gpm_Gpm_Open=yes |
| 10229 | else | 15935 | else |
| 10230 | ac_cv_lib_gpm_Gpm_Open=no | 15936 | $as_echo "$as_me: failed program was:" >&5 |
| 15937 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15938 | |||
| 15939 | ac_cv_lib_gpm_Gpm_Open=no | ||
| 10231 | fi | 15940 | fi |
| 10232 | rm -f core conftest.err conftest.$ac_objext \ | 15941 | |
| 10233 | conftest$ac_exeext conftest.$ac_ext | 15942 | rm -rf conftest.dSYM |
| 15943 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15944 | conftest$ac_exeext conftest.$ac_ext | ||
| 10234 | LIBS=$ac_check_lib_save_LIBS | 15945 | LIBS=$ac_check_lib_save_LIBS |
| 10235 | fi | 15946 | fi |
| 10236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 15947 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
| 10237 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 15948 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
| 10238 | if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 15949 | if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
| 10239 | HAVE_GPM=yes | 15950 | HAVE_GPM=yes |
| 10240 | fi | 15951 | fi |
| 10241 | 15952 | ||
| @@ -10245,17 +15956,147 @@ fi | |||
| 10245 | 15956 | ||
| 10246 | if test "${HAVE_GPM}" = "yes"; then | 15957 | if test "${HAVE_GPM}" = "yes"; then |
| 10247 | 15958 | ||
| 10248 | $as_echo "#define HAVE_GPM 1" >>confdefs.h | 15959 | cat >>confdefs.h <<\_ACEOF |
| 15960 | #define HAVE_GPM 1 | ||
| 15961 | _ACEOF | ||
| 10249 | 15962 | ||
| 10250 | LIBGPM=-lgpm | 15963 | LIBGPM=-lgpm |
| 10251 | fi | 15964 | fi |
| 10252 | fi | 15965 | fi |
| 10253 | 15966 | ||
| 10254 | 15967 | ||
| 10255 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 15968 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 10256 | if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 15969 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
| 15970 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 15971 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 15972 | $as_echo_n "(cached) " >&6 | ||
| 15973 | fi | ||
| 15974 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 15975 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 15976 | else | ||
| 15977 | # Is the header compilable? | ||
| 15978 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | ||
| 15979 | $as_echo_n "checking malloc/malloc.h usability... " >&6; } | ||
| 15980 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15981 | /* confdefs.h. */ | ||
| 15982 | _ACEOF | ||
| 15983 | cat confdefs.h >>conftest.$ac_ext | ||
| 15984 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15985 | /* end confdefs.h. */ | ||
| 15986 | $ac_includes_default | ||
| 15987 | #include <malloc/malloc.h> | ||
| 15988 | _ACEOF | ||
| 15989 | rm -f conftest.$ac_objext | ||
| 15990 | if { (ac_try="$ac_compile" | ||
| 15991 | case "(($ac_try" in | ||
| 15992 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15993 | *) ac_try_echo=$ac_try;; | ||
| 15994 | esac | ||
| 15995 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15996 | $as_echo "$ac_try_echo") >&5 | ||
| 15997 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15998 | ac_status=$? | ||
| 15999 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16000 | rm -f conftest.er1 | ||
| 16001 | cat conftest.err >&5 | ||
| 16002 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16003 | (exit $ac_status); } && { | ||
| 16004 | test -z "$ac_c_werror_flag" || | ||
| 16005 | test ! -s conftest.err | ||
| 16006 | } && test -s conftest.$ac_objext; then | ||
| 16007 | ac_header_compiler=yes | ||
| 16008 | else | ||
| 16009 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16010 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16011 | |||
| 16012 | ac_header_compiler=no | ||
| 16013 | fi | ||
| 16014 | |||
| 16015 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16016 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16017 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16018 | |||
| 16019 | # Is the header present? | ||
| 16020 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | ||
| 16021 | $as_echo_n "checking malloc/malloc.h presence... " >&6; } | ||
| 16022 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16023 | /* confdefs.h. */ | ||
| 16024 | _ACEOF | ||
| 16025 | cat confdefs.h >>conftest.$ac_ext | ||
| 16026 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16027 | /* end confdefs.h. */ | ||
| 16028 | #include <malloc/malloc.h> | ||
| 16029 | _ACEOF | ||
| 16030 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16031 | case "(($ac_try" in | ||
| 16032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16033 | *) ac_try_echo=$ac_try;; | ||
| 16034 | esac | ||
| 16035 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16036 | $as_echo "$ac_try_echo") >&5 | ||
| 16037 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16038 | ac_status=$? | ||
| 16039 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16040 | rm -f conftest.er1 | ||
| 16041 | cat conftest.err >&5 | ||
| 16042 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16043 | (exit $ac_status); } >/dev/null && { | ||
| 16044 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16045 | test ! -s conftest.err | ||
| 16046 | }; then | ||
| 16047 | ac_header_preproc=yes | ||
| 16048 | else | ||
| 16049 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16050 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16051 | |||
| 16052 | ac_header_preproc=no | ||
| 16053 | fi | ||
| 16054 | |||
| 16055 | rm -f conftest.err conftest.$ac_ext | ||
| 16056 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16057 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16058 | |||
| 16059 | # So? What about this header? | ||
| 16060 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16061 | yes:no: ) | ||
| 16062 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16063 | $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16064 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | ||
| 16065 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | ||
| 16066 | ac_header_preproc=yes | ||
| 16067 | ;; | ||
| 16068 | no:yes:* ) | ||
| 16069 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | ||
| 16070 | $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | ||
| 16071 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | ||
| 16072 | $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | ||
| 16073 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | ||
| 16074 | $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | ||
| 16075 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16076 | $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16077 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | ||
| 16078 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | ||
| 16079 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | ||
| 16080 | $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | ||
| 10257 | 16081 | ||
| 10258 | $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 16082 | ;; |
| 16083 | esac | ||
| 16084 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | ||
| 16085 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 16086 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 16087 | $as_echo_n "(cached) " >&6 | ||
| 16088 | else | ||
| 16089 | ac_cv_header_malloc_malloc_h=$ac_header_preproc | ||
| 16090 | fi | ||
| 16091 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 16092 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 16093 | |||
| 16094 | fi | ||
| 16095 | if test $ac_cv_header_malloc_malloc_h = yes; then | ||
| 16096 | |||
| 16097 | cat >>confdefs.h <<\_ACEOF | ||
| 16098 | #define HAVE_MALLOC_MALLOC_H 1 | ||
| 16099 | _ACEOF | ||
| 10259 | 16100 | ||
| 10260 | fi | 16101 | fi |
| 10261 | 16102 | ||
| @@ -10264,23 +16105,31 @@ fi | |||
| 10264 | ### Use NeXTstep API to implement GUI. | 16105 | ### Use NeXTstep API to implement GUI. |
| 10265 | if test "${HAVE_NS}" = "yes"; then | 16106 | if test "${HAVE_NS}" = "yes"; then |
| 10266 | 16107 | ||
| 10267 | $as_echo "#define HAVE_NS 1" >>confdefs.h | 16108 | cat >>confdefs.h <<\_ACEOF |
| 16109 | #define HAVE_NS 1 | ||
| 16110 | _ACEOF | ||
| 10268 | 16111 | ||
| 10269 | if test "${NS_IMPL_COCOA}" = "yes"; then | 16112 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| 10270 | 16113 | ||
| 10271 | $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h | 16114 | cat >>confdefs.h <<\_ACEOF |
| 16115 | #define NS_IMPL_COCOA 1 | ||
| 16116 | _ACEOF | ||
| 10272 | 16117 | ||
| 10273 | GNU_OBJC_CFLAGS= | 16118 | GNU_OBJC_CFLAGS= |
| 10274 | fi | 16119 | fi |
| 10275 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 16120 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 10276 | 16121 | ||
| 10277 | $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | 16122 | cat >>confdefs.h <<\_ACEOF |
| 16123 | #define NS_IMPL_GNUSTEP 1 | ||
| 16124 | _ACEOF | ||
| 10278 | 16125 | ||
| 10279 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 16126 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
| 10280 | fi | 16127 | fi |
| 10281 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 16128 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 10282 | 16129 | ||
| 10283 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 16130 | cat >>confdefs.h <<\_ACEOF |
| 16131 | #define NS_HAVE_NSINTEGER 1 | ||
| 16132 | _ACEOF | ||
| 10284 | 16133 | ||
| 10285 | fi | 16134 | fi |
| 10286 | # We also have mouse menus. | 16135 | # We also have mouse menus. |
| @@ -10293,16 +16142,146 @@ fi | |||
| 10293 | HAVE_X_SM=no | 16142 | HAVE_X_SM=no |
| 10294 | LIBXSM= | 16143 | LIBXSM= |
| 10295 | if test "${HAVE_X11}" = "yes"; then | 16144 | if test "${HAVE_X11}" = "yes"; then |
| 10296 | ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 16145 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 10297 | if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 16146 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
| 10298 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 16147 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } |
| 16148 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16149 | $as_echo_n "(cached) " >&6 | ||
| 16150 | fi | ||
| 16151 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16152 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16153 | else | ||
| 16154 | # Is the header compilable? | ||
| 16155 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | ||
| 16156 | $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | ||
| 16157 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16158 | /* confdefs.h. */ | ||
| 16159 | _ACEOF | ||
| 16160 | cat confdefs.h >>conftest.$ac_ext | ||
| 16161 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16162 | /* end confdefs.h. */ | ||
| 16163 | $ac_includes_default | ||
| 16164 | #include <X11/SM/SMlib.h> | ||
| 16165 | _ACEOF | ||
| 16166 | rm -f conftest.$ac_objext | ||
| 16167 | if { (ac_try="$ac_compile" | ||
| 16168 | case "(($ac_try" in | ||
| 16169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16170 | *) ac_try_echo=$ac_try;; | ||
| 16171 | esac | ||
| 16172 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16173 | $as_echo "$ac_try_echo") >&5 | ||
| 16174 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16175 | ac_status=$? | ||
| 16176 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16177 | rm -f conftest.er1 | ||
| 16178 | cat conftest.err >&5 | ||
| 16179 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16180 | (exit $ac_status); } && { | ||
| 16181 | test -z "$ac_c_werror_flag" || | ||
| 16182 | test ! -s conftest.err | ||
| 16183 | } && test -s conftest.$ac_objext; then | ||
| 16184 | ac_header_compiler=yes | ||
| 16185 | else | ||
| 16186 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16187 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16188 | |||
| 16189 | ac_header_compiler=no | ||
| 16190 | fi | ||
| 16191 | |||
| 16192 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16193 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16194 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16195 | |||
| 16196 | # Is the header present? | ||
| 16197 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | ||
| 16198 | $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | ||
| 16199 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16200 | /* confdefs.h. */ | ||
| 16201 | _ACEOF | ||
| 16202 | cat confdefs.h >>conftest.$ac_ext | ||
| 16203 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16204 | /* end confdefs.h. */ | ||
| 16205 | #include <X11/SM/SMlib.h> | ||
| 16206 | _ACEOF | ||
| 16207 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16208 | case "(($ac_try" in | ||
| 16209 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16210 | *) ac_try_echo=$ac_try;; | ||
| 16211 | esac | ||
| 16212 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16213 | $as_echo "$ac_try_echo") >&5 | ||
| 16214 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16215 | ac_status=$? | ||
| 16216 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16217 | rm -f conftest.er1 | ||
| 16218 | cat conftest.err >&5 | ||
| 16219 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16220 | (exit $ac_status); } >/dev/null && { | ||
| 16221 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16222 | test ! -s conftest.err | ||
| 16223 | }; then | ||
| 16224 | ac_header_preproc=yes | ||
| 16225 | else | ||
| 16226 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16227 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16228 | |||
| 16229 | ac_header_preproc=no | ||
| 16230 | fi | ||
| 16231 | |||
| 16232 | rm -f conftest.err conftest.$ac_ext | ||
| 16233 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16234 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16235 | |||
| 16236 | # So? What about this header? | ||
| 16237 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16238 | yes:no: ) | ||
| 16239 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16240 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16241 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | ||
| 16242 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | ||
| 16243 | ac_header_preproc=yes | ||
| 16244 | ;; | ||
| 16245 | no:yes:* ) | ||
| 16246 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | ||
| 16247 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | ||
| 16248 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | ||
| 16249 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | ||
| 16250 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | ||
| 16251 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | ||
| 16252 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16253 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16254 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | ||
| 16255 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | ||
| 16256 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | ||
| 16257 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | ||
| 16258 | |||
| 16259 | ;; | ||
| 16260 | esac | ||
| 16261 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | ||
| 16262 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | ||
| 16263 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16264 | $as_echo_n "(cached) " >&6 | ||
| 16265 | else | ||
| 16266 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | ||
| 16267 | fi | ||
| 16268 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16269 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16270 | |||
| 16271 | fi | ||
| 16272 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then | ||
| 16273 | { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | ||
| 10299 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 16274 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
| 10300 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 16275 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
| 10301 | $as_echo_n "(cached) " >&6 | 16276 | $as_echo_n "(cached) " >&6 |
| 10302 | else | 16277 | else |
| 10303 | ac_check_lib_save_LIBS=$LIBS | 16278 | ac_check_lib_save_LIBS=$LIBS |
| 10304 | LIBS="-lSM -lICE $LIBS" | 16279 | LIBS="-lSM -lICE $LIBS" |
| 10305 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16280 | cat >conftest.$ac_ext <<_ACEOF |
| 16281 | /* confdefs.h. */ | ||
| 16282 | _ACEOF | ||
| 16283 | cat confdefs.h >>conftest.$ac_ext | ||
| 16284 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10306 | /* end confdefs.h. */ | 16285 | /* end confdefs.h. */ |
| 10307 | 16286 | ||
| 10308 | /* Override any GCC internal prototype to avoid an error. | 16287 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10320,18 +16299,43 @@ return SmcOpenConnection (); | |||
| 10320 | return 0; | 16299 | return 0; |
| 10321 | } | 16300 | } |
| 10322 | _ACEOF | 16301 | _ACEOF |
| 10323 | if ac_fn_c_try_link "$LINENO"; then : | 16302 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16303 | if { (ac_try="$ac_link" | ||
| 16304 | case "(($ac_try" in | ||
| 16305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16306 | *) ac_try_echo=$ac_try;; | ||
| 16307 | esac | ||
| 16308 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16309 | $as_echo "$ac_try_echo") >&5 | ||
| 16310 | (eval "$ac_link") 2>conftest.er1 | ||
| 16311 | ac_status=$? | ||
| 16312 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16313 | rm -f conftest.er1 | ||
| 16314 | cat conftest.err >&5 | ||
| 16315 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16316 | (exit $ac_status); } && { | ||
| 16317 | test -z "$ac_c_werror_flag" || | ||
| 16318 | test ! -s conftest.err | ||
| 16319 | } && test -s conftest$ac_exeext && { | ||
| 16320 | test "$cross_compiling" = yes || | ||
| 16321 | $as_test_x conftest$ac_exeext | ||
| 16322 | }; then | ||
| 10324 | ac_cv_lib_SM_SmcOpenConnection=yes | 16323 | ac_cv_lib_SM_SmcOpenConnection=yes |
| 10325 | else | 16324 | else |
| 10326 | ac_cv_lib_SM_SmcOpenConnection=no | 16325 | $as_echo "$as_me: failed program was:" >&5 |
| 16326 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16327 | |||
| 16328 | ac_cv_lib_SM_SmcOpenConnection=no | ||
| 10327 | fi | 16329 | fi |
| 10328 | rm -f core conftest.err conftest.$ac_objext \ | 16330 | |
| 10329 | conftest$ac_exeext conftest.$ac_ext | 16331 | rm -rf conftest.dSYM |
| 16332 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16333 | conftest$ac_exeext conftest.$ac_ext | ||
| 10330 | LIBS=$ac_check_lib_save_LIBS | 16334 | LIBS=$ac_check_lib_save_LIBS |
| 10331 | fi | 16335 | fi |
| 10332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 16336 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
| 10333 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 16337 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
| 10334 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 16338 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
| 10335 | HAVE_X_SM=yes | 16339 | HAVE_X_SM=yes |
| 10336 | fi | 16340 | fi |
| 10337 | 16341 | ||
| @@ -10341,7 +16345,9 @@ fi | |||
| 10341 | 16345 | ||
| 10342 | if test "${HAVE_X_SM}" = "yes"; then | 16346 | if test "${HAVE_X_SM}" = "yes"; then |
| 10343 | 16347 | ||
| 10344 | $as_echo "#define HAVE_X_SM 1" >>confdefs.h | 16348 | cat >>confdefs.h <<\_ACEOF |
| 16349 | #define HAVE_X_SM 1 | ||
| 16350 | _ACEOF | ||
| 10345 | 16351 | ||
| 10346 | LIBXSM="-lSM -lICE" | 16352 | LIBXSM="-lSM -lICE" |
| 10347 | case "$LIBS" in | 16353 | case "$LIBS" in |
| @@ -10353,12 +16359,16 @@ fi | |||
| 10353 | 16359 | ||
| 10354 | 16360 | ||
| 10355 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 16361 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 10356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 16362 | { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
| 10357 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 16363 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
| 10358 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 16364 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
| 10359 | $as_echo_n "(cached) " >&6 | 16365 | $as_echo_n "(cached) " >&6 |
| 10360 | else | 16366 | else |
| 10361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16367 | cat >conftest.$ac_ext <<_ACEOF |
| 16368 | /* confdefs.h. */ | ||
| 16369 | _ACEOF | ||
| 16370 | cat confdefs.h >>conftest.$ac_ext | ||
| 16371 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10362 | /* end confdefs.h. */ | 16372 | /* end confdefs.h. */ |
| 10363 | #include <netdb.h> | 16373 | #include <netdb.h> |
| 10364 | int | 16374 | int |
| @@ -10369,30 +16379,61 @@ return h_errno; | |||
| 10369 | return 0; | 16379 | return 0; |
| 10370 | } | 16380 | } |
| 10371 | _ACEOF | 16381 | _ACEOF |
| 10372 | if ac_fn_c_try_link "$LINENO"; then : | 16382 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16383 | if { (ac_try="$ac_link" | ||
| 16384 | case "(($ac_try" in | ||
| 16385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16386 | *) ac_try_echo=$ac_try;; | ||
| 16387 | esac | ||
| 16388 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16389 | $as_echo "$ac_try_echo") >&5 | ||
| 16390 | (eval "$ac_link") 2>conftest.er1 | ||
| 16391 | ac_status=$? | ||
| 16392 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16393 | rm -f conftest.er1 | ||
| 16394 | cat conftest.err >&5 | ||
| 16395 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16396 | (exit $ac_status); } && { | ||
| 16397 | test -z "$ac_c_werror_flag" || | ||
| 16398 | test ! -s conftest.err | ||
| 16399 | } && test -s conftest$ac_exeext && { | ||
| 16400 | test "$cross_compiling" = yes || | ||
| 16401 | $as_test_x conftest$ac_exeext | ||
| 16402 | }; then | ||
| 10373 | emacs_cv_netdb_declares_h_errno=yes | 16403 | emacs_cv_netdb_declares_h_errno=yes |
| 10374 | else | 16404 | else |
| 10375 | emacs_cv_netdb_declares_h_errno=no | 16405 | $as_echo "$as_me: failed program was:" >&5 |
| 16406 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16407 | |||
| 16408 | emacs_cv_netdb_declares_h_errno=no | ||
| 10376 | fi | 16409 | fi |
| 10377 | rm -f core conftest.err conftest.$ac_objext \ | 16410 | |
| 10378 | conftest$ac_exeext conftest.$ac_ext | 16411 | rm -rf conftest.dSYM |
| 16412 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16413 | conftest$ac_exeext conftest.$ac_ext | ||
| 10379 | fi | 16414 | fi |
| 10380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 | 16415 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 10381 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 16416 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
| 10382 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 16417 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 10383 | 16418 | ||
| 10384 | $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 16419 | cat >>confdefs.h <<\_ACEOF |
| 16420 | #define HAVE_H_ERRNO 1 | ||
| 16421 | _ACEOF | ||
| 10385 | 16422 | ||
| 10386 | fi | 16423 | fi |
| 10387 | 16424 | ||
| 10388 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 16425 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 10389 | # for constant arguments. Useless! | 16426 | # for constant arguments. Useless! |
| 10390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 16427 | { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 10391 | $as_echo_n "checking for working alloca.h... " >&6; } | 16428 | $as_echo_n "checking for working alloca.h... " >&6; } |
| 10392 | if test "${ac_cv_working_alloca_h+set}" = set; then : | 16429 | if test "${ac_cv_working_alloca_h+set}" = set; then |
| 10393 | $as_echo_n "(cached) " >&6 | 16430 | $as_echo_n "(cached) " >&6 |
| 10394 | else | 16431 | else |
| 10395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16432 | cat >conftest.$ac_ext <<_ACEOF |
| 16433 | /* confdefs.h. */ | ||
| 16434 | _ACEOF | ||
| 16435 | cat confdefs.h >>conftest.$ac_ext | ||
| 16436 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10396 | /* end confdefs.h. */ | 16437 | /* end confdefs.h. */ |
| 10397 | #include <alloca.h> | 16438 | #include <alloca.h> |
| 10398 | int | 16439 | int |
| @@ -10404,28 +16445,59 @@ char *p = (char *) alloca (2 * sizeof (int)); | |||
| 10404 | return 0; | 16445 | return 0; |
| 10405 | } | 16446 | } |
| 10406 | _ACEOF | 16447 | _ACEOF |
| 10407 | if ac_fn_c_try_link "$LINENO"; then : | 16448 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16449 | if { (ac_try="$ac_link" | ||
| 16450 | case "(($ac_try" in | ||
| 16451 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16452 | *) ac_try_echo=$ac_try;; | ||
| 16453 | esac | ||
| 16454 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16455 | $as_echo "$ac_try_echo") >&5 | ||
| 16456 | (eval "$ac_link") 2>conftest.er1 | ||
| 16457 | ac_status=$? | ||
| 16458 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16459 | rm -f conftest.er1 | ||
| 16460 | cat conftest.err >&5 | ||
| 16461 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16462 | (exit $ac_status); } && { | ||
| 16463 | test -z "$ac_c_werror_flag" || | ||
| 16464 | test ! -s conftest.err | ||
| 16465 | } && test -s conftest$ac_exeext && { | ||
| 16466 | test "$cross_compiling" = yes || | ||
| 16467 | $as_test_x conftest$ac_exeext | ||
| 16468 | }; then | ||
| 10408 | ac_cv_working_alloca_h=yes | 16469 | ac_cv_working_alloca_h=yes |
| 10409 | else | 16470 | else |
| 10410 | ac_cv_working_alloca_h=no | 16471 | $as_echo "$as_me: failed program was:" >&5 |
| 16472 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16473 | |||
| 16474 | ac_cv_working_alloca_h=no | ||
| 10411 | fi | 16475 | fi |
| 10412 | rm -f core conftest.err conftest.$ac_objext \ | 16476 | |
| 10413 | conftest$ac_exeext conftest.$ac_ext | 16477 | rm -rf conftest.dSYM |
| 16478 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16479 | conftest$ac_exeext conftest.$ac_ext | ||
| 10414 | fi | 16480 | fi |
| 10415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 16481 | { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 10416 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 16482 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
| 10417 | if test $ac_cv_working_alloca_h = yes; then | 16483 | if test $ac_cv_working_alloca_h = yes; then |
| 10418 | 16484 | ||
| 10419 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 16485 | cat >>confdefs.h <<\_ACEOF |
| 16486 | #define HAVE_ALLOCA_H 1 | ||
| 16487 | _ACEOF | ||
| 10420 | 16488 | ||
| 10421 | fi | 16489 | fi |
| 10422 | 16490 | ||
| 10423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 16491 | { $as_echo "$as_me:$LINENO: checking for alloca" >&5 |
| 10424 | $as_echo_n "checking for alloca... " >&6; } | 16492 | $as_echo_n "checking for alloca... " >&6; } |
| 10425 | if test "${ac_cv_func_alloca_works+set}" = set; then : | 16493 | if test "${ac_cv_func_alloca_works+set}" = set; then |
| 10426 | $as_echo_n "(cached) " >&6 | 16494 | $as_echo_n "(cached) " >&6 |
| 10427 | else | 16495 | else |
| 10428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16496 | cat >conftest.$ac_ext <<_ACEOF |
| 16497 | /* confdefs.h. */ | ||
| 16498 | _ACEOF | ||
| 16499 | cat confdefs.h >>conftest.$ac_ext | ||
| 16500 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10429 | /* end confdefs.h. */ | 16501 | /* end confdefs.h. */ |
| 10430 | #ifdef __GNUC__ | 16502 | #ifdef __GNUC__ |
| 10431 | # define alloca __builtin_alloca | 16503 | # define alloca __builtin_alloca |
| @@ -10457,20 +16529,47 @@ char *p = (char *) alloca (1); | |||
| 10457 | return 0; | 16529 | return 0; |
| 10458 | } | 16530 | } |
| 10459 | _ACEOF | 16531 | _ACEOF |
| 10460 | if ac_fn_c_try_link "$LINENO"; then : | 16532 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16533 | if { (ac_try="$ac_link" | ||
| 16534 | case "(($ac_try" in | ||
| 16535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16536 | *) ac_try_echo=$ac_try;; | ||
| 16537 | esac | ||
| 16538 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16539 | $as_echo "$ac_try_echo") >&5 | ||
| 16540 | (eval "$ac_link") 2>conftest.er1 | ||
| 16541 | ac_status=$? | ||
| 16542 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16543 | rm -f conftest.er1 | ||
| 16544 | cat conftest.err >&5 | ||
| 16545 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16546 | (exit $ac_status); } && { | ||
| 16547 | test -z "$ac_c_werror_flag" || | ||
| 16548 | test ! -s conftest.err | ||
| 16549 | } && test -s conftest$ac_exeext && { | ||
| 16550 | test "$cross_compiling" = yes || | ||
| 16551 | $as_test_x conftest$ac_exeext | ||
| 16552 | }; then | ||
| 10461 | ac_cv_func_alloca_works=yes | 16553 | ac_cv_func_alloca_works=yes |
| 10462 | else | 16554 | else |
| 10463 | ac_cv_func_alloca_works=no | 16555 | $as_echo "$as_me: failed program was:" >&5 |
| 16556 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16557 | |||
| 16558 | ac_cv_func_alloca_works=no | ||
| 10464 | fi | 16559 | fi |
| 10465 | rm -f core conftest.err conftest.$ac_objext \ | 16560 | |
| 10466 | conftest$ac_exeext conftest.$ac_ext | 16561 | rm -rf conftest.dSYM |
| 16562 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16563 | conftest$ac_exeext conftest.$ac_ext | ||
| 10467 | fi | 16564 | fi |
| 10468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 16565 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 10469 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 16566 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
| 10470 | 16567 | ||
| 10471 | if test $ac_cv_func_alloca_works = yes; then | 16568 | if test $ac_cv_func_alloca_works = yes; then |
| 10472 | 16569 | ||
| 10473 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 16570 | cat >>confdefs.h <<\_ACEOF |
| 16571 | #define HAVE_ALLOCA 1 | ||
| 16572 | _ACEOF | ||
| 10474 | 16573 | ||
| 10475 | else | 16574 | else |
| 10476 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 16575 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| @@ -10480,15 +16579,21 @@ else | |||
| 10480 | 16579 | ||
| 10481 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 16580 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 10482 | 16581 | ||
| 10483 | $as_echo "#define C_ALLOCA 1" >>confdefs.h | 16582 | cat >>confdefs.h <<\_ACEOF |
| 16583 | #define C_ALLOCA 1 | ||
| 16584 | _ACEOF | ||
| 10484 | 16585 | ||
| 10485 | 16586 | ||
| 10486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 16587 | { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 10487 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 16588 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
| 10488 | if test "${ac_cv_os_cray+set}" = set; then : | 16589 | if test "${ac_cv_os_cray+set}" = set; then |
| 10489 | $as_echo_n "(cached) " >&6 | 16590 | $as_echo_n "(cached) " >&6 |
| 10490 | else | 16591 | else |
| 10491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16592 | cat >conftest.$ac_ext <<_ACEOF |
| 16593 | /* confdefs.h. */ | ||
| 16594 | _ACEOF | ||
| 16595 | cat confdefs.h >>conftest.$ac_ext | ||
| 16596 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10492 | /* end confdefs.h. */ | 16597 | /* end confdefs.h. */ |
| 10493 | #if defined CRAY && ! defined CRAY2 | 16598 | #if defined CRAY && ! defined CRAY2 |
| 10494 | webecray | 16599 | webecray |
| @@ -10498,7 +16603,7 @@ wenotbecray | |||
| 10498 | 16603 | ||
| 10499 | _ACEOF | 16604 | _ACEOF |
| 10500 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16605 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10501 | $EGREP "webecray" >/dev/null 2>&1; then : | 16606 | $EGREP "webecray" >/dev/null 2>&1; then |
| 10502 | ac_cv_os_cray=yes | 16607 | ac_cv_os_cray=yes |
| 10503 | else | 16608 | else |
| 10504 | ac_cv_os_cray=no | 16609 | ac_cv_os_cray=no |
| @@ -10506,14 +16611,100 @@ fi | |||
| 10506 | rm -f conftest* | 16611 | rm -f conftest* |
| 10507 | 16612 | ||
| 10508 | fi | 16613 | fi |
| 10509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 16614 | { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 10510 | $as_echo "$ac_cv_os_cray" >&6; } | 16615 | $as_echo "$ac_cv_os_cray" >&6; } |
| 10511 | if test $ac_cv_os_cray = yes; then | 16616 | if test $ac_cv_os_cray = yes; then |
| 10512 | for ac_func in _getb67 GETB67 getb67; do | 16617 | for ac_func in _getb67 GETB67 getb67; do |
| 10513 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16618 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10514 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16619 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10515 | eval as_val=\$$as_ac_var | 16620 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10516 | if test "x$as_val" = x""yes; then : | 16621 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16622 | $as_echo_n "(cached) " >&6 | ||
| 16623 | else | ||
| 16624 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16625 | /* confdefs.h. */ | ||
| 16626 | _ACEOF | ||
| 16627 | cat confdefs.h >>conftest.$ac_ext | ||
| 16628 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16629 | /* end confdefs.h. */ | ||
| 16630 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 16631 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 16632 | #define $ac_func innocuous_$ac_func | ||
| 16633 | |||
| 16634 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 16635 | which can conflict with char $ac_func (); below. | ||
| 16636 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 16637 | <limits.h> exists even on freestanding compilers. */ | ||
| 16638 | |||
| 16639 | #ifdef __STDC__ | ||
| 16640 | # include <limits.h> | ||
| 16641 | #else | ||
| 16642 | # include <assert.h> | ||
| 16643 | #endif | ||
| 16644 | |||
| 16645 | #undef $ac_func | ||
| 16646 | |||
| 16647 | /* Override any GCC internal prototype to avoid an error. | ||
| 16648 | Use char because int might match the return type of a GCC | ||
| 16649 | builtin and then its argument prototype would still apply. */ | ||
| 16650 | #ifdef __cplusplus | ||
| 16651 | extern "C" | ||
| 16652 | #endif | ||
| 16653 | char $ac_func (); | ||
| 16654 | /* The GNU C library defines this for functions which it implements | ||
| 16655 | to always fail with ENOSYS. Some functions are actually named | ||
| 16656 | something starting with __ and the normal name is an alias. */ | ||
| 16657 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 16658 | choke me | ||
| 16659 | #endif | ||
| 16660 | |||
| 16661 | int | ||
| 16662 | main () | ||
| 16663 | { | ||
| 16664 | return $ac_func (); | ||
| 16665 | ; | ||
| 16666 | return 0; | ||
| 16667 | } | ||
| 16668 | _ACEOF | ||
| 16669 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16670 | if { (ac_try="$ac_link" | ||
| 16671 | case "(($ac_try" in | ||
| 16672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16673 | *) ac_try_echo=$ac_try;; | ||
| 16674 | esac | ||
| 16675 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16676 | $as_echo "$ac_try_echo") >&5 | ||
| 16677 | (eval "$ac_link") 2>conftest.er1 | ||
| 16678 | ac_status=$? | ||
| 16679 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16680 | rm -f conftest.er1 | ||
| 16681 | cat conftest.err >&5 | ||
| 16682 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16683 | (exit $ac_status); } && { | ||
| 16684 | test -z "$ac_c_werror_flag" || | ||
| 16685 | test ! -s conftest.err | ||
| 16686 | } && test -s conftest$ac_exeext && { | ||
| 16687 | test "$cross_compiling" = yes || | ||
| 16688 | $as_test_x conftest$ac_exeext | ||
| 16689 | }; then | ||
| 16690 | eval "$as_ac_var=yes" | ||
| 16691 | else | ||
| 16692 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16693 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16694 | |||
| 16695 | eval "$as_ac_var=no" | ||
| 16696 | fi | ||
| 16697 | |||
| 16698 | rm -rf conftest.dSYM | ||
| 16699 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16700 | conftest$ac_exeext conftest.$ac_ext | ||
| 16701 | fi | ||
| 16702 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 16703 | $as_echo "$as_val"'` | ||
| 16704 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 16705 | $as_echo "$ac_res" >&6; } | ||
| 16706 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 16707 | $as_echo "$as_val"'` = yes; then | ||
| 10517 | 16708 | ||
| 10518 | cat >>confdefs.h <<_ACEOF | 16709 | cat >>confdefs.h <<_ACEOF |
| 10519 | #define CRAY_STACKSEG_END $ac_func | 16710 | #define CRAY_STACKSEG_END $ac_func |
| @@ -10525,15 +16716,19 @@ fi | |||
| 10525 | done | 16716 | done |
| 10526 | fi | 16717 | fi |
| 10527 | 16718 | ||
| 10528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 16719 | { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 10529 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 16720 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
| 10530 | if test "${ac_cv_c_stack_direction+set}" = set; then : | 16721 | if test "${ac_cv_c_stack_direction+set}" = set; then |
| 10531 | $as_echo_n "(cached) " >&6 | 16722 | $as_echo_n "(cached) " >&6 |
| 10532 | else | 16723 | else |
| 10533 | if test "$cross_compiling" = yes; then : | 16724 | if test "$cross_compiling" = yes; then |
| 10534 | ac_cv_c_stack_direction=0 | 16725 | ac_cv_c_stack_direction=0 |
| 10535 | else | 16726 | else |
| 10536 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16727 | cat >conftest.$ac_ext <<_ACEOF |
| 16728 | /* confdefs.h. */ | ||
| 16729 | _ACEOF | ||
| 16730 | cat confdefs.h >>conftest.$ac_ext | ||
| 16731 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10537 | /* end confdefs.h. */ | 16732 | /* end confdefs.h. */ |
| 10538 | $ac_includes_default | 16733 | $ac_includes_default |
| 10539 | int | 16734 | int |
| @@ -10556,18 +16751,46 @@ main () | |||
| 10556 | return find_stack_direction () < 0; | 16751 | return find_stack_direction () < 0; |
| 10557 | } | 16752 | } |
| 10558 | _ACEOF | 16753 | _ACEOF |
| 10559 | if ac_fn_c_try_run "$LINENO"; then : | 16754 | rm -f conftest$ac_exeext |
| 16755 | if { (ac_try="$ac_link" | ||
| 16756 | case "(($ac_try" in | ||
| 16757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16758 | *) ac_try_echo=$ac_try;; | ||
| 16759 | esac | ||
| 16760 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16761 | $as_echo "$ac_try_echo") >&5 | ||
| 16762 | (eval "$ac_link") 2>&5 | ||
| 16763 | ac_status=$? | ||
| 16764 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16765 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 16766 | { (case "(($ac_try" in | ||
| 16767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16768 | *) ac_try_echo=$ac_try;; | ||
| 16769 | esac | ||
| 16770 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16771 | $as_echo "$ac_try_echo") >&5 | ||
| 16772 | (eval "$ac_try") 2>&5 | ||
| 16773 | ac_status=$? | ||
| 16774 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16775 | (exit $ac_status); }; }; then | ||
| 10560 | ac_cv_c_stack_direction=1 | 16776 | ac_cv_c_stack_direction=1 |
| 10561 | else | 16777 | else |
| 10562 | ac_cv_c_stack_direction=-1 | 16778 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 16779 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16781 | |||
| 16782 | ( exit $ac_status ) | ||
| 16783 | ac_cv_c_stack_direction=-1 | ||
| 10563 | fi | 16784 | fi |
| 10564 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 16785 | rm -rf conftest.dSYM |
| 10565 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 16786 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 10566 | fi | 16787 | fi |
| 10567 | 16788 | ||
| 16789 | |||
| 10568 | fi | 16790 | fi |
| 10569 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 16791 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 10570 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 16792 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
| 16793 | |||
| 10571 | cat >>confdefs.h <<_ACEOF | 16794 | cat >>confdefs.h <<_ACEOF |
| 10572 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 16795 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
| 10573 | _ACEOF | 16796 | _ACEOF |
| @@ -10577,19 +16800,26 @@ fi | |||
| 10577 | 16800 | ||
| 10578 | 16801 | ||
| 10579 | if test x"$ac_cv_func_alloca_works" != xyes; then | 16802 | if test x"$ac_cv_func_alloca_works" != xyes; then |
| 10580 | as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 16803 | { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 |
| 16804 | $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | ||
| 16805 | { (exit 1); exit 1; }; } | ||
| 10581 | fi | 16806 | fi |
| 10582 | 16807 | ||
| 10583 | # fmod, logb, and frexp are found in -lm on most systems. | 16808 | # fmod, logb, and frexp are found in -lm on most systems. |
| 10584 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 16809 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 10585 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 16810 | |
| 16811 | { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | ||
| 10586 | $as_echo_n "checking for sqrt in -lm... " >&6; } | 16812 | $as_echo_n "checking for sqrt in -lm... " >&6; } |
| 10587 | if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 16813 | if test "${ac_cv_lib_m_sqrt+set}" = set; then |
| 10588 | $as_echo_n "(cached) " >&6 | 16814 | $as_echo_n "(cached) " >&6 |
| 10589 | else | 16815 | else |
| 10590 | ac_check_lib_save_LIBS=$LIBS | 16816 | ac_check_lib_save_LIBS=$LIBS |
| 10591 | LIBS="-lm $LIBS" | 16817 | LIBS="-lm $LIBS" |
| 10592 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16818 | cat >conftest.$ac_ext <<_ACEOF |
| 16819 | /* confdefs.h. */ | ||
| 16820 | _ACEOF | ||
| 16821 | cat confdefs.h >>conftest.$ac_ext | ||
| 16822 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10593 | /* end confdefs.h. */ | 16823 | /* end confdefs.h. */ |
| 10594 | 16824 | ||
| 10595 | /* Override any GCC internal prototype to avoid an error. | 16825 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10607,18 +16837,43 @@ return sqrt (); | |||
| 10607 | return 0; | 16837 | return 0; |
| 10608 | } | 16838 | } |
| 10609 | _ACEOF | 16839 | _ACEOF |
| 10610 | if ac_fn_c_try_link "$LINENO"; then : | 16840 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16841 | if { (ac_try="$ac_link" | ||
| 16842 | case "(($ac_try" in | ||
| 16843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16844 | *) ac_try_echo=$ac_try;; | ||
| 16845 | esac | ||
| 16846 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16847 | $as_echo "$ac_try_echo") >&5 | ||
| 16848 | (eval "$ac_link") 2>conftest.er1 | ||
| 16849 | ac_status=$? | ||
| 16850 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16851 | rm -f conftest.er1 | ||
| 16852 | cat conftest.err >&5 | ||
| 16853 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16854 | (exit $ac_status); } && { | ||
| 16855 | test -z "$ac_c_werror_flag" || | ||
| 16856 | test ! -s conftest.err | ||
| 16857 | } && test -s conftest$ac_exeext && { | ||
| 16858 | test "$cross_compiling" = yes || | ||
| 16859 | $as_test_x conftest$ac_exeext | ||
| 16860 | }; then | ||
| 10611 | ac_cv_lib_m_sqrt=yes | 16861 | ac_cv_lib_m_sqrt=yes |
| 10612 | else | 16862 | else |
| 10613 | ac_cv_lib_m_sqrt=no | 16863 | $as_echo "$as_me: failed program was:" >&5 |
| 16864 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16865 | |||
| 16866 | ac_cv_lib_m_sqrt=no | ||
| 10614 | fi | 16867 | fi |
| 10615 | rm -f core conftest.err conftest.$ac_objext \ | 16868 | |
| 10616 | conftest$ac_exeext conftest.$ac_ext | 16869 | rm -rf conftest.dSYM |
| 16870 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16871 | conftest$ac_exeext conftest.$ac_ext | ||
| 10617 | LIBS=$ac_check_lib_save_LIBS | 16872 | LIBS=$ac_check_lib_save_LIBS |
| 10618 | fi | 16873 | fi |
| 10619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 16874 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
| 10620 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 16875 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
| 10621 | if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 16876 | if test $ac_cv_lib_m_sqrt = yes; then |
| 10622 | cat >>confdefs.h <<_ACEOF | 16877 | cat >>confdefs.h <<_ACEOF |
| 10623 | #define HAVE_LIBM 1 | 16878 | #define HAVE_LIBM 1 |
| 10624 | _ACEOF | 16879 | _ACEOF |
| @@ -10630,14 +16885,18 @@ fi | |||
| 10630 | 16885 | ||
| 10631 | # Check for mail-locking functions in a "mail" library. Probably this should | 16886 | # Check for mail-locking functions in a "mail" library. Probably this should |
| 10632 | # have the same check as for liblockfile below. | 16887 | # have the same check as for liblockfile below. |
| 10633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 16888 | { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
| 10634 | $as_echo_n "checking for maillock in -lmail... " >&6; } | 16889 | $as_echo_n "checking for maillock in -lmail... " >&6; } |
| 10635 | if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 16890 | if test "${ac_cv_lib_mail_maillock+set}" = set; then |
| 10636 | $as_echo_n "(cached) " >&6 | 16891 | $as_echo_n "(cached) " >&6 |
| 10637 | else | 16892 | else |
| 10638 | ac_check_lib_save_LIBS=$LIBS | 16893 | ac_check_lib_save_LIBS=$LIBS |
| 10639 | LIBS="-lmail $LIBS" | 16894 | LIBS="-lmail $LIBS" |
| 10640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16895 | cat >conftest.$ac_ext <<_ACEOF |
| 16896 | /* confdefs.h. */ | ||
| 16897 | _ACEOF | ||
| 16898 | cat confdefs.h >>conftest.$ac_ext | ||
| 16899 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10641 | /* end confdefs.h. */ | 16900 | /* end confdefs.h. */ |
| 10642 | 16901 | ||
| 10643 | /* Override any GCC internal prototype to avoid an error. | 16902 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10655,18 +16914,43 @@ return maillock (); | |||
| 10655 | return 0; | 16914 | return 0; |
| 10656 | } | 16915 | } |
| 10657 | _ACEOF | 16916 | _ACEOF |
| 10658 | if ac_fn_c_try_link "$LINENO"; then : | 16917 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16918 | if { (ac_try="$ac_link" | ||
| 16919 | case "(($ac_try" in | ||
| 16920 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16921 | *) ac_try_echo=$ac_try;; | ||
| 16922 | esac | ||
| 16923 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16924 | $as_echo "$ac_try_echo") >&5 | ||
| 16925 | (eval "$ac_link") 2>conftest.er1 | ||
| 16926 | ac_status=$? | ||
| 16927 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16928 | rm -f conftest.er1 | ||
| 16929 | cat conftest.err >&5 | ||
| 16930 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16931 | (exit $ac_status); } && { | ||
| 16932 | test -z "$ac_c_werror_flag" || | ||
| 16933 | test ! -s conftest.err | ||
| 16934 | } && test -s conftest$ac_exeext && { | ||
| 16935 | test "$cross_compiling" = yes || | ||
| 16936 | $as_test_x conftest$ac_exeext | ||
| 16937 | }; then | ||
| 10659 | ac_cv_lib_mail_maillock=yes | 16938 | ac_cv_lib_mail_maillock=yes |
| 10660 | else | 16939 | else |
| 10661 | ac_cv_lib_mail_maillock=no | 16940 | $as_echo "$as_me: failed program was:" >&5 |
| 16941 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16942 | |||
| 16943 | ac_cv_lib_mail_maillock=no | ||
| 10662 | fi | 16944 | fi |
| 10663 | rm -f core conftest.err conftest.$ac_objext \ | 16945 | |
| 10664 | conftest$ac_exeext conftest.$ac_ext | 16946 | rm -rf conftest.dSYM |
| 16947 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16948 | conftest$ac_exeext conftest.$ac_ext | ||
| 10665 | LIBS=$ac_check_lib_save_LIBS | 16949 | LIBS=$ac_check_lib_save_LIBS |
| 10666 | fi | 16950 | fi |
| 10667 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 16951 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
| 10668 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 16952 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
| 10669 | if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 16953 | if test $ac_cv_lib_mail_maillock = yes; then |
| 10670 | have_mail=yes | 16954 | have_mail=yes |
| 10671 | else | 16955 | else |
| 10672 | have_mail=no | 16956 | have_mail=no |
| @@ -10676,19 +16960,25 @@ if test $have_mail = yes; then | |||
| 10676 | LIBS_MAIL=-lmail | 16960 | LIBS_MAIL=-lmail |
| 10677 | LIBS="$LIBS_MAIL $LIBS" | 16961 | LIBS="$LIBS_MAIL $LIBS" |
| 10678 | 16962 | ||
| 10679 | $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h | 16963 | cat >>confdefs.h <<\_ACEOF |
| 16964 | #define HAVE_LIBMAIL 1 | ||
| 16965 | _ACEOF | ||
| 10680 | 16966 | ||
| 10681 | else | 16967 | else |
| 10682 | LIBS_MAIL= | 16968 | LIBS_MAIL= |
| 10683 | fi | 16969 | fi |
| 10684 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 16970 | { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
| 10685 | $as_echo_n "checking for maillock in -llockfile... " >&6; } | 16971 | $as_echo_n "checking for maillock in -llockfile... " >&6; } |
| 10686 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 16972 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
| 10687 | $as_echo_n "(cached) " >&6 | 16973 | $as_echo_n "(cached) " >&6 |
| 10688 | else | 16974 | else |
| 10689 | ac_check_lib_save_LIBS=$LIBS | 16975 | ac_check_lib_save_LIBS=$LIBS |
| 10690 | LIBS="-llockfile $LIBS" | 16976 | LIBS="-llockfile $LIBS" |
| 10691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16977 | cat >conftest.$ac_ext <<_ACEOF |
| 16978 | /* confdefs.h. */ | ||
| 16979 | _ACEOF | ||
| 16980 | cat confdefs.h >>conftest.$ac_ext | ||
| 16981 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10692 | /* end confdefs.h. */ | 16982 | /* end confdefs.h. */ |
| 10693 | 16983 | ||
| 10694 | /* Override any GCC internal prototype to avoid an error. | 16984 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10706,18 +16996,43 @@ return maillock (); | |||
| 10706 | return 0; | 16996 | return 0; |
| 10707 | } | 16997 | } |
| 10708 | _ACEOF | 16998 | _ACEOF |
| 10709 | if ac_fn_c_try_link "$LINENO"; then : | 16999 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17000 | if { (ac_try="$ac_link" | ||
| 17001 | case "(($ac_try" in | ||
| 17002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17003 | *) ac_try_echo=$ac_try;; | ||
| 17004 | esac | ||
| 17005 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17006 | $as_echo "$ac_try_echo") >&5 | ||
| 17007 | (eval "$ac_link") 2>conftest.er1 | ||
| 17008 | ac_status=$? | ||
| 17009 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17010 | rm -f conftest.er1 | ||
| 17011 | cat conftest.err >&5 | ||
| 17012 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17013 | (exit $ac_status); } && { | ||
| 17014 | test -z "$ac_c_werror_flag" || | ||
| 17015 | test ! -s conftest.err | ||
| 17016 | } && test -s conftest$ac_exeext && { | ||
| 17017 | test "$cross_compiling" = yes || | ||
| 17018 | $as_test_x conftest$ac_exeext | ||
| 17019 | }; then | ||
| 10710 | ac_cv_lib_lockfile_maillock=yes | 17020 | ac_cv_lib_lockfile_maillock=yes |
| 10711 | else | 17021 | else |
| 10712 | ac_cv_lib_lockfile_maillock=no | 17022 | $as_echo "$as_me: failed program was:" >&5 |
| 17023 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17024 | |||
| 17025 | ac_cv_lib_lockfile_maillock=no | ||
| 10713 | fi | 17026 | fi |
| 10714 | rm -f core conftest.err conftest.$ac_objext \ | 17027 | |
| 10715 | conftest$ac_exeext conftest.$ac_ext | 17028 | rm -rf conftest.dSYM |
| 17029 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17030 | conftest$ac_exeext conftest.$ac_ext | ||
| 10716 | LIBS=$ac_check_lib_save_LIBS | 17031 | LIBS=$ac_check_lib_save_LIBS |
| 10717 | fi | 17032 | fi |
| 10718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 17033 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
| 10719 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 17034 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
| 10720 | if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 17035 | if test $ac_cv_lib_lockfile_maillock = yes; then |
| 10721 | have_lockfile=yes | 17036 | have_lockfile=yes |
| 10722 | else | 17037 | else |
| 10723 | have_lockfile=no | 17038 | have_lockfile=no |
| @@ -10727,7 +17042,9 @@ if test $have_lockfile = yes; then | |||
| 10727 | LIBS_MAIL=-llockfile | 17042 | LIBS_MAIL=-llockfile |
| 10728 | LIBS="$LIBS_MAIL $LIBS" | 17043 | LIBS="$LIBS_MAIL $LIBS" |
| 10729 | 17044 | ||
| 10730 | $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h | 17045 | cat >>confdefs.h <<\_ACEOF |
| 17046 | #define HAVE_LIBLOCKFILE 1 | ||
| 17047 | _ACEOF | ||
| 10731 | 17048 | ||
| 10732 | else | 17049 | else |
| 10733 | # If we have the shared liblockfile, assume we must use it for mail | 17050 | # If we have the shared liblockfile, assume we must use it for mail |
| @@ -10735,9 +17052,9 @@ else | |||
| 10735 | # (no liblockfile.a installed), ensure that we don't need to. | 17052 | # (no liblockfile.a installed), ensure that we don't need to. |
| 10736 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 17053 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 10737 | set dummy liblockfile.so; ac_word=$2 | 17054 | set dummy liblockfile.so; ac_word=$2 |
| 10738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 17055 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 10739 | $as_echo_n "checking for $ac_word... " >&6; } | 17056 | $as_echo_n "checking for $ac_word... " >&6; } |
| 10740 | if test "${ac_cv_prog_liblockfile+set}" = set; then : | 17057 | if test "${ac_cv_prog_liblockfile+set}" = set; then |
| 10741 | $as_echo_n "(cached) " >&6 | 17058 | $as_echo_n "(cached) " >&6 |
| 10742 | else | 17059 | else |
| 10743 | if test -n "$liblockfile"; then | 17060 | if test -n "$liblockfile"; then |
| @@ -10749,14 +17066,14 @@ for as_dir in $as_dummy | |||
| 10749 | do | 17066 | do |
| 10750 | IFS=$as_save_IFS | 17067 | IFS=$as_save_IFS |
| 10751 | test -z "$as_dir" && as_dir=. | 17068 | test -z "$as_dir" && as_dir=. |
| 10752 | for ac_exec_ext in '' $ac_executable_extensions; do | 17069 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10753 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17070 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10754 | ac_cv_prog_liblockfile="yes" | 17071 | ac_cv_prog_liblockfile="yes" |
| 10755 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17072 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10756 | break 2 | 17073 | break 2 |
| 10757 | fi | 17074 | fi |
| 10758 | done | 17075 | done |
| 10759 | done | 17076 | done |
| 10760 | IFS=$as_save_IFS | 17077 | IFS=$as_save_IFS |
| 10761 | 17078 | ||
| 10762 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 17079 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
| @@ -10764,37 +17081,263 @@ fi | |||
| 10764 | fi | 17081 | fi |
| 10765 | liblockfile=$ac_cv_prog_liblockfile | 17082 | liblockfile=$ac_cv_prog_liblockfile |
| 10766 | if test -n "$liblockfile"; then | 17083 | if test -n "$liblockfile"; then |
| 10767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 | 17084 | { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 |
| 10768 | $as_echo "$liblockfile" >&6; } | 17085 | $as_echo "$liblockfile" >&6; } |
| 10769 | else | 17086 | else |
| 10770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17087 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 10771 | $as_echo "no" >&6; } | 17088 | $as_echo "no" >&6; } |
| 10772 | fi | 17089 | fi |
| 10773 | 17090 | ||
| 10774 | 17091 | ||
| 10775 | if test $ac_cv_prog_liblockfile = yes; then | 17092 | if test $ac_cv_prog_liblockfile = yes; then |
| 10776 | as_fn_error "Shared liblockfile found but can't link against it. | 17093 | { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
| 10777 | This probably means that movemail could lose mail. | 17094 | This probably means that movemail could lose mail. |
| 10778 | There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 17095 | There may be a \`development' package to install containing liblockfile." >&5 |
| 17096 | $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | ||
| 17097 | This probably means that movemail could lose mail. | ||
| 17098 | There may be a \`development' package to install containing liblockfile." >&2;} | ||
| 17099 | { (exit 1); exit 1; }; } | ||
| 10779 | fi | 17100 | fi |
| 10780 | fi | 17101 | fi |
| 17102 | |||
| 10781 | for ac_func in touchlock | 17103 | for ac_func in touchlock |
| 10782 | do : | 17104 | do |
| 10783 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 17105 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10784 | if test "x$ac_cv_func_touchlock" = x""yes; then : | 17106 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17107 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 17108 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17109 | $as_echo_n "(cached) " >&6 | ||
| 17110 | else | ||
| 17111 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17112 | /* confdefs.h. */ | ||
| 17113 | _ACEOF | ||
| 17114 | cat confdefs.h >>conftest.$ac_ext | ||
| 17115 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17116 | /* end confdefs.h. */ | ||
| 17117 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17118 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17119 | #define $ac_func innocuous_$ac_func | ||
| 17120 | |||
| 17121 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17122 | which can conflict with char $ac_func (); below. | ||
| 17123 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17124 | <limits.h> exists even on freestanding compilers. */ | ||
| 17125 | |||
| 17126 | #ifdef __STDC__ | ||
| 17127 | # include <limits.h> | ||
| 17128 | #else | ||
| 17129 | # include <assert.h> | ||
| 17130 | #endif | ||
| 17131 | |||
| 17132 | #undef $ac_func | ||
| 17133 | |||
| 17134 | /* Override any GCC internal prototype to avoid an error. | ||
| 17135 | Use char because int might match the return type of a GCC | ||
| 17136 | builtin and then its argument prototype would still apply. */ | ||
| 17137 | #ifdef __cplusplus | ||
| 17138 | extern "C" | ||
| 17139 | #endif | ||
| 17140 | char $ac_func (); | ||
| 17141 | /* The GNU C library defines this for functions which it implements | ||
| 17142 | to always fail with ENOSYS. Some functions are actually named | ||
| 17143 | something starting with __ and the normal name is an alias. */ | ||
| 17144 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17145 | choke me | ||
| 17146 | #endif | ||
| 17147 | |||
| 17148 | int | ||
| 17149 | main () | ||
| 17150 | { | ||
| 17151 | return $ac_func (); | ||
| 17152 | ; | ||
| 17153 | return 0; | ||
| 17154 | } | ||
| 17155 | _ACEOF | ||
| 17156 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17157 | if { (ac_try="$ac_link" | ||
| 17158 | case "(($ac_try" in | ||
| 17159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17160 | *) ac_try_echo=$ac_try;; | ||
| 17161 | esac | ||
| 17162 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17163 | $as_echo "$ac_try_echo") >&5 | ||
| 17164 | (eval "$ac_link") 2>conftest.er1 | ||
| 17165 | ac_status=$? | ||
| 17166 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17167 | rm -f conftest.er1 | ||
| 17168 | cat conftest.err >&5 | ||
| 17169 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17170 | (exit $ac_status); } && { | ||
| 17171 | test -z "$ac_c_werror_flag" || | ||
| 17172 | test ! -s conftest.err | ||
| 17173 | } && test -s conftest$ac_exeext && { | ||
| 17174 | test "$cross_compiling" = yes || | ||
| 17175 | $as_test_x conftest$ac_exeext | ||
| 17176 | }; then | ||
| 17177 | eval "$as_ac_var=yes" | ||
| 17178 | else | ||
| 17179 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17180 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17181 | |||
| 17182 | eval "$as_ac_var=no" | ||
| 17183 | fi | ||
| 17184 | |||
| 17185 | rm -rf conftest.dSYM | ||
| 17186 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17187 | conftest$ac_exeext conftest.$ac_ext | ||
| 17188 | fi | ||
| 17189 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17190 | $as_echo "$as_val"'` | ||
| 17191 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17192 | $as_echo "$ac_res" >&6; } | ||
| 17193 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17194 | $as_echo "$as_val"'` = yes; then | ||
| 10785 | cat >>confdefs.h <<_ACEOF | 17195 | cat >>confdefs.h <<_ACEOF |
| 10786 | #define HAVE_TOUCHLOCK 1 | 17196 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10787 | _ACEOF | 17197 | _ACEOF |
| 10788 | 17198 | ||
| 10789 | fi | 17199 | fi |
| 10790 | done | 17200 | done |
| 10791 | 17201 | ||
| 17202 | |||
| 10792 | for ac_header in maillock.h | 17203 | for ac_header in maillock.h |
| 10793 | do : | 17204 | do |
| 10794 | ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 17205 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10795 | if test "x$ac_cv_header_maillock_h" = x""yes; then : | 17206 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17207 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17208 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17209 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17210 | $as_echo_n "(cached) " >&6 | ||
| 17211 | fi | ||
| 17212 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17213 | $as_echo "$as_val"'` | ||
| 17214 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17215 | $as_echo "$ac_res" >&6; } | ||
| 17216 | else | ||
| 17217 | # Is the header compilable? | ||
| 17218 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17219 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17220 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17221 | /* confdefs.h. */ | ||
| 17222 | _ACEOF | ||
| 17223 | cat confdefs.h >>conftest.$ac_ext | ||
| 17224 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17225 | /* end confdefs.h. */ | ||
| 17226 | $ac_includes_default | ||
| 17227 | #include <$ac_header> | ||
| 17228 | _ACEOF | ||
| 17229 | rm -f conftest.$ac_objext | ||
| 17230 | if { (ac_try="$ac_compile" | ||
| 17231 | case "(($ac_try" in | ||
| 17232 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17233 | *) ac_try_echo=$ac_try;; | ||
| 17234 | esac | ||
| 17235 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17236 | $as_echo "$ac_try_echo") >&5 | ||
| 17237 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17238 | ac_status=$? | ||
| 17239 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17240 | rm -f conftest.er1 | ||
| 17241 | cat conftest.err >&5 | ||
| 17242 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17243 | (exit $ac_status); } && { | ||
| 17244 | test -z "$ac_c_werror_flag" || | ||
| 17245 | test ! -s conftest.err | ||
| 17246 | } && test -s conftest.$ac_objext; then | ||
| 17247 | ac_header_compiler=yes | ||
| 17248 | else | ||
| 17249 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17250 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17251 | |||
| 17252 | ac_header_compiler=no | ||
| 17253 | fi | ||
| 17254 | |||
| 17255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17256 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17257 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17258 | |||
| 17259 | # Is the header present? | ||
| 17260 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17261 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17262 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17263 | /* confdefs.h. */ | ||
| 17264 | _ACEOF | ||
| 17265 | cat confdefs.h >>conftest.$ac_ext | ||
| 17266 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17267 | /* end confdefs.h. */ | ||
| 17268 | #include <$ac_header> | ||
| 17269 | _ACEOF | ||
| 17270 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17271 | case "(($ac_try" in | ||
| 17272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17273 | *) ac_try_echo=$ac_try;; | ||
| 17274 | esac | ||
| 17275 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17276 | $as_echo "$ac_try_echo") >&5 | ||
| 17277 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17278 | ac_status=$? | ||
| 17279 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17280 | rm -f conftest.er1 | ||
| 17281 | cat conftest.err >&5 | ||
| 17282 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17283 | (exit $ac_status); } >/dev/null && { | ||
| 17284 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17285 | test ! -s conftest.err | ||
| 17286 | }; then | ||
| 17287 | ac_header_preproc=yes | ||
| 17288 | else | ||
| 17289 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17290 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17291 | |||
| 17292 | ac_header_preproc=no | ||
| 17293 | fi | ||
| 17294 | |||
| 17295 | rm -f conftest.err conftest.$ac_ext | ||
| 17296 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17297 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17298 | |||
| 17299 | # So? What about this header? | ||
| 17300 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17301 | yes:no: ) | ||
| 17302 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17303 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17304 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17305 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17306 | ac_header_preproc=yes | ||
| 17307 | ;; | ||
| 17308 | no:yes:* ) | ||
| 17309 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17310 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17311 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17312 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17313 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17314 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17315 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17316 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17317 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17318 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17319 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17320 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17321 | |||
| 17322 | ;; | ||
| 17323 | esac | ||
| 17324 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17325 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17326 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17327 | $as_echo_n "(cached) " >&6 | ||
| 17328 | else | ||
| 17329 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17330 | fi | ||
| 17331 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17332 | $as_echo "$as_val"'` | ||
| 17333 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17334 | $as_echo "$ac_res" >&6; } | ||
| 17335 | |||
| 17336 | fi | ||
| 17337 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17338 | $as_echo "$as_val"'` = yes; then | ||
| 10796 | cat >>confdefs.h <<_ACEOF | 17339 | cat >>confdefs.h <<_ACEOF |
| 10797 | #define HAVE_MAILLOCK_H 1 | 17340 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10798 | _ACEOF | 17341 | _ACEOF |
| 10799 | 17342 | ||
| 10800 | fi | 17343 | fi |
| @@ -10803,6 +17346,77 @@ done | |||
| 10803 | 17346 | ||
| 10804 | 17347 | ||
| 10805 | 17348 | ||
| 17349 | |||
| 17350 | |||
| 17351 | |||
| 17352 | |||
| 17353 | |||
| 17354 | |||
| 17355 | |||
| 17356 | |||
| 17357 | |||
| 17358 | |||
| 17359 | |||
| 17360 | |||
| 17361 | |||
| 17362 | |||
| 17363 | |||
| 17364 | |||
| 17365 | |||
| 17366 | |||
| 17367 | |||
| 17368 | |||
| 17369 | |||
| 17370 | |||
| 17371 | |||
| 17372 | |||
| 17373 | |||
| 17374 | |||
| 17375 | |||
| 17376 | |||
| 17377 | |||
| 17378 | |||
| 17379 | |||
| 17380 | |||
| 17381 | |||
| 17382 | |||
| 17383 | |||
| 17384 | |||
| 17385 | |||
| 17386 | |||
| 17387 | |||
| 17388 | |||
| 17389 | |||
| 17390 | |||
| 17391 | |||
| 17392 | |||
| 17393 | |||
| 17394 | |||
| 17395 | |||
| 17396 | |||
| 17397 | |||
| 17398 | |||
| 17399 | |||
| 17400 | |||
| 17401 | |||
| 17402 | |||
| 17403 | |||
| 17404 | |||
| 17405 | |||
| 17406 | |||
| 17407 | |||
| 17408 | |||
| 17409 | |||
| 17410 | |||
| 17411 | |||
| 17412 | |||
| 17413 | |||
| 17414 | |||
| 17415 | |||
| 17416 | |||
| 17417 | |||
| 17418 | |||
| 17419 | |||
| 10806 | for ac_func in gethostname getdomainname dup2 \ | 17420 | for ac_func in gethostname getdomainname dup2 \ |
| 10807 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 17421 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
| 10808 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ | 17422 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ |
| @@ -10813,11 +17427,97 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \ | |||
| 10813 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 17427 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
| 10814 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 17428 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
| 10815 | cfmakeraw cfsetspeed | 17429 | cfmakeraw cfsetspeed |
| 10816 | do : | 17430 | do |
| 10817 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17431 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10818 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17432 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10819 | eval as_val=\$$as_ac_var | 17433 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10820 | if test "x$as_val" = x""yes; then : | 17434 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17435 | $as_echo_n "(cached) " >&6 | ||
| 17436 | else | ||
| 17437 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17438 | /* confdefs.h. */ | ||
| 17439 | _ACEOF | ||
| 17440 | cat confdefs.h >>conftest.$ac_ext | ||
| 17441 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17442 | /* end confdefs.h. */ | ||
| 17443 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17444 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17445 | #define $ac_func innocuous_$ac_func | ||
| 17446 | |||
| 17447 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17448 | which can conflict with char $ac_func (); below. | ||
| 17449 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17450 | <limits.h> exists even on freestanding compilers. */ | ||
| 17451 | |||
| 17452 | #ifdef __STDC__ | ||
| 17453 | # include <limits.h> | ||
| 17454 | #else | ||
| 17455 | # include <assert.h> | ||
| 17456 | #endif | ||
| 17457 | |||
| 17458 | #undef $ac_func | ||
| 17459 | |||
| 17460 | /* Override any GCC internal prototype to avoid an error. | ||
| 17461 | Use char because int might match the return type of a GCC | ||
| 17462 | builtin and then its argument prototype would still apply. */ | ||
| 17463 | #ifdef __cplusplus | ||
| 17464 | extern "C" | ||
| 17465 | #endif | ||
| 17466 | char $ac_func (); | ||
| 17467 | /* The GNU C library defines this for functions which it implements | ||
| 17468 | to always fail with ENOSYS. Some functions are actually named | ||
| 17469 | something starting with __ and the normal name is an alias. */ | ||
| 17470 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17471 | choke me | ||
| 17472 | #endif | ||
| 17473 | |||
| 17474 | int | ||
| 17475 | main () | ||
| 17476 | { | ||
| 17477 | return $ac_func (); | ||
| 17478 | ; | ||
| 17479 | return 0; | ||
| 17480 | } | ||
| 17481 | _ACEOF | ||
| 17482 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17483 | if { (ac_try="$ac_link" | ||
| 17484 | case "(($ac_try" in | ||
| 17485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17486 | *) ac_try_echo=$ac_try;; | ||
| 17487 | esac | ||
| 17488 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17489 | $as_echo "$ac_try_echo") >&5 | ||
| 17490 | (eval "$ac_link") 2>conftest.er1 | ||
| 17491 | ac_status=$? | ||
| 17492 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17493 | rm -f conftest.er1 | ||
| 17494 | cat conftest.err >&5 | ||
| 17495 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17496 | (exit $ac_status); } && { | ||
| 17497 | test -z "$ac_c_werror_flag" || | ||
| 17498 | test ! -s conftest.err | ||
| 17499 | } && test -s conftest$ac_exeext && { | ||
| 17500 | test "$cross_compiling" = yes || | ||
| 17501 | $as_test_x conftest$ac_exeext | ||
| 17502 | }; then | ||
| 17503 | eval "$as_ac_var=yes" | ||
| 17504 | else | ||
| 17505 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17507 | |||
| 17508 | eval "$as_ac_var=no" | ||
| 17509 | fi | ||
| 17510 | |||
| 17511 | rm -rf conftest.dSYM | ||
| 17512 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17513 | conftest$ac_exeext conftest.$ac_ext | ||
| 17514 | fi | ||
| 17515 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17516 | $as_echo "$as_val"'` | ||
| 17517 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17518 | $as_echo "$ac_res" >&6; } | ||
| 17519 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17520 | $as_echo "$as_val"'` = yes; then | ||
| 10821 | cat >>confdefs.h <<_ACEOF | 17521 | cat >>confdefs.h <<_ACEOF |
| 10822 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17522 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10823 | _ACEOF | 17523 | _ACEOF |
| @@ -10826,12 +17526,294 @@ fi | |||
| 10826 | done | 17526 | done |
| 10827 | 17527 | ||
| 10828 | 17528 | ||
| 17529 | |||
| 10829 | for ac_header in sys/un.h | 17530 | for ac_header in sys/un.h |
| 10830 | do : | 17531 | do |
| 10831 | ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 17532 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10832 | if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 17533 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17534 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17535 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17536 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17537 | $as_echo_n "(cached) " >&6 | ||
| 17538 | fi | ||
| 17539 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17540 | $as_echo "$as_val"'` | ||
| 17541 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17542 | $as_echo "$ac_res" >&6; } | ||
| 17543 | else | ||
| 17544 | # Is the header compilable? | ||
| 17545 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17546 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17547 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17548 | /* confdefs.h. */ | ||
| 17549 | _ACEOF | ||
| 17550 | cat confdefs.h >>conftest.$ac_ext | ||
| 17551 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17552 | /* end confdefs.h. */ | ||
| 17553 | $ac_includes_default | ||
| 17554 | #include <$ac_header> | ||
| 17555 | _ACEOF | ||
| 17556 | rm -f conftest.$ac_objext | ||
| 17557 | if { (ac_try="$ac_compile" | ||
| 17558 | case "(($ac_try" in | ||
| 17559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17560 | *) ac_try_echo=$ac_try;; | ||
| 17561 | esac | ||
| 17562 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17563 | $as_echo "$ac_try_echo") >&5 | ||
| 17564 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17565 | ac_status=$? | ||
| 17566 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17567 | rm -f conftest.er1 | ||
| 17568 | cat conftest.err >&5 | ||
| 17569 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17570 | (exit $ac_status); } && { | ||
| 17571 | test -z "$ac_c_werror_flag" || | ||
| 17572 | test ! -s conftest.err | ||
| 17573 | } && test -s conftest.$ac_objext; then | ||
| 17574 | ac_header_compiler=yes | ||
| 17575 | else | ||
| 17576 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17577 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17578 | |||
| 17579 | ac_header_compiler=no | ||
| 17580 | fi | ||
| 17581 | |||
| 17582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17583 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17584 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17585 | |||
| 17586 | # Is the header present? | ||
| 17587 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17588 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17589 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17590 | /* confdefs.h. */ | ||
| 17591 | _ACEOF | ||
| 17592 | cat confdefs.h >>conftest.$ac_ext | ||
| 17593 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17594 | /* end confdefs.h. */ | ||
| 17595 | #include <$ac_header> | ||
| 17596 | _ACEOF | ||
| 17597 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17598 | case "(($ac_try" in | ||
| 17599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17600 | *) ac_try_echo=$ac_try;; | ||
| 17601 | esac | ||
| 17602 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17603 | $as_echo "$ac_try_echo") >&5 | ||
| 17604 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17605 | ac_status=$? | ||
| 17606 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17607 | rm -f conftest.er1 | ||
| 17608 | cat conftest.err >&5 | ||
| 17609 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17610 | (exit $ac_status); } >/dev/null && { | ||
| 17611 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17612 | test ! -s conftest.err | ||
| 17613 | }; then | ||
| 17614 | ac_header_preproc=yes | ||
| 17615 | else | ||
| 17616 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17617 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17618 | |||
| 17619 | ac_header_preproc=no | ||
| 17620 | fi | ||
| 17621 | |||
| 17622 | rm -f conftest.err conftest.$ac_ext | ||
| 17623 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17624 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17625 | |||
| 17626 | # So? What about this header? | ||
| 17627 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17628 | yes:no: ) | ||
| 17629 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17630 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17631 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17632 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17633 | ac_header_preproc=yes | ||
| 17634 | ;; | ||
| 17635 | no:yes:* ) | ||
| 17636 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17637 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17638 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17639 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17640 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17641 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17642 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17643 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17644 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17645 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17646 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17647 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17648 | |||
| 17649 | ;; | ||
| 17650 | esac | ||
| 17651 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17652 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17653 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17654 | $as_echo_n "(cached) " >&6 | ||
| 17655 | else | ||
| 17656 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17657 | fi | ||
| 17658 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17659 | $as_echo "$as_val"'` | ||
| 17660 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17661 | $as_echo "$ac_res" >&6; } | ||
| 17662 | |||
| 17663 | fi | ||
| 17664 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17665 | $as_echo "$as_val"'` = yes; then | ||
| 17666 | cat >>confdefs.h <<_ACEOF | ||
| 17667 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 17668 | _ACEOF | ||
| 17669 | |||
| 17670 | fi | ||
| 17671 | |||
| 17672 | done | ||
| 17673 | |||
| 17674 | |||
| 17675 | |||
| 17676 | |||
| 17677 | |||
| 17678 | |||
| 17679 | for ac_header in $ac_header_list | ||
| 17680 | do | ||
| 17681 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 17682 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17683 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17684 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17685 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17686 | $as_echo_n "(cached) " >&6 | ||
| 17687 | fi | ||
| 17688 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17689 | $as_echo "$as_val"'` | ||
| 17690 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17691 | $as_echo "$ac_res" >&6; } | ||
| 17692 | else | ||
| 17693 | # Is the header compilable? | ||
| 17694 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17695 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17696 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17697 | /* confdefs.h. */ | ||
| 17698 | _ACEOF | ||
| 17699 | cat confdefs.h >>conftest.$ac_ext | ||
| 17700 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17701 | /* end confdefs.h. */ | ||
| 17702 | $ac_includes_default | ||
| 17703 | #include <$ac_header> | ||
| 17704 | _ACEOF | ||
| 17705 | rm -f conftest.$ac_objext | ||
| 17706 | if { (ac_try="$ac_compile" | ||
| 17707 | case "(($ac_try" in | ||
| 17708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17709 | *) ac_try_echo=$ac_try;; | ||
| 17710 | esac | ||
| 17711 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17712 | $as_echo "$ac_try_echo") >&5 | ||
| 17713 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17714 | ac_status=$? | ||
| 17715 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17716 | rm -f conftest.er1 | ||
| 17717 | cat conftest.err >&5 | ||
| 17718 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17719 | (exit $ac_status); } && { | ||
| 17720 | test -z "$ac_c_werror_flag" || | ||
| 17721 | test ! -s conftest.err | ||
| 17722 | } && test -s conftest.$ac_objext; then | ||
| 17723 | ac_header_compiler=yes | ||
| 17724 | else | ||
| 17725 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17726 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17727 | |||
| 17728 | ac_header_compiler=no | ||
| 17729 | fi | ||
| 17730 | |||
| 17731 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17732 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17733 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17734 | |||
| 17735 | # Is the header present? | ||
| 17736 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17737 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17738 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17739 | /* confdefs.h. */ | ||
| 17740 | _ACEOF | ||
| 17741 | cat confdefs.h >>conftest.$ac_ext | ||
| 17742 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17743 | /* end confdefs.h. */ | ||
| 17744 | #include <$ac_header> | ||
| 17745 | _ACEOF | ||
| 17746 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17747 | case "(($ac_try" in | ||
| 17748 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17749 | *) ac_try_echo=$ac_try;; | ||
| 17750 | esac | ||
| 17751 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17752 | $as_echo "$ac_try_echo") >&5 | ||
| 17753 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17754 | ac_status=$? | ||
| 17755 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17756 | rm -f conftest.er1 | ||
| 17757 | cat conftest.err >&5 | ||
| 17758 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17759 | (exit $ac_status); } >/dev/null && { | ||
| 17760 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17761 | test ! -s conftest.err | ||
| 17762 | }; then | ||
| 17763 | ac_header_preproc=yes | ||
| 17764 | else | ||
| 17765 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17766 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17767 | |||
| 17768 | ac_header_preproc=no | ||
| 17769 | fi | ||
| 17770 | |||
| 17771 | rm -f conftest.err conftest.$ac_ext | ||
| 17772 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17773 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17774 | |||
| 17775 | # So? What about this header? | ||
| 17776 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17777 | yes:no: ) | ||
| 17778 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17779 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17780 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17781 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17782 | ac_header_preproc=yes | ||
| 17783 | ;; | ||
| 17784 | no:yes:* ) | ||
| 17785 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17786 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17787 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17788 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17789 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17790 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17791 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17792 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17793 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17794 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17795 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17796 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17797 | |||
| 17798 | ;; | ||
| 17799 | esac | ||
| 17800 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17801 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17802 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17803 | $as_echo_n "(cached) " >&6 | ||
| 17804 | else | ||
| 17805 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17806 | fi | ||
| 17807 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17808 | $as_echo "$as_val"'` | ||
| 17809 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17810 | $as_echo "$ac_res" >&6; } | ||
| 17811 | |||
| 17812 | fi | ||
| 17813 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17814 | $as_echo "$as_val"'` = yes; then | ||
| 10833 | cat >>confdefs.h <<_ACEOF | 17815 | cat >>confdefs.h <<_ACEOF |
| 10834 | #define HAVE_SYS_UN_H 1 | 17816 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10835 | _ACEOF | 17817 | _ACEOF |
| 10836 | 17818 | ||
| 10837 | fi | 17819 | fi |
| @@ -10844,12 +17826,100 @@ done | |||
| 10844 | 17826 | ||
| 10845 | 17827 | ||
| 10846 | 17828 | ||
| 10847 | for ac_func in $ac_func_list | 17829 | |
| 10848 | do : | 17830 | |
| 10849 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17831 | for ac_func in $ac_func_list |
| 10850 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17832 | do |
| 10851 | eval as_val=\$$as_ac_var | 17833 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10852 | if test "x$as_val" = x""yes; then : | 17834 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17835 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 17836 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17837 | $as_echo_n "(cached) " >&6 | ||
| 17838 | else | ||
| 17839 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17840 | /* confdefs.h. */ | ||
| 17841 | _ACEOF | ||
| 17842 | cat confdefs.h >>conftest.$ac_ext | ||
| 17843 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17844 | /* end confdefs.h. */ | ||
| 17845 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17846 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17847 | #define $ac_func innocuous_$ac_func | ||
| 17848 | |||
| 17849 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17850 | which can conflict with char $ac_func (); below. | ||
| 17851 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17852 | <limits.h> exists even on freestanding compilers. */ | ||
| 17853 | |||
| 17854 | #ifdef __STDC__ | ||
| 17855 | # include <limits.h> | ||
| 17856 | #else | ||
| 17857 | # include <assert.h> | ||
| 17858 | #endif | ||
| 17859 | |||
| 17860 | #undef $ac_func | ||
| 17861 | |||
| 17862 | /* Override any GCC internal prototype to avoid an error. | ||
| 17863 | Use char because int might match the return type of a GCC | ||
| 17864 | builtin and then its argument prototype would still apply. */ | ||
| 17865 | #ifdef __cplusplus | ||
| 17866 | extern "C" | ||
| 17867 | #endif | ||
| 17868 | char $ac_func (); | ||
| 17869 | /* The GNU C library defines this for functions which it implements | ||
| 17870 | to always fail with ENOSYS. Some functions are actually named | ||
| 17871 | something starting with __ and the normal name is an alias. */ | ||
| 17872 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17873 | choke me | ||
| 17874 | #endif | ||
| 17875 | |||
| 17876 | int | ||
| 17877 | main () | ||
| 17878 | { | ||
| 17879 | return $ac_func (); | ||
| 17880 | ; | ||
| 17881 | return 0; | ||
| 17882 | } | ||
| 17883 | _ACEOF | ||
| 17884 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17885 | if { (ac_try="$ac_link" | ||
| 17886 | case "(($ac_try" in | ||
| 17887 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17888 | *) ac_try_echo=$ac_try;; | ||
| 17889 | esac | ||
| 17890 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17891 | $as_echo "$ac_try_echo") >&5 | ||
| 17892 | (eval "$ac_link") 2>conftest.er1 | ||
| 17893 | ac_status=$? | ||
| 17894 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17895 | rm -f conftest.er1 | ||
| 17896 | cat conftest.err >&5 | ||
| 17897 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17898 | (exit $ac_status); } && { | ||
| 17899 | test -z "$ac_c_werror_flag" || | ||
| 17900 | test ! -s conftest.err | ||
| 17901 | } && test -s conftest$ac_exeext && { | ||
| 17902 | test "$cross_compiling" = yes || | ||
| 17903 | $as_test_x conftest$ac_exeext | ||
| 17904 | }; then | ||
| 17905 | eval "$as_ac_var=yes" | ||
| 17906 | else | ||
| 17907 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17908 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17909 | |||
| 17910 | eval "$as_ac_var=no" | ||
| 17911 | fi | ||
| 17912 | |||
| 17913 | rm -rf conftest.dSYM | ||
| 17914 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17915 | conftest$ac_exeext conftest.$ac_ext | ||
| 17916 | fi | ||
| 17917 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17918 | $as_echo "$as_val"'` | ||
| 17919 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17920 | $as_echo "$ac_res" >&6; } | ||
| 17921 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17922 | $as_echo "$as_val"'` = yes; then | ||
| 10853 | cat >>confdefs.h <<_ACEOF | 17923 | cat >>confdefs.h <<_ACEOF |
| 10854 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17924 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10855 | _ACEOF | 17925 | _ACEOF |
| @@ -10861,15 +17931,31 @@ done | |||
| 10861 | 17931 | ||
| 10862 | 17932 | ||
| 10863 | 17933 | ||
| 10864 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 17934 | |
| 17935 | |||
| 17936 | |||
| 17937 | |||
| 17938 | |||
| 17939 | |||
| 17940 | |||
| 17941 | |||
| 17942 | |||
| 17943 | |||
| 17944 | |||
| 17945 | |||
| 17946 | { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | ||
| 10865 | $as_echo_n "checking for working mktime... " >&6; } | 17947 | $as_echo_n "checking for working mktime... " >&6; } |
| 10866 | if test "${ac_cv_func_working_mktime+set}" = set; then : | 17948 | if test "${ac_cv_func_working_mktime+set}" = set; then |
| 10867 | $as_echo_n "(cached) " >&6 | 17949 | $as_echo_n "(cached) " >&6 |
| 10868 | else | 17950 | else |
| 10869 | if test "$cross_compiling" = yes; then : | 17951 | if test "$cross_compiling" = yes; then |
| 10870 | ac_cv_func_working_mktime=no | 17952 | ac_cv_func_working_mktime=no |
| 10871 | else | 17953 | else |
| 10872 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17954 | cat >conftest.$ac_ext <<_ACEOF |
| 17955 | /* confdefs.h. */ | ||
| 17956 | _ACEOF | ||
| 17957 | cat confdefs.h >>conftest.$ac_ext | ||
| 17958 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10873 | /* end confdefs.h. */ | 17959 | /* end confdefs.h. */ |
| 10874 | /* Test program from Paul Eggert and Tony Leneis. */ | 17960 | /* Test program from Paul Eggert and Tony Leneis. */ |
| 10875 | #ifdef TIME_WITH_SYS_TIME | 17961 | #ifdef TIME_WITH_SYS_TIME |
| @@ -11066,17 +18152,44 @@ main () | |||
| 11066 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 18152 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| 11067 | } | 18153 | } |
| 11068 | _ACEOF | 18154 | _ACEOF |
| 11069 | if ac_fn_c_try_run "$LINENO"; then : | 18155 | rm -f conftest$ac_exeext |
| 18156 | if { (ac_try="$ac_link" | ||
| 18157 | case "(($ac_try" in | ||
| 18158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18159 | *) ac_try_echo=$ac_try;; | ||
| 18160 | esac | ||
| 18161 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18162 | $as_echo "$ac_try_echo") >&5 | ||
| 18163 | (eval "$ac_link") 2>&5 | ||
| 18164 | ac_status=$? | ||
| 18165 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18166 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 18167 | { (case "(($ac_try" in | ||
| 18168 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18169 | *) ac_try_echo=$ac_try;; | ||
| 18170 | esac | ||
| 18171 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18172 | $as_echo "$ac_try_echo") >&5 | ||
| 18173 | (eval "$ac_try") 2>&5 | ||
| 18174 | ac_status=$? | ||
| 18175 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18176 | (exit $ac_status); }; }; then | ||
| 11070 | ac_cv_func_working_mktime=yes | 18177 | ac_cv_func_working_mktime=yes |
| 11071 | else | 18178 | else |
| 11072 | ac_cv_func_working_mktime=no | 18179 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 18180 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18181 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18182 | |||
| 18183 | ( exit $ac_status ) | ||
| 18184 | ac_cv_func_working_mktime=no | ||
| 11073 | fi | 18185 | fi |
| 11074 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18186 | rm -rf conftest.dSYM |
| 11075 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 18187 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11076 | fi | 18188 | fi |
| 11077 | 18189 | ||
| 18190 | |||
| 11078 | fi | 18191 | fi |
| 11079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 | 18192 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 |
| 11080 | $as_echo "$ac_cv_func_working_mktime" >&6; } | 18193 | $as_echo "$ac_cv_func_working_mktime" >&6; } |
| 11081 | if test $ac_cv_func_working_mktime = no; then | 18194 | if test $ac_cv_func_working_mktime = no; then |
| 11082 | case " $LIBOBJS " in | 18195 | case " $LIBOBJS " in |
| @@ -11089,7 +18202,9 @@ fi | |||
| 11089 | 18202 | ||
| 11090 | if test "$ac_cv_func_working_mktime" = no; then | 18203 | if test "$ac_cv_func_working_mktime" = no; then |
| 11091 | 18204 | ||
| 11092 | $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h | 18205 | cat >>confdefs.h <<\_ACEOF |
| 18206 | #define BROKEN_MKTIME 1 | ||
| 18207 | _ACEOF | ||
| 11093 | 18208 | ||
| 11094 | fi | 18209 | fi |
| 11095 | 18210 | ||
| @@ -11097,13 +18212,99 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 11097 | 18212 | ||
| 11098 | # Make sure getloadavg.c is where it belongs, at configure-time. | 18213 | # Make sure getloadavg.c is where it belongs, at configure-time. |
| 11099 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 18214 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
| 11100 | as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 18215 | { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 |
| 18216 | $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | ||
| 18217 | { (exit 1); exit 1; }; } | ||
| 11101 | 18218 | ||
| 11102 | ac_save_LIBS=$LIBS | 18219 | ac_save_LIBS=$LIBS |
| 11103 | 18220 | ||
| 11104 | # Check for getloadavg, but be sure not to touch the cache variable. | 18221 | # Check for getloadavg, but be sure not to touch the cache variable. |
| 11105 | (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18222 | ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 |
| 11106 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18223 | $as_echo_n "checking for getloadavg... " >&6; } |
| 18224 | if test "${ac_cv_func_getloadavg+set}" = set; then | ||
| 18225 | $as_echo_n "(cached) " >&6 | ||
| 18226 | else | ||
| 18227 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18228 | /* confdefs.h. */ | ||
| 18229 | _ACEOF | ||
| 18230 | cat confdefs.h >>conftest.$ac_ext | ||
| 18231 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18232 | /* end confdefs.h. */ | ||
| 18233 | /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | ||
| 18234 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18235 | #define getloadavg innocuous_getloadavg | ||
| 18236 | |||
| 18237 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18238 | which can conflict with char getloadavg (); below. | ||
| 18239 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18240 | <limits.h> exists even on freestanding compilers. */ | ||
| 18241 | |||
| 18242 | #ifdef __STDC__ | ||
| 18243 | # include <limits.h> | ||
| 18244 | #else | ||
| 18245 | # include <assert.h> | ||
| 18246 | #endif | ||
| 18247 | |||
| 18248 | #undef getloadavg | ||
| 18249 | |||
| 18250 | /* Override any GCC internal prototype to avoid an error. | ||
| 18251 | Use char because int might match the return type of a GCC | ||
| 18252 | builtin and then its argument prototype would still apply. */ | ||
| 18253 | #ifdef __cplusplus | ||
| 18254 | extern "C" | ||
| 18255 | #endif | ||
| 18256 | char getloadavg (); | ||
| 18257 | /* The GNU C library defines this for functions which it implements | ||
| 18258 | to always fail with ENOSYS. Some functions are actually named | ||
| 18259 | something starting with __ and the normal name is an alias. */ | ||
| 18260 | #if defined __stub_getloadavg || defined __stub___getloadavg | ||
| 18261 | choke me | ||
| 18262 | #endif | ||
| 18263 | |||
| 18264 | int | ||
| 18265 | main () | ||
| 18266 | { | ||
| 18267 | return getloadavg (); | ||
| 18268 | ; | ||
| 18269 | return 0; | ||
| 18270 | } | ||
| 18271 | _ACEOF | ||
| 18272 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18273 | if { (ac_try="$ac_link" | ||
| 18274 | case "(($ac_try" in | ||
| 18275 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18276 | *) ac_try_echo=$ac_try;; | ||
| 18277 | esac | ||
| 18278 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18279 | $as_echo "$ac_try_echo") >&5 | ||
| 18280 | (eval "$ac_link") 2>conftest.er1 | ||
| 18281 | ac_status=$? | ||
| 18282 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18283 | rm -f conftest.er1 | ||
| 18284 | cat conftest.err >&5 | ||
| 18285 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18286 | (exit $ac_status); } && { | ||
| 18287 | test -z "$ac_c_werror_flag" || | ||
| 18288 | test ! -s conftest.err | ||
| 18289 | } && test -s conftest$ac_exeext && { | ||
| 18290 | test "$cross_compiling" = yes || | ||
| 18291 | $as_test_x conftest$ac_exeext | ||
| 18292 | }; then | ||
| 18293 | ac_cv_func_getloadavg=yes | ||
| 18294 | else | ||
| 18295 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18296 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18297 | |||
| 18298 | ac_cv_func_getloadavg=no | ||
| 18299 | fi | ||
| 18300 | |||
| 18301 | rm -rf conftest.dSYM | ||
| 18302 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18303 | conftest$ac_exeext conftest.$ac_ext | ||
| 18304 | fi | ||
| 18305 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | ||
| 18306 | $as_echo "$ac_cv_func_getloadavg" >&6; } | ||
| 18307 | if test $ac_cv_func_getloadavg = yes; then | ||
| 11107 | exit 0 | 18308 | exit 0 |
| 11108 | else | 18309 | else |
| 11109 | exit 1 | 18310 | exit 1 |
| @@ -11111,12 +18312,101 @@ fi | |||
| 11111 | ) && ac_have_func=yes | 18312 | ) && ac_have_func=yes |
| 11112 | 18313 | ||
| 11113 | # On HPUX9, an unprivileged user can get load averages through this function. | 18314 | # On HPUX9, an unprivileged user can get load averages through this function. |
| 18315 | |||
| 11114 | for ac_func in pstat_getdynamic | 18316 | for ac_func in pstat_getdynamic |
| 11115 | do : | 18317 | do |
| 11116 | ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 18318 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11117 | if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 18319 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18320 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18321 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18322 | $as_echo_n "(cached) " >&6 | ||
| 18323 | else | ||
| 18324 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18325 | /* confdefs.h. */ | ||
| 18326 | _ACEOF | ||
| 18327 | cat confdefs.h >>conftest.$ac_ext | ||
| 18328 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18329 | /* end confdefs.h. */ | ||
| 18330 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18331 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18332 | #define $ac_func innocuous_$ac_func | ||
| 18333 | |||
| 18334 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18335 | which can conflict with char $ac_func (); below. | ||
| 18336 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18337 | <limits.h> exists even on freestanding compilers. */ | ||
| 18338 | |||
| 18339 | #ifdef __STDC__ | ||
| 18340 | # include <limits.h> | ||
| 18341 | #else | ||
| 18342 | # include <assert.h> | ||
| 18343 | #endif | ||
| 18344 | |||
| 18345 | #undef $ac_func | ||
| 18346 | |||
| 18347 | /* Override any GCC internal prototype to avoid an error. | ||
| 18348 | Use char because int might match the return type of a GCC | ||
| 18349 | builtin and then its argument prototype would still apply. */ | ||
| 18350 | #ifdef __cplusplus | ||
| 18351 | extern "C" | ||
| 18352 | #endif | ||
| 18353 | char $ac_func (); | ||
| 18354 | /* The GNU C library defines this for functions which it implements | ||
| 18355 | to always fail with ENOSYS. Some functions are actually named | ||
| 18356 | something starting with __ and the normal name is an alias. */ | ||
| 18357 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18358 | choke me | ||
| 18359 | #endif | ||
| 18360 | |||
| 18361 | int | ||
| 18362 | main () | ||
| 18363 | { | ||
| 18364 | return $ac_func (); | ||
| 18365 | ; | ||
| 18366 | return 0; | ||
| 18367 | } | ||
| 18368 | _ACEOF | ||
| 18369 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18370 | if { (ac_try="$ac_link" | ||
| 18371 | case "(($ac_try" in | ||
| 18372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18373 | *) ac_try_echo=$ac_try;; | ||
| 18374 | esac | ||
| 18375 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18376 | $as_echo "$ac_try_echo") >&5 | ||
| 18377 | (eval "$ac_link") 2>conftest.er1 | ||
| 18378 | ac_status=$? | ||
| 18379 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18380 | rm -f conftest.er1 | ||
| 18381 | cat conftest.err >&5 | ||
| 18382 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18383 | (exit $ac_status); } && { | ||
| 18384 | test -z "$ac_c_werror_flag" || | ||
| 18385 | test ! -s conftest.err | ||
| 18386 | } && test -s conftest$ac_exeext && { | ||
| 18387 | test "$cross_compiling" = yes || | ||
| 18388 | $as_test_x conftest$ac_exeext | ||
| 18389 | }; then | ||
| 18390 | eval "$as_ac_var=yes" | ||
| 18391 | else | ||
| 18392 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18393 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18394 | |||
| 18395 | eval "$as_ac_var=no" | ||
| 18396 | fi | ||
| 18397 | |||
| 18398 | rm -rf conftest.dSYM | ||
| 18399 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18400 | conftest$ac_exeext conftest.$ac_ext | ||
| 18401 | fi | ||
| 18402 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18403 | $as_echo "$as_val"'` | ||
| 18404 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18405 | $as_echo "$ac_res" >&6; } | ||
| 18406 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18407 | $as_echo "$as_val"'` = yes; then | ||
| 11118 | cat >>confdefs.h <<_ACEOF | 18408 | cat >>confdefs.h <<_ACEOF |
| 11119 | #define HAVE_PSTAT_GETDYNAMIC 1 | 18409 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11120 | _ACEOF | 18410 | _ACEOF |
| 11121 | 18411 | ||
| 11122 | fi | 18412 | fi |
| @@ -11124,14 +18414,19 @@ done | |||
| 11124 | 18414 | ||
| 11125 | 18415 | ||
| 11126 | # Solaris has libkstat which does not require root. | 18416 | # Solaris has libkstat which does not require root. |
| 11127 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 18417 | |
| 18418 | { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | ||
| 11128 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 18419 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
| 11129 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 18420 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
| 11130 | $as_echo_n "(cached) " >&6 | 18421 | $as_echo_n "(cached) " >&6 |
| 11131 | else | 18422 | else |
| 11132 | ac_check_lib_save_LIBS=$LIBS | 18423 | ac_check_lib_save_LIBS=$LIBS |
| 11133 | LIBS="-lkstat $LIBS" | 18424 | LIBS="-lkstat $LIBS" |
| 11134 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18425 | cat >conftest.$ac_ext <<_ACEOF |
| 18426 | /* confdefs.h. */ | ||
| 18427 | _ACEOF | ||
| 18428 | cat confdefs.h >>conftest.$ac_ext | ||
| 18429 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11135 | /* end confdefs.h. */ | 18430 | /* end confdefs.h. */ |
| 11136 | 18431 | ||
| 11137 | /* Override any GCC internal prototype to avoid an error. | 18432 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11149,18 +18444,43 @@ return kstat_open (); | |||
| 11149 | return 0; | 18444 | return 0; |
| 11150 | } | 18445 | } |
| 11151 | _ACEOF | 18446 | _ACEOF |
| 11152 | if ac_fn_c_try_link "$LINENO"; then : | 18447 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18448 | if { (ac_try="$ac_link" | ||
| 18449 | case "(($ac_try" in | ||
| 18450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18451 | *) ac_try_echo=$ac_try;; | ||
| 18452 | esac | ||
| 18453 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18454 | $as_echo "$ac_try_echo") >&5 | ||
| 18455 | (eval "$ac_link") 2>conftest.er1 | ||
| 18456 | ac_status=$? | ||
| 18457 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18458 | rm -f conftest.er1 | ||
| 18459 | cat conftest.err >&5 | ||
| 18460 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18461 | (exit $ac_status); } && { | ||
| 18462 | test -z "$ac_c_werror_flag" || | ||
| 18463 | test ! -s conftest.err | ||
| 18464 | } && test -s conftest$ac_exeext && { | ||
| 18465 | test "$cross_compiling" = yes || | ||
| 18466 | $as_test_x conftest$ac_exeext | ||
| 18467 | }; then | ||
| 11153 | ac_cv_lib_kstat_kstat_open=yes | 18468 | ac_cv_lib_kstat_kstat_open=yes |
| 11154 | else | 18469 | else |
| 11155 | ac_cv_lib_kstat_kstat_open=no | 18470 | $as_echo "$as_me: failed program was:" >&5 |
| 18471 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18472 | |||
| 18473 | ac_cv_lib_kstat_kstat_open=no | ||
| 11156 | fi | 18474 | fi |
| 11157 | rm -f core conftest.err conftest.$ac_objext \ | 18475 | |
| 11158 | conftest$ac_exeext conftest.$ac_ext | 18476 | rm -rf conftest.dSYM |
| 18477 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18478 | conftest$ac_exeext conftest.$ac_ext | ||
| 11159 | LIBS=$ac_check_lib_save_LIBS | 18479 | LIBS=$ac_check_lib_save_LIBS |
| 11160 | fi | 18480 | fi |
| 11161 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 18481 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
| 11162 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 18482 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
| 11163 | if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 18483 | if test $ac_cv_lib_kstat_kstat_open = yes; then |
| 11164 | cat >>confdefs.h <<_ACEOF | 18484 | cat >>confdefs.h <<_ACEOF |
| 11165 | #define HAVE_LIBKSTAT 1 | 18485 | #define HAVE_LIBKSTAT 1 |
| 11166 | _ACEOF | 18486 | _ACEOF |
| @@ -11176,14 +18496,18 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | |||
| 11176 | # to get the right answer into the cache. | 18496 | # to get the right answer into the cache. |
| 11177 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 18497 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
| 11178 | if test $ac_have_func = no; then | 18498 | if test $ac_have_func = no; then |
| 11179 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 18499 | { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
| 11180 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 18500 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
| 11181 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 18501 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
| 11182 | $as_echo_n "(cached) " >&6 | 18502 | $as_echo_n "(cached) " >&6 |
| 11183 | else | 18503 | else |
| 11184 | ac_check_lib_save_LIBS=$LIBS | 18504 | ac_check_lib_save_LIBS=$LIBS |
| 11185 | LIBS="-lelf $LIBS" | 18505 | LIBS="-lelf $LIBS" |
| 11186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18506 | cat >conftest.$ac_ext <<_ACEOF |
| 18507 | /* confdefs.h. */ | ||
| 18508 | _ACEOF | ||
| 18509 | cat confdefs.h >>conftest.$ac_ext | ||
| 18510 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11187 | /* end confdefs.h. */ | 18511 | /* end confdefs.h. */ |
| 11188 | 18512 | ||
| 11189 | /* Override any GCC internal prototype to avoid an error. | 18513 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11201,31 +18525,60 @@ return elf_begin (); | |||
| 11201 | return 0; | 18525 | return 0; |
| 11202 | } | 18526 | } |
| 11203 | _ACEOF | 18527 | _ACEOF |
| 11204 | if ac_fn_c_try_link "$LINENO"; then : | 18528 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18529 | if { (ac_try="$ac_link" | ||
| 18530 | case "(($ac_try" in | ||
| 18531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18532 | *) ac_try_echo=$ac_try;; | ||
| 18533 | esac | ||
| 18534 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18535 | $as_echo "$ac_try_echo") >&5 | ||
| 18536 | (eval "$ac_link") 2>conftest.er1 | ||
| 18537 | ac_status=$? | ||
| 18538 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18539 | rm -f conftest.er1 | ||
| 18540 | cat conftest.err >&5 | ||
| 18541 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18542 | (exit $ac_status); } && { | ||
| 18543 | test -z "$ac_c_werror_flag" || | ||
| 18544 | test ! -s conftest.err | ||
| 18545 | } && test -s conftest$ac_exeext && { | ||
| 18546 | test "$cross_compiling" = yes || | ||
| 18547 | $as_test_x conftest$ac_exeext | ||
| 18548 | }; then | ||
| 11205 | ac_cv_lib_elf_elf_begin=yes | 18549 | ac_cv_lib_elf_elf_begin=yes |
| 11206 | else | 18550 | else |
| 11207 | ac_cv_lib_elf_elf_begin=no | 18551 | $as_echo "$as_me: failed program was:" >&5 |
| 18552 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18553 | |||
| 18554 | ac_cv_lib_elf_elf_begin=no | ||
| 11208 | fi | 18555 | fi |
| 11209 | rm -f core conftest.err conftest.$ac_objext \ | 18556 | |
| 11210 | conftest$ac_exeext conftest.$ac_ext | 18557 | rm -rf conftest.dSYM |
| 18558 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18559 | conftest$ac_exeext conftest.$ac_ext | ||
| 11211 | LIBS=$ac_check_lib_save_LIBS | 18560 | LIBS=$ac_check_lib_save_LIBS |
| 11212 | fi | 18561 | fi |
| 11213 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 18562 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
| 11214 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 18563 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
| 11215 | if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 18564 | if test $ac_cv_lib_elf_elf_begin = yes; then |
| 11216 | LIBS="-lelf $LIBS" | 18565 | LIBS="-lelf $LIBS" |
| 11217 | fi | 18566 | fi |
| 11218 | 18567 | ||
| 11219 | fi | 18568 | fi |
| 11220 | if test $ac_have_func = no; then | 18569 | if test $ac_have_func = no; then |
| 11221 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 18570 | { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
| 11222 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 18571 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
| 11223 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 18572 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
| 11224 | $as_echo_n "(cached) " >&6 | 18573 | $as_echo_n "(cached) " >&6 |
| 11225 | else | 18574 | else |
| 11226 | ac_check_lib_save_LIBS=$LIBS | 18575 | ac_check_lib_save_LIBS=$LIBS |
| 11227 | LIBS="-lkvm $LIBS" | 18576 | LIBS="-lkvm $LIBS" |
| 11228 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18577 | cat >conftest.$ac_ext <<_ACEOF |
| 18578 | /* confdefs.h. */ | ||
| 18579 | _ACEOF | ||
| 18580 | cat confdefs.h >>conftest.$ac_ext | ||
| 18581 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11229 | /* end confdefs.h. */ | 18582 | /* end confdefs.h. */ |
| 11230 | 18583 | ||
| 11231 | /* Override any GCC internal prototype to avoid an error. | 18584 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11243,30 +18596,59 @@ return kvm_open (); | |||
| 11243 | return 0; | 18596 | return 0; |
| 11244 | } | 18597 | } |
| 11245 | _ACEOF | 18598 | _ACEOF |
| 11246 | if ac_fn_c_try_link "$LINENO"; then : | 18599 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18600 | if { (ac_try="$ac_link" | ||
| 18601 | case "(($ac_try" in | ||
| 18602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18603 | *) ac_try_echo=$ac_try;; | ||
| 18604 | esac | ||
| 18605 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18606 | $as_echo "$ac_try_echo") >&5 | ||
| 18607 | (eval "$ac_link") 2>conftest.er1 | ||
| 18608 | ac_status=$? | ||
| 18609 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18610 | rm -f conftest.er1 | ||
| 18611 | cat conftest.err >&5 | ||
| 18612 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18613 | (exit $ac_status); } && { | ||
| 18614 | test -z "$ac_c_werror_flag" || | ||
| 18615 | test ! -s conftest.err | ||
| 18616 | } && test -s conftest$ac_exeext && { | ||
| 18617 | test "$cross_compiling" = yes || | ||
| 18618 | $as_test_x conftest$ac_exeext | ||
| 18619 | }; then | ||
| 11247 | ac_cv_lib_kvm_kvm_open=yes | 18620 | ac_cv_lib_kvm_kvm_open=yes |
| 11248 | else | 18621 | else |
| 11249 | ac_cv_lib_kvm_kvm_open=no | 18622 | $as_echo "$as_me: failed program was:" >&5 |
| 18623 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18624 | |||
| 18625 | ac_cv_lib_kvm_kvm_open=no | ||
| 11250 | fi | 18626 | fi |
| 11251 | rm -f core conftest.err conftest.$ac_objext \ | 18627 | |
| 11252 | conftest$ac_exeext conftest.$ac_ext | 18628 | rm -rf conftest.dSYM |
| 18629 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18630 | conftest$ac_exeext conftest.$ac_ext | ||
| 11253 | LIBS=$ac_check_lib_save_LIBS | 18631 | LIBS=$ac_check_lib_save_LIBS |
| 11254 | fi | 18632 | fi |
| 11255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18633 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
| 11256 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 18634 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
| 11257 | if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 18635 | if test $ac_cv_lib_kvm_kvm_open = yes; then |
| 11258 | LIBS="-lkvm $LIBS" | 18636 | LIBS="-lkvm $LIBS" |
| 11259 | fi | 18637 | fi |
| 11260 | 18638 | ||
| 11261 | # Check for the 4.4BSD definition of getloadavg. | 18639 | # Check for the 4.4BSD definition of getloadavg. |
| 11262 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 18640 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
| 11263 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 18641 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
| 11264 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 18642 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
| 11265 | $as_echo_n "(cached) " >&6 | 18643 | $as_echo_n "(cached) " >&6 |
| 11266 | else | 18644 | else |
| 11267 | ac_check_lib_save_LIBS=$LIBS | 18645 | ac_check_lib_save_LIBS=$LIBS |
| 11268 | LIBS="-lutil $LIBS" | 18646 | LIBS="-lutil $LIBS" |
| 11269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18647 | cat >conftest.$ac_ext <<_ACEOF |
| 18648 | /* confdefs.h. */ | ||
| 18649 | _ACEOF | ||
| 18650 | cat confdefs.h >>conftest.$ac_ext | ||
| 18651 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11270 | /* end confdefs.h. */ | 18652 | /* end confdefs.h. */ |
| 11271 | 18653 | ||
| 11272 | /* Override any GCC internal prototype to avoid an error. | 18654 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11284,18 +18666,43 @@ return getloadavg (); | |||
| 11284 | return 0; | 18666 | return 0; |
| 11285 | } | 18667 | } |
| 11286 | _ACEOF | 18668 | _ACEOF |
| 11287 | if ac_fn_c_try_link "$LINENO"; then : | 18669 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18670 | if { (ac_try="$ac_link" | ||
| 18671 | case "(($ac_try" in | ||
| 18672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18673 | *) ac_try_echo=$ac_try;; | ||
| 18674 | esac | ||
| 18675 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18676 | $as_echo "$ac_try_echo") >&5 | ||
| 18677 | (eval "$ac_link") 2>conftest.er1 | ||
| 18678 | ac_status=$? | ||
| 18679 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18680 | rm -f conftest.er1 | ||
| 18681 | cat conftest.err >&5 | ||
| 18682 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18683 | (exit $ac_status); } && { | ||
| 18684 | test -z "$ac_c_werror_flag" || | ||
| 18685 | test ! -s conftest.err | ||
| 18686 | } && test -s conftest$ac_exeext && { | ||
| 18687 | test "$cross_compiling" = yes || | ||
| 18688 | $as_test_x conftest$ac_exeext | ||
| 18689 | }; then | ||
| 11288 | ac_cv_lib_util_getloadavg=yes | 18690 | ac_cv_lib_util_getloadavg=yes |
| 11289 | else | 18691 | else |
| 11290 | ac_cv_lib_util_getloadavg=no | 18692 | $as_echo "$as_me: failed program was:" >&5 |
| 18693 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18694 | |||
| 18695 | ac_cv_lib_util_getloadavg=no | ||
| 11291 | fi | 18696 | fi |
| 11292 | rm -f core conftest.err conftest.$ac_objext \ | 18697 | |
| 11293 | conftest$ac_exeext conftest.$ac_ext | 18698 | rm -rf conftest.dSYM |
| 18699 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18700 | conftest$ac_exeext conftest.$ac_ext | ||
| 11294 | LIBS=$ac_check_lib_save_LIBS | 18701 | LIBS=$ac_check_lib_save_LIBS |
| 11295 | fi | 18702 | fi |
| 11296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 18703 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
| 11297 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 18704 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
| 11298 | if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 18705 | if test $ac_cv_lib_util_getloadavg = yes; then |
| 11299 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 18706 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
| 11300 | fi | 18707 | fi |
| 11301 | 18708 | ||
| @@ -11306,14 +18713,18 @@ if test $ac_have_func = no; then | |||
| 11306 | # Since it is not a standard part of AIX, it might be installed locally. | 18713 | # Since it is not a standard part of AIX, it might be installed locally. |
| 11307 | ac_getloadavg_LIBS=$LIBS | 18714 | ac_getloadavg_LIBS=$LIBS |
| 11308 | LIBS="-L/usr/local/lib $LIBS" | 18715 | LIBS="-L/usr/local/lib $LIBS" |
| 11309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 18716 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
| 11310 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 18717 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
| 11311 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 18718 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
| 11312 | $as_echo_n "(cached) " >&6 | 18719 | $as_echo_n "(cached) " >&6 |
| 11313 | else | 18720 | else |
| 11314 | ac_check_lib_save_LIBS=$LIBS | 18721 | ac_check_lib_save_LIBS=$LIBS |
| 11315 | LIBS="-lgetloadavg $LIBS" | 18722 | LIBS="-lgetloadavg $LIBS" |
| 11316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18723 | cat >conftest.$ac_ext <<_ACEOF |
| 18724 | /* confdefs.h. */ | ||
| 18725 | _ACEOF | ||
| 18726 | cat confdefs.h >>conftest.$ac_ext | ||
| 18727 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11317 | /* end confdefs.h. */ | 18728 | /* end confdefs.h. */ |
| 11318 | 18729 | ||
| 11319 | /* Override any GCC internal prototype to avoid an error. | 18730 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11331,18 +18742,43 @@ return getloadavg (); | |||
| 11331 | return 0; | 18742 | return 0; |
| 11332 | } | 18743 | } |
| 11333 | _ACEOF | 18744 | _ACEOF |
| 11334 | if ac_fn_c_try_link "$LINENO"; then : | 18745 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18746 | if { (ac_try="$ac_link" | ||
| 18747 | case "(($ac_try" in | ||
| 18748 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18749 | *) ac_try_echo=$ac_try;; | ||
| 18750 | esac | ||
| 18751 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18752 | $as_echo "$ac_try_echo") >&5 | ||
| 18753 | (eval "$ac_link") 2>conftest.er1 | ||
| 18754 | ac_status=$? | ||
| 18755 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18756 | rm -f conftest.er1 | ||
| 18757 | cat conftest.err >&5 | ||
| 18758 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18759 | (exit $ac_status); } && { | ||
| 18760 | test -z "$ac_c_werror_flag" || | ||
| 18761 | test ! -s conftest.err | ||
| 18762 | } && test -s conftest$ac_exeext && { | ||
| 18763 | test "$cross_compiling" = yes || | ||
| 18764 | $as_test_x conftest$ac_exeext | ||
| 18765 | }; then | ||
| 11335 | ac_cv_lib_getloadavg_getloadavg=yes | 18766 | ac_cv_lib_getloadavg_getloadavg=yes |
| 11336 | else | 18767 | else |
| 11337 | ac_cv_lib_getloadavg_getloadavg=no | 18768 | $as_echo "$as_me: failed program was:" >&5 |
| 18769 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18770 | |||
| 18771 | ac_cv_lib_getloadavg_getloadavg=no | ||
| 11338 | fi | 18772 | fi |
| 11339 | rm -f core conftest.err conftest.$ac_objext \ | 18773 | |
| 11340 | conftest$ac_exeext conftest.$ac_ext | 18774 | rm -rf conftest.dSYM |
| 18775 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18776 | conftest$ac_exeext conftest.$ac_ext | ||
| 11341 | LIBS=$ac_check_lib_save_LIBS | 18777 | LIBS=$ac_check_lib_save_LIBS |
| 11342 | fi | 18778 | fi |
| 11343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 18779 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
| 11344 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 18780 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
| 11345 | if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 18781 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
| 11346 | LIBS="-lgetloadavg $LIBS" | 18782 | LIBS="-lgetloadavg $LIBS" |
| 11347 | else | 18783 | else |
| 11348 | LIBS=$ac_getloadavg_LIBS | 18784 | LIBS=$ac_getloadavg_LIBS |
| @@ -11352,12 +18788,101 @@ fi | |||
| 11352 | 18788 | ||
| 11353 | # Make sure it is really in the library, if we think we found it, | 18789 | # Make sure it is really in the library, if we think we found it, |
| 11354 | # otherwise set up the replacement function. | 18790 | # otherwise set up the replacement function. |
| 18791 | |||
| 11355 | for ac_func in getloadavg | 18792 | for ac_func in getloadavg |
| 11356 | do : | 18793 | do |
| 11357 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18794 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11358 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18795 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18796 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18797 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18798 | $as_echo_n "(cached) " >&6 | ||
| 18799 | else | ||
| 18800 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18801 | /* confdefs.h. */ | ||
| 18802 | _ACEOF | ||
| 18803 | cat confdefs.h >>conftest.$ac_ext | ||
| 18804 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18805 | /* end confdefs.h. */ | ||
| 18806 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18807 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18808 | #define $ac_func innocuous_$ac_func | ||
| 18809 | |||
| 18810 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18811 | which can conflict with char $ac_func (); below. | ||
| 18812 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18813 | <limits.h> exists even on freestanding compilers. */ | ||
| 18814 | |||
| 18815 | #ifdef __STDC__ | ||
| 18816 | # include <limits.h> | ||
| 18817 | #else | ||
| 18818 | # include <assert.h> | ||
| 18819 | #endif | ||
| 18820 | |||
| 18821 | #undef $ac_func | ||
| 18822 | |||
| 18823 | /* Override any GCC internal prototype to avoid an error. | ||
| 18824 | Use char because int might match the return type of a GCC | ||
| 18825 | builtin and then its argument prototype would still apply. */ | ||
| 18826 | #ifdef __cplusplus | ||
| 18827 | extern "C" | ||
| 18828 | #endif | ||
| 18829 | char $ac_func (); | ||
| 18830 | /* The GNU C library defines this for functions which it implements | ||
| 18831 | to always fail with ENOSYS. Some functions are actually named | ||
| 18832 | something starting with __ and the normal name is an alias. */ | ||
| 18833 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18834 | choke me | ||
| 18835 | #endif | ||
| 18836 | |||
| 18837 | int | ||
| 18838 | main () | ||
| 18839 | { | ||
| 18840 | return $ac_func (); | ||
| 18841 | ; | ||
| 18842 | return 0; | ||
| 18843 | } | ||
| 18844 | _ACEOF | ||
| 18845 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18846 | if { (ac_try="$ac_link" | ||
| 18847 | case "(($ac_try" in | ||
| 18848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18849 | *) ac_try_echo=$ac_try;; | ||
| 18850 | esac | ||
| 18851 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18852 | $as_echo "$ac_try_echo") >&5 | ||
| 18853 | (eval "$ac_link") 2>conftest.er1 | ||
| 18854 | ac_status=$? | ||
| 18855 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18856 | rm -f conftest.er1 | ||
| 18857 | cat conftest.err >&5 | ||
| 18858 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18859 | (exit $ac_status); } && { | ||
| 18860 | test -z "$ac_c_werror_flag" || | ||
| 18861 | test ! -s conftest.err | ||
| 18862 | } && test -s conftest$ac_exeext && { | ||
| 18863 | test "$cross_compiling" = yes || | ||
| 18864 | $as_test_x conftest$ac_exeext | ||
| 18865 | }; then | ||
| 18866 | eval "$as_ac_var=yes" | ||
| 18867 | else | ||
| 18868 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18870 | |||
| 18871 | eval "$as_ac_var=no" | ||
| 18872 | fi | ||
| 18873 | |||
| 18874 | rm -rf conftest.dSYM | ||
| 18875 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18876 | conftest$ac_exeext conftest.$ac_ext | ||
| 18877 | fi | ||
| 18878 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18879 | $as_echo "$as_val"'` | ||
| 18880 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18881 | $as_echo "$ac_res" >&6; } | ||
| 18882 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18883 | $as_echo "$as_val"'` = yes; then | ||
| 11359 | cat >>confdefs.h <<_ACEOF | 18884 | cat >>confdefs.h <<_ACEOF |
| 11360 | #define HAVE_GETLOADAVG 1 | 18885 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11361 | _ACEOF | 18886 | _ACEOF |
| 11362 | 18887 | ||
| 11363 | else | 18888 | else |
| @@ -11368,24 +18893,159 @@ else | |||
| 11368 | esac | 18893 | esac |
| 11369 | 18894 | ||
| 11370 | 18895 | ||
| 11371 | $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 18896 | cat >>confdefs.h <<\_ACEOF |
| 18897 | #define C_GETLOADAVG 1 | ||
| 18898 | _ACEOF | ||
| 11372 | 18899 | ||
| 11373 | # Figure out what our getloadavg.c needs. | 18900 | # Figure out what our getloadavg.c needs. |
| 11374 | ac_have_func=no | 18901 | ac_have_func=no |
| 11375 | ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 18902 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 11376 | if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 18903 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
| 18904 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 18905 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 18906 | $as_echo_n "(cached) " >&6 | ||
| 18907 | fi | ||
| 18908 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 18909 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 18910 | else | ||
| 18911 | # Is the header compilable? | ||
| 18912 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | ||
| 18913 | $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | ||
| 18914 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18915 | /* confdefs.h. */ | ||
| 18916 | _ACEOF | ||
| 18917 | cat confdefs.h >>conftest.$ac_ext | ||
| 18918 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18919 | /* end confdefs.h. */ | ||
| 18920 | $ac_includes_default | ||
| 18921 | #include <sys/dg_sys_info.h> | ||
| 18922 | _ACEOF | ||
| 18923 | rm -f conftest.$ac_objext | ||
| 18924 | if { (ac_try="$ac_compile" | ||
| 18925 | case "(($ac_try" in | ||
| 18926 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18927 | *) ac_try_echo=$ac_try;; | ||
| 18928 | esac | ||
| 18929 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18930 | $as_echo "$ac_try_echo") >&5 | ||
| 18931 | (eval "$ac_compile") 2>conftest.er1 | ||
| 18932 | ac_status=$? | ||
| 18933 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18934 | rm -f conftest.er1 | ||
| 18935 | cat conftest.err >&5 | ||
| 18936 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18937 | (exit $ac_status); } && { | ||
| 18938 | test -z "$ac_c_werror_flag" || | ||
| 18939 | test ! -s conftest.err | ||
| 18940 | } && test -s conftest.$ac_objext; then | ||
| 18941 | ac_header_compiler=yes | ||
| 18942 | else | ||
| 18943 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18944 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18945 | |||
| 18946 | ac_header_compiler=no | ||
| 18947 | fi | ||
| 18948 | |||
| 18949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18950 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 18951 | $as_echo "$ac_header_compiler" >&6; } | ||
| 18952 | |||
| 18953 | # Is the header present? | ||
| 18954 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | ||
| 18955 | $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | ||
| 18956 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18957 | /* confdefs.h. */ | ||
| 18958 | _ACEOF | ||
| 18959 | cat confdefs.h >>conftest.$ac_ext | ||
| 18960 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18961 | /* end confdefs.h. */ | ||
| 18962 | #include <sys/dg_sys_info.h> | ||
| 18963 | _ACEOF | ||
| 18964 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 18965 | case "(($ac_try" in | ||
| 18966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18967 | *) ac_try_echo=$ac_try;; | ||
| 18968 | esac | ||
| 18969 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18970 | $as_echo "$ac_try_echo") >&5 | ||
| 18971 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 18972 | ac_status=$? | ||
| 18973 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18974 | rm -f conftest.er1 | ||
| 18975 | cat conftest.err >&5 | ||
| 18976 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18977 | (exit $ac_status); } >/dev/null && { | ||
| 18978 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 18979 | test ! -s conftest.err | ||
| 18980 | }; then | ||
| 18981 | ac_header_preproc=yes | ||
| 18982 | else | ||
| 18983 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18985 | |||
| 18986 | ac_header_preproc=no | ||
| 18987 | fi | ||
| 18988 | |||
| 18989 | rm -f conftest.err conftest.$ac_ext | ||
| 18990 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 18991 | $as_echo "$ac_header_preproc" >&6; } | ||
| 18992 | |||
| 18993 | # So? What about this header? | ||
| 18994 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 18995 | yes:no: ) | ||
| 18996 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 18997 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 18998 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | ||
| 18999 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | ||
| 19000 | ac_header_preproc=yes | ||
| 19001 | ;; | ||
| 19002 | no:yes:* ) | ||
| 19003 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | ||
| 19004 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | ||
| 19005 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | ||
| 19006 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | ||
| 19007 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | ||
| 19008 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | ||
| 19009 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19010 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19011 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 19012 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | ||
| 19013 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | ||
| 19014 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | ||
| 19015 | |||
| 19016 | ;; | ||
| 19017 | esac | ||
| 19018 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 19019 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 19020 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 19021 | $as_echo_n "(cached) " >&6 | ||
| 19022 | else | ||
| 19023 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | ||
| 19024 | fi | ||
| 19025 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 19026 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 19027 | |||
| 19028 | fi | ||
| 19029 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | ||
| 11377 | ac_have_func=yes | 19030 | ac_have_func=yes |
| 11378 | 19031 | ||
| 11379 | $as_echo "#define DGUX 1" >>confdefs.h | 19032 | cat >>confdefs.h <<\_ACEOF |
| 19033 | #define DGUX 1 | ||
| 19034 | _ACEOF | ||
| 19035 | |||
| 11380 | 19036 | ||
| 11381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 19037 | { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
| 11382 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 19038 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
| 11383 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 19039 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
| 11384 | $as_echo_n "(cached) " >&6 | 19040 | $as_echo_n "(cached) " >&6 |
| 11385 | else | 19041 | else |
| 11386 | ac_check_lib_save_LIBS=$LIBS | 19042 | ac_check_lib_save_LIBS=$LIBS |
| 11387 | LIBS="-ldgc $LIBS" | 19043 | LIBS="-ldgc $LIBS" |
| 11388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19044 | cat >conftest.$ac_ext <<_ACEOF |
| 19045 | /* confdefs.h. */ | ||
| 19046 | _ACEOF | ||
| 19047 | cat confdefs.h >>conftest.$ac_ext | ||
| 19048 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11389 | /* end confdefs.h. */ | 19049 | /* end confdefs.h. */ |
| 11390 | 19050 | ||
| 11391 | /* Override any GCC internal prototype to avoid an error. | 19051 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11403,18 +19063,43 @@ return dg_sys_info (); | |||
| 11403 | return 0; | 19063 | return 0; |
| 11404 | } | 19064 | } |
| 11405 | _ACEOF | 19065 | _ACEOF |
| 11406 | if ac_fn_c_try_link "$LINENO"; then : | 19066 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19067 | if { (ac_try="$ac_link" | ||
| 19068 | case "(($ac_try" in | ||
| 19069 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19070 | *) ac_try_echo=$ac_try;; | ||
| 19071 | esac | ||
| 19072 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19073 | $as_echo "$ac_try_echo") >&5 | ||
| 19074 | (eval "$ac_link") 2>conftest.er1 | ||
| 19075 | ac_status=$? | ||
| 19076 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19077 | rm -f conftest.er1 | ||
| 19078 | cat conftest.err >&5 | ||
| 19079 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19080 | (exit $ac_status); } && { | ||
| 19081 | test -z "$ac_c_werror_flag" || | ||
| 19082 | test ! -s conftest.err | ||
| 19083 | } && test -s conftest$ac_exeext && { | ||
| 19084 | test "$cross_compiling" = yes || | ||
| 19085 | $as_test_x conftest$ac_exeext | ||
| 19086 | }; then | ||
| 11407 | ac_cv_lib_dgc_dg_sys_info=yes | 19087 | ac_cv_lib_dgc_dg_sys_info=yes |
| 11408 | else | 19088 | else |
| 11409 | ac_cv_lib_dgc_dg_sys_info=no | 19089 | $as_echo "$as_me: failed program was:" >&5 |
| 19090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19091 | |||
| 19092 | ac_cv_lib_dgc_dg_sys_info=no | ||
| 11410 | fi | 19093 | fi |
| 11411 | rm -f core conftest.err conftest.$ac_objext \ | 19094 | |
| 11412 | conftest$ac_exeext conftest.$ac_ext | 19095 | rm -rf conftest.dSYM |
| 19096 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19097 | conftest$ac_exeext conftest.$ac_ext | ||
| 11413 | LIBS=$ac_check_lib_save_LIBS | 19098 | LIBS=$ac_check_lib_save_LIBS |
| 11414 | fi | 19099 | fi |
| 11415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 19100 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
| 11416 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 19101 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
| 11417 | if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 19102 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
| 11418 | cat >>confdefs.h <<_ACEOF | 19103 | cat >>confdefs.h <<_ACEOF |
| 11419 | #define HAVE_LIBDGC 1 | 19104 | #define HAVE_LIBDGC 1 |
| 11420 | _ACEOF | 19105 | _ACEOF |
| @@ -11427,18 +19112,230 @@ fi | |||
| 11427 | 19112 | ||
| 11428 | 19113 | ||
| 11429 | 19114 | ||
| 11430 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 19115 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 11431 | if test "x$ac_cv_header_locale_h" = x""yes; then : | 19116 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 |
| 19117 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19118 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19119 | $as_echo_n "(cached) " >&6 | ||
| 19120 | fi | ||
| 19121 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19122 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 19123 | else | ||
| 19124 | # Is the header compilable? | ||
| 19125 | { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | ||
| 19126 | $as_echo_n "checking locale.h usability... " >&6; } | ||
| 19127 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19128 | /* confdefs.h. */ | ||
| 19129 | _ACEOF | ||
| 19130 | cat confdefs.h >>conftest.$ac_ext | ||
| 19131 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19132 | /* end confdefs.h. */ | ||
| 19133 | $ac_includes_default | ||
| 19134 | #include <locale.h> | ||
| 19135 | _ACEOF | ||
| 19136 | rm -f conftest.$ac_objext | ||
| 19137 | if { (ac_try="$ac_compile" | ||
| 19138 | case "(($ac_try" in | ||
| 19139 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19140 | *) ac_try_echo=$ac_try;; | ||
| 19141 | esac | ||
| 19142 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19143 | $as_echo "$ac_try_echo") >&5 | ||
| 19144 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19145 | ac_status=$? | ||
| 19146 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19147 | rm -f conftest.er1 | ||
| 19148 | cat conftest.err >&5 | ||
| 19149 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19150 | (exit $ac_status); } && { | ||
| 19151 | test -z "$ac_c_werror_flag" || | ||
| 19152 | test ! -s conftest.err | ||
| 19153 | } && test -s conftest.$ac_objext; then | ||
| 19154 | ac_header_compiler=yes | ||
| 19155 | else | ||
| 19156 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19157 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19158 | |||
| 19159 | ac_header_compiler=no | ||
| 19160 | fi | ||
| 19161 | |||
| 19162 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19163 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19164 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19165 | |||
| 19166 | # Is the header present? | ||
| 19167 | { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | ||
| 19168 | $as_echo_n "checking locale.h presence... " >&6; } | ||
| 19169 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19170 | /* confdefs.h. */ | ||
| 19171 | _ACEOF | ||
| 19172 | cat confdefs.h >>conftest.$ac_ext | ||
| 19173 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19174 | /* end confdefs.h. */ | ||
| 19175 | #include <locale.h> | ||
| 19176 | _ACEOF | ||
| 19177 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19178 | case "(($ac_try" in | ||
| 19179 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19180 | *) ac_try_echo=$ac_try;; | ||
| 19181 | esac | ||
| 19182 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19183 | $as_echo "$ac_try_echo") >&5 | ||
| 19184 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19185 | ac_status=$? | ||
| 19186 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19187 | rm -f conftest.er1 | ||
| 19188 | cat conftest.err >&5 | ||
| 19189 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19190 | (exit $ac_status); } >/dev/null && { | ||
| 19191 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19192 | test ! -s conftest.err | ||
| 19193 | }; then | ||
| 19194 | ac_header_preproc=yes | ||
| 19195 | else | ||
| 19196 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19197 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19198 | |||
| 19199 | ac_header_preproc=no | ||
| 19200 | fi | ||
| 19201 | |||
| 19202 | rm -f conftest.err conftest.$ac_ext | ||
| 19203 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19204 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19205 | |||
| 19206 | # So? What about this header? | ||
| 19207 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19208 | yes:no: ) | ||
| 19209 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19210 | $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19211 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | ||
| 19212 | $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | ||
| 19213 | ac_header_preproc=yes | ||
| 19214 | ;; | ||
| 19215 | no:yes:* ) | ||
| 19216 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | ||
| 19217 | $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | ||
| 19218 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | ||
| 19219 | $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | ||
| 19220 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | ||
| 19221 | $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | ||
| 19222 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19223 | $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19224 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 19225 | $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | ||
| 19226 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | ||
| 19227 | $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | ||
| 19228 | |||
| 19229 | ;; | ||
| 19230 | esac | ||
| 19231 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 19232 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19233 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19234 | $as_echo_n "(cached) " >&6 | ||
| 19235 | else | ||
| 19236 | ac_cv_header_locale_h=$ac_header_preproc | ||
| 19237 | fi | ||
| 19238 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19239 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 11432 | 19240 | ||
| 11433 | fi | 19241 | fi |
| 11434 | 19242 | ||
| 11435 | 19243 | ||
| 19244 | |||
| 11436 | for ac_func in setlocale | 19245 | for ac_func in setlocale |
| 11437 | do : | 19246 | do |
| 11438 | ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 19247 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11439 | if test "x$ac_cv_func_setlocale" = x""yes; then : | 19248 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 19249 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 19250 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19251 | $as_echo_n "(cached) " >&6 | ||
| 19252 | else | ||
| 19253 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19254 | /* confdefs.h. */ | ||
| 19255 | _ACEOF | ||
| 19256 | cat confdefs.h >>conftest.$ac_ext | ||
| 19257 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19258 | /* end confdefs.h. */ | ||
| 19259 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 19260 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 19261 | #define $ac_func innocuous_$ac_func | ||
| 19262 | |||
| 19263 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 19264 | which can conflict with char $ac_func (); below. | ||
| 19265 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 19266 | <limits.h> exists even on freestanding compilers. */ | ||
| 19267 | |||
| 19268 | #ifdef __STDC__ | ||
| 19269 | # include <limits.h> | ||
| 19270 | #else | ||
| 19271 | # include <assert.h> | ||
| 19272 | #endif | ||
| 19273 | |||
| 19274 | #undef $ac_func | ||
| 19275 | |||
| 19276 | /* Override any GCC internal prototype to avoid an error. | ||
| 19277 | Use char because int might match the return type of a GCC | ||
| 19278 | builtin and then its argument prototype would still apply. */ | ||
| 19279 | #ifdef __cplusplus | ||
| 19280 | extern "C" | ||
| 19281 | #endif | ||
| 19282 | char $ac_func (); | ||
| 19283 | /* The GNU C library defines this for functions which it implements | ||
| 19284 | to always fail with ENOSYS. Some functions are actually named | ||
| 19285 | something starting with __ and the normal name is an alias. */ | ||
| 19286 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 19287 | choke me | ||
| 19288 | #endif | ||
| 19289 | |||
| 19290 | int | ||
| 19291 | main () | ||
| 19292 | { | ||
| 19293 | return $ac_func (); | ||
| 19294 | ; | ||
| 19295 | return 0; | ||
| 19296 | } | ||
| 19297 | _ACEOF | ||
| 19298 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 19299 | if { (ac_try="$ac_link" | ||
| 19300 | case "(($ac_try" in | ||
| 19301 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19302 | *) ac_try_echo=$ac_try;; | ||
| 19303 | esac | ||
| 19304 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19305 | $as_echo "$ac_try_echo") >&5 | ||
| 19306 | (eval "$ac_link") 2>conftest.er1 | ||
| 19307 | ac_status=$? | ||
| 19308 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19309 | rm -f conftest.er1 | ||
| 19310 | cat conftest.err >&5 | ||
| 19311 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19312 | (exit $ac_status); } && { | ||
| 19313 | test -z "$ac_c_werror_flag" || | ||
| 19314 | test ! -s conftest.err | ||
| 19315 | } && test -s conftest$ac_exeext && { | ||
| 19316 | test "$cross_compiling" = yes || | ||
| 19317 | $as_test_x conftest$ac_exeext | ||
| 19318 | }; then | ||
| 19319 | eval "$as_ac_var=yes" | ||
| 19320 | else | ||
| 19321 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19322 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19323 | |||
| 19324 | eval "$as_ac_var=no" | ||
| 19325 | fi | ||
| 19326 | |||
| 19327 | rm -rf conftest.dSYM | ||
| 19328 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19329 | conftest$ac_exeext conftest.$ac_ext | ||
| 19330 | fi | ||
| 19331 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 19332 | $as_echo "$as_val"'` | ||
| 19333 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19334 | $as_echo "$ac_res" >&6; } | ||
| 19335 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 19336 | $as_echo "$as_val"'` = yes; then | ||
| 11440 | cat >>confdefs.h <<_ACEOF | 19337 | cat >>confdefs.h <<_ACEOF |
| 11441 | #define HAVE_SETLOCALE 1 | 19338 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11442 | _ACEOF | 19339 | _ACEOF |
| 11443 | 19340 | ||
| 11444 | fi | 19341 | fi |
| @@ -11451,19 +19348,151 @@ done | |||
| 11451 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 19348 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
| 11452 | ac_have_func=yes | 19349 | ac_have_func=yes |
| 11453 | 19350 | ||
| 11454 | $as_echo "#define SVR4 1" >>confdefs.h | 19351 | cat >>confdefs.h <<\_ACEOF |
| 19352 | #define SVR4 1 | ||
| 19353 | _ACEOF | ||
| 11455 | 19354 | ||
| 11456 | fi | 19355 | fi |
| 11457 | 19356 | ||
| 11458 | if test $ac_have_func = no; then | 19357 | if test $ac_have_func = no; then |
| 11459 | ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 19358 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 11460 | if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 19359 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
| 19360 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19361 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19362 | $as_echo_n "(cached) " >&6 | ||
| 19363 | fi | ||
| 19364 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19365 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19366 | else | ||
| 19367 | # Is the header compilable? | ||
| 19368 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | ||
| 19369 | $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | ||
| 19370 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19371 | /* confdefs.h. */ | ||
| 19372 | _ACEOF | ||
| 19373 | cat confdefs.h >>conftest.$ac_ext | ||
| 19374 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19375 | /* end confdefs.h. */ | ||
| 19376 | $ac_includes_default | ||
| 19377 | #include <inq_stats/cpustats.h> | ||
| 19378 | _ACEOF | ||
| 19379 | rm -f conftest.$ac_objext | ||
| 19380 | if { (ac_try="$ac_compile" | ||
| 19381 | case "(($ac_try" in | ||
| 19382 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19383 | *) ac_try_echo=$ac_try;; | ||
| 19384 | esac | ||
| 19385 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19386 | $as_echo "$ac_try_echo") >&5 | ||
| 19387 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19388 | ac_status=$? | ||
| 19389 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19390 | rm -f conftest.er1 | ||
| 19391 | cat conftest.err >&5 | ||
| 19392 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19393 | (exit $ac_status); } && { | ||
| 19394 | test -z "$ac_c_werror_flag" || | ||
| 19395 | test ! -s conftest.err | ||
| 19396 | } && test -s conftest.$ac_objext; then | ||
| 19397 | ac_header_compiler=yes | ||
| 19398 | else | ||
| 19399 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19401 | |||
| 19402 | ac_header_compiler=no | ||
| 19403 | fi | ||
| 19404 | |||
| 19405 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19406 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19407 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19408 | |||
| 19409 | # Is the header present? | ||
| 19410 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | ||
| 19411 | $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | ||
| 19412 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19413 | /* confdefs.h. */ | ||
| 19414 | _ACEOF | ||
| 19415 | cat confdefs.h >>conftest.$ac_ext | ||
| 19416 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19417 | /* end confdefs.h. */ | ||
| 19418 | #include <inq_stats/cpustats.h> | ||
| 19419 | _ACEOF | ||
| 19420 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19421 | case "(($ac_try" in | ||
| 19422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19423 | *) ac_try_echo=$ac_try;; | ||
| 19424 | esac | ||
| 19425 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19426 | $as_echo "$ac_try_echo") >&5 | ||
| 19427 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19428 | ac_status=$? | ||
| 19429 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19430 | rm -f conftest.er1 | ||
| 19431 | cat conftest.err >&5 | ||
| 19432 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19433 | (exit $ac_status); } >/dev/null && { | ||
| 19434 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19435 | test ! -s conftest.err | ||
| 19436 | }; then | ||
| 19437 | ac_header_preproc=yes | ||
| 19438 | else | ||
| 19439 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19440 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19441 | |||
| 19442 | ac_header_preproc=no | ||
| 19443 | fi | ||
| 19444 | |||
| 19445 | rm -f conftest.err conftest.$ac_ext | ||
| 19446 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19447 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19448 | |||
| 19449 | # So? What about this header? | ||
| 19450 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19451 | yes:no: ) | ||
| 19452 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19453 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19454 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19455 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19456 | ac_header_preproc=yes | ||
| 19457 | ;; | ||
| 19458 | no:yes:* ) | ||
| 19459 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | ||
| 19460 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19461 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19462 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19463 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19464 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19465 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19466 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19467 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19468 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19469 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19470 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19471 | |||
| 19472 | ;; | ||
| 19473 | esac | ||
| 19474 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 19475 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19476 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19477 | $as_echo_n "(cached) " >&6 | ||
| 19478 | else | ||
| 19479 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | ||
| 19480 | fi | ||
| 19481 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19482 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19483 | |||
| 19484 | fi | ||
| 19485 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | ||
| 11461 | ac_have_func=yes | 19486 | ac_have_func=yes |
| 11462 | 19487 | ||
| 11463 | $as_echo "#define UMAX 1" >>confdefs.h | 19488 | cat >>confdefs.h <<\_ACEOF |
| 19489 | #define UMAX 1 | ||
| 19490 | _ACEOF | ||
| 11464 | 19491 | ||
| 11465 | 19492 | ||
| 11466 | $as_echo "#define UMAX4_3 1" >>confdefs.h | 19493 | cat >>confdefs.h <<\_ACEOF |
| 19494 | #define UMAX4_3 1 | ||
| 19495 | _ACEOF | ||
| 11467 | 19496 | ||
| 11468 | fi | 19497 | fi |
| 11469 | 19498 | ||
| @@ -11471,9 +19500,137 @@ fi | |||
| 11471 | fi | 19500 | fi |
| 11472 | 19501 | ||
| 11473 | if test $ac_have_func = no; then | 19502 | if test $ac_have_func = no; then |
| 11474 | ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 19503 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 11475 | if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 19504 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
| 11476 | ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 19505 | $as_echo_n "checking for sys/cpustats.h... " >&6; } |
| 19506 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19507 | $as_echo_n "(cached) " >&6 | ||
| 19508 | fi | ||
| 19509 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19510 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19511 | else | ||
| 19512 | # Is the header compilable? | ||
| 19513 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | ||
| 19514 | $as_echo_n "checking sys/cpustats.h usability... " >&6; } | ||
| 19515 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19516 | /* confdefs.h. */ | ||
| 19517 | _ACEOF | ||
| 19518 | cat confdefs.h >>conftest.$ac_ext | ||
| 19519 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19520 | /* end confdefs.h. */ | ||
| 19521 | $ac_includes_default | ||
| 19522 | #include <sys/cpustats.h> | ||
| 19523 | _ACEOF | ||
| 19524 | rm -f conftest.$ac_objext | ||
| 19525 | if { (ac_try="$ac_compile" | ||
| 19526 | case "(($ac_try" in | ||
| 19527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19528 | *) ac_try_echo=$ac_try;; | ||
| 19529 | esac | ||
| 19530 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19531 | $as_echo "$ac_try_echo") >&5 | ||
| 19532 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19533 | ac_status=$? | ||
| 19534 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19535 | rm -f conftest.er1 | ||
| 19536 | cat conftest.err >&5 | ||
| 19537 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19538 | (exit $ac_status); } && { | ||
| 19539 | test -z "$ac_c_werror_flag" || | ||
| 19540 | test ! -s conftest.err | ||
| 19541 | } && test -s conftest.$ac_objext; then | ||
| 19542 | ac_header_compiler=yes | ||
| 19543 | else | ||
| 19544 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19545 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19546 | |||
| 19547 | ac_header_compiler=no | ||
| 19548 | fi | ||
| 19549 | |||
| 19550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19551 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19552 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19553 | |||
| 19554 | # Is the header present? | ||
| 19555 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | ||
| 19556 | $as_echo_n "checking sys/cpustats.h presence... " >&6; } | ||
| 19557 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19558 | /* confdefs.h. */ | ||
| 19559 | _ACEOF | ||
| 19560 | cat confdefs.h >>conftest.$ac_ext | ||
| 19561 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19562 | /* end confdefs.h. */ | ||
| 19563 | #include <sys/cpustats.h> | ||
| 19564 | _ACEOF | ||
| 19565 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19566 | case "(($ac_try" in | ||
| 19567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19568 | *) ac_try_echo=$ac_try;; | ||
| 19569 | esac | ||
| 19570 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19571 | $as_echo "$ac_try_echo") >&5 | ||
| 19572 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19573 | ac_status=$? | ||
| 19574 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19575 | rm -f conftest.er1 | ||
| 19576 | cat conftest.err >&5 | ||
| 19577 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19578 | (exit $ac_status); } >/dev/null && { | ||
| 19579 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19580 | test ! -s conftest.err | ||
| 19581 | }; then | ||
| 19582 | ac_header_preproc=yes | ||
| 19583 | else | ||
| 19584 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19585 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19586 | |||
| 19587 | ac_header_preproc=no | ||
| 19588 | fi | ||
| 19589 | |||
| 19590 | rm -f conftest.err conftest.$ac_ext | ||
| 19591 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19592 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19593 | |||
| 19594 | # So? What about this header? | ||
| 19595 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19596 | yes:no: ) | ||
| 19597 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19598 | $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19599 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19600 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19601 | ac_header_preproc=yes | ||
| 19602 | ;; | ||
| 19603 | no:yes:* ) | ||
| 19604 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | ||
| 19605 | $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19606 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19607 | $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19608 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19609 | $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19610 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19611 | $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19612 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19613 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19614 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19615 | $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19616 | |||
| 19617 | ;; | ||
| 19618 | esac | ||
| 19619 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 19620 | $as_echo_n "checking for sys/cpustats.h... " >&6; } | ||
| 19621 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19622 | $as_echo_n "(cached) " >&6 | ||
| 19623 | else | ||
| 19624 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | ||
| 19625 | fi | ||
| 19626 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19627 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19628 | |||
| 19629 | fi | ||
| 19630 | if test $ac_cv_header_sys_cpustats_h = yes; then | ||
| 19631 | ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | ||
| 19632 | #define UMAX 1 | ||
| 19633 | _ACEOF | ||
| 11477 | 19634 | ||
| 11478 | fi | 19635 | fi |
| 11479 | 19636 | ||
| @@ -11481,12 +19638,145 @@ fi | |||
| 11481 | fi | 19638 | fi |
| 11482 | 19639 | ||
| 11483 | if test $ac_have_func = no; then | 19640 | if test $ac_have_func = no; then |
| 11484 | for ac_header in mach/mach.h | 19641 | |
| 11485 | do : | 19642 | for ac_header in mach/mach.h |
| 11486 | ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 19643 | do |
| 11487 | if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 19644 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19645 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19646 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19647 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19648 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19649 | $as_echo_n "(cached) " >&6 | ||
| 19650 | fi | ||
| 19651 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19652 | $as_echo "$as_val"'` | ||
| 19653 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19654 | $as_echo "$ac_res" >&6; } | ||
| 19655 | else | ||
| 19656 | # Is the header compilable? | ||
| 19657 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19658 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19659 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19660 | /* confdefs.h. */ | ||
| 19661 | _ACEOF | ||
| 19662 | cat confdefs.h >>conftest.$ac_ext | ||
| 19663 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19664 | /* end confdefs.h. */ | ||
| 19665 | $ac_includes_default | ||
| 19666 | #include <$ac_header> | ||
| 19667 | _ACEOF | ||
| 19668 | rm -f conftest.$ac_objext | ||
| 19669 | if { (ac_try="$ac_compile" | ||
| 19670 | case "(($ac_try" in | ||
| 19671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19672 | *) ac_try_echo=$ac_try;; | ||
| 19673 | esac | ||
| 19674 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19675 | $as_echo "$ac_try_echo") >&5 | ||
| 19676 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19677 | ac_status=$? | ||
| 19678 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19679 | rm -f conftest.er1 | ||
| 19680 | cat conftest.err >&5 | ||
| 19681 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19682 | (exit $ac_status); } && { | ||
| 19683 | test -z "$ac_c_werror_flag" || | ||
| 19684 | test ! -s conftest.err | ||
| 19685 | } && test -s conftest.$ac_objext; then | ||
| 19686 | ac_header_compiler=yes | ||
| 19687 | else | ||
| 19688 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19689 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19690 | |||
| 19691 | ac_header_compiler=no | ||
| 19692 | fi | ||
| 19693 | |||
| 19694 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19695 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19696 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19697 | |||
| 19698 | # Is the header present? | ||
| 19699 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19700 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19701 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19702 | /* confdefs.h. */ | ||
| 19703 | _ACEOF | ||
| 19704 | cat confdefs.h >>conftest.$ac_ext | ||
| 19705 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19706 | /* end confdefs.h. */ | ||
| 19707 | #include <$ac_header> | ||
| 19708 | _ACEOF | ||
| 19709 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19710 | case "(($ac_try" in | ||
| 19711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19712 | *) ac_try_echo=$ac_try;; | ||
| 19713 | esac | ||
| 19714 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19715 | $as_echo "$ac_try_echo") >&5 | ||
| 19716 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19717 | ac_status=$? | ||
| 19718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19719 | rm -f conftest.er1 | ||
| 19720 | cat conftest.err >&5 | ||
| 19721 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19722 | (exit $ac_status); } >/dev/null && { | ||
| 19723 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19724 | test ! -s conftest.err | ||
| 19725 | }; then | ||
| 19726 | ac_header_preproc=yes | ||
| 19727 | else | ||
| 19728 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19729 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19730 | |||
| 19731 | ac_header_preproc=no | ||
| 19732 | fi | ||
| 19733 | |||
| 19734 | rm -f conftest.err conftest.$ac_ext | ||
| 19735 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19736 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19737 | |||
| 19738 | # So? What about this header? | ||
| 19739 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19740 | yes:no: ) | ||
| 19741 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19742 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19743 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19744 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19745 | ac_header_preproc=yes | ||
| 19746 | ;; | ||
| 19747 | no:yes:* ) | ||
| 19748 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19749 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19750 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19751 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19752 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19753 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19754 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19755 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19756 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19757 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19758 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19759 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19760 | |||
| 19761 | ;; | ||
| 19762 | esac | ||
| 19763 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19764 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19765 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19766 | $as_echo_n "(cached) " >&6 | ||
| 19767 | else | ||
| 19768 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19769 | fi | ||
| 19770 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19771 | $as_echo "$as_val"'` | ||
| 19772 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19773 | $as_echo "$ac_res" >&6; } | ||
| 19774 | |||
| 19775 | fi | ||
| 19776 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19777 | $as_echo "$as_val"'` = yes; then | ||
| 11488 | cat >>confdefs.h <<_ACEOF | 19778 | cat >>confdefs.h <<_ACEOF |
| 11489 | #define HAVE_MACH_MACH_H 1 | 19779 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11490 | _ACEOF | 19780 | _ACEOF |
| 11491 | 19781 | ||
| 11492 | fi | 19782 | fi |
| @@ -11495,23 +19785,253 @@ done | |||
| 11495 | 19785 | ||
| 11496 | fi | 19786 | fi |
| 11497 | 19787 | ||
| 19788 | |||
| 11498 | for ac_header in nlist.h | 19789 | for ac_header in nlist.h |
| 11499 | do : | 19790 | do |
| 11500 | ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 19791 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11501 | if test "x$ac_cv_header_nlist_h" = x""yes; then : | 19792 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19793 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19794 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19795 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19796 | $as_echo_n "(cached) " >&6 | ||
| 19797 | fi | ||
| 19798 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19799 | $as_echo "$as_val"'` | ||
| 19800 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19801 | $as_echo "$ac_res" >&6; } | ||
| 19802 | else | ||
| 19803 | # Is the header compilable? | ||
| 19804 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19805 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19806 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19807 | /* confdefs.h. */ | ||
| 19808 | _ACEOF | ||
| 19809 | cat confdefs.h >>conftest.$ac_ext | ||
| 19810 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19811 | /* end confdefs.h. */ | ||
| 19812 | $ac_includes_default | ||
| 19813 | #include <$ac_header> | ||
| 19814 | _ACEOF | ||
| 19815 | rm -f conftest.$ac_objext | ||
| 19816 | if { (ac_try="$ac_compile" | ||
| 19817 | case "(($ac_try" in | ||
| 19818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19819 | *) ac_try_echo=$ac_try;; | ||
| 19820 | esac | ||
| 19821 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19822 | $as_echo "$ac_try_echo") >&5 | ||
| 19823 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19824 | ac_status=$? | ||
| 19825 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19826 | rm -f conftest.er1 | ||
| 19827 | cat conftest.err >&5 | ||
| 19828 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19829 | (exit $ac_status); } && { | ||
| 19830 | test -z "$ac_c_werror_flag" || | ||
| 19831 | test ! -s conftest.err | ||
| 19832 | } && test -s conftest.$ac_objext; then | ||
| 19833 | ac_header_compiler=yes | ||
| 19834 | else | ||
| 19835 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19836 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19837 | |||
| 19838 | ac_header_compiler=no | ||
| 19839 | fi | ||
| 19840 | |||
| 19841 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19842 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19843 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19844 | |||
| 19845 | # Is the header present? | ||
| 19846 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19847 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19848 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19849 | /* confdefs.h. */ | ||
| 19850 | _ACEOF | ||
| 19851 | cat confdefs.h >>conftest.$ac_ext | ||
| 19852 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19853 | /* end confdefs.h. */ | ||
| 19854 | #include <$ac_header> | ||
| 19855 | _ACEOF | ||
| 19856 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19857 | case "(($ac_try" in | ||
| 19858 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19859 | *) ac_try_echo=$ac_try;; | ||
| 19860 | esac | ||
| 19861 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19862 | $as_echo "$ac_try_echo") >&5 | ||
| 19863 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19864 | ac_status=$? | ||
| 19865 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19866 | rm -f conftest.er1 | ||
| 19867 | cat conftest.err >&5 | ||
| 19868 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19869 | (exit $ac_status); } >/dev/null && { | ||
| 19870 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19871 | test ! -s conftest.err | ||
| 19872 | }; then | ||
| 19873 | ac_header_preproc=yes | ||
| 19874 | else | ||
| 19875 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19876 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19877 | |||
| 19878 | ac_header_preproc=no | ||
| 19879 | fi | ||
| 19880 | |||
| 19881 | rm -f conftest.err conftest.$ac_ext | ||
| 19882 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19883 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19884 | |||
| 19885 | # So? What about this header? | ||
| 19886 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19887 | yes:no: ) | ||
| 19888 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19889 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19890 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19891 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19892 | ac_header_preproc=yes | ||
| 19893 | ;; | ||
| 19894 | no:yes:* ) | ||
| 19895 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19896 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19897 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19898 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19899 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19900 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19901 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19902 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19903 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19904 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19905 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19906 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19907 | |||
| 19908 | ;; | ||
| 19909 | esac | ||
| 19910 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19911 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19912 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19913 | $as_echo_n "(cached) " >&6 | ||
| 19914 | else | ||
| 19915 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19916 | fi | ||
| 19917 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19918 | $as_echo "$as_val"'` | ||
| 19919 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19920 | $as_echo "$ac_res" >&6; } | ||
| 19921 | |||
| 19922 | fi | ||
| 19923 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19924 | $as_echo "$as_val"'` = yes; then | ||
| 11502 | cat >>confdefs.h <<_ACEOF | 19925 | cat >>confdefs.h <<_ACEOF |
| 11503 | #define HAVE_NLIST_H 1 | 19926 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11504 | _ACEOF | 19927 | _ACEOF |
| 11505 | ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 19928 | { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
| 11506 | " | 19929 | $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } |
| 11507 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 19930 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
| 19931 | $as_echo_n "(cached) " >&6 | ||
| 19932 | else | ||
| 19933 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19934 | /* confdefs.h. */ | ||
| 19935 | _ACEOF | ||
| 19936 | cat confdefs.h >>conftest.$ac_ext | ||
| 19937 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19938 | /* end confdefs.h. */ | ||
| 19939 | #include <nlist.h> | ||
| 19940 | |||
| 19941 | int | ||
| 19942 | main () | ||
| 19943 | { | ||
| 19944 | static struct nlist ac_aggr; | ||
| 19945 | if (ac_aggr.n_un.n_name) | ||
| 19946 | return 0; | ||
| 19947 | ; | ||
| 19948 | return 0; | ||
| 19949 | } | ||
| 19950 | _ACEOF | ||
| 19951 | rm -f conftest.$ac_objext | ||
| 19952 | if { (ac_try="$ac_compile" | ||
| 19953 | case "(($ac_try" in | ||
| 19954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19955 | *) ac_try_echo=$ac_try;; | ||
| 19956 | esac | ||
| 19957 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19958 | $as_echo "$ac_try_echo") >&5 | ||
| 19959 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19960 | ac_status=$? | ||
| 19961 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19962 | rm -f conftest.er1 | ||
| 19963 | cat conftest.err >&5 | ||
| 19964 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19965 | (exit $ac_status); } && { | ||
| 19966 | test -z "$ac_c_werror_flag" || | ||
| 19967 | test ! -s conftest.err | ||
| 19968 | } && test -s conftest.$ac_objext; then | ||
| 19969 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 19970 | else | ||
| 19971 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19972 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19973 | |||
| 19974 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19975 | /* confdefs.h. */ | ||
| 19976 | _ACEOF | ||
| 19977 | cat confdefs.h >>conftest.$ac_ext | ||
| 19978 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19979 | /* end confdefs.h. */ | ||
| 19980 | #include <nlist.h> | ||
| 19981 | |||
| 19982 | int | ||
| 19983 | main () | ||
| 19984 | { | ||
| 19985 | static struct nlist ac_aggr; | ||
| 19986 | if (sizeof ac_aggr.n_un.n_name) | ||
| 19987 | return 0; | ||
| 19988 | ; | ||
| 19989 | return 0; | ||
| 19990 | } | ||
| 19991 | _ACEOF | ||
| 19992 | rm -f conftest.$ac_objext | ||
| 19993 | if { (ac_try="$ac_compile" | ||
| 19994 | case "(($ac_try" in | ||
| 19995 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19996 | *) ac_try_echo=$ac_try;; | ||
| 19997 | esac | ||
| 19998 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19999 | $as_echo "$ac_try_echo") >&5 | ||
| 20000 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20001 | ac_status=$? | ||
| 20002 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20003 | rm -f conftest.er1 | ||
| 20004 | cat conftest.err >&5 | ||
| 20005 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20006 | (exit $ac_status); } && { | ||
| 20007 | test -z "$ac_c_werror_flag" || | ||
| 20008 | test ! -s conftest.err | ||
| 20009 | } && test -s conftest.$ac_objext; then | ||
| 20010 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 20011 | else | ||
| 20012 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20013 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20014 | |||
| 20015 | ac_cv_member_struct_nlist_n_un_n_name=no | ||
| 20016 | fi | ||
| 20017 | |||
| 20018 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20019 | fi | ||
| 20020 | |||
| 20021 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20022 | fi | ||
| 20023 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | ||
| 20024 | $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | ||
| 20025 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | ||
| 11508 | 20026 | ||
| 11509 | cat >>confdefs.h <<_ACEOF | 20027 | cat >>confdefs.h <<_ACEOF |
| 11510 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 20028 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
| 11511 | _ACEOF | 20029 | _ACEOF |
| 11512 | 20030 | ||
| 11513 | 20031 | ||
| 11514 | $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h | 20032 | cat >>confdefs.h <<\_ACEOF |
| 20033 | #define NLIST_NAME_UNION 1 | ||
| 20034 | _ACEOF | ||
| 11515 | 20035 | ||
| 11516 | fi | 20036 | fi |
| 11517 | 20037 | ||
| @@ -11525,12 +20045,16 @@ done | |||
| 11525 | 20045 | ||
| 11526 | 20046 | ||
| 11527 | # Some definitions of getloadavg require that the program be installed setgid. | 20047 | # Some definitions of getloadavg require that the program be installed setgid. |
| 11528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 20048 | { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
| 11529 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 20049 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
| 11530 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 20050 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
| 11531 | $as_echo_n "(cached) " >&6 | 20051 | $as_echo_n "(cached) " >&6 |
| 11532 | else | 20052 | else |
| 11533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20053 | cat >conftest.$ac_ext <<_ACEOF |
| 20054 | /* confdefs.h. */ | ||
| 20055 | _ACEOF | ||
| 20056 | cat confdefs.h >>conftest.$ac_ext | ||
| 20057 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11534 | /* end confdefs.h. */ | 20058 | /* end confdefs.h. */ |
| 11535 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 20059 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
| 11536 | #ifdef LDAV_PRIVILEGED | 20060 | #ifdef LDAV_PRIVILEGED |
| @@ -11538,7 +20062,7 @@ Yowza Am I SETGID yet | |||
| 11538 | #endif | 20062 | #endif |
| 11539 | _ACEOF | 20063 | _ACEOF |
| 11540 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20064 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 11541 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : | 20065 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then |
| 11542 | ac_cv_func_getloadavg_setgid=yes | 20066 | ac_cv_func_getloadavg_setgid=yes |
| 11543 | else | 20067 | else |
| 11544 | ac_cv_func_getloadavg_setgid=no | 20068 | ac_cv_func_getloadavg_setgid=no |
| @@ -11546,21 +20070,23 @@ fi | |||
| 11546 | rm -f conftest* | 20070 | rm -f conftest* |
| 11547 | 20071 | ||
| 11548 | fi | 20072 | fi |
| 11549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 | 20073 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
| 11550 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 20074 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
| 11551 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20075 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11552 | NEED_SETGID=true | 20076 | NEED_SETGID=true |
| 11553 | 20077 | ||
| 11554 | $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h | 20078 | cat >>confdefs.h <<\_ACEOF |
| 20079 | #define GETLOADAVG_PRIVILEGED 1 | ||
| 20080 | _ACEOF | ||
| 11555 | 20081 | ||
| 11556 | else | 20082 | else |
| 11557 | NEED_SETGID=false | 20083 | NEED_SETGID=false |
| 11558 | fi | 20084 | fi |
| 11559 | 20085 | ||
| 11560 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20086 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11561 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 20087 | { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
| 11562 | $as_echo_n "checking group of /dev/kmem... " >&6; } | 20088 | $as_echo_n "checking group of /dev/kmem... " >&6; } |
| 11563 | if test "${ac_cv_group_kmem+set}" = set; then : | 20089 | if test "${ac_cv_group_kmem+set}" = set; then |
| 11564 | $as_echo_n "(cached) " >&6 | 20090 | $as_echo_n "(cached) " >&6 |
| 11565 | else | 20091 | else |
| 11566 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 20092 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
| @@ -11573,7 +20099,7 @@ else | |||
| 11573 | / /s/.* //;p;'` | 20099 | / /s/.* //;p;'` |
| 11574 | 20100 | ||
| 11575 | fi | 20101 | fi |
| 11576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 | 20102 | { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
| 11577 | $as_echo "$ac_cv_group_kmem" >&6; } | 20103 | $as_echo "$ac_cv_group_kmem" >&6; } |
| 11578 | KMEM_GROUP=$ac_cv_group_kmem | 20104 | KMEM_GROUP=$ac_cv_group_kmem |
| 11579 | fi | 20105 | fi |
| @@ -11586,13 +20112,17 @@ LIBS=$ac_save_LIBS | |||
| 11586 | 20112 | ||
| 11587 | 20113 | ||
| 11588 | 20114 | ||
| 11589 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 20115 | { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 11590 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 20116 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
| 11591 | if test "${ac_cv_sys_largefile_source+set}" = set; then : | 20117 | if test "${ac_cv_sys_largefile_source+set}" = set; then |
| 11592 | $as_echo_n "(cached) " >&6 | 20118 | $as_echo_n "(cached) " >&6 |
| 11593 | else | 20119 | else |
| 11594 | while :; do | 20120 | while :; do |
| 11595 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20121 | cat >conftest.$ac_ext <<_ACEOF |
| 20122 | /* confdefs.h. */ | ||
| 20123 | _ACEOF | ||
| 20124 | cat confdefs.h >>conftest.$ac_ext | ||
| 20125 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11596 | /* end confdefs.h. */ | 20126 | /* end confdefs.h. */ |
| 11597 | #include <sys/types.h> /* for off_t */ | 20127 | #include <sys/types.h> /* for off_t */ |
| 11598 | #include <stdio.h> | 20128 | #include <stdio.h> |
| @@ -11605,12 +20135,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11605 | return 0; | 20135 | return 0; |
| 11606 | } | 20136 | } |
| 11607 | _ACEOF | 20137 | _ACEOF |
| 11608 | if ac_fn_c_try_link "$LINENO"; then : | 20138 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20139 | if { (ac_try="$ac_link" | ||
| 20140 | case "(($ac_try" in | ||
| 20141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20142 | *) ac_try_echo=$ac_try;; | ||
| 20143 | esac | ||
| 20144 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20145 | $as_echo "$ac_try_echo") >&5 | ||
| 20146 | (eval "$ac_link") 2>conftest.er1 | ||
| 20147 | ac_status=$? | ||
| 20148 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20149 | rm -f conftest.er1 | ||
| 20150 | cat conftest.err >&5 | ||
| 20151 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20152 | (exit $ac_status); } && { | ||
| 20153 | test -z "$ac_c_werror_flag" || | ||
| 20154 | test ! -s conftest.err | ||
| 20155 | } && test -s conftest$ac_exeext && { | ||
| 20156 | test "$cross_compiling" = yes || | ||
| 20157 | $as_test_x conftest$ac_exeext | ||
| 20158 | }; then | ||
| 11609 | ac_cv_sys_largefile_source=no; break | 20159 | ac_cv_sys_largefile_source=no; break |
| 20160 | else | ||
| 20161 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20162 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20163 | |||
| 20164 | |||
| 11610 | fi | 20165 | fi |
| 11611 | rm -f core conftest.err conftest.$ac_objext \ | 20166 | |
| 11612 | conftest$ac_exeext conftest.$ac_ext | 20167 | rm -rf conftest.dSYM |
| 11613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20168 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 20169 | conftest$ac_exeext conftest.$ac_ext | ||
| 20170 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20171 | /* confdefs.h. */ | ||
| 20172 | _ACEOF | ||
| 20173 | cat confdefs.h >>conftest.$ac_ext | ||
| 20174 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11614 | /* end confdefs.h. */ | 20175 | /* end confdefs.h. */ |
| 11615 | #define _LARGEFILE_SOURCE 1 | 20176 | #define _LARGEFILE_SOURCE 1 |
| 11616 | #include <sys/types.h> /* for off_t */ | 20177 | #include <sys/types.h> /* for off_t */ |
| @@ -11624,16 +20185,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11624 | return 0; | 20185 | return 0; |
| 11625 | } | 20186 | } |
| 11626 | _ACEOF | 20187 | _ACEOF |
| 11627 | if ac_fn_c_try_link "$LINENO"; then : | 20188 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20189 | if { (ac_try="$ac_link" | ||
| 20190 | case "(($ac_try" in | ||
| 20191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20192 | *) ac_try_echo=$ac_try;; | ||
| 20193 | esac | ||
| 20194 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20195 | $as_echo "$ac_try_echo") >&5 | ||
| 20196 | (eval "$ac_link") 2>conftest.er1 | ||
| 20197 | ac_status=$? | ||
| 20198 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20199 | rm -f conftest.er1 | ||
| 20200 | cat conftest.err >&5 | ||
| 20201 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20202 | (exit $ac_status); } && { | ||
| 20203 | test -z "$ac_c_werror_flag" || | ||
| 20204 | test ! -s conftest.err | ||
| 20205 | } && test -s conftest$ac_exeext && { | ||
| 20206 | test "$cross_compiling" = yes || | ||
| 20207 | $as_test_x conftest$ac_exeext | ||
| 20208 | }; then | ||
| 11628 | ac_cv_sys_largefile_source=1; break | 20209 | ac_cv_sys_largefile_source=1; break |
| 20210 | else | ||
| 20211 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20212 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20213 | |||
| 20214 | |||
| 11629 | fi | 20215 | fi |
| 11630 | rm -f core conftest.err conftest.$ac_objext \ | 20216 | |
| 11631 | conftest$ac_exeext conftest.$ac_ext | 20217 | rm -rf conftest.dSYM |
| 20218 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20219 | conftest$ac_exeext conftest.$ac_ext | ||
| 11632 | ac_cv_sys_largefile_source=unknown | 20220 | ac_cv_sys_largefile_source=unknown |
| 11633 | break | 20221 | break |
| 11634 | done | 20222 | done |
| 11635 | fi | 20223 | fi |
| 11636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 | 20224 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
| 11637 | $as_echo "$ac_cv_sys_largefile_source" >&6; } | 20225 | $as_echo "$ac_cv_sys_largefile_source" >&6; } |
| 11638 | case $ac_cv_sys_largefile_source in #( | 20226 | case $ac_cv_sys_largefile_source in #( |
| 11639 | no | unknown) ;; | 20227 | no | unknown) ;; |
| @@ -11650,7 +20238,9 @@ rm -rf conftest* | |||
| 11650 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 20238 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
| 11651 | if test $ac_cv_sys_largefile_source != unknown; then | 20239 | if test $ac_cv_sys_largefile_source != unknown; then |
| 11652 | 20240 | ||
| 11653 | $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h | 20241 | cat >>confdefs.h <<\_ACEOF |
| 20242 | #define HAVE_FSEEKO 1 | ||
| 20243 | _ACEOF | ||
| 11654 | 20244 | ||
| 11655 | fi | 20245 | fi |
| 11656 | 20246 | ||
| @@ -11678,12 +20268,145 @@ fi | |||
| 11678 | 20268 | ||
| 11679 | 20269 | ||
| 11680 | GETOPT_H= | 20270 | GETOPT_H= |
| 11681 | for ac_header in getopt.h | 20271 | |
| 11682 | do : | 20272 | for ac_header in getopt.h |
| 11683 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 20273 | do |
| 11684 | if test "x$ac_cv_header_getopt_h" = x""yes; then : | 20274 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20275 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20276 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20277 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20278 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20279 | $as_echo_n "(cached) " >&6 | ||
| 20280 | fi | ||
| 20281 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20282 | $as_echo "$as_val"'` | ||
| 20283 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20284 | $as_echo "$ac_res" >&6; } | ||
| 20285 | else | ||
| 20286 | # Is the header compilable? | ||
| 20287 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 20288 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 20289 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20290 | /* confdefs.h. */ | ||
| 20291 | _ACEOF | ||
| 20292 | cat confdefs.h >>conftest.$ac_ext | ||
| 20293 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20294 | /* end confdefs.h. */ | ||
| 20295 | $ac_includes_default | ||
| 20296 | #include <$ac_header> | ||
| 20297 | _ACEOF | ||
| 20298 | rm -f conftest.$ac_objext | ||
| 20299 | if { (ac_try="$ac_compile" | ||
| 20300 | case "(($ac_try" in | ||
| 20301 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20302 | *) ac_try_echo=$ac_try;; | ||
| 20303 | esac | ||
| 20304 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20305 | $as_echo "$ac_try_echo") >&5 | ||
| 20306 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20307 | ac_status=$? | ||
| 20308 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20309 | rm -f conftest.er1 | ||
| 20310 | cat conftest.err >&5 | ||
| 20311 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20312 | (exit $ac_status); } && { | ||
| 20313 | test -z "$ac_c_werror_flag" || | ||
| 20314 | test ! -s conftest.err | ||
| 20315 | } && test -s conftest.$ac_objext; then | ||
| 20316 | ac_header_compiler=yes | ||
| 20317 | else | ||
| 20318 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20319 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20320 | |||
| 20321 | ac_header_compiler=no | ||
| 20322 | fi | ||
| 20323 | |||
| 20324 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20325 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 20326 | $as_echo "$ac_header_compiler" >&6; } | ||
| 20327 | |||
| 20328 | # Is the header present? | ||
| 20329 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 20330 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 20331 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20332 | /* confdefs.h. */ | ||
| 20333 | _ACEOF | ||
| 20334 | cat confdefs.h >>conftest.$ac_ext | ||
| 20335 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20336 | /* end confdefs.h. */ | ||
| 20337 | #include <$ac_header> | ||
| 20338 | _ACEOF | ||
| 20339 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 20340 | case "(($ac_try" in | ||
| 20341 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20342 | *) ac_try_echo=$ac_try;; | ||
| 20343 | esac | ||
| 20344 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20345 | $as_echo "$ac_try_echo") >&5 | ||
| 20346 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20347 | ac_status=$? | ||
| 20348 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20349 | rm -f conftest.er1 | ||
| 20350 | cat conftest.err >&5 | ||
| 20351 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20352 | (exit $ac_status); } >/dev/null && { | ||
| 20353 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 20354 | test ! -s conftest.err | ||
| 20355 | }; then | ||
| 20356 | ac_header_preproc=yes | ||
| 20357 | else | ||
| 20358 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20359 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20360 | |||
| 20361 | ac_header_preproc=no | ||
| 20362 | fi | ||
| 20363 | |||
| 20364 | rm -f conftest.err conftest.$ac_ext | ||
| 20365 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 20366 | $as_echo "$ac_header_preproc" >&6; } | ||
| 20367 | |||
| 20368 | # So? What about this header? | ||
| 20369 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 20370 | yes:no: ) | ||
| 20371 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 20372 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 20373 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 20374 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 20375 | ac_header_preproc=yes | ||
| 20376 | ;; | ||
| 20377 | no:yes:* ) | ||
| 20378 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 20379 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 20380 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 20381 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 20382 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 20383 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 20384 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 20385 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 20386 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 20387 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 20388 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 20389 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 20390 | |||
| 20391 | ;; | ||
| 20392 | esac | ||
| 20393 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20394 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20395 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20396 | $as_echo_n "(cached) " >&6 | ||
| 20397 | else | ||
| 20398 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 20399 | fi | ||
| 20400 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20401 | $as_echo "$as_val"'` | ||
| 20402 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20403 | $as_echo "$ac_res" >&6; } | ||
| 20404 | |||
| 20405 | fi | ||
| 20406 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 20407 | $as_echo "$as_val"'` = yes; then | ||
| 11685 | cat >>confdefs.h <<_ACEOF | 20408 | cat >>confdefs.h <<_ACEOF |
| 11686 | #define HAVE_GETOPT_H 1 | 20409 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11687 | _ACEOF | 20410 | _ACEOF |
| 11688 | 20411 | ||
| 11689 | else | 20412 | else |
| @@ -11693,12 +20416,101 @@ fi | |||
| 11693 | done | 20416 | done |
| 11694 | 20417 | ||
| 11695 | if test -z "$GETOPT_H"; then | 20418 | if test -z "$GETOPT_H"; then |
| 11696 | for ac_func in getopt_long_only | 20419 | |
| 11697 | do : | 20420 | for ac_func in getopt_long_only |
| 11698 | ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 20421 | do |
| 11699 | if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 20422 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 20423 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 20424 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20425 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20426 | $as_echo_n "(cached) " >&6 | ||
| 20427 | else | ||
| 20428 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20429 | /* confdefs.h. */ | ||
| 20430 | _ACEOF | ||
| 20431 | cat confdefs.h >>conftest.$ac_ext | ||
| 20432 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20433 | /* end confdefs.h. */ | ||
| 20434 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20435 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20436 | #define $ac_func innocuous_$ac_func | ||
| 20437 | |||
| 20438 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20439 | which can conflict with char $ac_func (); below. | ||
| 20440 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20441 | <limits.h> exists even on freestanding compilers. */ | ||
| 20442 | |||
| 20443 | #ifdef __STDC__ | ||
| 20444 | # include <limits.h> | ||
| 20445 | #else | ||
| 20446 | # include <assert.h> | ||
| 20447 | #endif | ||
| 20448 | |||
| 20449 | #undef $ac_func | ||
| 20450 | |||
| 20451 | /* Override any GCC internal prototype to avoid an error. | ||
| 20452 | Use char because int might match the return type of a GCC | ||
| 20453 | builtin and then its argument prototype would still apply. */ | ||
| 20454 | #ifdef __cplusplus | ||
| 20455 | extern "C" | ||
| 20456 | #endif | ||
| 20457 | char $ac_func (); | ||
| 20458 | /* The GNU C library defines this for functions which it implements | ||
| 20459 | to always fail with ENOSYS. Some functions are actually named | ||
| 20460 | something starting with __ and the normal name is an alias. */ | ||
| 20461 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20462 | choke me | ||
| 20463 | #endif | ||
| 20464 | |||
| 20465 | int | ||
| 20466 | main () | ||
| 20467 | { | ||
| 20468 | return $ac_func (); | ||
| 20469 | ; | ||
| 20470 | return 0; | ||
| 20471 | } | ||
| 20472 | _ACEOF | ||
| 20473 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20474 | if { (ac_try="$ac_link" | ||
| 20475 | case "(($ac_try" in | ||
| 20476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20477 | *) ac_try_echo=$ac_try;; | ||
| 20478 | esac | ||
| 20479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20480 | $as_echo "$ac_try_echo") >&5 | ||
| 20481 | (eval "$ac_link") 2>conftest.er1 | ||
| 20482 | ac_status=$? | ||
| 20483 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20484 | rm -f conftest.er1 | ||
| 20485 | cat conftest.err >&5 | ||
| 20486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20487 | (exit $ac_status); } && { | ||
| 20488 | test -z "$ac_c_werror_flag" || | ||
| 20489 | test ! -s conftest.err | ||
| 20490 | } && test -s conftest$ac_exeext && { | ||
| 20491 | test "$cross_compiling" = yes || | ||
| 20492 | $as_test_x conftest$ac_exeext | ||
| 20493 | }; then | ||
| 20494 | eval "$as_ac_var=yes" | ||
| 20495 | else | ||
| 20496 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20497 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20498 | |||
| 20499 | eval "$as_ac_var=no" | ||
| 20500 | fi | ||
| 20501 | |||
| 20502 | rm -rf conftest.dSYM | ||
| 20503 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20504 | conftest$ac_exeext conftest.$ac_ext | ||
| 20505 | fi | ||
| 20506 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20507 | $as_echo "$as_val"'` | ||
| 20508 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20509 | $as_echo "$ac_res" >&6; } | ||
| 20510 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20511 | $as_echo "$as_val"'` = yes; then | ||
| 11700 | cat >>confdefs.h <<_ACEOF | 20512 | cat >>confdefs.h <<_ACEOF |
| 11701 | #define HAVE_GETOPT_LONG_ONLY 1 | 20513 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11702 | _ACEOF | 20514 | _ACEOF |
| 11703 | 20515 | ||
| 11704 | else | 20516 | else |
| @@ -11709,31 +20521,139 @@ done | |||
| 11709 | fi | 20521 | fi |
| 11710 | 20522 | ||
| 11711 | if test -z "$GETOPT_H"; then | 20523 | if test -z "$GETOPT_H"; then |
| 11712 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 20524 | { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
| 11713 | " | 20525 | $as_echo_n "checking whether optreset is declared... " >&6; } |
| 11714 | if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 20526 | if test "${ac_cv_have_decl_optreset+set}" = set; then |
| 20527 | $as_echo_n "(cached) " >&6 | ||
| 20528 | else | ||
| 20529 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20530 | /* confdefs.h. */ | ||
| 20531 | _ACEOF | ||
| 20532 | cat confdefs.h >>conftest.$ac_ext | ||
| 20533 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20534 | /* end confdefs.h. */ | ||
| 20535 | #include <getopt.h> | ||
| 20536 | |||
| 20537 | int | ||
| 20538 | main () | ||
| 20539 | { | ||
| 20540 | #ifndef optreset | ||
| 20541 | (void) optreset; | ||
| 20542 | #endif | ||
| 20543 | |||
| 20544 | ; | ||
| 20545 | return 0; | ||
| 20546 | } | ||
| 20547 | _ACEOF | ||
| 20548 | rm -f conftest.$ac_objext | ||
| 20549 | if { (ac_try="$ac_compile" | ||
| 20550 | case "(($ac_try" in | ||
| 20551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20552 | *) ac_try_echo=$ac_try;; | ||
| 20553 | esac | ||
| 20554 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20555 | $as_echo "$ac_try_echo") >&5 | ||
| 20556 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20557 | ac_status=$? | ||
| 20558 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20559 | rm -f conftest.er1 | ||
| 20560 | cat conftest.err >&5 | ||
| 20561 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20562 | (exit $ac_status); } && { | ||
| 20563 | test -z "$ac_c_werror_flag" || | ||
| 20564 | test ! -s conftest.err | ||
| 20565 | } && test -s conftest.$ac_objext; then | ||
| 20566 | ac_cv_have_decl_optreset=yes | ||
| 20567 | else | ||
| 20568 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20569 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20570 | |||
| 20571 | ac_cv_have_decl_optreset=no | ||
| 20572 | fi | ||
| 20573 | |||
| 20574 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20575 | fi | ||
| 20576 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | ||
| 20577 | $as_echo "$ac_cv_have_decl_optreset" >&6; } | ||
| 20578 | if test $ac_cv_have_decl_optreset = yes; then | ||
| 11715 | GETOPT_H=getopt.h | 20579 | GETOPT_H=getopt.h |
| 11716 | fi | 20580 | fi |
| 11717 | 20581 | ||
| 11718 | fi | 20582 | fi |
| 11719 | 20583 | ||
| 11720 | if test -z "$GETOPT_H"; then | 20584 | if test -z "$GETOPT_H"; then |
| 11721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 20585 | { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
| 11722 | $as_echo_n "checking for working GNU getopt function... " >&6; } | 20586 | $as_echo_n "checking for working GNU getopt function... " >&6; } |
| 11723 | if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 20587 | if test "${gl_cv_func_gnu_getopt+set}" = set; then |
| 11724 | $as_echo_n "(cached) " >&6 | 20588 | $as_echo_n "(cached) " >&6 |
| 11725 | else | 20589 | else |
| 11726 | if test "$cross_compiling" = yes; then : | 20590 | if test "$cross_compiling" = yes; then |
| 11727 | ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 20591 | { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
| 11728 | " | 20592 | $as_echo_n "checking whether getopt_clip is declared... " >&6; } |
| 11729 | if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 20593 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
| 20594 | $as_echo_n "(cached) " >&6 | ||
| 20595 | else | ||
| 20596 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20597 | /* confdefs.h. */ | ||
| 20598 | _ACEOF | ||
| 20599 | cat confdefs.h >>conftest.$ac_ext | ||
| 20600 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20601 | /* end confdefs.h. */ | ||
| 20602 | #include <getopt.h> | ||
| 20603 | |||
| 20604 | int | ||
| 20605 | main () | ||
| 20606 | { | ||
| 20607 | #ifndef getopt_clip | ||
| 20608 | (void) getopt_clip; | ||
| 20609 | #endif | ||
| 20610 | |||
| 20611 | ; | ||
| 20612 | return 0; | ||
| 20613 | } | ||
| 20614 | _ACEOF | ||
| 20615 | rm -f conftest.$ac_objext | ||
| 20616 | if { (ac_try="$ac_compile" | ||
| 20617 | case "(($ac_try" in | ||
| 20618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20619 | *) ac_try_echo=$ac_try;; | ||
| 20620 | esac | ||
| 20621 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20622 | $as_echo "$ac_try_echo") >&5 | ||
| 20623 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20624 | ac_status=$? | ||
| 20625 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20626 | rm -f conftest.er1 | ||
| 20627 | cat conftest.err >&5 | ||
| 20628 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20629 | (exit $ac_status); } && { | ||
| 20630 | test -z "$ac_c_werror_flag" || | ||
| 20631 | test ! -s conftest.err | ||
| 20632 | } && test -s conftest.$ac_objext; then | ||
| 20633 | ac_cv_have_decl_getopt_clip=yes | ||
| 20634 | else | ||
| 20635 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20636 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20637 | |||
| 20638 | ac_cv_have_decl_getopt_clip=no | ||
| 20639 | fi | ||
| 20640 | |||
| 20641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20642 | fi | ||
| 20643 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | ||
| 20644 | $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | ||
| 20645 | if test $ac_cv_have_decl_getopt_clip = yes; then | ||
| 11730 | gl_cv_func_gnu_getopt=no | 20646 | gl_cv_func_gnu_getopt=no |
| 11731 | else | 20647 | else |
| 11732 | gl_cv_func_gnu_getopt=yes | 20648 | gl_cv_func_gnu_getopt=yes |
| 11733 | fi | 20649 | fi |
| 11734 | 20650 | ||
| 11735 | else | 20651 | else |
| 11736 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20652 | cat >conftest.$ac_ext <<_ACEOF |
| 20653 | /* confdefs.h. */ | ||
| 20654 | _ACEOF | ||
| 20655 | cat confdefs.h >>conftest.$ac_ext | ||
| 20656 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11737 | /* end confdefs.h. */ | 20657 | /* end confdefs.h. */ |
| 11738 | #include <getopt.h> | 20658 | #include <getopt.h> |
| 11739 | int | 20659 | int |
| @@ -11750,17 +20670,44 @@ main () | |||
| 11750 | return 0; | 20670 | return 0; |
| 11751 | } | 20671 | } |
| 11752 | _ACEOF | 20672 | _ACEOF |
| 11753 | if ac_fn_c_try_run "$LINENO"; then : | 20673 | rm -f conftest$ac_exeext |
| 20674 | if { (ac_try="$ac_link" | ||
| 20675 | case "(($ac_try" in | ||
| 20676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20677 | *) ac_try_echo=$ac_try;; | ||
| 20678 | esac | ||
| 20679 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20680 | $as_echo "$ac_try_echo") >&5 | ||
| 20681 | (eval "$ac_link") 2>&5 | ||
| 20682 | ac_status=$? | ||
| 20683 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20684 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 20685 | { (case "(($ac_try" in | ||
| 20686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20687 | *) ac_try_echo=$ac_try;; | ||
| 20688 | esac | ||
| 20689 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20690 | $as_echo "$ac_try_echo") >&5 | ||
| 20691 | (eval "$ac_try") 2>&5 | ||
| 20692 | ac_status=$? | ||
| 20693 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20694 | (exit $ac_status); }; }; then | ||
| 11754 | gl_cv_func_gnu_getopt=yes | 20695 | gl_cv_func_gnu_getopt=yes |
| 11755 | else | 20696 | else |
| 11756 | gl_cv_func_gnu_getopt=no | 20697 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 20698 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20699 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20700 | |||
| 20701 | ( exit $ac_status ) | ||
| 20702 | gl_cv_func_gnu_getopt=no | ||
| 11757 | fi | 20703 | fi |
| 11758 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20704 | rm -rf conftest.dSYM |
| 11759 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 20705 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11760 | fi | 20706 | fi |
| 11761 | 20707 | ||
| 20708 | |||
| 11762 | fi | 20709 | fi |
| 11763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 | 20710 | { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 |
| 11764 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 20711 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
| 11765 | if test "$gl_cv_func_gnu_getopt" = "no"; then | 20712 | if test "$gl_cv_func_gnu_getopt" = "no"; then |
| 11766 | GETOPT_H=getopt.h | 20713 | GETOPT_H=getopt.h |
| @@ -11769,12 +20716,14 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; } | |||
| 11769 | 20716 | ||
| 11770 | 20717 | ||
| 11771 | 20718 | ||
| 11772 | if test -n "$GETOPT_H"; then : | 20719 | if test -n "$GETOPT_H"; then |
| 11773 | 20720 | ||
| 11774 | 20721 | ||
| 11775 | GETOPT_H=getopt.h | 20722 | GETOPT_H=getopt.h |
| 11776 | 20723 | ||
| 11777 | $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h | 20724 | cat >>confdefs.h <<\_ACEOF |
| 20725 | #define __GETOPT_PREFIX rpl_ | ||
| 20726 | _ACEOF | ||
| 11778 | 20727 | ||
| 11779 | 20728 | ||
| 11780 | 20729 | ||
| @@ -11785,13 +20734,18 @@ fi | |||
| 11785 | 20734 | ||
| 11786 | 20735 | ||
| 11787 | 20736 | ||
| 11788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 20737 | |
| 20738 | { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
| 11789 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 20739 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
| 11790 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 20740 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
| 11791 | $as_echo_n "(cached) " >&6 | 20741 | $as_echo_n "(cached) " >&6 |
| 11792 | else | 20742 | else |
| 11793 | # Use it with a single arg. | 20743 | # Use it with a single arg. |
| 11794 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20744 | cat >conftest.$ac_ext <<_ACEOF |
| 20745 | /* confdefs.h. */ | ||
| 20746 | _ACEOF | ||
| 20747 | cat confdefs.h >>conftest.$ac_ext | ||
| 20748 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11795 | /* end confdefs.h. */ | 20749 | /* end confdefs.h. */ |
| 11796 | $ac_includes_default | 20750 | $ac_includes_default |
| 11797 | int | 20751 | int |
| @@ -11802,41 +20756,157 @@ getpgrp (0); | |||
| 11802 | return 0; | 20756 | return 0; |
| 11803 | } | 20757 | } |
| 11804 | _ACEOF | 20758 | _ACEOF |
| 11805 | if ac_fn_c_try_compile "$LINENO"; then : | 20759 | rm -f conftest.$ac_objext |
| 20760 | if { (ac_try="$ac_compile" | ||
| 20761 | case "(($ac_try" in | ||
| 20762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20763 | *) ac_try_echo=$ac_try;; | ||
| 20764 | esac | ||
| 20765 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20766 | $as_echo "$ac_try_echo") >&5 | ||
| 20767 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20768 | ac_status=$? | ||
| 20769 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20770 | rm -f conftest.er1 | ||
| 20771 | cat conftest.err >&5 | ||
| 20772 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20773 | (exit $ac_status); } && { | ||
| 20774 | test -z "$ac_c_werror_flag" || | ||
| 20775 | test ! -s conftest.err | ||
| 20776 | } && test -s conftest.$ac_objext; then | ||
| 11806 | ac_cv_func_getpgrp_void=no | 20777 | ac_cv_func_getpgrp_void=no |
| 11807 | else | 20778 | else |
| 11808 | ac_cv_func_getpgrp_void=yes | 20779 | $as_echo "$as_me: failed program was:" >&5 |
| 20780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20781 | |||
| 20782 | ac_cv_func_getpgrp_void=yes | ||
| 11809 | fi | 20783 | fi |
| 20784 | |||
| 11810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11811 | 20786 | ||
| 11812 | fi | 20787 | fi |
| 11813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 20788 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
| 11814 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 20789 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
| 11815 | if test $ac_cv_func_getpgrp_void = yes; then | 20790 | if test $ac_cv_func_getpgrp_void = yes; then |
| 11816 | 20791 | ||
| 11817 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 20792 | cat >>confdefs.h <<\_ACEOF |
| 20793 | #define GETPGRP_VOID 1 | ||
| 20794 | _ACEOF | ||
| 11818 | 20795 | ||
| 11819 | fi | 20796 | fi |
| 11820 | 20797 | ||
| 11821 | 20798 | ||
| 20799 | |||
| 11822 | for ac_func in strftime | 20800 | for ac_func in strftime |
| 11823 | do : | 20801 | do |
| 11824 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 20802 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11825 | if test "x$ac_cv_func_strftime" = x""yes; then : | 20803 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 20804 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20805 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20806 | $as_echo_n "(cached) " >&6 | ||
| 20807 | else | ||
| 20808 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20809 | /* confdefs.h. */ | ||
| 20810 | _ACEOF | ||
| 20811 | cat confdefs.h >>conftest.$ac_ext | ||
| 20812 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20813 | /* end confdefs.h. */ | ||
| 20814 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20815 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20816 | #define $ac_func innocuous_$ac_func | ||
| 20817 | |||
| 20818 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20819 | which can conflict with char $ac_func (); below. | ||
| 20820 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20821 | <limits.h> exists even on freestanding compilers. */ | ||
| 20822 | |||
| 20823 | #ifdef __STDC__ | ||
| 20824 | # include <limits.h> | ||
| 20825 | #else | ||
| 20826 | # include <assert.h> | ||
| 20827 | #endif | ||
| 20828 | |||
| 20829 | #undef $ac_func | ||
| 20830 | |||
| 20831 | /* Override any GCC internal prototype to avoid an error. | ||
| 20832 | Use char because int might match the return type of a GCC | ||
| 20833 | builtin and then its argument prototype would still apply. */ | ||
| 20834 | #ifdef __cplusplus | ||
| 20835 | extern "C" | ||
| 20836 | #endif | ||
| 20837 | char $ac_func (); | ||
| 20838 | /* The GNU C library defines this for functions which it implements | ||
| 20839 | to always fail with ENOSYS. Some functions are actually named | ||
| 20840 | something starting with __ and the normal name is an alias. */ | ||
| 20841 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20842 | choke me | ||
| 20843 | #endif | ||
| 20844 | |||
| 20845 | int | ||
| 20846 | main () | ||
| 20847 | { | ||
| 20848 | return $ac_func (); | ||
| 20849 | ; | ||
| 20850 | return 0; | ||
| 20851 | } | ||
| 20852 | _ACEOF | ||
| 20853 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20854 | if { (ac_try="$ac_link" | ||
| 20855 | case "(($ac_try" in | ||
| 20856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20857 | *) ac_try_echo=$ac_try;; | ||
| 20858 | esac | ||
| 20859 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20860 | $as_echo "$ac_try_echo") >&5 | ||
| 20861 | (eval "$ac_link") 2>conftest.er1 | ||
| 20862 | ac_status=$? | ||
| 20863 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20864 | rm -f conftest.er1 | ||
| 20865 | cat conftest.err >&5 | ||
| 20866 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20867 | (exit $ac_status); } && { | ||
| 20868 | test -z "$ac_c_werror_flag" || | ||
| 20869 | test ! -s conftest.err | ||
| 20870 | } && test -s conftest$ac_exeext && { | ||
| 20871 | test "$cross_compiling" = yes || | ||
| 20872 | $as_test_x conftest$ac_exeext | ||
| 20873 | }; then | ||
| 20874 | eval "$as_ac_var=yes" | ||
| 20875 | else | ||
| 20876 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20877 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20878 | |||
| 20879 | eval "$as_ac_var=no" | ||
| 20880 | fi | ||
| 20881 | |||
| 20882 | rm -rf conftest.dSYM | ||
| 20883 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20884 | conftest$ac_exeext conftest.$ac_ext | ||
| 20885 | fi | ||
| 20886 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20887 | $as_echo "$as_val"'` | ||
| 20888 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20889 | $as_echo "$ac_res" >&6; } | ||
| 20890 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20891 | $as_echo "$as_val"'` = yes; then | ||
| 11826 | cat >>confdefs.h <<_ACEOF | 20892 | cat >>confdefs.h <<_ACEOF |
| 11827 | #define HAVE_STRFTIME 1 | 20893 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11828 | _ACEOF | 20894 | _ACEOF |
| 11829 | 20895 | ||
| 11830 | else | 20896 | else |
| 11831 | # strftime is in -lintl on SCO UNIX. | 20897 | # strftime is in -lintl on SCO UNIX. |
| 11832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 20898 | { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 11833 | $as_echo_n "checking for strftime in -lintl... " >&6; } | 20899 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
| 11834 | if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 20900 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
| 11835 | $as_echo_n "(cached) " >&6 | 20901 | $as_echo_n "(cached) " >&6 |
| 11836 | else | 20902 | else |
| 11837 | ac_check_lib_save_LIBS=$LIBS | 20903 | ac_check_lib_save_LIBS=$LIBS |
| 11838 | LIBS="-lintl $LIBS" | 20904 | LIBS="-lintl $LIBS" |
| 11839 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20905 | cat >conftest.$ac_ext <<_ACEOF |
| 20906 | /* confdefs.h. */ | ||
| 20907 | _ACEOF | ||
| 20908 | cat confdefs.h >>conftest.$ac_ext | ||
| 20909 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11840 | /* end confdefs.h. */ | 20910 | /* end confdefs.h. */ |
| 11841 | 20911 | ||
| 11842 | /* Override any GCC internal prototype to avoid an error. | 20912 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11854,19 +20924,46 @@ return strftime (); | |||
| 11854 | return 0; | 20924 | return 0; |
| 11855 | } | 20925 | } |
| 11856 | _ACEOF | 20926 | _ACEOF |
| 11857 | if ac_fn_c_try_link "$LINENO"; then : | 20927 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20928 | if { (ac_try="$ac_link" | ||
| 20929 | case "(($ac_try" in | ||
| 20930 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20931 | *) ac_try_echo=$ac_try;; | ||
| 20932 | esac | ||
| 20933 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20934 | $as_echo "$ac_try_echo") >&5 | ||
| 20935 | (eval "$ac_link") 2>conftest.er1 | ||
| 20936 | ac_status=$? | ||
| 20937 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20938 | rm -f conftest.er1 | ||
| 20939 | cat conftest.err >&5 | ||
| 20940 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20941 | (exit $ac_status); } && { | ||
| 20942 | test -z "$ac_c_werror_flag" || | ||
| 20943 | test ! -s conftest.err | ||
| 20944 | } && test -s conftest$ac_exeext && { | ||
| 20945 | test "$cross_compiling" = yes || | ||
| 20946 | $as_test_x conftest$ac_exeext | ||
| 20947 | }; then | ||
| 11858 | ac_cv_lib_intl_strftime=yes | 20948 | ac_cv_lib_intl_strftime=yes |
| 11859 | else | 20949 | else |
| 11860 | ac_cv_lib_intl_strftime=no | 20950 | $as_echo "$as_me: failed program was:" >&5 |
| 20951 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20952 | |||
| 20953 | ac_cv_lib_intl_strftime=no | ||
| 11861 | fi | 20954 | fi |
| 11862 | rm -f core conftest.err conftest.$ac_objext \ | 20955 | |
| 11863 | conftest$ac_exeext conftest.$ac_ext | 20956 | rm -rf conftest.dSYM |
| 20957 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20958 | conftest$ac_exeext conftest.$ac_ext | ||
| 11864 | LIBS=$ac_check_lib_save_LIBS | 20959 | LIBS=$ac_check_lib_save_LIBS |
| 11865 | fi | 20960 | fi |
| 11866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 20961 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 11867 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 20962 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
| 11868 | if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 20963 | if test $ac_cv_lib_intl_strftime = yes; then |
| 11869 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 20964 | cat >>confdefs.h <<\_ACEOF |
| 20965 | #define HAVE_STRFTIME 1 | ||
| 20966 | _ACEOF | ||
| 11870 | 20967 | ||
| 11871 | LIBS="-lintl $LIBS" | 20968 | LIBS="-lintl $LIBS" |
| 11872 | fi | 20969 | fi |
| @@ -11876,12 +20973,101 @@ done | |||
| 11876 | 20973 | ||
| 11877 | 20974 | ||
| 11878 | # UNIX98 PTYs. | 20975 | # UNIX98 PTYs. |
| 20976 | |||
| 11879 | for ac_func in grantpt | 20977 | for ac_func in grantpt |
| 11880 | do : | 20978 | do |
| 11881 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 20979 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11882 | if test "x$ac_cv_func_grantpt" = x""yes; then : | 20980 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 20981 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20982 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20983 | $as_echo_n "(cached) " >&6 | ||
| 20984 | else | ||
| 20985 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20986 | /* confdefs.h. */ | ||
| 20987 | _ACEOF | ||
| 20988 | cat confdefs.h >>conftest.$ac_ext | ||
| 20989 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20990 | /* end confdefs.h. */ | ||
| 20991 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20992 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20993 | #define $ac_func innocuous_$ac_func | ||
| 20994 | |||
| 20995 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20996 | which can conflict with char $ac_func (); below. | ||
| 20997 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20998 | <limits.h> exists even on freestanding compilers. */ | ||
| 20999 | |||
| 21000 | #ifdef __STDC__ | ||
| 21001 | # include <limits.h> | ||
| 21002 | #else | ||
| 21003 | # include <assert.h> | ||
| 21004 | #endif | ||
| 21005 | |||
| 21006 | #undef $ac_func | ||
| 21007 | |||
| 21008 | /* Override any GCC internal prototype to avoid an error. | ||
| 21009 | Use char because int might match the return type of a GCC | ||
| 21010 | builtin and then its argument prototype would still apply. */ | ||
| 21011 | #ifdef __cplusplus | ||
| 21012 | extern "C" | ||
| 21013 | #endif | ||
| 21014 | char $ac_func (); | ||
| 21015 | /* The GNU C library defines this for functions which it implements | ||
| 21016 | to always fail with ENOSYS. Some functions are actually named | ||
| 21017 | something starting with __ and the normal name is an alias. */ | ||
| 21018 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21019 | choke me | ||
| 21020 | #endif | ||
| 21021 | |||
| 21022 | int | ||
| 21023 | main () | ||
| 21024 | { | ||
| 21025 | return $ac_func (); | ||
| 21026 | ; | ||
| 21027 | return 0; | ||
| 21028 | } | ||
| 21029 | _ACEOF | ||
| 21030 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21031 | if { (ac_try="$ac_link" | ||
| 21032 | case "(($ac_try" in | ||
| 21033 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21034 | *) ac_try_echo=$ac_try;; | ||
| 21035 | esac | ||
| 21036 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21037 | $as_echo "$ac_try_echo") >&5 | ||
| 21038 | (eval "$ac_link") 2>conftest.er1 | ||
| 21039 | ac_status=$? | ||
| 21040 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21041 | rm -f conftest.er1 | ||
| 21042 | cat conftest.err >&5 | ||
| 21043 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21044 | (exit $ac_status); } && { | ||
| 21045 | test -z "$ac_c_werror_flag" || | ||
| 21046 | test ! -s conftest.err | ||
| 21047 | } && test -s conftest$ac_exeext && { | ||
| 21048 | test "$cross_compiling" = yes || | ||
| 21049 | $as_test_x conftest$ac_exeext | ||
| 21050 | }; then | ||
| 21051 | eval "$as_ac_var=yes" | ||
| 21052 | else | ||
| 21053 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21054 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21055 | |||
| 21056 | eval "$as_ac_var=no" | ||
| 21057 | fi | ||
| 21058 | |||
| 21059 | rm -rf conftest.dSYM | ||
| 21060 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21061 | conftest$ac_exeext conftest.$ac_ext | ||
| 21062 | fi | ||
| 21063 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21064 | $as_echo "$as_val"'` | ||
| 21065 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21066 | $as_echo "$ac_res" >&6; } | ||
| 21067 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21068 | $as_echo "$as_val"'` = yes; then | ||
| 11883 | cat >>confdefs.h <<_ACEOF | 21069 | cat >>confdefs.h <<_ACEOF |
| 11884 | #define HAVE_GRANTPT 1 | 21070 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11885 | _ACEOF | 21071 | _ACEOF |
| 11886 | 21072 | ||
| 11887 | fi | 21073 | fi |
| @@ -11889,12 +21075,101 @@ done | |||
| 11889 | 21075 | ||
| 11890 | 21076 | ||
| 11891 | # PTY-related GNU extensions. | 21077 | # PTY-related GNU extensions. |
| 21078 | |||
| 11892 | for ac_func in getpt | 21079 | for ac_func in getpt |
| 11893 | do : | 21080 | do |
| 11894 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 21081 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11895 | if test "x$ac_cv_func_getpt" = x""yes; then : | 21082 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21083 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 21084 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 21085 | $as_echo_n "(cached) " >&6 | ||
| 21086 | else | ||
| 21087 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21088 | /* confdefs.h. */ | ||
| 21089 | _ACEOF | ||
| 21090 | cat confdefs.h >>conftest.$ac_ext | ||
| 21091 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21092 | /* end confdefs.h. */ | ||
| 21093 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 21094 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21095 | #define $ac_func innocuous_$ac_func | ||
| 21096 | |||
| 21097 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21098 | which can conflict with char $ac_func (); below. | ||
| 21099 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21100 | <limits.h> exists even on freestanding compilers. */ | ||
| 21101 | |||
| 21102 | #ifdef __STDC__ | ||
| 21103 | # include <limits.h> | ||
| 21104 | #else | ||
| 21105 | # include <assert.h> | ||
| 21106 | #endif | ||
| 21107 | |||
| 21108 | #undef $ac_func | ||
| 21109 | |||
| 21110 | /* Override any GCC internal prototype to avoid an error. | ||
| 21111 | Use char because int might match the return type of a GCC | ||
| 21112 | builtin and then its argument prototype would still apply. */ | ||
| 21113 | #ifdef __cplusplus | ||
| 21114 | extern "C" | ||
| 21115 | #endif | ||
| 21116 | char $ac_func (); | ||
| 21117 | /* The GNU C library defines this for functions which it implements | ||
| 21118 | to always fail with ENOSYS. Some functions are actually named | ||
| 21119 | something starting with __ and the normal name is an alias. */ | ||
| 21120 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21121 | choke me | ||
| 21122 | #endif | ||
| 21123 | |||
| 21124 | int | ||
| 21125 | main () | ||
| 21126 | { | ||
| 21127 | return $ac_func (); | ||
| 21128 | ; | ||
| 21129 | return 0; | ||
| 21130 | } | ||
| 21131 | _ACEOF | ||
| 21132 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21133 | if { (ac_try="$ac_link" | ||
| 21134 | case "(($ac_try" in | ||
| 21135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21136 | *) ac_try_echo=$ac_try;; | ||
| 21137 | esac | ||
| 21138 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21139 | $as_echo "$ac_try_echo") >&5 | ||
| 21140 | (eval "$ac_link") 2>conftest.er1 | ||
| 21141 | ac_status=$? | ||
| 21142 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21143 | rm -f conftest.er1 | ||
| 21144 | cat conftest.err >&5 | ||
| 21145 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21146 | (exit $ac_status); } && { | ||
| 21147 | test -z "$ac_c_werror_flag" || | ||
| 21148 | test ! -s conftest.err | ||
| 21149 | } && test -s conftest$ac_exeext && { | ||
| 21150 | test "$cross_compiling" = yes || | ||
| 21151 | $as_test_x conftest$ac_exeext | ||
| 21152 | }; then | ||
| 21153 | eval "$as_ac_var=yes" | ||
| 21154 | else | ||
| 21155 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21156 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21157 | |||
| 21158 | eval "$as_ac_var=no" | ||
| 21159 | fi | ||
| 21160 | |||
| 21161 | rm -rf conftest.dSYM | ||
| 21162 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21163 | conftest$ac_exeext conftest.$ac_ext | ||
| 21164 | fi | ||
| 21165 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21166 | $as_echo "$as_val"'` | ||
| 21167 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21168 | $as_echo "$ac_res" >&6; } | ||
| 21169 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21170 | $as_echo "$as_val"'` = yes; then | ||
| 11896 | cat >>confdefs.h <<_ACEOF | 21171 | cat >>confdefs.h <<_ACEOF |
| 11897 | #define HAVE_GETPT 1 | 21172 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11898 | _ACEOF | 21173 | _ACEOF |
| 11899 | 21174 | ||
| 11900 | fi | 21175 | fi |
| @@ -11907,13 +21182,17 @@ done | |||
| 11907 | # than to expect to find it in ncurses. | 21182 | # than to expect to find it in ncurses. |
| 11908 | # Also we need tputs and frieds to be able to build at all. | 21183 | # Also we need tputs and frieds to be able to build at all. |
| 11909 | have_tputs_et_al=true | 21184 | have_tputs_et_al=true |
| 11910 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 21185 | { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 |
| 11911 | $as_echo_n "checking for library containing tputs... " >&6; } | 21186 | $as_echo_n "checking for library containing tputs... " >&6; } |
| 11912 | if test "${ac_cv_search_tputs+set}" = set; then : | 21187 | if test "${ac_cv_search_tputs+set}" = set; then |
| 11913 | $as_echo_n "(cached) " >&6 | 21188 | $as_echo_n "(cached) " >&6 |
| 11914 | else | 21189 | else |
| 11915 | ac_func_search_save_LIBS=$LIBS | 21190 | ac_func_search_save_LIBS=$LIBS |
| 11916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21191 | cat >conftest.$ac_ext <<_ACEOF |
| 21192 | /* confdefs.h. */ | ||
| 21193 | _ACEOF | ||
| 21194 | cat confdefs.h >>conftest.$ac_ext | ||
| 21195 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11917 | /* end confdefs.h. */ | 21196 | /* end confdefs.h. */ |
| 11918 | 21197 | ||
| 11919 | /* Override any GCC internal prototype to avoid an error. | 21198 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11938,27 +21217,54 @@ for ac_lib in '' ncurses terminfo termcap; do | |||
| 11938 | ac_res=-l$ac_lib | 21217 | ac_res=-l$ac_lib |
| 11939 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21218 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 11940 | fi | 21219 | fi |
| 11941 | if ac_fn_c_try_link "$LINENO"; then : | 21220 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21221 | if { (ac_try="$ac_link" | ||
| 21222 | case "(($ac_try" in | ||
| 21223 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21224 | *) ac_try_echo=$ac_try;; | ||
| 21225 | esac | ||
| 21226 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21227 | $as_echo "$ac_try_echo") >&5 | ||
| 21228 | (eval "$ac_link") 2>conftest.er1 | ||
| 21229 | ac_status=$? | ||
| 21230 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21231 | rm -f conftest.er1 | ||
| 21232 | cat conftest.err >&5 | ||
| 21233 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21234 | (exit $ac_status); } && { | ||
| 21235 | test -z "$ac_c_werror_flag" || | ||
| 21236 | test ! -s conftest.err | ||
| 21237 | } && test -s conftest$ac_exeext && { | ||
| 21238 | test "$cross_compiling" = yes || | ||
| 21239 | $as_test_x conftest$ac_exeext | ||
| 21240 | }; then | ||
| 11942 | ac_cv_search_tputs=$ac_res | 21241 | ac_cv_search_tputs=$ac_res |
| 21242 | else | ||
| 21243 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21244 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21245 | |||
| 21246 | |||
| 11943 | fi | 21247 | fi |
| 11944 | rm -f core conftest.err conftest.$ac_objext \ | 21248 | |
| 11945 | conftest$ac_exeext | 21249 | rm -rf conftest.dSYM |
| 11946 | if test "${ac_cv_search_tputs+set}" = set; then : | 21250 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21251 | conftest$ac_exeext | ||
| 21252 | if test "${ac_cv_search_tputs+set}" = set; then | ||
| 11947 | break | 21253 | break |
| 11948 | fi | 21254 | fi |
| 11949 | done | 21255 | done |
| 11950 | if test "${ac_cv_search_tputs+set}" = set; then : | 21256 | if test "${ac_cv_search_tputs+set}" = set; then |
| 11951 | 21257 | : | |
| 11952 | else | 21258 | else |
| 11953 | ac_cv_search_tputs=no | 21259 | ac_cv_search_tputs=no |
| 11954 | fi | 21260 | fi |
| 11955 | rm conftest.$ac_ext | 21261 | rm conftest.$ac_ext |
| 11956 | LIBS=$ac_func_search_save_LIBS | 21262 | LIBS=$ac_func_search_save_LIBS |
| 11957 | fi | 21263 | fi |
| 11958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 | 21264 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 |
| 11959 | $as_echo "$ac_cv_search_tputs" >&6; } | 21265 | $as_echo "$ac_cv_search_tputs" >&6; } |
| 11960 | ac_res=$ac_cv_search_tputs | 21266 | ac_res=$ac_cv_search_tputs |
| 11961 | if test "$ac_res" != no; then : | 21267 | if test "$ac_res" != no; then |
| 11962 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21268 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 11963 | 21269 | ||
| 11964 | else | 21270 | else |
| @@ -11966,19 +21272,29 @@ else | |||
| 11966 | fi | 21272 | fi |
| 11967 | 21273 | ||
| 11968 | if test "$have_tputs_et_al" != true; then | 21274 | if test "$have_tputs_et_al" != true; then |
| 11969 | as_fn_error "I couldn't find termcap functions (tputs and friends). | 21275 | { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). |
| 11970 | Maybe some development libraries/packages are missing? Try installing | 21276 | Maybe some development libraries/packages are missing? Try installing |
| 11971 | libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 21277 | libncurses-dev(el), libterminfo-dev(el) or similar." >&5 |
| 21278 | $as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends). | ||
| 21279 | Maybe some development libraries/packages are missing? Try installing | ||
| 21280 | libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | ||
| 21281 | { (exit 1); exit 1; }; } | ||
| 11972 | fi | 21282 | fi |
| 11973 | # Must define this when any termcap library is found. | 21283 | # Must define this when any termcap library is found. |
| 11974 | 21284 | ||
| 11975 | $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h | 21285 | cat >>confdefs.h <<\_ACEOF |
| 21286 | #define HAVE_LIBNCURSES 1 | ||
| 21287 | _ACEOF | ||
| 11976 | 21288 | ||
| 11977 | 21289 | ||
| 11978 | # Do we have res_init, for detecting changes in /etc/resolv.conf? | 21290 | # Do we have res_init, for detecting changes in /etc/resolv.conf? |
| 11979 | 21291 | ||
| 11980 | resolv=no | 21292 | resolv=no |
| 11981 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21293 | cat >conftest.$ac_ext <<_ACEOF |
| 21294 | /* confdefs.h. */ | ||
| 21295 | _ACEOF | ||
| 21296 | cat confdefs.h >>conftest.$ac_ext | ||
| 21297 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11982 | /* end confdefs.h. */ | 21298 | /* end confdefs.h. */ |
| 11983 | #include <netinet/in.h> | 21299 | #include <netinet/in.h> |
| 11984 | #include <arpa/nameser.h> | 21300 | #include <arpa/nameser.h> |
| @@ -11991,19 +21307,48 @@ return res_init(); | |||
| 11991 | return 0; | 21307 | return 0; |
| 11992 | } | 21308 | } |
| 11993 | _ACEOF | 21309 | _ACEOF |
| 11994 | if ac_fn_c_try_link "$LINENO"; then : | 21310 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21311 | if { (ac_try="$ac_link" | ||
| 21312 | case "(($ac_try" in | ||
| 21313 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21314 | *) ac_try_echo=$ac_try;; | ||
| 21315 | esac | ||
| 21316 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21317 | $as_echo "$ac_try_echo") >&5 | ||
| 21318 | (eval "$ac_link") 2>conftest.er1 | ||
| 21319 | ac_status=$? | ||
| 21320 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21321 | rm -f conftest.er1 | ||
| 21322 | cat conftest.err >&5 | ||
| 21323 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21324 | (exit $ac_status); } && { | ||
| 21325 | test -z "$ac_c_werror_flag" || | ||
| 21326 | test ! -s conftest.err | ||
| 21327 | } && test -s conftest$ac_exeext && { | ||
| 21328 | test "$cross_compiling" = yes || | ||
| 21329 | $as_test_x conftest$ac_exeext | ||
| 21330 | }; then | ||
| 11995 | have_res_init=yes | 21331 | have_res_init=yes |
| 11996 | else | 21332 | else |
| 11997 | have_res_init=no | 21333 | $as_echo "$as_me: failed program was:" >&5 |
| 21334 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21335 | |||
| 21336 | have_res_init=no | ||
| 11998 | fi | 21337 | fi |
| 11999 | rm -f core conftest.err conftest.$ac_objext \ | 21338 | |
| 12000 | conftest$ac_exeext conftest.$ac_ext | 21339 | rm -rf conftest.dSYM |
| 21340 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21341 | conftest$ac_exeext conftest.$ac_ext | ||
| 12001 | if test "$have_res_init" = no; then | 21342 | if test "$have_res_init" = no; then |
| 12002 | OLIBS="$LIBS" | 21343 | OLIBS="$LIBS" |
| 12003 | LIBS="$LIBS -lresolv" | 21344 | LIBS="$LIBS -lresolv" |
| 12004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 | 21345 | { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 |
| 12005 | $as_echo_n "checking for res_init with -lresolv... " >&6; } | 21346 | $as_echo_n "checking for res_init with -lresolv... " >&6; } |
| 12006 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21347 | cat >conftest.$ac_ext <<_ACEOF |
| 21348 | /* confdefs.h. */ | ||
| 21349 | _ACEOF | ||
| 21350 | cat confdefs.h >>conftest.$ac_ext | ||
| 21351 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12007 | /* end confdefs.h. */ | 21352 | /* end confdefs.h. */ |
| 12008 | #include <netinet/in.h> | 21353 | #include <netinet/in.h> |
| 12009 | #include <arpa/nameser.h> | 21354 | #include <arpa/nameser.h> |
| @@ -12016,14 +21361,39 @@ return res_init(); | |||
| 12016 | return 0; | 21361 | return 0; |
| 12017 | } | 21362 | } |
| 12018 | _ACEOF | 21363 | _ACEOF |
| 12019 | if ac_fn_c_try_link "$LINENO"; then : | 21364 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21365 | if { (ac_try="$ac_link" | ||
| 21366 | case "(($ac_try" in | ||
| 21367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21368 | *) ac_try_echo=$ac_try;; | ||
| 21369 | esac | ||
| 21370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21371 | $as_echo "$ac_try_echo") >&5 | ||
| 21372 | (eval "$ac_link") 2>conftest.er1 | ||
| 21373 | ac_status=$? | ||
| 21374 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21375 | rm -f conftest.er1 | ||
| 21376 | cat conftest.err >&5 | ||
| 21377 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21378 | (exit $ac_status); } && { | ||
| 21379 | test -z "$ac_c_werror_flag" || | ||
| 21380 | test ! -s conftest.err | ||
| 21381 | } && test -s conftest$ac_exeext && { | ||
| 21382 | test "$cross_compiling" = yes || | ||
| 21383 | $as_test_x conftest$ac_exeext | ||
| 21384 | }; then | ||
| 12020 | have_res_init=yes | 21385 | have_res_init=yes |
| 12021 | else | 21386 | else |
| 12022 | have_res_init=no | 21387 | $as_echo "$as_me: failed program was:" >&5 |
| 21388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21389 | |||
| 21390 | have_res_init=no | ||
| 12023 | fi | 21391 | fi |
| 12024 | rm -f core conftest.err conftest.$ac_objext \ | 21392 | |
| 12025 | conftest$ac_exeext conftest.$ac_ext | 21393 | rm -rf conftest.dSYM |
| 12026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 | 21394 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21395 | conftest$ac_exeext conftest.$ac_ext | ||
| 21396 | { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | ||
| 12027 | $as_echo "$have_res_init" >&6; } | 21397 | $as_echo "$have_res_init" >&6; } |
| 12028 | if test "$have_res_init" = yes ; then | 21398 | if test "$have_res_init" = yes ; then |
| 12029 | resolv=yes | 21399 | resolv=yes |
| @@ -12033,7 +21403,9 @@ fi | |||
| 12033 | 21403 | ||
| 12034 | if test "$have_res_init" = yes; then | 21404 | if test "$have_res_init" = yes; then |
| 12035 | 21405 | ||
| 12036 | $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h | 21406 | cat >>confdefs.h <<\_ACEOF |
| 21407 | #define HAVE_RES_INIT 1 | ||
| 21408 | _ACEOF | ||
| 12037 | 21409 | ||
| 12038 | fi | 21410 | fi |
| 12039 | 21411 | ||
| @@ -12041,22 +21413,194 @@ fi | |||
| 12041 | LIBHESIOD= | 21413 | LIBHESIOD= |
| 12042 | if test "$with_hesiod" != no ; then | 21414 | if test "$with_hesiod" != no ; then |
| 12043 | # Don't set $LIBS here -- see comments above. FIXME which comments? | 21415 | # Don't set $LIBS here -- see comments above. FIXME which comments? |
| 12044 | ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 21416 | { $as_echo "$as_me:$LINENO: checking for res_send" >&5 |
| 12045 | if test "x$ac_cv_func_res_send" = x""yes; then : | 21417 | $as_echo_n "checking for res_send... " >&6; } |
| 21418 | if test "${ac_cv_func_res_send+set}" = set; then | ||
| 21419 | $as_echo_n "(cached) " >&6 | ||
| 21420 | else | ||
| 21421 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21422 | /* confdefs.h. */ | ||
| 21423 | _ACEOF | ||
| 21424 | cat confdefs.h >>conftest.$ac_ext | ||
| 21425 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21426 | /* end confdefs.h. */ | ||
| 21427 | /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | ||
| 21428 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21429 | #define res_send innocuous_res_send | ||
| 21430 | |||
| 21431 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21432 | which can conflict with char res_send (); below. | ||
| 21433 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21434 | <limits.h> exists even on freestanding compilers. */ | ||
| 21435 | |||
| 21436 | #ifdef __STDC__ | ||
| 21437 | # include <limits.h> | ||
| 21438 | #else | ||
| 21439 | # include <assert.h> | ||
| 21440 | #endif | ||
| 12046 | 21441 | ||
| 21442 | #undef res_send | ||
| 21443 | |||
| 21444 | /* Override any GCC internal prototype to avoid an error. | ||
| 21445 | Use char because int might match the return type of a GCC | ||
| 21446 | builtin and then its argument prototype would still apply. */ | ||
| 21447 | #ifdef __cplusplus | ||
| 21448 | extern "C" | ||
| 21449 | #endif | ||
| 21450 | char res_send (); | ||
| 21451 | /* The GNU C library defines this for functions which it implements | ||
| 21452 | to always fail with ENOSYS. Some functions are actually named | ||
| 21453 | something starting with __ and the normal name is an alias. */ | ||
| 21454 | #if defined __stub_res_send || defined __stub___res_send | ||
| 21455 | choke me | ||
| 21456 | #endif | ||
| 21457 | |||
| 21458 | int | ||
| 21459 | main () | ||
| 21460 | { | ||
| 21461 | return res_send (); | ||
| 21462 | ; | ||
| 21463 | return 0; | ||
| 21464 | } | ||
| 21465 | _ACEOF | ||
| 21466 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21467 | if { (ac_try="$ac_link" | ||
| 21468 | case "(($ac_try" in | ||
| 21469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21470 | *) ac_try_echo=$ac_try;; | ||
| 21471 | esac | ||
| 21472 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21473 | $as_echo "$ac_try_echo") >&5 | ||
| 21474 | (eval "$ac_link") 2>conftest.er1 | ||
| 21475 | ac_status=$? | ||
| 21476 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21477 | rm -f conftest.er1 | ||
| 21478 | cat conftest.err >&5 | ||
| 21479 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21480 | (exit $ac_status); } && { | ||
| 21481 | test -z "$ac_c_werror_flag" || | ||
| 21482 | test ! -s conftest.err | ||
| 21483 | } && test -s conftest$ac_exeext && { | ||
| 21484 | test "$cross_compiling" = yes || | ||
| 21485 | $as_test_x conftest$ac_exeext | ||
| 21486 | }; then | ||
| 21487 | ac_cv_func_res_send=yes | ||
| 21488 | else | ||
| 21489 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21490 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21491 | |||
| 21492 | ac_cv_func_res_send=no | ||
| 21493 | fi | ||
| 21494 | |||
| 21495 | rm -rf conftest.dSYM | ||
| 21496 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21497 | conftest$ac_exeext conftest.$ac_ext | ||
| 21498 | fi | ||
| 21499 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | ||
| 21500 | $as_echo "$ac_cv_func_res_send" >&6; } | ||
| 21501 | if test $ac_cv_func_res_send = yes; then | ||
| 21502 | : | ||
| 21503 | else | ||
| 21504 | { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | ||
| 21505 | $as_echo_n "checking for __res_send... " >&6; } | ||
| 21506 | if test "${ac_cv_func___res_send+set}" = set; then | ||
| 21507 | $as_echo_n "(cached) " >&6 | ||
| 21508 | else | ||
| 21509 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21510 | /* confdefs.h. */ | ||
| 21511 | _ACEOF | ||
| 21512 | cat confdefs.h >>conftest.$ac_ext | ||
| 21513 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21514 | /* end confdefs.h. */ | ||
| 21515 | /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | ||
| 21516 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21517 | #define __res_send innocuous___res_send | ||
| 21518 | |||
| 21519 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21520 | which can conflict with char __res_send (); below. | ||
| 21521 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21522 | <limits.h> exists even on freestanding compilers. */ | ||
| 21523 | |||
| 21524 | #ifdef __STDC__ | ||
| 21525 | # include <limits.h> | ||
| 21526 | #else | ||
| 21527 | # include <assert.h> | ||
| 21528 | #endif | ||
| 21529 | |||
| 21530 | #undef __res_send | ||
| 21531 | |||
| 21532 | /* Override any GCC internal prototype to avoid an error. | ||
| 21533 | Use char because int might match the return type of a GCC | ||
| 21534 | builtin and then its argument prototype would still apply. */ | ||
| 21535 | #ifdef __cplusplus | ||
| 21536 | extern "C" | ||
| 21537 | #endif | ||
| 21538 | char __res_send (); | ||
| 21539 | /* The GNU C library defines this for functions which it implements | ||
| 21540 | to always fail with ENOSYS. Some functions are actually named | ||
| 21541 | something starting with __ and the normal name is an alias. */ | ||
| 21542 | #if defined __stub___res_send || defined __stub_____res_send | ||
| 21543 | choke me | ||
| 21544 | #endif | ||
| 21545 | |||
| 21546 | int | ||
| 21547 | main () | ||
| 21548 | { | ||
| 21549 | return __res_send (); | ||
| 21550 | ; | ||
| 21551 | return 0; | ||
| 21552 | } | ||
| 21553 | _ACEOF | ||
| 21554 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21555 | if { (ac_try="$ac_link" | ||
| 21556 | case "(($ac_try" in | ||
| 21557 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21558 | *) ac_try_echo=$ac_try;; | ||
| 21559 | esac | ||
| 21560 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21561 | $as_echo "$ac_try_echo") >&5 | ||
| 21562 | (eval "$ac_link") 2>conftest.er1 | ||
| 21563 | ac_status=$? | ||
| 21564 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21565 | rm -f conftest.er1 | ||
| 21566 | cat conftest.err >&5 | ||
| 21567 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21568 | (exit $ac_status); } && { | ||
| 21569 | test -z "$ac_c_werror_flag" || | ||
| 21570 | test ! -s conftest.err | ||
| 21571 | } && test -s conftest$ac_exeext && { | ||
| 21572 | test "$cross_compiling" = yes || | ||
| 21573 | $as_test_x conftest$ac_exeext | ||
| 21574 | }; then | ||
| 21575 | ac_cv_func___res_send=yes | ||
| 12047 | else | 21576 | else |
| 12048 | ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 21577 | $as_echo "$as_me: failed program was:" >&5 |
| 12049 | if test "x$ac_cv_func___res_send" = x""yes; then : | 21578 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21579 | |||
| 21580 | ac_cv_func___res_send=no | ||
| 21581 | fi | ||
| 12050 | 21582 | ||
| 21583 | rm -rf conftest.dSYM | ||
| 21584 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21585 | conftest$ac_exeext conftest.$ac_ext | ||
| 21586 | fi | ||
| 21587 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | ||
| 21588 | $as_echo "$ac_cv_func___res_send" >&6; } | ||
| 21589 | if test $ac_cv_func___res_send = yes; then | ||
| 21590 | : | ||
| 12051 | else | 21591 | else |
| 12052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 21592 | { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
| 12053 | $as_echo_n "checking for res_send in -lresolv... " >&6; } | 21593 | $as_echo_n "checking for res_send in -lresolv... " >&6; } |
| 12054 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 21594 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
| 12055 | $as_echo_n "(cached) " >&6 | 21595 | $as_echo_n "(cached) " >&6 |
| 12056 | else | 21596 | else |
| 12057 | ac_check_lib_save_LIBS=$LIBS | 21597 | ac_check_lib_save_LIBS=$LIBS |
| 12058 | LIBS="-lresolv $LIBS" | 21598 | LIBS="-lresolv $LIBS" |
| 12059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21599 | cat >conftest.$ac_ext <<_ACEOF |
| 21600 | /* confdefs.h. */ | ||
| 21601 | _ACEOF | ||
| 21602 | cat confdefs.h >>conftest.$ac_ext | ||
| 21603 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12060 | /* end confdefs.h. */ | 21604 | /* end confdefs.h. */ |
| 12061 | 21605 | ||
| 12062 | /* Override any GCC internal prototype to avoid an error. | 21606 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12074,28 +21618,57 @@ return res_send (); | |||
| 12074 | return 0; | 21618 | return 0; |
| 12075 | } | 21619 | } |
| 12076 | _ACEOF | 21620 | _ACEOF |
| 12077 | if ac_fn_c_try_link "$LINENO"; then : | 21621 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21622 | if { (ac_try="$ac_link" | ||
| 21623 | case "(($ac_try" in | ||
| 21624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21625 | *) ac_try_echo=$ac_try;; | ||
| 21626 | esac | ||
| 21627 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21628 | $as_echo "$ac_try_echo") >&5 | ||
| 21629 | (eval "$ac_link") 2>conftest.er1 | ||
| 21630 | ac_status=$? | ||
| 21631 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21632 | rm -f conftest.er1 | ||
| 21633 | cat conftest.err >&5 | ||
| 21634 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21635 | (exit $ac_status); } && { | ||
| 21636 | test -z "$ac_c_werror_flag" || | ||
| 21637 | test ! -s conftest.err | ||
| 21638 | } && test -s conftest$ac_exeext && { | ||
| 21639 | test "$cross_compiling" = yes || | ||
| 21640 | $as_test_x conftest$ac_exeext | ||
| 21641 | }; then | ||
| 12078 | ac_cv_lib_resolv_res_send=yes | 21642 | ac_cv_lib_resolv_res_send=yes |
| 12079 | else | 21643 | else |
| 12080 | ac_cv_lib_resolv_res_send=no | 21644 | $as_echo "$as_me: failed program was:" >&5 |
| 21645 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21646 | |||
| 21647 | ac_cv_lib_resolv_res_send=no | ||
| 12081 | fi | 21648 | fi |
| 12082 | rm -f core conftest.err conftest.$ac_objext \ | 21649 | |
| 12083 | conftest$ac_exeext conftest.$ac_ext | 21650 | rm -rf conftest.dSYM |
| 21651 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21652 | conftest$ac_exeext conftest.$ac_ext | ||
| 12084 | LIBS=$ac_check_lib_save_LIBS | 21653 | LIBS=$ac_check_lib_save_LIBS |
| 12085 | fi | 21654 | fi |
| 12086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 21655 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
| 12087 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 21656 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
| 12088 | if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 21657 | if test $ac_cv_lib_resolv_res_send = yes; then |
| 12089 | resolv=yes | 21658 | resolv=yes |
| 12090 | else | 21659 | else |
| 12091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 21660 | { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
| 12092 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 21661 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
| 12093 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 21662 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
| 12094 | $as_echo_n "(cached) " >&6 | 21663 | $as_echo_n "(cached) " >&6 |
| 12095 | else | 21664 | else |
| 12096 | ac_check_lib_save_LIBS=$LIBS | 21665 | ac_check_lib_save_LIBS=$LIBS |
| 12097 | LIBS="-lresolv $LIBS" | 21666 | LIBS="-lresolv $LIBS" |
| 12098 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21667 | cat >conftest.$ac_ext <<_ACEOF |
| 21668 | /* confdefs.h. */ | ||
| 21669 | _ACEOF | ||
| 21670 | cat confdefs.h >>conftest.$ac_ext | ||
| 21671 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12099 | /* end confdefs.h. */ | 21672 | /* end confdefs.h. */ |
| 12100 | 21673 | ||
| 12101 | /* Override any GCC internal prototype to avoid an error. | 21674 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12113,18 +21686,43 @@ return __res_send (); | |||
| 12113 | return 0; | 21686 | return 0; |
| 12114 | } | 21687 | } |
| 12115 | _ACEOF | 21688 | _ACEOF |
| 12116 | if ac_fn_c_try_link "$LINENO"; then : | 21689 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21690 | if { (ac_try="$ac_link" | ||
| 21691 | case "(($ac_try" in | ||
| 21692 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21693 | *) ac_try_echo=$ac_try;; | ||
| 21694 | esac | ||
| 21695 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21696 | $as_echo "$ac_try_echo") >&5 | ||
| 21697 | (eval "$ac_link") 2>conftest.er1 | ||
| 21698 | ac_status=$? | ||
| 21699 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21700 | rm -f conftest.er1 | ||
| 21701 | cat conftest.err >&5 | ||
| 21702 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21703 | (exit $ac_status); } && { | ||
| 21704 | test -z "$ac_c_werror_flag" || | ||
| 21705 | test ! -s conftest.err | ||
| 21706 | } && test -s conftest$ac_exeext && { | ||
| 21707 | test "$cross_compiling" = yes || | ||
| 21708 | $as_test_x conftest$ac_exeext | ||
| 21709 | }; then | ||
| 12117 | ac_cv_lib_resolv___res_send=yes | 21710 | ac_cv_lib_resolv___res_send=yes |
| 12118 | else | 21711 | else |
| 12119 | ac_cv_lib_resolv___res_send=no | 21712 | $as_echo "$as_me: failed program was:" >&5 |
| 21713 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21714 | |||
| 21715 | ac_cv_lib_resolv___res_send=no | ||
| 12120 | fi | 21716 | fi |
| 12121 | rm -f core conftest.err conftest.$ac_objext \ | 21717 | |
| 12122 | conftest$ac_exeext conftest.$ac_ext | 21718 | rm -rf conftest.dSYM |
| 21719 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21720 | conftest$ac_exeext conftest.$ac_ext | ||
| 12123 | LIBS=$ac_check_lib_save_LIBS | 21721 | LIBS=$ac_check_lib_save_LIBS |
| 12124 | fi | 21722 | fi |
| 12125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 21723 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
| 12126 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 21724 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
| 12127 | if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 21725 | if test $ac_cv_lib_resolv___res_send = yes; then |
| 12128 | resolv=yes | 21726 | resolv=yes |
| 12129 | fi | 21727 | fi |
| 12130 | 21728 | ||
| @@ -12139,18 +21737,106 @@ fi | |||
| 12139 | else | 21737 | else |
| 12140 | RESOLVLIB= | 21738 | RESOLVLIB= |
| 12141 | fi | 21739 | fi |
| 12142 | ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 21740 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
| 12143 | if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 21741 | $as_echo_n "checking for hes_getmailhost... " >&6; } |
| 21742 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then | ||
| 21743 | $as_echo_n "(cached) " >&6 | ||
| 21744 | else | ||
| 21745 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21746 | /* confdefs.h. */ | ||
| 21747 | _ACEOF | ||
| 21748 | cat confdefs.h >>conftest.$ac_ext | ||
| 21749 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21750 | /* end confdefs.h. */ | ||
| 21751 | /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | ||
| 21752 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21753 | #define hes_getmailhost innocuous_hes_getmailhost | ||
| 21754 | |||
| 21755 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21756 | which can conflict with char hes_getmailhost (); below. | ||
| 21757 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21758 | <limits.h> exists even on freestanding compilers. */ | ||
| 21759 | |||
| 21760 | #ifdef __STDC__ | ||
| 21761 | # include <limits.h> | ||
| 21762 | #else | ||
| 21763 | # include <assert.h> | ||
| 21764 | #endif | ||
| 21765 | |||
| 21766 | #undef hes_getmailhost | ||
| 21767 | |||
| 21768 | /* Override any GCC internal prototype to avoid an error. | ||
| 21769 | Use char because int might match the return type of a GCC | ||
| 21770 | builtin and then its argument prototype would still apply. */ | ||
| 21771 | #ifdef __cplusplus | ||
| 21772 | extern "C" | ||
| 21773 | #endif | ||
| 21774 | char hes_getmailhost (); | ||
| 21775 | /* The GNU C library defines this for functions which it implements | ||
| 21776 | to always fail with ENOSYS. Some functions are actually named | ||
| 21777 | something starting with __ and the normal name is an alias. */ | ||
| 21778 | #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | ||
| 21779 | choke me | ||
| 21780 | #endif | ||
| 21781 | |||
| 21782 | int | ||
| 21783 | main () | ||
| 21784 | { | ||
| 21785 | return hes_getmailhost (); | ||
| 21786 | ; | ||
| 21787 | return 0; | ||
| 21788 | } | ||
| 21789 | _ACEOF | ||
| 21790 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21791 | if { (ac_try="$ac_link" | ||
| 21792 | case "(($ac_try" in | ||
| 21793 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21794 | *) ac_try_echo=$ac_try;; | ||
| 21795 | esac | ||
| 21796 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21797 | $as_echo "$ac_try_echo") >&5 | ||
| 21798 | (eval "$ac_link") 2>conftest.er1 | ||
| 21799 | ac_status=$? | ||
| 21800 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21801 | rm -f conftest.er1 | ||
| 21802 | cat conftest.err >&5 | ||
| 21803 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21804 | (exit $ac_status); } && { | ||
| 21805 | test -z "$ac_c_werror_flag" || | ||
| 21806 | test ! -s conftest.err | ||
| 21807 | } && test -s conftest$ac_exeext && { | ||
| 21808 | test "$cross_compiling" = yes || | ||
| 21809 | $as_test_x conftest$ac_exeext | ||
| 21810 | }; then | ||
| 21811 | ac_cv_func_hes_getmailhost=yes | ||
| 21812 | else | ||
| 21813 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21814 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12144 | 21815 | ||
| 21816 | ac_cv_func_hes_getmailhost=no | ||
| 21817 | fi | ||
| 21818 | |||
| 21819 | rm -rf conftest.dSYM | ||
| 21820 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21821 | conftest$ac_exeext conftest.$ac_ext | ||
| 21822 | fi | ||
| 21823 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | ||
| 21824 | $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | ||
| 21825 | if test $ac_cv_func_hes_getmailhost = yes; then | ||
| 21826 | : | ||
| 12145 | else | 21827 | else |
| 12146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 21828 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
| 12147 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 21829 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
| 12148 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 21830 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
| 12149 | $as_echo_n "(cached) " >&6 | 21831 | $as_echo_n "(cached) " >&6 |
| 12150 | else | 21832 | else |
| 12151 | ac_check_lib_save_LIBS=$LIBS | 21833 | ac_check_lib_save_LIBS=$LIBS |
| 12152 | LIBS="-lhesiod $RESOLVLIB $LIBS" | 21834 | LIBS="-lhesiod $RESOLVLIB $LIBS" |
| 12153 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21835 | cat >conftest.$ac_ext <<_ACEOF |
| 21836 | /* confdefs.h. */ | ||
| 21837 | _ACEOF | ||
| 21838 | cat confdefs.h >>conftest.$ac_ext | ||
| 21839 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12154 | /* end confdefs.h. */ | 21840 | /* end confdefs.h. */ |
| 12155 | 21841 | ||
| 12156 | /* Override any GCC internal prototype to avoid an error. | 21842 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12168,18 +21854,43 @@ return hes_getmailhost (); | |||
| 12168 | return 0; | 21854 | return 0; |
| 12169 | } | 21855 | } |
| 12170 | _ACEOF | 21856 | _ACEOF |
| 12171 | if ac_fn_c_try_link "$LINENO"; then : | 21857 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21858 | if { (ac_try="$ac_link" | ||
| 21859 | case "(($ac_try" in | ||
| 21860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21861 | *) ac_try_echo=$ac_try;; | ||
| 21862 | esac | ||
| 21863 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21864 | $as_echo "$ac_try_echo") >&5 | ||
| 21865 | (eval "$ac_link") 2>conftest.er1 | ||
| 21866 | ac_status=$? | ||
| 21867 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21868 | rm -f conftest.er1 | ||
| 21869 | cat conftest.err >&5 | ||
| 21870 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21871 | (exit $ac_status); } && { | ||
| 21872 | test -z "$ac_c_werror_flag" || | ||
| 21873 | test ! -s conftest.err | ||
| 21874 | } && test -s conftest$ac_exeext && { | ||
| 21875 | test "$cross_compiling" = yes || | ||
| 21876 | $as_test_x conftest$ac_exeext | ||
| 21877 | }; then | ||
| 12172 | ac_cv_lib_hesiod_hes_getmailhost=yes | 21878 | ac_cv_lib_hesiod_hes_getmailhost=yes |
| 12173 | else | 21879 | else |
| 12174 | ac_cv_lib_hesiod_hes_getmailhost=no | 21880 | $as_echo "$as_me: failed program was:" >&5 |
| 21881 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21882 | |||
| 21883 | ac_cv_lib_hesiod_hes_getmailhost=no | ||
| 12175 | fi | 21884 | fi |
| 12176 | rm -f core conftest.err conftest.$ac_objext \ | 21885 | |
| 12177 | conftest$ac_exeext conftest.$ac_ext | 21886 | rm -rf conftest.dSYM |
| 21887 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21888 | conftest$ac_exeext conftest.$ac_ext | ||
| 12178 | LIBS=$ac_check_lib_save_LIBS | 21889 | LIBS=$ac_check_lib_save_LIBS |
| 12179 | fi | 21890 | fi |
| 12180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 21891 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 12181 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 21892 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
| 12182 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 21893 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
| 12183 | hesiod=yes | 21894 | hesiod=yes |
| 12184 | else | 21895 | else |
| 12185 | : | 21896 | : |
| @@ -12190,7 +21901,9 @@ fi | |||
| 12190 | 21901 | ||
| 12191 | if test x"$hesiod" = xyes; then | 21902 | if test x"$hesiod" = xyes; then |
| 12192 | 21903 | ||
| 12193 | $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h | 21904 | cat >>confdefs.h <<\_ACEOF |
| 21905 | #define HAVE_LIBHESIOD 1 | ||
| 21906 | _ACEOF | ||
| 12194 | 21907 | ||
| 12195 | LIBHESIOD=-lhesiod | 21908 | LIBHESIOD=-lhesiod |
| 12196 | fi | 21909 | fi |
| @@ -12200,7 +21913,9 @@ fi | |||
| 12200 | # Do we need libresolv (due to res_init or Hesiod)? | 21913 | # Do we need libresolv (due to res_init or Hesiod)? |
| 12201 | if test "$resolv" = yes ; then | 21914 | if test "$resolv" = yes ; then |
| 12202 | 21915 | ||
| 12203 | $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h | 21916 | cat >>confdefs.h <<\_ACEOF |
| 21917 | #define HAVE_LIBRESOLV 1 | ||
| 21918 | _ACEOF | ||
| 12204 | 21919 | ||
| 12205 | LIBRESOLV=-lresolv | 21920 | LIBRESOLV=-lresolv |
| 12206 | else | 21921 | else |
| @@ -12216,14 +21931,18 @@ DESLIB= | |||
| 12216 | KRB4LIB= | 21931 | KRB4LIB= |
| 12217 | 21932 | ||
| 12218 | if test "${with_kerberos}" != no; then | 21933 | if test "${with_kerberos}" != no; then |
| 12219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 21934 | { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
| 12220 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 21935 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
| 12221 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 21936 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
| 12222 | $as_echo_n "(cached) " >&6 | 21937 | $as_echo_n "(cached) " >&6 |
| 12223 | else | 21938 | else |
| 12224 | ac_check_lib_save_LIBS=$LIBS | 21939 | ac_check_lib_save_LIBS=$LIBS |
| 12225 | LIBS="-lcom_err $LIBS" | 21940 | LIBS="-lcom_err $LIBS" |
| 12226 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21941 | cat >conftest.$ac_ext <<_ACEOF |
| 21942 | /* confdefs.h. */ | ||
| 21943 | _ACEOF | ||
| 21944 | cat confdefs.h >>conftest.$ac_ext | ||
| 21945 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12227 | /* end confdefs.h. */ | 21946 | /* end confdefs.h. */ |
| 12228 | 21947 | ||
| 12229 | /* Override any GCC internal prototype to avoid an error. | 21948 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12241,18 +21960,43 @@ return com_err (); | |||
| 12241 | return 0; | 21960 | return 0; |
| 12242 | } | 21961 | } |
| 12243 | _ACEOF | 21962 | _ACEOF |
| 12244 | if ac_fn_c_try_link "$LINENO"; then : | 21963 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21964 | if { (ac_try="$ac_link" | ||
| 21965 | case "(($ac_try" in | ||
| 21966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21967 | *) ac_try_echo=$ac_try;; | ||
| 21968 | esac | ||
| 21969 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21970 | $as_echo "$ac_try_echo") >&5 | ||
| 21971 | (eval "$ac_link") 2>conftest.er1 | ||
| 21972 | ac_status=$? | ||
| 21973 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21974 | rm -f conftest.er1 | ||
| 21975 | cat conftest.err >&5 | ||
| 21976 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21977 | (exit $ac_status); } && { | ||
| 21978 | test -z "$ac_c_werror_flag" || | ||
| 21979 | test ! -s conftest.err | ||
| 21980 | } && test -s conftest$ac_exeext && { | ||
| 21981 | test "$cross_compiling" = yes || | ||
| 21982 | $as_test_x conftest$ac_exeext | ||
| 21983 | }; then | ||
| 12245 | ac_cv_lib_com_err_com_err=yes | 21984 | ac_cv_lib_com_err_com_err=yes |
| 12246 | else | 21985 | else |
| 12247 | ac_cv_lib_com_err_com_err=no | 21986 | $as_echo "$as_me: failed program was:" >&5 |
| 21987 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21988 | |||
| 21989 | ac_cv_lib_com_err_com_err=no | ||
| 12248 | fi | 21990 | fi |
| 12249 | rm -f core conftest.err conftest.$ac_objext \ | 21991 | |
| 12250 | conftest$ac_exeext conftest.$ac_ext | 21992 | rm -rf conftest.dSYM |
| 21993 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21994 | conftest$ac_exeext conftest.$ac_ext | ||
| 12251 | LIBS=$ac_check_lib_save_LIBS | 21995 | LIBS=$ac_check_lib_save_LIBS |
| 12252 | fi | 21996 | fi |
| 12253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 21997 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
| 12254 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 21998 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
| 12255 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 21999 | if test $ac_cv_lib_com_err_com_err = yes; then |
| 12256 | have_com_err=yes | 22000 | have_com_err=yes |
| 12257 | else | 22001 | else |
| 12258 | have_com_err=no | 22002 | have_com_err=no |
| @@ -12262,17 +22006,23 @@ fi | |||
| 12262 | COM_ERRLIB=-lcom_err | 22006 | COM_ERRLIB=-lcom_err |
| 12263 | LIBS="$COM_ERRLIB $LIBS" | 22007 | LIBS="$COM_ERRLIB $LIBS" |
| 12264 | 22008 | ||
| 12265 | $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 22009 | cat >>confdefs.h <<\_ACEOF |
| 22010 | #define HAVE_LIBCOM_ERR 1 | ||
| 22011 | _ACEOF | ||
| 12266 | 22012 | ||
| 12267 | fi | 22013 | fi |
| 12268 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 22014 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 12269 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 22015 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
| 12270 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 22016 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12271 | $as_echo_n "(cached) " >&6 | 22017 | $as_echo_n "(cached) " >&6 |
| 12272 | else | 22018 | else |
| 12273 | ac_check_lib_save_LIBS=$LIBS | 22019 | ac_check_lib_save_LIBS=$LIBS |
| 12274 | LIBS="-lcrypto $LIBS" | 22020 | LIBS="-lcrypto $LIBS" |
| 12275 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22021 | cat >conftest.$ac_ext <<_ACEOF |
| 22022 | /* confdefs.h. */ | ||
| 22023 | _ACEOF | ||
| 22024 | cat confdefs.h >>conftest.$ac_ext | ||
| 22025 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12276 | /* end confdefs.h. */ | 22026 | /* end confdefs.h. */ |
| 12277 | 22027 | ||
| 12278 | /* Override any GCC internal prototype to avoid an error. | 22028 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12290,18 +22040,43 @@ return mit_des_cbc_encrypt (); | |||
| 12290 | return 0; | 22040 | return 0; |
| 12291 | } | 22041 | } |
| 12292 | _ACEOF | 22042 | _ACEOF |
| 12293 | if ac_fn_c_try_link "$LINENO"; then : | 22043 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22044 | if { (ac_try="$ac_link" | ||
| 22045 | case "(($ac_try" in | ||
| 22046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22047 | *) ac_try_echo=$ac_try;; | ||
| 22048 | esac | ||
| 22049 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22050 | $as_echo "$ac_try_echo") >&5 | ||
| 22051 | (eval "$ac_link") 2>conftest.er1 | ||
| 22052 | ac_status=$? | ||
| 22053 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22054 | rm -f conftest.er1 | ||
| 22055 | cat conftest.err >&5 | ||
| 22056 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22057 | (exit $ac_status); } && { | ||
| 22058 | test -z "$ac_c_werror_flag" || | ||
| 22059 | test ! -s conftest.err | ||
| 22060 | } && test -s conftest$ac_exeext && { | ||
| 22061 | test "$cross_compiling" = yes || | ||
| 22062 | $as_test_x conftest$ac_exeext | ||
| 22063 | }; then | ||
| 12294 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 22064 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
| 12295 | else | 22065 | else |
| 12296 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 22066 | $as_echo "$as_me: failed program was:" >&5 |
| 22067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22068 | |||
| 22069 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | ||
| 12297 | fi | 22070 | fi |
| 12298 | rm -f core conftest.err conftest.$ac_objext \ | 22071 | |
| 12299 | conftest$ac_exeext conftest.$ac_ext | 22072 | rm -rf conftest.dSYM |
| 22073 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22074 | conftest$ac_exeext conftest.$ac_ext | ||
| 12300 | LIBS=$ac_check_lib_save_LIBS | 22075 | LIBS=$ac_check_lib_save_LIBS |
| 12301 | fi | 22076 | fi |
| 12302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 22077 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
| 12303 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 22078 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
| 12304 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 22079 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
| 12305 | have_crypto=yes | 22080 | have_crypto=yes |
| 12306 | else | 22081 | else |
| 12307 | have_crypto=no | 22082 | have_crypto=no |
| @@ -12311,17 +22086,23 @@ fi | |||
| 12311 | CRYPTOLIB=-lcrypto | 22086 | CRYPTOLIB=-lcrypto |
| 12312 | LIBS="$CRYPTOLIB $LIBS" | 22087 | LIBS="$CRYPTOLIB $LIBS" |
| 12313 | 22088 | ||
| 12314 | $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 22089 | cat >>confdefs.h <<\_ACEOF |
| 22090 | #define HAVE_LIBCRYPTO 1 | ||
| 22091 | _ACEOF | ||
| 12315 | 22092 | ||
| 12316 | fi | 22093 | fi |
| 12317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 22094 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 12318 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 22095 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
| 12319 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 22096 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12320 | $as_echo_n "(cached) " >&6 | 22097 | $as_echo_n "(cached) " >&6 |
| 12321 | else | 22098 | else |
| 12322 | ac_check_lib_save_LIBS=$LIBS | 22099 | ac_check_lib_save_LIBS=$LIBS |
| 12323 | LIBS="-lk5crypto $LIBS" | 22100 | LIBS="-lk5crypto $LIBS" |
| 12324 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22101 | cat >conftest.$ac_ext <<_ACEOF |
| 22102 | /* confdefs.h. */ | ||
| 22103 | _ACEOF | ||
| 22104 | cat confdefs.h >>conftest.$ac_ext | ||
| 22105 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12325 | /* end confdefs.h. */ | 22106 | /* end confdefs.h. */ |
| 12326 | 22107 | ||
| 12327 | /* Override any GCC internal prototype to avoid an error. | 22108 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12339,18 +22120,43 @@ return mit_des_cbc_encrypt (); | |||
| 12339 | return 0; | 22120 | return 0; |
| 12340 | } | 22121 | } |
| 12341 | _ACEOF | 22122 | _ACEOF |
| 12342 | if ac_fn_c_try_link "$LINENO"; then : | 22123 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22124 | if { (ac_try="$ac_link" | ||
| 22125 | case "(($ac_try" in | ||
| 22126 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22127 | *) ac_try_echo=$ac_try;; | ||
| 22128 | esac | ||
| 22129 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22130 | $as_echo "$ac_try_echo") >&5 | ||
| 22131 | (eval "$ac_link") 2>conftest.er1 | ||
| 22132 | ac_status=$? | ||
| 22133 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22134 | rm -f conftest.er1 | ||
| 22135 | cat conftest.err >&5 | ||
| 22136 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22137 | (exit $ac_status); } && { | ||
| 22138 | test -z "$ac_c_werror_flag" || | ||
| 22139 | test ! -s conftest.err | ||
| 22140 | } && test -s conftest$ac_exeext && { | ||
| 22141 | test "$cross_compiling" = yes || | ||
| 22142 | $as_test_x conftest$ac_exeext | ||
| 22143 | }; then | ||
| 12343 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 22144 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
| 12344 | else | 22145 | else |
| 12345 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 22146 | $as_echo "$as_me: failed program was:" >&5 |
| 22147 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22148 | |||
| 22149 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | ||
| 12346 | fi | 22150 | fi |
| 12347 | rm -f core conftest.err conftest.$ac_objext \ | 22151 | |
| 12348 | conftest$ac_exeext conftest.$ac_ext | 22152 | rm -rf conftest.dSYM |
| 22153 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22154 | conftest$ac_exeext conftest.$ac_ext | ||
| 12349 | LIBS=$ac_check_lib_save_LIBS | 22155 | LIBS=$ac_check_lib_save_LIBS |
| 12350 | fi | 22156 | fi |
| 12351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 22157 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
| 12352 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 22158 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
| 12353 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 22159 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
| 12354 | have_k5crypto=yes | 22160 | have_k5crypto=yes |
| 12355 | else | 22161 | else |
| 12356 | have_k5crypto=no | 22162 | have_k5crypto=no |
| @@ -12360,17 +22166,23 @@ fi | |||
| 12360 | CRYPTOLIB=-lk5crypto | 22166 | CRYPTOLIB=-lk5crypto |
| 12361 | LIBS="$CRYPTOLIB $LIBS" | 22167 | LIBS="$CRYPTOLIB $LIBS" |
| 12362 | 22168 | ||
| 12363 | $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 22169 | cat >>confdefs.h <<\_ACEOF |
| 22170 | #define HAVE_LIBK5CRYPTO 1 | ||
| 22171 | _ACEOF | ||
| 12364 | 22172 | ||
| 12365 | fi | 22173 | fi |
| 12366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 22174 | { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
| 12367 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 22175 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
| 12368 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 22176 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
| 12369 | $as_echo_n "(cached) " >&6 | 22177 | $as_echo_n "(cached) " >&6 |
| 12370 | else | 22178 | else |
| 12371 | ac_check_lib_save_LIBS=$LIBS | 22179 | ac_check_lib_save_LIBS=$LIBS |
| 12372 | LIBS="-lkrb5 $LIBS" | 22180 | LIBS="-lkrb5 $LIBS" |
| 12373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22181 | cat >conftest.$ac_ext <<_ACEOF |
| 22182 | /* confdefs.h. */ | ||
| 22183 | _ACEOF | ||
| 22184 | cat confdefs.h >>conftest.$ac_ext | ||
| 22185 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12374 | /* end confdefs.h. */ | 22186 | /* end confdefs.h. */ |
| 12375 | 22187 | ||
| 12376 | /* Override any GCC internal prototype to avoid an error. | 22188 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12388,18 +22200,43 @@ return krb5_init_context (); | |||
| 12388 | return 0; | 22200 | return 0; |
| 12389 | } | 22201 | } |
| 12390 | _ACEOF | 22202 | _ACEOF |
| 12391 | if ac_fn_c_try_link "$LINENO"; then : | 22203 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22204 | if { (ac_try="$ac_link" | ||
| 22205 | case "(($ac_try" in | ||
| 22206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22207 | *) ac_try_echo=$ac_try;; | ||
| 22208 | esac | ||
| 22209 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22210 | $as_echo "$ac_try_echo") >&5 | ||
| 22211 | (eval "$ac_link") 2>conftest.er1 | ||
| 22212 | ac_status=$? | ||
| 22213 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22214 | rm -f conftest.er1 | ||
| 22215 | cat conftest.err >&5 | ||
| 22216 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22217 | (exit $ac_status); } && { | ||
| 22218 | test -z "$ac_c_werror_flag" || | ||
| 22219 | test ! -s conftest.err | ||
| 22220 | } && test -s conftest$ac_exeext && { | ||
| 22221 | test "$cross_compiling" = yes || | ||
| 22222 | $as_test_x conftest$ac_exeext | ||
| 22223 | }; then | ||
| 12392 | ac_cv_lib_krb5_krb5_init_context=yes | 22224 | ac_cv_lib_krb5_krb5_init_context=yes |
| 12393 | else | 22225 | else |
| 12394 | ac_cv_lib_krb5_krb5_init_context=no | 22226 | $as_echo "$as_me: failed program was:" >&5 |
| 22227 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22228 | |||
| 22229 | ac_cv_lib_krb5_krb5_init_context=no | ||
| 12395 | fi | 22230 | fi |
| 12396 | rm -f core conftest.err conftest.$ac_objext \ | 22231 | |
| 12397 | conftest$ac_exeext conftest.$ac_ext | 22232 | rm -rf conftest.dSYM |
| 22233 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22234 | conftest$ac_exeext conftest.$ac_ext | ||
| 12398 | LIBS=$ac_check_lib_save_LIBS | 22235 | LIBS=$ac_check_lib_save_LIBS |
| 12399 | fi | 22236 | fi |
| 12400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 22237 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
| 12401 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 22238 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
| 12402 | if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 22239 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
| 12403 | have_krb5=yes | 22240 | have_krb5=yes |
| 12404 | else | 22241 | else |
| 12405 | have_krb5=no | 22242 | have_krb5=no |
| @@ -12409,18 +22246,24 @@ fi | |||
| 12409 | KRB5LIB=-lkrb5 | 22246 | KRB5LIB=-lkrb5 |
| 12410 | LIBS="$KRB5LIB $LIBS" | 22247 | LIBS="$KRB5LIB $LIBS" |
| 12411 | 22248 | ||
| 12412 | $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h | 22249 | cat >>confdefs.h <<\_ACEOF |
| 22250 | #define HAVE_LIBKRB5 1 | ||
| 22251 | _ACEOF | ||
| 12413 | 22252 | ||
| 12414 | fi | 22253 | fi |
| 12415 | if test "${with_kerberos5}" = no; then | 22254 | if test "${with_kerberos5}" = no; then |
| 12416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 22255 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
| 12417 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 22256 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
| 12418 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 22257 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
| 12419 | $as_echo_n "(cached) " >&6 | 22258 | $as_echo_n "(cached) " >&6 |
| 12420 | else | 22259 | else |
| 12421 | ac_check_lib_save_LIBS=$LIBS | 22260 | ac_check_lib_save_LIBS=$LIBS |
| 12422 | LIBS="-ldes425 $LIBS" | 22261 | LIBS="-ldes425 $LIBS" |
| 12423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22262 | cat >conftest.$ac_ext <<_ACEOF |
| 22263 | /* confdefs.h. */ | ||
| 22264 | _ACEOF | ||
| 22265 | cat confdefs.h >>conftest.$ac_ext | ||
| 22266 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12424 | /* end confdefs.h. */ | 22267 | /* end confdefs.h. */ |
| 12425 | 22268 | ||
| 12426 | /* Override any GCC internal prototype to avoid an error. | 22269 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12438,18 +22281,43 @@ return des_cbc_encrypt (); | |||
| 12438 | return 0; | 22281 | return 0; |
| 12439 | } | 22282 | } |
| 12440 | _ACEOF | 22283 | _ACEOF |
| 12441 | if ac_fn_c_try_link "$LINENO"; then : | 22284 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22285 | if { (ac_try="$ac_link" | ||
| 22286 | case "(($ac_try" in | ||
| 22287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22288 | *) ac_try_echo=$ac_try;; | ||
| 22289 | esac | ||
| 22290 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22291 | $as_echo "$ac_try_echo") >&5 | ||
| 22292 | (eval "$ac_link") 2>conftest.er1 | ||
| 22293 | ac_status=$? | ||
| 22294 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22295 | rm -f conftest.er1 | ||
| 22296 | cat conftest.err >&5 | ||
| 22297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22298 | (exit $ac_status); } && { | ||
| 22299 | test -z "$ac_c_werror_flag" || | ||
| 22300 | test ! -s conftest.err | ||
| 22301 | } && test -s conftest$ac_exeext && { | ||
| 22302 | test "$cross_compiling" = yes || | ||
| 22303 | $as_test_x conftest$ac_exeext | ||
| 22304 | }; then | ||
| 12442 | ac_cv_lib_des425_des_cbc_encrypt=yes | 22305 | ac_cv_lib_des425_des_cbc_encrypt=yes |
| 12443 | else | 22306 | else |
| 12444 | ac_cv_lib_des425_des_cbc_encrypt=no | 22307 | $as_echo "$as_me: failed program was:" >&5 |
| 22308 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22309 | |||
| 22310 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
| 12445 | fi | 22311 | fi |
| 12446 | rm -f core conftest.err conftest.$ac_objext \ | 22312 | |
| 12447 | conftest$ac_exeext conftest.$ac_ext | 22313 | rm -rf conftest.dSYM |
| 22314 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22315 | conftest$ac_exeext conftest.$ac_ext | ||
| 12448 | LIBS=$ac_check_lib_save_LIBS | 22316 | LIBS=$ac_check_lib_save_LIBS |
| 12449 | fi | 22317 | fi |
| 12450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22318 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
| 12451 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 22319 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
| 12452 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 22320 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
| 12453 | have_des425=yes | 22321 | have_des425=yes |
| 12454 | else | 22322 | else |
| 12455 | have_des425=no | 22323 | have_des425=no |
| @@ -12459,17 +22327,23 @@ fi | |||
| 12459 | DESLIB=-ldes425 | 22327 | DESLIB=-ldes425 |
| 12460 | LIBS="$DESLIB $LIBS" | 22328 | LIBS="$DESLIB $LIBS" |
| 12461 | 22329 | ||
| 12462 | $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 22330 | cat >>confdefs.h <<\_ACEOF |
| 22331 | #define HAVE_LIBDES425 1 | ||
| 22332 | _ACEOF | ||
| 12463 | 22333 | ||
| 12464 | else | 22334 | else |
| 12465 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 22335 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
| 12466 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 22336 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
| 12467 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 22337 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
| 12468 | $as_echo_n "(cached) " >&6 | 22338 | $as_echo_n "(cached) " >&6 |
| 12469 | else | 22339 | else |
| 12470 | ac_check_lib_save_LIBS=$LIBS | 22340 | ac_check_lib_save_LIBS=$LIBS |
| 12471 | LIBS="-ldes $LIBS" | 22341 | LIBS="-ldes $LIBS" |
| 12472 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22342 | cat >conftest.$ac_ext <<_ACEOF |
| 22343 | /* confdefs.h. */ | ||
| 22344 | _ACEOF | ||
| 22345 | cat confdefs.h >>conftest.$ac_ext | ||
| 22346 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12473 | /* end confdefs.h. */ | 22347 | /* end confdefs.h. */ |
| 12474 | 22348 | ||
| 12475 | /* Override any GCC internal prototype to avoid an error. | 22349 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12487,18 +22361,43 @@ return des_cbc_encrypt (); | |||
| 12487 | return 0; | 22361 | return 0; |
| 12488 | } | 22362 | } |
| 12489 | _ACEOF | 22363 | _ACEOF |
| 12490 | if ac_fn_c_try_link "$LINENO"; then : | 22364 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22365 | if { (ac_try="$ac_link" | ||
| 22366 | case "(($ac_try" in | ||
| 22367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22368 | *) ac_try_echo=$ac_try;; | ||
| 22369 | esac | ||
| 22370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22371 | $as_echo "$ac_try_echo") >&5 | ||
| 22372 | (eval "$ac_link") 2>conftest.er1 | ||
| 22373 | ac_status=$? | ||
| 22374 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22375 | rm -f conftest.er1 | ||
| 22376 | cat conftest.err >&5 | ||
| 22377 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22378 | (exit $ac_status); } && { | ||
| 22379 | test -z "$ac_c_werror_flag" || | ||
| 22380 | test ! -s conftest.err | ||
| 22381 | } && test -s conftest$ac_exeext && { | ||
| 22382 | test "$cross_compiling" = yes || | ||
| 22383 | $as_test_x conftest$ac_exeext | ||
| 22384 | }; then | ||
| 12491 | ac_cv_lib_des_des_cbc_encrypt=yes | 22385 | ac_cv_lib_des_des_cbc_encrypt=yes |
| 12492 | else | 22386 | else |
| 12493 | ac_cv_lib_des_des_cbc_encrypt=no | 22387 | $as_echo "$as_me: failed program was:" >&5 |
| 22388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22389 | |||
| 22390 | ac_cv_lib_des_des_cbc_encrypt=no | ||
| 12494 | fi | 22391 | fi |
| 12495 | rm -f core conftest.err conftest.$ac_objext \ | 22392 | |
| 12496 | conftest$ac_exeext conftest.$ac_ext | 22393 | rm -rf conftest.dSYM |
| 22394 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22395 | conftest$ac_exeext conftest.$ac_ext | ||
| 12497 | LIBS=$ac_check_lib_save_LIBS | 22396 | LIBS=$ac_check_lib_save_LIBS |
| 12498 | fi | 22397 | fi |
| 12499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22398 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
| 12500 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 22399 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
| 12501 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 22400 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
| 12502 | have_des=yes | 22401 | have_des=yes |
| 12503 | else | 22402 | else |
| 12504 | have_des=no | 22403 | have_des=no |
| @@ -12508,18 +22407,24 @@ fi | |||
| 12508 | DESLIB=-ldes | 22407 | DESLIB=-ldes |
| 12509 | LIBS="$DESLIB $LIBS" | 22408 | LIBS="$DESLIB $LIBS" |
| 12510 | 22409 | ||
| 12511 | $as_echo "#define HAVE_LIBDES 1" >>confdefs.h | 22410 | cat >>confdefs.h <<\_ACEOF |
| 22411 | #define HAVE_LIBDES 1 | ||
| 22412 | _ACEOF | ||
| 12512 | 22413 | ||
| 12513 | fi | 22414 | fi |
| 12514 | fi | 22415 | fi |
| 12515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 22416 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
| 12516 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 22417 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
| 12517 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 22418 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
| 12518 | $as_echo_n "(cached) " >&6 | 22419 | $as_echo_n "(cached) " >&6 |
| 12519 | else | 22420 | else |
| 12520 | ac_check_lib_save_LIBS=$LIBS | 22421 | ac_check_lib_save_LIBS=$LIBS |
| 12521 | LIBS="-lkrb4 $LIBS" | 22422 | LIBS="-lkrb4 $LIBS" |
| 12522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22423 | cat >conftest.$ac_ext <<_ACEOF |
| 22424 | /* confdefs.h. */ | ||
| 22425 | _ACEOF | ||
| 22426 | cat confdefs.h >>conftest.$ac_ext | ||
| 22427 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12523 | /* end confdefs.h. */ | 22428 | /* end confdefs.h. */ |
| 12524 | 22429 | ||
| 12525 | /* Override any GCC internal prototype to avoid an error. | 22430 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12537,18 +22442,43 @@ return krb_get_cred (); | |||
| 12537 | return 0; | 22442 | return 0; |
| 12538 | } | 22443 | } |
| 12539 | _ACEOF | 22444 | _ACEOF |
| 12540 | if ac_fn_c_try_link "$LINENO"; then : | 22445 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22446 | if { (ac_try="$ac_link" | ||
| 22447 | case "(($ac_try" in | ||
| 22448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22449 | *) ac_try_echo=$ac_try;; | ||
| 22450 | esac | ||
| 22451 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22452 | $as_echo "$ac_try_echo") >&5 | ||
| 22453 | (eval "$ac_link") 2>conftest.er1 | ||
| 22454 | ac_status=$? | ||
| 22455 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22456 | rm -f conftest.er1 | ||
| 22457 | cat conftest.err >&5 | ||
| 22458 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22459 | (exit $ac_status); } && { | ||
| 22460 | test -z "$ac_c_werror_flag" || | ||
| 22461 | test ! -s conftest.err | ||
| 22462 | } && test -s conftest$ac_exeext && { | ||
| 22463 | test "$cross_compiling" = yes || | ||
| 22464 | $as_test_x conftest$ac_exeext | ||
| 22465 | }; then | ||
| 12541 | ac_cv_lib_krb4_krb_get_cred=yes | 22466 | ac_cv_lib_krb4_krb_get_cred=yes |
| 12542 | else | 22467 | else |
| 12543 | ac_cv_lib_krb4_krb_get_cred=no | 22468 | $as_echo "$as_me: failed program was:" >&5 |
| 22469 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22470 | |||
| 22471 | ac_cv_lib_krb4_krb_get_cred=no | ||
| 12544 | fi | 22472 | fi |
| 12545 | rm -f core conftest.err conftest.$ac_objext \ | 22473 | |
| 12546 | conftest$ac_exeext conftest.$ac_ext | 22474 | rm -rf conftest.dSYM |
| 22475 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22476 | conftest$ac_exeext conftest.$ac_ext | ||
| 12547 | LIBS=$ac_check_lib_save_LIBS | 22477 | LIBS=$ac_check_lib_save_LIBS |
| 12548 | fi | 22478 | fi |
| 12549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22479 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
| 12550 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 22480 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
| 12551 | if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 22481 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
| 12552 | have_krb4=yes | 22482 | have_krb4=yes |
| 12553 | else | 22483 | else |
| 12554 | have_krb4=no | 22484 | have_krb4=no |
| @@ -12558,17 +22488,23 @@ fi | |||
| 12558 | KRB4LIB=-lkrb4 | 22488 | KRB4LIB=-lkrb4 |
| 12559 | LIBS="$KRB4LIB $LIBS" | 22489 | LIBS="$KRB4LIB $LIBS" |
| 12560 | 22490 | ||
| 12561 | $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 22491 | cat >>confdefs.h <<\_ACEOF |
| 22492 | #define HAVE_LIBKRB4 1 | ||
| 22493 | _ACEOF | ||
| 12562 | 22494 | ||
| 12563 | else | 22495 | else |
| 12564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 22496 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
| 12565 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 22497 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
| 12566 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 22498 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
| 12567 | $as_echo_n "(cached) " >&6 | 22499 | $as_echo_n "(cached) " >&6 |
| 12568 | else | 22500 | else |
| 12569 | ac_check_lib_save_LIBS=$LIBS | 22501 | ac_check_lib_save_LIBS=$LIBS |
| 12570 | LIBS="-lkrb $LIBS" | 22502 | LIBS="-lkrb $LIBS" |
| 12571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22503 | cat >conftest.$ac_ext <<_ACEOF |
| 22504 | /* confdefs.h. */ | ||
| 22505 | _ACEOF | ||
| 22506 | cat confdefs.h >>conftest.$ac_ext | ||
| 22507 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12572 | /* end confdefs.h. */ | 22508 | /* end confdefs.h. */ |
| 12573 | 22509 | ||
| 12574 | /* Override any GCC internal prototype to avoid an error. | 22510 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12586,18 +22522,43 @@ return krb_get_cred (); | |||
| 12586 | return 0; | 22522 | return 0; |
| 12587 | } | 22523 | } |
| 12588 | _ACEOF | 22524 | _ACEOF |
| 12589 | if ac_fn_c_try_link "$LINENO"; then : | 22525 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22526 | if { (ac_try="$ac_link" | ||
| 22527 | case "(($ac_try" in | ||
| 22528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22529 | *) ac_try_echo=$ac_try;; | ||
| 22530 | esac | ||
| 22531 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22532 | $as_echo "$ac_try_echo") >&5 | ||
| 22533 | (eval "$ac_link") 2>conftest.er1 | ||
| 22534 | ac_status=$? | ||
| 22535 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22536 | rm -f conftest.er1 | ||
| 22537 | cat conftest.err >&5 | ||
| 22538 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22539 | (exit $ac_status); } && { | ||
| 22540 | test -z "$ac_c_werror_flag" || | ||
| 22541 | test ! -s conftest.err | ||
| 22542 | } && test -s conftest$ac_exeext && { | ||
| 22543 | test "$cross_compiling" = yes || | ||
| 22544 | $as_test_x conftest$ac_exeext | ||
| 22545 | }; then | ||
| 12590 | ac_cv_lib_krb_krb_get_cred=yes | 22546 | ac_cv_lib_krb_krb_get_cred=yes |
| 12591 | else | 22547 | else |
| 12592 | ac_cv_lib_krb_krb_get_cred=no | 22548 | $as_echo "$as_me: failed program was:" >&5 |
| 22549 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22550 | |||
| 22551 | ac_cv_lib_krb_krb_get_cred=no | ||
| 12593 | fi | 22552 | fi |
| 12594 | rm -f core conftest.err conftest.$ac_objext \ | 22553 | |
| 12595 | conftest$ac_exeext conftest.$ac_ext | 22554 | rm -rf conftest.dSYM |
| 22555 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22556 | conftest$ac_exeext conftest.$ac_ext | ||
| 12596 | LIBS=$ac_check_lib_save_LIBS | 22557 | LIBS=$ac_check_lib_save_LIBS |
| 12597 | fi | 22558 | fi |
| 12598 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22559 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
| 12599 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 22560 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
| 12600 | if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 22561 | if test $ac_cv_lib_krb_krb_get_cred = yes; then |
| 12601 | have_krb=yes | 22562 | have_krb=yes |
| 12602 | else | 22563 | else |
| 12603 | have_krb=no | 22564 | have_krb=no |
| @@ -12607,23 +22568,253 @@ fi | |||
| 12607 | KRB4LIB=-lkrb | 22568 | KRB4LIB=-lkrb |
| 12608 | LIBS="$KRB4LIB $LIBS" | 22569 | LIBS="$KRB4LIB $LIBS" |
| 12609 | 22570 | ||
| 12610 | $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h | 22571 | cat >>confdefs.h <<\_ACEOF |
| 22572 | #define HAVE_LIBKRB 1 | ||
| 22573 | _ACEOF | ||
| 12611 | 22574 | ||
| 12612 | fi | 22575 | fi |
| 12613 | fi | 22576 | fi |
| 12614 | fi | 22577 | fi |
| 12615 | 22578 | ||
| 12616 | if test "${with_kerberos5}" != no; then | 22579 | if test "${with_kerberos5}" != no; then |
| 12617 | for ac_header in krb5.h | 22580 | |
| 12618 | do : | 22581 | for ac_header in krb5.h |
| 12619 | ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 22582 | do |
| 12620 | if test "x$ac_cv_header_krb5_h" = x""yes; then : | 22583 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 22584 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22585 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22586 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22587 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22588 | $as_echo_n "(cached) " >&6 | ||
| 22589 | fi | ||
| 22590 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22591 | $as_echo "$as_val"'` | ||
| 22592 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22593 | $as_echo "$ac_res" >&6; } | ||
| 22594 | else | ||
| 22595 | # Is the header compilable? | ||
| 22596 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22597 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22598 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22599 | /* confdefs.h. */ | ||
| 22600 | _ACEOF | ||
| 22601 | cat confdefs.h >>conftest.$ac_ext | ||
| 22602 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22603 | /* end confdefs.h. */ | ||
| 22604 | $ac_includes_default | ||
| 22605 | #include <$ac_header> | ||
| 22606 | _ACEOF | ||
| 22607 | rm -f conftest.$ac_objext | ||
| 22608 | if { (ac_try="$ac_compile" | ||
| 22609 | case "(($ac_try" in | ||
| 22610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22611 | *) ac_try_echo=$ac_try;; | ||
| 22612 | esac | ||
| 22613 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22614 | $as_echo "$ac_try_echo") >&5 | ||
| 22615 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22616 | ac_status=$? | ||
| 22617 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22618 | rm -f conftest.er1 | ||
| 22619 | cat conftest.err >&5 | ||
| 22620 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22621 | (exit $ac_status); } && { | ||
| 22622 | test -z "$ac_c_werror_flag" || | ||
| 22623 | test ! -s conftest.err | ||
| 22624 | } && test -s conftest.$ac_objext; then | ||
| 22625 | ac_header_compiler=yes | ||
| 22626 | else | ||
| 22627 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22628 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22629 | |||
| 22630 | ac_header_compiler=no | ||
| 22631 | fi | ||
| 22632 | |||
| 22633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22634 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22635 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22636 | |||
| 22637 | # Is the header present? | ||
| 22638 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22639 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22640 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22641 | /* confdefs.h. */ | ||
| 22642 | _ACEOF | ||
| 22643 | cat confdefs.h >>conftest.$ac_ext | ||
| 22644 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22645 | /* end confdefs.h. */ | ||
| 22646 | #include <$ac_header> | ||
| 22647 | _ACEOF | ||
| 22648 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22649 | case "(($ac_try" in | ||
| 22650 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22651 | *) ac_try_echo=$ac_try;; | ||
| 22652 | esac | ||
| 22653 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22654 | $as_echo "$ac_try_echo") >&5 | ||
| 22655 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22656 | ac_status=$? | ||
| 22657 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22658 | rm -f conftest.er1 | ||
| 22659 | cat conftest.err >&5 | ||
| 22660 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22661 | (exit $ac_status); } >/dev/null && { | ||
| 22662 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22663 | test ! -s conftest.err | ||
| 22664 | }; then | ||
| 22665 | ac_header_preproc=yes | ||
| 22666 | else | ||
| 22667 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22668 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22669 | |||
| 22670 | ac_header_preproc=no | ||
| 22671 | fi | ||
| 22672 | |||
| 22673 | rm -f conftest.err conftest.$ac_ext | ||
| 22674 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22675 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22676 | |||
| 22677 | # So? What about this header? | ||
| 22678 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22679 | yes:no: ) | ||
| 22680 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22681 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22682 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22683 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22684 | ac_header_preproc=yes | ||
| 22685 | ;; | ||
| 22686 | no:yes:* ) | ||
| 22687 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22688 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22689 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22690 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22691 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22692 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22693 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22694 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22695 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22696 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22697 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22698 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22699 | |||
| 22700 | ;; | ||
| 22701 | esac | ||
| 22702 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22703 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22704 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22705 | $as_echo_n "(cached) " >&6 | ||
| 22706 | else | ||
| 22707 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 22708 | fi | ||
| 22709 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22710 | $as_echo "$as_val"'` | ||
| 22711 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22712 | $as_echo "$ac_res" >&6; } | ||
| 22713 | |||
| 22714 | fi | ||
| 22715 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22716 | $as_echo "$as_val"'` = yes; then | ||
| 12621 | cat >>confdefs.h <<_ACEOF | 22717 | cat >>confdefs.h <<_ACEOF |
| 12622 | #define HAVE_KRB5_H 1 | 22718 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12623 | _ACEOF | 22719 | _ACEOF |
| 12624 | ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 22720 | { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 |
| 12625 | " | 22721 | $as_echo_n "checking for krb5_error.text... " >&6; } |
| 12626 | if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 22722 | if test "${ac_cv_member_krb5_error_text+set}" = set; then |
| 22723 | $as_echo_n "(cached) " >&6 | ||
| 22724 | else | ||
| 22725 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22726 | /* confdefs.h. */ | ||
| 22727 | _ACEOF | ||
| 22728 | cat confdefs.h >>conftest.$ac_ext | ||
| 22729 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22730 | /* end confdefs.h. */ | ||
| 22731 | #include <krb5.h> | ||
| 22732 | |||
| 22733 | int | ||
| 22734 | main () | ||
| 22735 | { | ||
| 22736 | static krb5_error ac_aggr; | ||
| 22737 | if (ac_aggr.text) | ||
| 22738 | return 0; | ||
| 22739 | ; | ||
| 22740 | return 0; | ||
| 22741 | } | ||
| 22742 | _ACEOF | ||
| 22743 | rm -f conftest.$ac_objext | ||
| 22744 | if { (ac_try="$ac_compile" | ||
| 22745 | case "(($ac_try" in | ||
| 22746 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22747 | *) ac_try_echo=$ac_try;; | ||
| 22748 | esac | ||
| 22749 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22750 | $as_echo "$ac_try_echo") >&5 | ||
| 22751 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22752 | ac_status=$? | ||
| 22753 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22754 | rm -f conftest.er1 | ||
| 22755 | cat conftest.err >&5 | ||
| 22756 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22757 | (exit $ac_status); } && { | ||
| 22758 | test -z "$ac_c_werror_flag" || | ||
| 22759 | test ! -s conftest.err | ||
| 22760 | } && test -s conftest.$ac_objext; then | ||
| 22761 | ac_cv_member_krb5_error_text=yes | ||
| 22762 | else | ||
| 22763 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22764 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22765 | |||
| 22766 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22767 | /* confdefs.h. */ | ||
| 22768 | _ACEOF | ||
| 22769 | cat confdefs.h >>conftest.$ac_ext | ||
| 22770 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22771 | /* end confdefs.h. */ | ||
| 22772 | #include <krb5.h> | ||
| 22773 | |||
| 22774 | int | ||
| 22775 | main () | ||
| 22776 | { | ||
| 22777 | static krb5_error ac_aggr; | ||
| 22778 | if (sizeof ac_aggr.text) | ||
| 22779 | return 0; | ||
| 22780 | ; | ||
| 22781 | return 0; | ||
| 22782 | } | ||
| 22783 | _ACEOF | ||
| 22784 | rm -f conftest.$ac_objext | ||
| 22785 | if { (ac_try="$ac_compile" | ||
| 22786 | case "(($ac_try" in | ||
| 22787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22788 | *) ac_try_echo=$ac_try;; | ||
| 22789 | esac | ||
| 22790 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22791 | $as_echo "$ac_try_echo") >&5 | ||
| 22792 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22793 | ac_status=$? | ||
| 22794 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22795 | rm -f conftest.er1 | ||
| 22796 | cat conftest.err >&5 | ||
| 22797 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22798 | (exit $ac_status); } && { | ||
| 22799 | test -z "$ac_c_werror_flag" || | ||
| 22800 | test ! -s conftest.err | ||
| 22801 | } && test -s conftest.$ac_objext; then | ||
| 22802 | ac_cv_member_krb5_error_text=yes | ||
| 22803 | else | ||
| 22804 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22805 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22806 | |||
| 22807 | ac_cv_member_krb5_error_text=no | ||
| 22808 | fi | ||
| 22809 | |||
| 22810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22811 | fi | ||
| 22812 | |||
| 22813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22814 | fi | ||
| 22815 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | ||
| 22816 | $as_echo "$ac_cv_member_krb5_error_text" >&6; } | ||
| 22817 | if test $ac_cv_member_krb5_error_text = yes; then | ||
| 12627 | 22818 | ||
| 12628 | cat >>confdefs.h <<_ACEOF | 22819 | cat >>confdefs.h <<_ACEOF |
| 12629 | #define HAVE_KRB5_ERROR_TEXT 1 | 22820 | #define HAVE_KRB5_ERROR_TEXT 1 |
| @@ -12631,9 +22822,104 @@ _ACEOF | |||
| 12631 | 22822 | ||
| 12632 | 22823 | ||
| 12633 | fi | 22824 | fi |
| 12634 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 22825 | { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 |
| 12635 | " | 22826 | $as_echo_n "checking for krb5_error.e_text... " >&6; } |
| 12636 | if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 22827 | if test "${ac_cv_member_krb5_error_e_text+set}" = set; then |
| 22828 | $as_echo_n "(cached) " >&6 | ||
| 22829 | else | ||
| 22830 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22831 | /* confdefs.h. */ | ||
| 22832 | _ACEOF | ||
| 22833 | cat confdefs.h >>conftest.$ac_ext | ||
| 22834 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22835 | /* end confdefs.h. */ | ||
| 22836 | #include <krb5.h> | ||
| 22837 | |||
| 22838 | int | ||
| 22839 | main () | ||
| 22840 | { | ||
| 22841 | static krb5_error ac_aggr; | ||
| 22842 | if (ac_aggr.e_text) | ||
| 22843 | return 0; | ||
| 22844 | ; | ||
| 22845 | return 0; | ||
| 22846 | } | ||
| 22847 | _ACEOF | ||
| 22848 | rm -f conftest.$ac_objext | ||
| 22849 | if { (ac_try="$ac_compile" | ||
| 22850 | case "(($ac_try" in | ||
| 22851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22852 | *) ac_try_echo=$ac_try;; | ||
| 22853 | esac | ||
| 22854 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22855 | $as_echo "$ac_try_echo") >&5 | ||
| 22856 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22857 | ac_status=$? | ||
| 22858 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22859 | rm -f conftest.er1 | ||
| 22860 | cat conftest.err >&5 | ||
| 22861 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22862 | (exit $ac_status); } && { | ||
| 22863 | test -z "$ac_c_werror_flag" || | ||
| 22864 | test ! -s conftest.err | ||
| 22865 | } && test -s conftest.$ac_objext; then | ||
| 22866 | ac_cv_member_krb5_error_e_text=yes | ||
| 22867 | else | ||
| 22868 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22870 | |||
| 22871 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22872 | /* confdefs.h. */ | ||
| 22873 | _ACEOF | ||
| 22874 | cat confdefs.h >>conftest.$ac_ext | ||
| 22875 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22876 | /* end confdefs.h. */ | ||
| 22877 | #include <krb5.h> | ||
| 22878 | |||
| 22879 | int | ||
| 22880 | main () | ||
| 22881 | { | ||
| 22882 | static krb5_error ac_aggr; | ||
| 22883 | if (sizeof ac_aggr.e_text) | ||
| 22884 | return 0; | ||
| 22885 | ; | ||
| 22886 | return 0; | ||
| 22887 | } | ||
| 22888 | _ACEOF | ||
| 22889 | rm -f conftest.$ac_objext | ||
| 22890 | if { (ac_try="$ac_compile" | ||
| 22891 | case "(($ac_try" in | ||
| 22892 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22893 | *) ac_try_echo=$ac_try;; | ||
| 22894 | esac | ||
| 22895 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22896 | $as_echo "$ac_try_echo") >&5 | ||
| 22897 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22898 | ac_status=$? | ||
| 22899 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22900 | rm -f conftest.er1 | ||
| 22901 | cat conftest.err >&5 | ||
| 22902 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22903 | (exit $ac_status); } && { | ||
| 22904 | test -z "$ac_c_werror_flag" || | ||
| 22905 | test ! -s conftest.err | ||
| 22906 | } && test -s conftest.$ac_objext; then | ||
| 22907 | ac_cv_member_krb5_error_e_text=yes | ||
| 22908 | else | ||
| 22909 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22911 | |||
| 22912 | ac_cv_member_krb5_error_e_text=no | ||
| 22913 | fi | ||
| 22914 | |||
| 22915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22916 | fi | ||
| 22917 | |||
| 22918 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22919 | fi | ||
| 22920 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | ||
| 22921 | $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | ||
| 22922 | if test $ac_cv_member_krb5_error_e_text = yes; then | ||
| 12637 | 22923 | ||
| 12638 | cat >>confdefs.h <<_ACEOF | 22924 | cat >>confdefs.h <<_ACEOF |
| 12639 | #define HAVE_KRB5_ERROR_E_TEXT 1 | 22925 | #define HAVE_KRB5_ERROR_E_TEXT 1 |
| @@ -12647,30 +22933,429 @@ fi | |||
| 12647 | done | 22933 | done |
| 12648 | 22934 | ||
| 12649 | else | 22935 | else |
| 12650 | for ac_header in des.h | 22936 | |
| 12651 | do : | 22937 | for ac_header in des.h |
| 12652 | ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 22938 | do |
| 12653 | if test "x$ac_cv_header_des_h" = x""yes; then : | 22939 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 22940 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22941 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22942 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22943 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22944 | $as_echo_n "(cached) " >&6 | ||
| 22945 | fi | ||
| 22946 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22947 | $as_echo "$as_val"'` | ||
| 22948 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22949 | $as_echo "$ac_res" >&6; } | ||
| 22950 | else | ||
| 22951 | # Is the header compilable? | ||
| 22952 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22953 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22954 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22955 | /* confdefs.h. */ | ||
| 22956 | _ACEOF | ||
| 22957 | cat confdefs.h >>conftest.$ac_ext | ||
| 22958 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22959 | /* end confdefs.h. */ | ||
| 22960 | $ac_includes_default | ||
| 22961 | #include <$ac_header> | ||
| 22962 | _ACEOF | ||
| 22963 | rm -f conftest.$ac_objext | ||
| 22964 | if { (ac_try="$ac_compile" | ||
| 22965 | case "(($ac_try" in | ||
| 22966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22967 | *) ac_try_echo=$ac_try;; | ||
| 22968 | esac | ||
| 22969 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22970 | $as_echo "$ac_try_echo") >&5 | ||
| 22971 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22972 | ac_status=$? | ||
| 22973 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22974 | rm -f conftest.er1 | ||
| 22975 | cat conftest.err >&5 | ||
| 22976 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22977 | (exit $ac_status); } && { | ||
| 22978 | test -z "$ac_c_werror_flag" || | ||
| 22979 | test ! -s conftest.err | ||
| 22980 | } && test -s conftest.$ac_objext; then | ||
| 22981 | ac_header_compiler=yes | ||
| 22982 | else | ||
| 22983 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22985 | |||
| 22986 | ac_header_compiler=no | ||
| 22987 | fi | ||
| 22988 | |||
| 22989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22990 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22991 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22992 | |||
| 22993 | # Is the header present? | ||
| 22994 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22995 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22996 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22997 | /* confdefs.h. */ | ||
| 22998 | _ACEOF | ||
| 22999 | cat confdefs.h >>conftest.$ac_ext | ||
| 23000 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23001 | /* end confdefs.h. */ | ||
| 23002 | #include <$ac_header> | ||
| 23003 | _ACEOF | ||
| 23004 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23005 | case "(($ac_try" in | ||
| 23006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23007 | *) ac_try_echo=$ac_try;; | ||
| 23008 | esac | ||
| 23009 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23010 | $as_echo "$ac_try_echo") >&5 | ||
| 23011 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23012 | ac_status=$? | ||
| 23013 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23014 | rm -f conftest.er1 | ||
| 23015 | cat conftest.err >&5 | ||
| 23016 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23017 | (exit $ac_status); } >/dev/null && { | ||
| 23018 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23019 | test ! -s conftest.err | ||
| 23020 | }; then | ||
| 23021 | ac_header_preproc=yes | ||
| 23022 | else | ||
| 23023 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23024 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23025 | |||
| 23026 | ac_header_preproc=no | ||
| 23027 | fi | ||
| 23028 | |||
| 23029 | rm -f conftest.err conftest.$ac_ext | ||
| 23030 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23031 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23032 | |||
| 23033 | # So? What about this header? | ||
| 23034 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23035 | yes:no: ) | ||
| 23036 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23037 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23038 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23039 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23040 | ac_header_preproc=yes | ||
| 23041 | ;; | ||
| 23042 | no:yes:* ) | ||
| 23043 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23044 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23045 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23046 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23047 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23048 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23049 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23050 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23051 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23052 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23053 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23054 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23055 | |||
| 23056 | ;; | ||
| 23057 | esac | ||
| 23058 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23059 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23060 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23061 | $as_echo_n "(cached) " >&6 | ||
| 23062 | else | ||
| 23063 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23064 | fi | ||
| 23065 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23066 | $as_echo "$as_val"'` | ||
| 23067 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23068 | $as_echo "$ac_res" >&6; } | ||
| 23069 | |||
| 23070 | fi | ||
| 23071 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23072 | $as_echo "$as_val"'` = yes; then | ||
| 12654 | cat >>confdefs.h <<_ACEOF | 23073 | cat >>confdefs.h <<_ACEOF |
| 12655 | #define HAVE_DES_H 1 | 23074 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23075 | _ACEOF | ||
| 23076 | |||
| 23077 | else | ||
| 23078 | |||
| 23079 | for ac_header in kerberosIV/des.h | ||
| 23080 | do | ||
| 23081 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23082 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23083 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23084 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23085 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23086 | $as_echo_n "(cached) " >&6 | ||
| 23087 | fi | ||
| 23088 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23089 | $as_echo "$as_val"'` | ||
| 23090 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23091 | $as_echo "$ac_res" >&6; } | ||
| 23092 | else | ||
| 23093 | # Is the header compilable? | ||
| 23094 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23095 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23096 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23097 | /* confdefs.h. */ | ||
| 23098 | _ACEOF | ||
| 23099 | cat confdefs.h >>conftest.$ac_ext | ||
| 23100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23101 | /* end confdefs.h. */ | ||
| 23102 | $ac_includes_default | ||
| 23103 | #include <$ac_header> | ||
| 23104 | _ACEOF | ||
| 23105 | rm -f conftest.$ac_objext | ||
| 23106 | if { (ac_try="$ac_compile" | ||
| 23107 | case "(($ac_try" in | ||
| 23108 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23109 | *) ac_try_echo=$ac_try;; | ||
| 23110 | esac | ||
| 23111 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23112 | $as_echo "$ac_try_echo") >&5 | ||
| 23113 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23114 | ac_status=$? | ||
| 23115 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23116 | rm -f conftest.er1 | ||
| 23117 | cat conftest.err >&5 | ||
| 23118 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23119 | (exit $ac_status); } && { | ||
| 23120 | test -z "$ac_c_werror_flag" || | ||
| 23121 | test ! -s conftest.err | ||
| 23122 | } && test -s conftest.$ac_objext; then | ||
| 23123 | ac_header_compiler=yes | ||
| 23124 | else | ||
| 23125 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23126 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23127 | |||
| 23128 | ac_header_compiler=no | ||
| 23129 | fi | ||
| 23130 | |||
| 23131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23132 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23133 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23134 | |||
| 23135 | # Is the header present? | ||
| 23136 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23137 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23138 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23139 | /* confdefs.h. */ | ||
| 12656 | _ACEOF | 23140 | _ACEOF |
| 23141 | cat confdefs.h >>conftest.$ac_ext | ||
| 23142 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23143 | /* end confdefs.h. */ | ||
| 23144 | #include <$ac_header> | ||
| 23145 | _ACEOF | ||
| 23146 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23147 | case "(($ac_try" in | ||
| 23148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23149 | *) ac_try_echo=$ac_try;; | ||
| 23150 | esac | ||
| 23151 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23152 | $as_echo "$ac_try_echo") >&5 | ||
| 23153 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23154 | ac_status=$? | ||
| 23155 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23156 | rm -f conftest.er1 | ||
| 23157 | cat conftest.err >&5 | ||
| 23158 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23159 | (exit $ac_status); } >/dev/null && { | ||
| 23160 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23161 | test ! -s conftest.err | ||
| 23162 | }; then | ||
| 23163 | ac_header_preproc=yes | ||
| 23164 | else | ||
| 23165 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23166 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23167 | |||
| 23168 | ac_header_preproc=no | ||
| 23169 | fi | ||
| 12657 | 23170 | ||
| 23171 | rm -f conftest.err conftest.$ac_ext | ||
| 23172 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23173 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23174 | |||
| 23175 | # So? What about this header? | ||
| 23176 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23177 | yes:no: ) | ||
| 23178 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23179 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23180 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23181 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23182 | ac_header_preproc=yes | ||
| 23183 | ;; | ||
| 23184 | no:yes:* ) | ||
| 23185 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23186 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23187 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23188 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23189 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23190 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23191 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23192 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23193 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23194 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23195 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23196 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23197 | |||
| 23198 | ;; | ||
| 23199 | esac | ||
| 23200 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23201 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23202 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23203 | $as_echo_n "(cached) " >&6 | ||
| 12658 | else | 23204 | else |
| 12659 | for ac_header in kerberosIV/des.h | 23205 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12660 | do : | 23206 | fi |
| 12661 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 23207 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12662 | if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 23208 | $as_echo "$as_val"'` |
| 23209 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23210 | $as_echo "$ac_res" >&6; } | ||
| 23211 | |||
| 23212 | fi | ||
| 23213 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23214 | $as_echo "$as_val"'` = yes; then | ||
| 12663 | cat >>confdefs.h <<_ACEOF | 23215 | cat >>confdefs.h <<_ACEOF |
| 12664 | #define HAVE_KERBEROSIV_DES_H 1 | 23216 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23217 | _ACEOF | ||
| 23218 | |||
| 23219 | else | ||
| 23220 | |||
| 23221 | for ac_header in kerberos/des.h | ||
| 23222 | do | ||
| 23223 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23224 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23225 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23226 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23227 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23228 | $as_echo_n "(cached) " >&6 | ||
| 23229 | fi | ||
| 23230 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23231 | $as_echo "$as_val"'` | ||
| 23232 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23233 | $as_echo "$ac_res" >&6; } | ||
| 23234 | else | ||
| 23235 | # Is the header compilable? | ||
| 23236 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23237 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23238 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23239 | /* confdefs.h. */ | ||
| 23240 | _ACEOF | ||
| 23241 | cat confdefs.h >>conftest.$ac_ext | ||
| 23242 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23243 | /* end confdefs.h. */ | ||
| 23244 | $ac_includes_default | ||
| 23245 | #include <$ac_header> | ||
| 23246 | _ACEOF | ||
| 23247 | rm -f conftest.$ac_objext | ||
| 23248 | if { (ac_try="$ac_compile" | ||
| 23249 | case "(($ac_try" in | ||
| 23250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23251 | *) ac_try_echo=$ac_try;; | ||
| 23252 | esac | ||
| 23253 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23254 | $as_echo "$ac_try_echo") >&5 | ||
| 23255 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23256 | ac_status=$? | ||
| 23257 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23258 | rm -f conftest.er1 | ||
| 23259 | cat conftest.err >&5 | ||
| 23260 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23261 | (exit $ac_status); } && { | ||
| 23262 | test -z "$ac_c_werror_flag" || | ||
| 23263 | test ! -s conftest.err | ||
| 23264 | } && test -s conftest.$ac_objext; then | ||
| 23265 | ac_header_compiler=yes | ||
| 23266 | else | ||
| 23267 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23268 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23269 | |||
| 23270 | ac_header_compiler=no | ||
| 23271 | fi | ||
| 23272 | |||
| 23273 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23274 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23275 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23276 | |||
| 23277 | # Is the header present? | ||
| 23278 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23279 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23280 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23281 | /* confdefs.h. */ | ||
| 12665 | _ACEOF | 23282 | _ACEOF |
| 23283 | cat confdefs.h >>conftest.$ac_ext | ||
| 23284 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23285 | /* end confdefs.h. */ | ||
| 23286 | #include <$ac_header> | ||
| 23287 | _ACEOF | ||
| 23288 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23289 | case "(($ac_try" in | ||
| 23290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23291 | *) ac_try_echo=$ac_try;; | ||
| 23292 | esac | ||
| 23293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23294 | $as_echo "$ac_try_echo") >&5 | ||
| 23295 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23296 | ac_status=$? | ||
| 23297 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23298 | rm -f conftest.er1 | ||
| 23299 | cat conftest.err >&5 | ||
| 23300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23301 | (exit $ac_status); } >/dev/null && { | ||
| 23302 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23303 | test ! -s conftest.err | ||
| 23304 | }; then | ||
| 23305 | ac_header_preproc=yes | ||
| 23306 | else | ||
| 23307 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23308 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23309 | |||
| 23310 | ac_header_preproc=no | ||
| 23311 | fi | ||
| 12666 | 23312 | ||
| 23313 | rm -f conftest.err conftest.$ac_ext | ||
| 23314 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23315 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23316 | |||
| 23317 | # So? What about this header? | ||
| 23318 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23319 | yes:no: ) | ||
| 23320 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23321 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23322 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23323 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23324 | ac_header_preproc=yes | ||
| 23325 | ;; | ||
| 23326 | no:yes:* ) | ||
| 23327 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23328 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23329 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23330 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23331 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23332 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23333 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23334 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23335 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23336 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23337 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23338 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23339 | |||
| 23340 | ;; | ||
| 23341 | esac | ||
| 23342 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23343 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23344 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23345 | $as_echo_n "(cached) " >&6 | ||
| 12667 | else | 23346 | else |
| 12668 | for ac_header in kerberos/des.h | 23347 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12669 | do : | 23348 | fi |
| 12670 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 23349 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12671 | if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 23350 | $as_echo "$as_val"'` |
| 23351 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23352 | $as_echo "$ac_res" >&6; } | ||
| 23353 | |||
| 23354 | fi | ||
| 23355 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23356 | $as_echo "$as_val"'` = yes; then | ||
| 12672 | cat >>confdefs.h <<_ACEOF | 23357 | cat >>confdefs.h <<_ACEOF |
| 12673 | #define HAVE_KERBEROS_DES_H 1 | 23358 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12674 | _ACEOF | 23359 | _ACEOF |
| 12675 | 23360 | ||
| 12676 | fi | 23361 | fi |
| @@ -12685,30 +23370,429 @@ fi | |||
| 12685 | 23370 | ||
| 12686 | done | 23371 | done |
| 12687 | 23372 | ||
| 12688 | for ac_header in krb.h | 23373 | |
| 12689 | do : | 23374 | for ac_header in krb.h |
| 12690 | ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 23375 | do |
| 12691 | if test "x$ac_cv_header_krb_h" = x""yes; then : | 23376 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23377 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23378 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23379 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23380 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23381 | $as_echo_n "(cached) " >&6 | ||
| 23382 | fi | ||
| 23383 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23384 | $as_echo "$as_val"'` | ||
| 23385 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23386 | $as_echo "$ac_res" >&6; } | ||
| 23387 | else | ||
| 23388 | # Is the header compilable? | ||
| 23389 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23390 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23391 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23392 | /* confdefs.h. */ | ||
| 23393 | _ACEOF | ||
| 23394 | cat confdefs.h >>conftest.$ac_ext | ||
| 23395 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23396 | /* end confdefs.h. */ | ||
| 23397 | $ac_includes_default | ||
| 23398 | #include <$ac_header> | ||
| 23399 | _ACEOF | ||
| 23400 | rm -f conftest.$ac_objext | ||
| 23401 | if { (ac_try="$ac_compile" | ||
| 23402 | case "(($ac_try" in | ||
| 23403 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23404 | *) ac_try_echo=$ac_try;; | ||
| 23405 | esac | ||
| 23406 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23407 | $as_echo "$ac_try_echo") >&5 | ||
| 23408 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23409 | ac_status=$? | ||
| 23410 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23411 | rm -f conftest.er1 | ||
| 23412 | cat conftest.err >&5 | ||
| 23413 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23414 | (exit $ac_status); } && { | ||
| 23415 | test -z "$ac_c_werror_flag" || | ||
| 23416 | test ! -s conftest.err | ||
| 23417 | } && test -s conftest.$ac_objext; then | ||
| 23418 | ac_header_compiler=yes | ||
| 23419 | else | ||
| 23420 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23421 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23422 | |||
| 23423 | ac_header_compiler=no | ||
| 23424 | fi | ||
| 23425 | |||
| 23426 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23427 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23428 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23429 | |||
| 23430 | # Is the header present? | ||
| 23431 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23432 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23433 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23434 | /* confdefs.h. */ | ||
| 23435 | _ACEOF | ||
| 23436 | cat confdefs.h >>conftest.$ac_ext | ||
| 23437 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23438 | /* end confdefs.h. */ | ||
| 23439 | #include <$ac_header> | ||
| 23440 | _ACEOF | ||
| 23441 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23442 | case "(($ac_try" in | ||
| 23443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23444 | *) ac_try_echo=$ac_try;; | ||
| 23445 | esac | ||
| 23446 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23447 | $as_echo "$ac_try_echo") >&5 | ||
| 23448 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23449 | ac_status=$? | ||
| 23450 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23451 | rm -f conftest.er1 | ||
| 23452 | cat conftest.err >&5 | ||
| 23453 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23454 | (exit $ac_status); } >/dev/null && { | ||
| 23455 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23456 | test ! -s conftest.err | ||
| 23457 | }; then | ||
| 23458 | ac_header_preproc=yes | ||
| 23459 | else | ||
| 23460 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23461 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23462 | |||
| 23463 | ac_header_preproc=no | ||
| 23464 | fi | ||
| 23465 | |||
| 23466 | rm -f conftest.err conftest.$ac_ext | ||
| 23467 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23468 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23469 | |||
| 23470 | # So? What about this header? | ||
| 23471 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23472 | yes:no: ) | ||
| 23473 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23474 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23475 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23476 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23477 | ac_header_preproc=yes | ||
| 23478 | ;; | ||
| 23479 | no:yes:* ) | ||
| 23480 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23481 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23482 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23483 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23484 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23485 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23486 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23487 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23488 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23489 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23490 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23491 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23492 | |||
| 23493 | ;; | ||
| 23494 | esac | ||
| 23495 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23496 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23497 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23498 | $as_echo_n "(cached) " >&6 | ||
| 23499 | else | ||
| 23500 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23501 | fi | ||
| 23502 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23503 | $as_echo "$as_val"'` | ||
| 23504 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23505 | $as_echo "$ac_res" >&6; } | ||
| 23506 | |||
| 23507 | fi | ||
| 23508 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23509 | $as_echo "$as_val"'` = yes; then | ||
| 12692 | cat >>confdefs.h <<_ACEOF | 23510 | cat >>confdefs.h <<_ACEOF |
| 12693 | #define HAVE_KRB_H 1 | 23511 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12694 | _ACEOF | 23512 | _ACEOF |
| 12695 | 23513 | ||
| 12696 | else | 23514 | else |
| 12697 | for ac_header in kerberosIV/krb.h | 23515 | |
| 12698 | do : | 23516 | for ac_header in kerberosIV/krb.h |
| 12699 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 23517 | do |
| 12700 | if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 23518 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23519 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23520 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23521 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23522 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23523 | $as_echo_n "(cached) " >&6 | ||
| 23524 | fi | ||
| 23525 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23526 | $as_echo "$as_val"'` | ||
| 23527 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23528 | $as_echo "$ac_res" >&6; } | ||
| 23529 | else | ||
| 23530 | # Is the header compilable? | ||
| 23531 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23532 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23533 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23534 | /* confdefs.h. */ | ||
| 23535 | _ACEOF | ||
| 23536 | cat confdefs.h >>conftest.$ac_ext | ||
| 23537 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23538 | /* end confdefs.h. */ | ||
| 23539 | $ac_includes_default | ||
| 23540 | #include <$ac_header> | ||
| 23541 | _ACEOF | ||
| 23542 | rm -f conftest.$ac_objext | ||
| 23543 | if { (ac_try="$ac_compile" | ||
| 23544 | case "(($ac_try" in | ||
| 23545 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23546 | *) ac_try_echo=$ac_try;; | ||
| 23547 | esac | ||
| 23548 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23549 | $as_echo "$ac_try_echo") >&5 | ||
| 23550 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23551 | ac_status=$? | ||
| 23552 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23553 | rm -f conftest.er1 | ||
| 23554 | cat conftest.err >&5 | ||
| 23555 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23556 | (exit $ac_status); } && { | ||
| 23557 | test -z "$ac_c_werror_flag" || | ||
| 23558 | test ! -s conftest.err | ||
| 23559 | } && test -s conftest.$ac_objext; then | ||
| 23560 | ac_header_compiler=yes | ||
| 23561 | else | ||
| 23562 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23563 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23564 | |||
| 23565 | ac_header_compiler=no | ||
| 23566 | fi | ||
| 23567 | |||
| 23568 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23569 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23570 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23571 | |||
| 23572 | # Is the header present? | ||
| 23573 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23574 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23575 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23576 | /* confdefs.h. */ | ||
| 23577 | _ACEOF | ||
| 23578 | cat confdefs.h >>conftest.$ac_ext | ||
| 23579 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23580 | /* end confdefs.h. */ | ||
| 23581 | #include <$ac_header> | ||
| 23582 | _ACEOF | ||
| 23583 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23584 | case "(($ac_try" in | ||
| 23585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23586 | *) ac_try_echo=$ac_try;; | ||
| 23587 | esac | ||
| 23588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23589 | $as_echo "$ac_try_echo") >&5 | ||
| 23590 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23591 | ac_status=$? | ||
| 23592 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23593 | rm -f conftest.er1 | ||
| 23594 | cat conftest.err >&5 | ||
| 23595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23596 | (exit $ac_status); } >/dev/null && { | ||
| 23597 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23598 | test ! -s conftest.err | ||
| 23599 | }; then | ||
| 23600 | ac_header_preproc=yes | ||
| 23601 | else | ||
| 23602 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23603 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23604 | |||
| 23605 | ac_header_preproc=no | ||
| 23606 | fi | ||
| 23607 | |||
| 23608 | rm -f conftest.err conftest.$ac_ext | ||
| 23609 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23610 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23611 | |||
| 23612 | # So? What about this header? | ||
| 23613 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23614 | yes:no: ) | ||
| 23615 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23616 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23617 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23618 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23619 | ac_header_preproc=yes | ||
| 23620 | ;; | ||
| 23621 | no:yes:* ) | ||
| 23622 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23623 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23624 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23625 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23626 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23627 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23628 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23629 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23630 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23631 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23632 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23633 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23634 | |||
| 23635 | ;; | ||
| 23636 | esac | ||
| 23637 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23638 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23639 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23640 | $as_echo_n "(cached) " >&6 | ||
| 23641 | else | ||
| 23642 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23643 | fi | ||
| 23644 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23645 | $as_echo "$as_val"'` | ||
| 23646 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23647 | $as_echo "$ac_res" >&6; } | ||
| 23648 | |||
| 23649 | fi | ||
| 23650 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23651 | $as_echo "$as_val"'` = yes; then | ||
| 12701 | cat >>confdefs.h <<_ACEOF | 23652 | cat >>confdefs.h <<_ACEOF |
| 12702 | #define HAVE_KERBEROSIV_KRB_H 1 | 23653 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12703 | _ACEOF | 23654 | _ACEOF |
| 12704 | 23655 | ||
| 12705 | else | 23656 | else |
| 12706 | for ac_header in kerberos/krb.h | 23657 | |
| 12707 | do : | 23658 | for ac_header in kerberos/krb.h |
| 12708 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 23659 | do |
| 12709 | if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 23660 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23661 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23662 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23663 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23664 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23665 | $as_echo_n "(cached) " >&6 | ||
| 23666 | fi | ||
| 23667 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23668 | $as_echo "$as_val"'` | ||
| 23669 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23670 | $as_echo "$ac_res" >&6; } | ||
| 23671 | else | ||
| 23672 | # Is the header compilable? | ||
| 23673 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23674 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23675 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23676 | /* confdefs.h. */ | ||
| 23677 | _ACEOF | ||
| 23678 | cat confdefs.h >>conftest.$ac_ext | ||
| 23679 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23680 | /* end confdefs.h. */ | ||
| 23681 | $ac_includes_default | ||
| 23682 | #include <$ac_header> | ||
| 23683 | _ACEOF | ||
| 23684 | rm -f conftest.$ac_objext | ||
| 23685 | if { (ac_try="$ac_compile" | ||
| 23686 | case "(($ac_try" in | ||
| 23687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23688 | *) ac_try_echo=$ac_try;; | ||
| 23689 | esac | ||
| 23690 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23691 | $as_echo "$ac_try_echo") >&5 | ||
| 23692 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23693 | ac_status=$? | ||
| 23694 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23695 | rm -f conftest.er1 | ||
| 23696 | cat conftest.err >&5 | ||
| 23697 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23698 | (exit $ac_status); } && { | ||
| 23699 | test -z "$ac_c_werror_flag" || | ||
| 23700 | test ! -s conftest.err | ||
| 23701 | } && test -s conftest.$ac_objext; then | ||
| 23702 | ac_header_compiler=yes | ||
| 23703 | else | ||
| 23704 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23705 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23706 | |||
| 23707 | ac_header_compiler=no | ||
| 23708 | fi | ||
| 23709 | |||
| 23710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23711 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23712 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23713 | |||
| 23714 | # Is the header present? | ||
| 23715 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23716 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23717 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23718 | /* confdefs.h. */ | ||
| 23719 | _ACEOF | ||
| 23720 | cat confdefs.h >>conftest.$ac_ext | ||
| 23721 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23722 | /* end confdefs.h. */ | ||
| 23723 | #include <$ac_header> | ||
| 23724 | _ACEOF | ||
| 23725 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23726 | case "(($ac_try" in | ||
| 23727 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23728 | *) ac_try_echo=$ac_try;; | ||
| 23729 | esac | ||
| 23730 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23731 | $as_echo "$ac_try_echo") >&5 | ||
| 23732 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23733 | ac_status=$? | ||
| 23734 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23735 | rm -f conftest.er1 | ||
| 23736 | cat conftest.err >&5 | ||
| 23737 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23738 | (exit $ac_status); } >/dev/null && { | ||
| 23739 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23740 | test ! -s conftest.err | ||
| 23741 | }; then | ||
| 23742 | ac_header_preproc=yes | ||
| 23743 | else | ||
| 23744 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23745 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23746 | |||
| 23747 | ac_header_preproc=no | ||
| 23748 | fi | ||
| 23749 | |||
| 23750 | rm -f conftest.err conftest.$ac_ext | ||
| 23751 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23752 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23753 | |||
| 23754 | # So? What about this header? | ||
| 23755 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23756 | yes:no: ) | ||
| 23757 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23758 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23759 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23760 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23761 | ac_header_preproc=yes | ||
| 23762 | ;; | ||
| 23763 | no:yes:* ) | ||
| 23764 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23765 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23766 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23767 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23768 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23769 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23770 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23771 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23772 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23773 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23774 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23775 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23776 | |||
| 23777 | ;; | ||
| 23778 | esac | ||
| 23779 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23780 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23781 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23782 | $as_echo_n "(cached) " >&6 | ||
| 23783 | else | ||
| 23784 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23785 | fi | ||
| 23786 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23787 | $as_echo "$as_val"'` | ||
| 23788 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23789 | $as_echo "$ac_res" >&6; } | ||
| 23790 | |||
| 23791 | fi | ||
| 23792 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23793 | $as_echo "$as_val"'` = yes; then | ||
| 12710 | cat >>confdefs.h <<_ACEOF | 23794 | cat >>confdefs.h <<_ACEOF |
| 12711 | #define HAVE_KERBEROS_KRB_H 1 | 23795 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12712 | _ACEOF | 23796 | _ACEOF |
| 12713 | 23797 | ||
| 12714 | fi | 23798 | fi |
| @@ -12724,12 +23808,145 @@ fi | |||
| 12724 | done | 23808 | done |
| 12725 | 23809 | ||
| 12726 | fi | 23810 | fi |
| 12727 | for ac_header in com_err.h | 23811 | |
| 12728 | do : | 23812 | for ac_header in com_err.h |
| 12729 | ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 23813 | do |
| 12730 | if test "x$ac_cv_header_com_err_h" = x""yes; then : | 23814 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23815 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23816 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23817 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23818 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23819 | $as_echo_n "(cached) " >&6 | ||
| 23820 | fi | ||
| 23821 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23822 | $as_echo "$as_val"'` | ||
| 23823 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23824 | $as_echo "$ac_res" >&6; } | ||
| 23825 | else | ||
| 23826 | # Is the header compilable? | ||
| 23827 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23828 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23829 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23830 | /* confdefs.h. */ | ||
| 23831 | _ACEOF | ||
| 23832 | cat confdefs.h >>conftest.$ac_ext | ||
| 23833 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23834 | /* end confdefs.h. */ | ||
| 23835 | $ac_includes_default | ||
| 23836 | #include <$ac_header> | ||
| 23837 | _ACEOF | ||
| 23838 | rm -f conftest.$ac_objext | ||
| 23839 | if { (ac_try="$ac_compile" | ||
| 23840 | case "(($ac_try" in | ||
| 23841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23842 | *) ac_try_echo=$ac_try;; | ||
| 23843 | esac | ||
| 23844 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23845 | $as_echo "$ac_try_echo") >&5 | ||
| 23846 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23847 | ac_status=$? | ||
| 23848 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23849 | rm -f conftest.er1 | ||
| 23850 | cat conftest.err >&5 | ||
| 23851 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23852 | (exit $ac_status); } && { | ||
| 23853 | test -z "$ac_c_werror_flag" || | ||
| 23854 | test ! -s conftest.err | ||
| 23855 | } && test -s conftest.$ac_objext; then | ||
| 23856 | ac_header_compiler=yes | ||
| 23857 | else | ||
| 23858 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23859 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23860 | |||
| 23861 | ac_header_compiler=no | ||
| 23862 | fi | ||
| 23863 | |||
| 23864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23865 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23866 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23867 | |||
| 23868 | # Is the header present? | ||
| 23869 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23870 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23871 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23872 | /* confdefs.h. */ | ||
| 23873 | _ACEOF | ||
| 23874 | cat confdefs.h >>conftest.$ac_ext | ||
| 23875 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23876 | /* end confdefs.h. */ | ||
| 23877 | #include <$ac_header> | ||
| 23878 | _ACEOF | ||
| 23879 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23880 | case "(($ac_try" in | ||
| 23881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23882 | *) ac_try_echo=$ac_try;; | ||
| 23883 | esac | ||
| 23884 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23885 | $as_echo "$ac_try_echo") >&5 | ||
| 23886 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23887 | ac_status=$? | ||
| 23888 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23889 | rm -f conftest.er1 | ||
| 23890 | cat conftest.err >&5 | ||
| 23891 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23892 | (exit $ac_status); } >/dev/null && { | ||
| 23893 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23894 | test ! -s conftest.err | ||
| 23895 | }; then | ||
| 23896 | ac_header_preproc=yes | ||
| 23897 | else | ||
| 23898 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23899 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23900 | |||
| 23901 | ac_header_preproc=no | ||
| 23902 | fi | ||
| 23903 | |||
| 23904 | rm -f conftest.err conftest.$ac_ext | ||
| 23905 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23906 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23907 | |||
| 23908 | # So? What about this header? | ||
| 23909 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23910 | yes:no: ) | ||
| 23911 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23912 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23913 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23914 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23915 | ac_header_preproc=yes | ||
| 23916 | ;; | ||
| 23917 | no:yes:* ) | ||
| 23918 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23919 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23920 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23921 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23922 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23923 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23924 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23925 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23926 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23927 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23928 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23929 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23930 | |||
| 23931 | ;; | ||
| 23932 | esac | ||
| 23933 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23934 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23935 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23936 | $as_echo_n "(cached) " >&6 | ||
| 23937 | else | ||
| 23938 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23939 | fi | ||
| 23940 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23941 | $as_echo "$as_val"'` | ||
| 23942 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23943 | $as_echo "$ac_res" >&6; } | ||
| 23944 | |||
| 23945 | fi | ||
| 23946 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23947 | $as_echo "$as_val"'` = yes; then | ||
| 12731 | cat >>confdefs.h <<_ACEOF | 23948 | cat >>confdefs.h <<_ACEOF |
| 12732 | #define HAVE_COM_ERR_H 1 | 23949 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12733 | _ACEOF | 23950 | _ACEOF |
| 12734 | 23951 | ||
| 12735 | fi | 23952 | fi |
| @@ -12746,14 +23963,19 @@ fi | |||
| 12746 | 23963 | ||
| 12747 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 23964 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 12748 | # to return localized messages. | 23965 | # to return localized messages. |
| 12749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 23966 | |
| 23967 | { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | ||
| 12750 | $as_echo_n "checking for dgettext in -lintl... " >&6; } | 23968 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
| 12751 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 23969 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
| 12752 | $as_echo_n "(cached) " >&6 | 23970 | $as_echo_n "(cached) " >&6 |
| 12753 | else | 23971 | else |
| 12754 | ac_check_lib_save_LIBS=$LIBS | 23972 | ac_check_lib_save_LIBS=$LIBS |
| 12755 | LIBS="-lintl $LIBS" | 23973 | LIBS="-lintl $LIBS" |
| 12756 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23974 | cat >conftest.$ac_ext <<_ACEOF |
| 23975 | /* confdefs.h. */ | ||
| 23976 | _ACEOF | ||
| 23977 | cat confdefs.h >>conftest.$ac_ext | ||
| 23978 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12757 | /* end confdefs.h. */ | 23979 | /* end confdefs.h. */ |
| 12758 | 23980 | ||
| 12759 | /* Override any GCC internal prototype to avoid an error. | 23981 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12771,18 +23993,43 @@ return dgettext (); | |||
| 12771 | return 0; | 23993 | return 0; |
| 12772 | } | 23994 | } |
| 12773 | _ACEOF | 23995 | _ACEOF |
| 12774 | if ac_fn_c_try_link "$LINENO"; then : | 23996 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 23997 | if { (ac_try="$ac_link" | ||
| 23998 | case "(($ac_try" in | ||
| 23999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24000 | *) ac_try_echo=$ac_try;; | ||
| 24001 | esac | ||
| 24002 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24003 | $as_echo "$ac_try_echo") >&5 | ||
| 24004 | (eval "$ac_link") 2>conftest.er1 | ||
| 24005 | ac_status=$? | ||
| 24006 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24007 | rm -f conftest.er1 | ||
| 24008 | cat conftest.err >&5 | ||
| 24009 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24010 | (exit $ac_status); } && { | ||
| 24011 | test -z "$ac_c_werror_flag" || | ||
| 24012 | test ! -s conftest.err | ||
| 24013 | } && test -s conftest$ac_exeext && { | ||
| 24014 | test "$cross_compiling" = yes || | ||
| 24015 | $as_test_x conftest$ac_exeext | ||
| 24016 | }; then | ||
| 12775 | ac_cv_lib_intl_dgettext=yes | 24017 | ac_cv_lib_intl_dgettext=yes |
| 12776 | else | 24018 | else |
| 12777 | ac_cv_lib_intl_dgettext=no | 24019 | $as_echo "$as_me: failed program was:" >&5 |
| 24020 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24021 | |||
| 24022 | ac_cv_lib_intl_dgettext=no | ||
| 12778 | fi | 24023 | fi |
| 12779 | rm -f core conftest.err conftest.$ac_objext \ | 24024 | |
| 12780 | conftest$ac_exeext conftest.$ac_ext | 24025 | rm -rf conftest.dSYM |
| 24026 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24027 | conftest$ac_exeext conftest.$ac_ext | ||
| 12781 | LIBS=$ac_check_lib_save_LIBS | 24028 | LIBS=$ac_check_lib_save_LIBS |
| 12782 | fi | 24029 | fi |
| 12783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 24030 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
| 12784 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 24031 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
| 12785 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 24032 | if test $ac_cv_lib_intl_dgettext = yes; then |
| 12786 | cat >>confdefs.h <<_ACEOF | 24033 | cat >>confdefs.h <<_ACEOF |
| 12787 | #define HAVE_LIBINTL 1 | 24034 | #define HAVE_LIBINTL 1 |
| 12788 | _ACEOF | 24035 | _ACEOF |
| @@ -12792,17 +24039,21 @@ _ACEOF | |||
| 12792 | fi | 24039 | fi |
| 12793 | 24040 | ||
| 12794 | 24041 | ||
| 12795 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 24042 | { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
| 12796 | $as_echo_n "checking whether localtime caches TZ... " >&6; } | 24043 | $as_echo_n "checking whether localtime caches TZ... " >&6; } |
| 12797 | if test "${emacs_cv_localtime_cache+set}" = set; then : | 24044 | if test "${emacs_cv_localtime_cache+set}" = set; then |
| 12798 | $as_echo_n "(cached) " >&6 | 24045 | $as_echo_n "(cached) " >&6 |
| 12799 | else | 24046 | else |
| 12800 | if test x$ac_cv_func_tzset = xyes; then | 24047 | if test x$ac_cv_func_tzset = xyes; then |
| 12801 | if test "$cross_compiling" = yes; then : | 24048 | if test "$cross_compiling" = yes; then |
| 12802 | # If we have tzset, assume the worst when cross-compiling. | 24049 | # If we have tzset, assume the worst when cross-compiling. |
| 12803 | emacs_cv_localtime_cache=yes | 24050 | emacs_cv_localtime_cache=yes |
| 12804 | else | 24051 | else |
| 12805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24052 | cat >conftest.$ac_ext <<_ACEOF |
| 24053 | /* confdefs.h. */ | ||
| 24054 | _ACEOF | ||
| 24055 | cat confdefs.h >>conftest.$ac_ext | ||
| 24056 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12806 | /* end confdefs.h. */ | 24057 | /* end confdefs.h. */ |
| 12807 | #include <time.h> | 24058 | #include <time.h> |
| 12808 | extern char **environ; | 24059 | extern char **environ; |
| @@ -12834,48 +24085,170 @@ main() | |||
| 12834 | exit (0); | 24085 | exit (0); |
| 12835 | } | 24086 | } |
| 12836 | _ACEOF | 24087 | _ACEOF |
| 12837 | if ac_fn_c_try_run "$LINENO"; then : | 24088 | rm -f conftest$ac_exeext |
| 24089 | if { (ac_try="$ac_link" | ||
| 24090 | case "(($ac_try" in | ||
| 24091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24092 | *) ac_try_echo=$ac_try;; | ||
| 24093 | esac | ||
| 24094 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24095 | $as_echo "$ac_try_echo") >&5 | ||
| 24096 | (eval "$ac_link") 2>&5 | ||
| 24097 | ac_status=$? | ||
| 24098 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24099 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 24100 | { (case "(($ac_try" in | ||
| 24101 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24102 | *) ac_try_echo=$ac_try;; | ||
| 24103 | esac | ||
| 24104 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24105 | $as_echo "$ac_try_echo") >&5 | ||
| 24106 | (eval "$ac_try") 2>&5 | ||
| 24107 | ac_status=$? | ||
| 24108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24109 | (exit $ac_status); }; }; then | ||
| 12838 | emacs_cv_localtime_cache=no | 24110 | emacs_cv_localtime_cache=no |
| 12839 | else | 24111 | else |
| 12840 | emacs_cv_localtime_cache=yes | 24112 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 24113 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24114 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24115 | |||
| 24116 | ( exit $ac_status ) | ||
| 24117 | emacs_cv_localtime_cache=yes | ||
| 12841 | fi | 24118 | fi |
| 12842 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 24119 | rm -rf conftest.dSYM |
| 12843 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 24120 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 12844 | fi | 24121 | fi |
| 12845 | 24122 | ||
| 24123 | |||
| 12846 | else | 24124 | else |
| 12847 | # If we lack tzset, report that localtime does not cache TZ, | 24125 | # If we lack tzset, report that localtime does not cache TZ, |
| 12848 | # since we can't invalidate the cache if we don't have tzset. | 24126 | # since we can't invalidate the cache if we don't have tzset. |
| 12849 | emacs_cv_localtime_cache=no | 24127 | emacs_cv_localtime_cache=no |
| 12850 | fi | 24128 | fi |
| 12851 | fi | 24129 | fi |
| 12852 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 | 24130 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
| 12853 | $as_echo "$emacs_cv_localtime_cache" >&6; } | 24131 | $as_echo "$emacs_cv_localtime_cache" >&6; } |
| 12854 | if test $emacs_cv_localtime_cache = yes; then | 24132 | if test $emacs_cv_localtime_cache = yes; then |
| 12855 | 24133 | ||
| 12856 | $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h | 24134 | cat >>confdefs.h <<\_ACEOF |
| 24135 | #define LOCALTIME_CACHE 1 | ||
| 24136 | _ACEOF | ||
| 12857 | 24137 | ||
| 12858 | fi | 24138 | fi |
| 12859 | 24139 | ||
| 12860 | if test "x$HAVE_TIMEVAL" = xyes; then | 24140 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 12861 | for ac_func in gettimeofday | 24141 | |
| 12862 | do : | 24142 | for ac_func in gettimeofday |
| 12863 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 24143 | do |
| 12864 | if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 24144 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 24145 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 24146 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 24147 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24148 | $as_echo_n "(cached) " >&6 | ||
| 24149 | else | ||
| 24150 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24151 | /* confdefs.h. */ | ||
| 24152 | _ACEOF | ||
| 24153 | cat confdefs.h >>conftest.$ac_ext | ||
| 24154 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24155 | /* end confdefs.h. */ | ||
| 24156 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 24157 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24158 | #define $ac_func innocuous_$ac_func | ||
| 24159 | |||
| 24160 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24161 | which can conflict with char $ac_func (); below. | ||
| 24162 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24163 | <limits.h> exists even on freestanding compilers. */ | ||
| 24164 | |||
| 24165 | #ifdef __STDC__ | ||
| 24166 | # include <limits.h> | ||
| 24167 | #else | ||
| 24168 | # include <assert.h> | ||
| 24169 | #endif | ||
| 24170 | |||
| 24171 | #undef $ac_func | ||
| 24172 | |||
| 24173 | /* Override any GCC internal prototype to avoid an error. | ||
| 24174 | Use char because int might match the return type of a GCC | ||
| 24175 | builtin and then its argument prototype would still apply. */ | ||
| 24176 | #ifdef __cplusplus | ||
| 24177 | extern "C" | ||
| 24178 | #endif | ||
| 24179 | char $ac_func (); | ||
| 24180 | /* The GNU C library defines this for functions which it implements | ||
| 24181 | to always fail with ENOSYS. Some functions are actually named | ||
| 24182 | something starting with __ and the normal name is an alias. */ | ||
| 24183 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 24184 | choke me | ||
| 24185 | #endif | ||
| 24186 | |||
| 24187 | int | ||
| 24188 | main () | ||
| 24189 | { | ||
| 24190 | return $ac_func (); | ||
| 24191 | ; | ||
| 24192 | return 0; | ||
| 24193 | } | ||
| 24194 | _ACEOF | ||
| 24195 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24196 | if { (ac_try="$ac_link" | ||
| 24197 | case "(($ac_try" in | ||
| 24198 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24199 | *) ac_try_echo=$ac_try;; | ||
| 24200 | esac | ||
| 24201 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24202 | $as_echo "$ac_try_echo") >&5 | ||
| 24203 | (eval "$ac_link") 2>conftest.er1 | ||
| 24204 | ac_status=$? | ||
| 24205 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24206 | rm -f conftest.er1 | ||
| 24207 | cat conftest.err >&5 | ||
| 24208 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24209 | (exit $ac_status); } && { | ||
| 24210 | test -z "$ac_c_werror_flag" || | ||
| 24211 | test ! -s conftest.err | ||
| 24212 | } && test -s conftest$ac_exeext && { | ||
| 24213 | test "$cross_compiling" = yes || | ||
| 24214 | $as_test_x conftest$ac_exeext | ||
| 24215 | }; then | ||
| 24216 | eval "$as_ac_var=yes" | ||
| 24217 | else | ||
| 24218 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24219 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24220 | |||
| 24221 | eval "$as_ac_var=no" | ||
| 24222 | fi | ||
| 24223 | |||
| 24224 | rm -rf conftest.dSYM | ||
| 24225 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24226 | conftest$ac_exeext conftest.$ac_ext | ||
| 24227 | fi | ||
| 24228 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 24229 | $as_echo "$as_val"'` | ||
| 24230 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24231 | $as_echo "$ac_res" >&6; } | ||
| 24232 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 24233 | $as_echo "$as_val"'` = yes; then | ||
| 12865 | cat >>confdefs.h <<_ACEOF | 24234 | cat >>confdefs.h <<_ACEOF |
| 12866 | #define HAVE_GETTIMEOFDAY 1 | 24235 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12867 | _ACEOF | 24236 | _ACEOF |
| 12868 | 24237 | ||
| 12869 | fi | 24238 | fi |
| 12870 | done | 24239 | done |
| 12871 | 24240 | ||
| 12872 | if test $ac_cv_func_gettimeofday = yes; then | 24241 | if test $ac_cv_func_gettimeofday = yes; then |
| 12873 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 24242 | { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
| 12874 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 24243 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
| 12875 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 24244 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
| 12876 | $as_echo_n "(cached) " >&6 | 24245 | $as_echo_n "(cached) " >&6 |
| 12877 | else | 24246 | else |
| 12878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24247 | cat >conftest.$ac_ext <<_ACEOF |
| 24248 | /* confdefs.h. */ | ||
| 24249 | _ACEOF | ||
| 24250 | cat confdefs.h >>conftest.$ac_ext | ||
| 24251 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12879 | /* end confdefs.h. */ | 24252 | /* end confdefs.h. */ |
| 12880 | 24253 | ||
| 12881 | #ifdef TIME_WITH_SYS_TIME | 24254 | #ifdef TIME_WITH_SYS_TIME |
| @@ -12897,35 +24270,268 @@ struct timeval time; | |||
| 12897 | return 0; | 24270 | return 0; |
| 12898 | } | 24271 | } |
| 12899 | _ACEOF | 24272 | _ACEOF |
| 12900 | if ac_fn_c_try_compile "$LINENO"; then : | 24273 | rm -f conftest.$ac_objext |
| 24274 | if { (ac_try="$ac_compile" | ||
| 24275 | case "(($ac_try" in | ||
| 24276 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24277 | *) ac_try_echo=$ac_try;; | ||
| 24278 | esac | ||
| 24279 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24280 | $as_echo "$ac_try_echo") >&5 | ||
| 24281 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24282 | ac_status=$? | ||
| 24283 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24284 | rm -f conftest.er1 | ||
| 24285 | cat conftest.err >&5 | ||
| 24286 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24287 | (exit $ac_status); } && { | ||
| 24288 | test -z "$ac_c_werror_flag" || | ||
| 24289 | test ! -s conftest.err | ||
| 24290 | } && test -s conftest.$ac_objext; then | ||
| 12901 | emacs_cv_gettimeofday_two_arguments=yes | 24291 | emacs_cv_gettimeofday_two_arguments=yes |
| 12902 | else | 24292 | else |
| 12903 | emacs_cv_gettimeofday_two_arguments=no | 24293 | $as_echo "$as_me: failed program was:" >&5 |
| 24294 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24295 | |||
| 24296 | emacs_cv_gettimeofday_two_arguments=no | ||
| 12904 | fi | 24297 | fi |
| 24298 | |||
| 12905 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24299 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12906 | fi | 24300 | fi |
| 12907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24301 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 12908 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 24302 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
| 12909 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 24303 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 12910 | 24304 | ||
| 12911 | $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h | 24305 | cat >>confdefs.h <<\_ACEOF |
| 24306 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 | ||
| 24307 | _ACEOF | ||
| 12912 | 24308 | ||
| 12913 | fi | 24309 | fi |
| 12914 | fi | 24310 | fi |
| 12915 | fi | 24311 | fi |
| 12916 | 24312 | ||
| 12917 | ok_so_far=yes | 24313 | ok_so_far=yes |
| 12918 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 24314 | { $as_echo "$as_me:$LINENO: checking for socket" >&5 |
| 12919 | if test "x$ac_cv_func_socket" = x""yes; then : | 24315 | $as_echo_n "checking for socket... " >&6; } |
| 24316 | if test "${ac_cv_func_socket+set}" = set; then | ||
| 24317 | $as_echo_n "(cached) " >&6 | ||
| 24318 | else | ||
| 24319 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24320 | /* confdefs.h. */ | ||
| 24321 | _ACEOF | ||
| 24322 | cat confdefs.h >>conftest.$ac_ext | ||
| 24323 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24324 | /* end confdefs.h. */ | ||
| 24325 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. | ||
| 24326 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24327 | #define socket innocuous_socket | ||
| 24328 | |||
| 24329 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24330 | which can conflict with char socket (); below. | ||
| 24331 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24332 | <limits.h> exists even on freestanding compilers. */ | ||
| 24333 | |||
| 24334 | #ifdef __STDC__ | ||
| 24335 | # include <limits.h> | ||
| 24336 | #else | ||
| 24337 | # include <assert.h> | ||
| 24338 | #endif | ||
| 24339 | |||
| 24340 | #undef socket | ||
| 24341 | |||
| 24342 | /* Override any GCC internal prototype to avoid an error. | ||
| 24343 | Use char because int might match the return type of a GCC | ||
| 24344 | builtin and then its argument prototype would still apply. */ | ||
| 24345 | #ifdef __cplusplus | ||
| 24346 | extern "C" | ||
| 24347 | #endif | ||
| 24348 | char socket (); | ||
| 24349 | /* The GNU C library defines this for functions which it implements | ||
| 24350 | to always fail with ENOSYS. Some functions are actually named | ||
| 24351 | something starting with __ and the normal name is an alias. */ | ||
| 24352 | #if defined __stub_socket || defined __stub___socket | ||
| 24353 | choke me | ||
| 24354 | #endif | ||
| 24355 | |||
| 24356 | int | ||
| 24357 | main () | ||
| 24358 | { | ||
| 24359 | return socket (); | ||
| 24360 | ; | ||
| 24361 | return 0; | ||
| 24362 | } | ||
| 24363 | _ACEOF | ||
| 24364 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24365 | if { (ac_try="$ac_link" | ||
| 24366 | case "(($ac_try" in | ||
| 24367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24368 | *) ac_try_echo=$ac_try;; | ||
| 24369 | esac | ||
| 24370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24371 | $as_echo "$ac_try_echo") >&5 | ||
| 24372 | (eval "$ac_link") 2>conftest.er1 | ||
| 24373 | ac_status=$? | ||
| 24374 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24375 | rm -f conftest.er1 | ||
| 24376 | cat conftest.err >&5 | ||
| 24377 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24378 | (exit $ac_status); } && { | ||
| 24379 | test -z "$ac_c_werror_flag" || | ||
| 24380 | test ! -s conftest.err | ||
| 24381 | } && test -s conftest$ac_exeext && { | ||
| 24382 | test "$cross_compiling" = yes || | ||
| 24383 | $as_test_x conftest$ac_exeext | ||
| 24384 | }; then | ||
| 24385 | ac_cv_func_socket=yes | ||
| 24386 | else | ||
| 24387 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24389 | |||
| 24390 | ac_cv_func_socket=no | ||
| 24391 | fi | ||
| 12920 | 24392 | ||
| 24393 | rm -rf conftest.dSYM | ||
| 24394 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24395 | conftest$ac_exeext conftest.$ac_ext | ||
| 24396 | fi | ||
| 24397 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | ||
| 24398 | $as_echo "$ac_cv_func_socket" >&6; } | ||
| 24399 | if test $ac_cv_func_socket = yes; then | ||
| 24400 | : | ||
| 12921 | else | 24401 | else |
| 12922 | ok_so_far=no | 24402 | ok_so_far=no |
| 12923 | fi | 24403 | fi |
| 12924 | 24404 | ||
| 12925 | if test $ok_so_far = yes; then | 24405 | if test $ok_so_far = yes; then |
| 12926 | ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 24406 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 12927 | if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 24407 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
| 24408 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24409 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24410 | $as_echo_n "(cached) " >&6 | ||
| 24411 | fi | ||
| 24412 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24413 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24414 | else | ||
| 24415 | # Is the header compilable? | ||
| 24416 | { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | ||
| 24417 | $as_echo_n "checking netinet/in.h usability... " >&6; } | ||
| 24418 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24419 | /* confdefs.h. */ | ||
| 24420 | _ACEOF | ||
| 24421 | cat confdefs.h >>conftest.$ac_ext | ||
| 24422 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24423 | /* end confdefs.h. */ | ||
| 24424 | $ac_includes_default | ||
| 24425 | #include <netinet/in.h> | ||
| 24426 | _ACEOF | ||
| 24427 | rm -f conftest.$ac_objext | ||
| 24428 | if { (ac_try="$ac_compile" | ||
| 24429 | case "(($ac_try" in | ||
| 24430 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24431 | *) ac_try_echo=$ac_try;; | ||
| 24432 | esac | ||
| 24433 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24434 | $as_echo "$ac_try_echo") >&5 | ||
| 24435 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24436 | ac_status=$? | ||
| 24437 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24438 | rm -f conftest.er1 | ||
| 24439 | cat conftest.err >&5 | ||
| 24440 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24441 | (exit $ac_status); } && { | ||
| 24442 | test -z "$ac_c_werror_flag" || | ||
| 24443 | test ! -s conftest.err | ||
| 24444 | } && test -s conftest.$ac_objext; then | ||
| 24445 | ac_header_compiler=yes | ||
| 24446 | else | ||
| 24447 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24448 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24449 | |||
| 24450 | ac_header_compiler=no | ||
| 24451 | fi | ||
| 24452 | |||
| 24453 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24454 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24455 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24456 | |||
| 24457 | # Is the header present? | ||
| 24458 | { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | ||
| 24459 | $as_echo_n "checking netinet/in.h presence... " >&6; } | ||
| 24460 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24461 | /* confdefs.h. */ | ||
| 24462 | _ACEOF | ||
| 24463 | cat confdefs.h >>conftest.$ac_ext | ||
| 24464 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24465 | /* end confdefs.h. */ | ||
| 24466 | #include <netinet/in.h> | ||
| 24467 | _ACEOF | ||
| 24468 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24469 | case "(($ac_try" in | ||
| 24470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24471 | *) ac_try_echo=$ac_try;; | ||
| 24472 | esac | ||
| 24473 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24474 | $as_echo "$ac_try_echo") >&5 | ||
| 24475 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24476 | ac_status=$? | ||
| 24477 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24478 | rm -f conftest.er1 | ||
| 24479 | cat conftest.err >&5 | ||
| 24480 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24481 | (exit $ac_status); } >/dev/null && { | ||
| 24482 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24483 | test ! -s conftest.err | ||
| 24484 | }; then | ||
| 24485 | ac_header_preproc=yes | ||
| 24486 | else | ||
| 24487 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24488 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24489 | |||
| 24490 | ac_header_preproc=no | ||
| 24491 | fi | ||
| 24492 | |||
| 24493 | rm -f conftest.err conftest.$ac_ext | ||
| 24494 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24495 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24496 | |||
| 24497 | # So? What about this header? | ||
| 24498 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24499 | yes:no: ) | ||
| 24500 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24501 | $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24502 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | ||
| 24503 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | ||
| 24504 | ac_header_preproc=yes | ||
| 24505 | ;; | ||
| 24506 | no:yes:* ) | ||
| 24507 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | ||
| 24508 | $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | ||
| 24509 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | ||
| 24510 | $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | ||
| 24511 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | ||
| 24512 | $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | ||
| 24513 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24514 | $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24515 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | ||
| 24516 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | ||
| 24517 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | ||
| 24518 | $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | ||
| 24519 | |||
| 24520 | ;; | ||
| 24521 | esac | ||
| 24522 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | ||
| 24523 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24524 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24525 | $as_echo_n "(cached) " >&6 | ||
| 24526 | else | ||
| 24527 | ac_cv_header_netinet_in_h=$ac_header_preproc | ||
| 24528 | fi | ||
| 24529 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24530 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 12928 | 24531 | ||
| 24532 | fi | ||
| 24533 | if test $ac_cv_header_netinet_in_h = yes; then | ||
| 24534 | : | ||
| 12929 | else | 24535 | else |
| 12930 | ok_so_far=no | 24536 | ok_so_far=no |
| 12931 | fi | 24537 | fi |
| @@ -12933,9 +24539,135 @@ fi | |||
| 12933 | 24539 | ||
| 12934 | fi | 24540 | fi |
| 12935 | if test $ok_so_far = yes; then | 24541 | if test $ok_so_far = yes; then |
| 12936 | ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 24542 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 12937 | if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 24543 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
| 24544 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24545 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24546 | $as_echo_n "(cached) " >&6 | ||
| 24547 | fi | ||
| 24548 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24549 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24550 | else | ||
| 24551 | # Is the header compilable? | ||
| 24552 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | ||
| 24553 | $as_echo_n "checking arpa/inet.h usability... " >&6; } | ||
| 24554 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24555 | /* confdefs.h. */ | ||
| 24556 | _ACEOF | ||
| 24557 | cat confdefs.h >>conftest.$ac_ext | ||
| 24558 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24559 | /* end confdefs.h. */ | ||
| 24560 | $ac_includes_default | ||
| 24561 | #include <arpa/inet.h> | ||
| 24562 | _ACEOF | ||
| 24563 | rm -f conftest.$ac_objext | ||
| 24564 | if { (ac_try="$ac_compile" | ||
| 24565 | case "(($ac_try" in | ||
| 24566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24567 | *) ac_try_echo=$ac_try;; | ||
| 24568 | esac | ||
| 24569 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24570 | $as_echo "$ac_try_echo") >&5 | ||
| 24571 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24572 | ac_status=$? | ||
| 24573 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24574 | rm -f conftest.er1 | ||
| 24575 | cat conftest.err >&5 | ||
| 24576 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24577 | (exit $ac_status); } && { | ||
| 24578 | test -z "$ac_c_werror_flag" || | ||
| 24579 | test ! -s conftest.err | ||
| 24580 | } && test -s conftest.$ac_objext; then | ||
| 24581 | ac_header_compiler=yes | ||
| 24582 | else | ||
| 24583 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24585 | |||
| 24586 | ac_header_compiler=no | ||
| 24587 | fi | ||
| 24588 | |||
| 24589 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24590 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24591 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24592 | |||
| 24593 | # Is the header present? | ||
| 24594 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | ||
| 24595 | $as_echo_n "checking arpa/inet.h presence... " >&6; } | ||
| 24596 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24597 | /* confdefs.h. */ | ||
| 24598 | _ACEOF | ||
| 24599 | cat confdefs.h >>conftest.$ac_ext | ||
| 24600 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24601 | /* end confdefs.h. */ | ||
| 24602 | #include <arpa/inet.h> | ||
| 24603 | _ACEOF | ||
| 24604 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24605 | case "(($ac_try" in | ||
| 24606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24607 | *) ac_try_echo=$ac_try;; | ||
| 24608 | esac | ||
| 24609 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24610 | $as_echo "$ac_try_echo") >&5 | ||
| 24611 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24612 | ac_status=$? | ||
| 24613 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24614 | rm -f conftest.er1 | ||
| 24615 | cat conftest.err >&5 | ||
| 24616 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24617 | (exit $ac_status); } >/dev/null && { | ||
| 24618 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24619 | test ! -s conftest.err | ||
| 24620 | }; then | ||
| 24621 | ac_header_preproc=yes | ||
| 24622 | else | ||
| 24623 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24624 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24625 | |||
| 24626 | ac_header_preproc=no | ||
| 24627 | fi | ||
| 24628 | |||
| 24629 | rm -f conftest.err conftest.$ac_ext | ||
| 24630 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24631 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24632 | |||
| 24633 | # So? What about this header? | ||
| 24634 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24635 | yes:no: ) | ||
| 24636 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24637 | $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24638 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | ||
| 24639 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | ||
| 24640 | ac_header_preproc=yes | ||
| 24641 | ;; | ||
| 24642 | no:yes:* ) | ||
| 24643 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | ||
| 24644 | $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | ||
| 24645 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | ||
| 24646 | $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | ||
| 24647 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | ||
| 24648 | $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | ||
| 24649 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24650 | $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24651 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | ||
| 24652 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | ||
| 24653 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | ||
| 24654 | $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | ||
| 24655 | |||
| 24656 | ;; | ||
| 24657 | esac | ||
| 24658 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | ||
| 24659 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24660 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24661 | $as_echo_n "(cached) " >&6 | ||
| 24662 | else | ||
| 24663 | ac_cv_header_arpa_inet_h=$ac_header_preproc | ||
| 24664 | fi | ||
| 24665 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24666 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 12938 | 24667 | ||
| 24668 | fi | ||
| 24669 | if test $ac_cv_header_arpa_inet_h = yes; then | ||
| 24670 | : | ||
| 12939 | else | 24671 | else |
| 12940 | ok_so_far=no | 24672 | ok_so_far=no |
| 12941 | fi | 24673 | fi |
| @@ -12944,16 +24676,151 @@ fi | |||
| 12944 | fi | 24676 | fi |
| 12945 | if test $ok_so_far = yes; then | 24677 | if test $ok_so_far = yes; then |
| 12946 | 24678 | ||
| 12947 | $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h | 24679 | cat >>confdefs.h <<\_ACEOF |
| 24680 | #define HAVE_INET_SOCKETS 1 | ||
| 24681 | _ACEOF | ||
| 12948 | 24682 | ||
| 12949 | fi | 24683 | fi |
| 12950 | 24684 | ||
| 24685 | |||
| 12951 | for ac_header in sys/ioctl.h | 24686 | for ac_header in sys/ioctl.h |
| 12952 | do : | 24687 | do |
| 12953 | ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 24688 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12954 | if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 24689 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 24690 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24691 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24692 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24693 | $as_echo_n "(cached) " >&6 | ||
| 24694 | fi | ||
| 24695 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24696 | $as_echo "$as_val"'` | ||
| 24697 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24698 | $as_echo "$ac_res" >&6; } | ||
| 24699 | else | ||
| 24700 | # Is the header compilable? | ||
| 24701 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24702 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24703 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24704 | /* confdefs.h. */ | ||
| 24705 | _ACEOF | ||
| 24706 | cat confdefs.h >>conftest.$ac_ext | ||
| 24707 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24708 | /* end confdefs.h. */ | ||
| 24709 | $ac_includes_default | ||
| 24710 | #include <$ac_header> | ||
| 24711 | _ACEOF | ||
| 24712 | rm -f conftest.$ac_objext | ||
| 24713 | if { (ac_try="$ac_compile" | ||
| 24714 | case "(($ac_try" in | ||
| 24715 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24716 | *) ac_try_echo=$ac_try;; | ||
| 24717 | esac | ||
| 24718 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24719 | $as_echo "$ac_try_echo") >&5 | ||
| 24720 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24721 | ac_status=$? | ||
| 24722 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24723 | rm -f conftest.er1 | ||
| 24724 | cat conftest.err >&5 | ||
| 24725 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24726 | (exit $ac_status); } && { | ||
| 24727 | test -z "$ac_c_werror_flag" || | ||
| 24728 | test ! -s conftest.err | ||
| 24729 | } && test -s conftest.$ac_objext; then | ||
| 24730 | ac_header_compiler=yes | ||
| 24731 | else | ||
| 24732 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24733 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24734 | |||
| 24735 | ac_header_compiler=no | ||
| 24736 | fi | ||
| 24737 | |||
| 24738 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24739 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24740 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24741 | |||
| 24742 | # Is the header present? | ||
| 24743 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24744 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24745 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24746 | /* confdefs.h. */ | ||
| 24747 | _ACEOF | ||
| 24748 | cat confdefs.h >>conftest.$ac_ext | ||
| 24749 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24750 | /* end confdefs.h. */ | ||
| 24751 | #include <$ac_header> | ||
| 24752 | _ACEOF | ||
| 24753 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24754 | case "(($ac_try" in | ||
| 24755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24756 | *) ac_try_echo=$ac_try;; | ||
| 24757 | esac | ||
| 24758 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24759 | $as_echo "$ac_try_echo") >&5 | ||
| 24760 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24761 | ac_status=$? | ||
| 24762 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24763 | rm -f conftest.er1 | ||
| 24764 | cat conftest.err >&5 | ||
| 24765 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24766 | (exit $ac_status); } >/dev/null && { | ||
| 24767 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24768 | test ! -s conftest.err | ||
| 24769 | }; then | ||
| 24770 | ac_header_preproc=yes | ||
| 24771 | else | ||
| 24772 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24773 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24774 | |||
| 24775 | ac_header_preproc=no | ||
| 24776 | fi | ||
| 24777 | |||
| 24778 | rm -f conftest.err conftest.$ac_ext | ||
| 24779 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24780 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24781 | |||
| 24782 | # So? What about this header? | ||
| 24783 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24784 | yes:no: ) | ||
| 24785 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24786 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24787 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 24788 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 24789 | ac_header_preproc=yes | ||
| 24790 | ;; | ||
| 24791 | no:yes:* ) | ||
| 24792 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 24793 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 24794 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 24795 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 24796 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 24797 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 24798 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24799 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24800 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 24801 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 24802 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 24803 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 24804 | |||
| 24805 | ;; | ||
| 24806 | esac | ||
| 24807 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24808 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24809 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24810 | $as_echo_n "(cached) " >&6 | ||
| 24811 | else | ||
| 24812 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 24813 | fi | ||
| 24814 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24815 | $as_echo "$as_val"'` | ||
| 24816 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24817 | $as_echo "$ac_res" >&6; } | ||
| 24818 | |||
| 24819 | fi | ||
| 24820 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24821 | $as_echo "$as_val"'` = yes; then | ||
| 12955 | cat >>confdefs.h <<_ACEOF | 24822 | cat >>confdefs.h <<_ACEOF |
| 12956 | #define HAVE_SYS_IOCTL_H 1 | 24823 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12957 | _ACEOF | 24824 | _ACEOF |
| 12958 | 24825 | ||
| 12959 | fi | 24826 | fi |
| @@ -12963,26 +24830,123 @@ done | |||
| 12963 | 24830 | ||
| 12964 | if test -f /usr/lpp/X11/bin/smt.exp; then | 24831 | if test -f /usr/lpp/X11/bin/smt.exp; then |
| 12965 | 24832 | ||
| 12966 | $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h | 24833 | cat >>confdefs.h <<\_ACEOF |
| 24834 | #define HAVE_AIX_SMT_EXP 1 | ||
| 24835 | _ACEOF | ||
| 12967 | 24836 | ||
| 12968 | fi | 24837 | fi |
| 12969 | 24838 | ||
| 12970 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 | 24839 | { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
| 12971 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 24840 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
| 12972 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 24841 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 12973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 24842 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 12974 | $as_echo "yes" >&6; } | 24843 | $as_echo "yes" >&6; } |
| 12975 | 24844 | ||
| 12976 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h | 24845 | cat >>confdefs.h <<\_ACEOF |
| 24846 | #define HAVE_DEV_PTMX 1 | ||
| 24847 | _ACEOF | ||
| 12977 | 24848 | ||
| 12978 | else | 24849 | else |
| 12979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 24850 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 12980 | $as_echo "no" >&6; } | 24851 | $as_echo "no" >&6; } |
| 12981 | fi | 24852 | fi |
| 12982 | 24853 | ||
| 12983 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 24854 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
| 12984 | if test "x$ac_cv_type_pid_t" = x""yes; then : | 24855 | $as_echo_n "checking for pid_t... " >&6; } |
| 24856 | if test "${ac_cv_type_pid_t+set}" = set; then | ||
| 24857 | $as_echo_n "(cached) " >&6 | ||
| 24858 | else | ||
| 24859 | ac_cv_type_pid_t=no | ||
| 24860 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24861 | /* confdefs.h. */ | ||
| 24862 | _ACEOF | ||
| 24863 | cat confdefs.h >>conftest.$ac_ext | ||
| 24864 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24865 | /* end confdefs.h. */ | ||
| 24866 | $ac_includes_default | ||
| 24867 | int | ||
| 24868 | main () | ||
| 24869 | { | ||
| 24870 | if (sizeof (pid_t)) | ||
| 24871 | return 0; | ||
| 24872 | ; | ||
| 24873 | return 0; | ||
| 24874 | } | ||
| 24875 | _ACEOF | ||
| 24876 | rm -f conftest.$ac_objext | ||
| 24877 | if { (ac_try="$ac_compile" | ||
| 24878 | case "(($ac_try" in | ||
| 24879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24880 | *) ac_try_echo=$ac_try;; | ||
| 24881 | esac | ||
| 24882 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24883 | $as_echo "$ac_try_echo") >&5 | ||
| 24884 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24885 | ac_status=$? | ||
| 24886 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24887 | rm -f conftest.er1 | ||
| 24888 | cat conftest.err >&5 | ||
| 24889 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24890 | (exit $ac_status); } && { | ||
| 24891 | test -z "$ac_c_werror_flag" || | ||
| 24892 | test ! -s conftest.err | ||
| 24893 | } && test -s conftest.$ac_objext; then | ||
| 24894 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24895 | /* confdefs.h. */ | ||
| 24896 | _ACEOF | ||
| 24897 | cat confdefs.h >>conftest.$ac_ext | ||
| 24898 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24899 | /* end confdefs.h. */ | ||
| 24900 | $ac_includes_default | ||
| 24901 | int | ||
| 24902 | main () | ||
| 24903 | { | ||
| 24904 | if (sizeof ((pid_t))) | ||
| 24905 | return 0; | ||
| 24906 | ; | ||
| 24907 | return 0; | ||
| 24908 | } | ||
| 24909 | _ACEOF | ||
| 24910 | rm -f conftest.$ac_objext | ||
| 24911 | if { (ac_try="$ac_compile" | ||
| 24912 | case "(($ac_try" in | ||
| 24913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24914 | *) ac_try_echo=$ac_try;; | ||
| 24915 | esac | ||
| 24916 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24917 | $as_echo "$ac_try_echo") >&5 | ||
| 24918 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24919 | ac_status=$? | ||
| 24920 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24921 | rm -f conftest.er1 | ||
| 24922 | cat conftest.err >&5 | ||
| 24923 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24924 | (exit $ac_status); } && { | ||
| 24925 | test -z "$ac_c_werror_flag" || | ||
| 24926 | test ! -s conftest.err | ||
| 24927 | } && test -s conftest.$ac_objext; then | ||
| 24928 | : | ||
| 24929 | else | ||
| 24930 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24931 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12985 | 24932 | ||
| 24933 | ac_cv_type_pid_t=yes | ||
| 24934 | fi | ||
| 24935 | |||
| 24936 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24937 | else | ||
| 24938 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24939 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24940 | |||
| 24941 | |||
| 24942 | fi | ||
| 24943 | |||
| 24944 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24945 | fi | ||
| 24946 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | ||
| 24947 | $as_echo "$ac_cv_type_pid_t" >&6; } | ||
| 24948 | if test $ac_cv_type_pid_t = yes; then | ||
| 24949 | : | ||
| 12986 | else | 24950 | else |
| 12987 | 24951 | ||
| 12988 | cat >>confdefs.h <<_ACEOF | 24952 | cat >>confdefs.h <<_ACEOF |
| @@ -12991,24 +24955,245 @@ _ACEOF | |||
| 12991 | 24955 | ||
| 12992 | fi | 24956 | fi |
| 12993 | 24957 | ||
| 24958 | |||
| 12994 | for ac_header in vfork.h | 24959 | for ac_header in vfork.h |
| 12995 | do : | 24960 | do |
| 12996 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | 24961 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12997 | if test "x$ac_cv_header_vfork_h" = x""yes; then : | 24962 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 24963 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24964 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24965 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24966 | $as_echo_n "(cached) " >&6 | ||
| 24967 | fi | ||
| 24968 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24969 | $as_echo "$as_val"'` | ||
| 24970 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24971 | $as_echo "$ac_res" >&6; } | ||
| 24972 | else | ||
| 24973 | # Is the header compilable? | ||
| 24974 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24975 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24976 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24977 | /* confdefs.h. */ | ||
| 24978 | _ACEOF | ||
| 24979 | cat confdefs.h >>conftest.$ac_ext | ||
| 24980 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24981 | /* end confdefs.h. */ | ||
| 24982 | $ac_includes_default | ||
| 24983 | #include <$ac_header> | ||
| 24984 | _ACEOF | ||
| 24985 | rm -f conftest.$ac_objext | ||
| 24986 | if { (ac_try="$ac_compile" | ||
| 24987 | case "(($ac_try" in | ||
| 24988 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24989 | *) ac_try_echo=$ac_try;; | ||
| 24990 | esac | ||
| 24991 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24992 | $as_echo "$ac_try_echo") >&5 | ||
| 24993 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24994 | ac_status=$? | ||
| 24995 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24996 | rm -f conftest.er1 | ||
| 24997 | cat conftest.err >&5 | ||
| 24998 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24999 | (exit $ac_status); } && { | ||
| 25000 | test -z "$ac_c_werror_flag" || | ||
| 25001 | test ! -s conftest.err | ||
| 25002 | } && test -s conftest.$ac_objext; then | ||
| 25003 | ac_header_compiler=yes | ||
| 25004 | else | ||
| 25005 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25006 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25007 | |||
| 25008 | ac_header_compiler=no | ||
| 25009 | fi | ||
| 25010 | |||
| 25011 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25012 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 25013 | $as_echo "$ac_header_compiler" >&6; } | ||
| 25014 | |||
| 25015 | # Is the header present? | ||
| 25016 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 25017 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 25018 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25019 | /* confdefs.h. */ | ||
| 25020 | _ACEOF | ||
| 25021 | cat confdefs.h >>conftest.$ac_ext | ||
| 25022 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25023 | /* end confdefs.h. */ | ||
| 25024 | #include <$ac_header> | ||
| 25025 | _ACEOF | ||
| 25026 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 25027 | case "(($ac_try" in | ||
| 25028 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25029 | *) ac_try_echo=$ac_try;; | ||
| 25030 | esac | ||
| 25031 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25032 | $as_echo "$ac_try_echo") >&5 | ||
| 25033 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 25034 | ac_status=$? | ||
| 25035 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25036 | rm -f conftest.er1 | ||
| 25037 | cat conftest.err >&5 | ||
| 25038 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25039 | (exit $ac_status); } >/dev/null && { | ||
| 25040 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 25041 | test ! -s conftest.err | ||
| 25042 | }; then | ||
| 25043 | ac_header_preproc=yes | ||
| 25044 | else | ||
| 25045 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25046 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25047 | |||
| 25048 | ac_header_preproc=no | ||
| 25049 | fi | ||
| 25050 | |||
| 25051 | rm -f conftest.err conftest.$ac_ext | ||
| 25052 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 25053 | $as_echo "$ac_header_preproc" >&6; } | ||
| 25054 | |||
| 25055 | # So? What about this header? | ||
| 25056 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 25057 | yes:no: ) | ||
| 25058 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 25059 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 25060 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 25061 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 25062 | ac_header_preproc=yes | ||
| 25063 | ;; | ||
| 25064 | no:yes:* ) | ||
| 25065 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 25066 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 25067 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 25068 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 25069 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 25070 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 25071 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 25072 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 25073 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 25074 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 25075 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 25076 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 25077 | |||
| 25078 | ;; | ||
| 25079 | esac | ||
| 25080 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 25081 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 25082 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 25083 | $as_echo_n "(cached) " >&6 | ||
| 25084 | else | ||
| 25085 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 25086 | fi | ||
| 25087 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 25088 | $as_echo "$as_val"'` | ||
| 25089 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25090 | $as_echo "$ac_res" >&6; } | ||
| 25091 | |||
| 25092 | fi | ||
| 25093 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 25094 | $as_echo "$as_val"'` = yes; then | ||
| 12998 | cat >>confdefs.h <<_ACEOF | 25095 | cat >>confdefs.h <<_ACEOF |
| 12999 | #define HAVE_VFORK_H 1 | 25096 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13000 | _ACEOF | 25097 | _ACEOF |
| 13001 | 25098 | ||
| 13002 | fi | 25099 | fi |
| 13003 | 25100 | ||
| 13004 | done | 25101 | done |
| 13005 | 25102 | ||
| 25103 | |||
| 25104 | |||
| 13006 | for ac_func in fork vfork | 25105 | for ac_func in fork vfork |
| 13007 | do : | 25106 | do |
| 13008 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 25107 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13009 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 25108 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 13010 | eval as_val=\$$as_ac_var | 25109 | $as_echo_n "checking for $ac_func... " >&6; } |
| 13011 | if test "x$as_val" = x""yes; then : | 25110 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 25111 | $as_echo_n "(cached) " >&6 | ||
| 25112 | else | ||
| 25113 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25114 | /* confdefs.h. */ | ||
| 25115 | _ACEOF | ||
| 25116 | cat confdefs.h >>conftest.$ac_ext | ||
| 25117 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25118 | /* end confdefs.h. */ | ||
| 25119 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 25120 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 25121 | #define $ac_func innocuous_$ac_func | ||
| 25122 | |||
| 25123 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 25124 | which can conflict with char $ac_func (); below. | ||
| 25125 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 25126 | <limits.h> exists even on freestanding compilers. */ | ||
| 25127 | |||
| 25128 | #ifdef __STDC__ | ||
| 25129 | # include <limits.h> | ||
| 25130 | #else | ||
| 25131 | # include <assert.h> | ||
| 25132 | #endif | ||
| 25133 | |||
| 25134 | #undef $ac_func | ||
| 25135 | |||
| 25136 | /* Override any GCC internal prototype to avoid an error. | ||
| 25137 | Use char because int might match the return type of a GCC | ||
| 25138 | builtin and then its argument prototype would still apply. */ | ||
| 25139 | #ifdef __cplusplus | ||
| 25140 | extern "C" | ||
| 25141 | #endif | ||
| 25142 | char $ac_func (); | ||
| 25143 | /* The GNU C library defines this for functions which it implements | ||
| 25144 | to always fail with ENOSYS. Some functions are actually named | ||
| 25145 | something starting with __ and the normal name is an alias. */ | ||
| 25146 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 25147 | choke me | ||
| 25148 | #endif | ||
| 25149 | |||
| 25150 | int | ||
| 25151 | main () | ||
| 25152 | { | ||
| 25153 | return $ac_func (); | ||
| 25154 | ; | ||
| 25155 | return 0; | ||
| 25156 | } | ||
| 25157 | _ACEOF | ||
| 25158 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 25159 | if { (ac_try="$ac_link" | ||
| 25160 | case "(($ac_try" in | ||
| 25161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25162 | *) ac_try_echo=$ac_try;; | ||
| 25163 | esac | ||
| 25164 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25165 | $as_echo "$ac_try_echo") >&5 | ||
| 25166 | (eval "$ac_link") 2>conftest.er1 | ||
| 25167 | ac_status=$? | ||
| 25168 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25169 | rm -f conftest.er1 | ||
| 25170 | cat conftest.err >&5 | ||
| 25171 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25172 | (exit $ac_status); } && { | ||
| 25173 | test -z "$ac_c_werror_flag" || | ||
| 25174 | test ! -s conftest.err | ||
| 25175 | } && test -s conftest$ac_exeext && { | ||
| 25176 | test "$cross_compiling" = yes || | ||
| 25177 | $as_test_x conftest$ac_exeext | ||
| 25178 | }; then | ||
| 25179 | eval "$as_ac_var=yes" | ||
| 25180 | else | ||
| 25181 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25182 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25183 | |||
| 25184 | eval "$as_ac_var=no" | ||
| 25185 | fi | ||
| 25186 | |||
| 25187 | rm -rf conftest.dSYM | ||
| 25188 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25189 | conftest$ac_exeext conftest.$ac_ext | ||
| 25190 | fi | ||
| 25191 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 25192 | $as_echo "$as_val"'` | ||
| 25193 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25194 | $as_echo "$ac_res" >&6; } | ||
| 25195 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 25196 | $as_echo "$as_val"'` = yes; then | ||
| 13012 | cat >>confdefs.h <<_ACEOF | 25197 | cat >>confdefs.h <<_ACEOF |
| 13013 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 25198 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13014 | _ACEOF | 25199 | _ACEOF |
| @@ -13017,15 +25202,19 @@ fi | |||
| 13017 | done | 25202 | done |
| 13018 | 25203 | ||
| 13019 | if test "x$ac_cv_func_fork" = xyes; then | 25204 | if test "x$ac_cv_func_fork" = xyes; then |
| 13020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | 25205 | { $as_echo "$as_me:$LINENO: checking for working fork" >&5 |
| 13021 | $as_echo_n "checking for working fork... " >&6; } | 25206 | $as_echo_n "checking for working fork... " >&6; } |
| 13022 | if test "${ac_cv_func_fork_works+set}" = set; then : | 25207 | if test "${ac_cv_func_fork_works+set}" = set; then |
| 13023 | $as_echo_n "(cached) " >&6 | 25208 | $as_echo_n "(cached) " >&6 |
| 13024 | else | 25209 | else |
| 13025 | if test "$cross_compiling" = yes; then : | 25210 | if test "$cross_compiling" = yes; then |
| 13026 | ac_cv_func_fork_works=cross | 25211 | ac_cv_func_fork_works=cross |
| 13027 | else | 25212 | else |
| 13028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25213 | cat >conftest.$ac_ext <<_ACEOF |
| 25214 | /* confdefs.h. */ | ||
| 25215 | _ACEOF | ||
| 25216 | cat confdefs.h >>conftest.$ac_ext | ||
| 25217 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13029 | /* end confdefs.h. */ | 25218 | /* end confdefs.h. */ |
| 13030 | $ac_includes_default | 25219 | $ac_includes_default |
| 13031 | int | 25220 | int |
| @@ -13039,17 +25228,44 @@ main () | |||
| 13039 | return 0; | 25228 | return 0; |
| 13040 | } | 25229 | } |
| 13041 | _ACEOF | 25230 | _ACEOF |
| 13042 | if ac_fn_c_try_run "$LINENO"; then : | 25231 | rm -f conftest$ac_exeext |
| 25232 | if { (ac_try="$ac_link" | ||
| 25233 | case "(($ac_try" in | ||
| 25234 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25235 | *) ac_try_echo=$ac_try;; | ||
| 25236 | esac | ||
| 25237 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25238 | $as_echo "$ac_try_echo") >&5 | ||
| 25239 | (eval "$ac_link") 2>&5 | ||
| 25240 | ac_status=$? | ||
| 25241 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25242 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25243 | { (case "(($ac_try" in | ||
| 25244 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25245 | *) ac_try_echo=$ac_try;; | ||
| 25246 | esac | ||
| 25247 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25248 | $as_echo "$ac_try_echo") >&5 | ||
| 25249 | (eval "$ac_try") 2>&5 | ||
| 25250 | ac_status=$? | ||
| 25251 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25252 | (exit $ac_status); }; }; then | ||
| 13043 | ac_cv_func_fork_works=yes | 25253 | ac_cv_func_fork_works=yes |
| 13044 | else | 25254 | else |
| 13045 | ac_cv_func_fork_works=no | 25255 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25256 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25257 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25258 | |||
| 25259 | ( exit $ac_status ) | ||
| 25260 | ac_cv_func_fork_works=no | ||
| 13046 | fi | 25261 | fi |
| 13047 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25262 | rm -rf conftest.dSYM |
| 13048 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25263 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13049 | fi | 25264 | fi |
| 13050 | 25265 | ||
| 25266 | |||
| 13051 | fi | 25267 | fi |
| 13052 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 | 25268 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
| 13053 | $as_echo "$ac_cv_func_fork_works" >&6; } | 25269 | $as_echo "$ac_cv_func_fork_works" >&6; } |
| 13054 | 25270 | ||
| 13055 | else | 25271 | else |
| @@ -13065,20 +25281,24 @@ if test "x$ac_cv_func_fork_works" = xcross; then | |||
| 13065 | ac_cv_func_fork_works=yes | 25281 | ac_cv_func_fork_works=yes |
| 13066 | ;; | 25282 | ;; |
| 13067 | esac | 25283 | esac |
| 13068 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25284 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
| 13069 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25285 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
| 13070 | fi | 25286 | fi |
| 13071 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25287 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13072 | if test "x$ac_cv_func_vfork" = xyes; then | 25288 | if test "x$ac_cv_func_vfork" = xyes; then |
| 13073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 25289 | { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 |
| 13074 | $as_echo_n "checking for working vfork... " >&6; } | 25290 | $as_echo_n "checking for working vfork... " >&6; } |
| 13075 | if test "${ac_cv_func_vfork_works+set}" = set; then : | 25291 | if test "${ac_cv_func_vfork_works+set}" = set; then |
| 13076 | $as_echo_n "(cached) " >&6 | 25292 | $as_echo_n "(cached) " >&6 |
| 13077 | else | 25293 | else |
| 13078 | if test "$cross_compiling" = yes; then : | 25294 | if test "$cross_compiling" = yes; then |
| 13079 | ac_cv_func_vfork_works=cross | 25295 | ac_cv_func_vfork_works=cross |
| 13080 | else | 25296 | else |
| 13081 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25297 | cat >conftest.$ac_ext <<_ACEOF |
| 25298 | /* confdefs.h. */ | ||
| 25299 | _ACEOF | ||
| 25300 | cat confdefs.h >>conftest.$ac_ext | ||
| 25301 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13082 | /* end confdefs.h. */ | 25302 | /* end confdefs.h. */ |
| 13083 | /* Thanks to Paul Eggert for this test. */ | 25303 | /* Thanks to Paul Eggert for this test. */ |
| 13084 | $ac_includes_default | 25304 | $ac_includes_default |
| @@ -13170,48 +25390,85 @@ main () | |||
| 13170 | } | 25390 | } |
| 13171 | } | 25391 | } |
| 13172 | _ACEOF | 25392 | _ACEOF |
| 13173 | if ac_fn_c_try_run "$LINENO"; then : | 25393 | rm -f conftest$ac_exeext |
| 25394 | if { (ac_try="$ac_link" | ||
| 25395 | case "(($ac_try" in | ||
| 25396 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25397 | *) ac_try_echo=$ac_try;; | ||
| 25398 | esac | ||
| 25399 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25400 | $as_echo "$ac_try_echo") >&5 | ||
| 25401 | (eval "$ac_link") 2>&5 | ||
| 25402 | ac_status=$? | ||
| 25403 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25404 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25405 | { (case "(($ac_try" in | ||
| 25406 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25407 | *) ac_try_echo=$ac_try;; | ||
| 25408 | esac | ||
| 25409 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25410 | $as_echo "$ac_try_echo") >&5 | ||
| 25411 | (eval "$ac_try") 2>&5 | ||
| 25412 | ac_status=$? | ||
| 25413 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25414 | (exit $ac_status); }; }; then | ||
| 13174 | ac_cv_func_vfork_works=yes | 25415 | ac_cv_func_vfork_works=yes |
| 13175 | else | 25416 | else |
| 13176 | ac_cv_func_vfork_works=no | 25417 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25418 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25419 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25420 | |||
| 25421 | ( exit $ac_status ) | ||
| 25422 | ac_cv_func_vfork_works=no | ||
| 13177 | fi | 25423 | fi |
| 13178 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25424 | rm -rf conftest.dSYM |
| 13179 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25425 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13180 | fi | 25426 | fi |
| 13181 | 25427 | ||
| 25428 | |||
| 13182 | fi | 25429 | fi |
| 13183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 | 25430 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
| 13184 | $as_echo "$ac_cv_func_vfork_works" >&6; } | 25431 | $as_echo "$ac_cv_func_vfork_works" >&6; } |
| 13185 | 25432 | ||
| 13186 | fi; | 25433 | fi; |
| 13187 | if test "x$ac_cv_func_fork_works" = xcross; then | 25434 | if test "x$ac_cv_func_fork_works" = xcross; then |
| 13188 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25435 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13189 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25436 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
| 13190 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 25437 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
| 13191 | fi | 25438 | fi |
| 13192 | 25439 | ||
| 13193 | if test "x$ac_cv_func_vfork_works" = xyes; then | 25440 | if test "x$ac_cv_func_vfork_works" = xyes; then |
| 13194 | 25441 | ||
| 13195 | $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h | 25442 | cat >>confdefs.h <<\_ACEOF |
| 25443 | #define HAVE_WORKING_VFORK 1 | ||
| 25444 | _ACEOF | ||
| 13196 | 25445 | ||
| 13197 | else | 25446 | else |
| 13198 | 25447 | ||
| 13199 | $as_echo "#define vfork fork" >>confdefs.h | 25448 | cat >>confdefs.h <<\_ACEOF |
| 25449 | #define vfork fork | ||
| 25450 | _ACEOF | ||
| 13200 | 25451 | ||
| 13201 | fi | 25452 | fi |
| 13202 | if test "x$ac_cv_func_fork_works" = xyes; then | 25453 | if test "x$ac_cv_func_fork_works" = xyes; then |
| 13203 | 25454 | ||
| 13204 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 25455 | cat >>confdefs.h <<\_ACEOF |
| 25456 | #define HAVE_WORKING_FORK 1 | ||
| 25457 | _ACEOF | ||
| 13205 | 25458 | ||
| 13206 | fi | 25459 | fi |
| 13207 | 25460 | ||
| 13208 | 25461 | ||
| 13209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 25462 | { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
| 13210 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 25463 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
| 13211 | if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 25464 | if test "${emacs_cv_langinfo_codeset+set}" = set; then |
| 13212 | $as_echo_n "(cached) " >&6 | 25465 | $as_echo_n "(cached) " >&6 |
| 13213 | else | 25466 | else |
| 13214 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25467 | cat >conftest.$ac_ext <<_ACEOF |
| 25468 | /* confdefs.h. */ | ||
| 25469 | _ACEOF | ||
| 25470 | cat confdefs.h >>conftest.$ac_ext | ||
| 25471 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13215 | /* end confdefs.h. */ | 25472 | /* end confdefs.h. */ |
| 13216 | #include <langinfo.h> | 25473 | #include <langinfo.h> |
| 13217 | int | 25474 | int |
| @@ -13222,25 +25479,145 @@ char* cs = nl_langinfo(CODESET); | |||
| 13222 | return 0; | 25479 | return 0; |
| 13223 | } | 25480 | } |
| 13224 | _ACEOF | 25481 | _ACEOF |
| 13225 | if ac_fn_c_try_link "$LINENO"; then : | 25482 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 25483 | if { (ac_try="$ac_link" | ||
| 25484 | case "(($ac_try" in | ||
| 25485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25486 | *) ac_try_echo=$ac_try;; | ||
| 25487 | esac | ||
| 25488 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25489 | $as_echo "$ac_try_echo") >&5 | ||
| 25490 | (eval "$ac_link") 2>conftest.er1 | ||
| 25491 | ac_status=$? | ||
| 25492 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25493 | rm -f conftest.er1 | ||
| 25494 | cat conftest.err >&5 | ||
| 25495 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25496 | (exit $ac_status); } && { | ||
| 25497 | test -z "$ac_c_werror_flag" || | ||
| 25498 | test ! -s conftest.err | ||
| 25499 | } && test -s conftest$ac_exeext && { | ||
| 25500 | test "$cross_compiling" = yes || | ||
| 25501 | $as_test_x conftest$ac_exeext | ||
| 25502 | }; then | ||
| 13226 | emacs_cv_langinfo_codeset=yes | 25503 | emacs_cv_langinfo_codeset=yes |
| 13227 | else | 25504 | else |
| 13228 | emacs_cv_langinfo_codeset=no | 25505 | $as_echo "$as_me: failed program was:" >&5 |
| 25506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25507 | |||
| 25508 | emacs_cv_langinfo_codeset=no | ||
| 13229 | fi | 25509 | fi |
| 13230 | rm -f core conftest.err conftest.$ac_objext \ | 25510 | |
| 13231 | conftest$ac_exeext conftest.$ac_ext | 25511 | rm -rf conftest.dSYM |
| 25512 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25513 | conftest$ac_exeext conftest.$ac_ext | ||
| 13232 | 25514 | ||
| 13233 | fi | 25515 | fi |
| 13234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 | 25516 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
| 13235 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 25517 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
| 13236 | if test $emacs_cv_langinfo_codeset = yes; then | 25518 | if test $emacs_cv_langinfo_codeset = yes; then |
| 13237 | 25519 | ||
| 13238 | $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 25520 | cat >>confdefs.h <<\_ACEOF |
| 25521 | #define HAVE_LANGINFO_CODESET 1 | ||
| 25522 | _ACEOF | ||
| 25523 | |||
| 25524 | fi | ||
| 25525 | |||
| 25526 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | ||
| 25527 | $as_echo_n "checking for size_t... " >&6; } | ||
| 25528 | if test "${ac_cv_type_size_t+set}" = set; then | ||
| 25529 | $as_echo_n "(cached) " >&6 | ||
| 25530 | else | ||
| 25531 | ac_cv_type_size_t=no | ||
| 25532 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25533 | /* confdefs.h. */ | ||
| 25534 | _ACEOF | ||
| 25535 | cat confdefs.h >>conftest.$ac_ext | ||
| 25536 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25537 | /* end confdefs.h. */ | ||
| 25538 | $ac_includes_default | ||
| 25539 | int | ||
| 25540 | main () | ||
| 25541 | { | ||
| 25542 | if (sizeof (size_t)) | ||
| 25543 | return 0; | ||
| 25544 | ; | ||
| 25545 | return 0; | ||
| 25546 | } | ||
| 25547 | _ACEOF | ||
| 25548 | rm -f conftest.$ac_objext | ||
| 25549 | if { (ac_try="$ac_compile" | ||
| 25550 | case "(($ac_try" in | ||
| 25551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25552 | *) ac_try_echo=$ac_try;; | ||
| 25553 | esac | ||
| 25554 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25555 | $as_echo "$ac_try_echo") >&5 | ||
| 25556 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25557 | ac_status=$? | ||
| 25558 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25559 | rm -f conftest.er1 | ||
| 25560 | cat conftest.err >&5 | ||
| 25561 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25562 | (exit $ac_status); } && { | ||
| 25563 | test -z "$ac_c_werror_flag" || | ||
| 25564 | test ! -s conftest.err | ||
| 25565 | } && test -s conftest.$ac_objext; then | ||
| 25566 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25567 | /* confdefs.h. */ | ||
| 25568 | _ACEOF | ||
| 25569 | cat confdefs.h >>conftest.$ac_ext | ||
| 25570 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25571 | /* end confdefs.h. */ | ||
| 25572 | $ac_includes_default | ||
| 25573 | int | ||
| 25574 | main () | ||
| 25575 | { | ||
| 25576 | if (sizeof ((size_t))) | ||
| 25577 | return 0; | ||
| 25578 | ; | ||
| 25579 | return 0; | ||
| 25580 | } | ||
| 25581 | _ACEOF | ||
| 25582 | rm -f conftest.$ac_objext | ||
| 25583 | if { (ac_try="$ac_compile" | ||
| 25584 | case "(($ac_try" in | ||
| 25585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25586 | *) ac_try_echo=$ac_try;; | ||
| 25587 | esac | ||
| 25588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25589 | $as_echo "$ac_try_echo") >&5 | ||
| 25590 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25591 | ac_status=$? | ||
| 25592 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25593 | rm -f conftest.er1 | ||
| 25594 | cat conftest.err >&5 | ||
| 25595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25596 | (exit $ac_status); } && { | ||
| 25597 | test -z "$ac_c_werror_flag" || | ||
| 25598 | test ! -s conftest.err | ||
| 25599 | } && test -s conftest.$ac_objext; then | ||
| 25600 | : | ||
| 25601 | else | ||
| 25602 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25603 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25604 | |||
| 25605 | ac_cv_type_size_t=yes | ||
| 25606 | fi | ||
| 25607 | |||
| 25608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25609 | else | ||
| 25610 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25611 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25612 | |||
| 13239 | 25613 | ||
| 13240 | fi | 25614 | fi |
| 13241 | 25615 | ||
| 13242 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 25616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13243 | if test "x$ac_cv_type_size_t" = x""yes; then : | 25617 | fi |
| 25618 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | ||
| 25619 | $as_echo "$ac_cv_type_size_t" >&6; } | ||
| 25620 | if test $ac_cv_type_size_t = yes; then | ||
| 13244 | 25621 | ||
| 13245 | cat >>confdefs.h <<_ACEOF | 25622 | cat >>confdefs.h <<_ACEOF |
| 13246 | #define HAVE_SIZE_T 1 | 25623 | #define HAVE_SIZE_T 1 |
| @@ -13250,12 +25627,16 @@ _ACEOF | |||
| 13250 | fi | 25627 | fi |
| 13251 | 25628 | ||
| 13252 | 25629 | ||
| 13253 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 25630 | { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
| 13254 | $as_echo_n "checking for mbstate_t... " >&6; } | 25631 | $as_echo_n "checking for mbstate_t... " >&6; } |
| 13255 | if test "${ac_cv_type_mbstate_t+set}" = set; then : | 25632 | if test "${ac_cv_type_mbstate_t+set}" = set; then |
| 13256 | $as_echo_n "(cached) " >&6 | 25633 | $as_echo_n "(cached) " >&6 |
| 13257 | else | 25634 | else |
| 13258 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25635 | cat >conftest.$ac_ext <<_ACEOF |
| 25636 | /* confdefs.h. */ | ||
| 25637 | _ACEOF | ||
| 25638 | cat confdefs.h >>conftest.$ac_ext | ||
| 25639 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13259 | /* end confdefs.h. */ | 25640 | /* end confdefs.h. */ |
| 13260 | $ac_includes_default | 25641 | $ac_includes_default |
| 13261 | # include <wchar.h> | 25642 | # include <wchar.h> |
| @@ -13267,31 +25648,60 @@ mbstate_t x; return sizeof x; | |||
| 13267 | return 0; | 25648 | return 0; |
| 13268 | } | 25649 | } |
| 13269 | _ACEOF | 25650 | _ACEOF |
| 13270 | if ac_fn_c_try_compile "$LINENO"; then : | 25651 | rm -f conftest.$ac_objext |
| 25652 | if { (ac_try="$ac_compile" | ||
| 25653 | case "(($ac_try" in | ||
| 25654 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25655 | *) ac_try_echo=$ac_try;; | ||
| 25656 | esac | ||
| 25657 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25658 | $as_echo "$ac_try_echo") >&5 | ||
| 25659 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25660 | ac_status=$? | ||
| 25661 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25662 | rm -f conftest.er1 | ||
| 25663 | cat conftest.err >&5 | ||
| 25664 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25665 | (exit $ac_status); } && { | ||
| 25666 | test -z "$ac_c_werror_flag" || | ||
| 25667 | test ! -s conftest.err | ||
| 25668 | } && test -s conftest.$ac_objext; then | ||
| 13271 | ac_cv_type_mbstate_t=yes | 25669 | ac_cv_type_mbstate_t=yes |
| 13272 | else | 25670 | else |
| 13273 | ac_cv_type_mbstate_t=no | 25671 | $as_echo "$as_me: failed program was:" >&5 |
| 25672 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25673 | |||
| 25674 | ac_cv_type_mbstate_t=no | ||
| 13274 | fi | 25675 | fi |
| 25676 | |||
| 13275 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25677 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13276 | fi | 25678 | fi |
| 13277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 | 25679 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
| 13278 | $as_echo "$ac_cv_type_mbstate_t" >&6; } | 25680 | $as_echo "$ac_cv_type_mbstate_t" >&6; } |
| 13279 | if test $ac_cv_type_mbstate_t = yes; then | 25681 | if test $ac_cv_type_mbstate_t = yes; then |
| 13280 | 25682 | ||
| 13281 | $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h | 25683 | cat >>confdefs.h <<\_ACEOF |
| 25684 | #define HAVE_MBSTATE_T 1 | ||
| 25685 | _ACEOF | ||
| 13282 | 25686 | ||
| 13283 | else | 25687 | else |
| 13284 | 25688 | ||
| 13285 | $as_echo "#define mbstate_t int" >>confdefs.h | 25689 | cat >>confdefs.h <<\_ACEOF |
| 25690 | #define mbstate_t int | ||
| 25691 | _ACEOF | ||
| 13286 | 25692 | ||
| 13287 | fi | 25693 | fi |
| 13288 | 25694 | ||
| 13289 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 25695 | { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
| 13290 | $as_echo_n "checking for C restrict keyword... " >&6; } | 25696 | $as_echo_n "checking for C restrict keyword... " >&6; } |
| 13291 | if test "${emacs_cv_c_restrict+set}" = set; then : | 25697 | if test "${emacs_cv_c_restrict+set}" = set; then |
| 13292 | $as_echo_n "(cached) " >&6 | 25698 | $as_echo_n "(cached) " >&6 |
| 13293 | else | 25699 | else |
| 13294 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25700 | cat >conftest.$ac_ext <<_ACEOF |
| 25701 | /* confdefs.h. */ | ||
| 25702 | _ACEOF | ||
| 25703 | cat confdefs.h >>conftest.$ac_ext | ||
| 25704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13295 | /* end confdefs.h. */ | 25705 | /* end confdefs.h. */ |
| 13296 | void fred (int *restrict x); | 25706 | void fred (int *restrict x); |
| 13297 | int | 25707 | int |
| @@ -13302,10 +25712,34 @@ main () | |||
| 13302 | return 0; | 25712 | return 0; |
| 13303 | } | 25713 | } |
| 13304 | _ACEOF | 25714 | _ACEOF |
| 13305 | if ac_fn_c_try_compile "$LINENO"; then : | 25715 | rm -f conftest.$ac_objext |
| 25716 | if { (ac_try="$ac_compile" | ||
| 25717 | case "(($ac_try" in | ||
| 25718 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25719 | *) ac_try_echo=$ac_try;; | ||
| 25720 | esac | ||
| 25721 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25722 | $as_echo "$ac_try_echo") >&5 | ||
| 25723 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25724 | ac_status=$? | ||
| 25725 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25726 | rm -f conftest.er1 | ||
| 25727 | cat conftest.err >&5 | ||
| 25728 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25729 | (exit $ac_status); } && { | ||
| 25730 | test -z "$ac_c_werror_flag" || | ||
| 25731 | test ! -s conftest.err | ||
| 25732 | } && test -s conftest.$ac_objext; then | ||
| 13306 | emacs_cv_c_restrict=yes | 25733 | emacs_cv_c_restrict=yes |
| 13307 | else | 25734 | else |
| 13308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25735 | $as_echo "$as_me: failed program was:" >&5 |
| 25736 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25737 | |||
| 25738 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25739 | /* confdefs.h. */ | ||
| 25740 | _ACEOF | ||
| 25741 | cat confdefs.h >>conftest.$ac_ext | ||
| 25742 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13309 | /* end confdefs.h. */ | 25743 | /* end confdefs.h. */ |
| 13310 | void fred (int *__restrict x); | 25744 | void fred (int *__restrict x); |
| 13311 | int | 25745 | int |
| @@ -13316,16 +25750,38 @@ main () | |||
| 13316 | return 0; | 25750 | return 0; |
| 13317 | } | 25751 | } |
| 13318 | _ACEOF | 25752 | _ACEOF |
| 13319 | if ac_fn_c_try_compile "$LINENO"; then : | 25753 | rm -f conftest.$ac_objext |
| 25754 | if { (ac_try="$ac_compile" | ||
| 25755 | case "(($ac_try" in | ||
| 25756 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25757 | *) ac_try_echo=$ac_try;; | ||
| 25758 | esac | ||
| 25759 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25760 | $as_echo "$ac_try_echo") >&5 | ||
| 25761 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25762 | ac_status=$? | ||
| 25763 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25764 | rm -f conftest.er1 | ||
| 25765 | cat conftest.err >&5 | ||
| 25766 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25767 | (exit $ac_status); } && { | ||
| 25768 | test -z "$ac_c_werror_flag" || | ||
| 25769 | test ! -s conftest.err | ||
| 25770 | } && test -s conftest.$ac_objext; then | ||
| 13320 | emacs_cv_c_restrict=__restrict | 25771 | emacs_cv_c_restrict=__restrict |
| 13321 | else | 25772 | else |
| 13322 | emacs_cv_c_restrict=no | 25773 | $as_echo "$as_me: failed program was:" >&5 |
| 25774 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25775 | |||
| 25776 | emacs_cv_c_restrict=no | ||
| 13323 | fi | 25777 | fi |
| 25778 | |||
| 13324 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13325 | fi | 25780 | fi |
| 25781 | |||
| 13326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25782 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13327 | fi | 25783 | fi |
| 13328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 | 25784 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
| 13329 | $as_echo "$emacs_cv_c_restrict" >&6; } | 25785 | $as_echo "$emacs_cv_c_restrict" >&6; } |
| 13330 | case "$emacs_cv_c_restrict" in | 25786 | case "$emacs_cv_c_restrict" in |
| 13331 | yes) emacs_restrict=restrict;; | 25787 | yes) emacs_restrict=restrict;; |
| @@ -13340,12 +25796,16 @@ _ACEOF | |||
| 13340 | 25796 | ||
| 13341 | fi | 25797 | fi |
| 13342 | 25798 | ||
| 13343 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 25799 | { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
| 13344 | $as_echo_n "checking for C restricted array declarations... " >&6; } | 25800 | $as_echo_n "checking for C restricted array declarations... " >&6; } |
| 13345 | if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 25801 | if test "${emacs_cv_c_restrict_arr+set}" = set; then |
| 13346 | $as_echo_n "(cached) " >&6 | 25802 | $as_echo_n "(cached) " >&6 |
| 13347 | else | 25803 | else |
| 13348 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25804 | cat >conftest.$ac_ext <<_ACEOF |
| 25805 | /* confdefs.h. */ | ||
| 25806 | _ACEOF | ||
| 25807 | cat confdefs.h >>conftest.$ac_ext | ||
| 25808 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13349 | /* end confdefs.h. */ | 25809 | /* end confdefs.h. */ |
| 13350 | void fred (int x[__restrict]); | 25810 | void fred (int x[__restrict]); |
| 13351 | int | 25811 | int |
| @@ -13356,18 +25816,41 @@ main () | |||
| 13356 | return 0; | 25816 | return 0; |
| 13357 | } | 25817 | } |
| 13358 | _ACEOF | 25818 | _ACEOF |
| 13359 | if ac_fn_c_try_compile "$LINENO"; then : | 25819 | rm -f conftest.$ac_objext |
| 25820 | if { (ac_try="$ac_compile" | ||
| 25821 | case "(($ac_try" in | ||
| 25822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25823 | *) ac_try_echo=$ac_try;; | ||
| 25824 | esac | ||
| 25825 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25826 | $as_echo "$ac_try_echo") >&5 | ||
| 25827 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25828 | ac_status=$? | ||
| 25829 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25830 | rm -f conftest.er1 | ||
| 25831 | cat conftest.err >&5 | ||
| 25832 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25833 | (exit $ac_status); } && { | ||
| 25834 | test -z "$ac_c_werror_flag" || | ||
| 25835 | test ! -s conftest.err | ||
| 25836 | } && test -s conftest.$ac_objext; then | ||
| 13360 | emacs_cv_c_restrict_arr=yes | 25837 | emacs_cv_c_restrict_arr=yes |
| 13361 | else | 25838 | else |
| 13362 | emacs_cv_c_restrict_arr=no | 25839 | $as_echo "$as_me: failed program was:" >&5 |
| 25840 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25841 | |||
| 25842 | emacs_cv_c_restrict_arr=no | ||
| 13363 | fi | 25843 | fi |
| 25844 | |||
| 13364 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25845 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13365 | fi | 25846 | fi |
| 13366 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 | 25847 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
| 13367 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 25848 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
| 13368 | if test "$emacs_cv_c_restrict_arr" = yes; then | 25849 | if test "$emacs_cv_c_restrict_arr" = yes; then |
| 13369 | 25850 | ||
| 13370 | $as_echo "#define __restrict_arr __restrict" >>confdefs.h | 25851 | cat >>confdefs.h <<\_ACEOF |
| 25852 | #define __restrict_arr __restrict | ||
| 25853 | _ACEOF | ||
| 13371 | 25854 | ||
| 13372 | fi | 25855 | fi |
| 13373 | 25856 | ||
| @@ -13381,10 +25864,12 @@ CPPFLAGS="$REAL_CPPFLAGS" | |||
| 13381 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 25864 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
| 13382 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 25865 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
| 13383 | if test x"${version}" = x; then | 25866 | if test x"${version}" = x; then |
| 13384 | as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 | 25867 | { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
| 25868 | $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | ||
| 25869 | { (exit 1); exit 1; }; } | ||
| 13385 | fi | 25870 | fi |
| 13386 | if test x"${version}" != x"$PACKAGE_VERSION"; then | 25871 | if test x"${version}" != x"$PACKAGE_VERSION"; then |
| 13387 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 25872 | { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
| 13388 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 25873 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
| 13389 | fi | 25874 | fi |
| 13390 | 25875 | ||
| @@ -13478,7 +25963,9 @@ XMENU_OBJ= | |||
| 13478 | XOBJ= | 25963 | XOBJ= |
| 13479 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 25964 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 13480 | 25965 | ||
| 13481 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 25966 | cat >>confdefs.h <<\_ACEOF |
| 25967 | #define HAVE_X_WINDOWS 1 | ||
| 25968 | _ACEOF | ||
| 13482 | 25969 | ||
| 13483 | XMENU_OBJ=xmenu.o | 25970 | XMENU_OBJ=xmenu.o |
| 13484 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 25971 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
| @@ -13486,44 +25973,63 @@ fi | |||
| 13486 | 25973 | ||
| 13487 | 25974 | ||
| 13488 | 25975 | ||
| 25976 | WIDGET_OBJ= | ||
| 13489 | if test "${USE_X_TOOLKIT}" != "none" ; then | 25977 | if test "${USE_X_TOOLKIT}" != "none" ; then |
| 25978 | WIDGET_OBJ=widget.o | ||
| 13490 | 25979 | ||
| 13491 | $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h | 25980 | cat >>confdefs.h <<\_ACEOF |
| 25981 | #define USE_X_TOOLKIT 1 | ||
| 25982 | _ACEOF | ||
| 13492 | 25983 | ||
| 13493 | if test "${USE_X_TOOLKIT}" = "LUCID"; then | 25984 | if test "${USE_X_TOOLKIT}" = "LUCID"; then |
| 13494 | 25985 | ||
| 13495 | $as_echo "#define USE_LUCID 1" >>confdefs.h | 25986 | cat >>confdefs.h <<\_ACEOF |
| 25987 | #define USE_LUCID 1 | ||
| 25988 | _ACEOF | ||
| 13496 | 25989 | ||
| 13497 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 25990 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 13498 | 25991 | ||
| 13499 | $as_echo "#define USE_MOTIF 1" >>confdefs.h | 25992 | cat >>confdefs.h <<\_ACEOF |
| 25993 | #define USE_MOTIF 1 | ||
| 25994 | _ACEOF | ||
| 13500 | 25995 | ||
| 13501 | fi | 25996 | fi |
| 13502 | fi | 25997 | fi |
| 25998 | |||
| 13503 | if test "${HAVE_X11}" = "yes" ; then | 25999 | if test "${HAVE_X11}" = "yes" ; then |
| 13504 | 26000 | ||
| 13505 | $as_echo "#define HAVE_X11 1" >>confdefs.h | 26001 | cat >>confdefs.h <<\_ACEOF |
| 26002 | #define HAVE_X11 1 | ||
| 26003 | _ACEOF | ||
| 13506 | 26004 | ||
| 13507 | fi | 26005 | fi |
| 13508 | if test "${HAVE_MENUS}" = "yes" ; then | 26006 | if test "${HAVE_MENUS}" = "yes" ; then |
| 13509 | 26007 | ||
| 13510 | $as_echo "#define HAVE_MENUS 1" >>confdefs.h | 26008 | cat >>confdefs.h <<\_ACEOF |
| 26009 | #define HAVE_MENUS 1 | ||
| 26010 | _ACEOF | ||
| 13511 | 26011 | ||
| 13512 | fi | 26012 | fi |
| 13513 | if test "${GNU_MALLOC}" = "yes" ; then | 26013 | if test "${GNU_MALLOC}" = "yes" ; then |
| 13514 | 26014 | ||
| 13515 | $as_echo "#define GNU_MALLOC 1" >>confdefs.h | 26015 | cat >>confdefs.h <<\_ACEOF |
| 26016 | #define GNU_MALLOC 1 | ||
| 26017 | _ACEOF | ||
| 13516 | 26018 | ||
| 13517 | fi | 26019 | fi |
| 13518 | if test "${REL_ALLOC}" = "yes" ; then | 26020 | if test "${REL_ALLOC}" = "yes" ; then |
| 13519 | 26021 | ||
| 13520 | $as_echo "#define REL_ALLOC 1" >>confdefs.h | 26022 | cat >>confdefs.h <<\_ACEOF |
| 26023 | #define REL_ALLOC 1 | ||
| 26024 | _ACEOF | ||
| 13521 | 26025 | ||
| 13522 | fi | 26026 | fi |
| 13523 | 26027 | ||
| 13524 | 26028 | ||
| 13525 | 26029 | ||
| 13526 | 26030 | ||
| 26031 | |||
| 26032 | |||
| 13527 | #### Report on what we decided to do. | 26033 | #### Report on what we decided to do. |
| 13528 | #### Report GTK as a toolkit, even if it doesn't use Xt. | 26034 | #### Report GTK as a toolkit, even if it doesn't use Xt. |
| 13529 | #### It makes printing result more understandable as using GTK sets | 26035 | #### It makes printing result more understandable as using GTK sets |
| @@ -13625,12 +26131,16 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix | | |||
| 13625 | ## from Makefile.c can correctly provide the arg `-traditional' to the | 26131 | ## from Makefile.c can correctly provide the arg `-traditional' to the |
| 13626 | ## C preprocessor. | 26132 | ## C preprocessor. |
| 13627 | 26133 | ||
| 13628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26134 | cat >conftest.$ac_ext <<_ACEOF |
| 26135 | /* confdefs.h. */ | ||
| 26136 | _ACEOF | ||
| 26137 | cat confdefs.h >>conftest.$ac_ext | ||
| 26138 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13629 | /* end confdefs.h. */ | 26139 | /* end confdefs.h. */ |
| 13630 | yes..yes | 26140 | yes..yes |
| 13631 | _ACEOF | 26141 | _ACEOF |
| 13632 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 26142 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13633 | $EGREP "yes..yes" >/dev/null 2>&1; then : | 26143 | $EGREP "yes..yes" >/dev/null 2>&1; then |
| 13634 | CPP_NEED_TRADITIONAL=no | 26144 | CPP_NEED_TRADITIONAL=no |
| 13635 | else | 26145 | else |
| 13636 | CPP_NEED_TRADITIONAL=yes | 26146 | CPP_NEED_TRADITIONAL=yes |
| @@ -13669,13 +26179,13 @@ _ACEOF | |||
| 13669 | case $ac_val in #( | 26179 | case $ac_val in #( |
| 13670 | *${as_nl}*) | 26180 | *${as_nl}*) |
| 13671 | case $ac_var in #( | 26181 | case $ac_var in #( |
| 13672 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 26182 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 13673 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 26183 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 13674 | esac | 26184 | esac |
| 13675 | case $ac_var in #( | 26185 | case $ac_var in #( |
| 13676 | _ | IFS | as_nl) ;; #( | 26186 | _ | IFS | as_nl) ;; #( |
| 13677 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 26187 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 13678 | *) { eval $ac_var=; unset $ac_var;} ;; | 26188 | *) $as_unset $ac_var ;; |
| 13679 | esac ;; | 26189 | esac ;; |
| 13680 | esac | 26190 | esac |
| 13681 | done | 26191 | done |
| @@ -13683,8 +26193,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13683 | (set) 2>&1 | | 26193 | (set) 2>&1 | |
| 13684 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 26194 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 13685 | *${as_nl}ac_space=\ *) | 26195 | *${as_nl}ac_space=\ *) |
| 13686 | # `set' does not quote correctly, so add quotes: double-quote | 26196 | # `set' does not quote correctly, so add quotes (double-quote |
| 13687 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 26197 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 13688 | sed -n \ | 26198 | sed -n \ |
| 13689 | "s/'/'\\\\''/g; | 26199 | "s/'/'\\\\''/g; |
| 13690 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 26200 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| @@ -13707,11 +26217,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13707 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 26217 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 13708 | if test -w "$cache_file"; then | 26218 | if test -w "$cache_file"; then |
| 13709 | test "x$cache_file" != "x/dev/null" && | 26219 | test "x$cache_file" != "x/dev/null" && |
| 13710 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 26220 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 13711 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 26221 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 13712 | cat confcache >$cache_file | 26222 | cat confcache >$cache_file |
| 13713 | else | 26223 | else |
| 13714 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 26224 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 13715 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 26225 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 13716 | fi | 26226 | fi |
| 13717 | fi | 26227 | fi |
| @@ -13731,8 +26241,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |||
| 13731 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 26241 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 13732 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 26242 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 13733 | # will be set to the directory where LIBOBJS objects are built. | 26243 | # will be set to the directory where LIBOBJS objects are built. |
| 13734 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 26244 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 13735 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 26245 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 13736 | done | 26246 | done |
| 13737 | LIBOBJS=$ac_libobjs | 26247 | LIBOBJS=$ac_libobjs |
| 13738 | 26248 | ||
| @@ -13744,10 +26254,9 @@ LTLIBOBJS=$ac_ltlibobjs | |||
| 13744 | ac_write_fail=0 | 26254 | ac_write_fail=0 |
| 13745 | ac_clean_files_save=$ac_clean_files | 26255 | ac_clean_files_save=$ac_clean_files |
| 13746 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 26256 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 13747 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 26257 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 13748 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 26258 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 13749 | as_write_fail=0 | 26259 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 13750 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 13751 | #! $SHELL | 26260 | #! $SHELL |
| 13752 | # Generated by $as_me. | 26261 | # Generated by $as_me. |
| 13753 | # Run this file to recreate the current configuration. | 26262 | # Run this file to recreate the current configuration. |
| @@ -13757,18 +26266,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |||
| 13757 | debug=false | 26266 | debug=false |
| 13758 | ac_cs_recheck=false | 26267 | ac_cs_recheck=false |
| 13759 | ac_cs_silent=false | 26268 | ac_cs_silent=false |
| 13760 | |||
| 13761 | SHELL=\${CONFIG_SHELL-$SHELL} | 26269 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 13762 | export SHELL | 26270 | _ACEOF |
| 13763 | _ASEOF | 26271 | |
| 13764 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 26272 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 13765 | ## -------------------- ## | 26273 | ## --------------------- ## |
| 13766 | ## M4sh Initialization. ## | 26274 | ## M4sh Initialization. ## |
| 13767 | ## -------------------- ## | 26275 | ## --------------------- ## |
| 13768 | 26276 | ||
| 13769 | # Be more Bourne compatible | 26277 | # Be more Bourne compatible |
| 13770 | DUALCASE=1; export DUALCASE # for MKS sh | 26278 | DUALCASE=1; export DUALCASE # for MKS sh |
| 13771 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 26279 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 13772 | emulate sh | 26280 | emulate sh |
| 13773 | NULLCMD=: | 26281 | NULLCMD=: |
| 13774 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 26282 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -13776,15 +26284,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |||
| 13776 | alias -g '${1+"$@"}'='"$@"' | 26284 | alias -g '${1+"$@"}'='"$@"' |
| 13777 | setopt NO_GLOB_SUBST | 26285 | setopt NO_GLOB_SUBST |
| 13778 | else | 26286 | else |
| 13779 | case `(set -o) 2>/dev/null` in #( | 26287 | case `(set -o) 2>/dev/null` in |
| 13780 | *posix*) : | 26288 | *posix*) set -o posix ;; |
| 13781 | set -o posix ;; #( | ||
| 13782 | *) : | ||
| 13783 | ;; | ||
| 13784 | esac | 26289 | esac |
| 26290 | |||
| 13785 | fi | 26291 | fi |
| 13786 | 26292 | ||
| 13787 | 26293 | ||
| 26294 | |||
| 26295 | |||
| 26296 | # PATH needs CR | ||
| 26297 | # Avoid depending upon Character Ranges. | ||
| 26298 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 26299 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 26300 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 26301 | as_cr_digits='0123456789' | ||
| 26302 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 26303 | |||
| 13788 | as_nl=' | 26304 | as_nl=' |
| 13789 | ' | 26305 | ' |
| 13790 | export as_nl | 26306 | export as_nl |
| @@ -13792,13 +26308,7 @@ export as_nl | |||
| 13792 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 26308 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 13793 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 26309 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13794 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 26310 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13795 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 26311 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13796 | # but without wasting forks for bash or zsh. | ||
| 13797 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 13798 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13799 | as_echo='print -r --' | ||
| 13800 | as_echo_n='print -rn --' | ||
| 13801 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13802 | as_echo='printf %s\n' | 26312 | as_echo='printf %s\n' |
| 13803 | as_echo_n='printf %s' | 26313 | as_echo_n='printf %s' |
| 13804 | else | 26314 | else |
| @@ -13809,7 +26319,7 @@ else | |||
| 13809 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 26319 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 13810 | as_echo_n_body='eval | 26320 | as_echo_n_body='eval |
| 13811 | arg=$1; | 26321 | arg=$1; |
| 13812 | case $arg in #( | 26322 | case $arg in |
| 13813 | *"$as_nl"*) | 26323 | *"$as_nl"*) |
| 13814 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 26324 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 13815 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 26325 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -13832,6 +26342,13 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 13832 | } | 26342 | } |
| 13833 | fi | 26343 | fi |
| 13834 | 26344 | ||
| 26345 | # Support unset when possible. | ||
| 26346 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 26347 | as_unset=unset | ||
| 26348 | else | ||
| 26349 | as_unset=false | ||
| 26350 | fi | ||
| 26351 | |||
| 13835 | 26352 | ||
| 13836 | # IFS | 26353 | # IFS |
| 13837 | # We need space, tab and new line, in precisely that order. Quoting is | 26354 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -13841,15 +26358,15 @@ fi | |||
| 13841 | IFS=" "" $as_nl" | 26358 | IFS=" "" $as_nl" |
| 13842 | 26359 | ||
| 13843 | # Find who we are. Look in the path if we contain no directory separator. | 26360 | # Find who we are. Look in the path if we contain no directory separator. |
| 13844 | case $0 in #(( | 26361 | case $0 in |
| 13845 | *[\\/]* ) as_myself=$0 ;; | 26362 | *[\\/]* ) as_myself=$0 ;; |
| 13846 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26363 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13847 | for as_dir in $PATH | 26364 | for as_dir in $PATH |
| 13848 | do | 26365 | do |
| 13849 | IFS=$as_save_IFS | 26366 | IFS=$as_save_IFS |
| 13850 | test -z "$as_dir" && as_dir=. | 26367 | test -z "$as_dir" && as_dir=. |
| 13851 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26368 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 13852 | done | 26369 | done |
| 13853 | IFS=$as_save_IFS | 26370 | IFS=$as_save_IFS |
| 13854 | 26371 | ||
| 13855 | ;; | 26372 | ;; |
| @@ -13861,16 +26378,12 @@ if test "x$as_myself" = x; then | |||
| 13861 | fi | 26378 | fi |
| 13862 | if test ! -f "$as_myself"; then | 26379 | if test ! -f "$as_myself"; then |
| 13863 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 26380 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 13864 | exit 1 | 26381 | { (exit 1); exit 1; } |
| 13865 | fi | 26382 | fi |
| 13866 | 26383 | ||
| 13867 | # Unset variables that we do not need and which cause bugs (e.g. in | 26384 | # Work around bugs in pre-3.0 UWIN ksh. |
| 13868 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 26385 | for as_var in ENV MAIL MAILPATH |
| 13869 | # suppresses any "Segmentation fault" message there. '((' could | 26386 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 13870 | # trigger a bug in pdksh 5.2.14. | ||
| 13871 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 13872 | do eval test x\${$as_var+set} = xset \ | ||
| 13873 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 13874 | done | 26387 | done |
| 13875 | PS1='$ ' | 26388 | PS1='$ ' |
| 13876 | PS2='> ' | 26389 | PS2='> ' |
| @@ -13882,89 +26395,7 @@ export LC_ALL | |||
| 13882 | LANGUAGE=C | 26395 | LANGUAGE=C |
| 13883 | export LANGUAGE | 26396 | export LANGUAGE |
| 13884 | 26397 | ||
| 13885 | # CDPATH. | 26398 | # Required to use basename. |
| 13886 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 13887 | |||
| 13888 | |||
| 13889 | # as_fn_error ERROR [LINENO LOG_FD] | ||
| 13890 | # --------------------------------- | ||
| 13891 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 13892 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 13893 | # script with status $?, using 1 if that was 0. | ||
| 13894 | as_fn_error () | ||
| 13895 | { | ||
| 13896 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 13897 | if test "$3"; then | ||
| 13898 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 13899 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 13900 | fi | ||
| 13901 | $as_echo "$as_me: error: $1" >&2 | ||
| 13902 | as_fn_exit $as_status | ||
| 13903 | } # as_fn_error | ||
| 13904 | |||
| 13905 | |||
| 13906 | # as_fn_set_status STATUS | ||
| 13907 | # ----------------------- | ||
| 13908 | # Set $? to STATUS, without forking. | ||
| 13909 | as_fn_set_status () | ||
| 13910 | { | ||
| 13911 | return $1 | ||
| 13912 | } # as_fn_set_status | ||
| 13913 | |||
| 13914 | # as_fn_exit STATUS | ||
| 13915 | # ----------------- | ||
| 13916 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 13917 | as_fn_exit () | ||
| 13918 | { | ||
| 13919 | set +e | ||
| 13920 | as_fn_set_status $1 | ||
| 13921 | exit $1 | ||
| 13922 | } # as_fn_exit | ||
| 13923 | |||
| 13924 | # as_fn_unset VAR | ||
| 13925 | # --------------- | ||
| 13926 | # Portably unset VAR. | ||
| 13927 | as_fn_unset () | ||
| 13928 | { | ||
| 13929 | { eval $1=; unset $1;} | ||
| 13930 | } | ||
| 13931 | as_unset=as_fn_unset | ||
| 13932 | # as_fn_append VAR VALUE | ||
| 13933 | # ---------------------- | ||
| 13934 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 13935 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 13936 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 13937 | # implementations. | ||
| 13938 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 13939 | eval 'as_fn_append () | ||
| 13940 | { | ||
| 13941 | eval $1+=\$2 | ||
| 13942 | }' | ||
| 13943 | else | ||
| 13944 | as_fn_append () | ||
| 13945 | { | ||
| 13946 | eval $1=\$$1\$2 | ||
| 13947 | } | ||
| 13948 | fi # as_fn_append | ||
| 13949 | |||
| 13950 | # as_fn_arith ARG... | ||
| 13951 | # ------------------ | ||
| 13952 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 13953 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 13954 | # must be portable across $(()) and expr. | ||
| 13955 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 13956 | eval 'as_fn_arith () | ||
| 13957 | { | ||
| 13958 | as_val=$(( $* )) | ||
| 13959 | }' | ||
| 13960 | else | ||
| 13961 | as_fn_arith () | ||
| 13962 | { | ||
| 13963 | as_val=`expr "$@" || test $? -eq 1` | ||
| 13964 | } | ||
| 13965 | fi # as_fn_arith | ||
| 13966 | |||
| 13967 | |||
| 13968 | if expr a : '\(a\)' >/dev/null 2>&1 && | 26399 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 13969 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 26400 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 13970 | as_expr=expr | 26401 | as_expr=expr |
| @@ -13978,12 +26409,8 @@ else | |||
| 13978 | as_basename=false | 26409 | as_basename=false |
| 13979 | fi | 26410 | fi |
| 13980 | 26411 | ||
| 13981 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 13982 | as_dirname=dirname | ||
| 13983 | else | ||
| 13984 | as_dirname=false | ||
| 13985 | fi | ||
| 13986 | 26412 | ||
| 26413 | # Name of the executable. | ||
| 13987 | as_me=`$as_basename -- "$0" || | 26414 | as_me=`$as_basename -- "$0" || |
| 13988 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 26415 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 13989 | X"$0" : 'X\(//\)$' \| \ | 26416 | X"$0" : 'X\(//\)$' \| \ |
| @@ -14003,25 +26430,76 @@ $as_echo X/"$0" | | |||
| 14003 | } | 26430 | } |
| 14004 | s/.*/./; q'` | 26431 | s/.*/./; q'` |
| 14005 | 26432 | ||
| 14006 | # Avoid depending upon Character Ranges. | 26433 | # CDPATH. |
| 14007 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 26434 | $as_unset CDPATH |
| 14008 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 26435 | |
| 14009 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 26436 | |
| 14010 | as_cr_digits='0123456789' | 26437 | |
| 14011 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 26438 | as_lineno_1=$LINENO |
| 26439 | as_lineno_2=$LINENO | ||
| 26440 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 26441 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 26442 | |||
| 26443 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 26444 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 26445 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 26446 | # does the real work. The second script uses 'N' to pair each | ||
| 26447 | # line-number line with the line containing $LINENO, and appends | ||
| 26448 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 26449 | # case at line end. | ||
| 26450 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 26451 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 26452 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 26453 | sed -n ' | ||
| 26454 | p | ||
| 26455 | /[$]LINENO/= | ||
| 26456 | ' <$as_myself | | ||
| 26457 | sed ' | ||
| 26458 | s/[$]LINENO.*/&-/ | ||
| 26459 | t lineno | ||
| 26460 | b | ||
| 26461 | :lineno | ||
| 26462 | N | ||
| 26463 | :loop | ||
| 26464 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 26465 | t loop | ||
| 26466 | s/-\n.*// | ||
| 26467 | ' >$as_me.lineno && | ||
| 26468 | chmod +x "$as_me.lineno" || | ||
| 26469 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
| 26470 | { (exit 1); exit 1; }; } | ||
| 26471 | |||
| 26472 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 26473 | # (the dirname of $[0] is not the place where we might find the | ||
| 26474 | # original and so on. Autoconf is especially sensitive to this). | ||
| 26475 | . "./$as_me.lineno" | ||
| 26476 | # Exit status is that of the last command. | ||
| 26477 | exit | ||
| 26478 | } | ||
| 26479 | |||
| 26480 | |||
| 26481 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 26482 | as_dirname=dirname | ||
| 26483 | else | ||
| 26484 | as_dirname=false | ||
| 26485 | fi | ||
| 14012 | 26486 | ||
| 14013 | ECHO_C= ECHO_N= ECHO_T= | 26487 | ECHO_C= ECHO_N= ECHO_T= |
| 14014 | case `echo -n x` in #((((( | 26488 | case `echo -n x` in |
| 14015 | -n*) | 26489 | -n*) |
| 14016 | case `echo 'xy\c'` in | 26490 | case `echo 'x\c'` in |
| 14017 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 26491 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 14018 | xy) ECHO_C='\c';; | 26492 | *) ECHO_C='\c';; |
| 14019 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 14020 | ECHO_T=' ';; | ||
| 14021 | esac;; | 26493 | esac;; |
| 14022 | *) | 26494 | *) |
| 14023 | ECHO_N='-n';; | 26495 | ECHO_N='-n';; |
| 14024 | esac | 26496 | esac |
| 26497 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 26498 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 26499 | as_expr=expr | ||
| 26500 | else | ||
| 26501 | as_expr=false | ||
| 26502 | fi | ||
| 14025 | 26503 | ||
| 14026 | rm -f conf$$ conf$$.exe conf$$.file | 26504 | rm -f conf$$ conf$$.exe conf$$.file |
| 14027 | if test -d conf$$.dir; then | 26505 | if test -d conf$$.dir; then |
| @@ -14050,56 +26528,8 @@ fi | |||
| 14050 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 26528 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 14051 | rmdir conf$$.dir 2>/dev/null | 26529 | rmdir conf$$.dir 2>/dev/null |
| 14052 | 26530 | ||
| 14053 | |||
| 14054 | # as_fn_mkdir_p | ||
| 14055 | # ------------- | ||
| 14056 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 14057 | as_fn_mkdir_p () | ||
| 14058 | { | ||
| 14059 | |||
| 14060 | case $as_dir in #( | ||
| 14061 | -*) as_dir=./$as_dir;; | ||
| 14062 | esac | ||
| 14063 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 14064 | as_dirs= | ||
| 14065 | while :; do | ||
| 14066 | case $as_dir in #( | ||
| 14067 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 14068 | *) as_qdir=$as_dir;; | ||
| 14069 | esac | ||
| 14070 | as_dirs="'$as_qdir' $as_dirs" | ||
| 14071 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 14072 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 14073 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 14074 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 14075 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 14076 | $as_echo X"$as_dir" | | ||
| 14077 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 14078 | s//\1/ | ||
| 14079 | q | ||
| 14080 | } | ||
| 14081 | /^X\(\/\/\)[^/].*/{ | ||
| 14082 | s//\1/ | ||
| 14083 | q | ||
| 14084 | } | ||
| 14085 | /^X\(\/\/\)$/{ | ||
| 14086 | s//\1/ | ||
| 14087 | q | ||
| 14088 | } | ||
| 14089 | /^X\(\/\).*/{ | ||
| 14090 | s//\1/ | ||
| 14091 | q | ||
| 14092 | } | ||
| 14093 | s/.*/./; q'` | ||
| 14094 | test -d "$as_dir" && break | ||
| 14095 | done | ||
| 14096 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 14097 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 14098 | |||
| 14099 | |||
| 14100 | } # as_fn_mkdir_p | ||
| 14101 | if mkdir -p . 2>/dev/null; then | 26531 | if mkdir -p . 2>/dev/null; then |
| 14102 | as_mkdir_p='mkdir -p "$as_dir"' | 26532 | as_mkdir_p=: |
| 14103 | else | 26533 | else |
| 14104 | test -d ./-p && rmdir ./-p | 26534 | test -d ./-p && rmdir ./-p |
| 14105 | as_mkdir_p=false | 26535 | as_mkdir_p=false |
| @@ -14118,10 +26548,10 @@ else | |||
| 14118 | if test -d "$1"; then | 26548 | if test -d "$1"; then |
| 14119 | test -d "$1/."; | 26549 | test -d "$1/."; |
| 14120 | else | 26550 | else |
| 14121 | case $1 in #( | 26551 | case $1 in |
| 14122 | -*)set "./$1";; | 26552 | -*)set "./$1";; |
| 14123 | esac; | 26553 | esac; |
| 14124 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 26554 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 14125 | ???[sx]*):;;*)false;;esac;fi | 26555 | ???[sx]*):;;*)false;;esac;fi |
| 14126 | '\'' sh | 26556 | '\'' sh |
| 14127 | ' | 26557 | ' |
| @@ -14136,19 +26566,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
| 14136 | 26566 | ||
| 14137 | 26567 | ||
| 14138 | exec 6>&1 | 26568 | exec 6>&1 |
| 14139 | ## ----------------------------------- ## | ||
| 14140 | ## Main body of $CONFIG_STATUS script. ## | ||
| 14141 | ## ----------------------------------- ## | ||
| 14142 | _ASEOF | ||
| 14143 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 14144 | 26569 | ||
| 14145 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26570 | # Save the log message, to keep $[0] and so on meaningful, and to |
| 14146 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 14147 | # report actual input values of CONFIG_FILES etc. instead of their | 26571 | # report actual input values of CONFIG_FILES etc. instead of their |
| 14148 | # values after options handling. | 26572 | # values after options handling. |
| 14149 | ac_log=" | 26573 | ac_log=" |
| 14150 | This file was extended by emacs $as_me 24.0.50, which was | 26574 | This file was extended by emacs $as_me 24.0.50, which was |
| 14151 | generated by GNU Autoconf 2.65. Invocation command line was | 26575 | generated by GNU Autoconf 2.62. Invocation command line was |
| 14152 | 26576 | ||
| 14153 | CONFIG_FILES = $CONFIG_FILES | 26577 | CONFIG_FILES = $CONFIG_FILES |
| 14154 | CONFIG_HEADERS = $CONFIG_HEADERS | 26578 | CONFIG_HEADERS = $CONFIG_HEADERS |
| @@ -14161,15 +26585,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
| 14161 | 26585 | ||
| 14162 | _ACEOF | 26586 | _ACEOF |
| 14163 | 26587 | ||
| 14164 | case $ac_config_files in *" | ||
| 14165 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 14166 | esac | ||
| 14167 | |||
| 14168 | case $ac_config_headers in *" | ||
| 14169 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 14170 | esac | ||
| 14171 | |||
| 14172 | |||
| 14173 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26588 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14174 | # Files that config.status was made for. | 26589 | # Files that config.status was made for. |
| 14175 | config_files="$ac_config_files" | 26590 | config_files="$ac_config_files" |
| @@ -14180,22 +26595,19 @@ _ACEOF | |||
| 14180 | 26595 | ||
| 14181 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26596 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14182 | ac_cs_usage="\ | 26597 | ac_cs_usage="\ |
| 14183 | \`$as_me' instantiates files and other configuration actions | 26598 | \`$as_me' instantiates files from templates according to the |
| 14184 | from templates according to the current configuration. Unless the files | 26599 | current configuration. |
| 14185 | and actions are specified as TAGs, all are instantiated by default. | ||
| 14186 | 26600 | ||
| 14187 | Usage: $0 [OPTION]... [TAG]... | 26601 | Usage: $0 [OPTIONS] [FILE]... |
| 14188 | 26602 | ||
| 14189 | -h, --help print this help, then exit | 26603 | -h, --help print this help, then exit |
| 14190 | -V, --version print version number and configuration settings, then exit | 26604 | -V, --version print version number and configuration settings, then exit |
| 14191 | --config print configuration, then exit | 26605 | -q, --quiet do not print progress messages |
| 14192 | -q, --quiet, --silent | ||
| 14193 | do not print progress messages | ||
| 14194 | -d, --debug don't remove temporary files | 26606 | -d, --debug don't remove temporary files |
| 14195 | --recheck update $as_me by reconfiguring in the same conditions | 26607 | --recheck update $as_me by reconfiguring in the same conditions |
| 14196 | --file=FILE[:TEMPLATE] | 26608 | --file=FILE[:TEMPLATE] |
| 14197 | instantiate the configuration file FILE | 26609 | instantiate the configuration file FILE |
| 14198 | --header=FILE[:TEMPLATE] | 26610 | --header=FILE[:TEMPLATE] |
| 14199 | instantiate the configuration header FILE | 26611 | instantiate the configuration header FILE |
| 14200 | 26612 | ||
| 14201 | Configuration files: | 26613 | Configuration files: |
| @@ -14207,17 +26619,16 @@ $config_headers | |||
| 14207 | Configuration commands: | 26619 | Configuration commands: |
| 14208 | $config_commands | 26620 | $config_commands |
| 14209 | 26621 | ||
| 14210 | Report bugs to the package provider." | 26622 | Report bugs to <bug-autoconf@gnu.org>." |
| 14211 | 26623 | ||
| 14212 | _ACEOF | 26624 | _ACEOF |
| 14213 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26625 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14214 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
| 14215 | ac_cs_version="\\ | 26626 | ac_cs_version="\\ |
| 14216 | emacs config.status 24.0.50 | 26627 | emacs config.status 24.0.50 |
| 14217 | configured by $0, generated by GNU Autoconf 2.65, | 26628 | configured by $0, generated by GNU Autoconf 2.62, |
| 14218 | with options \\"\$ac_cs_config\\" | 26629 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14219 | 26630 | ||
| 14220 | Copyright (C) 2009 Free Software Foundation, Inc. | 26631 | Copyright (C) 2008 Free Software Foundation, Inc. |
| 14221 | This config.status script is free software; the Free Software Foundation | 26632 | This config.status script is free software; the Free Software Foundation |
| 14222 | gives unlimited permission to copy, distribute and modify it." | 26633 | gives unlimited permission to copy, distribute and modify it." |
| 14223 | 26634 | ||
| @@ -14251,8 +26662,6 @@ do | |||
| 14251 | ac_cs_recheck=: ;; | 26662 | ac_cs_recheck=: ;; |
| 14252 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 26663 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14253 | $as_echo "$ac_cs_version"; exit ;; | 26664 | $as_echo "$ac_cs_version"; exit ;; |
| 14254 | --config | --confi | --conf | --con | --co | --c ) | ||
| 14255 | $as_echo "$ac_cs_config"; exit ;; | ||
| 14256 | --debug | --debu | --deb | --de | --d | -d ) | 26665 | --debug | --debu | --deb | --de | --d | -d ) |
| 14257 | debug=: ;; | 26666 | debug=: ;; |
| 14258 | --file | --fil | --fi | --f ) | 26667 | --file | --fil | --fi | --f ) |
| @@ -14260,19 +26669,20 @@ do | |||
| 14260 | case $ac_optarg in | 26669 | case $ac_optarg in |
| 14261 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26670 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14262 | esac | 26671 | esac |
| 14263 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 26672 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 14264 | ac_need_defaults=false;; | 26673 | ac_need_defaults=false;; |
| 14265 | --header | --heade | --head | --hea ) | 26674 | --header | --heade | --head | --hea ) |
| 14266 | $ac_shift | 26675 | $ac_shift |
| 14267 | case $ac_optarg in | 26676 | case $ac_optarg in |
| 14268 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26677 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14269 | esac | 26678 | esac |
| 14270 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 26679 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 14271 | ac_need_defaults=false;; | 26680 | ac_need_defaults=false;; |
| 14272 | --he | --h) | 26681 | --he | --h) |
| 14273 | # Conflict between --help and --header | 26682 | # Conflict between --help and --header |
| 14274 | as_fn_error "ambiguous option: \`$1' | 26683 | { $as_echo "$as_me: error: ambiguous option: $1 |
| 14275 | Try \`$0 --help' for more information.";; | 26684 | Try \`$0 --help' for more information." >&2 |
| 26685 | { (exit 1); exit 1; }; };; | ||
| 14276 | --help | --hel | -h ) | 26686 | --help | --hel | -h ) |
| 14277 | $as_echo "$ac_cs_usage"; exit ;; | 26687 | $as_echo "$ac_cs_usage"; exit ;; |
| 14278 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 26688 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| @@ -14280,10 +26690,11 @@ Try \`$0 --help' for more information.";; | |||
| 14280 | ac_cs_silent=: ;; | 26690 | ac_cs_silent=: ;; |
| 14281 | 26691 | ||
| 14282 | # This is an error. | 26692 | # This is an error. |
| 14283 | -*) as_fn_error "unrecognized option: \`$1' | 26693 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 14284 | Try \`$0 --help' for more information." ;; | 26694 | Try \`$0 --help' for more information." >&2 |
| 26695 | { (exit 1); exit 1; }; } ;; | ||
| 14285 | 26696 | ||
| 14286 | *) as_fn_append ac_config_targets " $1" | 26697 | *) ac_config_targets="$ac_config_targets $1" |
| 14287 | ac_need_defaults=false ;; | 26698 | ac_need_defaults=false ;; |
| 14288 | 26699 | ||
| 14289 | esac | 26700 | esac |
| @@ -14348,7 +26759,9 @@ do | |||
| 14348 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 26759 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 14349 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 26760 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
| 14350 | 26761 | ||
| 14351 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 26762 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 26763 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
| 26764 | { (exit 1); exit 1; }; };; | ||
| 14352 | esac | 26765 | esac |
| 14353 | done | 26766 | done |
| 14354 | 26767 | ||
| @@ -14375,7 +26788,7 @@ $debug || | |||
| 14375 | trap 'exit_status=$? | 26788 | trap 'exit_status=$? |
| 14376 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 26789 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 14377 | ' 0 | 26790 | ' 0 |
| 14378 | trap 'as_fn_exit 1' 1 2 13 15 | 26791 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 14379 | } | 26792 | } |
| 14380 | # Create a (secure) tmp directory for tmp files. | 26793 | # Create a (secure) tmp directory for tmp files. |
| 14381 | 26794 | ||
| @@ -14386,7 +26799,11 @@ $debug || | |||
| 14386 | { | 26799 | { |
| 14387 | tmp=./conf$$-$RANDOM | 26800 | tmp=./conf$$-$RANDOM |
| 14388 | (umask 077 && mkdir "$tmp") | 26801 | (umask 077 && mkdir "$tmp") |
| 14389 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 26802 | } || |
| 26803 | { | ||
| 26804 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | ||
| 26805 | { (exit 1); exit 1; } | ||
| 26806 | } | ||
| 14390 | 26807 | ||
| 14391 | # Set up the scripts for CONFIG_FILES section. | 26808 | # Set up the scripts for CONFIG_FILES section. |
| 14392 | # No need to generate them if there are no CONFIG_FILES. | 26809 | # No need to generate them if there are no CONFIG_FILES. |
| @@ -14394,16 +26811,10 @@ $debug || | |||
| 14394 | if test -n "$CONFIG_FILES"; then | 26811 | if test -n "$CONFIG_FILES"; then |
| 14395 | 26812 | ||
| 14396 | 26813 | ||
| 14397 | ac_cr=`echo X | tr X '\015'` | 26814 | ac_cr=' ' |
| 14398 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 14399 | # But we know of no other shell where ac_cr would be empty at this | ||
| 14400 | # point, so we can use a bashism as a fallback. | ||
| 14401 | if test "x$ac_cr" = x; then | ||
| 14402 | eval ac_cr=\$\'\\r\' | ||
| 14403 | fi | ||
| 14404 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 26815 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 14405 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 26816 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 14406 | ac_cs_awk_cr='\r' | 26817 | ac_cs_awk_cr='\\r' |
| 14407 | else | 26818 | else |
| 14408 | ac_cs_awk_cr=$ac_cr | 26819 | ac_cs_awk_cr=$ac_cr |
| 14409 | fi | 26820 | fi |
| @@ -14417,18 +26828,23 @@ _ACEOF | |||
| 14417 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 26828 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 14418 | echo "_ACEOF" | 26829 | echo "_ACEOF" |
| 14419 | } >conf$$subs.sh || | 26830 | } >conf$$subs.sh || |
| 14420 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26831 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26832 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26833 | { (exit 1); exit 1; }; } | ||
| 14421 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 26834 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 14422 | ac_delim='%!_!# ' | 26835 | ac_delim='%!_!# ' |
| 14423 | for ac_last_try in false false false false false :; do | 26836 | for ac_last_try in false false false false false :; do |
| 14424 | . ./conf$$subs.sh || | 26837 | . ./conf$$subs.sh || |
| 14425 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26838 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26839 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26840 | { (exit 1); exit 1; }; } | ||
| 14426 | 26841 | ||
| 14427 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 26842 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
| 14428 | if test $ac_delim_n = $ac_delim_num; then | ||
| 14429 | break | 26843 | break |
| 14430 | elif $ac_last_try; then | 26844 | elif $ac_last_try; then |
| 14431 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26845 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26846 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26847 | { (exit 1); exit 1; }; } | ||
| 14432 | else | 26848 | else |
| 14433 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26849 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14434 | fi | 26850 | fi |
| @@ -14450,7 +26866,7 @@ s/'"$ac_delim"'$// | |||
| 14450 | t delim | 26866 | t delim |
| 14451 | :nl | 26867 | :nl |
| 14452 | h | 26868 | h |
| 14453 | s/\(.\{148\}\)..*/\1/ | 26869 | s/\(.\{148\}\).*/\1/ |
| 14454 | t more1 | 26870 | t more1 |
| 14455 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 26871 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 14456 | p | 26872 | p |
| @@ -14464,7 +26880,7 @@ s/.\{148\}// | |||
| 14464 | t nl | 26880 | t nl |
| 14465 | :delim | 26881 | :delim |
| 14466 | h | 26882 | h |
| 14467 | s/\(.\{148\}\)..*/\1/ | 26883 | s/\(.\{148\}\).*/\1/ |
| 14468 | t more2 | 26884 | t more2 |
| 14469 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 26885 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 14470 | p | 26886 | p |
| @@ -14517,7 +26933,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |||
| 14517 | else | 26933 | else |
| 14518 | cat | 26934 | cat |
| 14519 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 26935 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 14520 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 26936 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| 26937 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | ||
| 26938 | { (exit 1); exit 1; }; } | ||
| 14521 | _ACEOF | 26939 | _ACEOF |
| 14522 | 26940 | ||
| 14523 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 26941 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| @@ -14558,7 +26976,9 @@ for ac_last_try in false false :; do | |||
| 14558 | if test -z "$ac_t"; then | 26976 | if test -z "$ac_t"; then |
| 14559 | break | 26977 | break |
| 14560 | elif $ac_last_try; then | 26978 | elif $ac_last_try; then |
| 14561 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 26979 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| 26980 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | ||
| 26981 | { (exit 1); exit 1; }; } | ||
| 14562 | else | 26982 | else |
| 14563 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26983 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14564 | fi | 26984 | fi |
| @@ -14624,9 +27044,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14624 | } | 27044 | } |
| 14625 | split(mac1, mac2, "(") #) | 27045 | split(mac1, mac2, "(") #) |
| 14626 | macro = mac2[1] | 27046 | macro = mac2[1] |
| 14627 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14628 | if (D_is_set[macro]) { | 27047 | if (D_is_set[macro]) { |
| 14629 | # Preserve the white space surrounding the "#". | 27048 | # Preserve the white space surrounding the "#". |
| 27049 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14630 | print prefix "define", macro P[macro] D[macro] | 27050 | print prefix "define", macro P[macro] D[macro] |
| 14631 | next | 27051 | next |
| 14632 | } else { | 27052 | } else { |
| @@ -14634,7 +27054,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14634 | # in the case of _POSIX_SOURCE, which is predefined and required | 27054 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 14635 | # on some systems where configure will not decide to define it. | 27055 | # on some systems where configure will not decide to define it. |
| 14636 | if (defundef == "undef") { | 27056 | if (defundef == "undef") { |
| 14637 | print "/*", prefix defundef, macro, "*/" | 27057 | print "/*", line, "*/" |
| 14638 | next | 27058 | next |
| 14639 | } | 27059 | } |
| 14640 | } | 27060 | } |
| @@ -14643,7 +27063,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14643 | _ACAWK | 27063 | _ACAWK |
| 14644 | _ACEOF | 27064 | _ACEOF |
| 14645 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27065 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14646 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 27066 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| 27067 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | ||
| 27068 | { (exit 1); exit 1; }; } | ||
| 14647 | fi # test -n "$CONFIG_HEADERS" | 27069 | fi # test -n "$CONFIG_HEADERS" |
| 14648 | 27070 | ||
| 14649 | 27071 | ||
| @@ -14656,7 +27078,9 @@ do | |||
| 14656 | esac | 27078 | esac |
| 14657 | case $ac_mode$ac_tag in | 27079 | case $ac_mode$ac_tag in |
| 14658 | :[FHL]*:*);; | 27080 | :[FHL]*:*);; |
| 14659 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 27081 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 27082 | $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
| 27083 | { (exit 1); exit 1; }; };; | ||
| 14660 | :[FH]-) ac_tag=-:-;; | 27084 | :[FH]-) ac_tag=-:-;; |
| 14661 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 27085 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 14662 | esac | 27086 | esac |
| @@ -14684,10 +27108,12 @@ do | |||
| 14684 | [\\/$]*) false;; | 27108 | [\\/$]*) false;; |
| 14685 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 27109 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 14686 | esac || | 27110 | esac || |
| 14687 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 27111 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 27112 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
| 27113 | { (exit 1); exit 1; }; };; | ||
| 14688 | esac | 27114 | esac |
| 14689 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 27115 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 14690 | as_fn_append ac_file_inputs " '$ac_f'" | 27116 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 14691 | done | 27117 | done |
| 14692 | 27118 | ||
| 14693 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 27119 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| @@ -14698,7 +27124,7 @@ do | |||
| 14698 | `' by configure.' | 27124 | `' by configure.' |
| 14699 | if test x"$ac_file" != x-; then | 27125 | if test x"$ac_file" != x-; then |
| 14700 | configure_input="$ac_file. $configure_input" | 27126 | configure_input="$ac_file. $configure_input" |
| 14701 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 27127 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 14702 | $as_echo "$as_me: creating $ac_file" >&6;} | 27128 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 14703 | fi | 27129 | fi |
| 14704 | # Neutralize special characters interpreted by sed in replacement strings. | 27130 | # Neutralize special characters interpreted by sed in replacement strings. |
| @@ -14711,7 +27137,9 @@ $as_echo "$as_me: creating $ac_file" >&6;} | |||
| 14711 | 27137 | ||
| 14712 | case $ac_tag in | 27138 | case $ac_tag in |
| 14713 | *:-:* | *:-) cat >"$tmp/stdin" \ | 27139 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| 14714 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 27140 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27141 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27142 | { (exit 1); exit 1; }; } ;; | ||
| 14715 | esac | 27143 | esac |
| 14716 | ;; | 27144 | ;; |
| 14717 | esac | 27145 | esac |
| @@ -14739,7 +27167,47 @@ $as_echo X"$ac_file" | | |||
| 14739 | q | 27167 | q |
| 14740 | } | 27168 | } |
| 14741 | s/.*/./; q'` | 27169 | s/.*/./; q'` |
| 14742 | as_dir="$ac_dir"; as_fn_mkdir_p | 27170 | { as_dir="$ac_dir" |
| 27171 | case $as_dir in #( | ||
| 27172 | -*) as_dir=./$as_dir;; | ||
| 27173 | esac | ||
| 27174 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
| 27175 | as_dirs= | ||
| 27176 | while :; do | ||
| 27177 | case $as_dir in #( | ||
| 27178 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 27179 | *) as_qdir=$as_dir;; | ||
| 27180 | esac | ||
| 27181 | as_dirs="'$as_qdir' $as_dirs" | ||
| 27182 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 27183 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 27184 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 27185 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 27186 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 27187 | $as_echo X"$as_dir" | | ||
| 27188 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 27189 | s//\1/ | ||
| 27190 | q | ||
| 27191 | } | ||
| 27192 | /^X\(\/\/\)[^/].*/{ | ||
| 27193 | s//\1/ | ||
| 27194 | q | ||
| 27195 | } | ||
| 27196 | /^X\(\/\/\)$/{ | ||
| 27197 | s//\1/ | ||
| 27198 | q | ||
| 27199 | } | ||
| 27200 | /^X\(\/\).*/{ | ||
| 27201 | s//\1/ | ||
| 27202 | q | ||
| 27203 | } | ||
| 27204 | s/.*/./; q'` | ||
| 27205 | test -d "$as_dir" && break | ||
| 27206 | done | ||
| 27207 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 27208 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
| 27209 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
| 27210 | { (exit 1); exit 1; }; }; } | ||
| 14743 | ac_builddir=. | 27211 | ac_builddir=. |
| 14744 | 27212 | ||
| 14745 | case "$ac_dir" in | 27213 | case "$ac_dir" in |
| @@ -14791,6 +27259,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
| 14791 | # If the template does not know about datarootdir, expand it. | 27259 | # If the template does not know about datarootdir, expand it. |
| 14792 | # FIXME: This hack should be removed a few years after 2.60. | 27260 | # FIXME: This hack should be removed a few years after 2.60. |
| 14793 | ac_datarootdir_hack=; ac_datarootdir_seen= | 27261 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 27262 | |||
| 14794 | ac_sed_dataroot=' | 27263 | ac_sed_dataroot=' |
| 14795 | /datarootdir/ { | 27264 | /datarootdir/ { |
| 14796 | p | 27265 | p |
| @@ -14800,11 +27269,12 @@ ac_sed_dataroot=' | |||
| 14800 | /@docdir@/p | 27269 | /@docdir@/p |
| 14801 | /@infodir@/p | 27270 | /@infodir@/p |
| 14802 | /@localedir@/p | 27271 | /@localedir@/p |
| 14803 | /@mandir@/p' | 27272 | /@mandir@/p |
| 27273 | ' | ||
| 14804 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 27274 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 14805 | *datarootdir*) ac_datarootdir_seen=yes;; | 27275 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 14806 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 27276 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 14807 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 27277 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 14808 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 27278 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 14809 | _ACEOF | 27279 | _ACEOF |
| 14810 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27280 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| @@ -14814,7 +27284,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14814 | s&@infodir@&$infodir&g | 27284 | s&@infodir@&$infodir&g |
| 14815 | s&@localedir@&$localedir&g | 27285 | s&@localedir@&$localedir&g |
| 14816 | s&@mandir@&$mandir&g | 27286 | s&@mandir@&$mandir&g |
| 14817 | s&\\\${datarootdir}&$datarootdir&g' ;; | 27287 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 14818 | esac | 27288 | esac |
| 14819 | _ACEOF | 27289 | _ACEOF |
| 14820 | 27290 | ||
| @@ -14842,12 +27312,14 @@ s&@INSTALL@&$ac_INSTALL&;t t | |||
| 14842 | $ac_datarootdir_hack | 27312 | $ac_datarootdir_hack |
| 14843 | " | 27313 | " |
| 14844 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 27314 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 14845 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27315 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27316 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27317 | { (exit 1); exit 1; }; } | ||
| 14846 | 27318 | ||
| 14847 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 27319 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 14848 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 27320 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 14849 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 27321 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 14850 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27322 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 14851 | which seems to be undefined. Please make sure it is defined." >&5 | 27323 | which seems to be undefined. Please make sure it is defined." >&5 |
| 14852 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27324 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 14853 | which seems to be undefined. Please make sure it is defined." >&2;} | 27325 | which seems to be undefined. Please make sure it is defined." >&2;} |
| @@ -14857,7 +27329,9 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 14857 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 27329 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 14858 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 27330 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 14859 | esac \ | 27331 | esac \ |
| 14860 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27332 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27333 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27334 | { (exit 1); exit 1; }; } | ||
| 14861 | ;; | 27335 | ;; |
| 14862 | :H) | 27336 | :H) |
| 14863 | # | 27337 | # |
| @@ -14868,23 +27342,29 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 14868 | $as_echo "/* $configure_input */" \ | 27342 | $as_echo "/* $configure_input */" \ |
| 14869 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 27343 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 14870 | } >"$tmp/config.h" \ | 27344 | } >"$tmp/config.h" \ |
| 14871 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27345 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27346 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27347 | { (exit 1); exit 1; }; } | ||
| 14872 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 27348 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 14873 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 27349 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 14874 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 27350 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 14875 | else | 27351 | else |
| 14876 | rm -f "$ac_file" | 27352 | rm -f "$ac_file" |
| 14877 | mv "$tmp/config.h" "$ac_file" \ | 27353 | mv "$tmp/config.h" "$ac_file" \ |
| 14878 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27354 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27355 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27356 | { (exit 1); exit 1; }; } | ||
| 14879 | fi | 27357 | fi |
| 14880 | else | 27358 | else |
| 14881 | $as_echo "/* $configure_input */" \ | 27359 | $as_echo "/* $configure_input */" \ |
| 14882 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 27360 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 14883 | || as_fn_error "could not create -" "$LINENO" 5 | 27361 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| 27362 | $as_echo "$as_me: error: could not create -" >&2;} | ||
| 27363 | { (exit 1); exit 1; }; } | ||
| 14884 | fi | 27364 | fi |
| 14885 | ;; | 27365 | ;; |
| 14886 | 27366 | ||
| 14887 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 27367 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
| 14888 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 27368 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 14889 | ;; | 27369 | ;; |
| 14890 | esac | 27370 | esac |
| @@ -14955,12 +27435,15 @@ fi | |||
| 14955 | done # for ac_tag | 27435 | done # for ac_tag |
| 14956 | 27436 | ||
| 14957 | 27437 | ||
| 14958 | as_fn_exit 0 | 27438 | { (exit 0); exit 0; } |
| 14959 | _ACEOF | 27439 | _ACEOF |
| 27440 | chmod +x $CONFIG_STATUS | ||
| 14960 | ac_clean_files=$ac_clean_files_save | 27441 | ac_clean_files=$ac_clean_files_save |
| 14961 | 27442 | ||
| 14962 | test $ac_write_fail = 0 || | 27443 | test $ac_write_fail = 0 || |
| 14963 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 27444 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| 27445 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | ||
| 27446 | { (exit 1); exit 1; }; } | ||
| 14964 | 27447 | ||
| 14965 | 27448 | ||
| 14966 | # configure is writing to config.log, and then calls config.status. | 27449 | # configure is writing to config.log, and then calls config.status. |
| @@ -14981,11 +27464,11 @@ if test "$no_create" != yes; then | |||
| 14981 | exec 5>>config.log | 27464 | exec 5>>config.log |
| 14982 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 27465 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 14983 | # would make configure fail if this is the last instruction. | 27466 | # would make configure fail if this is the last instruction. |
| 14984 | $ac_cs_success || as_fn_exit $? | 27467 | $ac_cs_success || { (exit 1); exit 1; } |
| 14985 | fi | 27468 | fi |
| 14986 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 27469 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 14987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 27470 | { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
| 14988 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 27471 | $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
| 14989 | fi | 27472 | fi |
| 14990 | 27473 | ||
| 14991 | 27474 | ||