diff options
| author | Glenn Morris | 2010-05-06 20:01:40 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-06 20:01:40 -0700 |
| commit | e6df49e47a04bd94db471124bc24fc33aaf04ec2 (patch) | |
| tree | 3d1f5f88700e8525a2b5acd4dc66d9a91d8d16ea | |
| parent | 16bbb132208f69547425d2d2284b996dd7f6ea5b (diff) | |
| download | emacs-e6df49e47a04bd94db471124bc24fc33aaf04ec2.tar.gz emacs-e6df49e47a04bd94db471124bc24fc33aaf04ec2.zip | |
Regenerate configure.
| -rwxr-xr-x | configure | 19128 |
1 files changed, 15869 insertions, 3259 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. | ||
| 179 | fi | 203 | fi |
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 181 | 204 | ||
| 205 | if as_func_failure; then | ||
| 206 | exitcode=1 | ||
| 207 | echo as_func_failure succeeded. | ||
| 208 | fi | ||
| 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 | 440 | |
| 402 | } | ||
| 403 | /^X\/\(\/\/\)$/{ | ||
| 404 | s//\1/ | ||
| 405 | q | ||
| 406 | } | ||
| 407 | /^X\/\(\/\).*/{ | ||
| 408 | s//\1/ | ||
| 409 | q | ||
| 410 | } | ||
| 411 | s/.*/./; q'` | ||
| 412 | 441 | ||
| 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 | 442 | ||
| 443 | as_lineno_1=$LINENO | ||
| 444 | as_lineno_2=$LINENO | ||
| 445 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 420 | 447 | ||
| 421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 449 | # uniformly replaced by the line number. The first 'sed' inserts a |
| 423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 450 | # line-number line after each line using $LINENO; the second 'sed' |
| 424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 451 | # does the real work. The second script uses 'N' to pair each |
| 425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 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,179 +638,180 @@ 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 | LD_SWITCH_SYSTEM_TEMACS | ||
| 599 | POST_ALLOC_OBJ | ||
| 600 | PRE_ALLOC_OBJ | ||
| 601 | CYGWIN_OBJ | ||
| 602 | LIBX_OTHER | ||
| 603 | LIBXMENU | ||
| 604 | OLDXMENU | ||
| 605 | LIBXT_OTHER | ||
| 606 | TOOLKIT_LIBW | ||
| 607 | WIDGET_OBJ | ||
| 608 | XOBJ | ||
| 609 | XMENU_OBJ | ||
| 610 | OTHER_FILES | ||
| 611 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 612 | GNU_OBJC_CFLAGS | ||
| 613 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 614 | GNUSTEP_SYSTEM_HEADERS | ||
| 615 | GNUSTEP_MAKEFILES | ||
| 616 | ns_appsrc | ||
| 617 | ns_appresdir | ||
| 618 | ns_appbindir | ||
| 619 | ns_appdir | ||
| 620 | opsysfile | ||
| 621 | machfile | ||
| 622 | X_TOOLKIT_TYPE | ||
| 623 | C_SWITCH_X_SYSTEM | ||
| 624 | C_SWITCH_X_SITE | ||
| 625 | LD_SWITCH_X_SITE | ||
| 626 | unexec | ||
| 627 | gameuser | ||
| 628 | gamedir | ||
| 629 | bitmapdir | ||
| 630 | archlibdir | ||
| 631 | etcdir | ||
| 632 | x_default_search_path | ||
| 633 | lisppath | ||
| 634 | locallisppath | ||
| 635 | lispdir | ||
| 636 | srcdir | ||
| 637 | canonical | ||
| 638 | configuration | ||
| 639 | version | ||
| 640 | KRB4LIB | ||
| 641 | DESLIB | ||
| 642 | KRB5LIB | ||
| 643 | CRYPTOLIB | ||
| 644 | COM_ERRLIB | ||
| 645 | LIBRESOLV | ||
| 646 | LIBHESIOD | ||
| 647 | GETOPTOBJS | ||
| 648 | GETOPT_H | ||
| 649 | GETLOADAVG_LIBS | ||
| 650 | KMEM_GROUP | ||
| 651 | NEED_SETGID | ||
| 652 | LIBOBJS | ||
| 653 | LIBS_MAIL | ||
| 654 | liblockfile | ||
| 655 | ALLOCA | ||
| 656 | LIBXSM | ||
| 657 | GPM_MOUSE_SUPPORT | ||
| 658 | LIBGPM | ||
| 659 | LIBGIF | ||
| 660 | LIBTIFF | ||
| 661 | LIBPNG | ||
| 662 | LIBJPEG | ||
| 663 | LIBXPM | ||
| 664 | FREETYPE_LIBS | ||
| 665 | FREETYPE_CFLAGS | ||
| 666 | FONT_OBJ | ||
| 667 | M17N_FLT_LIBS | ||
| 668 | M17N_FLT_CFLAGS | ||
| 669 | LIBOTF_LIBS | ||
| 670 | LIBOTF_CFLAGS | ||
| 671 | XFT_LIBS | ||
| 672 | XFT_CFLAGS | ||
| 673 | FONTCONFIG_LIBS | ||
| 674 | FONTCONFIG_CFLAGS | ||
| 675 | LIBXMU | ||
| 676 | LIBXTR6 | ||
| 677 | LIBSELINUX_LIBS | ||
| 678 | GCONF_LIBS | ||
| 679 | GCONF_CFLAGS | ||
| 680 | DBUS_OBJ | ||
| 681 | DBUS_LIBS | ||
| 682 | DBUS_CFLAGS | ||
| 683 | GTK_OBJ | ||
| 684 | GTK_LIBS | ||
| 685 | GTK_CFLAGS | ||
| 686 | RSVG_LIBS | ||
| 687 | RSVG_CFLAGS | ||
| 688 | HAVE_XSERVER | ||
| 689 | LIB_STANDARD | ||
| 690 | NS_SUPPORT | ||
| 691 | NS_OBJ | ||
| 692 | LD_SWITCH_X_SITE_AUX_RPATH | ||
| 693 | LD_SWITCH_X_SITE_AUX | ||
| 694 | XMKMF | ||
| 695 | SET_MAKE | ||
| 696 | CFLAGS_SOUND | ||
| 697 | ALSA_LIBS | ||
| 698 | ALSA_CFLAGS | ||
| 699 | PKG_CONFIG | ||
| 700 | LIBSOUND | ||
| 701 | START_FILES | ||
| 702 | LIB_MATH | ||
| 703 | CRT_DIR | ||
| 704 | C_SWITCH_SYSTEM | ||
| 705 | C_SWITCH_MACHINE | ||
| 706 | MAKEINFO | ||
| 707 | GZIP_PROG | ||
| 708 | INSTALL_INFO | ||
| 709 | RANLIB | ||
| 710 | INSTALL_DATA | ||
| 711 | INSTALL_SCRIPT | ||
| 712 | INSTALL_PROGRAM | ||
| 713 | EGREP | ||
| 714 | GREP | ||
| 715 | CPP | ||
| 716 | OBJEXT | ||
| 717 | EXEEXT | ||
| 718 | ac_ct_CC | ||
| 719 | CPPFLAGS | ||
| 720 | LDFLAGS | ||
| 721 | CFLAGS | ||
| 722 | CC | ||
| 723 | host_os | ||
| 724 | host_vendor | ||
| 725 | host_cpu | ||
| 726 | host | ||
| 727 | build_os | ||
| 728 | build_vendor | ||
| 729 | build_cpu | ||
| 730 | build | ||
| 731 | MAINT | ||
| 732 | target_alias | ||
| 733 | host_alias | ||
| 734 | build_alias | ||
| 735 | LIBS | ||
| 736 | ECHO_T | ||
| 737 | ECHO_N | ||
| 738 | ECHO_C | ||
| 739 | DEFS | ||
| 740 | mandir | ||
| 741 | localedir | ||
| 742 | libdir | ||
| 743 | psdir | ||
| 744 | pdfdir | ||
| 745 | dvidir | ||
| 746 | htmldir | ||
| 747 | infodir | ||
| 748 | docdir | ||
| 749 | oldincludedir | ||
| 750 | includedir | ||
| 751 | localstatedir | ||
| 752 | sharedstatedir | ||
| 753 | sysconfdir | ||
| 754 | datadir | ||
| 755 | datarootdir | ||
| 756 | libexecdir | ||
| 757 | sbindir | ||
| 758 | bindir | ||
| 759 | program_transform_name | ||
| 760 | prefix | ||
| 761 | exec_prefix | ||
| 762 | PACKAGE_URL | ||
| 763 | PACKAGE_BUGREPORT | ||
| 764 | PACKAGE_STRING | ||
| 765 | PACKAGE_VERSION | ||
| 766 | PACKAGE_TARNAME | ||
| 767 | PACKAGE_NAME | ||
| 768 | PATH_SEPARATOR | 642 | PATH_SEPARATOR |
| 769 | 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 | INSTALL_PROGRAM | ||
| 698 | INSTALL_SCRIPT | ||
| 699 | INSTALL_DATA | ||
| 700 | RANLIB | ||
| 701 | INSTALL_INFO | ||
| 702 | GZIP_PROG | ||
| 703 | MAKEINFO | ||
| 704 | LD_SWITCH_SYSTEM | ||
| 705 | C_SWITCH_MACHINE | ||
| 706 | C_SWITCH_SYSTEM | ||
| 707 | CRT_DIR | ||
| 708 | LIB_MATH | ||
| 709 | START_FILES | ||
| 710 | LIBSOUND | ||
| 711 | PKG_CONFIG | ||
| 712 | ALSA_CFLAGS | ||
| 713 | ALSA_LIBS | ||
| 714 | CFLAGS_SOUND | ||
| 715 | SET_MAKE | ||
| 716 | XMKMF | ||
| 717 | LD_SWITCH_X_SITE_AUX | ||
| 718 | LD_SWITCH_X_SITE_AUX_RPATH | ||
| 719 | NS_OBJ | ||
| 720 | NS_SUPPORT | ||
| 721 | LIB_STANDARD | ||
| 722 | HAVE_XSERVER | ||
| 723 | RSVG_CFLAGS | ||
| 724 | RSVG_LIBS | ||
| 725 | GTK_CFLAGS | ||
| 726 | GTK_LIBS | ||
| 727 | GTK_OBJ | ||
| 728 | DBUS_CFLAGS | ||
| 729 | DBUS_LIBS | ||
| 730 | DBUS_OBJ | ||
| 731 | GCONF_CFLAGS | ||
| 732 | GCONF_LIBS | ||
| 733 | LIBSELINUX_LIBS | ||
| 734 | LIBXTR6 | ||
| 735 | LIBXMU | ||
| 736 | FONTCONFIG_CFLAGS | ||
| 737 | FONTCONFIG_LIBS | ||
| 738 | XFT_CFLAGS | ||
| 739 | XFT_LIBS | ||
| 740 | LIBOTF_CFLAGS | ||
| 741 | LIBOTF_LIBS | ||
| 742 | M17N_FLT_CFLAGS | ||
| 743 | M17N_FLT_LIBS | ||
| 744 | FONT_OBJ | ||
| 745 | FREETYPE_CFLAGS | ||
| 746 | FREETYPE_LIBS | ||
| 747 | LIBXPM | ||
| 748 | LIBJPEG | ||
| 749 | LIBPNG | ||
| 750 | LIBTIFF | ||
| 751 | LIBGIF | ||
| 752 | LIBGPM | ||
| 753 | GPM_MOUSE_SUPPORT | ||
| 754 | LIBXSM | ||
| 755 | ALLOCA | ||
| 756 | liblockfile | ||
| 757 | LIBS_MAIL | ||
| 758 | LIBOBJS | ||
| 759 | NEED_SETGID | ||
| 760 | KMEM_GROUP | ||
| 761 | GETLOADAVG_LIBS | ||
| 762 | GETOPT_H | ||
| 763 | GETOPTOBJS | ||
| 764 | LIBHESIOD | ||
| 765 | LIBRESOLV | ||
| 766 | COM_ERRLIB | ||
| 767 | CRYPTOLIB | ||
| 768 | KRB5LIB | ||
| 769 | DESLIB | ||
| 770 | KRB4LIB | ||
| 771 | version | ||
| 772 | configuration | ||
| 773 | canonical | ||
| 774 | srcdir | ||
| 775 | lispdir | ||
| 776 | locallisppath | ||
| 777 | lisppath | ||
| 778 | x_default_search_path | ||
| 779 | etcdir | ||
| 780 | archlibdir | ||
| 781 | bitmapdir | ||
| 782 | gamedir | ||
| 783 | gameuser | ||
| 784 | unexec | ||
| 785 | LD_SWITCH_X_SITE | ||
| 786 | C_SWITCH_X_SITE | ||
| 787 | C_SWITCH_X_SYSTEM | ||
| 788 | X_TOOLKIT_TYPE | ||
| 789 | machfile | ||
| 790 | opsysfile | ||
| 791 | ns_appdir | ||
| 792 | ns_appbindir | ||
| 793 | ns_appresdir | ||
| 794 | ns_appsrc | ||
| 795 | GNUSTEP_MAKEFILES | ||
| 796 | GNUSTEP_SYSTEM_HEADERS | ||
| 797 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 798 | GNU_OBJC_CFLAGS | ||
| 799 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 800 | OTHER_FILES | ||
| 801 | XMENU_OBJ | ||
| 802 | XOBJ | ||
| 803 | WIDGET_OBJ | ||
| 804 | TOOLKIT_LIBW | ||
| 805 | LIBXT_OTHER | ||
| 806 | OLDXMENU | ||
| 807 | LIBXMENU | ||
| 808 | LIBX_OTHER | ||
| 809 | CYGWIN_OBJ | ||
| 810 | PRE_ALLOC_OBJ | ||
| 811 | POST_ALLOC_OBJ | ||
| 812 | LD_SWITCH_SYSTEM_TEMACS | ||
| 813 | LD_SWITCH_SYSTEM_EXTRA | ||
| 814 | LTLIBOBJS' | ||
| 770 | ac_subst_files='' | 815 | ac_subst_files='' |
| 771 | ac_user_opts=' | 816 | ac_user_opts=' |
| 772 | enable_option_checking | 817 | enable_option_checking |
| @@ -931,7 +976,8 @@ do | |||
| 931 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 976 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 932 | # Reject names that are not valid shell variable names. | 977 | # Reject names that are not valid shell variable names. |
| 933 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 978 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 934 | as_fn_error "invalid feature name: $ac_useropt" | 979 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 980 | { (exit 1); exit 1; }; } | ||
| 935 | ac_useropt_orig=$ac_useropt | 981 | ac_useropt_orig=$ac_useropt |
| 936 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 982 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 937 | case $ac_user_opts in | 983 | case $ac_user_opts in |
| @@ -957,7 +1003,8 @@ do | |||
| 957 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 1003 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 958 | # Reject names that are not valid shell variable names. | 1004 | # Reject names that are not valid shell variable names. |
| 959 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1005 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 960 | as_fn_error "invalid feature name: $ac_useropt" | 1006 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 1007 | { (exit 1); exit 1; }; } | ||
| 961 | ac_useropt_orig=$ac_useropt | 1008 | ac_useropt_orig=$ac_useropt |
| 962 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1009 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 963 | case $ac_user_opts in | 1010 | case $ac_user_opts in |
| @@ -1161,7 +1208,8 @@ do | |||
| 1161 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1208 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1162 | # Reject names that are not valid shell variable names. | 1209 | # Reject names that are not valid shell variable names. |
| 1163 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1210 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1164 | as_fn_error "invalid package name: $ac_useropt" | 1211 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1212 | { (exit 1); exit 1; }; } | ||
| 1165 | ac_useropt_orig=$ac_useropt | 1213 | ac_useropt_orig=$ac_useropt |
| 1166 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1214 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1167 | case $ac_user_opts in | 1215 | case $ac_user_opts in |
| @@ -1177,7 +1225,8 @@ do | |||
| 1177 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1225 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1178 | # Reject names that are not valid shell variable names. | 1226 | # Reject names that are not valid shell variable names. |
| 1179 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1227 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1180 | as_fn_error "invalid package name: $ac_useropt" | 1228 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1229 | { (exit 1); exit 1; }; } | ||
| 1181 | ac_useropt_orig=$ac_useropt | 1230 | ac_useropt_orig=$ac_useropt |
| 1182 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1231 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1183 | case $ac_user_opts in | 1232 | case $ac_user_opts in |
| @@ -1207,17 +1256,17 @@ do | |||
| 1207 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1256 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1208 | x_libraries=$ac_optarg ;; | 1257 | x_libraries=$ac_optarg ;; |
| 1209 | 1258 | ||
| 1210 | -*) as_fn_error "unrecognized option: \`$ac_option' | 1259 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| 1211 | Try \`$0 --help' for more information." | 1260 | Try \`$0 --help' for more information." >&2 |
| 1261 | { (exit 1); exit 1; }; } | ||
| 1212 | ;; | 1262 | ;; |
| 1213 | 1263 | ||
| 1214 | *=*) | 1264 | *=*) |
| 1215 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1265 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1216 | # Reject names that are not valid shell variable names. | 1266 | # Reject names that are not valid shell variable names. |
| 1217 | case $ac_envvar in #( | 1267 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1218 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1268 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1219 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1269 | { (exit 1); exit 1; }; } |
| 1220 | esac | ||
| 1221 | eval $ac_envvar=\$ac_optarg | 1270 | eval $ac_envvar=\$ac_optarg |
| 1222 | export $ac_envvar ;; | 1271 | export $ac_envvar ;; |
| 1223 | 1272 | ||
| @@ -1234,14 +1283,16 @@ done | |||
| 1234 | 1283 | ||
| 1235 | if test -n "$ac_prev"; then | 1284 | if test -n "$ac_prev"; then |
| 1236 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1285 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1237 | as_fn_error "missing argument to $ac_option" | 1286 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1287 | { (exit 1); exit 1; }; } | ||
| 1238 | fi | 1288 | fi |
| 1239 | 1289 | ||
| 1240 | if test -n "$ac_unrecognized_opts"; then | 1290 | if test -n "$ac_unrecognized_opts"; then |
| 1241 | case $enable_option_checking in | 1291 | case $enable_option_checking in |
| 1242 | no) ;; | 1292 | no) ;; |
| 1243 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1293 | fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
| 1244 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1294 | { (exit 1); exit 1; }; } ;; |
| 1295 | *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1245 | esac | 1296 | esac |
| 1246 | fi | 1297 | fi |
| 1247 | 1298 | ||
| @@ -1263,7 +1314,8 @@ do | |||
| 1263 | [\\/$]* | ?:[\\/]* ) continue;; | 1314 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1264 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1315 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1265 | esac | 1316 | esac |
| 1266 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1317 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1318 | { (exit 1); exit 1; }; } | ||
| 1267 | done | 1319 | done |
| 1268 | 1320 | ||
| 1269 | # There might be people who depend on the old broken behavior: `$host' | 1321 | # There might be people who depend on the old broken behavior: `$host' |
| @@ -1293,9 +1345,11 @@ test "$silent" = yes && exec 6>/dev/null | |||
| 1293 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1345 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1294 | ac_ls_di=`ls -di .` && | 1346 | ac_ls_di=`ls -di .` && |
| 1295 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1347 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1296 | as_fn_error "working directory cannot be determined" | 1348 | { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1349 | { (exit 1); exit 1; }; } | ||
| 1297 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1350 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1298 | as_fn_error "pwd does not report name of working directory" | 1351 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1352 | { (exit 1); exit 1; }; } | ||
| 1299 | 1353 | ||
| 1300 | 1354 | ||
| 1301 | # Find the source files, if location was not specified. | 1355 | # Find the source files, if location was not specified. |
| @@ -1334,11 +1388,13 @@ else | |||
| 1334 | fi | 1388 | fi |
| 1335 | if test ! -r "$srcdir/$ac_unique_file"; then | 1389 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1336 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1390 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1337 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1391 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1392 | { (exit 1); exit 1; }; } | ||
| 1338 | fi | 1393 | fi |
| 1339 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1394 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1340 | ac_abs_confdir=`( | 1395 | ac_abs_confdir=`( |
| 1341 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1396 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| 1397 | { (exit 1); exit 1; }; } | ||
| 1342 | pwd)` | 1398 | pwd)` |
| 1343 | # When building in place, set srcdir=. | 1399 | # When building in place, set srcdir=. |
| 1344 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1400 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| @@ -1518,7 +1574,7 @@ Some influential environment variables: | |||
| 1518 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1574 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1519 | nonstandard directory <lib dir> | 1575 | nonstandard directory <lib dir> |
| 1520 | LIBS libraries to pass to the linker, e.g. -l<library> | 1576 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1521 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1577 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1522 | you have headers in a nonstandard directory <include dir> | 1578 | you have headers in a nonstandard directory <include dir> |
| 1523 | CPP C preprocessor | 1579 | CPP C preprocessor |
| 1524 | XMKMF Path to xmkmf, Makefile generator for X Window System | 1580 | XMKMF Path to xmkmf, Makefile generator for X Window System |
| @@ -1526,7 +1582,6 @@ Some influential environment variables: | |||
| 1526 | Use these variables to override the choices made by `configure' or to help | 1582 | Use these variables to override the choices made by `configure' or to help |
| 1527 | it to find libraries and programs with nonstandard names/locations. | 1583 | it to find libraries and programs with nonstandard names/locations. |
| 1528 | 1584 | ||
| 1529 | Report bugs to the package provider. | ||
| 1530 | _ACEOF | 1585 | _ACEOF |
| 1531 | ac_status=$? | 1586 | ac_status=$? |
| 1532 | fi | 1587 | fi |
| @@ -1590,551 +1645,21 @@ test -n "$ac_init_help" && exit $ac_status | |||
| 1590 | if $ac_init_version; then | 1645 | if $ac_init_version; then |
| 1591 | cat <<\_ACEOF | 1646 | cat <<\_ACEOF |
| 1592 | emacs configure 24.0.50 | 1647 | emacs configure 24.0.50 |
| 1593 | generated by GNU Autoconf 2.65 | 1648 | generated by GNU Autoconf 2.62 |
| 1594 | 1649 | ||
| 1595 | Copyright (C) 2009 Free Software Foundation, Inc. | 1650 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1651 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
| 1596 | This configure script is free software; the Free Software Foundation | 1652 | This configure script is free software; the Free Software Foundation |
| 1597 | gives unlimited permission to copy, distribute and modify it. | 1653 | gives unlimited permission to copy, distribute and modify it. |
| 1598 | _ACEOF | 1654 | _ACEOF |
| 1599 | exit | 1655 | exit |
| 1600 | fi | 1656 | fi |
| 1601 | |||
| 1602 | ## ------------------------ ## | ||
| 1603 | ## Autoconf initialization. ## | ||
| 1604 | ## ------------------------ ## | ||
| 1605 | |||
| 1606 | # ac_fn_c_try_compile LINENO | ||
| 1607 | # -------------------------- | ||
| 1608 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1609 | ac_fn_c_try_compile () | ||
| 1610 | { | ||
| 1611 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1612 | rm -f conftest.$ac_objext | ||
| 1613 | if { { ac_try="$ac_compile" | ||
| 1614 | case "(($ac_try" in | ||
| 1615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1616 | *) ac_try_echo=$ac_try;; | ||
| 1617 | esac | ||
| 1618 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1619 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1620 | (eval "$ac_compile") 2>conftest.err | ||
| 1621 | ac_status=$? | ||
| 1622 | if test -s conftest.err; then | ||
| 1623 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1624 | cat conftest.er1 >&5 | ||
| 1625 | mv -f conftest.er1 conftest.err | ||
| 1626 | fi | ||
| 1627 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1628 | test $ac_status = 0; } && { | ||
| 1629 | test -z "$ac_c_werror_flag" || | ||
| 1630 | test ! -s conftest.err | ||
| 1631 | } && test -s conftest.$ac_objext; then : | ||
| 1632 | ac_retval=0 | ||
| 1633 | else | ||
| 1634 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1635 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1636 | |||
| 1637 | ac_retval=1 | ||
| 1638 | fi | ||
| 1639 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1640 | as_fn_set_status $ac_retval | ||
| 1641 | |||
| 1642 | } # ac_fn_c_try_compile | ||
| 1643 | |||
| 1644 | # ac_fn_c_try_link LINENO | ||
| 1645 | # ----------------------- | ||
| 1646 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1647 | ac_fn_c_try_link () | ||
| 1648 | { | ||
| 1649 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1650 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1651 | if { { ac_try="$ac_link" | ||
| 1652 | case "(($ac_try" in | ||
| 1653 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1654 | *) ac_try_echo=$ac_try;; | ||
| 1655 | esac | ||
| 1656 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1657 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1658 | (eval "$ac_link") 2>conftest.err | ||
| 1659 | ac_status=$? | ||
| 1660 | if test -s conftest.err; then | ||
| 1661 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1662 | cat conftest.er1 >&5 | ||
| 1663 | mv -f conftest.er1 conftest.err | ||
| 1664 | fi | ||
| 1665 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1666 | test $ac_status = 0; } && { | ||
| 1667 | test -z "$ac_c_werror_flag" || | ||
| 1668 | test ! -s conftest.err | ||
| 1669 | } && test -s conftest$ac_exeext && { | ||
| 1670 | test "$cross_compiling" = yes || | ||
| 1671 | $as_test_x conftest$ac_exeext | ||
| 1672 | }; then : | ||
| 1673 | ac_retval=0 | ||
| 1674 | else | ||
| 1675 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1676 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1677 | |||
| 1678 | ac_retval=1 | ||
| 1679 | fi | ||
| 1680 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1681 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1682 | # interfere with the next link command; also delete a directory that is | ||
| 1683 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1684 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1685 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1686 | as_fn_set_status $ac_retval | ||
| 1687 | |||
| 1688 | } # ac_fn_c_try_link | ||
| 1689 | |||
| 1690 | # ac_fn_c_try_cpp LINENO | ||
| 1691 | # ---------------------- | ||
| 1692 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1693 | ac_fn_c_try_cpp () | ||
| 1694 | { | ||
| 1695 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1696 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1697 | case "(($ac_try" in | ||
| 1698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1699 | *) ac_try_echo=$ac_try;; | ||
| 1700 | esac | ||
| 1701 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1702 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1703 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1704 | ac_status=$? | ||
| 1705 | if test -s conftest.err; then | ||
| 1706 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1707 | cat conftest.er1 >&5 | ||
| 1708 | mv -f conftest.er1 conftest.err | ||
| 1709 | fi | ||
| 1710 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1711 | test $ac_status = 0; } >/dev/null && { | ||
| 1712 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1713 | test ! -s conftest.err | ||
| 1714 | }; then : | ||
| 1715 | ac_retval=0 | ||
| 1716 | else | ||
| 1717 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1718 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1719 | |||
| 1720 | ac_retval=1 | ||
| 1721 | fi | ||
| 1722 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1723 | as_fn_set_status $ac_retval | ||
| 1724 | |||
| 1725 | } # ac_fn_c_try_cpp | ||
| 1726 | |||
| 1727 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1728 | # ------------------------------------------------------- | ||
| 1729 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1730 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1731 | # accordingly. | ||
| 1732 | ac_fn_c_check_header_mongrel () | ||
| 1733 | { | ||
| 1734 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1735 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1737 | $as_echo_n "checking for $2... " >&6; } | ||
| 1738 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1739 | $as_echo_n "(cached) " >&6 | ||
| 1740 | fi | ||
| 1741 | eval ac_res=\$$3 | ||
| 1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1743 | $as_echo "$ac_res" >&6; } | ||
| 1744 | else | ||
| 1745 | # Is the header compilable? | ||
| 1746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1747 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1749 | /* end confdefs.h. */ | ||
| 1750 | $4 | ||
| 1751 | #include <$2> | ||
| 1752 | _ACEOF | ||
| 1753 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1754 | ac_header_compiler=yes | ||
| 1755 | else | ||
| 1756 | ac_header_compiler=no | ||
| 1757 | fi | ||
| 1758 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1760 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1761 | |||
| 1762 | # Is the header present? | ||
| 1763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1764 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1765 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1766 | /* end confdefs.h. */ | ||
| 1767 | #include <$2> | ||
| 1768 | _ACEOF | ||
| 1769 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1770 | ac_header_preproc=yes | ||
| 1771 | else | ||
| 1772 | ac_header_preproc=no | ||
| 1773 | fi | ||
| 1774 | rm -f conftest.err conftest.$ac_ext | ||
| 1775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1776 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1777 | |||
| 1778 | # So? What about this header? | ||
| 1779 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1780 | yes:no: ) | ||
| 1781 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1782 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1784 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1785 | ;; | ||
| 1786 | no:yes:* ) | ||
| 1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1788 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1789 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1790 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1791 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1792 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1793 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1794 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1795 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1796 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1797 | ;; | ||
| 1798 | esac | ||
| 1799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1800 | $as_echo_n "checking for $2... " >&6; } | ||
| 1801 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1802 | $as_echo_n "(cached) " >&6 | ||
| 1803 | else | ||
| 1804 | eval "$3=\$ac_header_compiler" | ||
| 1805 | fi | ||
| 1806 | eval ac_res=\$$3 | ||
| 1807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1808 | $as_echo "$ac_res" >&6; } | ||
| 1809 | fi | ||
| 1810 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1811 | |||
| 1812 | } # ac_fn_c_check_header_mongrel | ||
| 1813 | |||
| 1814 | # ac_fn_c_try_run LINENO | ||
| 1815 | # ---------------------- | ||
| 1816 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1817 | # that executables *can* be run. | ||
| 1818 | ac_fn_c_try_run () | ||
| 1819 | { | ||
| 1820 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1821 | if { { ac_try="$ac_link" | ||
| 1822 | case "(($ac_try" in | ||
| 1823 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1824 | *) ac_try_echo=$ac_try;; | ||
| 1825 | esac | ||
| 1826 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1827 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1828 | (eval "$ac_link") 2>&5 | ||
| 1829 | ac_status=$? | ||
| 1830 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1831 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1832 | { { case "(($ac_try" in | ||
| 1833 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1834 | *) ac_try_echo=$ac_try;; | ||
| 1835 | esac | ||
| 1836 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1837 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1838 | (eval "$ac_try") 2>&5 | ||
| 1839 | ac_status=$? | ||
| 1840 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1841 | test $ac_status = 0; }; }; then : | ||
| 1842 | ac_retval=0 | ||
| 1843 | else | ||
| 1844 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1845 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1846 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1847 | |||
| 1848 | ac_retval=$ac_status | ||
| 1849 | fi | ||
| 1850 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1851 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1852 | as_fn_set_status $ac_retval | ||
| 1853 | |||
| 1854 | } # ac_fn_c_try_run | ||
| 1855 | |||
| 1856 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1857 | # ------------------------------------------------------- | ||
| 1858 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1859 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1860 | ac_fn_c_check_header_compile () | ||
| 1861 | { | ||
| 1862 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1863 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1864 | $as_echo_n "checking for $2... " >&6; } | ||
| 1865 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1866 | $as_echo_n "(cached) " >&6 | ||
| 1867 | else | ||
| 1868 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1869 | /* end confdefs.h. */ | ||
| 1870 | $4 | ||
| 1871 | #include <$2> | ||
| 1872 | _ACEOF | ||
| 1873 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1874 | eval "$3=yes" | ||
| 1875 | else | ||
| 1876 | eval "$3=no" | ||
| 1877 | fi | ||
| 1878 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1879 | fi | ||
| 1880 | eval ac_res=\$$3 | ||
| 1881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1882 | $as_echo "$ac_res" >&6; } | ||
| 1883 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1884 | |||
| 1885 | } # ac_fn_c_check_header_compile | ||
| 1886 | |||
| 1887 | # ac_fn_c_check_decl LINENO SYMBOL VAR | ||
| 1888 | # ------------------------------------ | ||
| 1889 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | ||
| 1890 | ac_fn_c_check_decl () | ||
| 1891 | { | ||
| 1892 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | ||
| 1894 | $as_echo_n "checking whether $2 is declared... " >&6; } | ||
| 1895 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1896 | $as_echo_n "(cached) " >&6 | ||
| 1897 | else | ||
| 1898 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1899 | /* end confdefs.h. */ | ||
| 1900 | $4 | ||
| 1901 | int | ||
| 1902 | main () | ||
| 1903 | { | ||
| 1904 | #ifndef $2 | ||
| 1905 | (void) $2; | ||
| 1906 | #endif | ||
| 1907 | |||
| 1908 | ; | ||
| 1909 | return 0; | ||
| 1910 | } | ||
| 1911 | _ACEOF | ||
| 1912 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1913 | eval "$3=yes" | ||
| 1914 | else | ||
| 1915 | eval "$3=no" | ||
| 1916 | fi | ||
| 1917 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1918 | fi | ||
| 1919 | eval ac_res=\$$3 | ||
| 1920 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1921 | $as_echo "$ac_res" >&6; } | ||
| 1922 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1923 | |||
| 1924 | } # ac_fn_c_check_decl | ||
| 1925 | |||
| 1926 | # ac_fn_c_check_header_preproc LINENO HEADER VAR | ||
| 1927 | # ---------------------------------------------- | ||
| 1928 | # Tests whether HEADER is present, setting the cache variable VAR accordingly. | ||
| 1929 | ac_fn_c_check_header_preproc () | ||
| 1930 | { | ||
| 1931 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1933 | $as_echo_n "checking for $2... " >&6; } | ||
| 1934 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1935 | $as_echo_n "(cached) " >&6 | ||
| 1936 | else | ||
| 1937 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1938 | /* end confdefs.h. */ | ||
| 1939 | #include <$2> | ||
| 1940 | _ACEOF | ||
| 1941 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1942 | eval "$3=yes" | ||
| 1943 | else | ||
| 1944 | eval "$3=no" | ||
| 1945 | fi | ||
| 1946 | rm -f conftest.err conftest.$ac_ext | ||
| 1947 | fi | ||
| 1948 | eval ac_res=\$$3 | ||
| 1949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1950 | $as_echo "$ac_res" >&6; } | ||
| 1951 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1952 | |||
| 1953 | } # ac_fn_c_check_header_preproc | ||
| 1954 | |||
| 1955 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 1956 | # ---------------------------------------------------- | ||
| 1957 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 1958 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 1959 | ac_fn_c_check_member () | ||
| 1960 | { | ||
| 1961 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1962 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 1963 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 1964 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1965 | $as_echo_n "(cached) " >&6 | ||
| 1966 | else | ||
| 1967 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1968 | /* end confdefs.h. */ | ||
| 1969 | $5 | ||
| 1970 | int | ||
| 1971 | main () | ||
| 1972 | { | ||
| 1973 | static $2 ac_aggr; | ||
| 1974 | if (ac_aggr.$3) | ||
| 1975 | return 0; | ||
| 1976 | ; | ||
| 1977 | return 0; | ||
| 1978 | } | ||
| 1979 | _ACEOF | ||
| 1980 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1981 | eval "$4=yes" | ||
| 1982 | else | ||
| 1983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1984 | /* end confdefs.h. */ | ||
| 1985 | $5 | ||
| 1986 | int | ||
| 1987 | main () | ||
| 1988 | { | ||
| 1989 | static $2 ac_aggr; | ||
| 1990 | if (sizeof ac_aggr.$3) | ||
| 1991 | return 0; | ||
| 1992 | ; | ||
| 1993 | return 0; | ||
| 1994 | } | ||
| 1995 | _ACEOF | ||
| 1996 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1997 | eval "$4=yes" | ||
| 1998 | else | ||
| 1999 | eval "$4=no" | ||
| 2000 | fi | ||
| 2001 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2002 | fi | ||
| 2003 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2004 | fi | ||
| 2005 | eval ac_res=\$$4 | ||
| 2006 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2007 | $as_echo "$ac_res" >&6; } | ||
| 2008 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2009 | |||
| 2010 | } # ac_fn_c_check_member | ||
| 2011 | |||
| 2012 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 2013 | # ---------------------------------- | ||
| 2014 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 2015 | ac_fn_c_check_func () | ||
| 2016 | { | ||
| 2017 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2019 | $as_echo_n "checking for $2... " >&6; } | ||
| 2020 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2021 | $as_echo_n "(cached) " >&6 | ||
| 2022 | else | ||
| 2023 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2024 | /* end confdefs.h. */ | ||
| 2025 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 2026 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 2027 | #define $2 innocuous_$2 | ||
| 2028 | |||
| 2029 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 2030 | which can conflict with char $2 (); below. | ||
| 2031 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 2032 | <limits.h> exists even on freestanding compilers. */ | ||
| 2033 | |||
| 2034 | #ifdef __STDC__ | ||
| 2035 | # include <limits.h> | ||
| 2036 | #else | ||
| 2037 | # include <assert.h> | ||
| 2038 | #endif | ||
| 2039 | |||
| 2040 | #undef $2 | ||
| 2041 | |||
| 2042 | /* Override any GCC internal prototype to avoid an error. | ||
| 2043 | Use char because int might match the return type of a GCC | ||
| 2044 | builtin and then its argument prototype would still apply. */ | ||
| 2045 | #ifdef __cplusplus | ||
| 2046 | extern "C" | ||
| 2047 | #endif | ||
| 2048 | char $2 (); | ||
| 2049 | /* The GNU C library defines this for functions which it implements | ||
| 2050 | to always fail with ENOSYS. Some functions are actually named | ||
| 2051 | something starting with __ and the normal name is an alias. */ | ||
| 2052 | #if defined __stub_$2 || defined __stub___$2 | ||
| 2053 | choke me | ||
| 2054 | #endif | ||
| 2055 | |||
| 2056 | int | ||
| 2057 | main () | ||
| 2058 | { | ||
| 2059 | return $2 (); | ||
| 2060 | ; | ||
| 2061 | return 0; | ||
| 2062 | } | ||
| 2063 | _ACEOF | ||
| 2064 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 2065 | eval "$3=yes" | ||
| 2066 | else | ||
| 2067 | eval "$3=no" | ||
| 2068 | fi | ||
| 2069 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 2070 | conftest$ac_exeext conftest.$ac_ext | ||
| 2071 | fi | ||
| 2072 | eval ac_res=\$$3 | ||
| 2073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2074 | $as_echo "$ac_res" >&6; } | ||
| 2075 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2076 | |||
| 2077 | } # ac_fn_c_check_func | ||
| 2078 | |||
| 2079 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2080 | # ------------------------------------------- | ||
| 2081 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2082 | # variable VAR accordingly. | ||
| 2083 | ac_fn_c_check_type () | ||
| 2084 | { | ||
| 2085 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2086 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2087 | $as_echo_n "checking for $2... " >&6; } | ||
| 2088 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2089 | $as_echo_n "(cached) " >&6 | ||
| 2090 | else | ||
| 2091 | eval "$3=no" | ||
| 2092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2093 | /* end confdefs.h. */ | ||
| 2094 | $4 | ||
| 2095 | int | ||
| 2096 | main () | ||
| 2097 | { | ||
| 2098 | if (sizeof ($2)) | ||
| 2099 | return 0; | ||
| 2100 | ; | ||
| 2101 | return 0; | ||
| 2102 | } | ||
| 2103 | _ACEOF | ||
| 2104 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2105 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2106 | /* end confdefs.h. */ | ||
| 2107 | $4 | ||
| 2108 | int | ||
| 2109 | main () | ||
| 2110 | { | ||
| 2111 | if (sizeof (($2))) | ||
| 2112 | return 0; | ||
| 2113 | ; | ||
| 2114 | return 0; | ||
| 2115 | } | ||
| 2116 | _ACEOF | ||
| 2117 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2118 | |||
| 2119 | else | ||
| 2120 | eval "$3=yes" | ||
| 2121 | fi | ||
| 2122 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2123 | fi | ||
| 2124 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2125 | fi | ||
| 2126 | eval ac_res=\$$3 | ||
| 2127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2128 | $as_echo "$ac_res" >&6; } | ||
| 2129 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2130 | |||
| 2131 | } # ac_fn_c_check_type | ||
| 2132 | cat >config.log <<_ACEOF | 1657 | cat >config.log <<_ACEOF |
| 2133 | This file contains any messages produced by compilers while | 1658 | This file contains any messages produced by compilers while |
| 2134 | running configure, to aid debugging if configure makes a mistake. | 1659 | running configure, to aid debugging if configure makes a mistake. |
| 2135 | 1660 | ||
| 2136 | It was created by emacs $as_me 24.0.50, which was | 1661 | It was created by emacs $as_me 24.0.50, which was |
| 2137 | generated by GNU Autoconf 2.65. Invocation command line was | 1662 | generated by GNU Autoconf 2.62. Invocation command line was |
| 2138 | 1663 | ||
| 2139 | $ $0 $@ | 1664 | $ $0 $@ |
| 2140 | 1665 | ||
| @@ -2170,8 +1695,8 @@ for as_dir in $PATH | |||
| 2170 | do | 1695 | do |
| 2171 | IFS=$as_save_IFS | 1696 | IFS=$as_save_IFS |
| 2172 | test -z "$as_dir" && as_dir=. | 1697 | test -z "$as_dir" && as_dir=. |
| 2173 | $as_echo "PATH: $as_dir" | 1698 | $as_echo "PATH: $as_dir" |
| 2174 | done | 1699 | done |
| 2175 | IFS=$as_save_IFS | 1700 | IFS=$as_save_IFS |
| 2176 | 1701 | ||
| 2177 | } >&5 | 1702 | } >&5 |
| @@ -2208,9 +1733,9 @@ do | |||
| 2208 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1733 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2209 | esac | 1734 | esac |
| 2210 | case $ac_pass in | 1735 | case $ac_pass in |
| 2211 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1736 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 2212 | 2) | 1737 | 2) |
| 2213 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1738 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 2214 | if test $ac_must_keep_next = true; then | 1739 | if test $ac_must_keep_next = true; then |
| 2215 | ac_must_keep_next=false # Got value, back to normal. | 1740 | ac_must_keep_next=false # Got value, back to normal. |
| 2216 | else | 1741 | else |
| @@ -2226,13 +1751,13 @@ do | |||
| 2226 | -* ) ac_must_keep_next=true ;; | 1751 | -* ) ac_must_keep_next=true ;; |
| 2227 | esac | 1752 | esac |
| 2228 | fi | 1753 | fi |
| 2229 | as_fn_append ac_configure_args " '$ac_arg'" | 1754 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 2230 | ;; | 1755 | ;; |
| 2231 | esac | 1756 | esac |
| 2232 | done | 1757 | done |
| 2233 | done | 1758 | done |
| 2234 | { ac_configure_args0=; unset ac_configure_args0;} | 1759 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 2235 | { ac_configure_args1=; unset ac_configure_args1;} | 1760 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 2236 | 1761 | ||
| 2237 | # When interrupted or exit'd, cleanup temporary files, and complete | 1762 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2238 | # config.log. We remove comments because anyway the quotes in there | 1763 | # config.log. We remove comments because anyway the quotes in there |
| @@ -2257,13 +1782,13 @@ _ASBOX | |||
| 2257 | case $ac_val in #( | 1782 | case $ac_val in #( |
| 2258 | *${as_nl}*) | 1783 | *${as_nl}*) |
| 2259 | case $ac_var in #( | 1784 | case $ac_var in #( |
| 2260 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1785 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 2261 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1786 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 2262 | esac | 1787 | esac |
| 2263 | case $ac_var in #( | 1788 | case $ac_var in #( |
| 2264 | _ | IFS | as_nl) ;; #( | 1789 | _ | IFS | as_nl) ;; #( |
| 2265 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1790 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2266 | *) { eval $ac_var=; unset $ac_var;} ;; | 1791 | *) $as_unset $ac_var ;; |
| 2267 | esac ;; | 1792 | esac ;; |
| 2268 | esac | 1793 | esac |
| 2269 | done | 1794 | done |
| @@ -2335,39 +1860,37 @@ _ASBOX | |||
| 2335 | exit $exit_status | 1860 | exit $exit_status |
| 2336 | ' 0 | 1861 | ' 0 |
| 2337 | for ac_signal in 1 2 13 15; do | 1862 | for ac_signal in 1 2 13 15; do |
| 2338 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1863 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 2339 | done | 1864 | done |
| 2340 | ac_signal=0 | 1865 | ac_signal=0 |
| 2341 | 1866 | ||
| 2342 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1867 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2343 | rm -f -r conftest* confdefs.h | 1868 | rm -f -r conftest* confdefs.h |
| 2344 | 1869 | ||
| 2345 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2346 | |||
| 2347 | # Predefined preprocessor variables. | 1870 | # Predefined preprocessor variables. |
| 2348 | 1871 | ||
| 2349 | cat >>confdefs.h <<_ACEOF | 1872 | cat >>confdefs.h <<_ACEOF |
| 2350 | #define PACKAGE_NAME "$PACKAGE_NAME" | 1873 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2351 | _ACEOF | 1874 | _ACEOF |
| 2352 | 1875 | ||
| 1876 | |||
| 2353 | cat >>confdefs.h <<_ACEOF | 1877 | cat >>confdefs.h <<_ACEOF |
| 2354 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1878 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2355 | _ACEOF | 1879 | _ACEOF |
| 2356 | 1880 | ||
| 1881 | |||
| 2357 | cat >>confdefs.h <<_ACEOF | 1882 | cat >>confdefs.h <<_ACEOF |
| 2358 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1883 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2359 | _ACEOF | 1884 | _ACEOF |
| 2360 | 1885 | ||
| 1886 | |||
| 2361 | cat >>confdefs.h <<_ACEOF | 1887 | cat >>confdefs.h <<_ACEOF |
| 2362 | #define PACKAGE_STRING "$PACKAGE_STRING" | 1888 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2363 | _ACEOF | 1889 | _ACEOF |
| 2364 | 1890 | ||
| 2365 | cat >>confdefs.h <<_ACEOF | ||
| 2366 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 2367 | _ACEOF | ||
| 2368 | 1891 | ||
| 2369 | cat >>confdefs.h <<_ACEOF | 1892 | cat >>confdefs.h <<_ACEOF |
| 2370 | #define PACKAGE_URL "$PACKAGE_URL" | 1893 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2371 | _ACEOF | 1894 | _ACEOF |
| 2372 | 1895 | ||
| 2373 | 1896 | ||
| @@ -2387,8 +1910,8 @@ fi | |||
| 2387 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1910 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2388 | do | 1911 | do |
| 2389 | test "x$ac_site_file" = xNONE && continue | 1912 | test "x$ac_site_file" = xNONE && continue |
| 2390 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1913 | if test -r "$ac_site_file"; then |
| 2391 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1914 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 2392 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 1915 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2393 | sed 's/^/| /' "$ac_site_file" >&5 | 1916 | sed 's/^/| /' "$ac_site_file" >&5 |
| 2394 | . "$ac_site_file" | 1917 | . "$ac_site_file" |
| @@ -2396,10 +1919,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |||
| 2396 | done | 1919 | done |
| 2397 | 1920 | ||
| 2398 | if test -r "$cache_file"; then | 1921 | if test -r "$cache_file"; then |
| 2399 | # Some versions of bash will fail to source /dev/null (special files | 1922 | # Some versions of bash will fail to source /dev/null (special |
| 2400 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1923 | # files actually), so we avoid doing that. |
| 2401 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1924 | if test -f "$cache_file"; then |
| 2402 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1925 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 2403 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 1926 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2404 | case $cache_file in | 1927 | case $cache_file in |
| 2405 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1928 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| @@ -2407,16 +1930,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} | |||
| 2407 | esac | 1930 | esac |
| 2408 | fi | 1931 | fi |
| 2409 | else | 1932 | else |
| 2410 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1933 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 2411 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 1934 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2412 | >$cache_file | 1935 | >$cache_file |
| 2413 | fi | 1936 | fi |
| 2414 | 1937 | ||
| 2415 | as_fn_append ac_header_list " stdlib.h" | 1938 | ac_header_list="$ac_header_list sys/time.h" |
| 2416 | as_fn_append ac_header_list " unistd.h" | 1939 | ac_header_list="$ac_header_list unistd.h" |
| 2417 | as_fn_append ac_header_list " sys/param.h" | 1940 | ac_func_list="$ac_func_list alarm" |
| 2418 | as_fn_append ac_header_list " sys/time.h" | ||
| 2419 | as_fn_append ac_func_list " alarm" | ||
| 2420 | # Check that the precious variables saved in the cache have kept the same | 1941 | # Check that the precious variables saved in the cache have kept the same |
| 2421 | # value. | 1942 | # value. |
| 2422 | ac_cache_corrupted=false | 1943 | ac_cache_corrupted=false |
| @@ -2427,11 +1948,11 @@ for ac_var in $ac_precious_vars; do | |||
| 2427 | eval ac_new_val=\$ac_env_${ac_var}_value | 1948 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 2428 | case $ac_old_set,$ac_new_set in | 1949 | case $ac_old_set,$ac_new_set in |
| 2429 | set,) | 1950 | set,) |
| 2430 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1951 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2431 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1952 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2432 | ac_cache_corrupted=: ;; | 1953 | ac_cache_corrupted=: ;; |
| 2433 | ,set) | 1954 | ,set) |
| 2434 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1955 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 2435 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1956 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2436 | ac_cache_corrupted=: ;; | 1957 | ac_cache_corrupted=: ;; |
| 2437 | ,);; | 1958 | ,);; |
| @@ -2441,17 +1962,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |||
| 2441 | ac_old_val_w=`echo x $ac_old_val` | 1962 | ac_old_val_w=`echo x $ac_old_val` |
| 2442 | ac_new_val_w=`echo x $ac_new_val` | 1963 | ac_new_val_w=`echo x $ac_new_val` |
| 2443 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1964 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2444 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1965 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2445 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1966 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2446 | ac_cache_corrupted=: | 1967 | ac_cache_corrupted=: |
| 2447 | else | 1968 | else |
| 2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 1969 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2449 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 1970 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2450 | eval $ac_var=\$ac_old_val | 1971 | eval $ac_var=\$ac_old_val |
| 2451 | fi | 1972 | fi |
| 2452 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 1973 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| 2453 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 1974 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2454 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 1975 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| 2455 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 1976 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2456 | fi;; | 1977 | fi;; |
| 2457 | esac | 1978 | esac |
| @@ -2463,20 +1984,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |||
| 2463 | esac | 1984 | esac |
| 2464 | case " $ac_configure_args " in | 1985 | case " $ac_configure_args " in |
| 2465 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1986 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2466 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1987 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 2467 | esac | 1988 | esac |
| 2468 | fi | 1989 | fi |
| 2469 | done | 1990 | done |
| 2470 | if $ac_cache_corrupted; then | 1991 | if $ac_cache_corrupted; then |
| 2471 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1992 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 2472 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2473 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2474 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1993 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2475 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1994 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1995 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1996 | { (exit 1); exit 1; }; } | ||
| 2476 | fi | 1997 | fi |
| 2477 | ## -------------------- ## | 1998 | |
| 2478 | ## Main body of script. ## | 1999 | |
| 2479 | ## -------------------- ## | 2000 | |
| 2001 | |||
| 2002 | |||
| 2003 | |||
| 2004 | |||
| 2005 | |||
| 2006 | |||
| 2007 | |||
| 2008 | |||
| 2009 | |||
| 2010 | |||
| 2011 | |||
| 2012 | |||
| 2013 | |||
| 2014 | |||
| 2015 | |||
| 2016 | |||
| 2017 | |||
| 2018 | |||
| 2019 | |||
| 2020 | |||
| 2021 | |||
| 2480 | 2022 | ||
| 2481 | ac_ext=c | 2023 | ac_ext=c |
| 2482 | ac_cpp='$CPP $CPPFLAGS' | 2024 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -2515,33 +2057,39 @@ gameuser=games | |||
| 2515 | 2057 | ||
| 2516 | 2058 | ||
| 2517 | # Check whether --with-pop was given. | 2059 | # Check whether --with-pop was given. |
| 2518 | if test "${with_pop+set}" = set; then : | 2060 | if test "${with_pop+set}" = set; then |
| 2519 | withval=$with_pop; | 2061 | withval=$with_pop; |
| 2520 | else | 2062 | else |
| 2521 | with_pop=yes | 2063 | with_pop=yes |
| 2522 | fi | 2064 | fi |
| 2523 | 2065 | ||
| 2524 | if test "$with_pop" = yes; then | 2066 | if test "$with_pop" = yes; then |
| 2525 | $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 2067 | cat >>confdefs.h <<\_ACEOF |
| 2068 | #define MAIL_USE_POP 1 | ||
| 2069 | _ACEOF | ||
| 2526 | 2070 | ||
| 2527 | fi | 2071 | fi |
| 2528 | 2072 | ||
| 2529 | 2073 | ||
| 2074 | |||
| 2530 | # Check whether --with-kerberos was given. | 2075 | # Check whether --with-kerberos was given. |
| 2531 | if test "${with_kerberos+set}" = set; then : | 2076 | if test "${with_kerberos+set}" = set; then |
| 2532 | withval=$with_kerberos; | 2077 | withval=$with_kerberos; |
| 2533 | else | 2078 | else |
| 2534 | with_kerberos=no | 2079 | with_kerberos=no |
| 2535 | fi | 2080 | fi |
| 2536 | 2081 | ||
| 2537 | if test "$with_kerberos" != no; then | 2082 | if test "$with_kerberos" != no; then |
| 2538 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2083 | cat >>confdefs.h <<\_ACEOF |
| 2084 | #define KERBEROS 1 | ||
| 2085 | _ACEOF | ||
| 2539 | 2086 | ||
| 2540 | fi | 2087 | fi |
| 2541 | 2088 | ||
| 2542 | 2089 | ||
| 2090 | |||
| 2543 | # Check whether --with-kerberos5 was given. | 2091 | # Check whether --with-kerberos5 was given. |
| 2544 | if test "${with_kerberos5+set}" = set; then : | 2092 | if test "${with_kerberos5+set}" = set; then |
| 2545 | withval=$with_kerberos5; | 2093 | withval=$with_kerberos5; |
| 2546 | else | 2094 | else |
| 2547 | with_kerberos5=no | 2095 | with_kerberos5=no |
| @@ -2550,17 +2098,21 @@ fi | |||
| 2550 | if test "${with_kerberos5}" != no; then | 2098 | if test "${with_kerberos5}" != no; then |
| 2551 | if test "${with_kerberos}" = no; then | 2099 | if test "${with_kerberos}" = no; then |
| 2552 | with_kerberos=yes | 2100 | with_kerberos=yes |
| 2553 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2101 | cat >>confdefs.h <<\_ACEOF |
| 2102 | #define KERBEROS 1 | ||
| 2103 | _ACEOF | ||
| 2554 | 2104 | ||
| 2555 | fi | 2105 | fi |
| 2556 | 2106 | ||
| 2557 | $as_echo "#define KERBEROS5 1" >>confdefs.h | 2107 | cat >>confdefs.h <<\_ACEOF |
| 2108 | #define KERBEROS5 1 | ||
| 2109 | _ACEOF | ||
| 2558 | 2110 | ||
| 2559 | fi | 2111 | fi |
| 2560 | 2112 | ||
| 2561 | 2113 | ||
| 2562 | # Check whether --with-hesiod was given. | 2114 | # Check whether --with-hesiod was given. |
| 2563 | if test "${with_hesiod+set}" = set; then : | 2115 | if test "${with_hesiod+set}" = set; then |
| 2564 | withval=$with_hesiod; | 2116 | withval=$with_hesiod; |
| 2565 | else | 2117 | else |
| 2566 | with_hesiod=no | 2118 | with_hesiod=no |
| @@ -2568,13 +2120,15 @@ fi | |||
| 2568 | 2120 | ||
| 2569 | if test "$with_hesiod" != no; then | 2121 | if test "$with_hesiod" != no; then |
| 2570 | 2122 | ||
| 2571 | $as_echo "#define HESIOD 1" >>confdefs.h | 2123 | cat >>confdefs.h <<\_ACEOF |
| 2124 | #define HESIOD 1 | ||
| 2125 | _ACEOF | ||
| 2572 | 2126 | ||
| 2573 | fi | 2127 | fi |
| 2574 | 2128 | ||
| 2575 | 2129 | ||
| 2576 | # Check whether --with-mmdf was given. | 2130 | # Check whether --with-mmdf was given. |
| 2577 | if test "${with_mmdf+set}" = set; then : | 2131 | if test "${with_mmdf+set}" = set; then |
| 2578 | withval=$with_mmdf; | 2132 | withval=$with_mmdf; |
| 2579 | else | 2133 | else |
| 2580 | with_mmdf=no | 2134 | with_mmdf=no |
| @@ -2582,13 +2136,15 @@ fi | |||
| 2582 | 2136 | ||
| 2583 | if test "$with_mmdf" != no; then | 2137 | if test "$with_mmdf" != no; then |
| 2584 | 2138 | ||
| 2585 | $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h | 2139 | cat >>confdefs.h <<\_ACEOF |
| 2140 | #define MAIL_USE_MMDF 1 | ||
| 2141 | _ACEOF | ||
| 2586 | 2142 | ||
| 2587 | fi | 2143 | fi |
| 2588 | 2144 | ||
| 2589 | 2145 | ||
| 2590 | # Check whether --with-mail-unlink was given. | 2146 | # Check whether --with-mail-unlink was given. |
| 2591 | if test "${with_mail_unlink+set}" = set; then : | 2147 | if test "${with_mail_unlink+set}" = set; then |
| 2592 | withval=$with_mail_unlink; | 2148 | withval=$with_mail_unlink; |
| 2593 | else | 2149 | else |
| 2594 | with_mail_unlink=no | 2150 | with_mail_unlink=no |
| @@ -2596,13 +2152,15 @@ fi | |||
| 2596 | 2152 | ||
| 2597 | if test "$with_mail_unlink" != no; then | 2153 | if test "$with_mail_unlink" != no; then |
| 2598 | 2154 | ||
| 2599 | $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h | 2155 | cat >>confdefs.h <<\_ACEOF |
| 2156 | #define MAIL_UNLINK_SPOOL 1 | ||
| 2157 | _ACEOF | ||
| 2600 | 2158 | ||
| 2601 | fi | 2159 | fi |
| 2602 | 2160 | ||
| 2603 | 2161 | ||
| 2604 | # Check whether --with-mailhost was given. | 2162 | # Check whether --with-mailhost was given. |
| 2605 | if test "${with_mailhost+set}" = set; then : | 2163 | if test "${with_mailhost+set}" = set; then |
| 2606 | withval=$with_mailhost; | 2164 | withval=$with_mailhost; |
| 2607 | cat >>confdefs.h <<_ACEOF | 2165 | cat >>confdefs.h <<_ACEOF |
| 2608 | #define MAILHOST "$withval" | 2166 | #define MAILHOST "$withval" |
| @@ -2613,7 +2171,7 @@ fi | |||
| 2613 | 2171 | ||
| 2614 | 2172 | ||
| 2615 | # Check whether --with-sound was given. | 2173 | # Check whether --with-sound was given. |
| 2616 | if test "${with_sound+set}" = set; then : | 2174 | if test "${with_sound+set}" = set; then |
| 2617 | withval=$with_sound; | 2175 | withval=$with_sound; |
| 2618 | else | 2176 | else |
| 2619 | with_sound=yes | 2177 | with_sound=yes |
| @@ -2622,7 +2180,7 @@ fi | |||
| 2622 | 2180 | ||
| 2623 | 2181 | ||
| 2624 | # Check whether --with-sync-input was given. | 2182 | # Check whether --with-sync-input was given. |
| 2625 | if test "${with_sync_input+set}" = set; then : | 2183 | if test "${with_sync_input+set}" = set; then |
| 2626 | withval=$with_sync_input; | 2184 | withval=$with_sync_input; |
| 2627 | else | 2185 | else |
| 2628 | with_sync_input=yes | 2186 | with_sync_input=yes |
| @@ -2630,13 +2188,15 @@ fi | |||
| 2630 | 2188 | ||
| 2631 | if test "$with_sync_input" = yes; then | 2189 | if test "$with_sync_input" = yes; then |
| 2632 | 2190 | ||
| 2633 | $as_echo "#define SYNC_INPUT 1" >>confdefs.h | 2191 | cat >>confdefs.h <<\_ACEOF |
| 2192 | #define SYNC_INPUT 1 | ||
| 2193 | _ACEOF | ||
| 2634 | 2194 | ||
| 2635 | fi | 2195 | fi |
| 2636 | 2196 | ||
| 2637 | 2197 | ||
| 2638 | # Check whether --with-x-toolkit was given. | 2198 | # Check whether --with-x-toolkit was given. |
| 2639 | if test "${with_x_toolkit+set}" = set; then : | 2199 | if test "${with_x_toolkit+set}" = set; then |
| 2640 | withval=$with_x_toolkit; case "${withval}" in | 2200 | withval=$with_x_toolkit; case "${withval}" in |
| 2641 | y | ye | yes ) val=gtk ;; | 2201 | y | ye | yes ) val=gtk ;; |
| 2642 | n | no ) val=no ;; | 2202 | n | no ) val=no ;; |
| @@ -2645,9 +2205,13 @@ if test "${with_x_toolkit+set}" = set; then : | |||
| 2645 | m | mo | mot | moti | motif ) val=motif ;; | 2205 | m | mo | mot | moti | motif ) val=motif ;; |
| 2646 | g | gt | gtk ) val=gtk ;; | 2206 | g | gt | gtk ) val=gtk ;; |
| 2647 | * ) | 2207 | * ) |
| 2648 | as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2208 | { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; |
| 2649 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2209 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
| 2650 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2210 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 |
| 2211 | $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | ||
| 2212 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | ||
| 2213 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} | ||
| 2214 | { (exit 1); exit 1; }; } | ||
| 2651 | ;; | 2215 | ;; |
| 2652 | esac | 2216 | esac |
| 2653 | with_x_toolkit=$val | 2217 | with_x_toolkit=$val |
| @@ -2657,7 +2221,7 @@ fi | |||
| 2657 | 2221 | ||
| 2658 | 2222 | ||
| 2659 | # Check whether --with-xpm was given. | 2223 | # Check whether --with-xpm was given. |
| 2660 | if test "${with_xpm+set}" = set; then : | 2224 | if test "${with_xpm+set}" = set; then |
| 2661 | withval=$with_xpm; | 2225 | withval=$with_xpm; |
| 2662 | else | 2226 | else |
| 2663 | with_xpm=yes | 2227 | with_xpm=yes |
| @@ -2665,7 +2229,7 @@ fi | |||
| 2665 | 2229 | ||
| 2666 | 2230 | ||
| 2667 | # Check whether --with-jpeg was given. | 2231 | # Check whether --with-jpeg was given. |
| 2668 | if test "${with_jpeg+set}" = set; then : | 2232 | if test "${with_jpeg+set}" = set; then |
| 2669 | withval=$with_jpeg; | 2233 | withval=$with_jpeg; |
| 2670 | else | 2234 | else |
| 2671 | with_jpeg=yes | 2235 | with_jpeg=yes |
| @@ -2673,7 +2237,7 @@ fi | |||
| 2673 | 2237 | ||
| 2674 | 2238 | ||
| 2675 | # Check whether --with-tiff was given. | 2239 | # Check whether --with-tiff was given. |
| 2676 | if test "${with_tiff+set}" = set; then : | 2240 | if test "${with_tiff+set}" = set; then |
| 2677 | withval=$with_tiff; | 2241 | withval=$with_tiff; |
| 2678 | else | 2242 | else |
| 2679 | with_tiff=yes | 2243 | with_tiff=yes |
| @@ -2681,7 +2245,7 @@ fi | |||
| 2681 | 2245 | ||
| 2682 | 2246 | ||
| 2683 | # Check whether --with-gif was given. | 2247 | # Check whether --with-gif was given. |
| 2684 | if test "${with_gif+set}" = set; then : | 2248 | if test "${with_gif+set}" = set; then |
| 2685 | withval=$with_gif; | 2249 | withval=$with_gif; |
| 2686 | else | 2250 | else |
| 2687 | with_gif=yes | 2251 | with_gif=yes |
| @@ -2689,7 +2253,7 @@ fi | |||
| 2689 | 2253 | ||
| 2690 | 2254 | ||
| 2691 | # Check whether --with-png was given. | 2255 | # Check whether --with-png was given. |
| 2692 | if test "${with_png+set}" = set; then : | 2256 | if test "${with_png+set}" = set; then |
| 2693 | withval=$with_png; | 2257 | withval=$with_png; |
| 2694 | else | 2258 | else |
| 2695 | with_png=yes | 2259 | with_png=yes |
| @@ -2697,7 +2261,7 @@ fi | |||
| 2697 | 2261 | ||
| 2698 | 2262 | ||
| 2699 | # Check whether --with-rsvg was given. | 2263 | # Check whether --with-rsvg was given. |
| 2700 | if test "${with_rsvg+set}" = set; then : | 2264 | if test "${with_rsvg+set}" = set; then |
| 2701 | withval=$with_rsvg; | 2265 | withval=$with_rsvg; |
| 2702 | else | 2266 | else |
| 2703 | with_rsvg=yes | 2267 | with_rsvg=yes |
| @@ -2706,7 +2270,7 @@ fi | |||
| 2706 | 2270 | ||
| 2707 | 2271 | ||
| 2708 | # Check whether --with-xft was given. | 2272 | # Check whether --with-xft was given. |
| 2709 | if test "${with_xft+set}" = set; then : | 2273 | if test "${with_xft+set}" = set; then |
| 2710 | withval=$with_xft; | 2274 | withval=$with_xft; |
| 2711 | else | 2275 | else |
| 2712 | with_xft=yes | 2276 | with_xft=yes |
| @@ -2714,7 +2278,7 @@ fi | |||
| 2714 | 2278 | ||
| 2715 | 2279 | ||
| 2716 | # Check whether --with-libotf was given. | 2280 | # Check whether --with-libotf was given. |
| 2717 | if test "${with_libotf+set}" = set; then : | 2281 | if test "${with_libotf+set}" = set; then |
| 2718 | withval=$with_libotf; | 2282 | withval=$with_libotf; |
| 2719 | else | 2283 | else |
| 2720 | with_libotf=yes | 2284 | with_libotf=yes |
| @@ -2722,7 +2286,7 @@ fi | |||
| 2722 | 2286 | ||
| 2723 | 2287 | ||
| 2724 | # Check whether --with-m17n-flt was given. | 2288 | # Check whether --with-m17n-flt was given. |
| 2725 | if test "${with_m17n_flt+set}" = set; then : | 2289 | if test "${with_m17n_flt+set}" = set; then |
| 2726 | withval=$with_m17n_flt; | 2290 | withval=$with_m17n_flt; |
| 2727 | else | 2291 | else |
| 2728 | with_m17n_flt=yes | 2292 | with_m17n_flt=yes |
| @@ -2731,7 +2295,7 @@ fi | |||
| 2731 | 2295 | ||
| 2732 | 2296 | ||
| 2733 | # Check whether --with-toolkit-scroll-bars was given. | 2297 | # Check whether --with-toolkit-scroll-bars was given. |
| 2734 | if test "${with_toolkit_scroll_bars+set}" = set; then : | 2298 | if test "${with_toolkit_scroll_bars+set}" = set; then |
| 2735 | withval=$with_toolkit_scroll_bars; | 2299 | withval=$with_toolkit_scroll_bars; |
| 2736 | else | 2300 | else |
| 2737 | with_toolkit_scroll_bars=yes | 2301 | with_toolkit_scroll_bars=yes |
| @@ -2739,7 +2303,7 @@ fi | |||
| 2739 | 2303 | ||
| 2740 | 2304 | ||
| 2741 | # Check whether --with-xaw3d was given. | 2305 | # Check whether --with-xaw3d was given. |
| 2742 | if test "${with_xaw3d+set}" = set; then : | 2306 | if test "${with_xaw3d+set}" = set; then |
| 2743 | withval=$with_xaw3d; | 2307 | withval=$with_xaw3d; |
| 2744 | else | 2308 | else |
| 2745 | with_xaw3d=yes | 2309 | with_xaw3d=yes |
| @@ -2747,7 +2311,7 @@ fi | |||
| 2747 | 2311 | ||
| 2748 | 2312 | ||
| 2749 | # Check whether --with-xim was given. | 2313 | # Check whether --with-xim was given. |
| 2750 | if test "${with_xim+set}" = set; then : | 2314 | if test "${with_xim+set}" = set; then |
| 2751 | withval=$with_xim; | 2315 | withval=$with_xim; |
| 2752 | else | 2316 | else |
| 2753 | with_xim=yes | 2317 | with_xim=yes |
| @@ -2755,7 +2319,7 @@ fi | |||
| 2755 | 2319 | ||
| 2756 | 2320 | ||
| 2757 | # Check whether --with-ns was given. | 2321 | # Check whether --with-ns was given. |
| 2758 | if test "${with_ns+set}" = set; then : | 2322 | if test "${with_ns+set}" = set; then |
| 2759 | withval=$with_ns; | 2323 | withval=$with_ns; |
| 2760 | else | 2324 | else |
| 2761 | with_ns=no | 2325 | with_ns=no |
| @@ -2764,7 +2328,7 @@ fi | |||
| 2764 | 2328 | ||
| 2765 | 2329 | ||
| 2766 | # Check whether --with-gpm was given. | 2330 | # Check whether --with-gpm was given. |
| 2767 | if test "${with_gpm+set}" = set; then : | 2331 | if test "${with_gpm+set}" = set; then |
| 2768 | withval=$with_gpm; | 2332 | withval=$with_gpm; |
| 2769 | else | 2333 | else |
| 2770 | with_gpm=yes | 2334 | with_gpm=yes |
| @@ -2772,7 +2336,7 @@ fi | |||
| 2772 | 2336 | ||
| 2773 | 2337 | ||
| 2774 | # Check whether --with-dbus was given. | 2338 | # Check whether --with-dbus was given. |
| 2775 | if test "${with_dbus+set}" = set; then : | 2339 | if test "${with_dbus+set}" = set; then |
| 2776 | withval=$with_dbus; | 2340 | withval=$with_dbus; |
| 2777 | else | 2341 | else |
| 2778 | with_dbus=yes | 2342 | with_dbus=yes |
| @@ -2780,7 +2344,7 @@ fi | |||
| 2780 | 2344 | ||
| 2781 | 2345 | ||
| 2782 | # Check whether --with-gconf was given. | 2346 | # Check whether --with-gconf was given. |
| 2783 | if test "${with_gconf+set}" = set; then : | 2347 | if test "${with_gconf+set}" = set; then |
| 2784 | withval=$with_gconf; | 2348 | withval=$with_gconf; |
| 2785 | else | 2349 | else |
| 2786 | with_gconf=yes | 2350 | with_gconf=yes |
| @@ -2788,7 +2352,7 @@ fi | |||
| 2788 | 2352 | ||
| 2789 | 2353 | ||
| 2790 | # Check whether --with-selinux was given. | 2354 | # Check whether --with-selinux was given. |
| 2791 | if test "${with_selinux+set}" = set; then : | 2355 | if test "${with_selinux+set}" = set; then |
| 2792 | withval=$with_selinux; | 2356 | withval=$with_selinux; |
| 2793 | else | 2357 | else |
| 2794 | with_selinux=yes | 2358 | with_selinux=yes |
| @@ -2799,7 +2363,7 @@ fi | |||
| 2799 | ## a suitable makeinfo, and can live without the manuals. | 2363 | ## a suitable makeinfo, and can live without the manuals. |
| 2800 | 2364 | ||
| 2801 | # Check whether --with-makeinfo was given. | 2365 | # Check whether --with-makeinfo was given. |
| 2802 | if test "${with_makeinfo+set}" = set; then : | 2366 | if test "${with_makeinfo+set}" = set; then |
| 2803 | withval=$with_makeinfo; | 2367 | withval=$with_makeinfo; |
| 2804 | else | 2368 | else |
| 2805 | with_makeinfo=yes | 2369 | with_makeinfo=yes |
| @@ -2808,23 +2372,29 @@ fi | |||
| 2808 | 2372 | ||
| 2809 | 2373 | ||
| 2810 | # Check whether --with-gtk was given. | 2374 | # Check whether --with-gtk was given. |
| 2811 | if test "${with_gtk+set}" = set; then : | 2375 | if test "${with_gtk+set}" = set; then |
| 2812 | withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to | 2376 | withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to |
| 2813 | specify a toolkit." "$LINENO" 5 | 2377 | specify a toolkit." >&5 |
| 2378 | $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | ||
| 2379 | specify a toolkit." >&2;} | ||
| 2380 | { (exit 1); exit 1; }; } | ||
| 2814 | fi | 2381 | fi |
| 2815 | 2382 | ||
| 2816 | 2383 | ||
| 2817 | 2384 | ||
| 2818 | # Check whether --with-gcc was given. | 2385 | # Check whether --with-gcc was given. |
| 2819 | if test "${with_gcc+set}" = set; then : | 2386 | if test "${with_gcc+set}" = set; then |
| 2820 | withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment | 2387 | withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
| 2821 | variable to specify a compiler." "$LINENO" 5 | 2388 | variable to specify a compiler." >&5 |
| 2389 | $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | ||
| 2390 | variable to specify a compiler." >&2;} | ||
| 2391 | { (exit 1); exit 1; }; } | ||
| 2822 | fi | 2392 | fi |
| 2823 | 2393 | ||
| 2824 | 2394 | ||
| 2825 | 2395 | ||
| 2826 | # Check whether --with-pkg-config-prog was given. | 2396 | # Check whether --with-pkg-config-prog was given. |
| 2827 | if test "${with_pkg_config_prog+set}" = set; then : | 2397 | if test "${with_pkg_config_prog+set}" = set; then |
| 2828 | withval=$with_pkg_config_prog; | 2398 | withval=$with_pkg_config_prog; |
| 2829 | fi | 2399 | fi |
| 2830 | 2400 | ||
| @@ -2837,7 +2407,7 @@ fi | |||
| 2837 | CRT_DIR= | 2407 | CRT_DIR= |
| 2838 | 2408 | ||
| 2839 | # Check whether --with-crt-dir was given. | 2409 | # Check whether --with-crt-dir was given. |
| 2840 | if test "${with_crt_dir+set}" = set; then : | 2410 | if test "${with_crt_dir+set}" = set; then |
| 2841 | withval=$with_crt_dir; | 2411 | withval=$with_crt_dir; |
| 2842 | fi | 2412 | fi |
| 2843 | 2413 | ||
| @@ -2845,7 +2415,7 @@ CRT_DIR="${with_crt_dir}" | |||
| 2845 | 2415 | ||
| 2846 | 2416 | ||
| 2847 | # Check whether --with-gnustep-conf was given. | 2417 | # Check whether --with-gnustep-conf was given. |
| 2848 | if test "${with_gnustep_conf+set}" = set; then : | 2418 | if test "${with_gnustep_conf+set}" = set; then |
| 2849 | withval=$with_gnustep_conf; | 2419 | withval=$with_gnustep_conf; |
| 2850 | fi | 2420 | fi |
| 2851 | 2421 | ||
| @@ -2855,7 +2425,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | |||
| 2855 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2425 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
| 2856 | 2426 | ||
| 2857 | # Check whether --enable-ns-self-contained was given. | 2427 | # Check whether --enable-ns-self-contained was given. |
| 2858 | if test "${enable_ns_self_contained+set}" = set; then : | 2428 | if test "${enable_ns_self_contained+set}" = set; then |
| 2859 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2429 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
| 2860 | else | 2430 | else |
| 2861 | EN_NS_SELF_CONTAINED=yes | 2431 | EN_NS_SELF_CONTAINED=yes |
| @@ -2863,7 +2433,7 @@ fi | |||
| 2863 | 2433 | ||
| 2864 | 2434 | ||
| 2865 | # Check whether --enable-asserts was given. | 2435 | # Check whether --enable-asserts was given. |
| 2866 | if test "${enable_asserts+set}" = set; then : | 2436 | if test "${enable_asserts+set}" = set; then |
| 2867 | enableval=$enable_asserts; USE_XASSERTS=$enableval | 2437 | enableval=$enable_asserts; USE_XASSERTS=$enableval |
| 2868 | else | 2438 | else |
| 2869 | USE_XASSERTS=no | 2439 | USE_XASSERTS=no |
| @@ -2871,7 +2441,7 @@ fi | |||
| 2871 | 2441 | ||
| 2872 | 2442 | ||
| 2873 | # Check whether --enable-maintainer-mode was given. | 2443 | # Check whether --enable-maintainer-mode was given. |
| 2874 | if test "${enable_maintainer_mode+set}" = set; then : | 2444 | if test "${enable_maintainer_mode+set}" = set; then |
| 2875 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2445 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2876 | else | 2446 | else |
| 2877 | USE_MAINTAINER_MODE=no | 2447 | USE_MAINTAINER_MODE=no |
| @@ -2885,7 +2455,7 @@ fi | |||
| 2885 | 2455 | ||
| 2886 | 2456 | ||
| 2887 | # Check whether --enable-locallisppath was given. | 2457 | # Check whether --enable-locallisppath was given. |
| 2888 | if test "${enable_locallisppath+set}" = set; then : | 2458 | if test "${enable_locallisppath+set}" = set; then |
| 2889 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2459 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| 2890 | locallisppath= | 2460 | locallisppath= |
| 2891 | elif test "${enableval}" != "yes"; then | 2461 | elif test "${enableval}" != "yes"; then |
| @@ -2895,7 +2465,7 @@ fi | |||
| 2895 | 2465 | ||
| 2896 | 2466 | ||
| 2897 | # Check whether --enable-checking was given. | 2467 | # Check whether --enable-checking was given. |
| 2898 | if test "${enable_checking+set}" = set; then : | 2468 | if test "${enable_checking+set}" = set; then |
| 2899 | enableval=$enable_checking; ac_checking_flags="${enableval}" | 2469 | enableval=$enable_checking; ac_checking_flags="${enableval}" |
| 2900 | fi | 2470 | fi |
| 2901 | 2471 | ||
| @@ -2923,44 +2493,58 @@ do | |||
| 2923 | stringfreelist) ac_gc_check_string_free_list=1 ;; | 2493 | stringfreelist) ac_gc_check_string_free_list=1 ;; |
| 2924 | xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2494 | xmallocoverrun) ac_xmalloc_overrun=1 ;; |
| 2925 | conslist) ac_gc_check_cons_list=1 ;; | 2495 | conslist) ac_gc_check_cons_list=1 ;; |
| 2926 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2496 | *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 |
| 2497 | $as_echo "$as_me: error: unknown check category $check" >&2;} | ||
| 2498 | { (exit 1); exit 1; }; } ;; | ||
| 2927 | esac | 2499 | esac |
| 2928 | done | 2500 | done |
| 2929 | IFS="$ac_save_IFS" | 2501 | IFS="$ac_save_IFS" |
| 2930 | 2502 | ||
| 2931 | if test x$ac_enable_checking != x ; then | 2503 | if test x$ac_enable_checking != x ; then |
| 2932 | 2504 | ||
| 2933 | $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h | 2505 | cat >>confdefs.h <<\_ACEOF |
| 2506 | #define ENABLE_CHECKING 1 | ||
| 2507 | _ACEOF | ||
| 2934 | 2508 | ||
| 2935 | fi | 2509 | fi |
| 2936 | if test x$ac_gc_check_stringbytes != x ; then | 2510 | if test x$ac_gc_check_stringbytes != x ; then |
| 2937 | 2511 | ||
| 2938 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 2512 | cat >>confdefs.h <<\_ACEOF |
| 2513 | #define GC_CHECK_STRING_BYTES 1 | ||
| 2514 | _ACEOF | ||
| 2939 | 2515 | ||
| 2940 | fi | 2516 | fi |
| 2941 | if test x$ac_gc_check_stringoverrun != x ; then | 2517 | if test x$ac_gc_check_stringoverrun != x ; then |
| 2942 | 2518 | ||
| 2943 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 2519 | cat >>confdefs.h <<\_ACEOF |
| 2520 | #define GC_CHECK_STRING_OVERRUN 1 | ||
| 2521 | _ACEOF | ||
| 2944 | 2522 | ||
| 2945 | fi | 2523 | fi |
| 2946 | if test x$ac_gc_check_string_free_list != x ; then | 2524 | if test x$ac_gc_check_string_free_list != x ; then |
| 2947 | 2525 | ||
| 2948 | $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h | 2526 | cat >>confdefs.h <<\_ACEOF |
| 2527 | #define GC_CHECK_STRING_FREE_LIST 1 | ||
| 2528 | _ACEOF | ||
| 2949 | 2529 | ||
| 2950 | fi | 2530 | fi |
| 2951 | if test x$ac_xmalloc_overrun != x ; then | 2531 | if test x$ac_xmalloc_overrun != x ; then |
| 2952 | 2532 | ||
| 2953 | $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h | 2533 | cat >>confdefs.h <<\_ACEOF |
| 2534 | #define XMALLOC_OVERRUN_CHECK 1 | ||
| 2535 | _ACEOF | ||
| 2954 | 2536 | ||
| 2955 | fi | 2537 | fi |
| 2956 | if test x$ac_gc_check_cons_list != x ; then | 2538 | if test x$ac_gc_check_cons_list != x ; then |
| 2957 | 2539 | ||
| 2958 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 2540 | cat >>confdefs.h <<\_ACEOF |
| 2541 | #define GC_CHECK_CONS_LIST 1 | ||
| 2542 | _ACEOF | ||
| 2959 | 2543 | ||
| 2960 | fi | 2544 | fi |
| 2961 | 2545 | ||
| 2962 | # Check whether --enable-profiling was given. | 2546 | # Check whether --enable-profiling was given. |
| 2963 | if test "${enable_profiling+set}" = set; then : | 2547 | if test "${enable_profiling+set}" = set; then |
| 2964 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2548 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
| 2965 | fi | 2549 | fi |
| 2966 | 2550 | ||
| @@ -2973,7 +2557,7 @@ else | |||
| 2973 | fi | 2557 | fi |
| 2974 | 2558 | ||
| 2975 | # Check whether --enable-autodepend was given. | 2559 | # Check whether --enable-autodepend was given. |
| 2976 | if test "${enable_autodepend+set}" = set; then : | 2560 | if test "${enable_autodepend+set}" = set; then |
| 2977 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2561 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
| 2978 | else | 2562 | else |
| 2979 | ac_enable_autodepend=yes | 2563 | ac_enable_autodepend=yes |
| @@ -3007,7 +2591,7 @@ esac | |||
| 3007 | #### Check if the source directory already has a configured system in it. | 2591 | #### Check if the source directory already has a configured system in it. |
| 3008 | if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2592 | if test `pwd` != `(cd ${srcdir} && pwd)` \ |
| 3009 | && test -f "${srcdir}/src/config.h" ; then | 2593 | && test -f "${srcdir}/src/config.h" ; then |
| 3010 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used | 2594 | { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used |
| 3011 | as a build directory right now; it has been configured in its own | 2595 | as a build directory right now; it has been configured in its own |
| 3012 | right. To configure in another directory as well, you MUST | 2596 | right. To configure in another directory as well, you MUST |
| 3013 | use GNU make. If you do not have GNU make, then you must | 2597 | use GNU make. If you do not have GNU make, then you must |
| @@ -3028,16 +2612,24 @@ fi | |||
| 3028 | 2612 | ||
| 3029 | ac_aux_dir= | 2613 | ac_aux_dir= |
| 3030 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2614 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 3031 | for ac_t in install-sh install.sh shtool; do | 2615 | if test -f "$ac_dir/install-sh"; then |
| 3032 | if test -f "$ac_dir/$ac_t"; then | 2616 | ac_aux_dir=$ac_dir |
| 3033 | ac_aux_dir=$ac_dir | 2617 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 3034 | ac_install_sh="$ac_aux_dir/$ac_t -c" | 2618 | break |
| 3035 | break 2 | 2619 | elif test -f "$ac_dir/install.sh"; then |
| 3036 | fi | 2620 | ac_aux_dir=$ac_dir |
| 3037 | done | 2621 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2622 | break | ||
| 2623 | elif test -f "$ac_dir/shtool"; then | ||
| 2624 | ac_aux_dir=$ac_dir | ||
| 2625 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2626 | break | ||
| 2627 | fi | ||
| 3038 | done | 2628 | done |
| 3039 | if test -z "$ac_aux_dir"; then | 2629 | if test -z "$ac_aux_dir"; then |
| 3040 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2630 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 2631 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
| 2632 | { (exit 1); exit 1; }; } | ||
| 3041 | fi | 2633 | fi |
| 3042 | 2634 | ||
| 3043 | # These three variables are undocumented and unsupported, | 2635 | # These three variables are undocumented and unsupported, |
| @@ -3051,27 +2643,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
| 3051 | 2643 | ||
| 3052 | # Make sure we can run config.sub. | 2644 | # Make sure we can run config.sub. |
| 3053 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2645 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 3054 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2646 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 2647 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
| 2648 | { (exit 1); exit 1; }; } | ||
| 3055 | 2649 | ||
| 3056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2650 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| 3057 | $as_echo_n "checking build system type... " >&6; } | 2651 | $as_echo_n "checking build system type... " >&6; } |
| 3058 | if test "${ac_cv_build+set}" = set; then : | 2652 | if test "${ac_cv_build+set}" = set; then |
| 3059 | $as_echo_n "(cached) " >&6 | 2653 | $as_echo_n "(cached) " >&6 |
| 3060 | else | 2654 | else |
| 3061 | ac_build_alias=$build_alias | 2655 | ac_build_alias=$build_alias |
| 3062 | test "x$ac_build_alias" = x && | 2656 | test "x$ac_build_alias" = x && |
| 3063 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2657 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 3064 | test "x$ac_build_alias" = x && | 2658 | test "x$ac_build_alias" = x && |
| 3065 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2659 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 2660 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
| 2661 | { (exit 1); exit 1; }; } | ||
| 3066 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2662 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 3067 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2663 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 2664 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
| 2665 | { (exit 1); exit 1; }; } | ||
| 3068 | 2666 | ||
| 3069 | fi | 2667 | fi |
| 3070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2668 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 3071 | $as_echo "$ac_cv_build" >&6; } | 2669 | $as_echo "$ac_cv_build" >&6; } |
| 3072 | case $ac_cv_build in | 2670 | case $ac_cv_build in |
| 3073 | *-*-*) ;; | 2671 | *-*-*) ;; |
| 3074 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2672 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 2673 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
| 2674 | { (exit 1); exit 1; }; };; | ||
| 3075 | esac | 2675 | esac |
| 3076 | build=$ac_cv_build | 2676 | build=$ac_cv_build |
| 3077 | ac_save_IFS=$IFS; IFS='-' | 2677 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3087,24 +2687,28 @@ IFS=$ac_save_IFS | |||
| 3087 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2687 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3088 | 2688 | ||
| 3089 | 2689 | ||
| 3090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2690 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| 3091 | $as_echo_n "checking host system type... " >&6; } | 2691 | $as_echo_n "checking host system type... " >&6; } |
| 3092 | if test "${ac_cv_host+set}" = set; then : | 2692 | if test "${ac_cv_host+set}" = set; then |
| 3093 | $as_echo_n "(cached) " >&6 | 2693 | $as_echo_n "(cached) " >&6 |
| 3094 | else | 2694 | else |
| 3095 | if test "x$host_alias" = x; then | 2695 | if test "x$host_alias" = x; then |
| 3096 | ac_cv_host=$ac_cv_build | 2696 | ac_cv_host=$ac_cv_build |
| 3097 | else | 2697 | else |
| 3098 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2698 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 3099 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2699 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 2700 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
| 2701 | { (exit 1); exit 1; }; } | ||
| 3100 | fi | 2702 | fi |
| 3101 | 2703 | ||
| 3102 | fi | 2704 | fi |
| 3103 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2705 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 3104 | $as_echo "$ac_cv_host" >&6; } | 2706 | $as_echo "$ac_cv_host" >&6; } |
| 3105 | case $ac_cv_host in | 2707 | case $ac_cv_host in |
| 3106 | *-*-*) ;; | 2708 | *-*-*) ;; |
| 3107 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2709 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 2710 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
| 2711 | { (exit 1); exit 1; }; };; | ||
| 3108 | esac | 2712 | esac |
| 3109 | host=$ac_cv_host | 2713 | host=$ac_cv_host |
| 3110 | ac_save_IFS=$IFS; IFS='-' | 2714 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3403,8 +3007,11 @@ fi | |||
| 3403 | 3007 | ||
| 3404 | 3008 | ||
| 3405 | if test $unported = yes; then | 3009 | if test $unported = yes; then |
| 3406 | as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3010 | { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. |
| 3407 | Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3011 | Check \`etc/MACHINES' for recognized configuration names." >&5 |
| 3012 | $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | ||
| 3013 | Check \`etc/MACHINES' for recognized configuration names." >&2;} | ||
| 3014 | { (exit 1); exit 1; }; } | ||
| 3408 | fi | 3015 | fi |
| 3409 | 3016 | ||
| 3410 | machfile="m/${machine}.h" | 3017 | machfile="m/${machine}.h" |
| @@ -3425,9 +3032,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 3425 | if test -n "$ac_tool_prefix"; then | 3032 | if test -n "$ac_tool_prefix"; then |
| 3426 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3033 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3427 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3034 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3428 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3035 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3429 | $as_echo_n "checking for $ac_word... " >&6; } | 3036 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3430 | if test "${ac_cv_prog_CC+set}" = set; then : | 3037 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3431 | $as_echo_n "(cached) " >&6 | 3038 | $as_echo_n "(cached) " >&6 |
| 3432 | else | 3039 | else |
| 3433 | if test -n "$CC"; then | 3040 | if test -n "$CC"; then |
| @@ -3438,24 +3045,24 @@ for as_dir in $PATH | |||
| 3438 | do | 3045 | do |
| 3439 | IFS=$as_save_IFS | 3046 | IFS=$as_save_IFS |
| 3440 | test -z "$as_dir" && as_dir=. | 3047 | test -z "$as_dir" && as_dir=. |
| 3441 | for ac_exec_ext in '' $ac_executable_extensions; do | 3048 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3442 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3049 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3443 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3050 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3444 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3051 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3445 | break 2 | 3052 | break 2 |
| 3446 | fi | 3053 | fi |
| 3447 | done | 3054 | done |
| 3448 | done | 3055 | done |
| 3449 | IFS=$as_save_IFS | 3056 | IFS=$as_save_IFS |
| 3450 | 3057 | ||
| 3451 | fi | 3058 | fi |
| 3452 | fi | 3059 | fi |
| 3453 | CC=$ac_cv_prog_CC | 3060 | CC=$ac_cv_prog_CC |
| 3454 | if test -n "$CC"; then | 3061 | if test -n "$CC"; then |
| 3455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3062 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3456 | $as_echo "$CC" >&6; } | 3063 | $as_echo "$CC" >&6; } |
| 3457 | else | 3064 | else |
| 3458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3065 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3459 | $as_echo "no" >&6; } | 3066 | $as_echo "no" >&6; } |
| 3460 | fi | 3067 | fi |
| 3461 | 3068 | ||
| @@ -3465,9 +3072,9 @@ if test -z "$ac_cv_prog_CC"; then | |||
| 3465 | ac_ct_CC=$CC | 3072 | ac_ct_CC=$CC |
| 3466 | # Extract the first word of "gcc", so it can be a program name with args. | 3073 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3467 | set dummy gcc; ac_word=$2 | 3074 | set dummy gcc; ac_word=$2 |
| 3468 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3075 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3469 | $as_echo_n "checking for $ac_word... " >&6; } | 3076 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3470 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3077 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3471 | $as_echo_n "(cached) " >&6 | 3078 | $as_echo_n "(cached) " >&6 |
| 3472 | else | 3079 | else |
| 3473 | if test -n "$ac_ct_CC"; then | 3080 | if test -n "$ac_ct_CC"; then |
| @@ -3478,24 +3085,24 @@ for as_dir in $PATH | |||
| 3478 | do | 3085 | do |
| 3479 | IFS=$as_save_IFS | 3086 | IFS=$as_save_IFS |
| 3480 | test -z "$as_dir" && as_dir=. | 3087 | test -z "$as_dir" && as_dir=. |
| 3481 | for ac_exec_ext in '' $ac_executable_extensions; do | 3088 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3482 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3089 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3483 | ac_cv_prog_ac_ct_CC="gcc" | 3090 | ac_cv_prog_ac_ct_CC="gcc" |
| 3484 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3091 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3485 | break 2 | 3092 | break 2 |
| 3486 | fi | 3093 | fi |
| 3487 | done | 3094 | done |
| 3488 | done | 3095 | done |
| 3489 | IFS=$as_save_IFS | 3096 | IFS=$as_save_IFS |
| 3490 | 3097 | ||
| 3491 | fi | 3098 | fi |
| 3492 | fi | 3099 | fi |
| 3493 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3100 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3494 | if test -n "$ac_ct_CC"; then | 3101 | if test -n "$ac_ct_CC"; then |
| 3495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3102 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3496 | $as_echo "$ac_ct_CC" >&6; } | 3103 | $as_echo "$ac_ct_CC" >&6; } |
| 3497 | else | 3104 | else |
| 3498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3105 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3499 | $as_echo "no" >&6; } | 3106 | $as_echo "no" >&6; } |
| 3500 | fi | 3107 | fi |
| 3501 | 3108 | ||
| @@ -3504,8 +3111,12 @@ fi | |||
| 3504 | else | 3111 | else |
| 3505 | case $cross_compiling:$ac_tool_warned in | 3112 | case $cross_compiling:$ac_tool_warned in |
| 3506 | yes:) | 3113 | yes:) |
| 3507 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3114 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3508 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3115 | whose name does not start with the host triplet. If you think this |
| 3116 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3117 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3118 | whose name does not start with the host triplet. If you think this | ||
| 3119 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3509 | ac_tool_warned=yes ;; | 3120 | ac_tool_warned=yes ;; |
| 3510 | esac | 3121 | esac |
| 3511 | CC=$ac_ct_CC | 3122 | CC=$ac_ct_CC |
| @@ -3518,9 +3129,9 @@ if test -z "$CC"; then | |||
| 3518 | if test -n "$ac_tool_prefix"; then | 3129 | if test -n "$ac_tool_prefix"; then |
| 3519 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3130 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3520 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3131 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3132 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3522 | $as_echo_n "checking for $ac_word... " >&6; } | 3133 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3523 | if test "${ac_cv_prog_CC+set}" = set; then : | 3134 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3524 | $as_echo_n "(cached) " >&6 | 3135 | $as_echo_n "(cached) " >&6 |
| 3525 | else | 3136 | else |
| 3526 | if test -n "$CC"; then | 3137 | if test -n "$CC"; then |
| @@ -3531,24 +3142,24 @@ for as_dir in $PATH | |||
| 3531 | do | 3142 | do |
| 3532 | IFS=$as_save_IFS | 3143 | IFS=$as_save_IFS |
| 3533 | test -z "$as_dir" && as_dir=. | 3144 | test -z "$as_dir" && as_dir=. |
| 3534 | for ac_exec_ext in '' $ac_executable_extensions; do | 3145 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3535 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3146 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3536 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3147 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3537 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3148 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3538 | break 2 | 3149 | break 2 |
| 3539 | fi | 3150 | fi |
| 3540 | done | 3151 | done |
| 3541 | done | 3152 | done |
| 3542 | IFS=$as_save_IFS | 3153 | IFS=$as_save_IFS |
| 3543 | 3154 | ||
| 3544 | fi | 3155 | fi |
| 3545 | fi | 3156 | fi |
| 3546 | CC=$ac_cv_prog_CC | 3157 | CC=$ac_cv_prog_CC |
| 3547 | if test -n "$CC"; then | 3158 | if test -n "$CC"; then |
| 3548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3159 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3549 | $as_echo "$CC" >&6; } | 3160 | $as_echo "$CC" >&6; } |
| 3550 | else | 3161 | else |
| 3551 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3162 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3552 | $as_echo "no" >&6; } | 3163 | $as_echo "no" >&6; } |
| 3553 | fi | 3164 | fi |
| 3554 | 3165 | ||
| @@ -3558,9 +3169,9 @@ fi | |||
| 3558 | if test -z "$CC"; then | 3169 | if test -z "$CC"; then |
| 3559 | # Extract the first word of "cc", so it can be a program name with args. | 3170 | # Extract the first word of "cc", so it can be a program name with args. |
| 3560 | set dummy cc; ac_word=$2 | 3171 | set dummy cc; ac_word=$2 |
| 3561 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3172 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3562 | $as_echo_n "checking for $ac_word... " >&6; } | 3173 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3563 | if test "${ac_cv_prog_CC+set}" = set; then : | 3174 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3564 | $as_echo_n "(cached) " >&6 | 3175 | $as_echo_n "(cached) " >&6 |
| 3565 | else | 3176 | else |
| 3566 | if test -n "$CC"; then | 3177 | if test -n "$CC"; then |
| @@ -3572,18 +3183,18 @@ for as_dir in $PATH | |||
| 3572 | do | 3183 | do |
| 3573 | IFS=$as_save_IFS | 3184 | IFS=$as_save_IFS |
| 3574 | test -z "$as_dir" && as_dir=. | 3185 | test -z "$as_dir" && as_dir=. |
| 3575 | for ac_exec_ext in '' $ac_executable_extensions; do | 3186 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3576 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3187 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3577 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3188 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3578 | ac_prog_rejected=yes | 3189 | ac_prog_rejected=yes |
| 3579 | continue | 3190 | continue |
| 3580 | fi | 3191 | fi |
| 3581 | ac_cv_prog_CC="cc" | 3192 | ac_cv_prog_CC="cc" |
| 3582 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3193 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3583 | break 2 | 3194 | break 2 |
| 3584 | fi | 3195 | fi |
| 3585 | done | 3196 | done |
| 3586 | done | 3197 | done |
| 3587 | IFS=$as_save_IFS | 3198 | IFS=$as_save_IFS |
| 3588 | 3199 | ||
| 3589 | if test $ac_prog_rejected = yes; then | 3200 | if test $ac_prog_rejected = yes; then |
| @@ -3602,10 +3213,10 @@ fi | |||
| 3602 | fi | 3213 | fi |
| 3603 | CC=$ac_cv_prog_CC | 3214 | CC=$ac_cv_prog_CC |
| 3604 | if test -n "$CC"; then | 3215 | if test -n "$CC"; then |
| 3605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3216 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3606 | $as_echo "$CC" >&6; } | 3217 | $as_echo "$CC" >&6; } |
| 3607 | else | 3218 | else |
| 3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3219 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3609 | $as_echo "no" >&6; } | 3220 | $as_echo "no" >&6; } |
| 3610 | fi | 3221 | fi |
| 3611 | 3222 | ||
| @@ -3617,9 +3228,9 @@ if test -z "$CC"; then | |||
| 3617 | do | 3228 | do |
| 3618 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3229 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3619 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3230 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3620 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3231 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3621 | $as_echo_n "checking for $ac_word... " >&6; } | 3232 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3622 | if test "${ac_cv_prog_CC+set}" = set; then : | 3233 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3623 | $as_echo_n "(cached) " >&6 | 3234 | $as_echo_n "(cached) " >&6 |
| 3624 | else | 3235 | else |
| 3625 | if test -n "$CC"; then | 3236 | if test -n "$CC"; then |
| @@ -3630,24 +3241,24 @@ for as_dir in $PATH | |||
| 3630 | do | 3241 | do |
| 3631 | IFS=$as_save_IFS | 3242 | IFS=$as_save_IFS |
| 3632 | test -z "$as_dir" && as_dir=. | 3243 | test -z "$as_dir" && as_dir=. |
| 3633 | for ac_exec_ext in '' $ac_executable_extensions; do | 3244 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3634 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3245 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3635 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3246 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3636 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3247 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3637 | break 2 | 3248 | break 2 |
| 3638 | fi | 3249 | fi |
| 3639 | done | 3250 | done |
| 3640 | done | 3251 | done |
| 3641 | IFS=$as_save_IFS | 3252 | IFS=$as_save_IFS |
| 3642 | 3253 | ||
| 3643 | fi | 3254 | fi |
| 3644 | fi | 3255 | fi |
| 3645 | CC=$ac_cv_prog_CC | 3256 | CC=$ac_cv_prog_CC |
| 3646 | if test -n "$CC"; then | 3257 | if test -n "$CC"; then |
| 3647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3258 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3648 | $as_echo "$CC" >&6; } | 3259 | $as_echo "$CC" >&6; } |
| 3649 | else | 3260 | else |
| 3650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3261 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3651 | $as_echo "no" >&6; } | 3262 | $as_echo "no" >&6; } |
| 3652 | fi | 3263 | fi |
| 3653 | 3264 | ||
| @@ -3661,9 +3272,9 @@ if test -z "$CC"; then | |||
| 3661 | do | 3272 | do |
| 3662 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3273 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3663 | set dummy $ac_prog; ac_word=$2 | 3274 | set dummy $ac_prog; ac_word=$2 |
| 3664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3275 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3665 | $as_echo_n "checking for $ac_word... " >&6; } | 3276 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3666 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3277 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3667 | $as_echo_n "(cached) " >&6 | 3278 | $as_echo_n "(cached) " >&6 |
| 3668 | else | 3279 | else |
| 3669 | if test -n "$ac_ct_CC"; then | 3280 | if test -n "$ac_ct_CC"; then |
| @@ -3674,24 +3285,24 @@ for as_dir in $PATH | |||
| 3674 | do | 3285 | do |
| 3675 | IFS=$as_save_IFS | 3286 | IFS=$as_save_IFS |
| 3676 | test -z "$as_dir" && as_dir=. | 3287 | test -z "$as_dir" && as_dir=. |
| 3677 | for ac_exec_ext in '' $ac_executable_extensions; do | 3288 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3678 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3289 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3679 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3290 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3680 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3291 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3681 | break 2 | 3292 | break 2 |
| 3682 | fi | 3293 | fi |
| 3683 | done | 3294 | done |
| 3684 | done | 3295 | done |
| 3685 | IFS=$as_save_IFS | 3296 | IFS=$as_save_IFS |
| 3686 | 3297 | ||
| 3687 | fi | 3298 | fi |
| 3688 | fi | 3299 | fi |
| 3689 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3300 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3690 | if test -n "$ac_ct_CC"; then | 3301 | if test -n "$ac_ct_CC"; then |
| 3691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3302 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3692 | $as_echo "$ac_ct_CC" >&6; } | 3303 | $as_echo "$ac_ct_CC" >&6; } |
| 3693 | else | 3304 | else |
| 3694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3305 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3695 | $as_echo "no" >&6; } | 3306 | $as_echo "no" >&6; } |
| 3696 | fi | 3307 | fi |
| 3697 | 3308 | ||
| @@ -3704,8 +3315,12 @@ done | |||
| 3704 | else | 3315 | else |
| 3705 | case $cross_compiling:$ac_tool_warned in | 3316 | case $cross_compiling:$ac_tool_warned in |
| 3706 | yes:) | 3317 | yes:) |
| 3707 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3318 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3708 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3319 | whose name does not start with the host triplet. If you think this |
| 3320 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3321 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3322 | whose name does not start with the host triplet. If you think this | ||
| 3323 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3709 | ac_tool_warned=yes ;; | 3324 | ac_tool_warned=yes ;; |
| 3710 | esac | 3325 | esac |
| 3711 | CC=$ac_ct_CC | 3326 | CC=$ac_ct_CC |
| @@ -3715,37 +3330,55 @@ fi | |||
| 3715 | fi | 3330 | fi |
| 3716 | 3331 | ||
| 3717 | 3332 | ||
| 3718 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3333 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3719 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3334 | See \`config.log' for more details." >&5 |
| 3720 | as_fn_error "no acceptable C compiler found in \$PATH | 3335 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3721 | See \`config.log' for more details." "$LINENO" 5; } | 3336 | See \`config.log' for more details." >&2;} |
| 3337 | { (exit 1); exit 1; }; } | ||
| 3722 | 3338 | ||
| 3723 | # Provide some information about the compiler. | 3339 | # Provide some information about the compiler. |
| 3724 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3340 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 3725 | set X $ac_compile | 3341 | set X $ac_compile |
| 3726 | ac_compiler=$2 | 3342 | ac_compiler=$2 |
| 3727 | for ac_option in --version -v -V -qversion; do | 3343 | { (ac_try="$ac_compiler --version >&5" |
| 3728 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 3729 | case "(($ac_try" in | 3344 | case "(($ac_try" in |
| 3730 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3731 | *) ac_try_echo=$ac_try;; | 3346 | *) ac_try_echo=$ac_try;; |
| 3732 | esac | 3347 | esac |
| 3733 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3348 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3734 | $as_echo "$ac_try_echo"; } >&5 | 3349 | $as_echo "$ac_try_echo") >&5 |
| 3735 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3350 | (eval "$ac_compiler --version >&5") 2>&5 |
| 3736 | ac_status=$? | 3351 | ac_status=$? |
| 3737 | if test -s conftest.err; then | 3352 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3738 | sed '10a\ | 3353 | (exit $ac_status); } |
| 3739 | ... rest of stderr output deleted ... | 3354 | { (ac_try="$ac_compiler -v >&5" |
| 3740 | 10q' conftest.err >conftest.er1 | 3355 | case "(($ac_try" in |
| 3741 | cat conftest.er1 >&5 | 3356 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3742 | fi | 3357 | *) ac_try_echo=$ac_try;; |
| 3743 | rm -f conftest.er1 conftest.err | 3358 | esac |
| 3744 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3359 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3745 | test $ac_status = 0; } | 3360 | $as_echo "$ac_try_echo") >&5 |
| 3746 | done | 3361 | (eval "$ac_compiler -v >&5") 2>&5 |
| 3362 | ac_status=$? | ||
| 3363 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3364 | (exit $ac_status); } | ||
| 3365 | { (ac_try="$ac_compiler -V >&5" | ||
| 3366 | case "(($ac_try" in | ||
| 3367 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3368 | *) ac_try_echo=$ac_try;; | ||
| 3369 | esac | ||
| 3370 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3371 | $as_echo "$ac_try_echo") >&5 | ||
| 3372 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 3373 | ac_status=$? | ||
| 3374 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3375 | (exit $ac_status); } | ||
| 3747 | 3376 | ||
| 3748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3377 | cat >conftest.$ac_ext <<_ACEOF |
| 3378 | /* confdefs.h. */ | ||
| 3379 | _ACEOF | ||
| 3380 | cat confdefs.h >>conftest.$ac_ext | ||
| 3381 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3749 | /* end confdefs.h. */ | 3382 | /* end confdefs.h. */ |
| 3750 | 3383 | ||
| 3751 | int | 3384 | int |
| @@ -3761,8 +3394,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |||
| 3761 | # Try to create an executable without -o first, disregard a.out. | 3394 | # Try to create an executable without -o first, disregard a.out. |
| 3762 | # It will help us diagnose broken compilers, and finding out an intuition | 3395 | # It will help us diagnose broken compilers, and finding out an intuition |
| 3763 | # of exeext. | 3396 | # of exeext. |
| 3764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3397 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 3765 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3398 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3766 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3399 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3767 | 3400 | ||
| 3768 | # The possible output files: | 3401 | # The possible output files: |
| @@ -3778,17 +3411,17 @@ do | |||
| 3778 | done | 3411 | done |
| 3779 | rm -f $ac_rmfiles | 3412 | rm -f $ac_rmfiles |
| 3780 | 3413 | ||
| 3781 | if { { ac_try="$ac_link_default" | 3414 | if { (ac_try="$ac_link_default" |
| 3782 | case "(($ac_try" in | 3415 | case "(($ac_try" in |
| 3783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3416 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3784 | *) ac_try_echo=$ac_try;; | 3417 | *) ac_try_echo=$ac_try;; |
| 3785 | esac | 3418 | esac |
| 3786 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3419 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3787 | $as_echo "$ac_try_echo"; } >&5 | 3420 | $as_echo "$ac_try_echo") >&5 |
| 3788 | (eval "$ac_link_default") 2>&5 | 3421 | (eval "$ac_link_default") 2>&5 |
| 3789 | ac_status=$? | 3422 | ac_status=$? |
| 3790 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3423 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3791 | test $ac_status = 0; }; then : | 3424 | (exit $ac_status); }; then |
| 3792 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3425 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3793 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3426 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3794 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3427 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| @@ -3805,7 +3438,7 @@ do | |||
| 3805 | # certainly right. | 3438 | # certainly right. |
| 3806 | break;; | 3439 | break;; |
| 3807 | *.* ) | 3440 | *.* ) |
| 3808 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3441 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3809 | then :; else | 3442 | then :; else |
| 3810 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3443 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3811 | fi | 3444 | fi |
| @@ -3824,42 +3457,80 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
| 3824 | else | 3457 | else |
| 3825 | ac_file='' | 3458 | ac_file='' |
| 3826 | fi | 3459 | fi |
| 3827 | if test -z "$ac_file"; then : | 3460 | |
| 3828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3461 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 3829 | $as_echo "no" >&6; } | 3462 | $as_echo "$ac_file" >&6; } |
| 3830 | $as_echo "$as_me: failed program was:" >&5 | 3463 | if test -z "$ac_file"; then |
| 3464 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3831 | sed 's/^/| /' conftest.$ac_ext >&5 | 3465 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3832 | 3466 | ||
| 3833 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3467 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 3834 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3468 | See \`config.log' for more details." >&5 |
| 3835 | { as_fn_set_status 77 | 3469 | $as_echo "$as_me: error: C compiler cannot create executables |
| 3836 | as_fn_error "C compiler cannot create executables | 3470 | See \`config.log' for more details." >&2;} |
| 3837 | See \`config.log' for more details." "$LINENO" 5; }; } | 3471 | { (exit 77); exit 77; }; } |
| 3838 | else | ||
| 3839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3840 | $as_echo "yes" >&6; } | ||
| 3841 | fi | 3472 | fi |
| 3842 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3473 | |
| 3843 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
| 3844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 3845 | $as_echo "$ac_file" >&6; } | ||
| 3846 | ac_exeext=$ac_cv_exeext | 3474 | ac_exeext=$ac_cv_exeext |
| 3847 | 3475 | ||
| 3476 | # Check that the compiler produces executables we can run. If not, either | ||
| 3477 | # the compiler is broken, or we cross compile. | ||
| 3478 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
| 3479 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
| 3480 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
| 3481 | # If not cross compiling, check that we can run a simple program. | ||
| 3482 | if test "$cross_compiling" != yes; then | ||
| 3483 | if { ac_try='./$ac_file' | ||
| 3484 | { (case "(($ac_try" in | ||
| 3485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3486 | *) ac_try_echo=$ac_try;; | ||
| 3487 | esac | ||
| 3488 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3489 | $as_echo "$ac_try_echo") >&5 | ||
| 3490 | (eval "$ac_try") 2>&5 | ||
| 3491 | ac_status=$? | ||
| 3492 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3493 | (exit $ac_status); }; }; then | ||
| 3494 | cross_compiling=no | ||
| 3495 | else | ||
| 3496 | if test "$cross_compiling" = maybe; then | ||
| 3497 | cross_compiling=yes | ||
| 3498 | else | ||
| 3499 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
| 3500 | If you meant to cross compile, use \`--host'. | ||
| 3501 | See \`config.log' for more details." >&5 | ||
| 3502 | $as_echo "$as_me: error: cannot run C compiled programs. | ||
| 3503 | If you meant to cross compile, use \`--host'. | ||
| 3504 | See \`config.log' for more details." >&2;} | ||
| 3505 | { (exit 1); exit 1; }; } | ||
| 3506 | fi | ||
| 3507 | fi | ||
| 3508 | fi | ||
| 3509 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 3510 | $as_echo "yes" >&6; } | ||
| 3511 | |||
| 3848 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3512 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3849 | ac_clean_files=$ac_clean_files_save | 3513 | ac_clean_files=$ac_clean_files_save |
| 3850 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3514 | # Check that the compiler produces executables we can run. If not, either |
| 3515 | # the compiler is broken, or we cross compile. | ||
| 3516 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
| 3517 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3518 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
| 3519 | $as_echo "$cross_compiling" >&6; } | ||
| 3520 | |||
| 3521 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
| 3851 | $as_echo_n "checking for suffix of executables... " >&6; } | 3522 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 3852 | if { { ac_try="$ac_link" | 3523 | if { (ac_try="$ac_link" |
| 3853 | case "(($ac_try" in | 3524 | case "(($ac_try" in |
| 3854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3855 | *) ac_try_echo=$ac_try;; | 3526 | *) ac_try_echo=$ac_try;; |
| 3856 | esac | 3527 | esac |
| 3857 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3528 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3858 | $as_echo "$ac_try_echo"; } >&5 | 3529 | $as_echo "$ac_try_echo") >&5 |
| 3859 | (eval "$ac_link") 2>&5 | 3530 | (eval "$ac_link") 2>&5 |
| 3860 | ac_status=$? | 3531 | ac_status=$? |
| 3861 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3532 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3862 | test $ac_status = 0; }; then : | 3533 | (exit $ac_status); }; then |
| 3863 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3534 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3864 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3535 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3865 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3536 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| @@ -3874,83 +3545,30 @@ for ac_file in conftest.exe conftest conftest.*; do | |||
| 3874 | esac | 3545 | esac |
| 3875 | done | 3546 | done |
| 3876 | else | 3547 | else |
| 3877 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3548 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 3878 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3549 | See \`config.log' for more details." >&5 |
| 3879 | as_fn_error "cannot compute suffix of executables: cannot compile and link | 3550 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 3880 | See \`config.log' for more details." "$LINENO" 5; } | 3551 | See \`config.log' for more details." >&2;} |
| 3552 | { (exit 1); exit 1; }; } | ||
| 3881 | fi | 3553 | fi |
| 3882 | rm -f conftest conftest$ac_cv_exeext | 3554 | |
| 3883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3555 | rm -f conftest$ac_cv_exeext |
| 3556 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
| 3884 | $as_echo "$ac_cv_exeext" >&6; } | 3557 | $as_echo "$ac_cv_exeext" >&6; } |
| 3885 | 3558 | ||
| 3886 | rm -f conftest.$ac_ext | 3559 | rm -f conftest.$ac_ext |
| 3887 | EXEEXT=$ac_cv_exeext | 3560 | EXEEXT=$ac_cv_exeext |
| 3888 | ac_exeext=$EXEEXT | 3561 | ac_exeext=$EXEEXT |
| 3889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3562 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3890 | /* end confdefs.h. */ | ||
| 3891 | #include <stdio.h> | ||
| 3892 | int | ||
| 3893 | main () | ||
| 3894 | { | ||
| 3895 | FILE *f = fopen ("conftest.out", "w"); | ||
| 3896 | return ferror (f) || fclose (f) != 0; | ||
| 3897 | |||
| 3898 | ; | ||
| 3899 | return 0; | ||
| 3900 | } | ||
| 3901 | _ACEOF | ||
| 3902 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 3903 | # Check that the compiler produces executables we can run. If not, either | ||
| 3904 | # the compiler is broken, or we cross compile. | ||
| 3905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 3906 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3907 | if test "$cross_compiling" != yes; then | ||
| 3908 | { { ac_try="$ac_link" | ||
| 3909 | case "(($ac_try" in | ||
| 3910 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3911 | *) ac_try_echo=$ac_try;; | ||
| 3912 | esac | ||
| 3913 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3914 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3915 | (eval "$ac_link") 2>&5 | ||
| 3916 | ac_status=$? | ||
| 3917 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3918 | test $ac_status = 0; } | ||
| 3919 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 3920 | { { case "(($ac_try" in | ||
| 3921 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3922 | *) ac_try_echo=$ac_try;; | ||
| 3923 | esac | ||
| 3924 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3925 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3926 | (eval "$ac_try") 2>&5 | ||
| 3927 | ac_status=$? | ||
| 3928 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3929 | test $ac_status = 0; }; }; then | ||
| 3930 | cross_compiling=no | ||
| 3931 | else | ||
| 3932 | if test "$cross_compiling" = maybe; then | ||
| 3933 | cross_compiling=yes | ||
| 3934 | else | ||
| 3935 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3936 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3937 | as_fn_error "cannot run C compiled programs. | ||
| 3938 | If you meant to cross compile, use \`--host'. | ||
| 3939 | See \`config.log' for more details." "$LINENO" 5; } | ||
| 3940 | fi | ||
| 3941 | fi | ||
| 3942 | fi | ||
| 3943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 3944 | $as_echo "$cross_compiling" >&6; } | ||
| 3945 | |||
| 3946 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 3947 | ac_clean_files=$ac_clean_files_save | ||
| 3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 3949 | $as_echo_n "checking for suffix of object files... " >&6; } | 3563 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 3950 | if test "${ac_cv_objext+set}" = set; then : | 3564 | if test "${ac_cv_objext+set}" = set; then |
| 3951 | $as_echo_n "(cached) " >&6 | 3565 | $as_echo_n "(cached) " >&6 |
| 3952 | else | 3566 | else |
| 3953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3567 | cat >conftest.$ac_ext <<_ACEOF |
| 3568 | /* confdefs.h. */ | ||
| 3569 | _ACEOF | ||
| 3570 | cat confdefs.h >>conftest.$ac_ext | ||
| 3571 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3954 | /* end confdefs.h. */ | 3572 | /* end confdefs.h. */ |
| 3955 | 3573 | ||
| 3956 | int | 3574 | int |
| @@ -3962,17 +3580,17 @@ main () | |||
| 3962 | } | 3580 | } |
| 3963 | _ACEOF | 3581 | _ACEOF |
| 3964 | rm -f conftest.o conftest.obj | 3582 | rm -f conftest.o conftest.obj |
| 3965 | if { { ac_try="$ac_compile" | 3583 | if { (ac_try="$ac_compile" |
| 3966 | case "(($ac_try" in | 3584 | case "(($ac_try" in |
| 3967 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3968 | *) ac_try_echo=$ac_try;; | 3586 | *) ac_try_echo=$ac_try;; |
| 3969 | esac | 3587 | esac |
| 3970 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3971 | $as_echo "$ac_try_echo"; } >&5 | 3589 | $as_echo "$ac_try_echo") >&5 |
| 3972 | (eval "$ac_compile") 2>&5 | 3590 | (eval "$ac_compile") 2>&5 |
| 3973 | ac_status=$? | 3591 | ac_status=$? |
| 3974 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3592 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3975 | test $ac_status = 0; }; then : | 3593 | (exit $ac_status); }; then |
| 3976 | for ac_file in conftest.o conftest.obj conftest.*; do | 3594 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3977 | test -f "$ac_file" || continue; | 3595 | test -f "$ac_file" || continue; |
| 3978 | case $ac_file in | 3596 | case $ac_file in |
| @@ -3985,23 +3603,29 @@ else | |||
| 3985 | $as_echo "$as_me: failed program was:" >&5 | 3603 | $as_echo "$as_me: failed program was:" >&5 |
| 3986 | sed 's/^/| /' conftest.$ac_ext >&5 | 3604 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3987 | 3605 | ||
| 3988 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3606 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 3989 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3607 | See \`config.log' for more details." >&5 |
| 3990 | as_fn_error "cannot compute suffix of object files: cannot compile | 3608 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 3991 | See \`config.log' for more details." "$LINENO" 5; } | 3609 | See \`config.log' for more details." >&2;} |
| 3610 | { (exit 1); exit 1; }; } | ||
| 3992 | fi | 3611 | fi |
| 3612 | |||
| 3993 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3613 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3994 | fi | 3614 | fi |
| 3995 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3615 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3996 | $as_echo "$ac_cv_objext" >&6; } | 3616 | $as_echo "$ac_cv_objext" >&6; } |
| 3997 | OBJEXT=$ac_cv_objext | 3617 | OBJEXT=$ac_cv_objext |
| 3998 | ac_objext=$OBJEXT | 3618 | ac_objext=$OBJEXT |
| 3999 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3619 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 4000 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3620 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 4001 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3621 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 4002 | $as_echo_n "(cached) " >&6 | 3622 | $as_echo_n "(cached) " >&6 |
| 4003 | else | 3623 | else |
| 4004 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3624 | cat >conftest.$ac_ext <<_ACEOF |
| 3625 | /* confdefs.h. */ | ||
| 3626 | _ACEOF | ||
| 3627 | cat confdefs.h >>conftest.$ac_ext | ||
| 3628 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4005 | /* end confdefs.h. */ | 3629 | /* end confdefs.h. */ |
| 4006 | 3630 | ||
| 4007 | int | 3631 | int |
| @@ -4015,16 +3639,37 @@ main () | |||
| 4015 | return 0; | 3639 | return 0; |
| 4016 | } | 3640 | } |
| 4017 | _ACEOF | 3641 | _ACEOF |
| 4018 | if ac_fn_c_try_compile "$LINENO"; then : | 3642 | rm -f conftest.$ac_objext |
| 3643 | if { (ac_try="$ac_compile" | ||
| 3644 | case "(($ac_try" in | ||
| 3645 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3646 | *) ac_try_echo=$ac_try;; | ||
| 3647 | esac | ||
| 3648 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3649 | $as_echo "$ac_try_echo") >&5 | ||
| 3650 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3651 | ac_status=$? | ||
| 3652 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3653 | rm -f conftest.er1 | ||
| 3654 | cat conftest.err >&5 | ||
| 3655 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3656 | (exit $ac_status); } && { | ||
| 3657 | test -z "$ac_c_werror_flag" || | ||
| 3658 | test ! -s conftest.err | ||
| 3659 | } && test -s conftest.$ac_objext; then | ||
| 4019 | ac_compiler_gnu=yes | 3660 | ac_compiler_gnu=yes |
| 4020 | else | 3661 | else |
| 4021 | ac_compiler_gnu=no | 3662 | $as_echo "$as_me: failed program was:" >&5 |
| 3663 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3664 | |||
| 3665 | ac_compiler_gnu=no | ||
| 4022 | fi | 3666 | fi |
| 3667 | |||
| 4023 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3668 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4024 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3669 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4025 | 3670 | ||
| 4026 | fi | 3671 | fi |
| 4027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3672 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 4028 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3673 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4029 | if test $ac_compiler_gnu = yes; then | 3674 | if test $ac_compiler_gnu = yes; then |
| 4030 | GCC=yes | 3675 | GCC=yes |
| @@ -4033,16 +3678,20 @@ else | |||
| 4033 | fi | 3678 | fi |
| 4034 | ac_test_CFLAGS=${CFLAGS+set} | 3679 | ac_test_CFLAGS=${CFLAGS+set} |
| 4035 | ac_save_CFLAGS=$CFLAGS | 3680 | ac_save_CFLAGS=$CFLAGS |
| 4036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3681 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 4037 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3682 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4038 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 3683 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 4039 | $as_echo_n "(cached) " >&6 | 3684 | $as_echo_n "(cached) " >&6 |
| 4040 | else | 3685 | else |
| 4041 | ac_save_c_werror_flag=$ac_c_werror_flag | 3686 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 4042 | ac_c_werror_flag=yes | 3687 | ac_c_werror_flag=yes |
| 4043 | ac_cv_prog_cc_g=no | 3688 | ac_cv_prog_cc_g=no |
| 4044 | CFLAGS="-g" | 3689 | CFLAGS="-g" |
| 4045 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3690 | cat >conftest.$ac_ext <<_ACEOF |
| 3691 | /* confdefs.h. */ | ||
| 3692 | _ACEOF | ||
| 3693 | cat confdefs.h >>conftest.$ac_ext | ||
| 3694 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4046 | /* end confdefs.h. */ | 3695 | /* end confdefs.h. */ |
| 4047 | 3696 | ||
| 4048 | int | 3697 | int |
| @@ -4053,11 +3702,35 @@ main () | |||
| 4053 | return 0; | 3702 | return 0; |
| 4054 | } | 3703 | } |
| 4055 | _ACEOF | 3704 | _ACEOF |
| 4056 | if ac_fn_c_try_compile "$LINENO"; then : | 3705 | rm -f conftest.$ac_objext |
| 3706 | if { (ac_try="$ac_compile" | ||
| 3707 | case "(($ac_try" in | ||
| 3708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3709 | *) ac_try_echo=$ac_try;; | ||
| 3710 | esac | ||
| 3711 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3712 | $as_echo "$ac_try_echo") >&5 | ||
| 3713 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3714 | ac_status=$? | ||
| 3715 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3716 | rm -f conftest.er1 | ||
| 3717 | cat conftest.err >&5 | ||
| 3718 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3719 | (exit $ac_status); } && { | ||
| 3720 | test -z "$ac_c_werror_flag" || | ||
| 3721 | test ! -s conftest.err | ||
| 3722 | } && test -s conftest.$ac_objext; then | ||
| 4057 | ac_cv_prog_cc_g=yes | 3723 | ac_cv_prog_cc_g=yes |
| 4058 | else | 3724 | else |
| 4059 | CFLAGS="" | 3725 | $as_echo "$as_me: failed program was:" >&5 |
| 4060 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3726 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3727 | |||
| 3728 | CFLAGS="" | ||
| 3729 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3730 | /* confdefs.h. */ | ||
| 3731 | _ACEOF | ||
| 3732 | cat confdefs.h >>conftest.$ac_ext | ||
| 3733 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4061 | /* end confdefs.h. */ | 3734 | /* end confdefs.h. */ |
| 4062 | 3735 | ||
| 4063 | int | 3736 | int |
| @@ -4068,12 +3741,36 @@ main () | |||
| 4068 | return 0; | 3741 | return 0; |
| 4069 | } | 3742 | } |
| 4070 | _ACEOF | 3743 | _ACEOF |
| 4071 | if ac_fn_c_try_compile "$LINENO"; then : | 3744 | rm -f conftest.$ac_objext |
| 4072 | 3745 | if { (ac_try="$ac_compile" | |
| 3746 | case "(($ac_try" in | ||
| 3747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3748 | *) ac_try_echo=$ac_try;; | ||
| 3749 | esac | ||
| 3750 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3751 | $as_echo "$ac_try_echo") >&5 | ||
| 3752 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3753 | ac_status=$? | ||
| 3754 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3755 | rm -f conftest.er1 | ||
| 3756 | cat conftest.err >&5 | ||
| 3757 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3758 | (exit $ac_status); } && { | ||
| 3759 | test -z "$ac_c_werror_flag" || | ||
| 3760 | test ! -s conftest.err | ||
| 3761 | } && test -s conftest.$ac_objext; then | ||
| 3762 | : | ||
| 4073 | else | 3763 | else |
| 4074 | ac_c_werror_flag=$ac_save_c_werror_flag | 3764 | $as_echo "$as_me: failed program was:" >&5 |
| 3765 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3766 | |||
| 3767 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 4075 | CFLAGS="-g" | 3768 | CFLAGS="-g" |
| 4076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3769 | cat >conftest.$ac_ext <<_ACEOF |
| 3770 | /* confdefs.h. */ | ||
| 3771 | _ACEOF | ||
| 3772 | cat confdefs.h >>conftest.$ac_ext | ||
| 3773 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4077 | /* end confdefs.h. */ | 3774 | /* end confdefs.h. */ |
| 4078 | 3775 | ||
| 4079 | int | 3776 | int |
| @@ -4084,17 +3781,42 @@ main () | |||
| 4084 | return 0; | 3781 | return 0; |
| 4085 | } | 3782 | } |
| 4086 | _ACEOF | 3783 | _ACEOF |
| 4087 | if ac_fn_c_try_compile "$LINENO"; then : | 3784 | rm -f conftest.$ac_objext |
| 3785 | if { (ac_try="$ac_compile" | ||
| 3786 | case "(($ac_try" in | ||
| 3787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3788 | *) ac_try_echo=$ac_try;; | ||
| 3789 | esac | ||
| 3790 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3791 | $as_echo "$ac_try_echo") >&5 | ||
| 3792 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3793 | ac_status=$? | ||
| 3794 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3795 | rm -f conftest.er1 | ||
| 3796 | cat conftest.err >&5 | ||
| 3797 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3798 | (exit $ac_status); } && { | ||
| 3799 | test -z "$ac_c_werror_flag" || | ||
| 3800 | test ! -s conftest.err | ||
| 3801 | } && test -s conftest.$ac_objext; then | ||
| 4088 | ac_cv_prog_cc_g=yes | 3802 | ac_cv_prog_cc_g=yes |
| 3803 | else | ||
| 3804 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3805 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3806 | |||
| 3807 | |||
| 4089 | fi | 3808 | fi |
| 3809 | |||
| 4090 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4091 | fi | 3811 | fi |
| 3812 | |||
| 4092 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4093 | fi | 3814 | fi |
| 3815 | |||
| 4094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3816 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4095 | ac_c_werror_flag=$ac_save_c_werror_flag | 3817 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4096 | fi | 3818 | fi |
| 4097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3819 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 4098 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 3820 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4099 | if test "$ac_test_CFLAGS" = set; then | 3821 | if test "$ac_test_CFLAGS" = set; then |
| 4100 | CFLAGS=$ac_save_CFLAGS | 3822 | CFLAGS=$ac_save_CFLAGS |
| @@ -4111,14 +3833,18 @@ else | |||
| 4111 | CFLAGS= | 3833 | CFLAGS= |
| 4112 | fi | 3834 | fi |
| 4113 | fi | 3835 | fi |
| 4114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3836 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 4115 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3837 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4116 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3838 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 4117 | $as_echo_n "(cached) " >&6 | 3839 | $as_echo_n "(cached) " >&6 |
| 4118 | else | 3840 | else |
| 4119 | ac_cv_prog_cc_c89=no | 3841 | ac_cv_prog_cc_c89=no |
| 4120 | ac_save_CC=$CC | 3842 | ac_save_CC=$CC |
| 4121 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3843 | cat >conftest.$ac_ext <<_ACEOF |
| 3844 | /* confdefs.h. */ | ||
| 3845 | _ACEOF | ||
| 3846 | cat confdefs.h >>conftest.$ac_ext | ||
| 3847 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4122 | /* end confdefs.h. */ | 3848 | /* end confdefs.h. */ |
| 4123 | #include <stdarg.h> | 3849 | #include <stdarg.h> |
| 4124 | #include <stdio.h> | 3850 | #include <stdio.h> |
| @@ -4175,9 +3901,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
| 4175 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3901 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4176 | do | 3902 | do |
| 4177 | CC="$ac_save_CC $ac_arg" | 3903 | CC="$ac_save_CC $ac_arg" |
| 4178 | if ac_fn_c_try_compile "$LINENO"; then : | 3904 | rm -f conftest.$ac_objext |
| 3905 | if { (ac_try="$ac_compile" | ||
| 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:$LINENO: $ac_try_echo\"" | ||
| 3911 | $as_echo "$ac_try_echo") >&5 | ||
| 3912 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3913 | ac_status=$? | ||
| 3914 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3915 | rm -f conftest.er1 | ||
| 3916 | cat conftest.err >&5 | ||
| 3917 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3918 | (exit $ac_status); } && { | ||
| 3919 | test -z "$ac_c_werror_flag" || | ||
| 3920 | test ! -s conftest.err | ||
| 3921 | } && test -s conftest.$ac_objext; then | ||
| 4179 | ac_cv_prog_cc_c89=$ac_arg | 3922 | ac_cv_prog_cc_c89=$ac_arg |
| 3923 | else | ||
| 3924 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3925 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3926 | |||
| 3927 | |||
| 4180 | fi | 3928 | fi |
| 3929 | |||
| 4181 | rm -f core conftest.err conftest.$ac_objext | 3930 | rm -f core conftest.err conftest.$ac_objext |
| 4182 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 3931 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4183 | done | 3932 | done |
| @@ -4188,19 +3937,17 @@ fi | |||
| 4188 | # AC_CACHE_VAL | 3937 | # AC_CACHE_VAL |
| 4189 | case "x$ac_cv_prog_cc_c89" in | 3938 | case "x$ac_cv_prog_cc_c89" in |
| 4190 | x) | 3939 | x) |
| 4191 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3940 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| 4192 | $as_echo "none needed" >&6; } ;; | 3941 | $as_echo "none needed" >&6; } ;; |
| 4193 | xno) | 3942 | xno) |
| 4194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3943 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| 4195 | $as_echo "unsupported" >&6; } ;; | 3944 | $as_echo "unsupported" >&6; } ;; |
| 4196 | *) | 3945 | *) |
| 4197 | CC="$CC $ac_cv_prog_cc_c89" | 3946 | CC="$CC $ac_cv_prog_cc_c89" |
| 4198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3947 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 4199 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3948 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4200 | esac | 3949 | esac |
| 4201 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 4202 | 3950 | ||
| 4203 | fi | ||
| 4204 | 3951 | ||
| 4205 | ac_ext=c | 3952 | ac_ext=c |
| 4206 | ac_cpp='$CPP $CPPFLAGS' | 3953 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -4218,13 +3965,17 @@ fi | |||
| 4218 | ## using a Sun compiler, which needs -Xs to prevent whitespace. | 3965 | ## using a Sun compiler, which needs -Xs to prevent whitespace. |
| 4219 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 3966 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
| 4220 | test x"$CPP" = x; then | 3967 | test x"$CPP" = x; then |
| 4221 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 3968 | { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 |
| 4222 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 3969 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
| 4223 | 3970 | ||
| 4224 | if test "${emacs_cv_sunpro_c+set}" = set; then : | 3971 | if test "${emacs_cv_sunpro_c+set}" = set; then |
| 4225 | $as_echo_n "(cached) " >&6 | 3972 | $as_echo_n "(cached) " >&6 |
| 4226 | else | 3973 | else |
| 4227 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3974 | cat >conftest.$ac_ext <<_ACEOF |
| 3975 | /* confdefs.h. */ | ||
| 3976 | _ACEOF | ||
| 3977 | cat confdefs.h >>conftest.$ac_ext | ||
| 3978 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4228 | /* end confdefs.h. */ | 3979 | /* end confdefs.h. */ |
| 4229 | 3980 | ||
| 4230 | int | 3981 | int |
| @@ -4238,16 +3989,41 @@ fail; | |||
| 4238 | return 0; | 3989 | return 0; |
| 4239 | } | 3990 | } |
| 4240 | _ACEOF | 3991 | _ACEOF |
| 4241 | if ac_fn_c_try_link "$LINENO"; then : | 3992 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 3993 | if { (ac_try="$ac_link" | ||
| 3994 | case "(($ac_try" in | ||
| 3995 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3996 | *) ac_try_echo=$ac_try;; | ||
| 3997 | esac | ||
| 3998 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3999 | $as_echo "$ac_try_echo") >&5 | ||
| 4000 | (eval "$ac_link") 2>conftest.er1 | ||
| 4001 | ac_status=$? | ||
| 4002 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4003 | rm -f conftest.er1 | ||
| 4004 | cat conftest.err >&5 | ||
| 4005 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4006 | (exit $ac_status); } && { | ||
| 4007 | test -z "$ac_c_werror_flag" || | ||
| 4008 | test ! -s conftest.err | ||
| 4009 | } && test -s conftest$ac_exeext && { | ||
| 4010 | test "$cross_compiling" = yes || | ||
| 4011 | $as_test_x conftest$ac_exeext | ||
| 4012 | }; then | ||
| 4242 | emacs_cv_sunpro_c=yes | 4013 | emacs_cv_sunpro_c=yes |
| 4243 | else | 4014 | else |
| 4244 | emacs_cv_sunpro_c=no | 4015 | $as_echo "$as_me: failed program was:" >&5 |
| 4016 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4017 | |||
| 4018 | emacs_cv_sunpro_c=no | ||
| 4245 | fi | 4019 | fi |
| 4246 | rm -f core conftest.err conftest.$ac_objext \ | 4020 | |
| 4247 | conftest$ac_exeext conftest.$ac_ext | 4021 | rm -rf conftest.dSYM |
| 4022 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 4023 | conftest$ac_exeext conftest.$ac_ext | ||
| 4248 | fi | 4024 | fi |
| 4249 | 4025 | ||
| 4250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 | 4026 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 |
| 4251 | $as_echo "$emacs_cv_sunpro_c" >&6; } | 4027 | $as_echo "$emacs_cv_sunpro_c" >&6; } |
| 4252 | 4028 | ||
| 4253 | if test x"$emacs_cv_sunpro_c" = xyes; then | 4029 | if test x"$emacs_cv_sunpro_c" = xyes; then |
| @@ -4287,14 +4063,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4287 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4063 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4288 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4064 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4289 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4065 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 4066 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4291 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4067 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4292 | # On Suns, sometimes $CPP names a directory. | 4068 | # On Suns, sometimes $CPP names a directory. |
| 4293 | if test -n "$CPP" && test -d "$CPP"; then | 4069 | if test -n "$CPP" && test -d "$CPP"; then |
| 4294 | CPP= | 4070 | CPP= |
| 4295 | fi | 4071 | fi |
| 4296 | if test -z "$CPP"; then | 4072 | if test -z "$CPP"; then |
| 4297 | if test "${ac_cv_prog_CPP+set}" = set; then : | 4073 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4298 | $as_echo_n "(cached) " >&6 | 4074 | $as_echo_n "(cached) " >&6 |
| 4299 | else | 4075 | else |
| 4300 | # Double quotes because CPP needs to be expanded | 4076 | # Double quotes because CPP needs to be expanded |
| @@ -4309,7 +4085,11 @@ do | |||
| 4309 | # <limits.h> exists even on freestanding compilers. | 4085 | # <limits.h> exists even on freestanding compilers. |
| 4310 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4086 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4311 | # not just through cpp. "Syntax error" is here to catch this case. | 4087 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4312 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4088 | cat >conftest.$ac_ext <<_ACEOF |
| 4089 | /* confdefs.h. */ | ||
| 4090 | _ACEOF | ||
| 4091 | cat confdefs.h >>conftest.$ac_ext | ||
| 4092 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4313 | /* end confdefs.h. */ | 4093 | /* end confdefs.h. */ |
| 4314 | #ifdef __STDC__ | 4094 | #ifdef __STDC__ |
| 4315 | # include <limits.h> | 4095 | # include <limits.h> |
| @@ -4318,34 +4098,78 @@ do | |||
| 4318 | #endif | 4098 | #endif |
| 4319 | Syntax error | 4099 | Syntax error |
| 4320 | _ACEOF | 4100 | _ACEOF |
| 4321 | if ac_fn_c_try_cpp "$LINENO"; then : | 4101 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4322 | 4102 | case "(($ac_try" in | |
| 4103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4104 | *) ac_try_echo=$ac_try;; | ||
| 4105 | esac | ||
| 4106 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4107 | $as_echo "$ac_try_echo") >&5 | ||
| 4108 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4109 | ac_status=$? | ||
| 4110 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4111 | rm -f conftest.er1 | ||
| 4112 | cat conftest.err >&5 | ||
| 4113 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4114 | (exit $ac_status); } >/dev/null && { | ||
| 4115 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4116 | test ! -s conftest.err | ||
| 4117 | }; then | ||
| 4118 | : | ||
| 4323 | else | 4119 | else |
| 4120 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4121 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4122 | |||
| 4324 | # Broken: fails on valid input. | 4123 | # Broken: fails on valid input. |
| 4325 | continue | 4124 | continue |
| 4326 | fi | 4125 | fi |
| 4126 | |||
| 4327 | rm -f conftest.err conftest.$ac_ext | 4127 | rm -f conftest.err conftest.$ac_ext |
| 4328 | 4128 | ||
| 4329 | # OK, works on sane cases. Now check whether nonexistent headers | 4129 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4330 | # can be detected and how. | 4130 | # can be detected and how. |
| 4331 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4131 | cat >conftest.$ac_ext <<_ACEOF |
| 4132 | /* confdefs.h. */ | ||
| 4133 | _ACEOF | ||
| 4134 | cat confdefs.h >>conftest.$ac_ext | ||
| 4135 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4332 | /* end confdefs.h. */ | 4136 | /* end confdefs.h. */ |
| 4333 | #include <ac_nonexistent.h> | 4137 | #include <ac_nonexistent.h> |
| 4334 | _ACEOF | 4138 | _ACEOF |
| 4335 | if ac_fn_c_try_cpp "$LINENO"; then : | 4139 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4140 | case "(($ac_try" in | ||
| 4141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4142 | *) ac_try_echo=$ac_try;; | ||
| 4143 | esac | ||
| 4144 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4145 | $as_echo "$ac_try_echo") >&5 | ||
| 4146 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4147 | ac_status=$? | ||
| 4148 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4149 | rm -f conftest.er1 | ||
| 4150 | cat conftest.err >&5 | ||
| 4151 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4152 | (exit $ac_status); } >/dev/null && { | ||
| 4153 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4154 | test ! -s conftest.err | ||
| 4155 | }; then | ||
| 4336 | # Broken: success on invalid input. | 4156 | # Broken: success on invalid input. |
| 4337 | continue | 4157 | continue |
| 4338 | else | 4158 | else |
| 4159 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4160 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4161 | |||
| 4339 | # Passes both tests. | 4162 | # Passes both tests. |
| 4340 | ac_preproc_ok=: | 4163 | ac_preproc_ok=: |
| 4341 | break | 4164 | break |
| 4342 | fi | 4165 | fi |
| 4166 | |||
| 4343 | rm -f conftest.err conftest.$ac_ext | 4167 | rm -f conftest.err conftest.$ac_ext |
| 4344 | 4168 | ||
| 4345 | done | 4169 | done |
| 4346 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4170 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4347 | rm -f conftest.err conftest.$ac_ext | 4171 | rm -f conftest.err conftest.$ac_ext |
| 4348 | if $ac_preproc_ok; then : | 4172 | if $ac_preproc_ok; then |
| 4349 | break | 4173 | break |
| 4350 | fi | 4174 | fi |
| 4351 | 4175 | ||
| @@ -4357,7 +4181,7 @@ fi | |||
| 4357 | else | 4181 | else |
| 4358 | ac_cv_prog_CPP=$CPP | 4182 | ac_cv_prog_CPP=$CPP |
| 4359 | fi | 4183 | fi |
| 4360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 4184 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4361 | $as_echo "$CPP" >&6; } | 4185 | $as_echo "$CPP" >&6; } |
| 4362 | ac_preproc_ok=false | 4186 | ac_preproc_ok=false |
| 4363 | for ac_c_preproc_warn_flag in '' yes | 4187 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4368,7 +4192,11 @@ do | |||
| 4368 | # <limits.h> exists even on freestanding compilers. | 4192 | # <limits.h> exists even on freestanding compilers. |
| 4369 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4193 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4370 | # not just through cpp. "Syntax error" is here to catch this case. | 4194 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4195 | cat >conftest.$ac_ext <<_ACEOF |
| 4196 | /* confdefs.h. */ | ||
| 4197 | _ACEOF | ||
| 4198 | cat confdefs.h >>conftest.$ac_ext | ||
| 4199 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4372 | /* end confdefs.h. */ | 4200 | /* end confdefs.h. */ |
| 4373 | #ifdef __STDC__ | 4201 | #ifdef __STDC__ |
| 4374 | # include <limits.h> | 4202 | # include <limits.h> |
| @@ -4377,40 +4205,85 @@ do | |||
| 4377 | #endif | 4205 | #endif |
| 4378 | Syntax error | 4206 | Syntax error |
| 4379 | _ACEOF | 4207 | _ACEOF |
| 4380 | if ac_fn_c_try_cpp "$LINENO"; then : | 4208 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4381 | 4209 | case "(($ac_try" in | |
| 4210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4211 | *) ac_try_echo=$ac_try;; | ||
| 4212 | esac | ||
| 4213 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4214 | $as_echo "$ac_try_echo") >&5 | ||
| 4215 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4216 | ac_status=$? | ||
| 4217 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4218 | rm -f conftest.er1 | ||
| 4219 | cat conftest.err >&5 | ||
| 4220 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4221 | (exit $ac_status); } >/dev/null && { | ||
| 4222 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4223 | test ! -s conftest.err | ||
| 4224 | }; then | ||
| 4225 | : | ||
| 4382 | else | 4226 | else |
| 4227 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4228 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4229 | |||
| 4383 | # Broken: fails on valid input. | 4230 | # Broken: fails on valid input. |
| 4384 | continue | 4231 | continue |
| 4385 | fi | 4232 | fi |
| 4233 | |||
| 4386 | rm -f conftest.err conftest.$ac_ext | 4234 | rm -f conftest.err conftest.$ac_ext |
| 4387 | 4235 | ||
| 4388 | # OK, works on sane cases. Now check whether nonexistent headers | 4236 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4389 | # can be detected and how. | 4237 | # can be detected and how. |
| 4390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4238 | cat >conftest.$ac_ext <<_ACEOF |
| 4239 | /* confdefs.h. */ | ||
| 4240 | _ACEOF | ||
| 4241 | cat confdefs.h >>conftest.$ac_ext | ||
| 4242 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4391 | /* end confdefs.h. */ | 4243 | /* end confdefs.h. */ |
| 4392 | #include <ac_nonexistent.h> | 4244 | #include <ac_nonexistent.h> |
| 4393 | _ACEOF | 4245 | _ACEOF |
| 4394 | if ac_fn_c_try_cpp "$LINENO"; then : | 4246 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4247 | case "(($ac_try" in | ||
| 4248 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4249 | *) ac_try_echo=$ac_try;; | ||
| 4250 | esac | ||
| 4251 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4252 | $as_echo "$ac_try_echo") >&5 | ||
| 4253 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4254 | ac_status=$? | ||
| 4255 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4256 | rm -f conftest.er1 | ||
| 4257 | cat conftest.err >&5 | ||
| 4258 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4259 | (exit $ac_status); } >/dev/null && { | ||
| 4260 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4261 | test ! -s conftest.err | ||
| 4262 | }; then | ||
| 4395 | # Broken: success on invalid input. | 4263 | # Broken: success on invalid input. |
| 4396 | continue | 4264 | continue |
| 4397 | else | 4265 | else |
| 4266 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4267 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4268 | |||
| 4398 | # Passes both tests. | 4269 | # Passes both tests. |
| 4399 | ac_preproc_ok=: | 4270 | ac_preproc_ok=: |
| 4400 | break | 4271 | break |
| 4401 | fi | 4272 | fi |
| 4273 | |||
| 4402 | rm -f conftest.err conftest.$ac_ext | 4274 | rm -f conftest.err conftest.$ac_ext |
| 4403 | 4275 | ||
| 4404 | done | 4276 | done |
| 4405 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4277 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4406 | rm -f conftest.err conftest.$ac_ext | 4278 | rm -f conftest.err conftest.$ac_ext |
| 4407 | if $ac_preproc_ok; then : | 4279 | if $ac_preproc_ok; then |
| 4408 | 4280 | : | |
| 4409 | else | 4281 | else |
| 4410 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4282 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4411 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4283 | See \`config.log' for more details." >&5 |
| 4412 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4284 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4413 | See \`config.log' for more details." "$LINENO" 5; } | 4285 | See \`config.log' for more details." >&2;} |
| 4286 | { (exit 1); exit 1; }; } | ||
| 4414 | fi | 4287 | fi |
| 4415 | 4288 | ||
| 4416 | ac_ext=c | 4289 | ac_ext=c |
| @@ -4420,9 +4293,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
| 4420 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4293 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4421 | 4294 | ||
| 4422 | 4295 | ||
| 4423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4296 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 4424 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4297 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4425 | if test "${ac_cv_path_GREP+set}" = set; then : | 4298 | if test "${ac_cv_path_GREP+set}" = set; then |
| 4426 | $as_echo_n "(cached) " >&6 | 4299 | $as_echo_n "(cached) " >&6 |
| 4427 | else | 4300 | else |
| 4428 | if test -z "$GREP"; then | 4301 | if test -z "$GREP"; then |
| @@ -4433,7 +4306,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4433 | do | 4306 | do |
| 4434 | IFS=$as_save_IFS | 4307 | IFS=$as_save_IFS |
| 4435 | test -z "$as_dir" && as_dir=. | 4308 | test -z "$as_dir" && as_dir=. |
| 4436 | for ac_prog in grep ggrep; do | 4309 | for ac_prog in grep ggrep; do |
| 4437 | for ac_exec_ext in '' $ac_executable_extensions; do | 4310 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4438 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4311 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4439 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4312 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| @@ -4453,7 +4326,7 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
| 4453 | $as_echo 'GREP' >> "conftest.nl" | 4326 | $as_echo 'GREP' >> "conftest.nl" |
| 4454 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4327 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4455 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4328 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4456 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4329 | ac_count=`expr $ac_count + 1` |
| 4457 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4330 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4458 | # Best one so far, save it but keep looking for a better one | 4331 | # Best one so far, save it but keep looking for a better one |
| 4459 | ac_cv_path_GREP="$ac_path_GREP" | 4332 | ac_cv_path_GREP="$ac_path_GREP" |
| @@ -4468,24 +4341,26 @@ esac | |||
| 4468 | $ac_path_GREP_found && break 3 | 4341 | $ac_path_GREP_found && break 3 |
| 4469 | done | 4342 | done |
| 4470 | done | 4343 | done |
| 4471 | done | 4344 | done |
| 4472 | IFS=$as_save_IFS | 4345 | IFS=$as_save_IFS |
| 4473 | if test -z "$ac_cv_path_GREP"; then | 4346 | if test -z "$ac_cv_path_GREP"; then |
| 4474 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4347 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4348 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4349 | { (exit 1); exit 1; }; } | ||
| 4475 | fi | 4350 | fi |
| 4476 | else | 4351 | else |
| 4477 | ac_cv_path_GREP=$GREP | 4352 | ac_cv_path_GREP=$GREP |
| 4478 | fi | 4353 | fi |
| 4479 | 4354 | ||
| 4480 | fi | 4355 | fi |
| 4481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4356 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 4482 | $as_echo "$ac_cv_path_GREP" >&6; } | 4357 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 4483 | GREP="$ac_cv_path_GREP" | 4358 | GREP="$ac_cv_path_GREP" |
| 4484 | 4359 | ||
| 4485 | 4360 | ||
| 4486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4361 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4487 | $as_echo_n "checking for egrep... " >&6; } | 4362 | $as_echo_n "checking for egrep... " >&6; } |
| 4488 | if test "${ac_cv_path_EGREP+set}" = set; then : | 4363 | if test "${ac_cv_path_EGREP+set}" = set; then |
| 4489 | $as_echo_n "(cached) " >&6 | 4364 | $as_echo_n "(cached) " >&6 |
| 4490 | else | 4365 | else |
| 4491 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4366 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| @@ -4499,7 +4374,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4499 | do | 4374 | do |
| 4500 | IFS=$as_save_IFS | 4375 | IFS=$as_save_IFS |
| 4501 | test -z "$as_dir" && as_dir=. | 4376 | test -z "$as_dir" && as_dir=. |
| 4502 | for ac_prog in egrep; do | 4377 | for ac_prog in egrep; do |
| 4503 | for ac_exec_ext in '' $ac_executable_extensions; do | 4378 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4504 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4379 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4505 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4380 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| @@ -4519,7 +4394,7 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
| 4519 | $as_echo 'EGREP' >> "conftest.nl" | 4394 | $as_echo 'EGREP' >> "conftest.nl" |
| 4520 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4395 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4521 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4396 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4522 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4397 | ac_count=`expr $ac_count + 1` |
| 4523 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4398 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4524 | # Best one so far, save it but keep looking for a better one | 4399 | # Best one so far, save it but keep looking for a better one |
| 4525 | ac_cv_path_EGREP="$ac_path_EGREP" | 4400 | ac_cv_path_EGREP="$ac_path_EGREP" |
| @@ -4534,10 +4409,12 @@ esac | |||
| 4534 | $ac_path_EGREP_found && break 3 | 4409 | $ac_path_EGREP_found && break 3 |
| 4535 | done | 4410 | done |
| 4536 | done | 4411 | done |
| 4537 | done | 4412 | done |
| 4538 | IFS=$as_save_IFS | 4413 | IFS=$as_save_IFS |
| 4539 | if test -z "$ac_cv_path_EGREP"; then | 4414 | if test -z "$ac_cv_path_EGREP"; then |
| 4540 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4415 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4416 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4417 | { (exit 1); exit 1; }; } | ||
| 4541 | fi | 4418 | fi |
| 4542 | else | 4419 | else |
| 4543 | ac_cv_path_EGREP=$EGREP | 4420 | ac_cv_path_EGREP=$EGREP |
| @@ -4545,17 +4422,21 @@ fi | |||
| 4545 | 4422 | ||
| 4546 | fi | 4423 | fi |
| 4547 | fi | 4424 | fi |
| 4548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4425 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 4549 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4426 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4550 | EGREP="$ac_cv_path_EGREP" | 4427 | EGREP="$ac_cv_path_EGREP" |
| 4551 | 4428 | ||
| 4552 | 4429 | ||
| 4553 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4430 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4554 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4431 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4555 | if test "${ac_cv_header_stdc+set}" = set; then : | 4432 | if test "${ac_cv_header_stdc+set}" = set; then |
| 4556 | $as_echo_n "(cached) " >&6 | 4433 | $as_echo_n "(cached) " >&6 |
| 4557 | else | 4434 | else |
| 4558 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4435 | cat >conftest.$ac_ext <<_ACEOF |
| 4436 | /* confdefs.h. */ | ||
| 4437 | _ACEOF | ||
| 4438 | cat confdefs.h >>conftest.$ac_ext | ||
| 4439 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4559 | /* end confdefs.h. */ | 4440 | /* end confdefs.h. */ |
| 4560 | #include <stdlib.h> | 4441 | #include <stdlib.h> |
| 4561 | #include <stdarg.h> | 4442 | #include <stdarg.h> |
| @@ -4570,23 +4451,48 @@ main () | |||
| 4570 | return 0; | 4451 | return 0; |
| 4571 | } | 4452 | } |
| 4572 | _ACEOF | 4453 | _ACEOF |
| 4573 | if ac_fn_c_try_compile "$LINENO"; then : | 4454 | rm -f conftest.$ac_objext |
| 4455 | if { (ac_try="$ac_compile" | ||
| 4456 | case "(($ac_try" in | ||
| 4457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4458 | *) ac_try_echo=$ac_try;; | ||
| 4459 | esac | ||
| 4460 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4461 | $as_echo "$ac_try_echo") >&5 | ||
| 4462 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4463 | ac_status=$? | ||
| 4464 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4465 | rm -f conftest.er1 | ||
| 4466 | cat conftest.err >&5 | ||
| 4467 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4468 | (exit $ac_status); } && { | ||
| 4469 | test -z "$ac_c_werror_flag" || | ||
| 4470 | test ! -s conftest.err | ||
| 4471 | } && test -s conftest.$ac_objext; then | ||
| 4574 | ac_cv_header_stdc=yes | 4472 | ac_cv_header_stdc=yes |
| 4575 | else | 4473 | else |
| 4576 | ac_cv_header_stdc=no | 4474 | $as_echo "$as_me: failed program was:" >&5 |
| 4475 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4476 | |||
| 4477 | ac_cv_header_stdc=no | ||
| 4577 | fi | 4478 | fi |
| 4479 | |||
| 4578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4480 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4579 | 4481 | ||
| 4580 | if test $ac_cv_header_stdc = yes; then | 4482 | if test $ac_cv_header_stdc = yes; then |
| 4581 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4483 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4484 | cat >conftest.$ac_ext <<_ACEOF |
| 4485 | /* confdefs.h. */ | ||
| 4486 | _ACEOF | ||
| 4487 | cat confdefs.h >>conftest.$ac_ext | ||
| 4488 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4583 | /* end confdefs.h. */ | 4489 | /* end confdefs.h. */ |
| 4584 | #include <string.h> | 4490 | #include <string.h> |
| 4585 | 4491 | ||
| 4586 | _ACEOF | 4492 | _ACEOF |
| 4587 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4493 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4588 | $EGREP "memchr" >/dev/null 2>&1; then : | 4494 | $EGREP "memchr" >/dev/null 2>&1; then |
| 4589 | 4495 | : | |
| 4590 | else | 4496 | else |
| 4591 | ac_cv_header_stdc=no | 4497 | ac_cv_header_stdc=no |
| 4592 | fi | 4498 | fi |
| @@ -4596,14 +4502,18 @@ fi | |||
| 4596 | 4502 | ||
| 4597 | if test $ac_cv_header_stdc = yes; then | 4503 | if test $ac_cv_header_stdc = yes; then |
| 4598 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4504 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4599 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4505 | cat >conftest.$ac_ext <<_ACEOF |
| 4506 | /* confdefs.h. */ | ||
| 4507 | _ACEOF | ||
| 4508 | cat confdefs.h >>conftest.$ac_ext | ||
| 4509 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4600 | /* end confdefs.h. */ | 4510 | /* end confdefs.h. */ |
| 4601 | #include <stdlib.h> | 4511 | #include <stdlib.h> |
| 4602 | 4512 | ||
| 4603 | _ACEOF | 4513 | _ACEOF |
| 4604 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4514 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4605 | $EGREP "free" >/dev/null 2>&1; then : | 4515 | $EGREP "free" >/dev/null 2>&1; then |
| 4606 | 4516 | : | |
| 4607 | else | 4517 | else |
| 4608 | ac_cv_header_stdc=no | 4518 | ac_cv_header_stdc=no |
| 4609 | fi | 4519 | fi |
| @@ -4613,10 +4523,14 @@ fi | |||
| 4613 | 4523 | ||
| 4614 | if test $ac_cv_header_stdc = yes; then | 4524 | if test $ac_cv_header_stdc = yes; then |
| 4615 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4525 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4616 | if test "$cross_compiling" = yes; then : | 4526 | if test "$cross_compiling" = yes; then |
| 4617 | : | 4527 | : |
| 4618 | else | 4528 | else |
| 4619 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4529 | cat >conftest.$ac_ext <<_ACEOF |
| 4530 | /* confdefs.h. */ | ||
| 4531 | _ACEOF | ||
| 4532 | cat confdefs.h >>conftest.$ac_ext | ||
| 4533 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4620 | /* end confdefs.h. */ | 4534 | /* end confdefs.h. */ |
| 4621 | #include <ctype.h> | 4535 | #include <ctype.h> |
| 4622 | #include <stdlib.h> | 4536 | #include <stdlib.h> |
| @@ -4643,34 +4557,117 @@ main () | |||
| 4643 | return 0; | 4557 | return 0; |
| 4644 | } | 4558 | } |
| 4645 | _ACEOF | 4559 | _ACEOF |
| 4646 | if ac_fn_c_try_run "$LINENO"; then : | 4560 | rm -f conftest$ac_exeext |
| 4647 | 4561 | if { (ac_try="$ac_link" | |
| 4562 | case "(($ac_try" in | ||
| 4563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4564 | *) ac_try_echo=$ac_try;; | ||
| 4565 | esac | ||
| 4566 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4567 | $as_echo "$ac_try_echo") >&5 | ||
| 4568 | (eval "$ac_link") 2>&5 | ||
| 4569 | ac_status=$? | ||
| 4570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4571 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 4572 | { (case "(($ac_try" in | ||
| 4573 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4574 | *) ac_try_echo=$ac_try;; | ||
| 4575 | esac | ||
| 4576 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4577 | $as_echo "$ac_try_echo") >&5 | ||
| 4578 | (eval "$ac_try") 2>&5 | ||
| 4579 | ac_status=$? | ||
| 4580 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4581 | (exit $ac_status); }; }; then | ||
| 4582 | : | ||
| 4648 | else | 4583 | else |
| 4649 | ac_cv_header_stdc=no | 4584 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 4585 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4586 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4587 | |||
| 4588 | ( exit $ac_status ) | ||
| 4589 | ac_cv_header_stdc=no | ||
| 4650 | fi | 4590 | fi |
| 4651 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4591 | rm -rf conftest.dSYM |
| 4652 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 4592 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4653 | fi | 4593 | fi |
| 4654 | 4594 | ||
| 4595 | |||
| 4655 | fi | 4596 | fi |
| 4656 | fi | 4597 | fi |
| 4657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4598 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4658 | $as_echo "$ac_cv_header_stdc" >&6; } | 4599 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 4659 | if test $ac_cv_header_stdc = yes; then | 4600 | if test $ac_cv_header_stdc = yes; then |
| 4660 | 4601 | ||
| 4661 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4602 | cat >>confdefs.h <<\_ACEOF |
| 4603 | #define STDC_HEADERS 1 | ||
| 4604 | _ACEOF | ||
| 4662 | 4605 | ||
| 4663 | fi | 4606 | fi |
| 4664 | 4607 | ||
| 4665 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4608 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4609 | |||
| 4610 | |||
| 4611 | |||
| 4612 | |||
| 4613 | |||
| 4614 | |||
| 4615 | |||
| 4616 | |||
| 4617 | |||
| 4666 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4618 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4667 | inttypes.h stdint.h unistd.h | 4619 | inttypes.h stdint.h unistd.h |
| 4668 | do : | 4620 | do |
| 4669 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4621 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4670 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4622 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4671 | " | 4623 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4672 | eval as_val=\$$as_ac_Header | 4624 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4673 | if test "x$as_val" = x""yes; then : | 4625 | $as_echo_n "(cached) " >&6 |
| 4626 | else | ||
| 4627 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4628 | /* confdefs.h. */ | ||
| 4629 | _ACEOF | ||
| 4630 | cat confdefs.h >>conftest.$ac_ext | ||
| 4631 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4632 | /* end confdefs.h. */ | ||
| 4633 | $ac_includes_default | ||
| 4634 | |||
| 4635 | #include <$ac_header> | ||
| 4636 | _ACEOF | ||
| 4637 | rm -f conftest.$ac_objext | ||
| 4638 | if { (ac_try="$ac_compile" | ||
| 4639 | case "(($ac_try" in | ||
| 4640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4641 | *) ac_try_echo=$ac_try;; | ||
| 4642 | esac | ||
| 4643 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4644 | $as_echo "$ac_try_echo") >&5 | ||
| 4645 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4646 | ac_status=$? | ||
| 4647 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4648 | rm -f conftest.er1 | ||
| 4649 | cat conftest.err >&5 | ||
| 4650 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4651 | (exit $ac_status); } && { | ||
| 4652 | test -z "$ac_c_werror_flag" || | ||
| 4653 | test ! -s conftest.err | ||
| 4654 | } && test -s conftest.$ac_objext; then | ||
| 4655 | eval "$as_ac_Header=yes" | ||
| 4656 | else | ||
| 4657 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4658 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4659 | |||
| 4660 | eval "$as_ac_Header=no" | ||
| 4661 | fi | ||
| 4662 | |||
| 4663 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4664 | fi | ||
| 4665 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 4666 | $as_echo "$as_val"'` | ||
| 4667 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 4668 | $as_echo "$ac_res" >&6; } | ||
| 4669 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 4670 | $as_echo "$as_val"'` = yes; then | ||
| 4674 | cat >>confdefs.h <<_ACEOF | 4671 | cat >>confdefs.h <<_ACEOF |
| 4675 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4672 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4676 | _ACEOF | 4673 | _ACEOF |
| @@ -4681,8 +4678,134 @@ done | |||
| 4681 | 4678 | ||
| 4682 | 4679 | ||
| 4683 | 4680 | ||
| 4684 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4681 | if test "${ac_cv_header_minix_config_h+set}" = set; then |
| 4685 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4682 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
| 4683 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4684 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4685 | $as_echo_n "(cached) " >&6 | ||
| 4686 | fi | ||
| 4687 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4688 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4689 | else | ||
| 4690 | # Is the header compilable? | ||
| 4691 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | ||
| 4692 | $as_echo_n "checking minix/config.h usability... " >&6; } | ||
| 4693 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4694 | /* confdefs.h. */ | ||
| 4695 | _ACEOF | ||
| 4696 | cat confdefs.h >>conftest.$ac_ext | ||
| 4697 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4698 | /* end confdefs.h. */ | ||
| 4699 | $ac_includes_default | ||
| 4700 | #include <minix/config.h> | ||
| 4701 | _ACEOF | ||
| 4702 | rm -f conftest.$ac_objext | ||
| 4703 | if { (ac_try="$ac_compile" | ||
| 4704 | case "(($ac_try" in | ||
| 4705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4706 | *) ac_try_echo=$ac_try;; | ||
| 4707 | esac | ||
| 4708 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4709 | $as_echo "$ac_try_echo") >&5 | ||
| 4710 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4711 | ac_status=$? | ||
| 4712 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4713 | rm -f conftest.er1 | ||
| 4714 | cat conftest.err >&5 | ||
| 4715 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4716 | (exit $ac_status); } && { | ||
| 4717 | test -z "$ac_c_werror_flag" || | ||
| 4718 | test ! -s conftest.err | ||
| 4719 | } && test -s conftest.$ac_objext; then | ||
| 4720 | ac_header_compiler=yes | ||
| 4721 | else | ||
| 4722 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4724 | |||
| 4725 | ac_header_compiler=no | ||
| 4726 | fi | ||
| 4727 | |||
| 4728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4729 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 4730 | $as_echo "$ac_header_compiler" >&6; } | ||
| 4731 | |||
| 4732 | # Is the header present? | ||
| 4733 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | ||
| 4734 | $as_echo_n "checking minix/config.h presence... " >&6; } | ||
| 4735 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4736 | /* confdefs.h. */ | ||
| 4737 | _ACEOF | ||
| 4738 | cat confdefs.h >>conftest.$ac_ext | ||
| 4739 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4740 | /* end confdefs.h. */ | ||
| 4741 | #include <minix/config.h> | ||
| 4742 | _ACEOF | ||
| 4743 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 4744 | case "(($ac_try" in | ||
| 4745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4746 | *) ac_try_echo=$ac_try;; | ||
| 4747 | esac | ||
| 4748 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4749 | $as_echo "$ac_try_echo") >&5 | ||
| 4750 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4751 | ac_status=$? | ||
| 4752 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4753 | rm -f conftest.er1 | ||
| 4754 | cat conftest.err >&5 | ||
| 4755 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4756 | (exit $ac_status); } >/dev/null && { | ||
| 4757 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4758 | test ! -s conftest.err | ||
| 4759 | }; then | ||
| 4760 | ac_header_preproc=yes | ||
| 4761 | else | ||
| 4762 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4763 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4764 | |||
| 4765 | ac_header_preproc=no | ||
| 4766 | fi | ||
| 4767 | |||
| 4768 | rm -f conftest.err conftest.$ac_ext | ||
| 4769 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 4770 | $as_echo "$ac_header_preproc" >&6; } | ||
| 4771 | |||
| 4772 | # So? What about this header? | ||
| 4773 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 4774 | yes:no: ) | ||
| 4775 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 4776 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 4777 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | ||
| 4778 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | ||
| 4779 | ac_header_preproc=yes | ||
| 4780 | ;; | ||
| 4781 | no:yes:* ) | ||
| 4782 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | ||
| 4783 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | ||
| 4784 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | ||
| 4785 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | ||
| 4786 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | ||
| 4787 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | ||
| 4788 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 4789 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 4790 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | ||
| 4791 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | ||
| 4792 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | ||
| 4793 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | ||
| 4794 | |||
| 4795 | ;; | ||
| 4796 | esac | ||
| 4797 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | ||
| 4798 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4799 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4800 | $as_echo_n "(cached) " >&6 | ||
| 4801 | else | ||
| 4802 | ac_cv_header_minix_config_h=$ac_header_preproc | ||
| 4803 | fi | ||
| 4804 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4805 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4806 | |||
| 4807 | fi | ||
| 4808 | if test $ac_cv_header_minix_config_h = yes; then | ||
| 4686 | MINIX=yes | 4809 | MINIX=yes |
| 4687 | else | 4810 | else |
| 4688 | MINIX= | 4811 | MINIX= |
| @@ -4691,23 +4814,34 @@ fi | |||
| 4691 | 4814 | ||
| 4692 | if test "$MINIX" = yes; then | 4815 | if test "$MINIX" = yes; then |
| 4693 | 4816 | ||
| 4694 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 4817 | cat >>confdefs.h <<\_ACEOF |
| 4818 | #define _POSIX_SOURCE 1 | ||
| 4819 | _ACEOF | ||
| 4695 | 4820 | ||
| 4696 | 4821 | ||
| 4697 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 4822 | cat >>confdefs.h <<\_ACEOF |
| 4823 | #define _POSIX_1_SOURCE 2 | ||
| 4824 | _ACEOF | ||
| 4698 | 4825 | ||
| 4699 | 4826 | ||
| 4700 | $as_echo "#define _MINIX 1" >>confdefs.h | 4827 | cat >>confdefs.h <<\_ACEOF |
| 4828 | #define _MINIX 1 | ||
| 4829 | _ACEOF | ||
| 4701 | 4830 | ||
| 4702 | fi | 4831 | fi |
| 4703 | 4832 | ||
| 4704 | 4833 | ||
| 4705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4834 | |
| 4835 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | ||
| 4706 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4836 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 4707 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4837 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then |
| 4708 | $as_echo_n "(cached) " >&6 | 4838 | $as_echo_n "(cached) " >&6 |
| 4709 | else | 4839 | else |
| 4710 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4840 | cat >conftest.$ac_ext <<_ACEOF |
| 4841 | /* confdefs.h. */ | ||
| 4842 | _ACEOF | ||
| 4843 | cat confdefs.h >>conftest.$ac_ext | ||
| 4844 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4711 | /* end confdefs.h. */ | 4845 | /* end confdefs.h. */ |
| 4712 | 4846 | ||
| 4713 | # define __EXTENSIONS__ 1 | 4847 | # define __EXTENSIONS__ 1 |
| @@ -4720,34 +4854,69 @@ main () | |||
| 4720 | return 0; | 4854 | return 0; |
| 4721 | } | 4855 | } |
| 4722 | _ACEOF | 4856 | _ACEOF |
| 4723 | if ac_fn_c_try_compile "$LINENO"; then : | 4857 | rm -f conftest.$ac_objext |
| 4858 | if { (ac_try="$ac_compile" | ||
| 4859 | case "(($ac_try" in | ||
| 4860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4861 | *) ac_try_echo=$ac_try;; | ||
| 4862 | esac | ||
| 4863 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4864 | $as_echo "$ac_try_echo") >&5 | ||
| 4865 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4866 | ac_status=$? | ||
| 4867 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4868 | rm -f conftest.er1 | ||
| 4869 | cat conftest.err >&5 | ||
| 4870 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4871 | (exit $ac_status); } && { | ||
| 4872 | test -z "$ac_c_werror_flag" || | ||
| 4873 | test ! -s conftest.err | ||
| 4874 | } && test -s conftest.$ac_objext; then | ||
| 4724 | ac_cv_safe_to_define___extensions__=yes | 4875 | ac_cv_safe_to_define___extensions__=yes |
| 4725 | else | 4876 | else |
| 4726 | ac_cv_safe_to_define___extensions__=no | 4877 | $as_echo "$as_me: failed program was:" >&5 |
| 4878 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4879 | |||
| 4880 | ac_cv_safe_to_define___extensions__=no | ||
| 4727 | fi | 4881 | fi |
| 4882 | |||
| 4728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4729 | fi | 4884 | fi |
| 4730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | 4885 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 4731 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4886 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 4732 | test $ac_cv_safe_to_define___extensions__ = yes && | 4887 | test $ac_cv_safe_to_define___extensions__ = yes && |
| 4733 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 4888 | cat >>confdefs.h <<\_ACEOF |
| 4889 | #define __EXTENSIONS__ 1 | ||
| 4890 | _ACEOF | ||
| 4734 | 4891 | ||
| 4735 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 4892 | cat >>confdefs.h <<\_ACEOF |
| 4893 | #define _ALL_SOURCE 1 | ||
| 4894 | _ACEOF | ||
| 4736 | 4895 | ||
| 4737 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 4896 | cat >>confdefs.h <<\_ACEOF |
| 4897 | #define _GNU_SOURCE 1 | ||
| 4898 | _ACEOF | ||
| 4738 | 4899 | ||
| 4739 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 4900 | cat >>confdefs.h <<\_ACEOF |
| 4901 | #define _POSIX_PTHREAD_SEMANTICS 1 | ||
| 4902 | _ACEOF | ||
| 4740 | 4903 | ||
| 4741 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 4904 | cat >>confdefs.h <<\_ACEOF |
| 4905 | #define _TANDEM_SOURCE 1 | ||
| 4906 | _ACEOF | ||
| 4742 | 4907 | ||
| 4743 | 4908 | ||
| 4744 | 4909 | ||
| 4745 | ### Use -Wno-pointer-sign if the compiler supports it | 4910 | ### Use -Wno-pointer-sign if the compiler supports it |
| 4746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 | 4911 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
| 4747 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4912 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
| 4748 | SAVE_CFLAGS="$CFLAGS" | 4913 | SAVE_CFLAGS="$CFLAGS" |
| 4749 | CFLAGS="$CFLAGS -Wno-pointer-sign" | 4914 | CFLAGS="$CFLAGS -Wno-pointer-sign" |
| 4750 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4915 | cat >conftest.$ac_ext <<_ACEOF |
| 4916 | /* confdefs.h. */ | ||
| 4917 | _ACEOF | ||
| 4918 | cat confdefs.h >>conftest.$ac_ext | ||
| 4919 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4751 | /* end confdefs.h. */ | 4920 | /* end confdefs.h. */ |
| 4752 | 4921 | ||
| 4753 | int | 4922 | int |
| @@ -4758,27 +4927,52 @@ main () | |||
| 4758 | return 0; | 4927 | return 0; |
| 4759 | } | 4928 | } |
| 4760 | _ACEOF | 4929 | _ACEOF |
| 4761 | if ac_fn_c_try_compile "$LINENO"; then : | 4930 | rm -f conftest.$ac_objext |
| 4931 | if { (ac_try="$ac_compile" | ||
| 4932 | case "(($ac_try" in | ||
| 4933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4934 | *) ac_try_echo=$ac_try;; | ||
| 4935 | esac | ||
| 4936 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4937 | $as_echo "$ac_try_echo") >&5 | ||
| 4938 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4939 | ac_status=$? | ||
| 4940 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4941 | rm -f conftest.er1 | ||
| 4942 | cat conftest.err >&5 | ||
| 4943 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4944 | (exit $ac_status); } && { | ||
| 4945 | test -z "$ac_c_werror_flag" || | ||
| 4946 | test ! -s conftest.err | ||
| 4947 | } && test -s conftest.$ac_objext; then | ||
| 4762 | has_option=yes | 4948 | has_option=yes |
| 4763 | else | 4949 | else |
| 4764 | has_option=no | 4950 | $as_echo "$as_me: failed program was:" >&5 |
| 4951 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4952 | |||
| 4953 | has_option=no | ||
| 4765 | fi | 4954 | fi |
| 4955 | |||
| 4766 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4956 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4767 | if test $has_option = yes; then | 4957 | if test $has_option = yes; then |
| 4768 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4958 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
| 4769 | fi | 4959 | fi |
| 4770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 4960 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4771 | $as_echo "$has_option" >&6; } | 4961 | $as_echo "$has_option" >&6; } |
| 4772 | CFLAGS="$SAVE_CFLAGS" | 4962 | CFLAGS="$SAVE_CFLAGS" |
| 4773 | unset has_option | 4963 | unset has_option |
| 4774 | unset SAVE_CFLAGS | 4964 | unset SAVE_CFLAGS |
| 4775 | 4965 | ||
| 4776 | ### Use -Wdeclaration-after-statement if the compiler supports it | 4966 | ### Use -Wdeclaration-after-statement if the compiler supports it |
| 4777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4967 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
| 4778 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4968 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
| 4779 | SAVE_CFLAGS="$CFLAGS" | 4969 | SAVE_CFLAGS="$CFLAGS" |
| 4780 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4970 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
| 4781 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4971 | cat >conftest.$ac_ext <<_ACEOF |
| 4972 | /* confdefs.h. */ | ||
| 4973 | _ACEOF | ||
| 4974 | cat confdefs.h >>conftest.$ac_ext | ||
| 4975 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4782 | /* end confdefs.h. */ | 4976 | /* end confdefs.h. */ |
| 4783 | 4977 | ||
| 4784 | int | 4978 | int |
| @@ -4789,16 +4983,37 @@ main () | |||
| 4789 | return 0; | 4983 | return 0; |
| 4790 | } | 4984 | } |
| 4791 | _ACEOF | 4985 | _ACEOF |
| 4792 | if ac_fn_c_try_compile "$LINENO"; then : | 4986 | rm -f conftest.$ac_objext |
| 4987 | if { (ac_try="$ac_compile" | ||
| 4988 | case "(($ac_try" in | ||
| 4989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4990 | *) ac_try_echo=$ac_try;; | ||
| 4991 | esac | ||
| 4992 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4993 | $as_echo "$ac_try_echo") >&5 | ||
| 4994 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4995 | ac_status=$? | ||
| 4996 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4997 | rm -f conftest.er1 | ||
| 4998 | cat conftest.err >&5 | ||
| 4999 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5000 | (exit $ac_status); } && { | ||
| 5001 | test -z "$ac_c_werror_flag" || | ||
| 5002 | test ! -s conftest.err | ||
| 5003 | } && test -s conftest.$ac_objext; then | ||
| 4793 | has_option=yes | 5004 | has_option=yes |
| 4794 | else | 5005 | else |
| 4795 | has_option=no | 5006 | $as_echo "$as_me: failed program was:" >&5 |
| 5007 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5008 | |||
| 5009 | has_option=no | ||
| 4796 | fi | 5010 | fi |
| 5011 | |||
| 4797 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5012 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4798 | if test $has_option = yes; then | 5013 | if test $has_option = yes; then |
| 4799 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 5014 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
| 4800 | fi | 5015 | fi |
| 4801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 5016 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4802 | $as_echo "$has_option" >&6; } | 5017 | $as_echo "$has_option" >&6; } |
| 4803 | CFLAGS="$SAVE_CFLAGS" | 5018 | CFLAGS="$SAVE_CFLAGS" |
| 4804 | unset has_option | 5019 | unset has_option |
| @@ -4811,14 +5026,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4811 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5026 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4812 | 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' |
| 4813 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5028 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4814 | { $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 |
| 4815 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5030 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4816 | # On Suns, sometimes $CPP names a directory. | 5031 | # On Suns, sometimes $CPP names a directory. |
| 4817 | if test -n "$CPP" && test -d "$CPP"; then | 5032 | if test -n "$CPP" && test -d "$CPP"; then |
| 4818 | CPP= | 5033 | CPP= |
| 4819 | fi | 5034 | fi |
| 4820 | if test -z "$CPP"; then | 5035 | if test -z "$CPP"; then |
| 4821 | if test "${ac_cv_prog_CPP+set}" = set; then : | 5036 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4822 | $as_echo_n "(cached) " >&6 | 5037 | $as_echo_n "(cached) " >&6 |
| 4823 | else | 5038 | else |
| 4824 | # Double quotes because CPP needs to be expanded | 5039 | # Double quotes because CPP needs to be expanded |
| @@ -4833,7 +5048,11 @@ do | |||
| 4833 | # <limits.h> exists even on freestanding compilers. | 5048 | # <limits.h> exists even on freestanding compilers. |
| 4834 | # 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, |
| 4835 | # 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. |
| 4836 | 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 | ||
| 4837 | /* end confdefs.h. */ | 5056 | /* end confdefs.h. */ |
| 4838 | #ifdef __STDC__ | 5057 | #ifdef __STDC__ |
| 4839 | # include <limits.h> | 5058 | # include <limits.h> |
| @@ -4842,34 +5061,78 @@ do | |||
| 4842 | #endif | 5061 | #endif |
| 4843 | Syntax error | 5062 | Syntax error |
| 4844 | _ACEOF | 5063 | _ACEOF |
| 4845 | if ac_fn_c_try_cpp "$LINENO"; then : | 5064 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4846 | 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 | : | ||
| 4847 | else | 5082 | else |
| 5083 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5084 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5085 | |||
| 4848 | # Broken: fails on valid input. | 5086 | # Broken: fails on valid input. |
| 4849 | continue | 5087 | continue |
| 4850 | fi | 5088 | fi |
| 5089 | |||
| 4851 | rm -f conftest.err conftest.$ac_ext | 5090 | rm -f conftest.err conftest.$ac_ext |
| 4852 | 5091 | ||
| 4853 | # OK, works on sane cases. Now check whether nonexistent headers | 5092 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4854 | # can be detected and how. | 5093 | # can be detected and how. |
| 4855 | 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 | ||
| 4856 | /* end confdefs.h. */ | 5099 | /* end confdefs.h. */ |
| 4857 | #include <ac_nonexistent.h> | 5100 | #include <ac_nonexistent.h> |
| 4858 | _ACEOF | 5101 | _ACEOF |
| 4859 | 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 | ||
| 4860 | # Broken: success on invalid input. | 5119 | # Broken: success on invalid input. |
| 4861 | continue | 5120 | continue |
| 4862 | else | 5121 | else |
| 5122 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5123 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5124 | |||
| 4863 | # Passes both tests. | 5125 | # Passes both tests. |
| 4864 | ac_preproc_ok=: | 5126 | ac_preproc_ok=: |
| 4865 | break | 5127 | break |
| 4866 | fi | 5128 | fi |
| 5129 | |||
| 4867 | rm -f conftest.err conftest.$ac_ext | 5130 | rm -f conftest.err conftest.$ac_ext |
| 4868 | 5131 | ||
| 4869 | done | 5132 | done |
| 4870 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5133 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4871 | rm -f conftest.err conftest.$ac_ext | 5134 | rm -f conftest.err conftest.$ac_ext |
| 4872 | if $ac_preproc_ok; then : | 5135 | if $ac_preproc_ok; then |
| 4873 | break | 5136 | break |
| 4874 | fi | 5137 | fi |
| 4875 | 5138 | ||
| @@ -4881,7 +5144,7 @@ fi | |||
| 4881 | else | 5144 | else |
| 4882 | ac_cv_prog_CPP=$CPP | 5145 | ac_cv_prog_CPP=$CPP |
| 4883 | fi | 5146 | fi |
| 4884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5147 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4885 | $as_echo "$CPP" >&6; } | 5148 | $as_echo "$CPP" >&6; } |
| 4886 | ac_preproc_ok=false | 5149 | ac_preproc_ok=false |
| 4887 | for ac_c_preproc_warn_flag in '' yes | 5150 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4892,7 +5155,11 @@ do | |||
| 4892 | # <limits.h> exists even on freestanding compilers. | 5155 | # <limits.h> exists even on freestanding compilers. |
| 4893 | # 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, |
| 4894 | # 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. |
| 4895 | 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 | ||
| 4896 | /* end confdefs.h. */ | 5163 | /* end confdefs.h. */ |
| 4897 | #ifdef __STDC__ | 5164 | #ifdef __STDC__ |
| 4898 | # include <limits.h> | 5165 | # include <limits.h> |
| @@ -4901,40 +5168,85 @@ do | |||
| 4901 | #endif | 5168 | #endif |
| 4902 | Syntax error | 5169 | Syntax error |
| 4903 | _ACEOF | 5170 | _ACEOF |
| 4904 | if ac_fn_c_try_cpp "$LINENO"; then : | 5171 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4905 | 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 | : | ||
| 4906 | else | 5189 | else |
| 5190 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5191 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5192 | |||
| 4907 | # Broken: fails on valid input. | 5193 | # Broken: fails on valid input. |
| 4908 | continue | 5194 | continue |
| 4909 | fi | 5195 | fi |
| 5196 | |||
| 4910 | rm -f conftest.err conftest.$ac_ext | 5197 | rm -f conftest.err conftest.$ac_ext |
| 4911 | 5198 | ||
| 4912 | # OK, works on sane cases. Now check whether nonexistent headers | 5199 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4913 | # can be detected and how. | 5200 | # can be detected and how. |
| 4914 | 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 | ||
| 4915 | /* end confdefs.h. */ | 5206 | /* end confdefs.h. */ |
| 4916 | #include <ac_nonexistent.h> | 5207 | #include <ac_nonexistent.h> |
| 4917 | _ACEOF | 5208 | _ACEOF |
| 4918 | 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 | ||
| 4919 | # Broken: success on invalid input. | 5226 | # Broken: success on invalid input. |
| 4920 | continue | 5227 | continue |
| 4921 | else | 5228 | else |
| 5229 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5231 | |||
| 4922 | # Passes both tests. | 5232 | # Passes both tests. |
| 4923 | ac_preproc_ok=: | 5233 | ac_preproc_ok=: |
| 4924 | break | 5234 | break |
| 4925 | fi | 5235 | fi |
| 5236 | |||
| 4926 | rm -f conftest.err conftest.$ac_ext | 5237 | rm -f conftest.err conftest.$ac_ext |
| 4927 | 5238 | ||
| 4928 | done | 5239 | done |
| 4929 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5240 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4930 | rm -f conftest.err conftest.$ac_ext | 5241 | rm -f conftest.err conftest.$ac_ext |
| 4931 | if $ac_preproc_ok; then : | 5242 | if $ac_preproc_ok; then |
| 4932 | 5243 | : | |
| 4933 | else | 5244 | else |
| 4934 | { { $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 |
| 4935 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5246 | See \`config.log' for more details." >&5 |
| 4936 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5247 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4937 | See \`config.log' for more details." "$LINENO" 5; } | 5248 | See \`config.log' for more details." >&2;} |
| 5249 | { (exit 1); exit 1; }; } | ||
| 4938 | fi | 5250 | fi |
| 4939 | 5251 | ||
| 4940 | ac_ext=c | 5252 | ac_ext=c |
| @@ -4957,10 +5269,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 4957 | # OS/2's system install, which has a completely different semantic | 5269 | # OS/2's system install, which has a completely different semantic |
| 4958 | # ./install, which can be erroneously created by make from ./install.sh. | 5270 | # ./install, which can be erroneously created by make from ./install.sh. |
| 4959 | # Reject install programs that cannot install multiple files. | 5271 | # Reject install programs that cannot install multiple files. |
| 4960 | { $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 |
| 4961 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5273 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 4962 | if test -z "$INSTALL"; then | 5274 | if test -z "$INSTALL"; then |
| 4963 | if test "${ac_cv_path_install+set}" = set; then : | 5275 | if test "${ac_cv_path_install+set}" = set; then |
| 4964 | $as_echo_n "(cached) " >&6 | 5276 | $as_echo_n "(cached) " >&6 |
| 4965 | else | 5277 | else |
| 4966 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5278 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -4968,11 +5280,11 @@ for as_dir in $PATH | |||
| 4968 | do | 5280 | do |
| 4969 | IFS=$as_save_IFS | 5281 | IFS=$as_save_IFS |
| 4970 | test -z "$as_dir" && as_dir=. | 5282 | test -z "$as_dir" && as_dir=. |
| 4971 | # Account for people who put trailing slashes in PATH elements. | 5283 | # Account for people who put trailing slashes in PATH elements. |
| 4972 | case $as_dir/ in #(( | 5284 | case $as_dir/ in |
| 4973 | ./ | .// | /[cC]/* | \ | 5285 | ./ | .// | /cC/* | \ |
| 4974 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 5286 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 4975 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 5287 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 4976 | /usr/ucb/* ) ;; | 5288 | /usr/ucb/* ) ;; |
| 4977 | *) | 5289 | *) |
| 4978 | # 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. |
| @@ -5009,7 +5321,7 @@ case $as_dir/ in #(( | |||
| 5009 | ;; | 5321 | ;; |
| 5010 | esac | 5322 | esac |
| 5011 | 5323 | ||
| 5012 | done | 5324 | done |
| 5013 | IFS=$as_save_IFS | 5325 | IFS=$as_save_IFS |
| 5014 | 5326 | ||
| 5015 | rm -rf conftest.one conftest.two conftest.dir | 5327 | rm -rf conftest.one conftest.two conftest.dir |
| @@ -5025,7 +5337,7 @@ fi | |||
| 5025 | INSTALL=$ac_install_sh | 5337 | INSTALL=$ac_install_sh |
| 5026 | fi | 5338 | fi |
| 5027 | fi | 5339 | fi |
| 5028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 5340 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 5029 | $as_echo "$INSTALL" >&6; } | 5341 | $as_echo "$INSTALL" >&6; } |
| 5030 | 5342 | ||
| 5031 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5343 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| @@ -5040,9 +5352,9 @@ if test "x$RANLIB" = x; then | |||
| 5040 | if test -n "$ac_tool_prefix"; then | 5352 | if test -n "$ac_tool_prefix"; then |
| 5041 | # 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. |
| 5042 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5354 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5043 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5355 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5044 | $as_echo_n "checking for $ac_word... " >&6; } | 5356 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5045 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5357 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 5046 | $as_echo_n "(cached) " >&6 | 5358 | $as_echo_n "(cached) " >&6 |
| 5047 | else | 5359 | else |
| 5048 | if test -n "$RANLIB"; then | 5360 | if test -n "$RANLIB"; then |
| @@ -5053,24 +5365,24 @@ for as_dir in $PATH | |||
| 5053 | do | 5365 | do |
| 5054 | IFS=$as_save_IFS | 5366 | IFS=$as_save_IFS |
| 5055 | test -z "$as_dir" && as_dir=. | 5367 | test -z "$as_dir" && as_dir=. |
| 5056 | for ac_exec_ext in '' $ac_executable_extensions; do | 5368 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5057 | 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 |
| 5058 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5370 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5059 | $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 |
| 5060 | break 2 | 5372 | break 2 |
| 5061 | fi | 5373 | fi |
| 5062 | done | 5374 | done |
| 5063 | done | 5375 | done |
| 5064 | IFS=$as_save_IFS | 5376 | IFS=$as_save_IFS |
| 5065 | 5377 | ||
| 5066 | fi | 5378 | fi |
| 5067 | fi | 5379 | fi |
| 5068 | RANLIB=$ac_cv_prog_RANLIB | 5380 | RANLIB=$ac_cv_prog_RANLIB |
| 5069 | if test -n "$RANLIB"; then | 5381 | if test -n "$RANLIB"; then |
| 5070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 5382 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 5071 | $as_echo "$RANLIB" >&6; } | 5383 | $as_echo "$RANLIB" >&6; } |
| 5072 | else | 5384 | else |
| 5073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5385 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5074 | $as_echo "no" >&6; } | 5386 | $as_echo "no" >&6; } |
| 5075 | fi | 5387 | fi |
| 5076 | 5388 | ||
| @@ -5080,9 +5392,9 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 5080 | ac_ct_RANLIB=$RANLIB | 5392 | ac_ct_RANLIB=$RANLIB |
| 5081 | # 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. |
| 5082 | set dummy ranlib; ac_word=$2 | 5394 | set dummy ranlib; ac_word=$2 |
| 5083 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5395 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5084 | $as_echo_n "checking for $ac_word... " >&6; } | 5396 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5085 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5397 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 5086 | $as_echo_n "(cached) " >&6 | 5398 | $as_echo_n "(cached) " >&6 |
| 5087 | else | 5399 | else |
| 5088 | if test -n "$ac_ct_RANLIB"; then | 5400 | if test -n "$ac_ct_RANLIB"; then |
| @@ -5093,24 +5405,24 @@ for as_dir in $PATH | |||
| 5093 | do | 5405 | do |
| 5094 | IFS=$as_save_IFS | 5406 | IFS=$as_save_IFS |
| 5095 | test -z "$as_dir" && as_dir=. | 5407 | test -z "$as_dir" && as_dir=. |
| 5096 | for ac_exec_ext in '' $ac_executable_extensions; do | 5408 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5097 | 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 |
| 5098 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 5410 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5099 | $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 |
| 5100 | break 2 | 5412 | break 2 |
| 5101 | fi | 5413 | fi |
| 5102 | done | 5414 | done |
| 5103 | done | 5415 | done |
| 5104 | IFS=$as_save_IFS | 5416 | IFS=$as_save_IFS |
| 5105 | 5417 | ||
| 5106 | fi | 5418 | fi |
| 5107 | fi | 5419 | fi |
| 5108 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5420 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5109 | if test -n "$ac_ct_RANLIB"; then | 5421 | if test -n "$ac_ct_RANLIB"; then |
| 5110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 5422 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 5111 | $as_echo "$ac_ct_RANLIB" >&6; } | 5423 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 5112 | else | 5424 | else |
| 5113 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5425 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5114 | $as_echo "no" >&6; } | 5426 | $as_echo "no" >&6; } |
| 5115 | fi | 5427 | fi |
| 5116 | 5428 | ||
| @@ -5119,8 +5431,12 @@ fi | |||
| 5119 | else | 5431 | else |
| 5120 | case $cross_compiling:$ac_tool_warned in | 5432 | case $cross_compiling:$ac_tool_warned in |
| 5121 | yes:) | 5433 | yes:) |
| 5122 | { $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 |
| 5123 | $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;} | ||
| 5124 | ac_tool_warned=yes ;; | 5440 | ac_tool_warned=yes ;; |
| 5125 | esac | 5441 | esac |
| 5126 | RANLIB=$ac_ct_RANLIB | 5442 | RANLIB=$ac_ct_RANLIB |
| @@ -5136,11 +5452,60 @@ fi | |||
| 5136 | ## explicit --build to `configure', but if everything else than the kernel | 5452 | ## explicit --build to `configure', but if everything else than the kernel |
| 5137 | ## is running in i386 mode, we can help them out. | 5453 | ## is running in i386 mode, we can help them out. |
| 5138 | if test "$machine" = "amdx86-64"; then | 5454 | if test "$machine" = "amdx86-64"; then |
| 5139 | ac_fn_c_check_decl "$LINENO" "i386" "ac_cv_have_decl_i386" "$ac_includes_default" | 5455 | { $as_echo "$as_me:$LINENO: checking whether i386 is declared" >&5 |
| 5140 | if test "x$ac_cv_have_decl_i386" = x""yes; then : | 5456 | $as_echo_n "checking whether i386 is declared... " >&6; } |
| 5457 | if test "${ac_cv_have_decl_i386+set}" = set; then | ||
| 5458 | $as_echo_n "(cached) " >&6 | ||
| 5459 | else | ||
| 5460 | cat >conftest.$ac_ext <<_ACEOF | ||
| 5461 | /* confdefs.h. */ | ||
| 5462 | _ACEOF | ||
| 5463 | cat confdefs.h >>conftest.$ac_ext | ||
| 5464 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5465 | /* end confdefs.h. */ | ||
| 5466 | $ac_includes_default | ||
| 5467 | int | ||
| 5468 | main () | ||
| 5469 | { | ||
| 5470 | #ifndef i386 | ||
| 5471 | (void) i386; | ||
| 5472 | #endif | ||
| 5141 | 5473 | ||
| 5474 | ; | ||
| 5475 | return 0; | ||
| 5476 | } | ||
| 5477 | _ACEOF | ||
| 5478 | rm -f conftest.$ac_objext | ||
| 5479 | if { (ac_try="$ac_compile" | ||
| 5480 | case "(($ac_try" in | ||
| 5481 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5482 | *) ac_try_echo=$ac_try;; | ||
| 5483 | esac | ||
| 5484 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5485 | $as_echo "$ac_try_echo") >&5 | ||
| 5486 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5487 | ac_status=$? | ||
| 5488 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5489 | rm -f conftest.er1 | ||
| 5490 | cat conftest.err >&5 | ||
| 5491 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5492 | (exit $ac_status); } && { | ||
| 5493 | test -z "$ac_c_werror_flag" || | ||
| 5494 | test ! -s conftest.err | ||
| 5495 | } && test -s conftest.$ac_objext; then | ||
| 5496 | ac_cv_have_decl_i386=yes | ||
| 5497 | else | ||
| 5498 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5499 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5500 | |||
| 5501 | ac_cv_have_decl_i386=no | ||
| 5142 | fi | 5502 | fi |
| 5143 | 5503 | ||
| 5504 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5505 | fi | ||
| 5506 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_i386" >&5 | ||
| 5507 | $as_echo "$ac_cv_have_decl_i386" >&6; } | ||
| 5508 | |||
| 5144 | if test "$ac_cv_have_decl_i386" = "yes"; then | 5509 | if test "$ac_cv_have_decl_i386" = "yes"; then |
| 5145 | canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` | 5510 | canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` |
| 5146 | machine=intel386 | 5511 | machine=intel386 |
| @@ -5150,9 +5515,9 @@ fi | |||
| 5150 | 5515 | ||
| 5151 | # Extract the first word of "install-info", so it can be a program name with args. | 5516 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5152 | set dummy install-info; ac_word=$2 | 5517 | set dummy install-info; ac_word=$2 |
| 5153 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5518 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5154 | $as_echo_n "checking for $ac_word... " >&6; } | 5519 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5155 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5520 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5156 | $as_echo_n "(cached) " >&6 | 5521 | $as_echo_n "(cached) " >&6 |
| 5157 | else | 5522 | else |
| 5158 | case $INSTALL_INFO in | 5523 | case $INSTALL_INFO in |
| @@ -5165,14 +5530,14 @@ for as_dir in $PATH | |||
| 5165 | do | 5530 | do |
| 5166 | IFS=$as_save_IFS | 5531 | IFS=$as_save_IFS |
| 5167 | test -z "$as_dir" && as_dir=. | 5532 | test -z "$as_dir" && as_dir=. |
| 5168 | for ac_exec_ext in '' $ac_executable_extensions; do | 5533 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5169 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5534 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5170 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5535 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5171 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5536 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5172 | break 2 | 5537 | break 2 |
| 5173 | fi | 5538 | fi |
| 5174 | done | 5539 | done |
| 5175 | done | 5540 | done |
| 5176 | IFS=$as_save_IFS | 5541 | IFS=$as_save_IFS |
| 5177 | 5542 | ||
| 5178 | ;; | 5543 | ;; |
| @@ -5180,19 +5545,19 @@ esac | |||
| 5180 | fi | 5545 | fi |
| 5181 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5546 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5182 | if test -n "$INSTALL_INFO"; then | 5547 | if test -n "$INSTALL_INFO"; then |
| 5183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5548 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5184 | $as_echo "$INSTALL_INFO" >&6; } | 5549 | $as_echo "$INSTALL_INFO" >&6; } |
| 5185 | else | 5550 | else |
| 5186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5551 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5187 | $as_echo "no" >&6; } | 5552 | $as_echo "no" >&6; } |
| 5188 | fi | 5553 | fi |
| 5189 | 5554 | ||
| 5190 | 5555 | ||
| 5191 | # Extract the first word of "install-info", so it can be a program name with args. | 5556 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5192 | set dummy install-info; ac_word=$2 | 5557 | set dummy install-info; ac_word=$2 |
| 5193 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5558 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5194 | $as_echo_n "checking for $ac_word... " >&6; } | 5559 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5195 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5560 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5196 | $as_echo_n "(cached) " >&6 | 5561 | $as_echo_n "(cached) " >&6 |
| 5197 | else | 5562 | else |
| 5198 | case $INSTALL_INFO in | 5563 | case $INSTALL_INFO in |
| @@ -5205,14 +5570,14 @@ for as_dir in /usr/sbin | |||
| 5205 | do | 5570 | do |
| 5206 | IFS=$as_save_IFS | 5571 | IFS=$as_save_IFS |
| 5207 | test -z "$as_dir" && as_dir=. | 5572 | test -z "$as_dir" && as_dir=. |
| 5208 | for ac_exec_ext in '' $ac_executable_extensions; do | 5573 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5209 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5574 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5210 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5575 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5211 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5576 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5212 | break 2 | 5577 | break 2 |
| 5213 | fi | 5578 | fi |
| 5214 | done | 5579 | done |
| 5215 | done | 5580 | done |
| 5216 | IFS=$as_save_IFS | 5581 | IFS=$as_save_IFS |
| 5217 | 5582 | ||
| 5218 | ;; | 5583 | ;; |
| @@ -5220,19 +5585,19 @@ esac | |||
| 5220 | fi | 5585 | fi |
| 5221 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5586 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5222 | if test -n "$INSTALL_INFO"; then | 5587 | if test -n "$INSTALL_INFO"; then |
| 5223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5588 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5224 | $as_echo "$INSTALL_INFO" >&6; } | 5589 | $as_echo "$INSTALL_INFO" >&6; } |
| 5225 | else | 5590 | else |
| 5226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5591 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5227 | $as_echo "no" >&6; } | 5592 | $as_echo "no" >&6; } |
| 5228 | fi | 5593 | fi |
| 5229 | 5594 | ||
| 5230 | 5595 | ||
| 5231 | # Extract the first word of "install-info", so it can be a program name with args. | 5596 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5232 | set dummy install-info; ac_word=$2 | 5597 | set dummy install-info; ac_word=$2 |
| 5233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5598 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5234 | $as_echo_n "checking for $ac_word... " >&6; } | 5599 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5235 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5600 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5236 | $as_echo_n "(cached) " >&6 | 5601 | $as_echo_n "(cached) " >&6 |
| 5237 | else | 5602 | else |
| 5238 | case $INSTALL_INFO in | 5603 | case $INSTALL_INFO in |
| @@ -5245,14 +5610,14 @@ for as_dir in /sbin | |||
| 5245 | do | 5610 | do |
| 5246 | IFS=$as_save_IFS | 5611 | IFS=$as_save_IFS |
| 5247 | test -z "$as_dir" && as_dir=. | 5612 | test -z "$as_dir" && as_dir=. |
| 5248 | for ac_exec_ext in '' $ac_executable_extensions; do | 5613 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5249 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5614 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5250 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5615 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5251 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5616 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5252 | break 2 | 5617 | break 2 |
| 5253 | fi | 5618 | fi |
| 5254 | done | 5619 | done |
| 5255 | done | 5620 | done |
| 5256 | IFS=$as_save_IFS | 5621 | IFS=$as_save_IFS |
| 5257 | 5622 | ||
| 5258 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5623 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
| @@ -5261,19 +5626,19 @@ esac | |||
| 5261 | fi | 5626 | fi |
| 5262 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5627 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5263 | if test -n "$INSTALL_INFO"; then | 5628 | if test -n "$INSTALL_INFO"; then |
| 5264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5629 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5265 | $as_echo "$INSTALL_INFO" >&6; } | 5630 | $as_echo "$INSTALL_INFO" >&6; } |
| 5266 | else | 5631 | else |
| 5267 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5632 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5268 | $as_echo "no" >&6; } | 5633 | $as_echo "no" >&6; } |
| 5269 | fi | 5634 | fi |
| 5270 | 5635 | ||
| 5271 | 5636 | ||
| 5272 | # Extract the first word of "gzip", so it can be a program name with args. | 5637 | # Extract the first word of "gzip", so it can be a program name with args. |
| 5273 | set dummy gzip; ac_word=$2 | 5638 | set dummy gzip; ac_word=$2 |
| 5274 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5639 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5275 | $as_echo_n "checking for $ac_word... " >&6; } | 5640 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5276 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5641 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
| 5277 | $as_echo_n "(cached) " >&6 | 5642 | $as_echo_n "(cached) " >&6 |
| 5278 | else | 5643 | else |
| 5279 | case $GZIP_PROG in | 5644 | case $GZIP_PROG in |
| @@ -5286,14 +5651,14 @@ for as_dir in $PATH | |||
| 5286 | do | 5651 | do |
| 5287 | IFS=$as_save_IFS | 5652 | IFS=$as_save_IFS |
| 5288 | test -z "$as_dir" && as_dir=. | 5653 | test -z "$as_dir" && as_dir=. |
| 5289 | for ac_exec_ext in '' $ac_executable_extensions; do | 5654 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5290 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5655 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5291 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5656 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
| 5292 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5657 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5293 | break 2 | 5658 | break 2 |
| 5294 | fi | 5659 | fi |
| 5295 | done | 5660 | done |
| 5296 | done | 5661 | done |
| 5297 | IFS=$as_save_IFS | 5662 | IFS=$as_save_IFS |
| 5298 | 5663 | ||
| 5299 | ;; | 5664 | ;; |
| @@ -5301,10 +5666,10 @@ esac | |||
| 5301 | fi | 5666 | fi |
| 5302 | GZIP_PROG=$ac_cv_path_GZIP_PROG | 5667 | GZIP_PROG=$ac_cv_path_GZIP_PROG |
| 5303 | if test -n "$GZIP_PROG"; then | 5668 | if test -n "$GZIP_PROG"; then |
| 5304 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 | 5669 | { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
| 5305 | $as_echo "$GZIP_PROG" >&6; } | 5670 | $as_echo "$GZIP_PROG" >&6; } |
| 5306 | else | 5671 | else |
| 5307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5672 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5308 | $as_echo "no" >&6; } | 5673 | $as_echo "no" >&6; } |
| 5309 | fi | 5674 | fi |
| 5310 | 5675 | ||
| @@ -5314,9 +5679,9 @@ fi | |||
| 5314 | ## Need makeinfo >= 4.6 (?) to build the manuals. | 5679 | ## Need makeinfo >= 4.6 (?) to build the manuals. |
| 5315 | # Extract the first word of "makeinfo", so it can be a program name with args. | 5680 | # Extract the first word of "makeinfo", so it can be a program name with args. |
| 5316 | set dummy makeinfo; ac_word=$2 | 5681 | set dummy makeinfo; ac_word=$2 |
| 5317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5682 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5318 | $as_echo_n "checking for $ac_word... " >&6; } | 5683 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5319 | if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5684 | if test "${ac_cv_path_MAKEINFO+set}" = set; then |
| 5320 | $as_echo_n "(cached) " >&6 | 5685 | $as_echo_n "(cached) " >&6 |
| 5321 | else | 5686 | else |
| 5322 | case $MAKEINFO in | 5687 | case $MAKEINFO in |
| @@ -5329,14 +5694,14 @@ for as_dir in $PATH | |||
| 5329 | do | 5694 | do |
| 5330 | IFS=$as_save_IFS | 5695 | IFS=$as_save_IFS |
| 5331 | test -z "$as_dir" && as_dir=. | 5696 | test -z "$as_dir" && as_dir=. |
| 5332 | for ac_exec_ext in '' $ac_executable_extensions; do | 5697 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5333 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5698 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5334 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5699 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
| 5335 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5700 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5336 | break 2 | 5701 | break 2 |
| 5337 | fi | 5702 | fi |
| 5338 | done | 5703 | done |
| 5339 | done | 5704 | done |
| 5340 | IFS=$as_save_IFS | 5705 | IFS=$as_save_IFS |
| 5341 | 5706 | ||
| 5342 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5707 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
| @@ -5345,10 +5710,10 @@ esac | |||
| 5345 | fi | 5710 | fi |
| 5346 | MAKEINFO=$ac_cv_path_MAKEINFO | 5711 | MAKEINFO=$ac_cv_path_MAKEINFO |
| 5347 | if test -n "$MAKEINFO"; then | 5712 | if test -n "$MAKEINFO"; then |
| 5348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 | 5713 | { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
| 5349 | $as_echo "$MAKEINFO" >&6; } | 5714 | $as_echo "$MAKEINFO" >&6; } |
| 5350 | else | 5715 | else |
| 5351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5716 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5352 | $as_echo "no" >&6; } | 5717 | $as_echo "no" >&6; } |
| 5353 | fi | 5718 | fi |
| 5354 | 5719 | ||
| @@ -5371,10 +5736,15 @@ if test "$MAKEINFO" = "no"; then | |||
| 5371 | if test "x${with_makeinfo}" = "xno"; then | 5736 | if test "x${with_makeinfo}" = "xno"; then |
| 5372 | MAKEINFO=off | 5737 | MAKEINFO=off |
| 5373 | elif test ! -e $srcdir/info/emacs; then | 5738 | elif test ! -e $srcdir/info/emacs; then |
| 5374 | as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5739 | { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your |
| 5740 | source tree does not seem to have pre-built manuals in the \`info' directory. | ||
| 5741 | Either install a suitable version of makeinfo, or re-run configure | ||
| 5742 | with the \`--without-makeinfo' option to build without the manuals. " >&5 | ||
| 5743 | $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | ||
| 5375 | source tree does not seem to have pre-built manuals in the \`info' directory. | 5744 | source tree does not seem to have pre-built manuals in the \`info' directory. |
| 5376 | Either install a suitable version of makeinfo, or re-run configure | 5745 | Either install a suitable version of makeinfo, or re-run configure |
| 5377 | with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5746 | with the \`--without-makeinfo' option to build without the manuals. " >&2;} |
| 5747 | { (exit 1); exit 1; }; } | ||
| 5378 | fi | 5748 | fi |
| 5379 | fi | 5749 | fi |
| 5380 | 5750 | ||
| @@ -5397,26 +5767,50 @@ else | |||
| 5397 | LDFLAGS="$LDFLAGS -znocombreloc" | 5767 | LDFLAGS="$LDFLAGS -znocombreloc" |
| 5398 | fi | 5768 | fi |
| 5399 | 5769 | ||
| 5400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5770 | { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
| 5401 | $as_echo_n "checking for -znocombreloc... " >&6; } | 5771 | $as_echo_n "checking for -znocombreloc... " >&6; } |
| 5402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5772 | cat >conftest.$ac_ext <<_ACEOF |
| 5403 | /* end confdefs.h. */ | ||
| 5404 | main(){return 0;} | 5773 | main(){return 0;} |
| 5405 | _ACEOF | 5774 | _ACEOF |
| 5406 | if ac_fn_c_try_link "$LINENO"; then : | 5775 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 5407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5776 | if { (ac_try="$ac_link" |
| 5777 | case "(($ac_try" in | ||
| 5778 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5779 | *) ac_try_echo=$ac_try;; | ||
| 5780 | esac | ||
| 5781 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5782 | $as_echo "$ac_try_echo") >&5 | ||
| 5783 | (eval "$ac_link") 2>conftest.er1 | ||
| 5784 | ac_status=$? | ||
| 5785 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5786 | rm -f conftest.er1 | ||
| 5787 | cat conftest.err >&5 | ||
| 5788 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5789 | (exit $ac_status); } && { | ||
| 5790 | test -z "$ac_c_werror_flag" || | ||
| 5791 | test ! -s conftest.err | ||
| 5792 | } && test -s conftest$ac_exeext && { | ||
| 5793 | test "$cross_compiling" = yes || | ||
| 5794 | $as_test_x conftest$ac_exeext | ||
| 5795 | }; then | ||
| 5796 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 5408 | $as_echo "yes" >&6; } | 5797 | $as_echo "yes" >&6; } |
| 5409 | else | 5798 | else |
| 5410 | LDFLAGS=$late_LDFLAGS | 5799 | $as_echo "$as_me: failed program was:" >&5 |
| 5411 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5800 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5801 | |||
| 5802 | LDFLAGS=$late_LDFLAGS | ||
| 5803 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
| 5412 | $as_echo "no" >&6; } | 5804 | $as_echo "no" >&6; } |
| 5413 | fi | 5805 | fi |
| 5414 | rm -f core conftest.err conftest.$ac_objext \ | 5806 | |
| 5415 | conftest$ac_exeext conftest.$ac_ext | 5807 | rm -rf conftest.dSYM |
| 5808 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 5809 | conftest$ac_exeext conftest.$ac_ext | ||
| 5416 | 5810 | ||
| 5417 | #### Extract some information from the operating system and machine files. | 5811 | #### Extract some information from the operating system and machine files. |
| 5418 | 5812 | ||
| 5419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out | 5813 | { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
| 5420 | - which libraries the lib-src programs will want, and | 5814 | - which libraries the lib-src programs will want, and |
| 5421 | - whether the GNU malloc routines are usable..." >&5 | 5815 | - whether the GNU malloc routines are usable..." >&5 |
| 5422 | $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5816 | $as_echo "$as_me: checking the machine- and system-dependent files to find out |
| @@ -5474,12 +5868,6 @@ configure___ use_mmap_for_buffers=no | |||
| 5474 | #define C_WARNINGS_SWITCH ${C_WARNINGS_SWITCH} | 5868 | #define C_WARNINGS_SWITCH ${C_WARNINGS_SWITCH} |
| 5475 | #endif | 5869 | #endif |
| 5476 | 5870 | ||
| 5477 | #ifndef LD_SWITCH_SYSTEM | ||
| 5478 | #define LD_SWITCH_SYSTEM | ||
| 5479 | #endif | ||
| 5480 | |||
| 5481 | configure___ ld_switch_system=LD_SWITCH_SYSTEM | ||
| 5482 | |||
| 5483 | #ifdef THIS_IS_CONFIGURE | 5871 | #ifdef THIS_IS_CONFIGURE |
| 5484 | 5872 | ||
| 5485 | /* Get the CFLAGS for tests in configure. */ | 5873 | /* Get the CFLAGS for tests in configure. */ |
| @@ -5516,15 +5904,106 @@ else | |||
| 5516 | fi | 5904 | fi |
| 5517 | rm ${tempcname} | 5905 | rm ${tempcname} |
| 5518 | 5906 | ||
| 5519 | ac_link="$ac_link $ld_switch_system" | 5907 | |
| 5908 | LD_SWITCH_SYSTEM= | ||
| 5909 | case "$opsys" in | ||
| 5910 | freebsd) | ||
| 5911 | ## Let `ld' find image libs and similar things in /usr/local/lib. | ||
| 5912 | ## The system compiler, GCC, has apparently been modified to not | ||
| 5913 | ## look there, contrary to what a stock GCC would do. | ||
| 5914 | LD_SWITCH_SYSTEM=-L/usr/local/lib | ||
| 5915 | ;; | ||
| 5916 | |||
| 5917 | gnu-linux) | ||
| 5918 | ## cpp test was "ifdef __mips__", but presumably this is equivalent... | ||
| 5919 | test "$machine" = "mips" && LD_SWITCH_SYSTEM="-G 0" | ||
| 5920 | ;; | ||
| 5921 | |||
| 5922 | netbsd) | ||
| 5923 | LD_SWITCH_SYSTEM="-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib" | ||
| 5924 | ;; | ||
| 5925 | |||
| 5926 | openbsd) | ||
| 5927 | ## Han Boetes <han@mijncomputer.nl> says this is necessary, | ||
| 5928 | ## otherwise Emacs dumps core on elf systems. | ||
| 5929 | LD_SWITCH_SYSTEM="-Z" | ||
| 5930 | ;; | ||
| 5931 | esac | ||
| 5932 | |||
| 5933 | |||
| 5934 | ac_link="$ac_link $LD_SWITCH_SYSTEM" | ||
| 5935 | |||
| 5936 | ## This is fun. Some settings of LD_SWITCH_SYSTEM reference | ||
| 5937 | ## LD_SWITCH_X_SITE_AUX, which has not been defined yet. When using | ||
| 5938 | ## cpp, it was expanded to null. Thus LD_SWITCH_SYSTEM had different | ||
| 5939 | ## values in configure and the Makefiles. How helpful. | ||
| 5940 | ## FIXME why not use LD_SWITCH_SYSTEM_TEMACS (or somesuch) instead? | ||
| 5941 | case "$opsys" in | ||
| 5942 | gnu-linux) | ||
| 5943 | ## LD_SWITCH_X_SITE_AUX is a -R option saying where to find X at run-time. | ||
| 5944 | LD_SWITCH_SYSTEM="$LD_SWITCH_SYSTEM \$(LD_SWITCH_X_SITE_AUX)" ;; | ||
| 5945 | |||
| 5946 | netbsd|openbsd) | ||
| 5947 | ## _AUX_RPATH is like _AUX, but uses -rpath instead of -R. | ||
| 5948 | LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;; | ||
| 5949 | esac | ||
| 5520 | 5950 | ||
| 5521 | 5951 | ||
| 5522 | C_SWITCH_MACHINE= | 5952 | C_SWITCH_MACHINE= |
| 5523 | if test "$machine" = "alpha"; then | 5953 | if test "$machine" = "alpha"; then |
| 5524 | ac_fn_c_check_decl "$LINENO" "__ELF__" "ac_cv_have_decl___ELF__" "$ac_includes_default" | 5954 | { $as_echo "$as_me:$LINENO: checking whether __ELF__ is declared" >&5 |
| 5525 | if test "x$ac_cv_have_decl___ELF__" = x""yes; then : | 5955 | $as_echo_n "checking whether __ELF__ is declared... " >&6; } |
| 5956 | if test "${ac_cv_have_decl___ELF__+set}" = set; then | ||
| 5957 | $as_echo_n "(cached) " >&6 | ||
| 5958 | else | ||
| 5959 | cat >conftest.$ac_ext <<_ACEOF | ||
| 5960 | /* confdefs.h. */ | ||
| 5961 | _ACEOF | ||
| 5962 | cat confdefs.h >>conftest.$ac_ext | ||
| 5963 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5964 | /* end confdefs.h. */ | ||
| 5965 | $ac_includes_default | ||
| 5966 | int | ||
| 5967 | main () | ||
| 5968 | { | ||
| 5969 | #ifndef __ELF__ | ||
| 5970 | (void) __ELF__; | ||
| 5971 | #endif | ||
| 5972 | |||
| 5973 | ; | ||
| 5974 | return 0; | ||
| 5975 | } | ||
| 5976 | _ACEOF | ||
| 5977 | rm -f conftest.$ac_objext | ||
| 5978 | if { (ac_try="$ac_compile" | ||
| 5979 | case "(($ac_try" in | ||
| 5980 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5981 | *) ac_try_echo=$ac_try;; | ||
| 5982 | esac | ||
| 5983 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5984 | $as_echo "$ac_try_echo") >&5 | ||
| 5985 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5986 | ac_status=$? | ||
| 5987 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5988 | rm -f conftest.er1 | ||
| 5989 | cat conftest.err >&5 | ||
| 5990 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5991 | (exit $ac_status); } && { | ||
| 5992 | test -z "$ac_c_werror_flag" || | ||
| 5993 | test ! -s conftest.err | ||
| 5994 | } && test -s conftest.$ac_objext; then | ||
| 5995 | ac_cv_have_decl___ELF__=yes | ||
| 5996 | else | ||
| 5997 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5998 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5999 | |||
| 6000 | ac_cv_have_decl___ELF__=no | ||
| 6001 | fi | ||
| 5526 | 6002 | ||
| 6003 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5527 | fi | 6004 | fi |
| 6005 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___ELF__" >&5 | ||
| 6006 | $as_echo "$ac_cv_have_decl___ELF__" >&6; } | ||
| 5528 | 6007 | ||
| 5529 | if test "$ac_cv_have_decl___ELF__" = "yes"; then | 6008 | if test "$ac_cv_have_decl___ELF__" = "yes"; then |
| 5530 | ## With ELF, make sure that all common symbols get allocated to in the | 6009 | ## With ELF, make sure that all common symbols get allocated to in the |
| @@ -5535,7 +6014,9 @@ fi | |||
| 5535 | if test "x$GCC" = "xyes"; then | 6014 | if test "x$GCC" = "xyes"; then |
| 5536 | C_SWITCH_MACHINE="-fno-common" | 6015 | C_SWITCH_MACHINE="-fno-common" |
| 5537 | else | 6016 | else |
| 5538 | as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 6017 | { { $as_echo "$as_me:$LINENO: error: What gives? Fix me if DEC Unix supports ELF now." >&5 |
| 6018 | $as_echo "$as_me: error: What gives? Fix me if DEC Unix supports ELF now." >&2;} | ||
| 6019 | { (exit 1); exit 1; }; } | ||
| 5539 | fi | 6020 | fi |
| 5540 | fi | 6021 | fi |
| 5541 | fi | 6022 | fi |
| @@ -5564,15 +6045,15 @@ fi | |||
| 5564 | 6045 | ||
| 5565 | 6046 | ||
| 5566 | # Check whether --enable-largefile was given. | 6047 | # Check whether --enable-largefile was given. |
| 5567 | if test "${enable_largefile+set}" = set; then : | 6048 | if test "${enable_largefile+set}" = set; then |
| 5568 | enableval=$enable_largefile; | 6049 | enableval=$enable_largefile; |
| 5569 | fi | 6050 | fi |
| 5570 | 6051 | ||
| 5571 | if test "$enable_largefile" != no; then | 6052 | if test "$enable_largefile" != no; then |
| 5572 | 6053 | ||
| 5573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 6054 | { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
| 5574 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 6055 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
| 5575 | if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 6056 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
| 5576 | $as_echo_n "(cached) " >&6 | 6057 | $as_echo_n "(cached) " >&6 |
| 5577 | else | 6058 | else |
| 5578 | ac_cv_sys_largefile_CC=no | 6059 | ac_cv_sys_largefile_CC=no |
| @@ -5581,7 +6062,11 @@ else | |||
| 5581 | while :; do | 6062 | while :; do |
| 5582 | # IRIX 6.2 and later do not support large files by default, | 6063 | # IRIX 6.2 and later do not support large files by default, |
| 5583 | # so use the C compiler's -n32 option if that helps. | 6064 | # so use the C compiler's -n32 option if that helps. |
| 5584 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6065 | cat >conftest.$ac_ext <<_ACEOF |
| 6066 | /* confdefs.h. */ | ||
| 6067 | _ACEOF | ||
| 6068 | cat confdefs.h >>conftest.$ac_ext | ||
| 6069 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5585 | /* end confdefs.h. */ | 6070 | /* end confdefs.h. */ |
| 5586 | #include <sys/types.h> | 6071 | #include <sys/types.h> |
| 5587 | /* Check that off_t can represent 2**63 - 1 correctly. | 6072 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5600,14 +6085,60 @@ main () | |||
| 5600 | return 0; | 6085 | return 0; |
| 5601 | } | 6086 | } |
| 5602 | _ACEOF | 6087 | _ACEOF |
| 5603 | 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 | ||
| 5604 | break | 6106 | break |
| 6107 | else | ||
| 6108 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6109 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6110 | |||
| 6111 | |||
| 5605 | fi | 6112 | fi |
| 6113 | |||
| 5606 | rm -f core conftest.err conftest.$ac_objext | 6114 | rm -f core conftest.err conftest.$ac_objext |
| 5607 | CC="$CC -n32" | 6115 | CC="$CC -n32" |
| 5608 | if ac_fn_c_try_compile "$LINENO"; then : | 6116 | rm -f conftest.$ac_objext |
| 6117 | if { (ac_try="$ac_compile" | ||
| 6118 | case "(($ac_try" in | ||
| 6119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6120 | *) ac_try_echo=$ac_try;; | ||
| 6121 | esac | ||
| 6122 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6123 | $as_echo "$ac_try_echo") >&5 | ||
| 6124 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6125 | ac_status=$? | ||
| 6126 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6127 | rm -f conftest.er1 | ||
| 6128 | cat conftest.err >&5 | ||
| 6129 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6130 | (exit $ac_status); } && { | ||
| 6131 | test -z "$ac_c_werror_flag" || | ||
| 6132 | test ! -s conftest.err | ||
| 6133 | } && test -s conftest.$ac_objext; then | ||
| 5609 | ac_cv_sys_largefile_CC=' -n32'; break | 6134 | ac_cv_sys_largefile_CC=' -n32'; break |
| 6135 | else | ||
| 6136 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6137 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6138 | |||
| 6139 | |||
| 5610 | fi | 6140 | fi |
| 6141 | |||
| 5611 | rm -f core conftest.err conftest.$ac_objext | 6142 | rm -f core conftest.err conftest.$ac_objext |
| 5612 | break | 6143 | break |
| 5613 | done | 6144 | done |
| @@ -5615,19 +6146,23 @@ rm -f core conftest.err conftest.$ac_objext | |||
| 5615 | rm -f conftest.$ac_ext | 6146 | rm -f conftest.$ac_ext |
| 5616 | fi | 6147 | fi |
| 5617 | fi | 6148 | fi |
| 5618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 6149 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
| 5619 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 6150 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
| 5620 | if test "$ac_cv_sys_largefile_CC" != no; then | 6151 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 5621 | CC=$CC$ac_cv_sys_largefile_CC | 6152 | CC=$CC$ac_cv_sys_largefile_CC |
| 5622 | fi | 6153 | fi |
| 5623 | 6154 | ||
| 5624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 6155 | { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 5625 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 6156 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 5626 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 6157 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
| 5627 | $as_echo_n "(cached) " >&6 | 6158 | $as_echo_n "(cached) " >&6 |
| 5628 | else | 6159 | else |
| 5629 | while :; do | 6160 | while :; do |
| 5630 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6161 | cat >conftest.$ac_ext <<_ACEOF |
| 6162 | /* confdefs.h. */ | ||
| 6163 | _ACEOF | ||
| 6164 | cat confdefs.h >>conftest.$ac_ext | ||
| 6165 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5631 | /* end confdefs.h. */ | 6166 | /* end confdefs.h. */ |
| 5632 | #include <sys/types.h> | 6167 | #include <sys/types.h> |
| 5633 | /* Check that off_t can represent 2**63 - 1 correctly. | 6168 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5646,11 +6181,38 @@ main () | |||
| 5646 | return 0; | 6181 | return 0; |
| 5647 | } | 6182 | } |
| 5648 | _ACEOF | 6183 | _ACEOF |
| 5649 | if ac_fn_c_try_compile "$LINENO"; then : | 6184 | rm -f conftest.$ac_objext |
| 6185 | if { (ac_try="$ac_compile" | ||
| 6186 | case "(($ac_try" in | ||
| 6187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6188 | *) ac_try_echo=$ac_try;; | ||
| 6189 | esac | ||
| 6190 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6191 | $as_echo "$ac_try_echo") >&5 | ||
| 6192 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6193 | ac_status=$? | ||
| 6194 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6195 | rm -f conftest.er1 | ||
| 6196 | cat conftest.err >&5 | ||
| 6197 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6198 | (exit $ac_status); } && { | ||
| 6199 | test -z "$ac_c_werror_flag" || | ||
| 6200 | test ! -s conftest.err | ||
| 6201 | } && test -s conftest.$ac_objext; then | ||
| 5650 | ac_cv_sys_file_offset_bits=no; break | 6202 | ac_cv_sys_file_offset_bits=no; break |
| 6203 | else | ||
| 6204 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6205 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6206 | |||
| 6207 | |||
| 5651 | fi | 6208 | fi |
| 6209 | |||
| 5652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6211 | cat >conftest.$ac_ext <<_ACEOF |
| 6212 | /* confdefs.h. */ | ||
| 6213 | _ACEOF | ||
| 6214 | cat confdefs.h >>conftest.$ac_ext | ||
| 6215 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5654 | /* end confdefs.h. */ | 6216 | /* end confdefs.h. */ |
| 5655 | #define _FILE_OFFSET_BITS 64 | 6217 | #define _FILE_OFFSET_BITS 64 |
| 5656 | #include <sys/types.h> | 6218 | #include <sys/types.h> |
| @@ -5670,15 +6232,38 @@ main () | |||
| 5670 | return 0; | 6232 | return 0; |
| 5671 | } | 6233 | } |
| 5672 | _ACEOF | 6234 | _ACEOF |
| 5673 | if ac_fn_c_try_compile "$LINENO"; then : | 6235 | rm -f conftest.$ac_objext |
| 6236 | if { (ac_try="$ac_compile" | ||
| 6237 | case "(($ac_try" in | ||
| 6238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6239 | *) ac_try_echo=$ac_try;; | ||
| 6240 | esac | ||
| 6241 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6242 | $as_echo "$ac_try_echo") >&5 | ||
| 6243 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6244 | ac_status=$? | ||
| 6245 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6246 | rm -f conftest.er1 | ||
| 6247 | cat conftest.err >&5 | ||
| 6248 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6249 | (exit $ac_status); } && { | ||
| 6250 | test -z "$ac_c_werror_flag" || | ||
| 6251 | test ! -s conftest.err | ||
| 6252 | } && test -s conftest.$ac_objext; then | ||
| 5674 | ac_cv_sys_file_offset_bits=64; break | 6253 | ac_cv_sys_file_offset_bits=64; break |
| 6254 | else | ||
| 6255 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6256 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6257 | |||
| 6258 | |||
| 5675 | fi | 6259 | fi |
| 6260 | |||
| 5676 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5677 | ac_cv_sys_file_offset_bits=unknown | 6262 | ac_cv_sys_file_offset_bits=unknown |
| 5678 | break | 6263 | break |
| 5679 | done | 6264 | done |
| 5680 | fi | 6265 | fi |
| 5681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 6266 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
| 5682 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 6267 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
| 5683 | case $ac_cv_sys_file_offset_bits in #( | 6268 | case $ac_cv_sys_file_offset_bits in #( |
| 5684 | no | unknown) ;; | 6269 | no | unknown) ;; |
| @@ -5690,13 +6275,17 @@ _ACEOF | |||
| 5690 | esac | 6275 | esac |
| 5691 | rm -rf conftest* | 6276 | rm -rf conftest* |
| 5692 | if test $ac_cv_sys_file_offset_bits = unknown; then | 6277 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 5693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 6278 | { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
| 5694 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 6279 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 5695 | if test "${ac_cv_sys_large_files+set}" = set; then : | 6280 | if test "${ac_cv_sys_large_files+set}" = set; then |
| 5696 | $as_echo_n "(cached) " >&6 | 6281 | $as_echo_n "(cached) " >&6 |
| 5697 | else | 6282 | else |
| 5698 | while :; do | 6283 | while :; do |
| 5699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6284 | cat >conftest.$ac_ext <<_ACEOF |
| 6285 | /* confdefs.h. */ | ||
| 6286 | _ACEOF | ||
| 6287 | cat confdefs.h >>conftest.$ac_ext | ||
| 6288 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5700 | /* end confdefs.h. */ | 6289 | /* end confdefs.h. */ |
| 5701 | #include <sys/types.h> | 6290 | #include <sys/types.h> |
| 5702 | /* Check that off_t can represent 2**63 - 1 correctly. | 6291 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5715,11 +6304,38 @@ main () | |||
| 5715 | return 0; | 6304 | return 0; |
| 5716 | } | 6305 | } |
| 5717 | _ACEOF | 6306 | _ACEOF |
| 5718 | if ac_fn_c_try_compile "$LINENO"; then : | 6307 | rm -f conftest.$ac_objext |
| 6308 | if { (ac_try="$ac_compile" | ||
| 6309 | case "(($ac_try" in | ||
| 6310 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6311 | *) ac_try_echo=$ac_try;; | ||
| 6312 | esac | ||
| 6313 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6314 | $as_echo "$ac_try_echo") >&5 | ||
| 6315 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6316 | ac_status=$? | ||
| 6317 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6318 | rm -f conftest.er1 | ||
| 6319 | cat conftest.err >&5 | ||
| 6320 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6321 | (exit $ac_status); } && { | ||
| 6322 | test -z "$ac_c_werror_flag" || | ||
| 6323 | test ! -s conftest.err | ||
| 6324 | } && test -s conftest.$ac_objext; then | ||
| 5719 | ac_cv_sys_large_files=no; break | 6325 | ac_cv_sys_large_files=no; break |
| 6326 | else | ||
| 6327 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6328 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6329 | |||
| 6330 | |||
| 5720 | fi | 6331 | fi |
| 6332 | |||
| 5721 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6333 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5722 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6334 | cat >conftest.$ac_ext <<_ACEOF |
| 6335 | /* confdefs.h. */ | ||
| 6336 | _ACEOF | ||
| 6337 | cat confdefs.h >>conftest.$ac_ext | ||
| 6338 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5723 | /* end confdefs.h. */ | 6339 | /* end confdefs.h. */ |
| 5724 | #define _LARGE_FILES 1 | 6340 | #define _LARGE_FILES 1 |
| 5725 | #include <sys/types.h> | 6341 | #include <sys/types.h> |
| @@ -5739,15 +6355,38 @@ main () | |||
| 5739 | return 0; | 6355 | return 0; |
| 5740 | } | 6356 | } |
| 5741 | _ACEOF | 6357 | _ACEOF |
| 5742 | if ac_fn_c_try_compile "$LINENO"; then : | 6358 | rm -f conftest.$ac_objext |
| 6359 | if { (ac_try="$ac_compile" | ||
| 6360 | case "(($ac_try" in | ||
| 6361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6362 | *) ac_try_echo=$ac_try;; | ||
| 6363 | esac | ||
| 6364 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6365 | $as_echo "$ac_try_echo") >&5 | ||
| 6366 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6367 | ac_status=$? | ||
| 6368 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6369 | rm -f conftest.er1 | ||
| 6370 | cat conftest.err >&5 | ||
| 6371 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6372 | (exit $ac_status); } && { | ||
| 6373 | test -z "$ac_c_werror_flag" || | ||
| 6374 | test ! -s conftest.err | ||
| 6375 | } && test -s conftest.$ac_objext; then | ||
| 5743 | ac_cv_sys_large_files=1; break | 6376 | ac_cv_sys_large_files=1; break |
| 6377 | else | ||
| 6378 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6379 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6380 | |||
| 6381 | |||
| 5744 | fi | 6382 | fi |
| 6383 | |||
| 5745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6384 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5746 | ac_cv_sys_large_files=unknown | 6385 | ac_cv_sys_large_files=unknown |
| 5747 | break | 6386 | break |
| 5748 | done | 6387 | done |
| 5749 | fi | 6388 | fi |
| 5750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 6389 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
| 5751 | $as_echo "$ac_cv_sys_large_files" >&6; } | 6390 | $as_echo "$ac_cv_sys_large_files" >&6; } |
| 5752 | case $ac_cv_sys_large_files in #( | 6391 | case $ac_cv_sys_large_files in #( |
| 5753 | no | unknown) ;; | 6392 | no | unknown) ;; |
| @@ -5793,7 +6432,9 @@ else | |||
| 5793 | ## Some platforms don't use any of these files, so it is not | 6432 | ## Some platforms don't use any of these files, so it is not |
| 5794 | ## appropriate to put this test outside the if block. | 6433 | ## appropriate to put this test outside the if block. |
| 5795 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 6434 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
| 5796 | as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 6435 | { { $as_echo "$as_me:$LINENO: error: crt*.o not found in specified location." >&5 |
| 6436 | $as_echo "$as_me: error: crt*.o not found in specified location." >&2;} | ||
| 6437 | { (exit 1); exit 1; }; } | ||
| 5797 | 6438 | ||
| 5798 | fi | 6439 | fi |
| 5799 | 6440 | ||
| @@ -5844,12 +6485,145 @@ esac | |||
| 5844 | 6485 | ||
| 5845 | if test "${with_sound}" != "no"; then | 6486 | if test "${with_sound}" != "no"; then |
| 5846 | # Sound support for GNU/Linux and the free BSDs. | 6487 | # Sound support for GNU/Linux and the free BSDs. |
| 5847 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6488 | |
| 5848 | do : | 6489 | |
| 5849 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6490 | |
| 5850 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6491 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
| 5851 | eval as_val=\$$as_ac_Header | 6492 | do |
| 5852 | if test "x$as_val" = x""yes; then : | 6493 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6494 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6495 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6496 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6497 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6498 | $as_echo_n "(cached) " >&6 | ||
| 6499 | fi | ||
| 6500 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6501 | $as_echo "$as_val"'` | ||
| 6502 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6503 | $as_echo "$ac_res" >&6; } | ||
| 6504 | else | ||
| 6505 | # Is the header compilable? | ||
| 6506 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6507 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6508 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6509 | /* confdefs.h. */ | ||
| 6510 | _ACEOF | ||
| 6511 | cat confdefs.h >>conftest.$ac_ext | ||
| 6512 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6513 | /* end confdefs.h. */ | ||
| 6514 | $ac_includes_default | ||
| 6515 | #include <$ac_header> | ||
| 6516 | _ACEOF | ||
| 6517 | rm -f conftest.$ac_objext | ||
| 6518 | if { (ac_try="$ac_compile" | ||
| 6519 | case "(($ac_try" in | ||
| 6520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6521 | *) ac_try_echo=$ac_try;; | ||
| 6522 | esac | ||
| 6523 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6524 | $as_echo "$ac_try_echo") >&5 | ||
| 6525 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6526 | ac_status=$? | ||
| 6527 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6528 | rm -f conftest.er1 | ||
| 6529 | cat conftest.err >&5 | ||
| 6530 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6531 | (exit $ac_status); } && { | ||
| 6532 | test -z "$ac_c_werror_flag" || | ||
| 6533 | test ! -s conftest.err | ||
| 6534 | } && test -s conftest.$ac_objext; then | ||
| 6535 | ac_header_compiler=yes | ||
| 6536 | else | ||
| 6537 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6538 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6539 | |||
| 6540 | ac_header_compiler=no | ||
| 6541 | fi | ||
| 6542 | |||
| 6543 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6544 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6545 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6546 | |||
| 6547 | # Is the header present? | ||
| 6548 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6549 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6550 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6551 | /* confdefs.h. */ | ||
| 6552 | _ACEOF | ||
| 6553 | cat confdefs.h >>conftest.$ac_ext | ||
| 6554 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6555 | /* end confdefs.h. */ | ||
| 6556 | #include <$ac_header> | ||
| 6557 | _ACEOF | ||
| 6558 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6559 | case "(($ac_try" in | ||
| 6560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6561 | *) ac_try_echo=$ac_try;; | ||
| 6562 | esac | ||
| 6563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6564 | $as_echo "$ac_try_echo") >&5 | ||
| 6565 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6566 | ac_status=$? | ||
| 6567 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6568 | rm -f conftest.er1 | ||
| 6569 | cat conftest.err >&5 | ||
| 6570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6571 | (exit $ac_status); } >/dev/null && { | ||
| 6572 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6573 | test ! -s conftest.err | ||
| 6574 | }; then | ||
| 6575 | ac_header_preproc=yes | ||
| 6576 | else | ||
| 6577 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6578 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6579 | |||
| 6580 | ac_header_preproc=no | ||
| 6581 | fi | ||
| 6582 | |||
| 6583 | rm -f conftest.err conftest.$ac_ext | ||
| 6584 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6585 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6586 | |||
| 6587 | # So? What about this header? | ||
| 6588 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6589 | yes:no: ) | ||
| 6590 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6591 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6592 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6593 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6594 | ac_header_preproc=yes | ||
| 6595 | ;; | ||
| 6596 | no:yes:* ) | ||
| 6597 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6598 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6599 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6600 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6601 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6602 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6603 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6604 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6605 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6606 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6607 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6608 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6609 | |||
| 6610 | ;; | ||
| 6611 | esac | ||
| 6612 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6613 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6614 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6615 | $as_echo_n "(cached) " >&6 | ||
| 6616 | else | ||
| 6617 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6618 | fi | ||
| 6619 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6620 | $as_echo "$as_val"'` | ||
| 6621 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6622 | $as_echo "$ac_res" >&6; } | ||
| 6623 | |||
| 6624 | fi | ||
| 6625 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6626 | $as_echo "$as_val"'` = yes; then | ||
| 5853 | cat >>confdefs.h <<_ACEOF | 6627 | cat >>confdefs.h <<_ACEOF |
| 5854 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6628 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5855 | _ACEOF | 6629 | _ACEOF |
| @@ -5859,14 +6633,18 @@ fi | |||
| 5859 | done | 6633 | done |
| 5860 | 6634 | ||
| 5861 | # Emulation library used on NetBSD. | 6635 | # Emulation library used on NetBSD. |
| 5862 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6636 | { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
| 5863 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6637 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
| 5864 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6638 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
| 5865 | $as_echo_n "(cached) " >&6 | 6639 | $as_echo_n "(cached) " >&6 |
| 5866 | else | 6640 | else |
| 5867 | ac_check_lib_save_LIBS=$LIBS | 6641 | ac_check_lib_save_LIBS=$LIBS |
| 5868 | LIBS="-lossaudio $LIBS" | 6642 | LIBS="-lossaudio $LIBS" |
| 5869 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6643 | cat >conftest.$ac_ext <<_ACEOF |
| 6644 | /* confdefs.h. */ | ||
| 6645 | _ACEOF | ||
| 6646 | cat confdefs.h >>conftest.$ac_ext | ||
| 6647 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5870 | /* end confdefs.h. */ | 6648 | /* end confdefs.h. */ |
| 5871 | 6649 | ||
| 5872 | /* Override any GCC internal prototype to avoid an error. | 6650 | /* Override any GCC internal prototype to avoid an error. |
| @@ -5884,18 +6662,43 @@ return _oss_ioctl (); | |||
| 5884 | return 0; | 6662 | return 0; |
| 5885 | } | 6663 | } |
| 5886 | _ACEOF | 6664 | _ACEOF |
| 5887 | if ac_fn_c_try_link "$LINENO"; then : | 6665 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 6666 | if { (ac_try="$ac_link" | ||
| 6667 | case "(($ac_try" in | ||
| 6668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6669 | *) ac_try_echo=$ac_try;; | ||
| 6670 | esac | ||
| 6671 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6672 | $as_echo "$ac_try_echo") >&5 | ||
| 6673 | (eval "$ac_link") 2>conftest.er1 | ||
| 6674 | ac_status=$? | ||
| 6675 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6676 | rm -f conftest.er1 | ||
| 6677 | cat conftest.err >&5 | ||
| 6678 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6679 | (exit $ac_status); } && { | ||
| 6680 | test -z "$ac_c_werror_flag" || | ||
| 6681 | test ! -s conftest.err | ||
| 6682 | } && test -s conftest$ac_exeext && { | ||
| 6683 | test "$cross_compiling" = yes || | ||
| 6684 | $as_test_x conftest$ac_exeext | ||
| 6685 | }; then | ||
| 5888 | ac_cv_lib_ossaudio__oss_ioctl=yes | 6686 | ac_cv_lib_ossaudio__oss_ioctl=yes |
| 5889 | else | 6687 | else |
| 5890 | ac_cv_lib_ossaudio__oss_ioctl=no | 6688 | $as_echo "$as_me: failed program was:" >&5 |
| 6689 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6690 | |||
| 6691 | ac_cv_lib_ossaudio__oss_ioctl=no | ||
| 5891 | fi | 6692 | fi |
| 5892 | rm -f core conftest.err conftest.$ac_objext \ | 6693 | |
| 5893 | conftest$ac_exeext conftest.$ac_ext | 6694 | rm -rf conftest.dSYM |
| 6695 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 6696 | conftest$ac_exeext conftest.$ac_ext | ||
| 5894 | LIBS=$ac_check_lib_save_LIBS | 6697 | LIBS=$ac_check_lib_save_LIBS |
| 5895 | fi | 6698 | fi |
| 5896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6699 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
| 5897 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6700 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
| 5898 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6701 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
| 5899 | LIBSOUND=-lossaudio | 6702 | LIBSOUND=-lossaudio |
| 5900 | else | 6703 | else |
| 5901 | LIBSOUND= | 6704 | LIBSOUND= |
| @@ -5910,9 +6713,9 @@ fi | |||
| 5910 | 6713 | ||
| 5911 | # Extract the first word of "pkg-config", so it can be a program name with args. | 6714 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 5912 | set dummy pkg-config; ac_word=$2 | 6715 | set dummy pkg-config; ac_word=$2 |
| 5913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6716 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5914 | $as_echo_n "checking for $ac_word... " >&6; } | 6717 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5915 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6718 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 5916 | $as_echo_n "(cached) " >&6 | 6719 | $as_echo_n "(cached) " >&6 |
| 5917 | else | 6720 | else |
| 5918 | case $PKG_CONFIG in | 6721 | case $PKG_CONFIG in |
| @@ -5925,14 +6728,14 @@ for as_dir in $PATH | |||
| 5925 | do | 6728 | do |
| 5926 | IFS=$as_save_IFS | 6729 | IFS=$as_save_IFS |
| 5927 | test -z "$as_dir" && as_dir=. | 6730 | test -z "$as_dir" && as_dir=. |
| 5928 | for ac_exec_ext in '' $ac_executable_extensions; do | 6731 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5929 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6732 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5930 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6733 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5931 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6734 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5932 | break 2 | 6735 | break 2 |
| 5933 | fi | 6736 | fi |
| 5934 | done | 6737 | done |
| 5935 | done | 6738 | done |
| 5936 | IFS=$as_save_IFS | 6739 | IFS=$as_save_IFS |
| 5937 | 6740 | ||
| 5938 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6741 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -5941,10 +6744,10 @@ esac | |||
| 5941 | fi | 6744 | fi |
| 5942 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6745 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 5943 | if test -n "$PKG_CONFIG"; then | 6746 | if test -n "$PKG_CONFIG"; then |
| 5944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 6747 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 5945 | $as_echo "$PKG_CONFIG" >&6; } | 6748 | $as_echo "$PKG_CONFIG" >&6; } |
| 5946 | else | 6749 | else |
| 5947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6750 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5948 | $as_echo "no" >&6; } | 6751 | $as_echo "no" >&6; } |
| 5949 | fi | 6752 | fi |
| 5950 | 6753 | ||
| @@ -5955,27 +6758,27 @@ fi | |||
| 5955 | else | 6758 | else |
| 5956 | PKG_CONFIG_MIN_VERSION=0.9.0 | 6759 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 5957 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6760 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 5958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 6761 | { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
| 5959 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 6762 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
| 5960 | 6763 | ||
| 5961 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6764 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
| 5962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6765 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 5963 | $as_echo "yes" >&6; } | 6766 | $as_echo "yes" >&6; } |
| 5964 | succeeded=yes | 6767 | succeeded=yes |
| 5965 | 6768 | ||
| 5966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 | 6769 | { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
| 5967 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 6770 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
| 5968 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6771 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 | 6772 | { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
| 5970 | $as_echo "$ALSA_CFLAGS" >&6; } | 6773 | $as_echo "$ALSA_CFLAGS" >&6; } |
| 5971 | 6774 | ||
| 5972 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 | 6775 | { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
| 5973 | $as_echo_n "checking ALSA_LIBS... " >&6; } | 6776 | $as_echo_n "checking ALSA_LIBS... " >&6; } |
| 5974 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6777 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 | 6778 | { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
| 5976 | $as_echo "$ALSA_LIBS" >&6; } | 6779 | $as_echo "$ALSA_LIBS" >&6; } |
| 5977 | else | 6780 | else |
| 5978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6781 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5979 | $as_echo "no" >&6; } | 6782 | $as_echo "no" >&6; } |
| 5980 | ALSA_CFLAGS="" | 6783 | ALSA_CFLAGS="" |
| 5981 | ALSA_LIBS="" | 6784 | ALSA_LIBS="" |
| @@ -6004,7 +6807,11 @@ $as_echo "no" >&6; } | |||
| 6004 | SAVE_LDFLAGS="$LDFLAGS" | 6807 | SAVE_LDFLAGS="$LDFLAGS" |
| 6005 | CFLAGS="$ALSA_CFLAGS $CFLAGS" | 6808 | CFLAGS="$ALSA_CFLAGS $CFLAGS" |
| 6006 | LDFLAGS="$ALSA_LIBS $LDFLAGS" | 6809 | LDFLAGS="$ALSA_LIBS $LDFLAGS" |
| 6007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6810 | cat >conftest.$ac_ext <<_ACEOF |
| 6811 | /* confdefs.h. */ | ||
| 6812 | _ACEOF | ||
| 6813 | cat confdefs.h >>conftest.$ac_ext | ||
| 6814 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6008 | /* end confdefs.h. */ | 6815 | /* end confdefs.h. */ |
| 6009 | #include <asoundlib.h> | 6816 | #include <asoundlib.h> |
| 6010 | int | 6817 | int |
| @@ -6015,14 +6822,39 @@ snd_lib_error_set_handler (0); | |||
| 6015 | return 0; | 6822 | return 0; |
| 6016 | } | 6823 | } |
| 6017 | _ACEOF | 6824 | _ACEOF |
| 6018 | if ac_fn_c_try_compile "$LINENO"; then : | 6825 | rm -f conftest.$ac_objext |
| 6826 | if { (ac_try="$ac_compile" | ||
| 6827 | case "(($ac_try" in | ||
| 6828 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6829 | *) ac_try_echo=$ac_try;; | ||
| 6830 | esac | ||
| 6831 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6832 | $as_echo "$ac_try_echo") >&5 | ||
| 6833 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6834 | ac_status=$? | ||
| 6835 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6836 | rm -f conftest.er1 | ||
| 6837 | cat conftest.err >&5 | ||
| 6838 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6839 | (exit $ac_status); } && { | ||
| 6840 | test -z "$ac_c_werror_flag" || | ||
| 6841 | test ! -s conftest.err | ||
| 6842 | } && test -s conftest.$ac_objext; then | ||
| 6019 | emacs_alsa_normal=yes | 6843 | emacs_alsa_normal=yes |
| 6020 | else | 6844 | else |
| 6021 | emacs_alsa_normal=no | 6845 | $as_echo "$as_me: failed program was:" >&5 |
| 6846 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6847 | |||
| 6848 | emacs_alsa_normal=no | ||
| 6022 | fi | 6849 | fi |
| 6850 | |||
| 6023 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6851 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6024 | if test "$emacs_alsa_normal" != yes; then | 6852 | if test "$emacs_alsa_normal" != yes; then |
| 6025 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6853 | cat >conftest.$ac_ext <<_ACEOF |
| 6854 | /* confdefs.h. */ | ||
| 6855 | _ACEOF | ||
| 6856 | cat confdefs.h >>conftest.$ac_ext | ||
| 6857 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6026 | /* end confdefs.h. */ | 6858 | /* end confdefs.h. */ |
| 6027 | #include <alsa/asoundlib.h> | 6859 | #include <alsa/asoundlib.h> |
| 6028 | int | 6860 | int |
| @@ -6033,14 +6865,37 @@ snd_lib_error_set_handler (0); | |||
| 6033 | return 0; | 6865 | return 0; |
| 6034 | } | 6866 | } |
| 6035 | _ACEOF | 6867 | _ACEOF |
| 6036 | if ac_fn_c_try_compile "$LINENO"; then : | 6868 | rm -f conftest.$ac_objext |
| 6869 | if { (ac_try="$ac_compile" | ||
| 6870 | case "(($ac_try" in | ||
| 6871 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6872 | *) ac_try_echo=$ac_try;; | ||
| 6873 | esac | ||
| 6874 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6875 | $as_echo "$ac_try_echo") >&5 | ||
| 6876 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6877 | ac_status=$? | ||
| 6878 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6879 | rm -f conftest.er1 | ||
| 6880 | cat conftest.err >&5 | ||
| 6881 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6882 | (exit $ac_status); } && { | ||
| 6883 | test -z "$ac_c_werror_flag" || | ||
| 6884 | test ! -s conftest.err | ||
| 6885 | } && test -s conftest.$ac_objext; then | ||
| 6037 | emacs_alsa_subdir=yes | 6886 | emacs_alsa_subdir=yes |
| 6038 | else | 6887 | else |
| 6039 | emacs_alsa_subdir=no | 6888 | $as_echo "$as_me: failed program was:" >&5 |
| 6889 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6890 | |||
| 6891 | emacs_alsa_subdir=no | ||
| 6040 | fi | 6892 | fi |
| 6893 | |||
| 6041 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6042 | if test "$emacs_alsa_subdir" != yes; then | 6895 | if test "$emacs_alsa_subdir" != yes; then |
| 6043 | as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6896 | { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 |
| 6897 | $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | ||
| 6898 | { (exit 1); exit 1; }; } | ||
| 6044 | fi | 6899 | fi |
| 6045 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6900 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
| 6046 | fi | 6901 | fi |
| @@ -6050,22 +6905,179 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
| 6050 | LIBSOUND="$LIBSOUND $ALSA_LIBS" | 6905 | LIBSOUND="$LIBSOUND $ALSA_LIBS" |
| 6051 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 6906 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
| 6052 | 6907 | ||
| 6053 | $as_echo "#define HAVE_ALSA 1" >>confdefs.h | 6908 | cat >>confdefs.h <<\_ACEOF |
| 6909 | #define HAVE_ALSA 1 | ||
| 6910 | _ACEOF | ||
| 6054 | 6911 | ||
| 6055 | fi | 6912 | fi |
| 6056 | 6913 | ||
| 6057 | fi | 6914 | fi |
| 6058 | 6915 | ||
| 6916 | |||
| 6917 | |||
| 6918 | |||
| 6919 | |||
| 6920 | |||
| 6921 | |||
| 6922 | |||
| 6923 | |||
| 6924 | |||
| 6925 | |||
| 6926 | |||
| 6927 | |||
| 6928 | |||
| 6929 | |||
| 6930 | |||
| 6931 | |||
| 6932 | |||
| 6933 | |||
| 6934 | |||
| 6935 | |||
| 6936 | |||
| 6937 | |||
| 6938 | |||
| 6939 | |||
| 6940 | |||
| 6059 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6941 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 6060 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6942 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 6061 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6943 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 6062 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6944 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
| 6063 | sys/utsname.h pwd.h utmp.h | 6945 | sys/utsname.h pwd.h utmp.h |
| 6064 | do : | 6946 | do |
| 6065 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6947 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6066 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6948 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6067 | eval as_val=\$$as_ac_Header | 6949 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6068 | if test "x$as_val" = x""yes; then : | 6950 | $as_echo_n "checking for $ac_header... " >&6; } |
| 6951 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6952 | $as_echo_n "(cached) " >&6 | ||
| 6953 | fi | ||
| 6954 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6955 | $as_echo "$as_val"'` | ||
| 6956 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6957 | $as_echo "$ac_res" >&6; } | ||
| 6958 | else | ||
| 6959 | # Is the header compilable? | ||
| 6960 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6961 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6963 | /* confdefs.h. */ | ||
| 6964 | _ACEOF | ||
| 6965 | cat confdefs.h >>conftest.$ac_ext | ||
| 6966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6967 | /* end confdefs.h. */ | ||
| 6968 | $ac_includes_default | ||
| 6969 | #include <$ac_header> | ||
| 6970 | _ACEOF | ||
| 6971 | rm -f conftest.$ac_objext | ||
| 6972 | if { (ac_try="$ac_compile" | ||
| 6973 | case "(($ac_try" in | ||
| 6974 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6975 | *) ac_try_echo=$ac_try;; | ||
| 6976 | esac | ||
| 6977 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6978 | $as_echo "$ac_try_echo") >&5 | ||
| 6979 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6980 | ac_status=$? | ||
| 6981 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6982 | rm -f conftest.er1 | ||
| 6983 | cat conftest.err >&5 | ||
| 6984 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6985 | (exit $ac_status); } && { | ||
| 6986 | test -z "$ac_c_werror_flag" || | ||
| 6987 | test ! -s conftest.err | ||
| 6988 | } && test -s conftest.$ac_objext; then | ||
| 6989 | ac_header_compiler=yes | ||
| 6990 | else | ||
| 6991 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6992 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6993 | |||
| 6994 | ac_header_compiler=no | ||
| 6995 | fi | ||
| 6996 | |||
| 6997 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6998 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6999 | $as_echo "$ac_header_compiler" >&6; } | ||
| 7000 | |||
| 7001 | # Is the header present? | ||
| 7002 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 7003 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 7004 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7005 | /* confdefs.h. */ | ||
| 7006 | _ACEOF | ||
| 7007 | cat confdefs.h >>conftest.$ac_ext | ||
| 7008 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7009 | /* end confdefs.h. */ | ||
| 7010 | #include <$ac_header> | ||
| 7011 | _ACEOF | ||
| 7012 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 7013 | case "(($ac_try" in | ||
| 7014 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7015 | *) ac_try_echo=$ac_try;; | ||
| 7016 | esac | ||
| 7017 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7018 | $as_echo "$ac_try_echo") >&5 | ||
| 7019 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 7020 | ac_status=$? | ||
| 7021 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7022 | rm -f conftest.er1 | ||
| 7023 | cat conftest.err >&5 | ||
| 7024 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7025 | (exit $ac_status); } >/dev/null && { | ||
| 7026 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 7027 | test ! -s conftest.err | ||
| 7028 | }; then | ||
| 7029 | ac_header_preproc=yes | ||
| 7030 | else | ||
| 7031 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7032 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7033 | |||
| 7034 | ac_header_preproc=no | ||
| 7035 | fi | ||
| 7036 | |||
| 7037 | rm -f conftest.err conftest.$ac_ext | ||
| 7038 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 7039 | $as_echo "$ac_header_preproc" >&6; } | ||
| 7040 | |||
| 7041 | # So? What about this header? | ||
| 7042 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 7043 | yes:no: ) | ||
| 7044 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 7045 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 7046 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 7047 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 7048 | ac_header_preproc=yes | ||
| 7049 | ;; | ||
| 7050 | no:yes:* ) | ||
| 7051 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 7052 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 7053 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 7054 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 7055 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 7056 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 7057 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 7058 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 7059 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 7060 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 7061 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 7062 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 7063 | |||
| 7064 | ;; | ||
| 7065 | esac | ||
| 7066 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7067 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7068 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7069 | $as_echo_n "(cached) " >&6 | ||
| 7070 | else | ||
| 7071 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 7072 | fi | ||
| 7073 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7074 | $as_echo "$as_val"'` | ||
| 7075 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7076 | $as_echo "$ac_res" >&6; } | ||
| 7077 | |||
| 7078 | fi | ||
| 7079 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7080 | $as_echo "$as_val"'` = yes; then | ||
| 6069 | cat >>confdefs.h <<_ACEOF | 7081 | cat >>confdefs.h <<_ACEOF |
| 6070 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7082 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6071 | _ACEOF | 7083 | _ACEOF |
| @@ -6075,9 +7087,13 @@ fi | |||
| 6075 | done | 7087 | done |
| 6076 | 7088 | ||
| 6077 | 7089 | ||
| 6078 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 7090 | { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
| 6079 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 7091 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
| 6080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7092 | cat >conftest.$ac_ext <<_ACEOF |
| 7093 | /* confdefs.h. */ | ||
| 7094 | _ACEOF | ||
| 7095 | cat confdefs.h >>conftest.$ac_ext | ||
| 7096 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6081 | /* end confdefs.h. */ | 7097 | /* end confdefs.h. */ |
| 6082 | #include <sys/personality.h> | 7098 | #include <sys/personality.h> |
| 6083 | int | 7099 | int |
| @@ -6088,39 +7104,112 @@ personality (PER_LINUX32) | |||
| 6088 | return 0; | 7104 | return 0; |
| 6089 | } | 7105 | } |
| 6090 | _ACEOF | 7106 | _ACEOF |
| 6091 | if ac_fn_c_try_compile "$LINENO"; then : | 7107 | rm -f conftest.$ac_objext |
| 7108 | if { (ac_try="$ac_compile" | ||
| 7109 | case "(($ac_try" in | ||
| 7110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7111 | *) ac_try_echo=$ac_try;; | ||
| 7112 | esac | ||
| 7113 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7114 | $as_echo "$ac_try_echo") >&5 | ||
| 7115 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7116 | ac_status=$? | ||
| 7117 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7118 | rm -f conftest.er1 | ||
| 7119 | cat conftest.err >&5 | ||
| 7120 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7121 | (exit $ac_status); } && { | ||
| 7122 | test -z "$ac_c_werror_flag" || | ||
| 7123 | test ! -s conftest.err | ||
| 7124 | } && test -s conftest.$ac_objext; then | ||
| 6092 | emacs_cv_personality_linux32=yes | 7125 | emacs_cv_personality_linux32=yes |
| 6093 | else | 7126 | else |
| 6094 | emacs_cv_personality_linux32=no | 7127 | $as_echo "$as_me: failed program was:" >&5 |
| 7128 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7129 | |||
| 7130 | emacs_cv_personality_linux32=no | ||
| 6095 | fi | 7131 | fi |
| 7132 | |||
| 6096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6097 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 | 7134 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
| 6098 | $as_echo "$emacs_cv_personality_linux32" >&6; } | 7135 | $as_echo "$emacs_cv_personality_linux32" >&6; } |
| 6099 | 7136 | ||
| 6100 | if test $emacs_cv_personality_linux32 = yes; then | 7137 | if test $emacs_cv_personality_linux32 = yes; then |
| 6101 | 7138 | ||
| 6102 | $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h | 7139 | cat >>confdefs.h <<\_ACEOF |
| 7140 | #define HAVE_PERSONALITY_LINUX32 1 | ||
| 7141 | _ACEOF | ||
| 6103 | 7142 | ||
| 6104 | fi | 7143 | fi |
| 6105 | 7144 | ||
| 7145 | |||
| 6106 | for ac_header in term.h | 7146 | for ac_header in term.h |
| 6107 | do : | 7147 | do |
| 6108 | ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 7148 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6109 | if test "x$ac_cv_header_term_h" = x""yes; then : | 7149 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7150 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7151 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7152 | $as_echo_n "(cached) " >&6 | ||
| 7153 | else | ||
| 7154 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7155 | /* confdefs.h. */ | ||
| 7156 | _ACEOF | ||
| 7157 | cat confdefs.h >>conftest.$ac_ext | ||
| 7158 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7159 | /* end confdefs.h. */ | ||
| 7160 | #include <$ac_header> | ||
| 7161 | _ACEOF | ||
| 7162 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 7163 | case "(($ac_try" in | ||
| 7164 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7165 | *) ac_try_echo=$ac_try;; | ||
| 7166 | esac | ||
| 7167 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7168 | $as_echo "$ac_try_echo") >&5 | ||
| 7169 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 7170 | ac_status=$? | ||
| 7171 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7172 | rm -f conftest.er1 | ||
| 7173 | cat conftest.err >&5 | ||
| 7174 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7175 | (exit $ac_status); } >/dev/null && { | ||
| 7176 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 7177 | test ! -s conftest.err | ||
| 7178 | }; then | ||
| 7179 | eval "$as_ac_Header=yes" | ||
| 7180 | else | ||
| 7181 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7182 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7183 | |||
| 7184 | eval "$as_ac_Header=no" | ||
| 7185 | fi | ||
| 7186 | |||
| 7187 | rm -f conftest.err conftest.$ac_ext | ||
| 7188 | fi | ||
| 7189 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7190 | $as_echo "$as_val"'` | ||
| 7191 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7192 | $as_echo "$ac_res" >&6; } | ||
| 7193 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7194 | $as_echo "$as_val"'` = yes; then | ||
| 6110 | cat >>confdefs.h <<_ACEOF | 7195 | cat >>confdefs.h <<_ACEOF |
| 6111 | #define HAVE_TERM_H 1 | 7196 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6112 | _ACEOF | 7197 | _ACEOF |
| 6113 | 7198 | ||
| 6114 | fi | 7199 | fi |
| 6115 | 7200 | ||
| 6116 | done | 7201 | done |
| 6117 | 7202 | ||
| 6118 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 7203 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6119 | $as_echo_n "checking for ANSI C header files... " >&6; } | 7204 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 6120 | if test "${ac_cv_header_stdc+set}" = set; then : | 7205 | if test "${ac_cv_header_stdc+set}" = set; then |
| 6121 | $as_echo_n "(cached) " >&6 | 7206 | $as_echo_n "(cached) " >&6 |
| 6122 | else | 7207 | else |
| 6123 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7208 | cat >conftest.$ac_ext <<_ACEOF |
| 7209 | /* confdefs.h. */ | ||
| 7210 | _ACEOF | ||
| 7211 | cat confdefs.h >>conftest.$ac_ext | ||
| 7212 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6124 | /* end confdefs.h. */ | 7213 | /* end confdefs.h. */ |
| 6125 | #include <stdlib.h> | 7214 | #include <stdlib.h> |
| 6126 | #include <stdarg.h> | 7215 | #include <stdarg.h> |
| @@ -6135,23 +7224,48 @@ main () | |||
| 6135 | return 0; | 7224 | return 0; |
| 6136 | } | 7225 | } |
| 6137 | _ACEOF | 7226 | _ACEOF |
| 6138 | if ac_fn_c_try_compile "$LINENO"; then : | 7227 | rm -f conftest.$ac_objext |
| 7228 | if { (ac_try="$ac_compile" | ||
| 7229 | case "(($ac_try" in | ||
| 7230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7231 | *) ac_try_echo=$ac_try;; | ||
| 7232 | esac | ||
| 7233 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7234 | $as_echo "$ac_try_echo") >&5 | ||
| 7235 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7236 | ac_status=$? | ||
| 7237 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7238 | rm -f conftest.er1 | ||
| 7239 | cat conftest.err >&5 | ||
| 7240 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7241 | (exit $ac_status); } && { | ||
| 7242 | test -z "$ac_c_werror_flag" || | ||
| 7243 | test ! -s conftest.err | ||
| 7244 | } && test -s conftest.$ac_objext; then | ||
| 6139 | ac_cv_header_stdc=yes | 7245 | ac_cv_header_stdc=yes |
| 6140 | else | 7246 | else |
| 6141 | ac_cv_header_stdc=no | 7247 | $as_echo "$as_me: failed program was:" >&5 |
| 7248 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7249 | |||
| 7250 | ac_cv_header_stdc=no | ||
| 6142 | fi | 7251 | fi |
| 7252 | |||
| 6143 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7253 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6144 | 7254 | ||
| 6145 | if test $ac_cv_header_stdc = yes; then | 7255 | if test $ac_cv_header_stdc = yes; then |
| 6146 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7256 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6147 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7257 | cat >conftest.$ac_ext <<_ACEOF |
| 7258 | /* confdefs.h. */ | ||
| 7259 | _ACEOF | ||
| 7260 | cat confdefs.h >>conftest.$ac_ext | ||
| 7261 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6148 | /* end confdefs.h. */ | 7262 | /* end confdefs.h. */ |
| 6149 | #include <string.h> | 7263 | #include <string.h> |
| 6150 | 7264 | ||
| 6151 | _ACEOF | 7265 | _ACEOF |
| 6152 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7266 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6153 | $EGREP "memchr" >/dev/null 2>&1; then : | 7267 | $EGREP "memchr" >/dev/null 2>&1; then |
| 6154 | 7268 | : | |
| 6155 | else | 7269 | else |
| 6156 | ac_cv_header_stdc=no | 7270 | ac_cv_header_stdc=no |
| 6157 | fi | 7271 | fi |
| @@ -6161,14 +7275,18 @@ fi | |||
| 6161 | 7275 | ||
| 6162 | if test $ac_cv_header_stdc = yes; then | 7276 | if test $ac_cv_header_stdc = yes; then |
| 6163 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7277 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 6164 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7278 | cat >conftest.$ac_ext <<_ACEOF |
| 7279 | /* confdefs.h. */ | ||
| 7280 | _ACEOF | ||
| 7281 | cat confdefs.h >>conftest.$ac_ext | ||
| 7282 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6165 | /* end confdefs.h. */ | 7283 | /* end confdefs.h. */ |
| 6166 | #include <stdlib.h> | 7284 | #include <stdlib.h> |
| 6167 | 7285 | ||
| 6168 | _ACEOF | 7286 | _ACEOF |
| 6169 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7287 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6170 | $EGREP "free" >/dev/null 2>&1; then : | 7288 | $EGREP "free" >/dev/null 2>&1; then |
| 6171 | 7289 | : | |
| 6172 | else | 7290 | else |
| 6173 | ac_cv_header_stdc=no | 7291 | ac_cv_header_stdc=no |
| 6174 | fi | 7292 | fi |
| @@ -6178,10 +7296,14 @@ fi | |||
| 6178 | 7296 | ||
| 6179 | if test $ac_cv_header_stdc = yes; then | 7297 | if test $ac_cv_header_stdc = yes; then |
| 6180 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 7298 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 6181 | if test "$cross_compiling" = yes; then : | 7299 | if test "$cross_compiling" = yes; then |
| 6182 | : | 7300 | : |
| 6183 | else | 7301 | else |
| 6184 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7302 | cat >conftest.$ac_ext <<_ACEOF |
| 7303 | /* confdefs.h. */ | ||
| 7304 | _ACEOF | ||
| 7305 | cat confdefs.h >>conftest.$ac_ext | ||
| 7306 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6185 | /* end confdefs.h. */ | 7307 | /* end confdefs.h. */ |
| 6186 | #include <ctype.h> | 7308 | #include <ctype.h> |
| 6187 | #include <stdlib.h> | 7309 | #include <stdlib.h> |
| @@ -6208,31 +7330,64 @@ main () | |||
| 6208 | return 0; | 7330 | return 0; |
| 6209 | } | 7331 | } |
| 6210 | _ACEOF | 7332 | _ACEOF |
| 6211 | if ac_fn_c_try_run "$LINENO"; then : | 7333 | rm -f conftest$ac_exeext |
| 6212 | 7334 | if { (ac_try="$ac_link" | |
| 7335 | case "(($ac_try" in | ||
| 7336 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7337 | *) ac_try_echo=$ac_try;; | ||
| 7338 | esac | ||
| 7339 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7340 | $as_echo "$ac_try_echo") >&5 | ||
| 7341 | (eval "$ac_link") 2>&5 | ||
| 7342 | ac_status=$? | ||
| 7343 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7344 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 7345 | { (case "(($ac_try" in | ||
| 7346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7347 | *) ac_try_echo=$ac_try;; | ||
| 7348 | esac | ||
| 7349 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7350 | $as_echo "$ac_try_echo") >&5 | ||
| 7351 | (eval "$ac_try") 2>&5 | ||
| 7352 | ac_status=$? | ||
| 7353 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7354 | (exit $ac_status); }; }; then | ||
| 7355 | : | ||
| 6213 | else | 7356 | else |
| 6214 | ac_cv_header_stdc=no | 7357 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 7358 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7359 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7360 | |||
| 7361 | ( exit $ac_status ) | ||
| 7362 | ac_cv_header_stdc=no | ||
| 6215 | fi | 7363 | fi |
| 6216 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7364 | rm -rf conftest.dSYM |
| 6217 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 7365 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6218 | fi | 7366 | fi |
| 6219 | 7367 | ||
| 7368 | |||
| 6220 | fi | 7369 | fi |
| 6221 | fi | 7370 | fi |
| 6222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 7371 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 6223 | $as_echo "$ac_cv_header_stdc" >&6; } | 7372 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 6224 | if test $ac_cv_header_stdc = yes; then | 7373 | if test $ac_cv_header_stdc = yes; then |
| 6225 | 7374 | ||
| 6226 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 7375 | cat >>confdefs.h <<\_ACEOF |
| 7376 | #define STDC_HEADERS 1 | ||
| 7377 | _ACEOF | ||
| 6227 | 7378 | ||
| 6228 | fi | 7379 | fi |
| 6229 | 7380 | ||
| 6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 7381 | { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6231 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 7382 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 6232 | if test "${ac_cv_header_time+set}" = set; then : | 7383 | if test "${ac_cv_header_time+set}" = set; then |
| 6233 | $as_echo_n "(cached) " >&6 | 7384 | $as_echo_n "(cached) " >&6 |
| 6234 | else | 7385 | else |
| 6235 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7386 | cat >conftest.$ac_ext <<_ACEOF |
| 7387 | /* confdefs.h. */ | ||
| 7388 | _ACEOF | ||
| 7389 | cat confdefs.h >>conftest.$ac_ext | ||
| 7390 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6236 | /* end confdefs.h. */ | 7391 | /* end confdefs.h. */ |
| 6237 | #include <sys/types.h> | 7392 | #include <sys/types.h> |
| 6238 | #include <sys/time.h> | 7393 | #include <sys/time.h> |
| @@ -6247,57 +7402,202 @@ return 0; | |||
| 6247 | return 0; | 7402 | return 0; |
| 6248 | } | 7403 | } |
| 6249 | _ACEOF | 7404 | _ACEOF |
| 6250 | if ac_fn_c_try_compile "$LINENO"; then : | 7405 | rm -f conftest.$ac_objext |
| 7406 | if { (ac_try="$ac_compile" | ||
| 7407 | case "(($ac_try" in | ||
| 7408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7409 | *) ac_try_echo=$ac_try;; | ||
| 7410 | esac | ||
| 7411 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7412 | $as_echo "$ac_try_echo") >&5 | ||
| 7413 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7414 | ac_status=$? | ||
| 7415 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7416 | rm -f conftest.er1 | ||
| 7417 | cat conftest.err >&5 | ||
| 7418 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7419 | (exit $ac_status); } && { | ||
| 7420 | test -z "$ac_c_werror_flag" || | ||
| 7421 | test ! -s conftest.err | ||
| 7422 | } && test -s conftest.$ac_objext; then | ||
| 6251 | ac_cv_header_time=yes | 7423 | ac_cv_header_time=yes |
| 6252 | else | 7424 | else |
| 6253 | ac_cv_header_time=no | 7425 | $as_echo "$as_me: failed program was:" >&5 |
| 7426 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7427 | |||
| 7428 | ac_cv_header_time=no | ||
| 6254 | fi | 7429 | fi |
| 7430 | |||
| 6255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7431 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6256 | fi | 7432 | fi |
| 6257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | 7433 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6258 | $as_echo "$ac_cv_header_time" >&6; } | 7434 | $as_echo "$ac_cv_header_time" >&6; } |
| 6259 | if test $ac_cv_header_time = yes; then | 7435 | if test $ac_cv_header_time = yes; then |
| 6260 | 7436 | ||
| 6261 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 7437 | cat >>confdefs.h <<\_ACEOF |
| 7438 | #define TIME_WITH_SYS_TIME 1 | ||
| 7439 | _ACEOF | ||
| 6262 | 7440 | ||
| 6263 | fi | 7441 | fi |
| 6264 | 7442 | ||
| 6265 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7443 | { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
| 6266 | if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7444 | $as_echo_n "checking whether sys_siglist is declared... " >&6; } |
| 6267 | ac_have_decl=1 | 7445 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
| 7446 | $as_echo_n "(cached) " >&6 | ||
| 6268 | else | 7447 | else |
| 6269 | ac_have_decl=0 | 7448 | cat >conftest.$ac_ext <<_ACEOF |
| 7449 | /* confdefs.h. */ | ||
| 7450 | _ACEOF | ||
| 7451 | cat confdefs.h >>conftest.$ac_ext | ||
| 7452 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7453 | /* end confdefs.h. */ | ||
| 7454 | $ac_includes_default | ||
| 7455 | int | ||
| 7456 | main () | ||
| 7457 | { | ||
| 7458 | #ifndef sys_siglist | ||
| 7459 | (void) sys_siglist; | ||
| 7460 | #endif | ||
| 7461 | |||
| 7462 | ; | ||
| 7463 | return 0; | ||
| 7464 | } | ||
| 7465 | _ACEOF | ||
| 7466 | rm -f conftest.$ac_objext | ||
| 7467 | if { (ac_try="$ac_compile" | ||
| 7468 | case "(($ac_try" in | ||
| 7469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7470 | *) ac_try_echo=$ac_try;; | ||
| 7471 | esac | ||
| 7472 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7473 | $as_echo "$ac_try_echo") >&5 | ||
| 7474 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7475 | ac_status=$? | ||
| 7476 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7477 | rm -f conftest.er1 | ||
| 7478 | cat conftest.err >&5 | ||
| 7479 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7480 | (exit $ac_status); } && { | ||
| 7481 | test -z "$ac_c_werror_flag" || | ||
| 7482 | test ! -s conftest.err | ||
| 7483 | } && test -s conftest.$ac_objext; then | ||
| 7484 | ac_cv_have_decl_sys_siglist=yes | ||
| 7485 | else | ||
| 7486 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7487 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7488 | |||
| 7489 | ac_cv_have_decl_sys_siglist=no | ||
| 7490 | fi | ||
| 7491 | |||
| 7492 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6270 | fi | 7493 | fi |
| 7494 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | ||
| 7495 | $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | ||
| 7496 | if test $ac_cv_have_decl_sys_siglist = yes; then | ||
| 6271 | 7497 | ||
| 6272 | cat >>confdefs.h <<_ACEOF | 7498 | cat >>confdefs.h <<_ACEOF |
| 6273 | #define HAVE_DECL_SYS_SIGLIST $ac_have_decl | 7499 | #define HAVE_DECL_SYS_SIGLIST 1 |
| 6274 | _ACEOF | 7500 | _ACEOF |
| 6275 | 7501 | ||
| 7502 | |||
| 7503 | else | ||
| 7504 | cat >>confdefs.h <<_ACEOF | ||
| 7505 | #define HAVE_DECL_SYS_SIGLIST 0 | ||
| 7506 | _ACEOF | ||
| 7507 | |||
| 7508 | |||
| 7509 | fi | ||
| 7510 | |||
| 7511 | |||
| 6276 | if test $ac_cv_have_decl_sys_siglist != yes; then | 7512 | if test $ac_cv_have_decl_sys_siglist != yes; then |
| 6277 | # For Tru64, at least: | 7513 | # For Tru64, at least: |
| 6278 | ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 7514 | { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
| 6279 | if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7515 | $as_echo_n "checking whether __sys_siglist is declared... " >&6; } |
| 6280 | ac_have_decl=1 | 7516 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
| 7517 | $as_echo_n "(cached) " >&6 | ||
| 7518 | else | ||
| 7519 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7520 | /* confdefs.h. */ | ||
| 7521 | _ACEOF | ||
| 7522 | cat confdefs.h >>conftest.$ac_ext | ||
| 7523 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7524 | /* end confdefs.h. */ | ||
| 7525 | $ac_includes_default | ||
| 7526 | int | ||
| 7527 | main () | ||
| 7528 | { | ||
| 7529 | #ifndef __sys_siglist | ||
| 7530 | (void) __sys_siglist; | ||
| 7531 | #endif | ||
| 7532 | |||
| 7533 | ; | ||
| 7534 | return 0; | ||
| 7535 | } | ||
| 7536 | _ACEOF | ||
| 7537 | rm -f conftest.$ac_objext | ||
| 7538 | if { (ac_try="$ac_compile" | ||
| 7539 | case "(($ac_try" in | ||
| 7540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7541 | *) ac_try_echo=$ac_try;; | ||
| 7542 | esac | ||
| 7543 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7544 | $as_echo "$ac_try_echo") >&5 | ||
| 7545 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7546 | ac_status=$? | ||
| 7547 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7548 | rm -f conftest.er1 | ||
| 7549 | cat conftest.err >&5 | ||
| 7550 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7551 | (exit $ac_status); } && { | ||
| 7552 | test -z "$ac_c_werror_flag" || | ||
| 7553 | test ! -s conftest.err | ||
| 7554 | } && test -s conftest.$ac_objext; then | ||
| 7555 | ac_cv_have_decl___sys_siglist=yes | ||
| 6281 | else | 7556 | else |
| 6282 | ac_have_decl=0 | 7557 | $as_echo "$as_me: failed program was:" >&5 |
| 7558 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7559 | |||
| 7560 | ac_cv_have_decl___sys_siglist=no | ||
| 6283 | fi | 7561 | fi |
| 6284 | 7562 | ||
| 7563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7564 | fi | ||
| 7565 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | ||
| 7566 | $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | ||
| 7567 | if test $ac_cv_have_decl___sys_siglist = yes; then | ||
| 7568 | |||
| 6285 | cat >>confdefs.h <<_ACEOF | 7569 | cat >>confdefs.h <<_ACEOF |
| 6286 | #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | 7570 | #define HAVE_DECL___SYS_SIGLIST 1 |
| 6287 | _ACEOF | 7571 | _ACEOF |
| 6288 | 7572 | ||
| 7573 | |||
| 7574 | else | ||
| 7575 | cat >>confdefs.h <<_ACEOF | ||
| 7576 | #define HAVE_DECL___SYS_SIGLIST 0 | ||
| 7577 | _ACEOF | ||
| 7578 | |||
| 7579 | |||
| 7580 | fi | ||
| 7581 | |||
| 7582 | |||
| 6289 | if test $ac_cv_have_decl___sys_siglist = yes; then | 7583 | if test $ac_cv_have_decl___sys_siglist = yes; then |
| 6290 | 7584 | ||
| 6291 | $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | 7585 | cat >>confdefs.h <<\_ACEOF |
| 7586 | #define sys_siglist __sys_siglist | ||
| 7587 | _ACEOF | ||
| 6292 | 7588 | ||
| 6293 | fi | 7589 | fi |
| 6294 | fi | 7590 | fi |
| 6295 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7591 | { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 6296 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 7592 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
| 6297 | if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7593 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
| 6298 | $as_echo_n "(cached) " >&6 | 7594 | $as_echo_n "(cached) " >&6 |
| 6299 | else | 7595 | else |
| 6300 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7596 | cat >conftest.$ac_ext <<_ACEOF |
| 7597 | /* confdefs.h. */ | ||
| 7598 | _ACEOF | ||
| 7599 | cat confdefs.h >>conftest.$ac_ext | ||
| 7600 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6301 | /* end confdefs.h. */ | 7601 | /* end confdefs.h. */ |
| 6302 | #include <sys/types.h> | 7602 | #include <sys/types.h> |
| 6303 | #include <sys/wait.h> | 7603 | #include <sys/wait.h> |
| @@ -6318,28 +7618,55 @@ main () | |||
| 6318 | return 0; | 7618 | return 0; |
| 6319 | } | 7619 | } |
| 6320 | _ACEOF | 7620 | _ACEOF |
| 6321 | 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 | ||
| 6322 | ac_cv_header_sys_wait_h=yes | 7639 | ac_cv_header_sys_wait_h=yes |
| 6323 | else | 7640 | else |
| 6324 | ac_cv_header_sys_wait_h=no | 7641 | $as_echo "$as_me: failed program was:" >&5 |
| 7642 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7643 | |||
| 7644 | ac_cv_header_sys_wait_h=no | ||
| 6325 | fi | 7645 | fi |
| 7646 | |||
| 6326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6327 | fi | 7648 | fi |
| 6328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 | 7649 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 6329 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 7650 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
| 6330 | if test $ac_cv_header_sys_wait_h = yes; then | 7651 | if test $ac_cv_header_sys_wait_h = yes; then |
| 6331 | 7652 | ||
| 6332 | $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 7653 | cat >>confdefs.h <<\_ACEOF |
| 7654 | #define HAVE_SYS_WAIT_H 1 | ||
| 7655 | _ACEOF | ||
| 6333 | 7656 | ||
| 6334 | fi | 7657 | fi |
| 6335 | 7658 | ||
| 6336 | 7659 | ||
| 6337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 7660 | { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
| 6338 | $as_echo_n "checking for struct utimbuf... " >&6; } | 7661 | $as_echo_n "checking for struct utimbuf... " >&6; } |
| 6339 | if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7662 | if test "${emacs_cv_struct_utimbuf+set}" = set; then |
| 6340 | $as_echo_n "(cached) " >&6 | 7663 | $as_echo_n "(cached) " >&6 |
| 6341 | else | 7664 | else |
| 6342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7665 | cat >conftest.$ac_ext <<_ACEOF |
| 7666 | /* confdefs.h. */ | ||
| 7667 | _ACEOF | ||
| 7668 | cat confdefs.h >>conftest.$ac_ext | ||
| 7669 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6343 | /* end confdefs.h. */ | 7670 | /* end confdefs.h. */ |
| 6344 | #ifdef TIME_WITH_SYS_TIME | 7671 | #ifdef TIME_WITH_SYS_TIME |
| 6345 | #include <sys/time.h> | 7672 | #include <sys/time.h> |
| @@ -6362,27 +7689,54 @@ static struct utimbuf x; x.actime = x.modtime; | |||
| 6362 | return 0; | 7689 | return 0; |
| 6363 | } | 7690 | } |
| 6364 | _ACEOF | 7691 | _ACEOF |
| 6365 | if ac_fn_c_try_compile "$LINENO"; then : | 7692 | rm -f conftest.$ac_objext |
| 7693 | if { (ac_try="$ac_compile" | ||
| 7694 | case "(($ac_try" in | ||
| 7695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7696 | *) ac_try_echo=$ac_try;; | ||
| 7697 | esac | ||
| 7698 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7699 | $as_echo "$ac_try_echo") >&5 | ||
| 7700 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7701 | ac_status=$? | ||
| 7702 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7703 | rm -f conftest.er1 | ||
| 7704 | cat conftest.err >&5 | ||
| 7705 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7706 | (exit $ac_status); } && { | ||
| 7707 | test -z "$ac_c_werror_flag" || | ||
| 7708 | test ! -s conftest.err | ||
| 7709 | } && test -s conftest.$ac_objext; then | ||
| 6366 | emacs_cv_struct_utimbuf=yes | 7710 | emacs_cv_struct_utimbuf=yes |
| 6367 | else | 7711 | else |
| 6368 | emacs_cv_struct_utimbuf=no | 7712 | $as_echo "$as_me: failed program was:" >&5 |
| 7713 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7714 | |||
| 7715 | emacs_cv_struct_utimbuf=no | ||
| 6369 | fi | 7716 | fi |
| 7717 | |||
| 6370 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7718 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6371 | fi | 7719 | fi |
| 6372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 | 7720 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
| 6373 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 7721 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
| 6374 | if test $emacs_cv_struct_utimbuf = yes; then | 7722 | if test $emacs_cv_struct_utimbuf = yes; then |
| 6375 | 7723 | ||
| 6376 | $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h | 7724 | cat >>confdefs.h <<\_ACEOF |
| 7725 | #define HAVE_STRUCT_UTIMBUF 1 | ||
| 7726 | _ACEOF | ||
| 6377 | 7727 | ||
| 6378 | fi | 7728 | fi |
| 6379 | 7729 | ||
| 6380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 7730 | { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
| 6381 | $as_echo_n "checking return type of signal handlers... " >&6; } | 7731 | $as_echo_n "checking return type of signal handlers... " >&6; } |
| 6382 | if test "${ac_cv_type_signal+set}" = set; then : | 7732 | if test "${ac_cv_type_signal+set}" = set; then |
| 6383 | $as_echo_n "(cached) " >&6 | 7733 | $as_echo_n "(cached) " >&6 |
| 6384 | else | 7734 | else |
| 6385 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7735 | cat >conftest.$ac_ext <<_ACEOF |
| 7736 | /* confdefs.h. */ | ||
| 7737 | _ACEOF | ||
| 7738 | cat confdefs.h >>conftest.$ac_ext | ||
| 7739 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6386 | /* end confdefs.h. */ | 7740 | /* end confdefs.h. */ |
| 6387 | #include <sys/types.h> | 7741 | #include <sys/types.h> |
| 6388 | #include <signal.h> | 7742 | #include <signal.h> |
| @@ -6395,14 +7749,35 @@ return *(signal (0, 0)) (0) == 1; | |||
| 6395 | return 0; | 7749 | return 0; |
| 6396 | } | 7750 | } |
| 6397 | _ACEOF | 7751 | _ACEOF |
| 6398 | if ac_fn_c_try_compile "$LINENO"; then : | 7752 | rm -f conftest.$ac_objext |
| 7753 | if { (ac_try="$ac_compile" | ||
| 7754 | case "(($ac_try" in | ||
| 7755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7756 | *) ac_try_echo=$ac_try;; | ||
| 7757 | esac | ||
| 7758 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7759 | $as_echo "$ac_try_echo") >&5 | ||
| 7760 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7761 | ac_status=$? | ||
| 7762 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7763 | rm -f conftest.er1 | ||
| 7764 | cat conftest.err >&5 | ||
| 7765 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7766 | (exit $ac_status); } && { | ||
| 7767 | test -z "$ac_c_werror_flag" || | ||
| 7768 | test ! -s conftest.err | ||
| 7769 | } && test -s conftest.$ac_objext; then | ||
| 6399 | ac_cv_type_signal=int | 7770 | ac_cv_type_signal=int |
| 6400 | else | 7771 | else |
| 6401 | ac_cv_type_signal=void | 7772 | $as_echo "$as_me: failed program was:" >&5 |
| 7773 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7774 | |||
| 7775 | ac_cv_type_signal=void | ||
| 6402 | fi | 7776 | fi |
| 7777 | |||
| 6403 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7778 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6404 | fi | 7779 | fi |
| 6405 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | 7780 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
| 6406 | $as_echo "$ac_cv_type_signal" >&6; } | 7781 | $as_echo "$ac_cv_type_signal" >&6; } |
| 6407 | 7782 | ||
| 6408 | cat >>confdefs.h <<_ACEOF | 7783 | cat >>confdefs.h <<_ACEOF |
| @@ -6411,12 +7786,16 @@ _ACEOF | |||
| 6411 | 7786 | ||
| 6412 | 7787 | ||
| 6413 | 7788 | ||
| 6414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 7789 | { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 |
| 6415 | $as_echo_n "checking for speed_t... " >&6; } | 7790 | $as_echo_n "checking for speed_t... " >&6; } |
| 6416 | if test "${emacs_cv_speed_t+set}" = set; then : | 7791 | if test "${emacs_cv_speed_t+set}" = set; then |
| 6417 | $as_echo_n "(cached) " >&6 | 7792 | $as_echo_n "(cached) " >&6 |
| 6418 | else | 7793 | else |
| 6419 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7794 | cat >conftest.$ac_ext <<_ACEOF |
| 7795 | /* confdefs.h. */ | ||
| 7796 | _ACEOF | ||
| 7797 | cat confdefs.h >>conftest.$ac_ext | ||
| 7798 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6420 | /* end confdefs.h. */ | 7799 | /* end confdefs.h. */ |
| 6421 | #include <termios.h> | 7800 | #include <termios.h> |
| 6422 | int | 7801 | int |
| @@ -6427,27 +7806,54 @@ speed_t x = 1; | |||
| 6427 | return 0; | 7806 | return 0; |
| 6428 | } | 7807 | } |
| 6429 | _ACEOF | 7808 | _ACEOF |
| 6430 | if ac_fn_c_try_compile "$LINENO"; then : | 7809 | rm -f conftest.$ac_objext |
| 7810 | if { (ac_try="$ac_compile" | ||
| 7811 | case "(($ac_try" in | ||
| 7812 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7813 | *) ac_try_echo=$ac_try;; | ||
| 7814 | esac | ||
| 7815 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7816 | $as_echo "$ac_try_echo") >&5 | ||
| 7817 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7818 | ac_status=$? | ||
| 7819 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7820 | rm -f conftest.er1 | ||
| 7821 | cat conftest.err >&5 | ||
| 7822 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7823 | (exit $ac_status); } && { | ||
| 7824 | test -z "$ac_c_werror_flag" || | ||
| 7825 | test ! -s conftest.err | ||
| 7826 | } && test -s conftest.$ac_objext; then | ||
| 6431 | emacs_cv_speed_t=yes | 7827 | emacs_cv_speed_t=yes |
| 6432 | else | 7828 | else |
| 6433 | emacs_cv_speed_t=no | 7829 | $as_echo "$as_me: failed program was:" >&5 |
| 7830 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7831 | |||
| 7832 | emacs_cv_speed_t=no | ||
| 6434 | fi | 7833 | fi |
| 7834 | |||
| 6435 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7835 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6436 | fi | 7836 | fi |
| 6437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 | 7837 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
| 6438 | $as_echo "$emacs_cv_speed_t" >&6; } | 7838 | $as_echo "$emacs_cv_speed_t" >&6; } |
| 6439 | if test $emacs_cv_speed_t = yes; then | 7839 | if test $emacs_cv_speed_t = yes; then |
| 6440 | 7840 | ||
| 6441 | $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h | 7841 | cat >>confdefs.h <<\_ACEOF |
| 7842 | #define HAVE_SPEED_T 1 | ||
| 7843 | _ACEOF | ||
| 6442 | 7844 | ||
| 6443 | fi | 7845 | fi |
| 6444 | 7846 | ||
| 6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 7847 | { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 |
| 6446 | $as_echo_n "checking for struct timeval... " >&6; } | 7848 | $as_echo_n "checking for struct timeval... " >&6; } |
| 6447 | if test "${emacs_cv_struct_timeval+set}" = set; then : | 7849 | if test "${emacs_cv_struct_timeval+set}" = set; then |
| 6448 | $as_echo_n "(cached) " >&6 | 7850 | $as_echo_n "(cached) " >&6 |
| 6449 | else | 7851 | else |
| 6450 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7852 | cat >conftest.$ac_ext <<_ACEOF |
| 7853 | /* confdefs.h. */ | ||
| 7854 | _ACEOF | ||
| 7855 | cat confdefs.h >>conftest.$ac_ext | ||
| 7856 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6451 | /* end confdefs.h. */ | 7857 | /* end confdefs.h. */ |
| 6452 | #ifdef TIME_WITH_SYS_TIME | 7858 | #ifdef TIME_WITH_SYS_TIME |
| 6453 | #include <sys/time.h> | 7859 | #include <sys/time.h> |
| @@ -6467,28 +7873,55 @@ static struct timeval x; x.tv_sec = x.tv_usec; | |||
| 6467 | return 0; | 7873 | return 0; |
| 6468 | } | 7874 | } |
| 6469 | _ACEOF | 7875 | _ACEOF |
| 6470 | if ac_fn_c_try_compile "$LINENO"; then : | 7876 | rm -f conftest.$ac_objext |
| 7877 | if { (ac_try="$ac_compile" | ||
| 7878 | case "(($ac_try" in | ||
| 7879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7880 | *) ac_try_echo=$ac_try;; | ||
| 7881 | esac | ||
| 7882 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7883 | $as_echo "$ac_try_echo") >&5 | ||
| 7884 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7885 | ac_status=$? | ||
| 7886 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7887 | rm -f conftest.er1 | ||
| 7888 | cat conftest.err >&5 | ||
| 7889 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7890 | (exit $ac_status); } && { | ||
| 7891 | test -z "$ac_c_werror_flag" || | ||
| 7892 | test ! -s conftest.err | ||
| 7893 | } && test -s conftest.$ac_objext; then | ||
| 6471 | emacs_cv_struct_timeval=yes | 7894 | emacs_cv_struct_timeval=yes |
| 6472 | else | 7895 | else |
| 6473 | emacs_cv_struct_timeval=no | 7896 | $as_echo "$as_me: failed program was:" >&5 |
| 7897 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7898 | |||
| 7899 | emacs_cv_struct_timeval=no | ||
| 6474 | fi | 7900 | fi |
| 7901 | |||
| 6475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7902 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6476 | fi | 7903 | fi |
| 6477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 | 7904 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
| 6478 | $as_echo "$emacs_cv_struct_timeval" >&6; } | 7905 | $as_echo "$emacs_cv_struct_timeval" >&6; } |
| 6479 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7906 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 6480 | if test $emacs_cv_struct_timeval = yes; then | 7907 | if test $emacs_cv_struct_timeval = yes; then |
| 6481 | 7908 | ||
| 6482 | $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h | 7909 | cat >>confdefs.h <<\_ACEOF |
| 7910 | #define HAVE_TIMEVAL 1 | ||
| 7911 | _ACEOF | ||
| 6483 | 7912 | ||
| 6484 | fi | 7913 | fi |
| 6485 | 7914 | ||
| 6486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 7915 | { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 |
| 6487 | $as_echo_n "checking for struct exception... " >&6; } | 7916 | $as_echo_n "checking for struct exception... " >&6; } |
| 6488 | if test "${emacs_cv_struct_exception+set}" = set; then : | 7917 | if test "${emacs_cv_struct_exception+set}" = set; then |
| 6489 | $as_echo_n "(cached) " >&6 | 7918 | $as_echo_n "(cached) " >&6 |
| 6490 | else | 7919 | else |
| 6491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7920 | cat >conftest.$ac_ext <<_ACEOF |
| 7921 | /* confdefs.h. */ | ||
| 7922 | _ACEOF | ||
| 7923 | cat confdefs.h >>conftest.$ac_ext | ||
| 7924 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6492 | /* end confdefs.h. */ | 7925 | /* end confdefs.h. */ |
| 6493 | #include <math.h> | 7926 | #include <math.h> |
| 6494 | int | 7927 | int |
| @@ -6499,44 +7932,248 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |||
| 6499 | return 0; | 7932 | return 0; |
| 6500 | } | 7933 | } |
| 6501 | _ACEOF | 7934 | _ACEOF |
| 6502 | if ac_fn_c_try_compile "$LINENO"; then : | 7935 | rm -f conftest.$ac_objext |
| 7936 | if { (ac_try="$ac_compile" | ||
| 7937 | case "(($ac_try" in | ||
| 7938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7939 | *) ac_try_echo=$ac_try;; | ||
| 7940 | esac | ||
| 7941 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7942 | $as_echo "$ac_try_echo") >&5 | ||
| 7943 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7944 | ac_status=$? | ||
| 7945 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7946 | rm -f conftest.er1 | ||
| 7947 | cat conftest.err >&5 | ||
| 7948 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7949 | (exit $ac_status); } && { | ||
| 7950 | test -z "$ac_c_werror_flag" || | ||
| 7951 | test ! -s conftest.err | ||
| 7952 | } && test -s conftest.$ac_objext; then | ||
| 6503 | emacs_cv_struct_exception=yes | 7953 | emacs_cv_struct_exception=yes |
| 6504 | else | 7954 | else |
| 6505 | emacs_cv_struct_exception=no | 7955 | $as_echo "$as_me: failed program was:" >&5 |
| 7956 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7957 | |||
| 7958 | emacs_cv_struct_exception=no | ||
| 6506 | fi | 7959 | fi |
| 7960 | |||
| 6507 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7961 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6508 | fi | 7962 | fi |
| 6509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 | 7963 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
| 6510 | $as_echo "$emacs_cv_struct_exception" >&6; } | 7964 | $as_echo "$emacs_cv_struct_exception" >&6; } |
| 6511 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 7965 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 6512 | if test $emacs_cv_struct_exception != yes; then | 7966 | if test $emacs_cv_struct_exception != yes; then |
| 6513 | 7967 | ||
| 6514 | $as_echo "#define NO_MATHERR 1" >>confdefs.h | 7968 | cat >>confdefs.h <<\_ACEOF |
| 7969 | #define NO_MATHERR 1 | ||
| 7970 | _ACEOF | ||
| 6515 | 7971 | ||
| 6516 | fi | 7972 | fi |
| 6517 | 7973 | ||
| 7974 | |||
| 6518 | for ac_header in sys/socket.h | 7975 | for ac_header in sys/socket.h |
| 6519 | do : | 7976 | do |
| 6520 | ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 7977 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6521 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7978 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7979 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7980 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7981 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7982 | $as_echo_n "(cached) " >&6 | ||
| 7983 | fi | ||
| 7984 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7985 | $as_echo "$as_val"'` | ||
| 7986 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7987 | $as_echo "$ac_res" >&6; } | ||
| 7988 | else | ||
| 7989 | # Is the header compilable? | ||
| 7990 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 7991 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 7992 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7993 | /* confdefs.h. */ | ||
| 7994 | _ACEOF | ||
| 7995 | cat confdefs.h >>conftest.$ac_ext | ||
| 7996 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7997 | /* end confdefs.h. */ | ||
| 7998 | $ac_includes_default | ||
| 7999 | #include <$ac_header> | ||
| 8000 | _ACEOF | ||
| 8001 | rm -f conftest.$ac_objext | ||
| 8002 | if { (ac_try="$ac_compile" | ||
| 8003 | case "(($ac_try" in | ||
| 8004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8005 | *) ac_try_echo=$ac_try;; | ||
| 8006 | esac | ||
| 8007 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8008 | $as_echo "$ac_try_echo") >&5 | ||
| 8009 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8010 | ac_status=$? | ||
| 8011 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8012 | rm -f conftest.er1 | ||
| 8013 | cat conftest.err >&5 | ||
| 8014 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8015 | (exit $ac_status); } && { | ||
| 8016 | test -z "$ac_c_werror_flag" || | ||
| 8017 | test ! -s conftest.err | ||
| 8018 | } && test -s conftest.$ac_objext; then | ||
| 8019 | ac_header_compiler=yes | ||
| 8020 | else | ||
| 8021 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8022 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8023 | |||
| 8024 | ac_header_compiler=no | ||
| 8025 | fi | ||
| 8026 | |||
| 8027 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8028 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 8029 | $as_echo "$ac_header_compiler" >&6; } | ||
| 8030 | |||
| 8031 | # Is the header present? | ||
| 8032 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 8033 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 8034 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8035 | /* confdefs.h. */ | ||
| 8036 | _ACEOF | ||
| 8037 | cat confdefs.h >>conftest.$ac_ext | ||
| 8038 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8039 | /* end confdefs.h. */ | ||
| 8040 | #include <$ac_header> | ||
| 8041 | _ACEOF | ||
| 8042 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 8043 | case "(($ac_try" in | ||
| 8044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8045 | *) ac_try_echo=$ac_try;; | ||
| 8046 | esac | ||
| 8047 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8048 | $as_echo "$ac_try_echo") >&5 | ||
| 8049 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 8050 | ac_status=$? | ||
| 8051 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8052 | rm -f conftest.er1 | ||
| 8053 | cat conftest.err >&5 | ||
| 8054 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8055 | (exit $ac_status); } >/dev/null && { | ||
| 8056 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 8057 | test ! -s conftest.err | ||
| 8058 | }; then | ||
| 8059 | ac_header_preproc=yes | ||
| 8060 | else | ||
| 8061 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8062 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8063 | |||
| 8064 | ac_header_preproc=no | ||
| 8065 | fi | ||
| 8066 | |||
| 8067 | rm -f conftest.err conftest.$ac_ext | ||
| 8068 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 8069 | $as_echo "$ac_header_preproc" >&6; } | ||
| 8070 | |||
| 8071 | # So? What about this header? | ||
| 8072 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 8073 | yes:no: ) | ||
| 8074 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 8075 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 8076 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 8077 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 8078 | ac_header_preproc=yes | ||
| 8079 | ;; | ||
| 8080 | no:yes:* ) | ||
| 8081 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 8082 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 8083 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 8084 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 8085 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 8086 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 8087 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 8088 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 8089 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 8090 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 8091 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 8092 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 8093 | |||
| 8094 | ;; | ||
| 8095 | esac | ||
| 8096 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 8097 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 8098 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 8099 | $as_echo_n "(cached) " >&6 | ||
| 8100 | else | ||
| 8101 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 8102 | fi | ||
| 8103 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 8104 | $as_echo "$as_val"'` | ||
| 8105 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 8106 | $as_echo "$ac_res" >&6; } | ||
| 8107 | |||
| 8108 | fi | ||
| 8109 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 8110 | $as_echo "$as_val"'` = yes; then | ||
| 6522 | cat >>confdefs.h <<_ACEOF | 8111 | cat >>confdefs.h <<_ACEOF |
| 6523 | #define HAVE_SYS_SOCKET_H 1 | 8112 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6524 | _ACEOF | 8113 | _ACEOF |
| 6525 | 8114 | ||
| 6526 | fi | 8115 | fi |
| 6527 | 8116 | ||
| 6528 | done | 8117 | done |
| 6529 | 8118 | ||
| 8119 | |||
| 6530 | for ac_header in net/if.h | 8120 | for ac_header in net/if.h |
| 6531 | do : | 8121 | do |
| 6532 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 8122 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8123 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 8124 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 8125 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 8126 | $as_echo_n "(cached) " >&6 | ||
| 8127 | else | ||
| 8128 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8129 | /* confdefs.h. */ | ||
| 8130 | _ACEOF | ||
| 8131 | cat confdefs.h >>conftest.$ac_ext | ||
| 8132 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8133 | /* end confdefs.h. */ | ||
| 8134 | $ac_includes_default | ||
| 6533 | #if HAVE_SYS_SOCKET_H | 8135 | #if HAVE_SYS_SOCKET_H |
| 6534 | #include <sys/socket.h> | 8136 | #include <sys/socket.h> |
| 6535 | #endif | 8137 | #endif |
| 6536 | " | 8138 | |
| 6537 | if test "x$ac_cv_header_net_if_h" = x""yes; then : | 8139 | #include <$ac_header> |
| 8140 | _ACEOF | ||
| 8141 | rm -f conftest.$ac_objext | ||
| 8142 | if { (ac_try="$ac_compile" | ||
| 8143 | case "(($ac_try" in | ||
| 8144 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8145 | *) ac_try_echo=$ac_try;; | ||
| 8146 | esac | ||
| 8147 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8148 | $as_echo "$ac_try_echo") >&5 | ||
| 8149 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8150 | ac_status=$? | ||
| 8151 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8152 | rm -f conftest.er1 | ||
| 8153 | cat conftest.err >&5 | ||
| 8154 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8155 | (exit $ac_status); } && { | ||
| 8156 | test -z "$ac_c_werror_flag" || | ||
| 8157 | test ! -s conftest.err | ||
| 8158 | } && test -s conftest.$ac_objext; then | ||
| 8159 | eval "$as_ac_Header=yes" | ||
| 8160 | else | ||
| 8161 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8162 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8163 | |||
| 8164 | eval "$as_ac_Header=no" | ||
| 8165 | fi | ||
| 8166 | |||
| 8167 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8168 | fi | ||
| 8169 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 8170 | $as_echo "$as_val"'` | ||
| 8171 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 8172 | $as_echo "$ac_res" >&6; } | ||
| 8173 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 8174 | $as_echo "$as_val"'` = yes; then | ||
| 6538 | cat >>confdefs.h <<_ACEOF | 8175 | cat >>confdefs.h <<_ACEOF |
| 6539 | #define HAVE_NET_IF_H 1 | 8176 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6540 | _ACEOF | 8177 | _ACEOF |
| 6541 | 8178 | ||
| 6542 | fi | 8179 | fi |
| @@ -6544,12 +8181,16 @@ fi | |||
| 6544 | done | 8181 | done |
| 6545 | 8182 | ||
| 6546 | 8183 | ||
| 6547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 8184 | { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 6548 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 8185 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 6549 | if test "${ac_cv_struct_tm+set}" = set; then : | 8186 | if test "${ac_cv_struct_tm+set}" = set; then |
| 6550 | $as_echo_n "(cached) " >&6 | 8187 | $as_echo_n "(cached) " >&6 |
| 6551 | else | 8188 | else |
| 6552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8189 | cat >conftest.$ac_ext <<_ACEOF |
| 8190 | /* confdefs.h. */ | ||
| 8191 | _ACEOF | ||
| 8192 | cat confdefs.h >>conftest.$ac_ext | ||
| 8193 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6553 | /* end confdefs.h. */ | 8194 | /* end confdefs.h. */ |
| 6554 | #include <sys/types.h> | 8195 | #include <sys/types.h> |
| 6555 | #include <time.h> | 8196 | #include <time.h> |
| @@ -6564,26 +8205,146 @@ struct tm tm; | |||
| 6564 | return 0; | 8205 | return 0; |
| 6565 | } | 8206 | } |
| 6566 | _ACEOF | 8207 | _ACEOF |
| 6567 | if ac_fn_c_try_compile "$LINENO"; then : | 8208 | rm -f conftest.$ac_objext |
| 8209 | if { (ac_try="$ac_compile" | ||
| 8210 | case "(($ac_try" in | ||
| 8211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8212 | *) ac_try_echo=$ac_try;; | ||
| 8213 | esac | ||
| 8214 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8215 | $as_echo "$ac_try_echo") >&5 | ||
| 8216 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8217 | ac_status=$? | ||
| 8218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8219 | rm -f conftest.er1 | ||
| 8220 | cat conftest.err >&5 | ||
| 8221 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8222 | (exit $ac_status); } && { | ||
| 8223 | test -z "$ac_c_werror_flag" || | ||
| 8224 | test ! -s conftest.err | ||
| 8225 | } && test -s conftest.$ac_objext; then | ||
| 6568 | ac_cv_struct_tm=time.h | 8226 | ac_cv_struct_tm=time.h |
| 6569 | else | 8227 | else |
| 6570 | ac_cv_struct_tm=sys/time.h | 8228 | $as_echo "$as_me: failed program was:" >&5 |
| 8229 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8230 | |||
| 8231 | ac_cv_struct_tm=sys/time.h | ||
| 6571 | fi | 8232 | fi |
| 8233 | |||
| 6572 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6573 | fi | 8235 | fi |
| 6574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 | 8236 | { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
| 6575 | $as_echo "$ac_cv_struct_tm" >&6; } | 8237 | $as_echo "$ac_cv_struct_tm" >&6; } |
| 6576 | if test $ac_cv_struct_tm = sys/time.h; then | 8238 | if test $ac_cv_struct_tm = sys/time.h; then |
| 6577 | 8239 | ||
| 6578 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h | 8240 | cat >>confdefs.h <<\_ACEOF |
| 8241 | #define TM_IN_SYS_TIME 1 | ||
| 8242 | _ACEOF | ||
| 6579 | 8243 | ||
| 6580 | fi | 8244 | fi |
| 6581 | 8245 | ||
| 6582 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 8246 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
| 8247 | $as_echo_n "checking for struct tm.tm_zone... " >&6; } | ||
| 8248 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | ||
| 8249 | $as_echo_n "(cached) " >&6 | ||
| 8250 | else | ||
| 8251 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8252 | /* confdefs.h. */ | ||
| 8253 | _ACEOF | ||
| 8254 | cat confdefs.h >>conftest.$ac_ext | ||
| 8255 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8256 | /* end confdefs.h. */ | ||
| 8257 | #include <sys/types.h> | ||
| 8258 | #include <$ac_cv_struct_tm> | ||
| 8259 | |||
| 8260 | |||
| 8261 | int | ||
| 8262 | main () | ||
| 8263 | { | ||
| 8264 | static struct tm ac_aggr; | ||
| 8265 | if (ac_aggr.tm_zone) | ||
| 8266 | return 0; | ||
| 8267 | ; | ||
| 8268 | return 0; | ||
| 8269 | } | ||
| 8270 | _ACEOF | ||
| 8271 | rm -f conftest.$ac_objext | ||
| 8272 | if { (ac_try="$ac_compile" | ||
| 8273 | case "(($ac_try" in | ||
| 8274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8275 | *) ac_try_echo=$ac_try;; | ||
| 8276 | esac | ||
| 8277 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8278 | $as_echo "$ac_try_echo") >&5 | ||
| 8279 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8280 | ac_status=$? | ||
| 8281 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8282 | rm -f conftest.er1 | ||
| 8283 | cat conftest.err >&5 | ||
| 8284 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8285 | (exit $ac_status); } && { | ||
| 8286 | test -z "$ac_c_werror_flag" || | ||
| 8287 | test ! -s conftest.err | ||
| 8288 | } && test -s conftest.$ac_objext; then | ||
| 8289 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8290 | else | ||
| 8291 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8292 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8293 | |||
| 8294 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8295 | /* confdefs.h. */ | ||
| 8296 | _ACEOF | ||
| 8297 | cat confdefs.h >>conftest.$ac_ext | ||
| 8298 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8299 | /* end confdefs.h. */ | ||
| 8300 | #include <sys/types.h> | ||
| 6583 | #include <$ac_cv_struct_tm> | 8301 | #include <$ac_cv_struct_tm> |
| 6584 | 8302 | ||
| 6585 | " | 8303 | |
| 6586 | if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8304 | int |
| 8305 | main () | ||
| 8306 | { | ||
| 8307 | static struct tm ac_aggr; | ||
| 8308 | if (sizeof ac_aggr.tm_zone) | ||
| 8309 | return 0; | ||
| 8310 | ; | ||
| 8311 | return 0; | ||
| 8312 | } | ||
| 8313 | _ACEOF | ||
| 8314 | rm -f conftest.$ac_objext | ||
| 8315 | if { (ac_try="$ac_compile" | ||
| 8316 | case "(($ac_try" in | ||
| 8317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8318 | *) ac_try_echo=$ac_try;; | ||
| 8319 | esac | ||
| 8320 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8321 | $as_echo "$ac_try_echo") >&5 | ||
| 8322 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8323 | ac_status=$? | ||
| 8324 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8325 | rm -f conftest.er1 | ||
| 8326 | cat conftest.err >&5 | ||
| 8327 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8328 | (exit $ac_status); } && { | ||
| 8329 | test -z "$ac_c_werror_flag" || | ||
| 8330 | test ! -s conftest.err | ||
| 8331 | } && test -s conftest.$ac_objext; then | ||
| 8332 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8333 | else | ||
| 8334 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8335 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8336 | |||
| 8337 | ac_cv_member_struct_tm_tm_zone=no | ||
| 8338 | fi | ||
| 8339 | |||
| 8340 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8341 | fi | ||
| 8342 | |||
| 8343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8344 | fi | ||
| 8345 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | ||
| 8346 | $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | ||
| 8347 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | ||
| 6587 | 8348 | ||
| 6588 | cat >>confdefs.h <<_ACEOF | 8349 | cat >>confdefs.h <<_ACEOF |
| 6589 | #define HAVE_STRUCT_TM_TM_ZONE 1 | 8350 | #define HAVE_STRUCT_TM_TM_ZONE 1 |
| @@ -6594,27 +8355,91 @@ fi | |||
| 6594 | 8355 | ||
| 6595 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 8356 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
| 6596 | 8357 | ||
| 6597 | $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 8358 | cat >>confdefs.h <<\_ACEOF |
| 8359 | #define HAVE_TM_ZONE 1 | ||
| 8360 | _ACEOF | ||
| 6598 | 8361 | ||
| 6599 | else | 8362 | else |
| 6600 | ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 8363 | { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
| 6601 | " | 8364 | $as_echo_n "checking whether tzname is declared... " >&6; } |
| 6602 | if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8365 | if test "${ac_cv_have_decl_tzname+set}" = set; then |
| 6603 | ac_have_decl=1 | 8366 | $as_echo_n "(cached) " >&6 |
| 8367 | else | ||
| 8368 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8369 | /* confdefs.h. */ | ||
| 8370 | _ACEOF | ||
| 8371 | cat confdefs.h >>conftest.$ac_ext | ||
| 8372 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8373 | /* end confdefs.h. */ | ||
| 8374 | #include <time.h> | ||
| 8375 | |||
| 8376 | int | ||
| 8377 | main () | ||
| 8378 | { | ||
| 8379 | #ifndef tzname | ||
| 8380 | (void) tzname; | ||
| 8381 | #endif | ||
| 8382 | |||
| 8383 | ; | ||
| 8384 | return 0; | ||
| 8385 | } | ||
| 8386 | _ACEOF | ||
| 8387 | rm -f conftest.$ac_objext | ||
| 8388 | if { (ac_try="$ac_compile" | ||
| 8389 | case "(($ac_try" in | ||
| 8390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8391 | *) ac_try_echo=$ac_try;; | ||
| 8392 | esac | ||
| 8393 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8394 | $as_echo "$ac_try_echo") >&5 | ||
| 8395 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8396 | ac_status=$? | ||
| 8397 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8398 | rm -f conftest.er1 | ||
| 8399 | cat conftest.err >&5 | ||
| 8400 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8401 | (exit $ac_status); } && { | ||
| 8402 | test -z "$ac_c_werror_flag" || | ||
| 8403 | test ! -s conftest.err | ||
| 8404 | } && test -s conftest.$ac_objext; then | ||
| 8405 | ac_cv_have_decl_tzname=yes | ||
| 6604 | else | 8406 | else |
| 6605 | ac_have_decl=0 | 8407 | $as_echo "$as_me: failed program was:" >&5 |
| 8408 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8409 | |||
| 8410 | ac_cv_have_decl_tzname=no | ||
| 8411 | fi | ||
| 8412 | |||
| 8413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6606 | fi | 8414 | fi |
| 8415 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 8416 | $as_echo "$ac_cv_have_decl_tzname" >&6; } | ||
| 8417 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 6607 | 8418 | ||
| 6608 | cat >>confdefs.h <<_ACEOF | 8419 | cat >>confdefs.h <<_ACEOF |
| 6609 | #define HAVE_DECL_TZNAME $ac_have_decl | 8420 | #define HAVE_DECL_TZNAME 1 |
| 8421 | _ACEOF | ||
| 8422 | |||
| 8423 | |||
| 8424 | else | ||
| 8425 | cat >>confdefs.h <<_ACEOF | ||
| 8426 | #define HAVE_DECL_TZNAME 0 | ||
| 6610 | _ACEOF | 8427 | _ACEOF |
| 6611 | 8428 | ||
| 6612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 8429 | |
| 8430 | fi | ||
| 8431 | |||
| 8432 | |||
| 8433 | { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 6613 | $as_echo_n "checking for tzname... " >&6; } | 8434 | $as_echo_n "checking for tzname... " >&6; } |
| 6614 | if test "${ac_cv_var_tzname+set}" = set; then : | 8435 | if test "${ac_cv_var_tzname+set}" = set; then |
| 6615 | $as_echo_n "(cached) " >&6 | 8436 | $as_echo_n "(cached) " >&6 |
| 6616 | else | 8437 | else |
| 6617 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8438 | cat >conftest.$ac_ext <<_ACEOF |
| 8439 | /* confdefs.h. */ | ||
| 8440 | _ACEOF | ||
| 8441 | cat confdefs.h >>conftest.$ac_ext | ||
| 8442 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6618 | /* end confdefs.h. */ | 8443 | /* end confdefs.h. */ |
| 6619 | #include <time.h> | 8444 | #include <time.h> |
| 6620 | #if !HAVE_DECL_TZNAME | 8445 | #if !HAVE_DECL_TZNAME |
| @@ -6629,40 +8454,265 @@ return tzname[0][0]; | |||
| 6629 | return 0; | 8454 | return 0; |
| 6630 | } | 8455 | } |
| 6631 | _ACEOF | 8456 | _ACEOF |
| 6632 | if ac_fn_c_try_link "$LINENO"; then : | 8457 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8458 | if { (ac_try="$ac_link" | ||
| 8459 | case "(($ac_try" in | ||
| 8460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8461 | *) ac_try_echo=$ac_try;; | ||
| 8462 | esac | ||
| 8463 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8464 | $as_echo "$ac_try_echo") >&5 | ||
| 8465 | (eval "$ac_link") 2>conftest.er1 | ||
| 8466 | ac_status=$? | ||
| 8467 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8468 | rm -f conftest.er1 | ||
| 8469 | cat conftest.err >&5 | ||
| 8470 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8471 | (exit $ac_status); } && { | ||
| 8472 | test -z "$ac_c_werror_flag" || | ||
| 8473 | test ! -s conftest.err | ||
| 8474 | } && test -s conftest$ac_exeext && { | ||
| 8475 | test "$cross_compiling" = yes || | ||
| 8476 | $as_test_x conftest$ac_exeext | ||
| 8477 | }; then | ||
| 6633 | ac_cv_var_tzname=yes | 8478 | ac_cv_var_tzname=yes |
| 6634 | else | 8479 | else |
| 6635 | ac_cv_var_tzname=no | 8480 | $as_echo "$as_me: failed program was:" >&5 |
| 8481 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8482 | |||
| 8483 | ac_cv_var_tzname=no | ||
| 6636 | fi | 8484 | fi |
| 6637 | rm -f core conftest.err conftest.$ac_objext \ | 8485 | |
| 6638 | conftest$ac_exeext conftest.$ac_ext | 8486 | rm -rf conftest.dSYM |
| 8487 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8488 | conftest$ac_exeext conftest.$ac_ext | ||
| 6639 | fi | 8489 | fi |
| 6640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 | 8490 | { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
| 6641 | $as_echo "$ac_cv_var_tzname" >&6; } | 8491 | $as_echo "$ac_cv_var_tzname" >&6; } |
| 6642 | if test $ac_cv_var_tzname = yes; then | 8492 | if test $ac_cv_var_tzname = yes; then |
| 6643 | 8493 | ||
| 6644 | $as_echo "#define HAVE_TZNAME 1" >>confdefs.h | 8494 | cat >>confdefs.h <<\_ACEOF |
| 8495 | #define HAVE_TZNAME 1 | ||
| 8496 | _ACEOF | ||
| 6645 | 8497 | ||
| 6646 | fi | 8498 | fi |
| 6647 | fi | 8499 | fi |
| 6648 | 8500 | ||
| 6649 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8501 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
| 6650 | " | 8502 | $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } |
| 6651 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8503 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
| 8504 | $as_echo_n "(cached) " >&6 | ||
| 8505 | else | ||
| 8506 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8507 | /* confdefs.h. */ | ||
| 8508 | _ACEOF | ||
| 8509 | cat confdefs.h >>conftest.$ac_ext | ||
| 8510 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8511 | /* end confdefs.h. */ | ||
| 8512 | #include <time.h> | ||
| 8513 | |||
| 8514 | int | ||
| 8515 | main () | ||
| 8516 | { | ||
| 8517 | static struct tm ac_aggr; | ||
| 8518 | if (ac_aggr.tm_gmtoff) | ||
| 8519 | return 0; | ||
| 8520 | ; | ||
| 8521 | return 0; | ||
| 8522 | } | ||
| 8523 | _ACEOF | ||
| 8524 | rm -f conftest.$ac_objext | ||
| 8525 | if { (ac_try="$ac_compile" | ||
| 8526 | case "(($ac_try" in | ||
| 8527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8528 | *) ac_try_echo=$ac_try;; | ||
| 8529 | esac | ||
| 8530 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8531 | $as_echo "$ac_try_echo") >&5 | ||
| 8532 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8533 | ac_status=$? | ||
| 8534 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8535 | rm -f conftest.er1 | ||
| 8536 | cat conftest.err >&5 | ||
| 8537 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8538 | (exit $ac_status); } && { | ||
| 8539 | test -z "$ac_c_werror_flag" || | ||
| 8540 | test ! -s conftest.err | ||
| 8541 | } && test -s conftest.$ac_objext; then | ||
| 8542 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8543 | else | ||
| 8544 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8545 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6652 | 8546 | ||
| 6653 | $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 8547 | cat >conftest.$ac_ext <<_ACEOF |
| 8548 | /* confdefs.h. */ | ||
| 8549 | _ACEOF | ||
| 8550 | cat confdefs.h >>conftest.$ac_ext | ||
| 8551 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8552 | /* end confdefs.h. */ | ||
| 8553 | #include <time.h> | ||
| 6654 | 8554 | ||
| 8555 | int | ||
| 8556 | main () | ||
| 8557 | { | ||
| 8558 | static struct tm ac_aggr; | ||
| 8559 | if (sizeof ac_aggr.tm_gmtoff) | ||
| 8560 | return 0; | ||
| 8561 | ; | ||
| 8562 | return 0; | ||
| 8563 | } | ||
| 8564 | _ACEOF | ||
| 8565 | rm -f conftest.$ac_objext | ||
| 8566 | if { (ac_try="$ac_compile" | ||
| 8567 | case "(($ac_try" in | ||
| 8568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8569 | *) ac_try_echo=$ac_try;; | ||
| 8570 | esac | ||
| 8571 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8572 | $as_echo "$ac_try_echo") >&5 | ||
| 8573 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8574 | ac_status=$? | ||
| 8575 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8576 | rm -f conftest.er1 | ||
| 8577 | cat conftest.err >&5 | ||
| 8578 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8579 | (exit $ac_status); } && { | ||
| 8580 | test -z "$ac_c_werror_flag" || | ||
| 8581 | test ! -s conftest.err | ||
| 8582 | } && test -s conftest.$ac_objext; then | ||
| 8583 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8584 | else | ||
| 8585 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8586 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8587 | |||
| 8588 | ac_cv_member_struct_tm_tm_gmtoff=no | ||
| 6655 | fi | 8589 | fi |
| 6656 | 8590 | ||
| 6657 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default | 8591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8592 | fi | ||
| 8593 | |||
| 8594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8595 | fi | ||
| 8596 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | ||
| 8597 | $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | ||
| 8598 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | ||
| 8599 | |||
| 8600 | cat >>confdefs.h <<\_ACEOF | ||
| 8601 | #define HAVE_TM_GMTOFF 1 | ||
| 8602 | _ACEOF | ||
| 8603 | |||
| 8604 | fi | ||
| 8605 | |||
| 8606 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | ||
| 8607 | $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | ||
| 8608 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | ||
| 8609 | $as_echo_n "(cached) " >&6 | ||
| 8610 | else | ||
| 8611 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8612 | /* confdefs.h. */ | ||
| 8613 | _ACEOF | ||
| 8614 | cat confdefs.h >>conftest.$ac_ext | ||
| 8615 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8616 | /* end confdefs.h. */ | ||
| 8617 | $ac_includes_default | ||
| 6658 | #if HAVE_SYS_SOCKET_H | 8618 | #if HAVE_SYS_SOCKET_H |
| 6659 | #include <sys/socket.h> | 8619 | #include <sys/socket.h> |
| 6660 | #endif | 8620 | #endif |
| 6661 | #if HAVE_NET_IF_H | 8621 | #if HAVE_NET_IF_H |
| 6662 | #include <net/if.h> | 8622 | #include <net/if.h> |
| 6663 | #endif | 8623 | #endif |
| 6664 | " | 8624 | |
| 6665 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8625 | int |
| 8626 | main () | ||
| 8627 | { | ||
| 8628 | static struct ifreq ac_aggr; | ||
| 8629 | if (ac_aggr.ifr_flags) | ||
| 8630 | return 0; | ||
| 8631 | ; | ||
| 8632 | return 0; | ||
| 8633 | } | ||
| 8634 | _ACEOF | ||
| 8635 | rm -f conftest.$ac_objext | ||
| 8636 | if { (ac_try="$ac_compile" | ||
| 8637 | case "(($ac_try" in | ||
| 8638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8639 | *) ac_try_echo=$ac_try;; | ||
| 8640 | esac | ||
| 8641 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8642 | $as_echo "$ac_try_echo") >&5 | ||
| 8643 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8644 | ac_status=$? | ||
| 8645 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8646 | rm -f conftest.er1 | ||
| 8647 | cat conftest.err >&5 | ||
| 8648 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8649 | (exit $ac_status); } && { | ||
| 8650 | test -z "$ac_c_werror_flag" || | ||
| 8651 | test ! -s conftest.err | ||
| 8652 | } && test -s conftest.$ac_objext; then | ||
| 8653 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8654 | else | ||
| 8655 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8656 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8657 | |||
| 8658 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8659 | /* confdefs.h. */ | ||
| 8660 | _ACEOF | ||
| 8661 | cat confdefs.h >>conftest.$ac_ext | ||
| 8662 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8663 | /* end confdefs.h. */ | ||
| 8664 | $ac_includes_default | ||
| 8665 | #if HAVE_SYS_SOCKET_H | ||
| 8666 | #include <sys/socket.h> | ||
| 8667 | #endif | ||
| 8668 | #if HAVE_NET_IF_H | ||
| 8669 | #include <net/if.h> | ||
| 8670 | #endif | ||
| 8671 | |||
| 8672 | int | ||
| 8673 | main () | ||
| 8674 | { | ||
| 8675 | static struct ifreq ac_aggr; | ||
| 8676 | if (sizeof ac_aggr.ifr_flags) | ||
| 8677 | return 0; | ||
| 8678 | ; | ||
| 8679 | return 0; | ||
| 8680 | } | ||
| 8681 | _ACEOF | ||
| 8682 | rm -f conftest.$ac_objext | ||
| 8683 | if { (ac_try="$ac_compile" | ||
| 8684 | case "(($ac_try" in | ||
| 8685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8686 | *) ac_try_echo=$ac_try;; | ||
| 8687 | esac | ||
| 8688 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8689 | $as_echo "$ac_try_echo") >&5 | ||
| 8690 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8691 | ac_status=$? | ||
| 8692 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8693 | rm -f conftest.er1 | ||
| 8694 | cat conftest.err >&5 | ||
| 8695 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8696 | (exit $ac_status); } && { | ||
| 8697 | test -z "$ac_c_werror_flag" || | ||
| 8698 | test ! -s conftest.err | ||
| 8699 | } && test -s conftest.$ac_objext; then | ||
| 8700 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8701 | else | ||
| 8702 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8703 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8704 | |||
| 8705 | ac_cv_member_struct_ifreq_ifr_flags=no | ||
| 8706 | fi | ||
| 8707 | |||
| 8708 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8709 | fi | ||
| 8710 | |||
| 8711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8712 | fi | ||
| 8713 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | ||
| 8714 | $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | ||
| 8715 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | ||
| 6666 | 8716 | ||
| 6667 | cat >>confdefs.h <<_ACEOF | 8717 | cat >>confdefs.h <<_ACEOF |
| 6668 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8718 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
| @@ -6670,15 +8720,116 @@ _ACEOF | |||
| 6670 | 8720 | ||
| 6671 | 8721 | ||
| 6672 | fi | 8722 | fi |
| 6673 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default | 8723 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
| 8724 | $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | ||
| 8725 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | ||
| 8726 | $as_echo_n "(cached) " >&6 | ||
| 8727 | else | ||
| 8728 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8729 | /* confdefs.h. */ | ||
| 8730 | _ACEOF | ||
| 8731 | cat confdefs.h >>conftest.$ac_ext | ||
| 8732 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8733 | /* end confdefs.h. */ | ||
| 8734 | $ac_includes_default | ||
| 6674 | #if HAVE_SYS_SOCKET_H | 8735 | #if HAVE_SYS_SOCKET_H |
| 6675 | #include <sys/socket.h> | 8736 | #include <sys/socket.h> |
| 6676 | #endif | 8737 | #endif |
| 6677 | #if HAVE_NET_IF_H | 8738 | #if HAVE_NET_IF_H |
| 6678 | #include <net/if.h> | 8739 | #include <net/if.h> |
| 6679 | #endif | 8740 | #endif |
| 6680 | " | 8741 | |
| 6681 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8742 | int |
| 8743 | main () | ||
| 8744 | { | ||
| 8745 | static struct ifreq ac_aggr; | ||
| 8746 | if (ac_aggr.ifr_hwaddr) | ||
| 8747 | return 0; | ||
| 8748 | ; | ||
| 8749 | return 0; | ||
| 8750 | } | ||
| 8751 | _ACEOF | ||
| 8752 | rm -f conftest.$ac_objext | ||
| 8753 | if { (ac_try="$ac_compile" | ||
| 8754 | case "(($ac_try" in | ||
| 8755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8756 | *) ac_try_echo=$ac_try;; | ||
| 8757 | esac | ||
| 8758 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8759 | $as_echo "$ac_try_echo") >&5 | ||
| 8760 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8761 | ac_status=$? | ||
| 8762 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8763 | rm -f conftest.er1 | ||
| 8764 | cat conftest.err >&5 | ||
| 8765 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8766 | (exit $ac_status); } && { | ||
| 8767 | test -z "$ac_c_werror_flag" || | ||
| 8768 | test ! -s conftest.err | ||
| 8769 | } && test -s conftest.$ac_objext; then | ||
| 8770 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8771 | else | ||
| 8772 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8773 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8774 | |||
| 8775 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8776 | /* confdefs.h. */ | ||
| 8777 | _ACEOF | ||
| 8778 | cat confdefs.h >>conftest.$ac_ext | ||
| 8779 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8780 | /* end confdefs.h. */ | ||
| 8781 | $ac_includes_default | ||
| 8782 | #if HAVE_SYS_SOCKET_H | ||
| 8783 | #include <sys/socket.h> | ||
| 8784 | #endif | ||
| 8785 | #if HAVE_NET_IF_H | ||
| 8786 | #include <net/if.h> | ||
| 8787 | #endif | ||
| 8788 | |||
| 8789 | int | ||
| 8790 | main () | ||
| 8791 | { | ||
| 8792 | static struct ifreq ac_aggr; | ||
| 8793 | if (sizeof ac_aggr.ifr_hwaddr) | ||
| 8794 | return 0; | ||
| 8795 | ; | ||
| 8796 | return 0; | ||
| 8797 | } | ||
| 8798 | _ACEOF | ||
| 8799 | rm -f conftest.$ac_objext | ||
| 8800 | if { (ac_try="$ac_compile" | ||
| 8801 | case "(($ac_try" in | ||
| 8802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8803 | *) ac_try_echo=$ac_try;; | ||
| 8804 | esac | ||
| 8805 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8806 | $as_echo "$ac_try_echo") >&5 | ||
| 8807 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8808 | ac_status=$? | ||
| 8809 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8810 | rm -f conftest.er1 | ||
| 8811 | cat conftest.err >&5 | ||
| 8812 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8813 | (exit $ac_status); } && { | ||
| 8814 | test -z "$ac_c_werror_flag" || | ||
| 8815 | test ! -s conftest.err | ||
| 8816 | } && test -s conftest.$ac_objext; then | ||
| 8817 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8818 | else | ||
| 8819 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8820 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8821 | |||
| 8822 | ac_cv_member_struct_ifreq_ifr_hwaddr=no | ||
| 8823 | fi | ||
| 8824 | |||
| 8825 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8826 | fi | ||
| 8827 | |||
| 8828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8829 | fi | ||
| 8830 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | ||
| 8831 | $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | ||
| 8832 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | ||
| 6682 | 8833 | ||
| 6683 | cat >>confdefs.h <<_ACEOF | 8834 | cat >>confdefs.h <<_ACEOF |
| 6684 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 8835 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
| @@ -6686,15 +8837,116 @@ _ACEOF | |||
| 6686 | 8837 | ||
| 6687 | 8838 | ||
| 6688 | fi | 8839 | fi |
| 6689 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default | 8840 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
| 8841 | $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | ||
| 8842 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | ||
| 8843 | $as_echo_n "(cached) " >&6 | ||
| 8844 | else | ||
| 8845 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8846 | /* confdefs.h. */ | ||
| 8847 | _ACEOF | ||
| 8848 | cat confdefs.h >>conftest.$ac_ext | ||
| 8849 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8850 | /* end confdefs.h. */ | ||
| 8851 | $ac_includes_default | ||
| 6690 | #if HAVE_SYS_SOCKET_H | 8852 | #if HAVE_SYS_SOCKET_H |
| 6691 | #include <sys/socket.h> | 8853 | #include <sys/socket.h> |
| 6692 | #endif | 8854 | #endif |
| 6693 | #if HAVE_NET_IF_H | 8855 | #if HAVE_NET_IF_H |
| 6694 | #include <net/if.h> | 8856 | #include <net/if.h> |
| 6695 | #endif | 8857 | #endif |
| 6696 | " | 8858 | |
| 6697 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8859 | int |
| 8860 | main () | ||
| 8861 | { | ||
| 8862 | static struct ifreq ac_aggr; | ||
| 8863 | if (ac_aggr.ifr_netmask) | ||
| 8864 | return 0; | ||
| 8865 | ; | ||
| 8866 | return 0; | ||
| 8867 | } | ||
| 8868 | _ACEOF | ||
| 8869 | rm -f conftest.$ac_objext | ||
| 8870 | if { (ac_try="$ac_compile" | ||
| 8871 | case "(($ac_try" in | ||
| 8872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8873 | *) ac_try_echo=$ac_try;; | ||
| 8874 | esac | ||
| 8875 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8876 | $as_echo "$ac_try_echo") >&5 | ||
| 8877 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8878 | ac_status=$? | ||
| 8879 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8880 | rm -f conftest.er1 | ||
| 8881 | cat conftest.err >&5 | ||
| 8882 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8883 | (exit $ac_status); } && { | ||
| 8884 | test -z "$ac_c_werror_flag" || | ||
| 8885 | test ! -s conftest.err | ||
| 8886 | } && test -s conftest.$ac_objext; then | ||
| 8887 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8888 | else | ||
| 8889 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8890 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8891 | |||
| 8892 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8893 | /* confdefs.h. */ | ||
| 8894 | _ACEOF | ||
| 8895 | cat confdefs.h >>conftest.$ac_ext | ||
| 8896 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8897 | /* end confdefs.h. */ | ||
| 8898 | $ac_includes_default | ||
| 8899 | #if HAVE_SYS_SOCKET_H | ||
| 8900 | #include <sys/socket.h> | ||
| 8901 | #endif | ||
| 8902 | #if HAVE_NET_IF_H | ||
| 8903 | #include <net/if.h> | ||
| 8904 | #endif | ||
| 8905 | |||
| 8906 | int | ||
| 8907 | main () | ||
| 8908 | { | ||
| 8909 | static struct ifreq ac_aggr; | ||
| 8910 | if (sizeof ac_aggr.ifr_netmask) | ||
| 8911 | return 0; | ||
| 8912 | ; | ||
| 8913 | return 0; | ||
| 8914 | } | ||
| 8915 | _ACEOF | ||
| 8916 | rm -f conftest.$ac_objext | ||
| 8917 | if { (ac_try="$ac_compile" | ||
| 8918 | case "(($ac_try" in | ||
| 8919 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8920 | *) ac_try_echo=$ac_try;; | ||
| 8921 | esac | ||
| 8922 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8923 | $as_echo "$ac_try_echo") >&5 | ||
| 8924 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8925 | ac_status=$? | ||
| 8926 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8927 | rm -f conftest.er1 | ||
| 8928 | cat conftest.err >&5 | ||
| 8929 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8930 | (exit $ac_status); } && { | ||
| 8931 | test -z "$ac_c_werror_flag" || | ||
| 8932 | test ! -s conftest.err | ||
| 8933 | } && test -s conftest.$ac_objext; then | ||
| 8934 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8935 | else | ||
| 8936 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8937 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8938 | |||
| 8939 | ac_cv_member_struct_ifreq_ifr_netmask=no | ||
| 8940 | fi | ||
| 8941 | |||
| 8942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8943 | fi | ||
| 8944 | |||
| 8945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8946 | fi | ||
| 8947 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | ||
| 8948 | $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | ||
| 8949 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | ||
| 6698 | 8950 | ||
| 6699 | cat >>confdefs.h <<_ACEOF | 8951 | cat >>confdefs.h <<_ACEOF |
| 6700 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 8952 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
| @@ -6702,15 +8954,116 @@ _ACEOF | |||
| 6702 | 8954 | ||
| 6703 | 8955 | ||
| 6704 | fi | 8956 | fi |
| 6705 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default | 8957 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
| 8958 | $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | ||
| 8959 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | ||
| 8960 | $as_echo_n "(cached) " >&6 | ||
| 8961 | else | ||
| 8962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8963 | /* confdefs.h. */ | ||
| 8964 | _ACEOF | ||
| 8965 | cat confdefs.h >>conftest.$ac_ext | ||
| 8966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8967 | /* end confdefs.h. */ | ||
| 8968 | $ac_includes_default | ||
| 8969 | #if HAVE_SYS_SOCKET_H | ||
| 8970 | #include <sys/socket.h> | ||
| 8971 | #endif | ||
| 8972 | #if HAVE_NET_IF_H | ||
| 8973 | #include <net/if.h> | ||
| 8974 | #endif | ||
| 8975 | |||
| 8976 | int | ||
| 8977 | main () | ||
| 8978 | { | ||
| 8979 | static struct ifreq ac_aggr; | ||
| 8980 | if (ac_aggr.ifr_broadaddr) | ||
| 8981 | return 0; | ||
| 8982 | ; | ||
| 8983 | return 0; | ||
| 8984 | } | ||
| 8985 | _ACEOF | ||
| 8986 | rm -f conftest.$ac_objext | ||
| 8987 | if { (ac_try="$ac_compile" | ||
| 8988 | case "(($ac_try" in | ||
| 8989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8990 | *) ac_try_echo=$ac_try;; | ||
| 8991 | esac | ||
| 8992 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8993 | $as_echo "$ac_try_echo") >&5 | ||
| 8994 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8995 | ac_status=$? | ||
| 8996 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8997 | rm -f conftest.er1 | ||
| 8998 | cat conftest.err >&5 | ||
| 8999 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9000 | (exit $ac_status); } && { | ||
| 9001 | test -z "$ac_c_werror_flag" || | ||
| 9002 | test ! -s conftest.err | ||
| 9003 | } && test -s conftest.$ac_objext; then | ||
| 9004 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 9005 | else | ||
| 9006 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9007 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9008 | |||
| 9009 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9010 | /* confdefs.h. */ | ||
| 9011 | _ACEOF | ||
| 9012 | cat confdefs.h >>conftest.$ac_ext | ||
| 9013 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9014 | /* end confdefs.h. */ | ||
| 9015 | $ac_includes_default | ||
| 6706 | #if HAVE_SYS_SOCKET_H | 9016 | #if HAVE_SYS_SOCKET_H |
| 6707 | #include <sys/socket.h> | 9017 | #include <sys/socket.h> |
| 6708 | #endif | 9018 | #endif |
| 6709 | #if HAVE_NET_IF_H | 9019 | #if HAVE_NET_IF_H |
| 6710 | #include <net/if.h> | 9020 | #include <net/if.h> |
| 6711 | #endif | 9021 | #endif |
| 6712 | " | 9022 | |
| 6713 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 9023 | int |
| 9024 | main () | ||
| 9025 | { | ||
| 9026 | static struct ifreq ac_aggr; | ||
| 9027 | if (sizeof ac_aggr.ifr_broadaddr) | ||
| 9028 | return 0; | ||
| 9029 | ; | ||
| 9030 | return 0; | ||
| 9031 | } | ||
| 9032 | _ACEOF | ||
| 9033 | rm -f conftest.$ac_objext | ||
| 9034 | if { (ac_try="$ac_compile" | ||
| 9035 | case "(($ac_try" in | ||
| 9036 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9037 | *) ac_try_echo=$ac_try;; | ||
| 9038 | esac | ||
| 9039 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9040 | $as_echo "$ac_try_echo") >&5 | ||
| 9041 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9042 | ac_status=$? | ||
| 9043 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9044 | rm -f conftest.er1 | ||
| 9045 | cat conftest.err >&5 | ||
| 9046 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9047 | (exit $ac_status); } && { | ||
| 9048 | test -z "$ac_c_werror_flag" || | ||
| 9049 | test ! -s conftest.err | ||
| 9050 | } && test -s conftest.$ac_objext; then | ||
| 9051 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 9052 | else | ||
| 9053 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9054 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9055 | |||
| 9056 | ac_cv_member_struct_ifreq_ifr_broadaddr=no | ||
| 9057 | fi | ||
| 9058 | |||
| 9059 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9060 | fi | ||
| 9061 | |||
| 9062 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9063 | fi | ||
| 9064 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | ||
| 9065 | $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | ||
| 9066 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | ||
| 6714 | 9067 | ||
| 6715 | cat >>confdefs.h <<_ACEOF | 9068 | cat >>confdefs.h <<_ACEOF |
| 6716 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 9069 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
| @@ -6718,15 +9071,116 @@ _ACEOF | |||
| 6718 | 9071 | ||
| 6719 | 9072 | ||
| 6720 | fi | 9073 | fi |
| 6721 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default | 9074 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
| 9075 | $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | ||
| 9076 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | ||
| 9077 | $as_echo_n "(cached) " >&6 | ||
| 9078 | else | ||
| 9079 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9080 | /* confdefs.h. */ | ||
| 9081 | _ACEOF | ||
| 9082 | cat confdefs.h >>conftest.$ac_ext | ||
| 9083 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9084 | /* end confdefs.h. */ | ||
| 9085 | $ac_includes_default | ||
| 6722 | #if HAVE_SYS_SOCKET_H | 9086 | #if HAVE_SYS_SOCKET_H |
| 6723 | #include <sys/socket.h> | 9087 | #include <sys/socket.h> |
| 6724 | #endif | 9088 | #endif |
| 6725 | #if HAVE_NET_IF_H | 9089 | #if HAVE_NET_IF_H |
| 6726 | #include <net/if.h> | 9090 | #include <net/if.h> |
| 6727 | #endif | 9091 | #endif |
| 6728 | " | 9092 | |
| 6729 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 9093 | int |
| 9094 | main () | ||
| 9095 | { | ||
| 9096 | static struct ifreq ac_aggr; | ||
| 9097 | if (ac_aggr.ifr_addr) | ||
| 9098 | return 0; | ||
| 9099 | ; | ||
| 9100 | return 0; | ||
| 9101 | } | ||
| 9102 | _ACEOF | ||
| 9103 | rm -f conftest.$ac_objext | ||
| 9104 | if { (ac_try="$ac_compile" | ||
| 9105 | case "(($ac_try" in | ||
| 9106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9107 | *) ac_try_echo=$ac_try;; | ||
| 9108 | esac | ||
| 9109 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9110 | $as_echo "$ac_try_echo") >&5 | ||
| 9111 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9112 | ac_status=$? | ||
| 9113 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9114 | rm -f conftest.er1 | ||
| 9115 | cat conftest.err >&5 | ||
| 9116 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9117 | (exit $ac_status); } && { | ||
| 9118 | test -z "$ac_c_werror_flag" || | ||
| 9119 | test ! -s conftest.err | ||
| 9120 | } && test -s conftest.$ac_objext; then | ||
| 9121 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 9122 | else | ||
| 9123 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9124 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9125 | |||
| 9126 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9127 | /* confdefs.h. */ | ||
| 9128 | _ACEOF | ||
| 9129 | cat confdefs.h >>conftest.$ac_ext | ||
| 9130 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9131 | /* end confdefs.h. */ | ||
| 9132 | $ac_includes_default | ||
| 9133 | #if HAVE_SYS_SOCKET_H | ||
| 9134 | #include <sys/socket.h> | ||
| 9135 | #endif | ||
| 9136 | #if HAVE_NET_IF_H | ||
| 9137 | #include <net/if.h> | ||
| 9138 | #endif | ||
| 9139 | |||
| 9140 | int | ||
| 9141 | main () | ||
| 9142 | { | ||
| 9143 | static struct ifreq ac_aggr; | ||
| 9144 | if (sizeof ac_aggr.ifr_addr) | ||
| 9145 | return 0; | ||
| 9146 | ; | ||
| 9147 | return 0; | ||
| 9148 | } | ||
| 9149 | _ACEOF | ||
| 9150 | rm -f conftest.$ac_objext | ||
| 9151 | if { (ac_try="$ac_compile" | ||
| 9152 | case "(($ac_try" in | ||
| 9153 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9154 | *) ac_try_echo=$ac_try;; | ||
| 9155 | esac | ||
| 9156 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9157 | $as_echo "$ac_try_echo") >&5 | ||
| 9158 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9159 | ac_status=$? | ||
| 9160 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9161 | rm -f conftest.er1 | ||
| 9162 | cat conftest.err >&5 | ||
| 9163 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9164 | (exit $ac_status); } && { | ||
| 9165 | test -z "$ac_c_werror_flag" || | ||
| 9166 | test ! -s conftest.err | ||
| 9167 | } && test -s conftest.$ac_objext; then | ||
| 9168 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 9169 | else | ||
| 9170 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9171 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9172 | |||
| 9173 | ac_cv_member_struct_ifreq_ifr_addr=no | ||
| 9174 | fi | ||
| 9175 | |||
| 9176 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9177 | fi | ||
| 9178 | |||
| 9179 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9180 | fi | ||
| 9181 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | ||
| 9182 | $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | ||
| 9183 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | ||
| 6730 | 9184 | ||
| 6731 | cat >>confdefs.h <<_ACEOF | 9185 | cat >>confdefs.h <<_ACEOF |
| 6732 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 9186 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
| @@ -6737,28 +9191,36 @@ fi | |||
| 6737 | 9191 | ||
| 6738 | 9192 | ||
| 6739 | 9193 | ||
| 6740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 9194 | { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 |
| 6741 | $as_echo_n "checking for function prototypes... " >&6; } | 9195 | $as_echo_n "checking for function prototypes... " >&6; } |
| 6742 | if test "$ac_cv_prog_cc_c89" != no; then | 9196 | if test "$ac_cv_prog_cc_c89" != no; then |
| 6743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9197 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6744 | $as_echo "yes" >&6; } | 9198 | $as_echo "yes" >&6; } |
| 6745 | 9199 | ||
| 6746 | $as_echo "#define PROTOTYPES 1" >>confdefs.h | 9200 | cat >>confdefs.h <<\_ACEOF |
| 9201 | #define PROTOTYPES 1 | ||
| 9202 | _ACEOF | ||
| 6747 | 9203 | ||
| 6748 | 9204 | ||
| 6749 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 9205 | cat >>confdefs.h <<\_ACEOF |
| 9206 | #define __PROTOTYPES 1 | ||
| 9207 | _ACEOF | ||
| 6750 | 9208 | ||
| 6751 | else | 9209 | else |
| 6752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9210 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6753 | $as_echo "no" >&6; } | 9211 | $as_echo "no" >&6; } |
| 6754 | fi | 9212 | fi |
| 6755 | 9213 | ||
| 6756 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 9214 | { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 |
| 6757 | $as_echo_n "checking for working volatile... " >&6; } | 9215 | $as_echo_n "checking for working volatile... " >&6; } |
| 6758 | if test "${ac_cv_c_volatile+set}" = set; then : | 9216 | if test "${ac_cv_c_volatile+set}" = set; then |
| 6759 | $as_echo_n "(cached) " >&6 | 9217 | $as_echo_n "(cached) " >&6 |
| 6760 | else | 9218 | else |
| 6761 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9219 | cat >conftest.$ac_ext <<_ACEOF |
| 9220 | /* confdefs.h. */ | ||
| 9221 | _ACEOF | ||
| 9222 | cat confdefs.h >>conftest.$ac_ext | ||
| 9223 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6762 | /* end confdefs.h. */ | 9224 | /* end confdefs.h. */ |
| 6763 | 9225 | ||
| 6764 | int | 9226 | int |
| @@ -6772,27 +9234,54 @@ return !x && !y; | |||
| 6772 | return 0; | 9234 | return 0; |
| 6773 | } | 9235 | } |
| 6774 | _ACEOF | 9236 | _ACEOF |
| 6775 | if ac_fn_c_try_compile "$LINENO"; then : | 9237 | rm -f conftest.$ac_objext |
| 9238 | if { (ac_try="$ac_compile" | ||
| 9239 | case "(($ac_try" in | ||
| 9240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9241 | *) ac_try_echo=$ac_try;; | ||
| 9242 | esac | ||
| 9243 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9244 | $as_echo "$ac_try_echo") >&5 | ||
| 9245 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9246 | ac_status=$? | ||
| 9247 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9248 | rm -f conftest.er1 | ||
| 9249 | cat conftest.err >&5 | ||
| 9250 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9251 | (exit $ac_status); } && { | ||
| 9252 | test -z "$ac_c_werror_flag" || | ||
| 9253 | test ! -s conftest.err | ||
| 9254 | } && test -s conftest.$ac_objext; then | ||
| 6776 | ac_cv_c_volatile=yes | 9255 | ac_cv_c_volatile=yes |
| 6777 | else | 9256 | else |
| 6778 | ac_cv_c_volatile=no | 9257 | $as_echo "$as_me: failed program was:" >&5 |
| 9258 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9259 | |||
| 9260 | ac_cv_c_volatile=no | ||
| 6779 | fi | 9261 | fi |
| 9262 | |||
| 6780 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9263 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6781 | fi | 9264 | fi |
| 6782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 | 9265 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
| 6783 | $as_echo "$ac_cv_c_volatile" >&6; } | 9266 | $as_echo "$ac_cv_c_volatile" >&6; } |
| 6784 | if test $ac_cv_c_volatile = no; then | 9267 | if test $ac_cv_c_volatile = no; then |
| 6785 | 9268 | ||
| 6786 | $as_echo "#define volatile /**/" >>confdefs.h | 9269 | cat >>confdefs.h <<\_ACEOF |
| 9270 | #define volatile /**/ | ||
| 9271 | _ACEOF | ||
| 6787 | 9272 | ||
| 6788 | fi | 9273 | fi |
| 6789 | 9274 | ||
| 6790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 9275 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 6791 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 9276 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 6792 | if test "${ac_cv_c_const+set}" = set; then : | 9277 | if test "${ac_cv_c_const+set}" = set; then |
| 6793 | $as_echo_n "(cached) " >&6 | 9278 | $as_echo_n "(cached) " >&6 |
| 6794 | else | 9279 | else |
| 6795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9280 | cat >conftest.$ac_ext <<_ACEOF |
| 9281 | /* confdefs.h. */ | ||
| 9282 | _ACEOF | ||
| 9283 | cat confdefs.h >>conftest.$ac_ext | ||
| 9284 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6796 | /* end confdefs.h. */ | 9285 | /* end confdefs.h. */ |
| 6797 | 9286 | ||
| 6798 | int | 9287 | int |
| @@ -6852,27 +9341,54 @@ main () | |||
| 6852 | return 0; | 9341 | return 0; |
| 6853 | } | 9342 | } |
| 6854 | _ACEOF | 9343 | _ACEOF |
| 6855 | if ac_fn_c_try_compile "$LINENO"; then : | 9344 | rm -f conftest.$ac_objext |
| 9345 | if { (ac_try="$ac_compile" | ||
| 9346 | case "(($ac_try" in | ||
| 9347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9348 | *) ac_try_echo=$ac_try;; | ||
| 9349 | esac | ||
| 9350 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9351 | $as_echo "$ac_try_echo") >&5 | ||
| 9352 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9353 | ac_status=$? | ||
| 9354 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9355 | rm -f conftest.er1 | ||
| 9356 | cat conftest.err >&5 | ||
| 9357 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9358 | (exit $ac_status); } && { | ||
| 9359 | test -z "$ac_c_werror_flag" || | ||
| 9360 | test ! -s conftest.err | ||
| 9361 | } && test -s conftest.$ac_objext; then | ||
| 6856 | ac_cv_c_const=yes | 9362 | ac_cv_c_const=yes |
| 6857 | else | 9363 | else |
| 6858 | ac_cv_c_const=no | 9364 | $as_echo "$as_me: failed program was:" >&5 |
| 9365 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9366 | |||
| 9367 | ac_cv_c_const=no | ||
| 6859 | fi | 9368 | fi |
| 9369 | |||
| 6860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9370 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6861 | fi | 9371 | fi |
| 6862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 9372 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 6863 | $as_echo "$ac_cv_c_const" >&6; } | 9373 | $as_echo "$ac_cv_c_const" >&6; } |
| 6864 | if test $ac_cv_c_const = no; then | 9374 | if test $ac_cv_c_const = no; then |
| 6865 | 9375 | ||
| 6866 | $as_echo "#define const /**/" >>confdefs.h | 9376 | cat >>confdefs.h <<\_ACEOF |
| 9377 | #define const /**/ | ||
| 9378 | _ACEOF | ||
| 6867 | 9379 | ||
| 6868 | fi | 9380 | fi |
| 6869 | 9381 | ||
| 6870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 9382 | { $as_echo "$as_me:$LINENO: checking for void * support" >&5 |
| 6871 | $as_echo_n "checking for void * support... " >&6; } | 9383 | $as_echo_n "checking for void * support... " >&6; } |
| 6872 | if test "${emacs_cv_void_star+set}" = set; then : | 9384 | if test "${emacs_cv_void_star+set}" = set; then |
| 6873 | $as_echo_n "(cached) " >&6 | 9385 | $as_echo_n "(cached) " >&6 |
| 6874 | else | 9386 | else |
| 6875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9387 | cat >conftest.$ac_ext <<_ACEOF |
| 9388 | /* confdefs.h. */ | ||
| 9389 | _ACEOF | ||
| 9390 | cat confdefs.h >>conftest.$ac_ext | ||
| 9391 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6876 | /* end confdefs.h. */ | 9392 | /* end confdefs.h. */ |
| 6877 | 9393 | ||
| 6878 | int | 9394 | int |
| @@ -6883,31 +9399,57 @@ void * foo; | |||
| 6883 | return 0; | 9399 | return 0; |
| 6884 | } | 9400 | } |
| 6885 | _ACEOF | 9401 | _ACEOF |
| 6886 | if ac_fn_c_try_compile "$LINENO"; then : | 9402 | rm -f conftest.$ac_objext |
| 9403 | if { (ac_try="$ac_compile" | ||
| 9404 | case "(($ac_try" in | ||
| 9405 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9406 | *) ac_try_echo=$ac_try;; | ||
| 9407 | esac | ||
| 9408 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9409 | $as_echo "$ac_try_echo") >&5 | ||
| 9410 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9411 | ac_status=$? | ||
| 9412 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9413 | rm -f conftest.er1 | ||
| 9414 | cat conftest.err >&5 | ||
| 9415 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9416 | (exit $ac_status); } && { | ||
| 9417 | test -z "$ac_c_werror_flag" || | ||
| 9418 | test ! -s conftest.err | ||
| 9419 | } && test -s conftest.$ac_objext; then | ||
| 6887 | emacs_cv_void_star=yes | 9420 | emacs_cv_void_star=yes |
| 6888 | else | 9421 | else |
| 6889 | emacs_cv_void_star=no | 9422 | $as_echo "$as_me: failed program was:" >&5 |
| 9423 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9424 | |||
| 9425 | emacs_cv_void_star=no | ||
| 6890 | fi | 9426 | fi |
| 9427 | |||
| 6891 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9428 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6892 | fi | 9429 | fi |
| 6893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 | 9430 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
| 6894 | $as_echo "$emacs_cv_void_star" >&6; } | 9431 | $as_echo "$emacs_cv_void_star" >&6; } |
| 6895 | if test $emacs_cv_void_star = yes; then | 9432 | if test $emacs_cv_void_star = yes; then |
| 6896 | $as_echo "#define POINTER_TYPE void" >>confdefs.h | 9433 | cat >>confdefs.h <<\_ACEOF |
| 9434 | #define POINTER_TYPE void | ||
| 9435 | _ACEOF | ||
| 6897 | 9436 | ||
| 6898 | else | 9437 | else |
| 6899 | $as_echo "#define POINTER_TYPE char" >>confdefs.h | 9438 | cat >>confdefs.h <<\_ACEOF |
| 9439 | #define POINTER_TYPE char | ||
| 9440 | _ACEOF | ||
| 6900 | 9441 | ||
| 6901 | fi | 9442 | fi |
| 6902 | 9443 | ||
| 6903 | 9444 | ||
| 6904 | 9445 | ||
| 6905 | 9446 | ||
| 6906 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9447 | |
| 9448 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 6907 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 9449 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6908 | set x ${MAKE-make} | 9450 | set x ${MAKE-make} |
| 6909 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 9451 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6910 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 9452 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6911 | $as_echo_n "(cached) " >&6 | 9453 | $as_echo_n "(cached) " >&6 |
| 6912 | else | 9454 | else |
| 6913 | cat >conftest.make <<\_ACEOF | 9455 | cat >conftest.make <<\_ACEOF |
| @@ -6925,18 +9467,18 @@ esac | |||
| 6925 | rm -f conftest.make | 9467 | rm -f conftest.make |
| 6926 | fi | 9468 | fi |
| 6927 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 9469 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9470 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6929 | $as_echo "yes" >&6; } | 9471 | $as_echo "yes" >&6; } |
| 6930 | SET_MAKE= | 9472 | SET_MAKE= |
| 6931 | else | 9473 | else |
| 6932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9474 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6933 | $as_echo "no" >&6; } | 9475 | $as_echo "no" >&6; } |
| 6934 | SET_MAKE="MAKE=${MAKE-make}" | 9476 | SET_MAKE="MAKE=${MAKE-make}" |
| 6935 | fi | 9477 | fi |
| 6936 | 9478 | ||
| 6937 | 9479 | ||
| 6938 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 9480 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
| 6939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 | 9481 | { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 |
| 6940 | $as_echo_n "checking whether we are using GNU Make... " >&6; } | 9482 | $as_echo_n "checking whether we are using GNU Make... " >&6; } |
| 6941 | HAVE_GNU_MAKE=no | 9483 | HAVE_GNU_MAKE=no |
| 6942 | testval=`make --version 2>/dev/null | grep 'GNU Make'` | 9484 | testval=`make --version 2>/dev/null | grep 'GNU Make'` |
| @@ -6945,14 +9487,18 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; } | |||
| 6945 | else | 9487 | else |
| 6946 | ac_enable_autodepend=no | 9488 | ac_enable_autodepend=no |
| 6947 | fi | 9489 | fi |
| 6948 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 | 9490 | { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 |
| 6949 | $as_echo "$HAVE_GNU_MAKE" >&6; } | 9491 | $as_echo "$HAVE_GNU_MAKE" >&6; } |
| 6950 | if test $HAVE_GNU_MAKE = yes; then | 9492 | if test $HAVE_GNU_MAKE = yes; then |
| 6951 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9493 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 |
| 6952 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9494 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
| 6953 | SAVE_CFLAGS="$CFLAGS" | 9495 | SAVE_CFLAGS="$CFLAGS" |
| 6954 | CFLAGS="$CFLAGS -MMD -MF deps.d" | 9496 | CFLAGS="$CFLAGS -MMD -MF deps.d" |
| 6955 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9497 | cat >conftest.$ac_ext <<_ACEOF |
| 9498 | /* confdefs.h. */ | ||
| 9499 | _ACEOF | ||
| 9500 | cat confdefs.h >>conftest.$ac_ext | ||
| 9501 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6956 | /* end confdefs.h. */ | 9502 | /* end confdefs.h. */ |
| 6957 | 9503 | ||
| 6958 | int | 9504 | int |
| @@ -6963,28 +9509,51 @@ main () | |||
| 6963 | return 0; | 9509 | return 0; |
| 6964 | } | 9510 | } |
| 6965 | _ACEOF | 9511 | _ACEOF |
| 6966 | if ac_fn_c_try_compile "$LINENO"; then : | 9512 | rm -f conftest.$ac_objext |
| 6967 | 9513 | if { (ac_try="$ac_compile" | |
| 9514 | case "(($ac_try" in | ||
| 9515 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9516 | *) ac_try_echo=$ac_try;; | ||
| 9517 | esac | ||
| 9518 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9519 | $as_echo "$ac_try_echo") >&5 | ||
| 9520 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9521 | ac_status=$? | ||
| 9522 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9523 | rm -f conftest.er1 | ||
| 9524 | cat conftest.err >&5 | ||
| 9525 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9526 | (exit $ac_status); } && { | ||
| 9527 | test -z "$ac_c_werror_flag" || | ||
| 9528 | test ! -s conftest.err | ||
| 9529 | } && test -s conftest.$ac_objext; then | ||
| 9530 | : | ||
| 6968 | else | 9531 | else |
| 6969 | ac_enable_autodepend=no | 9532 | $as_echo "$as_me: failed program was:" >&5 |
| 9533 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9534 | |||
| 9535 | ac_enable_autodepend=no | ||
| 6970 | fi | 9536 | fi |
| 9537 | |||
| 6971 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9538 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6972 | CFLAGS="$SAVE_CFLAGS" | 9539 | CFLAGS="$SAVE_CFLAGS" |
| 6973 | test -f deps.d || ac_enable_autodepend=no | 9540 | test -f deps.d || ac_enable_autodepend=no |
| 6974 | rm -rf deps.d | 9541 | rm -rf deps.d |
| 6975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 | 9542 | { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 |
| 6976 | $as_echo "$ac_enable_autodepend" >&6; } | 9543 | $as_echo "$ac_enable_autodepend" >&6; } |
| 6977 | fi | 9544 | fi |
| 6978 | if test $ac_enable_autodepend = yes; then | 9545 | if test $ac_enable_autodepend = yes; then |
| 6979 | 9546 | ||
| 6980 | $as_echo "#define AUTO_DEPEND 1" >>confdefs.h | 9547 | cat >>confdefs.h <<\_ACEOF |
| 9548 | #define AUTO_DEPEND 1 | ||
| 9549 | _ACEOF | ||
| 6981 | 9550 | ||
| 6982 | fi | 9551 | fi |
| 6983 | fi | 9552 | fi |
| 6984 | 9553 | ||
| 6985 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 9554 | { $as_echo "$as_me:$LINENO: checking for long file names" >&5 |
| 6986 | $as_echo_n "checking for long file names... " >&6; } | 9555 | $as_echo_n "checking for long file names... " >&6; } |
| 6987 | if test "${ac_cv_sys_long_file_names+set}" = set; then : | 9556 | if test "${ac_cv_sys_long_file_names+set}" = set; then |
| 6988 | $as_echo_n "(cached) " >&6 | 9557 | $as_echo_n "(cached) " >&6 |
| 6989 | else | 9558 | else |
| 6990 | ac_cv_sys_long_file_names=yes | 9559 | ac_cv_sys_long_file_names=yes |
| @@ -7014,23 +9583,25 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib | |||
| 7014 | test $ac_cv_sys_long_file_names = no && break | 9583 | test $ac_cv_sys_long_file_names = no && break |
| 7015 | done | 9584 | done |
| 7016 | fi | 9585 | fi |
| 7017 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 | 9586 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
| 7018 | $as_echo "$ac_cv_sys_long_file_names" >&6; } | 9587 | $as_echo "$ac_cv_sys_long_file_names" >&6; } |
| 7019 | if test $ac_cv_sys_long_file_names = yes; then | 9588 | if test $ac_cv_sys_long_file_names = yes; then |
| 7020 | 9589 | ||
| 7021 | $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h | 9590 | cat >>confdefs.h <<\_ACEOF |
| 9591 | #define HAVE_LONG_FILE_NAMES 1 | ||
| 9592 | _ACEOF | ||
| 7022 | 9593 | ||
| 7023 | fi | 9594 | fi |
| 7024 | 9595 | ||
| 7025 | 9596 | ||
| 7026 | #### Choose a window system. | 9597 | #### Choose a window system. |
| 7027 | 9598 | ||
| 7028 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9599 | { $as_echo "$as_me:$LINENO: checking for X" >&5 |
| 7029 | $as_echo_n "checking for X... " >&6; } | 9600 | $as_echo_n "checking for X... " >&6; } |
| 7030 | 9601 | ||
| 7031 | 9602 | ||
| 7032 | # Check whether --with-x was given. | 9603 | # Check whether --with-x was given. |
| 7033 | if test "${with_x+set}" = set; then : | 9604 | if test "${with_x+set}" = set; then |
| 7034 | withval=$with_x; | 9605 | withval=$with_x; |
| 7035 | fi | 9606 | fi |
| 7036 | 9607 | ||
| @@ -7040,8 +9611,10 @@ if test "x$with_x" = xno; then | |||
| 7040 | have_x=disabled | 9611 | have_x=disabled |
| 7041 | else | 9612 | else |
| 7042 | case $x_includes,$x_libraries in #( | 9613 | case $x_includes,$x_libraries in #( |
| 7043 | *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 9614 | *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
| 7044 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 9615 | $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
| 9616 | { (exit 1); exit 1; }; };; #( | ||
| 9617 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | ||
| 7045 | $as_echo_n "(cached) " >&6 | 9618 | $as_echo_n "(cached) " >&6 |
| 7046 | else | 9619 | else |
| 7047 | # One or both of the vars are not set, and there is no cached value. | 9620 | # One or both of the vars are not set, and there is no cached value. |
| @@ -7077,7 +9650,7 @@ _ACEOF | |||
| 7077 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9650 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 7078 | esac | 9651 | esac |
| 7079 | case $ac_im_usrlibdir in | 9652 | case $ac_im_usrlibdir in |
| 7080 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; | 9653 | /usr/lib | /lib) ;; |
| 7081 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9654 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 7082 | esac | 9655 | esac |
| 7083 | fi | 9656 | fi |
| @@ -7089,25 +9662,21 @@ fi | |||
| 7089 | # Check X11 before X11Rn because it is often a symlink to the current release. | 9662 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 7090 | ac_x_header_dirs=' | 9663 | ac_x_header_dirs=' |
| 7091 | /usr/X11/include | 9664 | /usr/X11/include |
| 7092 | /usr/X11R7/include | ||
| 7093 | /usr/X11R6/include | 9665 | /usr/X11R6/include |
| 7094 | /usr/X11R5/include | 9666 | /usr/X11R5/include |
| 7095 | /usr/X11R4/include | 9667 | /usr/X11R4/include |
| 7096 | 9668 | ||
| 7097 | /usr/include/X11 | 9669 | /usr/include/X11 |
| 7098 | /usr/include/X11R7 | ||
| 7099 | /usr/include/X11R6 | 9670 | /usr/include/X11R6 |
| 7100 | /usr/include/X11R5 | 9671 | /usr/include/X11R5 |
| 7101 | /usr/include/X11R4 | 9672 | /usr/include/X11R4 |
| 7102 | 9673 | ||
| 7103 | /usr/local/X11/include | 9674 | /usr/local/X11/include |
| 7104 | /usr/local/X11R7/include | ||
| 7105 | /usr/local/X11R6/include | 9675 | /usr/local/X11R6/include |
| 7106 | /usr/local/X11R5/include | 9676 | /usr/local/X11R5/include |
| 7107 | /usr/local/X11R4/include | 9677 | /usr/local/X11R4/include |
| 7108 | 9678 | ||
| 7109 | /usr/local/include/X11 | 9679 | /usr/local/include/X11 |
| 7110 | /usr/local/include/X11R7 | ||
| 7111 | /usr/local/include/X11R6 | 9680 | /usr/local/include/X11R6 |
| 7112 | /usr/local/include/X11R5 | 9681 | /usr/local/include/X11R5 |
| 7113 | /usr/local/include/X11R4 | 9682 | /usr/local/include/X11R4 |
| @@ -7129,14 +9698,37 @@ ac_x_header_dirs=' | |||
| 7129 | if test "$ac_x_includes" = no; then | 9698 | if test "$ac_x_includes" = no; then |
| 7130 | # Guess where to find include files, by looking for Xlib.h. | 9699 | # Guess where to find include files, by looking for Xlib.h. |
| 7131 | # First, try using that file with no special directory specified. | 9700 | # First, try using that file with no special directory specified. |
| 7132 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9701 | cat >conftest.$ac_ext <<_ACEOF |
| 9702 | /* confdefs.h. */ | ||
| 9703 | _ACEOF | ||
| 9704 | cat confdefs.h >>conftest.$ac_ext | ||
| 9705 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7133 | /* end confdefs.h. */ | 9706 | /* end confdefs.h. */ |
| 7134 | #include <X11/Xlib.h> | 9707 | #include <X11/Xlib.h> |
| 7135 | _ACEOF | 9708 | _ACEOF |
| 7136 | if ac_fn_c_try_cpp "$LINENO"; then : | 9709 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9710 | case "(($ac_try" in | ||
| 9711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9712 | *) ac_try_echo=$ac_try;; | ||
| 9713 | esac | ||
| 9714 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9715 | $as_echo "$ac_try_echo") >&5 | ||
| 9716 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9717 | ac_status=$? | ||
| 9718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9719 | rm -f conftest.er1 | ||
| 9720 | cat conftest.err >&5 | ||
| 9721 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9722 | (exit $ac_status); } >/dev/null && { | ||
| 9723 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9724 | test ! -s conftest.err | ||
| 9725 | }; then | ||
| 7137 | # We can compile using X headers with no special include directory. | 9726 | # We can compile using X headers with no special include directory. |
| 7138 | ac_x_includes= | 9727 | ac_x_includes= |
| 7139 | else | 9728 | else |
| 9729 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9730 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9731 | |||
| 7140 | for ac_dir in $ac_x_header_dirs; do | 9732 | for ac_dir in $ac_x_header_dirs; do |
| 7141 | if test -r "$ac_dir/X11/Xlib.h"; then | 9733 | if test -r "$ac_dir/X11/Xlib.h"; then |
| 7142 | ac_x_includes=$ac_dir | 9734 | ac_x_includes=$ac_dir |
| @@ -7144,6 +9736,7 @@ else | |||
| 7144 | fi | 9736 | fi |
| 7145 | done | 9737 | done |
| 7146 | fi | 9738 | fi |
| 9739 | |||
| 7147 | rm -f conftest.err conftest.$ac_ext | 9740 | rm -f conftest.err conftest.$ac_ext |
| 7148 | fi # $ac_x_includes = no | 9741 | fi # $ac_x_includes = no |
| 7149 | 9742 | ||
| @@ -7153,7 +9746,11 @@ if test "$ac_x_libraries" = no; then | |||
| 7153 | # Don't add to $LIBS permanently. | 9746 | # Don't add to $LIBS permanently. |
| 7154 | ac_save_LIBS=$LIBS | 9747 | ac_save_LIBS=$LIBS |
| 7155 | LIBS="-lX11 $LIBS" | 9748 | LIBS="-lX11 $LIBS" |
| 7156 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9749 | cat >conftest.$ac_ext <<_ACEOF |
| 9750 | /* confdefs.h. */ | ||
| 9751 | _ACEOF | ||
| 9752 | cat confdefs.h >>conftest.$ac_ext | ||
| 9753 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7157 | /* end confdefs.h. */ | 9754 | /* end confdefs.h. */ |
| 7158 | #include <X11/Xlib.h> | 9755 | #include <X11/Xlib.h> |
| 7159 | int | 9756 | int |
| @@ -7164,12 +9761,35 @@ XrmInitialize () | |||
| 7164 | return 0; | 9761 | return 0; |
| 7165 | } | 9762 | } |
| 7166 | _ACEOF | 9763 | _ACEOF |
| 7167 | if ac_fn_c_try_link "$LINENO"; then : | 9764 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9765 | if { (ac_try="$ac_link" | ||
| 9766 | case "(($ac_try" in | ||
| 9767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9768 | *) ac_try_echo=$ac_try;; | ||
| 9769 | esac | ||
| 9770 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9771 | $as_echo "$ac_try_echo") >&5 | ||
| 9772 | (eval "$ac_link") 2>conftest.er1 | ||
| 9773 | ac_status=$? | ||
| 9774 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9775 | rm -f conftest.er1 | ||
| 9776 | cat conftest.err >&5 | ||
| 9777 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9778 | (exit $ac_status); } && { | ||
| 9779 | test -z "$ac_c_werror_flag" || | ||
| 9780 | test ! -s conftest.err | ||
| 9781 | } && test -s conftest$ac_exeext && { | ||
| 9782 | test "$cross_compiling" = yes || | ||
| 9783 | $as_test_x conftest$ac_exeext | ||
| 9784 | }; then | ||
| 7168 | LIBS=$ac_save_LIBS | 9785 | LIBS=$ac_save_LIBS |
| 7169 | # We can link X programs with no special library path. | 9786 | # We can link X programs with no special library path. |
| 7170 | ac_x_libraries= | 9787 | ac_x_libraries= |
| 7171 | else | 9788 | else |
| 7172 | LIBS=$ac_save_LIBS | 9789 | $as_echo "$as_me: failed program was:" >&5 |
| 9790 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9791 | |||
| 9792 | LIBS=$ac_save_LIBS | ||
| 7173 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9793 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 7174 | do | 9794 | do |
| 7175 | # Don't even attempt the hair of trying to link an X program! | 9795 | # Don't even attempt the hair of trying to link an X program! |
| @@ -7181,8 +9801,10 @@ do | |||
| 7181 | done | 9801 | done |
| 7182 | done | 9802 | done |
| 7183 | fi | 9803 | fi |
| 7184 | rm -f core conftest.err conftest.$ac_objext \ | 9804 | |
| 7185 | conftest$ac_exeext conftest.$ac_ext | 9805 | rm -rf conftest.dSYM |
| 9806 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9807 | conftest$ac_exeext conftest.$ac_ext | ||
| 7186 | fi # $ac_x_libraries = no | 9808 | fi # $ac_x_libraries = no |
| 7187 | 9809 | ||
| 7188 | case $ac_x_includes,$ac_x_libraries in #( | 9810 | case $ac_x_includes,$ac_x_libraries in #( |
| @@ -7203,7 +9825,7 @@ fi | |||
| 7203 | fi # $with_x != no | 9825 | fi # $with_x != no |
| 7204 | 9826 | ||
| 7205 | if test "$have_x" != yes; then | 9827 | if test "$have_x" != yes; then |
| 7206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 | 9828 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
| 7207 | $as_echo "$have_x" >&6; } | 9829 | $as_echo "$have_x" >&6; } |
| 7208 | no_x=yes | 9830 | no_x=yes |
| 7209 | else | 9831 | else |
| @@ -7214,7 +9836,7 @@ else | |||
| 7214 | ac_cv_have_x="have_x=yes\ | 9836 | ac_cv_have_x="have_x=yes\ |
| 7215 | ac_x_includes='$x_includes'\ | 9837 | ac_x_includes='$x_includes'\ |
| 7216 | ac_x_libraries='$x_libraries'" | 9838 | ac_x_libraries='$x_libraries'" |
| 7217 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 | 9839 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
| 7218 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9840 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 7219 | fi | 9841 | fi |
| 7220 | 9842 | ||
| @@ -7316,17 +9938,150 @@ if test "${with_ns}" != no; then | |||
| 7316 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9938 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
| 7317 | LIB_STANDARD= | 9939 | LIB_STANDARD= |
| 7318 | fi | 9940 | fi |
| 7319 | ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 9941 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then |
| 7320 | if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9942 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 |
| 9943 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9944 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9945 | $as_echo_n "(cached) " >&6 | ||
| 9946 | fi | ||
| 9947 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9948 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9949 | else | ||
| 9950 | # Is the header compilable? | ||
| 9951 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | ||
| 9952 | $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | ||
| 9953 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9954 | /* confdefs.h. */ | ||
| 9955 | _ACEOF | ||
| 9956 | cat confdefs.h >>conftest.$ac_ext | ||
| 9957 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9958 | /* end confdefs.h. */ | ||
| 9959 | $ac_includes_default | ||
| 9960 | #include <AppKit/AppKit.h> | ||
| 9961 | _ACEOF | ||
| 9962 | rm -f conftest.$ac_objext | ||
| 9963 | if { (ac_try="$ac_compile" | ||
| 9964 | case "(($ac_try" in | ||
| 9965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9966 | *) ac_try_echo=$ac_try;; | ||
| 9967 | esac | ||
| 9968 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9969 | $as_echo "$ac_try_echo") >&5 | ||
| 9970 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9971 | ac_status=$? | ||
| 9972 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9973 | rm -f conftest.er1 | ||
| 9974 | cat conftest.err >&5 | ||
| 9975 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9976 | (exit $ac_status); } && { | ||
| 9977 | test -z "$ac_c_werror_flag" || | ||
| 9978 | test ! -s conftest.err | ||
| 9979 | } && test -s conftest.$ac_objext; then | ||
| 9980 | ac_header_compiler=yes | ||
| 9981 | else | ||
| 9982 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9983 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9984 | |||
| 9985 | ac_header_compiler=no | ||
| 9986 | fi | ||
| 9987 | |||
| 9988 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9989 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 9990 | $as_echo "$ac_header_compiler" >&6; } | ||
| 9991 | |||
| 9992 | # Is the header present? | ||
| 9993 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | ||
| 9994 | $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | ||
| 9995 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9996 | /* confdefs.h. */ | ||
| 9997 | _ACEOF | ||
| 9998 | cat confdefs.h >>conftest.$ac_ext | ||
| 9999 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10000 | /* end confdefs.h. */ | ||
| 10001 | #include <AppKit/AppKit.h> | ||
| 10002 | _ACEOF | ||
| 10003 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 10004 | case "(($ac_try" in | ||
| 10005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10006 | *) ac_try_echo=$ac_try;; | ||
| 10007 | esac | ||
| 10008 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10009 | $as_echo "$ac_try_echo") >&5 | ||
| 10010 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10011 | ac_status=$? | ||
| 10012 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10013 | rm -f conftest.er1 | ||
| 10014 | cat conftest.err >&5 | ||
| 10015 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10016 | (exit $ac_status); } >/dev/null && { | ||
| 10017 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 10018 | test ! -s conftest.err | ||
| 10019 | }; then | ||
| 10020 | ac_header_preproc=yes | ||
| 10021 | else | ||
| 10022 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10023 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10024 | |||
| 10025 | ac_header_preproc=no | ||
| 10026 | fi | ||
| 10027 | |||
| 10028 | rm -f conftest.err conftest.$ac_ext | ||
| 10029 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 10030 | $as_echo "$ac_header_preproc" >&6; } | ||
| 10031 | |||
| 10032 | # So? What about this header? | ||
| 10033 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 10034 | yes:no: ) | ||
| 10035 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 10036 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 10037 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | ||
| 10038 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | ||
| 10039 | ac_header_preproc=yes | ||
| 10040 | ;; | ||
| 10041 | no:yes:* ) | ||
| 10042 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | ||
| 10043 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | ||
| 10044 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | ||
| 10045 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | ||
| 10046 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | ||
| 10047 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | ||
| 10048 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 10049 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 10050 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | ||
| 10051 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | ||
| 10052 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | ||
| 10053 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | ||
| 10054 | |||
| 10055 | ;; | ||
| 10056 | esac | ||
| 10057 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | ||
| 10058 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 10059 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 10060 | $as_echo_n "(cached) " >&6 | ||
| 10061 | else | ||
| 10062 | ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | ||
| 10063 | fi | ||
| 10064 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 10065 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 10066 | |||
| 10067 | fi | ||
| 10068 | if test $ac_cv_header_AppKit_AppKit_h = yes; then | ||
| 7321 | HAVE_NS=yes | 10069 | HAVE_NS=yes |
| 7322 | else | 10070 | else |
| 7323 | as_fn_error "\`--with-ns' was specified, but the include | 10071 | { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include |
| 7324 | files are missing or cannot be compiled." "$LINENO" 5 | 10072 | files are missing or cannot be compiled." >&5 |
| 10073 | $as_echo "$as_me: error: \`--with-ns' was specified, but the include | ||
| 10074 | files are missing or cannot be compiled." >&2;} | ||
| 10075 | { (exit 1); exit 1; }; } | ||
| 7325 | fi | 10076 | fi |
| 7326 | 10077 | ||
| 7327 | 10078 | ||
| 7328 | NS_HAVE_NSINTEGER=yes | 10079 | NS_HAVE_NSINTEGER=yes |
| 7329 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10080 | cat >conftest.$ac_ext <<_ACEOF |
| 10081 | /* confdefs.h. */ | ||
| 10082 | _ACEOF | ||
| 10083 | cat confdefs.h >>conftest.$ac_ext | ||
| 10084 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7330 | /* end confdefs.h. */ | 10085 | /* end confdefs.h. */ |
| 7331 | #include <Foundation/NSObjCRuntime.h> | 10086 | #include <Foundation/NSObjCRuntime.h> |
| 7332 | int | 10087 | int |
| @@ -7337,11 +10092,32 @@ NSInteger i; | |||
| 7337 | return 0; | 10092 | return 0; |
| 7338 | } | 10093 | } |
| 7339 | _ACEOF | 10094 | _ACEOF |
| 7340 | if ac_fn_c_try_compile "$LINENO"; then : | 10095 | rm -f conftest.$ac_objext |
| 10096 | if { (ac_try="$ac_compile" | ||
| 10097 | case "(($ac_try" in | ||
| 10098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10099 | *) ac_try_echo=$ac_try;; | ||
| 10100 | esac | ||
| 10101 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10102 | $as_echo "$ac_try_echo") >&5 | ||
| 10103 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10104 | ac_status=$? | ||
| 10105 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10106 | rm -f conftest.er1 | ||
| 10107 | cat conftest.err >&5 | ||
| 10108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10109 | (exit $ac_status); } && { | ||
| 10110 | test -z "$ac_c_werror_flag" || | ||
| 10111 | test ! -s conftest.err | ||
| 10112 | } && test -s conftest.$ac_objext; then | ||
| 7341 | ns_have_nsinteger=yes | 10113 | ns_have_nsinteger=yes |
| 7342 | else | 10114 | else |
| 7343 | ns_have_nsinteger=no | 10115 | $as_echo "$as_me: failed program was:" >&5 |
| 10116 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10117 | |||
| 10118 | ns_have_nsinteger=no | ||
| 7344 | fi | 10119 | fi |
| 10120 | |||
| 7345 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10121 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7346 | if test $ns_have_nsinteger = no; then | 10122 | if test $ns_have_nsinteger = no; then |
| 7347 | NS_HAVE_NSINTEGER=no | 10123 | NS_HAVE_NSINTEGER=no |
| @@ -7391,9 +10167,9 @@ esac | |||
| 7391 | if test "$window_system" = none && test "X$with_x" != "Xno"; then | 10167 | if test "$window_system" = none && test "X$with_x" != "Xno"; then |
| 7392 | # Extract the first word of "X", so it can be a program name with args. | 10168 | # Extract the first word of "X", so it can be a program name with args. |
| 7393 | set dummy X; ac_word=$2 | 10169 | set dummy X; ac_word=$2 |
| 7394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 10170 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 7395 | $as_echo_n "checking for $ac_word... " >&6; } | 10171 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7396 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 10172 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then |
| 7397 | $as_echo_n "(cached) " >&6 | 10173 | $as_echo_n "(cached) " >&6 |
| 7398 | else | 10174 | else |
| 7399 | if test -n "$HAVE_XSERVER"; then | 10175 | if test -n "$HAVE_XSERVER"; then |
| @@ -7404,14 +10180,14 @@ for as_dir in $PATH | |||
| 7404 | do | 10180 | do |
| 7405 | IFS=$as_save_IFS | 10181 | IFS=$as_save_IFS |
| 7406 | test -z "$as_dir" && as_dir=. | 10182 | test -z "$as_dir" && as_dir=. |
| 7407 | for ac_exec_ext in '' $ac_executable_extensions; do | 10183 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7408 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10184 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7409 | ac_cv_prog_HAVE_XSERVER="true" | 10185 | ac_cv_prog_HAVE_XSERVER="true" |
| 7410 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10186 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7411 | break 2 | 10187 | break 2 |
| 7412 | fi | 10188 | fi |
| 7413 | done | 10189 | done |
| 7414 | done | 10190 | done |
| 7415 | IFS=$as_save_IFS | 10191 | IFS=$as_save_IFS |
| 7416 | 10192 | ||
| 7417 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 10193 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
| @@ -7419,10 +10195,10 @@ fi | |||
| 7419 | fi | 10195 | fi |
| 7420 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 10196 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
| 7421 | if test -n "$HAVE_XSERVER"; then | 10197 | if test -n "$HAVE_XSERVER"; then |
| 7422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 | 10198 | { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 |
| 7423 | $as_echo "$HAVE_XSERVER" >&6; } | 10199 | $as_echo "$HAVE_XSERVER" >&6; } |
| 7424 | else | 10200 | else |
| 7425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10201 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7426 | $as_echo "no" >&6; } | 10202 | $as_echo "no" >&6; } |
| 7427 | fi | 10203 | fi |
| 7428 | 10204 | ||
| @@ -7430,14 +10206,23 @@ fi | |||
| 7430 | if test "$HAVE_XSERVER" = true || | 10206 | if test "$HAVE_XSERVER" = true || |
| 7431 | test -n "$DISPLAY" || | 10207 | test -n "$DISPLAY" || |
| 7432 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 10208 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
| 7433 | as_fn_error "You seem to be running X, but no X development libraries | 10209 | { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries |
| 10210 | were found. You should install the relevant development files for X | ||
| 10211 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | ||
| 10212 | sure you have development files for image handling, i.e. | ||
| 10213 | tiff, gif, jpeg, png and xpm. | ||
| 10214 | If you are sure you want Emacs compiled without X window support, pass | ||
| 10215 | --without-x | ||
| 10216 | to configure." >&5 | ||
| 10217 | $as_echo "$as_me: error: You seem to be running X, but no X development libraries | ||
| 7434 | were found. You should install the relevant development files for X | 10218 | were found. You should install the relevant development files for X |
| 7435 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 10219 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
| 7436 | sure you have development files for image handling, i.e. | 10220 | sure you have development files for image handling, i.e. |
| 7437 | tiff, gif, jpeg, png and xpm. | 10221 | tiff, gif, jpeg, png and xpm. |
| 7438 | If you are sure you want Emacs compiled without X window support, pass | 10222 | If you are sure you want Emacs compiled without X window support, pass |
| 7439 | --without-x | 10223 | --without-x |
| 7440 | to configure." "$LINENO" 5 | 10224 | to configure." >&2;} |
| 10225 | { (exit 1); exit 1; }; } | ||
| 7441 | fi | 10226 | fi |
| 7442 | fi | 10227 | fi |
| 7443 | 10228 | ||
| @@ -7451,26 +10236,198 @@ esac | |||
| 7451 | # Assume not, until told otherwise. | 10236 | # Assume not, until told otherwise. |
| 7452 | GNU_MALLOC=yes | 10237 | GNU_MALLOC=yes |
| 7453 | doug_lea_malloc=yes | 10238 | doug_lea_malloc=yes |
| 7454 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 10239 | { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
| 7455 | if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 10240 | $as_echo_n "checking for malloc_get_state... " >&6; } |
| 10241 | if test "${ac_cv_func_malloc_get_state+set}" = set; then | ||
| 10242 | $as_echo_n "(cached) " >&6 | ||
| 10243 | else | ||
| 10244 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10245 | /* confdefs.h. */ | ||
| 10246 | _ACEOF | ||
| 10247 | cat confdefs.h >>conftest.$ac_ext | ||
| 10248 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10249 | /* end confdefs.h. */ | ||
| 10250 | /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | ||
| 10251 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10252 | #define malloc_get_state innocuous_malloc_get_state | ||
| 7456 | 10253 | ||
| 10254 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10255 | which can conflict with char malloc_get_state (); below. | ||
| 10256 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10257 | <limits.h> exists even on freestanding compilers. */ | ||
| 10258 | |||
| 10259 | #ifdef __STDC__ | ||
| 10260 | # include <limits.h> | ||
| 10261 | #else | ||
| 10262 | # include <assert.h> | ||
| 10263 | #endif | ||
| 10264 | |||
| 10265 | #undef malloc_get_state | ||
| 10266 | |||
| 10267 | /* Override any GCC internal prototype to avoid an error. | ||
| 10268 | Use char because int might match the return type of a GCC | ||
| 10269 | builtin and then its argument prototype would still apply. */ | ||
| 10270 | #ifdef __cplusplus | ||
| 10271 | extern "C" | ||
| 10272 | #endif | ||
| 10273 | char malloc_get_state (); | ||
| 10274 | /* The GNU C library defines this for functions which it implements | ||
| 10275 | to always fail with ENOSYS. Some functions are actually named | ||
| 10276 | something starting with __ and the normal name is an alias. */ | ||
| 10277 | #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | ||
| 10278 | choke me | ||
| 10279 | #endif | ||
| 10280 | |||
| 10281 | int | ||
| 10282 | main () | ||
| 10283 | { | ||
| 10284 | return malloc_get_state (); | ||
| 10285 | ; | ||
| 10286 | return 0; | ||
| 10287 | } | ||
| 10288 | _ACEOF | ||
| 10289 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10290 | if { (ac_try="$ac_link" | ||
| 10291 | case "(($ac_try" in | ||
| 10292 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10293 | *) ac_try_echo=$ac_try;; | ||
| 10294 | esac | ||
| 10295 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10296 | $as_echo "$ac_try_echo") >&5 | ||
| 10297 | (eval "$ac_link") 2>conftest.er1 | ||
| 10298 | ac_status=$? | ||
| 10299 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10300 | rm -f conftest.er1 | ||
| 10301 | cat conftest.err >&5 | ||
| 10302 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10303 | (exit $ac_status); } && { | ||
| 10304 | test -z "$ac_c_werror_flag" || | ||
| 10305 | test ! -s conftest.err | ||
| 10306 | } && test -s conftest$ac_exeext && { | ||
| 10307 | test "$cross_compiling" = yes || | ||
| 10308 | $as_test_x conftest$ac_exeext | ||
| 10309 | }; then | ||
| 10310 | ac_cv_func_malloc_get_state=yes | ||
| 10311 | else | ||
| 10312 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10313 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10314 | |||
| 10315 | ac_cv_func_malloc_get_state=no | ||
| 10316 | fi | ||
| 10317 | |||
| 10318 | rm -rf conftest.dSYM | ||
| 10319 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10320 | conftest$ac_exeext conftest.$ac_ext | ||
| 10321 | fi | ||
| 10322 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | ||
| 10323 | $as_echo "$ac_cv_func_malloc_get_state" >&6; } | ||
| 10324 | if test $ac_cv_func_malloc_get_state = yes; then | ||
| 10325 | : | ||
| 7457 | else | 10326 | else |
| 7458 | doug_lea_malloc=no | 10327 | doug_lea_malloc=no |
| 7459 | fi | 10328 | fi |
| 7460 | 10329 | ||
| 7461 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 10330 | { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
| 7462 | if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 10331 | $as_echo_n "checking for malloc_set_state... " >&6; } |
| 10332 | if test "${ac_cv_func_malloc_set_state+set}" = set; then | ||
| 10333 | $as_echo_n "(cached) " >&6 | ||
| 10334 | else | ||
| 10335 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10336 | /* confdefs.h. */ | ||
| 10337 | _ACEOF | ||
| 10338 | cat confdefs.h >>conftest.$ac_ext | ||
| 10339 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10340 | /* end confdefs.h. */ | ||
| 10341 | /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | ||
| 10342 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10343 | #define malloc_set_state innocuous_malloc_set_state | ||
| 10344 | |||
| 10345 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10346 | which can conflict with char malloc_set_state (); below. | ||
| 10347 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10348 | <limits.h> exists even on freestanding compilers. */ | ||
| 10349 | |||
| 10350 | #ifdef __STDC__ | ||
| 10351 | # include <limits.h> | ||
| 10352 | #else | ||
| 10353 | # include <assert.h> | ||
| 10354 | #endif | ||
| 7463 | 10355 | ||
| 10356 | #undef malloc_set_state | ||
| 10357 | |||
| 10358 | /* Override any GCC internal prototype to avoid an error. | ||
| 10359 | Use char because int might match the return type of a GCC | ||
| 10360 | builtin and then its argument prototype would still apply. */ | ||
| 10361 | #ifdef __cplusplus | ||
| 10362 | extern "C" | ||
| 10363 | #endif | ||
| 10364 | char malloc_set_state (); | ||
| 10365 | /* The GNU C library defines this for functions which it implements | ||
| 10366 | to always fail with ENOSYS. Some functions are actually named | ||
| 10367 | something starting with __ and the normal name is an alias. */ | ||
| 10368 | #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | ||
| 10369 | choke me | ||
| 10370 | #endif | ||
| 10371 | |||
| 10372 | int | ||
| 10373 | main () | ||
| 10374 | { | ||
| 10375 | return malloc_set_state (); | ||
| 10376 | ; | ||
| 10377 | return 0; | ||
| 10378 | } | ||
| 10379 | _ACEOF | ||
| 10380 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10381 | if { (ac_try="$ac_link" | ||
| 10382 | case "(($ac_try" in | ||
| 10383 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10384 | *) ac_try_echo=$ac_try;; | ||
| 10385 | esac | ||
| 10386 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10387 | $as_echo "$ac_try_echo") >&5 | ||
| 10388 | (eval "$ac_link") 2>conftest.er1 | ||
| 10389 | ac_status=$? | ||
| 10390 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10391 | rm -f conftest.er1 | ||
| 10392 | cat conftest.err >&5 | ||
| 10393 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10394 | (exit $ac_status); } && { | ||
| 10395 | test -z "$ac_c_werror_flag" || | ||
| 10396 | test ! -s conftest.err | ||
| 10397 | } && test -s conftest$ac_exeext && { | ||
| 10398 | test "$cross_compiling" = yes || | ||
| 10399 | $as_test_x conftest$ac_exeext | ||
| 10400 | }; then | ||
| 10401 | ac_cv_func_malloc_set_state=yes | ||
| 10402 | else | ||
| 10403 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10404 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10405 | |||
| 10406 | ac_cv_func_malloc_set_state=no | ||
| 10407 | fi | ||
| 10408 | |||
| 10409 | rm -rf conftest.dSYM | ||
| 10410 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10411 | conftest$ac_exeext conftest.$ac_ext | ||
| 10412 | fi | ||
| 10413 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | ||
| 10414 | $as_echo "$ac_cv_func_malloc_set_state" >&6; } | ||
| 10415 | if test $ac_cv_func_malloc_set_state = yes; then | ||
| 10416 | : | ||
| 7464 | else | 10417 | else |
| 7465 | doug_lea_malloc=no | 10418 | doug_lea_malloc=no |
| 7466 | fi | 10419 | fi |
| 7467 | 10420 | ||
| 7468 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 10421 | { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
| 7469 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 10422 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
| 7470 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 10423 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
| 7471 | $as_echo_n "(cached) " >&6 | 10424 | $as_echo_n "(cached) " >&6 |
| 7472 | else | 10425 | else |
| 7473 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10426 | cat >conftest.$ac_ext <<_ACEOF |
| 10427 | /* confdefs.h. */ | ||
| 10428 | _ACEOF | ||
| 10429 | cat confdefs.h >>conftest.$ac_ext | ||
| 10430 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7474 | /* end confdefs.h. */ | 10431 | /* end confdefs.h. */ |
| 7475 | extern void (* __after_morecore_hook)(); | 10432 | extern void (* __after_morecore_hook)(); |
| 7476 | int | 10433 | int |
| @@ -7481,15 +10438,40 @@ __after_morecore_hook = 0 | |||
| 7481 | return 0; | 10438 | return 0; |
| 7482 | } | 10439 | } |
| 7483 | _ACEOF | 10440 | _ACEOF |
| 7484 | if ac_fn_c_try_link "$LINENO"; then : | 10441 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10442 | if { (ac_try="$ac_link" | ||
| 10443 | case "(($ac_try" in | ||
| 10444 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10445 | *) ac_try_echo=$ac_try;; | ||
| 10446 | esac | ||
| 10447 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10448 | $as_echo "$ac_try_echo") >&5 | ||
| 10449 | (eval "$ac_link") 2>conftest.er1 | ||
| 10450 | ac_status=$? | ||
| 10451 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10452 | rm -f conftest.er1 | ||
| 10453 | cat conftest.err >&5 | ||
| 10454 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10455 | (exit $ac_status); } && { | ||
| 10456 | test -z "$ac_c_werror_flag" || | ||
| 10457 | test ! -s conftest.err | ||
| 10458 | } && test -s conftest$ac_exeext && { | ||
| 10459 | test "$cross_compiling" = yes || | ||
| 10460 | $as_test_x conftest$ac_exeext | ||
| 10461 | }; then | ||
| 7485 | emacs_cv_var___after_morecore_hook=yes | 10462 | emacs_cv_var___after_morecore_hook=yes |
| 7486 | else | 10463 | else |
| 7487 | emacs_cv_var___after_morecore_hook=no | 10464 | $as_echo "$as_me: failed program was:" >&5 |
| 10465 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10466 | |||
| 10467 | emacs_cv_var___after_morecore_hook=no | ||
| 7488 | fi | 10468 | fi |
| 7489 | rm -f core conftest.err conftest.$ac_objext \ | 10469 | |
| 7490 | conftest$ac_exeext conftest.$ac_ext | 10470 | rm -rf conftest.dSYM |
| 10471 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10472 | conftest$ac_exeext conftest.$ac_ext | ||
| 7491 | fi | 10473 | fi |
| 7492 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 | 10474 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
| 7493 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 10475 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
| 7494 | if test $emacs_cv_var___after_morecore_hook = no; then | 10476 | if test $emacs_cv_var___after_morecore_hook = no; then |
| 7495 | doug_lea_malloc=no | 10477 | doug_lea_malloc=no |
| @@ -7505,7 +10487,9 @@ if test "$doug_lea_malloc" = "yes" ; then | |||
| 7505 | (Using Doug Lea's new malloc from the GNU C Library.)" | 10487 | (Using Doug Lea's new malloc from the GNU C Library.)" |
| 7506 | fi | 10488 | fi |
| 7507 | 10489 | ||
| 7508 | $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h | 10490 | cat >>confdefs.h <<\_ACEOF |
| 10491 | #define DOUG_LEA_MALLOC 1 | ||
| 10492 | _ACEOF | ||
| 7509 | 10493 | ||
| 7510 | fi | 10494 | fi |
| 7511 | 10495 | ||
| @@ -7516,14 +10500,142 @@ fi | |||
| 7516 | 10500 | ||
| 7517 | 10501 | ||
| 7518 | 10502 | ||
| 10503 | for ac_header in stdlib.h unistd.h | ||
| 10504 | do | ||
| 10505 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 10506 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10507 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10508 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10509 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10510 | $as_echo_n "(cached) " >&6 | ||
| 10511 | fi | ||
| 10512 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10513 | $as_echo "$as_val"'` | ||
| 10514 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10515 | $as_echo "$ac_res" >&6; } | ||
| 10516 | else | ||
| 10517 | # Is the header compilable? | ||
| 10518 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 10519 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 10520 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10521 | /* confdefs.h. */ | ||
| 10522 | _ACEOF | ||
| 10523 | cat confdefs.h >>conftest.$ac_ext | ||
| 10524 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10525 | /* end confdefs.h. */ | ||
| 10526 | $ac_includes_default | ||
| 10527 | #include <$ac_header> | ||
| 10528 | _ACEOF | ||
| 10529 | rm -f conftest.$ac_objext | ||
| 10530 | if { (ac_try="$ac_compile" | ||
| 10531 | case "(($ac_try" in | ||
| 10532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10533 | *) ac_try_echo=$ac_try;; | ||
| 10534 | esac | ||
| 10535 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10536 | $as_echo "$ac_try_echo") >&5 | ||
| 10537 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10538 | ac_status=$? | ||
| 10539 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10540 | rm -f conftest.er1 | ||
| 10541 | cat conftest.err >&5 | ||
| 10542 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10543 | (exit $ac_status); } && { | ||
| 10544 | test -z "$ac_c_werror_flag" || | ||
| 10545 | test ! -s conftest.err | ||
| 10546 | } && test -s conftest.$ac_objext; then | ||
| 10547 | ac_header_compiler=yes | ||
| 10548 | else | ||
| 10549 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10550 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10551 | |||
| 10552 | ac_header_compiler=no | ||
| 10553 | fi | ||
| 10554 | |||
| 10555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10556 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 10557 | $as_echo "$ac_header_compiler" >&6; } | ||
| 10558 | |||
| 10559 | # Is the header present? | ||
| 10560 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 10561 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 10562 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10563 | /* confdefs.h. */ | ||
| 10564 | _ACEOF | ||
| 10565 | cat confdefs.h >>conftest.$ac_ext | ||
| 10566 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10567 | /* end confdefs.h. */ | ||
| 10568 | #include <$ac_header> | ||
| 10569 | _ACEOF | ||
| 10570 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 10571 | case "(($ac_try" in | ||
| 10572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10573 | *) ac_try_echo=$ac_try;; | ||
| 10574 | esac | ||
| 10575 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10576 | $as_echo "$ac_try_echo") >&5 | ||
| 10577 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10578 | ac_status=$? | ||
| 10579 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10580 | rm -f conftest.er1 | ||
| 10581 | cat conftest.err >&5 | ||
| 10582 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10583 | (exit $ac_status); } >/dev/null && { | ||
| 10584 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 10585 | test ! -s conftest.err | ||
| 10586 | }; then | ||
| 10587 | ac_header_preproc=yes | ||
| 10588 | else | ||
| 10589 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10590 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10591 | |||
| 10592 | ac_header_preproc=no | ||
| 10593 | fi | ||
| 10594 | |||
| 10595 | rm -f conftest.err conftest.$ac_ext | ||
| 10596 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 10597 | $as_echo "$ac_header_preproc" >&6; } | ||
| 7519 | 10598 | ||
| 7520 | for ac_header in $ac_header_list | 10599 | # So? What about this header? |
| 7521 | do : | 10600 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7522 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10601 | yes:no: ) |
| 7523 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 10602 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 7524 | " | 10603 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 7525 | eval as_val=\$$as_ac_Header | 10604 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| 7526 | if test "x$as_val" = x""yes; then : | 10605 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| 10606 | ac_header_preproc=yes | ||
| 10607 | ;; | ||
| 10608 | no:yes:* ) | ||
| 10609 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 10610 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 10611 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 10612 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 10613 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 10614 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 10615 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 10616 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 10617 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 10618 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 10619 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 10620 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 10621 | |||
| 10622 | ;; | ||
| 10623 | esac | ||
| 10624 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10625 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10626 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10627 | $as_echo_n "(cached) " >&6 | ||
| 10628 | else | ||
| 10629 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 10630 | fi | ||
| 10631 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10632 | $as_echo "$as_val"'` | ||
| 10633 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10634 | $as_echo "$ac_res" >&6; } | ||
| 10635 | |||
| 10636 | fi | ||
| 10637 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 10638 | $as_echo "$as_val"'` = yes; then | ||
| 7527 | cat >>confdefs.h <<_ACEOF | 10639 | cat >>confdefs.h <<_ACEOF |
| 7528 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10640 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7529 | _ACEOF | 10641 | _ACEOF |
| @@ -7533,32 +10645,118 @@ fi | |||
| 7533 | done | 10645 | done |
| 7534 | 10646 | ||
| 7535 | 10647 | ||
| 10648 | for ac_func in getpagesize | ||
| 10649 | do | ||
| 10650 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 10651 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 10652 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 10653 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10654 | $as_echo_n "(cached) " >&6 | ||
| 10655 | else | ||
| 10656 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10657 | /* confdefs.h. */ | ||
| 10658 | _ACEOF | ||
| 10659 | cat confdefs.h >>conftest.$ac_ext | ||
| 10660 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10661 | /* end confdefs.h. */ | ||
| 10662 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 10663 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10664 | #define $ac_func innocuous_$ac_func | ||
| 7536 | 10665 | ||
| 10666 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10667 | which can conflict with char $ac_func (); below. | ||
| 10668 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10669 | <limits.h> exists even on freestanding compilers. */ | ||
| 7537 | 10670 | ||
| 10671 | #ifdef __STDC__ | ||
| 10672 | # include <limits.h> | ||
| 10673 | #else | ||
| 10674 | # include <assert.h> | ||
| 10675 | #endif | ||
| 7538 | 10676 | ||
| 10677 | #undef $ac_func | ||
| 7539 | 10678 | ||
| 10679 | /* Override any GCC internal prototype to avoid an error. | ||
| 10680 | Use char because int might match the return type of a GCC | ||
| 10681 | builtin and then its argument prototype would still apply. */ | ||
| 10682 | #ifdef __cplusplus | ||
| 10683 | extern "C" | ||
| 10684 | #endif | ||
| 10685 | char $ac_func (); | ||
| 10686 | /* The GNU C library defines this for functions which it implements | ||
| 10687 | to always fail with ENOSYS. Some functions are actually named | ||
| 10688 | something starting with __ and the normal name is an alias. */ | ||
| 10689 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 10690 | choke me | ||
| 10691 | #endif | ||
| 7540 | 10692 | ||
| 10693 | int | ||
| 10694 | main () | ||
| 10695 | { | ||
| 10696 | return $ac_func (); | ||
| 10697 | ; | ||
| 10698 | return 0; | ||
| 10699 | } | ||
| 10700 | _ACEOF | ||
| 10701 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10702 | if { (ac_try="$ac_link" | ||
| 10703 | case "(($ac_try" in | ||
| 10704 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10705 | *) ac_try_echo=$ac_try;; | ||
| 10706 | esac | ||
| 10707 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10708 | $as_echo "$ac_try_echo") >&5 | ||
| 10709 | (eval "$ac_link") 2>conftest.er1 | ||
| 10710 | ac_status=$? | ||
| 10711 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10712 | rm -f conftest.er1 | ||
| 10713 | cat conftest.err >&5 | ||
| 10714 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10715 | (exit $ac_status); } && { | ||
| 10716 | test -z "$ac_c_werror_flag" || | ||
| 10717 | test ! -s conftest.err | ||
| 10718 | } && test -s conftest$ac_exeext && { | ||
| 10719 | test "$cross_compiling" = yes || | ||
| 10720 | $as_test_x conftest$ac_exeext | ||
| 10721 | }; then | ||
| 10722 | eval "$as_ac_var=yes" | ||
| 10723 | else | ||
| 10724 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10725 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7541 | 10726 | ||
| 7542 | for ac_func in getpagesize | 10727 | eval "$as_ac_var=no" |
| 7543 | do : | 10728 | fi |
| 7544 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 10729 | |
| 7545 | if test "x$ac_cv_func_getpagesize" = x""yes; then : | 10730 | rm -rf conftest.dSYM |
| 10731 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10732 | conftest$ac_exeext conftest.$ac_ext | ||
| 10733 | fi | ||
| 10734 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 10735 | $as_echo "$as_val"'` | ||
| 10736 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10737 | $as_echo "$ac_res" >&6; } | ||
| 10738 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 10739 | $as_echo "$as_val"'` = yes; then | ||
| 7546 | cat >>confdefs.h <<_ACEOF | 10740 | cat >>confdefs.h <<_ACEOF |
| 7547 | #define HAVE_GETPAGESIZE 1 | 10741 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7548 | _ACEOF | 10742 | _ACEOF |
| 7549 | 10743 | ||
| 7550 | fi | 10744 | fi |
| 7551 | done | 10745 | done |
| 7552 | 10746 | ||
| 7553 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 10747 | { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 7554 | $as_echo_n "checking for working mmap... " >&6; } | 10748 | $as_echo_n "checking for working mmap... " >&6; } |
| 7555 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 10749 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 7556 | $as_echo_n "(cached) " >&6 | 10750 | $as_echo_n "(cached) " >&6 |
| 7557 | else | 10751 | else |
| 7558 | if test "$cross_compiling" = yes; then : | 10752 | if test "$cross_compiling" = yes; then |
| 7559 | ac_cv_func_mmap_fixed_mapped=no | 10753 | ac_cv_func_mmap_fixed_mapped=no |
| 7560 | else | 10754 | else |
| 7561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10755 | cat >conftest.$ac_ext <<_ACEOF |
| 10756 | /* confdefs.h. */ | ||
| 10757 | _ACEOF | ||
| 10758 | cat confdefs.h >>conftest.$ac_ext | ||
| 10759 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7562 | /* end confdefs.h. */ | 10760 | /* end confdefs.h. */ |
| 7563 | $ac_includes_default | 10761 | $ac_includes_default |
| 7564 | /* malloc might have been renamed as rpl_malloc. */ | 10762 | /* malloc might have been renamed as rpl_malloc. */ |
| @@ -7595,6 +10793,11 @@ char *malloc (); | |||
| 7595 | 10793 | ||
| 7596 | /* This mess was copied from the GNU getpagesize.h. */ | 10794 | /* This mess was copied from the GNU getpagesize.h. */ |
| 7597 | #ifndef HAVE_GETPAGESIZE | 10795 | #ifndef HAVE_GETPAGESIZE |
| 10796 | /* Assume that all systems that can run configure have sys/param.h. */ | ||
| 10797 | # ifndef HAVE_SYS_PARAM_H | ||
| 10798 | # define HAVE_SYS_PARAM_H 1 | ||
| 10799 | # endif | ||
| 10800 | |||
| 7598 | # ifdef _SC_PAGESIZE | 10801 | # ifdef _SC_PAGESIZE |
| 7599 | # define getpagesize() sysconf(_SC_PAGESIZE) | 10802 | # define getpagesize() sysconf(_SC_PAGESIZE) |
| 7600 | # else /* no _SC_PAGESIZE */ | 10803 | # else /* no _SC_PAGESIZE */ |
| @@ -7630,7 +10833,7 @@ main () | |||
| 7630 | { | 10833 | { |
| 7631 | char *data, *data2, *data3; | 10834 | char *data, *data2, *data3; |
| 7632 | int i, pagesize; | 10835 | int i, pagesize; |
| 7633 | int fd, fd2; | 10836 | int fd; |
| 7634 | 10837 | ||
| 7635 | pagesize = getpagesize (); | 10838 | pagesize = getpagesize (); |
| 7636 | 10839 | ||
| @@ -7643,41 +10846,27 @@ main () | |||
| 7643 | umask (0); | 10846 | umask (0); |
| 7644 | fd = creat ("conftest.mmap", 0600); | 10847 | fd = creat ("conftest.mmap", 0600); |
| 7645 | if (fd < 0) | 10848 | if (fd < 0) |
| 7646 | return 2; | 10849 | return 1; |
| 7647 | if (write (fd, data, pagesize) != pagesize) | 10850 | if (write (fd, data, pagesize) != pagesize) |
| 7648 | return 3; | 10851 | return 1; |
| 7649 | close (fd); | 10852 | close (fd); |
| 7650 | 10853 | ||
| 7651 | /* Next, check that the tail of a page is zero-filled. File must have | ||
| 7652 | non-zero length, otherwise we risk SIGBUS for entire page. */ | ||
| 7653 | fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | ||
| 7654 | if (fd2 < 0) | ||
| 7655 | return 4; | ||
| 7656 | data2 = ""; | ||
| 7657 | if (write (fd2, data2, 1) != 1) | ||
| 7658 | return 5; | ||
| 7659 | data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | ||
| 7660 | if (data2 == MAP_FAILED) | ||
| 7661 | return 6; | ||
| 7662 | for (i = 0; i < pagesize; ++i) | ||
| 7663 | if (*(data2 + i)) | ||
| 7664 | return 7; | ||
| 7665 | close (fd2); | ||
| 7666 | if (munmap (data2, pagesize)) | ||
| 7667 | return 8; | ||
| 7668 | |||
| 7669 | /* Next, try to mmap the file at a fixed address which already has | 10854 | /* Next, try to mmap the file at a fixed address which already has |
| 7670 | something else allocated at it. If we can, also make sure that | 10855 | something else allocated at it. If we can, also make sure that |
| 7671 | we see the same garbage. */ | 10856 | we see the same garbage. */ |
| 7672 | fd = open ("conftest.mmap", O_RDWR); | 10857 | fd = open ("conftest.mmap", O_RDWR); |
| 7673 | if (fd < 0) | 10858 | if (fd < 0) |
| 7674 | return 9; | 10859 | return 1; |
| 10860 | data2 = (char *) malloc (2 * pagesize); | ||
| 10861 | if (!data2) | ||
| 10862 | return 1; | ||
| 10863 | data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 7675 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 10864 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 7676 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 10865 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 7677 | return 10; | 10866 | return 1; |
| 7678 | for (i = 0; i < pagesize; ++i) | 10867 | for (i = 0; i < pagesize; ++i) |
| 7679 | if (*(data + i) != *(data2 + i)) | 10868 | if (*(data + i) != *(data2 + i)) |
| 7680 | return 11; | 10869 | return 1; |
| 7681 | 10870 | ||
| 7682 | /* Finally, make sure that changes to the mapped area do not | 10871 | /* Finally, make sure that changes to the mapped area do not |
| 7683 | percolate back to the file as seen by read(). (This is a bug on | 10872 | percolate back to the file as seen by read(). (This is a bug on |
| @@ -7686,34 +10875,63 @@ main () | |||
| 7686 | *(data2 + i) = *(data2 + i) + 1; | 10875 | *(data2 + i) = *(data2 + i) + 1; |
| 7687 | data3 = (char *) malloc (pagesize); | 10876 | data3 = (char *) malloc (pagesize); |
| 7688 | if (!data3) | 10877 | if (!data3) |
| 7689 | return 12; | 10878 | return 1; |
| 7690 | if (read (fd, data3, pagesize) != pagesize) | 10879 | if (read (fd, data3, pagesize) != pagesize) |
| 7691 | return 13; | 10880 | return 1; |
| 7692 | for (i = 0; i < pagesize; ++i) | 10881 | for (i = 0; i < pagesize; ++i) |
| 7693 | if (*(data + i) != *(data3 + i)) | 10882 | if (*(data + i) != *(data3 + i)) |
| 7694 | return 14; | 10883 | return 1; |
| 7695 | close (fd); | 10884 | close (fd); |
| 7696 | return 0; | 10885 | return 0; |
| 7697 | } | 10886 | } |
| 7698 | _ACEOF | 10887 | _ACEOF |
| 7699 | if ac_fn_c_try_run "$LINENO"; then : | 10888 | rm -f conftest$ac_exeext |
| 10889 | if { (ac_try="$ac_link" | ||
| 10890 | case "(($ac_try" in | ||
| 10891 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10892 | *) ac_try_echo=$ac_try;; | ||
| 10893 | esac | ||
| 10894 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10895 | $as_echo "$ac_try_echo") >&5 | ||
| 10896 | (eval "$ac_link") 2>&5 | ||
| 10897 | ac_status=$? | ||
| 10898 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10899 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 10900 | { (case "(($ac_try" in | ||
| 10901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10902 | *) ac_try_echo=$ac_try;; | ||
| 10903 | esac | ||
| 10904 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10905 | $as_echo "$ac_try_echo") >&5 | ||
| 10906 | (eval "$ac_try") 2>&5 | ||
| 10907 | ac_status=$? | ||
| 10908 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10909 | (exit $ac_status); }; }; then | ||
| 7700 | ac_cv_func_mmap_fixed_mapped=yes | 10910 | ac_cv_func_mmap_fixed_mapped=yes |
| 7701 | else | 10911 | else |
| 7702 | ac_cv_func_mmap_fixed_mapped=no | 10912 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 10913 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10914 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10915 | |||
| 10916 | ( exit $ac_status ) | ||
| 10917 | ac_cv_func_mmap_fixed_mapped=no | ||
| 7703 | fi | 10918 | fi |
| 7704 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 10919 | rm -rf conftest.dSYM |
| 7705 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 10920 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7706 | fi | 10921 | fi |
| 7707 | 10922 | ||
| 10923 | |||
| 7708 | fi | 10924 | fi |
| 7709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10925 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 7710 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 10926 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 7711 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10927 | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 7712 | 10928 | ||
| 7713 | $as_echo "#define HAVE_MMAP 1" >>confdefs.h | 10929 | cat >>confdefs.h <<\_ACEOF |
| 10930 | #define HAVE_MMAP 1 | ||
| 10931 | _ACEOF | ||
| 7714 | 10932 | ||
| 7715 | fi | 10933 | fi |
| 7716 | rm -f conftest.mmap conftest.txt | 10934 | rm -f conftest.mmap |
| 7717 | 10935 | ||
| 7718 | if test $use_mmap_for_buffers = yes; then | 10936 | if test $use_mmap_for_buffers = yes; then |
| 7719 | REL_ALLOC=no | 10937 | REL_ALLOC=no |
| @@ -7721,14 +10939,19 @@ fi | |||
| 7721 | 10939 | ||
| 7722 | LIBS="$libsrc_libs $LIBS" | 10940 | LIBS="$libsrc_libs $LIBS" |
| 7723 | 10941 | ||
| 7724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 10942 | |
| 10943 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | ||
| 7725 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10944 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
| 7726 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 10945 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| 7727 | $as_echo_n "(cached) " >&6 | 10946 | $as_echo_n "(cached) " >&6 |
| 7728 | else | 10947 | else |
| 7729 | ac_check_lib_save_LIBS=$LIBS | 10948 | ac_check_lib_save_LIBS=$LIBS |
| 7730 | LIBS="-ldnet $LIBS" | 10949 | LIBS="-ldnet $LIBS" |
| 7731 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10950 | cat >conftest.$ac_ext <<_ACEOF |
| 10951 | /* confdefs.h. */ | ||
| 10952 | _ACEOF | ||
| 10953 | cat confdefs.h >>conftest.$ac_ext | ||
| 10954 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7732 | /* end confdefs.h. */ | 10955 | /* end confdefs.h. */ |
| 7733 | 10956 | ||
| 7734 | /* Override any GCC internal prototype to avoid an error. | 10957 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7746,18 +10969,43 @@ return dnet_ntoa (); | |||
| 7746 | return 0; | 10969 | return 0; |
| 7747 | } | 10970 | } |
| 7748 | _ACEOF | 10971 | _ACEOF |
| 7749 | if ac_fn_c_try_link "$LINENO"; then : | 10972 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10973 | if { (ac_try="$ac_link" | ||
| 10974 | case "(($ac_try" in | ||
| 10975 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10976 | *) ac_try_echo=$ac_try;; | ||
| 10977 | esac | ||
| 10978 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10979 | $as_echo "$ac_try_echo") >&5 | ||
| 10980 | (eval "$ac_link") 2>conftest.er1 | ||
| 10981 | ac_status=$? | ||
| 10982 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10983 | rm -f conftest.er1 | ||
| 10984 | cat conftest.err >&5 | ||
| 10985 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10986 | (exit $ac_status); } && { | ||
| 10987 | test -z "$ac_c_werror_flag" || | ||
| 10988 | test ! -s conftest.err | ||
| 10989 | } && test -s conftest$ac_exeext && { | ||
| 10990 | test "$cross_compiling" = yes || | ||
| 10991 | $as_test_x conftest$ac_exeext | ||
| 10992 | }; then | ||
| 7750 | ac_cv_lib_dnet_dnet_ntoa=yes | 10993 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 7751 | else | 10994 | else |
| 7752 | ac_cv_lib_dnet_dnet_ntoa=no | 10995 | $as_echo "$as_me: failed program was:" >&5 |
| 10996 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10997 | |||
| 10998 | ac_cv_lib_dnet_dnet_ntoa=no | ||
| 7753 | fi | 10999 | fi |
| 7754 | rm -f core conftest.err conftest.$ac_objext \ | 11000 | |
| 7755 | conftest$ac_exeext conftest.$ac_ext | 11001 | rm -rf conftest.dSYM |
| 11002 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11003 | conftest$ac_exeext conftest.$ac_ext | ||
| 7756 | LIBS=$ac_check_lib_save_LIBS | 11004 | LIBS=$ac_check_lib_save_LIBS |
| 7757 | fi | 11005 | fi |
| 7758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 11006 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 7759 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 11007 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 7760 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 11008 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
| 7761 | cat >>confdefs.h <<_ACEOF | 11009 | cat >>confdefs.h <<_ACEOF |
| 7762 | #define HAVE_LIBDNET 1 | 11010 | #define HAVE_LIBDNET 1 |
| 7763 | _ACEOF | 11011 | _ACEOF |
| @@ -7767,14 +11015,18 @@ _ACEOF | |||
| 7767 | fi | 11015 | fi |
| 7768 | 11016 | ||
| 7769 | 11017 | ||
| 7770 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 11018 | { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
| 7771 | $as_echo_n "checking for main in -lXbsd... " >&6; } | 11019 | $as_echo_n "checking for main in -lXbsd... " >&6; } |
| 7772 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 11020 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
| 7773 | $as_echo_n "(cached) " >&6 | 11021 | $as_echo_n "(cached) " >&6 |
| 7774 | else | 11022 | else |
| 7775 | ac_check_lib_save_LIBS=$LIBS | 11023 | ac_check_lib_save_LIBS=$LIBS |
| 7776 | LIBS="-lXbsd $LIBS" | 11024 | LIBS="-lXbsd $LIBS" |
| 7777 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11025 | cat >conftest.$ac_ext <<_ACEOF |
| 11026 | /* confdefs.h. */ | ||
| 11027 | _ACEOF | ||
| 11028 | cat confdefs.h >>conftest.$ac_ext | ||
| 11029 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7778 | /* end confdefs.h. */ | 11030 | /* end confdefs.h. */ |
| 7779 | 11031 | ||
| 7780 | 11032 | ||
| @@ -7786,30 +11038,60 @@ return main (); | |||
| 7786 | return 0; | 11038 | return 0; |
| 7787 | } | 11039 | } |
| 7788 | _ACEOF | 11040 | _ACEOF |
| 7789 | if ac_fn_c_try_link "$LINENO"; then : | 11041 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11042 | if { (ac_try="$ac_link" | ||
| 11043 | case "(($ac_try" in | ||
| 11044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11045 | *) ac_try_echo=$ac_try;; | ||
| 11046 | esac | ||
| 11047 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11048 | $as_echo "$ac_try_echo") >&5 | ||
| 11049 | (eval "$ac_link") 2>conftest.er1 | ||
| 11050 | ac_status=$? | ||
| 11051 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11052 | rm -f conftest.er1 | ||
| 11053 | cat conftest.err >&5 | ||
| 11054 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11055 | (exit $ac_status); } && { | ||
| 11056 | test -z "$ac_c_werror_flag" || | ||
| 11057 | test ! -s conftest.err | ||
| 11058 | } && test -s conftest$ac_exeext && { | ||
| 11059 | test "$cross_compiling" = yes || | ||
| 11060 | $as_test_x conftest$ac_exeext | ||
| 11061 | }; then | ||
| 7790 | ac_cv_lib_Xbsd_main=yes | 11062 | ac_cv_lib_Xbsd_main=yes |
| 7791 | else | 11063 | else |
| 7792 | ac_cv_lib_Xbsd_main=no | 11064 | $as_echo "$as_me: failed program was:" >&5 |
| 11065 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11066 | |||
| 11067 | ac_cv_lib_Xbsd_main=no | ||
| 7793 | fi | 11068 | fi |
| 7794 | rm -f core conftest.err conftest.$ac_objext \ | 11069 | |
| 7795 | conftest$ac_exeext conftest.$ac_ext | 11070 | rm -rf conftest.dSYM |
| 11071 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11072 | conftest$ac_exeext conftest.$ac_ext | ||
| 7796 | LIBS=$ac_check_lib_save_LIBS | 11073 | LIBS=$ac_check_lib_save_LIBS |
| 7797 | fi | 11074 | fi |
| 7798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 11075 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
| 7799 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 11076 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
| 7800 | if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 11077 | if test $ac_cv_lib_Xbsd_main = yes; then |
| 7801 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 11078 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
| 7802 | fi | 11079 | fi |
| 7803 | 11080 | ||
| 7804 | 11081 | ||
| 7805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 11082 | |
| 11083 | { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | ||
| 7806 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 11084 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 7807 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 11085 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
| 7808 | $as_echo_n "(cached) " >&6 | 11086 | $as_echo_n "(cached) " >&6 |
| 7809 | else | 11087 | else |
| 7810 | ac_check_lib_save_LIBS=$LIBS | 11088 | ac_check_lib_save_LIBS=$LIBS |
| 7811 | LIBS="-lpthreads $LIBS" | 11089 | LIBS="-lpthreads $LIBS" |
| 7812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11090 | cat >conftest.$ac_ext <<_ACEOF |
| 11091 | /* confdefs.h. */ | ||
| 11092 | _ACEOF | ||
| 11093 | cat confdefs.h >>conftest.$ac_ext | ||
| 11094 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7813 | /* end confdefs.h. */ | 11095 | /* end confdefs.h. */ |
| 7814 | 11096 | ||
| 7815 | /* Override any GCC internal prototype to avoid an error. | 11097 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7827,18 +11109,43 @@ return cma_open (); | |||
| 7827 | return 0; | 11109 | return 0; |
| 7828 | } | 11110 | } |
| 7829 | _ACEOF | 11111 | _ACEOF |
| 7830 | if ac_fn_c_try_link "$LINENO"; then : | 11112 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11113 | if { (ac_try="$ac_link" | ||
| 11114 | case "(($ac_try" in | ||
| 11115 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11116 | *) ac_try_echo=$ac_try;; | ||
| 11117 | esac | ||
| 11118 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11119 | $as_echo "$ac_try_echo") >&5 | ||
| 11120 | (eval "$ac_link") 2>conftest.er1 | ||
| 11121 | ac_status=$? | ||
| 11122 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11123 | rm -f conftest.er1 | ||
| 11124 | cat conftest.err >&5 | ||
| 11125 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11126 | (exit $ac_status); } && { | ||
| 11127 | test -z "$ac_c_werror_flag" || | ||
| 11128 | test ! -s conftest.err | ||
| 11129 | } && test -s conftest$ac_exeext && { | ||
| 11130 | test "$cross_compiling" = yes || | ||
| 11131 | $as_test_x conftest$ac_exeext | ||
| 11132 | }; then | ||
| 7831 | ac_cv_lib_pthreads_cma_open=yes | 11133 | ac_cv_lib_pthreads_cma_open=yes |
| 7832 | else | 11134 | else |
| 7833 | ac_cv_lib_pthreads_cma_open=no | 11135 | $as_echo "$as_me: failed program was:" >&5 |
| 11136 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11137 | |||
| 11138 | ac_cv_lib_pthreads_cma_open=no | ||
| 7834 | fi | 11139 | fi |
| 7835 | rm -f core conftest.err conftest.$ac_objext \ | 11140 | |
| 7836 | conftest$ac_exeext conftest.$ac_ext | 11141 | rm -rf conftest.dSYM |
| 11142 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11143 | conftest$ac_exeext conftest.$ac_ext | ||
| 7837 | LIBS=$ac_check_lib_save_LIBS | 11144 | LIBS=$ac_check_lib_save_LIBS |
| 7838 | fi | 11145 | fi |
| 7839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 11146 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
| 7840 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 11147 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
| 7841 | if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 11148 | if test $ac_cv_lib_pthreads_cma_open = yes; then |
| 7842 | cat >>confdefs.h <<_ACEOF | 11149 | cat >>confdefs.h <<_ACEOF |
| 7843 | #define HAVE_LIBPTHREADS 1 | 11150 | #define HAVE_LIBPTHREADS 1 |
| 7844 | _ACEOF | 11151 | _ACEOF |
| @@ -7851,9 +11158,9 @@ fi | |||
| 7851 | 11158 | ||
| 7852 | case ${host_os} in | 11159 | case ${host_os} in |
| 7853 | aix*) | 11160 | aix*) |
| 7854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 11161 | { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
| 7855 | $as_echo_n "checking for -bbigtoc option... " >&6; } | 11162 | $as_echo_n "checking for -bbigtoc option... " >&6; } |
| 7856 | if test "${gdb_cv_bigtoc+set}" = set; then : | 11163 | if test "${gdb_cv_bigtoc+set}" = set; then |
| 7857 | $as_echo_n "(cached) " >&6 | 11164 | $as_echo_n "(cached) " >&6 |
| 7858 | else | 11165 | else |
| 7859 | 11166 | ||
| @@ -7863,7 +11170,11 @@ else | |||
| 7863 | esac | 11170 | esac |
| 7864 | 11171 | ||
| 7865 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 11172 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
| 7866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11173 | cat >conftest.$ac_ext <<_ACEOF |
| 11174 | /* confdefs.h. */ | ||
| 11175 | _ACEOF | ||
| 11176 | cat confdefs.h >>conftest.$ac_ext | ||
| 11177 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7867 | /* end confdefs.h. */ | 11178 | /* end confdefs.h. */ |
| 7868 | 11179 | ||
| 7869 | int | 11180 | int |
| @@ -7874,16 +11185,41 @@ int i; | |||
| 7874 | return 0; | 11185 | return 0; |
| 7875 | } | 11186 | } |
| 7876 | _ACEOF | 11187 | _ACEOF |
| 7877 | if ac_fn_c_try_link "$LINENO"; then : | 11188 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 7878 | 11189 | if { (ac_try="$ac_link" | |
| 11190 | case "(($ac_try" in | ||
| 11191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11192 | *) ac_try_echo=$ac_try;; | ||
| 11193 | esac | ||
| 11194 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11195 | $as_echo "$ac_try_echo") >&5 | ||
| 11196 | (eval "$ac_link") 2>conftest.er1 | ||
| 11197 | ac_status=$? | ||
| 11198 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11199 | rm -f conftest.er1 | ||
| 11200 | cat conftest.err >&5 | ||
| 11201 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11202 | (exit $ac_status); } && { | ||
| 11203 | test -z "$ac_c_werror_flag" || | ||
| 11204 | test ! -s conftest.err | ||
| 11205 | } && test -s conftest$ac_exeext && { | ||
| 11206 | test "$cross_compiling" = yes || | ||
| 11207 | $as_test_x conftest$ac_exeext | ||
| 11208 | }; then | ||
| 11209 | : | ||
| 7879 | else | 11210 | else |
| 7880 | gdb_cv_bigtoc= | 11211 | $as_echo "$as_me: failed program was:" >&5 |
| 11212 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11213 | |||
| 11214 | gdb_cv_bigtoc= | ||
| 7881 | fi | 11215 | fi |
| 7882 | rm -f core conftest.err conftest.$ac_objext \ | 11216 | |
| 7883 | conftest$ac_exeext conftest.$ac_ext | 11217 | rm -rf conftest.dSYM |
| 11218 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11219 | conftest$ac_exeext conftest.$ac_ext | ||
| 7884 | 11220 | ||
| 7885 | fi | 11221 | fi |
| 7886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 | 11222 | { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
| 7887 | $as_echo "$gdb_cv_bigtoc" >&6; } | 11223 | $as_echo "$gdb_cv_bigtoc" >&6; } |
| 7888 | ;; | 11224 | ;; |
| 7889 | esac | 11225 | esac |
| @@ -7911,9 +11247,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 7911 | fi | 11247 | fi |
| 7912 | 11248 | ||
| 7913 | if test "${opsys}" = "gnu-linux"; then | 11249 | if test "${opsys}" = "gnu-linux"; then |
| 7914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 | 11250 | { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
| 7915 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 11251 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
| 7916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11252 | cat >conftest.$ac_ext <<_ACEOF |
| 11253 | /* confdefs.h. */ | ||
| 11254 | _ACEOF | ||
| 11255 | cat confdefs.h >>conftest.$ac_ext | ||
| 11256 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7917 | /* end confdefs.h. */ | 11257 | /* end confdefs.h. */ |
| 7918 | 11258 | ||
| 7919 | int | 11259 | int |
| @@ -7924,13 +11264,38 @@ XOpenDisplay ("foo"); | |||
| 7924 | return 0; | 11264 | return 0; |
| 7925 | } | 11265 | } |
| 7926 | _ACEOF | 11266 | _ACEOF |
| 7927 | if ac_fn_c_try_link "$LINENO"; then : | 11267 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11268 | if { (ac_try="$ac_link" | ||
| 11269 | case "(($ac_try" in | ||
| 11270 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11271 | *) ac_try_echo=$ac_try;; | ||
| 11272 | esac | ||
| 11273 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11274 | $as_echo "$ac_try_echo") >&5 | ||
| 11275 | (eval "$ac_link") 2>conftest.er1 | ||
| 11276 | ac_status=$? | ||
| 11277 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11278 | rm -f conftest.er1 | ||
| 11279 | cat conftest.err >&5 | ||
| 11280 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11281 | (exit $ac_status); } && { | ||
| 11282 | test -z "$ac_c_werror_flag" || | ||
| 11283 | test ! -s conftest.err | ||
| 11284 | } && test -s conftest$ac_exeext && { | ||
| 11285 | test "$cross_compiling" = yes || | ||
| 11286 | $as_test_x conftest$ac_exeext | ||
| 11287 | }; then | ||
| 7928 | xlinux_first_failure=no | 11288 | xlinux_first_failure=no |
| 7929 | else | 11289 | else |
| 7930 | xlinux_first_failure=yes | 11290 | $as_echo "$as_me: failed program was:" >&5 |
| 11291 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11292 | |||
| 11293 | xlinux_first_failure=yes | ||
| 7931 | fi | 11294 | fi |
| 7932 | rm -f core conftest.err conftest.$ac_objext \ | 11295 | |
| 7933 | conftest$ac_exeext conftest.$ac_ext | 11296 | rm -rf conftest.dSYM |
| 11297 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11298 | conftest$ac_exeext conftest.$ac_ext | ||
| 7934 | if test "${xlinux_first_failure}" = "yes"; then | 11299 | if test "${xlinux_first_failure}" = "yes"; then |
| 7935 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11300 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
| 7936 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11301 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
| @@ -7940,7 +11305,11 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7940 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 11305 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
| 7941 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 11306 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 7942 | LIBS="$LIBS -b i486-linuxaout" | 11307 | LIBS="$LIBS -b i486-linuxaout" |
| 7943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11308 | cat >conftest.$ac_ext <<_ACEOF |
| 11309 | /* confdefs.h. */ | ||
| 11310 | _ACEOF | ||
| 11311 | cat confdefs.h >>conftest.$ac_ext | ||
| 11312 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7944 | /* end confdefs.h. */ | 11313 | /* end confdefs.h. */ |
| 7945 | 11314 | ||
| 7946 | int | 11315 | int |
| @@ -7951,13 +11320,38 @@ XOpenDisplay ("foo"); | |||
| 7951 | return 0; | 11320 | return 0; |
| 7952 | } | 11321 | } |
| 7953 | _ACEOF | 11322 | _ACEOF |
| 7954 | if ac_fn_c_try_link "$LINENO"; then : | 11323 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11324 | if { (ac_try="$ac_link" | ||
| 11325 | case "(($ac_try" in | ||
| 11326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11327 | *) ac_try_echo=$ac_try;; | ||
| 11328 | esac | ||
| 11329 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11330 | $as_echo "$ac_try_echo") >&5 | ||
| 11331 | (eval "$ac_link") 2>conftest.er1 | ||
| 11332 | ac_status=$? | ||
| 11333 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11334 | rm -f conftest.er1 | ||
| 11335 | cat conftest.err >&5 | ||
| 11336 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11337 | (exit $ac_status); } && { | ||
| 11338 | test -z "$ac_c_werror_flag" || | ||
| 11339 | test ! -s conftest.err | ||
| 11340 | } && test -s conftest$ac_exeext && { | ||
| 11341 | test "$cross_compiling" = yes || | ||
| 11342 | $as_test_x conftest$ac_exeext | ||
| 11343 | }; then | ||
| 7955 | xlinux_second_failure=no | 11344 | xlinux_second_failure=no |
| 7956 | else | 11345 | else |
| 7957 | xlinux_second_failure=yes | 11346 | $as_echo "$as_me: failed program was:" >&5 |
| 11347 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11348 | |||
| 11349 | xlinux_second_failure=yes | ||
| 7958 | fi | 11350 | fi |
| 7959 | rm -f core conftest.err conftest.$ac_objext \ | 11351 | |
| 7960 | conftest$ac_exeext conftest.$ac_ext | 11352 | rm -rf conftest.dSYM |
| 11353 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11354 | conftest$ac_exeext conftest.$ac_ext | ||
| 7961 | if test "${xlinux_second_failure}" = "yes"; then | 11355 | if test "${xlinux_second_failure}" = "yes"; then |
| 7962 | # If we get the same failure with -b, there is no use adding -b. | 11356 | # If we get the same failure with -b, there is no use adding -b. |
| 7963 | # So take it out. This plays safe. | 11357 | # So take it out. This plays safe. |
| @@ -7965,23 +11359,27 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7965 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11359 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
| 7966 | CPPFLAGS="$OLD_CPPFLAGS" | 11360 | CPPFLAGS="$OLD_CPPFLAGS" |
| 7967 | LIBS="$OLD_LIBS" | 11361 | LIBS="$OLD_LIBS" |
| 7968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11362 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7969 | $as_echo "no" >&6; } | 11363 | $as_echo "no" >&6; } |
| 7970 | else | 11364 | else |
| 7971 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11365 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 7972 | $as_echo "yes" >&6; } | 11366 | $as_echo "yes" >&6; } |
| 7973 | fi | 11367 | fi |
| 7974 | else | 11368 | else |
| 7975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11369 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7976 | $as_echo "no" >&6; } | 11370 | $as_echo "no" >&6; } |
| 7977 | fi | 11371 | fi |
| 7978 | fi | 11372 | fi |
| 7979 | 11373 | ||
| 7980 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11374 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
| 7981 | # header files included from there. | 11375 | # header files included from there. |
| 7982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 | 11376 | { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 |
| 7983 | $as_echo_n "checking for Xkb... " >&6; } | 11377 | $as_echo_n "checking for Xkb... " >&6; } |
| 7984 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11378 | cat >conftest.$ac_ext <<_ACEOF |
| 11379 | /* confdefs.h. */ | ||
| 11380 | _ACEOF | ||
| 11381 | cat confdefs.h >>conftest.$ac_ext | ||
| 11382 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7985 | /* end confdefs.h. */ | 11383 | /* end confdefs.h. */ |
| 7986 | #include <X11/Xlib.h> | 11384 | #include <X11/Xlib.h> |
| 7987 | #include <X11/XKBlib.h> | 11385 | #include <X11/XKBlib.h> |
| @@ -7993,28 +11391,145 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | |||
| 7993 | return 0; | 11391 | return 0; |
| 7994 | } | 11392 | } |
| 7995 | _ACEOF | 11393 | _ACEOF |
| 7996 | if ac_fn_c_try_link "$LINENO"; then : | 11394 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11395 | if { (ac_try="$ac_link" | ||
| 11396 | case "(($ac_try" in | ||
| 11397 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11398 | *) ac_try_echo=$ac_try;; | ||
| 11399 | esac | ||
| 11400 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11401 | $as_echo "$ac_try_echo") >&5 | ||
| 11402 | (eval "$ac_link") 2>conftest.er1 | ||
| 11403 | ac_status=$? | ||
| 11404 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11405 | rm -f conftest.er1 | ||
| 11406 | cat conftest.err >&5 | ||
| 11407 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11408 | (exit $ac_status); } && { | ||
| 11409 | test -z "$ac_c_werror_flag" || | ||
| 11410 | test ! -s conftest.err | ||
| 11411 | } && test -s conftest$ac_exeext && { | ||
| 11412 | test "$cross_compiling" = yes || | ||
| 11413 | $as_test_x conftest$ac_exeext | ||
| 11414 | }; then | ||
| 7997 | emacs_xkb=yes | 11415 | emacs_xkb=yes |
| 7998 | else | 11416 | else |
| 7999 | emacs_xkb=no | 11417 | $as_echo "$as_me: failed program was:" >&5 |
| 11418 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11419 | |||
| 11420 | emacs_xkb=no | ||
| 8000 | fi | 11421 | fi |
| 8001 | rm -f core conftest.err conftest.$ac_objext \ | 11422 | |
| 8002 | conftest$ac_exeext conftest.$ac_ext | 11423 | rm -rf conftest.dSYM |
| 8003 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 | 11424 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11425 | conftest$ac_exeext conftest.$ac_ext | ||
| 11426 | { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | ||
| 8004 | $as_echo "$emacs_xkb" >&6; } | 11427 | $as_echo "$emacs_xkb" >&6; } |
| 8005 | if test $emacs_xkb = yes; then | 11428 | if test $emacs_xkb = yes; then |
| 8006 | 11429 | ||
| 8007 | $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h | 11430 | cat >>confdefs.h <<\_ACEOF |
| 11431 | #define HAVE_XKBGETKEYBOARD 1 | ||
| 11432 | _ACEOF | ||
| 8008 | 11433 | ||
| 8009 | fi | 11434 | fi |
| 8010 | 11435 | ||
| 8011 | for ac_func in XrmSetDatabase XScreenResourceString \ | 11436 | |
| 11437 | |||
| 11438 | |||
| 11439 | |||
| 11440 | for ac_func in XrmSetDatabase XScreenResourceString \ | ||
| 8012 | XScreenNumberOfScreen XSetWMProtocols | 11441 | XScreenNumberOfScreen XSetWMProtocols |
| 8013 | do : | 11442 | do |
| 8014 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11443 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8015 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11444 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8016 | eval as_val=\$$as_ac_var | 11445 | $as_echo_n "checking for $ac_func... " >&6; } |
| 8017 | if test "x$as_val" = x""yes; then : | 11446 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11447 | $as_echo_n "(cached) " >&6 | ||
| 11448 | else | ||
| 11449 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11450 | /* confdefs.h. */ | ||
| 11451 | _ACEOF | ||
| 11452 | cat confdefs.h >>conftest.$ac_ext | ||
| 11453 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11454 | /* end confdefs.h. */ | ||
| 11455 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11456 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11457 | #define $ac_func innocuous_$ac_func | ||
| 11458 | |||
| 11459 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11460 | which can conflict with char $ac_func (); below. | ||
| 11461 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11462 | <limits.h> exists even on freestanding compilers. */ | ||
| 11463 | |||
| 11464 | #ifdef __STDC__ | ||
| 11465 | # include <limits.h> | ||
| 11466 | #else | ||
| 11467 | # include <assert.h> | ||
| 11468 | #endif | ||
| 11469 | |||
| 11470 | #undef $ac_func | ||
| 11471 | |||
| 11472 | /* Override any GCC internal prototype to avoid an error. | ||
| 11473 | Use char because int might match the return type of a GCC | ||
| 11474 | builtin and then its argument prototype would still apply. */ | ||
| 11475 | #ifdef __cplusplus | ||
| 11476 | extern "C" | ||
| 11477 | #endif | ||
| 11478 | char $ac_func (); | ||
| 11479 | /* The GNU C library defines this for functions which it implements | ||
| 11480 | to always fail with ENOSYS. Some functions are actually named | ||
| 11481 | something starting with __ and the normal name is an alias. */ | ||
| 11482 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11483 | choke me | ||
| 11484 | #endif | ||
| 11485 | |||
| 11486 | int | ||
| 11487 | main () | ||
| 11488 | { | ||
| 11489 | return $ac_func (); | ||
| 11490 | ; | ||
| 11491 | return 0; | ||
| 11492 | } | ||
| 11493 | _ACEOF | ||
| 11494 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11495 | if { (ac_try="$ac_link" | ||
| 11496 | case "(($ac_try" in | ||
| 11497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11498 | *) ac_try_echo=$ac_try;; | ||
| 11499 | esac | ||
| 11500 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11501 | $as_echo "$ac_try_echo") >&5 | ||
| 11502 | (eval "$ac_link") 2>conftest.er1 | ||
| 11503 | ac_status=$? | ||
| 11504 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11505 | rm -f conftest.er1 | ||
| 11506 | cat conftest.err >&5 | ||
| 11507 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11508 | (exit $ac_status); } && { | ||
| 11509 | test -z "$ac_c_werror_flag" || | ||
| 11510 | test ! -s conftest.err | ||
| 11511 | } && test -s conftest$ac_exeext && { | ||
| 11512 | test "$cross_compiling" = yes || | ||
| 11513 | $as_test_x conftest$ac_exeext | ||
| 11514 | }; then | ||
| 11515 | eval "$as_ac_var=yes" | ||
| 11516 | else | ||
| 11517 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11518 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11519 | |||
| 11520 | eval "$as_ac_var=no" | ||
| 11521 | fi | ||
| 11522 | |||
| 11523 | rm -rf conftest.dSYM | ||
| 11524 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11525 | conftest$ac_exeext conftest.$ac_ext | ||
| 11526 | fi | ||
| 11527 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11528 | $as_echo "$as_val"'` | ||
| 11529 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11530 | $as_echo "$ac_res" >&6; } | ||
| 11531 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11532 | $as_echo "$as_val"'` = yes; then | ||
| 8018 | cat >>confdefs.h <<_ACEOF | 11533 | cat >>confdefs.h <<_ACEOF |
| 8019 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11534 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8020 | _ACEOF | 11535 | _ACEOF |
| @@ -8025,12 +11540,16 @@ done | |||
| 8025 | fi | 11540 | fi |
| 8026 | 11541 | ||
| 8027 | if test "${window_system}" = "x11"; then | 11542 | if test "${window_system}" = "x11"; then |
| 8028 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 11543 | { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 |
| 8029 | $as_echo_n "checking X11 version 6... " >&6; } | 11544 | $as_echo_n "checking X11 version 6... " >&6; } |
| 8030 | if test "${emacs_cv_x11_version_6+set}" = set; then : | 11545 | if test "${emacs_cv_x11_version_6+set}" = set; then |
| 8031 | $as_echo_n "(cached) " >&6 | 11546 | $as_echo_n "(cached) " >&6 |
| 8032 | else | 11547 | else |
| 8033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11548 | cat >conftest.$ac_ext <<_ACEOF |
| 11549 | /* confdefs.h. */ | ||
| 11550 | _ACEOF | ||
| 11551 | cat confdefs.h >>conftest.$ac_ext | ||
| 11552 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8034 | /* end confdefs.h. */ | 11553 | /* end confdefs.h. */ |
| 8035 | #include <X11/Xlib.h> | 11554 | #include <X11/Xlib.h> |
| 8036 | int | 11555 | int |
| @@ -8044,23 +11563,50 @@ fail; | |||
| 8044 | return 0; | 11563 | return 0; |
| 8045 | } | 11564 | } |
| 8046 | _ACEOF | 11565 | _ACEOF |
| 8047 | if ac_fn_c_try_link "$LINENO"; then : | 11566 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11567 | if { (ac_try="$ac_link" | ||
| 11568 | case "(($ac_try" in | ||
| 11569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11570 | *) ac_try_echo=$ac_try;; | ||
| 11571 | esac | ||
| 11572 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11573 | $as_echo "$ac_try_echo") >&5 | ||
| 11574 | (eval "$ac_link") 2>conftest.er1 | ||
| 11575 | ac_status=$? | ||
| 11576 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11577 | rm -f conftest.er1 | ||
| 11578 | cat conftest.err >&5 | ||
| 11579 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11580 | (exit $ac_status); } && { | ||
| 11581 | test -z "$ac_c_werror_flag" || | ||
| 11582 | test ! -s conftest.err | ||
| 11583 | } && test -s conftest$ac_exeext && { | ||
| 11584 | test "$cross_compiling" = yes || | ||
| 11585 | $as_test_x conftest$ac_exeext | ||
| 11586 | }; then | ||
| 8048 | emacs_cv_x11_version_6=yes | 11587 | emacs_cv_x11_version_6=yes |
| 8049 | else | 11588 | else |
| 8050 | emacs_cv_x11_version_6=no | 11589 | $as_echo "$as_me: failed program was:" >&5 |
| 11590 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11591 | |||
| 11592 | emacs_cv_x11_version_6=no | ||
| 8051 | fi | 11593 | fi |
| 8052 | rm -f core conftest.err conftest.$ac_objext \ | 11594 | |
| 8053 | conftest$ac_exeext conftest.$ac_ext | 11595 | rm -rf conftest.dSYM |
| 11596 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11597 | conftest$ac_exeext conftest.$ac_ext | ||
| 8054 | fi | 11598 | fi |
| 8055 | 11599 | ||
| 8056 | if test $emacs_cv_x11_version_6 = yes; then | 11600 | if test $emacs_cv_x11_version_6 = yes; then |
| 8057 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 11601 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 8058 | $as_echo "6 or newer" >&6; } | 11602 | $as_echo "6 or newer" >&6; } |
| 8059 | 11603 | ||
| 8060 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 11604 | cat >>confdefs.h <<\_ACEOF |
| 11605 | #define HAVE_X11R6 1 | ||
| 11606 | _ACEOF | ||
| 8061 | 11607 | ||
| 8062 | else | 11608 | else |
| 8063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 11609 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 8064 | $as_echo "before 6" >&6; } | 11610 | $as_echo "before 6" >&6; } |
| 8065 | fi | 11611 | fi |
| 8066 | fi | 11612 | fi |
| @@ -8078,9 +11624,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then | |||
| 8078 | 11624 | ||
| 8079 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11625 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8080 | set dummy pkg-config; ac_word=$2 | 11626 | set dummy pkg-config; ac_word=$2 |
| 8081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11627 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8082 | $as_echo_n "checking for $ac_word... " >&6; } | 11628 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8083 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11629 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8084 | $as_echo_n "(cached) " >&6 | 11630 | $as_echo_n "(cached) " >&6 |
| 8085 | else | 11631 | else |
| 8086 | case $PKG_CONFIG in | 11632 | case $PKG_CONFIG in |
| @@ -8093,14 +11639,14 @@ for as_dir in $PATH | |||
| 8093 | do | 11639 | do |
| 8094 | IFS=$as_save_IFS | 11640 | IFS=$as_save_IFS |
| 8095 | test -z "$as_dir" && as_dir=. | 11641 | test -z "$as_dir" && as_dir=. |
| 8096 | for ac_exec_ext in '' $ac_executable_extensions; do | 11642 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8097 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11643 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8098 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11644 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8099 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11645 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8100 | break 2 | 11646 | break 2 |
| 8101 | fi | 11647 | fi |
| 8102 | done | 11648 | done |
| 8103 | done | 11649 | done |
| 8104 | IFS=$as_save_IFS | 11650 | IFS=$as_save_IFS |
| 8105 | 11651 | ||
| 8106 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11652 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8109,10 +11655,10 @@ esac | |||
| 8109 | fi | 11655 | fi |
| 8110 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11656 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8111 | if test -n "$PKG_CONFIG"; then | 11657 | if test -n "$PKG_CONFIG"; then |
| 8112 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11658 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8113 | $as_echo "$PKG_CONFIG" >&6; } | 11659 | $as_echo "$PKG_CONFIG" >&6; } |
| 8114 | else | 11660 | else |
| 8115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11661 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8116 | $as_echo "no" >&6; } | 11662 | $as_echo "no" >&6; } |
| 8117 | fi | 11663 | fi |
| 8118 | 11664 | ||
| @@ -8123,27 +11669,27 @@ fi | |||
| 8123 | else | 11669 | else |
| 8124 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11670 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8125 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11671 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8126 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 11672 | { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 |
| 8127 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 11673 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
| 8128 | 11674 | ||
| 8129 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 11675 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
| 8130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11676 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8131 | $as_echo "yes" >&6; } | 11677 | $as_echo "yes" >&6; } |
| 8132 | succeeded=yes | 11678 | succeeded=yes |
| 8133 | 11679 | ||
| 8134 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 | 11680 | { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 |
| 8135 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 11681 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
| 8136 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11682 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 | 11683 | { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 |
| 8138 | $as_echo "$RSVG_CFLAGS" >&6; } | 11684 | $as_echo "$RSVG_CFLAGS" >&6; } |
| 8139 | 11685 | ||
| 8140 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 | 11686 | { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 |
| 8141 | $as_echo_n "checking RSVG_LIBS... " >&6; } | 11687 | $as_echo_n "checking RSVG_LIBS... " >&6; } |
| 8142 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11688 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 | 11689 | { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 |
| 8144 | $as_echo "$RSVG_LIBS" >&6; } | 11690 | $as_echo "$RSVG_LIBS" >&6; } |
| 8145 | else | 11691 | else |
| 8146 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11692 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8147 | $as_echo "no" >&6; } | 11693 | $as_echo "no" >&6; } |
| 8148 | RSVG_CFLAGS="" | 11694 | RSVG_CFLAGS="" |
| 8149 | RSVG_LIBS="" | 11695 | RSVG_LIBS="" |
| @@ -8173,7 +11719,9 @@ $as_echo "no" >&6; } | |||
| 8173 | if test ".${RSVG_CFLAGS}" != "."; then | 11719 | if test ".${RSVG_CFLAGS}" != "."; then |
| 8174 | HAVE_RSVG=yes | 11720 | HAVE_RSVG=yes |
| 8175 | 11721 | ||
| 8176 | $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 11722 | cat >>confdefs.h <<\_ACEOF |
| 11723 | #define HAVE_RSVG 1 | ||
| 11724 | _ACEOF | ||
| 8177 | 11725 | ||
| 8178 | CFLAGS="$CFLAGS $RSVG_CFLAGS" | 11726 | CFLAGS="$CFLAGS $RSVG_CFLAGS" |
| 8179 | LIBS="$RSVG_LIBS $LIBS" | 11727 | LIBS="$RSVG_LIBS $LIBS" |
| @@ -8193,9 +11741,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | |||
| 8193 | 11741 | ||
| 8194 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11742 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8195 | set dummy pkg-config; ac_word=$2 | 11743 | set dummy pkg-config; ac_word=$2 |
| 8196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11744 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8197 | $as_echo_n "checking for $ac_word... " >&6; } | 11745 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8198 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11746 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8199 | $as_echo_n "(cached) " >&6 | 11747 | $as_echo_n "(cached) " >&6 |
| 8200 | else | 11748 | else |
| 8201 | case $PKG_CONFIG in | 11749 | case $PKG_CONFIG in |
| @@ -8208,14 +11756,14 @@ for as_dir in $PATH | |||
| 8208 | do | 11756 | do |
| 8209 | IFS=$as_save_IFS | 11757 | IFS=$as_save_IFS |
| 8210 | test -z "$as_dir" && as_dir=. | 11758 | test -z "$as_dir" && as_dir=. |
| 8211 | for ac_exec_ext in '' $ac_executable_extensions; do | 11759 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8212 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11760 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8213 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11761 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8214 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11762 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8215 | break 2 | 11763 | break 2 |
| 8216 | fi | 11764 | fi |
| 8217 | done | 11765 | done |
| 8218 | done | 11766 | done |
| 8219 | IFS=$as_save_IFS | 11767 | IFS=$as_save_IFS |
| 8220 | 11768 | ||
| 8221 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11769 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8224,10 +11772,10 @@ esac | |||
| 8224 | fi | 11772 | fi |
| 8225 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11773 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8226 | if test -n "$PKG_CONFIG"; then | 11774 | if test -n "$PKG_CONFIG"; then |
| 8227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11775 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8228 | $as_echo "$PKG_CONFIG" >&6; } | 11776 | $as_echo "$PKG_CONFIG" >&6; } |
| 8229 | else | 11777 | else |
| 8230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11778 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8231 | $as_echo "no" >&6; } | 11779 | $as_echo "no" >&6; } |
| 8232 | fi | 11780 | fi |
| 8233 | 11781 | ||
| @@ -8238,27 +11786,27 @@ fi | |||
| 8238 | else | 11786 | else |
| 8239 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11787 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8240 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11788 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 11789 | { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
| 8242 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 11790 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 8243 | 11791 | ||
| 8244 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 11792 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
| 8245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11793 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8246 | $as_echo "yes" >&6; } | 11794 | $as_echo "yes" >&6; } |
| 8247 | succeeded=yes | 11795 | succeeded=yes |
| 8248 | 11796 | ||
| 8249 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 11797 | { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
| 8250 | $as_echo_n "checking GTK_CFLAGS... " >&6; } | 11798 | $as_echo_n "checking GTK_CFLAGS... " >&6; } |
| 8251 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11799 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8252 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 11800 | { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
| 8253 | $as_echo "$GTK_CFLAGS" >&6; } | 11801 | $as_echo "$GTK_CFLAGS" >&6; } |
| 8254 | 11802 | ||
| 8255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 11803 | { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
| 8256 | $as_echo_n "checking GTK_LIBS... " >&6; } | 11804 | $as_echo_n "checking GTK_LIBS... " >&6; } |
| 8257 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11805 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8258 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 11806 | { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
| 8259 | $as_echo "$GTK_LIBS" >&6; } | 11807 | $as_echo "$GTK_LIBS" >&6; } |
| 8260 | else | 11808 | else |
| 8261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11809 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8262 | $as_echo "no" >&6; } | 11810 | $as_echo "no" >&6; } |
| 8263 | GTK_CFLAGS="" | 11811 | GTK_CFLAGS="" |
| 8264 | GTK_LIBS="" | 11812 | GTK_LIBS="" |
| @@ -8283,7 +11831,9 @@ $as_echo "no" >&6; } | |||
| 8283 | fi | 11831 | fi |
| 8284 | 11832 | ||
| 8285 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 11833 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
| 8286 | as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 11834 | { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 |
| 11835 | $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | ||
| 11836 | { (exit 1); exit 1; }; } | ||
| 8287 | fi | 11837 | fi |
| 8288 | fi | 11838 | fi |
| 8289 | 11839 | ||
| @@ -8297,12 +11847,101 @@ if test x"$pkg_check_gtk" = xyes; then | |||
| 8297 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 11847 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 8298 | LIBS="$GTK_LIBS $LIBS" | 11848 | LIBS="$GTK_LIBS $LIBS" |
| 8299 | GTK_COMPILES=no | 11849 | GTK_COMPILES=no |
| 8300 | for ac_func in gtk_main | 11850 | |
| 8301 | do : | 11851 | for ac_func in gtk_main |
| 8302 | ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11852 | do |
| 8303 | if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11853 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11854 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11855 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11856 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11857 | $as_echo_n "(cached) " >&6 | ||
| 11858 | else | ||
| 11859 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11860 | /* confdefs.h. */ | ||
| 11861 | _ACEOF | ||
| 11862 | cat confdefs.h >>conftest.$ac_ext | ||
| 11863 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11864 | /* end confdefs.h. */ | ||
| 11865 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11866 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11867 | #define $ac_func innocuous_$ac_func | ||
| 11868 | |||
| 11869 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11870 | which can conflict with char $ac_func (); below. | ||
| 11871 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11872 | <limits.h> exists even on freestanding compilers. */ | ||
| 11873 | |||
| 11874 | #ifdef __STDC__ | ||
| 11875 | # include <limits.h> | ||
| 11876 | #else | ||
| 11877 | # include <assert.h> | ||
| 11878 | #endif | ||
| 11879 | |||
| 11880 | #undef $ac_func | ||
| 11881 | |||
| 11882 | /* Override any GCC internal prototype to avoid an error. | ||
| 11883 | Use char because int might match the return type of a GCC | ||
| 11884 | builtin and then its argument prototype would still apply. */ | ||
| 11885 | #ifdef __cplusplus | ||
| 11886 | extern "C" | ||
| 11887 | #endif | ||
| 11888 | char $ac_func (); | ||
| 11889 | /* The GNU C library defines this for functions which it implements | ||
| 11890 | to always fail with ENOSYS. Some functions are actually named | ||
| 11891 | something starting with __ and the normal name is an alias. */ | ||
| 11892 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11893 | choke me | ||
| 11894 | #endif | ||
| 11895 | |||
| 11896 | int | ||
| 11897 | main () | ||
| 11898 | { | ||
| 11899 | return $ac_func (); | ||
| 11900 | ; | ||
| 11901 | return 0; | ||
| 11902 | } | ||
| 11903 | _ACEOF | ||
| 11904 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11905 | if { (ac_try="$ac_link" | ||
| 11906 | case "(($ac_try" in | ||
| 11907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11908 | *) ac_try_echo=$ac_try;; | ||
| 11909 | esac | ||
| 11910 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11911 | $as_echo "$ac_try_echo") >&5 | ||
| 11912 | (eval "$ac_link") 2>conftest.er1 | ||
| 11913 | ac_status=$? | ||
| 11914 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11915 | rm -f conftest.er1 | ||
| 11916 | cat conftest.err >&5 | ||
| 11917 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11918 | (exit $ac_status); } && { | ||
| 11919 | test -z "$ac_c_werror_flag" || | ||
| 11920 | test ! -s conftest.err | ||
| 11921 | } && test -s conftest$ac_exeext && { | ||
| 11922 | test "$cross_compiling" = yes || | ||
| 11923 | $as_test_x conftest$ac_exeext | ||
| 11924 | }; then | ||
| 11925 | eval "$as_ac_var=yes" | ||
| 11926 | else | ||
| 11927 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11928 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11929 | |||
| 11930 | eval "$as_ac_var=no" | ||
| 11931 | fi | ||
| 11932 | |||
| 11933 | rm -rf conftest.dSYM | ||
| 11934 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11935 | conftest$ac_exeext conftest.$ac_ext | ||
| 11936 | fi | ||
| 11937 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11938 | $as_echo "$as_val"'` | ||
| 11939 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11940 | $as_echo "$ac_res" >&6; } | ||
| 11941 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11942 | $as_echo "$as_val"'` = yes; then | ||
| 8304 | cat >>confdefs.h <<_ACEOF | 11943 | cat >>confdefs.h <<_ACEOF |
| 8305 | #define HAVE_GTK_MAIN 1 | 11944 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8306 | _ACEOF | 11945 | _ACEOF |
| 8307 | GTK_COMPILES=yes | 11946 | GTK_COMPILES=yes |
| 8308 | fi | 11947 | fi |
| @@ -8310,19 +11949,23 @@ done | |||
| 8310 | 11949 | ||
| 8311 | if test "${GTK_COMPILES}" != "yes"; then | 11950 | if test "${GTK_COMPILES}" != "yes"; then |
| 8312 | if test "$USE_X_TOOLKIT" != "maybe"; then | 11951 | if test "$USE_X_TOOLKIT" != "maybe"; then |
| 8313 | as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 11952 | { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 |
| 11953 | $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | ||
| 11954 | { (exit 1); exit 1; }; }; | ||
| 8314 | fi | 11955 | fi |
| 8315 | else | 11956 | else |
| 8316 | HAVE_GTK=yes | 11957 | HAVE_GTK=yes |
| 8317 | 11958 | ||
| 8318 | $as_echo "#define USE_GTK 1" >>confdefs.h | 11959 | cat >>confdefs.h <<\_ACEOF |
| 11960 | #define USE_GTK 1 | ||
| 11961 | _ACEOF | ||
| 8319 | 11962 | ||
| 8320 | GTK_OBJ=gtkutil.o | 11963 | GTK_OBJ=gtkutil.o |
| 8321 | USE_X_TOOLKIT=none | 11964 | USE_X_TOOLKIT=none |
| 8322 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 11965 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
| 8323 | : | 11966 | : |
| 8324 | else | 11967 | else |
| 8325 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 11968 | { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with |
| 8326 | closing open displays. This is no problem if you just use | 11969 | closing open displays. This is no problem if you just use |
| 8327 | one display, but if you use more than one and close one of them | 11970 | one display, but if you use more than one and close one of them |
| 8328 | Emacs may crash." >&5 | 11971 | Emacs may crash." >&5 |
| @@ -8345,12 +11988,101 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 8345 | fi | 11988 | fi |
| 8346 | 11989 | ||
| 8347 | HAVE_GTK_MULTIDISPLAY=no | 11990 | HAVE_GTK_MULTIDISPLAY=no |
| 8348 | for ac_func in gdk_display_open | 11991 | |
| 8349 | do : | 11992 | for ac_func in gdk_display_open |
| 8350 | ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" | 11993 | do |
| 8351 | if test "x$ac_cv_func_gdk_display_open" = x""yes; then : | 11994 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11995 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11996 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11997 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11998 | $as_echo_n "(cached) " >&6 | ||
| 11999 | else | ||
| 12000 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12001 | /* confdefs.h. */ | ||
| 12002 | _ACEOF | ||
| 12003 | cat confdefs.h >>conftest.$ac_ext | ||
| 12004 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12005 | /* end confdefs.h. */ | ||
| 12006 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12007 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12008 | #define $ac_func innocuous_$ac_func | ||
| 12009 | |||
| 12010 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12011 | which can conflict with char $ac_func (); below. | ||
| 12012 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12013 | <limits.h> exists even on freestanding compilers. */ | ||
| 12014 | |||
| 12015 | #ifdef __STDC__ | ||
| 12016 | # include <limits.h> | ||
| 12017 | #else | ||
| 12018 | # include <assert.h> | ||
| 12019 | #endif | ||
| 12020 | |||
| 12021 | #undef $ac_func | ||
| 12022 | |||
| 12023 | /* Override any GCC internal prototype to avoid an error. | ||
| 12024 | Use char because int might match the return type of a GCC | ||
| 12025 | builtin and then its argument prototype would still apply. */ | ||
| 12026 | #ifdef __cplusplus | ||
| 12027 | extern "C" | ||
| 12028 | #endif | ||
| 12029 | char $ac_func (); | ||
| 12030 | /* The GNU C library defines this for functions which it implements | ||
| 12031 | to always fail with ENOSYS. Some functions are actually named | ||
| 12032 | something starting with __ and the normal name is an alias. */ | ||
| 12033 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12034 | choke me | ||
| 12035 | #endif | ||
| 12036 | |||
| 12037 | int | ||
| 12038 | main () | ||
| 12039 | { | ||
| 12040 | return $ac_func (); | ||
| 12041 | ; | ||
| 12042 | return 0; | ||
| 12043 | } | ||
| 12044 | _ACEOF | ||
| 12045 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12046 | if { (ac_try="$ac_link" | ||
| 12047 | case "(($ac_try" in | ||
| 12048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12049 | *) ac_try_echo=$ac_try;; | ||
| 12050 | esac | ||
| 12051 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12052 | $as_echo "$ac_try_echo") >&5 | ||
| 12053 | (eval "$ac_link") 2>conftest.er1 | ||
| 12054 | ac_status=$? | ||
| 12055 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12056 | rm -f conftest.er1 | ||
| 12057 | cat conftest.err >&5 | ||
| 12058 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12059 | (exit $ac_status); } && { | ||
| 12060 | test -z "$ac_c_werror_flag" || | ||
| 12061 | test ! -s conftest.err | ||
| 12062 | } && test -s conftest$ac_exeext && { | ||
| 12063 | test "$cross_compiling" = yes || | ||
| 12064 | $as_test_x conftest$ac_exeext | ||
| 12065 | }; then | ||
| 12066 | eval "$as_ac_var=yes" | ||
| 12067 | else | ||
| 12068 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12069 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12070 | |||
| 12071 | eval "$as_ac_var=no" | ||
| 12072 | fi | ||
| 12073 | |||
| 12074 | rm -rf conftest.dSYM | ||
| 12075 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12076 | conftest$ac_exeext conftest.$ac_ext | ||
| 12077 | fi | ||
| 12078 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12079 | $as_echo "$as_val"'` | ||
| 12080 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12081 | $as_echo "$ac_res" >&6; } | ||
| 12082 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12083 | $as_echo "$as_val"'` = yes; then | ||
| 8352 | cat >>confdefs.h <<_ACEOF | 12084 | cat >>confdefs.h <<_ACEOF |
| 8353 | #define HAVE_GDK_DISPLAY_OPEN 1 | 12085 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8354 | _ACEOF | 12086 | _ACEOF |
| 8355 | HAVE_GTK_MULTIDISPLAY=yes | 12087 | HAVE_GTK_MULTIDISPLAY=yes |
| 8356 | fi | 12088 | fi |
| @@ -8358,27 +12090,170 @@ done | |||
| 8358 | 12090 | ||
| 8359 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 12091 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
| 8360 | 12092 | ||
| 8361 | $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h | 12093 | cat >>confdefs.h <<\_ACEOF |
| 12094 | #define HAVE_GTK_MULTIDISPLAY 1 | ||
| 12095 | _ACEOF | ||
| 8362 | 12096 | ||
| 8363 | fi | 12097 | fi |
| 8364 | 12098 | ||
| 8365 | HAVE_GTK_FILE_SELECTION=no | 12099 | HAVE_GTK_FILE_SELECTION=no |
| 8366 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 12100 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 |
| 12101 | $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | ||
| 12102 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | ||
| 12103 | $as_echo_n "(cached) " >&6 | ||
| 12104 | else | ||
| 12105 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12106 | /* confdefs.h. */ | ||
| 12107 | _ACEOF | ||
| 12108 | cat confdefs.h >>conftest.$ac_ext | ||
| 12109 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12110 | /* end confdefs.h. */ | ||
| 12111 | $ac_includes_default | ||
| 8367 | #include <gtk/gtk.h> | 12112 | #include <gtk/gtk.h> |
| 8368 | " | 12113 | |
| 8369 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 12114 | int |
| 12115 | main () | ||
| 12116 | { | ||
| 12117 | #ifndef GTK_TYPE_FILE_SELECTION | ||
| 12118 | (void) GTK_TYPE_FILE_SELECTION; | ||
| 12119 | #endif | ||
| 12120 | |||
| 12121 | ; | ||
| 12122 | return 0; | ||
| 12123 | } | ||
| 12124 | _ACEOF | ||
| 12125 | rm -f conftest.$ac_objext | ||
| 12126 | if { (ac_try="$ac_compile" | ||
| 12127 | case "(($ac_try" in | ||
| 12128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12129 | *) ac_try_echo=$ac_try;; | ||
| 12130 | esac | ||
| 12131 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12132 | $as_echo "$ac_try_echo") >&5 | ||
| 12133 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12134 | ac_status=$? | ||
| 12135 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12136 | rm -f conftest.er1 | ||
| 12137 | cat conftest.err >&5 | ||
| 12138 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12139 | (exit $ac_status); } && { | ||
| 12140 | test -z "$ac_c_werror_flag" || | ||
| 12141 | test ! -s conftest.err | ||
| 12142 | } && test -s conftest.$ac_objext; then | ||
| 12143 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | ||
| 12144 | else | ||
| 12145 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12146 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12147 | |||
| 12148 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | ||
| 12149 | fi | ||
| 12150 | |||
| 12151 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12152 | fi | ||
| 12153 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | ||
| 12154 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | ||
| 12155 | if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | ||
| 8370 | HAVE_GTK_FILE_SELECTION=yes | 12156 | HAVE_GTK_FILE_SELECTION=yes |
| 8371 | else | 12157 | else |
| 8372 | HAVE_GTK_FILE_SELECTION=no | 12158 | HAVE_GTK_FILE_SELECTION=no |
| 8373 | fi | 12159 | fi |
| 8374 | 12160 | ||
| 8375 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 12161 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
| 8376 | for ac_func in gtk_file_selection_new | 12162 | |
| 8377 | do : | 12163 | for ac_func in gtk_file_selection_new |
| 8378 | ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 12164 | do |
| 8379 | if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 12165 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12166 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12167 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12168 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12169 | $as_echo_n "(cached) " >&6 | ||
| 12170 | else | ||
| 12171 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12172 | /* confdefs.h. */ | ||
| 12173 | _ACEOF | ||
| 12174 | cat confdefs.h >>conftest.$ac_ext | ||
| 12175 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12176 | /* end confdefs.h. */ | ||
| 12177 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12178 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12179 | #define $ac_func innocuous_$ac_func | ||
| 12180 | |||
| 12181 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12182 | which can conflict with char $ac_func (); below. | ||
| 12183 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12184 | <limits.h> exists even on freestanding compilers. */ | ||
| 12185 | |||
| 12186 | #ifdef __STDC__ | ||
| 12187 | # include <limits.h> | ||
| 12188 | #else | ||
| 12189 | # include <assert.h> | ||
| 12190 | #endif | ||
| 12191 | |||
| 12192 | #undef $ac_func | ||
| 12193 | |||
| 12194 | /* Override any GCC internal prototype to avoid an error. | ||
| 12195 | Use char because int might match the return type of a GCC | ||
| 12196 | builtin and then its argument prototype would still apply. */ | ||
| 12197 | #ifdef __cplusplus | ||
| 12198 | extern "C" | ||
| 12199 | #endif | ||
| 12200 | char $ac_func (); | ||
| 12201 | /* The GNU C library defines this for functions which it implements | ||
| 12202 | to always fail with ENOSYS. Some functions are actually named | ||
| 12203 | something starting with __ and the normal name is an alias. */ | ||
| 12204 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12205 | choke me | ||
| 12206 | #endif | ||
| 12207 | |||
| 12208 | int | ||
| 12209 | main () | ||
| 12210 | { | ||
| 12211 | return $ac_func (); | ||
| 12212 | ; | ||
| 12213 | return 0; | ||
| 12214 | } | ||
| 12215 | _ACEOF | ||
| 12216 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12217 | if { (ac_try="$ac_link" | ||
| 12218 | case "(($ac_try" in | ||
| 12219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12220 | *) ac_try_echo=$ac_try;; | ||
| 12221 | esac | ||
| 12222 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12223 | $as_echo "$ac_try_echo") >&5 | ||
| 12224 | (eval "$ac_link") 2>conftest.er1 | ||
| 12225 | ac_status=$? | ||
| 12226 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12227 | rm -f conftest.er1 | ||
| 12228 | cat conftest.err >&5 | ||
| 12229 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12230 | (exit $ac_status); } && { | ||
| 12231 | test -z "$ac_c_werror_flag" || | ||
| 12232 | test ! -s conftest.err | ||
| 12233 | } && test -s conftest$ac_exeext && { | ||
| 12234 | test "$cross_compiling" = yes || | ||
| 12235 | $as_test_x conftest$ac_exeext | ||
| 12236 | }; then | ||
| 12237 | eval "$as_ac_var=yes" | ||
| 12238 | else | ||
| 12239 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12240 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12241 | |||
| 12242 | eval "$as_ac_var=no" | ||
| 12243 | fi | ||
| 12244 | |||
| 12245 | rm -rf conftest.dSYM | ||
| 12246 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12247 | conftest$ac_exeext conftest.$ac_ext | ||
| 12248 | fi | ||
| 12249 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12250 | $as_echo "$as_val"'` | ||
| 12251 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12252 | $as_echo "$ac_res" >&6; } | ||
| 12253 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12254 | $as_echo "$as_val"'` = yes; then | ||
| 8380 | cat >>confdefs.h <<_ACEOF | 12255 | cat >>confdefs.h <<_ACEOF |
| 8381 | #define HAVE_GTK_FILE_SELECTION_NEW 1 | 12256 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8382 | _ACEOF | 12257 | _ACEOF |
| 8383 | HAVE_GTK_FILE_SELECTION=yes | 12258 | HAVE_GTK_FILE_SELECTION=yes |
| 8384 | else | 12259 | else |
| @@ -8389,22 +12264,163 @@ done | |||
| 8389 | fi | 12264 | fi |
| 8390 | 12265 | ||
| 8391 | HAVE_GTK_FILE_CHOOSER=no | 12266 | HAVE_GTK_FILE_CHOOSER=no |
| 8392 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default | 12267 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 |
| 12268 | $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | ||
| 12269 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | ||
| 12270 | $as_echo_n "(cached) " >&6 | ||
| 12271 | else | ||
| 12272 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12273 | /* confdefs.h. */ | ||
| 12274 | _ACEOF | ||
| 12275 | cat confdefs.h >>conftest.$ac_ext | ||
| 12276 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12277 | /* end confdefs.h. */ | ||
| 12278 | $ac_includes_default | ||
| 8393 | #include <gtk/gtk.h> | 12279 | #include <gtk/gtk.h> |
| 8394 | " | 12280 | |
| 8395 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : | 12281 | int |
| 12282 | main () | ||
| 12283 | { | ||
| 12284 | #ifndef GTK_TYPE_FILE_CHOOSER | ||
| 12285 | (void) GTK_TYPE_FILE_CHOOSER; | ||
| 12286 | #endif | ||
| 12287 | |||
| 12288 | ; | ||
| 12289 | return 0; | ||
| 12290 | } | ||
| 12291 | _ACEOF | ||
| 12292 | rm -f conftest.$ac_objext | ||
| 12293 | if { (ac_try="$ac_compile" | ||
| 12294 | case "(($ac_try" in | ||
| 12295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12296 | *) ac_try_echo=$ac_try;; | ||
| 12297 | esac | ||
| 12298 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12299 | $as_echo "$ac_try_echo") >&5 | ||
| 12300 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12301 | ac_status=$? | ||
| 12302 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12303 | rm -f conftest.er1 | ||
| 12304 | cat conftest.err >&5 | ||
| 12305 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12306 | (exit $ac_status); } && { | ||
| 12307 | test -z "$ac_c_werror_flag" || | ||
| 12308 | test ! -s conftest.err | ||
| 12309 | } && test -s conftest.$ac_objext; then | ||
| 12310 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | ||
| 12311 | else | ||
| 12312 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12313 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12314 | |||
| 12315 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | ||
| 12316 | fi | ||
| 12317 | |||
| 12318 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12319 | fi | ||
| 12320 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | ||
| 12321 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | ||
| 12322 | if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | ||
| 8396 | HAVE_GTK_FILE_CHOOSER=yes | 12323 | HAVE_GTK_FILE_CHOOSER=yes |
| 8397 | else | 12324 | else |
| 8398 | HAVE_GTK_FILE_CHOOSER=no | 12325 | HAVE_GTK_FILE_CHOOSER=no |
| 8399 | fi | 12326 | fi |
| 8400 | 12327 | ||
| 8401 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12328 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8402 | for ac_func in gtk_file_chooser_dialog_new | 12329 | |
| 8403 | do : | 12330 | for ac_func in gtk_file_chooser_dialog_new |
| 8404 | ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" | 12331 | do |
| 8405 | if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : | 12332 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12333 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12334 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12335 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12336 | $as_echo_n "(cached) " >&6 | ||
| 12337 | else | ||
| 12338 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12339 | /* confdefs.h. */ | ||
| 12340 | _ACEOF | ||
| 12341 | cat confdefs.h >>conftest.$ac_ext | ||
| 12342 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12343 | /* end confdefs.h. */ | ||
| 12344 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12345 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12346 | #define $ac_func innocuous_$ac_func | ||
| 12347 | |||
| 12348 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12349 | which can conflict with char $ac_func (); below. | ||
| 12350 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12351 | <limits.h> exists even on freestanding compilers. */ | ||
| 12352 | |||
| 12353 | #ifdef __STDC__ | ||
| 12354 | # include <limits.h> | ||
| 12355 | #else | ||
| 12356 | # include <assert.h> | ||
| 12357 | #endif | ||
| 12358 | |||
| 12359 | #undef $ac_func | ||
| 12360 | |||
| 12361 | /* Override any GCC internal prototype to avoid an error. | ||
| 12362 | Use char because int might match the return type of a GCC | ||
| 12363 | builtin and then its argument prototype would still apply. */ | ||
| 12364 | #ifdef __cplusplus | ||
| 12365 | extern "C" | ||
| 12366 | #endif | ||
| 12367 | char $ac_func (); | ||
| 12368 | /* The GNU C library defines this for functions which it implements | ||
| 12369 | to always fail with ENOSYS. Some functions are actually named | ||
| 12370 | something starting with __ and the normal name is an alias. */ | ||
| 12371 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12372 | choke me | ||
| 12373 | #endif | ||
| 12374 | |||
| 12375 | int | ||
| 12376 | main () | ||
| 12377 | { | ||
| 12378 | return $ac_func (); | ||
| 12379 | ; | ||
| 12380 | return 0; | ||
| 12381 | } | ||
| 12382 | _ACEOF | ||
| 12383 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12384 | if { (ac_try="$ac_link" | ||
| 12385 | case "(($ac_try" in | ||
| 12386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12387 | *) ac_try_echo=$ac_try;; | ||
| 12388 | esac | ||
| 12389 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12390 | $as_echo "$ac_try_echo") >&5 | ||
| 12391 | (eval "$ac_link") 2>conftest.er1 | ||
| 12392 | ac_status=$? | ||
| 12393 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12394 | rm -f conftest.er1 | ||
| 12395 | cat conftest.err >&5 | ||
| 12396 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12397 | (exit $ac_status); } && { | ||
| 12398 | test -z "$ac_c_werror_flag" || | ||
| 12399 | test ! -s conftest.err | ||
| 12400 | } && test -s conftest$ac_exeext && { | ||
| 12401 | test "$cross_compiling" = yes || | ||
| 12402 | $as_test_x conftest$ac_exeext | ||
| 12403 | }; then | ||
| 12404 | eval "$as_ac_var=yes" | ||
| 12405 | else | ||
| 12406 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12407 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12408 | |||
| 12409 | eval "$as_ac_var=no" | ||
| 12410 | fi | ||
| 12411 | |||
| 12412 | rm -rf conftest.dSYM | ||
| 12413 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12414 | conftest$ac_exeext conftest.$ac_ext | ||
| 12415 | fi | ||
| 12416 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12417 | $as_echo "$as_val"'` | ||
| 12418 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12419 | $as_echo "$ac_res" >&6; } | ||
| 12420 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12421 | $as_echo "$as_val"'` = yes; then | ||
| 8406 | cat >>confdefs.h <<_ACEOF | 12422 | cat >>confdefs.h <<_ACEOF |
| 8407 | #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 | 12423 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8408 | _ACEOF | 12424 | _ACEOF |
| 8409 | HAVE_GTK_FILE_CHOOSER=yes | 12425 | HAVE_GTK_FILE_CHOOSER=yes |
| 8410 | else | 12426 | else |
| @@ -8417,18 +12433,153 @@ done | |||
| 8417 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 12433 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
| 8418 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12434 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8419 | 12435 | ||
| 8420 | $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h | 12436 | cat >>confdefs.h <<\_ACEOF |
| 12437 | #define HAVE_GTK_FILE_BOTH 1 | ||
| 12438 | _ACEOF | ||
| 8421 | 12439 | ||
| 8422 | fi | 12440 | fi |
| 8423 | 12441 | ||
| 8424 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12442 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8425 | HAVE_GTK_AND_PTHREAD=no | 12443 | HAVE_GTK_AND_PTHREAD=no |
| 8426 | for ac_header in pthread.h | 12444 | |
| 8427 | do : | 12445 | for ac_header in pthread.h |
| 8428 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 12446 | do |
| 8429 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | 12447 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12448 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12449 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12450 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12451 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12452 | $as_echo_n "(cached) " >&6 | ||
| 12453 | fi | ||
| 12454 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12455 | $as_echo "$as_val"'` | ||
| 12456 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12457 | $as_echo "$ac_res" >&6; } | ||
| 12458 | else | ||
| 12459 | # Is the header compilable? | ||
| 12460 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 12461 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 12462 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12463 | /* confdefs.h. */ | ||
| 12464 | _ACEOF | ||
| 12465 | cat confdefs.h >>conftest.$ac_ext | ||
| 12466 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12467 | /* end confdefs.h. */ | ||
| 12468 | $ac_includes_default | ||
| 12469 | #include <$ac_header> | ||
| 12470 | _ACEOF | ||
| 12471 | rm -f conftest.$ac_objext | ||
| 12472 | if { (ac_try="$ac_compile" | ||
| 12473 | case "(($ac_try" in | ||
| 12474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12475 | *) ac_try_echo=$ac_try;; | ||
| 12476 | esac | ||
| 12477 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12478 | $as_echo "$ac_try_echo") >&5 | ||
| 12479 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12480 | ac_status=$? | ||
| 12481 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12482 | rm -f conftest.er1 | ||
| 12483 | cat conftest.err >&5 | ||
| 12484 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12485 | (exit $ac_status); } && { | ||
| 12486 | test -z "$ac_c_werror_flag" || | ||
| 12487 | test ! -s conftest.err | ||
| 12488 | } && test -s conftest.$ac_objext; then | ||
| 12489 | ac_header_compiler=yes | ||
| 12490 | else | ||
| 12491 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12492 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12493 | |||
| 12494 | ac_header_compiler=no | ||
| 12495 | fi | ||
| 12496 | |||
| 12497 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12498 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 12499 | $as_echo "$ac_header_compiler" >&6; } | ||
| 12500 | |||
| 12501 | # Is the header present? | ||
| 12502 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 12503 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 12504 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12505 | /* confdefs.h. */ | ||
| 12506 | _ACEOF | ||
| 12507 | cat confdefs.h >>conftest.$ac_ext | ||
| 12508 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12509 | /* end confdefs.h. */ | ||
| 12510 | #include <$ac_header> | ||
| 12511 | _ACEOF | ||
| 12512 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 12513 | case "(($ac_try" in | ||
| 12514 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12515 | *) ac_try_echo=$ac_try;; | ||
| 12516 | esac | ||
| 12517 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12518 | $as_echo "$ac_try_echo") >&5 | ||
| 12519 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12520 | ac_status=$? | ||
| 12521 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12522 | rm -f conftest.er1 | ||
| 12523 | cat conftest.err >&5 | ||
| 12524 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12525 | (exit $ac_status); } >/dev/null && { | ||
| 12526 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 12527 | test ! -s conftest.err | ||
| 12528 | }; then | ||
| 12529 | ac_header_preproc=yes | ||
| 12530 | else | ||
| 12531 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12532 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12533 | |||
| 12534 | ac_header_preproc=no | ||
| 12535 | fi | ||
| 12536 | |||
| 12537 | rm -f conftest.err conftest.$ac_ext | ||
| 12538 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 12539 | $as_echo "$ac_header_preproc" >&6; } | ||
| 12540 | |||
| 12541 | # So? What about this header? | ||
| 12542 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 12543 | yes:no: ) | ||
| 12544 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 12545 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 12546 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 12547 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 12548 | ac_header_preproc=yes | ||
| 12549 | ;; | ||
| 12550 | no:yes:* ) | ||
| 12551 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 12552 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 12553 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 12554 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 12555 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 12556 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 12557 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 12558 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 12559 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12560 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 12561 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 12562 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12563 | |||
| 12564 | ;; | ||
| 12565 | esac | ||
| 12566 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12567 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12568 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12569 | $as_echo_n "(cached) " >&6 | ||
| 12570 | else | ||
| 12571 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 12572 | fi | ||
| 12573 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12574 | $as_echo "$as_val"'` | ||
| 12575 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12576 | $as_echo "$ac_res" >&6; } | ||
| 12577 | |||
| 12578 | fi | ||
| 12579 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 12580 | $as_echo "$as_val"'` = yes; then | ||
| 8430 | cat >>confdefs.h <<_ACEOF | 12581 | cat >>confdefs.h <<_ACEOF |
| 8431 | #define HAVE_PTHREAD_H 1 | 12582 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8432 | _ACEOF | 12583 | _ACEOF |
| 8433 | 12584 | ||
| 8434 | fi | 12585 | fi |
| @@ -8436,14 +12587,18 @@ fi | |||
| 8436 | done | 12587 | done |
| 8437 | 12588 | ||
| 8438 | if test "$ac_cv_header_pthread_h"; then | 12589 | if test "$ac_cv_header_pthread_h"; then |
| 8439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 12590 | { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
| 8440 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 12591 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
| 8441 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 12592 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
| 8442 | $as_echo_n "(cached) " >&6 | 12593 | $as_echo_n "(cached) " >&6 |
| 8443 | else | 12594 | else |
| 8444 | ac_check_lib_save_LIBS=$LIBS | 12595 | ac_check_lib_save_LIBS=$LIBS |
| 8445 | LIBS="-lpthread $LIBS" | 12596 | LIBS="-lpthread $LIBS" |
| 8446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12597 | cat >conftest.$ac_ext <<_ACEOF |
| 12598 | /* confdefs.h. */ | ||
| 12599 | _ACEOF | ||
| 12600 | cat confdefs.h >>conftest.$ac_ext | ||
| 12601 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8447 | /* end confdefs.h. */ | 12602 | /* end confdefs.h. */ |
| 8448 | 12603 | ||
| 8449 | /* Override any GCC internal prototype to avoid an error. | 12604 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8461,18 +12616,43 @@ return pthread_self (); | |||
| 8461 | return 0; | 12616 | return 0; |
| 8462 | } | 12617 | } |
| 8463 | _ACEOF | 12618 | _ACEOF |
| 8464 | if ac_fn_c_try_link "$LINENO"; then : | 12619 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12620 | if { (ac_try="$ac_link" | ||
| 12621 | case "(($ac_try" in | ||
| 12622 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12623 | *) ac_try_echo=$ac_try;; | ||
| 12624 | esac | ||
| 12625 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12626 | $as_echo "$ac_try_echo") >&5 | ||
| 12627 | (eval "$ac_link") 2>conftest.er1 | ||
| 12628 | ac_status=$? | ||
| 12629 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12630 | rm -f conftest.er1 | ||
| 12631 | cat conftest.err >&5 | ||
| 12632 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12633 | (exit $ac_status); } && { | ||
| 12634 | test -z "$ac_c_werror_flag" || | ||
| 12635 | test ! -s conftest.err | ||
| 12636 | } && test -s conftest$ac_exeext && { | ||
| 12637 | test "$cross_compiling" = yes || | ||
| 12638 | $as_test_x conftest$ac_exeext | ||
| 12639 | }; then | ||
| 8465 | ac_cv_lib_pthread_pthread_self=yes | 12640 | ac_cv_lib_pthread_pthread_self=yes |
| 8466 | else | 12641 | else |
| 8467 | ac_cv_lib_pthread_pthread_self=no | 12642 | $as_echo "$as_me: failed program was:" >&5 |
| 12643 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12644 | |||
| 12645 | ac_cv_lib_pthread_pthread_self=no | ||
| 8468 | fi | 12646 | fi |
| 8469 | rm -f core conftest.err conftest.$ac_objext \ | 12647 | |
| 8470 | conftest$ac_exeext conftest.$ac_ext | 12648 | rm -rf conftest.dSYM |
| 12649 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12650 | conftest$ac_exeext conftest.$ac_ext | ||
| 8471 | LIBS=$ac_check_lib_save_LIBS | 12651 | LIBS=$ac_check_lib_save_LIBS |
| 8472 | fi | 12652 | fi |
| 8473 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12653 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
| 8474 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 12654 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
| 8475 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 12655 | if test $ac_cv_lib_pthread_pthread_self = yes; then |
| 8476 | HAVE_GTK_AND_PTHREAD=yes | 12656 | HAVE_GTK_AND_PTHREAD=yes |
| 8477 | fi | 12657 | fi |
| 8478 | 12658 | ||
| @@ -8483,7 +12663,9 @@ fi | |||
| 8483 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 12663 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
| 8484 | esac | 12664 | esac |
| 8485 | 12665 | ||
| 8486 | $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | 12666 | cat >>confdefs.h <<\_ACEOF |
| 12667 | #define HAVE_GTK_AND_PTHREAD 1 | ||
| 12668 | _ACEOF | ||
| 8487 | 12669 | ||
| 8488 | fi | 12670 | fi |
| 8489 | fi | 12671 | fi |
| @@ -8497,9 +12679,9 @@ if test "${with_dbus}" = "yes"; then | |||
| 8497 | 12679 | ||
| 8498 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12680 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8499 | set dummy pkg-config; ac_word=$2 | 12681 | set dummy pkg-config; ac_word=$2 |
| 8500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12682 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8501 | $as_echo_n "checking for $ac_word... " >&6; } | 12683 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8502 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12684 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8503 | $as_echo_n "(cached) " >&6 | 12685 | $as_echo_n "(cached) " >&6 |
| 8504 | else | 12686 | else |
| 8505 | case $PKG_CONFIG in | 12687 | case $PKG_CONFIG in |
| @@ -8512,14 +12694,14 @@ for as_dir in $PATH | |||
| 8512 | do | 12694 | do |
| 8513 | IFS=$as_save_IFS | 12695 | IFS=$as_save_IFS |
| 8514 | test -z "$as_dir" && as_dir=. | 12696 | test -z "$as_dir" && as_dir=. |
| 8515 | for ac_exec_ext in '' $ac_executable_extensions; do | 12697 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8516 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12698 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8517 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12699 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8518 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12700 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8519 | break 2 | 12701 | break 2 |
| 8520 | fi | 12702 | fi |
| 8521 | done | 12703 | done |
| 8522 | done | 12704 | done |
| 8523 | IFS=$as_save_IFS | 12705 | IFS=$as_save_IFS |
| 8524 | 12706 | ||
| 8525 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12707 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8528,10 +12710,10 @@ esac | |||
| 8528 | fi | 12710 | fi |
| 8529 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12711 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8530 | if test -n "$PKG_CONFIG"; then | 12712 | if test -n "$PKG_CONFIG"; then |
| 8531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12713 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8532 | $as_echo "$PKG_CONFIG" >&6; } | 12714 | $as_echo "$PKG_CONFIG" >&6; } |
| 8533 | else | 12715 | else |
| 8534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12716 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8535 | $as_echo "no" >&6; } | 12717 | $as_echo "no" >&6; } |
| 8536 | fi | 12718 | fi |
| 8537 | 12719 | ||
| @@ -8542,27 +12724,27 @@ fi | |||
| 8542 | else | 12724 | else |
| 8543 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12725 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8544 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12726 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 12727 | { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 |
| 8546 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 12728 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
| 8547 | 12729 | ||
| 8548 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 12730 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
| 8549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12731 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8550 | $as_echo "yes" >&6; } | 12732 | $as_echo "yes" >&6; } |
| 8551 | succeeded=yes | 12733 | succeeded=yes |
| 8552 | 12734 | ||
| 8553 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 | 12735 | { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 |
| 8554 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 12736 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
| 8555 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12737 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 | 12738 | { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 |
| 8557 | $as_echo "$DBUS_CFLAGS" >&6; } | 12739 | $as_echo "$DBUS_CFLAGS" >&6; } |
| 8558 | 12740 | ||
| 8559 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 | 12741 | { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 |
| 8560 | $as_echo_n "checking DBUS_LIBS... " >&6; } | 12742 | $as_echo_n "checking DBUS_LIBS... " >&6; } |
| 8561 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12743 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 | 12744 | { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 |
| 8563 | $as_echo "$DBUS_LIBS" >&6; } | 12745 | $as_echo "$DBUS_LIBS" >&6; } |
| 8564 | else | 12746 | else |
| 8565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12747 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8566 | $as_echo "no" >&6; } | 12748 | $as_echo "no" >&6; } |
| 8567 | DBUS_CFLAGS="" | 12749 | DBUS_CFLAGS="" |
| 8568 | DBUS_LIBS="" | 12750 | DBUS_LIBS="" |
| @@ -8589,14 +12771,105 @@ $as_echo "no" >&6; } | |||
| 8589 | if test "$HAVE_DBUS" = yes; then | 12771 | if test "$HAVE_DBUS" = yes; then |
| 8590 | LIBS="$LIBS $DBUS_LIBS" | 12772 | LIBS="$LIBS $DBUS_LIBS" |
| 8591 | 12773 | ||
| 8592 | $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 12774 | cat >>confdefs.h <<\_ACEOF |
| 12775 | #define HAVE_DBUS 1 | ||
| 12776 | _ACEOF | ||
| 12777 | |||
| 12778 | |||
| 12779 | for ac_func in dbus_watch_get_unix_fd | ||
| 12780 | do | ||
| 12781 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 12782 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12783 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12784 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12785 | $as_echo_n "(cached) " >&6 | ||
| 12786 | else | ||
| 12787 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12788 | /* confdefs.h. */ | ||
| 12789 | _ACEOF | ||
| 12790 | cat confdefs.h >>conftest.$ac_ext | ||
| 12791 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12792 | /* end confdefs.h. */ | ||
| 12793 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12794 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12795 | #define $ac_func innocuous_$ac_func | ||
| 12796 | |||
| 12797 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12798 | which can conflict with char $ac_func (); below. | ||
| 12799 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12800 | <limits.h> exists even on freestanding compilers. */ | ||
| 12801 | |||
| 12802 | #ifdef __STDC__ | ||
| 12803 | # include <limits.h> | ||
| 12804 | #else | ||
| 12805 | # include <assert.h> | ||
| 12806 | #endif | ||
| 8593 | 12807 | ||
| 8594 | for ac_func in dbus_watch_get_unix_fd | 12808 | #undef $ac_func |
| 8595 | do : | 12809 | |
| 8596 | ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 12810 | /* Override any GCC internal prototype to avoid an error. |
| 8597 | if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 12811 | Use char because int might match the return type of a GCC |
| 12812 | builtin and then its argument prototype would still apply. */ | ||
| 12813 | #ifdef __cplusplus | ||
| 12814 | extern "C" | ||
| 12815 | #endif | ||
| 12816 | char $ac_func (); | ||
| 12817 | /* The GNU C library defines this for functions which it implements | ||
| 12818 | to always fail with ENOSYS. Some functions are actually named | ||
| 12819 | something starting with __ and the normal name is an alias. */ | ||
| 12820 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12821 | choke me | ||
| 12822 | #endif | ||
| 12823 | |||
| 12824 | int | ||
| 12825 | main () | ||
| 12826 | { | ||
| 12827 | return $ac_func (); | ||
| 12828 | ; | ||
| 12829 | return 0; | ||
| 12830 | } | ||
| 12831 | _ACEOF | ||
| 12832 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12833 | if { (ac_try="$ac_link" | ||
| 12834 | case "(($ac_try" in | ||
| 12835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12836 | *) ac_try_echo=$ac_try;; | ||
| 12837 | esac | ||
| 12838 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12839 | $as_echo "$ac_try_echo") >&5 | ||
| 12840 | (eval "$ac_link") 2>conftest.er1 | ||
| 12841 | ac_status=$? | ||
| 12842 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12843 | rm -f conftest.er1 | ||
| 12844 | cat conftest.err >&5 | ||
| 12845 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12846 | (exit $ac_status); } && { | ||
| 12847 | test -z "$ac_c_werror_flag" || | ||
| 12848 | test ! -s conftest.err | ||
| 12849 | } && test -s conftest$ac_exeext && { | ||
| 12850 | test "$cross_compiling" = yes || | ||
| 12851 | $as_test_x conftest$ac_exeext | ||
| 12852 | }; then | ||
| 12853 | eval "$as_ac_var=yes" | ||
| 12854 | else | ||
| 12855 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12857 | |||
| 12858 | eval "$as_ac_var=no" | ||
| 12859 | fi | ||
| 12860 | |||
| 12861 | rm -rf conftest.dSYM | ||
| 12862 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12863 | conftest$ac_exeext conftest.$ac_ext | ||
| 12864 | fi | ||
| 12865 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12866 | $as_echo "$as_val"'` | ||
| 12867 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12868 | $as_echo "$ac_res" >&6; } | ||
| 12869 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12870 | $as_echo "$as_val"'` = yes; then | ||
| 8598 | cat >>confdefs.h <<_ACEOF | 12871 | cat >>confdefs.h <<_ACEOF |
| 8599 | #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 12872 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8600 | _ACEOF | 12873 | _ACEOF |
| 8601 | 12874 | ||
| 8602 | fi | 12875 | fi |
| @@ -8614,9 +12887,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | |||
| 8614 | 12887 | ||
| 8615 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12888 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8616 | set dummy pkg-config; ac_word=$2 | 12889 | set dummy pkg-config; ac_word=$2 |
| 8617 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12890 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8618 | $as_echo_n "checking for $ac_word... " >&6; } | 12891 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8619 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12892 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8620 | $as_echo_n "(cached) " >&6 | 12893 | $as_echo_n "(cached) " >&6 |
| 8621 | else | 12894 | else |
| 8622 | case $PKG_CONFIG in | 12895 | case $PKG_CONFIG in |
| @@ -8629,14 +12902,14 @@ for as_dir in $PATH | |||
| 8629 | do | 12902 | do |
| 8630 | IFS=$as_save_IFS | 12903 | IFS=$as_save_IFS |
| 8631 | test -z "$as_dir" && as_dir=. | 12904 | test -z "$as_dir" && as_dir=. |
| 8632 | for ac_exec_ext in '' $ac_executable_extensions; do | 12905 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8633 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12906 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8634 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12907 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8635 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12908 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8636 | break 2 | 12909 | break 2 |
| 8637 | fi | 12910 | fi |
| 8638 | done | 12911 | done |
| 8639 | done | 12912 | done |
| 8640 | IFS=$as_save_IFS | 12913 | IFS=$as_save_IFS |
| 8641 | 12914 | ||
| 8642 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12915 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8645,10 +12918,10 @@ esac | |||
| 8645 | fi | 12918 | fi |
| 8646 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12919 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8647 | if test -n "$PKG_CONFIG"; then | 12920 | if test -n "$PKG_CONFIG"; then |
| 8648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12921 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8649 | $as_echo "$PKG_CONFIG" >&6; } | 12922 | $as_echo "$PKG_CONFIG" >&6; } |
| 8650 | else | 12923 | else |
| 8651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12924 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8652 | $as_echo "no" >&6; } | 12925 | $as_echo "no" >&6; } |
| 8653 | fi | 12926 | fi |
| 8654 | 12927 | ||
| @@ -8659,27 +12932,27 @@ fi | |||
| 8659 | else | 12932 | else |
| 8660 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12933 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8661 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12934 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 12935 | { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 |
| 8663 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 12936 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
| 8664 | 12937 | ||
| 8665 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 12938 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
| 8666 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12939 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8667 | $as_echo "yes" >&6; } | 12940 | $as_echo "yes" >&6; } |
| 8668 | succeeded=yes | 12941 | succeeded=yes |
| 8669 | 12942 | ||
| 8670 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 | 12943 | { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 |
| 8671 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 12944 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
| 8672 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12945 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 | 12946 | { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 |
| 8674 | $as_echo "$GCONF_CFLAGS" >&6; } | 12947 | $as_echo "$GCONF_CFLAGS" >&6; } |
| 8675 | 12948 | ||
| 8676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 | 12949 | { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 |
| 8677 | $as_echo_n "checking GCONF_LIBS... " >&6; } | 12950 | $as_echo_n "checking GCONF_LIBS... " >&6; } |
| 8678 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12951 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 | 12952 | { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 |
| 8680 | $as_echo "$GCONF_LIBS" >&6; } | 12953 | $as_echo "$GCONF_LIBS" >&6; } |
| 8681 | else | 12954 | else |
| 8682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12955 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8683 | $as_echo "no" >&6; } | 12956 | $as_echo "no" >&6; } |
| 8684 | GCONF_CFLAGS="" | 12957 | GCONF_CFLAGS="" |
| 8685 | GCONF_LIBS="" | 12958 | GCONF_LIBS="" |
| @@ -8705,7 +12978,9 @@ $as_echo "no" >&6; } | |||
| 8705 | 12978 | ||
| 8706 | if test "$HAVE_GCONF" = yes; then | 12979 | if test "$HAVE_GCONF" = yes; then |
| 8707 | 12980 | ||
| 8708 | $as_echo "#define HAVE_GCONF 1" >>confdefs.h | 12981 | cat >>confdefs.h <<\_ACEOF |
| 12982 | #define HAVE_GCONF 1 | ||
| 12983 | _ACEOF | ||
| 8709 | 12984 | ||
| 8710 | fi | 12985 | fi |
| 8711 | fi | 12986 | fi |
| @@ -8713,14 +12988,18 @@ fi | |||
| 8713 | HAVE_LIBSELINUX=no | 12988 | HAVE_LIBSELINUX=no |
| 8714 | LIBSELINUX_LIBS= | 12989 | LIBSELINUX_LIBS= |
| 8715 | if test "${with_selinux}" = "yes"; then | 12990 | if test "${with_selinux}" = "yes"; then |
| 8716 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 12991 | { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 |
| 8717 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 12992 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
| 8718 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 12993 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then |
| 8719 | $as_echo_n "(cached) " >&6 | 12994 | $as_echo_n "(cached) " >&6 |
| 8720 | else | 12995 | else |
| 8721 | ac_check_lib_save_LIBS=$LIBS | 12996 | ac_check_lib_save_LIBS=$LIBS |
| 8722 | LIBS="-lselinux $LIBS" | 12997 | LIBS="-lselinux $LIBS" |
| 8723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12998 | cat >conftest.$ac_ext <<_ACEOF |
| 12999 | /* confdefs.h. */ | ||
| 13000 | _ACEOF | ||
| 13001 | cat confdefs.h >>conftest.$ac_ext | ||
| 13002 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8724 | /* end confdefs.h. */ | 13003 | /* end confdefs.h. */ |
| 8725 | 13004 | ||
| 8726 | /* Override any GCC internal prototype to avoid an error. | 13005 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8738,18 +13017,43 @@ return lgetfilecon (); | |||
| 8738 | return 0; | 13017 | return 0; |
| 8739 | } | 13018 | } |
| 8740 | _ACEOF | 13019 | _ACEOF |
| 8741 | if ac_fn_c_try_link "$LINENO"; then : | 13020 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13021 | if { (ac_try="$ac_link" | ||
| 13022 | case "(($ac_try" in | ||
| 13023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13024 | *) ac_try_echo=$ac_try;; | ||
| 13025 | esac | ||
| 13026 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13027 | $as_echo "$ac_try_echo") >&5 | ||
| 13028 | (eval "$ac_link") 2>conftest.er1 | ||
| 13029 | ac_status=$? | ||
| 13030 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13031 | rm -f conftest.er1 | ||
| 13032 | cat conftest.err >&5 | ||
| 13033 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13034 | (exit $ac_status); } && { | ||
| 13035 | test -z "$ac_c_werror_flag" || | ||
| 13036 | test ! -s conftest.err | ||
| 13037 | } && test -s conftest$ac_exeext && { | ||
| 13038 | test "$cross_compiling" = yes || | ||
| 13039 | $as_test_x conftest$ac_exeext | ||
| 13040 | }; then | ||
| 8742 | ac_cv_lib_selinux_lgetfilecon=yes | 13041 | ac_cv_lib_selinux_lgetfilecon=yes |
| 8743 | else | 13042 | else |
| 8744 | ac_cv_lib_selinux_lgetfilecon=no | 13043 | $as_echo "$as_me: failed program was:" >&5 |
| 13044 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13045 | |||
| 13046 | ac_cv_lib_selinux_lgetfilecon=no | ||
| 8745 | fi | 13047 | fi |
| 8746 | rm -f core conftest.err conftest.$ac_objext \ | 13048 | |
| 8747 | conftest$ac_exeext conftest.$ac_ext | 13049 | rm -rf conftest.dSYM |
| 13050 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13051 | conftest$ac_exeext conftest.$ac_ext | ||
| 8748 | LIBS=$ac_check_lib_save_LIBS | 13052 | LIBS=$ac_check_lib_save_LIBS |
| 8749 | fi | 13053 | fi |
| 8750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 13054 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
| 8751 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 13055 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
| 8752 | if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 13056 | if test $ac_cv_lib_selinux_lgetfilecon = yes; then |
| 8753 | HAVE_LIBSELINUX=yes | 13057 | HAVE_LIBSELINUX=yes |
| 8754 | else | 13058 | else |
| 8755 | HAVE_LIBSELINUX=no | 13059 | HAVE_LIBSELINUX=no |
| @@ -8757,7 +13061,9 @@ fi | |||
| 8757 | 13061 | ||
| 8758 | if test "$HAVE_LIBSELINUX" = yes; then | 13062 | if test "$HAVE_LIBSELINUX" = yes; then |
| 8759 | 13063 | ||
| 8760 | $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h | 13064 | cat >>confdefs.h <<\_ACEOF |
| 13065 | #define HAVE_LIBSELINUX 1 | ||
| 13066 | _ACEOF | ||
| 8761 | 13067 | ||
| 8762 | LIBSELINUX_LIBS=-lselinux | 13068 | LIBSELINUX_LIBS=-lselinux |
| 8763 | fi | 13069 | fi |
| @@ -8768,12 +13074,16 @@ HAVE_XAW3D=no | |||
| 8768 | LUCID_LIBW= | 13074 | LUCID_LIBW= |
| 8769 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 13075 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8770 | if test "$with_xaw3d" != no; then | 13076 | if test "$with_xaw3d" != no; then |
| 8771 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 13077 | { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
| 8772 | $as_echo_n "checking for xaw3d... " >&6; } | 13078 | $as_echo_n "checking for xaw3d... " >&6; } |
| 8773 | if test "${emacs_cv_xaw3d+set}" = set; then : | 13079 | if test "${emacs_cv_xaw3d+set}" = set; then |
| 8774 | $as_echo_n "(cached) " >&6 | 13080 | $as_echo_n "(cached) " >&6 |
| 8775 | else | 13081 | else |
| 8776 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13082 | cat >conftest.$ac_ext <<_ACEOF |
| 13083 | /* confdefs.h. */ | ||
| 13084 | _ACEOF | ||
| 13085 | cat confdefs.h >>conftest.$ac_ext | ||
| 13086 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8777 | /* end confdefs.h. */ | 13087 | /* end confdefs.h. */ |
| 8778 | 13088 | ||
| 8779 | #include <X11/Intrinsic.h> | 13089 | #include <X11/Intrinsic.h> |
| @@ -8786,36 +13096,67 @@ main () | |||
| 8786 | return 0; | 13096 | return 0; |
| 8787 | } | 13097 | } |
| 8788 | _ACEOF | 13098 | _ACEOF |
| 8789 | if ac_fn_c_try_link "$LINENO"; then : | 13099 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13100 | if { (ac_try="$ac_link" | ||
| 13101 | case "(($ac_try" in | ||
| 13102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13103 | *) ac_try_echo=$ac_try;; | ||
| 13104 | esac | ||
| 13105 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13106 | $as_echo "$ac_try_echo") >&5 | ||
| 13107 | (eval "$ac_link") 2>conftest.er1 | ||
| 13108 | ac_status=$? | ||
| 13109 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13110 | rm -f conftest.er1 | ||
| 13111 | cat conftest.err >&5 | ||
| 13112 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13113 | (exit $ac_status); } && { | ||
| 13114 | test -z "$ac_c_werror_flag" || | ||
| 13115 | test ! -s conftest.err | ||
| 13116 | } && test -s conftest$ac_exeext && { | ||
| 13117 | test "$cross_compiling" = yes || | ||
| 13118 | $as_test_x conftest$ac_exeext | ||
| 13119 | }; then | ||
| 8790 | emacs_cv_xaw3d=yes | 13120 | emacs_cv_xaw3d=yes |
| 8791 | else | 13121 | else |
| 8792 | emacs_cv_xaw3d=no | 13122 | $as_echo "$as_me: failed program was:" >&5 |
| 13123 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13124 | |||
| 13125 | emacs_cv_xaw3d=no | ||
| 8793 | fi | 13126 | fi |
| 8794 | rm -f core conftest.err conftest.$ac_objext \ | 13127 | |
| 8795 | conftest$ac_exeext conftest.$ac_ext | 13128 | rm -rf conftest.dSYM |
| 13129 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13130 | conftest$ac_exeext conftest.$ac_ext | ||
| 8796 | fi | 13131 | fi |
| 8797 | 13132 | ||
| 8798 | else | 13133 | else |
| 8799 | emacs_cv_xaw3d=no | 13134 | emacs_cv_xaw3d=no |
| 8800 | fi | 13135 | fi |
| 8801 | if test $emacs_cv_xaw3d = yes; then | 13136 | if test $emacs_cv_xaw3d = yes; then |
| 8802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 13137 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8803 | $as_echo "yes; using Lucid toolkit" >&6; } | 13138 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8804 | USE_X_TOOLKIT=LUCID | 13139 | USE_X_TOOLKIT=LUCID |
| 8805 | HAVE_XAW3D=yes | 13140 | HAVE_XAW3D=yes |
| 8806 | LUCID_LIBW=-lXaw3d | 13141 | LUCID_LIBW=-lXaw3d |
| 8807 | 13142 | ||
| 8808 | $as_echo "#define HAVE_XAW3D 1" >>confdefs.h | 13143 | cat >>confdefs.h <<\_ACEOF |
| 13144 | #define HAVE_XAW3D 1 | ||
| 13145 | _ACEOF | ||
| 8809 | 13146 | ||
| 8810 | else | 13147 | else |
| 8811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13148 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8812 | $as_echo "no" >&6; } | 13149 | $as_echo "no" >&6; } |
| 8813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 13150 | { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 |
| 8814 | $as_echo_n "checking for libXaw... " >&6; } | 13151 | $as_echo_n "checking for libXaw... " >&6; } |
| 8815 | if test "${emacs_cv_xaw+set}" = set; then : | 13152 | if test "${emacs_cv_xaw+set}" = set; then |
| 8816 | $as_echo_n "(cached) " >&6 | 13153 | $as_echo_n "(cached) " >&6 |
| 8817 | else | 13154 | else |
| 8818 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13155 | cat >conftest.$ac_ext <<_ACEOF |
| 13156 | /* confdefs.h. */ | ||
| 13157 | _ACEOF | ||
| 13158 | cat confdefs.h >>conftest.$ac_ext | ||
| 13159 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8819 | /* end confdefs.h. */ | 13160 | /* end confdefs.h. */ |
| 8820 | 13161 | ||
| 8821 | #include <X11/Intrinsic.h> | 13162 | #include <X11/Intrinsic.h> |
| @@ -8828,24 +13169,51 @@ main () | |||
| 8828 | return 0; | 13169 | return 0; |
| 8829 | } | 13170 | } |
| 8830 | _ACEOF | 13171 | _ACEOF |
| 8831 | if ac_fn_c_try_link "$LINENO"; then : | 13172 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13173 | if { (ac_try="$ac_link" | ||
| 13174 | case "(($ac_try" in | ||
| 13175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13176 | *) ac_try_echo=$ac_try;; | ||
| 13177 | esac | ||
| 13178 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13179 | $as_echo "$ac_try_echo") >&5 | ||
| 13180 | (eval "$ac_link") 2>conftest.er1 | ||
| 13181 | ac_status=$? | ||
| 13182 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13183 | rm -f conftest.er1 | ||
| 13184 | cat conftest.err >&5 | ||
| 13185 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13186 | (exit $ac_status); } && { | ||
| 13187 | test -z "$ac_c_werror_flag" || | ||
| 13188 | test ! -s conftest.err | ||
| 13189 | } && test -s conftest$ac_exeext && { | ||
| 13190 | test "$cross_compiling" = yes || | ||
| 13191 | $as_test_x conftest$ac_exeext | ||
| 13192 | }; then | ||
| 8832 | emacs_cv_xaw=yes | 13193 | emacs_cv_xaw=yes |
| 8833 | else | 13194 | else |
| 8834 | emacs_cv_xaw=no | 13195 | $as_echo "$as_me: failed program was:" >&5 |
| 13196 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13197 | |||
| 13198 | emacs_cv_xaw=no | ||
| 8835 | fi | 13199 | fi |
| 8836 | rm -f core conftest.err conftest.$ac_objext \ | 13200 | |
| 8837 | conftest$ac_exeext conftest.$ac_ext | 13201 | rm -rf conftest.dSYM |
| 13202 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13203 | conftest$ac_exeext conftest.$ac_ext | ||
| 8838 | fi | 13204 | fi |
| 8839 | 13205 | ||
| 8840 | if test $emacs_cv_xaw = yes; then | 13206 | if test $emacs_cv_xaw = yes; then |
| 8841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 13207 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8842 | $as_echo "yes; using Lucid toolkit" >&6; } | 13208 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8843 | USE_X_TOOLKIT=LUCID | 13209 | USE_X_TOOLKIT=LUCID |
| 8844 | LUCID_LIBW=-lXaw | 13210 | LUCID_LIBW=-lXaw |
| 8845 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 13211 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8846 | as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 13212 | { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 |
| 13213 | $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | ||
| 13214 | { (exit 1); exit 1; }; } | ||
| 8847 | else | 13215 | else |
| 8848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 13216 | { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 |
| 8849 | $as_echo "no; do not use toolkit by default" >&6; } | 13217 | $as_echo "no; do not use toolkit by default" >&6; } |
| 8850 | USE_X_TOOLKIT=none | 13218 | USE_X_TOOLKIT=none |
| 8851 | fi | 13219 | fi |
| @@ -8856,12 +13224,16 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT | |||
| 8856 | 13224 | ||
| 8857 | LIBXTR6= | 13225 | LIBXTR6= |
| 8858 | if test "${USE_X_TOOLKIT}" != "none"; then | 13226 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8859 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 13227 | { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
| 8860 | $as_echo_n "checking X11 toolkit version... " >&6; } | 13228 | $as_echo_n "checking X11 toolkit version... " >&6; } |
| 8861 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 13229 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
| 8862 | $as_echo_n "(cached) " >&6 | 13230 | $as_echo_n "(cached) " >&6 |
| 8863 | else | 13231 | else |
| 8864 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13232 | cat >conftest.$ac_ext <<_ACEOF |
| 13233 | /* confdefs.h. */ | ||
| 13234 | _ACEOF | ||
| 13235 | cat confdefs.h >>conftest.$ac_ext | ||
| 13236 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8865 | /* end confdefs.h. */ | 13237 | /* end confdefs.h. */ |
| 8866 | #include <X11/Intrinsic.h> | 13238 | #include <X11/Intrinsic.h> |
| 8867 | int | 13239 | int |
| @@ -8875,21 +13247,48 @@ fail; | |||
| 8875 | return 0; | 13247 | return 0; |
| 8876 | } | 13248 | } |
| 8877 | _ACEOF | 13249 | _ACEOF |
| 8878 | if ac_fn_c_try_link "$LINENO"; then : | 13250 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13251 | if { (ac_try="$ac_link" | ||
| 13252 | case "(($ac_try" in | ||
| 13253 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13254 | *) ac_try_echo=$ac_try;; | ||
| 13255 | esac | ||
| 13256 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13257 | $as_echo "$ac_try_echo") >&5 | ||
| 13258 | (eval "$ac_link") 2>conftest.er1 | ||
| 13259 | ac_status=$? | ||
| 13260 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13261 | rm -f conftest.er1 | ||
| 13262 | cat conftest.err >&5 | ||
| 13263 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13264 | (exit $ac_status); } && { | ||
| 13265 | test -z "$ac_c_werror_flag" || | ||
| 13266 | test ! -s conftest.err | ||
| 13267 | } && test -s conftest$ac_exeext && { | ||
| 13268 | test "$cross_compiling" = yes || | ||
| 13269 | $as_test_x conftest$ac_exeext | ||
| 13270 | }; then | ||
| 8879 | emacs_cv_x11_toolkit_version_6=yes | 13271 | emacs_cv_x11_toolkit_version_6=yes |
| 8880 | else | 13272 | else |
| 8881 | emacs_cv_x11_toolkit_version_6=no | 13273 | $as_echo "$as_me: failed program was:" >&5 |
| 13274 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13275 | |||
| 13276 | emacs_cv_x11_toolkit_version_6=no | ||
| 8882 | fi | 13277 | fi |
| 8883 | rm -f core conftest.err conftest.$ac_objext \ | 13278 | |
| 8884 | conftest$ac_exeext conftest.$ac_ext | 13279 | rm -rf conftest.dSYM |
| 13280 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13281 | conftest$ac_exeext conftest.$ac_ext | ||
| 8885 | fi | 13282 | fi |
| 8886 | 13283 | ||
| 8887 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13284 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
| 8888 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13285 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 8889 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 13286 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 8890 | $as_echo "6 or newer" >&6; } | 13287 | $as_echo "6 or newer" >&6; } |
| 8891 | 13288 | ||
| 8892 | $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | 13289 | cat >>confdefs.h <<\_ACEOF |
| 13290 | #define HAVE_X11XTR6 1 | ||
| 13291 | _ACEOF | ||
| 8893 | 13292 | ||
| 8894 | LIBXTR6="-lSM -lICE" | 13293 | LIBXTR6="-lSM -lICE" |
| 8895 | case "$opsys" in | 13294 | case "$opsys" in |
| @@ -8897,7 +13296,7 @@ $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | |||
| 8897 | unixware) LIBXTR6="$LIBXTR6 -lw" ;; | 13296 | unixware) LIBXTR6="$LIBXTR6 -lw" ;; |
| 8898 | esac | 13297 | esac |
| 8899 | else | 13298 | else |
| 8900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 13299 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 8901 | $as_echo "before 6" >&6; } | 13300 | $as_echo "before 6" >&6; } |
| 8902 | fi | 13301 | fi |
| 8903 | 13302 | ||
| @@ -8907,14 +13306,19 @@ $as_echo "before 6" >&6; } | |||
| 8907 | else | 13306 | else |
| 8908 | LIBS="-lXt $LIBS" | 13307 | LIBS="-lXt $LIBS" |
| 8909 | fi | 13308 | fi |
| 8910 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13309 | |
| 13310 | { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | ||
| 8911 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 13311 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
| 8912 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 13312 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
| 8913 | $as_echo_n "(cached) " >&6 | 13313 | $as_echo_n "(cached) " >&6 |
| 8914 | else | 13314 | else |
| 8915 | ac_check_lib_save_LIBS=$LIBS | 13315 | ac_check_lib_save_LIBS=$LIBS |
| 8916 | LIBS="-lXmu $LIBS" | 13316 | LIBS="-lXmu $LIBS" |
| 8917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13317 | cat >conftest.$ac_ext <<_ACEOF |
| 13318 | /* confdefs.h. */ | ||
| 13319 | _ACEOF | ||
| 13320 | cat confdefs.h >>conftest.$ac_ext | ||
| 13321 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8918 | /* end confdefs.h. */ | 13322 | /* end confdefs.h. */ |
| 8919 | 13323 | ||
| 8920 | /* Override any GCC internal prototype to avoid an error. | 13324 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8932,18 +13336,43 @@ return XmuConvertStandardSelection (); | |||
| 8932 | return 0; | 13336 | return 0; |
| 8933 | } | 13337 | } |
| 8934 | _ACEOF | 13338 | _ACEOF |
| 8935 | if ac_fn_c_try_link "$LINENO"; then : | 13339 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13340 | if { (ac_try="$ac_link" | ||
| 13341 | case "(($ac_try" in | ||
| 13342 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13343 | *) ac_try_echo=$ac_try;; | ||
| 13344 | esac | ||
| 13345 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13346 | $as_echo "$ac_try_echo") >&5 | ||
| 13347 | (eval "$ac_link") 2>conftest.er1 | ||
| 13348 | ac_status=$? | ||
| 13349 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13350 | rm -f conftest.er1 | ||
| 13351 | cat conftest.err >&5 | ||
| 13352 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13353 | (exit $ac_status); } && { | ||
| 13354 | test -z "$ac_c_werror_flag" || | ||
| 13355 | test ! -s conftest.err | ||
| 13356 | } && test -s conftest$ac_exeext && { | ||
| 13357 | test "$cross_compiling" = yes || | ||
| 13358 | $as_test_x conftest$ac_exeext | ||
| 13359 | }; then | ||
| 8936 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13360 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
| 8937 | else | 13361 | else |
| 8938 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13362 | $as_echo "$as_me: failed program was:" >&5 |
| 13363 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13364 | |||
| 13365 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | ||
| 8939 | fi | 13366 | fi |
| 8940 | rm -f core conftest.err conftest.$ac_objext \ | 13367 | |
| 8941 | conftest$ac_exeext conftest.$ac_ext | 13368 | rm -rf conftest.dSYM |
| 13369 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13370 | conftest$ac_exeext conftest.$ac_ext | ||
| 8942 | LIBS=$ac_check_lib_save_LIBS | 13371 | LIBS=$ac_check_lib_save_LIBS |
| 8943 | fi | 13372 | fi |
| 8944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13373 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
| 8945 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 13374 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
| 8946 | if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 13375 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
| 8947 | cat >>confdefs.h <<_ACEOF | 13376 | cat >>confdefs.h <<_ACEOF |
| 8948 | #define HAVE_LIBXMU 1 | 13377 | #define HAVE_LIBXMU 1 |
| 8949 | _ACEOF | 13378 | _ACEOF |
| @@ -8968,14 +13397,19 @@ esac | |||
| 8968 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13397 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
| 8969 | if test "${HAVE_X11}" = "yes"; then | 13398 | if test "${HAVE_X11}" = "yes"; then |
| 8970 | if test "${USE_X_TOOLKIT}" != "none"; then | 13399 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 13400 | |
| 13401 | { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | ||
| 8972 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 13402 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
| 8973 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 13403 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
| 8974 | $as_echo_n "(cached) " >&6 | 13404 | $as_echo_n "(cached) " >&6 |
| 8975 | else | 13405 | else |
| 8976 | ac_check_lib_save_LIBS=$LIBS | 13406 | ac_check_lib_save_LIBS=$LIBS |
| 8977 | LIBS="-lXext $LIBS" | 13407 | LIBS="-lXext $LIBS" |
| 8978 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13408 | cat >conftest.$ac_ext <<_ACEOF |
| 13409 | /* confdefs.h. */ | ||
| 13410 | _ACEOF | ||
| 13411 | cat confdefs.h >>conftest.$ac_ext | ||
| 13412 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8979 | /* end confdefs.h. */ | 13413 | /* end confdefs.h. */ |
| 8980 | 13414 | ||
| 8981 | /* Override any GCC internal prototype to avoid an error. | 13415 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8993,18 +13427,43 @@ return XShapeQueryExtension (); | |||
| 8993 | return 0; | 13427 | return 0; |
| 8994 | } | 13428 | } |
| 8995 | _ACEOF | 13429 | _ACEOF |
| 8996 | if ac_fn_c_try_link "$LINENO"; then : | 13430 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13431 | if { (ac_try="$ac_link" | ||
| 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_link") 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_exeext && { | ||
| 13448 | test "$cross_compiling" = yes || | ||
| 13449 | $as_test_x conftest$ac_exeext | ||
| 13450 | }; then | ||
| 8997 | ac_cv_lib_Xext_XShapeQueryExtension=yes | 13451 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
| 8998 | else | 13452 | else |
| 8999 | ac_cv_lib_Xext_XShapeQueryExtension=no | 13453 | $as_echo "$as_me: failed program was:" >&5 |
| 13454 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13455 | |||
| 13456 | ac_cv_lib_Xext_XShapeQueryExtension=no | ||
| 9000 | fi | 13457 | fi |
| 9001 | rm -f core conftest.err conftest.$ac_objext \ | 13458 | |
| 9002 | conftest$ac_exeext conftest.$ac_ext | 13459 | rm -rf conftest.dSYM |
| 13460 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13461 | conftest$ac_exeext conftest.$ac_ext | ||
| 9003 | LIBS=$ac_check_lib_save_LIBS | 13462 | LIBS=$ac_check_lib_save_LIBS |
| 9004 | fi | 13463 | fi |
| 9005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13464 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
| 9006 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 13465 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
| 9007 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 13466 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
| 9008 | cat >>confdefs.h <<_ACEOF | 13467 | cat >>confdefs.h <<_ACEOF |
| 9009 | #define HAVE_LIBXEXT 1 | 13468 | #define HAVE_LIBXEXT 1 |
| 9010 | _ACEOF | 13469 | _ACEOF |
| @@ -9018,12 +13477,16 @@ fi | |||
| 9018 | 13477 | ||
| 9019 | LIBXP= | 13478 | LIBXP= |
| 9020 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13479 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 9021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 13480 | { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
| 9022 | $as_echo_n "checking for Motif version 2.1... " >&6; } | 13481 | $as_echo_n "checking for Motif version 2.1... " >&6; } |
| 9023 | if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 13482 | if test "${emacs_cv_motif_version_2_1+set}" = set; then |
| 9024 | $as_echo_n "(cached) " >&6 | 13483 | $as_echo_n "(cached) " >&6 |
| 9025 | else | 13484 | else |
| 9026 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13485 | cat >conftest.$ac_ext <<_ACEOF |
| 13486 | /* confdefs.h. */ | ||
| 13487 | _ACEOF | ||
| 13488 | cat confdefs.h >>conftest.$ac_ext | ||
| 13489 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9027 | /* end confdefs.h. */ | 13490 | /* end confdefs.h. */ |
| 9028 | #include <Xm/Xm.h> | 13491 | #include <Xm/Xm.h> |
| 9029 | int | 13492 | int |
| @@ -9038,24 +13501,49 @@ Motif version prior to 2.1. | |||
| 9038 | return 0; | 13501 | return 0; |
| 9039 | } | 13502 | } |
| 9040 | _ACEOF | 13503 | _ACEOF |
| 9041 | if ac_fn_c_try_compile "$LINENO"; then : | 13504 | rm -f conftest.$ac_objext |
| 13505 | if { (ac_try="$ac_compile" | ||
| 13506 | case "(($ac_try" in | ||
| 13507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13508 | *) ac_try_echo=$ac_try;; | ||
| 13509 | esac | ||
| 13510 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13511 | $as_echo "$ac_try_echo") >&5 | ||
| 13512 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13513 | ac_status=$? | ||
| 13514 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13515 | rm -f conftest.er1 | ||
| 13516 | cat conftest.err >&5 | ||
| 13517 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13518 | (exit $ac_status); } && { | ||
| 13519 | test -z "$ac_c_werror_flag" || | ||
| 13520 | test ! -s conftest.err | ||
| 13521 | } && test -s conftest.$ac_objext; then | ||
| 9042 | emacs_cv_motif_version_2_1=yes | 13522 | emacs_cv_motif_version_2_1=yes |
| 9043 | else | 13523 | else |
| 9044 | emacs_cv_motif_version_2_1=no | 13524 | $as_echo "$as_me: failed program was:" >&5 |
| 13525 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13526 | |||
| 13527 | emacs_cv_motif_version_2_1=no | ||
| 9045 | fi | 13528 | fi |
| 13529 | |||
| 9046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13530 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9047 | fi | 13531 | fi |
| 9048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 13532 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
| 9049 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 13533 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
| 9050 | if test $emacs_cv_motif_version_2_1 = yes; then | 13534 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 9051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 13535 | { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
| 9052 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 13536 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
| 9053 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 13537 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
| 9054 | $as_echo_n "(cached) " >&6 | 13538 | $as_echo_n "(cached) " >&6 |
| 9055 | else | 13539 | else |
| 9056 | ac_check_lib_save_LIBS=$LIBS | 13540 | ac_check_lib_save_LIBS=$LIBS |
| 9057 | LIBS="-lXp $LIBS" | 13541 | LIBS="-lXp $LIBS" |
| 9058 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13542 | cat >conftest.$ac_ext <<_ACEOF |
| 13543 | /* confdefs.h. */ | ||
| 13544 | _ACEOF | ||
| 13545 | cat confdefs.h >>conftest.$ac_ext | ||
| 13546 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9059 | /* end confdefs.h. */ | 13547 | /* end confdefs.h. */ |
| 9060 | 13548 | ||
| 9061 | /* Override any GCC internal prototype to avoid an error. | 13549 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9073,25 +13561,50 @@ return XpCreateContext (); | |||
| 9073 | return 0; | 13561 | return 0; |
| 9074 | } | 13562 | } |
| 9075 | _ACEOF | 13563 | _ACEOF |
| 9076 | if ac_fn_c_try_link "$LINENO"; then : | 13564 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13565 | if { (ac_try="$ac_link" | ||
| 13566 | case "(($ac_try" in | ||
| 13567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13568 | *) ac_try_echo=$ac_try;; | ||
| 13569 | esac | ||
| 13570 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13571 | $as_echo "$ac_try_echo") >&5 | ||
| 13572 | (eval "$ac_link") 2>conftest.er1 | ||
| 13573 | ac_status=$? | ||
| 13574 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13575 | rm -f conftest.er1 | ||
| 13576 | cat conftest.err >&5 | ||
| 13577 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13578 | (exit $ac_status); } && { | ||
| 13579 | test -z "$ac_c_werror_flag" || | ||
| 13580 | test ! -s conftest.err | ||
| 13581 | } && test -s conftest$ac_exeext && { | ||
| 13582 | test "$cross_compiling" = yes || | ||
| 13583 | $as_test_x conftest$ac_exeext | ||
| 13584 | }; then | ||
| 9077 | ac_cv_lib_Xp_XpCreateContext=yes | 13585 | ac_cv_lib_Xp_XpCreateContext=yes |
| 9078 | else | 13586 | else |
| 9079 | ac_cv_lib_Xp_XpCreateContext=no | 13587 | $as_echo "$as_me: failed program was:" >&5 |
| 13588 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13589 | |||
| 13590 | ac_cv_lib_Xp_XpCreateContext=no | ||
| 9080 | fi | 13591 | fi |
| 9081 | rm -f core conftest.err conftest.$ac_objext \ | 13592 | |
| 9082 | conftest$ac_exeext conftest.$ac_ext | 13593 | rm -rf conftest.dSYM |
| 13594 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13595 | conftest$ac_exeext conftest.$ac_ext | ||
| 9083 | LIBS=$ac_check_lib_save_LIBS | 13596 | LIBS=$ac_check_lib_save_LIBS |
| 9084 | fi | 13597 | fi |
| 9085 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13598 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
| 9086 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 13599 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
| 9087 | if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 13600 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
| 9088 | LIBXP=-lXp | 13601 | LIBXP=-lXp |
| 9089 | fi | 13602 | fi |
| 9090 | 13603 | ||
| 9091 | else | 13604 | else |
| 9092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 13605 | { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
| 9093 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 13606 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
| 9094 | if test "${emacs_cv_lesstif+set}" = set; then : | 13607 | if test "${emacs_cv_lesstif+set}" = set; then |
| 9095 | $as_echo_n "(cached) " >&6 | 13608 | $as_echo_n "(cached) " >&6 |
| 9096 | else | 13609 | else |
| 9097 | # We put this in CFLAGS temporarily to precede other -I options | 13610 | # We put this in CFLAGS temporarily to precede other -I options |
| @@ -9101,7 +13614,11 @@ else | |||
| 9101 | OLD_CFLAGS=$CFLAGS | 13614 | OLD_CFLAGS=$CFLAGS |
| 9102 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 13615 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
| 9103 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 13616 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
| 9104 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13617 | cat >conftest.$ac_ext <<_ACEOF |
| 13618 | /* confdefs.h. */ | ||
| 13619 | _ACEOF | ||
| 13620 | cat confdefs.h >>conftest.$ac_ext | ||
| 13621 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9105 | /* end confdefs.h. */ | 13622 | /* end confdefs.h. */ |
| 9106 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 13623 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
| 9107 | int | 13624 | int |
| @@ -9112,14 +13629,35 @@ int x = 5; | |||
| 9112 | return 0; | 13629 | return 0; |
| 9113 | } | 13630 | } |
| 9114 | _ACEOF | 13631 | _ACEOF |
| 9115 | if ac_fn_c_try_compile "$LINENO"; then : | 13632 | rm -f conftest.$ac_objext |
| 13633 | if { (ac_try="$ac_compile" | ||
| 13634 | case "(($ac_try" in | ||
| 13635 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13636 | *) ac_try_echo=$ac_try;; | ||
| 13637 | esac | ||
| 13638 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13639 | $as_echo "$ac_try_echo") >&5 | ||
| 13640 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13641 | ac_status=$? | ||
| 13642 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13643 | rm -f conftest.er1 | ||
| 13644 | cat conftest.err >&5 | ||
| 13645 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13646 | (exit $ac_status); } && { | ||
| 13647 | test -z "$ac_c_werror_flag" || | ||
| 13648 | test ! -s conftest.err | ||
| 13649 | } && test -s conftest.$ac_objext; then | ||
| 9116 | emacs_cv_lesstif=yes | 13650 | emacs_cv_lesstif=yes |
| 9117 | else | 13651 | else |
| 9118 | emacs_cv_lesstif=no | 13652 | $as_echo "$as_me: failed program was:" >&5 |
| 13653 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13654 | |||
| 13655 | emacs_cv_lesstif=no | ||
| 9119 | fi | 13656 | fi |
| 13657 | |||
| 9120 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13658 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9121 | fi | 13659 | fi |
| 9122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 | 13660 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
| 9123 | $as_echo "$emacs_cv_lesstif" >&6; } | 13661 | $as_echo "$emacs_cv_lesstif" >&6; } |
| 9124 | if test $emacs_cv_lesstif = yes; then | 13662 | if test $emacs_cv_lesstif = yes; then |
| 9125 | # Make sure this -I option remains in CPPFLAGS after it is set | 13663 | # Make sure this -I option remains in CPPFLAGS after it is set |
| @@ -9137,31 +13675,44 @@ $as_echo "$emacs_cv_lesstif" >&6; } | |||
| 9137 | fi | 13675 | fi |
| 9138 | 13676 | ||
| 9139 | 13677 | ||
| 13678 | |||
| 9140 | USE_TOOLKIT_SCROLL_BARS=no | 13679 | USE_TOOLKIT_SCROLL_BARS=no |
| 9141 | if test "${with_toolkit_scroll_bars}" != "no"; then | 13680 | if test "${with_toolkit_scroll_bars}" != "no"; then |
| 9142 | if test "${USE_X_TOOLKIT}" != "none"; then | 13681 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 9143 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13682 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 9144 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13683 | cat >>confdefs.h <<\_ACEOF |
| 13684 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13685 | _ACEOF | ||
| 9145 | 13686 | ||
| 9146 | HAVE_XAW3D=no | 13687 | HAVE_XAW3D=no |
| 9147 | USE_TOOLKIT_SCROLL_BARS=yes | 13688 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9148 | elif test "${HAVE_XAW3D}" = "yes"; then | 13689 | elif test "${HAVE_XAW3D}" = "yes"; then |
| 9149 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13690 | cat >>confdefs.h <<\_ACEOF |
| 13691 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13692 | _ACEOF | ||
| 9150 | 13693 | ||
| 9151 | USE_TOOLKIT_SCROLL_BARS=yes | 13694 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9152 | fi | 13695 | fi |
| 9153 | elif test "${HAVE_GTK}" = "yes"; then | 13696 | elif test "${HAVE_GTK}" = "yes"; then |
| 9154 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13697 | cat >>confdefs.h <<\_ACEOF |
| 13698 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13699 | _ACEOF | ||
| 9155 | 13700 | ||
| 9156 | USE_TOOLKIT_SCROLL_BARS=yes | 13701 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9157 | elif test "${HAVE_NS}" = "yes"; then | 13702 | elif test "${HAVE_NS}" = "yes"; then |
| 9158 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13703 | cat >>confdefs.h <<\_ACEOF |
| 13704 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13705 | _ACEOF | ||
| 9159 | 13706 | ||
| 9160 | USE_TOOLKIT_SCROLL_BARS=yes | 13707 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9161 | fi | 13708 | fi |
| 9162 | fi | 13709 | fi |
| 9163 | 13710 | ||
| 9164 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13711 | cat >conftest.$ac_ext <<_ACEOF |
| 13712 | /* confdefs.h. */ | ||
| 13713 | _ACEOF | ||
| 13714 | cat confdefs.h >>conftest.$ac_ext | ||
| 13715 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9165 | /* end confdefs.h. */ | 13716 | /* end confdefs.h. */ |
| 9166 | 13717 | ||
| 9167 | #include <X11/Xlib.h> | 13718 | #include <X11/Xlib.h> |
| @@ -9174,20 +13725,45 @@ XIMProc callback; | |||
| 9174 | return 0; | 13725 | return 0; |
| 9175 | } | 13726 | } |
| 9176 | _ACEOF | 13727 | _ACEOF |
| 9177 | if ac_fn_c_try_compile "$LINENO"; then : | 13728 | rm -f conftest.$ac_objext |
| 13729 | if { (ac_try="$ac_compile" | ||
| 13730 | case "(($ac_try" in | ||
| 13731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13732 | *) ac_try_echo=$ac_try;; | ||
| 13733 | esac | ||
| 13734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13735 | $as_echo "$ac_try_echo") >&5 | ||
| 13736 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13737 | ac_status=$? | ||
| 13738 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13739 | rm -f conftest.er1 | ||
| 13740 | cat conftest.err >&5 | ||
| 13741 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13742 | (exit $ac_status); } && { | ||
| 13743 | test -z "$ac_c_werror_flag" || | ||
| 13744 | test ! -s conftest.err | ||
| 13745 | } && test -s conftest.$ac_objext; then | ||
| 9178 | HAVE_XIM=yes | 13746 | HAVE_XIM=yes |
| 9179 | 13747 | ||
| 9180 | $as_echo "#define HAVE_XIM 1" >>confdefs.h | 13748 | cat >>confdefs.h <<\_ACEOF |
| 13749 | #define HAVE_XIM 1 | ||
| 13750 | _ACEOF | ||
| 9181 | 13751 | ||
| 9182 | else | 13752 | else |
| 9183 | HAVE_XIM=no | 13753 | $as_echo "$as_me: failed program was:" >&5 |
| 13754 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13755 | |||
| 13756 | HAVE_XIM=no | ||
| 9184 | fi | 13757 | fi |
| 13758 | |||
| 9185 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13759 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9186 | 13760 | ||
| 9187 | 13761 | ||
| 9188 | if test "${with_xim}" != "no"; then | 13762 | if test "${with_xim}" != "no"; then |
| 9189 | 13763 | ||
| 9190 | $as_echo "#define USE_XIM 1" >>confdefs.h | 13764 | cat >>confdefs.h <<\_ACEOF |
| 13765 | #define USE_XIM 1 | ||
| 13766 | _ACEOF | ||
| 9191 | 13767 | ||
| 9192 | fi | 13768 | fi |
| 9193 | 13769 | ||
| @@ -9197,7 +13773,11 @@ if test "${HAVE_XIM}" != "no"; then | |||
| 9197 | if test "$GCC" = yes; then | 13773 | if test "$GCC" = yes; then |
| 9198 | CFLAGS="$CFLAGS --pedantic-errors" | 13774 | CFLAGS="$CFLAGS --pedantic-errors" |
| 9199 | fi | 13775 | fi |
| 9200 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13776 | cat >conftest.$ac_ext <<_ACEOF |
| 13777 | /* confdefs.h. */ | ||
| 13778 | _ACEOF | ||
| 13779 | cat confdefs.h >>conftest.$ac_ext | ||
| 13780 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9201 | /* end confdefs.h. */ | 13781 | /* end confdefs.h. */ |
| 9202 | 13782 | ||
| 9203 | #include <X11/Xlib.h> | 13783 | #include <X11/Xlib.h> |
| @@ -9223,15 +13803,43 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | |||
| 9223 | return 0; | 13803 | return 0; |
| 9224 | } | 13804 | } |
| 9225 | _ACEOF | 13805 | _ACEOF |
| 9226 | if ac_fn_c_try_compile "$LINENO"; then : | 13806 | rm -f conftest.$ac_objext |
| 13807 | if { (ac_try="$ac_compile" | ||
| 13808 | case "(($ac_try" in | ||
| 13809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13810 | *) ac_try_echo=$ac_try;; | ||
| 13811 | esac | ||
| 13812 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13813 | $as_echo "$ac_try_echo") >&5 | ||
| 13814 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13815 | ac_status=$? | ||
| 13816 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13817 | rm -f conftest.er1 | ||
| 13818 | cat conftest.err >&5 | ||
| 13819 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13820 | (exit $ac_status); } && { | ||
| 13821 | test -z "$ac_c_werror_flag" || | ||
| 13822 | test ! -s conftest.err | ||
| 13823 | } && test -s conftest.$ac_objext; then | ||
| 9227 | emacs_cv_arg6_star=yes | 13824 | emacs_cv_arg6_star=yes |
| 13825 | else | ||
| 13826 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13827 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13828 | |||
| 13829 | |||
| 9228 | fi | 13830 | fi |
| 13831 | |||
| 9229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9230 | if test "$emacs_cv_arg6_star" = yes; then | 13833 | |
| 9231 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h | 13834 | if test "$emacs_cv_arg6_star" = yes; then |
| 13835 | cat >>confdefs.h <<\_ACEOF | ||
| 13836 | #define XRegisterIMInstantiateCallback_arg6 XPointer* | ||
| 13837 | _ACEOF | ||
| 9232 | 13838 | ||
| 9233 | else | 13839 | else |
| 9234 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h | 13840 | cat >>confdefs.h <<\_ACEOF |
| 13841 | #define XRegisterIMInstantiateCallback_arg6 XPointer | ||
| 13842 | _ACEOF | ||
| 9235 | 13843 | ||
| 9236 | fi | 13844 | fi |
| 9237 | CFLAGS=$late_CFLAGS | 13845 | CFLAGS=$late_CFLAGS |
| @@ -9248,9 +13856,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9248 | 13856 | ||
| 9249 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13857 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9250 | set dummy pkg-config; ac_word=$2 | 13858 | set dummy pkg-config; ac_word=$2 |
| 9251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13859 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9252 | $as_echo_n "checking for $ac_word... " >&6; } | 13860 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9253 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13861 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9254 | $as_echo_n "(cached) " >&6 | 13862 | $as_echo_n "(cached) " >&6 |
| 9255 | else | 13863 | else |
| 9256 | case $PKG_CONFIG in | 13864 | case $PKG_CONFIG in |
| @@ -9263,14 +13871,14 @@ for as_dir in $PATH | |||
| 9263 | do | 13871 | do |
| 9264 | IFS=$as_save_IFS | 13872 | IFS=$as_save_IFS |
| 9265 | test -z "$as_dir" && as_dir=. | 13873 | test -z "$as_dir" && as_dir=. |
| 9266 | for ac_exec_ext in '' $ac_executable_extensions; do | 13874 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9267 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13875 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9268 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13876 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9269 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13877 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9270 | break 2 | 13878 | break 2 |
| 9271 | fi | 13879 | fi |
| 9272 | done | 13880 | done |
| 9273 | done | 13881 | done |
| 9274 | IFS=$as_save_IFS | 13882 | IFS=$as_save_IFS |
| 9275 | 13883 | ||
| 9276 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13884 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9279,10 +13887,10 @@ esac | |||
| 9279 | fi | 13887 | fi |
| 9280 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13888 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9281 | if test -n "$PKG_CONFIG"; then | 13889 | if test -n "$PKG_CONFIG"; then |
| 9282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13890 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9283 | $as_echo "$PKG_CONFIG" >&6; } | 13891 | $as_echo "$PKG_CONFIG" >&6; } |
| 9284 | else | 13892 | else |
| 9285 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13893 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9286 | $as_echo "no" >&6; } | 13894 | $as_echo "no" >&6; } |
| 9287 | fi | 13895 | fi |
| 9288 | 13896 | ||
| @@ -9293,27 +13901,27 @@ fi | |||
| 9293 | else | 13901 | else |
| 9294 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13902 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9295 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13903 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 13904 | { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 |
| 9297 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 13905 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
| 9298 | 13906 | ||
| 9299 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 13907 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
| 9300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13908 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9301 | $as_echo "yes" >&6; } | 13909 | $as_echo "yes" >&6; } |
| 9302 | succeeded=yes | 13910 | succeeded=yes |
| 9303 | 13911 | ||
| 9304 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 | 13912 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 |
| 9305 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 13913 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
| 9306 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13914 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 | 13915 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 |
| 9308 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 13916 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
| 9309 | 13917 | ||
| 9310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 | 13918 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 |
| 9311 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 13919 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
| 9312 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13920 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9313 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 | 13921 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 |
| 9314 | $as_echo "$FONTCONFIG_LIBS" >&6; } | 13922 | $as_echo "$FONTCONFIG_LIBS" >&6; } |
| 9315 | else | 13923 | else |
| 9316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13924 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9317 | $as_echo "no" >&6; } | 13925 | $as_echo "no" >&6; } |
| 9318 | FONTCONFIG_CFLAGS="" | 13926 | FONTCONFIG_CFLAGS="" |
| 9319 | FONTCONFIG_LIBS="" | 13927 | FONTCONFIG_LIBS="" |
| @@ -9350,9 +13958,9 @@ $as_echo "no" >&6; } | |||
| 9350 | 13958 | ||
| 9351 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13959 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9352 | set dummy pkg-config; ac_word=$2 | 13960 | set dummy pkg-config; ac_word=$2 |
| 9353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13961 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9354 | $as_echo_n "checking for $ac_word... " >&6; } | 13962 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9355 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13963 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9356 | $as_echo_n "(cached) " >&6 | 13964 | $as_echo_n "(cached) " >&6 |
| 9357 | else | 13965 | else |
| 9358 | case $PKG_CONFIG in | 13966 | case $PKG_CONFIG in |
| @@ -9365,14 +13973,14 @@ for as_dir in $PATH | |||
| 9365 | do | 13973 | do |
| 9366 | IFS=$as_save_IFS | 13974 | IFS=$as_save_IFS |
| 9367 | test -z "$as_dir" && as_dir=. | 13975 | test -z "$as_dir" && as_dir=. |
| 9368 | for ac_exec_ext in '' $ac_executable_extensions; do | 13976 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9369 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13977 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9370 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13978 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9371 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13979 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9372 | break 2 | 13980 | break 2 |
| 9373 | fi | 13981 | fi |
| 9374 | done | 13982 | done |
| 9375 | done | 13983 | done |
| 9376 | IFS=$as_save_IFS | 13984 | IFS=$as_save_IFS |
| 9377 | 13985 | ||
| 9378 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13986 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9381,10 +13989,10 @@ esac | |||
| 9381 | fi | 13989 | fi |
| 9382 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13990 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9383 | if test -n "$PKG_CONFIG"; then | 13991 | if test -n "$PKG_CONFIG"; then |
| 9384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13992 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9385 | $as_echo "$PKG_CONFIG" >&6; } | 13993 | $as_echo "$PKG_CONFIG" >&6; } |
| 9386 | else | 13994 | else |
| 9387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13995 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9388 | $as_echo "no" >&6; } | 13996 | $as_echo "no" >&6; } |
| 9389 | fi | 13997 | fi |
| 9390 | 13998 | ||
| @@ -9395,27 +14003,27 @@ fi | |||
| 9395 | else | 14003 | else |
| 9396 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14004 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9397 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14005 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9398 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 14006 | { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 |
| 9399 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 14007 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
| 9400 | 14008 | ||
| 9401 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 14009 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
| 9402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14010 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9403 | $as_echo "yes" >&6; } | 14011 | $as_echo "yes" >&6; } |
| 9404 | succeeded=yes | 14012 | succeeded=yes |
| 9405 | 14013 | ||
| 9406 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 | 14014 | { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 |
| 9407 | $as_echo_n "checking XFT_CFLAGS... " >&6; } | 14015 | $as_echo_n "checking XFT_CFLAGS... " >&6; } |
| 9408 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 14016 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 | 14017 | { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 |
| 9410 | $as_echo "$XFT_CFLAGS" >&6; } | 14018 | $as_echo "$XFT_CFLAGS" >&6; } |
| 9411 | 14019 | ||
| 9412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 | 14020 | { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 |
| 9413 | $as_echo_n "checking XFT_LIBS... " >&6; } | 14021 | $as_echo_n "checking XFT_LIBS... " >&6; } |
| 9414 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 14022 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 | 14023 | { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 |
| 9416 | $as_echo "$XFT_LIBS" >&6; } | 14024 | $as_echo "$XFT_LIBS" >&6; } |
| 9417 | else | 14025 | else |
| 9418 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14026 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9419 | $as_echo "no" >&6; } | 14027 | $as_echo "no" >&6; } |
| 9420 | XFT_CFLAGS="" | 14028 | XFT_CFLAGS="" |
| 9421 | XFT_LIBS="" | 14029 | XFT_LIBS="" |
| @@ -9442,14 +14050,18 @@ $as_echo "no" >&6; } | |||
| 9442 | ## Because xftfont.c uses XRenderQueryExtension, we also | 14050 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 9443 | ## need to link to -lXrender. | 14051 | ## need to link to -lXrender. |
| 9444 | HAVE_XRENDER=no | 14052 | HAVE_XRENDER=no |
| 9445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 14053 | { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 |
| 9446 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 14054 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
| 9447 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 14055 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then |
| 9448 | $as_echo_n "(cached) " >&6 | 14056 | $as_echo_n "(cached) " >&6 |
| 9449 | else | 14057 | else |
| 9450 | ac_check_lib_save_LIBS=$LIBS | 14058 | ac_check_lib_save_LIBS=$LIBS |
| 9451 | LIBS="-lXrender $LIBS" | 14059 | LIBS="-lXrender $LIBS" |
| 9452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14060 | cat >conftest.$ac_ext <<_ACEOF |
| 14061 | /* confdefs.h. */ | ||
| 14062 | _ACEOF | ||
| 14063 | cat confdefs.h >>conftest.$ac_ext | ||
| 14064 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9453 | /* end confdefs.h. */ | 14065 | /* end confdefs.h. */ |
| 9454 | 14066 | ||
| 9455 | /* Override any GCC internal prototype to avoid an error. | 14067 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9467,18 +14079,43 @@ return XRenderQueryExtension (); | |||
| 9467 | return 0; | 14079 | return 0; |
| 9468 | } | 14080 | } |
| 9469 | _ACEOF | 14081 | _ACEOF |
| 9470 | if ac_fn_c_try_link "$LINENO"; then : | 14082 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14083 | if { (ac_try="$ac_link" | ||
| 14084 | case "(($ac_try" in | ||
| 14085 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14086 | *) ac_try_echo=$ac_try;; | ||
| 14087 | esac | ||
| 14088 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14089 | $as_echo "$ac_try_echo") >&5 | ||
| 14090 | (eval "$ac_link") 2>conftest.er1 | ||
| 14091 | ac_status=$? | ||
| 14092 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14093 | rm -f conftest.er1 | ||
| 14094 | cat conftest.err >&5 | ||
| 14095 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14096 | (exit $ac_status); } && { | ||
| 14097 | test -z "$ac_c_werror_flag" || | ||
| 14098 | test ! -s conftest.err | ||
| 14099 | } && test -s conftest$ac_exeext && { | ||
| 14100 | test "$cross_compiling" = yes || | ||
| 14101 | $as_test_x conftest$ac_exeext | ||
| 14102 | }; then | ||
| 9471 | ac_cv_lib_Xrender_XRenderQueryExtension=yes | 14103 | ac_cv_lib_Xrender_XRenderQueryExtension=yes |
| 9472 | else | 14104 | else |
| 9473 | ac_cv_lib_Xrender_XRenderQueryExtension=no | 14105 | $as_echo "$as_me: failed program was:" >&5 |
| 14106 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14107 | |||
| 14108 | ac_cv_lib_Xrender_XRenderQueryExtension=no | ||
| 9474 | fi | 14109 | fi |
| 9475 | rm -f core conftest.err conftest.$ac_objext \ | 14110 | |
| 9476 | conftest$ac_exeext conftest.$ac_ext | 14111 | rm -rf conftest.dSYM |
| 14112 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14113 | conftest$ac_exeext conftest.$ac_ext | ||
| 9477 | LIBS=$ac_check_lib_save_LIBS | 14114 | LIBS=$ac_check_lib_save_LIBS |
| 9478 | fi | 14115 | fi |
| 9479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 14116 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
| 9480 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 14117 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
| 9481 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 14118 | if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then |
| 9482 | HAVE_XRENDER=yes | 14119 | HAVE_XRENDER=yes |
| 9483 | fi | 14120 | fi |
| 9484 | 14121 | ||
| @@ -9490,16 +14127,146 @@ fi | |||
| 9490 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 14127 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 9491 | XFT_LIBS="-lXrender $XFT_LIBS" | 14128 | XFT_LIBS="-lXrender $XFT_LIBS" |
| 9492 | LIBS="$XFT_LIBS $LIBS" | 14129 | LIBS="$XFT_LIBS $LIBS" |
| 9493 | ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 14130 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
| 9494 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 14131 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
| 9495 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 14132 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } |
| 14133 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 14134 | $as_echo_n "(cached) " >&6 | ||
| 14135 | fi | ||
| 14136 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 14137 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 14138 | else | ||
| 14139 | # Is the header compilable? | ||
| 14140 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | ||
| 14141 | $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | ||
| 14142 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14143 | /* confdefs.h. */ | ||
| 14144 | _ACEOF | ||
| 14145 | cat confdefs.h >>conftest.$ac_ext | ||
| 14146 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14147 | /* end confdefs.h. */ | ||
| 14148 | $ac_includes_default | ||
| 14149 | #include <X11/Xft/Xft.h> | ||
| 14150 | _ACEOF | ||
| 14151 | rm -f conftest.$ac_objext | ||
| 14152 | if { (ac_try="$ac_compile" | ||
| 14153 | case "(($ac_try" in | ||
| 14154 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14155 | *) ac_try_echo=$ac_try;; | ||
| 14156 | esac | ||
| 14157 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14158 | $as_echo "$ac_try_echo") >&5 | ||
| 14159 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14160 | ac_status=$? | ||
| 14161 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14162 | rm -f conftest.er1 | ||
| 14163 | cat conftest.err >&5 | ||
| 14164 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14165 | (exit $ac_status); } && { | ||
| 14166 | test -z "$ac_c_werror_flag" || | ||
| 14167 | test ! -s conftest.err | ||
| 14168 | } && test -s conftest.$ac_objext; then | ||
| 14169 | ac_header_compiler=yes | ||
| 14170 | else | ||
| 14171 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14172 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14173 | |||
| 14174 | ac_header_compiler=no | ||
| 14175 | fi | ||
| 14176 | |||
| 14177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14178 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14179 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14180 | |||
| 14181 | # Is the header present? | ||
| 14182 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | ||
| 14183 | $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | ||
| 14184 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14185 | /* confdefs.h. */ | ||
| 14186 | _ACEOF | ||
| 14187 | cat confdefs.h >>conftest.$ac_ext | ||
| 14188 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14189 | /* end confdefs.h. */ | ||
| 14190 | #include <X11/Xft/Xft.h> | ||
| 14191 | _ACEOF | ||
| 14192 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14193 | case "(($ac_try" in | ||
| 14194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14195 | *) ac_try_echo=$ac_try;; | ||
| 14196 | esac | ||
| 14197 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14198 | $as_echo "$ac_try_echo") >&5 | ||
| 14199 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14200 | ac_status=$? | ||
| 14201 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14202 | rm -f conftest.er1 | ||
| 14203 | cat conftest.err >&5 | ||
| 14204 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14205 | (exit $ac_status); } >/dev/null && { | ||
| 14206 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14207 | test ! -s conftest.err | ||
| 14208 | }; then | ||
| 14209 | ac_header_preproc=yes | ||
| 14210 | else | ||
| 14211 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14212 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14213 | |||
| 14214 | ac_header_preproc=no | ||
| 14215 | fi | ||
| 14216 | |||
| 14217 | rm -f conftest.err conftest.$ac_ext | ||
| 14218 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14219 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14220 | |||
| 14221 | # So? What about this header? | ||
| 14222 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14223 | yes:no: ) | ||
| 14224 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14225 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14226 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | ||
| 14227 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | ||
| 14228 | ac_header_preproc=yes | ||
| 14229 | ;; | ||
| 14230 | no:yes:* ) | ||
| 14231 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | ||
| 14232 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | ||
| 14233 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | ||
| 14234 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | ||
| 14235 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | ||
| 14236 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | ||
| 14237 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14238 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14239 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | ||
| 14240 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | ||
| 14241 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | ||
| 14242 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | ||
| 14243 | |||
| 14244 | ;; | ||
| 14245 | esac | ||
| 14246 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | ||
| 14247 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | ||
| 14248 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 14249 | $as_echo_n "(cached) " >&6 | ||
| 14250 | else | ||
| 14251 | ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | ||
| 14252 | fi | ||
| 14253 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 14254 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 14255 | |||
| 14256 | fi | ||
| 14257 | if test $ac_cv_header_X11_Xft_Xft_h = yes; then | ||
| 14258 | { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | ||
| 9496 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 14259 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
| 9497 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 14260 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then |
| 9498 | $as_echo_n "(cached) " >&6 | 14261 | $as_echo_n "(cached) " >&6 |
| 9499 | else | 14262 | else |
| 9500 | ac_check_lib_save_LIBS=$LIBS | 14263 | ac_check_lib_save_LIBS=$LIBS |
| 9501 | LIBS="-lXft $XFT_LIBS $LIBS" | 14264 | LIBS="-lXft $XFT_LIBS $LIBS" |
| 9502 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14265 | cat >conftest.$ac_ext <<_ACEOF |
| 14266 | /* confdefs.h. */ | ||
| 14267 | _ACEOF | ||
| 14268 | cat confdefs.h >>conftest.$ac_ext | ||
| 14269 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9503 | /* end confdefs.h. */ | 14270 | /* end confdefs.h. */ |
| 9504 | 14271 | ||
| 9505 | /* Override any GCC internal prototype to avoid an error. | 14272 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9517,18 +14284,43 @@ return XftFontOpen (); | |||
| 9517 | return 0; | 14284 | return 0; |
| 9518 | } | 14285 | } |
| 9519 | _ACEOF | 14286 | _ACEOF |
| 9520 | if ac_fn_c_try_link "$LINENO"; then : | 14287 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14288 | if { (ac_try="$ac_link" | ||
| 14289 | case "(($ac_try" in | ||
| 14290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14291 | *) ac_try_echo=$ac_try;; | ||
| 14292 | esac | ||
| 14293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14294 | $as_echo "$ac_try_echo") >&5 | ||
| 14295 | (eval "$ac_link") 2>conftest.er1 | ||
| 14296 | ac_status=$? | ||
| 14297 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14298 | rm -f conftest.er1 | ||
| 14299 | cat conftest.err >&5 | ||
| 14300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14301 | (exit $ac_status); } && { | ||
| 14302 | test -z "$ac_c_werror_flag" || | ||
| 14303 | test ! -s conftest.err | ||
| 14304 | } && test -s conftest$ac_exeext && { | ||
| 14305 | test "$cross_compiling" = yes || | ||
| 14306 | $as_test_x conftest$ac_exeext | ||
| 14307 | }; then | ||
| 9521 | ac_cv_lib_Xft_XftFontOpen=yes | 14308 | ac_cv_lib_Xft_XftFontOpen=yes |
| 9522 | else | 14309 | else |
| 9523 | ac_cv_lib_Xft_XftFontOpen=no | 14310 | $as_echo "$as_me: failed program was:" >&5 |
| 14311 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14312 | |||
| 14313 | ac_cv_lib_Xft_XftFontOpen=no | ||
| 9524 | fi | 14314 | fi |
| 9525 | rm -f core conftest.err conftest.$ac_objext \ | 14315 | |
| 9526 | conftest$ac_exeext conftest.$ac_ext | 14316 | rm -rf conftest.dSYM |
| 14317 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14318 | conftest$ac_exeext conftest.$ac_ext | ||
| 9527 | LIBS=$ac_check_lib_save_LIBS | 14319 | LIBS=$ac_check_lib_save_LIBS |
| 9528 | fi | 14320 | fi |
| 9529 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 14321 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
| 9530 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 14322 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
| 9531 | if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 14323 | if test $ac_cv_lib_Xft_XftFontOpen = yes; then |
| 9532 | HAVE_XFT=yes | 14324 | HAVE_XFT=yes |
| 9533 | fi | 14325 | fi |
| 9534 | 14326 | ||
| @@ -9538,7 +14330,9 @@ fi | |||
| 9538 | 14330 | ||
| 9539 | if test "${HAVE_XFT}" = "yes"; then | 14331 | if test "${HAVE_XFT}" = "yes"; then |
| 9540 | 14332 | ||
| 9541 | $as_echo "#define HAVE_XFT 1" >>confdefs.h | 14333 | cat >>confdefs.h <<\_ACEOF |
| 14334 | #define HAVE_XFT 1 | ||
| 14335 | _ACEOF | ||
| 9542 | 14336 | ||
| 9543 | 14337 | ||
| 9544 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 14338 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
| @@ -9567,7 +14361,9 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h | |||
| 9567 | HAVE_LIBOTF=no | 14361 | HAVE_LIBOTF=no |
| 9568 | if test "${HAVE_FREETYPE}" = "yes"; then | 14362 | if test "${HAVE_FREETYPE}" = "yes"; then |
| 9569 | 14363 | ||
| 9570 | $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | 14364 | cat >>confdefs.h <<\_ACEOF |
| 14365 | #define HAVE_FREETYPE 1 | ||
| 14366 | _ACEOF | ||
| 9571 | 14367 | ||
| 9572 | if test "${with_libotf}" != "no"; then | 14368 | if test "${with_libotf}" != "no"; then |
| 9573 | 14369 | ||
| @@ -9575,9 +14371,9 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | |||
| 9575 | 14371 | ||
| 9576 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14372 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9577 | set dummy pkg-config; ac_word=$2 | 14373 | set dummy pkg-config; ac_word=$2 |
| 9578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14374 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9579 | $as_echo_n "checking for $ac_word... " >&6; } | 14375 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9580 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14376 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9581 | $as_echo_n "(cached) " >&6 | 14377 | $as_echo_n "(cached) " >&6 |
| 9582 | else | 14378 | else |
| 9583 | case $PKG_CONFIG in | 14379 | case $PKG_CONFIG in |
| @@ -9590,14 +14386,14 @@ for as_dir in $PATH | |||
| 9590 | do | 14386 | do |
| 9591 | IFS=$as_save_IFS | 14387 | IFS=$as_save_IFS |
| 9592 | test -z "$as_dir" && as_dir=. | 14388 | test -z "$as_dir" && as_dir=. |
| 9593 | for ac_exec_ext in '' $ac_executable_extensions; do | 14389 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9594 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14390 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9595 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14391 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9596 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14392 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9597 | break 2 | 14393 | break 2 |
| 9598 | fi | 14394 | fi |
| 9599 | done | 14395 | done |
| 9600 | done | 14396 | done |
| 9601 | IFS=$as_save_IFS | 14397 | IFS=$as_save_IFS |
| 9602 | 14398 | ||
| 9603 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14399 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9606,10 +14402,10 @@ esac | |||
| 9606 | fi | 14402 | fi |
| 9607 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14403 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9608 | if test -n "$PKG_CONFIG"; then | 14404 | if test -n "$PKG_CONFIG"; then |
| 9609 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14405 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9610 | $as_echo "$PKG_CONFIG" >&6; } | 14406 | $as_echo "$PKG_CONFIG" >&6; } |
| 9611 | else | 14407 | else |
| 9612 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14408 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9613 | $as_echo "no" >&6; } | 14409 | $as_echo "no" >&6; } |
| 9614 | fi | 14410 | fi |
| 9615 | 14411 | ||
| @@ -9620,27 +14416,27 @@ fi | |||
| 9620 | else | 14416 | else |
| 9621 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14417 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9622 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14418 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9623 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 14419 | { $as_echo "$as_me:$LINENO: checking for libotf" >&5 |
| 9624 | $as_echo_n "checking for libotf... " >&6; } | 14420 | $as_echo_n "checking for libotf... " >&6; } |
| 9625 | 14421 | ||
| 9626 | if $PKG_CONFIG --exists "libotf" 2>&5; then | 14422 | if $PKG_CONFIG --exists "libotf" 2>&5; then |
| 9627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14423 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9628 | $as_echo "yes" >&6; } | 14424 | $as_echo "yes" >&6; } |
| 9629 | succeeded=yes | 14425 | succeeded=yes |
| 9630 | 14426 | ||
| 9631 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 | 14427 | { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 |
| 9632 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 14428 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
| 9633 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 14429 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
| 9634 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 | 14430 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 |
| 9635 | $as_echo "$LIBOTF_CFLAGS" >&6; } | 14431 | $as_echo "$LIBOTF_CFLAGS" >&6; } |
| 9636 | 14432 | ||
| 9637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 | 14433 | { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 |
| 9638 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 14434 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
| 9639 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 14435 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
| 9640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 | 14436 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 |
| 9641 | $as_echo "$LIBOTF_LIBS" >&6; } | 14437 | $as_echo "$LIBOTF_LIBS" >&6; } |
| 9642 | else | 14438 | else |
| 9643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14439 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9644 | $as_echo "no" >&6; } | 14440 | $as_echo "no" >&6; } |
| 9645 | LIBOTF_CFLAGS="" | 14441 | LIBOTF_CFLAGS="" |
| 9646 | LIBOTF_LIBS="" | 14442 | LIBOTF_LIBS="" |
| @@ -9666,16 +14462,22 @@ $as_echo "no" >&6; } | |||
| 9666 | 14462 | ||
| 9667 | if test "$HAVE_LIBOTF" = "yes"; then | 14463 | if test "$HAVE_LIBOTF" = "yes"; then |
| 9668 | 14464 | ||
| 9669 | $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 14465 | cat >>confdefs.h <<\_ACEOF |
| 14466 | #define HAVE_LIBOTF 1 | ||
| 14467 | _ACEOF | ||
| 9670 | 14468 | ||
| 9671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 14469 | { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 |
| 9672 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 14470 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
| 9673 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 14471 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then |
| 9674 | $as_echo_n "(cached) " >&6 | 14472 | $as_echo_n "(cached) " >&6 |
| 9675 | else | 14473 | else |
| 9676 | ac_check_lib_save_LIBS=$LIBS | 14474 | ac_check_lib_save_LIBS=$LIBS |
| 9677 | LIBS="-lotf $LIBS" | 14475 | LIBS="-lotf $LIBS" |
| 9678 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14476 | cat >conftest.$ac_ext <<_ACEOF |
| 14477 | /* confdefs.h. */ | ||
| 14478 | _ACEOF | ||
| 14479 | cat confdefs.h >>conftest.$ac_ext | ||
| 14480 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9679 | /* end confdefs.h. */ | 14481 | /* end confdefs.h. */ |
| 9680 | 14482 | ||
| 9681 | /* Override any GCC internal prototype to avoid an error. | 14483 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9693,18 +14495,43 @@ return OTF_get_variation_glyphs (); | |||
| 9693 | return 0; | 14495 | return 0; |
| 9694 | } | 14496 | } |
| 9695 | _ACEOF | 14497 | _ACEOF |
| 9696 | if ac_fn_c_try_link "$LINENO"; then : | 14498 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14499 | if { (ac_try="$ac_link" | ||
| 14500 | case "(($ac_try" in | ||
| 14501 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14502 | *) ac_try_echo=$ac_try;; | ||
| 14503 | esac | ||
| 14504 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14505 | $as_echo "$ac_try_echo") >&5 | ||
| 14506 | (eval "$ac_link") 2>conftest.er1 | ||
| 14507 | ac_status=$? | ||
| 14508 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14509 | rm -f conftest.er1 | ||
| 14510 | cat conftest.err >&5 | ||
| 14511 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14512 | (exit $ac_status); } && { | ||
| 14513 | test -z "$ac_c_werror_flag" || | ||
| 14514 | test ! -s conftest.err | ||
| 14515 | } && test -s conftest$ac_exeext && { | ||
| 14516 | test "$cross_compiling" = yes || | ||
| 14517 | $as_test_x conftest$ac_exeext | ||
| 14518 | }; then | ||
| 9697 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 14519 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
| 9698 | else | 14520 | else |
| 9699 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | 14521 | $as_echo "$as_me: failed program was:" >&5 |
| 14522 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14523 | |||
| 14524 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | ||
| 9700 | fi | 14525 | fi |
| 9701 | rm -f core conftest.err conftest.$ac_objext \ | 14526 | |
| 9702 | conftest$ac_exeext conftest.$ac_ext | 14527 | rm -rf conftest.dSYM |
| 14528 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14529 | conftest$ac_exeext conftest.$ac_ext | ||
| 9703 | LIBS=$ac_check_lib_save_LIBS | 14530 | LIBS=$ac_check_lib_save_LIBS |
| 9704 | fi | 14531 | fi |
| 9705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 14532 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
| 9706 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 14533 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
| 9707 | if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 14534 | if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then |
| 9708 | HAVE_OTF_GET_VARIATION_GLYPHS=yes | 14535 | HAVE_OTF_GET_VARIATION_GLYPHS=yes |
| 9709 | else | 14536 | else |
| 9710 | HAVE_OTF_GET_VARIATION_GLYPHS=no | 14537 | HAVE_OTF_GET_VARIATION_GLYPHS=no |
| @@ -9712,7 +14539,9 @@ fi | |||
| 9712 | 14539 | ||
| 9713 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 14540 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
| 9714 | 14541 | ||
| 9715 | $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | 14542 | cat >>confdefs.h <<\_ACEOF |
| 14543 | #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | ||
| 14544 | _ACEOF | ||
| 9716 | 14545 | ||
| 9717 | fi | 14546 | fi |
| 9718 | fi | 14547 | fi |
| @@ -9727,9 +14556,9 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | |||
| 9727 | 14556 | ||
| 9728 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14557 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9729 | set dummy pkg-config; ac_word=$2 | 14558 | set dummy pkg-config; ac_word=$2 |
| 9730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14559 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9731 | $as_echo_n "checking for $ac_word... " >&6; } | 14560 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9732 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14561 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9733 | $as_echo_n "(cached) " >&6 | 14562 | $as_echo_n "(cached) " >&6 |
| 9734 | else | 14563 | else |
| 9735 | case $PKG_CONFIG in | 14564 | case $PKG_CONFIG in |
| @@ -9742,14 +14571,14 @@ for as_dir in $PATH | |||
| 9742 | do | 14571 | do |
| 9743 | IFS=$as_save_IFS | 14572 | IFS=$as_save_IFS |
| 9744 | test -z "$as_dir" && as_dir=. | 14573 | test -z "$as_dir" && as_dir=. |
| 9745 | for ac_exec_ext in '' $ac_executable_extensions; do | 14574 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9746 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14575 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9747 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14576 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9748 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14577 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9749 | break 2 | 14578 | break 2 |
| 9750 | fi | 14579 | fi |
| 9751 | done | 14580 | done |
| 9752 | done | 14581 | done |
| 9753 | IFS=$as_save_IFS | 14582 | IFS=$as_save_IFS |
| 9754 | 14583 | ||
| 9755 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14584 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9758,10 +14587,10 @@ esac | |||
| 9758 | fi | 14587 | fi |
| 9759 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14588 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9760 | if test -n "$PKG_CONFIG"; then | 14589 | if test -n "$PKG_CONFIG"; then |
| 9761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14590 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9762 | $as_echo "$PKG_CONFIG" >&6; } | 14591 | $as_echo "$PKG_CONFIG" >&6; } |
| 9763 | else | 14592 | else |
| 9764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14593 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9765 | $as_echo "no" >&6; } | 14594 | $as_echo "no" >&6; } |
| 9766 | fi | 14595 | fi |
| 9767 | 14596 | ||
| @@ -9772,27 +14601,27 @@ fi | |||
| 9772 | else | 14601 | else |
| 9773 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14602 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9774 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14603 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9775 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 14604 | { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 |
| 9776 | $as_echo_n "checking for m17n-flt... " >&6; } | 14605 | $as_echo_n "checking for m17n-flt... " >&6; } |
| 9777 | 14606 | ||
| 9778 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 14607 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
| 9779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14608 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9780 | $as_echo "yes" >&6; } | 14609 | $as_echo "yes" >&6; } |
| 9781 | succeeded=yes | 14610 | succeeded=yes |
| 9782 | 14611 | ||
| 9783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 | 14612 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 |
| 9784 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 14613 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
| 9785 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 14614 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
| 9786 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 | 14615 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 |
| 9787 | $as_echo "$M17N_FLT_CFLAGS" >&6; } | 14616 | $as_echo "$M17N_FLT_CFLAGS" >&6; } |
| 9788 | 14617 | ||
| 9789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 | 14618 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 |
| 9790 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 14619 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
| 9791 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 14620 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
| 9792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 | 14621 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 |
| 9793 | $as_echo "$M17N_FLT_LIBS" >&6; } | 14622 | $as_echo "$M17N_FLT_LIBS" >&6; } |
| 9794 | else | 14623 | else |
| 9795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14624 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9796 | $as_echo "no" >&6; } | 14625 | $as_echo "no" >&6; } |
| 9797 | M17N_FLT_CFLAGS="" | 14626 | M17N_FLT_CFLAGS="" |
| 9798 | M17N_FLT_LIBS="" | 14627 | M17N_FLT_LIBS="" |
| @@ -9818,7 +14647,9 @@ $as_echo "no" >&6; } | |||
| 9818 | 14647 | ||
| 9819 | if test "$HAVE_M17N_FLT" = "yes"; then | 14648 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 9820 | 14649 | ||
| 9821 | $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h | 14650 | cat >>confdefs.h <<\_ACEOF |
| 14651 | #define HAVE_M17N_FLT 1 | ||
| 14652 | _ACEOF | ||
| 9822 | 14653 | ||
| 9823 | fi | 14654 | fi |
| 9824 | fi | 14655 | fi |
| @@ -9854,16 +14685,146 @@ HAVE_XPM=no | |||
| 9854 | LIBXPM= | 14685 | LIBXPM= |
| 9855 | if test "${HAVE_X11}" = "yes"; then | 14686 | if test "${HAVE_X11}" = "yes"; then |
| 9856 | if test "${with_xpm}" != "no"; then | 14687 | if test "${with_xpm}" != "no"; then |
| 9857 | ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 14688 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 9858 | if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 14689 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
| 9859 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14690 | $as_echo_n "checking for X11/xpm.h... " >&6; } |
| 14691 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14692 | $as_echo_n "(cached) " >&6 | ||
| 14693 | fi | ||
| 14694 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14695 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14696 | else | ||
| 14697 | # Is the header compilable? | ||
| 14698 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | ||
| 14699 | $as_echo_n "checking X11/xpm.h usability... " >&6; } | ||
| 14700 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14701 | /* confdefs.h. */ | ||
| 14702 | _ACEOF | ||
| 14703 | cat confdefs.h >>conftest.$ac_ext | ||
| 14704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14705 | /* end confdefs.h. */ | ||
| 14706 | $ac_includes_default | ||
| 14707 | #include <X11/xpm.h> | ||
| 14708 | _ACEOF | ||
| 14709 | rm -f conftest.$ac_objext | ||
| 14710 | if { (ac_try="$ac_compile" | ||
| 14711 | case "(($ac_try" in | ||
| 14712 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14713 | *) ac_try_echo=$ac_try;; | ||
| 14714 | esac | ||
| 14715 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14716 | $as_echo "$ac_try_echo") >&5 | ||
| 14717 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14718 | ac_status=$? | ||
| 14719 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14720 | rm -f conftest.er1 | ||
| 14721 | cat conftest.err >&5 | ||
| 14722 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14723 | (exit $ac_status); } && { | ||
| 14724 | test -z "$ac_c_werror_flag" || | ||
| 14725 | test ! -s conftest.err | ||
| 14726 | } && test -s conftest.$ac_objext; then | ||
| 14727 | ac_header_compiler=yes | ||
| 14728 | else | ||
| 14729 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14730 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14731 | |||
| 14732 | ac_header_compiler=no | ||
| 14733 | fi | ||
| 14734 | |||
| 14735 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14736 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14737 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14738 | |||
| 14739 | # Is the header present? | ||
| 14740 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | ||
| 14741 | $as_echo_n "checking X11/xpm.h presence... " >&6; } | ||
| 14742 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14743 | /* confdefs.h. */ | ||
| 14744 | _ACEOF | ||
| 14745 | cat confdefs.h >>conftest.$ac_ext | ||
| 14746 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14747 | /* end confdefs.h. */ | ||
| 14748 | #include <X11/xpm.h> | ||
| 14749 | _ACEOF | ||
| 14750 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 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_cpp conftest.$ac_ext") 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); } >/dev/null && { | ||
| 14764 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14765 | test ! -s conftest.err | ||
| 14766 | }; then | ||
| 14767 | ac_header_preproc=yes | ||
| 14768 | else | ||
| 14769 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14770 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14771 | |||
| 14772 | ac_header_preproc=no | ||
| 14773 | fi | ||
| 14774 | |||
| 14775 | rm -f conftest.err conftest.$ac_ext | ||
| 14776 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14777 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14778 | |||
| 14779 | # So? What about this header? | ||
| 14780 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14781 | yes:no: ) | ||
| 14782 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14783 | $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14784 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | ||
| 14785 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | ||
| 14786 | ac_header_preproc=yes | ||
| 14787 | ;; | ||
| 14788 | no:yes:* ) | ||
| 14789 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | ||
| 14790 | $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | ||
| 14791 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | ||
| 14792 | $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | ||
| 14793 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | ||
| 14794 | $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | ||
| 14795 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14796 | $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14797 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | ||
| 14798 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 14799 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | ||
| 14800 | $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 14801 | |||
| 14802 | ;; | ||
| 14803 | esac | ||
| 14804 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | ||
| 14805 | $as_echo_n "checking for X11/xpm.h... " >&6; } | ||
| 14806 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14807 | $as_echo_n "(cached) " >&6 | ||
| 14808 | else | ||
| 14809 | ac_cv_header_X11_xpm_h=$ac_header_preproc | ||
| 14810 | fi | ||
| 14811 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14812 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14813 | |||
| 14814 | fi | ||
| 14815 | if test $ac_cv_header_X11_xpm_h = yes; then | ||
| 14816 | { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | ||
| 9860 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 14817 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
| 9861 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 14818 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
| 9862 | $as_echo_n "(cached) " >&6 | 14819 | $as_echo_n "(cached) " >&6 |
| 9863 | else | 14820 | else |
| 9864 | ac_check_lib_save_LIBS=$LIBS | 14821 | ac_check_lib_save_LIBS=$LIBS |
| 9865 | LIBS="-lXpm -lX11 $LIBS" | 14822 | LIBS="-lXpm -lX11 $LIBS" |
| 9866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14823 | cat >conftest.$ac_ext <<_ACEOF |
| 14824 | /* confdefs.h. */ | ||
| 14825 | _ACEOF | ||
| 14826 | cat confdefs.h >>conftest.$ac_ext | ||
| 14827 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9867 | /* end confdefs.h. */ | 14828 | /* end confdefs.h. */ |
| 9868 | 14829 | ||
| 9869 | /* Override any GCC internal prototype to avoid an error. | 14830 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9881,18 +14842,43 @@ return XpmReadFileToPixmap (); | |||
| 9881 | return 0; | 14842 | return 0; |
| 9882 | } | 14843 | } |
| 9883 | _ACEOF | 14844 | _ACEOF |
| 9884 | if ac_fn_c_try_link "$LINENO"; then : | 14845 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14846 | if { (ac_try="$ac_link" | ||
| 14847 | case "(($ac_try" in | ||
| 14848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14849 | *) ac_try_echo=$ac_try;; | ||
| 14850 | esac | ||
| 14851 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14852 | $as_echo "$ac_try_echo") >&5 | ||
| 14853 | (eval "$ac_link") 2>conftest.er1 | ||
| 14854 | ac_status=$? | ||
| 14855 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14856 | rm -f conftest.er1 | ||
| 14857 | cat conftest.err >&5 | ||
| 14858 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14859 | (exit $ac_status); } && { | ||
| 14860 | test -z "$ac_c_werror_flag" || | ||
| 14861 | test ! -s conftest.err | ||
| 14862 | } && test -s conftest$ac_exeext && { | ||
| 14863 | test "$cross_compiling" = yes || | ||
| 14864 | $as_test_x conftest$ac_exeext | ||
| 14865 | }; then | ||
| 9885 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14866 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
| 9886 | else | 14867 | else |
| 9887 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14868 | $as_echo "$as_me: failed program was:" >&5 |
| 14869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14870 | |||
| 14871 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | ||
| 9888 | fi | 14872 | fi |
| 9889 | rm -f core conftest.err conftest.$ac_objext \ | 14873 | |
| 9890 | conftest$ac_exeext conftest.$ac_ext | 14874 | rm -rf conftest.dSYM |
| 14875 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14876 | conftest$ac_exeext conftest.$ac_ext | ||
| 9891 | LIBS=$ac_check_lib_save_LIBS | 14877 | LIBS=$ac_check_lib_save_LIBS |
| 9892 | fi | 14878 | fi |
| 9893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14879 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
| 9894 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 14880 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
| 9895 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 14881 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
| 9896 | HAVE_XPM=yes | 14882 | HAVE_XPM=yes |
| 9897 | fi | 14883 | fi |
| 9898 | 14884 | ||
| @@ -9900,9 +14886,13 @@ fi | |||
| 9900 | 14886 | ||
| 9901 | 14887 | ||
| 9902 | if test "${HAVE_XPM}" = "yes"; then | 14888 | if test "${HAVE_XPM}" = "yes"; then |
| 9903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14889 | { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 9904 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 14890 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
| 9905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14891 | cat >conftest.$ac_ext <<_ACEOF |
| 14892 | /* confdefs.h. */ | ||
| 14893 | _ACEOF | ||
| 14894 | cat confdefs.h >>conftest.$ac_ext | ||
| 14895 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9906 | /* end confdefs.h. */ | 14896 | /* end confdefs.h. */ |
| 9907 | #include "X11/xpm.h" | 14897 | #include "X11/xpm.h" |
| 9908 | #ifndef XpmReturnAllocPixels | 14898 | #ifndef XpmReturnAllocPixels |
| @@ -9911,7 +14901,7 @@ no_return_alloc_pixels | |||
| 9911 | 14901 | ||
| 9912 | _ACEOF | 14902 | _ACEOF |
| 9913 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14903 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9914 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : | 14904 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then |
| 9915 | HAVE_XPM=no | 14905 | HAVE_XPM=no |
| 9916 | else | 14906 | else |
| 9917 | HAVE_XPM=yes | 14907 | HAVE_XPM=yes |
| @@ -9920,10 +14910,10 @@ rm -f conftest* | |||
| 9920 | 14910 | ||
| 9921 | 14911 | ||
| 9922 | if test "${HAVE_XPM}" = "yes"; then | 14912 | if test "${HAVE_XPM}" = "yes"; then |
| 9923 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14913 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9924 | $as_echo "yes" >&6; } | 14914 | $as_echo "yes" >&6; } |
| 9925 | else | 14915 | else |
| 9926 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14916 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9927 | $as_echo "no" >&6; } | 14917 | $as_echo "no" >&6; } |
| 9928 | fi | 14918 | fi |
| 9929 | fi | 14919 | fi |
| @@ -9931,7 +14921,9 @@ $as_echo "no" >&6; } | |||
| 9931 | 14921 | ||
| 9932 | if test "${HAVE_XPM}" = "yes"; then | 14922 | if test "${HAVE_XPM}" = "yes"; then |
| 9933 | 14923 | ||
| 9934 | $as_echo "#define HAVE_XPM 1" >>confdefs.h | 14924 | cat >>confdefs.h <<\_ACEOF |
| 14925 | #define HAVE_XPM 1 | ||
| 14926 | _ACEOF | ||
| 9935 | 14927 | ||
| 9936 | LIBXPM=-lXpm | 14928 | LIBXPM=-lXpm |
| 9937 | fi | 14929 | fi |
| @@ -9943,16 +14935,146 @@ HAVE_JPEG=no | |||
| 9943 | LIBJPEG= | 14935 | LIBJPEG= |
| 9944 | if test "${HAVE_X11}" = "yes"; then | 14936 | if test "${HAVE_X11}" = "yes"; then |
| 9945 | if test "${with_jpeg}" != "no"; then | 14937 | if test "${with_jpeg}" != "no"; then |
| 9946 | ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 14938 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 9947 | if test "x$ac_cv_header_jerror_h" = x""yes; then : | 14939 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 |
| 9948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14940 | $as_echo_n "checking for jerror.h... " >&6; } |
| 14941 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14942 | $as_echo_n "(cached) " >&6 | ||
| 14943 | fi | ||
| 14944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14945 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14946 | else | ||
| 14947 | # Is the header compilable? | ||
| 14948 | { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | ||
| 14949 | $as_echo_n "checking jerror.h usability... " >&6; } | ||
| 14950 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14951 | /* confdefs.h. */ | ||
| 14952 | _ACEOF | ||
| 14953 | cat confdefs.h >>conftest.$ac_ext | ||
| 14954 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14955 | /* end confdefs.h. */ | ||
| 14956 | $ac_includes_default | ||
| 14957 | #include <jerror.h> | ||
| 14958 | _ACEOF | ||
| 14959 | rm -f conftest.$ac_objext | ||
| 14960 | if { (ac_try="$ac_compile" | ||
| 14961 | case "(($ac_try" in | ||
| 14962 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14963 | *) ac_try_echo=$ac_try;; | ||
| 14964 | esac | ||
| 14965 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14966 | $as_echo "$ac_try_echo") >&5 | ||
| 14967 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14968 | ac_status=$? | ||
| 14969 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14970 | rm -f conftest.er1 | ||
| 14971 | cat conftest.err >&5 | ||
| 14972 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14973 | (exit $ac_status); } && { | ||
| 14974 | test -z "$ac_c_werror_flag" || | ||
| 14975 | test ! -s conftest.err | ||
| 14976 | } && test -s conftest.$ac_objext; then | ||
| 14977 | ac_header_compiler=yes | ||
| 14978 | else | ||
| 14979 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14980 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14981 | |||
| 14982 | ac_header_compiler=no | ||
| 14983 | fi | ||
| 14984 | |||
| 14985 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14986 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14987 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14988 | |||
| 14989 | # Is the header present? | ||
| 14990 | { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | ||
| 14991 | $as_echo_n "checking jerror.h presence... " >&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 | #include <jerror.h> | ||
| 14999 | _ACEOF | ||
| 15000 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15001 | case "(($ac_try" in | ||
| 15002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15003 | *) ac_try_echo=$ac_try;; | ||
| 15004 | esac | ||
| 15005 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15006 | $as_echo "$ac_try_echo") >&5 | ||
| 15007 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15008 | ac_status=$? | ||
| 15009 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15010 | rm -f conftest.er1 | ||
| 15011 | cat conftest.err >&5 | ||
| 15012 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15013 | (exit $ac_status); } >/dev/null && { | ||
| 15014 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15015 | test ! -s conftest.err | ||
| 15016 | }; then | ||
| 15017 | ac_header_preproc=yes | ||
| 15018 | else | ||
| 15019 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15020 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15021 | |||
| 15022 | ac_header_preproc=no | ||
| 15023 | fi | ||
| 15024 | |||
| 15025 | rm -f conftest.err conftest.$ac_ext | ||
| 15026 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15027 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15028 | |||
| 15029 | # So? What about this header? | ||
| 15030 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15031 | yes:no: ) | ||
| 15032 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15033 | $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15034 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | ||
| 15035 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | ||
| 15036 | ac_header_preproc=yes | ||
| 15037 | ;; | ||
| 15038 | no:yes:* ) | ||
| 15039 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | ||
| 15040 | $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | ||
| 15041 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | ||
| 15042 | $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | ||
| 15043 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | ||
| 15044 | $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | ||
| 15045 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15046 | $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15047 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | ||
| 15048 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | ||
| 15049 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | ||
| 15050 | $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | ||
| 15051 | |||
| 15052 | ;; | ||
| 15053 | esac | ||
| 15054 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | ||
| 15055 | $as_echo_n "checking for jerror.h... " >&6; } | ||
| 15056 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 15057 | $as_echo_n "(cached) " >&6 | ||
| 15058 | else | ||
| 15059 | ac_cv_header_jerror_h=$ac_header_preproc | ||
| 15060 | fi | ||
| 15061 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 15062 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 15063 | |||
| 15064 | fi | ||
| 15065 | if test $ac_cv_header_jerror_h = yes; then | ||
| 15066 | { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | ||
| 9949 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 15067 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
| 9950 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 15068 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
| 9951 | $as_echo_n "(cached) " >&6 | 15069 | $as_echo_n "(cached) " >&6 |
| 9952 | else | 15070 | else |
| 9953 | ac_check_lib_save_LIBS=$LIBS | 15071 | ac_check_lib_save_LIBS=$LIBS |
| 9954 | LIBS="-ljpeg $LIBS" | 15072 | LIBS="-ljpeg $LIBS" |
| 9955 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15073 | cat >conftest.$ac_ext <<_ACEOF |
| 15074 | /* confdefs.h. */ | ||
| 15075 | _ACEOF | ||
| 15076 | cat confdefs.h >>conftest.$ac_ext | ||
| 15077 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9956 | /* end confdefs.h. */ | 15078 | /* end confdefs.h. */ |
| 9957 | 15079 | ||
| 9958 | /* Override any GCC internal prototype to avoid an error. | 15080 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9970,18 +15092,43 @@ return jpeg_destroy_compress (); | |||
| 9970 | return 0; | 15092 | return 0; |
| 9971 | } | 15093 | } |
| 9972 | _ACEOF | 15094 | _ACEOF |
| 9973 | if ac_fn_c_try_link "$LINENO"; then : | 15095 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15096 | if { (ac_try="$ac_link" | ||
| 15097 | case "(($ac_try" in | ||
| 15098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15099 | *) ac_try_echo=$ac_try;; | ||
| 15100 | esac | ||
| 15101 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15102 | $as_echo "$ac_try_echo") >&5 | ||
| 15103 | (eval "$ac_link") 2>conftest.er1 | ||
| 15104 | ac_status=$? | ||
| 15105 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15106 | rm -f conftest.er1 | ||
| 15107 | cat conftest.err >&5 | ||
| 15108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15109 | (exit $ac_status); } && { | ||
| 15110 | test -z "$ac_c_werror_flag" || | ||
| 15111 | test ! -s conftest.err | ||
| 15112 | } && test -s conftest$ac_exeext && { | ||
| 15113 | test "$cross_compiling" = yes || | ||
| 15114 | $as_test_x conftest$ac_exeext | ||
| 15115 | }; then | ||
| 9974 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 15116 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
| 9975 | else | 15117 | else |
| 9976 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | 15118 | $as_echo "$as_me: failed program was:" >&5 |
| 15119 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15120 | |||
| 15121 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | ||
| 9977 | fi | 15122 | fi |
| 9978 | rm -f core conftest.err conftest.$ac_objext \ | 15123 | |
| 9979 | conftest$ac_exeext conftest.$ac_ext | 15124 | rm -rf conftest.dSYM |
| 15125 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15126 | conftest$ac_exeext conftest.$ac_ext | ||
| 9980 | LIBS=$ac_check_lib_save_LIBS | 15127 | LIBS=$ac_check_lib_save_LIBS |
| 9981 | fi | 15128 | fi |
| 9982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 15129 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
| 9983 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 15130 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
| 9984 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 15131 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
| 9985 | HAVE_JPEG=yes | 15132 | HAVE_JPEG=yes |
| 9986 | fi | 15133 | fi |
| 9987 | 15134 | ||
| @@ -9990,21 +15137,30 @@ fi | |||
| 9990 | 15137 | ||
| 9991 | fi | 15138 | fi |
| 9992 | 15139 | ||
| 9993 | if test "${HAVE_JPEG}" = "yes"; then | ||
| 9994 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | ||
| 9995 | 15140 | ||
| 9996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15141 | if test "${HAVE_JPEG}" = "yes"; then |
| 15142 | cat >>confdefs.h <<\_ACEOF | ||
| 15143 | #define HAVE_JPEG 1 | ||
| 15144 | _ACEOF | ||
| 15145 | |||
| 15146 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15147 | /* confdefs.h. */ | ||
| 15148 | _ACEOF | ||
| 15149 | cat confdefs.h >>conftest.$ac_ext | ||
| 15150 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9997 | /* end confdefs.h. */ | 15151 | /* end confdefs.h. */ |
| 9998 | #include <jpeglib.h> | 15152 | #include <jpeglib.h> |
| 9999 | version=JPEG_LIB_VERSION | 15153 | version=JPEG_LIB_VERSION |
| 10000 | 15154 | ||
| 10001 | _ACEOF | 15155 | _ACEOF |
| 10002 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15156 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10003 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : | 15157 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
| 10004 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 15158 | cat >>confdefs.h <<\_ACEOF |
| 15159 | #define HAVE_JPEG 1 | ||
| 15160 | _ACEOF | ||
| 10005 | 15161 | ||
| 10006 | else | 15162 | else |
| 10007 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 | 15163 | { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 |
| 10008 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 15164 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
| 10009 | HAVE_JPEG=no | 15165 | HAVE_JPEG=no |
| 10010 | fi | 15166 | fi |
| @@ -10024,12 +15180,144 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10024 | if test "${with_png}" != "no"; then | 15180 | if test "${with_png}" != "no"; then |
| 10025 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 15181 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
| 10026 | # in /usr/include/libpng. | 15182 | # in /usr/include/libpng. |
| 10027 | for ac_header in png.h libpng/png.h | 15183 | |
| 10028 | do : | 15184 | |
| 10029 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15185 | for ac_header in png.h libpng/png.h |
| 10030 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 15186 | do |
| 10031 | eval as_val=\$$as_ac_Header | 15187 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10032 | if test "x$as_val" = x""yes; then : | 15188 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 15189 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 15190 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 15191 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 15192 | $as_echo_n "(cached) " >&6 | ||
| 15193 | fi | ||
| 15194 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 15195 | $as_echo "$as_val"'` | ||
| 15196 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 15197 | $as_echo "$ac_res" >&6; } | ||
| 15198 | else | ||
| 15199 | # Is the header compilable? | ||
| 15200 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 15201 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 15202 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15203 | /* confdefs.h. */ | ||
| 15204 | _ACEOF | ||
| 15205 | cat confdefs.h >>conftest.$ac_ext | ||
| 15206 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15207 | /* end confdefs.h. */ | ||
| 15208 | $ac_includes_default | ||
| 15209 | #include <$ac_header> | ||
| 15210 | _ACEOF | ||
| 15211 | rm -f conftest.$ac_objext | ||
| 15212 | if { (ac_try="$ac_compile" | ||
| 15213 | case "(($ac_try" in | ||
| 15214 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15215 | *) ac_try_echo=$ac_try;; | ||
| 15216 | esac | ||
| 15217 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15218 | $as_echo "$ac_try_echo") >&5 | ||
| 15219 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15220 | ac_status=$? | ||
| 15221 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15222 | rm -f conftest.er1 | ||
| 15223 | cat conftest.err >&5 | ||
| 15224 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15225 | (exit $ac_status); } && { | ||
| 15226 | test -z "$ac_c_werror_flag" || | ||
| 15227 | test ! -s conftest.err | ||
| 15228 | } && test -s conftest.$ac_objext; then | ||
| 15229 | ac_header_compiler=yes | ||
| 15230 | else | ||
| 15231 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15232 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15233 | |||
| 15234 | ac_header_compiler=no | ||
| 15235 | fi | ||
| 15236 | |||
| 15237 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15238 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15239 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15240 | |||
| 15241 | # Is the header present? | ||
| 15242 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 15243 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 15244 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15245 | /* confdefs.h. */ | ||
| 15246 | _ACEOF | ||
| 15247 | cat confdefs.h >>conftest.$ac_ext | ||
| 15248 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15249 | /* end confdefs.h. */ | ||
| 15250 | #include <$ac_header> | ||
| 15251 | _ACEOF | ||
| 15252 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15253 | case "(($ac_try" in | ||
| 15254 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15255 | *) ac_try_echo=$ac_try;; | ||
| 15256 | esac | ||
| 15257 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15258 | $as_echo "$ac_try_echo") >&5 | ||
| 15259 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15260 | ac_status=$? | ||
| 15261 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15262 | rm -f conftest.er1 | ||
| 15263 | cat conftest.err >&5 | ||
| 15264 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15265 | (exit $ac_status); } >/dev/null && { | ||
| 15266 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15267 | test ! -s conftest.err | ||
| 15268 | }; then | ||
| 15269 | ac_header_preproc=yes | ||
| 15270 | else | ||
| 15271 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15272 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15273 | |||
| 15274 | ac_header_preproc=no | ||
| 15275 | fi | ||
| 15276 | |||
| 15277 | rm -f conftest.err conftest.$ac_ext | ||
| 15278 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15279 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15280 | |||
| 15281 | # So? What about this header? | ||
| 15282 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15283 | yes:no: ) | ||
| 15284 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15285 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15286 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 15287 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 15288 | ac_header_preproc=yes | ||
| 15289 | ;; | ||
| 15290 | no:yes:* ) | ||
| 15291 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 15292 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 15293 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 15294 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 15295 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 15296 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 15297 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15298 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15299 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 15300 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 15301 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 15302 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 15303 | |||
| 15304 | ;; | ||
| 15305 | esac | ||
| 15306 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 15307 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 15308 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 15309 | $as_echo_n "(cached) " >&6 | ||
| 15310 | else | ||
| 15311 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 15312 | fi | ||
| 15313 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 15314 | $as_echo "$as_val"'` | ||
| 15315 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 15316 | $as_echo "$ac_res" >&6; } | ||
| 15317 | |||
| 15318 | fi | ||
| 15319 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 15320 | $as_echo "$as_val"'` = yes; then | ||
| 10033 | cat >>confdefs.h <<_ACEOF | 15321 | cat >>confdefs.h <<_ACEOF |
| 10034 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 15322 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10035 | _ACEOF | 15323 | _ACEOF |
| @@ -10039,14 +15327,18 @@ fi | |||
| 10039 | done | 15327 | done |
| 10040 | 15328 | ||
| 10041 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 15329 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
| 10042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 15330 | { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
| 10043 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 15331 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
| 10044 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 15332 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
| 10045 | $as_echo_n "(cached) " >&6 | 15333 | $as_echo_n "(cached) " >&6 |
| 10046 | else | 15334 | else |
| 10047 | ac_check_lib_save_LIBS=$LIBS | 15335 | ac_check_lib_save_LIBS=$LIBS |
| 10048 | LIBS="-lpng -lz -lm $LIBS" | 15336 | LIBS="-lpng -lz -lm $LIBS" |
| 10049 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15337 | cat >conftest.$ac_ext <<_ACEOF |
| 15338 | /* confdefs.h. */ | ||
| 15339 | _ACEOF | ||
| 15340 | cat confdefs.h >>conftest.$ac_ext | ||
| 15341 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10050 | /* end confdefs.h. */ | 15342 | /* end confdefs.h. */ |
| 10051 | 15343 | ||
| 10052 | /* Override any GCC internal prototype to avoid an error. | 15344 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10064,18 +15356,43 @@ return png_get_channels (); | |||
| 10064 | return 0; | 15356 | return 0; |
| 10065 | } | 15357 | } |
| 10066 | _ACEOF | 15358 | _ACEOF |
| 10067 | if ac_fn_c_try_link "$LINENO"; then : | 15359 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15360 | if { (ac_try="$ac_link" | ||
| 15361 | case "(($ac_try" in | ||
| 15362 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15363 | *) ac_try_echo=$ac_try;; | ||
| 15364 | esac | ||
| 15365 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15366 | $as_echo "$ac_try_echo") >&5 | ||
| 15367 | (eval "$ac_link") 2>conftest.er1 | ||
| 15368 | ac_status=$? | ||
| 15369 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15370 | rm -f conftest.er1 | ||
| 15371 | cat conftest.err >&5 | ||
| 15372 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15373 | (exit $ac_status); } && { | ||
| 15374 | test -z "$ac_c_werror_flag" || | ||
| 15375 | test ! -s conftest.err | ||
| 15376 | } && test -s conftest$ac_exeext && { | ||
| 15377 | test "$cross_compiling" = yes || | ||
| 15378 | $as_test_x conftest$ac_exeext | ||
| 15379 | }; then | ||
| 10068 | ac_cv_lib_png_png_get_channels=yes | 15380 | ac_cv_lib_png_png_get_channels=yes |
| 10069 | else | 15381 | else |
| 10070 | ac_cv_lib_png_png_get_channels=no | 15382 | $as_echo "$as_me: failed program was:" >&5 |
| 15383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15384 | |||
| 15385 | ac_cv_lib_png_png_get_channels=no | ||
| 10071 | fi | 15386 | fi |
| 10072 | rm -f core conftest.err conftest.$ac_objext \ | 15387 | |
| 10073 | conftest$ac_exeext conftest.$ac_ext | 15388 | rm -rf conftest.dSYM |
| 15389 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15390 | conftest$ac_exeext conftest.$ac_ext | ||
| 10074 | LIBS=$ac_check_lib_save_LIBS | 15391 | LIBS=$ac_check_lib_save_LIBS |
| 10075 | fi | 15392 | fi |
| 10076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 15393 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
| 10077 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 15394 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
| 10078 | if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 15395 | if test $ac_cv_lib_png_png_get_channels = yes; then |
| 10079 | HAVE_PNG=yes | 15396 | HAVE_PNG=yes |
| 10080 | fi | 15397 | fi |
| 10081 | 15398 | ||
| @@ -10084,7 +15401,9 @@ fi | |||
| 10084 | 15401 | ||
| 10085 | if test "${HAVE_PNG}" = "yes"; then | 15402 | if test "${HAVE_PNG}" = "yes"; then |
| 10086 | 15403 | ||
| 10087 | $as_echo "#define HAVE_PNG 1" >>confdefs.h | 15404 | cat >>confdefs.h <<\_ACEOF |
| 15405 | #define HAVE_PNG 1 | ||
| 15406 | _ACEOF | ||
| 10088 | 15407 | ||
| 10089 | LIBPNG="-lpng -lz -lm" | 15408 | LIBPNG="-lpng -lz -lm" |
| 10090 | fi | 15409 | fi |
| @@ -10096,19 +15415,149 @@ HAVE_TIFF=no | |||
| 10096 | LIBTIFF= | 15415 | LIBTIFF= |
| 10097 | if test "${HAVE_X11}" = "yes"; then | 15416 | if test "${HAVE_X11}" = "yes"; then |
| 10098 | if test "${with_tiff}" != "no"; then | 15417 | if test "${with_tiff}" != "no"; then |
| 10099 | ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 15418 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 10100 | if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 15419 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
| 15420 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15421 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15422 | $as_echo_n "(cached) " >&6 | ||
| 15423 | fi | ||
| 15424 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15425 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15426 | else | ||
| 15427 | # Is the header compilable? | ||
| 15428 | { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | ||
| 15429 | $as_echo_n "checking tiffio.h usability... " >&6; } | ||
| 15430 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15431 | /* confdefs.h. */ | ||
| 15432 | _ACEOF | ||
| 15433 | cat confdefs.h >>conftest.$ac_ext | ||
| 15434 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15435 | /* end confdefs.h. */ | ||
| 15436 | $ac_includes_default | ||
| 15437 | #include <tiffio.h> | ||
| 15438 | _ACEOF | ||
| 15439 | rm -f conftest.$ac_objext | ||
| 15440 | if { (ac_try="$ac_compile" | ||
| 15441 | case "(($ac_try" in | ||
| 15442 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15443 | *) ac_try_echo=$ac_try;; | ||
| 15444 | esac | ||
| 15445 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15446 | $as_echo "$ac_try_echo") >&5 | ||
| 15447 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15448 | ac_status=$? | ||
| 15449 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15450 | rm -f conftest.er1 | ||
| 15451 | cat conftest.err >&5 | ||
| 15452 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15453 | (exit $ac_status); } && { | ||
| 15454 | test -z "$ac_c_werror_flag" || | ||
| 15455 | test ! -s conftest.err | ||
| 15456 | } && test -s conftest.$ac_objext; then | ||
| 15457 | ac_header_compiler=yes | ||
| 15458 | else | ||
| 15459 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15460 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15461 | |||
| 15462 | ac_header_compiler=no | ||
| 15463 | fi | ||
| 15464 | |||
| 15465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15466 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15467 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15468 | |||
| 15469 | # Is the header present? | ||
| 15470 | { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | ||
| 15471 | $as_echo_n "checking tiffio.h presence... " >&6; } | ||
| 15472 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15473 | /* confdefs.h. */ | ||
| 15474 | _ACEOF | ||
| 15475 | cat confdefs.h >>conftest.$ac_ext | ||
| 15476 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15477 | /* end confdefs.h. */ | ||
| 15478 | #include <tiffio.h> | ||
| 15479 | _ACEOF | ||
| 15480 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15481 | case "(($ac_try" in | ||
| 15482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15483 | *) ac_try_echo=$ac_try;; | ||
| 15484 | esac | ||
| 15485 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15486 | $as_echo "$ac_try_echo") >&5 | ||
| 15487 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15488 | ac_status=$? | ||
| 15489 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15490 | rm -f conftest.er1 | ||
| 15491 | cat conftest.err >&5 | ||
| 15492 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15493 | (exit $ac_status); } >/dev/null && { | ||
| 15494 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15495 | test ! -s conftest.err | ||
| 15496 | }; then | ||
| 15497 | ac_header_preproc=yes | ||
| 15498 | else | ||
| 15499 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15500 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15501 | |||
| 15502 | ac_header_preproc=no | ||
| 15503 | fi | ||
| 15504 | |||
| 15505 | rm -f conftest.err conftest.$ac_ext | ||
| 15506 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15507 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15508 | |||
| 15509 | # So? What about this header? | ||
| 15510 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15511 | yes:no: ) | ||
| 15512 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15513 | $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15514 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | ||
| 15515 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | ||
| 15516 | ac_header_preproc=yes | ||
| 15517 | ;; | ||
| 15518 | no:yes:* ) | ||
| 15519 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | ||
| 15520 | $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | ||
| 15521 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | ||
| 15522 | $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | ||
| 15523 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | ||
| 15524 | $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | ||
| 15525 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15526 | $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15527 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | ||
| 15528 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | ||
| 15529 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | ||
| 15530 | $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | ||
| 15531 | |||
| 15532 | ;; | ||
| 15533 | esac | ||
| 15534 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | ||
| 15535 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15536 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15537 | $as_echo_n "(cached) " >&6 | ||
| 15538 | else | ||
| 15539 | ac_cv_header_tiffio_h=$ac_header_preproc | ||
| 15540 | fi | ||
| 15541 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15542 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15543 | |||
| 15544 | fi | ||
| 15545 | if test $ac_cv_header_tiffio_h = yes; then | ||
| 10101 | tifflibs="-lz -lm" | 15546 | tifflibs="-lz -lm" |
| 10102 | # At least one tiff package requires the jpeg library. | 15547 | # At least one tiff package requires the jpeg library. |
| 10103 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 15548 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 10104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 15549 | { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
| 10105 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 15550 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
| 10106 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 15551 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
| 10107 | $as_echo_n "(cached) " >&6 | 15552 | $as_echo_n "(cached) " >&6 |
| 10108 | else | 15553 | else |
| 10109 | ac_check_lib_save_LIBS=$LIBS | 15554 | ac_check_lib_save_LIBS=$LIBS |
| 10110 | LIBS="-ltiff $tifflibs $LIBS" | 15555 | LIBS="-ltiff $tifflibs $LIBS" |
| 10111 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15556 | cat >conftest.$ac_ext <<_ACEOF |
| 15557 | /* confdefs.h. */ | ||
| 15558 | _ACEOF | ||
| 15559 | cat confdefs.h >>conftest.$ac_ext | ||
| 15560 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10112 | /* end confdefs.h. */ | 15561 | /* end confdefs.h. */ |
| 10113 | 15562 | ||
| 10114 | /* Override any GCC internal prototype to avoid an error. | 15563 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10126,18 +15575,43 @@ return TIFFGetVersion (); | |||
| 10126 | return 0; | 15575 | return 0; |
| 10127 | } | 15576 | } |
| 10128 | _ACEOF | 15577 | _ACEOF |
| 10129 | if ac_fn_c_try_link "$LINENO"; then : | 15578 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15579 | if { (ac_try="$ac_link" | ||
| 15580 | case "(($ac_try" in | ||
| 15581 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15582 | *) ac_try_echo=$ac_try;; | ||
| 15583 | esac | ||
| 15584 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15585 | $as_echo "$ac_try_echo") >&5 | ||
| 15586 | (eval "$ac_link") 2>conftest.er1 | ||
| 15587 | ac_status=$? | ||
| 15588 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15589 | rm -f conftest.er1 | ||
| 15590 | cat conftest.err >&5 | ||
| 15591 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15592 | (exit $ac_status); } && { | ||
| 15593 | test -z "$ac_c_werror_flag" || | ||
| 15594 | test ! -s conftest.err | ||
| 15595 | } && test -s conftest$ac_exeext && { | ||
| 15596 | test "$cross_compiling" = yes || | ||
| 15597 | $as_test_x conftest$ac_exeext | ||
| 15598 | }; then | ||
| 10130 | ac_cv_lib_tiff_TIFFGetVersion=yes | 15599 | ac_cv_lib_tiff_TIFFGetVersion=yes |
| 10131 | else | 15600 | else |
| 10132 | ac_cv_lib_tiff_TIFFGetVersion=no | 15601 | $as_echo "$as_me: failed program was:" >&5 |
| 15602 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15603 | |||
| 15604 | ac_cv_lib_tiff_TIFFGetVersion=no | ||
| 10133 | fi | 15605 | fi |
| 10134 | rm -f core conftest.err conftest.$ac_objext \ | 15606 | |
| 10135 | conftest$ac_exeext conftest.$ac_ext | 15607 | rm -rf conftest.dSYM |
| 15608 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15609 | conftest$ac_exeext conftest.$ac_ext | ||
| 10136 | LIBS=$ac_check_lib_save_LIBS | 15610 | LIBS=$ac_check_lib_save_LIBS |
| 10137 | fi | 15611 | fi |
| 10138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 15612 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
| 10139 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 15613 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
| 10140 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 15614 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
| 10141 | HAVE_TIFF=yes | 15615 | HAVE_TIFF=yes |
| 10142 | fi | 15616 | fi |
| 10143 | 15617 | ||
| @@ -10148,7 +15622,9 @@ fi | |||
| 10148 | 15622 | ||
| 10149 | if test "${HAVE_TIFF}" = "yes"; then | 15623 | if test "${HAVE_TIFF}" = "yes"; then |
| 10150 | 15624 | ||
| 10151 | $as_echo "#define HAVE_TIFF 1" >>confdefs.h | 15625 | cat >>confdefs.h <<\_ACEOF |
| 15626 | #define HAVE_TIFF 1 | ||
| 15627 | _ACEOF | ||
| 10152 | 15628 | ||
| 10153 | LIBTIFF=-ltiff | 15629 | LIBTIFF=-ltiff |
| 10154 | fi | 15630 | fi |
| @@ -10159,18 +15635,148 @@ fi | |||
| 10159 | HAVE_GIF=no | 15635 | HAVE_GIF=no |
| 10160 | LIBGIF= | 15636 | LIBGIF= |
| 10161 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 15637 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
| 10162 | ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 15638 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 10163 | if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 15639 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 15640 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15641 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15642 | $as_echo_n "(cached) " >&6 | ||
| 15643 | fi | ||
| 15644 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15645 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15646 | else | ||
| 15647 | # Is the header compilable? | ||
| 15648 | { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | ||
| 15649 | $as_echo_n "checking gif_lib.h usability... " >&6; } | ||
| 15650 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15651 | /* confdefs.h. */ | ||
| 15652 | _ACEOF | ||
| 15653 | cat confdefs.h >>conftest.$ac_ext | ||
| 15654 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15655 | /* end confdefs.h. */ | ||
| 15656 | $ac_includes_default | ||
| 15657 | #include <gif_lib.h> | ||
| 15658 | _ACEOF | ||
| 15659 | rm -f conftest.$ac_objext | ||
| 15660 | if { (ac_try="$ac_compile" | ||
| 15661 | case "(($ac_try" in | ||
| 15662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15663 | *) ac_try_echo=$ac_try;; | ||
| 15664 | esac | ||
| 15665 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15666 | $as_echo "$ac_try_echo") >&5 | ||
| 15667 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15668 | ac_status=$? | ||
| 15669 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15670 | rm -f conftest.er1 | ||
| 15671 | cat conftest.err >&5 | ||
| 15672 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15673 | (exit $ac_status); } && { | ||
| 15674 | test -z "$ac_c_werror_flag" || | ||
| 15675 | test ! -s conftest.err | ||
| 15676 | } && test -s conftest.$ac_objext; then | ||
| 15677 | ac_header_compiler=yes | ||
| 15678 | else | ||
| 15679 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15680 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15681 | |||
| 15682 | ac_header_compiler=no | ||
| 15683 | fi | ||
| 15684 | |||
| 15685 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15686 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15687 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15688 | |||
| 15689 | # Is the header present? | ||
| 15690 | { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | ||
| 15691 | $as_echo_n "checking gif_lib.h presence... " >&6; } | ||
| 15692 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15693 | /* confdefs.h. */ | ||
| 15694 | _ACEOF | ||
| 15695 | cat confdefs.h >>conftest.$ac_ext | ||
| 15696 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15697 | /* end confdefs.h. */ | ||
| 15698 | #include <gif_lib.h> | ||
| 15699 | _ACEOF | ||
| 15700 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15701 | case "(($ac_try" in | ||
| 15702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15703 | *) ac_try_echo=$ac_try;; | ||
| 15704 | esac | ||
| 15705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15706 | $as_echo "$ac_try_echo") >&5 | ||
| 15707 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15708 | ac_status=$? | ||
| 15709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15710 | rm -f conftest.er1 | ||
| 15711 | cat conftest.err >&5 | ||
| 15712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15713 | (exit $ac_status); } >/dev/null && { | ||
| 15714 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15715 | test ! -s conftest.err | ||
| 15716 | }; then | ||
| 15717 | ac_header_preproc=yes | ||
| 15718 | else | ||
| 15719 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15720 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15721 | |||
| 15722 | ac_header_preproc=no | ||
| 15723 | fi | ||
| 15724 | |||
| 15725 | rm -f conftest.err conftest.$ac_ext | ||
| 15726 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15727 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15728 | |||
| 15729 | # So? What about this header? | ||
| 15730 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15731 | yes:no: ) | ||
| 15732 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15733 | $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15734 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | ||
| 15735 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | ||
| 15736 | ac_header_preproc=yes | ||
| 15737 | ;; | ||
| 15738 | no:yes:* ) | ||
| 15739 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | ||
| 15740 | $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | ||
| 15741 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | ||
| 15742 | $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | ||
| 15743 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | ||
| 15744 | $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | ||
| 15745 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15746 | $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15747 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | ||
| 15748 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | ||
| 15749 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | ||
| 15750 | $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | ||
| 15751 | |||
| 15752 | ;; | ||
| 15753 | esac | ||
| 15754 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | ||
| 15755 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15756 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15757 | $as_echo_n "(cached) " >&6 | ||
| 15758 | else | ||
| 15759 | ac_cv_header_gif_lib_h=$ac_header_preproc | ||
| 15760 | fi | ||
| 15761 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15762 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15763 | |||
| 15764 | fi | ||
| 15765 | if test $ac_cv_header_gif_lib_h = yes; then | ||
| 10164 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15766 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 10165 | # Earlier versions can crash Emacs. | 15767 | # Earlier versions can crash Emacs. |
| 10166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 15768 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
| 10167 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 15769 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
| 10168 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 15770 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
| 10169 | $as_echo_n "(cached) " >&6 | 15771 | $as_echo_n "(cached) " >&6 |
| 10170 | else | 15772 | else |
| 10171 | ac_check_lib_save_LIBS=$LIBS | 15773 | ac_check_lib_save_LIBS=$LIBS |
| 10172 | LIBS="-lgif $LIBS" | 15774 | LIBS="-lgif $LIBS" |
| 10173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15775 | cat >conftest.$ac_ext <<_ACEOF |
| 15776 | /* confdefs.h. */ | ||
| 15777 | _ACEOF | ||
| 15778 | cat confdefs.h >>conftest.$ac_ext | ||
| 15779 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10174 | /* end confdefs.h. */ | 15780 | /* end confdefs.h. */ |
| 10175 | 15781 | ||
| 10176 | /* Override any GCC internal prototype to avoid an error. | 15782 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10188,18 +15794,43 @@ return EGifPutExtensionLast (); | |||
| 10188 | return 0; | 15794 | return 0; |
| 10189 | } | 15795 | } |
| 10190 | _ACEOF | 15796 | _ACEOF |
| 10191 | if ac_fn_c_try_link "$LINENO"; then : | 15797 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15798 | if { (ac_try="$ac_link" | ||
| 15799 | case "(($ac_try" in | ||
| 15800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15801 | *) ac_try_echo=$ac_try;; | ||
| 15802 | esac | ||
| 15803 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15804 | $as_echo "$ac_try_echo") >&5 | ||
| 15805 | (eval "$ac_link") 2>conftest.er1 | ||
| 15806 | ac_status=$? | ||
| 15807 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15808 | rm -f conftest.er1 | ||
| 15809 | cat conftest.err >&5 | ||
| 15810 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15811 | (exit $ac_status); } && { | ||
| 15812 | test -z "$ac_c_werror_flag" || | ||
| 15813 | test ! -s conftest.err | ||
| 15814 | } && test -s conftest$ac_exeext && { | ||
| 15815 | test "$cross_compiling" = yes || | ||
| 15816 | $as_test_x conftest$ac_exeext | ||
| 15817 | }; then | ||
| 10192 | ac_cv_lib_gif_EGifPutExtensionLast=yes | 15818 | ac_cv_lib_gif_EGifPutExtensionLast=yes |
| 10193 | else | 15819 | else |
| 10194 | ac_cv_lib_gif_EGifPutExtensionLast=no | 15820 | $as_echo "$as_me: failed program was:" >&5 |
| 15821 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15822 | |||
| 15823 | ac_cv_lib_gif_EGifPutExtensionLast=no | ||
| 10195 | fi | 15824 | fi |
| 10196 | rm -f core conftest.err conftest.$ac_objext \ | 15825 | |
| 10197 | conftest$ac_exeext conftest.$ac_ext | 15826 | rm -rf conftest.dSYM |
| 15827 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15828 | conftest$ac_exeext conftest.$ac_ext | ||
| 10198 | LIBS=$ac_check_lib_save_LIBS | 15829 | LIBS=$ac_check_lib_save_LIBS |
| 10199 | fi | 15830 | fi |
| 10200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 15831 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
| 10201 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 15832 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
| 10202 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 15833 | if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
| 10203 | HAVE_GIF=yes | 15834 | HAVE_GIF=yes |
| 10204 | else | 15835 | else |
| 10205 | HAVE_GIF=maybe | 15836 | HAVE_GIF=maybe |
| @@ -10213,14 +15844,18 @@ fi | |||
| 10213 | LIBGIF=-lgif | 15844 | LIBGIF=-lgif |
| 10214 | elif test "$HAVE_GIF" = maybe; then | 15845 | elif test "$HAVE_GIF" = maybe; then |
| 10215 | # If gif_lib.h but no libgif, try libungif. | 15846 | # If gif_lib.h but no libgif, try libungif. |
| 10216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 15847 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
| 10217 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 15848 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
| 10218 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 15849 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
| 10219 | $as_echo_n "(cached) " >&6 | 15850 | $as_echo_n "(cached) " >&6 |
| 10220 | else | 15851 | else |
| 10221 | ac_check_lib_save_LIBS=$LIBS | 15852 | ac_check_lib_save_LIBS=$LIBS |
| 10222 | LIBS="-lungif $LIBS" | 15853 | LIBS="-lungif $LIBS" |
| 10223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15854 | cat >conftest.$ac_ext <<_ACEOF |
| 15855 | /* confdefs.h. */ | ||
| 15856 | _ACEOF | ||
| 15857 | cat confdefs.h >>conftest.$ac_ext | ||
| 15858 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10224 | /* end confdefs.h. */ | 15859 | /* end confdefs.h. */ |
| 10225 | 15860 | ||
| 10226 | /* Override any GCC internal prototype to avoid an error. | 15861 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10238,18 +15873,43 @@ return EGifPutExtensionLast (); | |||
| 10238 | return 0; | 15873 | return 0; |
| 10239 | } | 15874 | } |
| 10240 | _ACEOF | 15875 | _ACEOF |
| 10241 | if ac_fn_c_try_link "$LINENO"; then : | 15876 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15877 | if { (ac_try="$ac_link" | ||
| 15878 | case "(($ac_try" in | ||
| 15879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15880 | *) ac_try_echo=$ac_try;; | ||
| 15881 | esac | ||
| 15882 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15883 | $as_echo "$ac_try_echo") >&5 | ||
| 15884 | (eval "$ac_link") 2>conftest.er1 | ||
| 15885 | ac_status=$? | ||
| 15886 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15887 | rm -f conftest.er1 | ||
| 15888 | cat conftest.err >&5 | ||
| 15889 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15890 | (exit $ac_status); } && { | ||
| 15891 | test -z "$ac_c_werror_flag" || | ||
| 15892 | test ! -s conftest.err | ||
| 15893 | } && test -s conftest$ac_exeext && { | ||
| 15894 | test "$cross_compiling" = yes || | ||
| 15895 | $as_test_x conftest$ac_exeext | ||
| 15896 | }; then | ||
| 10242 | ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15897 | ac_cv_lib_ungif_EGifPutExtensionLast=yes |
| 10243 | else | 15898 | else |
| 10244 | ac_cv_lib_ungif_EGifPutExtensionLast=no | 15899 | $as_echo "$as_me: failed program was:" >&5 |
| 15900 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15901 | |||
| 15902 | ac_cv_lib_ungif_EGifPutExtensionLast=no | ||
| 10245 | fi | 15903 | fi |
| 10246 | rm -f core conftest.err conftest.$ac_objext \ | 15904 | |
| 10247 | conftest$ac_exeext conftest.$ac_ext | 15905 | rm -rf conftest.dSYM |
| 15906 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15907 | conftest$ac_exeext conftest.$ac_ext | ||
| 10248 | LIBS=$ac_check_lib_save_LIBS | 15908 | LIBS=$ac_check_lib_save_LIBS |
| 10249 | fi | 15909 | fi |
| 10250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15910 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
| 10251 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 15911 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 10252 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 15912 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
| 10253 | HAVE_GIF=yes | 15913 | HAVE_GIF=yes |
| 10254 | else | 15914 | else |
| 10255 | HAVE_GIF=no | 15915 | HAVE_GIF=no |
| @@ -10260,7 +15920,9 @@ fi | |||
| 10260 | 15920 | ||
| 10261 | if test "${HAVE_GIF}" = "yes"; then | 15921 | if test "${HAVE_GIF}" = "yes"; then |
| 10262 | 15922 | ||
| 10263 | $as_echo "#define HAVE_GIF 1" >>confdefs.h | 15923 | cat >>confdefs.h <<\_ACEOF |
| 15924 | #define HAVE_GIF 1 | ||
| 15925 | _ACEOF | ||
| 10264 | 15926 | ||
| 10265 | fi | 15927 | fi |
| 10266 | fi | 15928 | fi |
| @@ -10281,12 +15943,19 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10281 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 15943 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 10282 | 15944 | ||
| 10283 | if test "X${MISSING}" != X; then | 15945 | if test "X${MISSING}" != X; then |
| 10284 | as_fn_error "The following required libraries were not found: | 15946 | { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: |
| 15947 | $MISSING | ||
| 15948 | Maybe some development libraries/packages are missing? | ||
| 15949 | If you don't want to link with them give | ||
| 15950 | $WITH_NO | ||
| 15951 | as options to configure" >&5 | ||
| 15952 | $as_echo "$as_me: error: The following required libraries were not found: | ||
| 10285 | $MISSING | 15953 | $MISSING |
| 10286 | Maybe some development libraries/packages are missing? | 15954 | Maybe some development libraries/packages are missing? |
| 10287 | If you don't want to link with them give | 15955 | If you don't want to link with them give |
| 10288 | $WITH_NO | 15956 | $WITH_NO |
| 10289 | as options to configure" "$LINENO" 5 | 15957 | as options to configure" >&2;} |
| 15958 | { (exit 1); exit 1; }; } | ||
| 10290 | fi | 15959 | fi |
| 10291 | fi | 15960 | fi |
| 10292 | 15961 | ||
| @@ -10295,16 +15964,146 @@ HAVE_GPM=no | |||
| 10295 | LIBGPM= | 15964 | LIBGPM= |
| 10296 | GPM_MOUSE_SUPPORT= | 15965 | GPM_MOUSE_SUPPORT= |
| 10297 | if test "${with_gpm}" != "no"; then | 15966 | if test "${with_gpm}" != "no"; then |
| 10298 | ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 15967 | if test "${ac_cv_header_gpm_h+set}" = set; then |
| 10299 | if test "x$ac_cv_header_gpm_h" = x""yes; then : | 15968 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 |
| 10300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 15969 | $as_echo_n "checking for gpm.h... " >&6; } |
| 15970 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15971 | $as_echo_n "(cached) " >&6 | ||
| 15972 | fi | ||
| 15973 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15974 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15975 | else | ||
| 15976 | # Is the header compilable? | ||
| 15977 | { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | ||
| 15978 | $as_echo_n "checking gpm.h usability... " >&6; } | ||
| 15979 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15980 | /* confdefs.h. */ | ||
| 15981 | _ACEOF | ||
| 15982 | cat confdefs.h >>conftest.$ac_ext | ||
| 15983 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15984 | /* end confdefs.h. */ | ||
| 15985 | $ac_includes_default | ||
| 15986 | #include <gpm.h> | ||
| 15987 | _ACEOF | ||
| 15988 | rm -f conftest.$ac_objext | ||
| 15989 | if { (ac_try="$ac_compile" | ||
| 15990 | case "(($ac_try" in | ||
| 15991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15992 | *) ac_try_echo=$ac_try;; | ||
| 15993 | esac | ||
| 15994 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15995 | $as_echo "$ac_try_echo") >&5 | ||
| 15996 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15997 | ac_status=$? | ||
| 15998 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15999 | rm -f conftest.er1 | ||
| 16000 | cat conftest.err >&5 | ||
| 16001 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16002 | (exit $ac_status); } && { | ||
| 16003 | test -z "$ac_c_werror_flag" || | ||
| 16004 | test ! -s conftest.err | ||
| 16005 | } && test -s conftest.$ac_objext; then | ||
| 16006 | ac_header_compiler=yes | ||
| 16007 | else | ||
| 16008 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16009 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16010 | |||
| 16011 | ac_header_compiler=no | ||
| 16012 | fi | ||
| 16013 | |||
| 16014 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16015 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16016 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16017 | |||
| 16018 | # Is the header present? | ||
| 16019 | { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | ||
| 16020 | $as_echo_n "checking gpm.h presence... " >&6; } | ||
| 16021 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16022 | /* confdefs.h. */ | ||
| 16023 | _ACEOF | ||
| 16024 | cat confdefs.h >>conftest.$ac_ext | ||
| 16025 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16026 | /* end confdefs.h. */ | ||
| 16027 | #include <gpm.h> | ||
| 16028 | _ACEOF | ||
| 16029 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16030 | case "(($ac_try" in | ||
| 16031 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16032 | *) ac_try_echo=$ac_try;; | ||
| 16033 | esac | ||
| 16034 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16035 | $as_echo "$ac_try_echo") >&5 | ||
| 16036 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16037 | ac_status=$? | ||
| 16038 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16039 | rm -f conftest.er1 | ||
| 16040 | cat conftest.err >&5 | ||
| 16041 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16042 | (exit $ac_status); } >/dev/null && { | ||
| 16043 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16044 | test ! -s conftest.err | ||
| 16045 | }; then | ||
| 16046 | ac_header_preproc=yes | ||
| 16047 | else | ||
| 16048 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16049 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16050 | |||
| 16051 | ac_header_preproc=no | ||
| 16052 | fi | ||
| 16053 | |||
| 16054 | rm -f conftest.err conftest.$ac_ext | ||
| 16055 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16056 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16057 | |||
| 16058 | # So? What about this header? | ||
| 16059 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16060 | yes:no: ) | ||
| 16061 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16062 | $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16063 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | ||
| 16064 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | ||
| 16065 | ac_header_preproc=yes | ||
| 16066 | ;; | ||
| 16067 | no:yes:* ) | ||
| 16068 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | ||
| 16069 | $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | ||
| 16070 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | ||
| 16071 | $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | ||
| 16072 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | ||
| 16073 | $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | ||
| 16074 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16075 | $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16076 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | ||
| 16077 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 16078 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | ||
| 16079 | $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 16080 | |||
| 16081 | ;; | ||
| 16082 | esac | ||
| 16083 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | ||
| 16084 | $as_echo_n "checking for gpm.h... " >&6; } | ||
| 16085 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 16086 | $as_echo_n "(cached) " >&6 | ||
| 16087 | else | ||
| 16088 | ac_cv_header_gpm_h=$ac_header_preproc | ||
| 16089 | fi | ||
| 16090 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 16091 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 16092 | |||
| 16093 | fi | ||
| 16094 | if test $ac_cv_header_gpm_h = yes; then | ||
| 16095 | { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | ||
| 10301 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 16096 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
| 10302 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 16097 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
| 10303 | $as_echo_n "(cached) " >&6 | 16098 | $as_echo_n "(cached) " >&6 |
| 10304 | else | 16099 | else |
| 10305 | ac_check_lib_save_LIBS=$LIBS | 16100 | ac_check_lib_save_LIBS=$LIBS |
| 10306 | LIBS="-lgpm $LIBS" | 16101 | LIBS="-lgpm $LIBS" |
| 10307 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16102 | cat >conftest.$ac_ext <<_ACEOF |
| 16103 | /* confdefs.h. */ | ||
| 16104 | _ACEOF | ||
| 16105 | cat confdefs.h >>conftest.$ac_ext | ||
| 16106 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10308 | /* end confdefs.h. */ | 16107 | /* end confdefs.h. */ |
| 10309 | 16108 | ||
| 10310 | /* Override any GCC internal prototype to avoid an error. | 16109 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10322,18 +16121,43 @@ return Gpm_Open (); | |||
| 10322 | return 0; | 16121 | return 0; |
| 10323 | } | 16122 | } |
| 10324 | _ACEOF | 16123 | _ACEOF |
| 10325 | if ac_fn_c_try_link "$LINENO"; then : | 16124 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16125 | if { (ac_try="$ac_link" | ||
| 16126 | case "(($ac_try" in | ||
| 16127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16128 | *) ac_try_echo=$ac_try;; | ||
| 16129 | esac | ||
| 16130 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16131 | $as_echo "$ac_try_echo") >&5 | ||
| 16132 | (eval "$ac_link") 2>conftest.er1 | ||
| 16133 | ac_status=$? | ||
| 16134 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16135 | rm -f conftest.er1 | ||
| 16136 | cat conftest.err >&5 | ||
| 16137 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16138 | (exit $ac_status); } && { | ||
| 16139 | test -z "$ac_c_werror_flag" || | ||
| 16140 | test ! -s conftest.err | ||
| 16141 | } && test -s conftest$ac_exeext && { | ||
| 16142 | test "$cross_compiling" = yes || | ||
| 16143 | $as_test_x conftest$ac_exeext | ||
| 16144 | }; then | ||
| 10326 | ac_cv_lib_gpm_Gpm_Open=yes | 16145 | ac_cv_lib_gpm_Gpm_Open=yes |
| 10327 | else | 16146 | else |
| 10328 | ac_cv_lib_gpm_Gpm_Open=no | 16147 | $as_echo "$as_me: failed program was:" >&5 |
| 16148 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16149 | |||
| 16150 | ac_cv_lib_gpm_Gpm_Open=no | ||
| 10329 | fi | 16151 | fi |
| 10330 | rm -f core conftest.err conftest.$ac_objext \ | 16152 | |
| 10331 | conftest$ac_exeext conftest.$ac_ext | 16153 | rm -rf conftest.dSYM |
| 16154 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16155 | conftest$ac_exeext conftest.$ac_ext | ||
| 10332 | LIBS=$ac_check_lib_save_LIBS | 16156 | LIBS=$ac_check_lib_save_LIBS |
| 10333 | fi | 16157 | fi |
| 10334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 16158 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
| 10335 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 16159 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
| 10336 | if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 16160 | if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
| 10337 | HAVE_GPM=yes | 16161 | HAVE_GPM=yes |
| 10338 | fi | 16162 | fi |
| 10339 | 16163 | ||
| @@ -10343,7 +16167,9 @@ fi | |||
| 10343 | 16167 | ||
| 10344 | if test "${HAVE_GPM}" = "yes"; then | 16168 | if test "${HAVE_GPM}" = "yes"; then |
| 10345 | 16169 | ||
| 10346 | $as_echo "#define HAVE_GPM 1" >>confdefs.h | 16170 | cat >>confdefs.h <<\_ACEOF |
| 16171 | #define HAVE_GPM 1 | ||
| 16172 | _ACEOF | ||
| 10347 | 16173 | ||
| 10348 | LIBGPM=-lgpm | 16174 | LIBGPM=-lgpm |
| 10349 | GPM_MOUSE_SUPPORT="\${lispsource}mouse.elc" | 16175 | GPM_MOUSE_SUPPORT="\${lispsource}mouse.elc" |
| @@ -10352,10 +16178,138 @@ fi | |||
| 10352 | 16178 | ||
| 10353 | 16179 | ||
| 10354 | 16180 | ||
| 10355 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 16181 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 10356 | if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 16182 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
| 16183 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 16184 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 16185 | $as_echo_n "(cached) " >&6 | ||
| 16186 | fi | ||
| 16187 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 16188 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 16189 | else | ||
| 16190 | # Is the header compilable? | ||
| 16191 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | ||
| 16192 | $as_echo_n "checking malloc/malloc.h usability... " >&6; } | ||
| 16193 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16194 | /* confdefs.h. */ | ||
| 16195 | _ACEOF | ||
| 16196 | cat confdefs.h >>conftest.$ac_ext | ||
| 16197 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16198 | /* end confdefs.h. */ | ||
| 16199 | $ac_includes_default | ||
| 16200 | #include <malloc/malloc.h> | ||
| 16201 | _ACEOF | ||
| 16202 | rm -f conftest.$ac_objext | ||
| 16203 | if { (ac_try="$ac_compile" | ||
| 16204 | case "(($ac_try" in | ||
| 16205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16206 | *) ac_try_echo=$ac_try;; | ||
| 16207 | esac | ||
| 16208 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16209 | $as_echo "$ac_try_echo") >&5 | ||
| 16210 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16211 | ac_status=$? | ||
| 16212 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16213 | rm -f conftest.er1 | ||
| 16214 | cat conftest.err >&5 | ||
| 16215 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16216 | (exit $ac_status); } && { | ||
| 16217 | test -z "$ac_c_werror_flag" || | ||
| 16218 | test ! -s conftest.err | ||
| 16219 | } && test -s conftest.$ac_objext; then | ||
| 16220 | ac_header_compiler=yes | ||
| 16221 | else | ||
| 16222 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16223 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16224 | |||
| 16225 | ac_header_compiler=no | ||
| 16226 | fi | ||
| 16227 | |||
| 16228 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16229 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16230 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16231 | |||
| 16232 | # Is the header present? | ||
| 16233 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | ||
| 16234 | $as_echo_n "checking malloc/malloc.h presence... " >&6; } | ||
| 16235 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16236 | /* confdefs.h. */ | ||
| 16237 | _ACEOF | ||
| 16238 | cat confdefs.h >>conftest.$ac_ext | ||
| 16239 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16240 | /* end confdefs.h. */ | ||
| 16241 | #include <malloc/malloc.h> | ||
| 16242 | _ACEOF | ||
| 16243 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16244 | case "(($ac_try" in | ||
| 16245 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16246 | *) ac_try_echo=$ac_try;; | ||
| 16247 | esac | ||
| 16248 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16249 | $as_echo "$ac_try_echo") >&5 | ||
| 16250 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16251 | ac_status=$? | ||
| 16252 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16253 | rm -f conftest.er1 | ||
| 16254 | cat conftest.err >&5 | ||
| 16255 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16256 | (exit $ac_status); } >/dev/null && { | ||
| 16257 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16258 | test ! -s conftest.err | ||
| 16259 | }; then | ||
| 16260 | ac_header_preproc=yes | ||
| 16261 | else | ||
| 16262 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16264 | |||
| 16265 | ac_header_preproc=no | ||
| 16266 | fi | ||
| 16267 | |||
| 16268 | rm -f conftest.err conftest.$ac_ext | ||
| 16269 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16270 | $as_echo "$ac_header_preproc" >&6; } | ||
| 10357 | 16271 | ||
| 10358 | $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 16272 | # So? What about this header? |
| 16273 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16274 | yes:no: ) | ||
| 16275 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16276 | $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16277 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | ||
| 16278 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | ||
| 16279 | ac_header_preproc=yes | ||
| 16280 | ;; | ||
| 16281 | no:yes:* ) | ||
| 16282 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | ||
| 16283 | $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | ||
| 16284 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | ||
| 16285 | $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | ||
| 16286 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | ||
| 16287 | $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | ||
| 16288 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16289 | $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16290 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | ||
| 16291 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | ||
| 16292 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | ||
| 16293 | $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | ||
| 16294 | |||
| 16295 | ;; | ||
| 16296 | esac | ||
| 16297 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | ||
| 16298 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 16299 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 16300 | $as_echo_n "(cached) " >&6 | ||
| 16301 | else | ||
| 16302 | ac_cv_header_malloc_malloc_h=$ac_header_preproc | ||
| 16303 | fi | ||
| 16304 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 16305 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 16306 | |||
| 16307 | fi | ||
| 16308 | if test $ac_cv_header_malloc_malloc_h = yes; then | ||
| 16309 | |||
| 16310 | cat >>confdefs.h <<\_ACEOF | ||
| 16311 | #define HAVE_MALLOC_MALLOC_H 1 | ||
| 16312 | _ACEOF | ||
| 10359 | 16313 | ||
| 10360 | fi | 16314 | fi |
| 10361 | 16315 | ||
| @@ -10365,17 +16319,23 @@ C_SWITCH_X_SYSTEM= | |||
| 10365 | ### Use NeXTstep API to implement GUI. | 16319 | ### Use NeXTstep API to implement GUI. |
| 10366 | if test "${HAVE_NS}" = "yes"; then | 16320 | if test "${HAVE_NS}" = "yes"; then |
| 10367 | 16321 | ||
| 10368 | $as_echo "#define HAVE_NS 1" >>confdefs.h | 16322 | cat >>confdefs.h <<\_ACEOF |
| 16323 | #define HAVE_NS 1 | ||
| 16324 | _ACEOF | ||
| 10369 | 16325 | ||
| 10370 | if test "${NS_IMPL_COCOA}" = "yes"; then | 16326 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| 10371 | 16327 | ||
| 10372 | $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h | 16328 | cat >>confdefs.h <<\_ACEOF |
| 16329 | #define NS_IMPL_COCOA 1 | ||
| 16330 | _ACEOF | ||
| 10373 | 16331 | ||
| 10374 | GNU_OBJC_CFLAGS= | 16332 | GNU_OBJC_CFLAGS= |
| 10375 | fi | 16333 | fi |
| 10376 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 16334 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 10377 | 16335 | ||
| 10378 | $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | 16336 | cat >>confdefs.h <<\_ACEOF |
| 16337 | #define NS_IMPL_GNUSTEP 1 | ||
| 16338 | _ACEOF | ||
| 10379 | 16339 | ||
| 10380 | # See also .m.o rule in Makefile.in */ | 16340 | # See also .m.o rule in Makefile.in */ |
| 10381 | # FIXME: are all these flags really needed? Document here why. */ | 16341 | # FIXME: are all these flags really needed? Document here why. */ |
| @@ -10384,7 +16344,9 @@ $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | |||
| 10384 | fi | 16344 | fi |
| 10385 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 16345 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 10386 | 16346 | ||
| 10387 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 16347 | cat >>confdefs.h <<\_ACEOF |
| 16348 | #define NS_HAVE_NSINTEGER 1 | ||
| 16349 | _ACEOF | ||
| 10388 | 16350 | ||
| 10389 | fi | 16351 | fi |
| 10390 | # We also have mouse menus. | 16352 | # We also have mouse menus. |
| @@ -10397,16 +16359,146 @@ fi | |||
| 10397 | HAVE_X_SM=no | 16359 | HAVE_X_SM=no |
| 10398 | LIBXSM= | 16360 | LIBXSM= |
| 10399 | if test "${HAVE_X11}" = "yes"; then | 16361 | if test "${HAVE_X11}" = "yes"; then |
| 10400 | ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 16362 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 10401 | if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 16363 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
| 10402 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 16364 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } |
| 16365 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16366 | $as_echo_n "(cached) " >&6 | ||
| 16367 | fi | ||
| 16368 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16369 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16370 | else | ||
| 16371 | # Is the header compilable? | ||
| 16372 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | ||
| 16373 | $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | ||
| 16374 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16375 | /* confdefs.h. */ | ||
| 16376 | _ACEOF | ||
| 16377 | cat confdefs.h >>conftest.$ac_ext | ||
| 16378 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16379 | /* end confdefs.h. */ | ||
| 16380 | $ac_includes_default | ||
| 16381 | #include <X11/SM/SMlib.h> | ||
| 16382 | _ACEOF | ||
| 16383 | rm -f conftest.$ac_objext | ||
| 16384 | if { (ac_try="$ac_compile" | ||
| 16385 | case "(($ac_try" in | ||
| 16386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16387 | *) ac_try_echo=$ac_try;; | ||
| 16388 | esac | ||
| 16389 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16390 | $as_echo "$ac_try_echo") >&5 | ||
| 16391 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16392 | ac_status=$? | ||
| 16393 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16394 | rm -f conftest.er1 | ||
| 16395 | cat conftest.err >&5 | ||
| 16396 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16397 | (exit $ac_status); } && { | ||
| 16398 | test -z "$ac_c_werror_flag" || | ||
| 16399 | test ! -s conftest.err | ||
| 16400 | } && test -s conftest.$ac_objext; then | ||
| 16401 | ac_header_compiler=yes | ||
| 16402 | else | ||
| 16403 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16404 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16405 | |||
| 16406 | ac_header_compiler=no | ||
| 16407 | fi | ||
| 16408 | |||
| 16409 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16410 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16411 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16412 | |||
| 16413 | # Is the header present? | ||
| 16414 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | ||
| 16415 | $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | ||
| 16416 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16417 | /* confdefs.h. */ | ||
| 16418 | _ACEOF | ||
| 16419 | cat confdefs.h >>conftest.$ac_ext | ||
| 16420 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16421 | /* end confdefs.h. */ | ||
| 16422 | #include <X11/SM/SMlib.h> | ||
| 16423 | _ACEOF | ||
| 16424 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16425 | case "(($ac_try" in | ||
| 16426 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16427 | *) ac_try_echo=$ac_try;; | ||
| 16428 | esac | ||
| 16429 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16430 | $as_echo "$ac_try_echo") >&5 | ||
| 16431 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16432 | ac_status=$? | ||
| 16433 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16434 | rm -f conftest.er1 | ||
| 16435 | cat conftest.err >&5 | ||
| 16436 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16437 | (exit $ac_status); } >/dev/null && { | ||
| 16438 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16439 | test ! -s conftest.err | ||
| 16440 | }; then | ||
| 16441 | ac_header_preproc=yes | ||
| 16442 | else | ||
| 16443 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16444 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16445 | |||
| 16446 | ac_header_preproc=no | ||
| 16447 | fi | ||
| 16448 | |||
| 16449 | rm -f conftest.err conftest.$ac_ext | ||
| 16450 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16451 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16452 | |||
| 16453 | # So? What about this header? | ||
| 16454 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16455 | yes:no: ) | ||
| 16456 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16457 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16458 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | ||
| 16459 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | ||
| 16460 | ac_header_preproc=yes | ||
| 16461 | ;; | ||
| 16462 | no:yes:* ) | ||
| 16463 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | ||
| 16464 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | ||
| 16465 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | ||
| 16466 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | ||
| 16467 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | ||
| 16468 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | ||
| 16469 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16470 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16471 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | ||
| 16472 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | ||
| 16473 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | ||
| 16474 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | ||
| 16475 | |||
| 16476 | ;; | ||
| 16477 | esac | ||
| 16478 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | ||
| 16479 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | ||
| 16480 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16481 | $as_echo_n "(cached) " >&6 | ||
| 16482 | else | ||
| 16483 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | ||
| 16484 | fi | ||
| 16485 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16486 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16487 | |||
| 16488 | fi | ||
| 16489 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then | ||
| 16490 | { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | ||
| 10403 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 16491 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
| 10404 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 16492 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
| 10405 | $as_echo_n "(cached) " >&6 | 16493 | $as_echo_n "(cached) " >&6 |
| 10406 | else | 16494 | else |
| 10407 | ac_check_lib_save_LIBS=$LIBS | 16495 | ac_check_lib_save_LIBS=$LIBS |
| 10408 | LIBS="-lSM -lICE $LIBS" | 16496 | LIBS="-lSM -lICE $LIBS" |
| 10409 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16497 | cat >conftest.$ac_ext <<_ACEOF |
| 16498 | /* confdefs.h. */ | ||
| 16499 | _ACEOF | ||
| 16500 | cat confdefs.h >>conftest.$ac_ext | ||
| 16501 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10410 | /* end confdefs.h. */ | 16502 | /* end confdefs.h. */ |
| 10411 | 16503 | ||
| 10412 | /* Override any GCC internal prototype to avoid an error. | 16504 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10424,18 +16516,43 @@ return SmcOpenConnection (); | |||
| 10424 | return 0; | 16516 | return 0; |
| 10425 | } | 16517 | } |
| 10426 | _ACEOF | 16518 | _ACEOF |
| 10427 | if ac_fn_c_try_link "$LINENO"; then : | 16519 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16520 | if { (ac_try="$ac_link" | ||
| 16521 | case "(($ac_try" in | ||
| 16522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16523 | *) ac_try_echo=$ac_try;; | ||
| 16524 | esac | ||
| 16525 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16526 | $as_echo "$ac_try_echo") >&5 | ||
| 16527 | (eval "$ac_link") 2>conftest.er1 | ||
| 16528 | ac_status=$? | ||
| 16529 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16530 | rm -f conftest.er1 | ||
| 16531 | cat conftest.err >&5 | ||
| 16532 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16533 | (exit $ac_status); } && { | ||
| 16534 | test -z "$ac_c_werror_flag" || | ||
| 16535 | test ! -s conftest.err | ||
| 16536 | } && test -s conftest$ac_exeext && { | ||
| 16537 | test "$cross_compiling" = yes || | ||
| 16538 | $as_test_x conftest$ac_exeext | ||
| 16539 | }; then | ||
| 10428 | ac_cv_lib_SM_SmcOpenConnection=yes | 16540 | ac_cv_lib_SM_SmcOpenConnection=yes |
| 10429 | else | 16541 | else |
| 10430 | ac_cv_lib_SM_SmcOpenConnection=no | 16542 | $as_echo "$as_me: failed program was:" >&5 |
| 16543 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16544 | |||
| 16545 | ac_cv_lib_SM_SmcOpenConnection=no | ||
| 10431 | fi | 16546 | fi |
| 10432 | rm -f core conftest.err conftest.$ac_objext \ | 16547 | |
| 10433 | conftest$ac_exeext conftest.$ac_ext | 16548 | rm -rf conftest.dSYM |
| 16549 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16550 | conftest$ac_exeext conftest.$ac_ext | ||
| 10434 | LIBS=$ac_check_lib_save_LIBS | 16551 | LIBS=$ac_check_lib_save_LIBS |
| 10435 | fi | 16552 | fi |
| 10436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 16553 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
| 10437 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 16554 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
| 10438 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 16555 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
| 10439 | HAVE_X_SM=yes | 16556 | HAVE_X_SM=yes |
| 10440 | fi | 16557 | fi |
| 10441 | 16558 | ||
| @@ -10445,7 +16562,9 @@ fi | |||
| 10445 | 16562 | ||
| 10446 | if test "${HAVE_X_SM}" = "yes"; then | 16563 | if test "${HAVE_X_SM}" = "yes"; then |
| 10447 | 16564 | ||
| 10448 | $as_echo "#define HAVE_X_SM 1" >>confdefs.h | 16565 | cat >>confdefs.h <<\_ACEOF |
| 16566 | #define HAVE_X_SM 1 | ||
| 16567 | _ACEOF | ||
| 10449 | 16568 | ||
| 10450 | LIBXSM="-lSM -lICE" | 16569 | LIBXSM="-lSM -lICE" |
| 10451 | case "$LIBS" in | 16570 | case "$LIBS" in |
| @@ -10457,12 +16576,16 @@ fi | |||
| 10457 | 16576 | ||
| 10458 | 16577 | ||
| 10459 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 16578 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 10460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 16579 | { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
| 10461 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 16580 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
| 10462 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 16581 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
| 10463 | $as_echo_n "(cached) " >&6 | 16582 | $as_echo_n "(cached) " >&6 |
| 10464 | else | 16583 | else |
| 10465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16584 | cat >conftest.$ac_ext <<_ACEOF |
| 16585 | /* confdefs.h. */ | ||
| 16586 | _ACEOF | ||
| 16587 | cat confdefs.h >>conftest.$ac_ext | ||
| 16588 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10466 | /* end confdefs.h. */ | 16589 | /* end confdefs.h. */ |
| 10467 | #include <netdb.h> | 16590 | #include <netdb.h> |
| 10468 | int | 16591 | int |
| @@ -10473,30 +16596,61 @@ return h_errno; | |||
| 10473 | return 0; | 16596 | return 0; |
| 10474 | } | 16597 | } |
| 10475 | _ACEOF | 16598 | _ACEOF |
| 10476 | if ac_fn_c_try_link "$LINENO"; then : | 16599 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16600 | if { (ac_try="$ac_link" | ||
| 16601 | case "(($ac_try" in | ||
| 16602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16603 | *) ac_try_echo=$ac_try;; | ||
| 16604 | esac | ||
| 16605 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16606 | $as_echo "$ac_try_echo") >&5 | ||
| 16607 | (eval "$ac_link") 2>conftest.er1 | ||
| 16608 | ac_status=$? | ||
| 16609 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16610 | rm -f conftest.er1 | ||
| 16611 | cat conftest.err >&5 | ||
| 16612 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16613 | (exit $ac_status); } && { | ||
| 16614 | test -z "$ac_c_werror_flag" || | ||
| 16615 | test ! -s conftest.err | ||
| 16616 | } && test -s conftest$ac_exeext && { | ||
| 16617 | test "$cross_compiling" = yes || | ||
| 16618 | $as_test_x conftest$ac_exeext | ||
| 16619 | }; then | ||
| 10477 | emacs_cv_netdb_declares_h_errno=yes | 16620 | emacs_cv_netdb_declares_h_errno=yes |
| 10478 | else | 16621 | else |
| 10479 | emacs_cv_netdb_declares_h_errno=no | 16622 | $as_echo "$as_me: failed program was:" >&5 |
| 16623 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16624 | |||
| 16625 | emacs_cv_netdb_declares_h_errno=no | ||
| 10480 | fi | 16626 | fi |
| 10481 | rm -f core conftest.err conftest.$ac_objext \ | 16627 | |
| 10482 | conftest$ac_exeext conftest.$ac_ext | 16628 | rm -rf conftest.dSYM |
| 16629 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16630 | conftest$ac_exeext conftest.$ac_ext | ||
| 10483 | fi | 16631 | fi |
| 10484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 | 16632 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 10485 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 16633 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
| 10486 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 16634 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 10487 | 16635 | ||
| 10488 | $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 16636 | cat >>confdefs.h <<\_ACEOF |
| 16637 | #define HAVE_H_ERRNO 1 | ||
| 16638 | _ACEOF | ||
| 10489 | 16639 | ||
| 10490 | fi | 16640 | fi |
| 10491 | 16641 | ||
| 10492 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 16642 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 10493 | # for constant arguments. Useless! | 16643 | # for constant arguments. Useless! |
| 10494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 16644 | { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 10495 | $as_echo_n "checking for working alloca.h... " >&6; } | 16645 | $as_echo_n "checking for working alloca.h... " >&6; } |
| 10496 | if test "${ac_cv_working_alloca_h+set}" = set; then : | 16646 | if test "${ac_cv_working_alloca_h+set}" = set; then |
| 10497 | $as_echo_n "(cached) " >&6 | 16647 | $as_echo_n "(cached) " >&6 |
| 10498 | else | 16648 | else |
| 10499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16649 | cat >conftest.$ac_ext <<_ACEOF |
| 16650 | /* confdefs.h. */ | ||
| 16651 | _ACEOF | ||
| 16652 | cat confdefs.h >>conftest.$ac_ext | ||
| 16653 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10500 | /* end confdefs.h. */ | 16654 | /* end confdefs.h. */ |
| 10501 | #include <alloca.h> | 16655 | #include <alloca.h> |
| 10502 | int | 16656 | int |
| @@ -10508,28 +16662,59 @@ char *p = (char *) alloca (2 * sizeof (int)); | |||
| 10508 | return 0; | 16662 | return 0; |
| 10509 | } | 16663 | } |
| 10510 | _ACEOF | 16664 | _ACEOF |
| 10511 | if ac_fn_c_try_link "$LINENO"; then : | 16665 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16666 | if { (ac_try="$ac_link" | ||
| 16667 | case "(($ac_try" in | ||
| 16668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16669 | *) ac_try_echo=$ac_try;; | ||
| 16670 | esac | ||
| 16671 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16672 | $as_echo "$ac_try_echo") >&5 | ||
| 16673 | (eval "$ac_link") 2>conftest.er1 | ||
| 16674 | ac_status=$? | ||
| 16675 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16676 | rm -f conftest.er1 | ||
| 16677 | cat conftest.err >&5 | ||
| 16678 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16679 | (exit $ac_status); } && { | ||
| 16680 | test -z "$ac_c_werror_flag" || | ||
| 16681 | test ! -s conftest.err | ||
| 16682 | } && test -s conftest$ac_exeext && { | ||
| 16683 | test "$cross_compiling" = yes || | ||
| 16684 | $as_test_x conftest$ac_exeext | ||
| 16685 | }; then | ||
| 10512 | ac_cv_working_alloca_h=yes | 16686 | ac_cv_working_alloca_h=yes |
| 10513 | else | 16687 | else |
| 10514 | ac_cv_working_alloca_h=no | 16688 | $as_echo "$as_me: failed program was:" >&5 |
| 16689 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16690 | |||
| 16691 | ac_cv_working_alloca_h=no | ||
| 10515 | fi | 16692 | fi |
| 10516 | rm -f core conftest.err conftest.$ac_objext \ | 16693 | |
| 10517 | conftest$ac_exeext conftest.$ac_ext | 16694 | rm -rf conftest.dSYM |
| 16695 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16696 | conftest$ac_exeext conftest.$ac_ext | ||
| 10518 | fi | 16697 | fi |
| 10519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 16698 | { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 10520 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 16699 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
| 10521 | if test $ac_cv_working_alloca_h = yes; then | 16700 | if test $ac_cv_working_alloca_h = yes; then |
| 10522 | 16701 | ||
| 10523 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 16702 | cat >>confdefs.h <<\_ACEOF |
| 16703 | #define HAVE_ALLOCA_H 1 | ||
| 16704 | _ACEOF | ||
| 10524 | 16705 | ||
| 10525 | fi | 16706 | fi |
| 10526 | 16707 | ||
| 10527 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 16708 | { $as_echo "$as_me:$LINENO: checking for alloca" >&5 |
| 10528 | $as_echo_n "checking for alloca... " >&6; } | 16709 | $as_echo_n "checking for alloca... " >&6; } |
| 10529 | if test "${ac_cv_func_alloca_works+set}" = set; then : | 16710 | if test "${ac_cv_func_alloca_works+set}" = set; then |
| 10530 | $as_echo_n "(cached) " >&6 | 16711 | $as_echo_n "(cached) " >&6 |
| 10531 | else | 16712 | else |
| 10532 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16713 | cat >conftest.$ac_ext <<_ACEOF |
| 16714 | /* confdefs.h. */ | ||
| 16715 | _ACEOF | ||
| 16716 | cat confdefs.h >>conftest.$ac_ext | ||
| 16717 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10533 | /* end confdefs.h. */ | 16718 | /* end confdefs.h. */ |
| 10534 | #ifdef __GNUC__ | 16719 | #ifdef __GNUC__ |
| 10535 | # define alloca __builtin_alloca | 16720 | # define alloca __builtin_alloca |
| @@ -10561,20 +16746,47 @@ char *p = (char *) alloca (1); | |||
| 10561 | return 0; | 16746 | return 0; |
| 10562 | } | 16747 | } |
| 10563 | _ACEOF | 16748 | _ACEOF |
| 10564 | if ac_fn_c_try_link "$LINENO"; then : | 16749 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16750 | if { (ac_try="$ac_link" | ||
| 16751 | case "(($ac_try" in | ||
| 16752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16753 | *) ac_try_echo=$ac_try;; | ||
| 16754 | esac | ||
| 16755 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16756 | $as_echo "$ac_try_echo") >&5 | ||
| 16757 | (eval "$ac_link") 2>conftest.er1 | ||
| 16758 | ac_status=$? | ||
| 16759 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16760 | rm -f conftest.er1 | ||
| 16761 | cat conftest.err >&5 | ||
| 16762 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16763 | (exit $ac_status); } && { | ||
| 16764 | test -z "$ac_c_werror_flag" || | ||
| 16765 | test ! -s conftest.err | ||
| 16766 | } && test -s conftest$ac_exeext && { | ||
| 16767 | test "$cross_compiling" = yes || | ||
| 16768 | $as_test_x conftest$ac_exeext | ||
| 16769 | }; then | ||
| 10565 | ac_cv_func_alloca_works=yes | 16770 | ac_cv_func_alloca_works=yes |
| 10566 | else | 16771 | else |
| 10567 | ac_cv_func_alloca_works=no | 16772 | $as_echo "$as_me: failed program was:" >&5 |
| 16773 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16774 | |||
| 16775 | ac_cv_func_alloca_works=no | ||
| 10568 | fi | 16776 | fi |
| 10569 | rm -f core conftest.err conftest.$ac_objext \ | 16777 | |
| 10570 | conftest$ac_exeext conftest.$ac_ext | 16778 | rm -rf conftest.dSYM |
| 16779 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16780 | conftest$ac_exeext conftest.$ac_ext | ||
| 10571 | fi | 16781 | fi |
| 10572 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 16782 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 10573 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 16783 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
| 10574 | 16784 | ||
| 10575 | if test $ac_cv_func_alloca_works = yes; then | 16785 | if test $ac_cv_func_alloca_works = yes; then |
| 10576 | 16786 | ||
| 10577 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 16787 | cat >>confdefs.h <<\_ACEOF |
| 16788 | #define HAVE_ALLOCA 1 | ||
| 16789 | _ACEOF | ||
| 10578 | 16790 | ||
| 10579 | else | 16791 | else |
| 10580 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 16792 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| @@ -10584,15 +16796,21 @@ else | |||
| 10584 | 16796 | ||
| 10585 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 16797 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 10586 | 16798 | ||
| 10587 | $as_echo "#define C_ALLOCA 1" >>confdefs.h | 16799 | cat >>confdefs.h <<\_ACEOF |
| 16800 | #define C_ALLOCA 1 | ||
| 16801 | _ACEOF | ||
| 10588 | 16802 | ||
| 10589 | 16803 | ||
| 10590 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 16804 | { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 10591 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 16805 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
| 10592 | if test "${ac_cv_os_cray+set}" = set; then : | 16806 | if test "${ac_cv_os_cray+set}" = set; then |
| 10593 | $as_echo_n "(cached) " >&6 | 16807 | $as_echo_n "(cached) " >&6 |
| 10594 | else | 16808 | else |
| 10595 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16809 | cat >conftest.$ac_ext <<_ACEOF |
| 16810 | /* confdefs.h. */ | ||
| 16811 | _ACEOF | ||
| 16812 | cat confdefs.h >>conftest.$ac_ext | ||
| 16813 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10596 | /* end confdefs.h. */ | 16814 | /* end confdefs.h. */ |
| 10597 | #if defined CRAY && ! defined CRAY2 | 16815 | #if defined CRAY && ! defined CRAY2 |
| 10598 | webecray | 16816 | webecray |
| @@ -10602,7 +16820,7 @@ wenotbecray | |||
| 10602 | 16820 | ||
| 10603 | _ACEOF | 16821 | _ACEOF |
| 10604 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16822 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10605 | $EGREP "webecray" >/dev/null 2>&1; then : | 16823 | $EGREP "webecray" >/dev/null 2>&1; then |
| 10606 | ac_cv_os_cray=yes | 16824 | ac_cv_os_cray=yes |
| 10607 | else | 16825 | else |
| 10608 | ac_cv_os_cray=no | 16826 | ac_cv_os_cray=no |
| @@ -10610,14 +16828,100 @@ fi | |||
| 10610 | rm -f conftest* | 16828 | rm -f conftest* |
| 10611 | 16829 | ||
| 10612 | fi | 16830 | fi |
| 10613 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 16831 | { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 10614 | $as_echo "$ac_cv_os_cray" >&6; } | 16832 | $as_echo "$ac_cv_os_cray" >&6; } |
| 10615 | if test $ac_cv_os_cray = yes; then | 16833 | if test $ac_cv_os_cray = yes; then |
| 10616 | for ac_func in _getb67 GETB67 getb67; do | 16834 | for ac_func in _getb67 GETB67 getb67; do |
| 10617 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16835 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10618 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16836 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10619 | eval as_val=\$$as_ac_var | 16837 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10620 | if test "x$as_val" = x""yes; then : | 16838 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16839 | $as_echo_n "(cached) " >&6 | ||
| 16840 | else | ||
| 16841 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16842 | /* confdefs.h. */ | ||
| 16843 | _ACEOF | ||
| 16844 | cat confdefs.h >>conftest.$ac_ext | ||
| 16845 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16846 | /* end confdefs.h. */ | ||
| 16847 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 16848 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 16849 | #define $ac_func innocuous_$ac_func | ||
| 16850 | |||
| 16851 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 16852 | which can conflict with char $ac_func (); below. | ||
| 16853 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 16854 | <limits.h> exists even on freestanding compilers. */ | ||
| 16855 | |||
| 16856 | #ifdef __STDC__ | ||
| 16857 | # include <limits.h> | ||
| 16858 | #else | ||
| 16859 | # include <assert.h> | ||
| 16860 | #endif | ||
| 16861 | |||
| 16862 | #undef $ac_func | ||
| 16863 | |||
| 16864 | /* Override any GCC internal prototype to avoid an error. | ||
| 16865 | Use char because int might match the return type of a GCC | ||
| 16866 | builtin and then its argument prototype would still apply. */ | ||
| 16867 | #ifdef __cplusplus | ||
| 16868 | extern "C" | ||
| 16869 | #endif | ||
| 16870 | char $ac_func (); | ||
| 16871 | /* The GNU C library defines this for functions which it implements | ||
| 16872 | to always fail with ENOSYS. Some functions are actually named | ||
| 16873 | something starting with __ and the normal name is an alias. */ | ||
| 16874 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 16875 | choke me | ||
| 16876 | #endif | ||
| 16877 | |||
| 16878 | int | ||
| 16879 | main () | ||
| 16880 | { | ||
| 16881 | return $ac_func (); | ||
| 16882 | ; | ||
| 16883 | return 0; | ||
| 16884 | } | ||
| 16885 | _ACEOF | ||
| 16886 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16887 | if { (ac_try="$ac_link" | ||
| 16888 | case "(($ac_try" in | ||
| 16889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16890 | *) ac_try_echo=$ac_try;; | ||
| 16891 | esac | ||
| 16892 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16893 | $as_echo "$ac_try_echo") >&5 | ||
| 16894 | (eval "$ac_link") 2>conftest.er1 | ||
| 16895 | ac_status=$? | ||
| 16896 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16897 | rm -f conftest.er1 | ||
| 16898 | cat conftest.err >&5 | ||
| 16899 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16900 | (exit $ac_status); } && { | ||
| 16901 | test -z "$ac_c_werror_flag" || | ||
| 16902 | test ! -s conftest.err | ||
| 16903 | } && test -s conftest$ac_exeext && { | ||
| 16904 | test "$cross_compiling" = yes || | ||
| 16905 | $as_test_x conftest$ac_exeext | ||
| 16906 | }; then | ||
| 16907 | eval "$as_ac_var=yes" | ||
| 16908 | else | ||
| 16909 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16911 | |||
| 16912 | eval "$as_ac_var=no" | ||
| 16913 | fi | ||
| 16914 | |||
| 16915 | rm -rf conftest.dSYM | ||
| 16916 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16917 | conftest$ac_exeext conftest.$ac_ext | ||
| 16918 | fi | ||
| 16919 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 16920 | $as_echo "$as_val"'` | ||
| 16921 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 16922 | $as_echo "$ac_res" >&6; } | ||
| 16923 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 16924 | $as_echo "$as_val"'` = yes; then | ||
| 10621 | 16925 | ||
| 10622 | cat >>confdefs.h <<_ACEOF | 16926 | cat >>confdefs.h <<_ACEOF |
| 10623 | #define CRAY_STACKSEG_END $ac_func | 16927 | #define CRAY_STACKSEG_END $ac_func |
| @@ -10629,15 +16933,19 @@ fi | |||
| 10629 | done | 16933 | done |
| 10630 | fi | 16934 | fi |
| 10631 | 16935 | ||
| 10632 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 16936 | { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 10633 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 16937 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
| 10634 | if test "${ac_cv_c_stack_direction+set}" = set; then : | 16938 | if test "${ac_cv_c_stack_direction+set}" = set; then |
| 10635 | $as_echo_n "(cached) " >&6 | 16939 | $as_echo_n "(cached) " >&6 |
| 10636 | else | 16940 | else |
| 10637 | if test "$cross_compiling" = yes; then : | 16941 | if test "$cross_compiling" = yes; then |
| 10638 | ac_cv_c_stack_direction=0 | 16942 | ac_cv_c_stack_direction=0 |
| 10639 | else | 16943 | else |
| 10640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16944 | cat >conftest.$ac_ext <<_ACEOF |
| 16945 | /* confdefs.h. */ | ||
| 16946 | _ACEOF | ||
| 16947 | cat confdefs.h >>conftest.$ac_ext | ||
| 16948 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10641 | /* end confdefs.h. */ | 16949 | /* end confdefs.h. */ |
| 10642 | $ac_includes_default | 16950 | $ac_includes_default |
| 10643 | int | 16951 | int |
| @@ -10660,18 +16968,46 @@ main () | |||
| 10660 | return find_stack_direction () < 0; | 16968 | return find_stack_direction () < 0; |
| 10661 | } | 16969 | } |
| 10662 | _ACEOF | 16970 | _ACEOF |
| 10663 | if ac_fn_c_try_run "$LINENO"; then : | 16971 | rm -f conftest$ac_exeext |
| 16972 | if { (ac_try="$ac_link" | ||
| 16973 | case "(($ac_try" in | ||
| 16974 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16975 | *) ac_try_echo=$ac_try;; | ||
| 16976 | esac | ||
| 16977 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16978 | $as_echo "$ac_try_echo") >&5 | ||
| 16979 | (eval "$ac_link") 2>&5 | ||
| 16980 | ac_status=$? | ||
| 16981 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16982 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 16983 | { (case "(($ac_try" in | ||
| 16984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16985 | *) ac_try_echo=$ac_try;; | ||
| 16986 | esac | ||
| 16987 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16988 | $as_echo "$ac_try_echo") >&5 | ||
| 16989 | (eval "$ac_try") 2>&5 | ||
| 16990 | ac_status=$? | ||
| 16991 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16992 | (exit $ac_status); }; }; then | ||
| 10664 | ac_cv_c_stack_direction=1 | 16993 | ac_cv_c_stack_direction=1 |
| 10665 | else | 16994 | else |
| 10666 | ac_cv_c_stack_direction=-1 | 16995 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 16996 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16997 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16998 | |||
| 16999 | ( exit $ac_status ) | ||
| 17000 | ac_cv_c_stack_direction=-1 | ||
| 10667 | fi | 17001 | fi |
| 10668 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 17002 | rm -rf conftest.dSYM |
| 10669 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 17003 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 10670 | fi | 17004 | fi |
| 10671 | 17005 | ||
| 17006 | |||
| 10672 | fi | 17007 | fi |
| 10673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 17008 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 10674 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 17009 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
| 17010 | |||
| 10675 | cat >>confdefs.h <<_ACEOF | 17011 | cat >>confdefs.h <<_ACEOF |
| 10676 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 17012 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
| 10677 | _ACEOF | 17013 | _ACEOF |
| @@ -10681,19 +17017,26 @@ fi | |||
| 10681 | 17017 | ||
| 10682 | 17018 | ||
| 10683 | if test x"$ac_cv_func_alloca_works" != xyes; then | 17019 | if test x"$ac_cv_func_alloca_works" != xyes; then |
| 10684 | as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 17020 | { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 |
| 17021 | $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | ||
| 17022 | { (exit 1); exit 1; }; } | ||
| 10685 | fi | 17023 | fi |
| 10686 | 17024 | ||
| 10687 | # fmod, logb, and frexp are found in -lm on most systems. | 17025 | # fmod, logb, and frexp are found in -lm on most systems. |
| 10688 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 17026 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 10689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 17027 | |
| 17028 | { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | ||
| 10690 | $as_echo_n "checking for sqrt in -lm... " >&6; } | 17029 | $as_echo_n "checking for sqrt in -lm... " >&6; } |
| 10691 | if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 17030 | if test "${ac_cv_lib_m_sqrt+set}" = set; then |
| 10692 | $as_echo_n "(cached) " >&6 | 17031 | $as_echo_n "(cached) " >&6 |
| 10693 | else | 17032 | else |
| 10694 | ac_check_lib_save_LIBS=$LIBS | 17033 | ac_check_lib_save_LIBS=$LIBS |
| 10695 | LIBS="-lm $LIBS" | 17034 | LIBS="-lm $LIBS" |
| 10696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17035 | cat >conftest.$ac_ext <<_ACEOF |
| 17036 | /* confdefs.h. */ | ||
| 17037 | _ACEOF | ||
| 17038 | cat confdefs.h >>conftest.$ac_ext | ||
| 17039 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10697 | /* end confdefs.h. */ | 17040 | /* end confdefs.h. */ |
| 10698 | 17041 | ||
| 10699 | /* Override any GCC internal prototype to avoid an error. | 17042 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10711,18 +17054,43 @@ return sqrt (); | |||
| 10711 | return 0; | 17054 | return 0; |
| 10712 | } | 17055 | } |
| 10713 | _ACEOF | 17056 | _ACEOF |
| 10714 | if ac_fn_c_try_link "$LINENO"; then : | 17057 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17058 | if { (ac_try="$ac_link" | ||
| 17059 | case "(($ac_try" in | ||
| 17060 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17061 | *) ac_try_echo=$ac_try;; | ||
| 17062 | esac | ||
| 17063 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17064 | $as_echo "$ac_try_echo") >&5 | ||
| 17065 | (eval "$ac_link") 2>conftest.er1 | ||
| 17066 | ac_status=$? | ||
| 17067 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17068 | rm -f conftest.er1 | ||
| 17069 | cat conftest.err >&5 | ||
| 17070 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17071 | (exit $ac_status); } && { | ||
| 17072 | test -z "$ac_c_werror_flag" || | ||
| 17073 | test ! -s conftest.err | ||
| 17074 | } && test -s conftest$ac_exeext && { | ||
| 17075 | test "$cross_compiling" = yes || | ||
| 17076 | $as_test_x conftest$ac_exeext | ||
| 17077 | }; then | ||
| 10715 | ac_cv_lib_m_sqrt=yes | 17078 | ac_cv_lib_m_sqrt=yes |
| 10716 | else | 17079 | else |
| 10717 | ac_cv_lib_m_sqrt=no | 17080 | $as_echo "$as_me: failed program was:" >&5 |
| 17081 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17082 | |||
| 17083 | ac_cv_lib_m_sqrt=no | ||
| 10718 | fi | 17084 | fi |
| 10719 | rm -f core conftest.err conftest.$ac_objext \ | 17085 | |
| 10720 | conftest$ac_exeext conftest.$ac_ext | 17086 | rm -rf conftest.dSYM |
| 17087 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17088 | conftest$ac_exeext conftest.$ac_ext | ||
| 10721 | LIBS=$ac_check_lib_save_LIBS | 17089 | LIBS=$ac_check_lib_save_LIBS |
| 10722 | fi | 17090 | fi |
| 10723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 17091 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
| 10724 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 17092 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
| 10725 | if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 17093 | if test $ac_cv_lib_m_sqrt = yes; then |
| 10726 | cat >>confdefs.h <<_ACEOF | 17094 | cat >>confdefs.h <<_ACEOF |
| 10727 | #define HAVE_LIBM 1 | 17095 | #define HAVE_LIBM 1 |
| 10728 | _ACEOF | 17096 | _ACEOF |
| @@ -10734,14 +17102,18 @@ fi | |||
| 10734 | 17102 | ||
| 10735 | # Check for mail-locking functions in a "mail" library. Probably this should | 17103 | # Check for mail-locking functions in a "mail" library. Probably this should |
| 10736 | # have the same check as for liblockfile below. | 17104 | # have the same check as for liblockfile below. |
| 10737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 17105 | { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
| 10738 | $as_echo_n "checking for maillock in -lmail... " >&6; } | 17106 | $as_echo_n "checking for maillock in -lmail... " >&6; } |
| 10739 | if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 17107 | if test "${ac_cv_lib_mail_maillock+set}" = set; then |
| 10740 | $as_echo_n "(cached) " >&6 | 17108 | $as_echo_n "(cached) " >&6 |
| 10741 | else | 17109 | else |
| 10742 | ac_check_lib_save_LIBS=$LIBS | 17110 | ac_check_lib_save_LIBS=$LIBS |
| 10743 | LIBS="-lmail $LIBS" | 17111 | LIBS="-lmail $LIBS" |
| 10744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17112 | cat >conftest.$ac_ext <<_ACEOF |
| 17113 | /* confdefs.h. */ | ||
| 17114 | _ACEOF | ||
| 17115 | cat confdefs.h >>conftest.$ac_ext | ||
| 17116 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10745 | /* end confdefs.h. */ | 17117 | /* end confdefs.h. */ |
| 10746 | 17118 | ||
| 10747 | /* Override any GCC internal prototype to avoid an error. | 17119 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10759,18 +17131,43 @@ return maillock (); | |||
| 10759 | return 0; | 17131 | return 0; |
| 10760 | } | 17132 | } |
| 10761 | _ACEOF | 17133 | _ACEOF |
| 10762 | if ac_fn_c_try_link "$LINENO"; then : | 17134 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17135 | if { (ac_try="$ac_link" | ||
| 17136 | case "(($ac_try" in | ||
| 17137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17138 | *) ac_try_echo=$ac_try;; | ||
| 17139 | esac | ||
| 17140 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17141 | $as_echo "$ac_try_echo") >&5 | ||
| 17142 | (eval "$ac_link") 2>conftest.er1 | ||
| 17143 | ac_status=$? | ||
| 17144 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17145 | rm -f conftest.er1 | ||
| 17146 | cat conftest.err >&5 | ||
| 17147 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17148 | (exit $ac_status); } && { | ||
| 17149 | test -z "$ac_c_werror_flag" || | ||
| 17150 | test ! -s conftest.err | ||
| 17151 | } && test -s conftest$ac_exeext && { | ||
| 17152 | test "$cross_compiling" = yes || | ||
| 17153 | $as_test_x conftest$ac_exeext | ||
| 17154 | }; then | ||
| 10763 | ac_cv_lib_mail_maillock=yes | 17155 | ac_cv_lib_mail_maillock=yes |
| 10764 | else | 17156 | else |
| 10765 | ac_cv_lib_mail_maillock=no | 17157 | $as_echo "$as_me: failed program was:" >&5 |
| 17158 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17159 | |||
| 17160 | ac_cv_lib_mail_maillock=no | ||
| 10766 | fi | 17161 | fi |
| 10767 | rm -f core conftest.err conftest.$ac_objext \ | 17162 | |
| 10768 | conftest$ac_exeext conftest.$ac_ext | 17163 | rm -rf conftest.dSYM |
| 17164 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17165 | conftest$ac_exeext conftest.$ac_ext | ||
| 10769 | LIBS=$ac_check_lib_save_LIBS | 17166 | LIBS=$ac_check_lib_save_LIBS |
| 10770 | fi | 17167 | fi |
| 10771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 17168 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
| 10772 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 17169 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
| 10773 | if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 17170 | if test $ac_cv_lib_mail_maillock = yes; then |
| 10774 | have_mail=yes | 17171 | have_mail=yes |
| 10775 | else | 17172 | else |
| 10776 | have_mail=no | 17173 | have_mail=no |
| @@ -10780,19 +17177,25 @@ if test $have_mail = yes; then | |||
| 10780 | LIBS_MAIL=-lmail | 17177 | LIBS_MAIL=-lmail |
| 10781 | LIBS="$LIBS_MAIL $LIBS" | 17178 | LIBS="$LIBS_MAIL $LIBS" |
| 10782 | 17179 | ||
| 10783 | $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h | 17180 | cat >>confdefs.h <<\_ACEOF |
| 17181 | #define HAVE_LIBMAIL 1 | ||
| 17182 | _ACEOF | ||
| 10784 | 17183 | ||
| 10785 | else | 17184 | else |
| 10786 | LIBS_MAIL= | 17185 | LIBS_MAIL= |
| 10787 | fi | 17186 | fi |
| 10788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 17187 | { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
| 10789 | $as_echo_n "checking for maillock in -llockfile... " >&6; } | 17188 | $as_echo_n "checking for maillock in -llockfile... " >&6; } |
| 10790 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 17189 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
| 10791 | $as_echo_n "(cached) " >&6 | 17190 | $as_echo_n "(cached) " >&6 |
| 10792 | else | 17191 | else |
| 10793 | ac_check_lib_save_LIBS=$LIBS | 17192 | ac_check_lib_save_LIBS=$LIBS |
| 10794 | LIBS="-llockfile $LIBS" | 17193 | LIBS="-llockfile $LIBS" |
| 10795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17194 | cat >conftest.$ac_ext <<_ACEOF |
| 17195 | /* confdefs.h. */ | ||
| 17196 | _ACEOF | ||
| 17197 | cat confdefs.h >>conftest.$ac_ext | ||
| 17198 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10796 | /* end confdefs.h. */ | 17199 | /* end confdefs.h. */ |
| 10797 | 17200 | ||
| 10798 | /* Override any GCC internal prototype to avoid an error. | 17201 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10810,18 +17213,43 @@ return maillock (); | |||
| 10810 | return 0; | 17213 | return 0; |
| 10811 | } | 17214 | } |
| 10812 | _ACEOF | 17215 | _ACEOF |
| 10813 | if ac_fn_c_try_link "$LINENO"; then : | 17216 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17217 | if { (ac_try="$ac_link" | ||
| 17218 | case "(($ac_try" in | ||
| 17219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17220 | *) ac_try_echo=$ac_try;; | ||
| 17221 | esac | ||
| 17222 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17223 | $as_echo "$ac_try_echo") >&5 | ||
| 17224 | (eval "$ac_link") 2>conftest.er1 | ||
| 17225 | ac_status=$? | ||
| 17226 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17227 | rm -f conftest.er1 | ||
| 17228 | cat conftest.err >&5 | ||
| 17229 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17230 | (exit $ac_status); } && { | ||
| 17231 | test -z "$ac_c_werror_flag" || | ||
| 17232 | test ! -s conftest.err | ||
| 17233 | } && test -s conftest$ac_exeext && { | ||
| 17234 | test "$cross_compiling" = yes || | ||
| 17235 | $as_test_x conftest$ac_exeext | ||
| 17236 | }; then | ||
| 10814 | ac_cv_lib_lockfile_maillock=yes | 17237 | ac_cv_lib_lockfile_maillock=yes |
| 10815 | else | 17238 | else |
| 10816 | ac_cv_lib_lockfile_maillock=no | 17239 | $as_echo "$as_me: failed program was:" >&5 |
| 17240 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17241 | |||
| 17242 | ac_cv_lib_lockfile_maillock=no | ||
| 10817 | fi | 17243 | fi |
| 10818 | rm -f core conftest.err conftest.$ac_objext \ | 17244 | |
| 10819 | conftest$ac_exeext conftest.$ac_ext | 17245 | rm -rf conftest.dSYM |
| 17246 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17247 | conftest$ac_exeext conftest.$ac_ext | ||
| 10820 | LIBS=$ac_check_lib_save_LIBS | 17248 | LIBS=$ac_check_lib_save_LIBS |
| 10821 | fi | 17249 | fi |
| 10822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 17250 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
| 10823 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 17251 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
| 10824 | if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 17252 | if test $ac_cv_lib_lockfile_maillock = yes; then |
| 10825 | have_lockfile=yes | 17253 | have_lockfile=yes |
| 10826 | else | 17254 | else |
| 10827 | have_lockfile=no | 17255 | have_lockfile=no |
| @@ -10831,7 +17259,9 @@ if test $have_lockfile = yes; then | |||
| 10831 | LIBS_MAIL=-llockfile | 17259 | LIBS_MAIL=-llockfile |
| 10832 | LIBS="$LIBS_MAIL $LIBS" | 17260 | LIBS="$LIBS_MAIL $LIBS" |
| 10833 | 17261 | ||
| 10834 | $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h | 17262 | cat >>confdefs.h <<\_ACEOF |
| 17263 | #define HAVE_LIBLOCKFILE 1 | ||
| 17264 | _ACEOF | ||
| 10835 | 17265 | ||
| 10836 | else | 17266 | else |
| 10837 | # If we have the shared liblockfile, assume we must use it for mail | 17267 | # If we have the shared liblockfile, assume we must use it for mail |
| @@ -10839,9 +17269,9 @@ else | |||
| 10839 | # (no liblockfile.a installed), ensure that we don't need to. | 17269 | # (no liblockfile.a installed), ensure that we don't need to. |
| 10840 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 17270 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 10841 | set dummy liblockfile.so; ac_word=$2 | 17271 | set dummy liblockfile.so; ac_word=$2 |
| 10842 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 17272 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 10843 | $as_echo_n "checking for $ac_word... " >&6; } | 17273 | $as_echo_n "checking for $ac_word... " >&6; } |
| 10844 | if test "${ac_cv_prog_liblockfile+set}" = set; then : | 17274 | if test "${ac_cv_prog_liblockfile+set}" = set; then |
| 10845 | $as_echo_n "(cached) " >&6 | 17275 | $as_echo_n "(cached) " >&6 |
| 10846 | else | 17276 | else |
| 10847 | if test -n "$liblockfile"; then | 17277 | if test -n "$liblockfile"; then |
| @@ -10853,14 +17283,14 @@ for as_dir in $as_dummy | |||
| 10853 | do | 17283 | do |
| 10854 | IFS=$as_save_IFS | 17284 | IFS=$as_save_IFS |
| 10855 | test -z "$as_dir" && as_dir=. | 17285 | test -z "$as_dir" && as_dir=. |
| 10856 | for ac_exec_ext in '' $ac_executable_extensions; do | 17286 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10857 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17287 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10858 | ac_cv_prog_liblockfile="yes" | 17288 | ac_cv_prog_liblockfile="yes" |
| 10859 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17289 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10860 | break 2 | 17290 | break 2 |
| 10861 | fi | 17291 | fi |
| 10862 | done | 17292 | done |
| 10863 | done | 17293 | done |
| 10864 | IFS=$as_save_IFS | 17294 | IFS=$as_save_IFS |
| 10865 | 17295 | ||
| 10866 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 17296 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
| @@ -10868,37 +17298,263 @@ fi | |||
| 10868 | fi | 17298 | fi |
| 10869 | liblockfile=$ac_cv_prog_liblockfile | 17299 | liblockfile=$ac_cv_prog_liblockfile |
| 10870 | if test -n "$liblockfile"; then | 17300 | if test -n "$liblockfile"; then |
| 10871 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 | 17301 | { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 |
| 10872 | $as_echo "$liblockfile" >&6; } | 17302 | $as_echo "$liblockfile" >&6; } |
| 10873 | else | 17303 | else |
| 10874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17304 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 10875 | $as_echo "no" >&6; } | 17305 | $as_echo "no" >&6; } |
| 10876 | fi | 17306 | fi |
| 10877 | 17307 | ||
| 10878 | 17308 | ||
| 10879 | if test $ac_cv_prog_liblockfile = yes; then | 17309 | if test $ac_cv_prog_liblockfile = yes; then |
| 10880 | as_fn_error "Shared liblockfile found but can't link against it. | 17310 | { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
| 17311 | This probably means that movemail could lose mail. | ||
| 17312 | There may be a \`development' package to install containing liblockfile." >&5 | ||
| 17313 | $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | ||
| 10881 | This probably means that movemail could lose mail. | 17314 | This probably means that movemail could lose mail. |
| 10882 | There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 17315 | There may be a \`development' package to install containing liblockfile." >&2;} |
| 17316 | { (exit 1); exit 1; }; } | ||
| 10883 | fi | 17317 | fi |
| 10884 | fi | 17318 | fi |
| 17319 | |||
| 10885 | for ac_func in touchlock | 17320 | for ac_func in touchlock |
| 10886 | do : | 17321 | do |
| 10887 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 17322 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10888 | if test "x$ac_cv_func_touchlock" = x""yes; then : | 17323 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17324 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 17325 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17326 | $as_echo_n "(cached) " >&6 | ||
| 17327 | else | ||
| 17328 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17329 | /* confdefs.h. */ | ||
| 17330 | _ACEOF | ||
| 17331 | cat confdefs.h >>conftest.$ac_ext | ||
| 17332 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17333 | /* end confdefs.h. */ | ||
| 17334 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17335 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17336 | #define $ac_func innocuous_$ac_func | ||
| 17337 | |||
| 17338 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17339 | which can conflict with char $ac_func (); below. | ||
| 17340 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17341 | <limits.h> exists even on freestanding compilers. */ | ||
| 17342 | |||
| 17343 | #ifdef __STDC__ | ||
| 17344 | # include <limits.h> | ||
| 17345 | #else | ||
| 17346 | # include <assert.h> | ||
| 17347 | #endif | ||
| 17348 | |||
| 17349 | #undef $ac_func | ||
| 17350 | |||
| 17351 | /* Override any GCC internal prototype to avoid an error. | ||
| 17352 | Use char because int might match the return type of a GCC | ||
| 17353 | builtin and then its argument prototype would still apply. */ | ||
| 17354 | #ifdef __cplusplus | ||
| 17355 | extern "C" | ||
| 17356 | #endif | ||
| 17357 | char $ac_func (); | ||
| 17358 | /* The GNU C library defines this for functions which it implements | ||
| 17359 | to always fail with ENOSYS. Some functions are actually named | ||
| 17360 | something starting with __ and the normal name is an alias. */ | ||
| 17361 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17362 | choke me | ||
| 17363 | #endif | ||
| 17364 | |||
| 17365 | int | ||
| 17366 | main () | ||
| 17367 | { | ||
| 17368 | return $ac_func (); | ||
| 17369 | ; | ||
| 17370 | return 0; | ||
| 17371 | } | ||
| 17372 | _ACEOF | ||
| 17373 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17374 | if { (ac_try="$ac_link" | ||
| 17375 | case "(($ac_try" in | ||
| 17376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17377 | *) ac_try_echo=$ac_try;; | ||
| 17378 | esac | ||
| 17379 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17380 | $as_echo "$ac_try_echo") >&5 | ||
| 17381 | (eval "$ac_link") 2>conftest.er1 | ||
| 17382 | ac_status=$? | ||
| 17383 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17384 | rm -f conftest.er1 | ||
| 17385 | cat conftest.err >&5 | ||
| 17386 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17387 | (exit $ac_status); } && { | ||
| 17388 | test -z "$ac_c_werror_flag" || | ||
| 17389 | test ! -s conftest.err | ||
| 17390 | } && test -s conftest$ac_exeext && { | ||
| 17391 | test "$cross_compiling" = yes || | ||
| 17392 | $as_test_x conftest$ac_exeext | ||
| 17393 | }; then | ||
| 17394 | eval "$as_ac_var=yes" | ||
| 17395 | else | ||
| 17396 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17397 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17398 | |||
| 17399 | eval "$as_ac_var=no" | ||
| 17400 | fi | ||
| 17401 | |||
| 17402 | rm -rf conftest.dSYM | ||
| 17403 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17404 | conftest$ac_exeext conftest.$ac_ext | ||
| 17405 | fi | ||
| 17406 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17407 | $as_echo "$as_val"'` | ||
| 17408 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17409 | $as_echo "$ac_res" >&6; } | ||
| 17410 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17411 | $as_echo "$as_val"'` = yes; then | ||
| 10889 | cat >>confdefs.h <<_ACEOF | 17412 | cat >>confdefs.h <<_ACEOF |
| 10890 | #define HAVE_TOUCHLOCK 1 | 17413 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10891 | _ACEOF | 17414 | _ACEOF |
| 10892 | 17415 | ||
| 10893 | fi | 17416 | fi |
| 10894 | done | 17417 | done |
| 10895 | 17418 | ||
| 17419 | |||
| 10896 | for ac_header in maillock.h | 17420 | for ac_header in maillock.h |
| 10897 | do : | 17421 | do |
| 10898 | ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 17422 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10899 | if test "x$ac_cv_header_maillock_h" = x""yes; then : | 17423 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17424 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17425 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17426 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17427 | $as_echo_n "(cached) " >&6 | ||
| 17428 | fi | ||
| 17429 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17430 | $as_echo "$as_val"'` | ||
| 17431 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17432 | $as_echo "$ac_res" >&6; } | ||
| 17433 | else | ||
| 17434 | # Is the header compilable? | ||
| 17435 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17436 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 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 | $ac_includes_default | ||
| 17444 | #include <$ac_header> | ||
| 17445 | _ACEOF | ||
| 17446 | rm -f conftest.$ac_objext | ||
| 17447 | if { (ac_try="$ac_compile" | ||
| 17448 | case "(($ac_try" in | ||
| 17449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17450 | *) ac_try_echo=$ac_try;; | ||
| 17451 | esac | ||
| 17452 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17453 | $as_echo "$ac_try_echo") >&5 | ||
| 17454 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17455 | ac_status=$? | ||
| 17456 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17457 | rm -f conftest.er1 | ||
| 17458 | cat conftest.err >&5 | ||
| 17459 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17460 | (exit $ac_status); } && { | ||
| 17461 | test -z "$ac_c_werror_flag" || | ||
| 17462 | test ! -s conftest.err | ||
| 17463 | } && test -s conftest.$ac_objext; then | ||
| 17464 | ac_header_compiler=yes | ||
| 17465 | else | ||
| 17466 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17467 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17468 | |||
| 17469 | ac_header_compiler=no | ||
| 17470 | fi | ||
| 17471 | |||
| 17472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17473 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17474 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17475 | |||
| 17476 | # Is the header present? | ||
| 17477 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17478 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17479 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17480 | /* confdefs.h. */ | ||
| 17481 | _ACEOF | ||
| 17482 | cat confdefs.h >>conftest.$ac_ext | ||
| 17483 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17484 | /* end confdefs.h. */ | ||
| 17485 | #include <$ac_header> | ||
| 17486 | _ACEOF | ||
| 17487 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17488 | case "(($ac_try" in | ||
| 17489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17490 | *) ac_try_echo=$ac_try;; | ||
| 17491 | esac | ||
| 17492 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17493 | $as_echo "$ac_try_echo") >&5 | ||
| 17494 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17495 | ac_status=$? | ||
| 17496 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17497 | rm -f conftest.er1 | ||
| 17498 | cat conftest.err >&5 | ||
| 17499 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17500 | (exit $ac_status); } >/dev/null && { | ||
| 17501 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17502 | test ! -s conftest.err | ||
| 17503 | }; then | ||
| 17504 | ac_header_preproc=yes | ||
| 17505 | else | ||
| 17506 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17507 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17508 | |||
| 17509 | ac_header_preproc=no | ||
| 17510 | fi | ||
| 17511 | |||
| 17512 | rm -f conftest.err conftest.$ac_ext | ||
| 17513 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17514 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17515 | |||
| 17516 | # So? What about this header? | ||
| 17517 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17518 | yes:no: ) | ||
| 17519 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17520 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17521 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17522 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17523 | ac_header_preproc=yes | ||
| 17524 | ;; | ||
| 17525 | no:yes:* ) | ||
| 17526 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17527 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17528 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17529 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17530 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17531 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17532 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17533 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17534 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17535 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17536 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17537 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17538 | |||
| 17539 | ;; | ||
| 17540 | esac | ||
| 17541 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17542 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17543 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17544 | $as_echo_n "(cached) " >&6 | ||
| 17545 | else | ||
| 17546 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17547 | fi | ||
| 17548 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17549 | $as_echo "$as_val"'` | ||
| 17550 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17551 | $as_echo "$ac_res" >&6; } | ||
| 17552 | |||
| 17553 | fi | ||
| 17554 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17555 | $as_echo "$as_val"'` = yes; then | ||
| 10900 | cat >>confdefs.h <<_ACEOF | 17556 | cat >>confdefs.h <<_ACEOF |
| 10901 | #define HAVE_MAILLOCK_H 1 | 17557 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10902 | _ACEOF | 17558 | _ACEOF |
| 10903 | 17559 | ||
| 10904 | fi | 17560 | fi |
| @@ -10907,6 +17563,77 @@ done | |||
| 10907 | 17563 | ||
| 10908 | 17564 | ||
| 10909 | 17565 | ||
| 17566 | |||
| 17567 | |||
| 17568 | |||
| 17569 | |||
| 17570 | |||
| 17571 | |||
| 17572 | |||
| 17573 | |||
| 17574 | |||
| 17575 | |||
| 17576 | |||
| 17577 | |||
| 17578 | |||
| 17579 | |||
| 17580 | |||
| 17581 | |||
| 17582 | |||
| 17583 | |||
| 17584 | |||
| 17585 | |||
| 17586 | |||
| 17587 | |||
| 17588 | |||
| 17589 | |||
| 17590 | |||
| 17591 | |||
| 17592 | |||
| 17593 | |||
| 17594 | |||
| 17595 | |||
| 17596 | |||
| 17597 | |||
| 17598 | |||
| 17599 | |||
| 17600 | |||
| 17601 | |||
| 17602 | |||
| 17603 | |||
| 17604 | |||
| 17605 | |||
| 17606 | |||
| 17607 | |||
| 17608 | |||
| 17609 | |||
| 17610 | |||
| 17611 | |||
| 17612 | |||
| 17613 | |||
| 17614 | |||
| 17615 | |||
| 17616 | |||
| 17617 | |||
| 17618 | |||
| 17619 | |||
| 17620 | |||
| 17621 | |||
| 17622 | |||
| 17623 | |||
| 17624 | |||
| 17625 | |||
| 17626 | |||
| 17627 | |||
| 17628 | |||
| 17629 | |||
| 17630 | |||
| 17631 | |||
| 17632 | |||
| 17633 | |||
| 17634 | |||
| 17635 | |||
| 17636 | |||
| 10910 | for ac_func in gethostname getdomainname dup2 \ | 17637 | for ac_func in gethostname getdomainname dup2 \ |
| 10911 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 17638 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
| 10912 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ | 17639 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ |
| @@ -10917,11 +17644,97 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \ | |||
| 10917 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 17644 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
| 10918 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 17645 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
| 10919 | cfmakeraw cfsetspeed | 17646 | cfmakeraw cfsetspeed |
| 10920 | do : | 17647 | do |
| 10921 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17648 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10922 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17649 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10923 | eval as_val=\$$as_ac_var | 17650 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10924 | if test "x$as_val" = x""yes; then : | 17651 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17652 | $as_echo_n "(cached) " >&6 | ||
| 17653 | else | ||
| 17654 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17655 | /* confdefs.h. */ | ||
| 17656 | _ACEOF | ||
| 17657 | cat confdefs.h >>conftest.$ac_ext | ||
| 17658 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17659 | /* end confdefs.h. */ | ||
| 17660 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17661 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17662 | #define $ac_func innocuous_$ac_func | ||
| 17663 | |||
| 17664 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17665 | which can conflict with char $ac_func (); below. | ||
| 17666 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17667 | <limits.h> exists even on freestanding compilers. */ | ||
| 17668 | |||
| 17669 | #ifdef __STDC__ | ||
| 17670 | # include <limits.h> | ||
| 17671 | #else | ||
| 17672 | # include <assert.h> | ||
| 17673 | #endif | ||
| 17674 | |||
| 17675 | #undef $ac_func | ||
| 17676 | |||
| 17677 | /* Override any GCC internal prototype to avoid an error. | ||
| 17678 | Use char because int might match the return type of a GCC | ||
| 17679 | builtin and then its argument prototype would still apply. */ | ||
| 17680 | #ifdef __cplusplus | ||
| 17681 | extern "C" | ||
| 17682 | #endif | ||
| 17683 | char $ac_func (); | ||
| 17684 | /* The GNU C library defines this for functions which it implements | ||
| 17685 | to always fail with ENOSYS. Some functions are actually named | ||
| 17686 | something starting with __ and the normal name is an alias. */ | ||
| 17687 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17688 | choke me | ||
| 17689 | #endif | ||
| 17690 | |||
| 17691 | int | ||
| 17692 | main () | ||
| 17693 | { | ||
| 17694 | return $ac_func (); | ||
| 17695 | ; | ||
| 17696 | return 0; | ||
| 17697 | } | ||
| 17698 | _ACEOF | ||
| 17699 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17700 | if { (ac_try="$ac_link" | ||
| 17701 | case "(($ac_try" in | ||
| 17702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17703 | *) ac_try_echo=$ac_try;; | ||
| 17704 | esac | ||
| 17705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17706 | $as_echo "$ac_try_echo") >&5 | ||
| 17707 | (eval "$ac_link") 2>conftest.er1 | ||
| 17708 | ac_status=$? | ||
| 17709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17710 | rm -f conftest.er1 | ||
| 17711 | cat conftest.err >&5 | ||
| 17712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17713 | (exit $ac_status); } && { | ||
| 17714 | test -z "$ac_c_werror_flag" || | ||
| 17715 | test ! -s conftest.err | ||
| 17716 | } && test -s conftest$ac_exeext && { | ||
| 17717 | test "$cross_compiling" = yes || | ||
| 17718 | $as_test_x conftest$ac_exeext | ||
| 17719 | }; then | ||
| 17720 | eval "$as_ac_var=yes" | ||
| 17721 | else | ||
| 17722 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17724 | |||
| 17725 | eval "$as_ac_var=no" | ||
| 17726 | fi | ||
| 17727 | |||
| 17728 | rm -rf conftest.dSYM | ||
| 17729 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17730 | conftest$ac_exeext conftest.$ac_ext | ||
| 17731 | fi | ||
| 17732 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17733 | $as_echo "$as_val"'` | ||
| 17734 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17735 | $as_echo "$ac_res" >&6; } | ||
| 17736 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17737 | $as_echo "$as_val"'` = yes; then | ||
| 10925 | cat >>confdefs.h <<_ACEOF | 17738 | cat >>confdefs.h <<_ACEOF |
| 10926 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17739 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10927 | _ACEOF | 17740 | _ACEOF |
| @@ -10930,12 +17743,145 @@ fi | |||
| 10930 | done | 17743 | done |
| 10931 | 17744 | ||
| 10932 | 17745 | ||
| 17746 | |||
| 10933 | for ac_header in sys/un.h | 17747 | for ac_header in sys/un.h |
| 10934 | do : | 17748 | do |
| 10935 | ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 17749 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10936 | if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 17750 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17751 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17752 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17753 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17754 | $as_echo_n "(cached) " >&6 | ||
| 17755 | fi | ||
| 17756 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17757 | $as_echo "$as_val"'` | ||
| 17758 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17759 | $as_echo "$ac_res" >&6; } | ||
| 17760 | else | ||
| 17761 | # Is the header compilable? | ||
| 17762 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17763 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17764 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17765 | /* confdefs.h. */ | ||
| 17766 | _ACEOF | ||
| 17767 | cat confdefs.h >>conftest.$ac_ext | ||
| 17768 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17769 | /* end confdefs.h. */ | ||
| 17770 | $ac_includes_default | ||
| 17771 | #include <$ac_header> | ||
| 17772 | _ACEOF | ||
| 17773 | rm -f conftest.$ac_objext | ||
| 17774 | if { (ac_try="$ac_compile" | ||
| 17775 | case "(($ac_try" in | ||
| 17776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17777 | *) ac_try_echo=$ac_try;; | ||
| 17778 | esac | ||
| 17779 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17780 | $as_echo "$ac_try_echo") >&5 | ||
| 17781 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17782 | ac_status=$? | ||
| 17783 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17784 | rm -f conftest.er1 | ||
| 17785 | cat conftest.err >&5 | ||
| 17786 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17787 | (exit $ac_status); } && { | ||
| 17788 | test -z "$ac_c_werror_flag" || | ||
| 17789 | test ! -s conftest.err | ||
| 17790 | } && test -s conftest.$ac_objext; then | ||
| 17791 | ac_header_compiler=yes | ||
| 17792 | else | ||
| 17793 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17794 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17795 | |||
| 17796 | ac_header_compiler=no | ||
| 17797 | fi | ||
| 17798 | |||
| 17799 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17800 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17801 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17802 | |||
| 17803 | # Is the header present? | ||
| 17804 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17805 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17806 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17807 | /* confdefs.h. */ | ||
| 17808 | _ACEOF | ||
| 17809 | cat confdefs.h >>conftest.$ac_ext | ||
| 17810 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17811 | /* end confdefs.h. */ | ||
| 17812 | #include <$ac_header> | ||
| 17813 | _ACEOF | ||
| 17814 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17815 | case "(($ac_try" in | ||
| 17816 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17817 | *) ac_try_echo=$ac_try;; | ||
| 17818 | esac | ||
| 17819 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17820 | $as_echo "$ac_try_echo") >&5 | ||
| 17821 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17822 | ac_status=$? | ||
| 17823 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17824 | rm -f conftest.er1 | ||
| 17825 | cat conftest.err >&5 | ||
| 17826 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17827 | (exit $ac_status); } >/dev/null && { | ||
| 17828 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17829 | test ! -s conftest.err | ||
| 17830 | }; then | ||
| 17831 | ac_header_preproc=yes | ||
| 17832 | else | ||
| 17833 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17834 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17835 | |||
| 17836 | ac_header_preproc=no | ||
| 17837 | fi | ||
| 17838 | |||
| 17839 | rm -f conftest.err conftest.$ac_ext | ||
| 17840 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17841 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17842 | |||
| 17843 | # So? What about this header? | ||
| 17844 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17845 | yes:no: ) | ||
| 17846 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17847 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17848 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17849 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17850 | ac_header_preproc=yes | ||
| 17851 | ;; | ||
| 17852 | no:yes:* ) | ||
| 17853 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17854 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17855 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17856 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17857 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17858 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17859 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17860 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17861 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17862 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17863 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17864 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17865 | |||
| 17866 | ;; | ||
| 17867 | esac | ||
| 17868 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17869 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17870 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17871 | $as_echo_n "(cached) " >&6 | ||
| 17872 | else | ||
| 17873 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17874 | fi | ||
| 17875 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17876 | $as_echo "$as_val"'` | ||
| 17877 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17878 | $as_echo "$ac_res" >&6; } | ||
| 17879 | |||
| 17880 | fi | ||
| 17881 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17882 | $as_echo "$as_val"'` = yes; then | ||
| 10937 | cat >>confdefs.h <<_ACEOF | 17883 | cat >>confdefs.h <<_ACEOF |
| 10938 | #define HAVE_SYS_UN_H 1 | 17884 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10939 | _ACEOF | 17885 | _ACEOF |
| 10940 | 17886 | ||
| 10941 | fi | 17887 | fi |
| @@ -10947,13 +17893,250 @@ done | |||
| 10947 | 17893 | ||
| 10948 | 17894 | ||
| 10949 | 17895 | ||
| 17896 | for ac_header in $ac_header_list | ||
| 17897 | do | ||
| 17898 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 17899 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17900 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17901 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17902 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17903 | $as_echo_n "(cached) " >&6 | ||
| 17904 | fi | ||
| 17905 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17906 | $as_echo "$as_val"'` | ||
| 17907 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17908 | $as_echo "$ac_res" >&6; } | ||
| 17909 | else | ||
| 17910 | # Is the header compilable? | ||
| 17911 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17912 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17913 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17914 | /* confdefs.h. */ | ||
| 17915 | _ACEOF | ||
| 17916 | cat confdefs.h >>conftest.$ac_ext | ||
| 17917 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17918 | /* end confdefs.h. */ | ||
| 17919 | $ac_includes_default | ||
| 17920 | #include <$ac_header> | ||
| 17921 | _ACEOF | ||
| 17922 | rm -f conftest.$ac_objext | ||
| 17923 | if { (ac_try="$ac_compile" | ||
| 17924 | case "(($ac_try" in | ||
| 17925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17926 | *) ac_try_echo=$ac_try;; | ||
| 17927 | esac | ||
| 17928 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17929 | $as_echo "$ac_try_echo") >&5 | ||
| 17930 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17931 | ac_status=$? | ||
| 17932 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17933 | rm -f conftest.er1 | ||
| 17934 | cat conftest.err >&5 | ||
| 17935 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17936 | (exit $ac_status); } && { | ||
| 17937 | test -z "$ac_c_werror_flag" || | ||
| 17938 | test ! -s conftest.err | ||
| 17939 | } && test -s conftest.$ac_objext; then | ||
| 17940 | ac_header_compiler=yes | ||
| 17941 | else | ||
| 17942 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17943 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17944 | |||
| 17945 | ac_header_compiler=no | ||
| 17946 | fi | ||
| 17947 | |||
| 17948 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17949 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17950 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17951 | |||
| 17952 | # Is the header present? | ||
| 17953 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17954 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17955 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17956 | /* confdefs.h. */ | ||
| 17957 | _ACEOF | ||
| 17958 | cat confdefs.h >>conftest.$ac_ext | ||
| 17959 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17960 | /* end confdefs.h. */ | ||
| 17961 | #include <$ac_header> | ||
| 17962 | _ACEOF | ||
| 17963 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17964 | case "(($ac_try" in | ||
| 17965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17966 | *) ac_try_echo=$ac_try;; | ||
| 17967 | esac | ||
| 17968 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17969 | $as_echo "$ac_try_echo") >&5 | ||
| 17970 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17971 | ac_status=$? | ||
| 17972 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17973 | rm -f conftest.er1 | ||
| 17974 | cat conftest.err >&5 | ||
| 17975 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17976 | (exit $ac_status); } >/dev/null && { | ||
| 17977 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17978 | test ! -s conftest.err | ||
| 17979 | }; then | ||
| 17980 | ac_header_preproc=yes | ||
| 17981 | else | ||
| 17982 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17983 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10950 | 17984 | ||
| 10951 | for ac_func in $ac_func_list | 17985 | ac_header_preproc=no |
| 10952 | do : | 17986 | fi |
| 10953 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17987 | |
| 10954 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17988 | rm -f conftest.err conftest.$ac_ext |
| 10955 | eval as_val=\$$as_ac_var | 17989 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10956 | if test "x$as_val" = x""yes; then : | 17990 | $as_echo "$ac_header_preproc" >&6; } |
| 17991 | |||
| 17992 | # So? What about this header? | ||
| 17993 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17994 | yes:no: ) | ||
| 17995 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17996 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17997 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17998 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17999 | ac_header_preproc=yes | ||
| 18000 | ;; | ||
| 18001 | no:yes:* ) | ||
| 18002 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 18003 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 18004 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 18005 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 18006 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 18007 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 18008 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 18009 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 18010 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 18011 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 18012 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 18013 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 18014 | |||
| 18015 | ;; | ||
| 18016 | esac | ||
| 18017 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 18018 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 18019 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18020 | $as_echo_n "(cached) " >&6 | ||
| 18021 | else | ||
| 18022 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 18023 | fi | ||
| 18024 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 18025 | $as_echo "$as_val"'` | ||
| 18026 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18027 | $as_echo "$ac_res" >&6; } | ||
| 18028 | |||
| 18029 | fi | ||
| 18030 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 18031 | $as_echo "$as_val"'` = yes; then | ||
| 18032 | cat >>confdefs.h <<_ACEOF | ||
| 18033 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 18034 | _ACEOF | ||
| 18035 | |||
| 18036 | fi | ||
| 18037 | |||
| 18038 | done | ||
| 18039 | |||
| 18040 | |||
| 18041 | |||
| 18042 | |||
| 18043 | |||
| 18044 | |||
| 18045 | |||
| 18046 | |||
| 18047 | |||
| 18048 | for ac_func in $ac_func_list | ||
| 18049 | do | ||
| 18050 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 18051 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 18052 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18053 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18054 | $as_echo_n "(cached) " >&6 | ||
| 18055 | else | ||
| 18056 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18057 | /* confdefs.h. */ | ||
| 18058 | _ACEOF | ||
| 18059 | cat confdefs.h >>conftest.$ac_ext | ||
| 18060 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18061 | /* end confdefs.h. */ | ||
| 18062 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18063 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18064 | #define $ac_func innocuous_$ac_func | ||
| 18065 | |||
| 18066 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18067 | which can conflict with char $ac_func (); below. | ||
| 18068 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18069 | <limits.h> exists even on freestanding compilers. */ | ||
| 18070 | |||
| 18071 | #ifdef __STDC__ | ||
| 18072 | # include <limits.h> | ||
| 18073 | #else | ||
| 18074 | # include <assert.h> | ||
| 18075 | #endif | ||
| 18076 | |||
| 18077 | #undef $ac_func | ||
| 18078 | |||
| 18079 | /* Override any GCC internal prototype to avoid an error. | ||
| 18080 | Use char because int might match the return type of a GCC | ||
| 18081 | builtin and then its argument prototype would still apply. */ | ||
| 18082 | #ifdef __cplusplus | ||
| 18083 | extern "C" | ||
| 18084 | #endif | ||
| 18085 | char $ac_func (); | ||
| 18086 | /* The GNU C library defines this for functions which it implements | ||
| 18087 | to always fail with ENOSYS. Some functions are actually named | ||
| 18088 | something starting with __ and the normal name is an alias. */ | ||
| 18089 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18090 | choke me | ||
| 18091 | #endif | ||
| 18092 | |||
| 18093 | int | ||
| 18094 | main () | ||
| 18095 | { | ||
| 18096 | return $ac_func (); | ||
| 18097 | ; | ||
| 18098 | return 0; | ||
| 18099 | } | ||
| 18100 | _ACEOF | ||
| 18101 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18102 | if { (ac_try="$ac_link" | ||
| 18103 | case "(($ac_try" in | ||
| 18104 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18105 | *) ac_try_echo=$ac_try;; | ||
| 18106 | esac | ||
| 18107 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18108 | $as_echo "$ac_try_echo") >&5 | ||
| 18109 | (eval "$ac_link") 2>conftest.er1 | ||
| 18110 | ac_status=$? | ||
| 18111 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18112 | rm -f conftest.er1 | ||
| 18113 | cat conftest.err >&5 | ||
| 18114 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18115 | (exit $ac_status); } && { | ||
| 18116 | test -z "$ac_c_werror_flag" || | ||
| 18117 | test ! -s conftest.err | ||
| 18118 | } && test -s conftest$ac_exeext && { | ||
| 18119 | test "$cross_compiling" = yes || | ||
| 18120 | $as_test_x conftest$ac_exeext | ||
| 18121 | }; then | ||
| 18122 | eval "$as_ac_var=yes" | ||
| 18123 | else | ||
| 18124 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18125 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18126 | |||
| 18127 | eval "$as_ac_var=no" | ||
| 18128 | fi | ||
| 18129 | |||
| 18130 | rm -rf conftest.dSYM | ||
| 18131 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18132 | conftest$ac_exeext conftest.$ac_ext | ||
| 18133 | fi | ||
| 18134 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18135 | $as_echo "$as_val"'` | ||
| 18136 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18137 | $as_echo "$ac_res" >&6; } | ||
| 18138 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18139 | $as_echo "$as_val"'` = yes; then | ||
| 10957 | cat >>confdefs.h <<_ACEOF | 18140 | cat >>confdefs.h <<_ACEOF |
| 10958 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18141 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10959 | _ACEOF | 18142 | _ACEOF |
| @@ -10965,15 +18148,31 @@ done | |||
| 10965 | 18148 | ||
| 10966 | 18149 | ||
| 10967 | 18150 | ||
| 10968 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 18151 | |
| 18152 | |||
| 18153 | |||
| 18154 | |||
| 18155 | |||
| 18156 | |||
| 18157 | |||
| 18158 | |||
| 18159 | |||
| 18160 | |||
| 18161 | |||
| 18162 | |||
| 18163 | { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | ||
| 10969 | $as_echo_n "checking for working mktime... " >&6; } | 18164 | $as_echo_n "checking for working mktime... " >&6; } |
| 10970 | if test "${ac_cv_func_working_mktime+set}" = set; then : | 18165 | if test "${ac_cv_func_working_mktime+set}" = set; then |
| 10971 | $as_echo_n "(cached) " >&6 | 18166 | $as_echo_n "(cached) " >&6 |
| 10972 | else | 18167 | else |
| 10973 | if test "$cross_compiling" = yes; then : | 18168 | if test "$cross_compiling" = yes; then |
| 10974 | ac_cv_func_working_mktime=no | 18169 | ac_cv_func_working_mktime=no |
| 10975 | else | 18170 | else |
| 10976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18171 | cat >conftest.$ac_ext <<_ACEOF |
| 18172 | /* confdefs.h. */ | ||
| 18173 | _ACEOF | ||
| 18174 | cat confdefs.h >>conftest.$ac_ext | ||
| 18175 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10977 | /* end confdefs.h. */ | 18176 | /* end confdefs.h. */ |
| 10978 | /* Test program from Paul Eggert and Tony Leneis. */ | 18177 | /* Test program from Paul Eggert and Tony Leneis. */ |
| 10979 | #ifdef TIME_WITH_SYS_TIME | 18178 | #ifdef TIME_WITH_SYS_TIME |
| @@ -11170,17 +18369,44 @@ main () | |||
| 11170 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 18369 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| 11171 | } | 18370 | } |
| 11172 | _ACEOF | 18371 | _ACEOF |
| 11173 | if ac_fn_c_try_run "$LINENO"; then : | 18372 | rm -f conftest$ac_exeext |
| 18373 | if { (ac_try="$ac_link" | ||
| 18374 | case "(($ac_try" in | ||
| 18375 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18376 | *) ac_try_echo=$ac_try;; | ||
| 18377 | esac | ||
| 18378 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18379 | $as_echo "$ac_try_echo") >&5 | ||
| 18380 | (eval "$ac_link") 2>&5 | ||
| 18381 | ac_status=$? | ||
| 18382 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18383 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 18384 | { (case "(($ac_try" in | ||
| 18385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18386 | *) ac_try_echo=$ac_try;; | ||
| 18387 | esac | ||
| 18388 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18389 | $as_echo "$ac_try_echo") >&5 | ||
| 18390 | (eval "$ac_try") 2>&5 | ||
| 18391 | ac_status=$? | ||
| 18392 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18393 | (exit $ac_status); }; }; then | ||
| 11174 | ac_cv_func_working_mktime=yes | 18394 | ac_cv_func_working_mktime=yes |
| 11175 | else | 18395 | else |
| 11176 | ac_cv_func_working_mktime=no | 18396 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 18397 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18398 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18399 | |||
| 18400 | ( exit $ac_status ) | ||
| 18401 | ac_cv_func_working_mktime=no | ||
| 11177 | fi | 18402 | fi |
| 11178 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18403 | rm -rf conftest.dSYM |
| 11179 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 18404 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11180 | fi | 18405 | fi |
| 11181 | 18406 | ||
| 18407 | |||
| 11182 | fi | 18408 | fi |
| 11183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 | 18409 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 |
| 11184 | $as_echo "$ac_cv_func_working_mktime" >&6; } | 18410 | $as_echo "$ac_cv_func_working_mktime" >&6; } |
| 11185 | if test $ac_cv_func_working_mktime = no; then | 18411 | if test $ac_cv_func_working_mktime = no; then |
| 11186 | case " $LIBOBJS " in | 18412 | case " $LIBOBJS " in |
| @@ -11193,7 +18419,9 @@ fi | |||
| 11193 | 18419 | ||
| 11194 | if test "$ac_cv_func_working_mktime" = no; then | 18420 | if test "$ac_cv_func_working_mktime" = no; then |
| 11195 | 18421 | ||
| 11196 | $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h | 18422 | cat >>confdefs.h <<\_ACEOF |
| 18423 | #define BROKEN_MKTIME 1 | ||
| 18424 | _ACEOF | ||
| 11197 | 18425 | ||
| 11198 | fi | 18426 | fi |
| 11199 | 18427 | ||
| @@ -11201,13 +18429,99 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 11201 | 18429 | ||
| 11202 | # Make sure getloadavg.c is where it belongs, at configure-time. | 18430 | # Make sure getloadavg.c is where it belongs, at configure-time. |
| 11203 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 18431 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
| 11204 | as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 18432 | { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 |
| 18433 | $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | ||
| 18434 | { (exit 1); exit 1; }; } | ||
| 11205 | 18435 | ||
| 11206 | ac_save_LIBS=$LIBS | 18436 | ac_save_LIBS=$LIBS |
| 11207 | 18437 | ||
| 11208 | # Check for getloadavg, but be sure not to touch the cache variable. | 18438 | # Check for getloadavg, but be sure not to touch the cache variable. |
| 11209 | (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18439 | ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 |
| 11210 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18440 | $as_echo_n "checking for getloadavg... " >&6; } |
| 18441 | if test "${ac_cv_func_getloadavg+set}" = set; then | ||
| 18442 | $as_echo_n "(cached) " >&6 | ||
| 18443 | else | ||
| 18444 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18445 | /* confdefs.h. */ | ||
| 18446 | _ACEOF | ||
| 18447 | cat confdefs.h >>conftest.$ac_ext | ||
| 18448 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18449 | /* end confdefs.h. */ | ||
| 18450 | /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | ||
| 18451 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18452 | #define getloadavg innocuous_getloadavg | ||
| 18453 | |||
| 18454 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18455 | which can conflict with char getloadavg (); below. | ||
| 18456 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18457 | <limits.h> exists even on freestanding compilers. */ | ||
| 18458 | |||
| 18459 | #ifdef __STDC__ | ||
| 18460 | # include <limits.h> | ||
| 18461 | #else | ||
| 18462 | # include <assert.h> | ||
| 18463 | #endif | ||
| 18464 | |||
| 18465 | #undef getloadavg | ||
| 18466 | |||
| 18467 | /* Override any GCC internal prototype to avoid an error. | ||
| 18468 | Use char because int might match the return type of a GCC | ||
| 18469 | builtin and then its argument prototype would still apply. */ | ||
| 18470 | #ifdef __cplusplus | ||
| 18471 | extern "C" | ||
| 18472 | #endif | ||
| 18473 | char getloadavg (); | ||
| 18474 | /* The GNU C library defines this for functions which it implements | ||
| 18475 | to always fail with ENOSYS. Some functions are actually named | ||
| 18476 | something starting with __ and the normal name is an alias. */ | ||
| 18477 | #if defined __stub_getloadavg || defined __stub___getloadavg | ||
| 18478 | choke me | ||
| 18479 | #endif | ||
| 18480 | |||
| 18481 | int | ||
| 18482 | main () | ||
| 18483 | { | ||
| 18484 | return getloadavg (); | ||
| 18485 | ; | ||
| 18486 | return 0; | ||
| 18487 | } | ||
| 18488 | _ACEOF | ||
| 18489 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18490 | if { (ac_try="$ac_link" | ||
| 18491 | case "(($ac_try" in | ||
| 18492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18493 | *) ac_try_echo=$ac_try;; | ||
| 18494 | esac | ||
| 18495 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18496 | $as_echo "$ac_try_echo") >&5 | ||
| 18497 | (eval "$ac_link") 2>conftest.er1 | ||
| 18498 | ac_status=$? | ||
| 18499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18500 | rm -f conftest.er1 | ||
| 18501 | cat conftest.err >&5 | ||
| 18502 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18503 | (exit $ac_status); } && { | ||
| 18504 | test -z "$ac_c_werror_flag" || | ||
| 18505 | test ! -s conftest.err | ||
| 18506 | } && test -s conftest$ac_exeext && { | ||
| 18507 | test "$cross_compiling" = yes || | ||
| 18508 | $as_test_x conftest$ac_exeext | ||
| 18509 | }; then | ||
| 18510 | ac_cv_func_getloadavg=yes | ||
| 18511 | else | ||
| 18512 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18513 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18514 | |||
| 18515 | ac_cv_func_getloadavg=no | ||
| 18516 | fi | ||
| 18517 | |||
| 18518 | rm -rf conftest.dSYM | ||
| 18519 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18520 | conftest$ac_exeext conftest.$ac_ext | ||
| 18521 | fi | ||
| 18522 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | ||
| 18523 | $as_echo "$ac_cv_func_getloadavg" >&6; } | ||
| 18524 | if test $ac_cv_func_getloadavg = yes; then | ||
| 11211 | exit 0 | 18525 | exit 0 |
| 11212 | else | 18526 | else |
| 11213 | exit 1 | 18527 | exit 1 |
| @@ -11215,12 +18529,101 @@ fi | |||
| 11215 | ) && ac_have_func=yes | 18529 | ) && ac_have_func=yes |
| 11216 | 18530 | ||
| 11217 | # On HPUX9, an unprivileged user can get load averages through this function. | 18531 | # On HPUX9, an unprivileged user can get load averages through this function. |
| 18532 | |||
| 11218 | for ac_func in pstat_getdynamic | 18533 | for ac_func in pstat_getdynamic |
| 11219 | do : | 18534 | do |
| 11220 | ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 18535 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11221 | if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 18536 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18537 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18538 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18539 | $as_echo_n "(cached) " >&6 | ||
| 18540 | else | ||
| 18541 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18542 | /* confdefs.h. */ | ||
| 18543 | _ACEOF | ||
| 18544 | cat confdefs.h >>conftest.$ac_ext | ||
| 18545 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18546 | /* end confdefs.h. */ | ||
| 18547 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18548 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18549 | #define $ac_func innocuous_$ac_func | ||
| 18550 | |||
| 18551 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18552 | which can conflict with char $ac_func (); below. | ||
| 18553 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18554 | <limits.h> exists even on freestanding compilers. */ | ||
| 18555 | |||
| 18556 | #ifdef __STDC__ | ||
| 18557 | # include <limits.h> | ||
| 18558 | #else | ||
| 18559 | # include <assert.h> | ||
| 18560 | #endif | ||
| 18561 | |||
| 18562 | #undef $ac_func | ||
| 18563 | |||
| 18564 | /* Override any GCC internal prototype to avoid an error. | ||
| 18565 | Use char because int might match the return type of a GCC | ||
| 18566 | builtin and then its argument prototype would still apply. */ | ||
| 18567 | #ifdef __cplusplus | ||
| 18568 | extern "C" | ||
| 18569 | #endif | ||
| 18570 | char $ac_func (); | ||
| 18571 | /* The GNU C library defines this for functions which it implements | ||
| 18572 | to always fail with ENOSYS. Some functions are actually named | ||
| 18573 | something starting with __ and the normal name is an alias. */ | ||
| 18574 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18575 | choke me | ||
| 18576 | #endif | ||
| 18577 | |||
| 18578 | int | ||
| 18579 | main () | ||
| 18580 | { | ||
| 18581 | return $ac_func (); | ||
| 18582 | ; | ||
| 18583 | return 0; | ||
| 18584 | } | ||
| 18585 | _ACEOF | ||
| 18586 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18587 | if { (ac_try="$ac_link" | ||
| 18588 | case "(($ac_try" in | ||
| 18589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18590 | *) ac_try_echo=$ac_try;; | ||
| 18591 | esac | ||
| 18592 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18593 | $as_echo "$ac_try_echo") >&5 | ||
| 18594 | (eval "$ac_link") 2>conftest.er1 | ||
| 18595 | ac_status=$? | ||
| 18596 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18597 | rm -f conftest.er1 | ||
| 18598 | cat conftest.err >&5 | ||
| 18599 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18600 | (exit $ac_status); } && { | ||
| 18601 | test -z "$ac_c_werror_flag" || | ||
| 18602 | test ! -s conftest.err | ||
| 18603 | } && test -s conftest$ac_exeext && { | ||
| 18604 | test "$cross_compiling" = yes || | ||
| 18605 | $as_test_x conftest$ac_exeext | ||
| 18606 | }; then | ||
| 18607 | eval "$as_ac_var=yes" | ||
| 18608 | else | ||
| 18609 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18610 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18611 | |||
| 18612 | eval "$as_ac_var=no" | ||
| 18613 | fi | ||
| 18614 | |||
| 18615 | rm -rf conftest.dSYM | ||
| 18616 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18617 | conftest$ac_exeext conftest.$ac_ext | ||
| 18618 | fi | ||
| 18619 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18620 | $as_echo "$as_val"'` | ||
| 18621 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18622 | $as_echo "$ac_res" >&6; } | ||
| 18623 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18624 | $as_echo "$as_val"'` = yes; then | ||
| 11222 | cat >>confdefs.h <<_ACEOF | 18625 | cat >>confdefs.h <<_ACEOF |
| 11223 | #define HAVE_PSTAT_GETDYNAMIC 1 | 18626 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11224 | _ACEOF | 18627 | _ACEOF |
| 11225 | 18628 | ||
| 11226 | fi | 18629 | fi |
| @@ -11228,14 +18631,19 @@ done | |||
| 11228 | 18631 | ||
| 11229 | 18632 | ||
| 11230 | # Solaris has libkstat which does not require root. | 18633 | # Solaris has libkstat which does not require root. |
| 11231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 18634 | |
| 18635 | { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | ||
| 11232 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 18636 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
| 11233 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 18637 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
| 11234 | $as_echo_n "(cached) " >&6 | 18638 | $as_echo_n "(cached) " >&6 |
| 11235 | else | 18639 | else |
| 11236 | ac_check_lib_save_LIBS=$LIBS | 18640 | ac_check_lib_save_LIBS=$LIBS |
| 11237 | LIBS="-lkstat $LIBS" | 18641 | LIBS="-lkstat $LIBS" |
| 11238 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18642 | cat >conftest.$ac_ext <<_ACEOF |
| 18643 | /* confdefs.h. */ | ||
| 18644 | _ACEOF | ||
| 18645 | cat confdefs.h >>conftest.$ac_ext | ||
| 18646 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11239 | /* end confdefs.h. */ | 18647 | /* end confdefs.h. */ |
| 11240 | 18648 | ||
| 11241 | /* Override any GCC internal prototype to avoid an error. | 18649 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11253,18 +18661,43 @@ return kstat_open (); | |||
| 11253 | return 0; | 18661 | return 0; |
| 11254 | } | 18662 | } |
| 11255 | _ACEOF | 18663 | _ACEOF |
| 11256 | if ac_fn_c_try_link "$LINENO"; then : | 18664 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18665 | if { (ac_try="$ac_link" | ||
| 18666 | case "(($ac_try" in | ||
| 18667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18668 | *) ac_try_echo=$ac_try;; | ||
| 18669 | esac | ||
| 18670 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18671 | $as_echo "$ac_try_echo") >&5 | ||
| 18672 | (eval "$ac_link") 2>conftest.er1 | ||
| 18673 | ac_status=$? | ||
| 18674 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18675 | rm -f conftest.er1 | ||
| 18676 | cat conftest.err >&5 | ||
| 18677 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18678 | (exit $ac_status); } && { | ||
| 18679 | test -z "$ac_c_werror_flag" || | ||
| 18680 | test ! -s conftest.err | ||
| 18681 | } && test -s conftest$ac_exeext && { | ||
| 18682 | test "$cross_compiling" = yes || | ||
| 18683 | $as_test_x conftest$ac_exeext | ||
| 18684 | }; then | ||
| 11257 | ac_cv_lib_kstat_kstat_open=yes | 18685 | ac_cv_lib_kstat_kstat_open=yes |
| 11258 | else | 18686 | else |
| 11259 | ac_cv_lib_kstat_kstat_open=no | 18687 | $as_echo "$as_me: failed program was:" >&5 |
| 18688 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18689 | |||
| 18690 | ac_cv_lib_kstat_kstat_open=no | ||
| 11260 | fi | 18691 | fi |
| 11261 | rm -f core conftest.err conftest.$ac_objext \ | 18692 | |
| 11262 | conftest$ac_exeext conftest.$ac_ext | 18693 | rm -rf conftest.dSYM |
| 18694 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18695 | conftest$ac_exeext conftest.$ac_ext | ||
| 11263 | LIBS=$ac_check_lib_save_LIBS | 18696 | LIBS=$ac_check_lib_save_LIBS |
| 11264 | fi | 18697 | fi |
| 11265 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 18698 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
| 11266 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 18699 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
| 11267 | if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 18700 | if test $ac_cv_lib_kstat_kstat_open = yes; then |
| 11268 | cat >>confdefs.h <<_ACEOF | 18701 | cat >>confdefs.h <<_ACEOF |
| 11269 | #define HAVE_LIBKSTAT 1 | 18702 | #define HAVE_LIBKSTAT 1 |
| 11270 | _ACEOF | 18703 | _ACEOF |
| @@ -11280,14 +18713,18 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | |||
| 11280 | # to get the right answer into the cache. | 18713 | # to get the right answer into the cache. |
| 11281 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 18714 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
| 11282 | if test $ac_have_func = no; then | 18715 | if test $ac_have_func = no; then |
| 11283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 18716 | { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
| 11284 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 18717 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
| 11285 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 18718 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
| 11286 | $as_echo_n "(cached) " >&6 | 18719 | $as_echo_n "(cached) " >&6 |
| 11287 | else | 18720 | else |
| 11288 | ac_check_lib_save_LIBS=$LIBS | 18721 | ac_check_lib_save_LIBS=$LIBS |
| 11289 | LIBS="-lelf $LIBS" | 18722 | LIBS="-lelf $LIBS" |
| 11290 | 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 | ||
| 11291 | /* end confdefs.h. */ | 18728 | /* end confdefs.h. */ |
| 11292 | 18729 | ||
| 11293 | /* Override any GCC internal prototype to avoid an error. | 18730 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11305,31 +18742,60 @@ return elf_begin (); | |||
| 11305 | return 0; | 18742 | return 0; |
| 11306 | } | 18743 | } |
| 11307 | _ACEOF | 18744 | _ACEOF |
| 11308 | 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 | ||
| 11309 | ac_cv_lib_elf_elf_begin=yes | 18766 | ac_cv_lib_elf_elf_begin=yes |
| 11310 | else | 18767 | else |
| 11311 | ac_cv_lib_elf_elf_begin=no | 18768 | $as_echo "$as_me: failed program was:" >&5 |
| 18769 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18770 | |||
| 18771 | ac_cv_lib_elf_elf_begin=no | ||
| 11312 | fi | 18772 | fi |
| 11313 | rm -f core conftest.err conftest.$ac_objext \ | 18773 | |
| 11314 | 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 | ||
| 11315 | LIBS=$ac_check_lib_save_LIBS | 18777 | LIBS=$ac_check_lib_save_LIBS |
| 11316 | fi | 18778 | fi |
| 11317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 18779 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
| 11318 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 18780 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
| 11319 | if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 18781 | if test $ac_cv_lib_elf_elf_begin = yes; then |
| 11320 | LIBS="-lelf $LIBS" | 18782 | LIBS="-lelf $LIBS" |
| 11321 | fi | 18783 | fi |
| 11322 | 18784 | ||
| 11323 | fi | 18785 | fi |
| 11324 | if test $ac_have_func = no; then | 18786 | if test $ac_have_func = no; then |
| 11325 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 18787 | { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
| 11326 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 18788 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
| 11327 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 18789 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
| 11328 | $as_echo_n "(cached) " >&6 | 18790 | $as_echo_n "(cached) " >&6 |
| 11329 | else | 18791 | else |
| 11330 | ac_check_lib_save_LIBS=$LIBS | 18792 | ac_check_lib_save_LIBS=$LIBS |
| 11331 | LIBS="-lkvm $LIBS" | 18793 | LIBS="-lkvm $LIBS" |
| 11332 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18794 | cat >conftest.$ac_ext <<_ACEOF |
| 18795 | /* confdefs.h. */ | ||
| 18796 | _ACEOF | ||
| 18797 | cat confdefs.h >>conftest.$ac_ext | ||
| 18798 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11333 | /* end confdefs.h. */ | 18799 | /* end confdefs.h. */ |
| 11334 | 18800 | ||
| 11335 | /* Override any GCC internal prototype to avoid an error. | 18801 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11347,30 +18813,59 @@ return kvm_open (); | |||
| 11347 | return 0; | 18813 | return 0; |
| 11348 | } | 18814 | } |
| 11349 | _ACEOF | 18815 | _ACEOF |
| 11350 | if ac_fn_c_try_link "$LINENO"; then : | 18816 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18817 | if { (ac_try="$ac_link" | ||
| 18818 | case "(($ac_try" in | ||
| 18819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18820 | *) ac_try_echo=$ac_try;; | ||
| 18821 | esac | ||
| 18822 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18823 | $as_echo "$ac_try_echo") >&5 | ||
| 18824 | (eval "$ac_link") 2>conftest.er1 | ||
| 18825 | ac_status=$? | ||
| 18826 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18827 | rm -f conftest.er1 | ||
| 18828 | cat conftest.err >&5 | ||
| 18829 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18830 | (exit $ac_status); } && { | ||
| 18831 | test -z "$ac_c_werror_flag" || | ||
| 18832 | test ! -s conftest.err | ||
| 18833 | } && test -s conftest$ac_exeext && { | ||
| 18834 | test "$cross_compiling" = yes || | ||
| 18835 | $as_test_x conftest$ac_exeext | ||
| 18836 | }; then | ||
| 11351 | ac_cv_lib_kvm_kvm_open=yes | 18837 | ac_cv_lib_kvm_kvm_open=yes |
| 11352 | else | 18838 | else |
| 11353 | ac_cv_lib_kvm_kvm_open=no | 18839 | $as_echo "$as_me: failed program was:" >&5 |
| 18840 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18841 | |||
| 18842 | ac_cv_lib_kvm_kvm_open=no | ||
| 11354 | fi | 18843 | fi |
| 11355 | rm -f core conftest.err conftest.$ac_objext \ | 18844 | |
| 11356 | conftest$ac_exeext conftest.$ac_ext | 18845 | rm -rf conftest.dSYM |
| 18846 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18847 | conftest$ac_exeext conftest.$ac_ext | ||
| 11357 | LIBS=$ac_check_lib_save_LIBS | 18848 | LIBS=$ac_check_lib_save_LIBS |
| 11358 | fi | 18849 | fi |
| 11359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18850 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
| 11360 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 18851 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
| 11361 | if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 18852 | if test $ac_cv_lib_kvm_kvm_open = yes; then |
| 11362 | LIBS="-lkvm $LIBS" | 18853 | LIBS="-lkvm $LIBS" |
| 11363 | fi | 18854 | fi |
| 11364 | 18855 | ||
| 11365 | # Check for the 4.4BSD definition of getloadavg. | 18856 | # Check for the 4.4BSD definition of getloadavg. |
| 11366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 18857 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
| 11367 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 18858 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
| 11368 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 18859 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
| 11369 | $as_echo_n "(cached) " >&6 | 18860 | $as_echo_n "(cached) " >&6 |
| 11370 | else | 18861 | else |
| 11371 | ac_check_lib_save_LIBS=$LIBS | 18862 | ac_check_lib_save_LIBS=$LIBS |
| 11372 | LIBS="-lutil $LIBS" | 18863 | LIBS="-lutil $LIBS" |
| 11373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18864 | cat >conftest.$ac_ext <<_ACEOF |
| 18865 | /* confdefs.h. */ | ||
| 18866 | _ACEOF | ||
| 18867 | cat confdefs.h >>conftest.$ac_ext | ||
| 18868 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11374 | /* end confdefs.h. */ | 18869 | /* end confdefs.h. */ |
| 11375 | 18870 | ||
| 11376 | /* Override any GCC internal prototype to avoid an error. | 18871 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11388,18 +18883,43 @@ return getloadavg (); | |||
| 11388 | return 0; | 18883 | return 0; |
| 11389 | } | 18884 | } |
| 11390 | _ACEOF | 18885 | _ACEOF |
| 11391 | if ac_fn_c_try_link "$LINENO"; then : | 18886 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18887 | if { (ac_try="$ac_link" | ||
| 18888 | case "(($ac_try" in | ||
| 18889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18890 | *) ac_try_echo=$ac_try;; | ||
| 18891 | esac | ||
| 18892 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18893 | $as_echo "$ac_try_echo") >&5 | ||
| 18894 | (eval "$ac_link") 2>conftest.er1 | ||
| 18895 | ac_status=$? | ||
| 18896 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18897 | rm -f conftest.er1 | ||
| 18898 | cat conftest.err >&5 | ||
| 18899 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18900 | (exit $ac_status); } && { | ||
| 18901 | test -z "$ac_c_werror_flag" || | ||
| 18902 | test ! -s conftest.err | ||
| 18903 | } && test -s conftest$ac_exeext && { | ||
| 18904 | test "$cross_compiling" = yes || | ||
| 18905 | $as_test_x conftest$ac_exeext | ||
| 18906 | }; then | ||
| 11392 | ac_cv_lib_util_getloadavg=yes | 18907 | ac_cv_lib_util_getloadavg=yes |
| 11393 | else | 18908 | else |
| 11394 | ac_cv_lib_util_getloadavg=no | 18909 | $as_echo "$as_me: failed program was:" >&5 |
| 18910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18911 | |||
| 18912 | ac_cv_lib_util_getloadavg=no | ||
| 11395 | fi | 18913 | fi |
| 11396 | rm -f core conftest.err conftest.$ac_objext \ | 18914 | |
| 11397 | conftest$ac_exeext conftest.$ac_ext | 18915 | rm -rf conftest.dSYM |
| 18916 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18917 | conftest$ac_exeext conftest.$ac_ext | ||
| 11398 | LIBS=$ac_check_lib_save_LIBS | 18918 | LIBS=$ac_check_lib_save_LIBS |
| 11399 | fi | 18919 | fi |
| 11400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 18920 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
| 11401 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 18921 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
| 11402 | if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 18922 | if test $ac_cv_lib_util_getloadavg = yes; then |
| 11403 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 18923 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
| 11404 | fi | 18924 | fi |
| 11405 | 18925 | ||
| @@ -11410,14 +18930,18 @@ if test $ac_have_func = no; then | |||
| 11410 | # Since it is not a standard part of AIX, it might be installed locally. | 18930 | # Since it is not a standard part of AIX, it might be installed locally. |
| 11411 | ac_getloadavg_LIBS=$LIBS | 18931 | ac_getloadavg_LIBS=$LIBS |
| 11412 | LIBS="-L/usr/local/lib $LIBS" | 18932 | LIBS="-L/usr/local/lib $LIBS" |
| 11413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 18933 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
| 11414 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 18934 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
| 11415 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 18935 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
| 11416 | $as_echo_n "(cached) " >&6 | 18936 | $as_echo_n "(cached) " >&6 |
| 11417 | else | 18937 | else |
| 11418 | ac_check_lib_save_LIBS=$LIBS | 18938 | ac_check_lib_save_LIBS=$LIBS |
| 11419 | LIBS="-lgetloadavg $LIBS" | 18939 | LIBS="-lgetloadavg $LIBS" |
| 11420 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18940 | cat >conftest.$ac_ext <<_ACEOF |
| 18941 | /* confdefs.h. */ | ||
| 18942 | _ACEOF | ||
| 18943 | cat confdefs.h >>conftest.$ac_ext | ||
| 18944 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11421 | /* end confdefs.h. */ | 18945 | /* end confdefs.h. */ |
| 11422 | 18946 | ||
| 11423 | /* Override any GCC internal prototype to avoid an error. | 18947 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11435,18 +18959,43 @@ return getloadavg (); | |||
| 11435 | return 0; | 18959 | return 0; |
| 11436 | } | 18960 | } |
| 11437 | _ACEOF | 18961 | _ACEOF |
| 11438 | if ac_fn_c_try_link "$LINENO"; then : | 18962 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18963 | if { (ac_try="$ac_link" | ||
| 18964 | case "(($ac_try" in | ||
| 18965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18966 | *) ac_try_echo=$ac_try;; | ||
| 18967 | esac | ||
| 18968 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18969 | $as_echo "$ac_try_echo") >&5 | ||
| 18970 | (eval "$ac_link") 2>conftest.er1 | ||
| 18971 | ac_status=$? | ||
| 18972 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18973 | rm -f conftest.er1 | ||
| 18974 | cat conftest.err >&5 | ||
| 18975 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18976 | (exit $ac_status); } && { | ||
| 18977 | test -z "$ac_c_werror_flag" || | ||
| 18978 | test ! -s conftest.err | ||
| 18979 | } && test -s conftest$ac_exeext && { | ||
| 18980 | test "$cross_compiling" = yes || | ||
| 18981 | $as_test_x conftest$ac_exeext | ||
| 18982 | }; then | ||
| 11439 | ac_cv_lib_getloadavg_getloadavg=yes | 18983 | ac_cv_lib_getloadavg_getloadavg=yes |
| 11440 | else | 18984 | else |
| 11441 | ac_cv_lib_getloadavg_getloadavg=no | 18985 | $as_echo "$as_me: failed program was:" >&5 |
| 18986 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18987 | |||
| 18988 | ac_cv_lib_getloadavg_getloadavg=no | ||
| 11442 | fi | 18989 | fi |
| 11443 | rm -f core conftest.err conftest.$ac_objext \ | 18990 | |
| 11444 | conftest$ac_exeext conftest.$ac_ext | 18991 | rm -rf conftest.dSYM |
| 18992 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18993 | conftest$ac_exeext conftest.$ac_ext | ||
| 11445 | LIBS=$ac_check_lib_save_LIBS | 18994 | LIBS=$ac_check_lib_save_LIBS |
| 11446 | fi | 18995 | fi |
| 11447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 18996 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
| 11448 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 18997 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
| 11449 | if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 18998 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
| 11450 | LIBS="-lgetloadavg $LIBS" | 18999 | LIBS="-lgetloadavg $LIBS" |
| 11451 | else | 19000 | else |
| 11452 | LIBS=$ac_getloadavg_LIBS | 19001 | LIBS=$ac_getloadavg_LIBS |
| @@ -11456,12 +19005,101 @@ fi | |||
| 11456 | 19005 | ||
| 11457 | # Make sure it is really in the library, if we think we found it, | 19006 | # Make sure it is really in the library, if we think we found it, |
| 11458 | # otherwise set up the replacement function. | 19007 | # otherwise set up the replacement function. |
| 19008 | |||
| 11459 | for ac_func in getloadavg | 19009 | for ac_func in getloadavg |
| 11460 | do : | 19010 | do |
| 11461 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 19011 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11462 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 19012 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 19013 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 19014 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19015 | $as_echo_n "(cached) " >&6 | ||
| 19016 | else | ||
| 19017 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19018 | /* confdefs.h. */ | ||
| 19019 | _ACEOF | ||
| 19020 | cat confdefs.h >>conftest.$ac_ext | ||
| 19021 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19022 | /* end confdefs.h. */ | ||
| 19023 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 19024 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 19025 | #define $ac_func innocuous_$ac_func | ||
| 19026 | |||
| 19027 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 19028 | which can conflict with char $ac_func (); below. | ||
| 19029 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 19030 | <limits.h> exists even on freestanding compilers. */ | ||
| 19031 | |||
| 19032 | #ifdef __STDC__ | ||
| 19033 | # include <limits.h> | ||
| 19034 | #else | ||
| 19035 | # include <assert.h> | ||
| 19036 | #endif | ||
| 19037 | |||
| 19038 | #undef $ac_func | ||
| 19039 | |||
| 19040 | /* Override any GCC internal prototype to avoid an error. | ||
| 19041 | Use char because int might match the return type of a GCC | ||
| 19042 | builtin and then its argument prototype would still apply. */ | ||
| 19043 | #ifdef __cplusplus | ||
| 19044 | extern "C" | ||
| 19045 | #endif | ||
| 19046 | char $ac_func (); | ||
| 19047 | /* The GNU C library defines this for functions which it implements | ||
| 19048 | to always fail with ENOSYS. Some functions are actually named | ||
| 19049 | something starting with __ and the normal name is an alias. */ | ||
| 19050 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 19051 | choke me | ||
| 19052 | #endif | ||
| 19053 | |||
| 19054 | int | ||
| 19055 | main () | ||
| 19056 | { | ||
| 19057 | return $ac_func (); | ||
| 19058 | ; | ||
| 19059 | return 0; | ||
| 19060 | } | ||
| 19061 | _ACEOF | ||
| 19062 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 19063 | if { (ac_try="$ac_link" | ||
| 19064 | case "(($ac_try" in | ||
| 19065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19066 | *) ac_try_echo=$ac_try;; | ||
| 19067 | esac | ||
| 19068 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19069 | $as_echo "$ac_try_echo") >&5 | ||
| 19070 | (eval "$ac_link") 2>conftest.er1 | ||
| 19071 | ac_status=$? | ||
| 19072 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19073 | rm -f conftest.er1 | ||
| 19074 | cat conftest.err >&5 | ||
| 19075 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19076 | (exit $ac_status); } && { | ||
| 19077 | test -z "$ac_c_werror_flag" || | ||
| 19078 | test ! -s conftest.err | ||
| 19079 | } && test -s conftest$ac_exeext && { | ||
| 19080 | test "$cross_compiling" = yes || | ||
| 19081 | $as_test_x conftest$ac_exeext | ||
| 19082 | }; then | ||
| 19083 | eval "$as_ac_var=yes" | ||
| 19084 | else | ||
| 19085 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19086 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19087 | |||
| 19088 | eval "$as_ac_var=no" | ||
| 19089 | fi | ||
| 19090 | |||
| 19091 | rm -rf conftest.dSYM | ||
| 19092 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19093 | conftest$ac_exeext conftest.$ac_ext | ||
| 19094 | fi | ||
| 19095 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 19096 | $as_echo "$as_val"'` | ||
| 19097 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19098 | $as_echo "$ac_res" >&6; } | ||
| 19099 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 19100 | $as_echo "$as_val"'` = yes; then | ||
| 11463 | cat >>confdefs.h <<_ACEOF | 19101 | cat >>confdefs.h <<_ACEOF |
| 11464 | #define HAVE_GETLOADAVG 1 | 19102 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11465 | _ACEOF | 19103 | _ACEOF |
| 11466 | 19104 | ||
| 11467 | else | 19105 | else |
| @@ -11472,24 +19110,159 @@ else | |||
| 11472 | esac | 19110 | esac |
| 11473 | 19111 | ||
| 11474 | 19112 | ||
| 11475 | $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 19113 | cat >>confdefs.h <<\_ACEOF |
| 19114 | #define C_GETLOADAVG 1 | ||
| 19115 | _ACEOF | ||
| 11476 | 19116 | ||
| 11477 | # Figure out what our getloadavg.c needs. | 19117 | # Figure out what our getloadavg.c needs. |
| 11478 | ac_have_func=no | 19118 | ac_have_func=no |
| 11479 | ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 19119 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 11480 | if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 19120 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
| 19121 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 19122 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 19123 | $as_echo_n "(cached) " >&6 | ||
| 19124 | fi | ||
| 19125 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 19126 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 19127 | else | ||
| 19128 | # Is the header compilable? | ||
| 19129 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | ||
| 19130 | $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | ||
| 19131 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19132 | /* confdefs.h. */ | ||
| 19133 | _ACEOF | ||
| 19134 | cat confdefs.h >>conftest.$ac_ext | ||
| 19135 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19136 | /* end confdefs.h. */ | ||
| 19137 | $ac_includes_default | ||
| 19138 | #include <sys/dg_sys_info.h> | ||
| 19139 | _ACEOF | ||
| 19140 | rm -f conftest.$ac_objext | ||
| 19141 | if { (ac_try="$ac_compile" | ||
| 19142 | case "(($ac_try" in | ||
| 19143 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19144 | *) ac_try_echo=$ac_try;; | ||
| 19145 | esac | ||
| 19146 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19147 | $as_echo "$ac_try_echo") >&5 | ||
| 19148 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19149 | ac_status=$? | ||
| 19150 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19151 | rm -f conftest.er1 | ||
| 19152 | cat conftest.err >&5 | ||
| 19153 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19154 | (exit $ac_status); } && { | ||
| 19155 | test -z "$ac_c_werror_flag" || | ||
| 19156 | test ! -s conftest.err | ||
| 19157 | } && test -s conftest.$ac_objext; then | ||
| 19158 | ac_header_compiler=yes | ||
| 19159 | else | ||
| 19160 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19161 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19162 | |||
| 19163 | ac_header_compiler=no | ||
| 19164 | fi | ||
| 19165 | |||
| 19166 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19167 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19168 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19169 | |||
| 19170 | # Is the header present? | ||
| 19171 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | ||
| 19172 | $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | ||
| 19173 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19174 | /* confdefs.h. */ | ||
| 19175 | _ACEOF | ||
| 19176 | cat confdefs.h >>conftest.$ac_ext | ||
| 19177 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19178 | /* end confdefs.h. */ | ||
| 19179 | #include <sys/dg_sys_info.h> | ||
| 19180 | _ACEOF | ||
| 19181 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19182 | case "(($ac_try" in | ||
| 19183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19184 | *) ac_try_echo=$ac_try;; | ||
| 19185 | esac | ||
| 19186 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19187 | $as_echo "$ac_try_echo") >&5 | ||
| 19188 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19189 | ac_status=$? | ||
| 19190 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19191 | rm -f conftest.er1 | ||
| 19192 | cat conftest.err >&5 | ||
| 19193 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19194 | (exit $ac_status); } >/dev/null && { | ||
| 19195 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19196 | test ! -s conftest.err | ||
| 19197 | }; then | ||
| 19198 | ac_header_preproc=yes | ||
| 19199 | else | ||
| 19200 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19201 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19202 | |||
| 19203 | ac_header_preproc=no | ||
| 19204 | fi | ||
| 19205 | |||
| 19206 | rm -f conftest.err conftest.$ac_ext | ||
| 19207 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19208 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19209 | |||
| 19210 | # So? What about this header? | ||
| 19211 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19212 | yes:no: ) | ||
| 19213 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19214 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19215 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | ||
| 19216 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | ||
| 19217 | ac_header_preproc=yes | ||
| 19218 | ;; | ||
| 19219 | no:yes:* ) | ||
| 19220 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | ||
| 19221 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | ||
| 19222 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | ||
| 19223 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | ||
| 19224 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | ||
| 19225 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | ||
| 19226 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19227 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19228 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 19229 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | ||
| 19230 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | ||
| 19231 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | ||
| 19232 | |||
| 19233 | ;; | ||
| 19234 | esac | ||
| 19235 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 19236 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 19237 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 19238 | $as_echo_n "(cached) " >&6 | ||
| 19239 | else | ||
| 19240 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | ||
| 19241 | fi | ||
| 19242 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 19243 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 19244 | |||
| 19245 | fi | ||
| 19246 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | ||
| 11481 | ac_have_func=yes | 19247 | ac_have_func=yes |
| 11482 | 19248 | ||
| 11483 | $as_echo "#define DGUX 1" >>confdefs.h | 19249 | cat >>confdefs.h <<\_ACEOF |
| 19250 | #define DGUX 1 | ||
| 19251 | _ACEOF | ||
| 19252 | |||
| 11484 | 19253 | ||
| 11485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 19254 | { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
| 11486 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 19255 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
| 11487 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 19256 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
| 11488 | $as_echo_n "(cached) " >&6 | 19257 | $as_echo_n "(cached) " >&6 |
| 11489 | else | 19258 | else |
| 11490 | ac_check_lib_save_LIBS=$LIBS | 19259 | ac_check_lib_save_LIBS=$LIBS |
| 11491 | LIBS="-ldgc $LIBS" | 19260 | LIBS="-ldgc $LIBS" |
| 11492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19261 | cat >conftest.$ac_ext <<_ACEOF |
| 19262 | /* confdefs.h. */ | ||
| 19263 | _ACEOF | ||
| 19264 | cat confdefs.h >>conftest.$ac_ext | ||
| 19265 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11493 | /* end confdefs.h. */ | 19266 | /* end confdefs.h. */ |
| 11494 | 19267 | ||
| 11495 | /* Override any GCC internal prototype to avoid an error. | 19268 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11507,18 +19280,43 @@ return dg_sys_info (); | |||
| 11507 | return 0; | 19280 | return 0; |
| 11508 | } | 19281 | } |
| 11509 | _ACEOF | 19282 | _ACEOF |
| 11510 | if ac_fn_c_try_link "$LINENO"; then : | 19283 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19284 | if { (ac_try="$ac_link" | ||
| 19285 | case "(($ac_try" in | ||
| 19286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19287 | *) ac_try_echo=$ac_try;; | ||
| 19288 | esac | ||
| 19289 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19290 | $as_echo "$ac_try_echo") >&5 | ||
| 19291 | (eval "$ac_link") 2>conftest.er1 | ||
| 19292 | ac_status=$? | ||
| 19293 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19294 | rm -f conftest.er1 | ||
| 19295 | cat conftest.err >&5 | ||
| 19296 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19297 | (exit $ac_status); } && { | ||
| 19298 | test -z "$ac_c_werror_flag" || | ||
| 19299 | test ! -s conftest.err | ||
| 19300 | } && test -s conftest$ac_exeext && { | ||
| 19301 | test "$cross_compiling" = yes || | ||
| 19302 | $as_test_x conftest$ac_exeext | ||
| 19303 | }; then | ||
| 11511 | ac_cv_lib_dgc_dg_sys_info=yes | 19304 | ac_cv_lib_dgc_dg_sys_info=yes |
| 11512 | else | 19305 | else |
| 11513 | ac_cv_lib_dgc_dg_sys_info=no | 19306 | $as_echo "$as_me: failed program was:" >&5 |
| 19307 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19308 | |||
| 19309 | ac_cv_lib_dgc_dg_sys_info=no | ||
| 11514 | fi | 19310 | fi |
| 11515 | rm -f core conftest.err conftest.$ac_objext \ | 19311 | |
| 11516 | conftest$ac_exeext conftest.$ac_ext | 19312 | rm -rf conftest.dSYM |
| 19313 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19314 | conftest$ac_exeext conftest.$ac_ext | ||
| 11517 | LIBS=$ac_check_lib_save_LIBS | 19315 | LIBS=$ac_check_lib_save_LIBS |
| 11518 | fi | 19316 | fi |
| 11519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 19317 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
| 11520 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 19318 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
| 11521 | if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 19319 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
| 11522 | cat >>confdefs.h <<_ACEOF | 19320 | cat >>confdefs.h <<_ACEOF |
| 11523 | #define HAVE_LIBDGC 1 | 19321 | #define HAVE_LIBDGC 1 |
| 11524 | _ACEOF | 19322 | _ACEOF |
| @@ -11531,18 +19329,230 @@ fi | |||
| 11531 | 19329 | ||
| 11532 | 19330 | ||
| 11533 | 19331 | ||
| 11534 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 19332 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 11535 | if test "x$ac_cv_header_locale_h" = x""yes; then : | 19333 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 |
| 19334 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19335 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19336 | $as_echo_n "(cached) " >&6 | ||
| 19337 | fi | ||
| 19338 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19339 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 19340 | else | ||
| 19341 | # Is the header compilable? | ||
| 19342 | { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | ||
| 19343 | $as_echo_n "checking locale.h usability... " >&6; } | ||
| 19344 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19345 | /* confdefs.h. */ | ||
| 19346 | _ACEOF | ||
| 19347 | cat confdefs.h >>conftest.$ac_ext | ||
| 19348 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19349 | /* end confdefs.h. */ | ||
| 19350 | $ac_includes_default | ||
| 19351 | #include <locale.h> | ||
| 19352 | _ACEOF | ||
| 19353 | rm -f conftest.$ac_objext | ||
| 19354 | if { (ac_try="$ac_compile" | ||
| 19355 | case "(($ac_try" in | ||
| 19356 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19357 | *) ac_try_echo=$ac_try;; | ||
| 19358 | esac | ||
| 19359 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19360 | $as_echo "$ac_try_echo") >&5 | ||
| 19361 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19362 | ac_status=$? | ||
| 19363 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19364 | rm -f conftest.er1 | ||
| 19365 | cat conftest.err >&5 | ||
| 19366 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19367 | (exit $ac_status); } && { | ||
| 19368 | test -z "$ac_c_werror_flag" || | ||
| 19369 | test ! -s conftest.err | ||
| 19370 | } && test -s conftest.$ac_objext; then | ||
| 19371 | ac_header_compiler=yes | ||
| 19372 | else | ||
| 19373 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19374 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11536 | 19375 | ||
| 19376 | ac_header_compiler=no | ||
| 11537 | fi | 19377 | fi |
| 11538 | 19378 | ||
| 19379 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19380 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19381 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19382 | |||
| 19383 | # Is the header present? | ||
| 19384 | { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | ||
| 19385 | $as_echo_n "checking locale.h presence... " >&6; } | ||
| 19386 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19387 | /* confdefs.h. */ | ||
| 19388 | _ACEOF | ||
| 19389 | cat confdefs.h >>conftest.$ac_ext | ||
| 19390 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19391 | /* end confdefs.h. */ | ||
| 19392 | #include <locale.h> | ||
| 19393 | _ACEOF | ||
| 19394 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19395 | case "(($ac_try" in | ||
| 19396 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19397 | *) ac_try_echo=$ac_try;; | ||
| 19398 | esac | ||
| 19399 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19400 | $as_echo "$ac_try_echo") >&5 | ||
| 19401 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19402 | ac_status=$? | ||
| 19403 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19404 | rm -f conftest.er1 | ||
| 19405 | cat conftest.err >&5 | ||
| 19406 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19407 | (exit $ac_status); } >/dev/null && { | ||
| 19408 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19409 | test ! -s conftest.err | ||
| 19410 | }; then | ||
| 19411 | ac_header_preproc=yes | ||
| 19412 | else | ||
| 19413 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19414 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19415 | |||
| 19416 | ac_header_preproc=no | ||
| 19417 | fi | ||
| 19418 | |||
| 19419 | rm -f conftest.err conftest.$ac_ext | ||
| 19420 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19421 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19422 | |||
| 19423 | # So? What about this header? | ||
| 19424 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19425 | yes:no: ) | ||
| 19426 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19427 | $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19428 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | ||
| 19429 | $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | ||
| 19430 | ac_header_preproc=yes | ||
| 19431 | ;; | ||
| 19432 | no:yes:* ) | ||
| 19433 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | ||
| 19434 | $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | ||
| 19435 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | ||
| 19436 | $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | ||
| 19437 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | ||
| 19438 | $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | ||
| 19439 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19440 | $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19441 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 19442 | $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | ||
| 19443 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | ||
| 19444 | $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | ||
| 19445 | |||
| 19446 | ;; | ||
| 19447 | esac | ||
| 19448 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 19449 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19450 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19451 | $as_echo_n "(cached) " >&6 | ||
| 19452 | else | ||
| 19453 | ac_cv_header_locale_h=$ac_header_preproc | ||
| 19454 | fi | ||
| 19455 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19456 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 19457 | |||
| 19458 | fi | ||
| 19459 | |||
| 19460 | |||
| 11539 | 19461 | ||
| 11540 | for ac_func in setlocale | 19462 | for ac_func in setlocale |
| 11541 | do : | 19463 | do |
| 11542 | ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 19464 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11543 | if test "x$ac_cv_func_setlocale" = x""yes; then : | 19465 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 19466 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 19467 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19468 | $as_echo_n "(cached) " >&6 | ||
| 19469 | else | ||
| 19470 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19471 | /* confdefs.h. */ | ||
| 19472 | _ACEOF | ||
| 19473 | cat confdefs.h >>conftest.$ac_ext | ||
| 19474 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19475 | /* end confdefs.h. */ | ||
| 19476 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 19477 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 19478 | #define $ac_func innocuous_$ac_func | ||
| 19479 | |||
| 19480 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 19481 | which can conflict with char $ac_func (); below. | ||
| 19482 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 19483 | <limits.h> exists even on freestanding compilers. */ | ||
| 19484 | |||
| 19485 | #ifdef __STDC__ | ||
| 19486 | # include <limits.h> | ||
| 19487 | #else | ||
| 19488 | # include <assert.h> | ||
| 19489 | #endif | ||
| 19490 | |||
| 19491 | #undef $ac_func | ||
| 19492 | |||
| 19493 | /* Override any GCC internal prototype to avoid an error. | ||
| 19494 | Use char because int might match the return type of a GCC | ||
| 19495 | builtin and then its argument prototype would still apply. */ | ||
| 19496 | #ifdef __cplusplus | ||
| 19497 | extern "C" | ||
| 19498 | #endif | ||
| 19499 | char $ac_func (); | ||
| 19500 | /* The GNU C library defines this for functions which it implements | ||
| 19501 | to always fail with ENOSYS. Some functions are actually named | ||
| 19502 | something starting with __ and the normal name is an alias. */ | ||
| 19503 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 19504 | choke me | ||
| 19505 | #endif | ||
| 19506 | |||
| 19507 | int | ||
| 19508 | main () | ||
| 19509 | { | ||
| 19510 | return $ac_func (); | ||
| 19511 | ; | ||
| 19512 | return 0; | ||
| 19513 | } | ||
| 19514 | _ACEOF | ||
| 19515 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 19516 | if { (ac_try="$ac_link" | ||
| 19517 | case "(($ac_try" in | ||
| 19518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19519 | *) ac_try_echo=$ac_try;; | ||
| 19520 | esac | ||
| 19521 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19522 | $as_echo "$ac_try_echo") >&5 | ||
| 19523 | (eval "$ac_link") 2>conftest.er1 | ||
| 19524 | ac_status=$? | ||
| 19525 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19526 | rm -f conftest.er1 | ||
| 19527 | cat conftest.err >&5 | ||
| 19528 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19529 | (exit $ac_status); } && { | ||
| 19530 | test -z "$ac_c_werror_flag" || | ||
| 19531 | test ! -s conftest.err | ||
| 19532 | } && test -s conftest$ac_exeext && { | ||
| 19533 | test "$cross_compiling" = yes || | ||
| 19534 | $as_test_x conftest$ac_exeext | ||
| 19535 | }; then | ||
| 19536 | eval "$as_ac_var=yes" | ||
| 19537 | else | ||
| 19538 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19539 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19540 | |||
| 19541 | eval "$as_ac_var=no" | ||
| 19542 | fi | ||
| 19543 | |||
| 19544 | rm -rf conftest.dSYM | ||
| 19545 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19546 | conftest$ac_exeext conftest.$ac_ext | ||
| 19547 | fi | ||
| 19548 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 19549 | $as_echo "$as_val"'` | ||
| 19550 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19551 | $as_echo "$ac_res" >&6; } | ||
| 19552 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 19553 | $as_echo "$as_val"'` = yes; then | ||
| 11544 | cat >>confdefs.h <<_ACEOF | 19554 | cat >>confdefs.h <<_ACEOF |
| 11545 | #define HAVE_SETLOCALE 1 | 19555 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11546 | _ACEOF | 19556 | _ACEOF |
| 11547 | 19557 | ||
| 11548 | fi | 19558 | fi |
| @@ -11555,19 +19565,151 @@ done | |||
| 11555 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 19565 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
| 11556 | ac_have_func=yes | 19566 | ac_have_func=yes |
| 11557 | 19567 | ||
| 11558 | $as_echo "#define SVR4 1" >>confdefs.h | 19568 | cat >>confdefs.h <<\_ACEOF |
| 19569 | #define SVR4 1 | ||
| 19570 | _ACEOF | ||
| 11559 | 19571 | ||
| 11560 | fi | 19572 | fi |
| 11561 | 19573 | ||
| 11562 | if test $ac_have_func = no; then | 19574 | if test $ac_have_func = no; then |
| 11563 | ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 19575 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 11564 | if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 19576 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
| 19577 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19578 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19579 | $as_echo_n "(cached) " >&6 | ||
| 19580 | fi | ||
| 19581 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19582 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19583 | else | ||
| 19584 | # Is the header compilable? | ||
| 19585 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | ||
| 19586 | $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | ||
| 19587 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19588 | /* confdefs.h. */ | ||
| 19589 | _ACEOF | ||
| 19590 | cat confdefs.h >>conftest.$ac_ext | ||
| 19591 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19592 | /* end confdefs.h. */ | ||
| 19593 | $ac_includes_default | ||
| 19594 | #include <inq_stats/cpustats.h> | ||
| 19595 | _ACEOF | ||
| 19596 | rm -f conftest.$ac_objext | ||
| 19597 | if { (ac_try="$ac_compile" | ||
| 19598 | case "(($ac_try" in | ||
| 19599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19600 | *) ac_try_echo=$ac_try;; | ||
| 19601 | esac | ||
| 19602 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19603 | $as_echo "$ac_try_echo") >&5 | ||
| 19604 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19605 | ac_status=$? | ||
| 19606 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19607 | rm -f conftest.er1 | ||
| 19608 | cat conftest.err >&5 | ||
| 19609 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19610 | (exit $ac_status); } && { | ||
| 19611 | test -z "$ac_c_werror_flag" || | ||
| 19612 | test ! -s conftest.err | ||
| 19613 | } && test -s conftest.$ac_objext; then | ||
| 19614 | ac_header_compiler=yes | ||
| 19615 | else | ||
| 19616 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19617 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19618 | |||
| 19619 | ac_header_compiler=no | ||
| 19620 | fi | ||
| 19621 | |||
| 19622 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19623 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19624 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19625 | |||
| 19626 | # Is the header present? | ||
| 19627 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | ||
| 19628 | $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | ||
| 19629 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19630 | /* confdefs.h. */ | ||
| 19631 | _ACEOF | ||
| 19632 | cat confdefs.h >>conftest.$ac_ext | ||
| 19633 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19634 | /* end confdefs.h. */ | ||
| 19635 | #include <inq_stats/cpustats.h> | ||
| 19636 | _ACEOF | ||
| 19637 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19638 | case "(($ac_try" in | ||
| 19639 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19640 | *) ac_try_echo=$ac_try;; | ||
| 19641 | esac | ||
| 19642 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19643 | $as_echo "$ac_try_echo") >&5 | ||
| 19644 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19645 | ac_status=$? | ||
| 19646 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19647 | rm -f conftest.er1 | ||
| 19648 | cat conftest.err >&5 | ||
| 19649 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19650 | (exit $ac_status); } >/dev/null && { | ||
| 19651 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19652 | test ! -s conftest.err | ||
| 19653 | }; then | ||
| 19654 | ac_header_preproc=yes | ||
| 19655 | else | ||
| 19656 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19657 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19658 | |||
| 19659 | ac_header_preproc=no | ||
| 19660 | fi | ||
| 19661 | |||
| 19662 | rm -f conftest.err conftest.$ac_ext | ||
| 19663 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19664 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19665 | |||
| 19666 | # So? What about this header? | ||
| 19667 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19668 | yes:no: ) | ||
| 19669 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19670 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19671 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19672 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19673 | ac_header_preproc=yes | ||
| 19674 | ;; | ||
| 19675 | no:yes:* ) | ||
| 19676 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | ||
| 19677 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19678 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19679 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19680 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19681 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19682 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19683 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19684 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19685 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19686 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19687 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19688 | |||
| 19689 | ;; | ||
| 19690 | esac | ||
| 19691 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 19692 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19693 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19694 | $as_echo_n "(cached) " >&6 | ||
| 19695 | else | ||
| 19696 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | ||
| 19697 | fi | ||
| 19698 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19699 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19700 | |||
| 19701 | fi | ||
| 19702 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | ||
| 11565 | ac_have_func=yes | 19703 | ac_have_func=yes |
| 11566 | 19704 | ||
| 11567 | $as_echo "#define UMAX 1" >>confdefs.h | 19705 | cat >>confdefs.h <<\_ACEOF |
| 19706 | #define UMAX 1 | ||
| 19707 | _ACEOF | ||
| 11568 | 19708 | ||
| 11569 | 19709 | ||
| 11570 | $as_echo "#define UMAX4_3 1" >>confdefs.h | 19710 | cat >>confdefs.h <<\_ACEOF |
| 19711 | #define UMAX4_3 1 | ||
| 19712 | _ACEOF | ||
| 11571 | 19713 | ||
| 11572 | fi | 19714 | fi |
| 11573 | 19715 | ||
| @@ -11575,9 +19717,137 @@ fi | |||
| 11575 | fi | 19717 | fi |
| 11576 | 19718 | ||
| 11577 | if test $ac_have_func = no; then | 19719 | if test $ac_have_func = no; then |
| 11578 | ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 19720 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 11579 | if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 19721 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
| 11580 | ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 19722 | $as_echo_n "checking for sys/cpustats.h... " >&6; } |
| 19723 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19724 | $as_echo_n "(cached) " >&6 | ||
| 19725 | fi | ||
| 19726 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19727 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19728 | else | ||
| 19729 | # Is the header compilable? | ||
| 19730 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | ||
| 19731 | $as_echo_n "checking sys/cpustats.h usability... " >&6; } | ||
| 19732 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19733 | /* confdefs.h. */ | ||
| 19734 | _ACEOF | ||
| 19735 | cat confdefs.h >>conftest.$ac_ext | ||
| 19736 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19737 | /* end confdefs.h. */ | ||
| 19738 | $ac_includes_default | ||
| 19739 | #include <sys/cpustats.h> | ||
| 19740 | _ACEOF | ||
| 19741 | rm -f conftest.$ac_objext | ||
| 19742 | if { (ac_try="$ac_compile" | ||
| 19743 | case "(($ac_try" in | ||
| 19744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19745 | *) ac_try_echo=$ac_try;; | ||
| 19746 | esac | ||
| 19747 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19748 | $as_echo "$ac_try_echo") >&5 | ||
| 19749 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19750 | ac_status=$? | ||
| 19751 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19752 | rm -f conftest.er1 | ||
| 19753 | cat conftest.err >&5 | ||
| 19754 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19755 | (exit $ac_status); } && { | ||
| 19756 | test -z "$ac_c_werror_flag" || | ||
| 19757 | test ! -s conftest.err | ||
| 19758 | } && test -s conftest.$ac_objext; then | ||
| 19759 | ac_header_compiler=yes | ||
| 19760 | else | ||
| 19761 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19762 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19763 | |||
| 19764 | ac_header_compiler=no | ||
| 19765 | fi | ||
| 19766 | |||
| 19767 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19768 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19769 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19770 | |||
| 19771 | # Is the header present? | ||
| 19772 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | ||
| 19773 | $as_echo_n "checking sys/cpustats.h presence... " >&6; } | ||
| 19774 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19775 | /* confdefs.h. */ | ||
| 19776 | _ACEOF | ||
| 19777 | cat confdefs.h >>conftest.$ac_ext | ||
| 19778 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19779 | /* end confdefs.h. */ | ||
| 19780 | #include <sys/cpustats.h> | ||
| 19781 | _ACEOF | ||
| 19782 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19783 | case "(($ac_try" in | ||
| 19784 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19785 | *) ac_try_echo=$ac_try;; | ||
| 19786 | esac | ||
| 19787 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19788 | $as_echo "$ac_try_echo") >&5 | ||
| 19789 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19790 | ac_status=$? | ||
| 19791 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19792 | rm -f conftest.er1 | ||
| 19793 | cat conftest.err >&5 | ||
| 19794 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19795 | (exit $ac_status); } >/dev/null && { | ||
| 19796 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19797 | test ! -s conftest.err | ||
| 19798 | }; then | ||
| 19799 | ac_header_preproc=yes | ||
| 19800 | else | ||
| 19801 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19802 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19803 | |||
| 19804 | ac_header_preproc=no | ||
| 19805 | fi | ||
| 19806 | |||
| 19807 | rm -f conftest.err conftest.$ac_ext | ||
| 19808 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19809 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19810 | |||
| 19811 | # So? What about this header? | ||
| 19812 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19813 | yes:no: ) | ||
| 19814 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19815 | $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19816 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19817 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19818 | ac_header_preproc=yes | ||
| 19819 | ;; | ||
| 19820 | no:yes:* ) | ||
| 19821 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | ||
| 19822 | $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19823 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19824 | $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19825 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19826 | $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19827 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19828 | $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19829 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19830 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19831 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19832 | $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19833 | |||
| 19834 | ;; | ||
| 19835 | esac | ||
| 19836 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 19837 | $as_echo_n "checking for sys/cpustats.h... " >&6; } | ||
| 19838 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19839 | $as_echo_n "(cached) " >&6 | ||
| 19840 | else | ||
| 19841 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | ||
| 19842 | fi | ||
| 19843 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19844 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19845 | |||
| 19846 | fi | ||
| 19847 | if test $ac_cv_header_sys_cpustats_h = yes; then | ||
| 19848 | ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | ||
| 19849 | #define UMAX 1 | ||
| 19850 | _ACEOF | ||
| 11581 | 19851 | ||
| 11582 | fi | 19852 | fi |
| 11583 | 19853 | ||
| @@ -11585,12 +19855,145 @@ fi | |||
| 11585 | fi | 19855 | fi |
| 11586 | 19856 | ||
| 11587 | if test $ac_have_func = no; then | 19857 | if test $ac_have_func = no; then |
| 11588 | for ac_header in mach/mach.h | 19858 | |
| 11589 | do : | 19859 | for ac_header in mach/mach.h |
| 11590 | ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 19860 | do |
| 11591 | if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 19861 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19862 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19863 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19864 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19865 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19866 | $as_echo_n "(cached) " >&6 | ||
| 19867 | fi | ||
| 19868 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19869 | $as_echo "$as_val"'` | ||
| 19870 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19871 | $as_echo "$ac_res" >&6; } | ||
| 19872 | else | ||
| 19873 | # Is the header compilable? | ||
| 19874 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19875 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19876 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19877 | /* confdefs.h. */ | ||
| 19878 | _ACEOF | ||
| 19879 | cat confdefs.h >>conftest.$ac_ext | ||
| 19880 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19881 | /* end confdefs.h. */ | ||
| 19882 | $ac_includes_default | ||
| 19883 | #include <$ac_header> | ||
| 19884 | _ACEOF | ||
| 19885 | rm -f conftest.$ac_objext | ||
| 19886 | if { (ac_try="$ac_compile" | ||
| 19887 | case "(($ac_try" in | ||
| 19888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19889 | *) ac_try_echo=$ac_try;; | ||
| 19890 | esac | ||
| 19891 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19892 | $as_echo "$ac_try_echo") >&5 | ||
| 19893 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19894 | ac_status=$? | ||
| 19895 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19896 | rm -f conftest.er1 | ||
| 19897 | cat conftest.err >&5 | ||
| 19898 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19899 | (exit $ac_status); } && { | ||
| 19900 | test -z "$ac_c_werror_flag" || | ||
| 19901 | test ! -s conftest.err | ||
| 19902 | } && test -s conftest.$ac_objext; then | ||
| 19903 | ac_header_compiler=yes | ||
| 19904 | else | ||
| 19905 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19906 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19907 | |||
| 19908 | ac_header_compiler=no | ||
| 19909 | fi | ||
| 19910 | |||
| 19911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19912 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19913 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19914 | |||
| 19915 | # Is the header present? | ||
| 19916 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19917 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19918 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19919 | /* confdefs.h. */ | ||
| 19920 | _ACEOF | ||
| 19921 | cat confdefs.h >>conftest.$ac_ext | ||
| 19922 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19923 | /* end confdefs.h. */ | ||
| 19924 | #include <$ac_header> | ||
| 19925 | _ACEOF | ||
| 19926 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19927 | case "(($ac_try" in | ||
| 19928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19929 | *) ac_try_echo=$ac_try;; | ||
| 19930 | esac | ||
| 19931 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19932 | $as_echo "$ac_try_echo") >&5 | ||
| 19933 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19934 | ac_status=$? | ||
| 19935 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19936 | rm -f conftest.er1 | ||
| 19937 | cat conftest.err >&5 | ||
| 19938 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19939 | (exit $ac_status); } >/dev/null && { | ||
| 19940 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19941 | test ! -s conftest.err | ||
| 19942 | }; then | ||
| 19943 | ac_header_preproc=yes | ||
| 19944 | else | ||
| 19945 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19946 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19947 | |||
| 19948 | ac_header_preproc=no | ||
| 19949 | fi | ||
| 19950 | |||
| 19951 | rm -f conftest.err conftest.$ac_ext | ||
| 19952 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19953 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19954 | |||
| 19955 | # So? What about this header? | ||
| 19956 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19957 | yes:no: ) | ||
| 19958 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19959 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19960 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19961 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19962 | ac_header_preproc=yes | ||
| 19963 | ;; | ||
| 19964 | no:yes:* ) | ||
| 19965 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19966 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19967 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19968 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19969 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19970 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19971 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19972 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19973 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19974 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19975 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19976 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19977 | |||
| 19978 | ;; | ||
| 19979 | esac | ||
| 19980 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19981 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19982 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19983 | $as_echo_n "(cached) " >&6 | ||
| 19984 | else | ||
| 19985 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19986 | fi | ||
| 19987 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19988 | $as_echo "$as_val"'` | ||
| 19989 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19990 | $as_echo "$ac_res" >&6; } | ||
| 19991 | |||
| 19992 | fi | ||
| 19993 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19994 | $as_echo "$as_val"'` = yes; then | ||
| 11592 | cat >>confdefs.h <<_ACEOF | 19995 | cat >>confdefs.h <<_ACEOF |
| 11593 | #define HAVE_MACH_MACH_H 1 | 19996 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11594 | _ACEOF | 19997 | _ACEOF |
| 11595 | 19998 | ||
| 11596 | fi | 19999 | fi |
| @@ -11599,23 +20002,253 @@ done | |||
| 11599 | 20002 | ||
| 11600 | fi | 20003 | fi |
| 11601 | 20004 | ||
| 20005 | |||
| 11602 | for ac_header in nlist.h | 20006 | for ac_header in nlist.h |
| 11603 | do : | 20007 | do |
| 11604 | ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 20008 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11605 | if test "x$ac_cv_header_nlist_h" = x""yes; then : | 20009 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20010 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20011 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20012 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20013 | $as_echo_n "(cached) " >&6 | ||
| 20014 | fi | ||
| 20015 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20016 | $as_echo "$as_val"'` | ||
| 20017 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20018 | $as_echo "$ac_res" >&6; } | ||
| 20019 | else | ||
| 20020 | # Is the header compilable? | ||
| 20021 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 20022 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 20023 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20024 | /* confdefs.h. */ | ||
| 20025 | _ACEOF | ||
| 20026 | cat confdefs.h >>conftest.$ac_ext | ||
| 20027 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20028 | /* end confdefs.h. */ | ||
| 20029 | $ac_includes_default | ||
| 20030 | #include <$ac_header> | ||
| 20031 | _ACEOF | ||
| 20032 | rm -f conftest.$ac_objext | ||
| 20033 | if { (ac_try="$ac_compile" | ||
| 20034 | case "(($ac_try" in | ||
| 20035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20036 | *) ac_try_echo=$ac_try;; | ||
| 20037 | esac | ||
| 20038 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20039 | $as_echo "$ac_try_echo") >&5 | ||
| 20040 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20041 | ac_status=$? | ||
| 20042 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20043 | rm -f conftest.er1 | ||
| 20044 | cat conftest.err >&5 | ||
| 20045 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20046 | (exit $ac_status); } && { | ||
| 20047 | test -z "$ac_c_werror_flag" || | ||
| 20048 | test ! -s conftest.err | ||
| 20049 | } && test -s conftest.$ac_objext; then | ||
| 20050 | ac_header_compiler=yes | ||
| 20051 | else | ||
| 20052 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20053 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20054 | |||
| 20055 | ac_header_compiler=no | ||
| 20056 | fi | ||
| 20057 | |||
| 20058 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20059 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 20060 | $as_echo "$ac_header_compiler" >&6; } | ||
| 20061 | |||
| 20062 | # Is the header present? | ||
| 20063 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 20064 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 20065 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20066 | /* confdefs.h. */ | ||
| 20067 | _ACEOF | ||
| 20068 | cat confdefs.h >>conftest.$ac_ext | ||
| 20069 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20070 | /* end confdefs.h. */ | ||
| 20071 | #include <$ac_header> | ||
| 20072 | _ACEOF | ||
| 20073 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 20074 | case "(($ac_try" in | ||
| 20075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20076 | *) ac_try_echo=$ac_try;; | ||
| 20077 | esac | ||
| 20078 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20079 | $as_echo "$ac_try_echo") >&5 | ||
| 20080 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20081 | ac_status=$? | ||
| 20082 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20083 | rm -f conftest.er1 | ||
| 20084 | cat conftest.err >&5 | ||
| 20085 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20086 | (exit $ac_status); } >/dev/null && { | ||
| 20087 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 20088 | test ! -s conftest.err | ||
| 20089 | }; then | ||
| 20090 | ac_header_preproc=yes | ||
| 20091 | else | ||
| 20092 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20093 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20094 | |||
| 20095 | ac_header_preproc=no | ||
| 20096 | fi | ||
| 20097 | |||
| 20098 | rm -f conftest.err conftest.$ac_ext | ||
| 20099 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 20100 | $as_echo "$ac_header_preproc" >&6; } | ||
| 20101 | |||
| 20102 | # So? What about this header? | ||
| 20103 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 20104 | yes:no: ) | ||
| 20105 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 20106 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 20107 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 20108 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 20109 | ac_header_preproc=yes | ||
| 20110 | ;; | ||
| 20111 | no:yes:* ) | ||
| 20112 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 20113 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 20114 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 20115 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 20116 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 20117 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 20118 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 20119 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 20120 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 20121 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 20122 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 20123 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 20124 | |||
| 20125 | ;; | ||
| 20126 | esac | ||
| 20127 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20128 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20129 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20130 | $as_echo_n "(cached) " >&6 | ||
| 20131 | else | ||
| 20132 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 20133 | fi | ||
| 20134 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20135 | $as_echo "$as_val"'` | ||
| 20136 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20137 | $as_echo "$ac_res" >&6; } | ||
| 20138 | |||
| 20139 | fi | ||
| 20140 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 20141 | $as_echo "$as_val"'` = yes; then | ||
| 11606 | cat >>confdefs.h <<_ACEOF | 20142 | cat >>confdefs.h <<_ACEOF |
| 11607 | #define HAVE_NLIST_H 1 | 20143 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11608 | _ACEOF | 20144 | _ACEOF |
| 11609 | ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 20145 | { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
| 11610 | " | 20146 | $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } |
| 11611 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 20147 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
| 20148 | $as_echo_n "(cached) " >&6 | ||
| 20149 | else | ||
| 20150 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20151 | /* confdefs.h. */ | ||
| 20152 | _ACEOF | ||
| 20153 | cat confdefs.h >>conftest.$ac_ext | ||
| 20154 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20155 | /* end confdefs.h. */ | ||
| 20156 | #include <nlist.h> | ||
| 20157 | |||
| 20158 | int | ||
| 20159 | main () | ||
| 20160 | { | ||
| 20161 | static struct nlist ac_aggr; | ||
| 20162 | if (ac_aggr.n_un.n_name) | ||
| 20163 | return 0; | ||
| 20164 | ; | ||
| 20165 | return 0; | ||
| 20166 | } | ||
| 20167 | _ACEOF | ||
| 20168 | rm -f conftest.$ac_objext | ||
| 20169 | if { (ac_try="$ac_compile" | ||
| 20170 | case "(($ac_try" in | ||
| 20171 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20172 | *) ac_try_echo=$ac_try;; | ||
| 20173 | esac | ||
| 20174 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20175 | $as_echo "$ac_try_echo") >&5 | ||
| 20176 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20177 | ac_status=$? | ||
| 20178 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20179 | rm -f conftest.er1 | ||
| 20180 | cat conftest.err >&5 | ||
| 20181 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20182 | (exit $ac_status); } && { | ||
| 20183 | test -z "$ac_c_werror_flag" || | ||
| 20184 | test ! -s conftest.err | ||
| 20185 | } && test -s conftest.$ac_objext; then | ||
| 20186 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 20187 | else | ||
| 20188 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20189 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20190 | |||
| 20191 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20192 | /* confdefs.h. */ | ||
| 20193 | _ACEOF | ||
| 20194 | cat confdefs.h >>conftest.$ac_ext | ||
| 20195 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20196 | /* end confdefs.h. */ | ||
| 20197 | #include <nlist.h> | ||
| 20198 | |||
| 20199 | int | ||
| 20200 | main () | ||
| 20201 | { | ||
| 20202 | static struct nlist ac_aggr; | ||
| 20203 | if (sizeof ac_aggr.n_un.n_name) | ||
| 20204 | return 0; | ||
| 20205 | ; | ||
| 20206 | return 0; | ||
| 20207 | } | ||
| 20208 | _ACEOF | ||
| 20209 | rm -f conftest.$ac_objext | ||
| 20210 | if { (ac_try="$ac_compile" | ||
| 20211 | case "(($ac_try" in | ||
| 20212 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20213 | *) ac_try_echo=$ac_try;; | ||
| 20214 | esac | ||
| 20215 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20216 | $as_echo "$ac_try_echo") >&5 | ||
| 20217 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20218 | ac_status=$? | ||
| 20219 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20220 | rm -f conftest.er1 | ||
| 20221 | cat conftest.err >&5 | ||
| 20222 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20223 | (exit $ac_status); } && { | ||
| 20224 | test -z "$ac_c_werror_flag" || | ||
| 20225 | test ! -s conftest.err | ||
| 20226 | } && test -s conftest.$ac_objext; then | ||
| 20227 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 20228 | else | ||
| 20229 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20231 | |||
| 20232 | ac_cv_member_struct_nlist_n_un_n_name=no | ||
| 20233 | fi | ||
| 20234 | |||
| 20235 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20236 | fi | ||
| 20237 | |||
| 20238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20239 | fi | ||
| 20240 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | ||
| 20241 | $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | ||
| 20242 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | ||
| 11612 | 20243 | ||
| 11613 | cat >>confdefs.h <<_ACEOF | 20244 | cat >>confdefs.h <<_ACEOF |
| 11614 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 20245 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
| 11615 | _ACEOF | 20246 | _ACEOF |
| 11616 | 20247 | ||
| 11617 | 20248 | ||
| 11618 | $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h | 20249 | cat >>confdefs.h <<\_ACEOF |
| 20250 | #define NLIST_NAME_UNION 1 | ||
| 20251 | _ACEOF | ||
| 11619 | 20252 | ||
| 11620 | fi | 20253 | fi |
| 11621 | 20254 | ||
| @@ -11629,12 +20262,16 @@ done | |||
| 11629 | 20262 | ||
| 11630 | 20263 | ||
| 11631 | # Some definitions of getloadavg require that the program be installed setgid. | 20264 | # Some definitions of getloadavg require that the program be installed setgid. |
| 11632 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 20265 | { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
| 11633 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 20266 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
| 11634 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 20267 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
| 11635 | $as_echo_n "(cached) " >&6 | 20268 | $as_echo_n "(cached) " >&6 |
| 11636 | else | 20269 | else |
| 11637 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20270 | cat >conftest.$ac_ext <<_ACEOF |
| 20271 | /* confdefs.h. */ | ||
| 20272 | _ACEOF | ||
| 20273 | cat confdefs.h >>conftest.$ac_ext | ||
| 20274 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11638 | /* end confdefs.h. */ | 20275 | /* end confdefs.h. */ |
| 11639 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 20276 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
| 11640 | #ifdef LDAV_PRIVILEGED | 20277 | #ifdef LDAV_PRIVILEGED |
| @@ -11642,7 +20279,7 @@ Yowza Am I SETGID yet | |||
| 11642 | #endif | 20279 | #endif |
| 11643 | _ACEOF | 20280 | _ACEOF |
| 11644 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20281 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 11645 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : | 20282 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then |
| 11646 | ac_cv_func_getloadavg_setgid=yes | 20283 | ac_cv_func_getloadavg_setgid=yes |
| 11647 | else | 20284 | else |
| 11648 | ac_cv_func_getloadavg_setgid=no | 20285 | ac_cv_func_getloadavg_setgid=no |
| @@ -11650,21 +20287,23 @@ fi | |||
| 11650 | rm -f conftest* | 20287 | rm -f conftest* |
| 11651 | 20288 | ||
| 11652 | fi | 20289 | fi |
| 11653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 | 20290 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
| 11654 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 20291 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
| 11655 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20292 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11656 | NEED_SETGID=true | 20293 | NEED_SETGID=true |
| 11657 | 20294 | ||
| 11658 | $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h | 20295 | cat >>confdefs.h <<\_ACEOF |
| 20296 | #define GETLOADAVG_PRIVILEGED 1 | ||
| 20297 | _ACEOF | ||
| 11659 | 20298 | ||
| 11660 | else | 20299 | else |
| 11661 | NEED_SETGID=false | 20300 | NEED_SETGID=false |
| 11662 | fi | 20301 | fi |
| 11663 | 20302 | ||
| 11664 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20303 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 20304 | { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
| 11666 | $as_echo_n "checking group of /dev/kmem... " >&6; } | 20305 | $as_echo_n "checking group of /dev/kmem... " >&6; } |
| 11667 | if test "${ac_cv_group_kmem+set}" = set; then : | 20306 | if test "${ac_cv_group_kmem+set}" = set; then |
| 11668 | $as_echo_n "(cached) " >&6 | 20307 | $as_echo_n "(cached) " >&6 |
| 11669 | else | 20308 | else |
| 11670 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 20309 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
| @@ -11677,7 +20316,7 @@ else | |||
| 11677 | / /s/.* //;p;'` | 20316 | / /s/.* //;p;'` |
| 11678 | 20317 | ||
| 11679 | fi | 20318 | fi |
| 11680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 | 20319 | { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
| 11681 | $as_echo "$ac_cv_group_kmem" >&6; } | 20320 | $as_echo "$ac_cv_group_kmem" >&6; } |
| 11682 | KMEM_GROUP=$ac_cv_group_kmem | 20321 | KMEM_GROUP=$ac_cv_group_kmem |
| 11683 | fi | 20322 | fi |
| @@ -11690,13 +20329,17 @@ LIBS=$ac_save_LIBS | |||
| 11690 | 20329 | ||
| 11691 | 20330 | ||
| 11692 | 20331 | ||
| 11693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 20332 | { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 11694 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 20333 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
| 11695 | if test "${ac_cv_sys_largefile_source+set}" = set; then : | 20334 | if test "${ac_cv_sys_largefile_source+set}" = set; then |
| 11696 | $as_echo_n "(cached) " >&6 | 20335 | $as_echo_n "(cached) " >&6 |
| 11697 | else | 20336 | else |
| 11698 | while :; do | 20337 | while :; do |
| 11699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20338 | cat >conftest.$ac_ext <<_ACEOF |
| 20339 | /* confdefs.h. */ | ||
| 20340 | _ACEOF | ||
| 20341 | cat confdefs.h >>conftest.$ac_ext | ||
| 20342 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11700 | /* end confdefs.h. */ | 20343 | /* end confdefs.h. */ |
| 11701 | #include <sys/types.h> /* for off_t */ | 20344 | #include <sys/types.h> /* for off_t */ |
| 11702 | #include <stdio.h> | 20345 | #include <stdio.h> |
| @@ -11709,12 +20352,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11709 | return 0; | 20352 | return 0; |
| 11710 | } | 20353 | } |
| 11711 | _ACEOF | 20354 | _ACEOF |
| 11712 | if ac_fn_c_try_link "$LINENO"; then : | 20355 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20356 | if { (ac_try="$ac_link" | ||
| 20357 | case "(($ac_try" in | ||
| 20358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20359 | *) ac_try_echo=$ac_try;; | ||
| 20360 | esac | ||
| 20361 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20362 | $as_echo "$ac_try_echo") >&5 | ||
| 20363 | (eval "$ac_link") 2>conftest.er1 | ||
| 20364 | ac_status=$? | ||
| 20365 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20366 | rm -f conftest.er1 | ||
| 20367 | cat conftest.err >&5 | ||
| 20368 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20369 | (exit $ac_status); } && { | ||
| 20370 | test -z "$ac_c_werror_flag" || | ||
| 20371 | test ! -s conftest.err | ||
| 20372 | } && test -s conftest$ac_exeext && { | ||
| 20373 | test "$cross_compiling" = yes || | ||
| 20374 | $as_test_x conftest$ac_exeext | ||
| 20375 | }; then | ||
| 11713 | ac_cv_sys_largefile_source=no; break | 20376 | ac_cv_sys_largefile_source=no; break |
| 20377 | else | ||
| 20378 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20379 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20380 | |||
| 20381 | |||
| 11714 | fi | 20382 | fi |
| 11715 | rm -f core conftest.err conftest.$ac_objext \ | 20383 | |
| 11716 | conftest$ac_exeext conftest.$ac_ext | 20384 | rm -rf conftest.dSYM |
| 11717 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20385 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 20386 | conftest$ac_exeext conftest.$ac_ext | ||
| 20387 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20388 | /* confdefs.h. */ | ||
| 20389 | _ACEOF | ||
| 20390 | cat confdefs.h >>conftest.$ac_ext | ||
| 20391 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11718 | /* end confdefs.h. */ | 20392 | /* end confdefs.h. */ |
| 11719 | #define _LARGEFILE_SOURCE 1 | 20393 | #define _LARGEFILE_SOURCE 1 |
| 11720 | #include <sys/types.h> /* for off_t */ | 20394 | #include <sys/types.h> /* for off_t */ |
| @@ -11728,16 +20402,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11728 | return 0; | 20402 | return 0; |
| 11729 | } | 20403 | } |
| 11730 | _ACEOF | 20404 | _ACEOF |
| 11731 | if ac_fn_c_try_link "$LINENO"; then : | 20405 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20406 | if { (ac_try="$ac_link" | ||
| 20407 | case "(($ac_try" in | ||
| 20408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20409 | *) ac_try_echo=$ac_try;; | ||
| 20410 | esac | ||
| 20411 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20412 | $as_echo "$ac_try_echo") >&5 | ||
| 20413 | (eval "$ac_link") 2>conftest.er1 | ||
| 20414 | ac_status=$? | ||
| 20415 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20416 | rm -f conftest.er1 | ||
| 20417 | cat conftest.err >&5 | ||
| 20418 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20419 | (exit $ac_status); } && { | ||
| 20420 | test -z "$ac_c_werror_flag" || | ||
| 20421 | test ! -s conftest.err | ||
| 20422 | } && test -s conftest$ac_exeext && { | ||
| 20423 | test "$cross_compiling" = yes || | ||
| 20424 | $as_test_x conftest$ac_exeext | ||
| 20425 | }; then | ||
| 11732 | ac_cv_sys_largefile_source=1; break | 20426 | ac_cv_sys_largefile_source=1; break |
| 20427 | else | ||
| 20428 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20429 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20430 | |||
| 20431 | |||
| 11733 | fi | 20432 | fi |
| 11734 | rm -f core conftest.err conftest.$ac_objext \ | 20433 | |
| 11735 | conftest$ac_exeext conftest.$ac_ext | 20434 | rm -rf conftest.dSYM |
| 20435 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20436 | conftest$ac_exeext conftest.$ac_ext | ||
| 11736 | ac_cv_sys_largefile_source=unknown | 20437 | ac_cv_sys_largefile_source=unknown |
| 11737 | break | 20438 | break |
| 11738 | done | 20439 | done |
| 11739 | fi | 20440 | fi |
| 11740 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 | 20441 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
| 11741 | $as_echo "$ac_cv_sys_largefile_source" >&6; } | 20442 | $as_echo "$ac_cv_sys_largefile_source" >&6; } |
| 11742 | case $ac_cv_sys_largefile_source in #( | 20443 | case $ac_cv_sys_largefile_source in #( |
| 11743 | no | unknown) ;; | 20444 | no | unknown) ;; |
| @@ -11754,7 +20455,9 @@ rm -rf conftest* | |||
| 11754 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 20455 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
| 11755 | if test $ac_cv_sys_largefile_source != unknown; then | 20456 | if test $ac_cv_sys_largefile_source != unknown; then |
| 11756 | 20457 | ||
| 11757 | $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h | 20458 | cat >>confdefs.h <<\_ACEOF |
| 20459 | #define HAVE_FSEEKO 1 | ||
| 20460 | _ACEOF | ||
| 11758 | 20461 | ||
| 11759 | fi | 20462 | fi |
| 11760 | 20463 | ||
| @@ -11782,12 +20485,145 @@ fi | |||
| 11782 | 20485 | ||
| 11783 | 20486 | ||
| 11784 | GETOPT_H= | 20487 | GETOPT_H= |
| 11785 | for ac_header in getopt.h | 20488 | |
| 11786 | do : | 20489 | for ac_header in getopt.h |
| 11787 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 20490 | do |
| 11788 | if test "x$ac_cv_header_getopt_h" = x""yes; then : | 20491 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20492 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20493 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20494 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20495 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20496 | $as_echo_n "(cached) " >&6 | ||
| 20497 | fi | ||
| 20498 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20499 | $as_echo "$as_val"'` | ||
| 20500 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20501 | $as_echo "$ac_res" >&6; } | ||
| 20502 | else | ||
| 20503 | # Is the header compilable? | ||
| 20504 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 20505 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 20506 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20507 | /* confdefs.h. */ | ||
| 20508 | _ACEOF | ||
| 20509 | cat confdefs.h >>conftest.$ac_ext | ||
| 20510 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20511 | /* end confdefs.h. */ | ||
| 20512 | $ac_includes_default | ||
| 20513 | #include <$ac_header> | ||
| 20514 | _ACEOF | ||
| 20515 | rm -f conftest.$ac_objext | ||
| 20516 | if { (ac_try="$ac_compile" | ||
| 20517 | case "(($ac_try" in | ||
| 20518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20519 | *) ac_try_echo=$ac_try;; | ||
| 20520 | esac | ||
| 20521 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20522 | $as_echo "$ac_try_echo") >&5 | ||
| 20523 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20524 | ac_status=$? | ||
| 20525 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20526 | rm -f conftest.er1 | ||
| 20527 | cat conftest.err >&5 | ||
| 20528 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20529 | (exit $ac_status); } && { | ||
| 20530 | test -z "$ac_c_werror_flag" || | ||
| 20531 | test ! -s conftest.err | ||
| 20532 | } && test -s conftest.$ac_objext; then | ||
| 20533 | ac_header_compiler=yes | ||
| 20534 | else | ||
| 20535 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20536 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20537 | |||
| 20538 | ac_header_compiler=no | ||
| 20539 | fi | ||
| 20540 | |||
| 20541 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20542 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 20543 | $as_echo "$ac_header_compiler" >&6; } | ||
| 20544 | |||
| 20545 | # Is the header present? | ||
| 20546 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 20547 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 20548 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20549 | /* confdefs.h. */ | ||
| 20550 | _ACEOF | ||
| 20551 | cat confdefs.h >>conftest.$ac_ext | ||
| 20552 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20553 | /* end confdefs.h. */ | ||
| 20554 | #include <$ac_header> | ||
| 20555 | _ACEOF | ||
| 20556 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 20557 | case "(($ac_try" in | ||
| 20558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20559 | *) ac_try_echo=$ac_try;; | ||
| 20560 | esac | ||
| 20561 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20562 | $as_echo "$ac_try_echo") >&5 | ||
| 20563 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20564 | ac_status=$? | ||
| 20565 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20566 | rm -f conftest.er1 | ||
| 20567 | cat conftest.err >&5 | ||
| 20568 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20569 | (exit $ac_status); } >/dev/null && { | ||
| 20570 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 20571 | test ! -s conftest.err | ||
| 20572 | }; then | ||
| 20573 | ac_header_preproc=yes | ||
| 20574 | else | ||
| 20575 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20576 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20577 | |||
| 20578 | ac_header_preproc=no | ||
| 20579 | fi | ||
| 20580 | |||
| 20581 | rm -f conftest.err conftest.$ac_ext | ||
| 20582 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 20583 | $as_echo "$ac_header_preproc" >&6; } | ||
| 20584 | |||
| 20585 | # So? What about this header? | ||
| 20586 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 20587 | yes:no: ) | ||
| 20588 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 20589 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 20590 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 20591 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 20592 | ac_header_preproc=yes | ||
| 20593 | ;; | ||
| 20594 | no:yes:* ) | ||
| 20595 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 20596 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 20597 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 20598 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 20599 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 20600 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 20601 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 20602 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 20603 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 20604 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 20605 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 20606 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 20607 | |||
| 20608 | ;; | ||
| 20609 | esac | ||
| 20610 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20611 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20612 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20613 | $as_echo_n "(cached) " >&6 | ||
| 20614 | else | ||
| 20615 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 20616 | fi | ||
| 20617 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20618 | $as_echo "$as_val"'` | ||
| 20619 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20620 | $as_echo "$ac_res" >&6; } | ||
| 20621 | |||
| 20622 | fi | ||
| 20623 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 20624 | $as_echo "$as_val"'` = yes; then | ||
| 11789 | cat >>confdefs.h <<_ACEOF | 20625 | cat >>confdefs.h <<_ACEOF |
| 11790 | #define HAVE_GETOPT_H 1 | 20626 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11791 | _ACEOF | 20627 | _ACEOF |
| 11792 | 20628 | ||
| 11793 | else | 20629 | else |
| @@ -11797,12 +20633,101 @@ fi | |||
| 11797 | done | 20633 | done |
| 11798 | 20634 | ||
| 11799 | if test -z "$GETOPT_H"; then | 20635 | if test -z "$GETOPT_H"; then |
| 11800 | for ac_func in getopt_long_only | 20636 | |
| 11801 | do : | 20637 | for ac_func in getopt_long_only |
| 11802 | ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 20638 | do |
| 11803 | if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 20639 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 20640 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 20641 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20642 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20643 | $as_echo_n "(cached) " >&6 | ||
| 20644 | else | ||
| 20645 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20646 | /* confdefs.h. */ | ||
| 20647 | _ACEOF | ||
| 20648 | cat confdefs.h >>conftest.$ac_ext | ||
| 20649 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20650 | /* end confdefs.h. */ | ||
| 20651 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20652 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20653 | #define $ac_func innocuous_$ac_func | ||
| 20654 | |||
| 20655 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20656 | which can conflict with char $ac_func (); below. | ||
| 20657 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20658 | <limits.h> exists even on freestanding compilers. */ | ||
| 20659 | |||
| 20660 | #ifdef __STDC__ | ||
| 20661 | # include <limits.h> | ||
| 20662 | #else | ||
| 20663 | # include <assert.h> | ||
| 20664 | #endif | ||
| 20665 | |||
| 20666 | #undef $ac_func | ||
| 20667 | |||
| 20668 | /* Override any GCC internal prototype to avoid an error. | ||
| 20669 | Use char because int might match the return type of a GCC | ||
| 20670 | builtin and then its argument prototype would still apply. */ | ||
| 20671 | #ifdef __cplusplus | ||
| 20672 | extern "C" | ||
| 20673 | #endif | ||
| 20674 | char $ac_func (); | ||
| 20675 | /* The GNU C library defines this for functions which it implements | ||
| 20676 | to always fail with ENOSYS. Some functions are actually named | ||
| 20677 | something starting with __ and the normal name is an alias. */ | ||
| 20678 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20679 | choke me | ||
| 20680 | #endif | ||
| 20681 | |||
| 20682 | int | ||
| 20683 | main () | ||
| 20684 | { | ||
| 20685 | return $ac_func (); | ||
| 20686 | ; | ||
| 20687 | return 0; | ||
| 20688 | } | ||
| 20689 | _ACEOF | ||
| 20690 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20691 | if { (ac_try="$ac_link" | ||
| 20692 | case "(($ac_try" in | ||
| 20693 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20694 | *) ac_try_echo=$ac_try;; | ||
| 20695 | esac | ||
| 20696 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20697 | $as_echo "$ac_try_echo") >&5 | ||
| 20698 | (eval "$ac_link") 2>conftest.er1 | ||
| 20699 | ac_status=$? | ||
| 20700 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20701 | rm -f conftest.er1 | ||
| 20702 | cat conftest.err >&5 | ||
| 20703 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20704 | (exit $ac_status); } && { | ||
| 20705 | test -z "$ac_c_werror_flag" || | ||
| 20706 | test ! -s conftest.err | ||
| 20707 | } && test -s conftest$ac_exeext && { | ||
| 20708 | test "$cross_compiling" = yes || | ||
| 20709 | $as_test_x conftest$ac_exeext | ||
| 20710 | }; then | ||
| 20711 | eval "$as_ac_var=yes" | ||
| 20712 | else | ||
| 20713 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20715 | |||
| 20716 | eval "$as_ac_var=no" | ||
| 20717 | fi | ||
| 20718 | |||
| 20719 | rm -rf conftest.dSYM | ||
| 20720 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20721 | conftest$ac_exeext conftest.$ac_ext | ||
| 20722 | fi | ||
| 20723 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20724 | $as_echo "$as_val"'` | ||
| 20725 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20726 | $as_echo "$ac_res" >&6; } | ||
| 20727 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20728 | $as_echo "$as_val"'` = yes; then | ||
| 11804 | cat >>confdefs.h <<_ACEOF | 20729 | cat >>confdefs.h <<_ACEOF |
| 11805 | #define HAVE_GETOPT_LONG_ONLY 1 | 20730 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11806 | _ACEOF | 20731 | _ACEOF |
| 11807 | 20732 | ||
| 11808 | else | 20733 | else |
| @@ -11813,31 +20738,139 @@ done | |||
| 11813 | fi | 20738 | fi |
| 11814 | 20739 | ||
| 11815 | if test -z "$GETOPT_H"; then | 20740 | if test -z "$GETOPT_H"; then |
| 11816 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 20741 | { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
| 11817 | " | 20742 | $as_echo_n "checking whether optreset is declared... " >&6; } |
| 11818 | if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 20743 | if test "${ac_cv_have_decl_optreset+set}" = set; then |
| 20744 | $as_echo_n "(cached) " >&6 | ||
| 20745 | else | ||
| 20746 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20747 | /* confdefs.h. */ | ||
| 20748 | _ACEOF | ||
| 20749 | cat confdefs.h >>conftest.$ac_ext | ||
| 20750 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20751 | /* end confdefs.h. */ | ||
| 20752 | #include <getopt.h> | ||
| 20753 | |||
| 20754 | int | ||
| 20755 | main () | ||
| 20756 | { | ||
| 20757 | #ifndef optreset | ||
| 20758 | (void) optreset; | ||
| 20759 | #endif | ||
| 20760 | |||
| 20761 | ; | ||
| 20762 | return 0; | ||
| 20763 | } | ||
| 20764 | _ACEOF | ||
| 20765 | rm -f conftest.$ac_objext | ||
| 20766 | if { (ac_try="$ac_compile" | ||
| 20767 | case "(($ac_try" in | ||
| 20768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20769 | *) ac_try_echo=$ac_try;; | ||
| 20770 | esac | ||
| 20771 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20772 | $as_echo "$ac_try_echo") >&5 | ||
| 20773 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20774 | ac_status=$? | ||
| 20775 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20776 | rm -f conftest.er1 | ||
| 20777 | cat conftest.err >&5 | ||
| 20778 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20779 | (exit $ac_status); } && { | ||
| 20780 | test -z "$ac_c_werror_flag" || | ||
| 20781 | test ! -s conftest.err | ||
| 20782 | } && test -s conftest.$ac_objext; then | ||
| 20783 | ac_cv_have_decl_optreset=yes | ||
| 20784 | else | ||
| 20785 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20786 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20787 | |||
| 20788 | ac_cv_have_decl_optreset=no | ||
| 20789 | fi | ||
| 20790 | |||
| 20791 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20792 | fi | ||
| 20793 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | ||
| 20794 | $as_echo "$ac_cv_have_decl_optreset" >&6; } | ||
| 20795 | if test $ac_cv_have_decl_optreset = yes; then | ||
| 11819 | GETOPT_H=getopt.h | 20796 | GETOPT_H=getopt.h |
| 11820 | fi | 20797 | fi |
| 11821 | 20798 | ||
| 11822 | fi | 20799 | fi |
| 11823 | 20800 | ||
| 11824 | if test -z "$GETOPT_H"; then | 20801 | if test -z "$GETOPT_H"; then |
| 11825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 20802 | { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
| 11826 | $as_echo_n "checking for working GNU getopt function... " >&6; } | 20803 | $as_echo_n "checking for working GNU getopt function... " >&6; } |
| 11827 | if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 20804 | if test "${gl_cv_func_gnu_getopt+set}" = set; then |
| 11828 | $as_echo_n "(cached) " >&6 | 20805 | $as_echo_n "(cached) " >&6 |
| 11829 | else | 20806 | else |
| 11830 | if test "$cross_compiling" = yes; then : | 20807 | if test "$cross_compiling" = yes; then |
| 11831 | ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 20808 | { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
| 11832 | " | 20809 | $as_echo_n "checking whether getopt_clip is declared... " >&6; } |
| 11833 | if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 20810 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
| 20811 | $as_echo_n "(cached) " >&6 | ||
| 20812 | else | ||
| 20813 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20814 | /* confdefs.h. */ | ||
| 20815 | _ACEOF | ||
| 20816 | cat confdefs.h >>conftest.$ac_ext | ||
| 20817 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20818 | /* end confdefs.h. */ | ||
| 20819 | #include <getopt.h> | ||
| 20820 | |||
| 20821 | int | ||
| 20822 | main () | ||
| 20823 | { | ||
| 20824 | #ifndef getopt_clip | ||
| 20825 | (void) getopt_clip; | ||
| 20826 | #endif | ||
| 20827 | |||
| 20828 | ; | ||
| 20829 | return 0; | ||
| 20830 | } | ||
| 20831 | _ACEOF | ||
| 20832 | rm -f conftest.$ac_objext | ||
| 20833 | if { (ac_try="$ac_compile" | ||
| 20834 | case "(($ac_try" in | ||
| 20835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20836 | *) ac_try_echo=$ac_try;; | ||
| 20837 | esac | ||
| 20838 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20839 | $as_echo "$ac_try_echo") >&5 | ||
| 20840 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20841 | ac_status=$? | ||
| 20842 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20843 | rm -f conftest.er1 | ||
| 20844 | cat conftest.err >&5 | ||
| 20845 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20846 | (exit $ac_status); } && { | ||
| 20847 | test -z "$ac_c_werror_flag" || | ||
| 20848 | test ! -s conftest.err | ||
| 20849 | } && test -s conftest.$ac_objext; then | ||
| 20850 | ac_cv_have_decl_getopt_clip=yes | ||
| 20851 | else | ||
| 20852 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20853 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20854 | |||
| 20855 | ac_cv_have_decl_getopt_clip=no | ||
| 20856 | fi | ||
| 20857 | |||
| 20858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20859 | fi | ||
| 20860 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | ||
| 20861 | $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | ||
| 20862 | if test $ac_cv_have_decl_getopt_clip = yes; then | ||
| 11834 | gl_cv_func_gnu_getopt=no | 20863 | gl_cv_func_gnu_getopt=no |
| 11835 | else | 20864 | else |
| 11836 | gl_cv_func_gnu_getopt=yes | 20865 | gl_cv_func_gnu_getopt=yes |
| 11837 | fi | 20866 | fi |
| 11838 | 20867 | ||
| 11839 | else | 20868 | else |
| 11840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20869 | cat >conftest.$ac_ext <<_ACEOF |
| 20870 | /* confdefs.h. */ | ||
| 20871 | _ACEOF | ||
| 20872 | cat confdefs.h >>conftest.$ac_ext | ||
| 20873 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11841 | /* end confdefs.h. */ | 20874 | /* end confdefs.h. */ |
| 11842 | #include <getopt.h> | 20875 | #include <getopt.h> |
| 11843 | int | 20876 | int |
| @@ -11854,17 +20887,44 @@ main () | |||
| 11854 | return 0; | 20887 | return 0; |
| 11855 | } | 20888 | } |
| 11856 | _ACEOF | 20889 | _ACEOF |
| 11857 | if ac_fn_c_try_run "$LINENO"; then : | 20890 | rm -f conftest$ac_exeext |
| 20891 | if { (ac_try="$ac_link" | ||
| 20892 | case "(($ac_try" in | ||
| 20893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20894 | *) ac_try_echo=$ac_try;; | ||
| 20895 | esac | ||
| 20896 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20897 | $as_echo "$ac_try_echo") >&5 | ||
| 20898 | (eval "$ac_link") 2>&5 | ||
| 20899 | ac_status=$? | ||
| 20900 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20901 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 20902 | { (case "(($ac_try" in | ||
| 20903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20904 | *) ac_try_echo=$ac_try;; | ||
| 20905 | esac | ||
| 20906 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20907 | $as_echo "$ac_try_echo") >&5 | ||
| 20908 | (eval "$ac_try") 2>&5 | ||
| 20909 | ac_status=$? | ||
| 20910 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20911 | (exit $ac_status); }; }; then | ||
| 11858 | gl_cv_func_gnu_getopt=yes | 20912 | gl_cv_func_gnu_getopt=yes |
| 11859 | else | 20913 | else |
| 11860 | gl_cv_func_gnu_getopt=no | 20914 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 20915 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20916 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20917 | |||
| 20918 | ( exit $ac_status ) | ||
| 20919 | gl_cv_func_gnu_getopt=no | ||
| 11861 | fi | 20920 | fi |
| 11862 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20921 | rm -rf conftest.dSYM |
| 11863 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 20922 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11864 | fi | 20923 | fi |
| 11865 | 20924 | ||
| 20925 | |||
| 11866 | fi | 20926 | fi |
| 11867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 | 20927 | { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 |
| 11868 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 20928 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
| 11869 | if test "$gl_cv_func_gnu_getopt" = "no"; then | 20929 | if test "$gl_cv_func_gnu_getopt" = "no"; then |
| 11870 | GETOPT_H=getopt.h | 20930 | GETOPT_H=getopt.h |
| @@ -11873,12 +20933,14 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; } | |||
| 11873 | 20933 | ||
| 11874 | 20934 | ||
| 11875 | 20935 | ||
| 11876 | if test -n "$GETOPT_H"; then : | 20936 | if test -n "$GETOPT_H"; then |
| 11877 | 20937 | ||
| 11878 | 20938 | ||
| 11879 | GETOPT_H=getopt.h | 20939 | GETOPT_H=getopt.h |
| 11880 | 20940 | ||
| 11881 | $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h | 20941 | cat >>confdefs.h <<\_ACEOF |
| 20942 | #define __GETOPT_PREFIX rpl_ | ||
| 20943 | _ACEOF | ||
| 11882 | 20944 | ||
| 11883 | 20945 | ||
| 11884 | 20946 | ||
| @@ -11889,13 +20951,18 @@ fi | |||
| 11889 | 20951 | ||
| 11890 | 20952 | ||
| 11891 | 20953 | ||
| 11892 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 20954 | |
| 20955 | { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
| 11893 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 20956 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
| 11894 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 20957 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
| 11895 | $as_echo_n "(cached) " >&6 | 20958 | $as_echo_n "(cached) " >&6 |
| 11896 | else | 20959 | else |
| 11897 | # Use it with a single arg. | 20960 | # Use it with a single arg. |
| 11898 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20961 | cat >conftest.$ac_ext <<_ACEOF |
| 20962 | /* confdefs.h. */ | ||
| 20963 | _ACEOF | ||
| 20964 | cat confdefs.h >>conftest.$ac_ext | ||
| 20965 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11899 | /* end confdefs.h. */ | 20966 | /* end confdefs.h. */ |
| 11900 | $ac_includes_default | 20967 | $ac_includes_default |
| 11901 | int | 20968 | int |
| @@ -11906,41 +20973,157 @@ getpgrp (0); | |||
| 11906 | return 0; | 20973 | return 0; |
| 11907 | } | 20974 | } |
| 11908 | _ACEOF | 20975 | _ACEOF |
| 11909 | if ac_fn_c_try_compile "$LINENO"; then : | 20976 | rm -f conftest.$ac_objext |
| 20977 | if { (ac_try="$ac_compile" | ||
| 20978 | case "(($ac_try" in | ||
| 20979 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20980 | *) ac_try_echo=$ac_try;; | ||
| 20981 | esac | ||
| 20982 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20983 | $as_echo "$ac_try_echo") >&5 | ||
| 20984 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20985 | ac_status=$? | ||
| 20986 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20987 | rm -f conftest.er1 | ||
| 20988 | cat conftest.err >&5 | ||
| 20989 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20990 | (exit $ac_status); } && { | ||
| 20991 | test -z "$ac_c_werror_flag" || | ||
| 20992 | test ! -s conftest.err | ||
| 20993 | } && test -s conftest.$ac_objext; then | ||
| 11910 | ac_cv_func_getpgrp_void=no | 20994 | ac_cv_func_getpgrp_void=no |
| 11911 | else | 20995 | else |
| 11912 | ac_cv_func_getpgrp_void=yes | 20996 | $as_echo "$as_me: failed program was:" >&5 |
| 20997 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20998 | |||
| 20999 | ac_cv_func_getpgrp_void=yes | ||
| 11913 | fi | 21000 | fi |
| 21001 | |||
| 11914 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21002 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11915 | 21003 | ||
| 11916 | fi | 21004 | fi |
| 11917 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 21005 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
| 11918 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 21006 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
| 11919 | if test $ac_cv_func_getpgrp_void = yes; then | 21007 | if test $ac_cv_func_getpgrp_void = yes; then |
| 11920 | 21008 | ||
| 11921 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 21009 | cat >>confdefs.h <<\_ACEOF |
| 21010 | #define GETPGRP_VOID 1 | ||
| 21011 | _ACEOF | ||
| 11922 | 21012 | ||
| 11923 | fi | 21013 | fi |
| 11924 | 21014 | ||
| 11925 | 21015 | ||
| 21016 | |||
| 11926 | for ac_func in strftime | 21017 | for ac_func in strftime |
| 11927 | do : | 21018 | do |
| 11928 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 21019 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11929 | if test "x$ac_cv_func_strftime" = x""yes; then : | 21020 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21021 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 21022 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 21023 | $as_echo_n "(cached) " >&6 | ||
| 21024 | else | ||
| 21025 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21026 | /* confdefs.h. */ | ||
| 21027 | _ACEOF | ||
| 21028 | cat confdefs.h >>conftest.$ac_ext | ||
| 21029 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21030 | /* end confdefs.h. */ | ||
| 21031 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 21032 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21033 | #define $ac_func innocuous_$ac_func | ||
| 21034 | |||
| 21035 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21036 | which can conflict with char $ac_func (); below. | ||
| 21037 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21038 | <limits.h> exists even on freestanding compilers. */ | ||
| 21039 | |||
| 21040 | #ifdef __STDC__ | ||
| 21041 | # include <limits.h> | ||
| 21042 | #else | ||
| 21043 | # include <assert.h> | ||
| 21044 | #endif | ||
| 21045 | |||
| 21046 | #undef $ac_func | ||
| 21047 | |||
| 21048 | /* Override any GCC internal prototype to avoid an error. | ||
| 21049 | Use char because int might match the return type of a GCC | ||
| 21050 | builtin and then its argument prototype would still apply. */ | ||
| 21051 | #ifdef __cplusplus | ||
| 21052 | extern "C" | ||
| 21053 | #endif | ||
| 21054 | char $ac_func (); | ||
| 21055 | /* The GNU C library defines this for functions which it implements | ||
| 21056 | to always fail with ENOSYS. Some functions are actually named | ||
| 21057 | something starting with __ and the normal name is an alias. */ | ||
| 21058 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21059 | choke me | ||
| 21060 | #endif | ||
| 21061 | |||
| 21062 | int | ||
| 21063 | main () | ||
| 21064 | { | ||
| 21065 | return $ac_func (); | ||
| 21066 | ; | ||
| 21067 | return 0; | ||
| 21068 | } | ||
| 21069 | _ACEOF | ||
| 21070 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21071 | if { (ac_try="$ac_link" | ||
| 21072 | case "(($ac_try" in | ||
| 21073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21074 | *) ac_try_echo=$ac_try;; | ||
| 21075 | esac | ||
| 21076 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21077 | $as_echo "$ac_try_echo") >&5 | ||
| 21078 | (eval "$ac_link") 2>conftest.er1 | ||
| 21079 | ac_status=$? | ||
| 21080 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21081 | rm -f conftest.er1 | ||
| 21082 | cat conftest.err >&5 | ||
| 21083 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21084 | (exit $ac_status); } && { | ||
| 21085 | test -z "$ac_c_werror_flag" || | ||
| 21086 | test ! -s conftest.err | ||
| 21087 | } && test -s conftest$ac_exeext && { | ||
| 21088 | test "$cross_compiling" = yes || | ||
| 21089 | $as_test_x conftest$ac_exeext | ||
| 21090 | }; then | ||
| 21091 | eval "$as_ac_var=yes" | ||
| 21092 | else | ||
| 21093 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21094 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21095 | |||
| 21096 | eval "$as_ac_var=no" | ||
| 21097 | fi | ||
| 21098 | |||
| 21099 | rm -rf conftest.dSYM | ||
| 21100 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21101 | conftest$ac_exeext conftest.$ac_ext | ||
| 21102 | fi | ||
| 21103 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21104 | $as_echo "$as_val"'` | ||
| 21105 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21106 | $as_echo "$ac_res" >&6; } | ||
| 21107 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21108 | $as_echo "$as_val"'` = yes; then | ||
| 11930 | cat >>confdefs.h <<_ACEOF | 21109 | cat >>confdefs.h <<_ACEOF |
| 11931 | #define HAVE_STRFTIME 1 | 21110 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11932 | _ACEOF | 21111 | _ACEOF |
| 11933 | 21112 | ||
| 11934 | else | 21113 | else |
| 11935 | # strftime is in -lintl on SCO UNIX. | 21114 | # strftime is in -lintl on SCO UNIX. |
| 11936 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 21115 | { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 11937 | $as_echo_n "checking for strftime in -lintl... " >&6; } | 21116 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
| 11938 | if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 21117 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
| 11939 | $as_echo_n "(cached) " >&6 | 21118 | $as_echo_n "(cached) " >&6 |
| 11940 | else | 21119 | else |
| 11941 | ac_check_lib_save_LIBS=$LIBS | 21120 | ac_check_lib_save_LIBS=$LIBS |
| 11942 | LIBS="-lintl $LIBS" | 21121 | LIBS="-lintl $LIBS" |
| 11943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21122 | cat >conftest.$ac_ext <<_ACEOF |
| 21123 | /* confdefs.h. */ | ||
| 21124 | _ACEOF | ||
| 21125 | cat confdefs.h >>conftest.$ac_ext | ||
| 21126 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11944 | /* end confdefs.h. */ | 21127 | /* end confdefs.h. */ |
| 11945 | 21128 | ||
| 11946 | /* Override any GCC internal prototype to avoid an error. | 21129 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11958,19 +21141,46 @@ return strftime (); | |||
| 11958 | return 0; | 21141 | return 0; |
| 11959 | } | 21142 | } |
| 11960 | _ACEOF | 21143 | _ACEOF |
| 11961 | if ac_fn_c_try_link "$LINENO"; then : | 21144 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21145 | if { (ac_try="$ac_link" | ||
| 21146 | case "(($ac_try" in | ||
| 21147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21148 | *) ac_try_echo=$ac_try;; | ||
| 21149 | esac | ||
| 21150 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21151 | $as_echo "$ac_try_echo") >&5 | ||
| 21152 | (eval "$ac_link") 2>conftest.er1 | ||
| 21153 | ac_status=$? | ||
| 21154 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21155 | rm -f conftest.er1 | ||
| 21156 | cat conftest.err >&5 | ||
| 21157 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21158 | (exit $ac_status); } && { | ||
| 21159 | test -z "$ac_c_werror_flag" || | ||
| 21160 | test ! -s conftest.err | ||
| 21161 | } && test -s conftest$ac_exeext && { | ||
| 21162 | test "$cross_compiling" = yes || | ||
| 21163 | $as_test_x conftest$ac_exeext | ||
| 21164 | }; then | ||
| 11962 | ac_cv_lib_intl_strftime=yes | 21165 | ac_cv_lib_intl_strftime=yes |
| 11963 | else | 21166 | else |
| 11964 | ac_cv_lib_intl_strftime=no | 21167 | $as_echo "$as_me: failed program was:" >&5 |
| 21168 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21169 | |||
| 21170 | ac_cv_lib_intl_strftime=no | ||
| 11965 | fi | 21171 | fi |
| 11966 | rm -f core conftest.err conftest.$ac_objext \ | 21172 | |
| 11967 | conftest$ac_exeext conftest.$ac_ext | 21173 | rm -rf conftest.dSYM |
| 21174 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21175 | conftest$ac_exeext conftest.$ac_ext | ||
| 11968 | LIBS=$ac_check_lib_save_LIBS | 21176 | LIBS=$ac_check_lib_save_LIBS |
| 11969 | fi | 21177 | fi |
| 11970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 21178 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 11971 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 21179 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
| 11972 | if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 21180 | if test $ac_cv_lib_intl_strftime = yes; then |
| 11973 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 21181 | cat >>confdefs.h <<\_ACEOF |
| 21182 | #define HAVE_STRFTIME 1 | ||
| 21183 | _ACEOF | ||
| 11974 | 21184 | ||
| 11975 | LIBS="-lintl $LIBS" | 21185 | LIBS="-lintl $LIBS" |
| 11976 | fi | 21186 | fi |
| @@ -11980,12 +21190,101 @@ done | |||
| 11980 | 21190 | ||
| 11981 | 21191 | ||
| 11982 | # UNIX98 PTYs. | 21192 | # UNIX98 PTYs. |
| 21193 | |||
| 11983 | for ac_func in grantpt | 21194 | for ac_func in grantpt |
| 11984 | do : | 21195 | do |
| 11985 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 21196 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11986 | if test "x$ac_cv_func_grantpt" = x""yes; then : | 21197 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21198 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 21199 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 21200 | $as_echo_n "(cached) " >&6 | ||
| 21201 | else | ||
| 21202 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21203 | /* confdefs.h. */ | ||
| 21204 | _ACEOF | ||
| 21205 | cat confdefs.h >>conftest.$ac_ext | ||
| 21206 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21207 | /* end confdefs.h. */ | ||
| 21208 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 21209 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21210 | #define $ac_func innocuous_$ac_func | ||
| 21211 | |||
| 21212 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21213 | which can conflict with char $ac_func (); below. | ||
| 21214 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21215 | <limits.h> exists even on freestanding compilers. */ | ||
| 21216 | |||
| 21217 | #ifdef __STDC__ | ||
| 21218 | # include <limits.h> | ||
| 21219 | #else | ||
| 21220 | # include <assert.h> | ||
| 21221 | #endif | ||
| 21222 | |||
| 21223 | #undef $ac_func | ||
| 21224 | |||
| 21225 | /* Override any GCC internal prototype to avoid an error. | ||
| 21226 | Use char because int might match the return type of a GCC | ||
| 21227 | builtin and then its argument prototype would still apply. */ | ||
| 21228 | #ifdef __cplusplus | ||
| 21229 | extern "C" | ||
| 21230 | #endif | ||
| 21231 | char $ac_func (); | ||
| 21232 | /* The GNU C library defines this for functions which it implements | ||
| 21233 | to always fail with ENOSYS. Some functions are actually named | ||
| 21234 | something starting with __ and the normal name is an alias. */ | ||
| 21235 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21236 | choke me | ||
| 21237 | #endif | ||
| 21238 | |||
| 21239 | int | ||
| 21240 | main () | ||
| 21241 | { | ||
| 21242 | return $ac_func (); | ||
| 21243 | ; | ||
| 21244 | return 0; | ||
| 21245 | } | ||
| 21246 | _ACEOF | ||
| 21247 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21248 | if { (ac_try="$ac_link" | ||
| 21249 | case "(($ac_try" in | ||
| 21250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21251 | *) ac_try_echo=$ac_try;; | ||
| 21252 | esac | ||
| 21253 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21254 | $as_echo "$ac_try_echo") >&5 | ||
| 21255 | (eval "$ac_link") 2>conftest.er1 | ||
| 21256 | ac_status=$? | ||
| 21257 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21258 | rm -f conftest.er1 | ||
| 21259 | cat conftest.err >&5 | ||
| 21260 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21261 | (exit $ac_status); } && { | ||
| 21262 | test -z "$ac_c_werror_flag" || | ||
| 21263 | test ! -s conftest.err | ||
| 21264 | } && test -s conftest$ac_exeext && { | ||
| 21265 | test "$cross_compiling" = yes || | ||
| 21266 | $as_test_x conftest$ac_exeext | ||
| 21267 | }; then | ||
| 21268 | eval "$as_ac_var=yes" | ||
| 21269 | else | ||
| 21270 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21271 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21272 | |||
| 21273 | eval "$as_ac_var=no" | ||
| 21274 | fi | ||
| 21275 | |||
| 21276 | rm -rf conftest.dSYM | ||
| 21277 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21278 | conftest$ac_exeext conftest.$ac_ext | ||
| 21279 | fi | ||
| 21280 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21281 | $as_echo "$as_val"'` | ||
| 21282 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21283 | $as_echo "$ac_res" >&6; } | ||
| 21284 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21285 | $as_echo "$as_val"'` = yes; then | ||
| 11987 | cat >>confdefs.h <<_ACEOF | 21286 | cat >>confdefs.h <<_ACEOF |
| 11988 | #define HAVE_GRANTPT 1 | 21287 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11989 | _ACEOF | 21288 | _ACEOF |
| 11990 | 21289 | ||
| 11991 | fi | 21290 | fi |
| @@ -11993,12 +21292,101 @@ done | |||
| 11993 | 21292 | ||
| 11994 | 21293 | ||
| 11995 | # PTY-related GNU extensions. | 21294 | # PTY-related GNU extensions. |
| 21295 | |||
| 11996 | for ac_func in getpt | 21296 | for ac_func in getpt |
| 11997 | do : | 21297 | do |
| 11998 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 21298 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11999 | if test "x$ac_cv_func_getpt" = x""yes; then : | 21299 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21300 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 21301 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 21302 | $as_echo_n "(cached) " >&6 | ||
| 21303 | else | ||
| 21304 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21305 | /* confdefs.h. */ | ||
| 21306 | _ACEOF | ||
| 21307 | cat confdefs.h >>conftest.$ac_ext | ||
| 21308 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21309 | /* end confdefs.h. */ | ||
| 21310 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 21311 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21312 | #define $ac_func innocuous_$ac_func | ||
| 21313 | |||
| 21314 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21315 | which can conflict with char $ac_func (); below. | ||
| 21316 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21317 | <limits.h> exists even on freestanding compilers. */ | ||
| 21318 | |||
| 21319 | #ifdef __STDC__ | ||
| 21320 | # include <limits.h> | ||
| 21321 | #else | ||
| 21322 | # include <assert.h> | ||
| 21323 | #endif | ||
| 21324 | |||
| 21325 | #undef $ac_func | ||
| 21326 | |||
| 21327 | /* Override any GCC internal prototype to avoid an error. | ||
| 21328 | Use char because int might match the return type of a GCC | ||
| 21329 | builtin and then its argument prototype would still apply. */ | ||
| 21330 | #ifdef __cplusplus | ||
| 21331 | extern "C" | ||
| 21332 | #endif | ||
| 21333 | char $ac_func (); | ||
| 21334 | /* The GNU C library defines this for functions which it implements | ||
| 21335 | to always fail with ENOSYS. Some functions are actually named | ||
| 21336 | something starting with __ and the normal name is an alias. */ | ||
| 21337 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21338 | choke me | ||
| 21339 | #endif | ||
| 21340 | |||
| 21341 | int | ||
| 21342 | main () | ||
| 21343 | { | ||
| 21344 | return $ac_func (); | ||
| 21345 | ; | ||
| 21346 | return 0; | ||
| 21347 | } | ||
| 21348 | _ACEOF | ||
| 21349 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21350 | if { (ac_try="$ac_link" | ||
| 21351 | case "(($ac_try" in | ||
| 21352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21353 | *) ac_try_echo=$ac_try;; | ||
| 21354 | esac | ||
| 21355 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21356 | $as_echo "$ac_try_echo") >&5 | ||
| 21357 | (eval "$ac_link") 2>conftest.er1 | ||
| 21358 | ac_status=$? | ||
| 21359 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21360 | rm -f conftest.er1 | ||
| 21361 | cat conftest.err >&5 | ||
| 21362 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21363 | (exit $ac_status); } && { | ||
| 21364 | test -z "$ac_c_werror_flag" || | ||
| 21365 | test ! -s conftest.err | ||
| 21366 | } && test -s conftest$ac_exeext && { | ||
| 21367 | test "$cross_compiling" = yes || | ||
| 21368 | $as_test_x conftest$ac_exeext | ||
| 21369 | }; then | ||
| 21370 | eval "$as_ac_var=yes" | ||
| 21371 | else | ||
| 21372 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21373 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21374 | |||
| 21375 | eval "$as_ac_var=no" | ||
| 21376 | fi | ||
| 21377 | |||
| 21378 | rm -rf conftest.dSYM | ||
| 21379 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21380 | conftest$ac_exeext conftest.$ac_ext | ||
| 21381 | fi | ||
| 21382 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21383 | $as_echo "$as_val"'` | ||
| 21384 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21385 | $as_echo "$ac_res" >&6; } | ||
| 21386 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21387 | $as_echo "$as_val"'` = yes; then | ||
| 12000 | cat >>confdefs.h <<_ACEOF | 21388 | cat >>confdefs.h <<_ACEOF |
| 12001 | #define HAVE_GETPT 1 | 21389 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12002 | _ACEOF | 21390 | _ACEOF |
| 12003 | 21391 | ||
| 12004 | fi | 21392 | fi |
| @@ -12011,13 +21399,17 @@ done | |||
| 12011 | # than to expect to find it in ncurses. | 21399 | # than to expect to find it in ncurses. |
| 12012 | # Also we need tputs and frieds to be able to build at all. | 21400 | # Also we need tputs and frieds to be able to build at all. |
| 12013 | have_tputs_et_al=true | 21401 | have_tputs_et_al=true |
| 12014 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 21402 | { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 |
| 12015 | $as_echo_n "checking for library containing tputs... " >&6; } | 21403 | $as_echo_n "checking for library containing tputs... " >&6; } |
| 12016 | if test "${ac_cv_search_tputs+set}" = set; then : | 21404 | if test "${ac_cv_search_tputs+set}" = set; then |
| 12017 | $as_echo_n "(cached) " >&6 | 21405 | $as_echo_n "(cached) " >&6 |
| 12018 | else | 21406 | else |
| 12019 | ac_func_search_save_LIBS=$LIBS | 21407 | ac_func_search_save_LIBS=$LIBS |
| 12020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21408 | cat >conftest.$ac_ext <<_ACEOF |
| 21409 | /* confdefs.h. */ | ||
| 21410 | _ACEOF | ||
| 21411 | cat confdefs.h >>conftest.$ac_ext | ||
| 21412 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12021 | /* end confdefs.h. */ | 21413 | /* end confdefs.h. */ |
| 12022 | 21414 | ||
| 12023 | /* Override any GCC internal prototype to avoid an error. | 21415 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12042,27 +21434,54 @@ for ac_lib in '' ncurses terminfo termcap; do | |||
| 12042 | ac_res=-l$ac_lib | 21434 | ac_res=-l$ac_lib |
| 12043 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21435 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 12044 | fi | 21436 | fi |
| 12045 | if ac_fn_c_try_link "$LINENO"; then : | 21437 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21438 | if { (ac_try="$ac_link" | ||
| 21439 | case "(($ac_try" in | ||
| 21440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21441 | *) ac_try_echo=$ac_try;; | ||
| 21442 | esac | ||
| 21443 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21444 | $as_echo "$ac_try_echo") >&5 | ||
| 21445 | (eval "$ac_link") 2>conftest.er1 | ||
| 21446 | ac_status=$? | ||
| 21447 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21448 | rm -f conftest.er1 | ||
| 21449 | cat conftest.err >&5 | ||
| 21450 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21451 | (exit $ac_status); } && { | ||
| 21452 | test -z "$ac_c_werror_flag" || | ||
| 21453 | test ! -s conftest.err | ||
| 21454 | } && test -s conftest$ac_exeext && { | ||
| 21455 | test "$cross_compiling" = yes || | ||
| 21456 | $as_test_x conftest$ac_exeext | ||
| 21457 | }; then | ||
| 12046 | ac_cv_search_tputs=$ac_res | 21458 | ac_cv_search_tputs=$ac_res |
| 21459 | else | ||
| 21460 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21461 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21462 | |||
| 21463 | |||
| 12047 | fi | 21464 | fi |
| 12048 | rm -f core conftest.err conftest.$ac_objext \ | 21465 | |
| 12049 | conftest$ac_exeext | 21466 | rm -rf conftest.dSYM |
| 12050 | if test "${ac_cv_search_tputs+set}" = set; then : | 21467 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21468 | conftest$ac_exeext | ||
| 21469 | if test "${ac_cv_search_tputs+set}" = set; then | ||
| 12051 | break | 21470 | break |
| 12052 | fi | 21471 | fi |
| 12053 | done | 21472 | done |
| 12054 | if test "${ac_cv_search_tputs+set}" = set; then : | 21473 | if test "${ac_cv_search_tputs+set}" = set; then |
| 12055 | 21474 | : | |
| 12056 | else | 21475 | else |
| 12057 | ac_cv_search_tputs=no | 21476 | ac_cv_search_tputs=no |
| 12058 | fi | 21477 | fi |
| 12059 | rm conftest.$ac_ext | 21478 | rm conftest.$ac_ext |
| 12060 | LIBS=$ac_func_search_save_LIBS | 21479 | LIBS=$ac_func_search_save_LIBS |
| 12061 | fi | 21480 | fi |
| 12062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 | 21481 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 |
| 12063 | $as_echo "$ac_cv_search_tputs" >&6; } | 21482 | $as_echo "$ac_cv_search_tputs" >&6; } |
| 12064 | ac_res=$ac_cv_search_tputs | 21483 | ac_res=$ac_cv_search_tputs |
| 12065 | if test "$ac_res" != no; then : | 21484 | if test "$ac_res" != no; then |
| 12066 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21485 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 12067 | 21486 | ||
| 12068 | else | 21487 | else |
| @@ -12070,19 +21489,29 @@ else | |||
| 12070 | fi | 21489 | fi |
| 12071 | 21490 | ||
| 12072 | if test "$have_tputs_et_al" != true; then | 21491 | if test "$have_tputs_et_al" != true; then |
| 12073 | as_fn_error "I couldn't find termcap functions (tputs and friends). | 21492 | { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). |
| 12074 | Maybe some development libraries/packages are missing? Try installing | 21493 | Maybe some development libraries/packages are missing? Try installing |
| 12075 | libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 21494 | libncurses-dev(el), libterminfo-dev(el) or similar." >&5 |
| 21495 | $as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends). | ||
| 21496 | Maybe some development libraries/packages are missing? Try installing | ||
| 21497 | libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | ||
| 21498 | { (exit 1); exit 1; }; } | ||
| 12076 | fi | 21499 | fi |
| 12077 | # Must define this when any termcap library is found. | 21500 | # Must define this when any termcap library is found. |
| 12078 | 21501 | ||
| 12079 | $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h | 21502 | cat >>confdefs.h <<\_ACEOF |
| 21503 | #define HAVE_LIBNCURSES 1 | ||
| 21504 | _ACEOF | ||
| 12080 | 21505 | ||
| 12081 | 21506 | ||
| 12082 | # Do we have res_init, for detecting changes in /etc/resolv.conf? | 21507 | # Do we have res_init, for detecting changes in /etc/resolv.conf? |
| 12083 | 21508 | ||
| 12084 | resolv=no | 21509 | resolv=no |
| 12085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21510 | cat >conftest.$ac_ext <<_ACEOF |
| 21511 | /* confdefs.h. */ | ||
| 21512 | _ACEOF | ||
| 21513 | cat confdefs.h >>conftest.$ac_ext | ||
| 21514 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12086 | /* end confdefs.h. */ | 21515 | /* end confdefs.h. */ |
| 12087 | #include <netinet/in.h> | 21516 | #include <netinet/in.h> |
| 12088 | #include <arpa/nameser.h> | 21517 | #include <arpa/nameser.h> |
| @@ -12095,19 +21524,48 @@ return res_init(); | |||
| 12095 | return 0; | 21524 | return 0; |
| 12096 | } | 21525 | } |
| 12097 | _ACEOF | 21526 | _ACEOF |
| 12098 | if ac_fn_c_try_link "$LINENO"; then : | 21527 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21528 | if { (ac_try="$ac_link" | ||
| 21529 | case "(($ac_try" in | ||
| 21530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21531 | *) ac_try_echo=$ac_try;; | ||
| 21532 | esac | ||
| 21533 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21534 | $as_echo "$ac_try_echo") >&5 | ||
| 21535 | (eval "$ac_link") 2>conftest.er1 | ||
| 21536 | ac_status=$? | ||
| 21537 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21538 | rm -f conftest.er1 | ||
| 21539 | cat conftest.err >&5 | ||
| 21540 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21541 | (exit $ac_status); } && { | ||
| 21542 | test -z "$ac_c_werror_flag" || | ||
| 21543 | test ! -s conftest.err | ||
| 21544 | } && test -s conftest$ac_exeext && { | ||
| 21545 | test "$cross_compiling" = yes || | ||
| 21546 | $as_test_x conftest$ac_exeext | ||
| 21547 | }; then | ||
| 12099 | have_res_init=yes | 21548 | have_res_init=yes |
| 12100 | else | 21549 | else |
| 12101 | have_res_init=no | 21550 | $as_echo "$as_me: failed program was:" >&5 |
| 21551 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21552 | |||
| 21553 | have_res_init=no | ||
| 12102 | fi | 21554 | fi |
| 12103 | rm -f core conftest.err conftest.$ac_objext \ | 21555 | |
| 12104 | conftest$ac_exeext conftest.$ac_ext | 21556 | rm -rf conftest.dSYM |
| 21557 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21558 | conftest$ac_exeext conftest.$ac_ext | ||
| 12105 | if test "$have_res_init" = no; then | 21559 | if test "$have_res_init" = no; then |
| 12106 | OLIBS="$LIBS" | 21560 | OLIBS="$LIBS" |
| 12107 | LIBS="$LIBS -lresolv" | 21561 | LIBS="$LIBS -lresolv" |
| 12108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 | 21562 | { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 |
| 12109 | $as_echo_n "checking for res_init with -lresolv... " >&6; } | 21563 | $as_echo_n "checking for res_init with -lresolv... " >&6; } |
| 12110 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21564 | cat >conftest.$ac_ext <<_ACEOF |
| 21565 | /* confdefs.h. */ | ||
| 21566 | _ACEOF | ||
| 21567 | cat confdefs.h >>conftest.$ac_ext | ||
| 21568 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12111 | /* end confdefs.h. */ | 21569 | /* end confdefs.h. */ |
| 12112 | #include <netinet/in.h> | 21570 | #include <netinet/in.h> |
| 12113 | #include <arpa/nameser.h> | 21571 | #include <arpa/nameser.h> |
| @@ -12120,14 +21578,39 @@ return res_init(); | |||
| 12120 | return 0; | 21578 | return 0; |
| 12121 | } | 21579 | } |
| 12122 | _ACEOF | 21580 | _ACEOF |
| 12123 | if ac_fn_c_try_link "$LINENO"; then : | 21581 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21582 | if { (ac_try="$ac_link" | ||
| 21583 | case "(($ac_try" in | ||
| 21584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21585 | *) ac_try_echo=$ac_try;; | ||
| 21586 | esac | ||
| 21587 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21588 | $as_echo "$ac_try_echo") >&5 | ||
| 21589 | (eval "$ac_link") 2>conftest.er1 | ||
| 21590 | ac_status=$? | ||
| 21591 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21592 | rm -f conftest.er1 | ||
| 21593 | cat conftest.err >&5 | ||
| 21594 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21595 | (exit $ac_status); } && { | ||
| 21596 | test -z "$ac_c_werror_flag" || | ||
| 21597 | test ! -s conftest.err | ||
| 21598 | } && test -s conftest$ac_exeext && { | ||
| 21599 | test "$cross_compiling" = yes || | ||
| 21600 | $as_test_x conftest$ac_exeext | ||
| 21601 | }; then | ||
| 12124 | have_res_init=yes | 21602 | have_res_init=yes |
| 12125 | else | 21603 | else |
| 12126 | have_res_init=no | 21604 | $as_echo "$as_me: failed program was:" >&5 |
| 21605 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21606 | |||
| 21607 | have_res_init=no | ||
| 12127 | fi | 21608 | fi |
| 12128 | rm -f core conftest.err conftest.$ac_objext \ | 21609 | |
| 12129 | conftest$ac_exeext conftest.$ac_ext | 21610 | rm -rf conftest.dSYM |
| 12130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 | 21611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21612 | conftest$ac_exeext conftest.$ac_ext | ||
| 21613 | { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | ||
| 12131 | $as_echo "$have_res_init" >&6; } | 21614 | $as_echo "$have_res_init" >&6; } |
| 12132 | if test "$have_res_init" = yes ; then | 21615 | if test "$have_res_init" = yes ; then |
| 12133 | resolv=yes | 21616 | resolv=yes |
| @@ -12137,7 +21620,9 @@ fi | |||
| 12137 | 21620 | ||
| 12138 | if test "$have_res_init" = yes; then | 21621 | if test "$have_res_init" = yes; then |
| 12139 | 21622 | ||
| 12140 | $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h | 21623 | cat >>confdefs.h <<\_ACEOF |
| 21624 | #define HAVE_RES_INIT 1 | ||
| 21625 | _ACEOF | ||
| 12141 | 21626 | ||
| 12142 | fi | 21627 | fi |
| 12143 | 21628 | ||
| @@ -12145,22 +21630,194 @@ fi | |||
| 12145 | LIBHESIOD= | 21630 | LIBHESIOD= |
| 12146 | if test "$with_hesiod" != no ; then | 21631 | if test "$with_hesiod" != no ; then |
| 12147 | # Don't set $LIBS here -- see comments above. FIXME which comments? | 21632 | # Don't set $LIBS here -- see comments above. FIXME which comments? |
| 12148 | ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 21633 | { $as_echo "$as_me:$LINENO: checking for res_send" >&5 |
| 12149 | if test "x$ac_cv_func_res_send" = x""yes; then : | 21634 | $as_echo_n "checking for res_send... " >&6; } |
| 21635 | if test "${ac_cv_func_res_send+set}" = set; then | ||
| 21636 | $as_echo_n "(cached) " >&6 | ||
| 21637 | else | ||
| 21638 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21639 | /* confdefs.h. */ | ||
| 21640 | _ACEOF | ||
| 21641 | cat confdefs.h >>conftest.$ac_ext | ||
| 21642 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21643 | /* end confdefs.h. */ | ||
| 21644 | /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | ||
| 21645 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21646 | #define res_send innocuous_res_send | ||
| 12150 | 21647 | ||
| 21648 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21649 | which can conflict with char res_send (); below. | ||
| 21650 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21651 | <limits.h> exists even on freestanding compilers. */ | ||
| 21652 | |||
| 21653 | #ifdef __STDC__ | ||
| 21654 | # include <limits.h> | ||
| 21655 | #else | ||
| 21656 | # include <assert.h> | ||
| 21657 | #endif | ||
| 21658 | |||
| 21659 | #undef res_send | ||
| 21660 | |||
| 21661 | /* Override any GCC internal prototype to avoid an error. | ||
| 21662 | Use char because int might match the return type of a GCC | ||
| 21663 | builtin and then its argument prototype would still apply. */ | ||
| 21664 | #ifdef __cplusplus | ||
| 21665 | extern "C" | ||
| 21666 | #endif | ||
| 21667 | char res_send (); | ||
| 21668 | /* The GNU C library defines this for functions which it implements | ||
| 21669 | to always fail with ENOSYS. Some functions are actually named | ||
| 21670 | something starting with __ and the normal name is an alias. */ | ||
| 21671 | #if defined __stub_res_send || defined __stub___res_send | ||
| 21672 | choke me | ||
| 21673 | #endif | ||
| 21674 | |||
| 21675 | int | ||
| 21676 | main () | ||
| 21677 | { | ||
| 21678 | return res_send (); | ||
| 21679 | ; | ||
| 21680 | return 0; | ||
| 21681 | } | ||
| 21682 | _ACEOF | ||
| 21683 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21684 | if { (ac_try="$ac_link" | ||
| 21685 | case "(($ac_try" in | ||
| 21686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21687 | *) ac_try_echo=$ac_try;; | ||
| 21688 | esac | ||
| 21689 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21690 | $as_echo "$ac_try_echo") >&5 | ||
| 21691 | (eval "$ac_link") 2>conftest.er1 | ||
| 21692 | ac_status=$? | ||
| 21693 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21694 | rm -f conftest.er1 | ||
| 21695 | cat conftest.err >&5 | ||
| 21696 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21697 | (exit $ac_status); } && { | ||
| 21698 | test -z "$ac_c_werror_flag" || | ||
| 21699 | test ! -s conftest.err | ||
| 21700 | } && test -s conftest$ac_exeext && { | ||
| 21701 | test "$cross_compiling" = yes || | ||
| 21702 | $as_test_x conftest$ac_exeext | ||
| 21703 | }; then | ||
| 21704 | ac_cv_func_res_send=yes | ||
| 21705 | else | ||
| 21706 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21707 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21708 | |||
| 21709 | ac_cv_func_res_send=no | ||
| 21710 | fi | ||
| 21711 | |||
| 21712 | rm -rf conftest.dSYM | ||
| 21713 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21714 | conftest$ac_exeext conftest.$ac_ext | ||
| 21715 | fi | ||
| 21716 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | ||
| 21717 | $as_echo "$ac_cv_func_res_send" >&6; } | ||
| 21718 | if test $ac_cv_func_res_send = yes; then | ||
| 21719 | : | ||
| 21720 | else | ||
| 21721 | { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | ||
| 21722 | $as_echo_n "checking for __res_send... " >&6; } | ||
| 21723 | if test "${ac_cv_func___res_send+set}" = set; then | ||
| 21724 | $as_echo_n "(cached) " >&6 | ||
| 21725 | else | ||
| 21726 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21727 | /* confdefs.h. */ | ||
| 21728 | _ACEOF | ||
| 21729 | cat confdefs.h >>conftest.$ac_ext | ||
| 21730 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21731 | /* end confdefs.h. */ | ||
| 21732 | /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | ||
| 21733 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21734 | #define __res_send innocuous___res_send | ||
| 21735 | |||
| 21736 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21737 | which can conflict with char __res_send (); below. | ||
| 21738 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21739 | <limits.h> exists even on freestanding compilers. */ | ||
| 21740 | |||
| 21741 | #ifdef __STDC__ | ||
| 21742 | # include <limits.h> | ||
| 21743 | #else | ||
| 21744 | # include <assert.h> | ||
| 21745 | #endif | ||
| 21746 | |||
| 21747 | #undef __res_send | ||
| 21748 | |||
| 21749 | /* Override any GCC internal prototype to avoid an error. | ||
| 21750 | Use char because int might match the return type of a GCC | ||
| 21751 | builtin and then its argument prototype would still apply. */ | ||
| 21752 | #ifdef __cplusplus | ||
| 21753 | extern "C" | ||
| 21754 | #endif | ||
| 21755 | char __res_send (); | ||
| 21756 | /* The GNU C library defines this for functions which it implements | ||
| 21757 | to always fail with ENOSYS. Some functions are actually named | ||
| 21758 | something starting with __ and the normal name is an alias. */ | ||
| 21759 | #if defined __stub___res_send || defined __stub_____res_send | ||
| 21760 | choke me | ||
| 21761 | #endif | ||
| 21762 | |||
| 21763 | int | ||
| 21764 | main () | ||
| 21765 | { | ||
| 21766 | return __res_send (); | ||
| 21767 | ; | ||
| 21768 | return 0; | ||
| 21769 | } | ||
| 21770 | _ACEOF | ||
| 21771 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21772 | if { (ac_try="$ac_link" | ||
| 21773 | case "(($ac_try" in | ||
| 21774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21775 | *) ac_try_echo=$ac_try;; | ||
| 21776 | esac | ||
| 21777 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21778 | $as_echo "$ac_try_echo") >&5 | ||
| 21779 | (eval "$ac_link") 2>conftest.er1 | ||
| 21780 | ac_status=$? | ||
| 21781 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21782 | rm -f conftest.er1 | ||
| 21783 | cat conftest.err >&5 | ||
| 21784 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21785 | (exit $ac_status); } && { | ||
| 21786 | test -z "$ac_c_werror_flag" || | ||
| 21787 | test ! -s conftest.err | ||
| 21788 | } && test -s conftest$ac_exeext && { | ||
| 21789 | test "$cross_compiling" = yes || | ||
| 21790 | $as_test_x conftest$ac_exeext | ||
| 21791 | }; then | ||
| 21792 | ac_cv_func___res_send=yes | ||
| 12151 | else | 21793 | else |
| 12152 | ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 21794 | $as_echo "$as_me: failed program was:" >&5 |
| 12153 | if test "x$ac_cv_func___res_send" = x""yes; then : | 21795 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21796 | |||
| 21797 | ac_cv_func___res_send=no | ||
| 21798 | fi | ||
| 12154 | 21799 | ||
| 21800 | rm -rf conftest.dSYM | ||
| 21801 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21802 | conftest$ac_exeext conftest.$ac_ext | ||
| 21803 | fi | ||
| 21804 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | ||
| 21805 | $as_echo "$ac_cv_func___res_send" >&6; } | ||
| 21806 | if test $ac_cv_func___res_send = yes; then | ||
| 21807 | : | ||
| 12155 | else | 21808 | else |
| 12156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 21809 | { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
| 12157 | $as_echo_n "checking for res_send in -lresolv... " >&6; } | 21810 | $as_echo_n "checking for res_send in -lresolv... " >&6; } |
| 12158 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 21811 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
| 12159 | $as_echo_n "(cached) " >&6 | 21812 | $as_echo_n "(cached) " >&6 |
| 12160 | else | 21813 | else |
| 12161 | ac_check_lib_save_LIBS=$LIBS | 21814 | ac_check_lib_save_LIBS=$LIBS |
| 12162 | LIBS="-lresolv $LIBS" | 21815 | LIBS="-lresolv $LIBS" |
| 12163 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21816 | cat >conftest.$ac_ext <<_ACEOF |
| 21817 | /* confdefs.h. */ | ||
| 21818 | _ACEOF | ||
| 21819 | cat confdefs.h >>conftest.$ac_ext | ||
| 21820 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12164 | /* end confdefs.h. */ | 21821 | /* end confdefs.h. */ |
| 12165 | 21822 | ||
| 12166 | /* Override any GCC internal prototype to avoid an error. | 21823 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12178,28 +21835,57 @@ return res_send (); | |||
| 12178 | return 0; | 21835 | return 0; |
| 12179 | } | 21836 | } |
| 12180 | _ACEOF | 21837 | _ACEOF |
| 12181 | if ac_fn_c_try_link "$LINENO"; then : | 21838 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21839 | if { (ac_try="$ac_link" | ||
| 21840 | case "(($ac_try" in | ||
| 21841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21842 | *) ac_try_echo=$ac_try;; | ||
| 21843 | esac | ||
| 21844 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21845 | $as_echo "$ac_try_echo") >&5 | ||
| 21846 | (eval "$ac_link") 2>conftest.er1 | ||
| 21847 | ac_status=$? | ||
| 21848 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21849 | rm -f conftest.er1 | ||
| 21850 | cat conftest.err >&5 | ||
| 21851 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21852 | (exit $ac_status); } && { | ||
| 21853 | test -z "$ac_c_werror_flag" || | ||
| 21854 | test ! -s conftest.err | ||
| 21855 | } && test -s conftest$ac_exeext && { | ||
| 21856 | test "$cross_compiling" = yes || | ||
| 21857 | $as_test_x conftest$ac_exeext | ||
| 21858 | }; then | ||
| 12182 | ac_cv_lib_resolv_res_send=yes | 21859 | ac_cv_lib_resolv_res_send=yes |
| 12183 | else | 21860 | else |
| 12184 | ac_cv_lib_resolv_res_send=no | 21861 | $as_echo "$as_me: failed program was:" >&5 |
| 21862 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21863 | |||
| 21864 | ac_cv_lib_resolv_res_send=no | ||
| 12185 | fi | 21865 | fi |
| 12186 | rm -f core conftest.err conftest.$ac_objext \ | 21866 | |
| 12187 | conftest$ac_exeext conftest.$ac_ext | 21867 | rm -rf conftest.dSYM |
| 21868 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21869 | conftest$ac_exeext conftest.$ac_ext | ||
| 12188 | LIBS=$ac_check_lib_save_LIBS | 21870 | LIBS=$ac_check_lib_save_LIBS |
| 12189 | fi | 21871 | fi |
| 12190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 21872 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
| 12191 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 21873 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
| 12192 | if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 21874 | if test $ac_cv_lib_resolv_res_send = yes; then |
| 12193 | resolv=yes | 21875 | resolv=yes |
| 12194 | else | 21876 | else |
| 12195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 21877 | { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
| 12196 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 21878 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
| 12197 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 21879 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
| 12198 | $as_echo_n "(cached) " >&6 | 21880 | $as_echo_n "(cached) " >&6 |
| 12199 | else | 21881 | else |
| 12200 | ac_check_lib_save_LIBS=$LIBS | 21882 | ac_check_lib_save_LIBS=$LIBS |
| 12201 | LIBS="-lresolv $LIBS" | 21883 | LIBS="-lresolv $LIBS" |
| 12202 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21884 | cat >conftest.$ac_ext <<_ACEOF |
| 21885 | /* confdefs.h. */ | ||
| 21886 | _ACEOF | ||
| 21887 | cat confdefs.h >>conftest.$ac_ext | ||
| 21888 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12203 | /* end confdefs.h. */ | 21889 | /* end confdefs.h. */ |
| 12204 | 21890 | ||
| 12205 | /* Override any GCC internal prototype to avoid an error. | 21891 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12217,18 +21903,43 @@ return __res_send (); | |||
| 12217 | return 0; | 21903 | return 0; |
| 12218 | } | 21904 | } |
| 12219 | _ACEOF | 21905 | _ACEOF |
| 12220 | if ac_fn_c_try_link "$LINENO"; then : | 21906 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21907 | if { (ac_try="$ac_link" | ||
| 21908 | case "(($ac_try" in | ||
| 21909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21910 | *) ac_try_echo=$ac_try;; | ||
| 21911 | esac | ||
| 21912 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21913 | $as_echo "$ac_try_echo") >&5 | ||
| 21914 | (eval "$ac_link") 2>conftest.er1 | ||
| 21915 | ac_status=$? | ||
| 21916 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21917 | rm -f conftest.er1 | ||
| 21918 | cat conftest.err >&5 | ||
| 21919 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21920 | (exit $ac_status); } && { | ||
| 21921 | test -z "$ac_c_werror_flag" || | ||
| 21922 | test ! -s conftest.err | ||
| 21923 | } && test -s conftest$ac_exeext && { | ||
| 21924 | test "$cross_compiling" = yes || | ||
| 21925 | $as_test_x conftest$ac_exeext | ||
| 21926 | }; then | ||
| 12221 | ac_cv_lib_resolv___res_send=yes | 21927 | ac_cv_lib_resolv___res_send=yes |
| 12222 | else | 21928 | else |
| 12223 | ac_cv_lib_resolv___res_send=no | 21929 | $as_echo "$as_me: failed program was:" >&5 |
| 21930 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21931 | |||
| 21932 | ac_cv_lib_resolv___res_send=no | ||
| 12224 | fi | 21933 | fi |
| 12225 | rm -f core conftest.err conftest.$ac_objext \ | 21934 | |
| 12226 | conftest$ac_exeext conftest.$ac_ext | 21935 | rm -rf conftest.dSYM |
| 21936 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21937 | conftest$ac_exeext conftest.$ac_ext | ||
| 12227 | LIBS=$ac_check_lib_save_LIBS | 21938 | LIBS=$ac_check_lib_save_LIBS |
| 12228 | fi | 21939 | fi |
| 12229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 21940 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
| 12230 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 21941 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
| 12231 | if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 21942 | if test $ac_cv_lib_resolv___res_send = yes; then |
| 12232 | resolv=yes | 21943 | resolv=yes |
| 12233 | fi | 21944 | fi |
| 12234 | 21945 | ||
| @@ -12243,18 +21954,106 @@ fi | |||
| 12243 | else | 21954 | else |
| 12244 | RESOLVLIB= | 21955 | RESOLVLIB= |
| 12245 | fi | 21956 | fi |
| 12246 | ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 21957 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
| 12247 | if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 21958 | $as_echo_n "checking for hes_getmailhost... " >&6; } |
| 21959 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then | ||
| 21960 | $as_echo_n "(cached) " >&6 | ||
| 21961 | else | ||
| 21962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21963 | /* confdefs.h. */ | ||
| 21964 | _ACEOF | ||
| 21965 | cat confdefs.h >>conftest.$ac_ext | ||
| 21966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21967 | /* end confdefs.h. */ | ||
| 21968 | /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | ||
| 21969 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21970 | #define hes_getmailhost innocuous_hes_getmailhost | ||
| 12248 | 21971 | ||
| 21972 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21973 | which can conflict with char hes_getmailhost (); below. | ||
| 21974 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21975 | <limits.h> exists even on freestanding compilers. */ | ||
| 21976 | |||
| 21977 | #ifdef __STDC__ | ||
| 21978 | # include <limits.h> | ||
| 21979 | #else | ||
| 21980 | # include <assert.h> | ||
| 21981 | #endif | ||
| 21982 | |||
| 21983 | #undef hes_getmailhost | ||
| 21984 | |||
| 21985 | /* Override any GCC internal prototype to avoid an error. | ||
| 21986 | Use char because int might match the return type of a GCC | ||
| 21987 | builtin and then its argument prototype would still apply. */ | ||
| 21988 | #ifdef __cplusplus | ||
| 21989 | extern "C" | ||
| 21990 | #endif | ||
| 21991 | char hes_getmailhost (); | ||
| 21992 | /* The GNU C library defines this for functions which it implements | ||
| 21993 | to always fail with ENOSYS. Some functions are actually named | ||
| 21994 | something starting with __ and the normal name is an alias. */ | ||
| 21995 | #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | ||
| 21996 | choke me | ||
| 21997 | #endif | ||
| 21998 | |||
| 21999 | int | ||
| 22000 | main () | ||
| 22001 | { | ||
| 22002 | return hes_getmailhost (); | ||
| 22003 | ; | ||
| 22004 | return 0; | ||
| 22005 | } | ||
| 22006 | _ACEOF | ||
| 22007 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 22008 | if { (ac_try="$ac_link" | ||
| 22009 | case "(($ac_try" in | ||
| 22010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22011 | *) ac_try_echo=$ac_try;; | ||
| 22012 | esac | ||
| 22013 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22014 | $as_echo "$ac_try_echo") >&5 | ||
| 22015 | (eval "$ac_link") 2>conftest.er1 | ||
| 22016 | ac_status=$? | ||
| 22017 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22018 | rm -f conftest.er1 | ||
| 22019 | cat conftest.err >&5 | ||
| 22020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22021 | (exit $ac_status); } && { | ||
| 22022 | test -z "$ac_c_werror_flag" || | ||
| 22023 | test ! -s conftest.err | ||
| 22024 | } && test -s conftest$ac_exeext && { | ||
| 22025 | test "$cross_compiling" = yes || | ||
| 22026 | $as_test_x conftest$ac_exeext | ||
| 22027 | }; then | ||
| 22028 | ac_cv_func_hes_getmailhost=yes | ||
| 22029 | else | ||
| 22030 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22031 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22032 | |||
| 22033 | ac_cv_func_hes_getmailhost=no | ||
| 22034 | fi | ||
| 22035 | |||
| 22036 | rm -rf conftest.dSYM | ||
| 22037 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22038 | conftest$ac_exeext conftest.$ac_ext | ||
| 22039 | fi | ||
| 22040 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | ||
| 22041 | $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | ||
| 22042 | if test $ac_cv_func_hes_getmailhost = yes; then | ||
| 22043 | : | ||
| 12249 | else | 22044 | else |
| 12250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 22045 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
| 12251 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 22046 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
| 12252 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 22047 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
| 12253 | $as_echo_n "(cached) " >&6 | 22048 | $as_echo_n "(cached) " >&6 |
| 12254 | else | 22049 | else |
| 12255 | ac_check_lib_save_LIBS=$LIBS | 22050 | ac_check_lib_save_LIBS=$LIBS |
| 12256 | LIBS="-lhesiod $RESOLVLIB $LIBS" | 22051 | LIBS="-lhesiod $RESOLVLIB $LIBS" |
| 12257 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22052 | cat >conftest.$ac_ext <<_ACEOF |
| 22053 | /* confdefs.h. */ | ||
| 22054 | _ACEOF | ||
| 22055 | cat confdefs.h >>conftest.$ac_ext | ||
| 22056 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12258 | /* end confdefs.h. */ | 22057 | /* end confdefs.h. */ |
| 12259 | 22058 | ||
| 12260 | /* Override any GCC internal prototype to avoid an error. | 22059 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12272,18 +22071,43 @@ return hes_getmailhost (); | |||
| 12272 | return 0; | 22071 | return 0; |
| 12273 | } | 22072 | } |
| 12274 | _ACEOF | 22073 | _ACEOF |
| 12275 | if ac_fn_c_try_link "$LINENO"; then : | 22074 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22075 | if { (ac_try="$ac_link" | ||
| 22076 | case "(($ac_try" in | ||
| 22077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22078 | *) ac_try_echo=$ac_try;; | ||
| 22079 | esac | ||
| 22080 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22081 | $as_echo "$ac_try_echo") >&5 | ||
| 22082 | (eval "$ac_link") 2>conftest.er1 | ||
| 22083 | ac_status=$? | ||
| 22084 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22085 | rm -f conftest.er1 | ||
| 22086 | cat conftest.err >&5 | ||
| 22087 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22088 | (exit $ac_status); } && { | ||
| 22089 | test -z "$ac_c_werror_flag" || | ||
| 22090 | test ! -s conftest.err | ||
| 22091 | } && test -s conftest$ac_exeext && { | ||
| 22092 | test "$cross_compiling" = yes || | ||
| 22093 | $as_test_x conftest$ac_exeext | ||
| 22094 | }; then | ||
| 12276 | ac_cv_lib_hesiod_hes_getmailhost=yes | 22095 | ac_cv_lib_hesiod_hes_getmailhost=yes |
| 12277 | else | 22096 | else |
| 12278 | ac_cv_lib_hesiod_hes_getmailhost=no | 22097 | $as_echo "$as_me: failed program was:" >&5 |
| 22098 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22099 | |||
| 22100 | ac_cv_lib_hesiod_hes_getmailhost=no | ||
| 12279 | fi | 22101 | fi |
| 12280 | rm -f core conftest.err conftest.$ac_objext \ | 22102 | |
| 12281 | conftest$ac_exeext conftest.$ac_ext | 22103 | rm -rf conftest.dSYM |
| 22104 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22105 | conftest$ac_exeext conftest.$ac_ext | ||
| 12282 | LIBS=$ac_check_lib_save_LIBS | 22106 | LIBS=$ac_check_lib_save_LIBS |
| 12283 | fi | 22107 | fi |
| 12284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 22108 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 12285 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 22109 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
| 12286 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 22110 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
| 12287 | hesiod=yes | 22111 | hesiod=yes |
| 12288 | else | 22112 | else |
| 12289 | : | 22113 | : |
| @@ -12294,7 +22118,9 @@ fi | |||
| 12294 | 22118 | ||
| 12295 | if test x"$hesiod" = xyes; then | 22119 | if test x"$hesiod" = xyes; then |
| 12296 | 22120 | ||
| 12297 | $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h | 22121 | cat >>confdefs.h <<\_ACEOF |
| 22122 | #define HAVE_LIBHESIOD 1 | ||
| 22123 | _ACEOF | ||
| 12298 | 22124 | ||
| 12299 | LIBHESIOD=-lhesiod | 22125 | LIBHESIOD=-lhesiod |
| 12300 | fi | 22126 | fi |
| @@ -12304,7 +22130,9 @@ fi | |||
| 12304 | # Do we need libresolv (due to res_init or Hesiod)? | 22130 | # Do we need libresolv (due to res_init or Hesiod)? |
| 12305 | if test "$resolv" = yes ; then | 22131 | if test "$resolv" = yes ; then |
| 12306 | 22132 | ||
| 12307 | $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h | 22133 | cat >>confdefs.h <<\_ACEOF |
| 22134 | #define HAVE_LIBRESOLV 1 | ||
| 22135 | _ACEOF | ||
| 12308 | 22136 | ||
| 12309 | LIBRESOLV=-lresolv | 22137 | LIBRESOLV=-lresolv |
| 12310 | else | 22138 | else |
| @@ -12320,14 +22148,18 @@ DESLIB= | |||
| 12320 | KRB4LIB= | 22148 | KRB4LIB= |
| 12321 | 22149 | ||
| 12322 | if test "${with_kerberos}" != no; then | 22150 | if test "${with_kerberos}" != no; then |
| 12323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 22151 | { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
| 12324 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 22152 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
| 12325 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 22153 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
| 12326 | $as_echo_n "(cached) " >&6 | 22154 | $as_echo_n "(cached) " >&6 |
| 12327 | else | 22155 | else |
| 12328 | ac_check_lib_save_LIBS=$LIBS | 22156 | ac_check_lib_save_LIBS=$LIBS |
| 12329 | LIBS="-lcom_err $LIBS" | 22157 | LIBS="-lcom_err $LIBS" |
| 12330 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22158 | cat >conftest.$ac_ext <<_ACEOF |
| 22159 | /* confdefs.h. */ | ||
| 22160 | _ACEOF | ||
| 22161 | cat confdefs.h >>conftest.$ac_ext | ||
| 22162 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12331 | /* end confdefs.h. */ | 22163 | /* end confdefs.h. */ |
| 12332 | 22164 | ||
| 12333 | /* Override any GCC internal prototype to avoid an error. | 22165 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12345,18 +22177,43 @@ return com_err (); | |||
| 12345 | return 0; | 22177 | return 0; |
| 12346 | } | 22178 | } |
| 12347 | _ACEOF | 22179 | _ACEOF |
| 12348 | if ac_fn_c_try_link "$LINENO"; then : | 22180 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22181 | if { (ac_try="$ac_link" | ||
| 22182 | case "(($ac_try" in | ||
| 22183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22184 | *) ac_try_echo=$ac_try;; | ||
| 22185 | esac | ||
| 22186 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22187 | $as_echo "$ac_try_echo") >&5 | ||
| 22188 | (eval "$ac_link") 2>conftest.er1 | ||
| 22189 | ac_status=$? | ||
| 22190 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22191 | rm -f conftest.er1 | ||
| 22192 | cat conftest.err >&5 | ||
| 22193 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22194 | (exit $ac_status); } && { | ||
| 22195 | test -z "$ac_c_werror_flag" || | ||
| 22196 | test ! -s conftest.err | ||
| 22197 | } && test -s conftest$ac_exeext && { | ||
| 22198 | test "$cross_compiling" = yes || | ||
| 22199 | $as_test_x conftest$ac_exeext | ||
| 22200 | }; then | ||
| 12349 | ac_cv_lib_com_err_com_err=yes | 22201 | ac_cv_lib_com_err_com_err=yes |
| 12350 | else | 22202 | else |
| 12351 | ac_cv_lib_com_err_com_err=no | 22203 | $as_echo "$as_me: failed program was:" >&5 |
| 22204 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22205 | |||
| 22206 | ac_cv_lib_com_err_com_err=no | ||
| 12352 | fi | 22207 | fi |
| 12353 | rm -f core conftest.err conftest.$ac_objext \ | 22208 | |
| 12354 | conftest$ac_exeext conftest.$ac_ext | 22209 | rm -rf conftest.dSYM |
| 22210 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22211 | conftest$ac_exeext conftest.$ac_ext | ||
| 12355 | LIBS=$ac_check_lib_save_LIBS | 22212 | LIBS=$ac_check_lib_save_LIBS |
| 12356 | fi | 22213 | fi |
| 12357 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 22214 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
| 12358 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 22215 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
| 12359 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 22216 | if test $ac_cv_lib_com_err_com_err = yes; then |
| 12360 | have_com_err=yes | 22217 | have_com_err=yes |
| 12361 | else | 22218 | else |
| 12362 | have_com_err=no | 22219 | have_com_err=no |
| @@ -12366,17 +22223,23 @@ fi | |||
| 12366 | COM_ERRLIB=-lcom_err | 22223 | COM_ERRLIB=-lcom_err |
| 12367 | LIBS="$COM_ERRLIB $LIBS" | 22224 | LIBS="$COM_ERRLIB $LIBS" |
| 12368 | 22225 | ||
| 12369 | $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 22226 | cat >>confdefs.h <<\_ACEOF |
| 22227 | #define HAVE_LIBCOM_ERR 1 | ||
| 22228 | _ACEOF | ||
| 12370 | 22229 | ||
| 12371 | fi | 22230 | fi |
| 12372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 22231 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 12373 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 22232 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
| 12374 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 22233 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12375 | $as_echo_n "(cached) " >&6 | 22234 | $as_echo_n "(cached) " >&6 |
| 12376 | else | 22235 | else |
| 12377 | ac_check_lib_save_LIBS=$LIBS | 22236 | ac_check_lib_save_LIBS=$LIBS |
| 12378 | LIBS="-lcrypto $LIBS" | 22237 | LIBS="-lcrypto $LIBS" |
| 12379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22238 | cat >conftest.$ac_ext <<_ACEOF |
| 22239 | /* confdefs.h. */ | ||
| 22240 | _ACEOF | ||
| 22241 | cat confdefs.h >>conftest.$ac_ext | ||
| 22242 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12380 | /* end confdefs.h. */ | 22243 | /* end confdefs.h. */ |
| 12381 | 22244 | ||
| 12382 | /* Override any GCC internal prototype to avoid an error. | 22245 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12394,18 +22257,43 @@ return mit_des_cbc_encrypt (); | |||
| 12394 | return 0; | 22257 | return 0; |
| 12395 | } | 22258 | } |
| 12396 | _ACEOF | 22259 | _ACEOF |
| 12397 | if ac_fn_c_try_link "$LINENO"; then : | 22260 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22261 | if { (ac_try="$ac_link" | ||
| 22262 | case "(($ac_try" in | ||
| 22263 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22264 | *) ac_try_echo=$ac_try;; | ||
| 22265 | esac | ||
| 22266 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22267 | $as_echo "$ac_try_echo") >&5 | ||
| 22268 | (eval "$ac_link") 2>conftest.er1 | ||
| 22269 | ac_status=$? | ||
| 22270 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22271 | rm -f conftest.er1 | ||
| 22272 | cat conftest.err >&5 | ||
| 22273 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22274 | (exit $ac_status); } && { | ||
| 22275 | test -z "$ac_c_werror_flag" || | ||
| 22276 | test ! -s conftest.err | ||
| 22277 | } && test -s conftest$ac_exeext && { | ||
| 22278 | test "$cross_compiling" = yes || | ||
| 22279 | $as_test_x conftest$ac_exeext | ||
| 22280 | }; then | ||
| 12398 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 22281 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
| 12399 | else | 22282 | else |
| 12400 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 22283 | $as_echo "$as_me: failed program was:" >&5 |
| 22284 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22285 | |||
| 22286 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | ||
| 12401 | fi | 22287 | fi |
| 12402 | rm -f core conftest.err conftest.$ac_objext \ | 22288 | |
| 12403 | conftest$ac_exeext conftest.$ac_ext | 22289 | rm -rf conftest.dSYM |
| 22290 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22291 | conftest$ac_exeext conftest.$ac_ext | ||
| 12404 | LIBS=$ac_check_lib_save_LIBS | 22292 | LIBS=$ac_check_lib_save_LIBS |
| 12405 | fi | 22293 | fi |
| 12406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 22294 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
| 12407 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 22295 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
| 12408 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 22296 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
| 12409 | have_crypto=yes | 22297 | have_crypto=yes |
| 12410 | else | 22298 | else |
| 12411 | have_crypto=no | 22299 | have_crypto=no |
| @@ -12415,17 +22303,23 @@ fi | |||
| 12415 | CRYPTOLIB=-lcrypto | 22303 | CRYPTOLIB=-lcrypto |
| 12416 | LIBS="$CRYPTOLIB $LIBS" | 22304 | LIBS="$CRYPTOLIB $LIBS" |
| 12417 | 22305 | ||
| 12418 | $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 22306 | cat >>confdefs.h <<\_ACEOF |
| 22307 | #define HAVE_LIBCRYPTO 1 | ||
| 22308 | _ACEOF | ||
| 12419 | 22309 | ||
| 12420 | fi | 22310 | fi |
| 12421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 22311 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 12422 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 22312 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
| 12423 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 22313 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12424 | $as_echo_n "(cached) " >&6 | 22314 | $as_echo_n "(cached) " >&6 |
| 12425 | else | 22315 | else |
| 12426 | ac_check_lib_save_LIBS=$LIBS | 22316 | ac_check_lib_save_LIBS=$LIBS |
| 12427 | LIBS="-lk5crypto $LIBS" | 22317 | LIBS="-lk5crypto $LIBS" |
| 12428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22318 | cat >conftest.$ac_ext <<_ACEOF |
| 22319 | /* confdefs.h. */ | ||
| 22320 | _ACEOF | ||
| 22321 | cat confdefs.h >>conftest.$ac_ext | ||
| 22322 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12429 | /* end confdefs.h. */ | 22323 | /* end confdefs.h. */ |
| 12430 | 22324 | ||
| 12431 | /* Override any GCC internal prototype to avoid an error. | 22325 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12443,18 +22337,43 @@ return mit_des_cbc_encrypt (); | |||
| 12443 | return 0; | 22337 | return 0; |
| 12444 | } | 22338 | } |
| 12445 | _ACEOF | 22339 | _ACEOF |
| 12446 | if ac_fn_c_try_link "$LINENO"; then : | 22340 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22341 | if { (ac_try="$ac_link" | ||
| 22342 | case "(($ac_try" in | ||
| 22343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22344 | *) ac_try_echo=$ac_try;; | ||
| 22345 | esac | ||
| 22346 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22347 | $as_echo "$ac_try_echo") >&5 | ||
| 22348 | (eval "$ac_link") 2>conftest.er1 | ||
| 22349 | ac_status=$? | ||
| 22350 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22351 | rm -f conftest.er1 | ||
| 22352 | cat conftest.err >&5 | ||
| 22353 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22354 | (exit $ac_status); } && { | ||
| 22355 | test -z "$ac_c_werror_flag" || | ||
| 22356 | test ! -s conftest.err | ||
| 22357 | } && test -s conftest$ac_exeext && { | ||
| 22358 | test "$cross_compiling" = yes || | ||
| 22359 | $as_test_x conftest$ac_exeext | ||
| 22360 | }; then | ||
| 12447 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 22361 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
| 12448 | else | 22362 | else |
| 12449 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 22363 | $as_echo "$as_me: failed program was:" >&5 |
| 22364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22365 | |||
| 22366 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | ||
| 12450 | fi | 22367 | fi |
| 12451 | rm -f core conftest.err conftest.$ac_objext \ | 22368 | |
| 12452 | conftest$ac_exeext conftest.$ac_ext | 22369 | rm -rf conftest.dSYM |
| 22370 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22371 | conftest$ac_exeext conftest.$ac_ext | ||
| 12453 | LIBS=$ac_check_lib_save_LIBS | 22372 | LIBS=$ac_check_lib_save_LIBS |
| 12454 | fi | 22373 | fi |
| 12455 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 22374 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
| 12456 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 22375 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
| 12457 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 22376 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
| 12458 | have_k5crypto=yes | 22377 | have_k5crypto=yes |
| 12459 | else | 22378 | else |
| 12460 | have_k5crypto=no | 22379 | have_k5crypto=no |
| @@ -12464,17 +22383,23 @@ fi | |||
| 12464 | CRYPTOLIB=-lk5crypto | 22383 | CRYPTOLIB=-lk5crypto |
| 12465 | LIBS="$CRYPTOLIB $LIBS" | 22384 | LIBS="$CRYPTOLIB $LIBS" |
| 12466 | 22385 | ||
| 12467 | $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 22386 | cat >>confdefs.h <<\_ACEOF |
| 22387 | #define HAVE_LIBK5CRYPTO 1 | ||
| 22388 | _ACEOF | ||
| 12468 | 22389 | ||
| 12469 | fi | 22390 | fi |
| 12470 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 22391 | { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
| 12471 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 22392 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
| 12472 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 22393 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
| 12473 | $as_echo_n "(cached) " >&6 | 22394 | $as_echo_n "(cached) " >&6 |
| 12474 | else | 22395 | else |
| 12475 | ac_check_lib_save_LIBS=$LIBS | 22396 | ac_check_lib_save_LIBS=$LIBS |
| 12476 | LIBS="-lkrb5 $LIBS" | 22397 | LIBS="-lkrb5 $LIBS" |
| 12477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22398 | cat >conftest.$ac_ext <<_ACEOF |
| 22399 | /* confdefs.h. */ | ||
| 22400 | _ACEOF | ||
| 22401 | cat confdefs.h >>conftest.$ac_ext | ||
| 22402 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12478 | /* end confdefs.h. */ | 22403 | /* end confdefs.h. */ |
| 12479 | 22404 | ||
| 12480 | /* Override any GCC internal prototype to avoid an error. | 22405 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12492,18 +22417,43 @@ return krb5_init_context (); | |||
| 12492 | return 0; | 22417 | return 0; |
| 12493 | } | 22418 | } |
| 12494 | _ACEOF | 22419 | _ACEOF |
| 12495 | if ac_fn_c_try_link "$LINENO"; then : | 22420 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22421 | if { (ac_try="$ac_link" | ||
| 22422 | case "(($ac_try" in | ||
| 22423 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22424 | *) ac_try_echo=$ac_try;; | ||
| 22425 | esac | ||
| 22426 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22427 | $as_echo "$ac_try_echo") >&5 | ||
| 22428 | (eval "$ac_link") 2>conftest.er1 | ||
| 22429 | ac_status=$? | ||
| 22430 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22431 | rm -f conftest.er1 | ||
| 22432 | cat conftest.err >&5 | ||
| 22433 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22434 | (exit $ac_status); } && { | ||
| 22435 | test -z "$ac_c_werror_flag" || | ||
| 22436 | test ! -s conftest.err | ||
| 22437 | } && test -s conftest$ac_exeext && { | ||
| 22438 | test "$cross_compiling" = yes || | ||
| 22439 | $as_test_x conftest$ac_exeext | ||
| 22440 | }; then | ||
| 12496 | ac_cv_lib_krb5_krb5_init_context=yes | 22441 | ac_cv_lib_krb5_krb5_init_context=yes |
| 12497 | else | 22442 | else |
| 12498 | ac_cv_lib_krb5_krb5_init_context=no | 22443 | $as_echo "$as_me: failed program was:" >&5 |
| 22444 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22445 | |||
| 22446 | ac_cv_lib_krb5_krb5_init_context=no | ||
| 12499 | fi | 22447 | fi |
| 12500 | rm -f core conftest.err conftest.$ac_objext \ | 22448 | |
| 12501 | conftest$ac_exeext conftest.$ac_ext | 22449 | rm -rf conftest.dSYM |
| 22450 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22451 | conftest$ac_exeext conftest.$ac_ext | ||
| 12502 | LIBS=$ac_check_lib_save_LIBS | 22452 | LIBS=$ac_check_lib_save_LIBS |
| 12503 | fi | 22453 | fi |
| 12504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 22454 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
| 12505 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 22455 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
| 12506 | if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 22456 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
| 12507 | have_krb5=yes | 22457 | have_krb5=yes |
| 12508 | else | 22458 | else |
| 12509 | have_krb5=no | 22459 | have_krb5=no |
| @@ -12513,18 +22463,24 @@ fi | |||
| 12513 | KRB5LIB=-lkrb5 | 22463 | KRB5LIB=-lkrb5 |
| 12514 | LIBS="$KRB5LIB $LIBS" | 22464 | LIBS="$KRB5LIB $LIBS" |
| 12515 | 22465 | ||
| 12516 | $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h | 22466 | cat >>confdefs.h <<\_ACEOF |
| 22467 | #define HAVE_LIBKRB5 1 | ||
| 22468 | _ACEOF | ||
| 12517 | 22469 | ||
| 12518 | fi | 22470 | fi |
| 12519 | if test "${with_kerberos5}" = no; then | 22471 | if test "${with_kerberos5}" = no; then |
| 12520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 22472 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
| 12521 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 22473 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
| 12522 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 22474 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
| 12523 | $as_echo_n "(cached) " >&6 | 22475 | $as_echo_n "(cached) " >&6 |
| 12524 | else | 22476 | else |
| 12525 | ac_check_lib_save_LIBS=$LIBS | 22477 | ac_check_lib_save_LIBS=$LIBS |
| 12526 | LIBS="-ldes425 $LIBS" | 22478 | LIBS="-ldes425 $LIBS" |
| 12527 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22479 | cat >conftest.$ac_ext <<_ACEOF |
| 22480 | /* confdefs.h. */ | ||
| 22481 | _ACEOF | ||
| 22482 | cat confdefs.h >>conftest.$ac_ext | ||
| 22483 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12528 | /* end confdefs.h. */ | 22484 | /* end confdefs.h. */ |
| 12529 | 22485 | ||
| 12530 | /* Override any GCC internal prototype to avoid an error. | 22486 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12542,18 +22498,43 @@ return des_cbc_encrypt (); | |||
| 12542 | return 0; | 22498 | return 0; |
| 12543 | } | 22499 | } |
| 12544 | _ACEOF | 22500 | _ACEOF |
| 12545 | if ac_fn_c_try_link "$LINENO"; then : | 22501 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22502 | if { (ac_try="$ac_link" | ||
| 22503 | case "(($ac_try" in | ||
| 22504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22505 | *) ac_try_echo=$ac_try;; | ||
| 22506 | esac | ||
| 22507 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22508 | $as_echo "$ac_try_echo") >&5 | ||
| 22509 | (eval "$ac_link") 2>conftest.er1 | ||
| 22510 | ac_status=$? | ||
| 22511 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22512 | rm -f conftest.er1 | ||
| 22513 | cat conftest.err >&5 | ||
| 22514 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22515 | (exit $ac_status); } && { | ||
| 22516 | test -z "$ac_c_werror_flag" || | ||
| 22517 | test ! -s conftest.err | ||
| 22518 | } && test -s conftest$ac_exeext && { | ||
| 22519 | test "$cross_compiling" = yes || | ||
| 22520 | $as_test_x conftest$ac_exeext | ||
| 22521 | }; then | ||
| 12546 | ac_cv_lib_des425_des_cbc_encrypt=yes | 22522 | ac_cv_lib_des425_des_cbc_encrypt=yes |
| 12547 | else | 22523 | else |
| 12548 | ac_cv_lib_des425_des_cbc_encrypt=no | 22524 | $as_echo "$as_me: failed program was:" >&5 |
| 22525 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22526 | |||
| 22527 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
| 12549 | fi | 22528 | fi |
| 12550 | rm -f core conftest.err conftest.$ac_objext \ | 22529 | |
| 12551 | conftest$ac_exeext conftest.$ac_ext | 22530 | rm -rf conftest.dSYM |
| 22531 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22532 | conftest$ac_exeext conftest.$ac_ext | ||
| 12552 | LIBS=$ac_check_lib_save_LIBS | 22533 | LIBS=$ac_check_lib_save_LIBS |
| 12553 | fi | 22534 | fi |
| 12554 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22535 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
| 12555 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 22536 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
| 12556 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 22537 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
| 12557 | have_des425=yes | 22538 | have_des425=yes |
| 12558 | else | 22539 | else |
| 12559 | have_des425=no | 22540 | have_des425=no |
| @@ -12563,17 +22544,23 @@ fi | |||
| 12563 | DESLIB=-ldes425 | 22544 | DESLIB=-ldes425 |
| 12564 | LIBS="$DESLIB $LIBS" | 22545 | LIBS="$DESLIB $LIBS" |
| 12565 | 22546 | ||
| 12566 | $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 22547 | cat >>confdefs.h <<\_ACEOF |
| 22548 | #define HAVE_LIBDES425 1 | ||
| 22549 | _ACEOF | ||
| 12567 | 22550 | ||
| 12568 | else | 22551 | else |
| 12569 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 22552 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
| 12570 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 22553 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
| 12571 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 22554 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
| 12572 | $as_echo_n "(cached) " >&6 | 22555 | $as_echo_n "(cached) " >&6 |
| 12573 | else | 22556 | else |
| 12574 | ac_check_lib_save_LIBS=$LIBS | 22557 | ac_check_lib_save_LIBS=$LIBS |
| 12575 | LIBS="-ldes $LIBS" | 22558 | LIBS="-ldes $LIBS" |
| 12576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22559 | cat >conftest.$ac_ext <<_ACEOF |
| 22560 | /* confdefs.h. */ | ||
| 22561 | _ACEOF | ||
| 22562 | cat confdefs.h >>conftest.$ac_ext | ||
| 22563 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12577 | /* end confdefs.h. */ | 22564 | /* end confdefs.h. */ |
| 12578 | 22565 | ||
| 12579 | /* Override any GCC internal prototype to avoid an error. | 22566 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12591,18 +22578,43 @@ return des_cbc_encrypt (); | |||
| 12591 | return 0; | 22578 | return 0; |
| 12592 | } | 22579 | } |
| 12593 | _ACEOF | 22580 | _ACEOF |
| 12594 | if ac_fn_c_try_link "$LINENO"; then : | 22581 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22582 | if { (ac_try="$ac_link" | ||
| 22583 | case "(($ac_try" in | ||
| 22584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22585 | *) ac_try_echo=$ac_try;; | ||
| 22586 | esac | ||
| 22587 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22588 | $as_echo "$ac_try_echo") >&5 | ||
| 22589 | (eval "$ac_link") 2>conftest.er1 | ||
| 22590 | ac_status=$? | ||
| 22591 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22592 | rm -f conftest.er1 | ||
| 22593 | cat conftest.err >&5 | ||
| 22594 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22595 | (exit $ac_status); } && { | ||
| 22596 | test -z "$ac_c_werror_flag" || | ||
| 22597 | test ! -s conftest.err | ||
| 22598 | } && test -s conftest$ac_exeext && { | ||
| 22599 | test "$cross_compiling" = yes || | ||
| 22600 | $as_test_x conftest$ac_exeext | ||
| 22601 | }; then | ||
| 12595 | ac_cv_lib_des_des_cbc_encrypt=yes | 22602 | ac_cv_lib_des_des_cbc_encrypt=yes |
| 12596 | else | 22603 | else |
| 12597 | ac_cv_lib_des_des_cbc_encrypt=no | 22604 | $as_echo "$as_me: failed program was:" >&5 |
| 22605 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22606 | |||
| 22607 | ac_cv_lib_des_des_cbc_encrypt=no | ||
| 12598 | fi | 22608 | fi |
| 12599 | rm -f core conftest.err conftest.$ac_objext \ | 22609 | |
| 12600 | conftest$ac_exeext conftest.$ac_ext | 22610 | rm -rf conftest.dSYM |
| 22611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22612 | conftest$ac_exeext conftest.$ac_ext | ||
| 12601 | LIBS=$ac_check_lib_save_LIBS | 22613 | LIBS=$ac_check_lib_save_LIBS |
| 12602 | fi | 22614 | fi |
| 12603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22615 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
| 12604 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 22616 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
| 12605 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 22617 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
| 12606 | have_des=yes | 22618 | have_des=yes |
| 12607 | else | 22619 | else |
| 12608 | have_des=no | 22620 | have_des=no |
| @@ -12612,18 +22624,24 @@ fi | |||
| 12612 | DESLIB=-ldes | 22624 | DESLIB=-ldes |
| 12613 | LIBS="$DESLIB $LIBS" | 22625 | LIBS="$DESLIB $LIBS" |
| 12614 | 22626 | ||
| 12615 | $as_echo "#define HAVE_LIBDES 1" >>confdefs.h | 22627 | cat >>confdefs.h <<\_ACEOF |
| 22628 | #define HAVE_LIBDES 1 | ||
| 22629 | _ACEOF | ||
| 12616 | 22630 | ||
| 12617 | fi | 22631 | fi |
| 12618 | fi | 22632 | fi |
| 12619 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 22633 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
| 12620 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 22634 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
| 12621 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 22635 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
| 12622 | $as_echo_n "(cached) " >&6 | 22636 | $as_echo_n "(cached) " >&6 |
| 12623 | else | 22637 | else |
| 12624 | ac_check_lib_save_LIBS=$LIBS | 22638 | ac_check_lib_save_LIBS=$LIBS |
| 12625 | LIBS="-lkrb4 $LIBS" | 22639 | LIBS="-lkrb4 $LIBS" |
| 12626 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22640 | cat >conftest.$ac_ext <<_ACEOF |
| 22641 | /* confdefs.h. */ | ||
| 22642 | _ACEOF | ||
| 22643 | cat confdefs.h >>conftest.$ac_ext | ||
| 22644 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12627 | /* end confdefs.h. */ | 22645 | /* end confdefs.h. */ |
| 12628 | 22646 | ||
| 12629 | /* Override any GCC internal prototype to avoid an error. | 22647 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12641,18 +22659,43 @@ return krb_get_cred (); | |||
| 12641 | return 0; | 22659 | return 0; |
| 12642 | } | 22660 | } |
| 12643 | _ACEOF | 22661 | _ACEOF |
| 12644 | if ac_fn_c_try_link "$LINENO"; then : | 22662 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22663 | if { (ac_try="$ac_link" | ||
| 22664 | case "(($ac_try" in | ||
| 22665 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22666 | *) ac_try_echo=$ac_try;; | ||
| 22667 | esac | ||
| 22668 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22669 | $as_echo "$ac_try_echo") >&5 | ||
| 22670 | (eval "$ac_link") 2>conftest.er1 | ||
| 22671 | ac_status=$? | ||
| 22672 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22673 | rm -f conftest.er1 | ||
| 22674 | cat conftest.err >&5 | ||
| 22675 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22676 | (exit $ac_status); } && { | ||
| 22677 | test -z "$ac_c_werror_flag" || | ||
| 22678 | test ! -s conftest.err | ||
| 22679 | } && test -s conftest$ac_exeext && { | ||
| 22680 | test "$cross_compiling" = yes || | ||
| 22681 | $as_test_x conftest$ac_exeext | ||
| 22682 | }; then | ||
| 12645 | ac_cv_lib_krb4_krb_get_cred=yes | 22683 | ac_cv_lib_krb4_krb_get_cred=yes |
| 12646 | else | 22684 | else |
| 12647 | ac_cv_lib_krb4_krb_get_cred=no | 22685 | $as_echo "$as_me: failed program was:" >&5 |
| 22686 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22687 | |||
| 22688 | ac_cv_lib_krb4_krb_get_cred=no | ||
| 12648 | fi | 22689 | fi |
| 12649 | rm -f core conftest.err conftest.$ac_objext \ | 22690 | |
| 12650 | conftest$ac_exeext conftest.$ac_ext | 22691 | rm -rf conftest.dSYM |
| 22692 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22693 | conftest$ac_exeext conftest.$ac_ext | ||
| 12651 | LIBS=$ac_check_lib_save_LIBS | 22694 | LIBS=$ac_check_lib_save_LIBS |
| 12652 | fi | 22695 | fi |
| 12653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22696 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
| 12654 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 22697 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
| 12655 | if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 22698 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
| 12656 | have_krb4=yes | 22699 | have_krb4=yes |
| 12657 | else | 22700 | else |
| 12658 | have_krb4=no | 22701 | have_krb4=no |
| @@ -12662,17 +22705,23 @@ fi | |||
| 12662 | KRB4LIB=-lkrb4 | 22705 | KRB4LIB=-lkrb4 |
| 12663 | LIBS="$KRB4LIB $LIBS" | 22706 | LIBS="$KRB4LIB $LIBS" |
| 12664 | 22707 | ||
| 12665 | $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 22708 | cat >>confdefs.h <<\_ACEOF |
| 22709 | #define HAVE_LIBKRB4 1 | ||
| 22710 | _ACEOF | ||
| 12666 | 22711 | ||
| 12667 | else | 22712 | else |
| 12668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 22713 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
| 12669 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 22714 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
| 12670 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 22715 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
| 12671 | $as_echo_n "(cached) " >&6 | 22716 | $as_echo_n "(cached) " >&6 |
| 12672 | else | 22717 | else |
| 12673 | ac_check_lib_save_LIBS=$LIBS | 22718 | ac_check_lib_save_LIBS=$LIBS |
| 12674 | LIBS="-lkrb $LIBS" | 22719 | LIBS="-lkrb $LIBS" |
| 12675 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22720 | cat >conftest.$ac_ext <<_ACEOF |
| 22721 | /* confdefs.h. */ | ||
| 22722 | _ACEOF | ||
| 22723 | cat confdefs.h >>conftest.$ac_ext | ||
| 22724 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12676 | /* end confdefs.h. */ | 22725 | /* end confdefs.h. */ |
| 12677 | 22726 | ||
| 12678 | /* Override any GCC internal prototype to avoid an error. | 22727 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12690,18 +22739,43 @@ return krb_get_cred (); | |||
| 12690 | return 0; | 22739 | return 0; |
| 12691 | } | 22740 | } |
| 12692 | _ACEOF | 22741 | _ACEOF |
| 12693 | if ac_fn_c_try_link "$LINENO"; then : | 22742 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22743 | if { (ac_try="$ac_link" | ||
| 22744 | case "(($ac_try" in | ||
| 22745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22746 | *) ac_try_echo=$ac_try;; | ||
| 22747 | esac | ||
| 22748 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22749 | $as_echo "$ac_try_echo") >&5 | ||
| 22750 | (eval "$ac_link") 2>conftest.er1 | ||
| 22751 | ac_status=$? | ||
| 22752 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22753 | rm -f conftest.er1 | ||
| 22754 | cat conftest.err >&5 | ||
| 22755 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22756 | (exit $ac_status); } && { | ||
| 22757 | test -z "$ac_c_werror_flag" || | ||
| 22758 | test ! -s conftest.err | ||
| 22759 | } && test -s conftest$ac_exeext && { | ||
| 22760 | test "$cross_compiling" = yes || | ||
| 22761 | $as_test_x conftest$ac_exeext | ||
| 22762 | }; then | ||
| 12694 | ac_cv_lib_krb_krb_get_cred=yes | 22763 | ac_cv_lib_krb_krb_get_cred=yes |
| 12695 | else | 22764 | else |
| 12696 | ac_cv_lib_krb_krb_get_cred=no | 22765 | $as_echo "$as_me: failed program was:" >&5 |
| 22766 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22767 | |||
| 22768 | ac_cv_lib_krb_krb_get_cred=no | ||
| 12697 | fi | 22769 | fi |
| 12698 | rm -f core conftest.err conftest.$ac_objext \ | 22770 | |
| 12699 | conftest$ac_exeext conftest.$ac_ext | 22771 | rm -rf conftest.dSYM |
| 22772 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22773 | conftest$ac_exeext conftest.$ac_ext | ||
| 12700 | LIBS=$ac_check_lib_save_LIBS | 22774 | LIBS=$ac_check_lib_save_LIBS |
| 12701 | fi | 22775 | fi |
| 12702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22776 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
| 12703 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 22777 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
| 12704 | if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 22778 | if test $ac_cv_lib_krb_krb_get_cred = yes; then |
| 12705 | have_krb=yes | 22779 | have_krb=yes |
| 12706 | else | 22780 | else |
| 12707 | have_krb=no | 22781 | have_krb=no |
| @@ -12711,23 +22785,253 @@ fi | |||
| 12711 | KRB4LIB=-lkrb | 22785 | KRB4LIB=-lkrb |
| 12712 | LIBS="$KRB4LIB $LIBS" | 22786 | LIBS="$KRB4LIB $LIBS" |
| 12713 | 22787 | ||
| 12714 | $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h | 22788 | cat >>confdefs.h <<\_ACEOF |
| 22789 | #define HAVE_LIBKRB 1 | ||
| 22790 | _ACEOF | ||
| 12715 | 22791 | ||
| 12716 | fi | 22792 | fi |
| 12717 | fi | 22793 | fi |
| 12718 | fi | 22794 | fi |
| 12719 | 22795 | ||
| 12720 | if test "${with_kerberos5}" != no; then | 22796 | if test "${with_kerberos5}" != no; then |
| 12721 | for ac_header in krb5.h | 22797 | |
| 12722 | do : | 22798 | for ac_header in krb5.h |
| 12723 | ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 22799 | do |
| 12724 | if test "x$ac_cv_header_krb5_h" = x""yes; then : | 22800 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 22801 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22802 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22803 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22804 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22805 | $as_echo_n "(cached) " >&6 | ||
| 22806 | fi | ||
| 22807 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22808 | $as_echo "$as_val"'` | ||
| 22809 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22810 | $as_echo "$ac_res" >&6; } | ||
| 22811 | else | ||
| 22812 | # Is the header compilable? | ||
| 22813 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22814 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22815 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22816 | /* confdefs.h. */ | ||
| 22817 | _ACEOF | ||
| 22818 | cat confdefs.h >>conftest.$ac_ext | ||
| 22819 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22820 | /* end confdefs.h. */ | ||
| 22821 | $ac_includes_default | ||
| 22822 | #include <$ac_header> | ||
| 22823 | _ACEOF | ||
| 22824 | rm -f conftest.$ac_objext | ||
| 22825 | if { (ac_try="$ac_compile" | ||
| 22826 | case "(($ac_try" in | ||
| 22827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22828 | *) ac_try_echo=$ac_try;; | ||
| 22829 | esac | ||
| 22830 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22831 | $as_echo "$ac_try_echo") >&5 | ||
| 22832 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22833 | ac_status=$? | ||
| 22834 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22835 | rm -f conftest.er1 | ||
| 22836 | cat conftest.err >&5 | ||
| 22837 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22838 | (exit $ac_status); } && { | ||
| 22839 | test -z "$ac_c_werror_flag" || | ||
| 22840 | test ! -s conftest.err | ||
| 22841 | } && test -s conftest.$ac_objext; then | ||
| 22842 | ac_header_compiler=yes | ||
| 22843 | else | ||
| 22844 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22845 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22846 | |||
| 22847 | ac_header_compiler=no | ||
| 22848 | fi | ||
| 22849 | |||
| 22850 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22851 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22852 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22853 | |||
| 22854 | # Is the header present? | ||
| 22855 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22856 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22857 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22858 | /* confdefs.h. */ | ||
| 22859 | _ACEOF | ||
| 22860 | cat confdefs.h >>conftest.$ac_ext | ||
| 22861 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22862 | /* end confdefs.h. */ | ||
| 22863 | #include <$ac_header> | ||
| 22864 | _ACEOF | ||
| 22865 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22866 | case "(($ac_try" in | ||
| 22867 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22868 | *) ac_try_echo=$ac_try;; | ||
| 22869 | esac | ||
| 22870 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22871 | $as_echo "$ac_try_echo") >&5 | ||
| 22872 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22873 | ac_status=$? | ||
| 22874 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22875 | rm -f conftest.er1 | ||
| 22876 | cat conftest.err >&5 | ||
| 22877 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22878 | (exit $ac_status); } >/dev/null && { | ||
| 22879 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22880 | test ! -s conftest.err | ||
| 22881 | }; then | ||
| 22882 | ac_header_preproc=yes | ||
| 22883 | else | ||
| 22884 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22885 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22886 | |||
| 22887 | ac_header_preproc=no | ||
| 22888 | fi | ||
| 22889 | |||
| 22890 | rm -f conftest.err conftest.$ac_ext | ||
| 22891 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22892 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22893 | |||
| 22894 | # So? What about this header? | ||
| 22895 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22896 | yes:no: ) | ||
| 22897 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22898 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22899 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22900 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22901 | ac_header_preproc=yes | ||
| 22902 | ;; | ||
| 22903 | no:yes:* ) | ||
| 22904 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22905 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22906 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22907 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22908 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22909 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22910 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22911 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22912 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22913 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22914 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22915 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22916 | |||
| 22917 | ;; | ||
| 22918 | esac | ||
| 22919 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22920 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22921 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22922 | $as_echo_n "(cached) " >&6 | ||
| 22923 | else | ||
| 22924 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 22925 | fi | ||
| 22926 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22927 | $as_echo "$as_val"'` | ||
| 22928 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22929 | $as_echo "$ac_res" >&6; } | ||
| 22930 | |||
| 22931 | fi | ||
| 22932 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22933 | $as_echo "$as_val"'` = yes; then | ||
| 12725 | cat >>confdefs.h <<_ACEOF | 22934 | cat >>confdefs.h <<_ACEOF |
| 12726 | #define HAVE_KRB5_H 1 | 22935 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12727 | _ACEOF | 22936 | _ACEOF |
| 12728 | ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 22937 | { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 |
| 12729 | " | 22938 | $as_echo_n "checking for krb5_error.text... " >&6; } |
| 12730 | if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 22939 | if test "${ac_cv_member_krb5_error_text+set}" = set; then |
| 22940 | $as_echo_n "(cached) " >&6 | ||
| 22941 | else | ||
| 22942 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22943 | /* confdefs.h. */ | ||
| 22944 | _ACEOF | ||
| 22945 | cat confdefs.h >>conftest.$ac_ext | ||
| 22946 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22947 | /* end confdefs.h. */ | ||
| 22948 | #include <krb5.h> | ||
| 22949 | |||
| 22950 | int | ||
| 22951 | main () | ||
| 22952 | { | ||
| 22953 | static krb5_error ac_aggr; | ||
| 22954 | if (ac_aggr.text) | ||
| 22955 | return 0; | ||
| 22956 | ; | ||
| 22957 | return 0; | ||
| 22958 | } | ||
| 22959 | _ACEOF | ||
| 22960 | rm -f conftest.$ac_objext | ||
| 22961 | if { (ac_try="$ac_compile" | ||
| 22962 | case "(($ac_try" in | ||
| 22963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22964 | *) ac_try_echo=$ac_try;; | ||
| 22965 | esac | ||
| 22966 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22967 | $as_echo "$ac_try_echo") >&5 | ||
| 22968 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22969 | ac_status=$? | ||
| 22970 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22971 | rm -f conftest.er1 | ||
| 22972 | cat conftest.err >&5 | ||
| 22973 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22974 | (exit $ac_status); } && { | ||
| 22975 | test -z "$ac_c_werror_flag" || | ||
| 22976 | test ! -s conftest.err | ||
| 22977 | } && test -s conftest.$ac_objext; then | ||
| 22978 | ac_cv_member_krb5_error_text=yes | ||
| 22979 | else | ||
| 22980 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22981 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22982 | |||
| 22983 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22984 | /* confdefs.h. */ | ||
| 22985 | _ACEOF | ||
| 22986 | cat confdefs.h >>conftest.$ac_ext | ||
| 22987 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22988 | /* end confdefs.h. */ | ||
| 22989 | #include <krb5.h> | ||
| 22990 | |||
| 22991 | int | ||
| 22992 | main () | ||
| 22993 | { | ||
| 22994 | static krb5_error ac_aggr; | ||
| 22995 | if (sizeof ac_aggr.text) | ||
| 22996 | return 0; | ||
| 22997 | ; | ||
| 22998 | return 0; | ||
| 22999 | } | ||
| 23000 | _ACEOF | ||
| 23001 | rm -f conftest.$ac_objext | ||
| 23002 | if { (ac_try="$ac_compile" | ||
| 23003 | case "(($ac_try" in | ||
| 23004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23005 | *) ac_try_echo=$ac_try;; | ||
| 23006 | esac | ||
| 23007 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23008 | $as_echo "$ac_try_echo") >&5 | ||
| 23009 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23010 | ac_status=$? | ||
| 23011 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23012 | rm -f conftest.er1 | ||
| 23013 | cat conftest.err >&5 | ||
| 23014 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23015 | (exit $ac_status); } && { | ||
| 23016 | test -z "$ac_c_werror_flag" || | ||
| 23017 | test ! -s conftest.err | ||
| 23018 | } && test -s conftest.$ac_objext; then | ||
| 23019 | ac_cv_member_krb5_error_text=yes | ||
| 23020 | else | ||
| 23021 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23022 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23023 | |||
| 23024 | ac_cv_member_krb5_error_text=no | ||
| 23025 | fi | ||
| 23026 | |||
| 23027 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23028 | fi | ||
| 23029 | |||
| 23030 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23031 | fi | ||
| 23032 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | ||
| 23033 | $as_echo "$ac_cv_member_krb5_error_text" >&6; } | ||
| 23034 | if test $ac_cv_member_krb5_error_text = yes; then | ||
| 12731 | 23035 | ||
| 12732 | cat >>confdefs.h <<_ACEOF | 23036 | cat >>confdefs.h <<_ACEOF |
| 12733 | #define HAVE_KRB5_ERROR_TEXT 1 | 23037 | #define HAVE_KRB5_ERROR_TEXT 1 |
| @@ -12735,9 +23039,104 @@ _ACEOF | |||
| 12735 | 23039 | ||
| 12736 | 23040 | ||
| 12737 | fi | 23041 | fi |
| 12738 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 23042 | { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 |
| 12739 | " | 23043 | $as_echo_n "checking for krb5_error.e_text... " >&6; } |
| 12740 | if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 23044 | if test "${ac_cv_member_krb5_error_e_text+set}" = set; then |
| 23045 | $as_echo_n "(cached) " >&6 | ||
| 23046 | else | ||
| 23047 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23048 | /* confdefs.h. */ | ||
| 23049 | _ACEOF | ||
| 23050 | cat confdefs.h >>conftest.$ac_ext | ||
| 23051 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23052 | /* end confdefs.h. */ | ||
| 23053 | #include <krb5.h> | ||
| 23054 | |||
| 23055 | int | ||
| 23056 | main () | ||
| 23057 | { | ||
| 23058 | static krb5_error ac_aggr; | ||
| 23059 | if (ac_aggr.e_text) | ||
| 23060 | return 0; | ||
| 23061 | ; | ||
| 23062 | return 0; | ||
| 23063 | } | ||
| 23064 | _ACEOF | ||
| 23065 | rm -f conftest.$ac_objext | ||
| 23066 | if { (ac_try="$ac_compile" | ||
| 23067 | case "(($ac_try" in | ||
| 23068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23069 | *) ac_try_echo=$ac_try;; | ||
| 23070 | esac | ||
| 23071 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23072 | $as_echo "$ac_try_echo") >&5 | ||
| 23073 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23074 | ac_status=$? | ||
| 23075 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23076 | rm -f conftest.er1 | ||
| 23077 | cat conftest.err >&5 | ||
| 23078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23079 | (exit $ac_status); } && { | ||
| 23080 | test -z "$ac_c_werror_flag" || | ||
| 23081 | test ! -s conftest.err | ||
| 23082 | } && test -s conftest.$ac_objext; then | ||
| 23083 | ac_cv_member_krb5_error_e_text=yes | ||
| 23084 | else | ||
| 23085 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23086 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23087 | |||
| 23088 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23089 | /* confdefs.h. */ | ||
| 23090 | _ACEOF | ||
| 23091 | cat confdefs.h >>conftest.$ac_ext | ||
| 23092 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23093 | /* end confdefs.h. */ | ||
| 23094 | #include <krb5.h> | ||
| 23095 | |||
| 23096 | int | ||
| 23097 | main () | ||
| 23098 | { | ||
| 23099 | static krb5_error ac_aggr; | ||
| 23100 | if (sizeof ac_aggr.e_text) | ||
| 23101 | return 0; | ||
| 23102 | ; | ||
| 23103 | return 0; | ||
| 23104 | } | ||
| 23105 | _ACEOF | ||
| 23106 | rm -f conftest.$ac_objext | ||
| 23107 | if { (ac_try="$ac_compile" | ||
| 23108 | case "(($ac_try" in | ||
| 23109 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23110 | *) ac_try_echo=$ac_try;; | ||
| 23111 | esac | ||
| 23112 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23113 | $as_echo "$ac_try_echo") >&5 | ||
| 23114 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23115 | ac_status=$? | ||
| 23116 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23117 | rm -f conftest.er1 | ||
| 23118 | cat conftest.err >&5 | ||
| 23119 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23120 | (exit $ac_status); } && { | ||
| 23121 | test -z "$ac_c_werror_flag" || | ||
| 23122 | test ! -s conftest.err | ||
| 23123 | } && test -s conftest.$ac_objext; then | ||
| 23124 | ac_cv_member_krb5_error_e_text=yes | ||
| 23125 | else | ||
| 23126 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23127 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23128 | |||
| 23129 | ac_cv_member_krb5_error_e_text=no | ||
| 23130 | fi | ||
| 23131 | |||
| 23132 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23133 | fi | ||
| 23134 | |||
| 23135 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23136 | fi | ||
| 23137 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | ||
| 23138 | $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | ||
| 23139 | if test $ac_cv_member_krb5_error_e_text = yes; then | ||
| 12741 | 23140 | ||
| 12742 | cat >>confdefs.h <<_ACEOF | 23141 | cat >>confdefs.h <<_ACEOF |
| 12743 | #define HAVE_KRB5_ERROR_E_TEXT 1 | 23142 | #define HAVE_KRB5_ERROR_E_TEXT 1 |
| @@ -12751,30 +23150,429 @@ fi | |||
| 12751 | done | 23150 | done |
| 12752 | 23151 | ||
| 12753 | else | 23152 | else |
| 12754 | for ac_header in des.h | 23153 | |
| 12755 | do : | 23154 | for ac_header in des.h |
| 12756 | ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 23155 | do |
| 12757 | if test "x$ac_cv_header_des_h" = x""yes; then : | 23156 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23157 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23158 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23159 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23160 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23161 | $as_echo_n "(cached) " >&6 | ||
| 23162 | fi | ||
| 23163 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23164 | $as_echo "$as_val"'` | ||
| 23165 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23166 | $as_echo "$ac_res" >&6; } | ||
| 23167 | else | ||
| 23168 | # Is the header compilable? | ||
| 23169 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23170 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23171 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23172 | /* confdefs.h. */ | ||
| 23173 | _ACEOF | ||
| 23174 | cat confdefs.h >>conftest.$ac_ext | ||
| 23175 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23176 | /* end confdefs.h. */ | ||
| 23177 | $ac_includes_default | ||
| 23178 | #include <$ac_header> | ||
| 23179 | _ACEOF | ||
| 23180 | rm -f conftest.$ac_objext | ||
| 23181 | if { (ac_try="$ac_compile" | ||
| 23182 | case "(($ac_try" in | ||
| 23183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23184 | *) ac_try_echo=$ac_try;; | ||
| 23185 | esac | ||
| 23186 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23187 | $as_echo "$ac_try_echo") >&5 | ||
| 23188 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23189 | ac_status=$? | ||
| 23190 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23191 | rm -f conftest.er1 | ||
| 23192 | cat conftest.err >&5 | ||
| 23193 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23194 | (exit $ac_status); } && { | ||
| 23195 | test -z "$ac_c_werror_flag" || | ||
| 23196 | test ! -s conftest.err | ||
| 23197 | } && test -s conftest.$ac_objext; then | ||
| 23198 | ac_header_compiler=yes | ||
| 23199 | else | ||
| 23200 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23201 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23202 | |||
| 23203 | ac_header_compiler=no | ||
| 23204 | fi | ||
| 23205 | |||
| 23206 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23207 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23208 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23209 | |||
| 23210 | # Is the header present? | ||
| 23211 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23212 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23213 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23214 | /* confdefs.h. */ | ||
| 23215 | _ACEOF | ||
| 23216 | cat confdefs.h >>conftest.$ac_ext | ||
| 23217 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23218 | /* end confdefs.h. */ | ||
| 23219 | #include <$ac_header> | ||
| 23220 | _ACEOF | ||
| 23221 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23222 | case "(($ac_try" in | ||
| 23223 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23224 | *) ac_try_echo=$ac_try;; | ||
| 23225 | esac | ||
| 23226 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23227 | $as_echo "$ac_try_echo") >&5 | ||
| 23228 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23229 | ac_status=$? | ||
| 23230 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23231 | rm -f conftest.er1 | ||
| 23232 | cat conftest.err >&5 | ||
| 23233 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23234 | (exit $ac_status); } >/dev/null && { | ||
| 23235 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23236 | test ! -s conftest.err | ||
| 23237 | }; then | ||
| 23238 | ac_header_preproc=yes | ||
| 23239 | else | ||
| 23240 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23241 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23242 | |||
| 23243 | ac_header_preproc=no | ||
| 23244 | fi | ||
| 23245 | |||
| 23246 | rm -f conftest.err conftest.$ac_ext | ||
| 23247 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23248 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23249 | |||
| 23250 | # So? What about this header? | ||
| 23251 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23252 | yes:no: ) | ||
| 23253 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23254 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23255 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23256 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23257 | ac_header_preproc=yes | ||
| 23258 | ;; | ||
| 23259 | no:yes:* ) | ||
| 23260 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23261 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23262 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23263 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23264 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23265 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23266 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23267 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23268 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23269 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23270 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23271 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23272 | |||
| 23273 | ;; | ||
| 23274 | esac | ||
| 23275 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23276 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23277 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23278 | $as_echo_n "(cached) " >&6 | ||
| 23279 | else | ||
| 23280 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23281 | fi | ||
| 23282 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23283 | $as_echo "$as_val"'` | ||
| 23284 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23285 | $as_echo "$ac_res" >&6; } | ||
| 23286 | |||
| 23287 | fi | ||
| 23288 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23289 | $as_echo "$as_val"'` = yes; then | ||
| 12758 | cat >>confdefs.h <<_ACEOF | 23290 | cat >>confdefs.h <<_ACEOF |
| 12759 | #define HAVE_DES_H 1 | 23291 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23292 | _ACEOF | ||
| 23293 | |||
| 23294 | else | ||
| 23295 | |||
| 23296 | for ac_header in kerberosIV/des.h | ||
| 23297 | do | ||
| 23298 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23299 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23300 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23301 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23302 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23303 | $as_echo_n "(cached) " >&6 | ||
| 23304 | fi | ||
| 23305 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23306 | $as_echo "$as_val"'` | ||
| 23307 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23308 | $as_echo "$ac_res" >&6; } | ||
| 23309 | else | ||
| 23310 | # Is the header compilable? | ||
| 23311 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23312 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23313 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23314 | /* confdefs.h. */ | ||
| 23315 | _ACEOF | ||
| 23316 | cat confdefs.h >>conftest.$ac_ext | ||
| 23317 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23318 | /* end confdefs.h. */ | ||
| 23319 | $ac_includes_default | ||
| 23320 | #include <$ac_header> | ||
| 23321 | _ACEOF | ||
| 23322 | rm -f conftest.$ac_objext | ||
| 23323 | if { (ac_try="$ac_compile" | ||
| 23324 | case "(($ac_try" in | ||
| 23325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23326 | *) ac_try_echo=$ac_try;; | ||
| 23327 | esac | ||
| 23328 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23329 | $as_echo "$ac_try_echo") >&5 | ||
| 23330 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23331 | ac_status=$? | ||
| 23332 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23333 | rm -f conftest.er1 | ||
| 23334 | cat conftest.err >&5 | ||
| 23335 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23336 | (exit $ac_status); } && { | ||
| 23337 | test -z "$ac_c_werror_flag" || | ||
| 23338 | test ! -s conftest.err | ||
| 23339 | } && test -s conftest.$ac_objext; then | ||
| 23340 | ac_header_compiler=yes | ||
| 23341 | else | ||
| 23342 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23344 | |||
| 23345 | ac_header_compiler=no | ||
| 23346 | fi | ||
| 23347 | |||
| 23348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23349 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23350 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23351 | |||
| 23352 | # Is the header present? | ||
| 23353 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23354 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23355 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23356 | /* confdefs.h. */ | ||
| 23357 | _ACEOF | ||
| 23358 | cat confdefs.h >>conftest.$ac_ext | ||
| 23359 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23360 | /* end confdefs.h. */ | ||
| 23361 | #include <$ac_header> | ||
| 12760 | _ACEOF | 23362 | _ACEOF |
| 23363 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23364 | case "(($ac_try" in | ||
| 23365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23366 | *) ac_try_echo=$ac_try;; | ||
| 23367 | esac | ||
| 23368 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23369 | $as_echo "$ac_try_echo") >&5 | ||
| 23370 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23371 | ac_status=$? | ||
| 23372 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23373 | rm -f conftest.er1 | ||
| 23374 | cat conftest.err >&5 | ||
| 23375 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23376 | (exit $ac_status); } >/dev/null && { | ||
| 23377 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23378 | test ! -s conftest.err | ||
| 23379 | }; then | ||
| 23380 | ac_header_preproc=yes | ||
| 23381 | else | ||
| 23382 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23384 | |||
| 23385 | ac_header_preproc=no | ||
| 23386 | fi | ||
| 23387 | |||
| 23388 | rm -f conftest.err conftest.$ac_ext | ||
| 23389 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23390 | $as_echo "$ac_header_preproc" >&6; } | ||
| 12761 | 23391 | ||
| 23392 | # So? What about this header? | ||
| 23393 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23394 | yes:no: ) | ||
| 23395 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23396 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23397 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23398 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23399 | ac_header_preproc=yes | ||
| 23400 | ;; | ||
| 23401 | no:yes:* ) | ||
| 23402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23403 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23404 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23405 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23406 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23407 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23408 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23409 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23410 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23411 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23412 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23413 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23414 | |||
| 23415 | ;; | ||
| 23416 | esac | ||
| 23417 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23418 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23419 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23420 | $as_echo_n "(cached) " >&6 | ||
| 12762 | else | 23421 | else |
| 12763 | for ac_header in kerberosIV/des.h | 23422 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12764 | do : | 23423 | fi |
| 12765 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 23424 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12766 | if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 23425 | $as_echo "$as_val"'` |
| 23426 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23427 | $as_echo "$ac_res" >&6; } | ||
| 23428 | |||
| 23429 | fi | ||
| 23430 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23431 | $as_echo "$as_val"'` = yes; then | ||
| 12767 | cat >>confdefs.h <<_ACEOF | 23432 | cat >>confdefs.h <<_ACEOF |
| 12768 | #define HAVE_KERBEROSIV_DES_H 1 | 23433 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12769 | _ACEOF | 23434 | _ACEOF |
| 12770 | 23435 | ||
| 12771 | else | 23436 | else |
| 12772 | for ac_header in kerberos/des.h | 23437 | |
| 12773 | do : | 23438 | for ac_header in kerberos/des.h |
| 12774 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 23439 | do |
| 12775 | if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 23440 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23441 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23442 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23443 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23444 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23445 | $as_echo_n "(cached) " >&6 | ||
| 23446 | fi | ||
| 23447 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23448 | $as_echo "$as_val"'` | ||
| 23449 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23450 | $as_echo "$ac_res" >&6; } | ||
| 23451 | else | ||
| 23452 | # Is the header compilable? | ||
| 23453 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23454 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23455 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23456 | /* confdefs.h. */ | ||
| 23457 | _ACEOF | ||
| 23458 | cat confdefs.h >>conftest.$ac_ext | ||
| 23459 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23460 | /* end confdefs.h. */ | ||
| 23461 | $ac_includes_default | ||
| 23462 | #include <$ac_header> | ||
| 23463 | _ACEOF | ||
| 23464 | rm -f conftest.$ac_objext | ||
| 23465 | if { (ac_try="$ac_compile" | ||
| 23466 | case "(($ac_try" in | ||
| 23467 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23468 | *) ac_try_echo=$ac_try;; | ||
| 23469 | esac | ||
| 23470 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23471 | $as_echo "$ac_try_echo") >&5 | ||
| 23472 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23473 | ac_status=$? | ||
| 23474 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23475 | rm -f conftest.er1 | ||
| 23476 | cat conftest.err >&5 | ||
| 23477 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23478 | (exit $ac_status); } && { | ||
| 23479 | test -z "$ac_c_werror_flag" || | ||
| 23480 | test ! -s conftest.err | ||
| 23481 | } && test -s conftest.$ac_objext; then | ||
| 23482 | ac_header_compiler=yes | ||
| 23483 | else | ||
| 23484 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23485 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23486 | |||
| 23487 | ac_header_compiler=no | ||
| 23488 | fi | ||
| 23489 | |||
| 23490 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23491 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23492 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23493 | |||
| 23494 | # Is the header present? | ||
| 23495 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23496 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23497 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23498 | /* confdefs.h. */ | ||
| 23499 | _ACEOF | ||
| 23500 | cat confdefs.h >>conftest.$ac_ext | ||
| 23501 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23502 | /* end confdefs.h. */ | ||
| 23503 | #include <$ac_header> | ||
| 23504 | _ACEOF | ||
| 23505 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23506 | case "(($ac_try" in | ||
| 23507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23508 | *) ac_try_echo=$ac_try;; | ||
| 23509 | esac | ||
| 23510 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23511 | $as_echo "$ac_try_echo") >&5 | ||
| 23512 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23513 | ac_status=$? | ||
| 23514 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23515 | rm -f conftest.er1 | ||
| 23516 | cat conftest.err >&5 | ||
| 23517 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23518 | (exit $ac_status); } >/dev/null && { | ||
| 23519 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23520 | test ! -s conftest.err | ||
| 23521 | }; then | ||
| 23522 | ac_header_preproc=yes | ||
| 23523 | else | ||
| 23524 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23525 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23526 | |||
| 23527 | ac_header_preproc=no | ||
| 23528 | fi | ||
| 23529 | |||
| 23530 | rm -f conftest.err conftest.$ac_ext | ||
| 23531 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23532 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23533 | |||
| 23534 | # So? What about this header? | ||
| 23535 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23536 | yes:no: ) | ||
| 23537 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23538 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23539 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23540 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23541 | ac_header_preproc=yes | ||
| 23542 | ;; | ||
| 23543 | no:yes:* ) | ||
| 23544 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23545 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23546 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23547 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23548 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23549 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23550 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23551 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23552 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23553 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23554 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23555 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23556 | |||
| 23557 | ;; | ||
| 23558 | esac | ||
| 23559 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23560 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23561 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23562 | $as_echo_n "(cached) " >&6 | ||
| 23563 | else | ||
| 23564 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23565 | fi | ||
| 23566 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23567 | $as_echo "$as_val"'` | ||
| 23568 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23569 | $as_echo "$ac_res" >&6; } | ||
| 23570 | |||
| 23571 | fi | ||
| 23572 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23573 | $as_echo "$as_val"'` = yes; then | ||
| 12776 | cat >>confdefs.h <<_ACEOF | 23574 | cat >>confdefs.h <<_ACEOF |
| 12777 | #define HAVE_KERBEROS_DES_H 1 | 23575 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12778 | _ACEOF | 23576 | _ACEOF |
| 12779 | 23577 | ||
| 12780 | fi | 23578 | fi |
| @@ -12789,30 +23587,429 @@ fi | |||
| 12789 | 23587 | ||
| 12790 | done | 23588 | done |
| 12791 | 23589 | ||
| 12792 | for ac_header in krb.h | 23590 | |
| 12793 | do : | 23591 | for ac_header in krb.h |
| 12794 | ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 23592 | do |
| 12795 | if test "x$ac_cv_header_krb_h" = x""yes; then : | 23593 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23594 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23595 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23596 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23597 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23598 | $as_echo_n "(cached) " >&6 | ||
| 23599 | fi | ||
| 23600 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23601 | $as_echo "$as_val"'` | ||
| 23602 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23603 | $as_echo "$ac_res" >&6; } | ||
| 23604 | else | ||
| 23605 | # Is the header compilable? | ||
| 23606 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23607 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23608 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23609 | /* confdefs.h. */ | ||
| 23610 | _ACEOF | ||
| 23611 | cat confdefs.h >>conftest.$ac_ext | ||
| 23612 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23613 | /* end confdefs.h. */ | ||
| 23614 | $ac_includes_default | ||
| 23615 | #include <$ac_header> | ||
| 23616 | _ACEOF | ||
| 23617 | rm -f conftest.$ac_objext | ||
| 23618 | if { (ac_try="$ac_compile" | ||
| 23619 | case "(($ac_try" in | ||
| 23620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23621 | *) ac_try_echo=$ac_try;; | ||
| 23622 | esac | ||
| 23623 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23624 | $as_echo "$ac_try_echo") >&5 | ||
| 23625 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23626 | ac_status=$? | ||
| 23627 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23628 | rm -f conftest.er1 | ||
| 23629 | cat conftest.err >&5 | ||
| 23630 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23631 | (exit $ac_status); } && { | ||
| 23632 | test -z "$ac_c_werror_flag" || | ||
| 23633 | test ! -s conftest.err | ||
| 23634 | } && test -s conftest.$ac_objext; then | ||
| 23635 | ac_header_compiler=yes | ||
| 23636 | else | ||
| 23637 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23638 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23639 | |||
| 23640 | ac_header_compiler=no | ||
| 23641 | fi | ||
| 23642 | |||
| 23643 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23644 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23645 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23646 | |||
| 23647 | # Is the header present? | ||
| 23648 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23649 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23650 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23651 | /* confdefs.h. */ | ||
| 23652 | _ACEOF | ||
| 23653 | cat confdefs.h >>conftest.$ac_ext | ||
| 23654 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23655 | /* end confdefs.h. */ | ||
| 23656 | #include <$ac_header> | ||
| 23657 | _ACEOF | ||
| 23658 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23659 | case "(($ac_try" in | ||
| 23660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23661 | *) ac_try_echo=$ac_try;; | ||
| 23662 | esac | ||
| 23663 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23664 | $as_echo "$ac_try_echo") >&5 | ||
| 23665 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23666 | ac_status=$? | ||
| 23667 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23668 | rm -f conftest.er1 | ||
| 23669 | cat conftest.err >&5 | ||
| 23670 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23671 | (exit $ac_status); } >/dev/null && { | ||
| 23672 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23673 | test ! -s conftest.err | ||
| 23674 | }; then | ||
| 23675 | ac_header_preproc=yes | ||
| 23676 | else | ||
| 23677 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23678 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23679 | |||
| 23680 | ac_header_preproc=no | ||
| 23681 | fi | ||
| 23682 | |||
| 23683 | rm -f conftest.err conftest.$ac_ext | ||
| 23684 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23685 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23686 | |||
| 23687 | # So? What about this header? | ||
| 23688 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23689 | yes:no: ) | ||
| 23690 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23691 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23692 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23693 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23694 | ac_header_preproc=yes | ||
| 23695 | ;; | ||
| 23696 | no:yes:* ) | ||
| 23697 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23698 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23699 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23700 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23701 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23702 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23703 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23704 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23705 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23706 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23707 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23708 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23709 | |||
| 23710 | ;; | ||
| 23711 | esac | ||
| 23712 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23713 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23714 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23715 | $as_echo_n "(cached) " >&6 | ||
| 23716 | else | ||
| 23717 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23718 | fi | ||
| 23719 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23720 | $as_echo "$as_val"'` | ||
| 23721 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23722 | $as_echo "$ac_res" >&6; } | ||
| 23723 | |||
| 23724 | fi | ||
| 23725 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23726 | $as_echo "$as_val"'` = yes; then | ||
| 12796 | cat >>confdefs.h <<_ACEOF | 23727 | cat >>confdefs.h <<_ACEOF |
| 12797 | #define HAVE_KRB_H 1 | 23728 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23729 | _ACEOF | ||
| 23730 | |||
| 23731 | else | ||
| 23732 | |||
| 23733 | for ac_header in kerberosIV/krb.h | ||
| 23734 | do | ||
| 23735 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23736 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23737 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23738 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23739 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23740 | $as_echo_n "(cached) " >&6 | ||
| 23741 | fi | ||
| 23742 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23743 | $as_echo "$as_val"'` | ||
| 23744 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23745 | $as_echo "$ac_res" >&6; } | ||
| 23746 | else | ||
| 23747 | # Is the header compilable? | ||
| 23748 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23749 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23750 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23751 | /* confdefs.h. */ | ||
| 23752 | _ACEOF | ||
| 23753 | cat confdefs.h >>conftest.$ac_ext | ||
| 23754 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23755 | /* end confdefs.h. */ | ||
| 23756 | $ac_includes_default | ||
| 23757 | #include <$ac_header> | ||
| 23758 | _ACEOF | ||
| 23759 | rm -f conftest.$ac_objext | ||
| 23760 | if { (ac_try="$ac_compile" | ||
| 23761 | case "(($ac_try" in | ||
| 23762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23763 | *) ac_try_echo=$ac_try;; | ||
| 23764 | esac | ||
| 23765 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23766 | $as_echo "$ac_try_echo") >&5 | ||
| 23767 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23768 | ac_status=$? | ||
| 23769 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23770 | rm -f conftest.er1 | ||
| 23771 | cat conftest.err >&5 | ||
| 23772 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23773 | (exit $ac_status); } && { | ||
| 23774 | test -z "$ac_c_werror_flag" || | ||
| 23775 | test ! -s conftest.err | ||
| 23776 | } && test -s conftest.$ac_objext; then | ||
| 23777 | ac_header_compiler=yes | ||
| 23778 | else | ||
| 23779 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23780 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23781 | |||
| 23782 | ac_header_compiler=no | ||
| 23783 | fi | ||
| 23784 | |||
| 23785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23786 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23787 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23788 | |||
| 23789 | # Is the header present? | ||
| 23790 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23791 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23792 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23793 | /* confdefs.h. */ | ||
| 12798 | _ACEOF | 23794 | _ACEOF |
| 23795 | cat confdefs.h >>conftest.$ac_ext | ||
| 23796 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23797 | /* end confdefs.h. */ | ||
| 23798 | #include <$ac_header> | ||
| 23799 | _ACEOF | ||
| 23800 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23801 | case "(($ac_try" in | ||
| 23802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23803 | *) ac_try_echo=$ac_try;; | ||
| 23804 | esac | ||
| 23805 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23806 | $as_echo "$ac_try_echo") >&5 | ||
| 23807 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23808 | ac_status=$? | ||
| 23809 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23810 | rm -f conftest.er1 | ||
| 23811 | cat conftest.err >&5 | ||
| 23812 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23813 | (exit $ac_status); } >/dev/null && { | ||
| 23814 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23815 | test ! -s conftest.err | ||
| 23816 | }; then | ||
| 23817 | ac_header_preproc=yes | ||
| 23818 | else | ||
| 23819 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23820 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23821 | |||
| 23822 | ac_header_preproc=no | ||
| 23823 | fi | ||
| 23824 | |||
| 23825 | rm -f conftest.err conftest.$ac_ext | ||
| 23826 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23827 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23828 | |||
| 23829 | # So? What about this header? | ||
| 23830 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23831 | yes:no: ) | ||
| 23832 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23833 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23834 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23835 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23836 | ac_header_preproc=yes | ||
| 23837 | ;; | ||
| 23838 | no:yes:* ) | ||
| 23839 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23840 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23841 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23842 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23843 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23844 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23845 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23846 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23847 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23848 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23849 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23850 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12799 | 23851 | ||
| 23852 | ;; | ||
| 23853 | esac | ||
| 23854 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23855 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23856 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23857 | $as_echo_n "(cached) " >&6 | ||
| 12800 | else | 23858 | else |
| 12801 | for ac_header in kerberosIV/krb.h | 23859 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12802 | do : | 23860 | fi |
| 12803 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 23861 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12804 | if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 23862 | $as_echo "$as_val"'` |
| 23863 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23864 | $as_echo "$ac_res" >&6; } | ||
| 23865 | |||
| 23866 | fi | ||
| 23867 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23868 | $as_echo "$as_val"'` = yes; then | ||
| 12805 | cat >>confdefs.h <<_ACEOF | 23869 | cat >>confdefs.h <<_ACEOF |
| 12806 | #define HAVE_KERBEROSIV_KRB_H 1 | 23870 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23871 | _ACEOF | ||
| 23872 | |||
| 23873 | else | ||
| 23874 | |||
| 23875 | for ac_header in kerberos/krb.h | ||
| 23876 | do | ||
| 23877 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23878 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23879 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23880 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23881 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23882 | $as_echo_n "(cached) " >&6 | ||
| 23883 | fi | ||
| 23884 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23885 | $as_echo "$as_val"'` | ||
| 23886 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23887 | $as_echo "$ac_res" >&6; } | ||
| 23888 | else | ||
| 23889 | # Is the header compilable? | ||
| 23890 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23891 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23892 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23893 | /* confdefs.h. */ | ||
| 23894 | _ACEOF | ||
| 23895 | cat confdefs.h >>conftest.$ac_ext | ||
| 23896 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23897 | /* end confdefs.h. */ | ||
| 23898 | $ac_includes_default | ||
| 23899 | #include <$ac_header> | ||
| 23900 | _ACEOF | ||
| 23901 | rm -f conftest.$ac_objext | ||
| 23902 | if { (ac_try="$ac_compile" | ||
| 23903 | case "(($ac_try" in | ||
| 23904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23905 | *) ac_try_echo=$ac_try;; | ||
| 23906 | esac | ||
| 23907 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23908 | $as_echo "$ac_try_echo") >&5 | ||
| 23909 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23910 | ac_status=$? | ||
| 23911 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23912 | rm -f conftest.er1 | ||
| 23913 | cat conftest.err >&5 | ||
| 23914 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23915 | (exit $ac_status); } && { | ||
| 23916 | test -z "$ac_c_werror_flag" || | ||
| 23917 | test ! -s conftest.err | ||
| 23918 | } && test -s conftest.$ac_objext; then | ||
| 23919 | ac_header_compiler=yes | ||
| 23920 | else | ||
| 23921 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23923 | |||
| 23924 | ac_header_compiler=no | ||
| 23925 | fi | ||
| 23926 | |||
| 23927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23928 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23929 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23930 | |||
| 23931 | # Is the header present? | ||
| 23932 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23933 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23934 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23935 | /* confdefs.h. */ | ||
| 12807 | _ACEOF | 23936 | _ACEOF |
| 23937 | cat confdefs.h >>conftest.$ac_ext | ||
| 23938 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23939 | /* end confdefs.h. */ | ||
| 23940 | #include <$ac_header> | ||
| 23941 | _ACEOF | ||
| 23942 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23943 | case "(($ac_try" in | ||
| 23944 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23945 | *) ac_try_echo=$ac_try;; | ||
| 23946 | esac | ||
| 23947 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23948 | $as_echo "$ac_try_echo") >&5 | ||
| 23949 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23950 | ac_status=$? | ||
| 23951 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23952 | rm -f conftest.er1 | ||
| 23953 | cat conftest.err >&5 | ||
| 23954 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23955 | (exit $ac_status); } >/dev/null && { | ||
| 23956 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23957 | test ! -s conftest.err | ||
| 23958 | }; then | ||
| 23959 | ac_header_preproc=yes | ||
| 23960 | else | ||
| 23961 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23962 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23963 | |||
| 23964 | ac_header_preproc=no | ||
| 23965 | fi | ||
| 23966 | |||
| 23967 | rm -f conftest.err conftest.$ac_ext | ||
| 23968 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23969 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23970 | |||
| 23971 | # So? What about this header? | ||
| 23972 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23973 | yes:no: ) | ||
| 23974 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23975 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23976 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23977 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23978 | ac_header_preproc=yes | ||
| 23979 | ;; | ||
| 23980 | no:yes:* ) | ||
| 23981 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23982 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23983 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23984 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23985 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23986 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23987 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23988 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23989 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23990 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23991 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23992 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12808 | 23993 | ||
| 23994 | ;; | ||
| 23995 | esac | ||
| 23996 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23997 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23998 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23999 | $as_echo_n "(cached) " >&6 | ||
| 12809 | else | 24000 | else |
| 12810 | for ac_header in kerberos/krb.h | 24001 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12811 | do : | 24002 | fi |
| 12812 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 24003 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12813 | if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 24004 | $as_echo "$as_val"'` |
| 24005 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24006 | $as_echo "$ac_res" >&6; } | ||
| 24007 | |||
| 24008 | fi | ||
| 24009 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24010 | $as_echo "$as_val"'` = yes; then | ||
| 12814 | cat >>confdefs.h <<_ACEOF | 24011 | cat >>confdefs.h <<_ACEOF |
| 12815 | #define HAVE_KERBEROS_KRB_H 1 | 24012 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12816 | _ACEOF | 24013 | _ACEOF |
| 12817 | 24014 | ||
| 12818 | fi | 24015 | fi |
| @@ -12828,12 +24025,145 @@ fi | |||
| 12828 | done | 24025 | done |
| 12829 | 24026 | ||
| 12830 | fi | 24027 | fi |
| 12831 | for ac_header in com_err.h | 24028 | |
| 12832 | do : | 24029 | for ac_header in com_err.h |
| 12833 | ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 24030 | do |
| 12834 | if test "x$ac_cv_header_com_err_h" = x""yes; then : | 24031 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 24032 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24033 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24034 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24035 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24036 | $as_echo_n "(cached) " >&6 | ||
| 24037 | fi | ||
| 24038 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24039 | $as_echo "$as_val"'` | ||
| 24040 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24041 | $as_echo "$ac_res" >&6; } | ||
| 24042 | else | ||
| 24043 | # Is the header compilable? | ||
| 24044 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24045 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24046 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24047 | /* confdefs.h. */ | ||
| 24048 | _ACEOF | ||
| 24049 | cat confdefs.h >>conftest.$ac_ext | ||
| 24050 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24051 | /* end confdefs.h. */ | ||
| 24052 | $ac_includes_default | ||
| 24053 | #include <$ac_header> | ||
| 24054 | _ACEOF | ||
| 24055 | rm -f conftest.$ac_objext | ||
| 24056 | if { (ac_try="$ac_compile" | ||
| 24057 | case "(($ac_try" in | ||
| 24058 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24059 | *) ac_try_echo=$ac_try;; | ||
| 24060 | esac | ||
| 24061 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24062 | $as_echo "$ac_try_echo") >&5 | ||
| 24063 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24064 | ac_status=$? | ||
| 24065 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24066 | rm -f conftest.er1 | ||
| 24067 | cat conftest.err >&5 | ||
| 24068 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24069 | (exit $ac_status); } && { | ||
| 24070 | test -z "$ac_c_werror_flag" || | ||
| 24071 | test ! -s conftest.err | ||
| 24072 | } && test -s conftest.$ac_objext; then | ||
| 24073 | ac_header_compiler=yes | ||
| 24074 | else | ||
| 24075 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24076 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24077 | |||
| 24078 | ac_header_compiler=no | ||
| 24079 | fi | ||
| 24080 | |||
| 24081 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24082 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24083 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24084 | |||
| 24085 | # Is the header present? | ||
| 24086 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24087 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24088 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24089 | /* confdefs.h. */ | ||
| 24090 | _ACEOF | ||
| 24091 | cat confdefs.h >>conftest.$ac_ext | ||
| 24092 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24093 | /* end confdefs.h. */ | ||
| 24094 | #include <$ac_header> | ||
| 24095 | _ACEOF | ||
| 24096 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24097 | case "(($ac_try" in | ||
| 24098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24099 | *) ac_try_echo=$ac_try;; | ||
| 24100 | esac | ||
| 24101 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24102 | $as_echo "$ac_try_echo") >&5 | ||
| 24103 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24104 | ac_status=$? | ||
| 24105 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24106 | rm -f conftest.er1 | ||
| 24107 | cat conftest.err >&5 | ||
| 24108 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24109 | (exit $ac_status); } >/dev/null && { | ||
| 24110 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24111 | test ! -s conftest.err | ||
| 24112 | }; then | ||
| 24113 | ac_header_preproc=yes | ||
| 24114 | else | ||
| 24115 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24116 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24117 | |||
| 24118 | ac_header_preproc=no | ||
| 24119 | fi | ||
| 24120 | |||
| 24121 | rm -f conftest.err conftest.$ac_ext | ||
| 24122 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24123 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24124 | |||
| 24125 | # So? What about this header? | ||
| 24126 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24127 | yes:no: ) | ||
| 24128 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24129 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24130 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 24131 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 24132 | ac_header_preproc=yes | ||
| 24133 | ;; | ||
| 24134 | no:yes:* ) | ||
| 24135 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 24136 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 24137 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 24138 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 24139 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 24140 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 24141 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24142 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24143 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 24144 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 24145 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 24146 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 24147 | |||
| 24148 | ;; | ||
| 24149 | esac | ||
| 24150 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24151 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24152 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24153 | $as_echo_n "(cached) " >&6 | ||
| 24154 | else | ||
| 24155 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 24156 | fi | ||
| 24157 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24158 | $as_echo "$as_val"'` | ||
| 24159 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24160 | $as_echo "$ac_res" >&6; } | ||
| 24161 | |||
| 24162 | fi | ||
| 24163 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24164 | $as_echo "$as_val"'` = yes; then | ||
| 12835 | cat >>confdefs.h <<_ACEOF | 24165 | cat >>confdefs.h <<_ACEOF |
| 12836 | #define HAVE_COM_ERR_H 1 | 24166 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12837 | _ACEOF | 24167 | _ACEOF |
| 12838 | 24168 | ||
| 12839 | fi | 24169 | fi |
| @@ -12850,14 +24180,19 @@ fi | |||
| 12850 | 24180 | ||
| 12851 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 24181 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 12852 | # to return localized messages. | 24182 | # to return localized messages. |
| 12853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 24183 | |
| 24184 | { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | ||
| 12854 | $as_echo_n "checking for dgettext in -lintl... " >&6; } | 24185 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
| 12855 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 24186 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
| 12856 | $as_echo_n "(cached) " >&6 | 24187 | $as_echo_n "(cached) " >&6 |
| 12857 | else | 24188 | else |
| 12858 | ac_check_lib_save_LIBS=$LIBS | 24189 | ac_check_lib_save_LIBS=$LIBS |
| 12859 | LIBS="-lintl $LIBS" | 24190 | LIBS="-lintl $LIBS" |
| 12860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24191 | cat >conftest.$ac_ext <<_ACEOF |
| 24192 | /* confdefs.h. */ | ||
| 24193 | _ACEOF | ||
| 24194 | cat confdefs.h >>conftest.$ac_ext | ||
| 24195 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12861 | /* end confdefs.h. */ | 24196 | /* end confdefs.h. */ |
| 12862 | 24197 | ||
| 12863 | /* Override any GCC internal prototype to avoid an error. | 24198 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12875,18 +24210,43 @@ return dgettext (); | |||
| 12875 | return 0; | 24210 | return 0; |
| 12876 | } | 24211 | } |
| 12877 | _ACEOF | 24212 | _ACEOF |
| 12878 | if ac_fn_c_try_link "$LINENO"; then : | 24213 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 24214 | if { (ac_try="$ac_link" | ||
| 24215 | case "(($ac_try" in | ||
| 24216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24217 | *) ac_try_echo=$ac_try;; | ||
| 24218 | esac | ||
| 24219 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24220 | $as_echo "$ac_try_echo") >&5 | ||
| 24221 | (eval "$ac_link") 2>conftest.er1 | ||
| 24222 | ac_status=$? | ||
| 24223 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24224 | rm -f conftest.er1 | ||
| 24225 | cat conftest.err >&5 | ||
| 24226 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24227 | (exit $ac_status); } && { | ||
| 24228 | test -z "$ac_c_werror_flag" || | ||
| 24229 | test ! -s conftest.err | ||
| 24230 | } && test -s conftest$ac_exeext && { | ||
| 24231 | test "$cross_compiling" = yes || | ||
| 24232 | $as_test_x conftest$ac_exeext | ||
| 24233 | }; then | ||
| 12879 | ac_cv_lib_intl_dgettext=yes | 24234 | ac_cv_lib_intl_dgettext=yes |
| 12880 | else | 24235 | else |
| 12881 | ac_cv_lib_intl_dgettext=no | 24236 | $as_echo "$as_me: failed program was:" >&5 |
| 24237 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24238 | |||
| 24239 | ac_cv_lib_intl_dgettext=no | ||
| 12882 | fi | 24240 | fi |
| 12883 | rm -f core conftest.err conftest.$ac_objext \ | 24241 | |
| 12884 | conftest$ac_exeext conftest.$ac_ext | 24242 | rm -rf conftest.dSYM |
| 24243 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24244 | conftest$ac_exeext conftest.$ac_ext | ||
| 12885 | LIBS=$ac_check_lib_save_LIBS | 24245 | LIBS=$ac_check_lib_save_LIBS |
| 12886 | fi | 24246 | fi |
| 12887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 24247 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
| 12888 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 24248 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
| 12889 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 24249 | if test $ac_cv_lib_intl_dgettext = yes; then |
| 12890 | cat >>confdefs.h <<_ACEOF | 24250 | cat >>confdefs.h <<_ACEOF |
| 12891 | #define HAVE_LIBINTL 1 | 24251 | #define HAVE_LIBINTL 1 |
| 12892 | _ACEOF | 24252 | _ACEOF |
| @@ -12896,17 +24256,21 @@ _ACEOF | |||
| 12896 | fi | 24256 | fi |
| 12897 | 24257 | ||
| 12898 | 24258 | ||
| 12899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 24259 | { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
| 12900 | $as_echo_n "checking whether localtime caches TZ... " >&6; } | 24260 | $as_echo_n "checking whether localtime caches TZ... " >&6; } |
| 12901 | if test "${emacs_cv_localtime_cache+set}" = set; then : | 24261 | if test "${emacs_cv_localtime_cache+set}" = set; then |
| 12902 | $as_echo_n "(cached) " >&6 | 24262 | $as_echo_n "(cached) " >&6 |
| 12903 | else | 24263 | else |
| 12904 | if test x$ac_cv_func_tzset = xyes; then | 24264 | if test x$ac_cv_func_tzset = xyes; then |
| 12905 | if test "$cross_compiling" = yes; then : | 24265 | if test "$cross_compiling" = yes; then |
| 12906 | # If we have tzset, assume the worst when cross-compiling. | 24266 | # If we have tzset, assume the worst when cross-compiling. |
| 12907 | emacs_cv_localtime_cache=yes | 24267 | emacs_cv_localtime_cache=yes |
| 12908 | else | 24268 | else |
| 12909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24269 | cat >conftest.$ac_ext <<_ACEOF |
| 24270 | /* confdefs.h. */ | ||
| 24271 | _ACEOF | ||
| 24272 | cat confdefs.h >>conftest.$ac_ext | ||
| 24273 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12910 | /* end confdefs.h. */ | 24274 | /* end confdefs.h. */ |
| 12911 | #include <time.h> | 24275 | #include <time.h> |
| 12912 | extern char **environ; | 24276 | extern char **environ; |
| @@ -12938,48 +24302,170 @@ main() | |||
| 12938 | exit (0); | 24302 | exit (0); |
| 12939 | } | 24303 | } |
| 12940 | _ACEOF | 24304 | _ACEOF |
| 12941 | if ac_fn_c_try_run "$LINENO"; then : | 24305 | rm -f conftest$ac_exeext |
| 24306 | if { (ac_try="$ac_link" | ||
| 24307 | case "(($ac_try" in | ||
| 24308 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24309 | *) ac_try_echo=$ac_try;; | ||
| 24310 | esac | ||
| 24311 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24312 | $as_echo "$ac_try_echo") >&5 | ||
| 24313 | (eval "$ac_link") 2>&5 | ||
| 24314 | ac_status=$? | ||
| 24315 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24316 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 24317 | { (case "(($ac_try" in | ||
| 24318 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24319 | *) ac_try_echo=$ac_try;; | ||
| 24320 | esac | ||
| 24321 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24322 | $as_echo "$ac_try_echo") >&5 | ||
| 24323 | (eval "$ac_try") 2>&5 | ||
| 24324 | ac_status=$? | ||
| 24325 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24326 | (exit $ac_status); }; }; then | ||
| 12942 | emacs_cv_localtime_cache=no | 24327 | emacs_cv_localtime_cache=no |
| 12943 | else | 24328 | else |
| 12944 | emacs_cv_localtime_cache=yes | 24329 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 24330 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24331 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24332 | |||
| 24333 | ( exit $ac_status ) | ||
| 24334 | emacs_cv_localtime_cache=yes | ||
| 12945 | fi | 24335 | fi |
| 12946 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 24336 | rm -rf conftest.dSYM |
| 12947 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 24337 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 12948 | fi | 24338 | fi |
| 12949 | 24339 | ||
| 24340 | |||
| 12950 | else | 24341 | else |
| 12951 | # If we lack tzset, report that localtime does not cache TZ, | 24342 | # If we lack tzset, report that localtime does not cache TZ, |
| 12952 | # since we can't invalidate the cache if we don't have tzset. | 24343 | # since we can't invalidate the cache if we don't have tzset. |
| 12953 | emacs_cv_localtime_cache=no | 24344 | emacs_cv_localtime_cache=no |
| 12954 | fi | 24345 | fi |
| 12955 | fi | 24346 | fi |
| 12956 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 | 24347 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
| 12957 | $as_echo "$emacs_cv_localtime_cache" >&6; } | 24348 | $as_echo "$emacs_cv_localtime_cache" >&6; } |
| 12958 | if test $emacs_cv_localtime_cache = yes; then | 24349 | if test $emacs_cv_localtime_cache = yes; then |
| 12959 | 24350 | ||
| 12960 | $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h | 24351 | cat >>confdefs.h <<\_ACEOF |
| 24352 | #define LOCALTIME_CACHE 1 | ||
| 24353 | _ACEOF | ||
| 12961 | 24354 | ||
| 12962 | fi | 24355 | fi |
| 12963 | 24356 | ||
| 12964 | if test "x$HAVE_TIMEVAL" = xyes; then | 24357 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 12965 | for ac_func in gettimeofday | 24358 | |
| 12966 | do : | 24359 | for ac_func in gettimeofday |
| 12967 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 24360 | do |
| 12968 | if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 24361 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 24362 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 24363 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 24364 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24365 | $as_echo_n "(cached) " >&6 | ||
| 24366 | else | ||
| 24367 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24368 | /* confdefs.h. */ | ||
| 24369 | _ACEOF | ||
| 24370 | cat confdefs.h >>conftest.$ac_ext | ||
| 24371 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24372 | /* end confdefs.h. */ | ||
| 24373 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 24374 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24375 | #define $ac_func innocuous_$ac_func | ||
| 24376 | |||
| 24377 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24378 | which can conflict with char $ac_func (); below. | ||
| 24379 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24380 | <limits.h> exists even on freestanding compilers. */ | ||
| 24381 | |||
| 24382 | #ifdef __STDC__ | ||
| 24383 | # include <limits.h> | ||
| 24384 | #else | ||
| 24385 | # include <assert.h> | ||
| 24386 | #endif | ||
| 24387 | |||
| 24388 | #undef $ac_func | ||
| 24389 | |||
| 24390 | /* Override any GCC internal prototype to avoid an error. | ||
| 24391 | Use char because int might match the return type of a GCC | ||
| 24392 | builtin and then its argument prototype would still apply. */ | ||
| 24393 | #ifdef __cplusplus | ||
| 24394 | extern "C" | ||
| 24395 | #endif | ||
| 24396 | char $ac_func (); | ||
| 24397 | /* The GNU C library defines this for functions which it implements | ||
| 24398 | to always fail with ENOSYS. Some functions are actually named | ||
| 24399 | something starting with __ and the normal name is an alias. */ | ||
| 24400 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 24401 | choke me | ||
| 24402 | #endif | ||
| 24403 | |||
| 24404 | int | ||
| 24405 | main () | ||
| 24406 | { | ||
| 24407 | return $ac_func (); | ||
| 24408 | ; | ||
| 24409 | return 0; | ||
| 24410 | } | ||
| 24411 | _ACEOF | ||
| 24412 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24413 | if { (ac_try="$ac_link" | ||
| 24414 | case "(($ac_try" in | ||
| 24415 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24416 | *) ac_try_echo=$ac_try;; | ||
| 24417 | esac | ||
| 24418 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24419 | $as_echo "$ac_try_echo") >&5 | ||
| 24420 | (eval "$ac_link") 2>conftest.er1 | ||
| 24421 | ac_status=$? | ||
| 24422 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24423 | rm -f conftest.er1 | ||
| 24424 | cat conftest.err >&5 | ||
| 24425 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24426 | (exit $ac_status); } && { | ||
| 24427 | test -z "$ac_c_werror_flag" || | ||
| 24428 | test ! -s conftest.err | ||
| 24429 | } && test -s conftest$ac_exeext && { | ||
| 24430 | test "$cross_compiling" = yes || | ||
| 24431 | $as_test_x conftest$ac_exeext | ||
| 24432 | }; then | ||
| 24433 | eval "$as_ac_var=yes" | ||
| 24434 | else | ||
| 24435 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24436 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24437 | |||
| 24438 | eval "$as_ac_var=no" | ||
| 24439 | fi | ||
| 24440 | |||
| 24441 | rm -rf conftest.dSYM | ||
| 24442 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24443 | conftest$ac_exeext conftest.$ac_ext | ||
| 24444 | fi | ||
| 24445 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 24446 | $as_echo "$as_val"'` | ||
| 24447 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24448 | $as_echo "$ac_res" >&6; } | ||
| 24449 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 24450 | $as_echo "$as_val"'` = yes; then | ||
| 12969 | cat >>confdefs.h <<_ACEOF | 24451 | cat >>confdefs.h <<_ACEOF |
| 12970 | #define HAVE_GETTIMEOFDAY 1 | 24452 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12971 | _ACEOF | 24453 | _ACEOF |
| 12972 | 24454 | ||
| 12973 | fi | 24455 | fi |
| 12974 | done | 24456 | done |
| 12975 | 24457 | ||
| 12976 | if test $ac_cv_func_gettimeofday = yes; then | 24458 | if test $ac_cv_func_gettimeofday = yes; then |
| 12977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 24459 | { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
| 12978 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 24460 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
| 12979 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 24461 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
| 12980 | $as_echo_n "(cached) " >&6 | 24462 | $as_echo_n "(cached) " >&6 |
| 12981 | else | 24463 | else |
| 12982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24464 | cat >conftest.$ac_ext <<_ACEOF |
| 24465 | /* confdefs.h. */ | ||
| 24466 | _ACEOF | ||
| 24467 | cat confdefs.h >>conftest.$ac_ext | ||
| 24468 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12983 | /* end confdefs.h. */ | 24469 | /* end confdefs.h. */ |
| 12984 | 24470 | ||
| 12985 | #ifdef TIME_WITH_SYS_TIME | 24471 | #ifdef TIME_WITH_SYS_TIME |
| @@ -13001,35 +24487,268 @@ struct timeval time; | |||
| 13001 | return 0; | 24487 | return 0; |
| 13002 | } | 24488 | } |
| 13003 | _ACEOF | 24489 | _ACEOF |
| 13004 | if ac_fn_c_try_compile "$LINENO"; then : | 24490 | rm -f conftest.$ac_objext |
| 24491 | if { (ac_try="$ac_compile" | ||
| 24492 | case "(($ac_try" in | ||
| 24493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24494 | *) ac_try_echo=$ac_try;; | ||
| 24495 | esac | ||
| 24496 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24497 | $as_echo "$ac_try_echo") >&5 | ||
| 24498 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24499 | ac_status=$? | ||
| 24500 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24501 | rm -f conftest.er1 | ||
| 24502 | cat conftest.err >&5 | ||
| 24503 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24504 | (exit $ac_status); } && { | ||
| 24505 | test -z "$ac_c_werror_flag" || | ||
| 24506 | test ! -s conftest.err | ||
| 24507 | } && test -s conftest.$ac_objext; then | ||
| 13005 | emacs_cv_gettimeofday_two_arguments=yes | 24508 | emacs_cv_gettimeofday_two_arguments=yes |
| 13006 | else | 24509 | else |
| 13007 | emacs_cv_gettimeofday_two_arguments=no | 24510 | $as_echo "$as_me: failed program was:" >&5 |
| 24511 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24512 | |||
| 24513 | emacs_cv_gettimeofday_two_arguments=no | ||
| 13008 | fi | 24514 | fi |
| 24515 | |||
| 13009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13010 | fi | 24517 | fi |
| 13011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24518 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 13012 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 24519 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
| 13013 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 24520 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 13014 | 24521 | ||
| 13015 | $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h | 24522 | cat >>confdefs.h <<\_ACEOF |
| 24523 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 | ||
| 24524 | _ACEOF | ||
| 13016 | 24525 | ||
| 13017 | fi | 24526 | fi |
| 13018 | fi | 24527 | fi |
| 13019 | fi | 24528 | fi |
| 13020 | 24529 | ||
| 13021 | ok_so_far=yes | 24530 | ok_so_far=yes |
| 13022 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 24531 | { $as_echo "$as_me:$LINENO: checking for socket" >&5 |
| 13023 | if test "x$ac_cv_func_socket" = x""yes; then : | 24532 | $as_echo_n "checking for socket... " >&6; } |
| 24533 | if test "${ac_cv_func_socket+set}" = set; then | ||
| 24534 | $as_echo_n "(cached) " >&6 | ||
| 24535 | else | ||
| 24536 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24537 | /* confdefs.h. */ | ||
| 24538 | _ACEOF | ||
| 24539 | cat confdefs.h >>conftest.$ac_ext | ||
| 24540 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24541 | /* end confdefs.h. */ | ||
| 24542 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. | ||
| 24543 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24544 | #define socket innocuous_socket | ||
| 24545 | |||
| 24546 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24547 | which can conflict with char socket (); below. | ||
| 24548 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24549 | <limits.h> exists even on freestanding compilers. */ | ||
| 24550 | |||
| 24551 | #ifdef __STDC__ | ||
| 24552 | # include <limits.h> | ||
| 24553 | #else | ||
| 24554 | # include <assert.h> | ||
| 24555 | #endif | ||
| 24556 | |||
| 24557 | #undef socket | ||
| 24558 | |||
| 24559 | /* Override any GCC internal prototype to avoid an error. | ||
| 24560 | Use char because int might match the return type of a GCC | ||
| 24561 | builtin and then its argument prototype would still apply. */ | ||
| 24562 | #ifdef __cplusplus | ||
| 24563 | extern "C" | ||
| 24564 | #endif | ||
| 24565 | char socket (); | ||
| 24566 | /* The GNU C library defines this for functions which it implements | ||
| 24567 | to always fail with ENOSYS. Some functions are actually named | ||
| 24568 | something starting with __ and the normal name is an alias. */ | ||
| 24569 | #if defined __stub_socket || defined __stub___socket | ||
| 24570 | choke me | ||
| 24571 | #endif | ||
| 24572 | |||
| 24573 | int | ||
| 24574 | main () | ||
| 24575 | { | ||
| 24576 | return socket (); | ||
| 24577 | ; | ||
| 24578 | return 0; | ||
| 24579 | } | ||
| 24580 | _ACEOF | ||
| 24581 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24582 | if { (ac_try="$ac_link" | ||
| 24583 | case "(($ac_try" in | ||
| 24584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24585 | *) ac_try_echo=$ac_try;; | ||
| 24586 | esac | ||
| 24587 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24588 | $as_echo "$ac_try_echo") >&5 | ||
| 24589 | (eval "$ac_link") 2>conftest.er1 | ||
| 24590 | ac_status=$? | ||
| 24591 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24592 | rm -f conftest.er1 | ||
| 24593 | cat conftest.err >&5 | ||
| 24594 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24595 | (exit $ac_status); } && { | ||
| 24596 | test -z "$ac_c_werror_flag" || | ||
| 24597 | test ! -s conftest.err | ||
| 24598 | } && test -s conftest$ac_exeext && { | ||
| 24599 | test "$cross_compiling" = yes || | ||
| 24600 | $as_test_x conftest$ac_exeext | ||
| 24601 | }; then | ||
| 24602 | ac_cv_func_socket=yes | ||
| 24603 | else | ||
| 24604 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24605 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24606 | |||
| 24607 | ac_cv_func_socket=no | ||
| 24608 | fi | ||
| 13024 | 24609 | ||
| 24610 | rm -rf conftest.dSYM | ||
| 24611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24612 | conftest$ac_exeext conftest.$ac_ext | ||
| 24613 | fi | ||
| 24614 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | ||
| 24615 | $as_echo "$ac_cv_func_socket" >&6; } | ||
| 24616 | if test $ac_cv_func_socket = yes; then | ||
| 24617 | : | ||
| 13025 | else | 24618 | else |
| 13026 | ok_so_far=no | 24619 | ok_so_far=no |
| 13027 | fi | 24620 | fi |
| 13028 | 24621 | ||
| 13029 | if test $ok_so_far = yes; then | 24622 | if test $ok_so_far = yes; then |
| 13030 | ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 24623 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 13031 | if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 24624 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
| 24625 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24626 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24627 | $as_echo_n "(cached) " >&6 | ||
| 24628 | fi | ||
| 24629 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24630 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24631 | else | ||
| 24632 | # Is the header compilable? | ||
| 24633 | { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | ||
| 24634 | $as_echo_n "checking netinet/in.h usability... " >&6; } | ||
| 24635 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24636 | /* confdefs.h. */ | ||
| 24637 | _ACEOF | ||
| 24638 | cat confdefs.h >>conftest.$ac_ext | ||
| 24639 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24640 | /* end confdefs.h. */ | ||
| 24641 | $ac_includes_default | ||
| 24642 | #include <netinet/in.h> | ||
| 24643 | _ACEOF | ||
| 24644 | rm -f conftest.$ac_objext | ||
| 24645 | if { (ac_try="$ac_compile" | ||
| 24646 | case "(($ac_try" in | ||
| 24647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24648 | *) ac_try_echo=$ac_try;; | ||
| 24649 | esac | ||
| 24650 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24651 | $as_echo "$ac_try_echo") >&5 | ||
| 24652 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24653 | ac_status=$? | ||
| 24654 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24655 | rm -f conftest.er1 | ||
| 24656 | cat conftest.err >&5 | ||
| 24657 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24658 | (exit $ac_status); } && { | ||
| 24659 | test -z "$ac_c_werror_flag" || | ||
| 24660 | test ! -s conftest.err | ||
| 24661 | } && test -s conftest.$ac_objext; then | ||
| 24662 | ac_header_compiler=yes | ||
| 24663 | else | ||
| 24664 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24665 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24666 | |||
| 24667 | ac_header_compiler=no | ||
| 24668 | fi | ||
| 24669 | |||
| 24670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24671 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24672 | $as_echo "$ac_header_compiler" >&6; } | ||
| 13032 | 24673 | ||
| 24674 | # Is the header present? | ||
| 24675 | { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | ||
| 24676 | $as_echo_n "checking netinet/in.h presence... " >&6; } | ||
| 24677 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24678 | /* confdefs.h. */ | ||
| 24679 | _ACEOF | ||
| 24680 | cat confdefs.h >>conftest.$ac_ext | ||
| 24681 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24682 | /* end confdefs.h. */ | ||
| 24683 | #include <netinet/in.h> | ||
| 24684 | _ACEOF | ||
| 24685 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24686 | case "(($ac_try" in | ||
| 24687 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24688 | *) ac_try_echo=$ac_try;; | ||
| 24689 | esac | ||
| 24690 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24691 | $as_echo "$ac_try_echo") >&5 | ||
| 24692 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24693 | ac_status=$? | ||
| 24694 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24695 | rm -f conftest.er1 | ||
| 24696 | cat conftest.err >&5 | ||
| 24697 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24698 | (exit $ac_status); } >/dev/null && { | ||
| 24699 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24700 | test ! -s conftest.err | ||
| 24701 | }; then | ||
| 24702 | ac_header_preproc=yes | ||
| 24703 | else | ||
| 24704 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24705 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24706 | |||
| 24707 | ac_header_preproc=no | ||
| 24708 | fi | ||
| 24709 | |||
| 24710 | rm -f conftest.err conftest.$ac_ext | ||
| 24711 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24712 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24713 | |||
| 24714 | # So? What about this header? | ||
| 24715 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24716 | yes:no: ) | ||
| 24717 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24718 | $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24719 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | ||
| 24720 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | ||
| 24721 | ac_header_preproc=yes | ||
| 24722 | ;; | ||
| 24723 | no:yes:* ) | ||
| 24724 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | ||
| 24725 | $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | ||
| 24726 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | ||
| 24727 | $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | ||
| 24728 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | ||
| 24729 | $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | ||
| 24730 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24731 | $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24732 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | ||
| 24733 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | ||
| 24734 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | ||
| 24735 | $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | ||
| 24736 | |||
| 24737 | ;; | ||
| 24738 | esac | ||
| 24739 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | ||
| 24740 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24741 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24742 | $as_echo_n "(cached) " >&6 | ||
| 24743 | else | ||
| 24744 | ac_cv_header_netinet_in_h=$ac_header_preproc | ||
| 24745 | fi | ||
| 24746 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24747 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24748 | |||
| 24749 | fi | ||
| 24750 | if test $ac_cv_header_netinet_in_h = yes; then | ||
| 24751 | : | ||
| 13033 | else | 24752 | else |
| 13034 | ok_so_far=no | 24753 | ok_so_far=no |
| 13035 | fi | 24754 | fi |
| @@ -13037,9 +24756,135 @@ fi | |||
| 13037 | 24756 | ||
| 13038 | fi | 24757 | fi |
| 13039 | if test $ok_so_far = yes; then | 24758 | if test $ok_so_far = yes; then |
| 13040 | ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 24759 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 13041 | if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 24760 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
| 24761 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24762 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24763 | $as_echo_n "(cached) " >&6 | ||
| 24764 | fi | ||
| 24765 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24766 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24767 | else | ||
| 24768 | # Is the header compilable? | ||
| 24769 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | ||
| 24770 | $as_echo_n "checking arpa/inet.h usability... " >&6; } | ||
| 24771 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24772 | /* confdefs.h. */ | ||
| 24773 | _ACEOF | ||
| 24774 | cat confdefs.h >>conftest.$ac_ext | ||
| 24775 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24776 | /* end confdefs.h. */ | ||
| 24777 | $ac_includes_default | ||
| 24778 | #include <arpa/inet.h> | ||
| 24779 | _ACEOF | ||
| 24780 | rm -f conftest.$ac_objext | ||
| 24781 | if { (ac_try="$ac_compile" | ||
| 24782 | case "(($ac_try" in | ||
| 24783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24784 | *) ac_try_echo=$ac_try;; | ||
| 24785 | esac | ||
| 24786 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24787 | $as_echo "$ac_try_echo") >&5 | ||
| 24788 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24789 | ac_status=$? | ||
| 24790 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24791 | rm -f conftest.er1 | ||
| 24792 | cat conftest.err >&5 | ||
| 24793 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24794 | (exit $ac_status); } && { | ||
| 24795 | test -z "$ac_c_werror_flag" || | ||
| 24796 | test ! -s conftest.err | ||
| 24797 | } && test -s conftest.$ac_objext; then | ||
| 24798 | ac_header_compiler=yes | ||
| 24799 | else | ||
| 24800 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24801 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13042 | 24802 | ||
| 24803 | ac_header_compiler=no | ||
| 24804 | fi | ||
| 24805 | |||
| 24806 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24807 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24808 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24809 | |||
| 24810 | # Is the header present? | ||
| 24811 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | ||
| 24812 | $as_echo_n "checking arpa/inet.h presence... " >&6; } | ||
| 24813 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24814 | /* confdefs.h. */ | ||
| 24815 | _ACEOF | ||
| 24816 | cat confdefs.h >>conftest.$ac_ext | ||
| 24817 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24818 | /* end confdefs.h. */ | ||
| 24819 | #include <arpa/inet.h> | ||
| 24820 | _ACEOF | ||
| 24821 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24822 | case "(($ac_try" in | ||
| 24823 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24824 | *) ac_try_echo=$ac_try;; | ||
| 24825 | esac | ||
| 24826 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24827 | $as_echo "$ac_try_echo") >&5 | ||
| 24828 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24829 | ac_status=$? | ||
| 24830 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24831 | rm -f conftest.er1 | ||
| 24832 | cat conftest.err >&5 | ||
| 24833 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24834 | (exit $ac_status); } >/dev/null && { | ||
| 24835 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24836 | test ! -s conftest.err | ||
| 24837 | }; then | ||
| 24838 | ac_header_preproc=yes | ||
| 24839 | else | ||
| 24840 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24841 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24842 | |||
| 24843 | ac_header_preproc=no | ||
| 24844 | fi | ||
| 24845 | |||
| 24846 | rm -f conftest.err conftest.$ac_ext | ||
| 24847 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24848 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24849 | |||
| 24850 | # So? What about this header? | ||
| 24851 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24852 | yes:no: ) | ||
| 24853 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24854 | $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24855 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | ||
| 24856 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | ||
| 24857 | ac_header_preproc=yes | ||
| 24858 | ;; | ||
| 24859 | no:yes:* ) | ||
| 24860 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | ||
| 24861 | $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | ||
| 24862 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | ||
| 24863 | $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | ||
| 24864 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | ||
| 24865 | $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | ||
| 24866 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24867 | $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24868 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | ||
| 24869 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | ||
| 24870 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | ||
| 24871 | $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | ||
| 24872 | |||
| 24873 | ;; | ||
| 24874 | esac | ||
| 24875 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | ||
| 24876 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24877 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24878 | $as_echo_n "(cached) " >&6 | ||
| 24879 | else | ||
| 24880 | ac_cv_header_arpa_inet_h=$ac_header_preproc | ||
| 24881 | fi | ||
| 24882 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24883 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24884 | |||
| 24885 | fi | ||
| 24886 | if test $ac_cv_header_arpa_inet_h = yes; then | ||
| 24887 | : | ||
| 13043 | else | 24888 | else |
| 13044 | ok_so_far=no | 24889 | ok_so_far=no |
| 13045 | fi | 24890 | fi |
| @@ -13048,16 +24893,151 @@ fi | |||
| 13048 | fi | 24893 | fi |
| 13049 | if test $ok_so_far = yes; then | 24894 | if test $ok_so_far = yes; then |
| 13050 | 24895 | ||
| 13051 | $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h | 24896 | cat >>confdefs.h <<\_ACEOF |
| 24897 | #define HAVE_INET_SOCKETS 1 | ||
| 24898 | _ACEOF | ||
| 13052 | 24899 | ||
| 13053 | fi | 24900 | fi |
| 13054 | 24901 | ||
| 24902 | |||
| 13055 | for ac_header in sys/ioctl.h | 24903 | for ac_header in sys/ioctl.h |
| 13056 | do : | 24904 | do |
| 13057 | ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 24905 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13058 | if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 24906 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 24907 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24908 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24909 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24910 | $as_echo_n "(cached) " >&6 | ||
| 24911 | fi | ||
| 24912 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24913 | $as_echo "$as_val"'` | ||
| 24914 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24915 | $as_echo "$ac_res" >&6; } | ||
| 24916 | else | ||
| 24917 | # Is the header compilable? | ||
| 24918 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24919 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24920 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24921 | /* confdefs.h. */ | ||
| 24922 | _ACEOF | ||
| 24923 | cat confdefs.h >>conftest.$ac_ext | ||
| 24924 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24925 | /* end confdefs.h. */ | ||
| 24926 | $ac_includes_default | ||
| 24927 | #include <$ac_header> | ||
| 24928 | _ACEOF | ||
| 24929 | rm -f conftest.$ac_objext | ||
| 24930 | if { (ac_try="$ac_compile" | ||
| 24931 | case "(($ac_try" in | ||
| 24932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24933 | *) ac_try_echo=$ac_try;; | ||
| 24934 | esac | ||
| 24935 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24936 | $as_echo "$ac_try_echo") >&5 | ||
| 24937 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24938 | ac_status=$? | ||
| 24939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24940 | rm -f conftest.er1 | ||
| 24941 | cat conftest.err >&5 | ||
| 24942 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24943 | (exit $ac_status); } && { | ||
| 24944 | test -z "$ac_c_werror_flag" || | ||
| 24945 | test ! -s conftest.err | ||
| 24946 | } && test -s conftest.$ac_objext; then | ||
| 24947 | ac_header_compiler=yes | ||
| 24948 | else | ||
| 24949 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24950 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24951 | |||
| 24952 | ac_header_compiler=no | ||
| 24953 | fi | ||
| 24954 | |||
| 24955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24956 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24957 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24958 | |||
| 24959 | # Is the header present? | ||
| 24960 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24961 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24963 | /* confdefs.h. */ | ||
| 24964 | _ACEOF | ||
| 24965 | cat confdefs.h >>conftest.$ac_ext | ||
| 24966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24967 | /* end confdefs.h. */ | ||
| 24968 | #include <$ac_header> | ||
| 24969 | _ACEOF | ||
| 24970 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24971 | case "(($ac_try" in | ||
| 24972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24973 | *) ac_try_echo=$ac_try;; | ||
| 24974 | esac | ||
| 24975 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24976 | $as_echo "$ac_try_echo") >&5 | ||
| 24977 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24978 | ac_status=$? | ||
| 24979 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24980 | rm -f conftest.er1 | ||
| 24981 | cat conftest.err >&5 | ||
| 24982 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24983 | (exit $ac_status); } >/dev/null && { | ||
| 24984 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24985 | test ! -s conftest.err | ||
| 24986 | }; then | ||
| 24987 | ac_header_preproc=yes | ||
| 24988 | else | ||
| 24989 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24990 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24991 | |||
| 24992 | ac_header_preproc=no | ||
| 24993 | fi | ||
| 24994 | |||
| 24995 | rm -f conftest.err conftest.$ac_ext | ||
| 24996 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24997 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24998 | |||
| 24999 | # So? What about this header? | ||
| 25000 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 25001 | yes:no: ) | ||
| 25002 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 25003 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 25004 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 25005 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 25006 | ac_header_preproc=yes | ||
| 25007 | ;; | ||
| 25008 | no:yes:* ) | ||
| 25009 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 25010 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 25011 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 25012 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 25013 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 25014 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 25015 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 25016 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 25017 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 25018 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 25019 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 25020 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 25021 | |||
| 25022 | ;; | ||
| 25023 | esac | ||
| 25024 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 25025 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 25026 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 25027 | $as_echo_n "(cached) " >&6 | ||
| 25028 | else | ||
| 25029 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 25030 | fi | ||
| 25031 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 25032 | $as_echo "$as_val"'` | ||
| 25033 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25034 | $as_echo "$ac_res" >&6; } | ||
| 25035 | |||
| 25036 | fi | ||
| 25037 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 25038 | $as_echo "$as_val"'` = yes; then | ||
| 13059 | cat >>confdefs.h <<_ACEOF | 25039 | cat >>confdefs.h <<_ACEOF |
| 13060 | #define HAVE_SYS_IOCTL_H 1 | 25040 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13061 | _ACEOF | 25041 | _ACEOF |
| 13062 | 25042 | ||
| 13063 | fi | 25043 | fi |
| @@ -13067,26 +25047,123 @@ done | |||
| 13067 | 25047 | ||
| 13068 | if test -f /usr/lpp/X11/bin/smt.exp; then | 25048 | if test -f /usr/lpp/X11/bin/smt.exp; then |
| 13069 | 25049 | ||
| 13070 | $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h | 25050 | cat >>confdefs.h <<\_ACEOF |
| 25051 | #define HAVE_AIX_SMT_EXP 1 | ||
| 25052 | _ACEOF | ||
| 13071 | 25053 | ||
| 13072 | fi | 25054 | fi |
| 13073 | 25055 | ||
| 13074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 | 25056 | { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
| 13075 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 25057 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
| 13076 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 25058 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 13077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 25059 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 13078 | $as_echo "yes" >&6; } | 25060 | $as_echo "yes" >&6; } |
| 13079 | 25061 | ||
| 13080 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h | 25062 | cat >>confdefs.h <<\_ACEOF |
| 25063 | #define HAVE_DEV_PTMX 1 | ||
| 25064 | _ACEOF | ||
| 13081 | 25065 | ||
| 13082 | else | 25066 | else |
| 13083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 25067 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 13084 | $as_echo "no" >&6; } | 25068 | $as_echo "no" >&6; } |
| 13085 | fi | 25069 | fi |
| 13086 | 25070 | ||
| 13087 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 25071 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
| 13088 | if test "x$ac_cv_type_pid_t" = x""yes; then : | 25072 | $as_echo_n "checking for pid_t... " >&6; } |
| 25073 | if test "${ac_cv_type_pid_t+set}" = set; then | ||
| 25074 | $as_echo_n "(cached) " >&6 | ||
| 25075 | else | ||
| 25076 | ac_cv_type_pid_t=no | ||
| 25077 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25078 | /* confdefs.h. */ | ||
| 25079 | _ACEOF | ||
| 25080 | cat confdefs.h >>conftest.$ac_ext | ||
| 25081 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25082 | /* end confdefs.h. */ | ||
| 25083 | $ac_includes_default | ||
| 25084 | int | ||
| 25085 | main () | ||
| 25086 | { | ||
| 25087 | if (sizeof (pid_t)) | ||
| 25088 | return 0; | ||
| 25089 | ; | ||
| 25090 | return 0; | ||
| 25091 | } | ||
| 25092 | _ACEOF | ||
| 25093 | rm -f conftest.$ac_objext | ||
| 25094 | if { (ac_try="$ac_compile" | ||
| 25095 | case "(($ac_try" in | ||
| 25096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25097 | *) ac_try_echo=$ac_try;; | ||
| 25098 | esac | ||
| 25099 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25100 | $as_echo "$ac_try_echo") >&5 | ||
| 25101 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25102 | ac_status=$? | ||
| 25103 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25104 | rm -f conftest.er1 | ||
| 25105 | cat conftest.err >&5 | ||
| 25106 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25107 | (exit $ac_status); } && { | ||
| 25108 | test -z "$ac_c_werror_flag" || | ||
| 25109 | test ! -s conftest.err | ||
| 25110 | } && test -s conftest.$ac_objext; then | ||
| 25111 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25112 | /* confdefs.h. */ | ||
| 25113 | _ACEOF | ||
| 25114 | cat confdefs.h >>conftest.$ac_ext | ||
| 25115 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25116 | /* end confdefs.h. */ | ||
| 25117 | $ac_includes_default | ||
| 25118 | int | ||
| 25119 | main () | ||
| 25120 | { | ||
| 25121 | if (sizeof ((pid_t))) | ||
| 25122 | return 0; | ||
| 25123 | ; | ||
| 25124 | return 0; | ||
| 25125 | } | ||
| 25126 | _ACEOF | ||
| 25127 | rm -f conftest.$ac_objext | ||
| 25128 | if { (ac_try="$ac_compile" | ||
| 25129 | case "(($ac_try" in | ||
| 25130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25131 | *) ac_try_echo=$ac_try;; | ||
| 25132 | esac | ||
| 25133 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25134 | $as_echo "$ac_try_echo") >&5 | ||
| 25135 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25136 | ac_status=$? | ||
| 25137 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25138 | rm -f conftest.er1 | ||
| 25139 | cat conftest.err >&5 | ||
| 25140 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25141 | (exit $ac_status); } && { | ||
| 25142 | test -z "$ac_c_werror_flag" || | ||
| 25143 | test ! -s conftest.err | ||
| 25144 | } && test -s conftest.$ac_objext; then | ||
| 25145 | : | ||
| 25146 | else | ||
| 25147 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25148 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25149 | |||
| 25150 | ac_cv_type_pid_t=yes | ||
| 25151 | fi | ||
| 25152 | |||
| 25153 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25154 | else | ||
| 25155 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25156 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25157 | |||
| 25158 | |||
| 25159 | fi | ||
| 13089 | 25160 | ||
| 25161 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25162 | fi | ||
| 25163 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | ||
| 25164 | $as_echo "$ac_cv_type_pid_t" >&6; } | ||
| 25165 | if test $ac_cv_type_pid_t = yes; then | ||
| 25166 | : | ||
| 13090 | else | 25167 | else |
| 13091 | 25168 | ||
| 13092 | cat >>confdefs.h <<_ACEOF | 25169 | cat >>confdefs.h <<_ACEOF |
| @@ -13095,24 +25172,245 @@ _ACEOF | |||
| 13095 | 25172 | ||
| 13096 | fi | 25173 | fi |
| 13097 | 25174 | ||
| 25175 | |||
| 13098 | for ac_header in vfork.h | 25176 | for ac_header in vfork.h |
| 13099 | do : | 25177 | do |
| 13100 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | 25178 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13101 | if test "x$ac_cv_header_vfork_h" = x""yes; then : | 25179 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 25180 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 25181 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 25182 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 25183 | $as_echo_n "(cached) " >&6 | ||
| 25184 | fi | ||
| 25185 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 25186 | $as_echo "$as_val"'` | ||
| 25187 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25188 | $as_echo "$ac_res" >&6; } | ||
| 25189 | else | ||
| 25190 | # Is the header compilable? | ||
| 25191 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 25192 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 25193 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25194 | /* confdefs.h. */ | ||
| 25195 | _ACEOF | ||
| 25196 | cat confdefs.h >>conftest.$ac_ext | ||
| 25197 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25198 | /* end confdefs.h. */ | ||
| 25199 | $ac_includes_default | ||
| 25200 | #include <$ac_header> | ||
| 25201 | _ACEOF | ||
| 25202 | rm -f conftest.$ac_objext | ||
| 25203 | if { (ac_try="$ac_compile" | ||
| 25204 | case "(($ac_try" in | ||
| 25205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25206 | *) ac_try_echo=$ac_try;; | ||
| 25207 | esac | ||
| 25208 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25209 | $as_echo "$ac_try_echo") >&5 | ||
| 25210 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25211 | ac_status=$? | ||
| 25212 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25213 | rm -f conftest.er1 | ||
| 25214 | cat conftest.err >&5 | ||
| 25215 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25216 | (exit $ac_status); } && { | ||
| 25217 | test -z "$ac_c_werror_flag" || | ||
| 25218 | test ! -s conftest.err | ||
| 25219 | } && test -s conftest.$ac_objext; then | ||
| 25220 | ac_header_compiler=yes | ||
| 25221 | else | ||
| 25222 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25223 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25224 | |||
| 25225 | ac_header_compiler=no | ||
| 25226 | fi | ||
| 25227 | |||
| 25228 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25229 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 25230 | $as_echo "$ac_header_compiler" >&6; } | ||
| 25231 | |||
| 25232 | # Is the header present? | ||
| 25233 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 25234 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 25235 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25236 | /* confdefs.h. */ | ||
| 25237 | _ACEOF | ||
| 25238 | cat confdefs.h >>conftest.$ac_ext | ||
| 25239 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25240 | /* end confdefs.h. */ | ||
| 25241 | #include <$ac_header> | ||
| 25242 | _ACEOF | ||
| 25243 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 25244 | case "(($ac_try" in | ||
| 25245 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25246 | *) ac_try_echo=$ac_try;; | ||
| 25247 | esac | ||
| 25248 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25249 | $as_echo "$ac_try_echo") >&5 | ||
| 25250 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 25251 | ac_status=$? | ||
| 25252 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25253 | rm -f conftest.er1 | ||
| 25254 | cat conftest.err >&5 | ||
| 25255 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25256 | (exit $ac_status); } >/dev/null && { | ||
| 25257 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 25258 | test ! -s conftest.err | ||
| 25259 | }; then | ||
| 25260 | ac_header_preproc=yes | ||
| 25261 | else | ||
| 25262 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25264 | |||
| 25265 | ac_header_preproc=no | ||
| 25266 | fi | ||
| 25267 | |||
| 25268 | rm -f conftest.err conftest.$ac_ext | ||
| 25269 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 25270 | $as_echo "$ac_header_preproc" >&6; } | ||
| 25271 | |||
| 25272 | # So? What about this header? | ||
| 25273 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 25274 | yes:no: ) | ||
| 25275 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 25276 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 25277 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 25278 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 25279 | ac_header_preproc=yes | ||
| 25280 | ;; | ||
| 25281 | no:yes:* ) | ||
| 25282 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 25283 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 25284 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 25285 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 25286 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 25287 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 25288 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 25289 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 25290 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 25291 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 25292 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 25293 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 25294 | |||
| 25295 | ;; | ||
| 25296 | esac | ||
| 25297 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 25298 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 25299 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 25300 | $as_echo_n "(cached) " >&6 | ||
| 25301 | else | ||
| 25302 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 25303 | fi | ||
| 25304 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 25305 | $as_echo "$as_val"'` | ||
| 25306 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25307 | $as_echo "$ac_res" >&6; } | ||
| 25308 | |||
| 25309 | fi | ||
| 25310 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 25311 | $as_echo "$as_val"'` = yes; then | ||
| 13102 | cat >>confdefs.h <<_ACEOF | 25312 | cat >>confdefs.h <<_ACEOF |
| 13103 | #define HAVE_VFORK_H 1 | 25313 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13104 | _ACEOF | 25314 | _ACEOF |
| 13105 | 25315 | ||
| 13106 | fi | 25316 | fi |
| 13107 | 25317 | ||
| 13108 | done | 25318 | done |
| 13109 | 25319 | ||
| 25320 | |||
| 25321 | |||
| 13110 | for ac_func in fork vfork | 25322 | for ac_func in fork vfork |
| 13111 | do : | 25323 | do |
| 13112 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 25324 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13113 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 25325 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 13114 | eval as_val=\$$as_ac_var | 25326 | $as_echo_n "checking for $ac_func... " >&6; } |
| 13115 | if test "x$as_val" = x""yes; then : | 25327 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 25328 | $as_echo_n "(cached) " >&6 | ||
| 25329 | else | ||
| 25330 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25331 | /* confdefs.h. */ | ||
| 25332 | _ACEOF | ||
| 25333 | cat confdefs.h >>conftest.$ac_ext | ||
| 25334 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25335 | /* end confdefs.h. */ | ||
| 25336 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 25337 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 25338 | #define $ac_func innocuous_$ac_func | ||
| 25339 | |||
| 25340 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 25341 | which can conflict with char $ac_func (); below. | ||
| 25342 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 25343 | <limits.h> exists even on freestanding compilers. */ | ||
| 25344 | |||
| 25345 | #ifdef __STDC__ | ||
| 25346 | # include <limits.h> | ||
| 25347 | #else | ||
| 25348 | # include <assert.h> | ||
| 25349 | #endif | ||
| 25350 | |||
| 25351 | #undef $ac_func | ||
| 25352 | |||
| 25353 | /* Override any GCC internal prototype to avoid an error. | ||
| 25354 | Use char because int might match the return type of a GCC | ||
| 25355 | builtin and then its argument prototype would still apply. */ | ||
| 25356 | #ifdef __cplusplus | ||
| 25357 | extern "C" | ||
| 25358 | #endif | ||
| 25359 | char $ac_func (); | ||
| 25360 | /* The GNU C library defines this for functions which it implements | ||
| 25361 | to always fail with ENOSYS. Some functions are actually named | ||
| 25362 | something starting with __ and the normal name is an alias. */ | ||
| 25363 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 25364 | choke me | ||
| 25365 | #endif | ||
| 25366 | |||
| 25367 | int | ||
| 25368 | main () | ||
| 25369 | { | ||
| 25370 | return $ac_func (); | ||
| 25371 | ; | ||
| 25372 | return 0; | ||
| 25373 | } | ||
| 25374 | _ACEOF | ||
| 25375 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 25376 | if { (ac_try="$ac_link" | ||
| 25377 | case "(($ac_try" in | ||
| 25378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25379 | *) ac_try_echo=$ac_try;; | ||
| 25380 | esac | ||
| 25381 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25382 | $as_echo "$ac_try_echo") >&5 | ||
| 25383 | (eval "$ac_link") 2>conftest.er1 | ||
| 25384 | ac_status=$? | ||
| 25385 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25386 | rm -f conftest.er1 | ||
| 25387 | cat conftest.err >&5 | ||
| 25388 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25389 | (exit $ac_status); } && { | ||
| 25390 | test -z "$ac_c_werror_flag" || | ||
| 25391 | test ! -s conftest.err | ||
| 25392 | } && test -s conftest$ac_exeext && { | ||
| 25393 | test "$cross_compiling" = yes || | ||
| 25394 | $as_test_x conftest$ac_exeext | ||
| 25395 | }; then | ||
| 25396 | eval "$as_ac_var=yes" | ||
| 25397 | else | ||
| 25398 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25399 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25400 | |||
| 25401 | eval "$as_ac_var=no" | ||
| 25402 | fi | ||
| 25403 | |||
| 25404 | rm -rf conftest.dSYM | ||
| 25405 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25406 | conftest$ac_exeext conftest.$ac_ext | ||
| 25407 | fi | ||
| 25408 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 25409 | $as_echo "$as_val"'` | ||
| 25410 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25411 | $as_echo "$ac_res" >&6; } | ||
| 25412 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 25413 | $as_echo "$as_val"'` = yes; then | ||
| 13116 | cat >>confdefs.h <<_ACEOF | 25414 | cat >>confdefs.h <<_ACEOF |
| 13117 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 25415 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13118 | _ACEOF | 25416 | _ACEOF |
| @@ -13121,15 +25419,19 @@ fi | |||
| 13121 | done | 25419 | done |
| 13122 | 25420 | ||
| 13123 | if test "x$ac_cv_func_fork" = xyes; then | 25421 | if test "x$ac_cv_func_fork" = xyes; then |
| 13124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | 25422 | { $as_echo "$as_me:$LINENO: checking for working fork" >&5 |
| 13125 | $as_echo_n "checking for working fork... " >&6; } | 25423 | $as_echo_n "checking for working fork... " >&6; } |
| 13126 | if test "${ac_cv_func_fork_works+set}" = set; then : | 25424 | if test "${ac_cv_func_fork_works+set}" = set; then |
| 13127 | $as_echo_n "(cached) " >&6 | 25425 | $as_echo_n "(cached) " >&6 |
| 13128 | else | 25426 | else |
| 13129 | if test "$cross_compiling" = yes; then : | 25427 | if test "$cross_compiling" = yes; then |
| 13130 | ac_cv_func_fork_works=cross | 25428 | ac_cv_func_fork_works=cross |
| 13131 | else | 25429 | else |
| 13132 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25430 | cat >conftest.$ac_ext <<_ACEOF |
| 25431 | /* confdefs.h. */ | ||
| 25432 | _ACEOF | ||
| 25433 | cat confdefs.h >>conftest.$ac_ext | ||
| 25434 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13133 | /* end confdefs.h. */ | 25435 | /* end confdefs.h. */ |
| 13134 | $ac_includes_default | 25436 | $ac_includes_default |
| 13135 | int | 25437 | int |
| @@ -13143,17 +25445,44 @@ main () | |||
| 13143 | return 0; | 25445 | return 0; |
| 13144 | } | 25446 | } |
| 13145 | _ACEOF | 25447 | _ACEOF |
| 13146 | if ac_fn_c_try_run "$LINENO"; then : | 25448 | rm -f conftest$ac_exeext |
| 25449 | if { (ac_try="$ac_link" | ||
| 25450 | case "(($ac_try" in | ||
| 25451 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25452 | *) ac_try_echo=$ac_try;; | ||
| 25453 | esac | ||
| 25454 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25455 | $as_echo "$ac_try_echo") >&5 | ||
| 25456 | (eval "$ac_link") 2>&5 | ||
| 25457 | ac_status=$? | ||
| 25458 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25459 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25460 | { (case "(($ac_try" in | ||
| 25461 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25462 | *) ac_try_echo=$ac_try;; | ||
| 25463 | esac | ||
| 25464 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25465 | $as_echo "$ac_try_echo") >&5 | ||
| 25466 | (eval "$ac_try") 2>&5 | ||
| 25467 | ac_status=$? | ||
| 25468 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25469 | (exit $ac_status); }; }; then | ||
| 13147 | ac_cv_func_fork_works=yes | 25470 | ac_cv_func_fork_works=yes |
| 13148 | else | 25471 | else |
| 13149 | ac_cv_func_fork_works=no | 25472 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25473 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25474 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25475 | |||
| 25476 | ( exit $ac_status ) | ||
| 25477 | ac_cv_func_fork_works=no | ||
| 13150 | fi | 25478 | fi |
| 13151 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25479 | rm -rf conftest.dSYM |
| 13152 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25480 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13153 | fi | 25481 | fi |
| 13154 | 25482 | ||
| 25483 | |||
| 13155 | fi | 25484 | fi |
| 13156 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 | 25485 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
| 13157 | $as_echo "$ac_cv_func_fork_works" >&6; } | 25486 | $as_echo "$ac_cv_func_fork_works" >&6; } |
| 13158 | 25487 | ||
| 13159 | else | 25488 | else |
| @@ -13169,20 +25498,24 @@ if test "x$ac_cv_func_fork_works" = xcross; then | |||
| 13169 | ac_cv_func_fork_works=yes | 25498 | ac_cv_func_fork_works=yes |
| 13170 | ;; | 25499 | ;; |
| 13171 | esac | 25500 | esac |
| 13172 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25501 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
| 13173 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25502 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
| 13174 | fi | 25503 | fi |
| 13175 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25504 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13176 | if test "x$ac_cv_func_vfork" = xyes; then | 25505 | if test "x$ac_cv_func_vfork" = xyes; then |
| 13177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 25506 | { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 |
| 13178 | $as_echo_n "checking for working vfork... " >&6; } | 25507 | $as_echo_n "checking for working vfork... " >&6; } |
| 13179 | if test "${ac_cv_func_vfork_works+set}" = set; then : | 25508 | if test "${ac_cv_func_vfork_works+set}" = set; then |
| 13180 | $as_echo_n "(cached) " >&6 | 25509 | $as_echo_n "(cached) " >&6 |
| 13181 | else | 25510 | else |
| 13182 | if test "$cross_compiling" = yes; then : | 25511 | if test "$cross_compiling" = yes; then |
| 13183 | ac_cv_func_vfork_works=cross | 25512 | ac_cv_func_vfork_works=cross |
| 13184 | else | 25513 | else |
| 13185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25514 | cat >conftest.$ac_ext <<_ACEOF |
| 25515 | /* confdefs.h. */ | ||
| 25516 | _ACEOF | ||
| 25517 | cat confdefs.h >>conftest.$ac_ext | ||
| 25518 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13186 | /* end confdefs.h. */ | 25519 | /* end confdefs.h. */ |
| 13187 | /* Thanks to Paul Eggert for this test. */ | 25520 | /* Thanks to Paul Eggert for this test. */ |
| 13188 | $ac_includes_default | 25521 | $ac_includes_default |
| @@ -13274,48 +25607,85 @@ main () | |||
| 13274 | } | 25607 | } |
| 13275 | } | 25608 | } |
| 13276 | _ACEOF | 25609 | _ACEOF |
| 13277 | if ac_fn_c_try_run "$LINENO"; then : | 25610 | rm -f conftest$ac_exeext |
| 25611 | if { (ac_try="$ac_link" | ||
| 25612 | case "(($ac_try" in | ||
| 25613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25614 | *) ac_try_echo=$ac_try;; | ||
| 25615 | esac | ||
| 25616 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25617 | $as_echo "$ac_try_echo") >&5 | ||
| 25618 | (eval "$ac_link") 2>&5 | ||
| 25619 | ac_status=$? | ||
| 25620 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25621 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25622 | { (case "(($ac_try" in | ||
| 25623 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25624 | *) ac_try_echo=$ac_try;; | ||
| 25625 | esac | ||
| 25626 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25627 | $as_echo "$ac_try_echo") >&5 | ||
| 25628 | (eval "$ac_try") 2>&5 | ||
| 25629 | ac_status=$? | ||
| 25630 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25631 | (exit $ac_status); }; }; then | ||
| 13278 | ac_cv_func_vfork_works=yes | 25632 | ac_cv_func_vfork_works=yes |
| 13279 | else | 25633 | else |
| 13280 | ac_cv_func_vfork_works=no | 25634 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25635 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25636 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25637 | |||
| 25638 | ( exit $ac_status ) | ||
| 25639 | ac_cv_func_vfork_works=no | ||
| 13281 | fi | 25640 | fi |
| 13282 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25641 | rm -rf conftest.dSYM |
| 13283 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25642 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13284 | fi | 25643 | fi |
| 13285 | 25644 | ||
| 25645 | |||
| 13286 | fi | 25646 | fi |
| 13287 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 | 25647 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
| 13288 | $as_echo "$ac_cv_func_vfork_works" >&6; } | 25648 | $as_echo "$ac_cv_func_vfork_works" >&6; } |
| 13289 | 25649 | ||
| 13290 | fi; | 25650 | fi; |
| 13291 | if test "x$ac_cv_func_fork_works" = xcross; then | 25651 | if test "x$ac_cv_func_fork_works" = xcross; then |
| 13292 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25652 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13293 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25653 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
| 13294 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 25654 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
| 13295 | fi | 25655 | fi |
| 13296 | 25656 | ||
| 13297 | if test "x$ac_cv_func_vfork_works" = xyes; then | 25657 | if test "x$ac_cv_func_vfork_works" = xyes; then |
| 13298 | 25658 | ||
| 13299 | $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h | 25659 | cat >>confdefs.h <<\_ACEOF |
| 25660 | #define HAVE_WORKING_VFORK 1 | ||
| 25661 | _ACEOF | ||
| 13300 | 25662 | ||
| 13301 | else | 25663 | else |
| 13302 | 25664 | ||
| 13303 | $as_echo "#define vfork fork" >>confdefs.h | 25665 | cat >>confdefs.h <<\_ACEOF |
| 25666 | #define vfork fork | ||
| 25667 | _ACEOF | ||
| 13304 | 25668 | ||
| 13305 | fi | 25669 | fi |
| 13306 | if test "x$ac_cv_func_fork_works" = xyes; then | 25670 | if test "x$ac_cv_func_fork_works" = xyes; then |
| 13307 | 25671 | ||
| 13308 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 25672 | cat >>confdefs.h <<\_ACEOF |
| 25673 | #define HAVE_WORKING_FORK 1 | ||
| 25674 | _ACEOF | ||
| 13309 | 25675 | ||
| 13310 | fi | 25676 | fi |
| 13311 | 25677 | ||
| 13312 | 25678 | ||
| 13313 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 25679 | { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
| 13314 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 25680 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
| 13315 | if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 25681 | if test "${emacs_cv_langinfo_codeset+set}" = set; then |
| 13316 | $as_echo_n "(cached) " >&6 | 25682 | $as_echo_n "(cached) " >&6 |
| 13317 | else | 25683 | else |
| 13318 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25684 | cat >conftest.$ac_ext <<_ACEOF |
| 25685 | /* confdefs.h. */ | ||
| 25686 | _ACEOF | ||
| 25687 | cat confdefs.h >>conftest.$ac_ext | ||
| 25688 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13319 | /* end confdefs.h. */ | 25689 | /* end confdefs.h. */ |
| 13320 | #include <langinfo.h> | 25690 | #include <langinfo.h> |
| 13321 | int | 25691 | int |
| @@ -13326,25 +25696,145 @@ char* cs = nl_langinfo(CODESET); | |||
| 13326 | return 0; | 25696 | return 0; |
| 13327 | } | 25697 | } |
| 13328 | _ACEOF | 25698 | _ACEOF |
| 13329 | if ac_fn_c_try_link "$LINENO"; then : | 25699 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 25700 | if { (ac_try="$ac_link" | ||
| 25701 | case "(($ac_try" in | ||
| 25702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25703 | *) ac_try_echo=$ac_try;; | ||
| 25704 | esac | ||
| 25705 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25706 | $as_echo "$ac_try_echo") >&5 | ||
| 25707 | (eval "$ac_link") 2>conftest.er1 | ||
| 25708 | ac_status=$? | ||
| 25709 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25710 | rm -f conftest.er1 | ||
| 25711 | cat conftest.err >&5 | ||
| 25712 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25713 | (exit $ac_status); } && { | ||
| 25714 | test -z "$ac_c_werror_flag" || | ||
| 25715 | test ! -s conftest.err | ||
| 25716 | } && test -s conftest$ac_exeext && { | ||
| 25717 | test "$cross_compiling" = yes || | ||
| 25718 | $as_test_x conftest$ac_exeext | ||
| 25719 | }; then | ||
| 13330 | emacs_cv_langinfo_codeset=yes | 25720 | emacs_cv_langinfo_codeset=yes |
| 13331 | else | 25721 | else |
| 13332 | emacs_cv_langinfo_codeset=no | 25722 | $as_echo "$as_me: failed program was:" >&5 |
| 25723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25724 | |||
| 25725 | emacs_cv_langinfo_codeset=no | ||
| 13333 | fi | 25726 | fi |
| 13334 | rm -f core conftest.err conftest.$ac_objext \ | 25727 | |
| 13335 | conftest$ac_exeext conftest.$ac_ext | 25728 | rm -rf conftest.dSYM |
| 25729 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25730 | conftest$ac_exeext conftest.$ac_ext | ||
| 13336 | 25731 | ||
| 13337 | fi | 25732 | fi |
| 13338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 | 25733 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
| 13339 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 25734 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
| 13340 | if test $emacs_cv_langinfo_codeset = yes; then | 25735 | if test $emacs_cv_langinfo_codeset = yes; then |
| 13341 | 25736 | ||
| 13342 | $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 25737 | cat >>confdefs.h <<\_ACEOF |
| 25738 | #define HAVE_LANGINFO_CODESET 1 | ||
| 25739 | _ACEOF | ||
| 13343 | 25740 | ||
| 13344 | fi | 25741 | fi |
| 13345 | 25742 | ||
| 13346 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 25743 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 |
| 13347 | if test "x$ac_cv_type_size_t" = x""yes; then : | 25744 | $as_echo_n "checking for size_t... " >&6; } |
| 25745 | if test "${ac_cv_type_size_t+set}" = set; then | ||
| 25746 | $as_echo_n "(cached) " >&6 | ||
| 25747 | else | ||
| 25748 | ac_cv_type_size_t=no | ||
| 25749 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25750 | /* confdefs.h. */ | ||
| 25751 | _ACEOF | ||
| 25752 | cat confdefs.h >>conftest.$ac_ext | ||
| 25753 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25754 | /* end confdefs.h. */ | ||
| 25755 | $ac_includes_default | ||
| 25756 | int | ||
| 25757 | main () | ||
| 25758 | { | ||
| 25759 | if (sizeof (size_t)) | ||
| 25760 | return 0; | ||
| 25761 | ; | ||
| 25762 | return 0; | ||
| 25763 | } | ||
| 25764 | _ACEOF | ||
| 25765 | rm -f conftest.$ac_objext | ||
| 25766 | if { (ac_try="$ac_compile" | ||
| 25767 | case "(($ac_try" in | ||
| 25768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25769 | *) ac_try_echo=$ac_try;; | ||
| 25770 | esac | ||
| 25771 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25772 | $as_echo "$ac_try_echo") >&5 | ||
| 25773 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25774 | ac_status=$? | ||
| 25775 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25776 | rm -f conftest.er1 | ||
| 25777 | cat conftest.err >&5 | ||
| 25778 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25779 | (exit $ac_status); } && { | ||
| 25780 | test -z "$ac_c_werror_flag" || | ||
| 25781 | test ! -s conftest.err | ||
| 25782 | } && test -s conftest.$ac_objext; then | ||
| 25783 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25784 | /* confdefs.h. */ | ||
| 25785 | _ACEOF | ||
| 25786 | cat confdefs.h >>conftest.$ac_ext | ||
| 25787 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25788 | /* end confdefs.h. */ | ||
| 25789 | $ac_includes_default | ||
| 25790 | int | ||
| 25791 | main () | ||
| 25792 | { | ||
| 25793 | if (sizeof ((size_t))) | ||
| 25794 | return 0; | ||
| 25795 | ; | ||
| 25796 | return 0; | ||
| 25797 | } | ||
| 25798 | _ACEOF | ||
| 25799 | rm -f conftest.$ac_objext | ||
| 25800 | if { (ac_try="$ac_compile" | ||
| 25801 | case "(($ac_try" in | ||
| 25802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25803 | *) ac_try_echo=$ac_try;; | ||
| 25804 | esac | ||
| 25805 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25806 | $as_echo "$ac_try_echo") >&5 | ||
| 25807 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25808 | ac_status=$? | ||
| 25809 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25810 | rm -f conftest.er1 | ||
| 25811 | cat conftest.err >&5 | ||
| 25812 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25813 | (exit $ac_status); } && { | ||
| 25814 | test -z "$ac_c_werror_flag" || | ||
| 25815 | test ! -s conftest.err | ||
| 25816 | } && test -s conftest.$ac_objext; then | ||
| 25817 | : | ||
| 25818 | else | ||
| 25819 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25820 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25821 | |||
| 25822 | ac_cv_type_size_t=yes | ||
| 25823 | fi | ||
| 25824 | |||
| 25825 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25826 | else | ||
| 25827 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25828 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25829 | |||
| 25830 | |||
| 25831 | fi | ||
| 25832 | |||
| 25833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25834 | fi | ||
| 25835 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | ||
| 25836 | $as_echo "$ac_cv_type_size_t" >&6; } | ||
| 25837 | if test $ac_cv_type_size_t = yes; then | ||
| 13348 | 25838 | ||
| 13349 | cat >>confdefs.h <<_ACEOF | 25839 | cat >>confdefs.h <<_ACEOF |
| 13350 | #define HAVE_SIZE_T 1 | 25840 | #define HAVE_SIZE_T 1 |
| @@ -13354,12 +25844,16 @@ _ACEOF | |||
| 13354 | fi | 25844 | fi |
| 13355 | 25845 | ||
| 13356 | 25846 | ||
| 13357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 25847 | { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
| 13358 | $as_echo_n "checking for mbstate_t... " >&6; } | 25848 | $as_echo_n "checking for mbstate_t... " >&6; } |
| 13359 | if test "${ac_cv_type_mbstate_t+set}" = set; then : | 25849 | if test "${ac_cv_type_mbstate_t+set}" = set; then |
| 13360 | $as_echo_n "(cached) " >&6 | 25850 | $as_echo_n "(cached) " >&6 |
| 13361 | else | 25851 | else |
| 13362 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25852 | cat >conftest.$ac_ext <<_ACEOF |
| 25853 | /* confdefs.h. */ | ||
| 25854 | _ACEOF | ||
| 25855 | cat confdefs.h >>conftest.$ac_ext | ||
| 25856 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13363 | /* end confdefs.h. */ | 25857 | /* end confdefs.h. */ |
| 13364 | $ac_includes_default | 25858 | $ac_includes_default |
| 13365 | # include <wchar.h> | 25859 | # include <wchar.h> |
| @@ -13371,31 +25865,60 @@ mbstate_t x; return sizeof x; | |||
| 13371 | return 0; | 25865 | return 0; |
| 13372 | } | 25866 | } |
| 13373 | _ACEOF | 25867 | _ACEOF |
| 13374 | if ac_fn_c_try_compile "$LINENO"; then : | 25868 | rm -f conftest.$ac_objext |
| 25869 | if { (ac_try="$ac_compile" | ||
| 25870 | case "(($ac_try" in | ||
| 25871 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25872 | *) ac_try_echo=$ac_try;; | ||
| 25873 | esac | ||
| 25874 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25875 | $as_echo "$ac_try_echo") >&5 | ||
| 25876 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25877 | ac_status=$? | ||
| 25878 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25879 | rm -f conftest.er1 | ||
| 25880 | cat conftest.err >&5 | ||
| 25881 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25882 | (exit $ac_status); } && { | ||
| 25883 | test -z "$ac_c_werror_flag" || | ||
| 25884 | test ! -s conftest.err | ||
| 25885 | } && test -s conftest.$ac_objext; then | ||
| 13375 | ac_cv_type_mbstate_t=yes | 25886 | ac_cv_type_mbstate_t=yes |
| 13376 | else | 25887 | else |
| 13377 | ac_cv_type_mbstate_t=no | 25888 | $as_echo "$as_me: failed program was:" >&5 |
| 25889 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25890 | |||
| 25891 | ac_cv_type_mbstate_t=no | ||
| 13378 | fi | 25892 | fi |
| 25893 | |||
| 13379 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13380 | fi | 25895 | fi |
| 13381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 | 25896 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
| 13382 | $as_echo "$ac_cv_type_mbstate_t" >&6; } | 25897 | $as_echo "$ac_cv_type_mbstate_t" >&6; } |
| 13383 | if test $ac_cv_type_mbstate_t = yes; then | 25898 | if test $ac_cv_type_mbstate_t = yes; then |
| 13384 | 25899 | ||
| 13385 | $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h | 25900 | cat >>confdefs.h <<\_ACEOF |
| 25901 | #define HAVE_MBSTATE_T 1 | ||
| 25902 | _ACEOF | ||
| 13386 | 25903 | ||
| 13387 | else | 25904 | else |
| 13388 | 25905 | ||
| 13389 | $as_echo "#define mbstate_t int" >>confdefs.h | 25906 | cat >>confdefs.h <<\_ACEOF |
| 25907 | #define mbstate_t int | ||
| 25908 | _ACEOF | ||
| 13390 | 25909 | ||
| 13391 | fi | 25910 | fi |
| 13392 | 25911 | ||
| 13393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 25912 | { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
| 13394 | $as_echo_n "checking for C restrict keyword... " >&6; } | 25913 | $as_echo_n "checking for C restrict keyword... " >&6; } |
| 13395 | if test "${emacs_cv_c_restrict+set}" = set; then : | 25914 | if test "${emacs_cv_c_restrict+set}" = set; then |
| 13396 | $as_echo_n "(cached) " >&6 | 25915 | $as_echo_n "(cached) " >&6 |
| 13397 | else | 25916 | else |
| 13398 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25917 | cat >conftest.$ac_ext <<_ACEOF |
| 25918 | /* confdefs.h. */ | ||
| 25919 | _ACEOF | ||
| 25920 | cat confdefs.h >>conftest.$ac_ext | ||
| 25921 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13399 | /* end confdefs.h. */ | 25922 | /* end confdefs.h. */ |
| 13400 | void fred (int *restrict x); | 25923 | void fred (int *restrict x); |
| 13401 | int | 25924 | int |
| @@ -13406,10 +25929,34 @@ main () | |||
| 13406 | return 0; | 25929 | return 0; |
| 13407 | } | 25930 | } |
| 13408 | _ACEOF | 25931 | _ACEOF |
| 13409 | if ac_fn_c_try_compile "$LINENO"; then : | 25932 | rm -f conftest.$ac_objext |
| 25933 | if { (ac_try="$ac_compile" | ||
| 25934 | case "(($ac_try" in | ||
| 25935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25936 | *) ac_try_echo=$ac_try;; | ||
| 25937 | esac | ||
| 25938 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25939 | $as_echo "$ac_try_echo") >&5 | ||
| 25940 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25941 | ac_status=$? | ||
| 25942 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25943 | rm -f conftest.er1 | ||
| 25944 | cat conftest.err >&5 | ||
| 25945 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25946 | (exit $ac_status); } && { | ||
| 25947 | test -z "$ac_c_werror_flag" || | ||
| 25948 | test ! -s conftest.err | ||
| 25949 | } && test -s conftest.$ac_objext; then | ||
| 13410 | emacs_cv_c_restrict=yes | 25950 | emacs_cv_c_restrict=yes |
| 13411 | else | 25951 | else |
| 13412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25952 | $as_echo "$as_me: failed program was:" >&5 |
| 25953 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25954 | |||
| 25955 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25956 | /* confdefs.h. */ | ||
| 25957 | _ACEOF | ||
| 25958 | cat confdefs.h >>conftest.$ac_ext | ||
| 25959 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13413 | /* end confdefs.h. */ | 25960 | /* end confdefs.h. */ |
| 13414 | void fred (int *__restrict x); | 25961 | void fred (int *__restrict x); |
| 13415 | int | 25962 | int |
| @@ -13420,16 +25967,38 @@ main () | |||
| 13420 | return 0; | 25967 | return 0; |
| 13421 | } | 25968 | } |
| 13422 | _ACEOF | 25969 | _ACEOF |
| 13423 | if ac_fn_c_try_compile "$LINENO"; then : | 25970 | rm -f conftest.$ac_objext |
| 25971 | if { (ac_try="$ac_compile" | ||
| 25972 | case "(($ac_try" in | ||
| 25973 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25974 | *) ac_try_echo=$ac_try;; | ||
| 25975 | esac | ||
| 25976 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25977 | $as_echo "$ac_try_echo") >&5 | ||
| 25978 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25979 | ac_status=$? | ||
| 25980 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25981 | rm -f conftest.er1 | ||
| 25982 | cat conftest.err >&5 | ||
| 25983 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25984 | (exit $ac_status); } && { | ||
| 25985 | test -z "$ac_c_werror_flag" || | ||
| 25986 | test ! -s conftest.err | ||
| 25987 | } && test -s conftest.$ac_objext; then | ||
| 13424 | emacs_cv_c_restrict=__restrict | 25988 | emacs_cv_c_restrict=__restrict |
| 13425 | else | 25989 | else |
| 13426 | emacs_cv_c_restrict=no | 25990 | $as_echo "$as_me: failed program was:" >&5 |
| 25991 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25992 | |||
| 25993 | emacs_cv_c_restrict=no | ||
| 13427 | fi | 25994 | fi |
| 25995 | |||
| 13428 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25996 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13429 | fi | 25997 | fi |
| 25998 | |||
| 13430 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25999 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13431 | fi | 26000 | fi |
| 13432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 | 26001 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
| 13433 | $as_echo "$emacs_cv_c_restrict" >&6; } | 26002 | $as_echo "$emacs_cv_c_restrict" >&6; } |
| 13434 | case "$emacs_cv_c_restrict" in | 26003 | case "$emacs_cv_c_restrict" in |
| 13435 | yes) emacs_restrict=restrict;; | 26004 | yes) emacs_restrict=restrict;; |
| @@ -13444,12 +26013,16 @@ _ACEOF | |||
| 13444 | 26013 | ||
| 13445 | fi | 26014 | fi |
| 13446 | 26015 | ||
| 13447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 26016 | { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
| 13448 | $as_echo_n "checking for C restricted array declarations... " >&6; } | 26017 | $as_echo_n "checking for C restricted array declarations... " >&6; } |
| 13449 | if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 26018 | if test "${emacs_cv_c_restrict_arr+set}" = set; then |
| 13450 | $as_echo_n "(cached) " >&6 | 26019 | $as_echo_n "(cached) " >&6 |
| 13451 | else | 26020 | else |
| 13452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26021 | cat >conftest.$ac_ext <<_ACEOF |
| 26022 | /* confdefs.h. */ | ||
| 26023 | _ACEOF | ||
| 26024 | cat confdefs.h >>conftest.$ac_ext | ||
| 26025 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13453 | /* end confdefs.h. */ | 26026 | /* end confdefs.h. */ |
| 13454 | void fred (int x[__restrict]); | 26027 | void fred (int x[__restrict]); |
| 13455 | int | 26028 | int |
| @@ -13460,18 +26033,41 @@ main () | |||
| 13460 | return 0; | 26033 | return 0; |
| 13461 | } | 26034 | } |
| 13462 | _ACEOF | 26035 | _ACEOF |
| 13463 | if ac_fn_c_try_compile "$LINENO"; then : | 26036 | rm -f conftest.$ac_objext |
| 26037 | if { (ac_try="$ac_compile" | ||
| 26038 | case "(($ac_try" in | ||
| 26039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 26040 | *) ac_try_echo=$ac_try;; | ||
| 26041 | esac | ||
| 26042 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 26043 | $as_echo "$ac_try_echo") >&5 | ||
| 26044 | (eval "$ac_compile") 2>conftest.er1 | ||
| 26045 | ac_status=$? | ||
| 26046 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 26047 | rm -f conftest.er1 | ||
| 26048 | cat conftest.err >&5 | ||
| 26049 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 26050 | (exit $ac_status); } && { | ||
| 26051 | test -z "$ac_c_werror_flag" || | ||
| 26052 | test ! -s conftest.err | ||
| 26053 | } && test -s conftest.$ac_objext; then | ||
| 13464 | emacs_cv_c_restrict_arr=yes | 26054 | emacs_cv_c_restrict_arr=yes |
| 13465 | else | 26055 | else |
| 13466 | emacs_cv_c_restrict_arr=no | 26056 | $as_echo "$as_me: failed program was:" >&5 |
| 26057 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 26058 | |||
| 26059 | emacs_cv_c_restrict_arr=no | ||
| 13467 | fi | 26060 | fi |
| 26061 | |||
| 13468 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26062 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13469 | fi | 26063 | fi |
| 13470 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 | 26064 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
| 13471 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 26065 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
| 13472 | if test "$emacs_cv_c_restrict_arr" = yes; then | 26066 | if test "$emacs_cv_c_restrict_arr" = yes; then |
| 13473 | 26067 | ||
| 13474 | $as_echo "#define __restrict_arr __restrict" >>confdefs.h | 26068 | cat >>confdefs.h <<\_ACEOF |
| 26069 | #define __restrict_arr __restrict | ||
| 26070 | _ACEOF | ||
| 13475 | 26071 | ||
| 13476 | fi | 26072 | fi |
| 13477 | 26073 | ||
| @@ -13485,10 +26081,12 @@ CPPFLAGS="$REAL_CPPFLAGS" | |||
| 13485 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 26081 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
| 13486 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 26082 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
| 13487 | if test x"${version}" = x; then | 26083 | if test x"${version}" = x; then |
| 13488 | as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 | 26084 | { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
| 26085 | $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | ||
| 26086 | { (exit 1); exit 1; }; } | ||
| 13489 | fi | 26087 | fi |
| 13490 | if test x"${version}" != x"$PACKAGE_VERSION"; then | 26088 | if test x"${version}" != x"$PACKAGE_VERSION"; then |
| 13491 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 26089 | { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
| 13492 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 26090 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
| 13493 | fi | 26091 | fi |
| 13494 | 26092 | ||
| @@ -13572,7 +26170,9 @@ XMENU_OBJ= | |||
| 13572 | XOBJ= | 26170 | XOBJ= |
| 13573 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 26171 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 13574 | 26172 | ||
| 13575 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 26173 | cat >>confdefs.h <<\_ACEOF |
| 26174 | #define HAVE_X_WINDOWS 1 | ||
| 26175 | _ACEOF | ||
| 13576 | 26176 | ||
| 13577 | XMENU_OBJ=xmenu.o | 26177 | XMENU_OBJ=xmenu.o |
| 13578 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 26178 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
| @@ -13585,15 +26185,21 @@ MOTIF_LIBW= | |||
| 13585 | if test "${USE_X_TOOLKIT}" != "none" ; then | 26185 | if test "${USE_X_TOOLKIT}" != "none" ; then |
| 13586 | WIDGET_OBJ=widget.o | 26186 | WIDGET_OBJ=widget.o |
| 13587 | 26187 | ||
| 13588 | $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h | 26188 | cat >>confdefs.h <<\_ACEOF |
| 26189 | #define USE_X_TOOLKIT 1 | ||
| 26190 | _ACEOF | ||
| 13589 | 26191 | ||
| 13590 | if test "${USE_X_TOOLKIT}" = "LUCID"; then | 26192 | if test "${USE_X_TOOLKIT}" = "LUCID"; then |
| 13591 | 26193 | ||
| 13592 | $as_echo "#define USE_LUCID 1" >>confdefs.h | 26194 | cat >>confdefs.h <<\_ACEOF |
| 26195 | #define USE_LUCID 1 | ||
| 26196 | _ACEOF | ||
| 13593 | 26197 | ||
| 13594 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 26198 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 13595 | 26199 | ||
| 13596 | $as_echo "#define USE_MOTIF 1" >>confdefs.h | 26200 | cat >>confdefs.h <<\_ACEOF |
| 26201 | #define USE_MOTIF 1 | ||
| 26202 | _ACEOF | ||
| 13597 | 26203 | ||
| 13598 | MOTIF_LIBW=-lXm | 26204 | MOTIF_LIBW=-lXm |
| 13599 | case "$opsys" in | 26205 | case "$opsys" in |
| @@ -13638,7 +26244,9 @@ fi | |||
| 13638 | ## otherwise, use our own copy. | 26244 | ## otherwise, use our own copy. |
| 13639 | if test "${HAVE_X11}" = "yes" ; then | 26245 | if test "${HAVE_X11}" = "yes" ; then |
| 13640 | 26246 | ||
| 13641 | $as_echo "#define HAVE_X11 1" >>confdefs.h | 26247 | cat >>confdefs.h <<\_ACEOF |
| 26248 | #define HAVE_X11 1 | ||
| 26249 | _ACEOF | ||
| 13642 | 26250 | ||
| 13643 | 26251 | ||
| 13644 | if test "$USE_X_TOOLKIT" = "none"; then | 26252 | if test "$USE_X_TOOLKIT" = "none"; then |
| @@ -13665,17 +26273,23 @@ fi | |||
| 13665 | 26273 | ||
| 13666 | if test "${HAVE_MENUS}" = "yes" ; then | 26274 | if test "${HAVE_MENUS}" = "yes" ; then |
| 13667 | 26275 | ||
| 13668 | $as_echo "#define HAVE_MENUS 1" >>confdefs.h | 26276 | cat >>confdefs.h <<\_ACEOF |
| 26277 | #define HAVE_MENUS 1 | ||
| 26278 | _ACEOF | ||
| 13669 | 26279 | ||
| 13670 | fi | 26280 | fi |
| 13671 | if test "${GNU_MALLOC}" = "yes" ; then | 26281 | if test "${GNU_MALLOC}" = "yes" ; then |
| 13672 | 26282 | ||
| 13673 | $as_echo "#define GNU_MALLOC 1" >>confdefs.h | 26283 | cat >>confdefs.h <<\_ACEOF |
| 26284 | #define GNU_MALLOC 1 | ||
| 26285 | _ACEOF | ||
| 13674 | 26286 | ||
| 13675 | fi | 26287 | fi |
| 13676 | if test "${REL_ALLOC}" = "yes" ; then | 26288 | if test "${REL_ALLOC}" = "yes" ; then |
| 13677 | 26289 | ||
| 13678 | $as_echo "#define REL_ALLOC 1" >>confdefs.h | 26290 | cat >>confdefs.h <<\_ACEOF |
| 26291 | #define REL_ALLOC 1 | ||
| 26292 | _ACEOF | ||
| 13679 | 26293 | ||
| 13680 | fi | 26294 | fi |
| 13681 | 26295 | ||
| @@ -13718,6 +26332,25 @@ esac | |||
| 13718 | 26332 | ||
| 13719 | 26333 | ||
| 13720 | 26334 | ||
| 26335 | ## This exists because src/Makefile.in did some extra fiddling around | ||
| 26336 | ## with LD_SWITCH_SYSTEM. The cpp logic was: | ||
| 26337 | ## #ifndef LD_SWITCH_SYSTEM | ||
| 26338 | ## #if !defined (__GNUC__) && ((defined (BSD_SYSTEM) && !defined (COFF))) | ||
| 26339 | ## Since all the *bsds define LD_SWITCH_SYSTEM, this simplifies to: | ||
| 26340 | ## not using gcc, darwin system not on an alpha (ie darwin, since | ||
| 26341 | ## darwin + alpha does not occur). | ||
| 26342 | ## Note that unlike L_S_S, this is not used in ac_link. | ||
| 26343 | if test "x$LD_SWITCH_SYSTEM" = "x" && test "x$GCC" != "xyes" && \ | ||
| 26344 | test "$opsys" = "darwin"; then | ||
| 26345 | LD_SWITCH_SYSTEM_EXTRA="-X" | ||
| 26346 | else | ||
| 26347 | LD_SWITCH_SYSTEM_EXTRA= | ||
| 26348 | fi | ||
| 26349 | |||
| 26350 | |||
| 26351 | |||
| 26352 | |||
| 26353 | |||
| 13721 | 26354 | ||
| 13722 | 26355 | ||
| 13723 | #### Report on what we decided to do. | 26356 | #### Report on what we decided to do. |
| @@ -13821,12 +26454,16 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix | | |||
| 13821 | ## from Makefile.c can correctly provide the arg `-traditional' to the | 26454 | ## from Makefile.c can correctly provide the arg `-traditional' to the |
| 13822 | ## C preprocessor. | 26455 | ## C preprocessor. |
| 13823 | 26456 | ||
| 13824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26457 | cat >conftest.$ac_ext <<_ACEOF |
| 26458 | /* confdefs.h. */ | ||
| 26459 | _ACEOF | ||
| 26460 | cat confdefs.h >>conftest.$ac_ext | ||
| 26461 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13825 | /* end confdefs.h. */ | 26462 | /* end confdefs.h. */ |
| 13826 | yes..yes | 26463 | yes..yes |
| 13827 | _ACEOF | 26464 | _ACEOF |
| 13828 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 26465 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13829 | $EGREP "yes..yes" >/dev/null 2>&1; then : | 26466 | $EGREP "yes..yes" >/dev/null 2>&1; then |
| 13830 | CPP_NEED_TRADITIONAL=no | 26467 | CPP_NEED_TRADITIONAL=no |
| 13831 | else | 26468 | else |
| 13832 | CPP_NEED_TRADITIONAL=yes | 26469 | CPP_NEED_TRADITIONAL=yes |
| @@ -13865,13 +26502,13 @@ _ACEOF | |||
| 13865 | case $ac_val in #( | 26502 | case $ac_val in #( |
| 13866 | *${as_nl}*) | 26503 | *${as_nl}*) |
| 13867 | case $ac_var in #( | 26504 | case $ac_var in #( |
| 13868 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 26505 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 13869 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 26506 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 13870 | esac | 26507 | esac |
| 13871 | case $ac_var in #( | 26508 | case $ac_var in #( |
| 13872 | _ | IFS | as_nl) ;; #( | 26509 | _ | IFS | as_nl) ;; #( |
| 13873 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 26510 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 13874 | *) { eval $ac_var=; unset $ac_var;} ;; | 26511 | *) $as_unset $ac_var ;; |
| 13875 | esac ;; | 26512 | esac ;; |
| 13876 | esac | 26513 | esac |
| 13877 | done | 26514 | done |
| @@ -13879,8 +26516,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13879 | (set) 2>&1 | | 26516 | (set) 2>&1 | |
| 13880 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 26517 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 13881 | *${as_nl}ac_space=\ *) | 26518 | *${as_nl}ac_space=\ *) |
| 13882 | # `set' does not quote correctly, so add quotes: double-quote | 26519 | # `set' does not quote correctly, so add quotes (double-quote |
| 13883 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 26520 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 13884 | sed -n \ | 26521 | sed -n \ |
| 13885 | "s/'/'\\\\''/g; | 26522 | "s/'/'\\\\''/g; |
| 13886 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 26523 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| @@ -13903,11 +26540,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13903 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 26540 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 13904 | if test -w "$cache_file"; then | 26541 | if test -w "$cache_file"; then |
| 13905 | test "x$cache_file" != "x/dev/null" && | 26542 | test "x$cache_file" != "x/dev/null" && |
| 13906 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 26543 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 13907 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 26544 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 13908 | cat confcache >$cache_file | 26545 | cat confcache >$cache_file |
| 13909 | else | 26546 | else |
| 13910 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 26547 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 13911 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 26548 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 13912 | fi | 26549 | fi |
| 13913 | fi | 26550 | fi |
| @@ -13927,8 +26564,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |||
| 13927 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 26564 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 13928 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 26565 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 13929 | # will be set to the directory where LIBOBJS objects are built. | 26566 | # will be set to the directory where LIBOBJS objects are built. |
| 13930 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 26567 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 13931 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 26568 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 13932 | done | 26569 | done |
| 13933 | LIBOBJS=$ac_libobjs | 26570 | LIBOBJS=$ac_libobjs |
| 13934 | 26571 | ||
| @@ -13940,10 +26577,9 @@ LTLIBOBJS=$ac_ltlibobjs | |||
| 13940 | ac_write_fail=0 | 26577 | ac_write_fail=0 |
| 13941 | ac_clean_files_save=$ac_clean_files | 26578 | ac_clean_files_save=$ac_clean_files |
| 13942 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 26579 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 13943 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 26580 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 13944 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 26581 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 13945 | as_write_fail=0 | 26582 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 13946 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 13947 | #! $SHELL | 26583 | #! $SHELL |
| 13948 | # Generated by $as_me. | 26584 | # Generated by $as_me. |
| 13949 | # Run this file to recreate the current configuration. | 26585 | # Run this file to recreate the current configuration. |
| @@ -13953,18 +26589,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |||
| 13953 | debug=false | 26589 | debug=false |
| 13954 | ac_cs_recheck=false | 26590 | ac_cs_recheck=false |
| 13955 | ac_cs_silent=false | 26591 | ac_cs_silent=false |
| 13956 | |||
| 13957 | SHELL=\${CONFIG_SHELL-$SHELL} | 26592 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 13958 | export SHELL | 26593 | _ACEOF |
| 13959 | _ASEOF | 26594 | |
| 13960 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 26595 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 13961 | ## -------------------- ## | 26596 | ## --------------------- ## |
| 13962 | ## M4sh Initialization. ## | 26597 | ## M4sh Initialization. ## |
| 13963 | ## -------------------- ## | 26598 | ## --------------------- ## |
| 13964 | 26599 | ||
| 13965 | # Be more Bourne compatible | 26600 | # Be more Bourne compatible |
| 13966 | DUALCASE=1; export DUALCASE # for MKS sh | 26601 | DUALCASE=1; export DUALCASE # for MKS sh |
| 13967 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 26602 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 13968 | emulate sh | 26603 | emulate sh |
| 13969 | NULLCMD=: | 26604 | NULLCMD=: |
| 13970 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 26605 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -13972,15 +26607,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |||
| 13972 | alias -g '${1+"$@"}'='"$@"' | 26607 | alias -g '${1+"$@"}'='"$@"' |
| 13973 | setopt NO_GLOB_SUBST | 26608 | setopt NO_GLOB_SUBST |
| 13974 | else | 26609 | else |
| 13975 | case `(set -o) 2>/dev/null` in #( | 26610 | case `(set -o) 2>/dev/null` in |
| 13976 | *posix*) : | 26611 | *posix*) set -o posix ;; |
| 13977 | set -o posix ;; #( | ||
| 13978 | *) : | ||
| 13979 | ;; | ||
| 13980 | esac | 26612 | esac |
| 26613 | |||
| 13981 | fi | 26614 | fi |
| 13982 | 26615 | ||
| 13983 | 26616 | ||
| 26617 | |||
| 26618 | |||
| 26619 | # PATH needs CR | ||
| 26620 | # Avoid depending upon Character Ranges. | ||
| 26621 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 26622 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 26623 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 26624 | as_cr_digits='0123456789' | ||
| 26625 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 26626 | |||
| 13984 | as_nl=' | 26627 | as_nl=' |
| 13985 | ' | 26628 | ' |
| 13986 | export as_nl | 26629 | export as_nl |
| @@ -13988,13 +26631,7 @@ export as_nl | |||
| 13988 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 26631 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 13989 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 26632 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13990 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 26633 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13991 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 26634 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13992 | # but without wasting forks for bash or zsh. | ||
| 13993 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 13994 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13995 | as_echo='print -r --' | ||
| 13996 | as_echo_n='print -rn --' | ||
| 13997 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13998 | as_echo='printf %s\n' | 26635 | as_echo='printf %s\n' |
| 13999 | as_echo_n='printf %s' | 26636 | as_echo_n='printf %s' |
| 14000 | else | 26637 | else |
| @@ -14005,7 +26642,7 @@ else | |||
| 14005 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 26642 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 14006 | as_echo_n_body='eval | 26643 | as_echo_n_body='eval |
| 14007 | arg=$1; | 26644 | arg=$1; |
| 14008 | case $arg in #( | 26645 | case $arg in |
| 14009 | *"$as_nl"*) | 26646 | *"$as_nl"*) |
| 14010 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 26647 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 14011 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 26648 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -14028,6 +26665,13 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 14028 | } | 26665 | } |
| 14029 | fi | 26666 | fi |
| 14030 | 26667 | ||
| 26668 | # Support unset when possible. | ||
| 26669 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 26670 | as_unset=unset | ||
| 26671 | else | ||
| 26672 | as_unset=false | ||
| 26673 | fi | ||
| 26674 | |||
| 14031 | 26675 | ||
| 14032 | # IFS | 26676 | # IFS |
| 14033 | # We need space, tab and new line, in precisely that order. Quoting is | 26677 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -14037,15 +26681,15 @@ fi | |||
| 14037 | IFS=" "" $as_nl" | 26681 | IFS=" "" $as_nl" |
| 14038 | 26682 | ||
| 14039 | # Find who we are. Look in the path if we contain no directory separator. | 26683 | # Find who we are. Look in the path if we contain no directory separator. |
| 14040 | case $0 in #(( | 26684 | case $0 in |
| 14041 | *[\\/]* ) as_myself=$0 ;; | 26685 | *[\\/]* ) as_myself=$0 ;; |
| 14042 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26686 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14043 | for as_dir in $PATH | 26687 | for as_dir in $PATH |
| 14044 | do | 26688 | do |
| 14045 | IFS=$as_save_IFS | 26689 | IFS=$as_save_IFS |
| 14046 | test -z "$as_dir" && as_dir=. | 26690 | test -z "$as_dir" && as_dir=. |
| 14047 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26691 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 14048 | done | 26692 | done |
| 14049 | IFS=$as_save_IFS | 26693 | IFS=$as_save_IFS |
| 14050 | 26694 | ||
| 14051 | ;; | 26695 | ;; |
| @@ -14057,16 +26701,12 @@ if test "x$as_myself" = x; then | |||
| 14057 | fi | 26701 | fi |
| 14058 | if test ! -f "$as_myself"; then | 26702 | if test ! -f "$as_myself"; then |
| 14059 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 26703 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 14060 | exit 1 | 26704 | { (exit 1); exit 1; } |
| 14061 | fi | 26705 | fi |
| 14062 | 26706 | ||
| 14063 | # Unset variables that we do not need and which cause bugs (e.g. in | 26707 | # Work around bugs in pre-3.0 UWIN ksh. |
| 14064 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 26708 | for as_var in ENV MAIL MAILPATH |
| 14065 | # suppresses any "Segmentation fault" message there. '((' could | 26709 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 14066 | # trigger a bug in pdksh 5.2.14. | ||
| 14067 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 14068 | do eval test x\${$as_var+set} = xset \ | ||
| 14069 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 14070 | done | 26710 | done |
| 14071 | PS1='$ ' | 26711 | PS1='$ ' |
| 14072 | PS2='> ' | 26712 | PS2='> ' |
| @@ -14078,89 +26718,7 @@ export LC_ALL | |||
| 14078 | LANGUAGE=C | 26718 | LANGUAGE=C |
| 14079 | export LANGUAGE | 26719 | export LANGUAGE |
| 14080 | 26720 | ||
| 14081 | # CDPATH. | 26721 | # Required to use basename. |
| 14082 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 14083 | |||
| 14084 | |||
| 14085 | # as_fn_error ERROR [LINENO LOG_FD] | ||
| 14086 | # --------------------------------- | ||
| 14087 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 14088 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 14089 | # script with status $?, using 1 if that was 0. | ||
| 14090 | as_fn_error () | ||
| 14091 | { | ||
| 14092 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 14093 | if test "$3"; then | ||
| 14094 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 14095 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 14096 | fi | ||
| 14097 | $as_echo "$as_me: error: $1" >&2 | ||
| 14098 | as_fn_exit $as_status | ||
| 14099 | } # as_fn_error | ||
| 14100 | |||
| 14101 | |||
| 14102 | # as_fn_set_status STATUS | ||
| 14103 | # ----------------------- | ||
| 14104 | # Set $? to STATUS, without forking. | ||
| 14105 | as_fn_set_status () | ||
| 14106 | { | ||
| 14107 | return $1 | ||
| 14108 | } # as_fn_set_status | ||
| 14109 | |||
| 14110 | # as_fn_exit STATUS | ||
| 14111 | # ----------------- | ||
| 14112 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 14113 | as_fn_exit () | ||
| 14114 | { | ||
| 14115 | set +e | ||
| 14116 | as_fn_set_status $1 | ||
| 14117 | exit $1 | ||
| 14118 | } # as_fn_exit | ||
| 14119 | |||
| 14120 | # as_fn_unset VAR | ||
| 14121 | # --------------- | ||
| 14122 | # Portably unset VAR. | ||
| 14123 | as_fn_unset () | ||
| 14124 | { | ||
| 14125 | { eval $1=; unset $1;} | ||
| 14126 | } | ||
| 14127 | as_unset=as_fn_unset | ||
| 14128 | # as_fn_append VAR VALUE | ||
| 14129 | # ---------------------- | ||
| 14130 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 14131 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 14132 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 14133 | # implementations. | ||
| 14134 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 14135 | eval 'as_fn_append () | ||
| 14136 | { | ||
| 14137 | eval $1+=\$2 | ||
| 14138 | }' | ||
| 14139 | else | ||
| 14140 | as_fn_append () | ||
| 14141 | { | ||
| 14142 | eval $1=\$$1\$2 | ||
| 14143 | } | ||
| 14144 | fi # as_fn_append | ||
| 14145 | |||
| 14146 | # as_fn_arith ARG... | ||
| 14147 | # ------------------ | ||
| 14148 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 14149 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 14150 | # must be portable across $(()) and expr. | ||
| 14151 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 14152 | eval 'as_fn_arith () | ||
| 14153 | { | ||
| 14154 | as_val=$(( $* )) | ||
| 14155 | }' | ||
| 14156 | else | ||
| 14157 | as_fn_arith () | ||
| 14158 | { | ||
| 14159 | as_val=`expr "$@" || test $? -eq 1` | ||
| 14160 | } | ||
| 14161 | fi # as_fn_arith | ||
| 14162 | |||
| 14163 | |||
| 14164 | if expr a : '\(a\)' >/dev/null 2>&1 && | 26722 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 14165 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 26723 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 14166 | as_expr=expr | 26724 | as_expr=expr |
| @@ -14174,12 +26732,8 @@ else | |||
| 14174 | as_basename=false | 26732 | as_basename=false |
| 14175 | fi | 26733 | fi |
| 14176 | 26734 | ||
| 14177 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 14178 | as_dirname=dirname | ||
| 14179 | else | ||
| 14180 | as_dirname=false | ||
| 14181 | fi | ||
| 14182 | 26735 | ||
| 26736 | # Name of the executable. | ||
| 14183 | as_me=`$as_basename -- "$0" || | 26737 | as_me=`$as_basename -- "$0" || |
| 14184 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 26738 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 14185 | X"$0" : 'X\(//\)$' \| \ | 26739 | X"$0" : 'X\(//\)$' \| \ |
| @@ -14199,25 +26753,76 @@ $as_echo X/"$0" | | |||
| 14199 | } | 26753 | } |
| 14200 | s/.*/./; q'` | 26754 | s/.*/./; q'` |
| 14201 | 26755 | ||
| 14202 | # Avoid depending upon Character Ranges. | 26756 | # CDPATH. |
| 14203 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 26757 | $as_unset CDPATH |
| 14204 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 26758 | |
| 14205 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 26759 | |
| 14206 | as_cr_digits='0123456789' | 26760 | |
| 14207 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 26761 | as_lineno_1=$LINENO |
| 26762 | as_lineno_2=$LINENO | ||
| 26763 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 26764 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 26765 | |||
| 26766 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 26767 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 26768 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 26769 | # does the real work. The second script uses 'N' to pair each | ||
| 26770 | # line-number line with the line containing $LINENO, and appends | ||
| 26771 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 26772 | # case at line end. | ||
| 26773 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 26774 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 26775 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 26776 | sed -n ' | ||
| 26777 | p | ||
| 26778 | /[$]LINENO/= | ||
| 26779 | ' <$as_myself | | ||
| 26780 | sed ' | ||
| 26781 | s/[$]LINENO.*/&-/ | ||
| 26782 | t lineno | ||
| 26783 | b | ||
| 26784 | :lineno | ||
| 26785 | N | ||
| 26786 | :loop | ||
| 26787 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 26788 | t loop | ||
| 26789 | s/-\n.*// | ||
| 26790 | ' >$as_me.lineno && | ||
| 26791 | chmod +x "$as_me.lineno" || | ||
| 26792 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
| 26793 | { (exit 1); exit 1; }; } | ||
| 26794 | |||
| 26795 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 26796 | # (the dirname of $[0] is not the place where we might find the | ||
| 26797 | # original and so on. Autoconf is especially sensitive to this). | ||
| 26798 | . "./$as_me.lineno" | ||
| 26799 | # Exit status is that of the last command. | ||
| 26800 | exit | ||
| 26801 | } | ||
| 26802 | |||
| 26803 | |||
| 26804 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 26805 | as_dirname=dirname | ||
| 26806 | else | ||
| 26807 | as_dirname=false | ||
| 26808 | fi | ||
| 14208 | 26809 | ||
| 14209 | ECHO_C= ECHO_N= ECHO_T= | 26810 | ECHO_C= ECHO_N= ECHO_T= |
| 14210 | case `echo -n x` in #((((( | 26811 | case `echo -n x` in |
| 14211 | -n*) | 26812 | -n*) |
| 14212 | case `echo 'xy\c'` in | 26813 | case `echo 'x\c'` in |
| 14213 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 26814 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 14214 | xy) ECHO_C='\c';; | 26815 | *) ECHO_C='\c';; |
| 14215 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 14216 | ECHO_T=' ';; | ||
| 14217 | esac;; | 26816 | esac;; |
| 14218 | *) | 26817 | *) |
| 14219 | ECHO_N='-n';; | 26818 | ECHO_N='-n';; |
| 14220 | esac | 26819 | esac |
| 26820 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 26821 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 26822 | as_expr=expr | ||
| 26823 | else | ||
| 26824 | as_expr=false | ||
| 26825 | fi | ||
| 14221 | 26826 | ||
| 14222 | rm -f conf$$ conf$$.exe conf$$.file | 26827 | rm -f conf$$ conf$$.exe conf$$.file |
| 14223 | if test -d conf$$.dir; then | 26828 | if test -d conf$$.dir; then |
| @@ -14246,56 +26851,8 @@ fi | |||
| 14246 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 26851 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 14247 | rmdir conf$$.dir 2>/dev/null | 26852 | rmdir conf$$.dir 2>/dev/null |
| 14248 | 26853 | ||
| 14249 | |||
| 14250 | # as_fn_mkdir_p | ||
| 14251 | # ------------- | ||
| 14252 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 14253 | as_fn_mkdir_p () | ||
| 14254 | { | ||
| 14255 | |||
| 14256 | case $as_dir in #( | ||
| 14257 | -*) as_dir=./$as_dir;; | ||
| 14258 | esac | ||
| 14259 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 14260 | as_dirs= | ||
| 14261 | while :; do | ||
| 14262 | case $as_dir in #( | ||
| 14263 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 14264 | *) as_qdir=$as_dir;; | ||
| 14265 | esac | ||
| 14266 | as_dirs="'$as_qdir' $as_dirs" | ||
| 14267 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 14268 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 14269 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 14270 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 14271 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 14272 | $as_echo X"$as_dir" | | ||
| 14273 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 14274 | s//\1/ | ||
| 14275 | q | ||
| 14276 | } | ||
| 14277 | /^X\(\/\/\)[^/].*/{ | ||
| 14278 | s//\1/ | ||
| 14279 | q | ||
| 14280 | } | ||
| 14281 | /^X\(\/\/\)$/{ | ||
| 14282 | s//\1/ | ||
| 14283 | q | ||
| 14284 | } | ||
| 14285 | /^X\(\/\).*/{ | ||
| 14286 | s//\1/ | ||
| 14287 | q | ||
| 14288 | } | ||
| 14289 | s/.*/./; q'` | ||
| 14290 | test -d "$as_dir" && break | ||
| 14291 | done | ||
| 14292 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 14293 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 14294 | |||
| 14295 | |||
| 14296 | } # as_fn_mkdir_p | ||
| 14297 | if mkdir -p . 2>/dev/null; then | 26854 | if mkdir -p . 2>/dev/null; then |
| 14298 | as_mkdir_p='mkdir -p "$as_dir"' | 26855 | as_mkdir_p=: |
| 14299 | else | 26856 | else |
| 14300 | test -d ./-p && rmdir ./-p | 26857 | test -d ./-p && rmdir ./-p |
| 14301 | as_mkdir_p=false | 26858 | as_mkdir_p=false |
| @@ -14314,10 +26871,10 @@ else | |||
| 14314 | if test -d "$1"; then | 26871 | if test -d "$1"; then |
| 14315 | test -d "$1/."; | 26872 | test -d "$1/."; |
| 14316 | else | 26873 | else |
| 14317 | case $1 in #( | 26874 | case $1 in |
| 14318 | -*)set "./$1";; | 26875 | -*)set "./$1";; |
| 14319 | esac; | 26876 | esac; |
| 14320 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 26877 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 14321 | ???[sx]*):;;*)false;;esac;fi | 26878 | ???[sx]*):;;*)false;;esac;fi |
| 14322 | '\'' sh | 26879 | '\'' sh |
| 14323 | ' | 26880 | ' |
| @@ -14332,19 +26889,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
| 14332 | 26889 | ||
| 14333 | 26890 | ||
| 14334 | exec 6>&1 | 26891 | exec 6>&1 |
| 14335 | ## ----------------------------------- ## | ||
| 14336 | ## Main body of $CONFIG_STATUS script. ## | ||
| 14337 | ## ----------------------------------- ## | ||
| 14338 | _ASEOF | ||
| 14339 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 14340 | 26892 | ||
| 14341 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26893 | # Save the log message, to keep $[0] and so on meaningful, and to |
| 14342 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 14343 | # report actual input values of CONFIG_FILES etc. instead of their | 26894 | # report actual input values of CONFIG_FILES etc. instead of their |
| 14344 | # values after options handling. | 26895 | # values after options handling. |
| 14345 | ac_log=" | 26896 | ac_log=" |
| 14346 | This file was extended by emacs $as_me 24.0.50, which was | 26897 | This file was extended by emacs $as_me 24.0.50, which was |
| 14347 | generated by GNU Autoconf 2.65. Invocation command line was | 26898 | generated by GNU Autoconf 2.62. Invocation command line was |
| 14348 | 26899 | ||
| 14349 | CONFIG_FILES = $CONFIG_FILES | 26900 | CONFIG_FILES = $CONFIG_FILES |
| 14350 | CONFIG_HEADERS = $CONFIG_HEADERS | 26901 | CONFIG_HEADERS = $CONFIG_HEADERS |
| @@ -14357,15 +26908,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
| 14357 | 26908 | ||
| 14358 | _ACEOF | 26909 | _ACEOF |
| 14359 | 26910 | ||
| 14360 | case $ac_config_files in *" | ||
| 14361 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 14362 | esac | ||
| 14363 | |||
| 14364 | case $ac_config_headers in *" | ||
| 14365 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 14366 | esac | ||
| 14367 | |||
| 14368 | |||
| 14369 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26911 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14370 | # Files that config.status was made for. | 26912 | # Files that config.status was made for. |
| 14371 | config_files="$ac_config_files" | 26913 | config_files="$ac_config_files" |
| @@ -14376,22 +26918,19 @@ _ACEOF | |||
| 14376 | 26918 | ||
| 14377 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26919 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14378 | ac_cs_usage="\ | 26920 | ac_cs_usage="\ |
| 14379 | \`$as_me' instantiates files and other configuration actions | 26921 | \`$as_me' instantiates files from templates according to the |
| 14380 | from templates according to the current configuration. Unless the files | 26922 | current configuration. |
| 14381 | and actions are specified as TAGs, all are instantiated by default. | ||
| 14382 | 26923 | ||
| 14383 | Usage: $0 [OPTION]... [TAG]... | 26924 | Usage: $0 [OPTIONS] [FILE]... |
| 14384 | 26925 | ||
| 14385 | -h, --help print this help, then exit | 26926 | -h, --help print this help, then exit |
| 14386 | -V, --version print version number and configuration settings, then exit | 26927 | -V, --version print version number and configuration settings, then exit |
| 14387 | --config print configuration, then exit | 26928 | -q, --quiet do not print progress messages |
| 14388 | -q, --quiet, --silent | ||
| 14389 | do not print progress messages | ||
| 14390 | -d, --debug don't remove temporary files | 26929 | -d, --debug don't remove temporary files |
| 14391 | --recheck update $as_me by reconfiguring in the same conditions | 26930 | --recheck update $as_me by reconfiguring in the same conditions |
| 14392 | --file=FILE[:TEMPLATE] | 26931 | --file=FILE[:TEMPLATE] |
| 14393 | instantiate the configuration file FILE | 26932 | instantiate the configuration file FILE |
| 14394 | --header=FILE[:TEMPLATE] | 26933 | --header=FILE[:TEMPLATE] |
| 14395 | instantiate the configuration header FILE | 26934 | instantiate the configuration header FILE |
| 14396 | 26935 | ||
| 14397 | Configuration files: | 26936 | Configuration files: |
| @@ -14403,17 +26942,16 @@ $config_headers | |||
| 14403 | Configuration commands: | 26942 | Configuration commands: |
| 14404 | $config_commands | 26943 | $config_commands |
| 14405 | 26944 | ||
| 14406 | Report bugs to the package provider." | 26945 | Report bugs to <bug-autoconf@gnu.org>." |
| 14407 | 26946 | ||
| 14408 | _ACEOF | 26947 | _ACEOF |
| 14409 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26948 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14410 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
| 14411 | ac_cs_version="\\ | 26949 | ac_cs_version="\\ |
| 14412 | emacs config.status 24.0.50 | 26950 | emacs config.status 24.0.50 |
| 14413 | configured by $0, generated by GNU Autoconf 2.65, | 26951 | configured by $0, generated by GNU Autoconf 2.62, |
| 14414 | with options \\"\$ac_cs_config\\" | 26952 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14415 | 26953 | ||
| 14416 | Copyright (C) 2009 Free Software Foundation, Inc. | 26954 | Copyright (C) 2008 Free Software Foundation, Inc. |
| 14417 | This config.status script is free software; the Free Software Foundation | 26955 | This config.status script is free software; the Free Software Foundation |
| 14418 | gives unlimited permission to copy, distribute and modify it." | 26956 | gives unlimited permission to copy, distribute and modify it." |
| 14419 | 26957 | ||
| @@ -14447,8 +26985,6 @@ do | |||
| 14447 | ac_cs_recheck=: ;; | 26985 | ac_cs_recheck=: ;; |
| 14448 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 26986 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14449 | $as_echo "$ac_cs_version"; exit ;; | 26987 | $as_echo "$ac_cs_version"; exit ;; |
| 14450 | --config | --confi | --conf | --con | --co | --c ) | ||
| 14451 | $as_echo "$ac_cs_config"; exit ;; | ||
| 14452 | --debug | --debu | --deb | --de | --d | -d ) | 26988 | --debug | --debu | --deb | --de | --d | -d ) |
| 14453 | debug=: ;; | 26989 | debug=: ;; |
| 14454 | --file | --fil | --fi | --f ) | 26990 | --file | --fil | --fi | --f ) |
| @@ -14456,19 +26992,20 @@ do | |||
| 14456 | case $ac_optarg in | 26992 | case $ac_optarg in |
| 14457 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26993 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14458 | esac | 26994 | esac |
| 14459 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 26995 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 14460 | ac_need_defaults=false;; | 26996 | ac_need_defaults=false;; |
| 14461 | --header | --heade | --head | --hea ) | 26997 | --header | --heade | --head | --hea ) |
| 14462 | $ac_shift | 26998 | $ac_shift |
| 14463 | case $ac_optarg in | 26999 | case $ac_optarg in |
| 14464 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 27000 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14465 | esac | 27001 | esac |
| 14466 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 27002 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 14467 | ac_need_defaults=false;; | 27003 | ac_need_defaults=false;; |
| 14468 | --he | --h) | 27004 | --he | --h) |
| 14469 | # Conflict between --help and --header | 27005 | # Conflict between --help and --header |
| 14470 | as_fn_error "ambiguous option: \`$1' | 27006 | { $as_echo "$as_me: error: ambiguous option: $1 |
| 14471 | Try \`$0 --help' for more information.";; | 27007 | Try \`$0 --help' for more information." >&2 |
| 27008 | { (exit 1); exit 1; }; };; | ||
| 14472 | --help | --hel | -h ) | 27009 | --help | --hel | -h ) |
| 14473 | $as_echo "$ac_cs_usage"; exit ;; | 27010 | $as_echo "$ac_cs_usage"; exit ;; |
| 14474 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 27011 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| @@ -14476,10 +27013,11 @@ Try \`$0 --help' for more information.";; | |||
| 14476 | ac_cs_silent=: ;; | 27013 | ac_cs_silent=: ;; |
| 14477 | 27014 | ||
| 14478 | # This is an error. | 27015 | # This is an error. |
| 14479 | -*) as_fn_error "unrecognized option: \`$1' | 27016 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 14480 | Try \`$0 --help' for more information." ;; | 27017 | Try \`$0 --help' for more information." >&2 |
| 27018 | { (exit 1); exit 1; }; } ;; | ||
| 14481 | 27019 | ||
| 14482 | *) as_fn_append ac_config_targets " $1" | 27020 | *) ac_config_targets="$ac_config_targets $1" |
| 14483 | ac_need_defaults=false ;; | 27021 | ac_need_defaults=false ;; |
| 14484 | 27022 | ||
| 14485 | esac | 27023 | esac |
| @@ -14544,7 +27082,9 @@ do | |||
| 14544 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 27082 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 14545 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 27083 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
| 14546 | 27084 | ||
| 14547 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 27085 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 27086 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
| 27087 | { (exit 1); exit 1; }; };; | ||
| 14548 | esac | 27088 | esac |
| 14549 | done | 27089 | done |
| 14550 | 27090 | ||
| @@ -14571,7 +27111,7 @@ $debug || | |||
| 14571 | trap 'exit_status=$? | 27111 | trap 'exit_status=$? |
| 14572 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 27112 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 14573 | ' 0 | 27113 | ' 0 |
| 14574 | trap 'as_fn_exit 1' 1 2 13 15 | 27114 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 14575 | } | 27115 | } |
| 14576 | # Create a (secure) tmp directory for tmp files. | 27116 | # Create a (secure) tmp directory for tmp files. |
| 14577 | 27117 | ||
| @@ -14582,7 +27122,11 @@ $debug || | |||
| 14582 | { | 27122 | { |
| 14583 | tmp=./conf$$-$RANDOM | 27123 | tmp=./conf$$-$RANDOM |
| 14584 | (umask 077 && mkdir "$tmp") | 27124 | (umask 077 && mkdir "$tmp") |
| 14585 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 27125 | } || |
| 27126 | { | ||
| 27127 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | ||
| 27128 | { (exit 1); exit 1; } | ||
| 27129 | } | ||
| 14586 | 27130 | ||
| 14587 | # Set up the scripts for CONFIG_FILES section. | 27131 | # Set up the scripts for CONFIG_FILES section. |
| 14588 | # No need to generate them if there are no CONFIG_FILES. | 27132 | # No need to generate them if there are no CONFIG_FILES. |
| @@ -14590,16 +27134,10 @@ $debug || | |||
| 14590 | if test -n "$CONFIG_FILES"; then | 27134 | if test -n "$CONFIG_FILES"; then |
| 14591 | 27135 | ||
| 14592 | 27136 | ||
| 14593 | ac_cr=`echo X | tr X '\015'` | 27137 | ac_cr=' ' |
| 14594 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 14595 | # But we know of no other shell where ac_cr would be empty at this | ||
| 14596 | # point, so we can use a bashism as a fallback. | ||
| 14597 | if test "x$ac_cr" = x; then | ||
| 14598 | eval ac_cr=\$\'\\r\' | ||
| 14599 | fi | ||
| 14600 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 27138 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 14601 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 27139 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 14602 | ac_cs_awk_cr='\r' | 27140 | ac_cs_awk_cr='\\r' |
| 14603 | else | 27141 | else |
| 14604 | ac_cs_awk_cr=$ac_cr | 27142 | ac_cs_awk_cr=$ac_cr |
| 14605 | fi | 27143 | fi |
| @@ -14613,18 +27151,23 @@ _ACEOF | |||
| 14613 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 27151 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 14614 | echo "_ACEOF" | 27152 | echo "_ACEOF" |
| 14615 | } >conf$$subs.sh || | 27153 | } >conf$$subs.sh || |
| 14616 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27154 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 27155 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 27156 | { (exit 1); exit 1; }; } | ||
| 14617 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 27157 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 14618 | ac_delim='%!_!# ' | 27158 | ac_delim='%!_!# ' |
| 14619 | for ac_last_try in false false false false false :; do | 27159 | for ac_last_try in false false false false false :; do |
| 14620 | . ./conf$$subs.sh || | 27160 | . ./conf$$subs.sh || |
| 14621 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27161 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 27162 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 27163 | { (exit 1); exit 1; }; } | ||
| 14622 | 27164 | ||
| 14623 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 27165 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
| 14624 | if test $ac_delim_n = $ac_delim_num; then | ||
| 14625 | break | 27166 | break |
| 14626 | elif $ac_last_try; then | 27167 | elif $ac_last_try; then |
| 14627 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 27168 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 27169 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 27170 | { (exit 1); exit 1; }; } | ||
| 14628 | else | 27171 | else |
| 14629 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 27172 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14630 | fi | 27173 | fi |
| @@ -14646,7 +27189,7 @@ s/'"$ac_delim"'$// | |||
| 14646 | t delim | 27189 | t delim |
| 14647 | :nl | 27190 | :nl |
| 14648 | h | 27191 | h |
| 14649 | s/\(.\{148\}\)..*/\1/ | 27192 | s/\(.\{148\}\).*/\1/ |
| 14650 | t more1 | 27193 | t more1 |
| 14651 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 27194 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 14652 | p | 27195 | p |
| @@ -14660,7 +27203,7 @@ s/.\{148\}// | |||
| 14660 | t nl | 27203 | t nl |
| 14661 | :delim | 27204 | :delim |
| 14662 | h | 27205 | h |
| 14663 | s/\(.\{148\}\)..*/\1/ | 27206 | s/\(.\{148\}\).*/\1/ |
| 14664 | t more2 | 27207 | t more2 |
| 14665 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 27208 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 14666 | p | 27209 | p |
| @@ -14713,7 +27256,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |||
| 14713 | else | 27256 | else |
| 14714 | cat | 27257 | cat |
| 14715 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 27258 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 14716 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 27259 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| 27260 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | ||
| 27261 | { (exit 1); exit 1; }; } | ||
| 14717 | _ACEOF | 27262 | _ACEOF |
| 14718 | 27263 | ||
| 14719 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 27264 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| @@ -14754,7 +27299,9 @@ for ac_last_try in false false :; do | |||
| 14754 | if test -z "$ac_t"; then | 27299 | if test -z "$ac_t"; then |
| 14755 | break | 27300 | break |
| 14756 | elif $ac_last_try; then | 27301 | elif $ac_last_try; then |
| 14757 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 27302 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| 27303 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | ||
| 27304 | { (exit 1); exit 1; }; } | ||
| 14758 | else | 27305 | else |
| 14759 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 27306 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14760 | fi | 27307 | fi |
| @@ -14820,9 +27367,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14820 | } | 27367 | } |
| 14821 | split(mac1, mac2, "(") #) | 27368 | split(mac1, mac2, "(") #) |
| 14822 | macro = mac2[1] | 27369 | macro = mac2[1] |
| 14823 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14824 | if (D_is_set[macro]) { | 27370 | if (D_is_set[macro]) { |
| 14825 | # Preserve the white space surrounding the "#". | 27371 | # Preserve the white space surrounding the "#". |
| 27372 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14826 | print prefix "define", macro P[macro] D[macro] | 27373 | print prefix "define", macro P[macro] D[macro] |
| 14827 | next | 27374 | next |
| 14828 | } else { | 27375 | } else { |
| @@ -14830,7 +27377,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14830 | # in the case of _POSIX_SOURCE, which is predefined and required | 27377 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 14831 | # on some systems where configure will not decide to define it. | 27378 | # on some systems where configure will not decide to define it. |
| 14832 | if (defundef == "undef") { | 27379 | if (defundef == "undef") { |
| 14833 | print "/*", prefix defundef, macro, "*/" | 27380 | print "/*", line, "*/" |
| 14834 | next | 27381 | next |
| 14835 | } | 27382 | } |
| 14836 | } | 27383 | } |
| @@ -14839,7 +27386,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14839 | _ACAWK | 27386 | _ACAWK |
| 14840 | _ACEOF | 27387 | _ACEOF |
| 14841 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27388 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14842 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 27389 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| 27390 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | ||
| 27391 | { (exit 1); exit 1; }; } | ||
| 14843 | fi # test -n "$CONFIG_HEADERS" | 27392 | fi # test -n "$CONFIG_HEADERS" |
| 14844 | 27393 | ||
| 14845 | 27394 | ||
| @@ -14852,7 +27401,9 @@ do | |||
| 14852 | esac | 27401 | esac |
| 14853 | case $ac_mode$ac_tag in | 27402 | case $ac_mode$ac_tag in |
| 14854 | :[FHL]*:*);; | 27403 | :[FHL]*:*);; |
| 14855 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 27404 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 27405 | $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
| 27406 | { (exit 1); exit 1; }; };; | ||
| 14856 | :[FH]-) ac_tag=-:-;; | 27407 | :[FH]-) ac_tag=-:-;; |
| 14857 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 27408 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 14858 | esac | 27409 | esac |
| @@ -14880,10 +27431,12 @@ do | |||
| 14880 | [\\/$]*) false;; | 27431 | [\\/$]*) false;; |
| 14881 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 27432 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 14882 | esac || | 27433 | esac || |
| 14883 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 27434 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 27435 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
| 27436 | { (exit 1); exit 1; }; };; | ||
| 14884 | esac | 27437 | esac |
| 14885 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 27438 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 14886 | as_fn_append ac_file_inputs " '$ac_f'" | 27439 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 14887 | done | 27440 | done |
| 14888 | 27441 | ||
| 14889 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 27442 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| @@ -14894,7 +27447,7 @@ do | |||
| 14894 | `' by configure.' | 27447 | `' by configure.' |
| 14895 | if test x"$ac_file" != x-; then | 27448 | if test x"$ac_file" != x-; then |
| 14896 | configure_input="$ac_file. $configure_input" | 27449 | configure_input="$ac_file. $configure_input" |
| 14897 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 27450 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 14898 | $as_echo "$as_me: creating $ac_file" >&6;} | 27451 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 14899 | fi | 27452 | fi |
| 14900 | # Neutralize special characters interpreted by sed in replacement strings. | 27453 | # Neutralize special characters interpreted by sed in replacement strings. |
| @@ -14907,7 +27460,9 @@ $as_echo "$as_me: creating $ac_file" >&6;} | |||
| 14907 | 27460 | ||
| 14908 | case $ac_tag in | 27461 | case $ac_tag in |
| 14909 | *:-:* | *:-) cat >"$tmp/stdin" \ | 27462 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| 14910 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 27463 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27464 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27465 | { (exit 1); exit 1; }; } ;; | ||
| 14911 | esac | 27466 | esac |
| 14912 | ;; | 27467 | ;; |
| 14913 | esac | 27468 | esac |
| @@ -14935,7 +27490,47 @@ $as_echo X"$ac_file" | | |||
| 14935 | q | 27490 | q |
| 14936 | } | 27491 | } |
| 14937 | s/.*/./; q'` | 27492 | s/.*/./; q'` |
| 14938 | as_dir="$ac_dir"; as_fn_mkdir_p | 27493 | { as_dir="$ac_dir" |
| 27494 | case $as_dir in #( | ||
| 27495 | -*) as_dir=./$as_dir;; | ||
| 27496 | esac | ||
| 27497 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
| 27498 | as_dirs= | ||
| 27499 | while :; do | ||
| 27500 | case $as_dir in #( | ||
| 27501 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 27502 | *) as_qdir=$as_dir;; | ||
| 27503 | esac | ||
| 27504 | as_dirs="'$as_qdir' $as_dirs" | ||
| 27505 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 27506 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 27507 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 27508 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 27509 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 27510 | $as_echo X"$as_dir" | | ||
| 27511 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 27512 | s//\1/ | ||
| 27513 | q | ||
| 27514 | } | ||
| 27515 | /^X\(\/\/\)[^/].*/{ | ||
| 27516 | s//\1/ | ||
| 27517 | q | ||
| 27518 | } | ||
| 27519 | /^X\(\/\/\)$/{ | ||
| 27520 | s//\1/ | ||
| 27521 | q | ||
| 27522 | } | ||
| 27523 | /^X\(\/\).*/{ | ||
| 27524 | s//\1/ | ||
| 27525 | q | ||
| 27526 | } | ||
| 27527 | s/.*/./; q'` | ||
| 27528 | test -d "$as_dir" && break | ||
| 27529 | done | ||
| 27530 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 27531 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
| 27532 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
| 27533 | { (exit 1); exit 1; }; }; } | ||
| 14939 | ac_builddir=. | 27534 | ac_builddir=. |
| 14940 | 27535 | ||
| 14941 | case "$ac_dir" in | 27536 | case "$ac_dir" in |
| @@ -14987,6 +27582,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
| 14987 | # If the template does not know about datarootdir, expand it. | 27582 | # If the template does not know about datarootdir, expand it. |
| 14988 | # FIXME: This hack should be removed a few years after 2.60. | 27583 | # FIXME: This hack should be removed a few years after 2.60. |
| 14989 | ac_datarootdir_hack=; ac_datarootdir_seen= | 27584 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 27585 | |||
| 14990 | ac_sed_dataroot=' | 27586 | ac_sed_dataroot=' |
| 14991 | /datarootdir/ { | 27587 | /datarootdir/ { |
| 14992 | p | 27588 | p |
| @@ -14996,11 +27592,12 @@ ac_sed_dataroot=' | |||
| 14996 | /@docdir@/p | 27592 | /@docdir@/p |
| 14997 | /@infodir@/p | 27593 | /@infodir@/p |
| 14998 | /@localedir@/p | 27594 | /@localedir@/p |
| 14999 | /@mandir@/p' | 27595 | /@mandir@/p |
| 27596 | ' | ||
| 15000 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 27597 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 15001 | *datarootdir*) ac_datarootdir_seen=yes;; | 27598 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 15002 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 27599 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 15003 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 27600 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 15004 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 27601 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 15005 | _ACEOF | 27602 | _ACEOF |
| 15006 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27603 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| @@ -15010,7 +27607,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 15010 | s&@infodir@&$infodir&g | 27607 | s&@infodir@&$infodir&g |
| 15011 | s&@localedir@&$localedir&g | 27608 | s&@localedir@&$localedir&g |
| 15012 | s&@mandir@&$mandir&g | 27609 | s&@mandir@&$mandir&g |
| 15013 | s&\\\${datarootdir}&$datarootdir&g' ;; | 27610 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 15014 | esac | 27611 | esac |
| 15015 | _ACEOF | 27612 | _ACEOF |
| 15016 | 27613 | ||
| @@ -15038,12 +27635,14 @@ s&@INSTALL@&$ac_INSTALL&;t t | |||
| 15038 | $ac_datarootdir_hack | 27635 | $ac_datarootdir_hack |
| 15039 | " | 27636 | " |
| 15040 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 27637 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 15041 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27638 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27639 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27640 | { (exit 1); exit 1; }; } | ||
| 15042 | 27641 | ||
| 15043 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 27642 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 15044 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 27643 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 15045 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 27644 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 15046 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27645 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15047 | which seems to be undefined. Please make sure it is defined." >&5 | 27646 | which seems to be undefined. Please make sure it is defined." >&5 |
| 15048 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27647 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15049 | which seems to be undefined. Please make sure it is defined." >&2;} | 27648 | which seems to be undefined. Please make sure it is defined." >&2;} |
| @@ -15053,7 +27652,9 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 15053 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 27652 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 15054 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 27653 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 15055 | esac \ | 27654 | esac \ |
| 15056 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27655 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27656 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27657 | { (exit 1); exit 1; }; } | ||
| 15057 | ;; | 27658 | ;; |
| 15058 | :H) | 27659 | :H) |
| 15059 | # | 27660 | # |
| @@ -15064,23 +27665,29 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 15064 | $as_echo "/* $configure_input */" \ | 27665 | $as_echo "/* $configure_input */" \ |
| 15065 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 27666 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 15066 | } >"$tmp/config.h" \ | 27667 | } >"$tmp/config.h" \ |
| 15067 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27668 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27669 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27670 | { (exit 1); exit 1; }; } | ||
| 15068 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 27671 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 15069 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 27672 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 15070 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 27673 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 15071 | else | 27674 | else |
| 15072 | rm -f "$ac_file" | 27675 | rm -f "$ac_file" |
| 15073 | mv "$tmp/config.h" "$ac_file" \ | 27676 | mv "$tmp/config.h" "$ac_file" \ |
| 15074 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27677 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27678 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27679 | { (exit 1); exit 1; }; } | ||
| 15075 | fi | 27680 | fi |
| 15076 | else | 27681 | else |
| 15077 | $as_echo "/* $configure_input */" \ | 27682 | $as_echo "/* $configure_input */" \ |
| 15078 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 27683 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 15079 | || as_fn_error "could not create -" "$LINENO" 5 | 27684 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| 27685 | $as_echo "$as_me: error: could not create -" >&2;} | ||
| 27686 | { (exit 1); exit 1; }; } | ||
| 15080 | fi | 27687 | fi |
| 15081 | ;; | 27688 | ;; |
| 15082 | 27689 | ||
| 15083 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 27690 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
| 15084 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 27691 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 15085 | ;; | 27692 | ;; |
| 15086 | esac | 27693 | esac |
| @@ -15151,12 +27758,15 @@ fi | |||
| 15151 | done # for ac_tag | 27758 | done # for ac_tag |
| 15152 | 27759 | ||
| 15153 | 27760 | ||
| 15154 | as_fn_exit 0 | 27761 | { (exit 0); exit 0; } |
| 15155 | _ACEOF | 27762 | _ACEOF |
| 27763 | chmod +x $CONFIG_STATUS | ||
| 15156 | ac_clean_files=$ac_clean_files_save | 27764 | ac_clean_files=$ac_clean_files_save |
| 15157 | 27765 | ||
| 15158 | test $ac_write_fail = 0 || | 27766 | test $ac_write_fail = 0 || |
| 15159 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 27767 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| 27768 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | ||
| 27769 | { (exit 1); exit 1; }; } | ||
| 15160 | 27770 | ||
| 15161 | 27771 | ||
| 15162 | # configure is writing to config.log, and then calls config.status. | 27772 | # configure is writing to config.log, and then calls config.status. |
| @@ -15177,11 +27787,11 @@ if test "$no_create" != yes; then | |||
| 15177 | exec 5>>config.log | 27787 | exec 5>>config.log |
| 15178 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 27788 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 15179 | # would make configure fail if this is the last instruction. | 27789 | # would make configure fail if this is the last instruction. |
| 15180 | $ac_cs_success || as_fn_exit $? | 27790 | $ac_cs_success || { (exit 1); exit 1; } |
| 15181 | fi | 27791 | fi |
| 15182 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 27792 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 15183 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 27793 | { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
| 15184 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 27794 | $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
| 15185 | fi | 27795 | fi |
| 15186 | 27796 | ||
| 15187 | 27797 | ||