diff options
| -rwxr-xr-x | configure | 18933 | ||||
| -rw-r--r-- | src/config.in | 68 |
2 files changed, 15729 insertions, 3272 deletions
| @@ -1,22 +1,18 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.65 for emacs 24.0.50. | 3 | # Generated by GNU Autoconf 2.62 for emacs 24.0.50. |
| 4 | # | ||
| 5 | # | 4 | # |
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 8 | # Inc. | ||
| 9 | # | ||
| 10 | # | ||
| 11 | # This configure script is free software; the Free Software Foundation | 7 | # This configure script is free software; the Free Software Foundation |
| 12 | # gives unlimited permission to copy, distribute and modify it. | 8 | # gives unlimited permission to copy, distribute and modify it. |
| 13 | ## -------------------- ## | 9 | ## --------------------- ## |
| 14 | ## M4sh Initialization. ## | 10 | ## M4sh Initialization. ## |
| 15 | ## -------------------- ## | 11 | ## --------------------- ## |
| 16 | 12 | ||
| 17 | # Be more Bourne compatible | 13 | # Be more Bourne compatible |
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | 14 | DUALCASE=1; export DUALCASE # for MKS sh |
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 20 | emulate sh | 16 | emulate sh |
| 21 | NULLCMD=: | 17 | NULLCMD=: |
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -24,15 +20,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |||
| 24 | alias -g '${1+"$@"}'='"$@"' | 20 | alias -g '${1+"$@"}'='"$@"' |
| 25 | setopt NO_GLOB_SUBST | 21 | setopt NO_GLOB_SUBST |
| 26 | else | 22 | else |
| 27 | case `(set -o) 2>/dev/null` in #( | 23 | case `(set -o) 2>/dev/null` in |
| 28 | *posix*) : | 24 | *posix*) set -o posix ;; |
| 29 | set -o posix ;; #( | ||
| 30 | *) : | ||
| 31 | ;; | ||
| 32 | esac | 25 | esac |
| 26 | |||
| 33 | fi | 27 | fi |
| 34 | 28 | ||
| 35 | 29 | ||
| 30 | |||
| 31 | |||
| 32 | # PATH needs CR | ||
| 33 | # Avoid depending upon Character Ranges. | ||
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 37 | as_cr_digits='0123456789' | ||
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 39 | |||
| 36 | as_nl=' | 40 | as_nl=' |
| 37 | ' | 41 | ' |
| 38 | export as_nl | 42 | export as_nl |
| @@ -40,13 +44,7 @@ export as_nl | |||
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 44 | # but without wasting forks for bash or zsh. | ||
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 47 | as_echo='print -r --' | ||
| 48 | as_echo_n='print -rn --' | ||
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 50 | as_echo='printf %s\n' | 48 | as_echo='printf %s\n' |
| 51 | as_echo_n='printf %s' | 49 | as_echo_n='printf %s' |
| 52 | else | 50 | else |
| @@ -57,7 +55,7 @@ else | |||
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 58 | as_echo_n_body='eval | 56 | as_echo_n_body='eval |
| 59 | arg=$1; | 57 | arg=$1; |
| 60 | case $arg in #( | 58 | case $arg in |
| 61 | *"$as_nl"*) | 59 | *"$as_nl"*) |
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -80,6 +78,13 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 80 | } | 78 | } |
| 81 | fi | 79 | fi |
| 82 | 80 | ||
| 81 | # Support unset when possible. | ||
| 82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 83 | as_unset=unset | ||
| 84 | else | ||
| 85 | as_unset=false | ||
| 86 | fi | ||
| 87 | |||
| 83 | 88 | ||
| 84 | # IFS | 89 | # IFS |
| 85 | # We need space, tab and new line, in precisely that order. Quoting is | 90 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -89,15 +94,15 @@ fi | |||
| 89 | IFS=" "" $as_nl" | 94 | IFS=" "" $as_nl" |
| 90 | 95 | ||
| 91 | # Find who we are. Look in the path if we contain no directory separator. | 96 | # Find who we are. Look in the path if we contain no directory separator. |
| 92 | case $0 in #(( | 97 | case $0 in |
| 93 | *[\\/]* ) as_myself=$0 ;; | 98 | *[\\/]* ) as_myself=$0 ;; |
| 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 95 | for as_dir in $PATH | 100 | for as_dir in $PATH |
| 96 | do | 101 | do |
| 97 | IFS=$as_save_IFS | 102 | IFS=$as_save_IFS |
| 98 | test -z "$as_dir" && as_dir=. | 103 | test -z "$as_dir" && as_dir=. |
| 99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 100 | done | 105 | done |
| 101 | IFS=$as_save_IFS | 106 | IFS=$as_save_IFS |
| 102 | 107 | ||
| 103 | ;; | 108 | ;; |
| @@ -109,16 +114,12 @@ if test "x$as_myself" = x; then | |||
| 109 | fi | 114 | fi |
| 110 | if test ! -f "$as_myself"; then | 115 | if test ! -f "$as_myself"; then |
| 111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 112 | exit 1 | 117 | { (exit 1); exit 1; } |
| 113 | fi | 118 | fi |
| 114 | 119 | ||
| 115 | # Unset variables that we do not need and which cause bugs (e.g. in | 120 | # Work around bugs in pre-3.0 UWIN ksh. |
| 116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 121 | for as_var in ENV MAIL MAILPATH |
| 117 | # suppresses any "Segmentation fault" message there. '((' could | 122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 118 | # trigger a bug in pdksh 5.2.14. | ||
| 119 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 120 | do eval test x\${$as_var+set} = xset \ | ||
| 121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 122 | done | 123 | done |
| 123 | PS1='$ ' | 124 | PS1='$ ' |
| 124 | PS2='> ' | 125 | PS2='> ' |
| @@ -130,299 +131,330 @@ export LC_ALL | |||
| 130 | LANGUAGE=C | 131 | LANGUAGE=C |
| 131 | export LANGUAGE | 132 | export LANGUAGE |
| 132 | 133 | ||
| 134 | # Required to use basename. | ||
| 135 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 137 | as_expr=expr | ||
| 138 | else | ||
| 139 | as_expr=false | ||
| 140 | fi | ||
| 141 | |||
| 142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
| 143 | as_basename=basename | ||
| 144 | else | ||
| 145 | as_basename=false | ||
| 146 | fi | ||
| 147 | |||
| 148 | |||
| 149 | # Name of the executable. | ||
| 150 | as_me=`$as_basename -- "$0" || | ||
| 151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
| 152 | X"$0" : 'X\(//\)$' \| \ | ||
| 153 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
| 154 | $as_echo X/"$0" | | ||
| 155 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
| 156 | s//\1/ | ||
| 157 | q | ||
| 158 | } | ||
| 159 | /^X\/\(\/\/\)$/{ | ||
| 160 | s//\1/ | ||
| 161 | q | ||
| 162 | } | ||
| 163 | /^X\/\(\/\).*/{ | ||
| 164 | s//\1/ | ||
| 165 | q | ||
| 166 | } | ||
| 167 | s/.*/./; q'` | ||
| 168 | |||
| 133 | # CDPATH. | 169 | # CDPATH. |
| 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 170 | $as_unset CDPATH |
| 171 | |||
| 135 | 172 | ||
| 136 | if test "x$CONFIG_SHELL" = x; then | 173 | if test "x$CONFIG_SHELL" = x; then |
| 137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 174 | if (eval ":") 2>/dev/null; then |
| 138 | emulate sh | 175 | as_have_required=yes |
| 139 | NULLCMD=: | ||
| 140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
| 141 | # is contrary to our usage. Disable this feature. | ||
| 142 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
| 143 | setopt NO_GLOB_SUBST | ||
| 144 | else | 176 | else |
| 145 | case \`(set -o) 2>/dev/null\` in #( | 177 | as_have_required=no |
| 146 | *posix*) : | ||
| 147 | set -o posix ;; #( | ||
| 148 | *) : | ||
| 149 | ;; | ||
| 150 | esac | ||
| 151 | fi | 178 | fi |
| 152 | " | 179 | |
| 153 | as_required="as_fn_return () { (exit \$1); } | 180 | if test $as_have_required = yes && (eval ": |
| 154 | as_fn_success () { as_fn_return 0; } | 181 | (as_func_return () { |
| 155 | as_fn_failure () { as_fn_return 1; } | 182 | (exit \$1) |
| 156 | as_fn_ret_success () { return 0; } | 183 | } |
| 157 | as_fn_ret_failure () { return 1; } | 184 | as_func_success () { |
| 185 | as_func_return 0 | ||
| 186 | } | ||
| 187 | as_func_failure () { | ||
| 188 | as_func_return 1 | ||
| 189 | } | ||
| 190 | as_func_ret_success () { | ||
| 191 | return 0 | ||
| 192 | } | ||
| 193 | as_func_ret_failure () { | ||
| 194 | return 1 | ||
| 195 | } | ||
| 158 | 196 | ||
| 159 | exitcode=0 | 197 | exitcode=0 |
| 160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 198 | if as_func_success; then |
| 161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 199 | : |
| 162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
| 163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
| 164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
| 165 | |||
| 166 | else | ||
| 167 | exitcode=1; echo positional parameters were not saved. | ||
| 168 | fi | ||
| 169 | test x\$exitcode = x0 || exit 1" | ||
| 170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
| 171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
| 172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
| 173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
| 174 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
| 175 | if (eval "$as_required") 2>/dev/null; then : | ||
| 176 | as_have_required=yes | ||
| 177 | else | 200 | else |
| 178 | as_have_required=no | 201 | exitcode=1 |
| 202 | echo as_func_success failed. | ||
| 203 | fi | ||
| 204 | |||
| 205 | if as_func_failure; then | ||
| 206 | exitcode=1 | ||
| 207 | echo as_func_failure succeeded. | ||
| 179 | fi | 208 | fi |
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
| 181 | 209 | ||
| 210 | if as_func_ret_success; then | ||
| 211 | : | ||
| 182 | else | 212 | else |
| 183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 213 | exitcode=1 |
| 184 | as_found=false | 214 | echo as_func_ret_success failed. |
| 215 | fi | ||
| 216 | |||
| 217 | if as_func_ret_failure; then | ||
| 218 | exitcode=1 | ||
| 219 | echo as_func_ret_failure succeeded. | ||
| 220 | fi | ||
| 221 | |||
| 222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 223 | : | ||
| 224 | else | ||
| 225 | exitcode=1 | ||
| 226 | echo positional parameters were not saved. | ||
| 227 | fi | ||
| 228 | |||
| 229 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
| 230 | |||
| 231 | ( | ||
| 232 | as_lineno_1=\$LINENO | ||
| 233 | as_lineno_2=\$LINENO | ||
| 234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
| 235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
| 236 | ") 2> /dev/null; then | ||
| 237 | : | ||
| 238 | else | ||
| 239 | as_candidate_shells= | ||
| 240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 186 | do | 242 | do |
| 187 | IFS=$as_save_IFS | 243 | IFS=$as_save_IFS |
| 188 | test -z "$as_dir" && as_dir=. | 244 | test -z "$as_dir" && as_dir=. |
| 189 | as_found=: | 245 | case $as_dir in |
| 190 | case $as_dir in #( | ||
| 191 | /*) | 246 | /*) |
| 192 | for as_base in sh bash ksh sh5; do | 247 | for as_base in sh bash ksh sh5; do |
| 193 | # Try only shells that exist, to save several forks. | 248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 194 | as_shell=$as_dir/$as_base | ||
| 195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
| 199 | break 2 | ||
| 200 | fi | ||
| 201 | fi | ||
| 202 | done;; | 249 | done;; |
| 203 | esac | 250 | esac |
| 204 | as_found=false | ||
| 205 | done | 251 | done |
| 206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
| 207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
| 208 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
| 209 | fi; } | ||
| 210 | IFS=$as_save_IFS | 252 | IFS=$as_save_IFS |
| 211 | 253 | ||
| 212 | 254 | ||
| 213 | if test "x$CONFIG_SHELL" != x; then : | 255 | for as_shell in $as_candidate_shells $SHELL; do |
| 214 | # We cannot yet assume a decent shell, so we have to provide a | 256 | # Try only shells that exist, to save several forks. |
| 215 | # neutralization value for shells without unset; and this also | 257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 216 | # works around shells that cannot unset nonexistent variables. | 258 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
| 217 | BASH_ENV=/dev/null | 259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 218 | ENV=/dev/null | 260 | emulate sh |
| 219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 261 | NULLCMD=: |
| 220 | export CONFIG_SHELL | 262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 263 | # is contrary to our usage. Disable this feature. |
| 222 | fi | 264 | alias -g '${1+"$@"}'='"$@"' |
| 265 | setopt NO_GLOB_SUBST | ||
| 266 | else | ||
| 267 | case `(set -o) 2>/dev/null` in | ||
| 268 | *posix*) set -o posix ;; | ||
| 269 | esac | ||
| 223 | 270 | ||
| 224 | if test x$as_have_required = xno; then : | ||
| 225 | $as_echo "$0: This script requires a shell more modern than all" | ||
| 226 | $as_echo "$0: the shells that I found on your system." | ||
| 227 | if test x${ZSH_VERSION+set} = xset ; then | ||
| 228 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
| 229 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
| 230 | else | ||
| 231 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | ||
| 232 | $0: including any error possibly output before this | ||
| 233 | $0: message. Then install a modern shell, or manually run | ||
| 234 | $0: the script under such a shell if you do have one." | ||
| 235 | fi | ||
| 236 | exit 1 | ||
| 237 | fi | ||
| 238 | fi | 271 | fi |
| 272 | |||
| 273 | |||
| 274 | : | ||
| 275 | _ASEOF | ||
| 276 | }; then | ||
| 277 | CONFIG_SHELL=$as_shell | ||
| 278 | as_have_required=yes | ||
| 279 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
| 280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 281 | emulate sh | ||
| 282 | NULLCMD=: | ||
| 283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
| 284 | # is contrary to our usage. Disable this feature. | ||
| 285 | alias -g '${1+"$@"}'='"$@"' | ||
| 286 | setopt NO_GLOB_SUBST | ||
| 287 | else | ||
| 288 | case `(set -o) 2>/dev/null` in | ||
| 289 | *posix*) set -o posix ;; | ||
| 290 | esac | ||
| 291 | |||
| 239 | fi | 292 | fi |
| 240 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 241 | export SHELL | ||
| 242 | # Unset more variables known to interfere with behavior of common tools. | ||
| 243 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
| 244 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
| 245 | 293 | ||
| 246 | ## --------------------- ## | ||
| 247 | ## M4sh Shell Functions. ## | ||
| 248 | ## --------------------- ## | ||
| 249 | # as_fn_unset VAR | ||
| 250 | # --------------- | ||
| 251 | # Portably unset VAR. | ||
| 252 | as_fn_unset () | ||
| 253 | { | ||
| 254 | { eval $1=; unset $1;} | ||
| 255 | } | ||
| 256 | as_unset=as_fn_unset | ||
| 257 | 294 | ||
| 258 | # as_fn_set_status STATUS | 295 | : |
| 259 | # ----------------------- | 296 | (as_func_return () { |
| 260 | # Set $? to STATUS, without forking. | 297 | (exit $1) |
| 261 | as_fn_set_status () | 298 | } |
| 262 | { | 299 | as_func_success () { |
| 263 | return $1 | 300 | as_func_return 0 |
| 264 | } # as_fn_set_status | 301 | } |
| 302 | as_func_failure () { | ||
| 303 | as_func_return 1 | ||
| 304 | } | ||
| 305 | as_func_ret_success () { | ||
| 306 | return 0 | ||
| 307 | } | ||
| 308 | as_func_ret_failure () { | ||
| 309 | return 1 | ||
| 310 | } | ||
| 265 | 311 | ||
| 266 | # as_fn_exit STATUS | 312 | exitcode=0 |
| 267 | # ----------------- | 313 | if as_func_success; then |
| 268 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 314 | : |
| 269 | as_fn_exit () | 315 | else |
| 270 | { | 316 | exitcode=1 |
| 271 | set +e | 317 | echo as_func_success failed. |
| 272 | as_fn_set_status $1 | 318 | fi |
| 273 | exit $1 | ||
| 274 | } # as_fn_exit | ||
| 275 | 319 | ||
| 276 | # as_fn_mkdir_p | 320 | if as_func_failure; then |
| 277 | # ------------- | 321 | exitcode=1 |
| 278 | # Create "$as_dir" as a directory, including parents if necessary. | 322 | echo as_func_failure succeeded. |
| 279 | as_fn_mkdir_p () | 323 | fi |
| 280 | { | ||
| 281 | 324 | ||
| 282 | case $as_dir in #( | 325 | if as_func_ret_success; then |
| 283 | -*) as_dir=./$as_dir;; | 326 | : |
| 284 | esac | ||
| 285 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 286 | as_dirs= | ||
| 287 | while :; do | ||
| 288 | case $as_dir in #( | ||
| 289 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 290 | *) as_qdir=$as_dir;; | ||
| 291 | esac | ||
| 292 | as_dirs="'$as_qdir' $as_dirs" | ||
| 293 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 294 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 295 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 296 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 297 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 298 | $as_echo X"$as_dir" | | ||
| 299 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 300 | s//\1/ | ||
| 301 | q | ||
| 302 | } | ||
| 303 | /^X\(\/\/\)[^/].*/{ | ||
| 304 | s//\1/ | ||
| 305 | q | ||
| 306 | } | ||
| 307 | /^X\(\/\/\)$/{ | ||
| 308 | s//\1/ | ||
| 309 | q | ||
| 310 | } | ||
| 311 | /^X\(\/\).*/{ | ||
| 312 | s//\1/ | ||
| 313 | q | ||
| 314 | } | ||
| 315 | s/.*/./; q'` | ||
| 316 | test -d "$as_dir" && break | ||
| 317 | done | ||
| 318 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 319 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 320 | |||
| 321 | |||
| 322 | } # as_fn_mkdir_p | ||
| 323 | # as_fn_append VAR VALUE | ||
| 324 | # ---------------------- | ||
| 325 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 326 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 327 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 328 | # implementations. | ||
| 329 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 330 | eval 'as_fn_append () | ||
| 331 | { | ||
| 332 | eval $1+=\$2 | ||
| 333 | }' | ||
| 334 | else | 327 | else |
| 335 | as_fn_append () | 328 | exitcode=1 |
| 336 | { | 329 | echo as_func_ret_success failed. |
| 337 | eval $1=\$$1\$2 | 330 | fi |
| 338 | } | 331 | |
| 339 | fi # as_fn_append | 332 | if as_func_ret_failure; then |
| 340 | 333 | exitcode=1 | |
| 341 | # as_fn_arith ARG... | 334 | echo as_func_ret_failure succeeded. |
| 342 | # ------------------ | 335 | fi |
| 343 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 336 | |
| 344 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 337 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 345 | # must be portable across $(()) and expr. | 338 | : |
| 346 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 347 | eval 'as_fn_arith () | ||
| 348 | { | ||
| 349 | as_val=$(( $* )) | ||
| 350 | }' | ||
| 351 | else | 339 | else |
| 352 | as_fn_arith () | 340 | exitcode=1 |
| 353 | { | 341 | echo positional parameters were not saved. |
| 354 | as_val=`expr "$@" || test $? -eq 1` | 342 | fi |
| 355 | } | ||
| 356 | fi # as_fn_arith | ||
| 357 | 343 | ||
| 344 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
| 358 | 345 | ||
| 359 | # as_fn_error ERROR [LINENO LOG_FD] | 346 | ( |
| 360 | # --------------------------------- | 347 | as_lineno_1=$LINENO |
| 361 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 348 | as_lineno_2=$LINENO |
| 362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 349 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 363 | # script with status $?, using 1 if that was 0. | 350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 364 | as_fn_error () | ||
| 365 | { | ||
| 366 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 367 | if test "$3"; then | ||
| 368 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 370 | fi | ||
| 371 | $as_echo "$as_me: error: $1" >&2 | ||
| 372 | as_fn_exit $as_status | ||
| 373 | } # as_fn_error | ||
| 374 | 351 | ||
| 375 | if expr a : '\(a\)' >/dev/null 2>&1 && | 352 | _ASEOF |
| 376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 353 | }; then |
| 377 | as_expr=expr | 354 | break |
| 355 | fi | ||
| 356 | |||
| 357 | fi | ||
| 358 | |||
| 359 | done | ||
| 360 | |||
| 361 | if test "x$CONFIG_SHELL" != x; then | ||
| 362 | for as_var in BASH_ENV ENV | ||
| 363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 364 | done | ||
| 365 | export CONFIG_SHELL | ||
| 366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
| 367 | fi | ||
| 368 | |||
| 369 | |||
| 370 | if test $as_have_required = no; then | ||
| 371 | echo This script requires a shell more modern than all the | ||
| 372 | echo shells that I found on your system. Please install a | ||
| 373 | echo modern shell, or manually run the script under such a | ||
| 374 | echo shell if you do have one. | ||
| 375 | { (exit 1); exit 1; } | ||
| 376 | fi | ||
| 377 | |||
| 378 | |||
| 379 | fi | ||
| 380 | |||
| 381 | fi | ||
| 382 | |||
| 383 | |||
| 384 | |||
| 385 | (eval "as_func_return () { | ||
| 386 | (exit \$1) | ||
| 387 | } | ||
| 388 | as_func_success () { | ||
| 389 | as_func_return 0 | ||
| 390 | } | ||
| 391 | as_func_failure () { | ||
| 392 | as_func_return 1 | ||
| 393 | } | ||
| 394 | as_func_ret_success () { | ||
| 395 | return 0 | ||
| 396 | } | ||
| 397 | as_func_ret_failure () { | ||
| 398 | return 1 | ||
| 399 | } | ||
| 400 | |||
| 401 | exitcode=0 | ||
| 402 | if as_func_success; then | ||
| 403 | : | ||
| 378 | else | 404 | else |
| 379 | as_expr=false | 405 | exitcode=1 |
| 406 | echo as_func_success failed. | ||
| 380 | fi | 407 | fi |
| 381 | 408 | ||
| 382 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 409 | if as_func_failure; then |
| 383 | as_basename=basename | 410 | exitcode=1 |
| 411 | echo as_func_failure succeeded. | ||
| 412 | fi | ||
| 413 | |||
| 414 | if as_func_ret_success; then | ||
| 415 | : | ||
| 384 | else | 416 | else |
| 385 | as_basename=false | 417 | exitcode=1 |
| 418 | echo as_func_ret_success failed. | ||
| 386 | fi | 419 | fi |
| 387 | 420 | ||
| 388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 421 | if as_func_ret_failure; then |
| 389 | as_dirname=dirname | 422 | exitcode=1 |
| 423 | echo as_func_ret_failure succeeded. | ||
| 424 | fi | ||
| 425 | |||
| 426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 427 | : | ||
| 390 | else | 428 | else |
| 391 | as_dirname=false | 429 | exitcode=1 |
| 430 | echo positional parameters were not saved. | ||
| 392 | fi | 431 | fi |
| 393 | 432 | ||
| 394 | as_me=`$as_basename -- "$0" || | 433 | test \$exitcode = 0") || { |
| 395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 434 | echo No shell found that supports shell functions. |
| 396 | X"$0" : 'X\(//\)$' \| \ | 435 | echo Please tell bug-autoconf@gnu.org about your system, |
| 397 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 436 | echo including any error possibly output before this message. |
| 398 | $as_echo X/"$0" | | 437 | echo This can help us improve future autoconf versions. |
| 399 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 438 | echo Configuration will now proceed without shell functions. |
| 400 | s//\1/ | 439 | } |
| 401 | q | ||
| 402 | } | ||
| 403 | /^X\/\(\/\/\)$/{ | ||
| 404 | s//\1/ | ||
| 405 | q | ||
| 406 | } | ||
| 407 | /^X\/\(\/\).*/{ | ||
| 408 | s//\1/ | ||
| 409 | q | ||
| 410 | } | ||
| 411 | s/.*/./; q'` | ||
| 412 | 440 | ||
| 413 | # Avoid depending upon Character Ranges. | ||
| 414 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 415 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 416 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 417 | as_cr_digits='0123456789' | ||
| 418 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 419 | 441 | ||
| 420 | 442 | ||
| 421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 443 | as_lineno_1=$LINENO |
| 422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 444 | as_lineno_2=$LINENO |
| 423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 445 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 447 | |
| 448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 449 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 450 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 451 | # does the real work. The second script uses 'N' to pair each | ||
| 452 | # line-number line with the line containing $LINENO, and appends | ||
| 453 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 454 | # case at line end. | ||
| 455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 456 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 457 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 426 | sed -n ' | 458 | sed -n ' |
| 427 | p | 459 | p |
| 428 | /[$]LINENO/= | 460 | /[$]LINENO/= |
| @@ -439,7 +471,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
| 439 | s/-\n.*// | 471 | s/-\n.*// |
| 440 | ' >$as_me.lineno && | 472 | ' >$as_me.lineno && |
| 441 | chmod +x "$as_me.lineno" || | 473 | chmod +x "$as_me.lineno" || |
| 442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 475 | { (exit 1); exit 1; }; } | ||
| 443 | 476 | ||
| 444 | # Don't try to exec as it changes $[0], causing all sort of problems | 477 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 445 | # (the dirname of $[0] is not the place where we might find the | 478 | # (the dirname of $[0] is not the place where we might find the |
| @@ -449,18 +482,29 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
| 449 | exit | 482 | exit |
| 450 | } | 483 | } |
| 451 | 484 | ||
| 485 | |||
| 486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 487 | as_dirname=dirname | ||
| 488 | else | ||
| 489 | as_dirname=false | ||
| 490 | fi | ||
| 491 | |||
| 452 | ECHO_C= ECHO_N= ECHO_T= | 492 | ECHO_C= ECHO_N= ECHO_T= |
| 453 | case `echo -n x` in #((((( | 493 | case `echo -n x` in |
| 454 | -n*) | 494 | -n*) |
| 455 | case `echo 'xy\c'` in | 495 | case `echo 'x\c'` in |
| 456 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 457 | xy) ECHO_C='\c';; | 497 | *) ECHO_C='\c';; |
| 458 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 459 | ECHO_T=' ';; | ||
| 460 | esac;; | 498 | esac;; |
| 461 | *) | 499 | *) |
| 462 | ECHO_N='-n';; | 500 | ECHO_N='-n';; |
| 463 | esac | 501 | esac |
| 502 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 504 | as_expr=expr | ||
| 505 | else | ||
| 506 | as_expr=false | ||
| 507 | fi | ||
| 464 | 508 | ||
| 465 | rm -f conf$$ conf$$.exe conf$$.file | 509 | rm -f conf$$ conf$$.exe conf$$.file |
| 466 | if test -d conf$$.dir; then | 510 | if test -d conf$$.dir; then |
| @@ -490,7 +534,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
| 490 | rmdir conf$$.dir 2>/dev/null | 534 | rmdir conf$$.dir 2>/dev/null |
| 491 | 535 | ||
| 492 | if mkdir -p . 2>/dev/null; then | 536 | if mkdir -p . 2>/dev/null; then |
| 493 | as_mkdir_p='mkdir -p "$as_dir"' | 537 | as_mkdir_p=: |
| 494 | else | 538 | else |
| 495 | test -d ./-p && rmdir ./-p | 539 | test -d ./-p && rmdir ./-p |
| 496 | as_mkdir_p=false | 540 | as_mkdir_p=false |
| @@ -509,10 +553,10 @@ else | |||
| 509 | if test -d "$1"; then | 553 | if test -d "$1"; then |
| 510 | test -d "$1/."; | 554 | test -d "$1/."; |
| 511 | else | 555 | else |
| 512 | case $1 in #( | 556 | case $1 in |
| 513 | -*)set "./$1";; | 557 | -*)set "./$1";; |
| 514 | esac; | 558 | esac; |
| 515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 516 | ???[sx]*):;;*)false;;esac;fi | 560 | ???[sx]*):;;*)false;;esac;fi |
| 517 | '\'' sh | 561 | '\'' sh |
| 518 | ' | 562 | ' |
| @@ -526,8 +570,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
| 526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 527 | 571 | ||
| 528 | 572 | ||
| 529 | test -n "$DJDIR" || exec 7<&0 </dev/null | 573 | |
| 530 | exec 6>&1 | 574 | exec 7<&0 </dev/null 6>&1 |
| 531 | 575 | ||
| 532 | # Name of the host. | 576 | # Name of the host. |
| 533 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| @@ -545,6 +589,7 @@ cross_compiling=no | |||
| 545 | subdirs= | 589 | subdirs= |
| 546 | MFLAGS= | 590 | MFLAGS= |
| 547 | MAKEFLAGS= | 591 | MAKEFLAGS= |
| 592 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
| 548 | 593 | ||
| 549 | # Identity of this package. | 594 | # Identity of this package. |
| 550 | PACKAGE_NAME='emacs' | 595 | PACKAGE_NAME='emacs' |
| @@ -552,7 +597,6 @@ PACKAGE_TARNAME='emacs' | |||
| 552 | PACKAGE_VERSION='24.0.50' | 597 | PACKAGE_VERSION='24.0.50' |
| 553 | PACKAGE_STRING='emacs 24.0.50' | 598 | PACKAGE_STRING='emacs 24.0.50' |
| 554 | PACKAGE_BUGREPORT='' | 599 | PACKAGE_BUGREPORT='' |
| 555 | PACKAGE_URL='' | ||
| 556 | 600 | ||
| 557 | ac_unique_file="src/lisp.h" | 601 | ac_unique_file="src/lisp.h" |
| 558 | # Factoring default headers for most tests. | 602 | # Factoring default headers for most tests. |
| @@ -594,163 +638,163 @@ 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 | WIDGET_OBJ | ||
| 599 | XOBJ | ||
| 600 | XMENU_OBJ | ||
| 601 | OTHER_FILES | ||
| 602 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 603 | GNU_OBJC_CFLAGS | ||
| 604 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 605 | GNUSTEP_SYSTEM_HEADERS | ||
| 606 | GNUSTEP_MAKEFILES | ||
| 607 | ns_appsrc | ||
| 608 | ns_appresdir | ||
| 609 | ns_appbindir | ||
| 610 | ns_appdir | ||
| 611 | opsysfile | ||
| 612 | machfile | ||
| 613 | X_TOOLKIT_TYPE | ||
| 614 | C_SWITCH_X_SITE | ||
| 615 | LD_SWITCH_X_SITE_AUX | ||
| 616 | LD_SWITCH_X_SITE | ||
| 617 | unexec | ||
| 618 | c_switch_machine | ||
| 619 | c_switch_system | ||
| 620 | gameuser | ||
| 621 | gamedir | ||
| 622 | bitmapdir | ||
| 623 | archlibdir | ||
| 624 | etcdir | ||
| 625 | x_default_search_path | ||
| 626 | lisppath | ||
| 627 | locallisppath | ||
| 628 | lispdir | ||
| 629 | srcdir | ||
| 630 | canonical | ||
| 631 | configuration | ||
| 632 | version | ||
| 633 | KRB4LIB | ||
| 634 | DESLIB | ||
| 635 | KRB5LIB | ||
| 636 | CRYPTOLIB | ||
| 637 | COM_ERRLIB | ||
| 638 | LIBRESOLV | ||
| 639 | LIBHESIOD | ||
| 640 | GETOPTOBJS | ||
| 641 | GETOPT_H | ||
| 642 | GETLOADAVG_LIBS | ||
| 643 | KMEM_GROUP | ||
| 644 | NEED_SETGID | ||
| 645 | LIBOBJS | ||
| 646 | LIBS_MAIL | ||
| 647 | liblockfile | ||
| 648 | ALLOCA | ||
| 649 | LIBXSM | ||
| 650 | LIBGPM | ||
| 651 | LIBGIF | ||
| 652 | LIBTIFF | ||
| 653 | LIBPNG | ||
| 654 | LIBJPEG | ||
| 655 | LIBXPM | ||
| 656 | FREETYPE_LIBS | ||
| 657 | FREETYPE_CFLAGS | ||
| 658 | M17N_FLT_LIBS | ||
| 659 | M17N_FLT_CFLAGS | ||
| 660 | LIBOTF_LIBS | ||
| 661 | LIBOTF_CFLAGS | ||
| 662 | XFT_LIBS | ||
| 663 | XFT_CFLAGS | ||
| 664 | FONTCONFIG_LIBS | ||
| 665 | FONTCONFIG_CFLAGS | ||
| 666 | LIBXP | ||
| 667 | LUCID_LIBW | ||
| 668 | LIBSELINUX_LIBS | ||
| 669 | GCONF_LIBS | ||
| 670 | GCONF_CFLAGS | ||
| 671 | DBUS_OBJ | ||
| 672 | DBUS_LIBS | ||
| 673 | DBUS_CFLAGS | ||
| 674 | GTK_OBJ | ||
| 675 | GTK_LIBS | ||
| 676 | GTK_CFLAGS | ||
| 677 | RSVG_LIBS | ||
| 678 | RSVG_CFLAGS | ||
| 679 | HAVE_XSERVER | ||
| 680 | XMKMF | ||
| 681 | SET_MAKE | ||
| 682 | CFLAGS_SOUND | ||
| 683 | ALSA_LIBS | ||
| 684 | ALSA_CFLAGS | ||
| 685 | PKG_CONFIG | ||
| 686 | LIBSOUND | ||
| 687 | CRT_DIR | ||
| 688 | LIB_MATH | ||
| 689 | MAKEINFO | ||
| 690 | GZIP_PROG | ||
| 691 | INSTALL_INFO | ||
| 692 | RANLIB | ||
| 693 | INSTALL_DATA | ||
| 694 | INSTALL_SCRIPT | ||
| 695 | INSTALL_PROGRAM | ||
| 696 | LN_S | ||
| 697 | EGREP | ||
| 698 | GREP | ||
| 699 | CPP | ||
| 700 | OBJEXT | ||
| 701 | EXEEXT | ||
| 702 | ac_ct_CC | ||
| 703 | CPPFLAGS | ||
| 704 | LDFLAGS | ||
| 705 | CFLAGS | ||
| 706 | CC | ||
| 707 | host_os | ||
| 708 | host_vendor | ||
| 709 | host_cpu | ||
| 710 | host | ||
| 711 | build_os | ||
| 712 | build_vendor | ||
| 713 | build_cpu | ||
| 714 | build | ||
| 715 | MAINT | ||
| 716 | target_alias | ||
| 717 | host_alias | ||
| 718 | build_alias | ||
| 719 | LIBS | ||
| 720 | ECHO_T | ||
| 721 | ECHO_N | ||
| 722 | ECHO_C | ||
| 723 | DEFS | ||
| 724 | mandir | ||
| 725 | localedir | ||
| 726 | libdir | ||
| 727 | psdir | ||
| 728 | pdfdir | ||
| 729 | dvidir | ||
| 730 | htmldir | ||
| 731 | infodir | ||
| 732 | docdir | ||
| 733 | oldincludedir | ||
| 734 | includedir | ||
| 735 | localstatedir | ||
| 736 | sharedstatedir | ||
| 737 | sysconfdir | ||
| 738 | datadir | ||
| 739 | datarootdir | ||
| 740 | libexecdir | ||
| 741 | sbindir | ||
| 742 | bindir | ||
| 743 | program_transform_name | ||
| 744 | prefix | ||
| 745 | exec_prefix | ||
| 746 | PACKAGE_URL | ||
| 747 | PACKAGE_BUGREPORT | ||
| 748 | PACKAGE_STRING | ||
| 749 | PACKAGE_VERSION | ||
| 750 | PACKAGE_TARNAME | ||
| 751 | PACKAGE_NAME | ||
| 752 | PATH_SEPARATOR | 642 | PATH_SEPARATOR |
| 753 | SHELL' | 643 | PACKAGE_NAME |
| 644 | PACKAGE_TARNAME | ||
| 645 | PACKAGE_VERSION | ||
| 646 | PACKAGE_STRING | ||
| 647 | PACKAGE_BUGREPORT | ||
| 648 | exec_prefix | ||
| 649 | prefix | ||
| 650 | program_transform_name | ||
| 651 | bindir | ||
| 652 | sbindir | ||
| 653 | libexecdir | ||
| 654 | datarootdir | ||
| 655 | datadir | ||
| 656 | sysconfdir | ||
| 657 | sharedstatedir | ||
| 658 | localstatedir | ||
| 659 | includedir | ||
| 660 | oldincludedir | ||
| 661 | docdir | ||
| 662 | infodir | ||
| 663 | htmldir | ||
| 664 | dvidir | ||
| 665 | pdfdir | ||
| 666 | psdir | ||
| 667 | libdir | ||
| 668 | localedir | ||
| 669 | mandir | ||
| 670 | DEFS | ||
| 671 | ECHO_C | ||
| 672 | ECHO_N | ||
| 673 | ECHO_T | ||
| 674 | LIBS | ||
| 675 | build_alias | ||
| 676 | host_alias | ||
| 677 | target_alias | ||
| 678 | MAINT | ||
| 679 | build | ||
| 680 | build_cpu | ||
| 681 | build_vendor | ||
| 682 | build_os | ||
| 683 | host | ||
| 684 | host_cpu | ||
| 685 | host_vendor | ||
| 686 | host_os | ||
| 687 | CC | ||
| 688 | CFLAGS | ||
| 689 | LDFLAGS | ||
| 690 | CPPFLAGS | ||
| 691 | ac_ct_CC | ||
| 692 | EXEEXT | ||
| 693 | OBJEXT | ||
| 694 | CPP | ||
| 695 | GREP | ||
| 696 | EGREP | ||
| 697 | LN_S | ||
| 698 | INSTALL_PROGRAM | ||
| 699 | INSTALL_SCRIPT | ||
| 700 | INSTALL_DATA | ||
| 701 | RANLIB | ||
| 702 | INSTALL_INFO | ||
| 703 | GZIP_PROG | ||
| 704 | MAKEINFO | ||
| 705 | LIB_MATH | ||
| 706 | CRT_DIR | ||
| 707 | LIBSOUND | ||
| 708 | PKG_CONFIG | ||
| 709 | ALSA_CFLAGS | ||
| 710 | ALSA_LIBS | ||
| 711 | CFLAGS_SOUND | ||
| 712 | SET_MAKE | ||
| 713 | XMKMF | ||
| 714 | HAVE_XSERVER | ||
| 715 | RSVG_CFLAGS | ||
| 716 | RSVG_LIBS | ||
| 717 | GTK_CFLAGS | ||
| 718 | GTK_LIBS | ||
| 719 | GTK_OBJ | ||
| 720 | DBUS_CFLAGS | ||
| 721 | DBUS_LIBS | ||
| 722 | DBUS_OBJ | ||
| 723 | GCONF_CFLAGS | ||
| 724 | GCONF_LIBS | ||
| 725 | LIBSELINUX_LIBS | ||
| 726 | LUCID_LIBW | ||
| 727 | LIBXP | ||
| 728 | FONTCONFIG_CFLAGS | ||
| 729 | FONTCONFIG_LIBS | ||
| 730 | XFT_CFLAGS | ||
| 731 | XFT_LIBS | ||
| 732 | LIBOTF_CFLAGS | ||
| 733 | LIBOTF_LIBS | ||
| 734 | M17N_FLT_CFLAGS | ||
| 735 | M17N_FLT_LIBS | ||
| 736 | FREETYPE_CFLAGS | ||
| 737 | FREETYPE_LIBS | ||
| 738 | LIBXPM | ||
| 739 | LIBJPEG | ||
| 740 | LIBPNG | ||
| 741 | LIBTIFF | ||
| 742 | LIBGIF | ||
| 743 | LIBGPM | ||
| 744 | LIBXSM | ||
| 745 | ALLOCA | ||
| 746 | liblockfile | ||
| 747 | LIBS_MAIL | ||
| 748 | LIBOBJS | ||
| 749 | NEED_SETGID | ||
| 750 | KMEM_GROUP | ||
| 751 | GETLOADAVG_LIBS | ||
| 752 | GETOPT_H | ||
| 753 | GETOPTOBJS | ||
| 754 | LIBHESIOD | ||
| 755 | LIBRESOLV | ||
| 756 | COM_ERRLIB | ||
| 757 | CRYPTOLIB | ||
| 758 | KRB5LIB | ||
| 759 | DESLIB | ||
| 760 | KRB4LIB | ||
| 761 | version | ||
| 762 | configuration | ||
| 763 | canonical | ||
| 764 | srcdir | ||
| 765 | lispdir | ||
| 766 | locallisppath | ||
| 767 | lisppath | ||
| 768 | x_default_search_path | ||
| 769 | etcdir | ||
| 770 | archlibdir | ||
| 771 | bitmapdir | ||
| 772 | gamedir | ||
| 773 | gameuser | ||
| 774 | c_switch_system | ||
| 775 | c_switch_machine | ||
| 776 | unexec | ||
| 777 | LD_SWITCH_X_SITE | ||
| 778 | LD_SWITCH_X_SITE_AUX | ||
| 779 | C_SWITCH_X_SITE | ||
| 780 | C_SWITCH_X_SYSTEM | ||
| 781 | X_TOOLKIT_TYPE | ||
| 782 | machfile | ||
| 783 | opsysfile | ||
| 784 | ns_appdir | ||
| 785 | ns_appbindir | ||
| 786 | ns_appresdir | ||
| 787 | ns_appsrc | ||
| 788 | GNUSTEP_MAKEFILES | ||
| 789 | GNUSTEP_SYSTEM_HEADERS | ||
| 790 | GNUSTEP_SYSTEM_LIBRARIES | ||
| 791 | GNU_OBJC_CFLAGS | ||
| 792 | LIB_SRC_EXTRA_INSTALLABLES | ||
| 793 | OTHER_FILES | ||
| 794 | XMENU_OBJ | ||
| 795 | XOBJ | ||
| 796 | WIDGET_OBJ | ||
| 797 | LTLIBOBJS' | ||
| 754 | ac_subst_files='' | 798 | ac_subst_files='' |
| 755 | ac_user_opts=' | 799 | ac_user_opts=' |
| 756 | enable_option_checking | 800 | enable_option_checking |
| @@ -915,7 +959,8 @@ do | |||
| 915 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 959 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 916 | # Reject names that are not valid shell variable names. | 960 | # Reject names that are not valid shell variable names. |
| 917 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 961 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 918 | as_fn_error "invalid feature name: $ac_useropt" | 962 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 963 | { (exit 1); exit 1; }; } | ||
| 919 | ac_useropt_orig=$ac_useropt | 964 | ac_useropt_orig=$ac_useropt |
| 920 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 965 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 921 | case $ac_user_opts in | 966 | case $ac_user_opts in |
| @@ -941,7 +986,8 @@ do | |||
| 941 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 986 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 942 | # Reject names that are not valid shell variable names. | 987 | # Reject names that are not valid shell variable names. |
| 943 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 988 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 944 | as_fn_error "invalid feature name: $ac_useropt" | 989 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| 990 | { (exit 1); exit 1; }; } | ||
| 945 | ac_useropt_orig=$ac_useropt | 991 | ac_useropt_orig=$ac_useropt |
| 946 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 992 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 947 | case $ac_user_opts in | 993 | case $ac_user_opts in |
| @@ -1145,7 +1191,8 @@ do | |||
| 1145 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1191 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1146 | # Reject names that are not valid shell variable names. | 1192 | # Reject names that are not valid shell variable names. |
| 1147 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1193 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1148 | as_fn_error "invalid package name: $ac_useropt" | 1194 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| 1195 | { (exit 1); exit 1; }; } | ||
| 1149 | ac_useropt_orig=$ac_useropt | 1196 | ac_useropt_orig=$ac_useropt |
| 1150 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1197 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1151 | case $ac_user_opts in | 1198 | case $ac_user_opts in |
| @@ -1161,7 +1208,8 @@ do | |||
| 1161 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1208 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 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 |
| @@ -1191,17 +1239,17 @@ do | |||
| 1191 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1239 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1192 | x_libraries=$ac_optarg ;; | 1240 | x_libraries=$ac_optarg ;; |
| 1193 | 1241 | ||
| 1194 | -*) as_fn_error "unrecognized option: \`$ac_option' | 1242 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| 1195 | Try \`$0 --help' for more information." | 1243 | Try \`$0 --help' for more information." >&2 |
| 1244 | { (exit 1); exit 1; }; } | ||
| 1196 | ;; | 1245 | ;; |
| 1197 | 1246 | ||
| 1198 | *=*) | 1247 | *=*) |
| 1199 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1248 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1200 | # Reject names that are not valid shell variable names. | 1249 | # Reject names that are not valid shell variable names. |
| 1201 | case $ac_envvar in #( | 1250 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1202 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1251 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1203 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1252 | { (exit 1); exit 1; }; } |
| 1204 | esac | ||
| 1205 | eval $ac_envvar=\$ac_optarg | 1253 | eval $ac_envvar=\$ac_optarg |
| 1206 | export $ac_envvar ;; | 1254 | export $ac_envvar ;; |
| 1207 | 1255 | ||
| @@ -1218,14 +1266,16 @@ done | |||
| 1218 | 1266 | ||
| 1219 | if test -n "$ac_prev"; then | 1267 | if test -n "$ac_prev"; then |
| 1220 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1268 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1221 | as_fn_error "missing argument to $ac_option" | 1269 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| 1270 | { (exit 1); exit 1; }; } | ||
| 1222 | fi | 1271 | fi |
| 1223 | 1272 | ||
| 1224 | if test -n "$ac_unrecognized_opts"; then | 1273 | if test -n "$ac_unrecognized_opts"; then |
| 1225 | case $enable_option_checking in | 1274 | case $enable_option_checking in |
| 1226 | no) ;; | 1275 | no) ;; |
| 1227 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1276 | fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 |
| 1228 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1277 | { (exit 1); exit 1; }; } ;; |
| 1278 | *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
| 1229 | esac | 1279 | esac |
| 1230 | fi | 1280 | fi |
| 1231 | 1281 | ||
| @@ -1247,7 +1297,8 @@ do | |||
| 1247 | [\\/$]* | ?:[\\/]* ) continue;; | 1297 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1248 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1298 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1249 | esac | 1299 | esac |
| 1250 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | 1300 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1301 | { (exit 1); exit 1; }; } | ||
| 1251 | done | 1302 | done |
| 1252 | 1303 | ||
| 1253 | # There might be people who depend on the old broken behavior: `$host' | 1304 | # There might be people who depend on the old broken behavior: `$host' |
| @@ -1277,9 +1328,11 @@ test "$silent" = yes && exec 6>/dev/null | |||
| 1277 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1328 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1278 | ac_ls_di=`ls -di .` && | 1329 | ac_ls_di=`ls -di .` && |
| 1279 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1330 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1280 | as_fn_error "working directory cannot be determined" | 1331 | { $as_echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1332 | { (exit 1); exit 1; }; } | ||
| 1281 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1333 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1282 | as_fn_error "pwd does not report name of working directory" | 1334 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1335 | { (exit 1); exit 1; }; } | ||
| 1283 | 1336 | ||
| 1284 | 1337 | ||
| 1285 | # Find the source files, if location was not specified. | 1338 | # Find the source files, if location was not specified. |
| @@ -1318,11 +1371,13 @@ else | |||
| 1318 | fi | 1371 | fi |
| 1319 | if test ! -r "$srcdir/$ac_unique_file"; then | 1372 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1320 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1373 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1321 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | 1374 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 1375 | { (exit 1); exit 1; }; } | ||
| 1322 | fi | 1376 | fi |
| 1323 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1377 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1324 | ac_abs_confdir=`( | 1378 | ac_abs_confdir=`( |
| 1325 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | 1379 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| 1380 | { (exit 1); exit 1; }; } | ||
| 1326 | pwd)` | 1381 | pwd)` |
| 1327 | # When building in place, set srcdir=. | 1382 | # When building in place, set srcdir=. |
| 1328 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1383 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| @@ -1502,7 +1557,7 @@ Some influential environment variables: | |||
| 1502 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1557 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1503 | nonstandard directory <lib dir> | 1558 | nonstandard directory <lib dir> |
| 1504 | LIBS libraries to pass to the linker, e.g. -l<library> | 1559 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1505 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1560 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1506 | you have headers in a nonstandard directory <include dir> | 1561 | you have headers in a nonstandard directory <include dir> |
| 1507 | CPP C preprocessor | 1562 | CPP C preprocessor |
| 1508 | XMKMF Path to xmkmf, Makefile generator for X Window System | 1563 | XMKMF Path to xmkmf, Makefile generator for X Window System |
| @@ -1510,7 +1565,6 @@ Some influential environment variables: | |||
| 1510 | Use these variables to override the choices made by `configure' or to help | 1565 | Use these variables to override the choices made by `configure' or to help |
| 1511 | it to find libraries and programs with nonstandard names/locations. | 1566 | it to find libraries and programs with nonstandard names/locations. |
| 1512 | 1567 | ||
| 1513 | Report bugs to the package provider. | ||
| 1514 | _ACEOF | 1568 | _ACEOF |
| 1515 | ac_status=$? | 1569 | ac_status=$? |
| 1516 | fi | 1570 | fi |
| @@ -1574,551 +1628,21 @@ test -n "$ac_init_help" && exit $ac_status | |||
| 1574 | if $ac_init_version; then | 1628 | if $ac_init_version; then |
| 1575 | cat <<\_ACEOF | 1629 | cat <<\_ACEOF |
| 1576 | emacs configure 24.0.50 | 1630 | emacs configure 24.0.50 |
| 1577 | generated by GNU Autoconf 2.65 | 1631 | generated by GNU Autoconf 2.62 |
| 1578 | 1632 | ||
| 1579 | Copyright (C) 2009 Free Software Foundation, Inc. | 1633 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1634 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
| 1580 | This configure script is free software; the Free Software Foundation | 1635 | This configure script is free software; the Free Software Foundation |
| 1581 | gives unlimited permission to copy, distribute and modify it. | 1636 | gives unlimited permission to copy, distribute and modify it. |
| 1582 | _ACEOF | 1637 | _ACEOF |
| 1583 | exit | 1638 | exit |
| 1584 | fi | 1639 | fi |
| 1585 | |||
| 1586 | ## ------------------------ ## | ||
| 1587 | ## Autoconf initialization. ## | ||
| 1588 | ## ------------------------ ## | ||
| 1589 | |||
| 1590 | # ac_fn_c_try_compile LINENO | ||
| 1591 | # -------------------------- | ||
| 1592 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
| 1593 | ac_fn_c_try_compile () | ||
| 1594 | { | ||
| 1595 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1596 | rm -f conftest.$ac_objext | ||
| 1597 | if { { ac_try="$ac_compile" | ||
| 1598 | case "(($ac_try" in | ||
| 1599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1600 | *) ac_try_echo=$ac_try;; | ||
| 1601 | esac | ||
| 1602 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1603 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1604 | (eval "$ac_compile") 2>conftest.err | ||
| 1605 | ac_status=$? | ||
| 1606 | if test -s conftest.err; then | ||
| 1607 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1608 | cat conftest.er1 >&5 | ||
| 1609 | mv -f conftest.er1 conftest.err | ||
| 1610 | fi | ||
| 1611 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1612 | test $ac_status = 0; } && { | ||
| 1613 | test -z "$ac_c_werror_flag" || | ||
| 1614 | test ! -s conftest.err | ||
| 1615 | } && test -s conftest.$ac_objext; then : | ||
| 1616 | ac_retval=0 | ||
| 1617 | else | ||
| 1618 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1619 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1620 | |||
| 1621 | ac_retval=1 | ||
| 1622 | fi | ||
| 1623 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1624 | as_fn_set_status $ac_retval | ||
| 1625 | |||
| 1626 | } # ac_fn_c_try_compile | ||
| 1627 | |||
| 1628 | # ac_fn_c_try_link LINENO | ||
| 1629 | # ----------------------- | ||
| 1630 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
| 1631 | ac_fn_c_try_link () | ||
| 1632 | { | ||
| 1633 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1634 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 1635 | if { { ac_try="$ac_link" | ||
| 1636 | case "(($ac_try" in | ||
| 1637 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1638 | *) ac_try_echo=$ac_try;; | ||
| 1639 | esac | ||
| 1640 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1641 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1642 | (eval "$ac_link") 2>conftest.err | ||
| 1643 | ac_status=$? | ||
| 1644 | if test -s conftest.err; then | ||
| 1645 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1646 | cat conftest.er1 >&5 | ||
| 1647 | mv -f conftest.er1 conftest.err | ||
| 1648 | fi | ||
| 1649 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1650 | test $ac_status = 0; } && { | ||
| 1651 | test -z "$ac_c_werror_flag" || | ||
| 1652 | test ! -s conftest.err | ||
| 1653 | } && test -s conftest$ac_exeext && { | ||
| 1654 | test "$cross_compiling" = yes || | ||
| 1655 | $as_test_x conftest$ac_exeext | ||
| 1656 | }; then : | ||
| 1657 | ac_retval=0 | ||
| 1658 | else | ||
| 1659 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1660 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1661 | |||
| 1662 | ac_retval=1 | ||
| 1663 | fi | ||
| 1664 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
| 1665 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
| 1666 | # interfere with the next link command; also delete a directory that is | ||
| 1667 | # left behind by Apple's compiler. We do this before executing the actions. | ||
| 1668 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1669 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1670 | as_fn_set_status $ac_retval | ||
| 1671 | |||
| 1672 | } # ac_fn_c_try_link | ||
| 1673 | |||
| 1674 | # ac_fn_c_try_cpp LINENO | ||
| 1675 | # ---------------------- | ||
| 1676 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
| 1677 | ac_fn_c_try_cpp () | ||
| 1678 | { | ||
| 1679 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1680 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
| 1681 | case "(($ac_try" in | ||
| 1682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1683 | *) ac_try_echo=$ac_try;; | ||
| 1684 | esac | ||
| 1685 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1686 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1687 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
| 1688 | ac_status=$? | ||
| 1689 | if test -s conftest.err; then | ||
| 1690 | grep -v '^ *+' conftest.err >conftest.er1 | ||
| 1691 | cat conftest.er1 >&5 | ||
| 1692 | mv -f conftest.er1 conftest.err | ||
| 1693 | fi | ||
| 1694 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1695 | test $ac_status = 0; } >/dev/null && { | ||
| 1696 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 1697 | test ! -s conftest.err | ||
| 1698 | }; then : | ||
| 1699 | ac_retval=0 | ||
| 1700 | else | ||
| 1701 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1703 | |||
| 1704 | ac_retval=1 | ||
| 1705 | fi | ||
| 1706 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1707 | as_fn_set_status $ac_retval | ||
| 1708 | |||
| 1709 | } # ac_fn_c_try_cpp | ||
| 1710 | |||
| 1711 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
| 1712 | # ------------------------------------------------------- | ||
| 1713 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
| 1714 | # the include files in INCLUDES and setting the cache variable VAR | ||
| 1715 | # accordingly. | ||
| 1716 | ac_fn_c_check_header_mongrel () | ||
| 1717 | { | ||
| 1718 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1719 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1720 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1721 | $as_echo_n "checking for $2... " >&6; } | ||
| 1722 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1723 | $as_echo_n "(cached) " >&6 | ||
| 1724 | fi | ||
| 1725 | eval ac_res=\$$3 | ||
| 1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1727 | $as_echo "$ac_res" >&6; } | ||
| 1728 | else | ||
| 1729 | # Is the header compilable? | ||
| 1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
| 1731 | $as_echo_n "checking $2 usability... " >&6; } | ||
| 1732 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1733 | /* end confdefs.h. */ | ||
| 1734 | $4 | ||
| 1735 | #include <$2> | ||
| 1736 | _ACEOF | ||
| 1737 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1738 | ac_header_compiler=yes | ||
| 1739 | else | ||
| 1740 | ac_header_compiler=no | ||
| 1741 | fi | ||
| 1742 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
| 1744 | $as_echo "$ac_header_compiler" >&6; } | ||
| 1745 | |||
| 1746 | # Is the header present? | ||
| 1747 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
| 1748 | $as_echo_n "checking $2 presence... " >&6; } | ||
| 1749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1750 | /* end confdefs.h. */ | ||
| 1751 | #include <$2> | ||
| 1752 | _ACEOF | ||
| 1753 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1754 | ac_header_preproc=yes | ||
| 1755 | else | ||
| 1756 | ac_header_preproc=no | ||
| 1757 | fi | ||
| 1758 | rm -f conftest.err conftest.$ac_ext | ||
| 1759 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
| 1760 | $as_echo "$ac_header_preproc" >&6; } | ||
| 1761 | |||
| 1762 | # So? What about this header? | ||
| 1763 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
| 1764 | yes:no: ) | ||
| 1765 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 1766 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1768 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1769 | ;; | ||
| 1770 | no:yes:* ) | ||
| 1771 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
| 1772 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
| 1773 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
| 1774 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
| 1775 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
| 1776 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
| 1777 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 1778 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 1779 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
| 1780 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
| 1781 | ;; | ||
| 1782 | esac | ||
| 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1784 | $as_echo_n "checking for $2... " >&6; } | ||
| 1785 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1786 | $as_echo_n "(cached) " >&6 | ||
| 1787 | else | ||
| 1788 | eval "$3=\$ac_header_compiler" | ||
| 1789 | fi | ||
| 1790 | eval ac_res=\$$3 | ||
| 1791 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1792 | $as_echo "$ac_res" >&6; } | ||
| 1793 | fi | ||
| 1794 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1795 | |||
| 1796 | } # ac_fn_c_check_header_mongrel | ||
| 1797 | |||
| 1798 | # ac_fn_c_try_run LINENO | ||
| 1799 | # ---------------------- | ||
| 1800 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
| 1801 | # that executables *can* be run. | ||
| 1802 | ac_fn_c_try_run () | ||
| 1803 | { | ||
| 1804 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1805 | if { { ac_try="$ac_link" | ||
| 1806 | case "(($ac_try" in | ||
| 1807 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1808 | *) ac_try_echo=$ac_try;; | ||
| 1809 | esac | ||
| 1810 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1811 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1812 | (eval "$ac_link") 2>&5 | ||
| 1813 | ac_status=$? | ||
| 1814 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1815 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
| 1816 | { { case "(($ac_try" in | ||
| 1817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 1818 | *) ac_try_echo=$ac_try;; | ||
| 1819 | esac | ||
| 1820 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 1821 | $as_echo "$ac_try_echo"; } >&5 | ||
| 1822 | (eval "$ac_try") 2>&5 | ||
| 1823 | ac_status=$? | ||
| 1824 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 1825 | test $ac_status = 0; }; }; then : | ||
| 1826 | ac_retval=0 | ||
| 1827 | else | ||
| 1828 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
| 1829 | $as_echo "$as_me: failed program was:" >&5 | ||
| 1830 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 1831 | |||
| 1832 | ac_retval=$ac_status | ||
| 1833 | fi | ||
| 1834 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
| 1835 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1836 | as_fn_set_status $ac_retval | ||
| 1837 | |||
| 1838 | } # ac_fn_c_try_run | ||
| 1839 | |||
| 1840 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
| 1841 | # ------------------------------------------------------- | ||
| 1842 | # Tests whether HEADER exists and can be compiled using the include files in | ||
| 1843 | # INCLUDES, setting the cache variable VAR accordingly. | ||
| 1844 | ac_fn_c_check_header_compile () | ||
| 1845 | { | ||
| 1846 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1848 | $as_echo_n "checking for $2... " >&6; } | ||
| 1849 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1850 | $as_echo_n "(cached) " >&6 | ||
| 1851 | else | ||
| 1852 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1853 | /* end confdefs.h. */ | ||
| 1854 | $4 | ||
| 1855 | #include <$2> | ||
| 1856 | _ACEOF | ||
| 1857 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1858 | eval "$3=yes" | ||
| 1859 | else | ||
| 1860 | eval "$3=no" | ||
| 1861 | fi | ||
| 1862 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1863 | fi | ||
| 1864 | eval ac_res=\$$3 | ||
| 1865 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1866 | $as_echo "$ac_res" >&6; } | ||
| 1867 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1868 | |||
| 1869 | } # ac_fn_c_check_header_compile | ||
| 1870 | |||
| 1871 | # ac_fn_c_check_header_preproc LINENO HEADER VAR | ||
| 1872 | # ---------------------------------------------- | ||
| 1873 | # Tests whether HEADER is present, setting the cache variable VAR accordingly. | ||
| 1874 | ac_fn_c_check_header_preproc () | ||
| 1875 | { | ||
| 1876 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1877 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 1878 | $as_echo_n "checking for $2... " >&6; } | ||
| 1879 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1880 | $as_echo_n "(cached) " >&6 | ||
| 1881 | else | ||
| 1882 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1883 | /* end confdefs.h. */ | ||
| 1884 | #include <$2> | ||
| 1885 | _ACEOF | ||
| 1886 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
| 1887 | eval "$3=yes" | ||
| 1888 | else | ||
| 1889 | eval "$3=no" | ||
| 1890 | fi | ||
| 1891 | rm -f conftest.err conftest.$ac_ext | ||
| 1892 | fi | ||
| 1893 | eval ac_res=\$$3 | ||
| 1894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1895 | $as_echo "$ac_res" >&6; } | ||
| 1896 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1897 | |||
| 1898 | } # ac_fn_c_check_header_preproc | ||
| 1899 | |||
| 1900 | # ac_fn_c_check_decl LINENO SYMBOL VAR | ||
| 1901 | # ------------------------------------ | ||
| 1902 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | ||
| 1903 | ac_fn_c_check_decl () | ||
| 1904 | { | ||
| 1905 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1906 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | ||
| 1907 | $as_echo_n "checking whether $2 is declared... " >&6; } | ||
| 1908 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1909 | $as_echo_n "(cached) " >&6 | ||
| 1910 | else | ||
| 1911 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1912 | /* end confdefs.h. */ | ||
| 1913 | $4 | ||
| 1914 | int | ||
| 1915 | main () | ||
| 1916 | { | ||
| 1917 | #ifndef $2 | ||
| 1918 | (void) $2; | ||
| 1919 | #endif | ||
| 1920 | |||
| 1921 | ; | ||
| 1922 | return 0; | ||
| 1923 | } | ||
| 1924 | _ACEOF | ||
| 1925 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1926 | eval "$3=yes" | ||
| 1927 | else | ||
| 1928 | eval "$3=no" | ||
| 1929 | fi | ||
| 1930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1931 | fi | ||
| 1932 | eval ac_res=\$$3 | ||
| 1933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1934 | $as_echo "$ac_res" >&6; } | ||
| 1935 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1936 | |||
| 1937 | } # ac_fn_c_check_decl | ||
| 1938 | |||
| 1939 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
| 1940 | # ---------------------------------------------------- | ||
| 1941 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
| 1942 | # INCLUDES, setting cache variable VAR accordingly. | ||
| 1943 | ac_fn_c_check_member () | ||
| 1944 | { | ||
| 1945 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 1946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
| 1947 | $as_echo_n "checking for $2.$3... " >&6; } | ||
| 1948 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 1949 | $as_echo_n "(cached) " >&6 | ||
| 1950 | else | ||
| 1951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 1952 | /* end confdefs.h. */ | ||
| 1953 | $5 | ||
| 1954 | int | ||
| 1955 | main () | ||
| 1956 | { | ||
| 1957 | static $2 ac_aggr; | ||
| 1958 | if (ac_aggr.$3) | ||
| 1959 | return 0; | ||
| 1960 | ; | ||
| 1961 | return 0; | ||
| 1962 | } | ||
| 1963 | _ACEOF | ||
| 1964 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 1965 | eval "$4=yes" | ||
| 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 (sizeof 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 | eval "$4=no" | ||
| 1984 | fi | ||
| 1985 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1986 | fi | ||
| 1987 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 1988 | fi | ||
| 1989 | eval ac_res=\$$4 | ||
| 1990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 1991 | $as_echo "$ac_res" >&6; } | ||
| 1992 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 1993 | |||
| 1994 | } # ac_fn_c_check_member | ||
| 1995 | |||
| 1996 | # ac_fn_c_check_func LINENO FUNC VAR | ||
| 1997 | # ---------------------------------- | ||
| 1998 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
| 1999 | ac_fn_c_check_func () | ||
| 2000 | { | ||
| 2001 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2003 | $as_echo_n "checking for $2... " >&6; } | ||
| 2004 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2005 | $as_echo_n "(cached) " >&6 | ||
| 2006 | else | ||
| 2007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2008 | /* end confdefs.h. */ | ||
| 2009 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
| 2010 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 2011 | #define $2 innocuous_$2 | ||
| 2012 | |||
| 2013 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 2014 | which can conflict with char $2 (); below. | ||
| 2015 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 2016 | <limits.h> exists even on freestanding compilers. */ | ||
| 2017 | |||
| 2018 | #ifdef __STDC__ | ||
| 2019 | # include <limits.h> | ||
| 2020 | #else | ||
| 2021 | # include <assert.h> | ||
| 2022 | #endif | ||
| 2023 | |||
| 2024 | #undef $2 | ||
| 2025 | |||
| 2026 | /* Override any GCC internal prototype to avoid an error. | ||
| 2027 | Use char because int might match the return type of a GCC | ||
| 2028 | builtin and then its argument prototype would still apply. */ | ||
| 2029 | #ifdef __cplusplus | ||
| 2030 | extern "C" | ||
| 2031 | #endif | ||
| 2032 | char $2 (); | ||
| 2033 | /* The GNU C library defines this for functions which it implements | ||
| 2034 | to always fail with ENOSYS. Some functions are actually named | ||
| 2035 | something starting with __ and the normal name is an alias. */ | ||
| 2036 | #if defined __stub_$2 || defined __stub___$2 | ||
| 2037 | choke me | ||
| 2038 | #endif | ||
| 2039 | |||
| 2040 | int | ||
| 2041 | main () | ||
| 2042 | { | ||
| 2043 | return $2 (); | ||
| 2044 | ; | ||
| 2045 | return 0; | ||
| 2046 | } | ||
| 2047 | _ACEOF | ||
| 2048 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 2049 | eval "$3=yes" | ||
| 2050 | else | ||
| 2051 | eval "$3=no" | ||
| 2052 | fi | ||
| 2053 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 2054 | conftest$ac_exeext conftest.$ac_ext | ||
| 2055 | fi | ||
| 2056 | eval ac_res=\$$3 | ||
| 2057 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2058 | $as_echo "$ac_res" >&6; } | ||
| 2059 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2060 | |||
| 2061 | } # ac_fn_c_check_func | ||
| 2062 | |||
| 2063 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
| 2064 | # ------------------------------------------- | ||
| 2065 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
| 2066 | # variable VAR accordingly. | ||
| 2067 | ac_fn_c_check_type () | ||
| 2068 | { | ||
| 2069 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 2070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
| 2071 | $as_echo_n "checking for $2... " >&6; } | ||
| 2072 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
| 2073 | $as_echo_n "(cached) " >&6 | ||
| 2074 | else | ||
| 2075 | eval "$3=no" | ||
| 2076 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2077 | /* end confdefs.h. */ | ||
| 2078 | $4 | ||
| 2079 | int | ||
| 2080 | main () | ||
| 2081 | { | ||
| 2082 | if (sizeof ($2)) | ||
| 2083 | return 0; | ||
| 2084 | ; | ||
| 2085 | return 0; | ||
| 2086 | } | ||
| 2087 | _ACEOF | ||
| 2088 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2089 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 2090 | /* end confdefs.h. */ | ||
| 2091 | $4 | ||
| 2092 | int | ||
| 2093 | main () | ||
| 2094 | { | ||
| 2095 | if (sizeof (($2))) | ||
| 2096 | return 0; | ||
| 2097 | ; | ||
| 2098 | return 0; | ||
| 2099 | } | ||
| 2100 | _ACEOF | ||
| 2101 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 2102 | |||
| 2103 | else | ||
| 2104 | eval "$3=yes" | ||
| 2105 | fi | ||
| 2106 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2107 | fi | ||
| 2108 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 2109 | fi | ||
| 2110 | eval ac_res=\$$3 | ||
| 2111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
| 2112 | $as_echo "$ac_res" >&6; } | ||
| 2113 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
| 2114 | |||
| 2115 | } # ac_fn_c_check_type | ||
| 2116 | cat >config.log <<_ACEOF | 1640 | cat >config.log <<_ACEOF |
| 2117 | This file contains any messages produced by compilers while | 1641 | This file contains any messages produced by compilers while |
| 2118 | running configure, to aid debugging if configure makes a mistake. | 1642 | running configure, to aid debugging if configure makes a mistake. |
| 2119 | 1643 | ||
| 2120 | It was created by emacs $as_me 24.0.50, which was | 1644 | It was created by emacs $as_me 24.0.50, which was |
| 2121 | generated by GNU Autoconf 2.65. Invocation command line was | 1645 | generated by GNU Autoconf 2.62. Invocation command line was |
| 2122 | 1646 | ||
| 2123 | $ $0 $@ | 1647 | $ $0 $@ |
| 2124 | 1648 | ||
| @@ -2154,8 +1678,8 @@ for as_dir in $PATH | |||
| 2154 | do | 1678 | do |
| 2155 | IFS=$as_save_IFS | 1679 | IFS=$as_save_IFS |
| 2156 | test -z "$as_dir" && as_dir=. | 1680 | test -z "$as_dir" && as_dir=. |
| 2157 | $as_echo "PATH: $as_dir" | 1681 | $as_echo "PATH: $as_dir" |
| 2158 | done | 1682 | done |
| 2159 | IFS=$as_save_IFS | 1683 | IFS=$as_save_IFS |
| 2160 | 1684 | ||
| 2161 | } >&5 | 1685 | } >&5 |
| @@ -2192,9 +1716,9 @@ do | |||
| 2192 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1716 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2193 | esac | 1717 | esac |
| 2194 | case $ac_pass in | 1718 | case $ac_pass in |
| 2195 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1719 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 2196 | 2) | 1720 | 2) |
| 2197 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1721 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 2198 | if test $ac_must_keep_next = true; then | 1722 | if test $ac_must_keep_next = true; then |
| 2199 | ac_must_keep_next=false # Got value, back to normal. | 1723 | ac_must_keep_next=false # Got value, back to normal. |
| 2200 | else | 1724 | else |
| @@ -2210,13 +1734,13 @@ do | |||
| 2210 | -* ) ac_must_keep_next=true ;; | 1734 | -* ) ac_must_keep_next=true ;; |
| 2211 | esac | 1735 | esac |
| 2212 | fi | 1736 | fi |
| 2213 | as_fn_append ac_configure_args " '$ac_arg'" | 1737 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 2214 | ;; | 1738 | ;; |
| 2215 | esac | 1739 | esac |
| 2216 | done | 1740 | done |
| 2217 | done | 1741 | done |
| 2218 | { ac_configure_args0=; unset ac_configure_args0;} | 1742 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 2219 | { ac_configure_args1=; unset ac_configure_args1;} | 1743 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 2220 | 1744 | ||
| 2221 | # When interrupted or exit'd, cleanup temporary files, and complete | 1745 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2222 | # config.log. We remove comments because anyway the quotes in there | 1746 | # config.log. We remove comments because anyway the quotes in there |
| @@ -2241,13 +1765,13 @@ _ASBOX | |||
| 2241 | case $ac_val in #( | 1765 | case $ac_val in #( |
| 2242 | *${as_nl}*) | 1766 | *${as_nl}*) |
| 2243 | case $ac_var in #( | 1767 | case $ac_var in #( |
| 2244 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1768 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 2245 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1769 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 2246 | esac | 1770 | esac |
| 2247 | case $ac_var in #( | 1771 | case $ac_var in #( |
| 2248 | _ | IFS | as_nl) ;; #( | 1772 | _ | IFS | as_nl) ;; #( |
| 2249 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1773 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2250 | *) { eval $ac_var=; unset $ac_var;} ;; | 1774 | *) $as_unset $ac_var ;; |
| 2251 | esac ;; | 1775 | esac ;; |
| 2252 | esac | 1776 | esac |
| 2253 | done | 1777 | done |
| @@ -2319,39 +1843,37 @@ _ASBOX | |||
| 2319 | exit $exit_status | 1843 | exit $exit_status |
| 2320 | ' 0 | 1844 | ' 0 |
| 2321 | for ac_signal in 1 2 13 15; do | 1845 | for ac_signal in 1 2 13 15; do |
| 2322 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1846 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 2323 | done | 1847 | done |
| 2324 | ac_signal=0 | 1848 | ac_signal=0 |
| 2325 | 1849 | ||
| 2326 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1850 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2327 | rm -f -r conftest* confdefs.h | 1851 | rm -f -r conftest* confdefs.h |
| 2328 | 1852 | ||
| 2329 | $as_echo "/* confdefs.h */" > confdefs.h | ||
| 2330 | |||
| 2331 | # Predefined preprocessor variables. | 1853 | # Predefined preprocessor variables. |
| 2332 | 1854 | ||
| 2333 | cat >>confdefs.h <<_ACEOF | 1855 | cat >>confdefs.h <<_ACEOF |
| 2334 | #define PACKAGE_NAME "$PACKAGE_NAME" | 1856 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2335 | _ACEOF | 1857 | _ACEOF |
| 2336 | 1858 | ||
| 1859 | |||
| 2337 | cat >>confdefs.h <<_ACEOF | 1860 | cat >>confdefs.h <<_ACEOF |
| 2338 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1861 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2339 | _ACEOF | 1862 | _ACEOF |
| 2340 | 1863 | ||
| 1864 | |||
| 2341 | cat >>confdefs.h <<_ACEOF | 1865 | cat >>confdefs.h <<_ACEOF |
| 2342 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1866 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2343 | _ACEOF | 1867 | _ACEOF |
| 2344 | 1868 | ||
| 1869 | |||
| 2345 | cat >>confdefs.h <<_ACEOF | 1870 | cat >>confdefs.h <<_ACEOF |
| 2346 | #define PACKAGE_STRING "$PACKAGE_STRING" | 1871 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2347 | _ACEOF | 1872 | _ACEOF |
| 2348 | 1873 | ||
| 2349 | cat >>confdefs.h <<_ACEOF | ||
| 2350 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
| 2351 | _ACEOF | ||
| 2352 | 1874 | ||
| 2353 | cat >>confdefs.h <<_ACEOF | 1875 | cat >>confdefs.h <<_ACEOF |
| 2354 | #define PACKAGE_URL "$PACKAGE_URL" | 1876 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2355 | _ACEOF | 1877 | _ACEOF |
| 2356 | 1878 | ||
| 2357 | 1879 | ||
| @@ -2371,8 +1893,8 @@ fi | |||
| 2371 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1893 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2372 | do | 1894 | do |
| 2373 | test "x$ac_site_file" = xNONE && continue | 1895 | test "x$ac_site_file" = xNONE && continue |
| 2374 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1896 | if test -r "$ac_site_file"; then |
| 2375 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1897 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 2376 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 1898 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 2377 | sed 's/^/| /' "$ac_site_file" >&5 | 1899 | sed 's/^/| /' "$ac_site_file" >&5 |
| 2378 | . "$ac_site_file" | 1900 | . "$ac_site_file" |
| @@ -2380,10 +1902,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |||
| 2380 | done | 1902 | done |
| 2381 | 1903 | ||
| 2382 | if test -r "$cache_file"; then | 1904 | if test -r "$cache_file"; then |
| 2383 | # Some versions of bash will fail to source /dev/null (special files | 1905 | # Some versions of bash will fail to source /dev/null (special |
| 2384 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1906 | # files actually), so we avoid doing that. |
| 2385 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1907 | if test -f "$cache_file"; then |
| 2386 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1908 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 2387 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 1909 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 2388 | case $cache_file in | 1910 | case $cache_file in |
| 2389 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1911 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| @@ -2391,16 +1913,14 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} | |||
| 2391 | esac | 1913 | esac |
| 2392 | fi | 1914 | fi |
| 2393 | else | 1915 | else |
| 2394 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1916 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 2395 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 1917 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
| 2396 | >$cache_file | 1918 | >$cache_file |
| 2397 | fi | 1919 | fi |
| 2398 | 1920 | ||
| 2399 | as_fn_append ac_header_list " stdlib.h" | 1921 | ac_header_list="$ac_header_list sys/time.h" |
| 2400 | as_fn_append ac_header_list " unistd.h" | 1922 | ac_header_list="$ac_header_list unistd.h" |
| 2401 | as_fn_append ac_header_list " sys/param.h" | 1923 | ac_func_list="$ac_func_list alarm" |
| 2402 | as_fn_append ac_header_list " sys/time.h" | ||
| 2403 | as_fn_append ac_func_list " alarm" | ||
| 2404 | # Check that the precious variables saved in the cache have kept the same | 1924 | # Check that the precious variables saved in the cache have kept the same |
| 2405 | # value. | 1925 | # value. |
| 2406 | ac_cache_corrupted=false | 1926 | ac_cache_corrupted=false |
| @@ -2411,11 +1931,11 @@ for ac_var in $ac_precious_vars; do | |||
| 2411 | eval ac_new_val=\$ac_env_${ac_var}_value | 1931 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 2412 | case $ac_old_set,$ac_new_set in | 1932 | case $ac_old_set,$ac_new_set in |
| 2413 | set,) | 1933 | set,) |
| 2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1934 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2415 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1935 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2416 | ac_cache_corrupted=: ;; | 1936 | ac_cache_corrupted=: ;; |
| 2417 | ,set) | 1937 | ,set) |
| 2418 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1938 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 2419 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1939 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2420 | ac_cache_corrupted=: ;; | 1940 | ac_cache_corrupted=: ;; |
| 2421 | ,);; | 1941 | ,);; |
| @@ -2425,17 +1945,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |||
| 2425 | ac_old_val_w=`echo x $ac_old_val` | 1945 | ac_old_val_w=`echo x $ac_old_val` |
| 2426 | ac_new_val_w=`echo x $ac_new_val` | 1946 | ac_new_val_w=`echo x $ac_new_val` |
| 2427 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1947 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1948 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2429 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1949 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2430 | ac_cache_corrupted=: | 1950 | ac_cache_corrupted=: |
| 2431 | else | 1951 | else |
| 2432 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 1952 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2433 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 1953 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2434 | eval $ac_var=\$ac_old_val | 1954 | eval $ac_var=\$ac_old_val |
| 2435 | fi | 1955 | fi |
| 2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 1956 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| 2437 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 1957 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2438 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 1958 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| 2439 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 1959 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2440 | fi;; | 1960 | fi;; |
| 2441 | esac | 1961 | esac |
| @@ -2447,20 +1967,41 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |||
| 2447 | esac | 1967 | esac |
| 2448 | case " $ac_configure_args " in | 1968 | case " $ac_configure_args " in |
| 2449 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1969 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2450 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1970 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 2451 | esac | 1971 | esac |
| 2452 | fi | 1972 | fi |
| 2453 | done | 1973 | done |
| 2454 | if $ac_cache_corrupted; then | 1974 | if $ac_cache_corrupted; then |
| 2455 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1975 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 2456 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 2457 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
| 2458 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1976 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2459 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1977 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1978 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
| 1979 | { (exit 1); exit 1; }; } | ||
| 2460 | fi | 1980 | fi |
| 2461 | ## -------------------- ## | 1981 | |
| 2462 | ## Main body of script. ## | 1982 | |
| 2463 | ## -------------------- ## | 1983 | |
| 1984 | |||
| 1985 | |||
| 1986 | |||
| 1987 | |||
| 1988 | |||
| 1989 | |||
| 1990 | |||
| 1991 | |||
| 1992 | |||
| 1993 | |||
| 1994 | |||
| 1995 | |||
| 1996 | |||
| 1997 | |||
| 1998 | |||
| 1999 | |||
| 2000 | |||
| 2001 | |||
| 2002 | |||
| 2003 | |||
| 2004 | |||
| 2464 | 2005 | ||
| 2465 | ac_ext=c | 2006 | ac_ext=c |
| 2466 | ac_cpp='$CPP $CPPFLAGS' | 2007 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -2499,33 +2040,39 @@ gameuser=games | |||
| 2499 | 2040 | ||
| 2500 | 2041 | ||
| 2501 | # Check whether --with-pop was given. | 2042 | # Check whether --with-pop was given. |
| 2502 | if test "${with_pop+set}" = set; then : | 2043 | if test "${with_pop+set}" = set; then |
| 2503 | withval=$with_pop; | 2044 | withval=$with_pop; |
| 2504 | else | 2045 | else |
| 2505 | with_pop=yes | 2046 | with_pop=yes |
| 2506 | fi | 2047 | fi |
| 2507 | 2048 | ||
| 2508 | if test "$with_pop" = yes; then | 2049 | if test "$with_pop" = yes; then |
| 2509 | $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 2050 | cat >>confdefs.h <<\_ACEOF |
| 2051 | #define MAIL_USE_POP 1 | ||
| 2052 | _ACEOF | ||
| 2510 | 2053 | ||
| 2511 | fi | 2054 | fi |
| 2512 | 2055 | ||
| 2513 | 2056 | ||
| 2057 | |||
| 2514 | # Check whether --with-kerberos was given. | 2058 | # Check whether --with-kerberos was given. |
| 2515 | if test "${with_kerberos+set}" = set; then : | 2059 | if test "${with_kerberos+set}" = set; then |
| 2516 | withval=$with_kerberos; | 2060 | withval=$with_kerberos; |
| 2517 | else | 2061 | else |
| 2518 | with_kerberos=no | 2062 | with_kerberos=no |
| 2519 | fi | 2063 | fi |
| 2520 | 2064 | ||
| 2521 | if test "$with_kerberos" != no; then | 2065 | if test "$with_kerberos" != no; then |
| 2522 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2066 | cat >>confdefs.h <<\_ACEOF |
| 2067 | #define KERBEROS 1 | ||
| 2068 | _ACEOF | ||
| 2523 | 2069 | ||
| 2524 | fi | 2070 | fi |
| 2525 | 2071 | ||
| 2526 | 2072 | ||
| 2073 | |||
| 2527 | # Check whether --with-kerberos5 was given. | 2074 | # Check whether --with-kerberos5 was given. |
| 2528 | if test "${with_kerberos5+set}" = set; then : | 2075 | if test "${with_kerberos5+set}" = set; then |
| 2529 | withval=$with_kerberos5; | 2076 | withval=$with_kerberos5; |
| 2530 | else | 2077 | else |
| 2531 | with_kerberos5=no | 2078 | with_kerberos5=no |
| @@ -2534,17 +2081,21 @@ fi | |||
| 2534 | if test "${with_kerberos5}" != no; then | 2081 | if test "${with_kerberos5}" != no; then |
| 2535 | if test "${with_kerberos}" = no; then | 2082 | if test "${with_kerberos}" = no; then |
| 2536 | with_kerberos=yes | 2083 | with_kerberos=yes |
| 2537 | $as_echo "#define KERBEROS 1" >>confdefs.h | 2084 | cat >>confdefs.h <<\_ACEOF |
| 2085 | #define KERBEROS 1 | ||
| 2086 | _ACEOF | ||
| 2538 | 2087 | ||
| 2539 | fi | 2088 | fi |
| 2540 | 2089 | ||
| 2541 | $as_echo "#define KERBEROS5 1" >>confdefs.h | 2090 | cat >>confdefs.h <<\_ACEOF |
| 2091 | #define KERBEROS5 1 | ||
| 2092 | _ACEOF | ||
| 2542 | 2093 | ||
| 2543 | fi | 2094 | fi |
| 2544 | 2095 | ||
| 2545 | 2096 | ||
| 2546 | # Check whether --with-hesiod was given. | 2097 | # Check whether --with-hesiod was given. |
| 2547 | if test "${with_hesiod+set}" = set; then : | 2098 | if test "${with_hesiod+set}" = set; then |
| 2548 | withval=$with_hesiod; | 2099 | withval=$with_hesiod; |
| 2549 | else | 2100 | else |
| 2550 | with_hesiod=no | 2101 | with_hesiod=no |
| @@ -2552,13 +2103,15 @@ fi | |||
| 2552 | 2103 | ||
| 2553 | if test "$with_hesiod" != no; then | 2104 | if test "$with_hesiod" != no; then |
| 2554 | 2105 | ||
| 2555 | $as_echo "#define HESIOD 1" >>confdefs.h | 2106 | cat >>confdefs.h <<\_ACEOF |
| 2107 | #define HESIOD 1 | ||
| 2108 | _ACEOF | ||
| 2556 | 2109 | ||
| 2557 | fi | 2110 | fi |
| 2558 | 2111 | ||
| 2559 | 2112 | ||
| 2560 | # Check whether --with-mmdf was given. | 2113 | # Check whether --with-mmdf was given. |
| 2561 | if test "${with_mmdf+set}" = set; then : | 2114 | if test "${with_mmdf+set}" = set; then |
| 2562 | withval=$with_mmdf; | 2115 | withval=$with_mmdf; |
| 2563 | else | 2116 | else |
| 2564 | with_mmdf=no | 2117 | with_mmdf=no |
| @@ -2566,13 +2119,15 @@ fi | |||
| 2566 | 2119 | ||
| 2567 | if test "$with_mmdf" != no; then | 2120 | if test "$with_mmdf" != no; then |
| 2568 | 2121 | ||
| 2569 | $as_echo "#define MAIL_USE_MMDF 1" >>confdefs.h | 2122 | cat >>confdefs.h <<\_ACEOF |
| 2123 | #define MAIL_USE_MMDF 1 | ||
| 2124 | _ACEOF | ||
| 2570 | 2125 | ||
| 2571 | fi | 2126 | fi |
| 2572 | 2127 | ||
| 2573 | 2128 | ||
| 2574 | # Check whether --with-mail-unlink was given. | 2129 | # Check whether --with-mail-unlink was given. |
| 2575 | if test "${with_mail_unlink+set}" = set; then : | 2130 | if test "${with_mail_unlink+set}" = set; then |
| 2576 | withval=$with_mail_unlink; | 2131 | withval=$with_mail_unlink; |
| 2577 | else | 2132 | else |
| 2578 | with_mail_unlink=no | 2133 | with_mail_unlink=no |
| @@ -2580,13 +2135,15 @@ fi | |||
| 2580 | 2135 | ||
| 2581 | if test "$with_mail_unlink" != no; then | 2136 | if test "$with_mail_unlink" != no; then |
| 2582 | 2137 | ||
| 2583 | $as_echo "#define MAIL_UNLINK_SPOOL 1" >>confdefs.h | 2138 | cat >>confdefs.h <<\_ACEOF |
| 2139 | #define MAIL_UNLINK_SPOOL 1 | ||
| 2140 | _ACEOF | ||
| 2584 | 2141 | ||
| 2585 | fi | 2142 | fi |
| 2586 | 2143 | ||
| 2587 | 2144 | ||
| 2588 | # Check whether --with-mailhost was given. | 2145 | # Check whether --with-mailhost was given. |
| 2589 | if test "${with_mailhost+set}" = set; then : | 2146 | if test "${with_mailhost+set}" = set; then |
| 2590 | withval=$with_mailhost; | 2147 | withval=$with_mailhost; |
| 2591 | cat >>confdefs.h <<_ACEOF | 2148 | cat >>confdefs.h <<_ACEOF |
| 2592 | #define MAILHOST "$withval" | 2149 | #define MAILHOST "$withval" |
| @@ -2597,7 +2154,7 @@ fi | |||
| 2597 | 2154 | ||
| 2598 | 2155 | ||
| 2599 | # Check whether --with-sound was given. | 2156 | # Check whether --with-sound was given. |
| 2600 | if test "${with_sound+set}" = set; then : | 2157 | if test "${with_sound+set}" = set; then |
| 2601 | withval=$with_sound; | 2158 | withval=$with_sound; |
| 2602 | else | 2159 | else |
| 2603 | with_sound=yes | 2160 | with_sound=yes |
| @@ -2606,7 +2163,7 @@ fi | |||
| 2606 | 2163 | ||
| 2607 | 2164 | ||
| 2608 | # Check whether --with-sync-input was given. | 2165 | # Check whether --with-sync-input was given. |
| 2609 | if test "${with_sync_input+set}" = set; then : | 2166 | if test "${with_sync_input+set}" = set; then |
| 2610 | withval=$with_sync_input; | 2167 | withval=$with_sync_input; |
| 2611 | else | 2168 | else |
| 2612 | with_sync_input=yes | 2169 | with_sync_input=yes |
| @@ -2614,13 +2171,15 @@ fi | |||
| 2614 | 2171 | ||
| 2615 | if test "$with_sync_input" = yes; then | 2172 | if test "$with_sync_input" = yes; then |
| 2616 | 2173 | ||
| 2617 | $as_echo "#define SYNC_INPUT 1" >>confdefs.h | 2174 | cat >>confdefs.h <<\_ACEOF |
| 2175 | #define SYNC_INPUT 1 | ||
| 2176 | _ACEOF | ||
| 2618 | 2177 | ||
| 2619 | fi | 2178 | fi |
| 2620 | 2179 | ||
| 2621 | 2180 | ||
| 2622 | # Check whether --with-x-toolkit was given. | 2181 | # Check whether --with-x-toolkit was given. |
| 2623 | if test "${with_x_toolkit+set}" = set; then : | 2182 | if test "${with_x_toolkit+set}" = set; then |
| 2624 | withval=$with_x_toolkit; case "${withval}" in | 2183 | withval=$with_x_toolkit; case "${withval}" in |
| 2625 | y | ye | yes ) val=gtk ;; | 2184 | y | ye | yes ) val=gtk ;; |
| 2626 | n | no ) val=no ;; | 2185 | n | no ) val=no ;; |
| @@ -2629,9 +2188,13 @@ if test "${with_x_toolkit+set}" = set; then : | |||
| 2629 | m | mo | mot | moti | motif ) val=motif ;; | 2188 | m | mo | mot | moti | motif ) val=motif ;; |
| 2630 | g | gt | gtk ) val=gtk ;; | 2189 | g | gt | gtk ) val=gtk ;; |
| 2631 | * ) | 2190 | * ) |
| 2632 | as_fn_error "\`--with-x-toolkit=$withval' is invalid; | 2191 | { { $as_echo "$as_me:$LINENO: error: \`--with-x-toolkit=$withval' is invalid; |
| 2192 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | ||
| 2193 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&5 | ||
| 2194 | $as_echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid; | ||
| 2633 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. | 2195 | this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif' or \`gtk'. |
| 2634 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2196 | \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." >&2;} |
| 2197 | { (exit 1); exit 1; }; } | ||
| 2635 | ;; | 2198 | ;; |
| 2636 | esac | 2199 | esac |
| 2637 | with_x_toolkit=$val | 2200 | with_x_toolkit=$val |
| @@ -2641,7 +2204,7 @@ fi | |||
| 2641 | 2204 | ||
| 2642 | 2205 | ||
| 2643 | # Check whether --with-xpm was given. | 2206 | # Check whether --with-xpm was given. |
| 2644 | if test "${with_xpm+set}" = set; then : | 2207 | if test "${with_xpm+set}" = set; then |
| 2645 | withval=$with_xpm; | 2208 | withval=$with_xpm; |
| 2646 | else | 2209 | else |
| 2647 | with_xpm=yes | 2210 | with_xpm=yes |
| @@ -2649,7 +2212,7 @@ fi | |||
| 2649 | 2212 | ||
| 2650 | 2213 | ||
| 2651 | # Check whether --with-jpeg was given. | 2214 | # Check whether --with-jpeg was given. |
| 2652 | if test "${with_jpeg+set}" = set; then : | 2215 | if test "${with_jpeg+set}" = set; then |
| 2653 | withval=$with_jpeg; | 2216 | withval=$with_jpeg; |
| 2654 | else | 2217 | else |
| 2655 | with_jpeg=yes | 2218 | with_jpeg=yes |
| @@ -2657,7 +2220,7 @@ fi | |||
| 2657 | 2220 | ||
| 2658 | 2221 | ||
| 2659 | # Check whether --with-tiff was given. | 2222 | # Check whether --with-tiff was given. |
| 2660 | if test "${with_tiff+set}" = set; then : | 2223 | if test "${with_tiff+set}" = set; then |
| 2661 | withval=$with_tiff; | 2224 | withval=$with_tiff; |
| 2662 | else | 2225 | else |
| 2663 | with_tiff=yes | 2226 | with_tiff=yes |
| @@ -2665,7 +2228,7 @@ fi | |||
| 2665 | 2228 | ||
| 2666 | 2229 | ||
| 2667 | # Check whether --with-gif was given. | 2230 | # Check whether --with-gif was given. |
| 2668 | if test "${with_gif+set}" = set; then : | 2231 | if test "${with_gif+set}" = set; then |
| 2669 | withval=$with_gif; | 2232 | withval=$with_gif; |
| 2670 | else | 2233 | else |
| 2671 | with_gif=yes | 2234 | with_gif=yes |
| @@ -2673,7 +2236,7 @@ fi | |||
| 2673 | 2236 | ||
| 2674 | 2237 | ||
| 2675 | # Check whether --with-png was given. | 2238 | # Check whether --with-png was given. |
| 2676 | if test "${with_png+set}" = set; then : | 2239 | if test "${with_png+set}" = set; then |
| 2677 | withval=$with_png; | 2240 | withval=$with_png; |
| 2678 | else | 2241 | else |
| 2679 | with_png=yes | 2242 | with_png=yes |
| @@ -2681,7 +2244,7 @@ fi | |||
| 2681 | 2244 | ||
| 2682 | 2245 | ||
| 2683 | # Check whether --with-rsvg was given. | 2246 | # Check whether --with-rsvg was given. |
| 2684 | if test "${with_rsvg+set}" = set; then : | 2247 | if test "${with_rsvg+set}" = set; then |
| 2685 | withval=$with_rsvg; | 2248 | withval=$with_rsvg; |
| 2686 | else | 2249 | else |
| 2687 | with_rsvg=yes | 2250 | with_rsvg=yes |
| @@ -2690,7 +2253,7 @@ fi | |||
| 2690 | 2253 | ||
| 2691 | 2254 | ||
| 2692 | # Check whether --with-xft was given. | 2255 | # Check whether --with-xft was given. |
| 2693 | if test "${with_xft+set}" = set; then : | 2256 | if test "${with_xft+set}" = set; then |
| 2694 | withval=$with_xft; | 2257 | withval=$with_xft; |
| 2695 | else | 2258 | else |
| 2696 | with_xft=yes | 2259 | with_xft=yes |
| @@ -2698,7 +2261,7 @@ fi | |||
| 2698 | 2261 | ||
| 2699 | 2262 | ||
| 2700 | # Check whether --with-libotf was given. | 2263 | # Check whether --with-libotf was given. |
| 2701 | if test "${with_libotf+set}" = set; then : | 2264 | if test "${with_libotf+set}" = set; then |
| 2702 | withval=$with_libotf; | 2265 | withval=$with_libotf; |
| 2703 | else | 2266 | else |
| 2704 | with_libotf=yes | 2267 | with_libotf=yes |
| @@ -2706,7 +2269,7 @@ fi | |||
| 2706 | 2269 | ||
| 2707 | 2270 | ||
| 2708 | # Check whether --with-m17n-flt was given. | 2271 | # Check whether --with-m17n-flt was given. |
| 2709 | if test "${with_m17n_flt+set}" = set; then : | 2272 | if test "${with_m17n_flt+set}" = set; then |
| 2710 | withval=$with_m17n_flt; | 2273 | withval=$with_m17n_flt; |
| 2711 | else | 2274 | else |
| 2712 | with_m17n_flt=yes | 2275 | with_m17n_flt=yes |
| @@ -2715,7 +2278,7 @@ fi | |||
| 2715 | 2278 | ||
| 2716 | 2279 | ||
| 2717 | # Check whether --with-toolkit-scroll-bars was given. | 2280 | # Check whether --with-toolkit-scroll-bars was given. |
| 2718 | if test "${with_toolkit_scroll_bars+set}" = set; then : | 2281 | if test "${with_toolkit_scroll_bars+set}" = set; then |
| 2719 | withval=$with_toolkit_scroll_bars; | 2282 | withval=$with_toolkit_scroll_bars; |
| 2720 | else | 2283 | else |
| 2721 | with_toolkit_scroll_bars=yes | 2284 | with_toolkit_scroll_bars=yes |
| @@ -2723,7 +2286,7 @@ fi | |||
| 2723 | 2286 | ||
| 2724 | 2287 | ||
| 2725 | # Check whether --with-xaw3d was given. | 2288 | # Check whether --with-xaw3d was given. |
| 2726 | if test "${with_xaw3d+set}" = set; then : | 2289 | if test "${with_xaw3d+set}" = set; then |
| 2727 | withval=$with_xaw3d; | 2290 | withval=$with_xaw3d; |
| 2728 | else | 2291 | else |
| 2729 | with_xaw3d=yes | 2292 | with_xaw3d=yes |
| @@ -2731,7 +2294,7 @@ fi | |||
| 2731 | 2294 | ||
| 2732 | 2295 | ||
| 2733 | # Check whether --with-xim was given. | 2296 | # Check whether --with-xim was given. |
| 2734 | if test "${with_xim+set}" = set; then : | 2297 | if test "${with_xim+set}" = set; then |
| 2735 | withval=$with_xim; | 2298 | withval=$with_xim; |
| 2736 | else | 2299 | else |
| 2737 | with_xim=yes | 2300 | with_xim=yes |
| @@ -2739,7 +2302,7 @@ fi | |||
| 2739 | 2302 | ||
| 2740 | 2303 | ||
| 2741 | # Check whether --with-ns was given. | 2304 | # Check whether --with-ns was given. |
| 2742 | if test "${with_ns+set}" = set; then : | 2305 | if test "${with_ns+set}" = set; then |
| 2743 | withval=$with_ns; | 2306 | withval=$with_ns; |
| 2744 | else | 2307 | else |
| 2745 | with_ns=no | 2308 | with_ns=no |
| @@ -2748,7 +2311,7 @@ fi | |||
| 2748 | 2311 | ||
| 2749 | 2312 | ||
| 2750 | # Check whether --with-gpm was given. | 2313 | # Check whether --with-gpm was given. |
| 2751 | if test "${with_gpm+set}" = set; then : | 2314 | if test "${with_gpm+set}" = set; then |
| 2752 | withval=$with_gpm; | 2315 | withval=$with_gpm; |
| 2753 | else | 2316 | else |
| 2754 | with_gpm=yes | 2317 | with_gpm=yes |
| @@ -2756,7 +2319,7 @@ fi | |||
| 2756 | 2319 | ||
| 2757 | 2320 | ||
| 2758 | # Check whether --with-dbus was given. | 2321 | # Check whether --with-dbus was given. |
| 2759 | if test "${with_dbus+set}" = set; then : | 2322 | if test "${with_dbus+set}" = set; then |
| 2760 | withval=$with_dbus; | 2323 | withval=$with_dbus; |
| 2761 | else | 2324 | else |
| 2762 | with_dbus=yes | 2325 | with_dbus=yes |
| @@ -2764,7 +2327,7 @@ fi | |||
| 2764 | 2327 | ||
| 2765 | 2328 | ||
| 2766 | # Check whether --with-gconf was given. | 2329 | # Check whether --with-gconf was given. |
| 2767 | if test "${with_gconf+set}" = set; then : | 2330 | if test "${with_gconf+set}" = set; then |
| 2768 | withval=$with_gconf; | 2331 | withval=$with_gconf; |
| 2769 | else | 2332 | else |
| 2770 | with_gconf=yes | 2333 | with_gconf=yes |
| @@ -2772,7 +2335,7 @@ fi | |||
| 2772 | 2335 | ||
| 2773 | 2336 | ||
| 2774 | # Check whether --with-selinux was given. | 2337 | # Check whether --with-selinux was given. |
| 2775 | if test "${with_selinux+set}" = set; then : | 2338 | if test "${with_selinux+set}" = set; then |
| 2776 | withval=$with_selinux; | 2339 | withval=$with_selinux; |
| 2777 | else | 2340 | else |
| 2778 | with_selinux=yes | 2341 | with_selinux=yes |
| @@ -2783,7 +2346,7 @@ fi | |||
| 2783 | ## a suitable makeinfo, and can live without the manuals. | 2346 | ## a suitable makeinfo, and can live without the manuals. |
| 2784 | 2347 | ||
| 2785 | # Check whether --with-makeinfo was given. | 2348 | # Check whether --with-makeinfo was given. |
| 2786 | if test "${with_makeinfo+set}" = set; then : | 2349 | if test "${with_makeinfo+set}" = set; then |
| 2787 | withval=$with_makeinfo; | 2350 | withval=$with_makeinfo; |
| 2788 | else | 2351 | else |
| 2789 | with_makeinfo=yes | 2352 | with_makeinfo=yes |
| @@ -2792,23 +2355,29 @@ fi | |||
| 2792 | 2355 | ||
| 2793 | 2356 | ||
| 2794 | # Check whether --with-gtk was given. | 2357 | # Check whether --with-gtk was given. |
| 2795 | if test "${with_gtk+set}" = set; then : | 2358 | if test "${with_gtk+set}" = set; then |
| 2796 | withval=$with_gtk; as_fn_error "--with-gtk has been removed. Use --with-x-toolkit to | 2359 | withval=$with_gtk; { { $as_echo "$as_me:$LINENO: error: --with-gtk has been removed. Use --with-x-toolkit to |
| 2797 | specify a toolkit." "$LINENO" 5 | 2360 | specify a toolkit." >&5 |
| 2361 | $as_echo "$as_me: error: --with-gtk has been removed. Use --with-x-toolkit to | ||
| 2362 | specify a toolkit." >&2;} | ||
| 2363 | { (exit 1); exit 1; }; } | ||
| 2798 | fi | 2364 | fi |
| 2799 | 2365 | ||
| 2800 | 2366 | ||
| 2801 | 2367 | ||
| 2802 | # Check whether --with-gcc was given. | 2368 | # Check whether --with-gcc was given. |
| 2803 | if test "${with_gcc+set}" = set; then : | 2369 | if test "${with_gcc+set}" = set; then |
| 2804 | withval=$with_gcc; as_fn_error "--with-gcc has been removed. Set the \`CC' environment | 2370 | withval=$with_gcc; { { $as_echo "$as_me:$LINENO: error: --with-gcc has been removed. Set the \`CC' environment |
| 2805 | variable to specify a compiler." "$LINENO" 5 | 2371 | variable to specify a compiler." >&5 |
| 2372 | $as_echo "$as_me: error: --with-gcc has been removed. Set the \`CC' environment | ||
| 2373 | variable to specify a compiler." >&2;} | ||
| 2374 | { (exit 1); exit 1; }; } | ||
| 2806 | fi | 2375 | fi |
| 2807 | 2376 | ||
| 2808 | 2377 | ||
| 2809 | 2378 | ||
| 2810 | # Check whether --with-pkg-config-prog was given. | 2379 | # Check whether --with-pkg-config-prog was given. |
| 2811 | if test "${with_pkg_config_prog+set}" = set; then : | 2380 | if test "${with_pkg_config_prog+set}" = set; then |
| 2812 | withval=$with_pkg_config_prog; | 2381 | withval=$with_pkg_config_prog; |
| 2813 | fi | 2382 | fi |
| 2814 | 2383 | ||
| @@ -2821,7 +2390,7 @@ fi | |||
| 2821 | CRT_DIR= | 2390 | CRT_DIR= |
| 2822 | 2391 | ||
| 2823 | # Check whether --with-crt-dir was given. | 2392 | # Check whether --with-crt-dir was given. |
| 2824 | if test "${with_crt_dir+set}" = set; then : | 2393 | if test "${with_crt_dir+set}" = set; then |
| 2825 | withval=$with_crt_dir; | 2394 | withval=$with_crt_dir; |
| 2826 | fi | 2395 | fi |
| 2827 | 2396 | ||
| @@ -2829,7 +2398,7 @@ CRT_DIR="${with_crt_dir}" | |||
| 2829 | 2398 | ||
| 2830 | 2399 | ||
| 2831 | # Check whether --with-gnustep-conf was given. | 2400 | # Check whether --with-gnustep-conf was given. |
| 2832 | if test "${with_gnustep_conf+set}" = set; then : | 2401 | if test "${with_gnustep_conf+set}" = set; then |
| 2833 | withval=$with_gnustep_conf; | 2402 | withval=$with_gnustep_conf; |
| 2834 | fi | 2403 | fi |
| 2835 | 2404 | ||
| @@ -2839,7 +2408,7 @@ test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | |||
| 2839 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | 2408 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf |
| 2840 | 2409 | ||
| 2841 | # Check whether --enable-ns-self-contained was given. | 2410 | # Check whether --enable-ns-self-contained was given. |
| 2842 | if test "${enable_ns_self_contained+set}" = set; then : | 2411 | if test "${enable_ns_self_contained+set}" = set; then |
| 2843 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval | 2412 | enableval=$enable_ns_self_contained; EN_NS_SELF_CONTAINED=$enableval |
| 2844 | else | 2413 | else |
| 2845 | EN_NS_SELF_CONTAINED=yes | 2414 | EN_NS_SELF_CONTAINED=yes |
| @@ -2847,7 +2416,7 @@ fi | |||
| 2847 | 2416 | ||
| 2848 | 2417 | ||
| 2849 | # Check whether --enable-asserts was given. | 2418 | # Check whether --enable-asserts was given. |
| 2850 | if test "${enable_asserts+set}" = set; then : | 2419 | if test "${enable_asserts+set}" = set; then |
| 2851 | enableval=$enable_asserts; USE_XASSERTS=$enableval | 2420 | enableval=$enable_asserts; USE_XASSERTS=$enableval |
| 2852 | else | 2421 | else |
| 2853 | USE_XASSERTS=no | 2422 | USE_XASSERTS=no |
| @@ -2855,7 +2424,7 @@ fi | |||
| 2855 | 2424 | ||
| 2856 | 2425 | ||
| 2857 | # Check whether --enable-maintainer-mode was given. | 2426 | # Check whether --enable-maintainer-mode was given. |
| 2858 | if test "${enable_maintainer_mode+set}" = set; then : | 2427 | if test "${enable_maintainer_mode+set}" = set; then |
| 2859 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 2428 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2860 | else | 2429 | else |
| 2861 | USE_MAINTAINER_MODE=no | 2430 | USE_MAINTAINER_MODE=no |
| @@ -2869,7 +2438,7 @@ fi | |||
| 2869 | 2438 | ||
| 2870 | 2439 | ||
| 2871 | # Check whether --enable-locallisppath was given. | 2440 | # Check whether --enable-locallisppath was given. |
| 2872 | if test "${enable_locallisppath+set}" = set; then : | 2441 | if test "${enable_locallisppath+set}" = set; then |
| 2873 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then | 2442 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| 2874 | locallisppath= | 2443 | locallisppath= |
| 2875 | elif test "${enableval}" != "yes"; then | 2444 | elif test "${enableval}" != "yes"; then |
| @@ -2879,7 +2448,7 @@ fi | |||
| 2879 | 2448 | ||
| 2880 | 2449 | ||
| 2881 | # Check whether --enable-checking was given. | 2450 | # Check whether --enable-checking was given. |
| 2882 | if test "${enable_checking+set}" = set; then : | 2451 | if test "${enable_checking+set}" = set; then |
| 2883 | enableval=$enable_checking; ac_checking_flags="${enableval}" | 2452 | enableval=$enable_checking; ac_checking_flags="${enableval}" |
| 2884 | fi | 2453 | fi |
| 2885 | 2454 | ||
| @@ -2907,44 +2476,58 @@ do | |||
| 2907 | stringfreelist) ac_gc_check_string_free_list=1 ;; | 2476 | stringfreelist) ac_gc_check_string_free_list=1 ;; |
| 2908 | xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2477 | xmallocoverrun) ac_xmalloc_overrun=1 ;; |
| 2909 | conslist) ac_gc_check_cons_list=1 ;; | 2478 | conslist) ac_gc_check_cons_list=1 ;; |
| 2910 | *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; | 2479 | *) { { $as_echo "$as_me:$LINENO: error: unknown check category $check" >&5 |
| 2480 | $as_echo "$as_me: error: unknown check category $check" >&2;} | ||
| 2481 | { (exit 1); exit 1; }; } ;; | ||
| 2911 | esac | 2482 | esac |
| 2912 | done | 2483 | done |
| 2913 | IFS="$ac_save_IFS" | 2484 | IFS="$ac_save_IFS" |
| 2914 | 2485 | ||
| 2915 | if test x$ac_enable_checking != x ; then | 2486 | if test x$ac_enable_checking != x ; then |
| 2916 | 2487 | ||
| 2917 | $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h | 2488 | cat >>confdefs.h <<\_ACEOF |
| 2489 | #define ENABLE_CHECKING 1 | ||
| 2490 | _ACEOF | ||
| 2918 | 2491 | ||
| 2919 | fi | 2492 | fi |
| 2920 | if test x$ac_gc_check_stringbytes != x ; then | 2493 | if test x$ac_gc_check_stringbytes != x ; then |
| 2921 | 2494 | ||
| 2922 | $as_echo "#define GC_CHECK_STRING_BYTES 1" >>confdefs.h | 2495 | cat >>confdefs.h <<\_ACEOF |
| 2496 | #define GC_CHECK_STRING_BYTES 1 | ||
| 2497 | _ACEOF | ||
| 2923 | 2498 | ||
| 2924 | fi | 2499 | fi |
| 2925 | if test x$ac_gc_check_stringoverrun != x ; then | 2500 | if test x$ac_gc_check_stringoverrun != x ; then |
| 2926 | 2501 | ||
| 2927 | $as_echo "#define GC_CHECK_STRING_OVERRUN 1" >>confdefs.h | 2502 | cat >>confdefs.h <<\_ACEOF |
| 2503 | #define GC_CHECK_STRING_OVERRUN 1 | ||
| 2504 | _ACEOF | ||
| 2928 | 2505 | ||
| 2929 | fi | 2506 | fi |
| 2930 | if test x$ac_gc_check_string_free_list != x ; then | 2507 | if test x$ac_gc_check_string_free_list != x ; then |
| 2931 | 2508 | ||
| 2932 | $as_echo "#define GC_CHECK_STRING_FREE_LIST 1" >>confdefs.h | 2509 | cat >>confdefs.h <<\_ACEOF |
| 2510 | #define GC_CHECK_STRING_FREE_LIST 1 | ||
| 2511 | _ACEOF | ||
| 2933 | 2512 | ||
| 2934 | fi | 2513 | fi |
| 2935 | if test x$ac_xmalloc_overrun != x ; then | 2514 | if test x$ac_xmalloc_overrun != x ; then |
| 2936 | 2515 | ||
| 2937 | $as_echo "#define XMALLOC_OVERRUN_CHECK 1" >>confdefs.h | 2516 | cat >>confdefs.h <<\_ACEOF |
| 2517 | #define XMALLOC_OVERRUN_CHECK 1 | ||
| 2518 | _ACEOF | ||
| 2938 | 2519 | ||
| 2939 | fi | 2520 | fi |
| 2940 | if test x$ac_gc_check_cons_list != x ; then | 2521 | if test x$ac_gc_check_cons_list != x ; then |
| 2941 | 2522 | ||
| 2942 | $as_echo "#define GC_CHECK_CONS_LIST 1" >>confdefs.h | 2523 | cat >>confdefs.h <<\_ACEOF |
| 2524 | #define GC_CHECK_CONS_LIST 1 | ||
| 2525 | _ACEOF | ||
| 2943 | 2526 | ||
| 2944 | fi | 2527 | fi |
| 2945 | 2528 | ||
| 2946 | # Check whether --enable-profiling was given. | 2529 | # Check whether --enable-profiling was given. |
| 2947 | if test "${enable_profiling+set}" = set; then : | 2530 | if test "${enable_profiling+set}" = set; then |
| 2948 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 2531 | enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
| 2949 | fi | 2532 | fi |
| 2950 | 2533 | ||
| @@ -2957,7 +2540,7 @@ else | |||
| 2957 | fi | 2540 | fi |
| 2958 | 2541 | ||
| 2959 | # Check whether --enable-autodepend was given. | 2542 | # Check whether --enable-autodepend was given. |
| 2960 | if test "${enable_autodepend+set}" = set; then : | 2543 | if test "${enable_autodepend+set}" = set; then |
| 2961 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 2544 | enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
| 2962 | else | 2545 | else |
| 2963 | ac_enable_autodepend=yes | 2546 | ac_enable_autodepend=yes |
| @@ -2991,7 +2574,7 @@ esac | |||
| 2991 | #### Check if the source directory already has a configured system in it. | 2574 | #### Check if the source directory already has a configured system in it. |
| 2992 | if test `pwd` != `(cd ${srcdir} && pwd)` \ | 2575 | if test `pwd` != `(cd ${srcdir} && pwd)` \ |
| 2993 | && test -f "${srcdir}/src/config.h" ; then | 2576 | && test -f "${srcdir}/src/config.h" ; then |
| 2994 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The directory tree \`${srcdir}' is being used | 2577 | { $as_echo "$as_me:$LINENO: WARNING: The directory tree \`${srcdir}' is being used |
| 2995 | as a build directory right now; it has been configured in its own | 2578 | as a build directory right now; it has been configured in its own |
| 2996 | right. To configure in another directory as well, you MUST | 2579 | right. To configure in another directory as well, you MUST |
| 2997 | use GNU make. If you do not have GNU make, then you must | 2580 | use GNU make. If you do not have GNU make, then you must |
| @@ -3012,16 +2595,24 @@ fi | |||
| 3012 | 2595 | ||
| 3013 | ac_aux_dir= | 2596 | ac_aux_dir= |
| 3014 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2597 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 3015 | for ac_t in install-sh install.sh shtool; do | 2598 | if test -f "$ac_dir/install-sh"; then |
| 3016 | if test -f "$ac_dir/$ac_t"; then | 2599 | ac_aux_dir=$ac_dir |
| 3017 | ac_aux_dir=$ac_dir | 2600 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 3018 | ac_install_sh="$ac_aux_dir/$ac_t -c" | 2601 | break |
| 3019 | break 2 | 2602 | elif test -f "$ac_dir/install.sh"; then |
| 3020 | fi | 2603 | ac_aux_dir=$ac_dir |
| 3021 | done | 2604 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2605 | break | ||
| 2606 | elif test -f "$ac_dir/shtool"; then | ||
| 2607 | ac_aux_dir=$ac_dir | ||
| 2608 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
| 2609 | break | ||
| 2610 | fi | ||
| 3022 | done | 2611 | done |
| 3023 | if test -z "$ac_aux_dir"; then | 2612 | if test -z "$ac_aux_dir"; then |
| 3024 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2613 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 2614 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
| 2615 | { (exit 1); exit 1; }; } | ||
| 3025 | fi | 2616 | fi |
| 3026 | 2617 | ||
| 3027 | # These three variables are undocumented and unsupported, | 2618 | # These three variables are undocumented and unsupported, |
| @@ -3035,27 +2626,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
| 3035 | 2626 | ||
| 3036 | # Make sure we can run config.sub. | 2627 | # Make sure we can run config.sub. |
| 3037 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2628 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 3038 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2629 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 2630 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
| 2631 | { (exit 1); exit 1; }; } | ||
| 3039 | 2632 | ||
| 3040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2633 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| 3041 | $as_echo_n "checking build system type... " >&6; } | 2634 | $as_echo_n "checking build system type... " >&6; } |
| 3042 | if test "${ac_cv_build+set}" = set; then : | 2635 | if test "${ac_cv_build+set}" = set; then |
| 3043 | $as_echo_n "(cached) " >&6 | 2636 | $as_echo_n "(cached) " >&6 |
| 3044 | else | 2637 | else |
| 3045 | ac_build_alias=$build_alias | 2638 | ac_build_alias=$build_alias |
| 3046 | test "x$ac_build_alias" = x && | 2639 | test "x$ac_build_alias" = x && |
| 3047 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2640 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 3048 | test "x$ac_build_alias" = x && | 2641 | test "x$ac_build_alias" = x && |
| 3049 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2642 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 2643 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
| 2644 | { (exit 1); exit 1; }; } | ||
| 3050 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2645 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 3051 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2646 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 2647 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
| 2648 | { (exit 1); exit 1; }; } | ||
| 3052 | 2649 | ||
| 3053 | fi | 2650 | fi |
| 3054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2651 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 3055 | $as_echo "$ac_cv_build" >&6; } | 2652 | $as_echo "$ac_cv_build" >&6; } |
| 3056 | case $ac_cv_build in | 2653 | case $ac_cv_build in |
| 3057 | *-*-*) ;; | 2654 | *-*-*) ;; |
| 3058 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2655 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 2656 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
| 2657 | { (exit 1); exit 1; }; };; | ||
| 3059 | esac | 2658 | esac |
| 3060 | build=$ac_cv_build | 2659 | build=$ac_cv_build |
| 3061 | ac_save_IFS=$IFS; IFS='-' | 2660 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3071,24 +2670,28 @@ IFS=$ac_save_IFS | |||
| 3071 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2670 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3072 | 2671 | ||
| 3073 | 2672 | ||
| 3074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2673 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| 3075 | $as_echo_n "checking host system type... " >&6; } | 2674 | $as_echo_n "checking host system type... " >&6; } |
| 3076 | if test "${ac_cv_host+set}" = set; then : | 2675 | if test "${ac_cv_host+set}" = set; then |
| 3077 | $as_echo_n "(cached) " >&6 | 2676 | $as_echo_n "(cached) " >&6 |
| 3078 | else | 2677 | else |
| 3079 | if test "x$host_alias" = x; then | 2678 | if test "x$host_alias" = x; then |
| 3080 | ac_cv_host=$ac_cv_build | 2679 | ac_cv_host=$ac_cv_build |
| 3081 | else | 2680 | else |
| 3082 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2681 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 3083 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2682 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 2683 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
| 2684 | { (exit 1); exit 1; }; } | ||
| 3084 | fi | 2685 | fi |
| 3085 | 2686 | ||
| 3086 | fi | 2687 | fi |
| 3087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2688 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 3088 | $as_echo "$ac_cv_host" >&6; } | 2689 | $as_echo "$ac_cv_host" >&6; } |
| 3089 | case $ac_cv_host in | 2690 | case $ac_cv_host in |
| 3090 | *-*-*) ;; | 2691 | *-*-*) ;; |
| 3091 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2692 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 2693 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
| 2694 | { (exit 1); exit 1; }; };; | ||
| 3092 | esac | 2695 | esac |
| 3093 | host=$ac_cv_host | 2696 | host=$ac_cv_host |
| 3094 | ac_save_IFS=$IFS; IFS='-' | 2697 | ac_save_IFS=$IFS; IFS='-' |
| @@ -3168,7 +2771,9 @@ case "${canonical}" in | |||
| 3168 | opsys=netbsd | 2771 | opsys=netbsd |
| 3169 | if test -f /usr/lib/crti.o; then | 2772 | if test -f /usr/lib/crti.o; then |
| 3170 | 2773 | ||
| 3171 | $as_echo "#define HAVE_CRTIN /**/" >>confdefs.h | 2774 | cat >>confdefs.h <<\_ACEOF |
| 2775 | #define HAVE_CRTIN /**/ | ||
| 2776 | _ACEOF | ||
| 3172 | 2777 | ||
| 3173 | fi | 2778 | fi |
| 3174 | 2779 | ||
| @@ -3393,8 +2998,11 @@ fi | |||
| 3393 | 2998 | ||
| 3394 | 2999 | ||
| 3395 | if test $unported = yes; then | 3000 | if test $unported = yes; then |
| 3396 | as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. | 3001 | { { $as_echo "$as_me:$LINENO: error: Emacs hasn't been ported to \`${canonical}' systems. |
| 3397 | Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3002 | Check \`etc/MACHINES' for recognized configuration names." >&5 |
| 3003 | $as_echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems. | ||
| 3004 | Check \`etc/MACHINES' for recognized configuration names." >&2;} | ||
| 3005 | { (exit 1); exit 1; }; } | ||
| 3398 | fi | 3006 | fi |
| 3399 | 3007 | ||
| 3400 | machfile="m/${machine}.h" | 3008 | machfile="m/${machine}.h" |
| @@ -3415,9 +3023,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 3415 | if test -n "$ac_tool_prefix"; then | 3023 | if test -n "$ac_tool_prefix"; then |
| 3416 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3024 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3417 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3025 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3026 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3419 | $as_echo_n "checking for $ac_word... " >&6; } | 3027 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3420 | if test "${ac_cv_prog_CC+set}" = set; then : | 3028 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3421 | $as_echo_n "(cached) " >&6 | 3029 | $as_echo_n "(cached) " >&6 |
| 3422 | else | 3030 | else |
| 3423 | if test -n "$CC"; then | 3031 | if test -n "$CC"; then |
| @@ -3428,24 +3036,24 @@ for as_dir in $PATH | |||
| 3428 | do | 3036 | do |
| 3429 | IFS=$as_save_IFS | 3037 | IFS=$as_save_IFS |
| 3430 | test -z "$as_dir" && as_dir=. | 3038 | test -z "$as_dir" && as_dir=. |
| 3431 | for ac_exec_ext in '' $ac_executable_extensions; do | 3039 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3432 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3040 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3433 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3041 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3434 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3042 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3435 | break 2 | 3043 | break 2 |
| 3436 | fi | 3044 | fi |
| 3437 | done | 3045 | done |
| 3438 | done | 3046 | done |
| 3439 | IFS=$as_save_IFS | 3047 | IFS=$as_save_IFS |
| 3440 | 3048 | ||
| 3441 | fi | 3049 | fi |
| 3442 | fi | 3050 | fi |
| 3443 | CC=$ac_cv_prog_CC | 3051 | CC=$ac_cv_prog_CC |
| 3444 | if test -n "$CC"; then | 3052 | if test -n "$CC"; then |
| 3445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3053 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3446 | $as_echo "$CC" >&6; } | 3054 | $as_echo "$CC" >&6; } |
| 3447 | else | 3055 | else |
| 3448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3056 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3449 | $as_echo "no" >&6; } | 3057 | $as_echo "no" >&6; } |
| 3450 | fi | 3058 | fi |
| 3451 | 3059 | ||
| @@ -3455,9 +3063,9 @@ if test -z "$ac_cv_prog_CC"; then | |||
| 3455 | ac_ct_CC=$CC | 3063 | ac_ct_CC=$CC |
| 3456 | # Extract the first word of "gcc", so it can be a program name with args. | 3064 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3457 | set dummy gcc; ac_word=$2 | 3065 | set dummy gcc; ac_word=$2 |
| 3458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3066 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3459 | $as_echo_n "checking for $ac_word... " >&6; } | 3067 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3460 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3068 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3461 | $as_echo_n "(cached) " >&6 | 3069 | $as_echo_n "(cached) " >&6 |
| 3462 | else | 3070 | else |
| 3463 | if test -n "$ac_ct_CC"; then | 3071 | if test -n "$ac_ct_CC"; then |
| @@ -3468,24 +3076,24 @@ for as_dir in $PATH | |||
| 3468 | do | 3076 | do |
| 3469 | IFS=$as_save_IFS | 3077 | IFS=$as_save_IFS |
| 3470 | test -z "$as_dir" && as_dir=. | 3078 | test -z "$as_dir" && as_dir=. |
| 3471 | for ac_exec_ext in '' $ac_executable_extensions; do | 3079 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3472 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3080 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3473 | ac_cv_prog_ac_ct_CC="gcc" | 3081 | ac_cv_prog_ac_ct_CC="gcc" |
| 3474 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3082 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3475 | break 2 | 3083 | break 2 |
| 3476 | fi | 3084 | fi |
| 3477 | done | 3085 | done |
| 3478 | done | 3086 | done |
| 3479 | IFS=$as_save_IFS | 3087 | IFS=$as_save_IFS |
| 3480 | 3088 | ||
| 3481 | fi | 3089 | fi |
| 3482 | fi | 3090 | fi |
| 3483 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3091 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3484 | if test -n "$ac_ct_CC"; then | 3092 | if test -n "$ac_ct_CC"; then |
| 3485 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3093 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3486 | $as_echo "$ac_ct_CC" >&6; } | 3094 | $as_echo "$ac_ct_CC" >&6; } |
| 3487 | else | 3095 | else |
| 3488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3096 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3489 | $as_echo "no" >&6; } | 3097 | $as_echo "no" >&6; } |
| 3490 | fi | 3098 | fi |
| 3491 | 3099 | ||
| @@ -3494,8 +3102,12 @@ fi | |||
| 3494 | else | 3102 | else |
| 3495 | case $cross_compiling:$ac_tool_warned in | 3103 | case $cross_compiling:$ac_tool_warned in |
| 3496 | yes:) | 3104 | yes:) |
| 3497 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3105 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3498 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3106 | whose name does not start with the host triplet. If you think this |
| 3107 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3108 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3109 | whose name does not start with the host triplet. If you think this | ||
| 3110 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3499 | ac_tool_warned=yes ;; | 3111 | ac_tool_warned=yes ;; |
| 3500 | esac | 3112 | esac |
| 3501 | CC=$ac_ct_CC | 3113 | CC=$ac_ct_CC |
| @@ -3508,9 +3120,9 @@ if test -z "$CC"; then | |||
| 3508 | if test -n "$ac_tool_prefix"; then | 3120 | if test -n "$ac_tool_prefix"; then |
| 3509 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3121 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3510 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3122 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3511 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3123 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3512 | $as_echo_n "checking for $ac_word... " >&6; } | 3124 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3513 | if test "${ac_cv_prog_CC+set}" = set; then : | 3125 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3514 | $as_echo_n "(cached) " >&6 | 3126 | $as_echo_n "(cached) " >&6 |
| 3515 | else | 3127 | else |
| 3516 | if test -n "$CC"; then | 3128 | if test -n "$CC"; then |
| @@ -3521,24 +3133,24 @@ for as_dir in $PATH | |||
| 3521 | do | 3133 | do |
| 3522 | IFS=$as_save_IFS | 3134 | IFS=$as_save_IFS |
| 3523 | test -z "$as_dir" && as_dir=. | 3135 | test -z "$as_dir" && as_dir=. |
| 3524 | for ac_exec_ext in '' $ac_executable_extensions; do | 3136 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3525 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3137 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3526 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3138 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3527 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3139 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3528 | break 2 | 3140 | break 2 |
| 3529 | fi | 3141 | fi |
| 3530 | done | 3142 | done |
| 3531 | done | 3143 | done |
| 3532 | IFS=$as_save_IFS | 3144 | IFS=$as_save_IFS |
| 3533 | 3145 | ||
| 3534 | fi | 3146 | fi |
| 3535 | fi | 3147 | fi |
| 3536 | CC=$ac_cv_prog_CC | 3148 | CC=$ac_cv_prog_CC |
| 3537 | if test -n "$CC"; then | 3149 | if test -n "$CC"; then |
| 3538 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3150 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3539 | $as_echo "$CC" >&6; } | 3151 | $as_echo "$CC" >&6; } |
| 3540 | else | 3152 | else |
| 3541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3153 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3542 | $as_echo "no" >&6; } | 3154 | $as_echo "no" >&6; } |
| 3543 | fi | 3155 | fi |
| 3544 | 3156 | ||
| @@ -3548,9 +3160,9 @@ fi | |||
| 3548 | if test -z "$CC"; then | 3160 | if test -z "$CC"; then |
| 3549 | # Extract the first word of "cc", so it can be a program name with args. | 3161 | # Extract the first word of "cc", so it can be a program name with args. |
| 3550 | set dummy cc; ac_word=$2 | 3162 | set dummy cc; ac_word=$2 |
| 3551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3163 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3552 | $as_echo_n "checking for $ac_word... " >&6; } | 3164 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3553 | if test "${ac_cv_prog_CC+set}" = set; then : | 3165 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3554 | $as_echo_n "(cached) " >&6 | 3166 | $as_echo_n "(cached) " >&6 |
| 3555 | else | 3167 | else |
| 3556 | if test -n "$CC"; then | 3168 | if test -n "$CC"; then |
| @@ -3562,18 +3174,18 @@ for as_dir in $PATH | |||
| 3562 | do | 3174 | do |
| 3563 | IFS=$as_save_IFS | 3175 | IFS=$as_save_IFS |
| 3564 | test -z "$as_dir" && as_dir=. | 3176 | test -z "$as_dir" && as_dir=. |
| 3565 | for ac_exec_ext in '' $ac_executable_extensions; do | 3177 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3566 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3178 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3567 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3179 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 3568 | ac_prog_rejected=yes | 3180 | ac_prog_rejected=yes |
| 3569 | continue | 3181 | continue |
| 3570 | fi | 3182 | fi |
| 3571 | ac_cv_prog_CC="cc" | 3183 | ac_cv_prog_CC="cc" |
| 3572 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3184 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3573 | break 2 | 3185 | break 2 |
| 3574 | fi | 3186 | fi |
| 3575 | done | 3187 | done |
| 3576 | done | 3188 | done |
| 3577 | IFS=$as_save_IFS | 3189 | IFS=$as_save_IFS |
| 3578 | 3190 | ||
| 3579 | if test $ac_prog_rejected = yes; then | 3191 | if test $ac_prog_rejected = yes; then |
| @@ -3592,10 +3204,10 @@ fi | |||
| 3592 | fi | 3204 | fi |
| 3593 | CC=$ac_cv_prog_CC | 3205 | CC=$ac_cv_prog_CC |
| 3594 | if test -n "$CC"; then | 3206 | if test -n "$CC"; then |
| 3595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3207 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3596 | $as_echo "$CC" >&6; } | 3208 | $as_echo "$CC" >&6; } |
| 3597 | else | 3209 | else |
| 3598 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3210 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3599 | $as_echo "no" >&6; } | 3211 | $as_echo "no" >&6; } |
| 3600 | fi | 3212 | fi |
| 3601 | 3213 | ||
| @@ -3607,9 +3219,9 @@ if test -z "$CC"; then | |||
| 3607 | do | 3219 | do |
| 3608 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3220 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3609 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3221 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3222 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3611 | $as_echo_n "checking for $ac_word... " >&6; } | 3223 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3612 | if test "${ac_cv_prog_CC+set}" = set; then : | 3224 | if test "${ac_cv_prog_CC+set}" = set; then |
| 3613 | $as_echo_n "(cached) " >&6 | 3225 | $as_echo_n "(cached) " >&6 |
| 3614 | else | 3226 | else |
| 3615 | if test -n "$CC"; then | 3227 | if test -n "$CC"; then |
| @@ -3620,24 +3232,24 @@ for as_dir in $PATH | |||
| 3620 | do | 3232 | do |
| 3621 | IFS=$as_save_IFS | 3233 | IFS=$as_save_IFS |
| 3622 | test -z "$as_dir" && as_dir=. | 3234 | test -z "$as_dir" && as_dir=. |
| 3623 | for ac_exec_ext in '' $ac_executable_extensions; do | 3235 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3624 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3236 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3625 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3237 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3626 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3238 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3627 | break 2 | 3239 | break 2 |
| 3628 | fi | 3240 | fi |
| 3629 | done | 3241 | done |
| 3630 | done | 3242 | done |
| 3631 | IFS=$as_save_IFS | 3243 | IFS=$as_save_IFS |
| 3632 | 3244 | ||
| 3633 | fi | 3245 | fi |
| 3634 | fi | 3246 | fi |
| 3635 | CC=$ac_cv_prog_CC | 3247 | CC=$ac_cv_prog_CC |
| 3636 | if test -n "$CC"; then | 3248 | if test -n "$CC"; then |
| 3637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3249 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| 3638 | $as_echo "$CC" >&6; } | 3250 | $as_echo "$CC" >&6; } |
| 3639 | else | 3251 | else |
| 3640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3252 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3641 | $as_echo "no" >&6; } | 3253 | $as_echo "no" >&6; } |
| 3642 | fi | 3254 | fi |
| 3643 | 3255 | ||
| @@ -3651,9 +3263,9 @@ if test -z "$CC"; then | |||
| 3651 | do | 3263 | do |
| 3652 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3264 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3653 | set dummy $ac_prog; ac_word=$2 | 3265 | set dummy $ac_prog; ac_word=$2 |
| 3654 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3266 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3655 | $as_echo_n "checking for $ac_word... " >&6; } | 3267 | $as_echo_n "checking for $ac_word... " >&6; } |
| 3656 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3268 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 3657 | $as_echo_n "(cached) " >&6 | 3269 | $as_echo_n "(cached) " >&6 |
| 3658 | else | 3270 | else |
| 3659 | if test -n "$ac_ct_CC"; then | 3271 | if test -n "$ac_ct_CC"; then |
| @@ -3664,24 +3276,24 @@ for as_dir in $PATH | |||
| 3664 | do | 3276 | do |
| 3665 | IFS=$as_save_IFS | 3277 | IFS=$as_save_IFS |
| 3666 | test -z "$as_dir" && as_dir=. | 3278 | test -z "$as_dir" && as_dir=. |
| 3667 | for ac_exec_ext in '' $ac_executable_extensions; do | 3279 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3668 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3280 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3669 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3281 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3670 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3282 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3671 | break 2 | 3283 | break 2 |
| 3672 | fi | 3284 | fi |
| 3673 | done | 3285 | done |
| 3674 | done | 3286 | done |
| 3675 | IFS=$as_save_IFS | 3287 | IFS=$as_save_IFS |
| 3676 | 3288 | ||
| 3677 | fi | 3289 | fi |
| 3678 | fi | 3290 | fi |
| 3679 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3291 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3680 | if test -n "$ac_ct_CC"; then | 3292 | if test -n "$ac_ct_CC"; then |
| 3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3293 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3682 | $as_echo "$ac_ct_CC" >&6; } | 3294 | $as_echo "$ac_ct_CC" >&6; } |
| 3683 | else | 3295 | else |
| 3684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3296 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 3685 | $as_echo "no" >&6; } | 3297 | $as_echo "no" >&6; } |
| 3686 | fi | 3298 | fi |
| 3687 | 3299 | ||
| @@ -3694,8 +3306,12 @@ done | |||
| 3694 | else | 3306 | else |
| 3695 | case $cross_compiling:$ac_tool_warned in | 3307 | case $cross_compiling:$ac_tool_warned in |
| 3696 | yes:) | 3308 | yes:) |
| 3697 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3309 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3698 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3310 | whose name does not start with the host triplet. If you think this |
| 3311 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3312 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3313 | whose name does not start with the host triplet. If you think this | ||
| 3314 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3699 | ac_tool_warned=yes ;; | 3315 | ac_tool_warned=yes ;; |
| 3700 | esac | 3316 | esac |
| 3701 | CC=$ac_ct_CC | 3317 | CC=$ac_ct_CC |
| @@ -3705,37 +3321,55 @@ fi | |||
| 3705 | fi | 3321 | fi |
| 3706 | 3322 | ||
| 3707 | 3323 | ||
| 3708 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3324 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 3709 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3325 | See \`config.log' for more details." >&5 |
| 3710 | as_fn_error "no acceptable C compiler found in \$PATH | 3326 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 3711 | See \`config.log' for more details." "$LINENO" 5; } | 3327 | See \`config.log' for more details." >&2;} |
| 3328 | { (exit 1); exit 1; }; } | ||
| 3712 | 3329 | ||
| 3713 | # Provide some information about the compiler. | 3330 | # Provide some information about the compiler. |
| 3714 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3331 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 3715 | set X $ac_compile | 3332 | set X $ac_compile |
| 3716 | ac_compiler=$2 | 3333 | ac_compiler=$2 |
| 3717 | for ac_option in --version -v -V -qversion; do | 3334 | { (ac_try="$ac_compiler --version >&5" |
| 3718 | { { ac_try="$ac_compiler $ac_option >&5" | ||
| 3719 | case "(($ac_try" in | 3335 | case "(($ac_try" in |
| 3720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3336 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3721 | *) ac_try_echo=$ac_try;; | 3337 | *) ac_try_echo=$ac_try;; |
| 3722 | esac | 3338 | esac |
| 3723 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3339 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3724 | $as_echo "$ac_try_echo"; } >&5 | 3340 | $as_echo "$ac_try_echo") >&5 |
| 3725 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3341 | (eval "$ac_compiler --version >&5") 2>&5 |
| 3726 | ac_status=$? | 3342 | ac_status=$? |
| 3727 | if test -s conftest.err; then | 3343 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3728 | sed '10a\ | 3344 | (exit $ac_status); } |
| 3729 | ... rest of stderr output deleted ... | 3345 | { (ac_try="$ac_compiler -v >&5" |
| 3730 | 10q' conftest.err >conftest.er1 | 3346 | case "(($ac_try" in |
| 3731 | cat conftest.er1 >&5 | 3347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3732 | fi | 3348 | *) ac_try_echo=$ac_try;; |
| 3733 | rm -f conftest.er1 conftest.err | 3349 | esac |
| 3734 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3350 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3735 | test $ac_status = 0; } | 3351 | $as_echo "$ac_try_echo") >&5 |
| 3736 | done | 3352 | (eval "$ac_compiler -v >&5") 2>&5 |
| 3353 | ac_status=$? | ||
| 3354 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3355 | (exit $ac_status); } | ||
| 3356 | { (ac_try="$ac_compiler -V >&5" | ||
| 3357 | case "(($ac_try" in | ||
| 3358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3359 | *) ac_try_echo=$ac_try;; | ||
| 3360 | esac | ||
| 3361 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3362 | $as_echo "$ac_try_echo") >&5 | ||
| 3363 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 3364 | ac_status=$? | ||
| 3365 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3366 | (exit $ac_status); } | ||
| 3737 | 3367 | ||
| 3738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3368 | cat >conftest.$ac_ext <<_ACEOF |
| 3369 | /* confdefs.h. */ | ||
| 3370 | _ACEOF | ||
| 3371 | cat confdefs.h >>conftest.$ac_ext | ||
| 3372 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3739 | /* end confdefs.h. */ | 3373 | /* end confdefs.h. */ |
| 3740 | 3374 | ||
| 3741 | int | 3375 | int |
| @@ -3751,8 +3385,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |||
| 3751 | # Try to create an executable without -o first, disregard a.out. | 3385 | # Try to create an executable without -o first, disregard a.out. |
| 3752 | # It will help us diagnose broken compilers, and finding out an intuition | 3386 | # It will help us diagnose broken compilers, and finding out an intuition |
| 3753 | # of exeext. | 3387 | # of exeext. |
| 3754 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3388 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 3755 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3389 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 3756 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3390 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3757 | 3391 | ||
| 3758 | # The possible output files: | 3392 | # The possible output files: |
| @@ -3768,17 +3402,17 @@ do | |||
| 3768 | done | 3402 | done |
| 3769 | rm -f $ac_rmfiles | 3403 | rm -f $ac_rmfiles |
| 3770 | 3404 | ||
| 3771 | if { { ac_try="$ac_link_default" | 3405 | if { (ac_try="$ac_link_default" |
| 3772 | case "(($ac_try" in | 3406 | case "(($ac_try" in |
| 3773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3774 | *) ac_try_echo=$ac_try;; | 3408 | *) ac_try_echo=$ac_try;; |
| 3775 | esac | 3409 | esac |
| 3776 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3410 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3777 | $as_echo "$ac_try_echo"; } >&5 | 3411 | $as_echo "$ac_try_echo") >&5 |
| 3778 | (eval "$ac_link_default") 2>&5 | 3412 | (eval "$ac_link_default") 2>&5 |
| 3779 | ac_status=$? | 3413 | ac_status=$? |
| 3780 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3414 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3781 | test $ac_status = 0; }; then : | 3415 | (exit $ac_status); }; then |
| 3782 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3416 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3783 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3417 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3784 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3418 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| @@ -3795,7 +3429,7 @@ do | |||
| 3795 | # certainly right. | 3429 | # certainly right. |
| 3796 | break;; | 3430 | break;; |
| 3797 | *.* ) | 3431 | *.* ) |
| 3798 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3432 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3799 | then :; else | 3433 | then :; else |
| 3800 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3434 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3801 | fi | 3435 | fi |
| @@ -3814,42 +3448,80 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
| 3814 | else | 3448 | else |
| 3815 | ac_file='' | 3449 | ac_file='' |
| 3816 | fi | 3450 | fi |
| 3817 | if test -z "$ac_file"; then : | 3451 | |
| 3818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3452 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 3819 | $as_echo "no" >&6; } | 3453 | $as_echo "$ac_file" >&6; } |
| 3820 | $as_echo "$as_me: failed program was:" >&5 | 3454 | if test -z "$ac_file"; then |
| 3455 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3821 | sed 's/^/| /' conftest.$ac_ext >&5 | 3456 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3822 | 3457 | ||
| 3823 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3458 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 3824 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3459 | See \`config.log' for more details." >&5 |
| 3825 | { as_fn_set_status 77 | 3460 | $as_echo "$as_me: error: C compiler cannot create executables |
| 3826 | as_fn_error "C compiler cannot create executables | 3461 | See \`config.log' for more details." >&2;} |
| 3827 | See \`config.log' for more details." "$LINENO" 5; }; } | 3462 | { (exit 77); exit 77; }; } |
| 3828 | else | ||
| 3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
| 3830 | $as_echo "yes" >&6; } | ||
| 3831 | fi | 3463 | fi |
| 3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3464 | |
| 3833 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
| 3834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
| 3835 | $as_echo "$ac_file" >&6; } | ||
| 3836 | ac_exeext=$ac_cv_exeext | 3465 | ac_exeext=$ac_cv_exeext |
| 3837 | 3466 | ||
| 3467 | # Check that the compiler produces executables we can run. If not, either | ||
| 3468 | # the compiler is broken, or we cross compile. | ||
| 3469 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
| 3470 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
| 3471 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
| 3472 | # If not cross compiling, check that we can run a simple program. | ||
| 3473 | if test "$cross_compiling" != yes; then | ||
| 3474 | if { ac_try='./$ac_file' | ||
| 3475 | { (case "(($ac_try" in | ||
| 3476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3477 | *) ac_try_echo=$ac_try;; | ||
| 3478 | esac | ||
| 3479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3480 | $as_echo "$ac_try_echo") >&5 | ||
| 3481 | (eval "$ac_try") 2>&5 | ||
| 3482 | ac_status=$? | ||
| 3483 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3484 | (exit $ac_status); }; }; then | ||
| 3485 | cross_compiling=no | ||
| 3486 | else | ||
| 3487 | if test "$cross_compiling" = maybe; then | ||
| 3488 | cross_compiling=yes | ||
| 3489 | else | ||
| 3490 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
| 3491 | If you meant to cross compile, use \`--host'. | ||
| 3492 | See \`config.log' for more details." >&5 | ||
| 3493 | $as_echo "$as_me: error: cannot run C compiled programs. | ||
| 3494 | If you meant to cross compile, use \`--host'. | ||
| 3495 | See \`config.log' for more details." >&2;} | ||
| 3496 | { (exit 1); exit 1; }; } | ||
| 3497 | fi | ||
| 3498 | fi | ||
| 3499 | fi | ||
| 3500 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 3501 | $as_echo "yes" >&6; } | ||
| 3502 | |||
| 3838 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3503 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 3839 | ac_clean_files=$ac_clean_files_save | 3504 | ac_clean_files=$ac_clean_files_save |
| 3840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3505 | # Check that the compiler produces executables we can run. If not, either |
| 3506 | # the compiler is broken, or we cross compile. | ||
| 3507 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
| 3508 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3509 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
| 3510 | $as_echo "$cross_compiling" >&6; } | ||
| 3511 | |||
| 3512 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
| 3841 | $as_echo_n "checking for suffix of executables... " >&6; } | 3513 | $as_echo_n "checking for suffix of executables... " >&6; } |
| 3842 | if { { ac_try="$ac_link" | 3514 | if { (ac_try="$ac_link" |
| 3843 | case "(($ac_try" in | 3515 | case "(($ac_try" in |
| 3844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3845 | *) ac_try_echo=$ac_try;; | 3517 | *) ac_try_echo=$ac_try;; |
| 3846 | esac | 3518 | esac |
| 3847 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3519 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3848 | $as_echo "$ac_try_echo"; } >&5 | 3520 | $as_echo "$ac_try_echo") >&5 |
| 3849 | (eval "$ac_link") 2>&5 | 3521 | (eval "$ac_link") 2>&5 |
| 3850 | ac_status=$? | 3522 | ac_status=$? |
| 3851 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3523 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3852 | test $ac_status = 0; }; then : | 3524 | (exit $ac_status); }; then |
| 3853 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3525 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 3854 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3526 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 3855 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3527 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| @@ -3864,83 +3536,30 @@ for ac_file in conftest.exe conftest conftest.*; do | |||
| 3864 | esac | 3536 | esac |
| 3865 | done | 3537 | done |
| 3866 | else | 3538 | else |
| 3867 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3539 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 3868 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3540 | See \`config.log' for more details." >&5 |
| 3869 | as_fn_error "cannot compute suffix of executables: cannot compile and link | 3541 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 3870 | See \`config.log' for more details." "$LINENO" 5; } | 3542 | See \`config.log' for more details." >&2;} |
| 3543 | { (exit 1); exit 1; }; } | ||
| 3871 | fi | 3544 | fi |
| 3872 | rm -f conftest conftest$ac_cv_exeext | 3545 | |
| 3873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3546 | rm -f conftest$ac_cv_exeext |
| 3547 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
| 3874 | $as_echo "$ac_cv_exeext" >&6; } | 3548 | $as_echo "$ac_cv_exeext" >&6; } |
| 3875 | 3549 | ||
| 3876 | rm -f conftest.$ac_ext | 3550 | rm -f conftest.$ac_ext |
| 3877 | EXEEXT=$ac_cv_exeext | 3551 | EXEEXT=$ac_cv_exeext |
| 3878 | ac_exeext=$EXEEXT | 3552 | ac_exeext=$EXEEXT |
| 3879 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3553 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3880 | /* end confdefs.h. */ | ||
| 3881 | #include <stdio.h> | ||
| 3882 | int | ||
| 3883 | main () | ||
| 3884 | { | ||
| 3885 | FILE *f = fopen ("conftest.out", "w"); | ||
| 3886 | return ferror (f) || fclose (f) != 0; | ||
| 3887 | |||
| 3888 | ; | ||
| 3889 | return 0; | ||
| 3890 | } | ||
| 3891 | _ACEOF | ||
| 3892 | ac_clean_files="$ac_clean_files conftest.out" | ||
| 3893 | # Check that the compiler produces executables we can run. If not, either | ||
| 3894 | # the compiler is broken, or we cross compile. | ||
| 3895 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
| 3896 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
| 3897 | if test "$cross_compiling" != yes; then | ||
| 3898 | { { ac_try="$ac_link" | ||
| 3899 | case "(($ac_try" in | ||
| 3900 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3901 | *) ac_try_echo=$ac_try;; | ||
| 3902 | esac | ||
| 3903 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3904 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3905 | (eval "$ac_link") 2>&5 | ||
| 3906 | ac_status=$? | ||
| 3907 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3908 | test $ac_status = 0; } | ||
| 3909 | if { ac_try='./conftest$ac_cv_exeext' | ||
| 3910 | { { case "(($ac_try" in | ||
| 3911 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3912 | *) ac_try_echo=$ac_try;; | ||
| 3913 | esac | ||
| 3914 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
| 3915 | $as_echo "$ac_try_echo"; } >&5 | ||
| 3916 | (eval "$ac_try") 2>&5 | ||
| 3917 | ac_status=$? | ||
| 3918 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
| 3919 | test $ac_status = 0; }; }; then | ||
| 3920 | cross_compiling=no | ||
| 3921 | else | ||
| 3922 | if test "$cross_compiling" = maybe; then | ||
| 3923 | cross_compiling=yes | ||
| 3924 | else | ||
| 3925 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
| 3926 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
| 3927 | as_fn_error "cannot run C compiled programs. | ||
| 3928 | If you meant to cross compile, use \`--host'. | ||
| 3929 | See \`config.log' for more details." "$LINENO" 5; } | ||
| 3930 | fi | ||
| 3931 | fi | ||
| 3932 | fi | ||
| 3933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
| 3934 | $as_echo "$cross_compiling" >&6; } | ||
| 3935 | |||
| 3936 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
| 3937 | ac_clean_files=$ac_clean_files_save | ||
| 3938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
| 3939 | $as_echo_n "checking for suffix of object files... " >&6; } | 3554 | $as_echo_n "checking for suffix of object files... " >&6; } |
| 3940 | if test "${ac_cv_objext+set}" = set; then : | 3555 | if test "${ac_cv_objext+set}" = set; then |
| 3941 | $as_echo_n "(cached) " >&6 | 3556 | $as_echo_n "(cached) " >&6 |
| 3942 | else | 3557 | else |
| 3943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3558 | cat >conftest.$ac_ext <<_ACEOF |
| 3559 | /* confdefs.h. */ | ||
| 3560 | _ACEOF | ||
| 3561 | cat confdefs.h >>conftest.$ac_ext | ||
| 3562 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3944 | /* end confdefs.h. */ | 3563 | /* end confdefs.h. */ |
| 3945 | 3564 | ||
| 3946 | int | 3565 | int |
| @@ -3952,17 +3571,17 @@ main () | |||
| 3952 | } | 3571 | } |
| 3953 | _ACEOF | 3572 | _ACEOF |
| 3954 | rm -f conftest.o conftest.obj | 3573 | rm -f conftest.o conftest.obj |
| 3955 | if { { ac_try="$ac_compile" | 3574 | if { (ac_try="$ac_compile" |
| 3956 | case "(($ac_try" in | 3575 | case "(($ac_try" in |
| 3957 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3958 | *) ac_try_echo=$ac_try;; | 3577 | *) ac_try_echo=$ac_try;; |
| 3959 | esac | 3578 | esac |
| 3960 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3579 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| 3961 | $as_echo "$ac_try_echo"; } >&5 | 3580 | $as_echo "$ac_try_echo") >&5 |
| 3962 | (eval "$ac_compile") 2>&5 | 3581 | (eval "$ac_compile") 2>&5 |
| 3963 | ac_status=$? | 3582 | ac_status=$? |
| 3964 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3583 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3965 | test $ac_status = 0; }; then : | 3584 | (exit $ac_status); }; then |
| 3966 | for ac_file in conftest.o conftest.obj conftest.*; do | 3585 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3967 | test -f "$ac_file" || continue; | 3586 | test -f "$ac_file" || continue; |
| 3968 | case $ac_file in | 3587 | case $ac_file in |
| @@ -3975,23 +3594,29 @@ else | |||
| 3975 | $as_echo "$as_me: failed program was:" >&5 | 3594 | $as_echo "$as_me: failed program was:" >&5 |
| 3976 | sed 's/^/| /' conftest.$ac_ext >&5 | 3595 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3977 | 3596 | ||
| 3978 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3597 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 3979 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3598 | See \`config.log' for more details." >&5 |
| 3980 | as_fn_error "cannot compute suffix of object files: cannot compile | 3599 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 3981 | See \`config.log' for more details." "$LINENO" 5; } | 3600 | See \`config.log' for more details." >&2;} |
| 3601 | { (exit 1); exit 1; }; } | ||
| 3982 | fi | 3602 | fi |
| 3603 | |||
| 3983 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3604 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3984 | fi | 3605 | fi |
| 3985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3606 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3986 | $as_echo "$ac_cv_objext" >&6; } | 3607 | $as_echo "$ac_cv_objext" >&6; } |
| 3987 | OBJEXT=$ac_cv_objext | 3608 | OBJEXT=$ac_cv_objext |
| 3988 | ac_objext=$OBJEXT | 3609 | ac_objext=$OBJEXT |
| 3989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3610 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3990 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3611 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 3991 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 3612 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3992 | $as_echo_n "(cached) " >&6 | 3613 | $as_echo_n "(cached) " >&6 |
| 3993 | else | 3614 | else |
| 3994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3615 | cat >conftest.$ac_ext <<_ACEOF |
| 3616 | /* confdefs.h. */ | ||
| 3617 | _ACEOF | ||
| 3618 | cat confdefs.h >>conftest.$ac_ext | ||
| 3619 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3995 | /* end confdefs.h. */ | 3620 | /* end confdefs.h. */ |
| 3996 | 3621 | ||
| 3997 | int | 3622 | int |
| @@ -4005,16 +3630,37 @@ main () | |||
| 4005 | return 0; | 3630 | return 0; |
| 4006 | } | 3631 | } |
| 4007 | _ACEOF | 3632 | _ACEOF |
| 4008 | if ac_fn_c_try_compile "$LINENO"; then : | 3633 | rm -f conftest.$ac_objext |
| 3634 | if { (ac_try="$ac_compile" | ||
| 3635 | case "(($ac_try" in | ||
| 3636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3637 | *) ac_try_echo=$ac_try;; | ||
| 3638 | esac | ||
| 3639 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3640 | $as_echo "$ac_try_echo") >&5 | ||
| 3641 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3642 | ac_status=$? | ||
| 3643 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3644 | rm -f conftest.er1 | ||
| 3645 | cat conftest.err >&5 | ||
| 3646 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3647 | (exit $ac_status); } && { | ||
| 3648 | test -z "$ac_c_werror_flag" || | ||
| 3649 | test ! -s conftest.err | ||
| 3650 | } && test -s conftest.$ac_objext; then | ||
| 4009 | ac_compiler_gnu=yes | 3651 | ac_compiler_gnu=yes |
| 4010 | else | 3652 | else |
| 4011 | ac_compiler_gnu=no | 3653 | $as_echo "$as_me: failed program was:" >&5 |
| 3654 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3655 | |||
| 3656 | ac_compiler_gnu=no | ||
| 4012 | fi | 3657 | fi |
| 3658 | |||
| 4013 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3659 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4014 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3660 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4015 | 3661 | ||
| 4016 | fi | 3662 | fi |
| 4017 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3663 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 4018 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3664 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4019 | if test $ac_compiler_gnu = yes; then | 3665 | if test $ac_compiler_gnu = yes; then |
| 4020 | GCC=yes | 3666 | GCC=yes |
| @@ -4023,16 +3669,20 @@ else | |||
| 4023 | fi | 3669 | fi |
| 4024 | ac_test_CFLAGS=${CFLAGS+set} | 3670 | ac_test_CFLAGS=${CFLAGS+set} |
| 4025 | ac_save_CFLAGS=$CFLAGS | 3671 | ac_save_CFLAGS=$CFLAGS |
| 4026 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3672 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 4027 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3673 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4028 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 3674 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 4029 | $as_echo_n "(cached) " >&6 | 3675 | $as_echo_n "(cached) " >&6 |
| 4030 | else | 3676 | else |
| 4031 | ac_save_c_werror_flag=$ac_c_werror_flag | 3677 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 4032 | ac_c_werror_flag=yes | 3678 | ac_c_werror_flag=yes |
| 4033 | ac_cv_prog_cc_g=no | 3679 | ac_cv_prog_cc_g=no |
| 4034 | CFLAGS="-g" | 3680 | CFLAGS="-g" |
| 4035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3681 | cat >conftest.$ac_ext <<_ACEOF |
| 3682 | /* confdefs.h. */ | ||
| 3683 | _ACEOF | ||
| 3684 | cat confdefs.h >>conftest.$ac_ext | ||
| 3685 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4036 | /* end confdefs.h. */ | 3686 | /* end confdefs.h. */ |
| 4037 | 3687 | ||
| 4038 | int | 3688 | int |
| @@ -4043,11 +3693,35 @@ main () | |||
| 4043 | return 0; | 3693 | return 0; |
| 4044 | } | 3694 | } |
| 4045 | _ACEOF | 3695 | _ACEOF |
| 4046 | if ac_fn_c_try_compile "$LINENO"; then : | 3696 | rm -f conftest.$ac_objext |
| 3697 | if { (ac_try="$ac_compile" | ||
| 3698 | case "(($ac_try" in | ||
| 3699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3700 | *) ac_try_echo=$ac_try;; | ||
| 3701 | esac | ||
| 3702 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3703 | $as_echo "$ac_try_echo") >&5 | ||
| 3704 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3705 | ac_status=$? | ||
| 3706 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3707 | rm -f conftest.er1 | ||
| 3708 | cat conftest.err >&5 | ||
| 3709 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3710 | (exit $ac_status); } && { | ||
| 3711 | test -z "$ac_c_werror_flag" || | ||
| 3712 | test ! -s conftest.err | ||
| 3713 | } && test -s conftest.$ac_objext; then | ||
| 4047 | ac_cv_prog_cc_g=yes | 3714 | ac_cv_prog_cc_g=yes |
| 4048 | else | 3715 | else |
| 4049 | CFLAGS="" | 3716 | $as_echo "$as_me: failed program was:" >&5 |
| 4050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3717 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3718 | |||
| 3719 | CFLAGS="" | ||
| 3720 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3721 | /* confdefs.h. */ | ||
| 3722 | _ACEOF | ||
| 3723 | cat confdefs.h >>conftest.$ac_ext | ||
| 3724 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4051 | /* end confdefs.h. */ | 3725 | /* end confdefs.h. */ |
| 4052 | 3726 | ||
| 4053 | int | 3727 | int |
| @@ -4058,12 +3732,36 @@ main () | |||
| 4058 | return 0; | 3732 | return 0; |
| 4059 | } | 3733 | } |
| 4060 | _ACEOF | 3734 | _ACEOF |
| 4061 | if ac_fn_c_try_compile "$LINENO"; then : | 3735 | rm -f conftest.$ac_objext |
| 4062 | 3736 | if { (ac_try="$ac_compile" | |
| 3737 | case "(($ac_try" in | ||
| 3738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3739 | *) ac_try_echo=$ac_try;; | ||
| 3740 | esac | ||
| 3741 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3742 | $as_echo "$ac_try_echo") >&5 | ||
| 3743 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3744 | ac_status=$? | ||
| 3745 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3746 | rm -f conftest.er1 | ||
| 3747 | cat conftest.err >&5 | ||
| 3748 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3749 | (exit $ac_status); } && { | ||
| 3750 | test -z "$ac_c_werror_flag" || | ||
| 3751 | test ! -s conftest.err | ||
| 3752 | } && test -s conftest.$ac_objext; then | ||
| 3753 | : | ||
| 4063 | else | 3754 | else |
| 4064 | ac_c_werror_flag=$ac_save_c_werror_flag | 3755 | $as_echo "$as_me: failed program was:" >&5 |
| 3756 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3757 | |||
| 3758 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 4065 | CFLAGS="-g" | 3759 | CFLAGS="-g" |
| 4066 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3760 | cat >conftest.$ac_ext <<_ACEOF |
| 3761 | /* confdefs.h. */ | ||
| 3762 | _ACEOF | ||
| 3763 | cat confdefs.h >>conftest.$ac_ext | ||
| 3764 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4067 | /* end confdefs.h. */ | 3765 | /* end confdefs.h. */ |
| 4068 | 3766 | ||
| 4069 | int | 3767 | int |
| @@ -4074,17 +3772,42 @@ main () | |||
| 4074 | return 0; | 3772 | return 0; |
| 4075 | } | 3773 | } |
| 4076 | _ACEOF | 3774 | _ACEOF |
| 4077 | if ac_fn_c_try_compile "$LINENO"; then : | 3775 | rm -f conftest.$ac_objext |
| 3776 | if { (ac_try="$ac_compile" | ||
| 3777 | case "(($ac_try" in | ||
| 3778 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3779 | *) ac_try_echo=$ac_try;; | ||
| 3780 | esac | ||
| 3781 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3782 | $as_echo "$ac_try_echo") >&5 | ||
| 3783 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3784 | ac_status=$? | ||
| 3785 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3786 | rm -f conftest.er1 | ||
| 3787 | cat conftest.err >&5 | ||
| 3788 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3789 | (exit $ac_status); } && { | ||
| 3790 | test -z "$ac_c_werror_flag" || | ||
| 3791 | test ! -s conftest.err | ||
| 3792 | } && test -s conftest.$ac_objext; then | ||
| 4078 | ac_cv_prog_cc_g=yes | 3793 | ac_cv_prog_cc_g=yes |
| 3794 | else | ||
| 3795 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3796 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3797 | |||
| 3798 | |||
| 4079 | fi | 3799 | fi |
| 3800 | |||
| 4080 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3801 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4081 | fi | 3802 | fi |
| 3803 | |||
| 4082 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3804 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4083 | fi | 3805 | fi |
| 3806 | |||
| 4084 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3807 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4085 | ac_c_werror_flag=$ac_save_c_werror_flag | 3808 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4086 | fi | 3809 | fi |
| 4087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3810 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 4088 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 3811 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 4089 | if test "$ac_test_CFLAGS" = set; then | 3812 | if test "$ac_test_CFLAGS" = set; then |
| 4090 | CFLAGS=$ac_save_CFLAGS | 3813 | CFLAGS=$ac_save_CFLAGS |
| @@ -4101,14 +3824,18 @@ else | |||
| 4101 | CFLAGS= | 3824 | CFLAGS= |
| 4102 | fi | 3825 | fi |
| 4103 | fi | 3826 | fi |
| 4104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3827 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 4105 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3828 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 4106 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 3829 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 4107 | $as_echo_n "(cached) " >&6 | 3830 | $as_echo_n "(cached) " >&6 |
| 4108 | else | 3831 | else |
| 4109 | ac_cv_prog_cc_c89=no | 3832 | ac_cv_prog_cc_c89=no |
| 4110 | ac_save_CC=$CC | 3833 | ac_save_CC=$CC |
| 4111 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3834 | cat >conftest.$ac_ext <<_ACEOF |
| 3835 | /* confdefs.h. */ | ||
| 3836 | _ACEOF | ||
| 3837 | cat confdefs.h >>conftest.$ac_ext | ||
| 3838 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4112 | /* end confdefs.h. */ | 3839 | /* end confdefs.h. */ |
| 4113 | #include <stdarg.h> | 3840 | #include <stdarg.h> |
| 4114 | #include <stdio.h> | 3841 | #include <stdio.h> |
| @@ -4165,9 +3892,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
| 4165 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3892 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4166 | do | 3893 | do |
| 4167 | CC="$ac_save_CC $ac_arg" | 3894 | CC="$ac_save_CC $ac_arg" |
| 4168 | if ac_fn_c_try_compile "$LINENO"; then : | 3895 | rm -f conftest.$ac_objext |
| 3896 | if { (ac_try="$ac_compile" | ||
| 3897 | case "(($ac_try" in | ||
| 3898 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3899 | *) ac_try_echo=$ac_try;; | ||
| 3900 | esac | ||
| 3901 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3902 | $as_echo "$ac_try_echo") >&5 | ||
| 3903 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3904 | ac_status=$? | ||
| 3905 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3906 | rm -f conftest.er1 | ||
| 3907 | cat conftest.err >&5 | ||
| 3908 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3909 | (exit $ac_status); } && { | ||
| 3910 | test -z "$ac_c_werror_flag" || | ||
| 3911 | test ! -s conftest.err | ||
| 3912 | } && test -s conftest.$ac_objext; then | ||
| 4169 | ac_cv_prog_cc_c89=$ac_arg | 3913 | ac_cv_prog_cc_c89=$ac_arg |
| 3914 | else | ||
| 3915 | $as_echo "$as_me: failed program was:" >&5 | ||
| 3916 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3917 | |||
| 3918 | |||
| 4170 | fi | 3919 | fi |
| 3920 | |||
| 4171 | rm -f core conftest.err conftest.$ac_objext | 3921 | rm -f core conftest.err conftest.$ac_objext |
| 4172 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 3922 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4173 | done | 3923 | done |
| @@ -4178,19 +3928,17 @@ fi | |||
| 4178 | # AC_CACHE_VAL | 3928 | # AC_CACHE_VAL |
| 4179 | case "x$ac_cv_prog_cc_c89" in | 3929 | case "x$ac_cv_prog_cc_c89" in |
| 4180 | x) | 3930 | x) |
| 4181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3931 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| 4182 | $as_echo "none needed" >&6; } ;; | 3932 | $as_echo "none needed" >&6; } ;; |
| 4183 | xno) | 3933 | xno) |
| 4184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3934 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| 4185 | $as_echo "unsupported" >&6; } ;; | 3935 | $as_echo "unsupported" >&6; } ;; |
| 4186 | *) | 3936 | *) |
| 4187 | CC="$CC $ac_cv_prog_cc_c89" | 3937 | CC="$CC $ac_cv_prog_cc_c89" |
| 4188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3938 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 4189 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3939 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4190 | esac | 3940 | esac |
| 4191 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
| 4192 | 3941 | ||
| 4193 | fi | ||
| 4194 | 3942 | ||
| 4195 | ac_ext=c | 3943 | ac_ext=c |
| 4196 | ac_cpp='$CPP $CPPFLAGS' | 3944 | ac_cpp='$CPP $CPPFLAGS' |
| @@ -4208,13 +3956,17 @@ fi | |||
| 4208 | ## using a Sun compiler, which needs -Xs to prevent whitespace. | 3956 | ## using a Sun compiler, which needs -Xs to prevent whitespace. |
| 4209 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ | 3957 | if test x"$GCC" != xyes && test x"$emacs_check_sunpro_c" = xyes && \ |
| 4210 | test x"$CPP" = x; then | 3958 | test x"$CPP" = x; then |
| 4211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using a Sun C compiler" >&5 | 3959 | { $as_echo "$as_me:$LINENO: checking whether we are using a Sun C compiler" >&5 |
| 4212 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } | 3960 | $as_echo_n "checking whether we are using a Sun C compiler... " >&6; } |
| 4213 | 3961 | ||
| 4214 | if test "${emacs_cv_sunpro_c+set}" = set; then : | 3962 | if test "${emacs_cv_sunpro_c+set}" = set; then |
| 4215 | $as_echo_n "(cached) " >&6 | 3963 | $as_echo_n "(cached) " >&6 |
| 4216 | else | 3964 | else |
| 4217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3965 | cat >conftest.$ac_ext <<_ACEOF |
| 3966 | /* confdefs.h. */ | ||
| 3967 | _ACEOF | ||
| 3968 | cat confdefs.h >>conftest.$ac_ext | ||
| 3969 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4218 | /* end confdefs.h. */ | 3970 | /* end confdefs.h. */ |
| 4219 | 3971 | ||
| 4220 | int | 3972 | int |
| @@ -4228,16 +3980,41 @@ fail; | |||
| 4228 | return 0; | 3980 | return 0; |
| 4229 | } | 3981 | } |
| 4230 | _ACEOF | 3982 | _ACEOF |
| 4231 | if ac_fn_c_try_link "$LINENO"; then : | 3983 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 3984 | if { (ac_try="$ac_link" | ||
| 3985 | case "(($ac_try" in | ||
| 3986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3987 | *) ac_try_echo=$ac_try;; | ||
| 3988 | esac | ||
| 3989 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 3990 | $as_echo "$ac_try_echo") >&5 | ||
| 3991 | (eval "$ac_link") 2>conftest.er1 | ||
| 3992 | ac_status=$? | ||
| 3993 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3994 | rm -f conftest.er1 | ||
| 3995 | cat conftest.err >&5 | ||
| 3996 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3997 | (exit $ac_status); } && { | ||
| 3998 | test -z "$ac_c_werror_flag" || | ||
| 3999 | test ! -s conftest.err | ||
| 4000 | } && test -s conftest$ac_exeext && { | ||
| 4001 | test "$cross_compiling" = yes || | ||
| 4002 | $as_test_x conftest$ac_exeext | ||
| 4003 | }; then | ||
| 4232 | emacs_cv_sunpro_c=yes | 4004 | emacs_cv_sunpro_c=yes |
| 4233 | else | 4005 | else |
| 4234 | emacs_cv_sunpro_c=no | 4006 | $as_echo "$as_me: failed program was:" >&5 |
| 4007 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4008 | |||
| 4009 | emacs_cv_sunpro_c=no | ||
| 4235 | fi | 4010 | fi |
| 4236 | rm -f core conftest.err conftest.$ac_objext \ | 4011 | |
| 4237 | conftest$ac_exeext conftest.$ac_ext | 4012 | rm -rf conftest.dSYM |
| 4013 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 4014 | conftest$ac_exeext conftest.$ac_ext | ||
| 4238 | fi | 4015 | fi |
| 4239 | 4016 | ||
| 4240 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_sunpro_c" >&5 | 4017 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_sunpro_c" >&5 |
| 4241 | $as_echo "$emacs_cv_sunpro_c" >&6; } | 4018 | $as_echo "$emacs_cv_sunpro_c" >&6; } |
| 4242 | 4019 | ||
| 4243 | if test x"$emacs_cv_sunpro_c" = xyes; then | 4020 | if test x"$emacs_cv_sunpro_c" = xyes; then |
| @@ -4277,14 +4054,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4277 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4054 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4278 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4055 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4279 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4056 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 4057 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4281 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 4058 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4282 | # On Suns, sometimes $CPP names a directory. | 4059 | # On Suns, sometimes $CPP names a directory. |
| 4283 | if test -n "$CPP" && test -d "$CPP"; then | 4060 | if test -n "$CPP" && test -d "$CPP"; then |
| 4284 | CPP= | 4061 | CPP= |
| 4285 | fi | 4062 | fi |
| 4286 | if test -z "$CPP"; then | 4063 | if test -z "$CPP"; then |
| 4287 | if test "${ac_cv_prog_CPP+set}" = set; then : | 4064 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4288 | $as_echo_n "(cached) " >&6 | 4065 | $as_echo_n "(cached) " >&6 |
| 4289 | else | 4066 | else |
| 4290 | # Double quotes because CPP needs to be expanded | 4067 | # Double quotes because CPP needs to be expanded |
| @@ -4299,7 +4076,11 @@ do | |||
| 4299 | # <limits.h> exists even on freestanding compilers. | 4076 | # <limits.h> exists even on freestanding compilers. |
| 4300 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4077 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4301 | # not just through cpp. "Syntax error" is here to catch this case. | 4078 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4302 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4079 | cat >conftest.$ac_ext <<_ACEOF |
| 4080 | /* confdefs.h. */ | ||
| 4081 | _ACEOF | ||
| 4082 | cat confdefs.h >>conftest.$ac_ext | ||
| 4083 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4303 | /* end confdefs.h. */ | 4084 | /* end confdefs.h. */ |
| 4304 | #ifdef __STDC__ | 4085 | #ifdef __STDC__ |
| 4305 | # include <limits.h> | 4086 | # include <limits.h> |
| @@ -4308,34 +4089,78 @@ do | |||
| 4308 | #endif | 4089 | #endif |
| 4309 | Syntax error | 4090 | Syntax error |
| 4310 | _ACEOF | 4091 | _ACEOF |
| 4311 | if ac_fn_c_try_cpp "$LINENO"; then : | 4092 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4312 | 4093 | case "(($ac_try" in | |
| 4094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4095 | *) ac_try_echo=$ac_try;; | ||
| 4096 | esac | ||
| 4097 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4098 | $as_echo "$ac_try_echo") >&5 | ||
| 4099 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4100 | ac_status=$? | ||
| 4101 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4102 | rm -f conftest.er1 | ||
| 4103 | cat conftest.err >&5 | ||
| 4104 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4105 | (exit $ac_status); } >/dev/null && { | ||
| 4106 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4107 | test ! -s conftest.err | ||
| 4108 | }; then | ||
| 4109 | : | ||
| 4313 | else | 4110 | else |
| 4111 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4112 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4113 | |||
| 4314 | # Broken: fails on valid input. | 4114 | # Broken: fails on valid input. |
| 4315 | continue | 4115 | continue |
| 4316 | fi | 4116 | fi |
| 4117 | |||
| 4317 | rm -f conftest.err conftest.$ac_ext | 4118 | rm -f conftest.err conftest.$ac_ext |
| 4318 | 4119 | ||
| 4319 | # OK, works on sane cases. Now check whether nonexistent headers | 4120 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4320 | # can be detected and how. | 4121 | # can be detected and how. |
| 4321 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4122 | cat >conftest.$ac_ext <<_ACEOF |
| 4123 | /* confdefs.h. */ | ||
| 4124 | _ACEOF | ||
| 4125 | cat confdefs.h >>conftest.$ac_ext | ||
| 4126 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4322 | /* end confdefs.h. */ | 4127 | /* end confdefs.h. */ |
| 4323 | #include <ac_nonexistent.h> | 4128 | #include <ac_nonexistent.h> |
| 4324 | _ACEOF | 4129 | _ACEOF |
| 4325 | if ac_fn_c_try_cpp "$LINENO"; then : | 4130 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4131 | case "(($ac_try" in | ||
| 4132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4133 | *) ac_try_echo=$ac_try;; | ||
| 4134 | esac | ||
| 4135 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4136 | $as_echo "$ac_try_echo") >&5 | ||
| 4137 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4138 | ac_status=$? | ||
| 4139 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4140 | rm -f conftest.er1 | ||
| 4141 | cat conftest.err >&5 | ||
| 4142 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4143 | (exit $ac_status); } >/dev/null && { | ||
| 4144 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4145 | test ! -s conftest.err | ||
| 4146 | }; then | ||
| 4326 | # Broken: success on invalid input. | 4147 | # Broken: success on invalid input. |
| 4327 | continue | 4148 | continue |
| 4328 | else | 4149 | else |
| 4150 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4151 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4152 | |||
| 4329 | # Passes both tests. | 4153 | # Passes both tests. |
| 4330 | ac_preproc_ok=: | 4154 | ac_preproc_ok=: |
| 4331 | break | 4155 | break |
| 4332 | fi | 4156 | fi |
| 4157 | |||
| 4333 | rm -f conftest.err conftest.$ac_ext | 4158 | rm -f conftest.err conftest.$ac_ext |
| 4334 | 4159 | ||
| 4335 | done | 4160 | done |
| 4336 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4161 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4337 | rm -f conftest.err conftest.$ac_ext | 4162 | rm -f conftest.err conftest.$ac_ext |
| 4338 | if $ac_preproc_ok; then : | 4163 | if $ac_preproc_ok; then |
| 4339 | break | 4164 | break |
| 4340 | fi | 4165 | fi |
| 4341 | 4166 | ||
| @@ -4347,7 +4172,7 @@ fi | |||
| 4347 | else | 4172 | else |
| 4348 | ac_cv_prog_CPP=$CPP | 4173 | ac_cv_prog_CPP=$CPP |
| 4349 | fi | 4174 | fi |
| 4350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 4175 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4351 | $as_echo "$CPP" >&6; } | 4176 | $as_echo "$CPP" >&6; } |
| 4352 | ac_preproc_ok=false | 4177 | ac_preproc_ok=false |
| 4353 | for ac_c_preproc_warn_flag in '' yes | 4178 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4358,7 +4183,11 @@ do | |||
| 4358 | # <limits.h> exists even on freestanding compilers. | 4183 | # <limits.h> exists even on freestanding compilers. |
| 4359 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4184 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4360 | # not just through cpp. "Syntax error" is here to catch this case. | 4185 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4186 | cat >conftest.$ac_ext <<_ACEOF |
| 4187 | /* confdefs.h. */ | ||
| 4188 | _ACEOF | ||
| 4189 | cat confdefs.h >>conftest.$ac_ext | ||
| 4190 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4362 | /* end confdefs.h. */ | 4191 | /* end confdefs.h. */ |
| 4363 | #ifdef __STDC__ | 4192 | #ifdef __STDC__ |
| 4364 | # include <limits.h> | 4193 | # include <limits.h> |
| @@ -4367,40 +4196,85 @@ do | |||
| 4367 | #endif | 4196 | #endif |
| 4368 | Syntax error | 4197 | Syntax error |
| 4369 | _ACEOF | 4198 | _ACEOF |
| 4370 | if ac_fn_c_try_cpp "$LINENO"; then : | 4199 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4371 | 4200 | case "(($ac_try" in | |
| 4201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4202 | *) ac_try_echo=$ac_try;; | ||
| 4203 | esac | ||
| 4204 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4205 | $as_echo "$ac_try_echo") >&5 | ||
| 4206 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4207 | ac_status=$? | ||
| 4208 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4209 | rm -f conftest.er1 | ||
| 4210 | cat conftest.err >&5 | ||
| 4211 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4212 | (exit $ac_status); } >/dev/null && { | ||
| 4213 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4214 | test ! -s conftest.err | ||
| 4215 | }; then | ||
| 4216 | : | ||
| 4372 | else | 4217 | else |
| 4218 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4219 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4220 | |||
| 4373 | # Broken: fails on valid input. | 4221 | # Broken: fails on valid input. |
| 4374 | continue | 4222 | continue |
| 4375 | fi | 4223 | fi |
| 4224 | |||
| 4376 | rm -f conftest.err conftest.$ac_ext | 4225 | rm -f conftest.err conftest.$ac_ext |
| 4377 | 4226 | ||
| 4378 | # OK, works on sane cases. Now check whether nonexistent headers | 4227 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4379 | # can be detected and how. | 4228 | # can be detected and how. |
| 4380 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4229 | cat >conftest.$ac_ext <<_ACEOF |
| 4230 | /* confdefs.h. */ | ||
| 4231 | _ACEOF | ||
| 4232 | cat confdefs.h >>conftest.$ac_ext | ||
| 4233 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4381 | /* end confdefs.h. */ | 4234 | /* end confdefs.h. */ |
| 4382 | #include <ac_nonexistent.h> | 4235 | #include <ac_nonexistent.h> |
| 4383 | _ACEOF | 4236 | _ACEOF |
| 4384 | if ac_fn_c_try_cpp "$LINENO"; then : | 4237 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4238 | case "(($ac_try" in | ||
| 4239 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4240 | *) ac_try_echo=$ac_try;; | ||
| 4241 | esac | ||
| 4242 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4243 | $as_echo "$ac_try_echo") >&5 | ||
| 4244 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4245 | ac_status=$? | ||
| 4246 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4247 | rm -f conftest.er1 | ||
| 4248 | cat conftest.err >&5 | ||
| 4249 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4250 | (exit $ac_status); } >/dev/null && { | ||
| 4251 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4252 | test ! -s conftest.err | ||
| 4253 | }; then | ||
| 4385 | # Broken: success on invalid input. | 4254 | # Broken: success on invalid input. |
| 4386 | continue | 4255 | continue |
| 4387 | else | 4256 | else |
| 4257 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4258 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4259 | |||
| 4388 | # Passes both tests. | 4260 | # Passes both tests. |
| 4389 | ac_preproc_ok=: | 4261 | ac_preproc_ok=: |
| 4390 | break | 4262 | break |
| 4391 | fi | 4263 | fi |
| 4264 | |||
| 4392 | rm -f conftest.err conftest.$ac_ext | 4265 | rm -f conftest.err conftest.$ac_ext |
| 4393 | 4266 | ||
| 4394 | done | 4267 | done |
| 4395 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4268 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4396 | rm -f conftest.err conftest.$ac_ext | 4269 | rm -f conftest.err conftest.$ac_ext |
| 4397 | if $ac_preproc_ok; then : | 4270 | if $ac_preproc_ok; then |
| 4398 | 4271 | : | |
| 4399 | else | 4272 | else |
| 4400 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4273 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4401 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4274 | See \`config.log' for more details." >&5 |
| 4402 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 4275 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4403 | See \`config.log' for more details." "$LINENO" 5; } | 4276 | See \`config.log' for more details." >&2;} |
| 4277 | { (exit 1); exit 1; }; } | ||
| 4404 | fi | 4278 | fi |
| 4405 | 4279 | ||
| 4406 | ac_ext=c | 4280 | ac_ext=c |
| @@ -4410,9 +4284,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
| 4410 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4284 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4411 | 4285 | ||
| 4412 | 4286 | ||
| 4413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4287 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 4414 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 4288 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 4415 | if test "${ac_cv_path_GREP+set}" = set; then : | 4289 | if test "${ac_cv_path_GREP+set}" = set; then |
| 4416 | $as_echo_n "(cached) " >&6 | 4290 | $as_echo_n "(cached) " >&6 |
| 4417 | else | 4291 | else |
| 4418 | if test -z "$GREP"; then | 4292 | if test -z "$GREP"; then |
| @@ -4423,7 +4297,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4423 | do | 4297 | do |
| 4424 | IFS=$as_save_IFS | 4298 | IFS=$as_save_IFS |
| 4425 | test -z "$as_dir" && as_dir=. | 4299 | test -z "$as_dir" && as_dir=. |
| 4426 | for ac_prog in grep ggrep; do | 4300 | for ac_prog in grep ggrep; do |
| 4427 | for ac_exec_ext in '' $ac_executable_extensions; do | 4301 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4428 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4302 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4429 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4303 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| @@ -4443,7 +4317,7 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
| 4443 | $as_echo 'GREP' >> "conftest.nl" | 4317 | $as_echo 'GREP' >> "conftest.nl" |
| 4444 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4318 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4445 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4319 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4446 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4320 | ac_count=`expr $ac_count + 1` |
| 4447 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4321 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 4448 | # Best one so far, save it but keep looking for a better one | 4322 | # Best one so far, save it but keep looking for a better one |
| 4449 | ac_cv_path_GREP="$ac_path_GREP" | 4323 | ac_cv_path_GREP="$ac_path_GREP" |
| @@ -4458,24 +4332,26 @@ esac | |||
| 4458 | $ac_path_GREP_found && break 3 | 4332 | $ac_path_GREP_found && break 3 |
| 4459 | done | 4333 | done |
| 4460 | done | 4334 | done |
| 4461 | done | 4335 | done |
| 4462 | IFS=$as_save_IFS | 4336 | IFS=$as_save_IFS |
| 4463 | if test -z "$ac_cv_path_GREP"; then | 4337 | if test -z "$ac_cv_path_GREP"; then |
| 4464 | as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4338 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4339 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4340 | { (exit 1); exit 1; }; } | ||
| 4465 | fi | 4341 | fi |
| 4466 | else | 4342 | else |
| 4467 | ac_cv_path_GREP=$GREP | 4343 | ac_cv_path_GREP=$GREP |
| 4468 | fi | 4344 | fi |
| 4469 | 4345 | ||
| 4470 | fi | 4346 | fi |
| 4471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4347 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 4472 | $as_echo "$ac_cv_path_GREP" >&6; } | 4348 | $as_echo "$ac_cv_path_GREP" >&6; } |
| 4473 | GREP="$ac_cv_path_GREP" | 4349 | GREP="$ac_cv_path_GREP" |
| 4474 | 4350 | ||
| 4475 | 4351 | ||
| 4476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4352 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4477 | $as_echo_n "checking for egrep... " >&6; } | 4353 | $as_echo_n "checking for egrep... " >&6; } |
| 4478 | if test "${ac_cv_path_EGREP+set}" = set; then : | 4354 | if test "${ac_cv_path_EGREP+set}" = set; then |
| 4479 | $as_echo_n "(cached) " >&6 | 4355 | $as_echo_n "(cached) " >&6 |
| 4480 | else | 4356 | else |
| 4481 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4357 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| @@ -4489,7 +4365,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |||
| 4489 | do | 4365 | do |
| 4490 | IFS=$as_save_IFS | 4366 | IFS=$as_save_IFS |
| 4491 | test -z "$as_dir" && as_dir=. | 4367 | test -z "$as_dir" && as_dir=. |
| 4492 | for ac_prog in egrep; do | 4368 | for ac_prog in egrep; do |
| 4493 | for ac_exec_ext in '' $ac_executable_extensions; do | 4369 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4494 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4370 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 4495 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4371 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| @@ -4509,7 +4385,7 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
| 4509 | $as_echo 'EGREP' >> "conftest.nl" | 4385 | $as_echo 'EGREP' >> "conftest.nl" |
| 4510 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4386 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 4511 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4387 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 4512 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4388 | ac_count=`expr $ac_count + 1` |
| 4513 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4389 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 4514 | # Best one so far, save it but keep looking for a better one | 4390 | # Best one so far, save it but keep looking for a better one |
| 4515 | ac_cv_path_EGREP="$ac_path_EGREP" | 4391 | ac_cv_path_EGREP="$ac_path_EGREP" |
| @@ -4524,10 +4400,12 @@ esac | |||
| 4524 | $ac_path_EGREP_found && break 3 | 4400 | $ac_path_EGREP_found && break 3 |
| 4525 | done | 4401 | done |
| 4526 | done | 4402 | done |
| 4527 | done | 4403 | done |
| 4528 | IFS=$as_save_IFS | 4404 | IFS=$as_save_IFS |
| 4529 | if test -z "$ac_cv_path_EGREP"; then | 4405 | if test -z "$ac_cv_path_EGREP"; then |
| 4530 | as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4406 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 4407 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4408 | { (exit 1); exit 1; }; } | ||
| 4531 | fi | 4409 | fi |
| 4532 | else | 4410 | else |
| 4533 | ac_cv_path_EGREP=$EGREP | 4411 | ac_cv_path_EGREP=$EGREP |
| @@ -4535,17 +4413,21 @@ fi | |||
| 4535 | 4413 | ||
| 4536 | fi | 4414 | fi |
| 4537 | fi | 4415 | fi |
| 4538 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4416 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 4539 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4417 | $as_echo "$ac_cv_path_EGREP" >&6; } |
| 4540 | EGREP="$ac_cv_path_EGREP" | 4418 | EGREP="$ac_cv_path_EGREP" |
| 4541 | 4419 | ||
| 4542 | 4420 | ||
| 4543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4421 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 4544 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4422 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 4545 | if test "${ac_cv_header_stdc+set}" = set; then : | 4423 | if test "${ac_cv_header_stdc+set}" = set; then |
| 4546 | $as_echo_n "(cached) " >&6 | 4424 | $as_echo_n "(cached) " >&6 |
| 4547 | else | 4425 | else |
| 4548 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4426 | cat >conftest.$ac_ext <<_ACEOF |
| 4427 | /* confdefs.h. */ | ||
| 4428 | _ACEOF | ||
| 4429 | cat confdefs.h >>conftest.$ac_ext | ||
| 4430 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4549 | /* end confdefs.h. */ | 4431 | /* end confdefs.h. */ |
| 4550 | #include <stdlib.h> | 4432 | #include <stdlib.h> |
| 4551 | #include <stdarg.h> | 4433 | #include <stdarg.h> |
| @@ -4560,23 +4442,48 @@ main () | |||
| 4560 | return 0; | 4442 | return 0; |
| 4561 | } | 4443 | } |
| 4562 | _ACEOF | 4444 | _ACEOF |
| 4563 | if ac_fn_c_try_compile "$LINENO"; then : | 4445 | rm -f conftest.$ac_objext |
| 4446 | if { (ac_try="$ac_compile" | ||
| 4447 | case "(($ac_try" in | ||
| 4448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4449 | *) ac_try_echo=$ac_try;; | ||
| 4450 | esac | ||
| 4451 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4452 | $as_echo "$ac_try_echo") >&5 | ||
| 4453 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4454 | ac_status=$? | ||
| 4455 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4456 | rm -f conftest.er1 | ||
| 4457 | cat conftest.err >&5 | ||
| 4458 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4459 | (exit $ac_status); } && { | ||
| 4460 | test -z "$ac_c_werror_flag" || | ||
| 4461 | test ! -s conftest.err | ||
| 4462 | } && test -s conftest.$ac_objext; then | ||
| 4564 | ac_cv_header_stdc=yes | 4463 | ac_cv_header_stdc=yes |
| 4565 | else | 4464 | else |
| 4566 | ac_cv_header_stdc=no | 4465 | $as_echo "$as_me: failed program was:" >&5 |
| 4466 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4467 | |||
| 4468 | ac_cv_header_stdc=no | ||
| 4567 | fi | 4469 | fi |
| 4470 | |||
| 4568 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4569 | 4472 | ||
| 4570 | if test $ac_cv_header_stdc = yes; then | 4473 | if test $ac_cv_header_stdc = yes; then |
| 4571 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4474 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 4572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4475 | cat >conftest.$ac_ext <<_ACEOF |
| 4476 | /* confdefs.h. */ | ||
| 4477 | _ACEOF | ||
| 4478 | cat confdefs.h >>conftest.$ac_ext | ||
| 4479 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4573 | /* end confdefs.h. */ | 4480 | /* end confdefs.h. */ |
| 4574 | #include <string.h> | 4481 | #include <string.h> |
| 4575 | 4482 | ||
| 4576 | _ACEOF | 4483 | _ACEOF |
| 4577 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4484 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4578 | $EGREP "memchr" >/dev/null 2>&1; then : | 4485 | $EGREP "memchr" >/dev/null 2>&1; then |
| 4579 | 4486 | : | |
| 4580 | else | 4487 | else |
| 4581 | ac_cv_header_stdc=no | 4488 | ac_cv_header_stdc=no |
| 4582 | fi | 4489 | fi |
| @@ -4586,14 +4493,18 @@ fi | |||
| 4586 | 4493 | ||
| 4587 | if test $ac_cv_header_stdc = yes; then | 4494 | if test $ac_cv_header_stdc = yes; then |
| 4588 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4495 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 4589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4496 | cat >conftest.$ac_ext <<_ACEOF |
| 4497 | /* confdefs.h. */ | ||
| 4498 | _ACEOF | ||
| 4499 | cat confdefs.h >>conftest.$ac_ext | ||
| 4500 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4590 | /* end confdefs.h. */ | 4501 | /* end confdefs.h. */ |
| 4591 | #include <stdlib.h> | 4502 | #include <stdlib.h> |
| 4592 | 4503 | ||
| 4593 | _ACEOF | 4504 | _ACEOF |
| 4594 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4505 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4595 | $EGREP "free" >/dev/null 2>&1; then : | 4506 | $EGREP "free" >/dev/null 2>&1; then |
| 4596 | 4507 | : | |
| 4597 | else | 4508 | else |
| 4598 | ac_cv_header_stdc=no | 4509 | ac_cv_header_stdc=no |
| 4599 | fi | 4510 | fi |
| @@ -4603,10 +4514,14 @@ fi | |||
| 4603 | 4514 | ||
| 4604 | if test $ac_cv_header_stdc = yes; then | 4515 | if test $ac_cv_header_stdc = yes; then |
| 4605 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4516 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 4606 | if test "$cross_compiling" = yes; then : | 4517 | if test "$cross_compiling" = yes; then |
| 4607 | : | 4518 | : |
| 4608 | else | 4519 | else |
| 4609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4520 | cat >conftest.$ac_ext <<_ACEOF |
| 4521 | /* confdefs.h. */ | ||
| 4522 | _ACEOF | ||
| 4523 | cat confdefs.h >>conftest.$ac_ext | ||
| 4524 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4610 | /* end confdefs.h. */ | 4525 | /* end confdefs.h. */ |
| 4611 | #include <ctype.h> | 4526 | #include <ctype.h> |
| 4612 | #include <stdlib.h> | 4527 | #include <stdlib.h> |
| @@ -4633,34 +4548,117 @@ main () | |||
| 4633 | return 0; | 4548 | return 0; |
| 4634 | } | 4549 | } |
| 4635 | _ACEOF | 4550 | _ACEOF |
| 4636 | if ac_fn_c_try_run "$LINENO"; then : | 4551 | rm -f conftest$ac_exeext |
| 4637 | 4552 | if { (ac_try="$ac_link" | |
| 4553 | case "(($ac_try" in | ||
| 4554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4555 | *) ac_try_echo=$ac_try;; | ||
| 4556 | esac | ||
| 4557 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4558 | $as_echo "$ac_try_echo") >&5 | ||
| 4559 | (eval "$ac_link") 2>&5 | ||
| 4560 | ac_status=$? | ||
| 4561 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4562 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 4563 | { (case "(($ac_try" in | ||
| 4564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4565 | *) ac_try_echo=$ac_try;; | ||
| 4566 | esac | ||
| 4567 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4568 | $as_echo "$ac_try_echo") >&5 | ||
| 4569 | (eval "$ac_try") 2>&5 | ||
| 4570 | ac_status=$? | ||
| 4571 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4572 | (exit $ac_status); }; }; then | ||
| 4573 | : | ||
| 4638 | else | 4574 | else |
| 4639 | ac_cv_header_stdc=no | 4575 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 4576 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4577 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4578 | |||
| 4579 | ( exit $ac_status ) | ||
| 4580 | ac_cv_header_stdc=no | ||
| 4640 | fi | 4581 | fi |
| 4641 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4582 | rm -rf conftest.dSYM |
| 4642 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 4583 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 4643 | fi | 4584 | fi |
| 4644 | 4585 | ||
| 4586 | |||
| 4645 | fi | 4587 | fi |
| 4646 | fi | 4588 | fi |
| 4647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4589 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 4648 | $as_echo "$ac_cv_header_stdc" >&6; } | 4590 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 4649 | if test $ac_cv_header_stdc = yes; then | 4591 | if test $ac_cv_header_stdc = yes; then |
| 4650 | 4592 | ||
| 4651 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4593 | cat >>confdefs.h <<\_ACEOF |
| 4594 | #define STDC_HEADERS 1 | ||
| 4595 | _ACEOF | ||
| 4652 | 4596 | ||
| 4653 | fi | 4597 | fi |
| 4654 | 4598 | ||
| 4655 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4599 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 4600 | |||
| 4601 | |||
| 4602 | |||
| 4603 | |||
| 4604 | |||
| 4605 | |||
| 4606 | |||
| 4607 | |||
| 4608 | |||
| 4656 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4609 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 4657 | inttypes.h stdint.h unistd.h | 4610 | inttypes.h stdint.h unistd.h |
| 4658 | do : | 4611 | do |
| 4659 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4612 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 4660 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4613 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 4661 | " | 4614 | $as_echo_n "checking for $ac_header... " >&6; } |
| 4662 | eval as_val=\$$as_ac_Header | 4615 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 4663 | if test "x$as_val" = x""yes; then : | 4616 | $as_echo_n "(cached) " >&6 |
| 4617 | else | ||
| 4618 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4619 | /* confdefs.h. */ | ||
| 4620 | _ACEOF | ||
| 4621 | cat confdefs.h >>conftest.$ac_ext | ||
| 4622 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4623 | /* end confdefs.h. */ | ||
| 4624 | $ac_includes_default | ||
| 4625 | |||
| 4626 | #include <$ac_header> | ||
| 4627 | _ACEOF | ||
| 4628 | rm -f conftest.$ac_objext | ||
| 4629 | if { (ac_try="$ac_compile" | ||
| 4630 | case "(($ac_try" in | ||
| 4631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4632 | *) ac_try_echo=$ac_try;; | ||
| 4633 | esac | ||
| 4634 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4635 | $as_echo "$ac_try_echo") >&5 | ||
| 4636 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4637 | ac_status=$? | ||
| 4638 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4639 | rm -f conftest.er1 | ||
| 4640 | cat conftest.err >&5 | ||
| 4641 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4642 | (exit $ac_status); } && { | ||
| 4643 | test -z "$ac_c_werror_flag" || | ||
| 4644 | test ! -s conftest.err | ||
| 4645 | } && test -s conftest.$ac_objext; then | ||
| 4646 | eval "$as_ac_Header=yes" | ||
| 4647 | else | ||
| 4648 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4649 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4650 | |||
| 4651 | eval "$as_ac_Header=no" | ||
| 4652 | fi | ||
| 4653 | |||
| 4654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4655 | fi | ||
| 4656 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 4657 | $as_echo "$as_val"'` | ||
| 4658 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 4659 | $as_echo "$ac_res" >&6; } | ||
| 4660 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 4661 | $as_echo "$as_val"'` = yes; then | ||
| 4664 | cat >>confdefs.h <<_ACEOF | 4662 | cat >>confdefs.h <<_ACEOF |
| 4665 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4663 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 4666 | _ACEOF | 4664 | _ACEOF |
| @@ -4671,8 +4669,134 @@ done | |||
| 4671 | 4669 | ||
| 4672 | 4670 | ||
| 4673 | 4671 | ||
| 4674 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" | 4672 | if test "${ac_cv_header_minix_config_h+set}" = set; then |
| 4675 | if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 4673 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 |
| 4674 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4675 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4676 | $as_echo_n "(cached) " >&6 | ||
| 4677 | fi | ||
| 4678 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4679 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4680 | else | ||
| 4681 | # Is the header compilable? | ||
| 4682 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 | ||
| 4683 | $as_echo_n "checking minix/config.h usability... " >&6; } | ||
| 4684 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4685 | /* confdefs.h. */ | ||
| 4686 | _ACEOF | ||
| 4687 | cat confdefs.h >>conftest.$ac_ext | ||
| 4688 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4689 | /* end confdefs.h. */ | ||
| 4690 | $ac_includes_default | ||
| 4691 | #include <minix/config.h> | ||
| 4692 | _ACEOF | ||
| 4693 | rm -f conftest.$ac_objext | ||
| 4694 | if { (ac_try="$ac_compile" | ||
| 4695 | case "(($ac_try" in | ||
| 4696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4697 | *) ac_try_echo=$ac_try;; | ||
| 4698 | esac | ||
| 4699 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4700 | $as_echo "$ac_try_echo") >&5 | ||
| 4701 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4702 | ac_status=$? | ||
| 4703 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4704 | rm -f conftest.er1 | ||
| 4705 | cat conftest.err >&5 | ||
| 4706 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4707 | (exit $ac_status); } && { | ||
| 4708 | test -z "$ac_c_werror_flag" || | ||
| 4709 | test ! -s conftest.err | ||
| 4710 | } && test -s conftest.$ac_objext; then | ||
| 4711 | ac_header_compiler=yes | ||
| 4712 | else | ||
| 4713 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4715 | |||
| 4716 | ac_header_compiler=no | ||
| 4717 | fi | ||
| 4718 | |||
| 4719 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4720 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 4721 | $as_echo "$ac_header_compiler" >&6; } | ||
| 4722 | |||
| 4723 | # Is the header present? | ||
| 4724 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 | ||
| 4725 | $as_echo_n "checking minix/config.h presence... " >&6; } | ||
| 4726 | cat >conftest.$ac_ext <<_ACEOF | ||
| 4727 | /* confdefs.h. */ | ||
| 4728 | _ACEOF | ||
| 4729 | cat confdefs.h >>conftest.$ac_ext | ||
| 4730 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4731 | /* end confdefs.h. */ | ||
| 4732 | #include <minix/config.h> | ||
| 4733 | _ACEOF | ||
| 4734 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 4735 | case "(($ac_try" in | ||
| 4736 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4737 | *) ac_try_echo=$ac_try;; | ||
| 4738 | esac | ||
| 4739 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4740 | $as_echo "$ac_try_echo") >&5 | ||
| 4741 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4742 | ac_status=$? | ||
| 4743 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4744 | rm -f conftest.er1 | ||
| 4745 | cat conftest.err >&5 | ||
| 4746 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4747 | (exit $ac_status); } >/dev/null && { | ||
| 4748 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 4749 | test ! -s conftest.err | ||
| 4750 | }; then | ||
| 4751 | ac_header_preproc=yes | ||
| 4752 | else | ||
| 4753 | $as_echo "$as_me: failed program was:" >&5 | ||
| 4754 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4755 | |||
| 4756 | ac_header_preproc=no | ||
| 4757 | fi | ||
| 4758 | |||
| 4759 | rm -f conftest.err conftest.$ac_ext | ||
| 4760 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 4761 | $as_echo "$ac_header_preproc" >&6; } | ||
| 4762 | |||
| 4763 | # So? What about this header? | ||
| 4764 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 4765 | yes:no: ) | ||
| 4766 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 4767 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 4768 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 | ||
| 4769 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} | ||
| 4770 | ac_header_preproc=yes | ||
| 4771 | ;; | ||
| 4772 | no:yes:* ) | ||
| 4773 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 | ||
| 4774 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | ||
| 4775 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 | ||
| 4776 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | ||
| 4777 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 | ||
| 4778 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} | ||
| 4779 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 4780 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 4781 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 | ||
| 4782 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | ||
| 4783 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 | ||
| 4784 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} | ||
| 4785 | |||
| 4786 | ;; | ||
| 4787 | esac | ||
| 4788 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 | ||
| 4789 | $as_echo_n "checking for minix/config.h... " >&6; } | ||
| 4790 | if test "${ac_cv_header_minix_config_h+set}" = set; then | ||
| 4791 | $as_echo_n "(cached) " >&6 | ||
| 4792 | else | ||
| 4793 | ac_cv_header_minix_config_h=$ac_header_preproc | ||
| 4794 | fi | ||
| 4795 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 | ||
| 4796 | $as_echo "$ac_cv_header_minix_config_h" >&6; } | ||
| 4797 | |||
| 4798 | fi | ||
| 4799 | if test $ac_cv_header_minix_config_h = yes; then | ||
| 4676 | MINIX=yes | 4800 | MINIX=yes |
| 4677 | else | 4801 | else |
| 4678 | MINIX= | 4802 | MINIX= |
| @@ -4681,23 +4805,34 @@ fi | |||
| 4681 | 4805 | ||
| 4682 | if test "$MINIX" = yes; then | 4806 | if test "$MINIX" = yes; then |
| 4683 | 4807 | ||
| 4684 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 4808 | cat >>confdefs.h <<\_ACEOF |
| 4809 | #define _POSIX_SOURCE 1 | ||
| 4810 | _ACEOF | ||
| 4685 | 4811 | ||
| 4686 | 4812 | ||
| 4687 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 4813 | cat >>confdefs.h <<\_ACEOF |
| 4814 | #define _POSIX_1_SOURCE 2 | ||
| 4815 | _ACEOF | ||
| 4688 | 4816 | ||
| 4689 | 4817 | ||
| 4690 | $as_echo "#define _MINIX 1" >>confdefs.h | 4818 | cat >>confdefs.h <<\_ACEOF |
| 4819 | #define _MINIX 1 | ||
| 4820 | _ACEOF | ||
| 4691 | 4821 | ||
| 4692 | fi | 4822 | fi |
| 4693 | 4823 | ||
| 4694 | 4824 | ||
| 4695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 | 4825 | |
| 4826 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 | ||
| 4696 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 4827 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 4697 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 4828 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then |
| 4698 | $as_echo_n "(cached) " >&6 | 4829 | $as_echo_n "(cached) " >&6 |
| 4699 | else | 4830 | else |
| 4700 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4831 | cat >conftest.$ac_ext <<_ACEOF |
| 4832 | /* confdefs.h. */ | ||
| 4833 | _ACEOF | ||
| 4834 | cat confdefs.h >>conftest.$ac_ext | ||
| 4835 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4701 | /* end confdefs.h. */ | 4836 | /* end confdefs.h. */ |
| 4702 | 4837 | ||
| 4703 | # define __EXTENSIONS__ 1 | 4838 | # define __EXTENSIONS__ 1 |
| @@ -4710,34 +4845,69 @@ main () | |||
| 4710 | return 0; | 4845 | return 0; |
| 4711 | } | 4846 | } |
| 4712 | _ACEOF | 4847 | _ACEOF |
| 4713 | if ac_fn_c_try_compile "$LINENO"; then : | 4848 | rm -f conftest.$ac_objext |
| 4849 | if { (ac_try="$ac_compile" | ||
| 4850 | case "(($ac_try" in | ||
| 4851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4852 | *) ac_try_echo=$ac_try;; | ||
| 4853 | esac | ||
| 4854 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4855 | $as_echo "$ac_try_echo") >&5 | ||
| 4856 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4857 | ac_status=$? | ||
| 4858 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4859 | rm -f conftest.er1 | ||
| 4860 | cat conftest.err >&5 | ||
| 4861 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4862 | (exit $ac_status); } && { | ||
| 4863 | test -z "$ac_c_werror_flag" || | ||
| 4864 | test ! -s conftest.err | ||
| 4865 | } && test -s conftest.$ac_objext; then | ||
| 4714 | ac_cv_safe_to_define___extensions__=yes | 4866 | ac_cv_safe_to_define___extensions__=yes |
| 4715 | else | 4867 | else |
| 4716 | ac_cv_safe_to_define___extensions__=no | 4868 | $as_echo "$as_me: failed program was:" >&5 |
| 4869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4870 | |||
| 4871 | ac_cv_safe_to_define___extensions__=no | ||
| 4717 | fi | 4872 | fi |
| 4873 | |||
| 4718 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4874 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4719 | fi | 4875 | fi |
| 4720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | 4876 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 4721 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 4877 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 4722 | test $ac_cv_safe_to_define___extensions__ = yes && | 4878 | test $ac_cv_safe_to_define___extensions__ = yes && |
| 4723 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 4879 | cat >>confdefs.h <<\_ACEOF |
| 4880 | #define __EXTENSIONS__ 1 | ||
| 4881 | _ACEOF | ||
| 4724 | 4882 | ||
| 4725 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 4883 | cat >>confdefs.h <<\_ACEOF |
| 4884 | #define _ALL_SOURCE 1 | ||
| 4885 | _ACEOF | ||
| 4726 | 4886 | ||
| 4727 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 4887 | cat >>confdefs.h <<\_ACEOF |
| 4888 | #define _GNU_SOURCE 1 | ||
| 4889 | _ACEOF | ||
| 4728 | 4890 | ||
| 4729 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 4891 | cat >>confdefs.h <<\_ACEOF |
| 4892 | #define _POSIX_PTHREAD_SEMANTICS 1 | ||
| 4893 | _ACEOF | ||
| 4730 | 4894 | ||
| 4731 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 4895 | cat >>confdefs.h <<\_ACEOF |
| 4896 | #define _TANDEM_SOURCE 1 | ||
| 4897 | _ACEOF | ||
| 4732 | 4898 | ||
| 4733 | 4899 | ||
| 4734 | 4900 | ||
| 4735 | ### Use -Wno-pointer-sign if the compiler supports it | 4901 | ### Use -Wno-pointer-sign if the compiler supports it |
| 4736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wno-pointer-sign" >&5 | 4902 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
| 4737 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } | 4903 | $as_echo_n "checking whether gcc understands -Wno-pointer-sign... " >&6; } |
| 4738 | SAVE_CFLAGS="$CFLAGS" | 4904 | SAVE_CFLAGS="$CFLAGS" |
| 4739 | CFLAGS="$CFLAGS -Wno-pointer-sign" | 4905 | CFLAGS="$CFLAGS -Wno-pointer-sign" |
| 4740 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4906 | cat >conftest.$ac_ext <<_ACEOF |
| 4907 | /* confdefs.h. */ | ||
| 4908 | _ACEOF | ||
| 4909 | cat confdefs.h >>conftest.$ac_ext | ||
| 4910 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4741 | /* end confdefs.h. */ | 4911 | /* end confdefs.h. */ |
| 4742 | 4912 | ||
| 4743 | int | 4913 | int |
| @@ -4748,27 +4918,52 @@ main () | |||
| 4748 | return 0; | 4918 | return 0; |
| 4749 | } | 4919 | } |
| 4750 | _ACEOF | 4920 | _ACEOF |
| 4751 | if ac_fn_c_try_compile "$LINENO"; then : | 4921 | rm -f conftest.$ac_objext |
| 4922 | if { (ac_try="$ac_compile" | ||
| 4923 | case "(($ac_try" in | ||
| 4924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4925 | *) ac_try_echo=$ac_try;; | ||
| 4926 | esac | ||
| 4927 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4928 | $as_echo "$ac_try_echo") >&5 | ||
| 4929 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4930 | ac_status=$? | ||
| 4931 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4932 | rm -f conftest.er1 | ||
| 4933 | cat conftest.err >&5 | ||
| 4934 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4935 | (exit $ac_status); } && { | ||
| 4936 | test -z "$ac_c_werror_flag" || | ||
| 4937 | test ! -s conftest.err | ||
| 4938 | } && test -s conftest.$ac_objext; then | ||
| 4752 | has_option=yes | 4939 | has_option=yes |
| 4753 | else | 4940 | else |
| 4754 | has_option=no | 4941 | $as_echo "$as_me: failed program was:" >&5 |
| 4942 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4943 | |||
| 4944 | has_option=no | ||
| 4755 | fi | 4945 | fi |
| 4946 | |||
| 4756 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4757 | if test $has_option = yes; then | 4948 | if test $has_option = yes; then |
| 4758 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4949 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
| 4759 | fi | 4950 | fi |
| 4760 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 4951 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4761 | $as_echo "$has_option" >&6; } | 4952 | $as_echo "$has_option" >&6; } |
| 4762 | CFLAGS="$SAVE_CFLAGS" | 4953 | CFLAGS="$SAVE_CFLAGS" |
| 4763 | unset has_option | 4954 | unset has_option |
| 4764 | unset SAVE_CFLAGS | 4955 | unset SAVE_CFLAGS |
| 4765 | 4956 | ||
| 4766 | ### Use -Wdeclaration-after-statement if the compiler supports it | 4957 | ### Use -Wdeclaration-after-statement if the compiler supports it |
| 4767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wdeclaration-after-statement" >&5 | 4958 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wdeclaration-after-statement" >&5 |
| 4768 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } | 4959 | $as_echo_n "checking whether gcc understands -Wdeclaration-after-statement... " >&6; } |
| 4769 | SAVE_CFLAGS="$CFLAGS" | 4960 | SAVE_CFLAGS="$CFLAGS" |
| 4770 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" | 4961 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
| 4771 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4962 | cat >conftest.$ac_ext <<_ACEOF |
| 4963 | /* confdefs.h. */ | ||
| 4964 | _ACEOF | ||
| 4965 | cat confdefs.h >>conftest.$ac_ext | ||
| 4966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4772 | /* end confdefs.h. */ | 4967 | /* end confdefs.h. */ |
| 4773 | 4968 | ||
| 4774 | int | 4969 | int |
| @@ -4779,16 +4974,37 @@ main () | |||
| 4779 | return 0; | 4974 | return 0; |
| 4780 | } | 4975 | } |
| 4781 | _ACEOF | 4976 | _ACEOF |
| 4782 | if ac_fn_c_try_compile "$LINENO"; then : | 4977 | rm -f conftest.$ac_objext |
| 4978 | if { (ac_try="$ac_compile" | ||
| 4979 | case "(($ac_try" in | ||
| 4980 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4981 | *) ac_try_echo=$ac_try;; | ||
| 4982 | esac | ||
| 4983 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 4984 | $as_echo "$ac_try_echo") >&5 | ||
| 4985 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4986 | ac_status=$? | ||
| 4987 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 4988 | rm -f conftest.er1 | ||
| 4989 | cat conftest.err >&5 | ||
| 4990 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4991 | (exit $ac_status); } && { | ||
| 4992 | test -z "$ac_c_werror_flag" || | ||
| 4993 | test ! -s conftest.err | ||
| 4994 | } && test -s conftest.$ac_objext; then | ||
| 4783 | has_option=yes | 4995 | has_option=yes |
| 4784 | else | 4996 | else |
| 4785 | has_option=no | 4997 | $as_echo "$as_me: failed program was:" >&5 |
| 4998 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 4999 | |||
| 5000 | has_option=no | ||
| 4786 | fi | 5001 | fi |
| 5002 | |||
| 4787 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5003 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4788 | if test $has_option = yes; then | 5004 | if test $has_option = yes; then |
| 4789 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" | 5005 | C_WARNINGS_SWITCH="-Wdeclaration-after-statement $C_WARNINGS_SWITCH" |
| 4790 | fi | 5006 | fi |
| 4791 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 | 5007 | { $as_echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4792 | $as_echo "$has_option" >&6; } | 5008 | $as_echo "$has_option" >&6; } |
| 4793 | CFLAGS="$SAVE_CFLAGS" | 5009 | CFLAGS="$SAVE_CFLAGS" |
| 4794 | unset has_option | 5010 | unset has_option |
| @@ -4796,14 +5012,14 @@ unset SAVE_CFLAGS | |||
| 4796 | 5012 | ||
| 4797 | #### Some other nice autoconf tests. | 5013 | #### Some other nice autoconf tests. |
| 4798 | 5014 | ||
| 4799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 5015 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 4800 | $as_echo_n "checking whether ln -s works... " >&6; } | 5016 | $as_echo_n "checking whether ln -s works... " >&6; } |
| 4801 | LN_S=$as_ln_s | 5017 | LN_S=$as_ln_s |
| 4802 | if test "$LN_S" = "ln -s"; then | 5018 | if test "$LN_S" = "ln -s"; then |
| 4803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5019 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 4804 | $as_echo "yes" >&6; } | 5020 | $as_echo "yes" >&6; } |
| 4805 | else | 5021 | else |
| 4806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 5022 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 4807 | $as_echo "no, using $LN_S" >&6; } | 5023 | $as_echo "no, using $LN_S" >&6; } |
| 4808 | fi | 5024 | fi |
| 4809 | 5025 | ||
| @@ -4812,14 +5028,14 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4812 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5028 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4813 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5029 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4814 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5030 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4815 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 5031 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4816 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5032 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 4817 | # On Suns, sometimes $CPP names a directory. | 5033 | # On Suns, sometimes $CPP names a directory. |
| 4818 | if test -n "$CPP" && test -d "$CPP"; then | 5034 | if test -n "$CPP" && test -d "$CPP"; then |
| 4819 | CPP= | 5035 | CPP= |
| 4820 | fi | 5036 | fi |
| 4821 | if test -z "$CPP"; then | 5037 | if test -z "$CPP"; then |
| 4822 | if test "${ac_cv_prog_CPP+set}" = set; then : | 5038 | if test "${ac_cv_prog_CPP+set}" = set; then |
| 4823 | $as_echo_n "(cached) " >&6 | 5039 | $as_echo_n "(cached) " >&6 |
| 4824 | else | 5040 | else |
| 4825 | # Double quotes because CPP needs to be expanded | 5041 | # Double quotes because CPP needs to be expanded |
| @@ -4834,7 +5050,11 @@ do | |||
| 4834 | # <limits.h> exists even on freestanding compilers. | 5050 | # <limits.h> exists even on freestanding compilers. |
| 4835 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5051 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4836 | # not just through cpp. "Syntax error" is here to catch this case. | 5052 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5053 | cat >conftest.$ac_ext <<_ACEOF |
| 5054 | /* confdefs.h. */ | ||
| 5055 | _ACEOF | ||
| 5056 | cat confdefs.h >>conftest.$ac_ext | ||
| 5057 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4838 | /* end confdefs.h. */ | 5058 | /* end confdefs.h. */ |
| 4839 | #ifdef __STDC__ | 5059 | #ifdef __STDC__ |
| 4840 | # include <limits.h> | 5060 | # include <limits.h> |
| @@ -4843,34 +5063,78 @@ do | |||
| 4843 | #endif | 5063 | #endif |
| 4844 | Syntax error | 5064 | Syntax error |
| 4845 | _ACEOF | 5065 | _ACEOF |
| 4846 | if ac_fn_c_try_cpp "$LINENO"; then : | 5066 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4847 | 5067 | case "(($ac_try" in | |
| 5068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5069 | *) ac_try_echo=$ac_try;; | ||
| 5070 | esac | ||
| 5071 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5072 | $as_echo "$ac_try_echo") >&5 | ||
| 5073 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5074 | ac_status=$? | ||
| 5075 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5076 | rm -f conftest.er1 | ||
| 5077 | cat conftest.err >&5 | ||
| 5078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5079 | (exit $ac_status); } >/dev/null && { | ||
| 5080 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5081 | test ! -s conftest.err | ||
| 5082 | }; then | ||
| 5083 | : | ||
| 4848 | else | 5084 | else |
| 5085 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5086 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5087 | |||
| 4849 | # Broken: fails on valid input. | 5088 | # Broken: fails on valid input. |
| 4850 | continue | 5089 | continue |
| 4851 | fi | 5090 | fi |
| 5091 | |||
| 4852 | rm -f conftest.err conftest.$ac_ext | 5092 | rm -f conftest.err conftest.$ac_ext |
| 4853 | 5093 | ||
| 4854 | # OK, works on sane cases. Now check whether nonexistent headers | 5094 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4855 | # can be detected and how. | 5095 | # can be detected and how. |
| 4856 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5096 | cat >conftest.$ac_ext <<_ACEOF |
| 5097 | /* confdefs.h. */ | ||
| 5098 | _ACEOF | ||
| 5099 | cat confdefs.h >>conftest.$ac_ext | ||
| 5100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4857 | /* end confdefs.h. */ | 5101 | /* end confdefs.h. */ |
| 4858 | #include <ac_nonexistent.h> | 5102 | #include <ac_nonexistent.h> |
| 4859 | _ACEOF | 5103 | _ACEOF |
| 4860 | if ac_fn_c_try_cpp "$LINENO"; then : | 5104 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5105 | case "(($ac_try" in | ||
| 5106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5107 | *) ac_try_echo=$ac_try;; | ||
| 5108 | esac | ||
| 5109 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5110 | $as_echo "$ac_try_echo") >&5 | ||
| 5111 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5112 | ac_status=$? | ||
| 5113 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5114 | rm -f conftest.er1 | ||
| 5115 | cat conftest.err >&5 | ||
| 5116 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5117 | (exit $ac_status); } >/dev/null && { | ||
| 5118 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5119 | test ! -s conftest.err | ||
| 5120 | }; then | ||
| 4861 | # Broken: success on invalid input. | 5121 | # Broken: success on invalid input. |
| 4862 | continue | 5122 | continue |
| 4863 | else | 5123 | else |
| 5124 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5125 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5126 | |||
| 4864 | # Passes both tests. | 5127 | # Passes both tests. |
| 4865 | ac_preproc_ok=: | 5128 | ac_preproc_ok=: |
| 4866 | break | 5129 | break |
| 4867 | fi | 5130 | fi |
| 5131 | |||
| 4868 | rm -f conftest.err conftest.$ac_ext | 5132 | rm -f conftest.err conftest.$ac_ext |
| 4869 | 5133 | ||
| 4870 | done | 5134 | done |
| 4871 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5135 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4872 | rm -f conftest.err conftest.$ac_ext | 5136 | rm -f conftest.err conftest.$ac_ext |
| 4873 | if $ac_preproc_ok; then : | 5137 | if $ac_preproc_ok; then |
| 4874 | break | 5138 | break |
| 4875 | fi | 5139 | fi |
| 4876 | 5140 | ||
| @@ -4882,7 +5146,7 @@ fi | |||
| 4882 | else | 5146 | else |
| 4883 | ac_cv_prog_CPP=$CPP | 5147 | ac_cv_prog_CPP=$CPP |
| 4884 | fi | 5148 | fi |
| 4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5149 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4886 | $as_echo "$CPP" >&6; } | 5150 | $as_echo "$CPP" >&6; } |
| 4887 | ac_preproc_ok=false | 5151 | ac_preproc_ok=false |
| 4888 | for ac_c_preproc_warn_flag in '' yes | 5152 | for ac_c_preproc_warn_flag in '' yes |
| @@ -4893,7 +5157,11 @@ do | |||
| 4893 | # <limits.h> exists even on freestanding compilers. | 5157 | # <limits.h> exists even on freestanding compilers. |
| 4894 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5158 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 4895 | # not just through cpp. "Syntax error" is here to catch this case. | 5159 | # not just through cpp. "Syntax error" is here to catch this case. |
| 4896 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5160 | cat >conftest.$ac_ext <<_ACEOF |
| 5161 | /* confdefs.h. */ | ||
| 5162 | _ACEOF | ||
| 5163 | cat confdefs.h >>conftest.$ac_ext | ||
| 5164 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4897 | /* end confdefs.h. */ | 5165 | /* end confdefs.h. */ |
| 4898 | #ifdef __STDC__ | 5166 | #ifdef __STDC__ |
| 4899 | # include <limits.h> | 5167 | # include <limits.h> |
| @@ -4902,40 +5170,85 @@ do | |||
| 4902 | #endif | 5170 | #endif |
| 4903 | Syntax error | 5171 | Syntax error |
| 4904 | _ACEOF | 5172 | _ACEOF |
| 4905 | if ac_fn_c_try_cpp "$LINENO"; then : | 5173 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4906 | 5174 | case "(($ac_try" in | |
| 5175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5176 | *) ac_try_echo=$ac_try;; | ||
| 5177 | esac | ||
| 5178 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5179 | $as_echo "$ac_try_echo") >&5 | ||
| 5180 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5181 | ac_status=$? | ||
| 5182 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5183 | rm -f conftest.er1 | ||
| 5184 | cat conftest.err >&5 | ||
| 5185 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5186 | (exit $ac_status); } >/dev/null && { | ||
| 5187 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5188 | test ! -s conftest.err | ||
| 5189 | }; then | ||
| 5190 | : | ||
| 4907 | else | 5191 | else |
| 5192 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5193 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5194 | |||
| 4908 | # Broken: fails on valid input. | 5195 | # Broken: fails on valid input. |
| 4909 | continue | 5196 | continue |
| 4910 | fi | 5197 | fi |
| 5198 | |||
| 4911 | rm -f conftest.err conftest.$ac_ext | 5199 | rm -f conftest.err conftest.$ac_ext |
| 4912 | 5200 | ||
| 4913 | # OK, works on sane cases. Now check whether nonexistent headers | 5201 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4914 | # can be detected and how. | 5202 | # can be detected and how. |
| 4915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5203 | cat >conftest.$ac_ext <<_ACEOF |
| 5204 | /* confdefs.h. */ | ||
| 5205 | _ACEOF | ||
| 5206 | cat confdefs.h >>conftest.$ac_ext | ||
| 5207 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 4916 | /* end confdefs.h. */ | 5208 | /* end confdefs.h. */ |
| 4917 | #include <ac_nonexistent.h> | 5209 | #include <ac_nonexistent.h> |
| 4918 | _ACEOF | 5210 | _ACEOF |
| 4919 | if ac_fn_c_try_cpp "$LINENO"; then : | 5211 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5212 | case "(($ac_try" in | ||
| 5213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5214 | *) ac_try_echo=$ac_try;; | ||
| 5215 | esac | ||
| 5216 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5217 | $as_echo "$ac_try_echo") >&5 | ||
| 5218 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5219 | ac_status=$? | ||
| 5220 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5221 | rm -f conftest.er1 | ||
| 5222 | cat conftest.err >&5 | ||
| 5223 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5224 | (exit $ac_status); } >/dev/null && { | ||
| 5225 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 5226 | test ! -s conftest.err | ||
| 5227 | }; then | ||
| 4920 | # Broken: success on invalid input. | 5228 | # Broken: success on invalid input. |
| 4921 | continue | 5229 | continue |
| 4922 | else | 5230 | else |
| 5231 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5232 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5233 | |||
| 4923 | # Passes both tests. | 5234 | # Passes both tests. |
| 4924 | ac_preproc_ok=: | 5235 | ac_preproc_ok=: |
| 4925 | break | 5236 | break |
| 4926 | fi | 5237 | fi |
| 5238 | |||
| 4927 | rm -f conftest.err conftest.$ac_ext | 5239 | rm -f conftest.err conftest.$ac_ext |
| 4928 | 5240 | ||
| 4929 | done | 5241 | done |
| 4930 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5242 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 4931 | rm -f conftest.err conftest.$ac_ext | 5243 | rm -f conftest.err conftest.$ac_ext |
| 4932 | if $ac_preproc_ok; then : | 5244 | if $ac_preproc_ok; then |
| 4933 | 5245 | : | |
| 4934 | else | 5246 | else |
| 4935 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5247 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| 4936 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5248 | See \`config.log' for more details." >&5 |
| 4937 | as_fn_error "C preprocessor \"$CPP\" fails sanity check | 5249 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| 4938 | See \`config.log' for more details." "$LINENO" 5; } | 5250 | See \`config.log' for more details." >&2;} |
| 5251 | { (exit 1); exit 1; }; } | ||
| 4939 | fi | 5252 | fi |
| 4940 | 5253 | ||
| 4941 | ac_ext=c | 5254 | ac_ext=c |
| @@ -4958,10 +5271,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 4958 | # OS/2's system install, which has a completely different semantic | 5271 | # OS/2's system install, which has a completely different semantic |
| 4959 | # ./install, which can be erroneously created by make from ./install.sh. | 5272 | # ./install, which can be erroneously created by make from ./install.sh. |
| 4960 | # Reject install programs that cannot install multiple files. | 5273 | # Reject install programs that cannot install multiple files. |
| 4961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 5274 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 4962 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 5275 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 4963 | if test -z "$INSTALL"; then | 5276 | if test -z "$INSTALL"; then |
| 4964 | if test "${ac_cv_path_install+set}" = set; then : | 5277 | if test "${ac_cv_path_install+set}" = set; then |
| 4965 | $as_echo_n "(cached) " >&6 | 5278 | $as_echo_n "(cached) " >&6 |
| 4966 | else | 5279 | else |
| 4967 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5280 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| @@ -4969,11 +5282,11 @@ for as_dir in $PATH | |||
| 4969 | do | 5282 | do |
| 4970 | IFS=$as_save_IFS | 5283 | IFS=$as_save_IFS |
| 4971 | test -z "$as_dir" && as_dir=. | 5284 | test -z "$as_dir" && as_dir=. |
| 4972 | # Account for people who put trailing slashes in PATH elements. | 5285 | # Account for people who put trailing slashes in PATH elements. |
| 4973 | case $as_dir/ in #(( | 5286 | case $as_dir/ in |
| 4974 | ./ | .// | /[cC]/* | \ | 5287 | ./ | .// | /cC/* | \ |
| 4975 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 5288 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 4976 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 5289 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 4977 | /usr/ucb/* ) ;; | 5290 | /usr/ucb/* ) ;; |
| 4978 | *) | 5291 | *) |
| 4979 | # OSF1 and SCO ODT 3.0 have their own names for install. | 5292 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| @@ -5010,7 +5323,7 @@ case $as_dir/ in #(( | |||
| 5010 | ;; | 5323 | ;; |
| 5011 | esac | 5324 | esac |
| 5012 | 5325 | ||
| 5013 | done | 5326 | done |
| 5014 | IFS=$as_save_IFS | 5327 | IFS=$as_save_IFS |
| 5015 | 5328 | ||
| 5016 | rm -rf conftest.one conftest.two conftest.dir | 5329 | rm -rf conftest.one conftest.two conftest.dir |
| @@ -5026,7 +5339,7 @@ fi | |||
| 5026 | INSTALL=$ac_install_sh | 5339 | INSTALL=$ac_install_sh |
| 5027 | fi | 5340 | fi |
| 5028 | fi | 5341 | fi |
| 5029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 5342 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 5030 | $as_echo "$INSTALL" >&6; } | 5343 | $as_echo "$INSTALL" >&6; } |
| 5031 | 5344 | ||
| 5032 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5345 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| @@ -5041,9 +5354,9 @@ if test "x$RANLIB" = x; then | |||
| 5041 | if test -n "$ac_tool_prefix"; then | 5354 | if test -n "$ac_tool_prefix"; then |
| 5042 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5355 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 5043 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5356 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5044 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5357 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5045 | $as_echo_n "checking for $ac_word... " >&6; } | 5358 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5046 | if test "${ac_cv_prog_RANLIB+set}" = set; then : | 5359 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 5047 | $as_echo_n "(cached) " >&6 | 5360 | $as_echo_n "(cached) " >&6 |
| 5048 | else | 5361 | else |
| 5049 | if test -n "$RANLIB"; then | 5362 | if test -n "$RANLIB"; then |
| @@ -5054,24 +5367,24 @@ for as_dir in $PATH | |||
| 5054 | do | 5367 | do |
| 5055 | IFS=$as_save_IFS | 5368 | IFS=$as_save_IFS |
| 5056 | test -z "$as_dir" && as_dir=. | 5369 | test -z "$as_dir" && as_dir=. |
| 5057 | for ac_exec_ext in '' $ac_executable_extensions; do | 5370 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5058 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5371 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5059 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5372 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5060 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5373 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5061 | break 2 | 5374 | break 2 |
| 5062 | fi | 5375 | fi |
| 5063 | done | 5376 | done |
| 5064 | done | 5377 | done |
| 5065 | IFS=$as_save_IFS | 5378 | IFS=$as_save_IFS |
| 5066 | 5379 | ||
| 5067 | fi | 5380 | fi |
| 5068 | fi | 5381 | fi |
| 5069 | RANLIB=$ac_cv_prog_RANLIB | 5382 | RANLIB=$ac_cv_prog_RANLIB |
| 5070 | if test -n "$RANLIB"; then | 5383 | if test -n "$RANLIB"; then |
| 5071 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 5384 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 5072 | $as_echo "$RANLIB" >&6; } | 5385 | $as_echo "$RANLIB" >&6; } |
| 5073 | else | 5386 | else |
| 5074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5387 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5075 | $as_echo "no" >&6; } | 5388 | $as_echo "no" >&6; } |
| 5076 | fi | 5389 | fi |
| 5077 | 5390 | ||
| @@ -5081,9 +5394,9 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
| 5081 | ac_ct_RANLIB=$RANLIB | 5394 | ac_ct_RANLIB=$RANLIB |
| 5082 | # Extract the first word of "ranlib", so it can be a program name with args. | 5395 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 5083 | set dummy ranlib; ac_word=$2 | 5396 | set dummy ranlib; ac_word=$2 |
| 5084 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5397 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5085 | $as_echo_n "checking for $ac_word... " >&6; } | 5398 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5086 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | 5399 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 5087 | $as_echo_n "(cached) " >&6 | 5400 | $as_echo_n "(cached) " >&6 |
| 5088 | else | 5401 | else |
| 5089 | if test -n "$ac_ct_RANLIB"; then | 5402 | if test -n "$ac_ct_RANLIB"; then |
| @@ -5094,24 +5407,24 @@ for as_dir in $PATH | |||
| 5094 | do | 5407 | do |
| 5095 | IFS=$as_save_IFS | 5408 | IFS=$as_save_IFS |
| 5096 | test -z "$as_dir" && as_dir=. | 5409 | test -z "$as_dir" && as_dir=. |
| 5097 | for ac_exec_ext in '' $ac_executable_extensions; do | 5410 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5098 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5411 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5099 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 5412 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5100 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5413 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5101 | break 2 | 5414 | break 2 |
| 5102 | fi | 5415 | fi |
| 5103 | done | 5416 | done |
| 5104 | done | 5417 | done |
| 5105 | IFS=$as_save_IFS | 5418 | IFS=$as_save_IFS |
| 5106 | 5419 | ||
| 5107 | fi | 5420 | fi |
| 5108 | fi | 5421 | fi |
| 5109 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5422 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5110 | if test -n "$ac_ct_RANLIB"; then | 5423 | if test -n "$ac_ct_RANLIB"; then |
| 5111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 5424 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 5112 | $as_echo "$ac_ct_RANLIB" >&6; } | 5425 | $as_echo "$ac_ct_RANLIB" >&6; } |
| 5113 | else | 5426 | else |
| 5114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5427 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5115 | $as_echo "no" >&6; } | 5428 | $as_echo "no" >&6; } |
| 5116 | fi | 5429 | fi |
| 5117 | 5430 | ||
| @@ -5120,8 +5433,12 @@ fi | |||
| 5120 | else | 5433 | else |
| 5121 | case $cross_compiling:$ac_tool_warned in | 5434 | case $cross_compiling:$ac_tool_warned in |
| 5122 | yes:) | 5435 | yes:) |
| 5123 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 5436 | { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 5124 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 5437 | whose name does not start with the host triplet. If you think this |
| 5438 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 5439 | $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 5440 | whose name does not start with the host triplet. If you think this | ||
| 5441 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 5125 | ac_tool_warned=yes ;; | 5442 | ac_tool_warned=yes ;; |
| 5126 | esac | 5443 | esac |
| 5127 | RANLIB=$ac_ct_RANLIB | 5444 | RANLIB=$ac_ct_RANLIB |
| @@ -5133,9 +5450,9 @@ fi | |||
| 5133 | fi | 5450 | fi |
| 5134 | # Extract the first word of "install-info", so it can be a program name with args. | 5451 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5135 | set dummy install-info; ac_word=$2 | 5452 | set dummy install-info; ac_word=$2 |
| 5136 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5453 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5137 | $as_echo_n "checking for $ac_word... " >&6; } | 5454 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5138 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5455 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5139 | $as_echo_n "(cached) " >&6 | 5456 | $as_echo_n "(cached) " >&6 |
| 5140 | else | 5457 | else |
| 5141 | case $INSTALL_INFO in | 5458 | case $INSTALL_INFO in |
| @@ -5148,14 +5465,14 @@ for as_dir in $PATH | |||
| 5148 | do | 5465 | do |
| 5149 | IFS=$as_save_IFS | 5466 | IFS=$as_save_IFS |
| 5150 | test -z "$as_dir" && as_dir=. | 5467 | test -z "$as_dir" && as_dir=. |
| 5151 | for ac_exec_ext in '' $ac_executable_extensions; do | 5468 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5152 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5469 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5153 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5470 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5154 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5471 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5155 | break 2 | 5472 | break 2 |
| 5156 | fi | 5473 | fi |
| 5157 | done | 5474 | done |
| 5158 | done | 5475 | done |
| 5159 | IFS=$as_save_IFS | 5476 | IFS=$as_save_IFS |
| 5160 | 5477 | ||
| 5161 | ;; | 5478 | ;; |
| @@ -5163,19 +5480,19 @@ esac | |||
| 5163 | fi | 5480 | fi |
| 5164 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5481 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5165 | if test -n "$INSTALL_INFO"; then | 5482 | if test -n "$INSTALL_INFO"; then |
| 5166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5483 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5167 | $as_echo "$INSTALL_INFO" >&6; } | 5484 | $as_echo "$INSTALL_INFO" >&6; } |
| 5168 | else | 5485 | else |
| 5169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5486 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5170 | $as_echo "no" >&6; } | 5487 | $as_echo "no" >&6; } |
| 5171 | fi | 5488 | fi |
| 5172 | 5489 | ||
| 5173 | 5490 | ||
| 5174 | # Extract the first word of "install-info", so it can be a program name with args. | 5491 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5175 | set dummy install-info; ac_word=$2 | 5492 | set dummy install-info; ac_word=$2 |
| 5176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5493 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5177 | $as_echo_n "checking for $ac_word... " >&6; } | 5494 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5178 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5495 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5179 | $as_echo_n "(cached) " >&6 | 5496 | $as_echo_n "(cached) " >&6 |
| 5180 | else | 5497 | else |
| 5181 | case $INSTALL_INFO in | 5498 | case $INSTALL_INFO in |
| @@ -5188,14 +5505,14 @@ for as_dir in /usr/sbin | |||
| 5188 | do | 5505 | do |
| 5189 | IFS=$as_save_IFS | 5506 | IFS=$as_save_IFS |
| 5190 | test -z "$as_dir" && as_dir=. | 5507 | test -z "$as_dir" && as_dir=. |
| 5191 | for ac_exec_ext in '' $ac_executable_extensions; do | 5508 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5192 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5509 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5193 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5510 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5194 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5511 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5195 | break 2 | 5512 | break 2 |
| 5196 | fi | 5513 | fi |
| 5197 | done | 5514 | done |
| 5198 | done | 5515 | done |
| 5199 | IFS=$as_save_IFS | 5516 | IFS=$as_save_IFS |
| 5200 | 5517 | ||
| 5201 | ;; | 5518 | ;; |
| @@ -5203,19 +5520,19 @@ esac | |||
| 5203 | fi | 5520 | fi |
| 5204 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5521 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5205 | if test -n "$INSTALL_INFO"; then | 5522 | if test -n "$INSTALL_INFO"; then |
| 5206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5523 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5207 | $as_echo "$INSTALL_INFO" >&6; } | 5524 | $as_echo "$INSTALL_INFO" >&6; } |
| 5208 | else | 5525 | else |
| 5209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5526 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5210 | $as_echo "no" >&6; } | 5527 | $as_echo "no" >&6; } |
| 5211 | fi | 5528 | fi |
| 5212 | 5529 | ||
| 5213 | 5530 | ||
| 5214 | # Extract the first word of "install-info", so it can be a program name with args. | 5531 | # Extract the first word of "install-info", so it can be a program name with args. |
| 5215 | set dummy install-info; ac_word=$2 | 5532 | set dummy install-info; ac_word=$2 |
| 5216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5533 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5217 | $as_echo_n "checking for $ac_word... " >&6; } | 5534 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5218 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then : | 5535 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 5219 | $as_echo_n "(cached) " >&6 | 5536 | $as_echo_n "(cached) " >&6 |
| 5220 | else | 5537 | else |
| 5221 | case $INSTALL_INFO in | 5538 | case $INSTALL_INFO in |
| @@ -5228,14 +5545,14 @@ for as_dir in /sbin | |||
| 5228 | do | 5545 | do |
| 5229 | IFS=$as_save_IFS | 5546 | IFS=$as_save_IFS |
| 5230 | test -z "$as_dir" && as_dir=. | 5547 | test -z "$as_dir" && as_dir=. |
| 5231 | for ac_exec_ext in '' $ac_executable_extensions; do | 5548 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5232 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5549 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5233 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5550 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 5234 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5551 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5235 | break 2 | 5552 | break 2 |
| 5236 | fi | 5553 | fi |
| 5237 | done | 5554 | done |
| 5238 | done | 5555 | done |
| 5239 | IFS=$as_save_IFS | 5556 | IFS=$as_save_IFS |
| 5240 | 5557 | ||
| 5241 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5558 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
| @@ -5244,19 +5561,19 @@ esac | |||
| 5244 | fi | 5561 | fi |
| 5245 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5562 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 5246 | if test -n "$INSTALL_INFO"; then | 5563 | if test -n "$INSTALL_INFO"; then |
| 5247 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5 | 5564 | { $as_echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 5248 | $as_echo "$INSTALL_INFO" >&6; } | 5565 | $as_echo "$INSTALL_INFO" >&6; } |
| 5249 | else | 5566 | else |
| 5250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5567 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5251 | $as_echo "no" >&6; } | 5568 | $as_echo "no" >&6; } |
| 5252 | fi | 5569 | fi |
| 5253 | 5570 | ||
| 5254 | 5571 | ||
| 5255 | # Extract the first word of "gzip", so it can be a program name with args. | 5572 | # Extract the first word of "gzip", so it can be a program name with args. |
| 5256 | set dummy gzip; ac_word=$2 | 5573 | set dummy gzip; ac_word=$2 |
| 5257 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5574 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5258 | $as_echo_n "checking for $ac_word... " >&6; } | 5575 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5259 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then : | 5576 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
| 5260 | $as_echo_n "(cached) " >&6 | 5577 | $as_echo_n "(cached) " >&6 |
| 5261 | else | 5578 | else |
| 5262 | case $GZIP_PROG in | 5579 | case $GZIP_PROG in |
| @@ -5269,14 +5586,14 @@ for as_dir in $PATH | |||
| 5269 | do | 5586 | do |
| 5270 | IFS=$as_save_IFS | 5587 | IFS=$as_save_IFS |
| 5271 | test -z "$as_dir" && as_dir=. | 5588 | test -z "$as_dir" && as_dir=. |
| 5272 | for ac_exec_ext in '' $ac_executable_extensions; do | 5589 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5273 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5590 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5274 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5591 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
| 5275 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5592 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5276 | break 2 | 5593 | break 2 |
| 5277 | fi | 5594 | fi |
| 5278 | done | 5595 | done |
| 5279 | done | 5596 | done |
| 5280 | IFS=$as_save_IFS | 5597 | IFS=$as_save_IFS |
| 5281 | 5598 | ||
| 5282 | ;; | 5599 | ;; |
| @@ -5284,10 +5601,10 @@ esac | |||
| 5284 | fi | 5601 | fi |
| 5285 | GZIP_PROG=$ac_cv_path_GZIP_PROG | 5602 | GZIP_PROG=$ac_cv_path_GZIP_PROG |
| 5286 | if test -n "$GZIP_PROG"; then | 5603 | if test -n "$GZIP_PROG"; then |
| 5287 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5 | 5604 | { $as_echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
| 5288 | $as_echo "$GZIP_PROG" >&6; } | 5605 | $as_echo "$GZIP_PROG" >&6; } |
| 5289 | else | 5606 | else |
| 5290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5607 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5291 | $as_echo "no" >&6; } | 5608 | $as_echo "no" >&6; } |
| 5292 | fi | 5609 | fi |
| 5293 | 5610 | ||
| @@ -5297,9 +5614,9 @@ fi | |||
| 5297 | ## Need makeinfo >= 4.6 (?) to build the manuals. | 5614 | ## Need makeinfo >= 4.6 (?) to build the manuals. |
| 5298 | # Extract the first word of "makeinfo", so it can be a program name with args. | 5615 | # Extract the first word of "makeinfo", so it can be a program name with args. |
| 5299 | set dummy makeinfo; ac_word=$2 | 5616 | set dummy makeinfo; ac_word=$2 |
| 5300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5617 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5301 | $as_echo_n "checking for $ac_word... " >&6; } | 5618 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5302 | if test "${ac_cv_path_MAKEINFO+set}" = set; then : | 5619 | if test "${ac_cv_path_MAKEINFO+set}" = set; then |
| 5303 | $as_echo_n "(cached) " >&6 | 5620 | $as_echo_n "(cached) " >&6 |
| 5304 | else | 5621 | else |
| 5305 | case $MAKEINFO in | 5622 | case $MAKEINFO in |
| @@ -5312,14 +5629,14 @@ for as_dir in $PATH | |||
| 5312 | do | 5629 | do |
| 5313 | IFS=$as_save_IFS | 5630 | IFS=$as_save_IFS |
| 5314 | test -z "$as_dir" && as_dir=. | 5631 | test -z "$as_dir" && as_dir=. |
| 5315 | for ac_exec_ext in '' $ac_executable_extensions; do | 5632 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5316 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5633 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5317 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" | 5634 | ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" |
| 5318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5635 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5319 | break 2 | 5636 | break 2 |
| 5320 | fi | 5637 | fi |
| 5321 | done | 5638 | done |
| 5322 | done | 5639 | done |
| 5323 | IFS=$as_save_IFS | 5640 | IFS=$as_save_IFS |
| 5324 | 5641 | ||
| 5325 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" | 5642 | test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="no" |
| @@ -5328,10 +5645,10 @@ esac | |||
| 5328 | fi | 5645 | fi |
| 5329 | MAKEINFO=$ac_cv_path_MAKEINFO | 5646 | MAKEINFO=$ac_cv_path_MAKEINFO |
| 5330 | if test -n "$MAKEINFO"; then | 5647 | if test -n "$MAKEINFO"; then |
| 5331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 | 5648 | { $as_echo "$as_me:$LINENO: result: $MAKEINFO" >&5 |
| 5332 | $as_echo "$MAKEINFO" >&6; } | 5649 | $as_echo "$MAKEINFO" >&6; } |
| 5333 | else | 5650 | else |
| 5334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5651 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5335 | $as_echo "no" >&6; } | 5652 | $as_echo "no" >&6; } |
| 5336 | fi | 5653 | fi |
| 5337 | 5654 | ||
| @@ -5354,10 +5671,15 @@ if test "$MAKEINFO" = "no"; then | |||
| 5354 | if test "x${with_makeinfo}" = "xno"; then | 5671 | if test "x${with_makeinfo}" = "xno"; then |
| 5355 | MAKEINFO=off | 5672 | MAKEINFO=off |
| 5356 | elif test ! -e $srcdir/info/emacs; then | 5673 | elif test ! -e $srcdir/info/emacs; then |
| 5357 | as_fn_error "You do not seem to have makeinfo >= 4.6, and your | 5674 | { { $as_echo "$as_me:$LINENO: error: You do not seem to have makeinfo >= 4.6, and your |
| 5675 | source tree does not seem to have pre-built manuals in the \`info' directory. | ||
| 5676 | Either install a suitable version of makeinfo, or re-run configure | ||
| 5677 | with the \`--without-makeinfo' option to build without the manuals. " >&5 | ||
| 5678 | $as_echo "$as_me: error: You do not seem to have makeinfo >= 4.6, and your | ||
| 5358 | source tree does not seem to have pre-built manuals in the \`info' directory. | 5679 | source tree does not seem to have pre-built manuals in the \`info' directory. |
| 5359 | Either install a suitable version of makeinfo, or re-run configure | 5680 | Either install a suitable version of makeinfo, or re-run configure |
| 5360 | with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5681 | with the \`--without-makeinfo' option to build without the manuals. " >&2;} |
| 5682 | { (exit 1); exit 1; }; } | ||
| 5361 | fi | 5683 | fi |
| 5362 | fi | 5684 | fi |
| 5363 | 5685 | ||
| @@ -5380,22 +5702,46 @@ else | |||
| 5380 | LDFLAGS="$LDFLAGS -znocombreloc" | 5702 | LDFLAGS="$LDFLAGS -znocombreloc" |
| 5381 | fi | 5703 | fi |
| 5382 | 5704 | ||
| 5383 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -znocombreloc" >&5 | 5705 | { $as_echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
| 5384 | $as_echo_n "checking for -znocombreloc... " >&6; } | 5706 | $as_echo_n "checking for -znocombreloc... " >&6; } |
| 5385 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5707 | cat >conftest.$ac_ext <<_ACEOF |
| 5386 | /* end confdefs.h. */ | ||
| 5387 | main(){return 0;} | 5708 | main(){return 0;} |
| 5388 | _ACEOF | 5709 | _ACEOF |
| 5389 | if ac_fn_c_try_link "$LINENO"; then : | 5710 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 5390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5711 | if { (ac_try="$ac_link" |
| 5712 | case "(($ac_try" in | ||
| 5713 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5714 | *) ac_try_echo=$ac_try;; | ||
| 5715 | esac | ||
| 5716 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5717 | $as_echo "$ac_try_echo") >&5 | ||
| 5718 | (eval "$ac_link") 2>conftest.er1 | ||
| 5719 | ac_status=$? | ||
| 5720 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5721 | rm -f conftest.er1 | ||
| 5722 | cat conftest.err >&5 | ||
| 5723 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5724 | (exit $ac_status); } && { | ||
| 5725 | test -z "$ac_c_werror_flag" || | ||
| 5726 | test ! -s conftest.err | ||
| 5727 | } && test -s conftest$ac_exeext && { | ||
| 5728 | test "$cross_compiling" = yes || | ||
| 5729 | $as_test_x conftest$ac_exeext | ||
| 5730 | }; then | ||
| 5731 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
| 5391 | $as_echo "yes" >&6; } | 5732 | $as_echo "yes" >&6; } |
| 5392 | else | 5733 | else |
| 5393 | LDFLAGS=$late_LDFLAGS | 5734 | $as_echo "$as_me: failed program was:" >&5 |
| 5394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5735 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5736 | |||
| 5737 | LDFLAGS=$late_LDFLAGS | ||
| 5738 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
| 5395 | $as_echo "no" >&6; } | 5739 | $as_echo "no" >&6; } |
| 5396 | fi | 5740 | fi |
| 5397 | rm -f core conftest.err conftest.$ac_objext \ | 5741 | |
| 5398 | conftest$ac_exeext conftest.$ac_ext | 5742 | rm -rf conftest.dSYM |
| 5743 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 5744 | conftest$ac_exeext conftest.$ac_ext | ||
| 5399 | 5745 | ||
| 5400 | LIB_MATH=-lm | 5746 | LIB_MATH=-lm |
| 5401 | 5747 | ||
| @@ -5413,7 +5759,7 @@ esac | |||
| 5413 | 5759 | ||
| 5414 | #### Extract some information from the operating system and machine files. | 5760 | #### Extract some information from the operating system and machine files. |
| 5415 | 5761 | ||
| 5416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the machine- and system-dependent files to find out | 5762 | { $as_echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
| 5417 | - which libraries the lib-src programs will want, and | 5763 | - which libraries the lib-src programs will want, and |
| 5418 | - whether the GNU malloc routines are usable..." >&5 | 5764 | - whether the GNU malloc routines are usable..." >&5 |
| 5419 | $as_echo "$as_me: checking the machine- and system-dependent files to find out | 5765 | $as_echo "$as_me: checking the machine- and system-dependent files to find out |
| @@ -5543,15 +5889,15 @@ fi | |||
| 5543 | 5889 | ||
| 5544 | 5890 | ||
| 5545 | # Check whether --enable-largefile was given. | 5891 | # Check whether --enable-largefile was given. |
| 5546 | if test "${enable_largefile+set}" = set; then : | 5892 | if test "${enable_largefile+set}" = set; then |
| 5547 | enableval=$enable_largefile; | 5893 | enableval=$enable_largefile; |
| 5548 | fi | 5894 | fi |
| 5549 | 5895 | ||
| 5550 | if test "$enable_largefile" != no; then | 5896 | if test "$enable_largefile" != no; then |
| 5551 | 5897 | ||
| 5552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 5898 | { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
| 5553 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 5899 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
| 5554 | if test "${ac_cv_sys_largefile_CC+set}" = set; then : | 5900 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
| 5555 | $as_echo_n "(cached) " >&6 | 5901 | $as_echo_n "(cached) " >&6 |
| 5556 | else | 5902 | else |
| 5557 | ac_cv_sys_largefile_CC=no | 5903 | ac_cv_sys_largefile_CC=no |
| @@ -5560,7 +5906,11 @@ else | |||
| 5560 | while :; do | 5906 | while :; do |
| 5561 | # IRIX 6.2 and later do not support large files by default, | 5907 | # IRIX 6.2 and later do not support large files by default, |
| 5562 | # so use the C compiler's -n32 option if that helps. | 5908 | # so use the C compiler's -n32 option if that helps. |
| 5563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5909 | cat >conftest.$ac_ext <<_ACEOF |
| 5910 | /* confdefs.h. */ | ||
| 5911 | _ACEOF | ||
| 5912 | cat confdefs.h >>conftest.$ac_ext | ||
| 5913 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5564 | /* end confdefs.h. */ | 5914 | /* end confdefs.h. */ |
| 5565 | #include <sys/types.h> | 5915 | #include <sys/types.h> |
| 5566 | /* Check that off_t can represent 2**63 - 1 correctly. | 5916 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5579,14 +5929,60 @@ main () | |||
| 5579 | return 0; | 5929 | return 0; |
| 5580 | } | 5930 | } |
| 5581 | _ACEOF | 5931 | _ACEOF |
| 5582 | if ac_fn_c_try_compile "$LINENO"; then : | 5932 | rm -f conftest.$ac_objext |
| 5933 | if { (ac_try="$ac_compile" | ||
| 5934 | case "(($ac_try" in | ||
| 5935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5936 | *) ac_try_echo=$ac_try;; | ||
| 5937 | esac | ||
| 5938 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5939 | $as_echo "$ac_try_echo") >&5 | ||
| 5940 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5941 | ac_status=$? | ||
| 5942 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5943 | rm -f conftest.er1 | ||
| 5944 | cat conftest.err >&5 | ||
| 5945 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5946 | (exit $ac_status); } && { | ||
| 5947 | test -z "$ac_c_werror_flag" || | ||
| 5948 | test ! -s conftest.err | ||
| 5949 | } && test -s conftest.$ac_objext; then | ||
| 5583 | break | 5950 | break |
| 5951 | else | ||
| 5952 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5953 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5954 | |||
| 5955 | |||
| 5584 | fi | 5956 | fi |
| 5957 | |||
| 5585 | rm -f core conftest.err conftest.$ac_objext | 5958 | rm -f core conftest.err conftest.$ac_objext |
| 5586 | CC="$CC -n32" | 5959 | CC="$CC -n32" |
| 5587 | if ac_fn_c_try_compile "$LINENO"; then : | 5960 | rm -f conftest.$ac_objext |
| 5961 | if { (ac_try="$ac_compile" | ||
| 5962 | case "(($ac_try" in | ||
| 5963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5964 | *) ac_try_echo=$ac_try;; | ||
| 5965 | esac | ||
| 5966 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 5967 | $as_echo "$ac_try_echo") >&5 | ||
| 5968 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5969 | ac_status=$? | ||
| 5970 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 5971 | rm -f conftest.er1 | ||
| 5972 | cat conftest.err >&5 | ||
| 5973 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5974 | (exit $ac_status); } && { | ||
| 5975 | test -z "$ac_c_werror_flag" || | ||
| 5976 | test ! -s conftest.err | ||
| 5977 | } && test -s conftest.$ac_objext; then | ||
| 5588 | ac_cv_sys_largefile_CC=' -n32'; break | 5978 | ac_cv_sys_largefile_CC=' -n32'; break |
| 5979 | else | ||
| 5980 | $as_echo "$as_me: failed program was:" >&5 | ||
| 5981 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 5982 | |||
| 5983 | |||
| 5589 | fi | 5984 | fi |
| 5985 | |||
| 5590 | rm -f core conftest.err conftest.$ac_objext | 5986 | rm -f core conftest.err conftest.$ac_objext |
| 5591 | break | 5987 | break |
| 5592 | done | 5988 | done |
| @@ -5594,19 +5990,23 @@ rm -f core conftest.err conftest.$ac_objext | |||
| 5594 | rm -f conftest.$ac_ext | 5990 | rm -f conftest.$ac_ext |
| 5595 | fi | 5991 | fi |
| 5596 | fi | 5992 | fi |
| 5597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 5993 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
| 5598 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 5994 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
| 5599 | if test "$ac_cv_sys_largefile_CC" != no; then | 5995 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 5600 | CC=$CC$ac_cv_sys_largefile_CC | 5996 | CC=$CC$ac_cv_sys_largefile_CC |
| 5601 | fi | 5997 | fi |
| 5602 | 5998 | ||
| 5603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5999 | { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 5604 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 6000 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
| 5605 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then : | 6001 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
| 5606 | $as_echo_n "(cached) " >&6 | 6002 | $as_echo_n "(cached) " >&6 |
| 5607 | else | 6003 | else |
| 5608 | while :; do | 6004 | while :; do |
| 5609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6005 | cat >conftest.$ac_ext <<_ACEOF |
| 6006 | /* confdefs.h. */ | ||
| 6007 | _ACEOF | ||
| 6008 | cat confdefs.h >>conftest.$ac_ext | ||
| 6009 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5610 | /* end confdefs.h. */ | 6010 | /* end confdefs.h. */ |
| 5611 | #include <sys/types.h> | 6011 | #include <sys/types.h> |
| 5612 | /* Check that off_t can represent 2**63 - 1 correctly. | 6012 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5625,11 +6025,38 @@ main () | |||
| 5625 | return 0; | 6025 | return 0; |
| 5626 | } | 6026 | } |
| 5627 | _ACEOF | 6027 | _ACEOF |
| 5628 | if ac_fn_c_try_compile "$LINENO"; then : | 6028 | rm -f conftest.$ac_objext |
| 6029 | if { (ac_try="$ac_compile" | ||
| 6030 | case "(($ac_try" in | ||
| 6031 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6032 | *) ac_try_echo=$ac_try;; | ||
| 6033 | esac | ||
| 6034 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6035 | $as_echo "$ac_try_echo") >&5 | ||
| 6036 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6037 | ac_status=$? | ||
| 6038 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6039 | rm -f conftest.er1 | ||
| 6040 | cat conftest.err >&5 | ||
| 6041 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6042 | (exit $ac_status); } && { | ||
| 6043 | test -z "$ac_c_werror_flag" || | ||
| 6044 | test ! -s conftest.err | ||
| 6045 | } && test -s conftest.$ac_objext; then | ||
| 5629 | ac_cv_sys_file_offset_bits=no; break | 6046 | ac_cv_sys_file_offset_bits=no; break |
| 6047 | else | ||
| 6048 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6049 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6050 | |||
| 6051 | |||
| 5630 | fi | 6052 | fi |
| 6053 | |||
| 5631 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6054 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6055 | cat >conftest.$ac_ext <<_ACEOF |
| 6056 | /* confdefs.h. */ | ||
| 6057 | _ACEOF | ||
| 6058 | cat confdefs.h >>conftest.$ac_ext | ||
| 6059 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5633 | /* end confdefs.h. */ | 6060 | /* end confdefs.h. */ |
| 5634 | #define _FILE_OFFSET_BITS 64 | 6061 | #define _FILE_OFFSET_BITS 64 |
| 5635 | #include <sys/types.h> | 6062 | #include <sys/types.h> |
| @@ -5649,15 +6076,38 @@ main () | |||
| 5649 | return 0; | 6076 | return 0; |
| 5650 | } | 6077 | } |
| 5651 | _ACEOF | 6078 | _ACEOF |
| 5652 | if ac_fn_c_try_compile "$LINENO"; then : | 6079 | rm -f conftest.$ac_objext |
| 6080 | if { (ac_try="$ac_compile" | ||
| 6081 | case "(($ac_try" in | ||
| 6082 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6083 | *) ac_try_echo=$ac_try;; | ||
| 6084 | esac | ||
| 6085 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6086 | $as_echo "$ac_try_echo") >&5 | ||
| 6087 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6088 | ac_status=$? | ||
| 6089 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6090 | rm -f conftest.er1 | ||
| 6091 | cat conftest.err >&5 | ||
| 6092 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6093 | (exit $ac_status); } && { | ||
| 6094 | test -z "$ac_c_werror_flag" || | ||
| 6095 | test ! -s conftest.err | ||
| 6096 | } && test -s conftest.$ac_objext; then | ||
| 5653 | ac_cv_sys_file_offset_bits=64; break | 6097 | ac_cv_sys_file_offset_bits=64; break |
| 6098 | else | ||
| 6099 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6100 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6101 | |||
| 6102 | |||
| 5654 | fi | 6103 | fi |
| 6104 | |||
| 5655 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6105 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5656 | ac_cv_sys_file_offset_bits=unknown | 6106 | ac_cv_sys_file_offset_bits=unknown |
| 5657 | break | 6107 | break |
| 5658 | done | 6108 | done |
| 5659 | fi | 6109 | fi |
| 5660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 6110 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
| 5661 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 6111 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
| 5662 | case $ac_cv_sys_file_offset_bits in #( | 6112 | case $ac_cv_sys_file_offset_bits in #( |
| 5663 | no | unknown) ;; | 6113 | no | unknown) ;; |
| @@ -5669,13 +6119,17 @@ _ACEOF | |||
| 5669 | esac | 6119 | esac |
| 5670 | rm -rf conftest* | 6120 | rm -rf conftest* |
| 5671 | if test $ac_cv_sys_file_offset_bits = unknown; then | 6121 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 5672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 6122 | { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
| 5673 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 6123 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
| 5674 | if test "${ac_cv_sys_large_files+set}" = set; then : | 6124 | if test "${ac_cv_sys_large_files+set}" = set; then |
| 5675 | $as_echo_n "(cached) " >&6 | 6125 | $as_echo_n "(cached) " >&6 |
| 5676 | else | 6126 | else |
| 5677 | while :; do | 6127 | while :; do |
| 5678 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6128 | cat >conftest.$ac_ext <<_ACEOF |
| 6129 | /* confdefs.h. */ | ||
| 6130 | _ACEOF | ||
| 6131 | cat confdefs.h >>conftest.$ac_ext | ||
| 6132 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5679 | /* end confdefs.h. */ | 6133 | /* end confdefs.h. */ |
| 5680 | #include <sys/types.h> | 6134 | #include <sys/types.h> |
| 5681 | /* Check that off_t can represent 2**63 - 1 correctly. | 6135 | /* Check that off_t can represent 2**63 - 1 correctly. |
| @@ -5694,11 +6148,38 @@ main () | |||
| 5694 | return 0; | 6148 | return 0; |
| 5695 | } | 6149 | } |
| 5696 | _ACEOF | 6150 | _ACEOF |
| 5697 | if ac_fn_c_try_compile "$LINENO"; then : | 6151 | rm -f conftest.$ac_objext |
| 6152 | if { (ac_try="$ac_compile" | ||
| 6153 | case "(($ac_try" in | ||
| 6154 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6155 | *) ac_try_echo=$ac_try;; | ||
| 6156 | esac | ||
| 6157 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6158 | $as_echo "$ac_try_echo") >&5 | ||
| 6159 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6160 | ac_status=$? | ||
| 6161 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6162 | rm -f conftest.er1 | ||
| 6163 | cat conftest.err >&5 | ||
| 6164 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6165 | (exit $ac_status); } && { | ||
| 6166 | test -z "$ac_c_werror_flag" || | ||
| 6167 | test ! -s conftest.err | ||
| 6168 | } && test -s conftest.$ac_objext; then | ||
| 5698 | ac_cv_sys_large_files=no; break | 6169 | ac_cv_sys_large_files=no; break |
| 6170 | else | ||
| 6171 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6172 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6173 | |||
| 6174 | |||
| 5699 | fi | 6175 | fi |
| 6176 | |||
| 5700 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6178 | cat >conftest.$ac_ext <<_ACEOF |
| 6179 | /* confdefs.h. */ | ||
| 6180 | _ACEOF | ||
| 6181 | cat confdefs.h >>conftest.$ac_ext | ||
| 6182 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5702 | /* end confdefs.h. */ | 6183 | /* end confdefs.h. */ |
| 5703 | #define _LARGE_FILES 1 | 6184 | #define _LARGE_FILES 1 |
| 5704 | #include <sys/types.h> | 6185 | #include <sys/types.h> |
| @@ -5718,15 +6199,38 @@ main () | |||
| 5718 | return 0; | 6199 | return 0; |
| 5719 | } | 6200 | } |
| 5720 | _ACEOF | 6201 | _ACEOF |
| 5721 | if ac_fn_c_try_compile "$LINENO"; then : | 6202 | rm -f conftest.$ac_objext |
| 6203 | if { (ac_try="$ac_compile" | ||
| 6204 | case "(($ac_try" in | ||
| 6205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6206 | *) ac_try_echo=$ac_try;; | ||
| 6207 | esac | ||
| 6208 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6209 | $as_echo "$ac_try_echo") >&5 | ||
| 6210 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6211 | ac_status=$? | ||
| 6212 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6213 | rm -f conftest.er1 | ||
| 6214 | cat conftest.err >&5 | ||
| 6215 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6216 | (exit $ac_status); } && { | ||
| 6217 | test -z "$ac_c_werror_flag" || | ||
| 6218 | test ! -s conftest.err | ||
| 6219 | } && test -s conftest.$ac_objext; then | ||
| 5722 | ac_cv_sys_large_files=1; break | 6220 | ac_cv_sys_large_files=1; break |
| 6221 | else | ||
| 6222 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6223 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6224 | |||
| 6225 | |||
| 5723 | fi | 6226 | fi |
| 6227 | |||
| 5724 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6228 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5725 | ac_cv_sys_large_files=unknown | 6229 | ac_cv_sys_large_files=unknown |
| 5726 | break | 6230 | break |
| 5727 | done | 6231 | done |
| 5728 | fi | 6232 | fi |
| 5729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 6233 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
| 5730 | $as_echo "$ac_cv_sys_large_files" >&6; } | 6234 | $as_echo "$ac_cv_sys_large_files" >&6; } |
| 5731 | case $ac_cv_sys_large_files in #( | 6235 | case $ac_cv_sys_large_files in #( |
| 5732 | no | unknown) ;; | 6236 | no | unknown) ;; |
| @@ -5772,7 +6276,9 @@ else | |||
| 5772 | ## Some platforms don't use any of these files, so it is not | 6276 | ## Some platforms don't use any of these files, so it is not |
| 5773 | ## appropriate to put this test outside the if block. | 6277 | ## appropriate to put this test outside the if block. |
| 5774 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 6278 | test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
| 5775 | as_fn_error "crt*.o not found in specified location." "$LINENO" 5 | 6279 | { { $as_echo "$as_me:$LINENO: error: crt*.o not found in specified location." >&5 |
| 6280 | $as_echo "$as_me: error: crt*.o not found in specified location." >&2;} | ||
| 6281 | { (exit 1); exit 1; }; } | ||
| 5776 | 6282 | ||
| 5777 | fi | 6283 | fi |
| 5778 | 6284 | ||
| @@ -5784,12 +6290,145 @@ fi | |||
| 5784 | 6290 | ||
| 5785 | if test "${with_sound}" != "no"; then | 6291 | if test "${with_sound}" != "no"; then |
| 5786 | # Sound support for GNU/Linux and the free BSDs. | 6292 | # Sound support for GNU/Linux and the free BSDs. |
| 5787 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6293 | |
| 5788 | do : | 6294 | |
| 5789 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6295 | |
| 5790 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6296 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
| 5791 | eval as_val=\$$as_ac_Header | 6297 | do |
| 5792 | if test "x$as_val" = x""yes; then : | 6298 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6299 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6300 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6301 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6302 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6303 | $as_echo_n "(cached) " >&6 | ||
| 6304 | fi | ||
| 6305 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6306 | $as_echo "$as_val"'` | ||
| 6307 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6308 | $as_echo "$ac_res" >&6; } | ||
| 6309 | else | ||
| 6310 | # Is the header compilable? | ||
| 6311 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6312 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6313 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6314 | /* confdefs.h. */ | ||
| 6315 | _ACEOF | ||
| 6316 | cat confdefs.h >>conftest.$ac_ext | ||
| 6317 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6318 | /* end confdefs.h. */ | ||
| 6319 | $ac_includes_default | ||
| 6320 | #include <$ac_header> | ||
| 6321 | _ACEOF | ||
| 6322 | rm -f conftest.$ac_objext | ||
| 6323 | if { (ac_try="$ac_compile" | ||
| 6324 | case "(($ac_try" in | ||
| 6325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6326 | *) ac_try_echo=$ac_try;; | ||
| 6327 | esac | ||
| 6328 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6329 | $as_echo "$ac_try_echo") >&5 | ||
| 6330 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6331 | ac_status=$? | ||
| 6332 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6333 | rm -f conftest.er1 | ||
| 6334 | cat conftest.err >&5 | ||
| 6335 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6336 | (exit $ac_status); } && { | ||
| 6337 | test -z "$ac_c_werror_flag" || | ||
| 6338 | test ! -s conftest.err | ||
| 6339 | } && test -s conftest.$ac_objext; then | ||
| 6340 | ac_header_compiler=yes | ||
| 6341 | else | ||
| 6342 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6344 | |||
| 6345 | ac_header_compiler=no | ||
| 6346 | fi | ||
| 6347 | |||
| 6348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6349 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6350 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6351 | |||
| 6352 | # Is the header present? | ||
| 6353 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6354 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6355 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6356 | /* confdefs.h. */ | ||
| 6357 | _ACEOF | ||
| 6358 | cat confdefs.h >>conftest.$ac_ext | ||
| 6359 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6360 | /* end confdefs.h. */ | ||
| 6361 | #include <$ac_header> | ||
| 6362 | _ACEOF | ||
| 6363 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6364 | case "(($ac_try" in | ||
| 6365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6366 | *) ac_try_echo=$ac_try;; | ||
| 6367 | esac | ||
| 6368 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6369 | $as_echo "$ac_try_echo") >&5 | ||
| 6370 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6371 | ac_status=$? | ||
| 6372 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6373 | rm -f conftest.er1 | ||
| 6374 | cat conftest.err >&5 | ||
| 6375 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6376 | (exit $ac_status); } >/dev/null && { | ||
| 6377 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6378 | test ! -s conftest.err | ||
| 6379 | }; then | ||
| 6380 | ac_header_preproc=yes | ||
| 6381 | else | ||
| 6382 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6384 | |||
| 6385 | ac_header_preproc=no | ||
| 6386 | fi | ||
| 6387 | |||
| 6388 | rm -f conftest.err conftest.$ac_ext | ||
| 6389 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6390 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6391 | |||
| 6392 | # So? What about this header? | ||
| 6393 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6394 | yes:no: ) | ||
| 6395 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6396 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6397 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6398 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6399 | ac_header_preproc=yes | ||
| 6400 | ;; | ||
| 6401 | no:yes:* ) | ||
| 6402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6403 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6404 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6405 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6406 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6407 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6408 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6409 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6410 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6411 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6412 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6413 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6414 | |||
| 6415 | ;; | ||
| 6416 | esac | ||
| 6417 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6418 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6419 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6420 | $as_echo_n "(cached) " >&6 | ||
| 6421 | else | ||
| 6422 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6423 | fi | ||
| 6424 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6425 | $as_echo "$as_val"'` | ||
| 6426 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6427 | $as_echo "$ac_res" >&6; } | ||
| 6428 | |||
| 6429 | fi | ||
| 6430 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6431 | $as_echo "$as_val"'` = yes; then | ||
| 5793 | cat >>confdefs.h <<_ACEOF | 6432 | cat >>confdefs.h <<_ACEOF |
| 5794 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6433 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5795 | _ACEOF | 6434 | _ACEOF |
| @@ -5799,14 +6438,18 @@ fi | |||
| 5799 | done | 6438 | done |
| 5800 | 6439 | ||
| 5801 | # Emulation library used on NetBSD. | 6440 | # Emulation library used on NetBSD. |
| 5802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 6441 | { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
| 5803 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 6442 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } |
| 5804 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : | 6443 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
| 5805 | $as_echo_n "(cached) " >&6 | 6444 | $as_echo_n "(cached) " >&6 |
| 5806 | else | 6445 | else |
| 5807 | ac_check_lib_save_LIBS=$LIBS | 6446 | ac_check_lib_save_LIBS=$LIBS |
| 5808 | LIBS="-lossaudio $LIBS" | 6447 | LIBS="-lossaudio $LIBS" |
| 5809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6448 | cat >conftest.$ac_ext <<_ACEOF |
| 6449 | /* confdefs.h. */ | ||
| 6450 | _ACEOF | ||
| 6451 | cat confdefs.h >>conftest.$ac_ext | ||
| 6452 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5810 | /* end confdefs.h. */ | 6453 | /* end confdefs.h. */ |
| 5811 | 6454 | ||
| 5812 | /* Override any GCC internal prototype to avoid an error. | 6455 | /* Override any GCC internal prototype to avoid an error. |
| @@ -5824,18 +6467,43 @@ return _oss_ioctl (); | |||
| 5824 | return 0; | 6467 | return 0; |
| 5825 | } | 6468 | } |
| 5826 | _ACEOF | 6469 | _ACEOF |
| 5827 | if ac_fn_c_try_link "$LINENO"; then : | 6470 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 6471 | if { (ac_try="$ac_link" | ||
| 6472 | case "(($ac_try" in | ||
| 6473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6474 | *) ac_try_echo=$ac_try;; | ||
| 6475 | esac | ||
| 6476 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6477 | $as_echo "$ac_try_echo") >&5 | ||
| 6478 | (eval "$ac_link") 2>conftest.er1 | ||
| 6479 | ac_status=$? | ||
| 6480 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6481 | rm -f conftest.er1 | ||
| 6482 | cat conftest.err >&5 | ||
| 6483 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6484 | (exit $ac_status); } && { | ||
| 6485 | test -z "$ac_c_werror_flag" || | ||
| 6486 | test ! -s conftest.err | ||
| 6487 | } && test -s conftest$ac_exeext && { | ||
| 6488 | test "$cross_compiling" = yes || | ||
| 6489 | $as_test_x conftest$ac_exeext | ||
| 6490 | }; then | ||
| 5828 | ac_cv_lib_ossaudio__oss_ioctl=yes | 6491 | ac_cv_lib_ossaudio__oss_ioctl=yes |
| 5829 | else | 6492 | else |
| 5830 | ac_cv_lib_ossaudio__oss_ioctl=no | 6493 | $as_echo "$as_me: failed program was:" >&5 |
| 6494 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6495 | |||
| 6496 | ac_cv_lib_ossaudio__oss_ioctl=no | ||
| 5831 | fi | 6497 | fi |
| 5832 | rm -f core conftest.err conftest.$ac_objext \ | 6498 | |
| 5833 | conftest$ac_exeext conftest.$ac_ext | 6499 | rm -rf conftest.dSYM |
| 6500 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 6501 | conftest$ac_exeext conftest.$ac_ext | ||
| 5834 | LIBS=$ac_check_lib_save_LIBS | 6502 | LIBS=$ac_check_lib_save_LIBS |
| 5835 | fi | 6503 | fi |
| 5836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6504 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
| 5837 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 6505 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
| 5838 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : | 6506 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
| 5839 | LIBSOUND=-lossaudio | 6507 | LIBSOUND=-lossaudio |
| 5840 | else | 6508 | else |
| 5841 | LIBSOUND= | 6509 | LIBSOUND= |
| @@ -5850,9 +6518,9 @@ fi | |||
| 5850 | 6518 | ||
| 5851 | # Extract the first word of "pkg-config", so it can be a program name with args. | 6519 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 5852 | set dummy pkg-config; ac_word=$2 | 6520 | set dummy pkg-config; ac_word=$2 |
| 5853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6521 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5854 | $as_echo_n "checking for $ac_word... " >&6; } | 6522 | $as_echo_n "checking for $ac_word... " >&6; } |
| 5855 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 6523 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 5856 | $as_echo_n "(cached) " >&6 | 6524 | $as_echo_n "(cached) " >&6 |
| 5857 | else | 6525 | else |
| 5858 | case $PKG_CONFIG in | 6526 | case $PKG_CONFIG in |
| @@ -5865,14 +6533,14 @@ for as_dir in $PATH | |||
| 5865 | do | 6533 | do |
| 5866 | IFS=$as_save_IFS | 6534 | IFS=$as_save_IFS |
| 5867 | test -z "$as_dir" && as_dir=. | 6535 | test -z "$as_dir" && as_dir=. |
| 5868 | for ac_exec_ext in '' $ac_executable_extensions; do | 6536 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5869 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6537 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5870 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6538 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5871 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6539 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5872 | break 2 | 6540 | break 2 |
| 5873 | fi | 6541 | fi |
| 5874 | done | 6542 | done |
| 5875 | done | 6543 | done |
| 5876 | IFS=$as_save_IFS | 6544 | IFS=$as_save_IFS |
| 5877 | 6545 | ||
| 5878 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6546 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -5881,10 +6549,10 @@ esac | |||
| 5881 | fi | 6549 | fi |
| 5882 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6550 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 5883 | if test -n "$PKG_CONFIG"; then | 6551 | if test -n "$PKG_CONFIG"; then |
| 5884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 6552 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 5885 | $as_echo "$PKG_CONFIG" >&6; } | 6553 | $as_echo "$PKG_CONFIG" >&6; } |
| 5886 | else | 6554 | else |
| 5887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6555 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5888 | $as_echo "no" >&6; } | 6556 | $as_echo "no" >&6; } |
| 5889 | fi | 6557 | fi |
| 5890 | 6558 | ||
| @@ -5895,27 +6563,27 @@ fi | |||
| 5895 | else | 6563 | else |
| 5896 | PKG_CONFIG_MIN_VERSION=0.9.0 | 6564 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 5897 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6565 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 5898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ALSA_MODULES" >&5 | 6566 | { $as_echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
| 5899 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } | 6567 | $as_echo_n "checking for $ALSA_MODULES... " >&6; } |
| 5900 | 6568 | ||
| 5901 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6569 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
| 5902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6570 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 5903 | $as_echo "yes" >&6; } | 6571 | $as_echo "yes" >&6; } |
| 5904 | succeeded=yes | 6572 | succeeded=yes |
| 5905 | 6573 | ||
| 5906 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_CFLAGS" >&5 | 6574 | { $as_echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
| 5907 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } | 6575 | $as_echo_n "checking ALSA_CFLAGS... " >&6; } |
| 5908 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6576 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 | 6577 | { $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
| 5910 | $as_echo "$ALSA_CFLAGS" >&6; } | 6578 | $as_echo "$ALSA_CFLAGS" >&6; } |
| 5911 | 6579 | ||
| 5912 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ALSA_LIBS" >&5 | 6580 | { $as_echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
| 5913 | $as_echo_n "checking ALSA_LIBS... " >&6; } | 6581 | $as_echo_n "checking ALSA_LIBS... " >&6; } |
| 5914 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` | 6582 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"|sed -e 's,///*,/,g'` |
| 5915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 | 6583 | { $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
| 5916 | $as_echo "$ALSA_LIBS" >&6; } | 6584 | $as_echo "$ALSA_LIBS" >&6; } |
| 5917 | else | 6585 | else |
| 5918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6586 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 5919 | $as_echo "no" >&6; } | 6587 | $as_echo "no" >&6; } |
| 5920 | ALSA_CFLAGS="" | 6588 | ALSA_CFLAGS="" |
| 5921 | ALSA_LIBS="" | 6589 | ALSA_LIBS="" |
| @@ -5944,7 +6612,11 @@ $as_echo "no" >&6; } | |||
| 5944 | SAVE_LDFLAGS="$LDFLAGS" | 6612 | SAVE_LDFLAGS="$LDFLAGS" |
| 5945 | CFLAGS="$ALSA_CFLAGS $CFLAGS" | 6613 | CFLAGS="$ALSA_CFLAGS $CFLAGS" |
| 5946 | LDFLAGS="$ALSA_LIBS $LDFLAGS" | 6614 | LDFLAGS="$ALSA_LIBS $LDFLAGS" |
| 5947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6615 | cat >conftest.$ac_ext <<_ACEOF |
| 6616 | /* confdefs.h. */ | ||
| 6617 | _ACEOF | ||
| 6618 | cat confdefs.h >>conftest.$ac_ext | ||
| 6619 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5948 | /* end confdefs.h. */ | 6620 | /* end confdefs.h. */ |
| 5949 | #include <asoundlib.h> | 6621 | #include <asoundlib.h> |
| 5950 | int | 6622 | int |
| @@ -5955,14 +6627,39 @@ snd_lib_error_set_handler (0); | |||
| 5955 | return 0; | 6627 | return 0; |
| 5956 | } | 6628 | } |
| 5957 | _ACEOF | 6629 | _ACEOF |
| 5958 | if ac_fn_c_try_compile "$LINENO"; then : | 6630 | rm -f conftest.$ac_objext |
| 6631 | if { (ac_try="$ac_compile" | ||
| 6632 | case "(($ac_try" in | ||
| 6633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6634 | *) ac_try_echo=$ac_try;; | ||
| 6635 | esac | ||
| 6636 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6637 | $as_echo "$ac_try_echo") >&5 | ||
| 6638 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6639 | ac_status=$? | ||
| 6640 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6641 | rm -f conftest.er1 | ||
| 6642 | cat conftest.err >&5 | ||
| 6643 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6644 | (exit $ac_status); } && { | ||
| 6645 | test -z "$ac_c_werror_flag" || | ||
| 6646 | test ! -s conftest.err | ||
| 6647 | } && test -s conftest.$ac_objext; then | ||
| 5959 | emacs_alsa_normal=yes | 6648 | emacs_alsa_normal=yes |
| 5960 | else | 6649 | else |
| 5961 | emacs_alsa_normal=no | 6650 | $as_echo "$as_me: failed program was:" >&5 |
| 6651 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6652 | |||
| 6653 | emacs_alsa_normal=no | ||
| 5962 | fi | 6654 | fi |
| 6655 | |||
| 5963 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6656 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5964 | if test "$emacs_alsa_normal" != yes; then | 6657 | if test "$emacs_alsa_normal" != yes; then |
| 5965 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6658 | cat >conftest.$ac_ext <<_ACEOF |
| 6659 | /* confdefs.h. */ | ||
| 6660 | _ACEOF | ||
| 6661 | cat confdefs.h >>conftest.$ac_ext | ||
| 6662 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 5966 | /* end confdefs.h. */ | 6663 | /* end confdefs.h. */ |
| 5967 | #include <alsa/asoundlib.h> | 6664 | #include <alsa/asoundlib.h> |
| 5968 | int | 6665 | int |
| @@ -5973,14 +6670,37 @@ snd_lib_error_set_handler (0); | |||
| 5973 | return 0; | 6670 | return 0; |
| 5974 | } | 6671 | } |
| 5975 | _ACEOF | 6672 | _ACEOF |
| 5976 | if ac_fn_c_try_compile "$LINENO"; then : | 6673 | rm -f conftest.$ac_objext |
| 6674 | if { (ac_try="$ac_compile" | ||
| 6675 | case "(($ac_try" in | ||
| 6676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6677 | *) ac_try_echo=$ac_try;; | ||
| 6678 | esac | ||
| 6679 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6680 | $as_echo "$ac_try_echo") >&5 | ||
| 6681 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6682 | ac_status=$? | ||
| 6683 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6684 | rm -f conftest.er1 | ||
| 6685 | cat conftest.err >&5 | ||
| 6686 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6687 | (exit $ac_status); } && { | ||
| 6688 | test -z "$ac_c_werror_flag" || | ||
| 6689 | test ! -s conftest.err | ||
| 6690 | } && test -s conftest.$ac_objext; then | ||
| 5977 | emacs_alsa_subdir=yes | 6691 | emacs_alsa_subdir=yes |
| 5978 | else | 6692 | else |
| 5979 | emacs_alsa_subdir=no | 6693 | $as_echo "$as_me: failed program was:" >&5 |
| 6694 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6695 | |||
| 6696 | emacs_alsa_subdir=no | ||
| 5980 | fi | 6697 | fi |
| 6698 | |||
| 5981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5982 | if test "$emacs_alsa_subdir" != yes; then | 6700 | if test "$emacs_alsa_subdir" != yes; then |
| 5983 | as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6701 | { { $as_echo "$as_me:$LINENO: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&5 |
| 6702 | $as_echo "$as_me: error: pkg-config found alsa, but it does not compile. See config.log for error messages." >&2;} | ||
| 6703 | { (exit 1); exit 1; }; } | ||
| 5984 | fi | 6704 | fi |
| 5985 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6705 | ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
| 5986 | fi | 6706 | fi |
| @@ -5990,22 +6710,179 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
| 5990 | LIBSOUND="$LIBSOUND $ALSA_LIBS" | 6710 | LIBSOUND="$LIBSOUND $ALSA_LIBS" |
| 5991 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" | 6711 | CFLAGS_SOUND="$CFLAGS_SOUND $ALSA_CFLAGS" |
| 5992 | 6712 | ||
| 5993 | $as_echo "#define HAVE_ALSA 1" >>confdefs.h | 6713 | cat >>confdefs.h <<\_ACEOF |
| 6714 | #define HAVE_ALSA 1 | ||
| 6715 | _ACEOF | ||
| 5994 | 6716 | ||
| 5995 | fi | 6717 | fi |
| 5996 | 6718 | ||
| 5997 | fi | 6719 | fi |
| 5998 | 6720 | ||
| 6721 | |||
| 6722 | |||
| 6723 | |||
| 6724 | |||
| 6725 | |||
| 6726 | |||
| 6727 | |||
| 6728 | |||
| 6729 | |||
| 6730 | |||
| 6731 | |||
| 6732 | |||
| 6733 | |||
| 6734 | |||
| 6735 | |||
| 6736 | |||
| 6737 | |||
| 6738 | |||
| 6739 | |||
| 6740 | |||
| 6741 | |||
| 6742 | |||
| 6743 | |||
| 6744 | |||
| 6745 | |||
| 5999 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6746 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 6000 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6747 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 6001 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6748 | stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 6002 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6749 | sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
| 6003 | sys/utsname.h pwd.h utmp.h | 6750 | sys/utsname.h pwd.h utmp.h |
| 6004 | do : | 6751 | do |
| 6005 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6752 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6006 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6753 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6007 | eval as_val=\$$as_ac_Header | 6754 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6008 | if test "x$as_val" = x""yes; then : | 6755 | $as_echo_n "checking for $ac_header... " >&6; } |
| 6756 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6757 | $as_echo_n "(cached) " >&6 | ||
| 6758 | fi | ||
| 6759 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6760 | $as_echo "$as_val"'` | ||
| 6761 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6762 | $as_echo "$ac_res" >&6; } | ||
| 6763 | else | ||
| 6764 | # Is the header compilable? | ||
| 6765 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 6766 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 6767 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6768 | /* confdefs.h. */ | ||
| 6769 | _ACEOF | ||
| 6770 | cat confdefs.h >>conftest.$ac_ext | ||
| 6771 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6772 | /* end confdefs.h. */ | ||
| 6773 | $ac_includes_default | ||
| 6774 | #include <$ac_header> | ||
| 6775 | _ACEOF | ||
| 6776 | rm -f conftest.$ac_objext | ||
| 6777 | if { (ac_try="$ac_compile" | ||
| 6778 | case "(($ac_try" in | ||
| 6779 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6780 | *) ac_try_echo=$ac_try;; | ||
| 6781 | esac | ||
| 6782 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6783 | $as_echo "$ac_try_echo") >&5 | ||
| 6784 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6785 | ac_status=$? | ||
| 6786 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6787 | rm -f conftest.er1 | ||
| 6788 | cat conftest.err >&5 | ||
| 6789 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6790 | (exit $ac_status); } && { | ||
| 6791 | test -z "$ac_c_werror_flag" || | ||
| 6792 | test ! -s conftest.err | ||
| 6793 | } && test -s conftest.$ac_objext; then | ||
| 6794 | ac_header_compiler=yes | ||
| 6795 | else | ||
| 6796 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6797 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6798 | |||
| 6799 | ac_header_compiler=no | ||
| 6800 | fi | ||
| 6801 | |||
| 6802 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6803 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 6804 | $as_echo "$ac_header_compiler" >&6; } | ||
| 6805 | |||
| 6806 | # Is the header present? | ||
| 6807 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 6808 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 6809 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6810 | /* confdefs.h. */ | ||
| 6811 | _ACEOF | ||
| 6812 | cat confdefs.h >>conftest.$ac_ext | ||
| 6813 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6814 | /* end confdefs.h. */ | ||
| 6815 | #include <$ac_header> | ||
| 6816 | _ACEOF | ||
| 6817 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6818 | case "(($ac_try" in | ||
| 6819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6820 | *) ac_try_echo=$ac_try;; | ||
| 6821 | esac | ||
| 6822 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6823 | $as_echo "$ac_try_echo") >&5 | ||
| 6824 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6825 | ac_status=$? | ||
| 6826 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6827 | rm -f conftest.er1 | ||
| 6828 | cat conftest.err >&5 | ||
| 6829 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6830 | (exit $ac_status); } >/dev/null && { | ||
| 6831 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6832 | test ! -s conftest.err | ||
| 6833 | }; then | ||
| 6834 | ac_header_preproc=yes | ||
| 6835 | else | ||
| 6836 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6837 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6838 | |||
| 6839 | ac_header_preproc=no | ||
| 6840 | fi | ||
| 6841 | |||
| 6842 | rm -f conftest.err conftest.$ac_ext | ||
| 6843 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 6844 | $as_echo "$ac_header_preproc" >&6; } | ||
| 6845 | |||
| 6846 | # So? What about this header? | ||
| 6847 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 6848 | yes:no: ) | ||
| 6849 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 6850 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 6851 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 6852 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 6853 | ac_header_preproc=yes | ||
| 6854 | ;; | ||
| 6855 | no:yes:* ) | ||
| 6856 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 6857 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 6858 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 6859 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 6860 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 6861 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 6862 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 6863 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 6864 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 6865 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 6866 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 6867 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 6868 | |||
| 6869 | ;; | ||
| 6870 | esac | ||
| 6871 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 6872 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6873 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6874 | $as_echo_n "(cached) " >&6 | ||
| 6875 | else | ||
| 6876 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 6877 | fi | ||
| 6878 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6879 | $as_echo "$as_val"'` | ||
| 6880 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6881 | $as_echo "$ac_res" >&6; } | ||
| 6882 | |||
| 6883 | fi | ||
| 6884 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6885 | $as_echo "$as_val"'` = yes; then | ||
| 6009 | cat >>confdefs.h <<_ACEOF | 6886 | cat >>confdefs.h <<_ACEOF |
| 6010 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6887 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6011 | _ACEOF | 6888 | _ACEOF |
| @@ -6015,9 +6892,13 @@ fi | |||
| 6015 | done | 6892 | done |
| 6016 | 6893 | ||
| 6017 | 6894 | ||
| 6018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 6895 | { $as_echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
| 6019 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 6896 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
| 6020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6897 | cat >conftest.$ac_ext <<_ACEOF |
| 6898 | /* confdefs.h. */ | ||
| 6899 | _ACEOF | ||
| 6900 | cat confdefs.h >>conftest.$ac_ext | ||
| 6901 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6021 | /* end confdefs.h. */ | 6902 | /* end confdefs.h. */ |
| 6022 | #include <sys/personality.h> | 6903 | #include <sys/personality.h> |
| 6023 | int | 6904 | int |
| @@ -6028,39 +6909,112 @@ personality (PER_LINUX32) | |||
| 6028 | return 0; | 6909 | return 0; |
| 6029 | } | 6910 | } |
| 6030 | _ACEOF | 6911 | _ACEOF |
| 6031 | if ac_fn_c_try_compile "$LINENO"; then : | 6912 | rm -f conftest.$ac_objext |
| 6913 | if { (ac_try="$ac_compile" | ||
| 6914 | case "(($ac_try" in | ||
| 6915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6916 | *) ac_try_echo=$ac_try;; | ||
| 6917 | esac | ||
| 6918 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6919 | $as_echo "$ac_try_echo") >&5 | ||
| 6920 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6921 | ac_status=$? | ||
| 6922 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6923 | rm -f conftest.er1 | ||
| 6924 | cat conftest.err >&5 | ||
| 6925 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6926 | (exit $ac_status); } && { | ||
| 6927 | test -z "$ac_c_werror_flag" || | ||
| 6928 | test ! -s conftest.err | ||
| 6929 | } && test -s conftest.$ac_objext; then | ||
| 6032 | emacs_cv_personality_linux32=yes | 6930 | emacs_cv_personality_linux32=yes |
| 6033 | else | 6931 | else |
| 6034 | emacs_cv_personality_linux32=no | 6932 | $as_echo "$as_me: failed program was:" >&5 |
| 6933 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6934 | |||
| 6935 | emacs_cv_personality_linux32=no | ||
| 6035 | fi | 6936 | fi |
| 6937 | |||
| 6036 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6938 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_personality_linux32" >&5 | 6939 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
| 6038 | $as_echo "$emacs_cv_personality_linux32" >&6; } | 6940 | $as_echo "$emacs_cv_personality_linux32" >&6; } |
| 6039 | 6941 | ||
| 6040 | if test $emacs_cv_personality_linux32 = yes; then | 6942 | if test $emacs_cv_personality_linux32 = yes; then |
| 6041 | 6943 | ||
| 6042 | $as_echo "#define HAVE_PERSONALITY_LINUX32 1" >>confdefs.h | 6944 | cat >>confdefs.h <<\_ACEOF |
| 6945 | #define HAVE_PERSONALITY_LINUX32 1 | ||
| 6946 | _ACEOF | ||
| 6043 | 6947 | ||
| 6044 | fi | 6948 | fi |
| 6045 | 6949 | ||
| 6950 | |||
| 6046 | for ac_header in term.h | 6951 | for ac_header in term.h |
| 6047 | do : | 6952 | do |
| 6048 | ac_fn_c_check_header_preproc "$LINENO" "term.h" "ac_cv_header_term_h" | 6953 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6049 | if test "x$ac_cv_header_term_h" = x""yes; then : | 6954 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6955 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 6956 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 6957 | $as_echo_n "(cached) " >&6 | ||
| 6958 | else | ||
| 6959 | cat >conftest.$ac_ext <<_ACEOF | ||
| 6960 | /* confdefs.h. */ | ||
| 6961 | _ACEOF | ||
| 6962 | cat confdefs.h >>conftest.$ac_ext | ||
| 6963 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6964 | /* end confdefs.h. */ | ||
| 6965 | #include <$ac_header> | ||
| 6966 | _ACEOF | ||
| 6967 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 6968 | case "(($ac_try" in | ||
| 6969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6970 | *) ac_try_echo=$ac_try;; | ||
| 6971 | esac | ||
| 6972 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 6973 | $as_echo "$ac_try_echo") >&5 | ||
| 6974 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6975 | ac_status=$? | ||
| 6976 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 6977 | rm -f conftest.er1 | ||
| 6978 | cat conftest.err >&5 | ||
| 6979 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6980 | (exit $ac_status); } >/dev/null && { | ||
| 6981 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 6982 | test ! -s conftest.err | ||
| 6983 | }; then | ||
| 6984 | eval "$as_ac_Header=yes" | ||
| 6985 | else | ||
| 6986 | $as_echo "$as_me: failed program was:" >&5 | ||
| 6987 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 6988 | |||
| 6989 | eval "$as_ac_Header=no" | ||
| 6990 | fi | ||
| 6991 | |||
| 6992 | rm -f conftest.err conftest.$ac_ext | ||
| 6993 | fi | ||
| 6994 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 6995 | $as_echo "$as_val"'` | ||
| 6996 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 6997 | $as_echo "$ac_res" >&6; } | ||
| 6998 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 6999 | $as_echo "$as_val"'` = yes; then | ||
| 6050 | cat >>confdefs.h <<_ACEOF | 7000 | cat >>confdefs.h <<_ACEOF |
| 6051 | #define HAVE_TERM_H 1 | 7001 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6052 | _ACEOF | 7002 | _ACEOF |
| 6053 | 7003 | ||
| 6054 | fi | 7004 | fi |
| 6055 | 7005 | ||
| 6056 | done | 7006 | done |
| 6057 | 7007 | ||
| 6058 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 7008 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6059 | $as_echo_n "checking for ANSI C header files... " >&6; } | 7009 | $as_echo_n "checking for ANSI C header files... " >&6; } |
| 6060 | if test "${ac_cv_header_stdc+set}" = set; then : | 7010 | if test "${ac_cv_header_stdc+set}" = set; then |
| 6061 | $as_echo_n "(cached) " >&6 | 7011 | $as_echo_n "(cached) " >&6 |
| 6062 | else | 7012 | else |
| 6063 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7013 | cat >conftest.$ac_ext <<_ACEOF |
| 7014 | /* confdefs.h. */ | ||
| 7015 | _ACEOF | ||
| 7016 | cat confdefs.h >>conftest.$ac_ext | ||
| 7017 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6064 | /* end confdefs.h. */ | 7018 | /* end confdefs.h. */ |
| 6065 | #include <stdlib.h> | 7019 | #include <stdlib.h> |
| 6066 | #include <stdarg.h> | 7020 | #include <stdarg.h> |
| @@ -6075,23 +7029,48 @@ main () | |||
| 6075 | return 0; | 7029 | return 0; |
| 6076 | } | 7030 | } |
| 6077 | _ACEOF | 7031 | _ACEOF |
| 6078 | if ac_fn_c_try_compile "$LINENO"; then : | 7032 | rm -f conftest.$ac_objext |
| 7033 | if { (ac_try="$ac_compile" | ||
| 7034 | case "(($ac_try" in | ||
| 7035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7036 | *) ac_try_echo=$ac_try;; | ||
| 7037 | esac | ||
| 7038 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7039 | $as_echo "$ac_try_echo") >&5 | ||
| 7040 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7041 | ac_status=$? | ||
| 7042 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7043 | rm -f conftest.er1 | ||
| 7044 | cat conftest.err >&5 | ||
| 7045 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7046 | (exit $ac_status); } && { | ||
| 7047 | test -z "$ac_c_werror_flag" || | ||
| 7048 | test ! -s conftest.err | ||
| 7049 | } && test -s conftest.$ac_objext; then | ||
| 6079 | ac_cv_header_stdc=yes | 7050 | ac_cv_header_stdc=yes |
| 6080 | else | 7051 | else |
| 6081 | ac_cv_header_stdc=no | 7052 | $as_echo "$as_me: failed program was:" >&5 |
| 7053 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7054 | |||
| 7055 | ac_cv_header_stdc=no | ||
| 6082 | fi | 7056 | fi |
| 7057 | |||
| 6083 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7058 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6084 | 7059 | ||
| 6085 | if test $ac_cv_header_stdc = yes; then | 7060 | if test $ac_cv_header_stdc = yes; then |
| 6086 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7061 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 6087 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7062 | cat >conftest.$ac_ext <<_ACEOF |
| 7063 | /* confdefs.h. */ | ||
| 7064 | _ACEOF | ||
| 7065 | cat confdefs.h >>conftest.$ac_ext | ||
| 7066 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6088 | /* end confdefs.h. */ | 7067 | /* end confdefs.h. */ |
| 6089 | #include <string.h> | 7068 | #include <string.h> |
| 6090 | 7069 | ||
| 6091 | _ACEOF | 7070 | _ACEOF |
| 6092 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7071 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6093 | $EGREP "memchr" >/dev/null 2>&1; then : | 7072 | $EGREP "memchr" >/dev/null 2>&1; then |
| 6094 | 7073 | : | |
| 6095 | else | 7074 | else |
| 6096 | ac_cv_header_stdc=no | 7075 | ac_cv_header_stdc=no |
| 6097 | fi | 7076 | fi |
| @@ -6101,14 +7080,18 @@ fi | |||
| 6101 | 7080 | ||
| 6102 | if test $ac_cv_header_stdc = yes; then | 7081 | if test $ac_cv_header_stdc = yes; then |
| 6103 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7082 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 6104 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7083 | cat >conftest.$ac_ext <<_ACEOF |
| 7084 | /* confdefs.h. */ | ||
| 7085 | _ACEOF | ||
| 7086 | cat confdefs.h >>conftest.$ac_ext | ||
| 7087 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6105 | /* end confdefs.h. */ | 7088 | /* end confdefs.h. */ |
| 6106 | #include <stdlib.h> | 7089 | #include <stdlib.h> |
| 6107 | 7090 | ||
| 6108 | _ACEOF | 7091 | _ACEOF |
| 6109 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7092 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6110 | $EGREP "free" >/dev/null 2>&1; then : | 7093 | $EGREP "free" >/dev/null 2>&1; then |
| 6111 | 7094 | : | |
| 6112 | else | 7095 | else |
| 6113 | ac_cv_header_stdc=no | 7096 | ac_cv_header_stdc=no |
| 6114 | fi | 7097 | fi |
| @@ -6118,10 +7101,14 @@ fi | |||
| 6118 | 7101 | ||
| 6119 | if test $ac_cv_header_stdc = yes; then | 7102 | if test $ac_cv_header_stdc = yes; then |
| 6120 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 7103 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 6121 | if test "$cross_compiling" = yes; then : | 7104 | if test "$cross_compiling" = yes; then |
| 6122 | : | 7105 | : |
| 6123 | else | 7106 | else |
| 6124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7107 | cat >conftest.$ac_ext <<_ACEOF |
| 7108 | /* confdefs.h. */ | ||
| 7109 | _ACEOF | ||
| 7110 | cat confdefs.h >>conftest.$ac_ext | ||
| 7111 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6125 | /* end confdefs.h. */ | 7112 | /* end confdefs.h. */ |
| 6126 | #include <ctype.h> | 7113 | #include <ctype.h> |
| 6127 | #include <stdlib.h> | 7114 | #include <stdlib.h> |
| @@ -6148,31 +7135,64 @@ main () | |||
| 6148 | return 0; | 7135 | return 0; |
| 6149 | } | 7136 | } |
| 6150 | _ACEOF | 7137 | _ACEOF |
| 6151 | if ac_fn_c_try_run "$LINENO"; then : | 7138 | rm -f conftest$ac_exeext |
| 6152 | 7139 | if { (ac_try="$ac_link" | |
| 7140 | case "(($ac_try" in | ||
| 7141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7142 | *) ac_try_echo=$ac_try;; | ||
| 7143 | esac | ||
| 7144 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7145 | $as_echo "$ac_try_echo") >&5 | ||
| 7146 | (eval "$ac_link") 2>&5 | ||
| 7147 | ac_status=$? | ||
| 7148 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7149 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 7150 | { (case "(($ac_try" in | ||
| 7151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7152 | *) ac_try_echo=$ac_try;; | ||
| 7153 | esac | ||
| 7154 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7155 | $as_echo "$ac_try_echo") >&5 | ||
| 7156 | (eval "$ac_try") 2>&5 | ||
| 7157 | ac_status=$? | ||
| 7158 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7159 | (exit $ac_status); }; }; then | ||
| 7160 | : | ||
| 6153 | else | 7161 | else |
| 6154 | ac_cv_header_stdc=no | 7162 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 7163 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7164 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7165 | |||
| 7166 | ( exit $ac_status ) | ||
| 7167 | ac_cv_header_stdc=no | ||
| 6155 | fi | 7168 | fi |
| 6156 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7169 | rm -rf conftest.dSYM |
| 6157 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 7170 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6158 | fi | 7171 | fi |
| 6159 | 7172 | ||
| 7173 | |||
| 6160 | fi | 7174 | fi |
| 6161 | fi | 7175 | fi |
| 6162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 7176 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 6163 | $as_echo "$ac_cv_header_stdc" >&6; } | 7177 | $as_echo "$ac_cv_header_stdc" >&6; } |
| 6164 | if test $ac_cv_header_stdc = yes; then | 7178 | if test $ac_cv_header_stdc = yes; then |
| 6165 | 7179 | ||
| 6166 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 7180 | cat >>confdefs.h <<\_ACEOF |
| 7181 | #define STDC_HEADERS 1 | ||
| 7182 | _ACEOF | ||
| 6167 | 7183 | ||
| 6168 | fi | 7184 | fi |
| 6169 | 7185 | ||
| 6170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 | 7186 | { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6171 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } | 7187 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 6172 | if test "${ac_cv_header_time+set}" = set; then : | 7188 | if test "${ac_cv_header_time+set}" = set; then |
| 6173 | $as_echo_n "(cached) " >&6 | 7189 | $as_echo_n "(cached) " >&6 |
| 6174 | else | 7190 | else |
| 6175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7191 | cat >conftest.$ac_ext <<_ACEOF |
| 7192 | /* confdefs.h. */ | ||
| 7193 | _ACEOF | ||
| 7194 | cat confdefs.h >>conftest.$ac_ext | ||
| 7195 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6176 | /* end confdefs.h. */ | 7196 | /* end confdefs.h. */ |
| 6177 | #include <sys/types.h> | 7197 | #include <sys/types.h> |
| 6178 | #include <sys/time.h> | 7198 | #include <sys/time.h> |
| @@ -6187,57 +7207,202 @@ return 0; | |||
| 6187 | return 0; | 7207 | return 0; |
| 6188 | } | 7208 | } |
| 6189 | _ACEOF | 7209 | _ACEOF |
| 6190 | if ac_fn_c_try_compile "$LINENO"; then : | 7210 | rm -f conftest.$ac_objext |
| 7211 | if { (ac_try="$ac_compile" | ||
| 7212 | case "(($ac_try" in | ||
| 7213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7214 | *) ac_try_echo=$ac_try;; | ||
| 7215 | esac | ||
| 7216 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7217 | $as_echo "$ac_try_echo") >&5 | ||
| 7218 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7219 | ac_status=$? | ||
| 7220 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7221 | rm -f conftest.er1 | ||
| 7222 | cat conftest.err >&5 | ||
| 7223 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7224 | (exit $ac_status); } && { | ||
| 7225 | test -z "$ac_c_werror_flag" || | ||
| 7226 | test ! -s conftest.err | ||
| 7227 | } && test -s conftest.$ac_objext; then | ||
| 6191 | ac_cv_header_time=yes | 7228 | ac_cv_header_time=yes |
| 6192 | else | 7229 | else |
| 6193 | ac_cv_header_time=no | 7230 | $as_echo "$as_me: failed program was:" >&5 |
| 7231 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7232 | |||
| 7233 | ac_cv_header_time=no | ||
| 6194 | fi | 7234 | fi |
| 7235 | |||
| 6195 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7236 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6196 | fi | 7237 | fi |
| 6197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 | 7238 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6198 | $as_echo "$ac_cv_header_time" >&6; } | 7239 | $as_echo "$ac_cv_header_time" >&6; } |
| 6199 | if test $ac_cv_header_time = yes; then | 7240 | if test $ac_cv_header_time = yes; then |
| 6200 | 7241 | ||
| 6201 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h | 7242 | cat >>confdefs.h <<\_ACEOF |
| 7243 | #define TIME_WITH_SYS_TIME 1 | ||
| 7244 | _ACEOF | ||
| 6202 | 7245 | ||
| 6203 | fi | 7246 | fi |
| 6204 | 7247 | ||
| 6205 | ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default" | 7248 | { $as_echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
| 6206 | if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : | 7249 | $as_echo_n "checking whether sys_siglist is declared... " >&6; } |
| 6207 | ac_have_decl=1 | 7250 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
| 7251 | $as_echo_n "(cached) " >&6 | ||
| 6208 | else | 7252 | else |
| 6209 | ac_have_decl=0 | 7253 | cat >conftest.$ac_ext <<_ACEOF |
| 7254 | /* confdefs.h. */ | ||
| 7255 | _ACEOF | ||
| 7256 | cat confdefs.h >>conftest.$ac_ext | ||
| 7257 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7258 | /* end confdefs.h. */ | ||
| 7259 | $ac_includes_default | ||
| 7260 | int | ||
| 7261 | main () | ||
| 7262 | { | ||
| 7263 | #ifndef sys_siglist | ||
| 7264 | (void) sys_siglist; | ||
| 7265 | #endif | ||
| 7266 | |||
| 7267 | ; | ||
| 7268 | return 0; | ||
| 7269 | } | ||
| 7270 | _ACEOF | ||
| 7271 | rm -f conftest.$ac_objext | ||
| 7272 | if { (ac_try="$ac_compile" | ||
| 7273 | case "(($ac_try" in | ||
| 7274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7275 | *) ac_try_echo=$ac_try;; | ||
| 7276 | esac | ||
| 7277 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7278 | $as_echo "$ac_try_echo") >&5 | ||
| 7279 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7280 | ac_status=$? | ||
| 7281 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7282 | rm -f conftest.er1 | ||
| 7283 | cat conftest.err >&5 | ||
| 7284 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7285 | (exit $ac_status); } && { | ||
| 7286 | test -z "$ac_c_werror_flag" || | ||
| 7287 | test ! -s conftest.err | ||
| 7288 | } && test -s conftest.$ac_objext; then | ||
| 7289 | ac_cv_have_decl_sys_siglist=yes | ||
| 7290 | else | ||
| 7291 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7292 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7293 | |||
| 7294 | ac_cv_have_decl_sys_siglist=no | ||
| 7295 | fi | ||
| 7296 | |||
| 7297 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6210 | fi | 7298 | fi |
| 7299 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | ||
| 7300 | $as_echo "$ac_cv_have_decl_sys_siglist" >&6; } | ||
| 7301 | if test $ac_cv_have_decl_sys_siglist = yes; then | ||
| 6211 | 7302 | ||
| 6212 | cat >>confdefs.h <<_ACEOF | 7303 | cat >>confdefs.h <<_ACEOF |
| 6213 | #define HAVE_DECL_SYS_SIGLIST $ac_have_decl | 7304 | #define HAVE_DECL_SYS_SIGLIST 1 |
| 7305 | _ACEOF | ||
| 7306 | |||
| 7307 | |||
| 7308 | else | ||
| 7309 | cat >>confdefs.h <<_ACEOF | ||
| 7310 | #define HAVE_DECL_SYS_SIGLIST 0 | ||
| 6214 | _ACEOF | 7311 | _ACEOF |
| 6215 | 7312 | ||
| 7313 | |||
| 7314 | fi | ||
| 7315 | |||
| 7316 | |||
| 6216 | if test $ac_cv_have_decl_sys_siglist != yes; then | 7317 | if test $ac_cv_have_decl_sys_siglist != yes; then |
| 6217 | # For Tru64, at least: | 7318 | # For Tru64, at least: |
| 6218 | ac_fn_c_check_decl "$LINENO" "__sys_siglist" "ac_cv_have_decl___sys_siglist" "$ac_includes_default" | 7319 | { $as_echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
| 6219 | if test "x$ac_cv_have_decl___sys_siglist" = x""yes; then : | 7320 | $as_echo_n "checking whether __sys_siglist is declared... " >&6; } |
| 6220 | ac_have_decl=1 | 7321 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
| 7322 | $as_echo_n "(cached) " >&6 | ||
| 7323 | else | ||
| 7324 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7325 | /* confdefs.h. */ | ||
| 7326 | _ACEOF | ||
| 7327 | cat confdefs.h >>conftest.$ac_ext | ||
| 7328 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7329 | /* end confdefs.h. */ | ||
| 7330 | $ac_includes_default | ||
| 7331 | int | ||
| 7332 | main () | ||
| 7333 | { | ||
| 7334 | #ifndef __sys_siglist | ||
| 7335 | (void) __sys_siglist; | ||
| 7336 | #endif | ||
| 7337 | |||
| 7338 | ; | ||
| 7339 | return 0; | ||
| 7340 | } | ||
| 7341 | _ACEOF | ||
| 7342 | rm -f conftest.$ac_objext | ||
| 7343 | if { (ac_try="$ac_compile" | ||
| 7344 | case "(($ac_try" in | ||
| 7345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7346 | *) ac_try_echo=$ac_try;; | ||
| 7347 | esac | ||
| 7348 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7349 | $as_echo "$ac_try_echo") >&5 | ||
| 7350 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7351 | ac_status=$? | ||
| 7352 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7353 | rm -f conftest.er1 | ||
| 7354 | cat conftest.err >&5 | ||
| 7355 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7356 | (exit $ac_status); } && { | ||
| 7357 | test -z "$ac_c_werror_flag" || | ||
| 7358 | test ! -s conftest.err | ||
| 7359 | } && test -s conftest.$ac_objext; then | ||
| 7360 | ac_cv_have_decl___sys_siglist=yes | ||
| 6221 | else | 7361 | else |
| 6222 | ac_have_decl=0 | 7362 | $as_echo "$as_me: failed program was:" >&5 |
| 7363 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7364 | |||
| 7365 | ac_cv_have_decl___sys_siglist=no | ||
| 7366 | fi | ||
| 7367 | |||
| 7368 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6223 | fi | 7369 | fi |
| 7370 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | ||
| 7371 | $as_echo "$ac_cv_have_decl___sys_siglist" >&6; } | ||
| 7372 | if test $ac_cv_have_decl___sys_siglist = yes; then | ||
| 6224 | 7373 | ||
| 6225 | cat >>confdefs.h <<_ACEOF | 7374 | cat >>confdefs.h <<_ACEOF |
| 6226 | #define HAVE_DECL___SYS_SIGLIST $ac_have_decl | 7375 | #define HAVE_DECL___SYS_SIGLIST 1 |
| 7376 | _ACEOF | ||
| 7377 | |||
| 7378 | |||
| 7379 | else | ||
| 7380 | cat >>confdefs.h <<_ACEOF | ||
| 7381 | #define HAVE_DECL___SYS_SIGLIST 0 | ||
| 6227 | _ACEOF | 7382 | _ACEOF |
| 6228 | 7383 | ||
| 7384 | |||
| 7385 | fi | ||
| 7386 | |||
| 7387 | |||
| 6229 | if test $ac_cv_have_decl___sys_siglist = yes; then | 7388 | if test $ac_cv_have_decl___sys_siglist = yes; then |
| 6230 | 7389 | ||
| 6231 | $as_echo "#define sys_siglist __sys_siglist" >>confdefs.h | 7390 | cat >>confdefs.h <<\_ACEOF |
| 7391 | #define sys_siglist __sys_siglist | ||
| 7392 | _ACEOF | ||
| 6232 | 7393 | ||
| 6233 | fi | 7394 | fi |
| 6234 | fi | 7395 | fi |
| 6235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7396 | { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 6236 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } | 7397 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
| 6237 | if test "${ac_cv_header_sys_wait_h+set}" = set; then : | 7398 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
| 6238 | $as_echo_n "(cached) " >&6 | 7399 | $as_echo_n "(cached) " >&6 |
| 6239 | else | 7400 | else |
| 6240 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7401 | cat >conftest.$ac_ext <<_ACEOF |
| 7402 | /* confdefs.h. */ | ||
| 7403 | _ACEOF | ||
| 7404 | cat confdefs.h >>conftest.$ac_ext | ||
| 7405 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6241 | /* end confdefs.h. */ | 7406 | /* end confdefs.h. */ |
| 6242 | #include <sys/types.h> | 7407 | #include <sys/types.h> |
| 6243 | #include <sys/wait.h> | 7408 | #include <sys/wait.h> |
| @@ -6258,28 +7423,55 @@ main () | |||
| 6258 | return 0; | 7423 | return 0; |
| 6259 | } | 7424 | } |
| 6260 | _ACEOF | 7425 | _ACEOF |
| 6261 | if ac_fn_c_try_compile "$LINENO"; then : | 7426 | rm -f conftest.$ac_objext |
| 7427 | if { (ac_try="$ac_compile" | ||
| 7428 | case "(($ac_try" in | ||
| 7429 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7430 | *) ac_try_echo=$ac_try;; | ||
| 7431 | esac | ||
| 7432 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7433 | $as_echo "$ac_try_echo") >&5 | ||
| 7434 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7435 | ac_status=$? | ||
| 7436 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7437 | rm -f conftest.er1 | ||
| 7438 | cat conftest.err >&5 | ||
| 7439 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7440 | (exit $ac_status); } && { | ||
| 7441 | test -z "$ac_c_werror_flag" || | ||
| 7442 | test ! -s conftest.err | ||
| 7443 | } && test -s conftest.$ac_objext; then | ||
| 6262 | ac_cv_header_sys_wait_h=yes | 7444 | ac_cv_header_sys_wait_h=yes |
| 6263 | else | 7445 | else |
| 6264 | ac_cv_header_sys_wait_h=no | 7446 | $as_echo "$as_me: failed program was:" >&5 |
| 7447 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7448 | |||
| 7449 | ac_cv_header_sys_wait_h=no | ||
| 6265 | fi | 7450 | fi |
| 7451 | |||
| 6266 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7452 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6267 | fi | 7453 | fi |
| 6268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 | 7454 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 6269 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } | 7455 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
| 6270 | if test $ac_cv_header_sys_wait_h = yes; then | 7456 | if test $ac_cv_header_sys_wait_h = yes; then |
| 6271 | 7457 | ||
| 6272 | $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h | 7458 | cat >>confdefs.h <<\_ACEOF |
| 7459 | #define HAVE_SYS_WAIT_H 1 | ||
| 7460 | _ACEOF | ||
| 6273 | 7461 | ||
| 6274 | fi | 7462 | fi |
| 6275 | 7463 | ||
| 6276 | 7464 | ||
| 6277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utimbuf" >&5 | 7465 | { $as_echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
| 6278 | $as_echo_n "checking for struct utimbuf... " >&6; } | 7466 | $as_echo_n "checking for struct utimbuf... " >&6; } |
| 6279 | if test "${emacs_cv_struct_utimbuf+set}" = set; then : | 7467 | if test "${emacs_cv_struct_utimbuf+set}" = set; then |
| 6280 | $as_echo_n "(cached) " >&6 | 7468 | $as_echo_n "(cached) " >&6 |
| 6281 | else | 7469 | else |
| 6282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7470 | cat >conftest.$ac_ext <<_ACEOF |
| 7471 | /* confdefs.h. */ | ||
| 7472 | _ACEOF | ||
| 7473 | cat confdefs.h >>conftest.$ac_ext | ||
| 7474 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6283 | /* end confdefs.h. */ | 7475 | /* end confdefs.h. */ |
| 6284 | #ifdef TIME_WITH_SYS_TIME | 7476 | #ifdef TIME_WITH_SYS_TIME |
| 6285 | #include <sys/time.h> | 7477 | #include <sys/time.h> |
| @@ -6302,27 +7494,54 @@ static struct utimbuf x; x.actime = x.modtime; | |||
| 6302 | return 0; | 7494 | return 0; |
| 6303 | } | 7495 | } |
| 6304 | _ACEOF | 7496 | _ACEOF |
| 6305 | if ac_fn_c_try_compile "$LINENO"; then : | 7497 | rm -f conftest.$ac_objext |
| 7498 | if { (ac_try="$ac_compile" | ||
| 7499 | case "(($ac_try" in | ||
| 7500 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7501 | *) ac_try_echo=$ac_try;; | ||
| 7502 | esac | ||
| 7503 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7504 | $as_echo "$ac_try_echo") >&5 | ||
| 7505 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7506 | ac_status=$? | ||
| 7507 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7508 | rm -f conftest.er1 | ||
| 7509 | cat conftest.err >&5 | ||
| 7510 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7511 | (exit $ac_status); } && { | ||
| 7512 | test -z "$ac_c_werror_flag" || | ||
| 7513 | test ! -s conftest.err | ||
| 7514 | } && test -s conftest.$ac_objext; then | ||
| 6306 | emacs_cv_struct_utimbuf=yes | 7515 | emacs_cv_struct_utimbuf=yes |
| 6307 | else | 7516 | else |
| 6308 | emacs_cv_struct_utimbuf=no | 7517 | $as_echo "$as_me: failed program was:" >&5 |
| 7518 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7519 | |||
| 7520 | emacs_cv_struct_utimbuf=no | ||
| 6309 | fi | 7521 | fi |
| 7522 | |||
| 6310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7523 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6311 | fi | 7524 | fi |
| 6312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_utimbuf" >&5 | 7525 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
| 6313 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } | 7526 | $as_echo "$emacs_cv_struct_utimbuf" >&6; } |
| 6314 | if test $emacs_cv_struct_utimbuf = yes; then | 7527 | if test $emacs_cv_struct_utimbuf = yes; then |
| 6315 | 7528 | ||
| 6316 | $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h | 7529 | cat >>confdefs.h <<\_ACEOF |
| 7530 | #define HAVE_STRUCT_UTIMBUF 1 | ||
| 7531 | _ACEOF | ||
| 6317 | 7532 | ||
| 6318 | fi | 7533 | fi |
| 6319 | 7534 | ||
| 6320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 | 7535 | { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
| 6321 | $as_echo_n "checking return type of signal handlers... " >&6; } | 7536 | $as_echo_n "checking return type of signal handlers... " >&6; } |
| 6322 | if test "${ac_cv_type_signal+set}" = set; then : | 7537 | if test "${ac_cv_type_signal+set}" = set; then |
| 6323 | $as_echo_n "(cached) " >&6 | 7538 | $as_echo_n "(cached) " >&6 |
| 6324 | else | 7539 | else |
| 6325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7540 | cat >conftest.$ac_ext <<_ACEOF |
| 7541 | /* confdefs.h. */ | ||
| 7542 | _ACEOF | ||
| 7543 | cat confdefs.h >>conftest.$ac_ext | ||
| 7544 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6326 | /* end confdefs.h. */ | 7545 | /* end confdefs.h. */ |
| 6327 | #include <sys/types.h> | 7546 | #include <sys/types.h> |
| 6328 | #include <signal.h> | 7547 | #include <signal.h> |
| @@ -6335,14 +7554,35 @@ return *(signal (0, 0)) (0) == 1; | |||
| 6335 | return 0; | 7554 | return 0; |
| 6336 | } | 7555 | } |
| 6337 | _ACEOF | 7556 | _ACEOF |
| 6338 | if ac_fn_c_try_compile "$LINENO"; then : | 7557 | rm -f conftest.$ac_objext |
| 7558 | if { (ac_try="$ac_compile" | ||
| 7559 | case "(($ac_try" in | ||
| 7560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7561 | *) ac_try_echo=$ac_try;; | ||
| 7562 | esac | ||
| 7563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7564 | $as_echo "$ac_try_echo") >&5 | ||
| 7565 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7566 | ac_status=$? | ||
| 7567 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7568 | rm -f conftest.er1 | ||
| 7569 | cat conftest.err >&5 | ||
| 7570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7571 | (exit $ac_status); } && { | ||
| 7572 | test -z "$ac_c_werror_flag" || | ||
| 7573 | test ! -s conftest.err | ||
| 7574 | } && test -s conftest.$ac_objext; then | ||
| 6339 | ac_cv_type_signal=int | 7575 | ac_cv_type_signal=int |
| 6340 | else | 7576 | else |
| 6341 | ac_cv_type_signal=void | 7577 | $as_echo "$as_me: failed program was:" >&5 |
| 7578 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7579 | |||
| 7580 | ac_cv_type_signal=void | ||
| 6342 | fi | 7581 | fi |
| 7582 | |||
| 6343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7583 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6344 | fi | 7584 | fi |
| 6345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | 7585 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
| 6346 | $as_echo "$ac_cv_type_signal" >&6; } | 7586 | $as_echo "$ac_cv_type_signal" >&6; } |
| 6347 | 7587 | ||
| 6348 | cat >>confdefs.h <<_ACEOF | 7588 | cat >>confdefs.h <<_ACEOF |
| @@ -6351,12 +7591,16 @@ _ACEOF | |||
| 6351 | 7591 | ||
| 6352 | 7592 | ||
| 6353 | 7593 | ||
| 6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speed_t" >&5 | 7594 | { $as_echo "$as_me:$LINENO: checking for speed_t" >&5 |
| 6355 | $as_echo_n "checking for speed_t... " >&6; } | 7595 | $as_echo_n "checking for speed_t... " >&6; } |
| 6356 | if test "${emacs_cv_speed_t+set}" = set; then : | 7596 | if test "${emacs_cv_speed_t+set}" = set; then |
| 6357 | $as_echo_n "(cached) " >&6 | 7597 | $as_echo_n "(cached) " >&6 |
| 6358 | else | 7598 | else |
| 6359 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7599 | cat >conftest.$ac_ext <<_ACEOF |
| 7600 | /* confdefs.h. */ | ||
| 7601 | _ACEOF | ||
| 7602 | cat confdefs.h >>conftest.$ac_ext | ||
| 7603 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6360 | /* end confdefs.h. */ | 7604 | /* end confdefs.h. */ |
| 6361 | #include <termios.h> | 7605 | #include <termios.h> |
| 6362 | int | 7606 | int |
| @@ -6367,27 +7611,54 @@ speed_t x = 1; | |||
| 6367 | return 0; | 7611 | return 0; |
| 6368 | } | 7612 | } |
| 6369 | _ACEOF | 7613 | _ACEOF |
| 6370 | if ac_fn_c_try_compile "$LINENO"; then : | 7614 | rm -f conftest.$ac_objext |
| 7615 | if { (ac_try="$ac_compile" | ||
| 7616 | case "(($ac_try" in | ||
| 7617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7618 | *) ac_try_echo=$ac_try;; | ||
| 7619 | esac | ||
| 7620 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7621 | $as_echo "$ac_try_echo") >&5 | ||
| 7622 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7623 | ac_status=$? | ||
| 7624 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7625 | rm -f conftest.er1 | ||
| 7626 | cat conftest.err >&5 | ||
| 7627 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7628 | (exit $ac_status); } && { | ||
| 7629 | test -z "$ac_c_werror_flag" || | ||
| 7630 | test ! -s conftest.err | ||
| 7631 | } && test -s conftest.$ac_objext; then | ||
| 6371 | emacs_cv_speed_t=yes | 7632 | emacs_cv_speed_t=yes |
| 6372 | else | 7633 | else |
| 6373 | emacs_cv_speed_t=no | 7634 | $as_echo "$as_me: failed program was:" >&5 |
| 7635 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7636 | |||
| 7637 | emacs_cv_speed_t=no | ||
| 6374 | fi | 7638 | fi |
| 7639 | |||
| 6375 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6376 | fi | 7641 | fi |
| 6377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_speed_t" >&5 | 7642 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
| 6378 | $as_echo "$emacs_cv_speed_t" >&6; } | 7643 | $as_echo "$emacs_cv_speed_t" >&6; } |
| 6379 | if test $emacs_cv_speed_t = yes; then | 7644 | if test $emacs_cv_speed_t = yes; then |
| 6380 | 7645 | ||
| 6381 | $as_echo "#define HAVE_SPEED_T 1" >>confdefs.h | 7646 | cat >>confdefs.h <<\_ACEOF |
| 7647 | #define HAVE_SPEED_T 1 | ||
| 7648 | _ACEOF | ||
| 6382 | 7649 | ||
| 6383 | fi | 7650 | fi |
| 6384 | 7651 | ||
| 6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 7652 | { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 |
| 6386 | $as_echo_n "checking for struct timeval... " >&6; } | 7653 | $as_echo_n "checking for struct timeval... " >&6; } |
| 6387 | if test "${emacs_cv_struct_timeval+set}" = set; then : | 7654 | if test "${emacs_cv_struct_timeval+set}" = set; then |
| 6388 | $as_echo_n "(cached) " >&6 | 7655 | $as_echo_n "(cached) " >&6 |
| 6389 | else | 7656 | else |
| 6390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7657 | cat >conftest.$ac_ext <<_ACEOF |
| 7658 | /* confdefs.h. */ | ||
| 7659 | _ACEOF | ||
| 7660 | cat confdefs.h >>conftest.$ac_ext | ||
| 7661 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6391 | /* end confdefs.h. */ | 7662 | /* end confdefs.h. */ |
| 6392 | #ifdef TIME_WITH_SYS_TIME | 7663 | #ifdef TIME_WITH_SYS_TIME |
| 6393 | #include <sys/time.h> | 7664 | #include <sys/time.h> |
| @@ -6407,28 +7678,55 @@ static struct timeval x; x.tv_sec = x.tv_usec; | |||
| 6407 | return 0; | 7678 | return 0; |
| 6408 | } | 7679 | } |
| 6409 | _ACEOF | 7680 | _ACEOF |
| 6410 | if ac_fn_c_try_compile "$LINENO"; then : | 7681 | rm -f conftest.$ac_objext |
| 7682 | if { (ac_try="$ac_compile" | ||
| 7683 | case "(($ac_try" in | ||
| 7684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7685 | *) ac_try_echo=$ac_try;; | ||
| 7686 | esac | ||
| 7687 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7688 | $as_echo "$ac_try_echo") >&5 | ||
| 7689 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7690 | ac_status=$? | ||
| 7691 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7692 | rm -f conftest.er1 | ||
| 7693 | cat conftest.err >&5 | ||
| 7694 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7695 | (exit $ac_status); } && { | ||
| 7696 | test -z "$ac_c_werror_flag" || | ||
| 7697 | test ! -s conftest.err | ||
| 7698 | } && test -s conftest.$ac_objext; then | ||
| 6411 | emacs_cv_struct_timeval=yes | 7699 | emacs_cv_struct_timeval=yes |
| 6412 | else | 7700 | else |
| 6413 | emacs_cv_struct_timeval=no | 7701 | $as_echo "$as_me: failed program was:" >&5 |
| 7702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7703 | |||
| 7704 | emacs_cv_struct_timeval=no | ||
| 6414 | fi | 7705 | fi |
| 7706 | |||
| 6415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6416 | fi | 7708 | fi |
| 6417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_timeval" >&5 | 7709 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
| 6418 | $as_echo "$emacs_cv_struct_timeval" >&6; } | 7710 | $as_echo "$emacs_cv_struct_timeval" >&6; } |
| 6419 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7711 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 6420 | if test $emacs_cv_struct_timeval = yes; then | 7712 | if test $emacs_cv_struct_timeval = yes; then |
| 6421 | 7713 | ||
| 6422 | $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h | 7714 | cat >>confdefs.h <<\_ACEOF |
| 7715 | #define HAVE_TIMEVAL 1 | ||
| 7716 | _ACEOF | ||
| 6423 | 7717 | ||
| 6424 | fi | 7718 | fi |
| 6425 | 7719 | ||
| 6426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct exception" >&5 | 7720 | { $as_echo "$as_me:$LINENO: checking for struct exception" >&5 |
| 6427 | $as_echo_n "checking for struct exception... " >&6; } | 7721 | $as_echo_n "checking for struct exception... " >&6; } |
| 6428 | if test "${emacs_cv_struct_exception+set}" = set; then : | 7722 | if test "${emacs_cv_struct_exception+set}" = set; then |
| 6429 | $as_echo_n "(cached) " >&6 | 7723 | $as_echo_n "(cached) " >&6 |
| 6430 | else | 7724 | else |
| 6431 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7725 | cat >conftest.$ac_ext <<_ACEOF |
| 7726 | /* confdefs.h. */ | ||
| 7727 | _ACEOF | ||
| 7728 | cat confdefs.h >>conftest.$ac_ext | ||
| 7729 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6432 | /* end confdefs.h. */ | 7730 | /* end confdefs.h. */ |
| 6433 | #include <math.h> | 7731 | #include <math.h> |
| 6434 | int | 7732 | int |
| @@ -6439,44 +7737,248 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |||
| 6439 | return 0; | 7737 | return 0; |
| 6440 | } | 7738 | } |
| 6441 | _ACEOF | 7739 | _ACEOF |
| 6442 | if ac_fn_c_try_compile "$LINENO"; then : | 7740 | rm -f conftest.$ac_objext |
| 7741 | if { (ac_try="$ac_compile" | ||
| 7742 | case "(($ac_try" in | ||
| 7743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7744 | *) ac_try_echo=$ac_try;; | ||
| 7745 | esac | ||
| 7746 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7747 | $as_echo "$ac_try_echo") >&5 | ||
| 7748 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7749 | ac_status=$? | ||
| 7750 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7751 | rm -f conftest.er1 | ||
| 7752 | cat conftest.err >&5 | ||
| 7753 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7754 | (exit $ac_status); } && { | ||
| 7755 | test -z "$ac_c_werror_flag" || | ||
| 7756 | test ! -s conftest.err | ||
| 7757 | } && test -s conftest.$ac_objext; then | ||
| 6443 | emacs_cv_struct_exception=yes | 7758 | emacs_cv_struct_exception=yes |
| 6444 | else | 7759 | else |
| 6445 | emacs_cv_struct_exception=no | 7760 | $as_echo "$as_me: failed program was:" >&5 |
| 7761 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7762 | |||
| 7763 | emacs_cv_struct_exception=no | ||
| 6446 | fi | 7764 | fi |
| 7765 | |||
| 6447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7766 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6448 | fi | 7767 | fi |
| 6449 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 | 7768 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
| 6450 | $as_echo "$emacs_cv_struct_exception" >&6; } | 7769 | $as_echo "$emacs_cv_struct_exception" >&6; } |
| 6451 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 7770 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 6452 | if test $emacs_cv_struct_exception != yes; then | 7771 | if test $emacs_cv_struct_exception != yes; then |
| 6453 | 7772 | ||
| 6454 | $as_echo "#define NO_MATHERR 1" >>confdefs.h | 7773 | cat >>confdefs.h <<\_ACEOF |
| 7774 | #define NO_MATHERR 1 | ||
| 7775 | _ACEOF | ||
| 6455 | 7776 | ||
| 6456 | fi | 7777 | fi |
| 6457 | 7778 | ||
| 7779 | |||
| 6458 | for ac_header in sys/socket.h | 7780 | for ac_header in sys/socket.h |
| 6459 | do : | 7781 | do |
| 6460 | ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" | 7782 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6461 | if test "x$ac_cv_header_sys_socket_h" = x""yes; then : | 7783 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7784 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7785 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7786 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7787 | $as_echo_n "(cached) " >&6 | ||
| 7788 | fi | ||
| 7789 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7790 | $as_echo "$as_val"'` | ||
| 7791 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7792 | $as_echo "$ac_res" >&6; } | ||
| 7793 | else | ||
| 7794 | # Is the header compilable? | ||
| 7795 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 7796 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 7797 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7798 | /* confdefs.h. */ | ||
| 7799 | _ACEOF | ||
| 7800 | cat confdefs.h >>conftest.$ac_ext | ||
| 7801 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7802 | /* end confdefs.h. */ | ||
| 7803 | $ac_includes_default | ||
| 7804 | #include <$ac_header> | ||
| 7805 | _ACEOF | ||
| 7806 | rm -f conftest.$ac_objext | ||
| 7807 | if { (ac_try="$ac_compile" | ||
| 7808 | case "(($ac_try" in | ||
| 7809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7810 | *) ac_try_echo=$ac_try;; | ||
| 7811 | esac | ||
| 7812 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7813 | $as_echo "$ac_try_echo") >&5 | ||
| 7814 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7815 | ac_status=$? | ||
| 7816 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7817 | rm -f conftest.er1 | ||
| 7818 | cat conftest.err >&5 | ||
| 7819 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7820 | (exit $ac_status); } && { | ||
| 7821 | test -z "$ac_c_werror_flag" || | ||
| 7822 | test ! -s conftest.err | ||
| 7823 | } && test -s conftest.$ac_objext; then | ||
| 7824 | ac_header_compiler=yes | ||
| 7825 | else | ||
| 7826 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7827 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7828 | |||
| 7829 | ac_header_compiler=no | ||
| 7830 | fi | ||
| 7831 | |||
| 7832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7833 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 7834 | $as_echo "$ac_header_compiler" >&6; } | ||
| 7835 | |||
| 7836 | # Is the header present? | ||
| 7837 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 7838 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 7839 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7840 | /* confdefs.h. */ | ||
| 7841 | _ACEOF | ||
| 7842 | cat confdefs.h >>conftest.$ac_ext | ||
| 7843 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7844 | /* end confdefs.h. */ | ||
| 7845 | #include <$ac_header> | ||
| 7846 | _ACEOF | ||
| 7847 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 7848 | case "(($ac_try" in | ||
| 7849 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7850 | *) ac_try_echo=$ac_try;; | ||
| 7851 | esac | ||
| 7852 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7853 | $as_echo "$ac_try_echo") >&5 | ||
| 7854 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 7855 | ac_status=$? | ||
| 7856 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7857 | rm -f conftest.er1 | ||
| 7858 | cat conftest.err >&5 | ||
| 7859 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7860 | (exit $ac_status); } >/dev/null && { | ||
| 7861 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 7862 | test ! -s conftest.err | ||
| 7863 | }; then | ||
| 7864 | ac_header_preproc=yes | ||
| 7865 | else | ||
| 7866 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7867 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7868 | |||
| 7869 | ac_header_preproc=no | ||
| 7870 | fi | ||
| 7871 | |||
| 7872 | rm -f conftest.err conftest.$ac_ext | ||
| 7873 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 7874 | $as_echo "$ac_header_preproc" >&6; } | ||
| 7875 | |||
| 7876 | # So? What about this header? | ||
| 7877 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 7878 | yes:no: ) | ||
| 7879 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 7880 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 7881 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 7882 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 7883 | ac_header_preproc=yes | ||
| 7884 | ;; | ||
| 7885 | no:yes:* ) | ||
| 7886 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 7887 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 7888 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 7889 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 7890 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 7891 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 7892 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 7893 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 7894 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 7895 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 7896 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 7897 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 7898 | |||
| 7899 | ;; | ||
| 7900 | esac | ||
| 7901 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7902 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7903 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7904 | $as_echo_n "(cached) " >&6 | ||
| 7905 | else | ||
| 7906 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 7907 | fi | ||
| 7908 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7909 | $as_echo "$as_val"'` | ||
| 7910 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7911 | $as_echo "$ac_res" >&6; } | ||
| 7912 | |||
| 7913 | fi | ||
| 7914 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7915 | $as_echo "$as_val"'` = yes; then | ||
| 6462 | cat >>confdefs.h <<_ACEOF | 7916 | cat >>confdefs.h <<_ACEOF |
| 6463 | #define HAVE_SYS_SOCKET_H 1 | 7917 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6464 | _ACEOF | 7918 | _ACEOF |
| 6465 | 7919 | ||
| 6466 | fi | 7920 | fi |
| 6467 | 7921 | ||
| 6468 | done | 7922 | done |
| 6469 | 7923 | ||
| 7924 | |||
| 6470 | for ac_header in net/if.h | 7925 | for ac_header in net/if.h |
| 6471 | do : | 7926 | do |
| 6472 | ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default | 7927 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7928 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 7929 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 7930 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 7931 | $as_echo_n "(cached) " >&6 | ||
| 7932 | else | ||
| 7933 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7934 | /* confdefs.h. */ | ||
| 7935 | _ACEOF | ||
| 7936 | cat confdefs.h >>conftest.$ac_ext | ||
| 7937 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7938 | /* end confdefs.h. */ | ||
| 7939 | $ac_includes_default | ||
| 6473 | #if HAVE_SYS_SOCKET_H | 7940 | #if HAVE_SYS_SOCKET_H |
| 6474 | #include <sys/socket.h> | 7941 | #include <sys/socket.h> |
| 6475 | #endif | 7942 | #endif |
| 6476 | " | 7943 | |
| 6477 | if test "x$ac_cv_header_net_if_h" = x""yes; then : | 7944 | #include <$ac_header> |
| 7945 | _ACEOF | ||
| 7946 | rm -f conftest.$ac_objext | ||
| 7947 | if { (ac_try="$ac_compile" | ||
| 7948 | case "(($ac_try" in | ||
| 7949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7950 | *) ac_try_echo=$ac_try;; | ||
| 7951 | esac | ||
| 7952 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 7953 | $as_echo "$ac_try_echo") >&5 | ||
| 7954 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7955 | ac_status=$? | ||
| 7956 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7957 | rm -f conftest.er1 | ||
| 7958 | cat conftest.err >&5 | ||
| 7959 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7960 | (exit $ac_status); } && { | ||
| 7961 | test -z "$ac_c_werror_flag" || | ||
| 7962 | test ! -s conftest.err | ||
| 7963 | } && test -s conftest.$ac_objext; then | ||
| 7964 | eval "$as_ac_Header=yes" | ||
| 7965 | else | ||
| 7966 | $as_echo "$as_me: failed program was:" >&5 | ||
| 7967 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7968 | |||
| 7969 | eval "$as_ac_Header=no" | ||
| 7970 | fi | ||
| 7971 | |||
| 7972 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7973 | fi | ||
| 7974 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 7975 | $as_echo "$as_val"'` | ||
| 7976 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 7977 | $as_echo "$ac_res" >&6; } | ||
| 7978 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 7979 | $as_echo "$as_val"'` = yes; then | ||
| 6478 | cat >>confdefs.h <<_ACEOF | 7980 | cat >>confdefs.h <<_ACEOF |
| 6479 | #define HAVE_NET_IF_H 1 | 7981 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 6480 | _ACEOF | 7982 | _ACEOF |
| 6481 | 7983 | ||
| 6482 | fi | 7984 | fi |
| @@ -6484,12 +7986,16 @@ fi | |||
| 6484 | done | 7986 | done |
| 6485 | 7987 | ||
| 6486 | 7988 | ||
| 6487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 | 7989 | { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 6488 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } | 7990 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 6489 | if test "${ac_cv_struct_tm+set}" = set; then : | 7991 | if test "${ac_cv_struct_tm+set}" = set; then |
| 6490 | $as_echo_n "(cached) " >&6 | 7992 | $as_echo_n "(cached) " >&6 |
| 6491 | else | 7993 | else |
| 6492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7994 | cat >conftest.$ac_ext <<_ACEOF |
| 7995 | /* confdefs.h. */ | ||
| 7996 | _ACEOF | ||
| 7997 | cat confdefs.h >>conftest.$ac_ext | ||
| 7998 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6493 | /* end confdefs.h. */ | 7999 | /* end confdefs.h. */ |
| 6494 | #include <sys/types.h> | 8000 | #include <sys/types.h> |
| 6495 | #include <time.h> | 8001 | #include <time.h> |
| @@ -6504,26 +8010,146 @@ struct tm tm; | |||
| 6504 | return 0; | 8010 | return 0; |
| 6505 | } | 8011 | } |
| 6506 | _ACEOF | 8012 | _ACEOF |
| 6507 | if ac_fn_c_try_compile "$LINENO"; then : | 8013 | rm -f conftest.$ac_objext |
| 8014 | if { (ac_try="$ac_compile" | ||
| 8015 | case "(($ac_try" in | ||
| 8016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8017 | *) ac_try_echo=$ac_try;; | ||
| 8018 | esac | ||
| 8019 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8020 | $as_echo "$ac_try_echo") >&5 | ||
| 8021 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8022 | ac_status=$? | ||
| 8023 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8024 | rm -f conftest.er1 | ||
| 8025 | cat conftest.err >&5 | ||
| 8026 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8027 | (exit $ac_status); } && { | ||
| 8028 | test -z "$ac_c_werror_flag" || | ||
| 8029 | test ! -s conftest.err | ||
| 8030 | } && test -s conftest.$ac_objext; then | ||
| 6508 | ac_cv_struct_tm=time.h | 8031 | ac_cv_struct_tm=time.h |
| 6509 | else | 8032 | else |
| 6510 | ac_cv_struct_tm=sys/time.h | 8033 | $as_echo "$as_me: failed program was:" >&5 |
| 8034 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8035 | |||
| 8036 | ac_cv_struct_tm=sys/time.h | ||
| 6511 | fi | 8037 | fi |
| 8038 | |||
| 6512 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8039 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6513 | fi | 8040 | fi |
| 6514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 | 8041 | { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
| 6515 | $as_echo "$ac_cv_struct_tm" >&6; } | 8042 | $as_echo "$ac_cv_struct_tm" >&6; } |
| 6516 | if test $ac_cv_struct_tm = sys/time.h; then | 8043 | if test $ac_cv_struct_tm = sys/time.h; then |
| 6517 | 8044 | ||
| 6518 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h | 8045 | cat >>confdefs.h <<\_ACEOF |
| 8046 | #define TM_IN_SYS_TIME 1 | ||
| 8047 | _ACEOF | ||
| 6519 | 8048 | ||
| 6520 | fi | 8049 | fi |
| 6521 | 8050 | ||
| 6522 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> | 8051 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
| 8052 | $as_echo_n "checking for struct tm.tm_zone... " >&6; } | ||
| 8053 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | ||
| 8054 | $as_echo_n "(cached) " >&6 | ||
| 8055 | else | ||
| 8056 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8057 | /* confdefs.h. */ | ||
| 8058 | _ACEOF | ||
| 8059 | cat confdefs.h >>conftest.$ac_ext | ||
| 8060 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8061 | /* end confdefs.h. */ | ||
| 8062 | #include <sys/types.h> | ||
| 6523 | #include <$ac_cv_struct_tm> | 8063 | #include <$ac_cv_struct_tm> |
| 6524 | 8064 | ||
| 6525 | " | 8065 | |
| 6526 | if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : | 8066 | int |
| 8067 | main () | ||
| 8068 | { | ||
| 8069 | static struct tm ac_aggr; | ||
| 8070 | if (ac_aggr.tm_zone) | ||
| 8071 | return 0; | ||
| 8072 | ; | ||
| 8073 | return 0; | ||
| 8074 | } | ||
| 8075 | _ACEOF | ||
| 8076 | rm -f conftest.$ac_objext | ||
| 8077 | if { (ac_try="$ac_compile" | ||
| 8078 | case "(($ac_try" in | ||
| 8079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8080 | *) ac_try_echo=$ac_try;; | ||
| 8081 | esac | ||
| 8082 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8083 | $as_echo "$ac_try_echo") >&5 | ||
| 8084 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8085 | ac_status=$? | ||
| 8086 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8087 | rm -f conftest.er1 | ||
| 8088 | cat conftest.err >&5 | ||
| 8089 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8090 | (exit $ac_status); } && { | ||
| 8091 | test -z "$ac_c_werror_flag" || | ||
| 8092 | test ! -s conftest.err | ||
| 8093 | } && test -s conftest.$ac_objext; then | ||
| 8094 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8095 | else | ||
| 8096 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8097 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8098 | |||
| 8099 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8100 | /* confdefs.h. */ | ||
| 8101 | _ACEOF | ||
| 8102 | cat confdefs.h >>conftest.$ac_ext | ||
| 8103 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8104 | /* end confdefs.h. */ | ||
| 8105 | #include <sys/types.h> | ||
| 8106 | #include <$ac_cv_struct_tm> | ||
| 8107 | |||
| 8108 | |||
| 8109 | int | ||
| 8110 | main () | ||
| 8111 | { | ||
| 8112 | static struct tm ac_aggr; | ||
| 8113 | if (sizeof ac_aggr.tm_zone) | ||
| 8114 | return 0; | ||
| 8115 | ; | ||
| 8116 | return 0; | ||
| 8117 | } | ||
| 8118 | _ACEOF | ||
| 8119 | rm -f conftest.$ac_objext | ||
| 8120 | if { (ac_try="$ac_compile" | ||
| 8121 | case "(($ac_try" in | ||
| 8122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8123 | *) ac_try_echo=$ac_try;; | ||
| 8124 | esac | ||
| 8125 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8126 | $as_echo "$ac_try_echo") >&5 | ||
| 8127 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8128 | ac_status=$? | ||
| 8129 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8130 | rm -f conftest.er1 | ||
| 8131 | cat conftest.err >&5 | ||
| 8132 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8133 | (exit $ac_status); } && { | ||
| 8134 | test -z "$ac_c_werror_flag" || | ||
| 8135 | test ! -s conftest.err | ||
| 8136 | } && test -s conftest.$ac_objext; then | ||
| 8137 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 8138 | else | ||
| 8139 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8140 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8141 | |||
| 8142 | ac_cv_member_struct_tm_tm_zone=no | ||
| 8143 | fi | ||
| 8144 | |||
| 8145 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8146 | fi | ||
| 8147 | |||
| 8148 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8149 | fi | ||
| 8150 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | ||
| 8151 | $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; } | ||
| 8152 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | ||
| 6527 | 8153 | ||
| 6528 | cat >>confdefs.h <<_ACEOF | 8154 | cat >>confdefs.h <<_ACEOF |
| 6529 | #define HAVE_STRUCT_TM_TM_ZONE 1 | 8155 | #define HAVE_STRUCT_TM_TM_ZONE 1 |
| @@ -6534,27 +8160,91 @@ fi | |||
| 6534 | 8160 | ||
| 6535 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | 8161 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
| 6536 | 8162 | ||
| 6537 | $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h | 8163 | cat >>confdefs.h <<\_ACEOF |
| 8164 | #define HAVE_TM_ZONE 1 | ||
| 8165 | _ACEOF | ||
| 6538 | 8166 | ||
| 6539 | else | 8167 | else |
| 6540 | ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> | 8168 | { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
| 6541 | " | 8169 | $as_echo_n "checking whether tzname is declared... " >&6; } |
| 6542 | if test "x$ac_cv_have_decl_tzname" = x""yes; then : | 8170 | if test "${ac_cv_have_decl_tzname+set}" = set; then |
| 6543 | ac_have_decl=1 | 8171 | $as_echo_n "(cached) " >&6 |
| 6544 | else | 8172 | else |
| 6545 | ac_have_decl=0 | 8173 | cat >conftest.$ac_ext <<_ACEOF |
| 8174 | /* confdefs.h. */ | ||
| 8175 | _ACEOF | ||
| 8176 | cat confdefs.h >>conftest.$ac_ext | ||
| 8177 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8178 | /* end confdefs.h. */ | ||
| 8179 | #include <time.h> | ||
| 8180 | |||
| 8181 | int | ||
| 8182 | main () | ||
| 8183 | { | ||
| 8184 | #ifndef tzname | ||
| 8185 | (void) tzname; | ||
| 8186 | #endif | ||
| 8187 | |||
| 8188 | ; | ||
| 8189 | return 0; | ||
| 8190 | } | ||
| 8191 | _ACEOF | ||
| 8192 | rm -f conftest.$ac_objext | ||
| 8193 | if { (ac_try="$ac_compile" | ||
| 8194 | case "(($ac_try" in | ||
| 8195 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8196 | *) ac_try_echo=$ac_try;; | ||
| 8197 | esac | ||
| 8198 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8199 | $as_echo "$ac_try_echo") >&5 | ||
| 8200 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8201 | ac_status=$? | ||
| 8202 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8203 | rm -f conftest.er1 | ||
| 8204 | cat conftest.err >&5 | ||
| 8205 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8206 | (exit $ac_status); } && { | ||
| 8207 | test -z "$ac_c_werror_flag" || | ||
| 8208 | test ! -s conftest.err | ||
| 8209 | } && test -s conftest.$ac_objext; then | ||
| 8210 | ac_cv_have_decl_tzname=yes | ||
| 8211 | else | ||
| 8212 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8213 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8214 | |||
| 8215 | ac_cv_have_decl_tzname=no | ||
| 6546 | fi | 8216 | fi |
| 6547 | 8217 | ||
| 8218 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8219 | fi | ||
| 8220 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 8221 | $as_echo "$ac_cv_have_decl_tzname" >&6; } | ||
| 8222 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 8223 | |||
| 6548 | cat >>confdefs.h <<_ACEOF | 8224 | cat >>confdefs.h <<_ACEOF |
| 6549 | #define HAVE_DECL_TZNAME $ac_have_decl | 8225 | #define HAVE_DECL_TZNAME 1 |
| 8226 | _ACEOF | ||
| 8227 | |||
| 8228 | |||
| 8229 | else | ||
| 8230 | cat >>confdefs.h <<_ACEOF | ||
| 8231 | #define HAVE_DECL_TZNAME 0 | ||
| 6550 | _ACEOF | 8232 | _ACEOF |
| 6551 | 8233 | ||
| 6552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 | 8234 | |
| 8235 | fi | ||
| 8236 | |||
| 8237 | |||
| 8238 | { $as_echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 6553 | $as_echo_n "checking for tzname... " >&6; } | 8239 | $as_echo_n "checking for tzname... " >&6; } |
| 6554 | if test "${ac_cv_var_tzname+set}" = set; then : | 8240 | if test "${ac_cv_var_tzname+set}" = set; then |
| 6555 | $as_echo_n "(cached) " >&6 | 8241 | $as_echo_n "(cached) " >&6 |
| 6556 | else | 8242 | else |
| 6557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8243 | cat >conftest.$ac_ext <<_ACEOF |
| 8244 | /* confdefs.h. */ | ||
| 8245 | _ACEOF | ||
| 8246 | cat confdefs.h >>conftest.$ac_ext | ||
| 8247 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6558 | /* end confdefs.h. */ | 8248 | /* end confdefs.h. */ |
| 6559 | #include <time.h> | 8249 | #include <time.h> |
| 6560 | #if !HAVE_DECL_TZNAME | 8250 | #if !HAVE_DECL_TZNAME |
| @@ -6569,40 +8259,265 @@ return tzname[0][0]; | |||
| 6569 | return 0; | 8259 | return 0; |
| 6570 | } | 8260 | } |
| 6571 | _ACEOF | 8261 | _ACEOF |
| 6572 | if ac_fn_c_try_link "$LINENO"; then : | 8262 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8263 | if { (ac_try="$ac_link" | ||
| 8264 | case "(($ac_try" in | ||
| 8265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8266 | *) ac_try_echo=$ac_try;; | ||
| 8267 | esac | ||
| 8268 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8269 | $as_echo "$ac_try_echo") >&5 | ||
| 8270 | (eval "$ac_link") 2>conftest.er1 | ||
| 8271 | ac_status=$? | ||
| 8272 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8273 | rm -f conftest.er1 | ||
| 8274 | cat conftest.err >&5 | ||
| 8275 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8276 | (exit $ac_status); } && { | ||
| 8277 | test -z "$ac_c_werror_flag" || | ||
| 8278 | test ! -s conftest.err | ||
| 8279 | } && test -s conftest$ac_exeext && { | ||
| 8280 | test "$cross_compiling" = yes || | ||
| 8281 | $as_test_x conftest$ac_exeext | ||
| 8282 | }; then | ||
| 6573 | ac_cv_var_tzname=yes | 8283 | ac_cv_var_tzname=yes |
| 6574 | else | 8284 | else |
| 6575 | ac_cv_var_tzname=no | 8285 | $as_echo "$as_me: failed program was:" >&5 |
| 8286 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8287 | |||
| 8288 | ac_cv_var_tzname=no | ||
| 6576 | fi | 8289 | fi |
| 6577 | rm -f core conftest.err conftest.$ac_objext \ | 8290 | |
| 6578 | conftest$ac_exeext conftest.$ac_ext | 8291 | rm -rf conftest.dSYM |
| 8292 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8293 | conftest$ac_exeext conftest.$ac_ext | ||
| 6579 | fi | 8294 | fi |
| 6580 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 | 8295 | { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
| 6581 | $as_echo "$ac_cv_var_tzname" >&6; } | 8296 | $as_echo "$ac_cv_var_tzname" >&6; } |
| 6582 | if test $ac_cv_var_tzname = yes; then | 8297 | if test $ac_cv_var_tzname = yes; then |
| 6583 | 8298 | ||
| 6584 | $as_echo "#define HAVE_TZNAME 1" >>confdefs.h | 8299 | cat >>confdefs.h <<\_ACEOF |
| 8300 | #define HAVE_TZNAME 1 | ||
| 8301 | _ACEOF | ||
| 6585 | 8302 | ||
| 6586 | fi | 8303 | fi |
| 6587 | fi | 8304 | fi |
| 6588 | 8305 | ||
| 6589 | ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h> | 8306 | { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
| 6590 | " | 8307 | $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; } |
| 6591 | if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then : | 8308 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
| 8309 | $as_echo_n "(cached) " >&6 | ||
| 8310 | else | ||
| 8311 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8312 | /* confdefs.h. */ | ||
| 8313 | _ACEOF | ||
| 8314 | cat confdefs.h >>conftest.$ac_ext | ||
| 8315 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8316 | /* end confdefs.h. */ | ||
| 8317 | #include <time.h> | ||
| 6592 | 8318 | ||
| 6593 | $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h | 8319 | int |
| 8320 | main () | ||
| 8321 | { | ||
| 8322 | static struct tm ac_aggr; | ||
| 8323 | if (ac_aggr.tm_gmtoff) | ||
| 8324 | return 0; | ||
| 8325 | ; | ||
| 8326 | return 0; | ||
| 8327 | } | ||
| 8328 | _ACEOF | ||
| 8329 | rm -f conftest.$ac_objext | ||
| 8330 | if { (ac_try="$ac_compile" | ||
| 8331 | case "(($ac_try" in | ||
| 8332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8333 | *) ac_try_echo=$ac_try;; | ||
| 8334 | esac | ||
| 8335 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8336 | $as_echo "$ac_try_echo") >&5 | ||
| 8337 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8338 | ac_status=$? | ||
| 8339 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8340 | rm -f conftest.er1 | ||
| 8341 | cat conftest.err >&5 | ||
| 8342 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8343 | (exit $ac_status); } && { | ||
| 8344 | test -z "$ac_c_werror_flag" || | ||
| 8345 | test ! -s conftest.err | ||
| 8346 | } && test -s conftest.$ac_objext; then | ||
| 8347 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8348 | else | ||
| 8349 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8350 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8351 | |||
| 8352 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8353 | /* confdefs.h. */ | ||
| 8354 | _ACEOF | ||
| 8355 | cat confdefs.h >>conftest.$ac_ext | ||
| 8356 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8357 | /* end confdefs.h. */ | ||
| 8358 | #include <time.h> | ||
| 8359 | |||
| 8360 | int | ||
| 8361 | main () | ||
| 8362 | { | ||
| 8363 | static struct tm ac_aggr; | ||
| 8364 | if (sizeof ac_aggr.tm_gmtoff) | ||
| 8365 | return 0; | ||
| 8366 | ; | ||
| 8367 | return 0; | ||
| 8368 | } | ||
| 8369 | _ACEOF | ||
| 8370 | rm -f conftest.$ac_objext | ||
| 8371 | if { (ac_try="$ac_compile" | ||
| 8372 | case "(($ac_try" in | ||
| 8373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8374 | *) ac_try_echo=$ac_try;; | ||
| 8375 | esac | ||
| 8376 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8377 | $as_echo "$ac_try_echo") >&5 | ||
| 8378 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8379 | ac_status=$? | ||
| 8380 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8381 | rm -f conftest.er1 | ||
| 8382 | cat conftest.err >&5 | ||
| 8383 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8384 | (exit $ac_status); } && { | ||
| 8385 | test -z "$ac_c_werror_flag" || | ||
| 8386 | test ! -s conftest.err | ||
| 8387 | } && test -s conftest.$ac_objext; then | ||
| 8388 | ac_cv_member_struct_tm_tm_gmtoff=yes | ||
| 8389 | else | ||
| 8390 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8391 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8392 | |||
| 8393 | ac_cv_member_struct_tm_tm_gmtoff=no | ||
| 8394 | fi | ||
| 8395 | |||
| 8396 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8397 | fi | ||
| 8398 | |||
| 8399 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8400 | fi | ||
| 8401 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | ||
| 8402 | $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | ||
| 8403 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | ||
| 8404 | |||
| 8405 | cat >>confdefs.h <<\_ACEOF | ||
| 8406 | #define HAVE_TM_GMTOFF 1 | ||
| 8407 | _ACEOF | ||
| 6594 | 8408 | ||
| 6595 | fi | 8409 | fi |
| 6596 | 8410 | ||
| 6597 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_flags" "ac_cv_member_struct_ifreq_ifr_flags" "$ac_includes_default | 8411 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 |
| 8412 | $as_echo_n "checking for struct ifreq.ifr_flags... " >&6; } | ||
| 8413 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | ||
| 8414 | $as_echo_n "(cached) " >&6 | ||
| 8415 | else | ||
| 8416 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8417 | /* confdefs.h. */ | ||
| 8418 | _ACEOF | ||
| 8419 | cat confdefs.h >>conftest.$ac_ext | ||
| 8420 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8421 | /* end confdefs.h. */ | ||
| 8422 | $ac_includes_default | ||
| 6598 | #if HAVE_SYS_SOCKET_H | 8423 | #if HAVE_SYS_SOCKET_H |
| 6599 | #include <sys/socket.h> | 8424 | #include <sys/socket.h> |
| 6600 | #endif | 8425 | #endif |
| 6601 | #if HAVE_NET_IF_H | 8426 | #if HAVE_NET_IF_H |
| 6602 | #include <net/if.h> | 8427 | #include <net/if.h> |
| 6603 | #endif | 8428 | #endif |
| 6604 | " | 8429 | |
| 6605 | if test "x$ac_cv_member_struct_ifreq_ifr_flags" = x""yes; then : | 8430 | int |
| 8431 | main () | ||
| 8432 | { | ||
| 8433 | static struct ifreq ac_aggr; | ||
| 8434 | if (ac_aggr.ifr_flags) | ||
| 8435 | return 0; | ||
| 8436 | ; | ||
| 8437 | return 0; | ||
| 8438 | } | ||
| 8439 | _ACEOF | ||
| 8440 | rm -f conftest.$ac_objext | ||
| 8441 | if { (ac_try="$ac_compile" | ||
| 8442 | case "(($ac_try" in | ||
| 8443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8444 | *) ac_try_echo=$ac_try;; | ||
| 8445 | esac | ||
| 8446 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8447 | $as_echo "$ac_try_echo") >&5 | ||
| 8448 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8449 | ac_status=$? | ||
| 8450 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8451 | rm -f conftest.er1 | ||
| 8452 | cat conftest.err >&5 | ||
| 8453 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8454 | (exit $ac_status); } && { | ||
| 8455 | test -z "$ac_c_werror_flag" || | ||
| 8456 | test ! -s conftest.err | ||
| 8457 | } && test -s conftest.$ac_objext; then | ||
| 8458 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8459 | else | ||
| 8460 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8461 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8462 | |||
| 8463 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8464 | /* confdefs.h. */ | ||
| 8465 | _ACEOF | ||
| 8466 | cat confdefs.h >>conftest.$ac_ext | ||
| 8467 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8468 | /* end confdefs.h. */ | ||
| 8469 | $ac_includes_default | ||
| 8470 | #if HAVE_SYS_SOCKET_H | ||
| 8471 | #include <sys/socket.h> | ||
| 8472 | #endif | ||
| 8473 | #if HAVE_NET_IF_H | ||
| 8474 | #include <net/if.h> | ||
| 8475 | #endif | ||
| 8476 | |||
| 8477 | int | ||
| 8478 | main () | ||
| 8479 | { | ||
| 8480 | static struct ifreq ac_aggr; | ||
| 8481 | if (sizeof ac_aggr.ifr_flags) | ||
| 8482 | return 0; | ||
| 8483 | ; | ||
| 8484 | return 0; | ||
| 8485 | } | ||
| 8486 | _ACEOF | ||
| 8487 | rm -f conftest.$ac_objext | ||
| 8488 | if { (ac_try="$ac_compile" | ||
| 8489 | case "(($ac_try" in | ||
| 8490 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8491 | *) ac_try_echo=$ac_try;; | ||
| 8492 | esac | ||
| 8493 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8494 | $as_echo "$ac_try_echo") >&5 | ||
| 8495 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8496 | ac_status=$? | ||
| 8497 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8498 | rm -f conftest.er1 | ||
| 8499 | cat conftest.err >&5 | ||
| 8500 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8501 | (exit $ac_status); } && { | ||
| 8502 | test -z "$ac_c_werror_flag" || | ||
| 8503 | test ! -s conftest.err | ||
| 8504 | } && test -s conftest.$ac_objext; then | ||
| 8505 | ac_cv_member_struct_ifreq_ifr_flags=yes | ||
| 8506 | else | ||
| 8507 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8508 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8509 | |||
| 8510 | ac_cv_member_struct_ifreq_ifr_flags=no | ||
| 8511 | fi | ||
| 8512 | |||
| 8513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8514 | fi | ||
| 8515 | |||
| 8516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8517 | fi | ||
| 8518 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | ||
| 8519 | $as_echo "$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | ||
| 8520 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | ||
| 6606 | 8521 | ||
| 6607 | cat >>confdefs.h <<_ACEOF | 8522 | cat >>confdefs.h <<_ACEOF |
| 6608 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8523 | #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
| @@ -6610,15 +8525,116 @@ _ACEOF | |||
| 6610 | 8525 | ||
| 6611 | 8526 | ||
| 6612 | fi | 8527 | fi |
| 6613 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "$ac_includes_default | 8528 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
| 8529 | $as_echo_n "checking for struct ifreq.ifr_hwaddr... " >&6; } | ||
| 8530 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | ||
| 8531 | $as_echo_n "(cached) " >&6 | ||
| 8532 | else | ||
| 8533 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8534 | /* confdefs.h. */ | ||
| 8535 | _ACEOF | ||
| 8536 | cat confdefs.h >>conftest.$ac_ext | ||
| 8537 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8538 | /* end confdefs.h. */ | ||
| 8539 | $ac_includes_default | ||
| 6614 | #if HAVE_SYS_SOCKET_H | 8540 | #if HAVE_SYS_SOCKET_H |
| 6615 | #include <sys/socket.h> | 8541 | #include <sys/socket.h> |
| 6616 | #endif | 8542 | #endif |
| 6617 | #if HAVE_NET_IF_H | 8543 | #if HAVE_NET_IF_H |
| 6618 | #include <net/if.h> | 8544 | #include <net/if.h> |
| 6619 | #endif | 8545 | #endif |
| 6620 | " | 8546 | |
| 6621 | if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then : | 8547 | int |
| 8548 | main () | ||
| 8549 | { | ||
| 8550 | static struct ifreq ac_aggr; | ||
| 8551 | if (ac_aggr.ifr_hwaddr) | ||
| 8552 | return 0; | ||
| 8553 | ; | ||
| 8554 | return 0; | ||
| 8555 | } | ||
| 8556 | _ACEOF | ||
| 8557 | rm -f conftest.$ac_objext | ||
| 8558 | if { (ac_try="$ac_compile" | ||
| 8559 | case "(($ac_try" in | ||
| 8560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8561 | *) ac_try_echo=$ac_try;; | ||
| 8562 | esac | ||
| 8563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8564 | $as_echo "$ac_try_echo") >&5 | ||
| 8565 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8566 | ac_status=$? | ||
| 8567 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8568 | rm -f conftest.er1 | ||
| 8569 | cat conftest.err >&5 | ||
| 8570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8571 | (exit $ac_status); } && { | ||
| 8572 | test -z "$ac_c_werror_flag" || | ||
| 8573 | test ! -s conftest.err | ||
| 8574 | } && test -s conftest.$ac_objext; then | ||
| 8575 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8576 | else | ||
| 8577 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8578 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8579 | |||
| 8580 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8581 | /* confdefs.h. */ | ||
| 8582 | _ACEOF | ||
| 8583 | cat confdefs.h >>conftest.$ac_ext | ||
| 8584 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8585 | /* end confdefs.h. */ | ||
| 8586 | $ac_includes_default | ||
| 8587 | #if HAVE_SYS_SOCKET_H | ||
| 8588 | #include <sys/socket.h> | ||
| 8589 | #endif | ||
| 8590 | #if HAVE_NET_IF_H | ||
| 8591 | #include <net/if.h> | ||
| 8592 | #endif | ||
| 8593 | |||
| 8594 | int | ||
| 8595 | main () | ||
| 8596 | { | ||
| 8597 | static struct ifreq ac_aggr; | ||
| 8598 | if (sizeof ac_aggr.ifr_hwaddr) | ||
| 8599 | return 0; | ||
| 8600 | ; | ||
| 8601 | return 0; | ||
| 8602 | } | ||
| 8603 | _ACEOF | ||
| 8604 | rm -f conftest.$ac_objext | ||
| 8605 | if { (ac_try="$ac_compile" | ||
| 8606 | case "(($ac_try" in | ||
| 8607 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8608 | *) ac_try_echo=$ac_try;; | ||
| 8609 | esac | ||
| 8610 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8611 | $as_echo "$ac_try_echo") >&5 | ||
| 8612 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8613 | ac_status=$? | ||
| 8614 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8615 | rm -f conftest.er1 | ||
| 8616 | cat conftest.err >&5 | ||
| 8617 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8618 | (exit $ac_status); } && { | ||
| 8619 | test -z "$ac_c_werror_flag" || | ||
| 8620 | test ! -s conftest.err | ||
| 8621 | } && test -s conftest.$ac_objext; then | ||
| 8622 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | ||
| 8623 | else | ||
| 8624 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8625 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8626 | |||
| 8627 | ac_cv_member_struct_ifreq_ifr_hwaddr=no | ||
| 8628 | fi | ||
| 8629 | |||
| 8630 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8631 | fi | ||
| 8632 | |||
| 8633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8634 | fi | ||
| 8635 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | ||
| 8636 | $as_echo "$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | ||
| 8637 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | ||
| 6622 | 8638 | ||
| 6623 | cat >>confdefs.h <<_ACEOF | 8639 | cat >>confdefs.h <<_ACEOF |
| 6624 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 8640 | #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
| @@ -6626,15 +8642,116 @@ _ACEOF | |||
| 6626 | 8642 | ||
| 6627 | 8643 | ||
| 6628 | fi | 8644 | fi |
| 6629 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_netmask" "ac_cv_member_struct_ifreq_ifr_netmask" "$ac_includes_default | 8645 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
| 8646 | $as_echo_n "checking for struct ifreq.ifr_netmask... " >&6; } | ||
| 8647 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | ||
| 8648 | $as_echo_n "(cached) " >&6 | ||
| 8649 | else | ||
| 8650 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8651 | /* confdefs.h. */ | ||
| 8652 | _ACEOF | ||
| 8653 | cat confdefs.h >>conftest.$ac_ext | ||
| 8654 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8655 | /* end confdefs.h. */ | ||
| 8656 | $ac_includes_default | ||
| 8657 | #if HAVE_SYS_SOCKET_H | ||
| 8658 | #include <sys/socket.h> | ||
| 8659 | #endif | ||
| 8660 | #if HAVE_NET_IF_H | ||
| 8661 | #include <net/if.h> | ||
| 8662 | #endif | ||
| 8663 | |||
| 8664 | int | ||
| 8665 | main () | ||
| 8666 | { | ||
| 8667 | static struct ifreq ac_aggr; | ||
| 8668 | if (ac_aggr.ifr_netmask) | ||
| 8669 | return 0; | ||
| 8670 | ; | ||
| 8671 | return 0; | ||
| 8672 | } | ||
| 8673 | _ACEOF | ||
| 8674 | rm -f conftest.$ac_objext | ||
| 8675 | if { (ac_try="$ac_compile" | ||
| 8676 | case "(($ac_try" in | ||
| 8677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8678 | *) ac_try_echo=$ac_try;; | ||
| 8679 | esac | ||
| 8680 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8681 | $as_echo "$ac_try_echo") >&5 | ||
| 8682 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8683 | ac_status=$? | ||
| 8684 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8685 | rm -f conftest.er1 | ||
| 8686 | cat conftest.err >&5 | ||
| 8687 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8688 | (exit $ac_status); } && { | ||
| 8689 | test -z "$ac_c_werror_flag" || | ||
| 8690 | test ! -s conftest.err | ||
| 8691 | } && test -s conftest.$ac_objext; then | ||
| 8692 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8693 | else | ||
| 8694 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8695 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8696 | |||
| 8697 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8698 | /* confdefs.h. */ | ||
| 8699 | _ACEOF | ||
| 8700 | cat confdefs.h >>conftest.$ac_ext | ||
| 8701 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8702 | /* end confdefs.h. */ | ||
| 8703 | $ac_includes_default | ||
| 6630 | #if HAVE_SYS_SOCKET_H | 8704 | #if HAVE_SYS_SOCKET_H |
| 6631 | #include <sys/socket.h> | 8705 | #include <sys/socket.h> |
| 6632 | #endif | 8706 | #endif |
| 6633 | #if HAVE_NET_IF_H | 8707 | #if HAVE_NET_IF_H |
| 6634 | #include <net/if.h> | 8708 | #include <net/if.h> |
| 6635 | #endif | 8709 | #endif |
| 6636 | " | 8710 | |
| 6637 | if test "x$ac_cv_member_struct_ifreq_ifr_netmask" = x""yes; then : | 8711 | int |
| 8712 | main () | ||
| 8713 | { | ||
| 8714 | static struct ifreq ac_aggr; | ||
| 8715 | if (sizeof ac_aggr.ifr_netmask) | ||
| 8716 | return 0; | ||
| 8717 | ; | ||
| 8718 | return 0; | ||
| 8719 | } | ||
| 8720 | _ACEOF | ||
| 8721 | rm -f conftest.$ac_objext | ||
| 8722 | if { (ac_try="$ac_compile" | ||
| 8723 | case "(($ac_try" in | ||
| 8724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8725 | *) ac_try_echo=$ac_try;; | ||
| 8726 | esac | ||
| 8727 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8728 | $as_echo "$ac_try_echo") >&5 | ||
| 8729 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8730 | ac_status=$? | ||
| 8731 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8732 | rm -f conftest.er1 | ||
| 8733 | cat conftest.err >&5 | ||
| 8734 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8735 | (exit $ac_status); } && { | ||
| 8736 | test -z "$ac_c_werror_flag" || | ||
| 8737 | test ! -s conftest.err | ||
| 8738 | } && test -s conftest.$ac_objext; then | ||
| 8739 | ac_cv_member_struct_ifreq_ifr_netmask=yes | ||
| 8740 | else | ||
| 8741 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8742 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8743 | |||
| 8744 | ac_cv_member_struct_ifreq_ifr_netmask=no | ||
| 8745 | fi | ||
| 8746 | |||
| 8747 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8748 | fi | ||
| 8749 | |||
| 8750 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8751 | fi | ||
| 8752 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | ||
| 8753 | $as_echo "$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | ||
| 8754 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | ||
| 6638 | 8755 | ||
| 6639 | cat >>confdefs.h <<_ACEOF | 8756 | cat >>confdefs.h <<_ACEOF |
| 6640 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 8757 | #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
| @@ -6642,15 +8759,116 @@ _ACEOF | |||
| 6642 | 8759 | ||
| 6643 | 8760 | ||
| 6644 | fi | 8761 | fi |
| 6645 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_broadaddr" "ac_cv_member_struct_ifreq_ifr_broadaddr" "$ac_includes_default | 8762 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
| 8763 | $as_echo_n "checking for struct ifreq.ifr_broadaddr... " >&6; } | ||
| 8764 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | ||
| 8765 | $as_echo_n "(cached) " >&6 | ||
| 8766 | else | ||
| 8767 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8768 | /* confdefs.h. */ | ||
| 8769 | _ACEOF | ||
| 8770 | cat confdefs.h >>conftest.$ac_ext | ||
| 8771 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8772 | /* end confdefs.h. */ | ||
| 8773 | $ac_includes_default | ||
| 6646 | #if HAVE_SYS_SOCKET_H | 8774 | #if HAVE_SYS_SOCKET_H |
| 6647 | #include <sys/socket.h> | 8775 | #include <sys/socket.h> |
| 6648 | #endif | 8776 | #endif |
| 6649 | #if HAVE_NET_IF_H | 8777 | #if HAVE_NET_IF_H |
| 6650 | #include <net/if.h> | 8778 | #include <net/if.h> |
| 6651 | #endif | 8779 | #endif |
| 6652 | " | 8780 | |
| 6653 | if test "x$ac_cv_member_struct_ifreq_ifr_broadaddr" = x""yes; then : | 8781 | int |
| 8782 | main () | ||
| 8783 | { | ||
| 8784 | static struct ifreq ac_aggr; | ||
| 8785 | if (ac_aggr.ifr_broadaddr) | ||
| 8786 | return 0; | ||
| 8787 | ; | ||
| 8788 | return 0; | ||
| 8789 | } | ||
| 8790 | _ACEOF | ||
| 8791 | rm -f conftest.$ac_objext | ||
| 8792 | if { (ac_try="$ac_compile" | ||
| 8793 | case "(($ac_try" in | ||
| 8794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8795 | *) ac_try_echo=$ac_try;; | ||
| 8796 | esac | ||
| 8797 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8798 | $as_echo "$ac_try_echo") >&5 | ||
| 8799 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8800 | ac_status=$? | ||
| 8801 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8802 | rm -f conftest.er1 | ||
| 8803 | cat conftest.err >&5 | ||
| 8804 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8805 | (exit $ac_status); } && { | ||
| 8806 | test -z "$ac_c_werror_flag" || | ||
| 8807 | test ! -s conftest.err | ||
| 8808 | } && test -s conftest.$ac_objext; then | ||
| 8809 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8810 | else | ||
| 8811 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8812 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8813 | |||
| 8814 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8815 | /* confdefs.h. */ | ||
| 8816 | _ACEOF | ||
| 8817 | cat confdefs.h >>conftest.$ac_ext | ||
| 8818 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8819 | /* end confdefs.h. */ | ||
| 8820 | $ac_includes_default | ||
| 8821 | #if HAVE_SYS_SOCKET_H | ||
| 8822 | #include <sys/socket.h> | ||
| 8823 | #endif | ||
| 8824 | #if HAVE_NET_IF_H | ||
| 8825 | #include <net/if.h> | ||
| 8826 | #endif | ||
| 8827 | |||
| 8828 | int | ||
| 8829 | main () | ||
| 8830 | { | ||
| 8831 | static struct ifreq ac_aggr; | ||
| 8832 | if (sizeof ac_aggr.ifr_broadaddr) | ||
| 8833 | return 0; | ||
| 8834 | ; | ||
| 8835 | return 0; | ||
| 8836 | } | ||
| 8837 | _ACEOF | ||
| 8838 | rm -f conftest.$ac_objext | ||
| 8839 | if { (ac_try="$ac_compile" | ||
| 8840 | case "(($ac_try" in | ||
| 8841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8842 | *) ac_try_echo=$ac_try;; | ||
| 8843 | esac | ||
| 8844 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8845 | $as_echo "$ac_try_echo") >&5 | ||
| 8846 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8847 | ac_status=$? | ||
| 8848 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8849 | rm -f conftest.er1 | ||
| 8850 | cat conftest.err >&5 | ||
| 8851 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8852 | (exit $ac_status); } && { | ||
| 8853 | test -z "$ac_c_werror_flag" || | ||
| 8854 | test ! -s conftest.err | ||
| 8855 | } && test -s conftest.$ac_objext; then | ||
| 8856 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | ||
| 8857 | else | ||
| 8858 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8859 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8860 | |||
| 8861 | ac_cv_member_struct_ifreq_ifr_broadaddr=no | ||
| 8862 | fi | ||
| 8863 | |||
| 8864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8865 | fi | ||
| 8866 | |||
| 8867 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8868 | fi | ||
| 8869 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | ||
| 8870 | $as_echo "$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | ||
| 8871 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | ||
| 6654 | 8872 | ||
| 6655 | cat >>confdefs.h <<_ACEOF | 8873 | cat >>confdefs.h <<_ACEOF |
| 6656 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 8874 | #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
| @@ -6658,15 +8876,116 @@ _ACEOF | |||
| 6658 | 8876 | ||
| 6659 | 8877 | ||
| 6660 | fi | 8878 | fi |
| 6661 | ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_addr" "ac_cv_member_struct_ifreq_ifr_addr" "$ac_includes_default | 8879 | { $as_echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
| 8880 | $as_echo_n "checking for struct ifreq.ifr_addr... " >&6; } | ||
| 8881 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | ||
| 8882 | $as_echo_n "(cached) " >&6 | ||
| 8883 | else | ||
| 8884 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8885 | /* confdefs.h. */ | ||
| 8886 | _ACEOF | ||
| 8887 | cat confdefs.h >>conftest.$ac_ext | ||
| 8888 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8889 | /* end confdefs.h. */ | ||
| 8890 | $ac_includes_default | ||
| 6662 | #if HAVE_SYS_SOCKET_H | 8891 | #if HAVE_SYS_SOCKET_H |
| 6663 | #include <sys/socket.h> | 8892 | #include <sys/socket.h> |
| 6664 | #endif | 8893 | #endif |
| 6665 | #if HAVE_NET_IF_H | 8894 | #if HAVE_NET_IF_H |
| 6666 | #include <net/if.h> | 8895 | #include <net/if.h> |
| 6667 | #endif | 8896 | #endif |
| 6668 | " | 8897 | |
| 6669 | if test "x$ac_cv_member_struct_ifreq_ifr_addr" = x""yes; then : | 8898 | int |
| 8899 | main () | ||
| 8900 | { | ||
| 8901 | static struct ifreq ac_aggr; | ||
| 8902 | if (ac_aggr.ifr_addr) | ||
| 8903 | return 0; | ||
| 8904 | ; | ||
| 8905 | return 0; | ||
| 8906 | } | ||
| 8907 | _ACEOF | ||
| 8908 | rm -f conftest.$ac_objext | ||
| 8909 | if { (ac_try="$ac_compile" | ||
| 8910 | case "(($ac_try" in | ||
| 8911 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8912 | *) ac_try_echo=$ac_try;; | ||
| 8913 | esac | ||
| 8914 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8915 | $as_echo "$ac_try_echo") >&5 | ||
| 8916 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8917 | ac_status=$? | ||
| 8918 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8919 | rm -f conftest.er1 | ||
| 8920 | cat conftest.err >&5 | ||
| 8921 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8922 | (exit $ac_status); } && { | ||
| 8923 | test -z "$ac_c_werror_flag" || | ||
| 8924 | test ! -s conftest.err | ||
| 8925 | } && test -s conftest.$ac_objext; then | ||
| 8926 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8927 | else | ||
| 8928 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8929 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8930 | |||
| 8931 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8932 | /* confdefs.h. */ | ||
| 8933 | _ACEOF | ||
| 8934 | cat confdefs.h >>conftest.$ac_ext | ||
| 8935 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8936 | /* end confdefs.h. */ | ||
| 8937 | $ac_includes_default | ||
| 8938 | #if HAVE_SYS_SOCKET_H | ||
| 8939 | #include <sys/socket.h> | ||
| 8940 | #endif | ||
| 8941 | #if HAVE_NET_IF_H | ||
| 8942 | #include <net/if.h> | ||
| 8943 | #endif | ||
| 8944 | |||
| 8945 | int | ||
| 8946 | main () | ||
| 8947 | { | ||
| 8948 | static struct ifreq ac_aggr; | ||
| 8949 | if (sizeof ac_aggr.ifr_addr) | ||
| 8950 | return 0; | ||
| 8951 | ; | ||
| 8952 | return 0; | ||
| 8953 | } | ||
| 8954 | _ACEOF | ||
| 8955 | rm -f conftest.$ac_objext | ||
| 8956 | if { (ac_try="$ac_compile" | ||
| 8957 | case "(($ac_try" in | ||
| 8958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8959 | *) ac_try_echo=$ac_try;; | ||
| 8960 | esac | ||
| 8961 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 8962 | $as_echo "$ac_try_echo") >&5 | ||
| 8963 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8964 | ac_status=$? | ||
| 8965 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 8966 | rm -f conftest.er1 | ||
| 8967 | cat conftest.err >&5 | ||
| 8968 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8969 | (exit $ac_status); } && { | ||
| 8970 | test -z "$ac_c_werror_flag" || | ||
| 8971 | test ! -s conftest.err | ||
| 8972 | } && test -s conftest.$ac_objext; then | ||
| 8973 | ac_cv_member_struct_ifreq_ifr_addr=yes | ||
| 8974 | else | ||
| 8975 | $as_echo "$as_me: failed program was:" >&5 | ||
| 8976 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8977 | |||
| 8978 | ac_cv_member_struct_ifreq_ifr_addr=no | ||
| 8979 | fi | ||
| 8980 | |||
| 8981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8982 | fi | ||
| 8983 | |||
| 8984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8985 | fi | ||
| 8986 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | ||
| 8987 | $as_echo "$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | ||
| 8988 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | ||
| 6670 | 8989 | ||
| 6671 | cat >>confdefs.h <<_ACEOF | 8990 | cat >>confdefs.h <<_ACEOF |
| 6672 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 8991 | #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
| @@ -6677,28 +8996,36 @@ fi | |||
| 6677 | 8996 | ||
| 6678 | 8997 | ||
| 6679 | 8998 | ||
| 6680 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 8999 | { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5 |
| 6681 | $as_echo_n "checking for function prototypes... " >&6; } | 9000 | $as_echo_n "checking for function prototypes... " >&6; } |
| 6682 | if test "$ac_cv_prog_cc_c89" != no; then | 9001 | if test "$ac_cv_prog_cc_c89" != no; then |
| 6683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9002 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6684 | $as_echo "yes" >&6; } | 9003 | $as_echo "yes" >&6; } |
| 6685 | 9004 | ||
| 6686 | $as_echo "#define PROTOTYPES 1" >>confdefs.h | 9005 | cat >>confdefs.h <<\_ACEOF |
| 9006 | #define PROTOTYPES 1 | ||
| 9007 | _ACEOF | ||
| 6687 | 9008 | ||
| 6688 | 9009 | ||
| 6689 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 9010 | cat >>confdefs.h <<\_ACEOF |
| 9011 | #define __PROTOTYPES 1 | ||
| 9012 | _ACEOF | ||
| 6690 | 9013 | ||
| 6691 | else | 9014 | else |
| 6692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9015 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6693 | $as_echo "no" >&6; } | 9016 | $as_echo "no" >&6; } |
| 6694 | fi | 9017 | fi |
| 6695 | 9018 | ||
| 6696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 | 9019 | { $as_echo "$as_me:$LINENO: checking for working volatile" >&5 |
| 6697 | $as_echo_n "checking for working volatile... " >&6; } | 9020 | $as_echo_n "checking for working volatile... " >&6; } |
| 6698 | if test "${ac_cv_c_volatile+set}" = set; then : | 9021 | if test "${ac_cv_c_volatile+set}" = set; then |
| 6699 | $as_echo_n "(cached) " >&6 | 9022 | $as_echo_n "(cached) " >&6 |
| 6700 | else | 9023 | else |
| 6701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9024 | cat >conftest.$ac_ext <<_ACEOF |
| 9025 | /* confdefs.h. */ | ||
| 9026 | _ACEOF | ||
| 9027 | cat confdefs.h >>conftest.$ac_ext | ||
| 9028 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6702 | /* end confdefs.h. */ | 9029 | /* end confdefs.h. */ |
| 6703 | 9030 | ||
| 6704 | int | 9031 | int |
| @@ -6712,27 +9039,54 @@ return !x && !y; | |||
| 6712 | return 0; | 9039 | return 0; |
| 6713 | } | 9040 | } |
| 6714 | _ACEOF | 9041 | _ACEOF |
| 6715 | if ac_fn_c_try_compile "$LINENO"; then : | 9042 | rm -f conftest.$ac_objext |
| 9043 | if { (ac_try="$ac_compile" | ||
| 9044 | case "(($ac_try" in | ||
| 9045 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9046 | *) ac_try_echo=$ac_try;; | ||
| 9047 | esac | ||
| 9048 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9049 | $as_echo "$ac_try_echo") >&5 | ||
| 9050 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9051 | ac_status=$? | ||
| 9052 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9053 | rm -f conftest.er1 | ||
| 9054 | cat conftest.err >&5 | ||
| 9055 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9056 | (exit $ac_status); } && { | ||
| 9057 | test -z "$ac_c_werror_flag" || | ||
| 9058 | test ! -s conftest.err | ||
| 9059 | } && test -s conftest.$ac_objext; then | ||
| 6716 | ac_cv_c_volatile=yes | 9060 | ac_cv_c_volatile=yes |
| 6717 | else | 9061 | else |
| 6718 | ac_cv_c_volatile=no | 9062 | $as_echo "$as_me: failed program was:" >&5 |
| 9063 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9064 | |||
| 9065 | ac_cv_c_volatile=no | ||
| 6719 | fi | 9066 | fi |
| 9067 | |||
| 6720 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9068 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6721 | fi | 9069 | fi |
| 6722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 | 9070 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
| 6723 | $as_echo "$ac_cv_c_volatile" >&6; } | 9071 | $as_echo "$ac_cv_c_volatile" >&6; } |
| 6724 | if test $ac_cv_c_volatile = no; then | 9072 | if test $ac_cv_c_volatile = no; then |
| 6725 | 9073 | ||
| 6726 | $as_echo "#define volatile /**/" >>confdefs.h | 9074 | cat >>confdefs.h <<\_ACEOF |
| 9075 | #define volatile /**/ | ||
| 9076 | _ACEOF | ||
| 6727 | 9077 | ||
| 6728 | fi | 9078 | fi |
| 6729 | 9079 | ||
| 6730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 9080 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 6731 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 9081 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 6732 | if test "${ac_cv_c_const+set}" = set; then : | 9082 | if test "${ac_cv_c_const+set}" = set; then |
| 6733 | $as_echo_n "(cached) " >&6 | 9083 | $as_echo_n "(cached) " >&6 |
| 6734 | else | 9084 | else |
| 6735 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9085 | cat >conftest.$ac_ext <<_ACEOF |
| 9086 | /* confdefs.h. */ | ||
| 9087 | _ACEOF | ||
| 9088 | cat confdefs.h >>conftest.$ac_ext | ||
| 9089 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6736 | /* end confdefs.h. */ | 9090 | /* end confdefs.h. */ |
| 6737 | 9091 | ||
| 6738 | int | 9092 | int |
| @@ -6792,27 +9146,54 @@ main () | |||
| 6792 | return 0; | 9146 | return 0; |
| 6793 | } | 9147 | } |
| 6794 | _ACEOF | 9148 | _ACEOF |
| 6795 | if ac_fn_c_try_compile "$LINENO"; then : | 9149 | rm -f conftest.$ac_objext |
| 9150 | if { (ac_try="$ac_compile" | ||
| 9151 | case "(($ac_try" in | ||
| 9152 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9153 | *) ac_try_echo=$ac_try;; | ||
| 9154 | esac | ||
| 9155 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9156 | $as_echo "$ac_try_echo") >&5 | ||
| 9157 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9158 | ac_status=$? | ||
| 9159 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9160 | rm -f conftest.er1 | ||
| 9161 | cat conftest.err >&5 | ||
| 9162 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9163 | (exit $ac_status); } && { | ||
| 9164 | test -z "$ac_c_werror_flag" || | ||
| 9165 | test ! -s conftest.err | ||
| 9166 | } && test -s conftest.$ac_objext; then | ||
| 6796 | ac_cv_c_const=yes | 9167 | ac_cv_c_const=yes |
| 6797 | else | 9168 | else |
| 6798 | ac_cv_c_const=no | 9169 | $as_echo "$as_me: failed program was:" >&5 |
| 9170 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9171 | |||
| 9172 | ac_cv_c_const=no | ||
| 6799 | fi | 9173 | fi |
| 9174 | |||
| 6800 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9175 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6801 | fi | 9176 | fi |
| 6802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 9177 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 6803 | $as_echo "$ac_cv_c_const" >&6; } | 9178 | $as_echo "$ac_cv_c_const" >&6; } |
| 6804 | if test $ac_cv_c_const = no; then | 9179 | if test $ac_cv_c_const = no; then |
| 6805 | 9180 | ||
| 6806 | $as_echo "#define const /**/" >>confdefs.h | 9181 | cat >>confdefs.h <<\_ACEOF |
| 9182 | #define const /**/ | ||
| 9183 | _ACEOF | ||
| 6807 | 9184 | ||
| 6808 | fi | 9185 | fi |
| 6809 | 9186 | ||
| 6810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for void * support" >&5 | 9187 | { $as_echo "$as_me:$LINENO: checking for void * support" >&5 |
| 6811 | $as_echo_n "checking for void * support... " >&6; } | 9188 | $as_echo_n "checking for void * support... " >&6; } |
| 6812 | if test "${emacs_cv_void_star+set}" = set; then : | 9189 | if test "${emacs_cv_void_star+set}" = set; then |
| 6813 | $as_echo_n "(cached) " >&6 | 9190 | $as_echo_n "(cached) " >&6 |
| 6814 | else | 9191 | else |
| 6815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9192 | cat >conftest.$ac_ext <<_ACEOF |
| 9193 | /* confdefs.h. */ | ||
| 9194 | _ACEOF | ||
| 9195 | cat confdefs.h >>conftest.$ac_ext | ||
| 9196 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6816 | /* end confdefs.h. */ | 9197 | /* end confdefs.h. */ |
| 6817 | 9198 | ||
| 6818 | int | 9199 | int |
| @@ -6823,31 +9204,57 @@ void * foo; | |||
| 6823 | return 0; | 9204 | return 0; |
| 6824 | } | 9205 | } |
| 6825 | _ACEOF | 9206 | _ACEOF |
| 6826 | if ac_fn_c_try_compile "$LINENO"; then : | 9207 | rm -f conftest.$ac_objext |
| 9208 | if { (ac_try="$ac_compile" | ||
| 9209 | case "(($ac_try" in | ||
| 9210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9211 | *) ac_try_echo=$ac_try;; | ||
| 9212 | esac | ||
| 9213 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9214 | $as_echo "$ac_try_echo") >&5 | ||
| 9215 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9216 | ac_status=$? | ||
| 9217 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9218 | rm -f conftest.er1 | ||
| 9219 | cat conftest.err >&5 | ||
| 9220 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9221 | (exit $ac_status); } && { | ||
| 9222 | test -z "$ac_c_werror_flag" || | ||
| 9223 | test ! -s conftest.err | ||
| 9224 | } && test -s conftest.$ac_objext; then | ||
| 6827 | emacs_cv_void_star=yes | 9225 | emacs_cv_void_star=yes |
| 6828 | else | 9226 | else |
| 6829 | emacs_cv_void_star=no | 9227 | $as_echo "$as_me: failed program was:" >&5 |
| 9228 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9229 | |||
| 9230 | emacs_cv_void_star=no | ||
| 6830 | fi | 9231 | fi |
| 9232 | |||
| 6831 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9233 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6832 | fi | 9234 | fi |
| 6833 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_void_star" >&5 | 9235 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
| 6834 | $as_echo "$emacs_cv_void_star" >&6; } | 9236 | $as_echo "$emacs_cv_void_star" >&6; } |
| 6835 | if test $emacs_cv_void_star = yes; then | 9237 | if test $emacs_cv_void_star = yes; then |
| 6836 | $as_echo "#define POINTER_TYPE void" >>confdefs.h | 9238 | cat >>confdefs.h <<\_ACEOF |
| 9239 | #define POINTER_TYPE void | ||
| 9240 | _ACEOF | ||
| 6837 | 9241 | ||
| 6838 | else | 9242 | else |
| 6839 | $as_echo "#define POINTER_TYPE char" >>confdefs.h | 9243 | cat >>confdefs.h <<\_ACEOF |
| 9244 | #define POINTER_TYPE char | ||
| 9245 | _ACEOF | ||
| 6840 | 9246 | ||
| 6841 | fi | 9247 | fi |
| 6842 | 9248 | ||
| 6843 | 9249 | ||
| 6844 | 9250 | ||
| 6845 | 9251 | ||
| 6846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9252 | |
| 9253 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | ||
| 6847 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 9254 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6848 | set x ${MAKE-make} | 9255 | set x ${MAKE-make} |
| 6849 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 9256 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6850 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 9257 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6851 | $as_echo_n "(cached) " >&6 | 9258 | $as_echo_n "(cached) " >&6 |
| 6852 | else | 9259 | else |
| 6853 | cat >conftest.make <<\_ACEOF | 9260 | cat >conftest.make <<\_ACEOF |
| @@ -6865,18 +9272,18 @@ esac | |||
| 6865 | rm -f conftest.make | 9272 | rm -f conftest.make |
| 6866 | fi | 9273 | fi |
| 6867 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 9274 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6868 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 9275 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 6869 | $as_echo "yes" >&6; } | 9276 | $as_echo "yes" >&6; } |
| 6870 | SET_MAKE= | 9277 | SET_MAKE= |
| 6871 | else | 9278 | else |
| 6872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9279 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 6873 | $as_echo "no" >&6; } | 9280 | $as_echo "no" >&6; } |
| 6874 | SET_MAKE="MAKE=${MAKE-make}" | 9281 | SET_MAKE="MAKE=${MAKE-make}" |
| 6875 | fi | 9282 | fi |
| 6876 | 9283 | ||
| 6877 | 9284 | ||
| 6878 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then | 9285 | if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then |
| 6879 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU Make" >&5 | 9286 | { $as_echo "$as_me:$LINENO: checking whether we are using GNU Make" >&5 |
| 6880 | $as_echo_n "checking whether we are using GNU Make... " >&6; } | 9287 | $as_echo_n "checking whether we are using GNU Make... " >&6; } |
| 6881 | HAVE_GNU_MAKE=no | 9288 | HAVE_GNU_MAKE=no |
| 6882 | testval=`make --version 2>/dev/null | grep 'GNU Make'` | 9289 | testval=`make --version 2>/dev/null | grep 'GNU Make'` |
| @@ -6885,14 +9292,18 @@ $as_echo_n "checking whether we are using GNU Make... " >&6; } | |||
| 6885 | else | 9292 | else |
| 6886 | ac_enable_autodepend=no | 9293 | ac_enable_autodepend=no |
| 6887 | fi | 9294 | fi |
| 6888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_GNU_MAKE" >&5 | 9295 | { $as_echo "$as_me:$LINENO: result: $HAVE_GNU_MAKE" >&5 |
| 6889 | $as_echo "$HAVE_GNU_MAKE" >&6; } | 9296 | $as_echo "$HAVE_GNU_MAKE" >&6; } |
| 6890 | if test $HAVE_GNU_MAKE = yes; then | 9297 | if test $HAVE_GNU_MAKE = yes; then |
| 6891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -MMD -MF" >&5 | 9298 | { $as_echo "$as_me:$LINENO: checking whether gcc understands -MMD -MF" >&5 |
| 6892 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } | 9299 | $as_echo_n "checking whether gcc understands -MMD -MF... " >&6; } |
| 6893 | SAVE_CFLAGS="$CFLAGS" | 9300 | SAVE_CFLAGS="$CFLAGS" |
| 6894 | CFLAGS="$CFLAGS -MMD -MF deps.d" | 9301 | CFLAGS="$CFLAGS -MMD -MF deps.d" |
| 6895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9302 | cat >conftest.$ac_ext <<_ACEOF |
| 9303 | /* confdefs.h. */ | ||
| 9304 | _ACEOF | ||
| 9305 | cat confdefs.h >>conftest.$ac_ext | ||
| 9306 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 6896 | /* end confdefs.h. */ | 9307 | /* end confdefs.h. */ |
| 6897 | 9308 | ||
| 6898 | int | 9309 | int |
| @@ -6903,28 +9314,51 @@ main () | |||
| 6903 | return 0; | 9314 | return 0; |
| 6904 | } | 9315 | } |
| 6905 | _ACEOF | 9316 | _ACEOF |
| 6906 | if ac_fn_c_try_compile "$LINENO"; then : | 9317 | rm -f conftest.$ac_objext |
| 6907 | 9318 | if { (ac_try="$ac_compile" | |
| 9319 | case "(($ac_try" in | ||
| 9320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9321 | *) ac_try_echo=$ac_try;; | ||
| 9322 | esac | ||
| 9323 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9324 | $as_echo "$ac_try_echo") >&5 | ||
| 9325 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9326 | ac_status=$? | ||
| 9327 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9328 | rm -f conftest.er1 | ||
| 9329 | cat conftest.err >&5 | ||
| 9330 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9331 | (exit $ac_status); } && { | ||
| 9332 | test -z "$ac_c_werror_flag" || | ||
| 9333 | test ! -s conftest.err | ||
| 9334 | } && test -s conftest.$ac_objext; then | ||
| 9335 | : | ||
| 6908 | else | 9336 | else |
| 6909 | ac_enable_autodepend=no | 9337 | $as_echo "$as_me: failed program was:" >&5 |
| 9338 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9339 | |||
| 9340 | ac_enable_autodepend=no | ||
| 6910 | fi | 9341 | fi |
| 9342 | |||
| 6911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6912 | CFLAGS="$SAVE_CFLAGS" | 9344 | CFLAGS="$SAVE_CFLAGS" |
| 6913 | test -f deps.d || ac_enable_autodepend=no | 9345 | test -f deps.d || ac_enable_autodepend=no |
| 6914 | rm -rf deps.d | 9346 | rm -rf deps.d |
| 6915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_autodepend" >&5 | 9347 | { $as_echo "$as_me:$LINENO: result: $ac_enable_autodepend" >&5 |
| 6916 | $as_echo "$ac_enable_autodepend" >&6; } | 9348 | $as_echo "$ac_enable_autodepend" >&6; } |
| 6917 | fi | 9349 | fi |
| 6918 | if test $ac_enable_autodepend = yes; then | 9350 | if test $ac_enable_autodepend = yes; then |
| 6919 | 9351 | ||
| 6920 | $as_echo "#define AUTO_DEPEND 1" >>confdefs.h | 9352 | cat >>confdefs.h <<\_ACEOF |
| 9353 | #define AUTO_DEPEND 1 | ||
| 9354 | _ACEOF | ||
| 6921 | 9355 | ||
| 6922 | fi | 9356 | fi |
| 6923 | fi | 9357 | fi |
| 6924 | 9358 | ||
| 6925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 | 9359 | { $as_echo "$as_me:$LINENO: checking for long file names" >&5 |
| 6926 | $as_echo_n "checking for long file names... " >&6; } | 9360 | $as_echo_n "checking for long file names... " >&6; } |
| 6927 | if test "${ac_cv_sys_long_file_names+set}" = set; then : | 9361 | if test "${ac_cv_sys_long_file_names+set}" = set; then |
| 6928 | $as_echo_n "(cached) " >&6 | 9362 | $as_echo_n "(cached) " >&6 |
| 6929 | else | 9363 | else |
| 6930 | ac_cv_sys_long_file_names=yes | 9364 | ac_cv_sys_long_file_names=yes |
| @@ -6954,23 +9388,25 @@ for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib | |||
| 6954 | test $ac_cv_sys_long_file_names = no && break | 9388 | test $ac_cv_sys_long_file_names = no && break |
| 6955 | done | 9389 | done |
| 6956 | fi | 9390 | fi |
| 6957 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 | 9391 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
| 6958 | $as_echo "$ac_cv_sys_long_file_names" >&6; } | 9392 | $as_echo "$ac_cv_sys_long_file_names" >&6; } |
| 6959 | if test $ac_cv_sys_long_file_names = yes; then | 9393 | if test $ac_cv_sys_long_file_names = yes; then |
| 6960 | 9394 | ||
| 6961 | $as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h | 9395 | cat >>confdefs.h <<\_ACEOF |
| 9396 | #define HAVE_LONG_FILE_NAMES 1 | ||
| 9397 | _ACEOF | ||
| 6962 | 9398 | ||
| 6963 | fi | 9399 | fi |
| 6964 | 9400 | ||
| 6965 | 9401 | ||
| 6966 | #### Choose a window system. | 9402 | #### Choose a window system. |
| 6967 | 9403 | ||
| 6968 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 | 9404 | { $as_echo "$as_me:$LINENO: checking for X" >&5 |
| 6969 | $as_echo_n "checking for X... " >&6; } | 9405 | $as_echo_n "checking for X... " >&6; } |
| 6970 | 9406 | ||
| 6971 | 9407 | ||
| 6972 | # Check whether --with-x was given. | 9408 | # Check whether --with-x was given. |
| 6973 | if test "${with_x+set}" = set; then : | 9409 | if test "${with_x+set}" = set; then |
| 6974 | withval=$with_x; | 9410 | withval=$with_x; |
| 6975 | fi | 9411 | fi |
| 6976 | 9412 | ||
| @@ -6980,8 +9416,10 @@ if test "x$with_x" = xno; then | |||
| 6980 | have_x=disabled | 9416 | have_x=disabled |
| 6981 | else | 9417 | else |
| 6982 | case $x_includes,$x_libraries in #( | 9418 | case $x_includes,$x_libraries in #( |
| 6983 | *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( | 9419 | *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
| 6984 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 9420 | $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
| 9421 | { (exit 1); exit 1; }; };; #( | ||
| 9422 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | ||
| 6985 | $as_echo_n "(cached) " >&6 | 9423 | $as_echo_n "(cached) " >&6 |
| 6986 | else | 9424 | else |
| 6987 | # One or both of the vars are not set, and there is no cached value. | 9425 | # One or both of the vars are not set, and there is no cached value. |
| @@ -7017,7 +9455,7 @@ _ACEOF | |||
| 7017 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9455 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 7018 | esac | 9456 | esac |
| 7019 | case $ac_im_usrlibdir in | 9457 | case $ac_im_usrlibdir in |
| 7020 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; | 9458 | /usr/lib | /lib) ;; |
| 7021 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9459 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
| 7022 | esac | 9460 | esac |
| 7023 | fi | 9461 | fi |
| @@ -7029,25 +9467,21 @@ fi | |||
| 7029 | # Check X11 before X11Rn because it is often a symlink to the current release. | 9467 | # Check X11 before X11Rn because it is often a symlink to the current release. |
| 7030 | ac_x_header_dirs=' | 9468 | ac_x_header_dirs=' |
| 7031 | /usr/X11/include | 9469 | /usr/X11/include |
| 7032 | /usr/X11R7/include | ||
| 7033 | /usr/X11R6/include | 9470 | /usr/X11R6/include |
| 7034 | /usr/X11R5/include | 9471 | /usr/X11R5/include |
| 7035 | /usr/X11R4/include | 9472 | /usr/X11R4/include |
| 7036 | 9473 | ||
| 7037 | /usr/include/X11 | 9474 | /usr/include/X11 |
| 7038 | /usr/include/X11R7 | ||
| 7039 | /usr/include/X11R6 | 9475 | /usr/include/X11R6 |
| 7040 | /usr/include/X11R5 | 9476 | /usr/include/X11R5 |
| 7041 | /usr/include/X11R4 | 9477 | /usr/include/X11R4 |
| 7042 | 9478 | ||
| 7043 | /usr/local/X11/include | 9479 | /usr/local/X11/include |
| 7044 | /usr/local/X11R7/include | ||
| 7045 | /usr/local/X11R6/include | 9480 | /usr/local/X11R6/include |
| 7046 | /usr/local/X11R5/include | 9481 | /usr/local/X11R5/include |
| 7047 | /usr/local/X11R4/include | 9482 | /usr/local/X11R4/include |
| 7048 | 9483 | ||
| 7049 | /usr/local/include/X11 | 9484 | /usr/local/include/X11 |
| 7050 | /usr/local/include/X11R7 | ||
| 7051 | /usr/local/include/X11R6 | 9485 | /usr/local/include/X11R6 |
| 7052 | /usr/local/include/X11R5 | 9486 | /usr/local/include/X11R5 |
| 7053 | /usr/local/include/X11R4 | 9487 | /usr/local/include/X11R4 |
| @@ -7069,14 +9503,37 @@ ac_x_header_dirs=' | |||
| 7069 | if test "$ac_x_includes" = no; then | 9503 | if test "$ac_x_includes" = no; then |
| 7070 | # Guess where to find include files, by looking for Xlib.h. | 9504 | # Guess where to find include files, by looking for Xlib.h. |
| 7071 | # First, try using that file with no special directory specified. | 9505 | # First, try using that file with no special directory specified. |
| 7072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9506 | cat >conftest.$ac_ext <<_ACEOF |
| 9507 | /* confdefs.h. */ | ||
| 9508 | _ACEOF | ||
| 9509 | cat confdefs.h >>conftest.$ac_ext | ||
| 9510 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7073 | /* end confdefs.h. */ | 9511 | /* end confdefs.h. */ |
| 7074 | #include <X11/Xlib.h> | 9512 | #include <X11/Xlib.h> |
| 7075 | _ACEOF | 9513 | _ACEOF |
| 7076 | if ac_fn_c_try_cpp "$LINENO"; then : | 9514 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9515 | case "(($ac_try" in | ||
| 9516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9517 | *) ac_try_echo=$ac_try;; | ||
| 9518 | esac | ||
| 9519 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9520 | $as_echo "$ac_try_echo") >&5 | ||
| 9521 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9522 | ac_status=$? | ||
| 9523 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9524 | rm -f conftest.er1 | ||
| 9525 | cat conftest.err >&5 | ||
| 9526 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9527 | (exit $ac_status); } >/dev/null && { | ||
| 9528 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9529 | test ! -s conftest.err | ||
| 9530 | }; then | ||
| 7077 | # We can compile using X headers with no special include directory. | 9531 | # We can compile using X headers with no special include directory. |
| 7078 | ac_x_includes= | 9532 | ac_x_includes= |
| 7079 | else | 9533 | else |
| 9534 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9535 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9536 | |||
| 7080 | for ac_dir in $ac_x_header_dirs; do | 9537 | for ac_dir in $ac_x_header_dirs; do |
| 7081 | if test -r "$ac_dir/X11/Xlib.h"; then | 9538 | if test -r "$ac_dir/X11/Xlib.h"; then |
| 7082 | ac_x_includes=$ac_dir | 9539 | ac_x_includes=$ac_dir |
| @@ -7084,6 +9541,7 @@ else | |||
| 7084 | fi | 9541 | fi |
| 7085 | done | 9542 | done |
| 7086 | fi | 9543 | fi |
| 9544 | |||
| 7087 | rm -f conftest.err conftest.$ac_ext | 9545 | rm -f conftest.err conftest.$ac_ext |
| 7088 | fi # $ac_x_includes = no | 9546 | fi # $ac_x_includes = no |
| 7089 | 9547 | ||
| @@ -7093,7 +9551,11 @@ if test "$ac_x_libraries" = no; then | |||
| 7093 | # Don't add to $LIBS permanently. | 9551 | # Don't add to $LIBS permanently. |
| 7094 | ac_save_LIBS=$LIBS | 9552 | ac_save_LIBS=$LIBS |
| 7095 | LIBS="-lX11 $LIBS" | 9553 | LIBS="-lX11 $LIBS" |
| 7096 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9554 | cat >conftest.$ac_ext <<_ACEOF |
| 9555 | /* confdefs.h. */ | ||
| 9556 | _ACEOF | ||
| 9557 | cat confdefs.h >>conftest.$ac_ext | ||
| 9558 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7097 | /* end confdefs.h. */ | 9559 | /* end confdefs.h. */ |
| 7098 | #include <X11/Xlib.h> | 9560 | #include <X11/Xlib.h> |
| 7099 | int | 9561 | int |
| @@ -7104,12 +9566,35 @@ XrmInitialize () | |||
| 7104 | return 0; | 9566 | return 0; |
| 7105 | } | 9567 | } |
| 7106 | _ACEOF | 9568 | _ACEOF |
| 7107 | if ac_fn_c_try_link "$LINENO"; then : | 9569 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9570 | if { (ac_try="$ac_link" | ||
| 9571 | case "(($ac_try" in | ||
| 9572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9573 | *) ac_try_echo=$ac_try;; | ||
| 9574 | esac | ||
| 9575 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9576 | $as_echo "$ac_try_echo") >&5 | ||
| 9577 | (eval "$ac_link") 2>conftest.er1 | ||
| 9578 | ac_status=$? | ||
| 9579 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9580 | rm -f conftest.er1 | ||
| 9581 | cat conftest.err >&5 | ||
| 9582 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9583 | (exit $ac_status); } && { | ||
| 9584 | test -z "$ac_c_werror_flag" || | ||
| 9585 | test ! -s conftest.err | ||
| 9586 | } && test -s conftest$ac_exeext && { | ||
| 9587 | test "$cross_compiling" = yes || | ||
| 9588 | $as_test_x conftest$ac_exeext | ||
| 9589 | }; then | ||
| 7108 | LIBS=$ac_save_LIBS | 9590 | LIBS=$ac_save_LIBS |
| 7109 | # We can link X programs with no special library path. | 9591 | # We can link X programs with no special library path. |
| 7110 | ac_x_libraries= | 9592 | ac_x_libraries= |
| 7111 | else | 9593 | else |
| 7112 | LIBS=$ac_save_LIBS | 9594 | $as_echo "$as_me: failed program was:" >&5 |
| 9595 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9596 | |||
| 9597 | LIBS=$ac_save_LIBS | ||
| 7113 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9598 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 7114 | do | 9599 | do |
| 7115 | # Don't even attempt the hair of trying to link an X program! | 9600 | # Don't even attempt the hair of trying to link an X program! |
| @@ -7121,8 +9606,10 @@ do | |||
| 7121 | done | 9606 | done |
| 7122 | done | 9607 | done |
| 7123 | fi | 9608 | fi |
| 7124 | rm -f core conftest.err conftest.$ac_objext \ | 9609 | |
| 7125 | conftest$ac_exeext conftest.$ac_ext | 9610 | rm -rf conftest.dSYM |
| 9611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9612 | conftest$ac_exeext conftest.$ac_ext | ||
| 7126 | fi # $ac_x_libraries = no | 9613 | fi # $ac_x_libraries = no |
| 7127 | 9614 | ||
| 7128 | case $ac_x_includes,$ac_x_libraries in #( | 9615 | case $ac_x_includes,$ac_x_libraries in #( |
| @@ -7143,7 +9630,7 @@ fi | |||
| 7143 | fi # $with_x != no | 9630 | fi # $with_x != no |
| 7144 | 9631 | ||
| 7145 | if test "$have_x" != yes; then | 9632 | if test "$have_x" != yes; then |
| 7146 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 | 9633 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
| 7147 | $as_echo "$have_x" >&6; } | 9634 | $as_echo "$have_x" >&6; } |
| 7148 | no_x=yes | 9635 | no_x=yes |
| 7149 | else | 9636 | else |
| @@ -7154,7 +9641,7 @@ else | |||
| 7154 | ac_cv_have_x="have_x=yes\ | 9641 | ac_cv_have_x="have_x=yes\ |
| 7155 | ac_x_includes='$x_includes'\ | 9642 | ac_x_includes='$x_includes'\ |
| 7156 | ac_x_libraries='$x_libraries'" | 9643 | ac_x_libraries='$x_libraries'" |
| 7157 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 | 9644 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
| 7158 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | 9645 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
| 7159 | fi | 9646 | fi |
| 7160 | 9647 | ||
| @@ -7250,17 +9737,150 @@ if test "${with_ns}" != no; then | |||
| 7250 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9737 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| 7251 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 9738 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
| 7252 | fi | 9739 | fi |
| 7253 | ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 9740 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then |
| 7254 | if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 9741 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 |
| 9742 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9743 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9744 | $as_echo_n "(cached) " >&6 | ||
| 9745 | fi | ||
| 9746 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9747 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9748 | else | ||
| 9749 | # Is the header compilable? | ||
| 9750 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h usability" >&5 | ||
| 9751 | $as_echo_n "checking AppKit/AppKit.h usability... " >&6; } | ||
| 9752 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9753 | /* confdefs.h. */ | ||
| 9754 | _ACEOF | ||
| 9755 | cat confdefs.h >>conftest.$ac_ext | ||
| 9756 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9757 | /* end confdefs.h. */ | ||
| 9758 | $ac_includes_default | ||
| 9759 | #include <AppKit/AppKit.h> | ||
| 9760 | _ACEOF | ||
| 9761 | rm -f conftest.$ac_objext | ||
| 9762 | if { (ac_try="$ac_compile" | ||
| 9763 | case "(($ac_try" in | ||
| 9764 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9765 | *) ac_try_echo=$ac_try;; | ||
| 9766 | esac | ||
| 9767 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9768 | $as_echo "$ac_try_echo") >&5 | ||
| 9769 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9770 | ac_status=$? | ||
| 9771 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9772 | rm -f conftest.er1 | ||
| 9773 | cat conftest.err >&5 | ||
| 9774 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9775 | (exit $ac_status); } && { | ||
| 9776 | test -z "$ac_c_werror_flag" || | ||
| 9777 | test ! -s conftest.err | ||
| 9778 | } && test -s conftest.$ac_objext; then | ||
| 9779 | ac_header_compiler=yes | ||
| 9780 | else | ||
| 9781 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9782 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9783 | |||
| 9784 | ac_header_compiler=no | ||
| 9785 | fi | ||
| 9786 | |||
| 9787 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 9788 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 9789 | $as_echo "$ac_header_compiler" >&6; } | ||
| 9790 | |||
| 9791 | # Is the header present? | ||
| 9792 | { $as_echo "$as_me:$LINENO: checking AppKit/AppKit.h presence" >&5 | ||
| 9793 | $as_echo_n "checking AppKit/AppKit.h presence... " >&6; } | ||
| 9794 | cat >conftest.$ac_ext <<_ACEOF | ||
| 9795 | /* confdefs.h. */ | ||
| 9796 | _ACEOF | ||
| 9797 | cat confdefs.h >>conftest.$ac_ext | ||
| 9798 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9799 | /* end confdefs.h. */ | ||
| 9800 | #include <AppKit/AppKit.h> | ||
| 9801 | _ACEOF | ||
| 9802 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 9803 | case "(($ac_try" in | ||
| 9804 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9805 | *) ac_try_echo=$ac_try;; | ||
| 9806 | esac | ||
| 9807 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9808 | $as_echo "$ac_try_echo") >&5 | ||
| 9809 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9810 | ac_status=$? | ||
| 9811 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9812 | rm -f conftest.er1 | ||
| 9813 | cat conftest.err >&5 | ||
| 9814 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9815 | (exit $ac_status); } >/dev/null && { | ||
| 9816 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 9817 | test ! -s conftest.err | ||
| 9818 | }; then | ||
| 9819 | ac_header_preproc=yes | ||
| 9820 | else | ||
| 9821 | $as_echo "$as_me: failed program was:" >&5 | ||
| 9822 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9823 | |||
| 9824 | ac_header_preproc=no | ||
| 9825 | fi | ||
| 9826 | |||
| 9827 | rm -f conftest.err conftest.$ac_ext | ||
| 9828 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 9829 | $as_echo "$ac_header_preproc" >&6; } | ||
| 9830 | |||
| 9831 | # So? What about this header? | ||
| 9832 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 9833 | yes:no: ) | ||
| 9834 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 9835 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 9836 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&5 | ||
| 9837 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the compiler's result" >&2;} | ||
| 9838 | ac_header_preproc=yes | ||
| 9839 | ;; | ||
| 9840 | no:yes:* ) | ||
| 9841 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&5 | ||
| 9842 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: present but cannot be compiled" >&2;} | ||
| 9843 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&5 | ||
| 9844 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: check for missing prerequisite headers?" >&2;} | ||
| 9845 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&5 | ||
| 9846 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: see the Autoconf documentation" >&2;} | ||
| 9847 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 9848 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 9849 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&5 | ||
| 9850 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: proceeding with the preprocessor's result" >&2;} | ||
| 9851 | { $as_echo "$as_me:$LINENO: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&5 | ||
| 9852 | $as_echo "$as_me: WARNING: AppKit/AppKit.h: in the future, the compiler will take precedence" >&2;} | ||
| 9853 | |||
| 9854 | ;; | ||
| 9855 | esac | ||
| 9856 | { $as_echo "$as_me:$LINENO: checking for AppKit/AppKit.h" >&5 | ||
| 9857 | $as_echo_n "checking for AppKit/AppKit.h... " >&6; } | ||
| 9858 | if test "${ac_cv_header_AppKit_AppKit_h+set}" = set; then | ||
| 9859 | $as_echo_n "(cached) " >&6 | ||
| 9860 | else | ||
| 9861 | ac_cv_header_AppKit_AppKit_h=$ac_header_preproc | ||
| 9862 | fi | ||
| 9863 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_AppKit_AppKit_h" >&5 | ||
| 9864 | $as_echo "$ac_cv_header_AppKit_AppKit_h" >&6; } | ||
| 9865 | |||
| 9866 | fi | ||
| 9867 | if test $ac_cv_header_AppKit_AppKit_h = yes; then | ||
| 7255 | HAVE_NS=yes | 9868 | HAVE_NS=yes |
| 7256 | else | 9869 | else |
| 7257 | as_fn_error "\`--with-ns' was specified, but the include | 9870 | { { $as_echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include |
| 7258 | files are missing or cannot be compiled." "$LINENO" 5 | 9871 | files are missing or cannot be compiled." >&5 |
| 9872 | $as_echo "$as_me: error: \`--with-ns' was specified, but the include | ||
| 9873 | files are missing or cannot be compiled." >&2;} | ||
| 9874 | { (exit 1); exit 1; }; } | ||
| 7259 | fi | 9875 | fi |
| 7260 | 9876 | ||
| 7261 | 9877 | ||
| 7262 | NS_HAVE_NSINTEGER=yes | 9878 | NS_HAVE_NSINTEGER=yes |
| 7263 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9879 | cat >conftest.$ac_ext <<_ACEOF |
| 9880 | /* confdefs.h. */ | ||
| 9881 | _ACEOF | ||
| 9882 | cat confdefs.h >>conftest.$ac_ext | ||
| 9883 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7264 | /* end confdefs.h. */ | 9884 | /* end confdefs.h. */ |
| 7265 | #include <Foundation/NSObjCRuntime.h> | 9885 | #include <Foundation/NSObjCRuntime.h> |
| 7266 | int | 9886 | int |
| @@ -7271,11 +9891,32 @@ NSInteger i; | |||
| 7271 | return 0; | 9891 | return 0; |
| 7272 | } | 9892 | } |
| 7273 | _ACEOF | 9893 | _ACEOF |
| 7274 | if ac_fn_c_try_compile "$LINENO"; then : | 9894 | rm -f conftest.$ac_objext |
| 9895 | if { (ac_try="$ac_compile" | ||
| 9896 | case "(($ac_try" in | ||
| 9897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9898 | *) ac_try_echo=$ac_try;; | ||
| 9899 | esac | ||
| 9900 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 9901 | $as_echo "$ac_try_echo") >&5 | ||
| 9902 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9903 | ac_status=$? | ||
| 9904 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 9905 | rm -f conftest.er1 | ||
| 9906 | cat conftest.err >&5 | ||
| 9907 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9908 | (exit $ac_status); } && { | ||
| 9909 | test -z "$ac_c_werror_flag" || | ||
| 9910 | test ! -s conftest.err | ||
| 9911 | } && test -s conftest.$ac_objext; then | ||
| 7275 | ns_have_nsinteger=yes | 9912 | ns_have_nsinteger=yes |
| 7276 | else | 9913 | else |
| 7277 | ns_have_nsinteger=no | 9914 | $as_echo "$as_me: failed program was:" >&5 |
| 9915 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 9916 | |||
| 9917 | ns_have_nsinteger=no | ||
| 7278 | fi | 9918 | fi |
| 9919 | |||
| 7279 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9920 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7280 | if test $ns_have_nsinteger = no; then | 9921 | if test $ns_have_nsinteger = no; then |
| 7281 | NS_HAVE_NSINTEGER=no | 9922 | NS_HAVE_NSINTEGER=no |
| @@ -7317,9 +9958,9 @@ esac | |||
| 7317 | if test "$window_system" = none && test "X$with_x" != "Xno"; then | 9958 | if test "$window_system" = none && test "X$with_x" != "Xno"; then |
| 7318 | # Extract the first word of "X", so it can be a program name with args. | 9959 | # Extract the first word of "X", so it can be a program name with args. |
| 7319 | set dummy X; ac_word=$2 | 9960 | set dummy X; ac_word=$2 |
| 7320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9961 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 7321 | $as_echo_n "checking for $ac_word... " >&6; } | 9962 | $as_echo_n "checking for $ac_word... " >&6; } |
| 7322 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then : | 9963 | if test "${ac_cv_prog_HAVE_XSERVER+set}" = set; then |
| 7323 | $as_echo_n "(cached) " >&6 | 9964 | $as_echo_n "(cached) " >&6 |
| 7324 | else | 9965 | else |
| 7325 | if test -n "$HAVE_XSERVER"; then | 9966 | if test -n "$HAVE_XSERVER"; then |
| @@ -7330,14 +9971,14 @@ for as_dir in $PATH | |||
| 7330 | do | 9971 | do |
| 7331 | IFS=$as_save_IFS | 9972 | IFS=$as_save_IFS |
| 7332 | test -z "$as_dir" && as_dir=. | 9973 | test -z "$as_dir" && as_dir=. |
| 7333 | for ac_exec_ext in '' $ac_executable_extensions; do | 9974 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 7334 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9975 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 7335 | ac_cv_prog_HAVE_XSERVER="true" | 9976 | ac_cv_prog_HAVE_XSERVER="true" |
| 7336 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9977 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 7337 | break 2 | 9978 | break 2 |
| 7338 | fi | 9979 | fi |
| 7339 | done | 9980 | done |
| 7340 | done | 9981 | done |
| 7341 | IFS=$as_save_IFS | 9982 | IFS=$as_save_IFS |
| 7342 | 9983 | ||
| 7343 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" | 9984 | test -z "$ac_cv_prog_HAVE_XSERVER" && ac_cv_prog_HAVE_XSERVER="false" |
| @@ -7345,10 +9986,10 @@ fi | |||
| 7345 | fi | 9986 | fi |
| 7346 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER | 9987 | HAVE_XSERVER=$ac_cv_prog_HAVE_XSERVER |
| 7347 | if test -n "$HAVE_XSERVER"; then | 9988 | if test -n "$HAVE_XSERVER"; then |
| 7348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XSERVER" >&5 | 9989 | { $as_echo "$as_me:$LINENO: result: $HAVE_XSERVER" >&5 |
| 7349 | $as_echo "$HAVE_XSERVER" >&6; } | 9990 | $as_echo "$HAVE_XSERVER" >&6; } |
| 7350 | else | 9991 | else |
| 7351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9992 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7352 | $as_echo "no" >&6; } | 9993 | $as_echo "no" >&6; } |
| 7353 | fi | 9994 | fi |
| 7354 | 9995 | ||
| @@ -7356,14 +9997,23 @@ fi | |||
| 7356 | if test "$HAVE_XSERVER" = true || | 9997 | if test "$HAVE_XSERVER" = true || |
| 7357 | test -n "$DISPLAY" || | 9998 | test -n "$DISPLAY" || |
| 7358 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 9999 | test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
| 7359 | as_fn_error "You seem to be running X, but no X development libraries | 10000 | { { $as_echo "$as_me:$LINENO: error: You seem to be running X, but no X development libraries |
| 10001 | were found. You should install the relevant development files for X | ||
| 10002 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | ||
| 10003 | sure you have development files for image handling, i.e. | ||
| 10004 | tiff, gif, jpeg, png and xpm. | ||
| 10005 | If you are sure you want Emacs compiled without X window support, pass | ||
| 10006 | --without-x | ||
| 10007 | to configure." >&5 | ||
| 10008 | $as_echo "$as_me: error: You seem to be running X, but no X development libraries | ||
| 7360 | were found. You should install the relevant development files for X | 10009 | were found. You should install the relevant development files for X |
| 7361 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 10010 | and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
| 7362 | sure you have development files for image handling, i.e. | 10011 | sure you have development files for image handling, i.e. |
| 7363 | tiff, gif, jpeg, png and xpm. | 10012 | tiff, gif, jpeg, png and xpm. |
| 7364 | If you are sure you want Emacs compiled without X window support, pass | 10013 | If you are sure you want Emacs compiled without X window support, pass |
| 7365 | --without-x | 10014 | --without-x |
| 7366 | to configure." "$LINENO" 5 | 10015 | to configure." >&2;} |
| 10016 | { (exit 1); exit 1; }; } | ||
| 7367 | fi | 10017 | fi |
| 7368 | fi | 10018 | fi |
| 7369 | 10019 | ||
| @@ -7377,26 +10027,198 @@ esac | |||
| 7377 | # Assume not, until told otherwise. | 10027 | # Assume not, until told otherwise. |
| 7378 | GNU_MALLOC=yes | 10028 | GNU_MALLOC=yes |
| 7379 | doug_lea_malloc=yes | 10029 | doug_lea_malloc=yes |
| 7380 | ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state" | 10030 | { $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
| 7381 | if test "x$ac_cv_func_malloc_get_state" = x""yes; then : | 10031 | $as_echo_n "checking for malloc_get_state... " >&6; } |
| 10032 | if test "${ac_cv_func_malloc_get_state+set}" = set; then | ||
| 10033 | $as_echo_n "(cached) " >&6 | ||
| 10034 | else | ||
| 10035 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10036 | /* confdefs.h. */ | ||
| 10037 | _ACEOF | ||
| 10038 | cat confdefs.h >>conftest.$ac_ext | ||
| 10039 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10040 | /* end confdefs.h. */ | ||
| 10041 | /* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state. | ||
| 10042 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10043 | #define malloc_get_state innocuous_malloc_get_state | ||
| 10044 | |||
| 10045 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10046 | which can conflict with char malloc_get_state (); below. | ||
| 10047 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10048 | <limits.h> exists even on freestanding compilers. */ | ||
| 10049 | |||
| 10050 | #ifdef __STDC__ | ||
| 10051 | # include <limits.h> | ||
| 10052 | #else | ||
| 10053 | # include <assert.h> | ||
| 10054 | #endif | ||
| 10055 | |||
| 10056 | #undef malloc_get_state | ||
| 10057 | |||
| 10058 | /* Override any GCC internal prototype to avoid an error. | ||
| 10059 | Use char because int might match the return type of a GCC | ||
| 10060 | builtin and then its argument prototype would still apply. */ | ||
| 10061 | #ifdef __cplusplus | ||
| 10062 | extern "C" | ||
| 10063 | #endif | ||
| 10064 | char malloc_get_state (); | ||
| 10065 | /* The GNU C library defines this for functions which it implements | ||
| 10066 | to always fail with ENOSYS. Some functions are actually named | ||
| 10067 | something starting with __ and the normal name is an alias. */ | ||
| 10068 | #if defined __stub_malloc_get_state || defined __stub___malloc_get_state | ||
| 10069 | choke me | ||
| 10070 | #endif | ||
| 10071 | |||
| 10072 | int | ||
| 10073 | main () | ||
| 10074 | { | ||
| 10075 | return malloc_get_state (); | ||
| 10076 | ; | ||
| 10077 | return 0; | ||
| 10078 | } | ||
| 10079 | _ACEOF | ||
| 10080 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10081 | if { (ac_try="$ac_link" | ||
| 10082 | case "(($ac_try" in | ||
| 10083 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10084 | *) ac_try_echo=$ac_try;; | ||
| 10085 | esac | ||
| 10086 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10087 | $as_echo "$ac_try_echo") >&5 | ||
| 10088 | (eval "$ac_link") 2>conftest.er1 | ||
| 10089 | ac_status=$? | ||
| 10090 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10091 | rm -f conftest.er1 | ||
| 10092 | cat conftest.err >&5 | ||
| 10093 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10094 | (exit $ac_status); } && { | ||
| 10095 | test -z "$ac_c_werror_flag" || | ||
| 10096 | test ! -s conftest.err | ||
| 10097 | } && test -s conftest$ac_exeext && { | ||
| 10098 | test "$cross_compiling" = yes || | ||
| 10099 | $as_test_x conftest$ac_exeext | ||
| 10100 | }; then | ||
| 10101 | ac_cv_func_malloc_get_state=yes | ||
| 10102 | else | ||
| 10103 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10104 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10105 | |||
| 10106 | ac_cv_func_malloc_get_state=no | ||
| 10107 | fi | ||
| 7382 | 10108 | ||
| 10109 | rm -rf conftest.dSYM | ||
| 10110 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10111 | conftest$ac_exeext conftest.$ac_ext | ||
| 10112 | fi | ||
| 10113 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | ||
| 10114 | $as_echo "$ac_cv_func_malloc_get_state" >&6; } | ||
| 10115 | if test $ac_cv_func_malloc_get_state = yes; then | ||
| 10116 | : | ||
| 7383 | else | 10117 | else |
| 7384 | doug_lea_malloc=no | 10118 | doug_lea_malloc=no |
| 7385 | fi | 10119 | fi |
| 7386 | 10120 | ||
| 7387 | ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" | 10121 | { $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
| 7388 | if test "x$ac_cv_func_malloc_set_state" = x""yes; then : | 10122 | $as_echo_n "checking for malloc_set_state... " >&6; } |
| 10123 | if test "${ac_cv_func_malloc_set_state+set}" = set; then | ||
| 10124 | $as_echo_n "(cached) " >&6 | ||
| 10125 | else | ||
| 10126 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10127 | /* confdefs.h. */ | ||
| 10128 | _ACEOF | ||
| 10129 | cat confdefs.h >>conftest.$ac_ext | ||
| 10130 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10131 | /* end confdefs.h. */ | ||
| 10132 | /* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state. | ||
| 10133 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10134 | #define malloc_set_state innocuous_malloc_set_state | ||
| 10135 | |||
| 10136 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10137 | which can conflict with char malloc_set_state (); below. | ||
| 10138 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10139 | <limits.h> exists even on freestanding compilers. */ | ||
| 10140 | |||
| 10141 | #ifdef __STDC__ | ||
| 10142 | # include <limits.h> | ||
| 10143 | #else | ||
| 10144 | # include <assert.h> | ||
| 10145 | #endif | ||
| 10146 | |||
| 10147 | #undef malloc_set_state | ||
| 10148 | |||
| 10149 | /* Override any GCC internal prototype to avoid an error. | ||
| 10150 | Use char because int might match the return type of a GCC | ||
| 10151 | builtin and then its argument prototype would still apply. */ | ||
| 10152 | #ifdef __cplusplus | ||
| 10153 | extern "C" | ||
| 10154 | #endif | ||
| 10155 | char malloc_set_state (); | ||
| 10156 | /* The GNU C library defines this for functions which it implements | ||
| 10157 | to always fail with ENOSYS. Some functions are actually named | ||
| 10158 | something starting with __ and the normal name is an alias. */ | ||
| 10159 | #if defined __stub_malloc_set_state || defined __stub___malloc_set_state | ||
| 10160 | choke me | ||
| 10161 | #endif | ||
| 10162 | |||
| 10163 | int | ||
| 10164 | main () | ||
| 10165 | { | ||
| 10166 | return malloc_set_state (); | ||
| 10167 | ; | ||
| 10168 | return 0; | ||
| 10169 | } | ||
| 10170 | _ACEOF | ||
| 10171 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10172 | if { (ac_try="$ac_link" | ||
| 10173 | case "(($ac_try" in | ||
| 10174 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10175 | *) ac_try_echo=$ac_try;; | ||
| 10176 | esac | ||
| 10177 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10178 | $as_echo "$ac_try_echo") >&5 | ||
| 10179 | (eval "$ac_link") 2>conftest.er1 | ||
| 10180 | ac_status=$? | ||
| 10181 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10182 | rm -f conftest.er1 | ||
| 10183 | cat conftest.err >&5 | ||
| 10184 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10185 | (exit $ac_status); } && { | ||
| 10186 | test -z "$ac_c_werror_flag" || | ||
| 10187 | test ! -s conftest.err | ||
| 10188 | } && test -s conftest$ac_exeext && { | ||
| 10189 | test "$cross_compiling" = yes || | ||
| 10190 | $as_test_x conftest$ac_exeext | ||
| 10191 | }; then | ||
| 10192 | ac_cv_func_malloc_set_state=yes | ||
| 10193 | else | ||
| 10194 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10196 | |||
| 10197 | ac_cv_func_malloc_set_state=no | ||
| 10198 | fi | ||
| 7389 | 10199 | ||
| 10200 | rm -rf conftest.dSYM | ||
| 10201 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10202 | conftest$ac_exeext conftest.$ac_ext | ||
| 10203 | fi | ||
| 10204 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | ||
| 10205 | $as_echo "$ac_cv_func_malloc_set_state" >&6; } | ||
| 10206 | if test $ac_cv_func_malloc_set_state = yes; then | ||
| 10207 | : | ||
| 7390 | else | 10208 | else |
| 7391 | doug_lea_malloc=no | 10209 | doug_lea_malloc=no |
| 7392 | fi | 10210 | fi |
| 7393 | 10211 | ||
| 7394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __after_morecore_hook exists" >&5 | 10212 | { $as_echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
| 7395 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } | 10213 | $as_echo_n "checking whether __after_morecore_hook exists... " >&6; } |
| 7396 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then : | 10214 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
| 7397 | $as_echo_n "(cached) " >&6 | 10215 | $as_echo_n "(cached) " >&6 |
| 7398 | else | 10216 | else |
| 7399 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10217 | cat >conftest.$ac_ext <<_ACEOF |
| 10218 | /* confdefs.h. */ | ||
| 10219 | _ACEOF | ||
| 10220 | cat confdefs.h >>conftest.$ac_ext | ||
| 10221 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7400 | /* end confdefs.h. */ | 10222 | /* end confdefs.h. */ |
| 7401 | extern void (* __after_morecore_hook)(); | 10223 | extern void (* __after_morecore_hook)(); |
| 7402 | int | 10224 | int |
| @@ -7407,15 +10229,40 @@ __after_morecore_hook = 0 | |||
| 7407 | return 0; | 10229 | return 0; |
| 7408 | } | 10230 | } |
| 7409 | _ACEOF | 10231 | _ACEOF |
| 7410 | if ac_fn_c_try_link "$LINENO"; then : | 10232 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10233 | if { (ac_try="$ac_link" | ||
| 10234 | case "(($ac_try" in | ||
| 10235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10236 | *) ac_try_echo=$ac_try;; | ||
| 10237 | esac | ||
| 10238 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10239 | $as_echo "$ac_try_echo") >&5 | ||
| 10240 | (eval "$ac_link") 2>conftest.er1 | ||
| 10241 | ac_status=$? | ||
| 10242 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10243 | rm -f conftest.er1 | ||
| 10244 | cat conftest.err >&5 | ||
| 10245 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10246 | (exit $ac_status); } && { | ||
| 10247 | test -z "$ac_c_werror_flag" || | ||
| 10248 | test ! -s conftest.err | ||
| 10249 | } && test -s conftest$ac_exeext && { | ||
| 10250 | test "$cross_compiling" = yes || | ||
| 10251 | $as_test_x conftest$ac_exeext | ||
| 10252 | }; then | ||
| 7411 | emacs_cv_var___after_morecore_hook=yes | 10253 | emacs_cv_var___after_morecore_hook=yes |
| 7412 | else | 10254 | else |
| 7413 | emacs_cv_var___after_morecore_hook=no | 10255 | $as_echo "$as_me: failed program was:" >&5 |
| 10256 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10257 | |||
| 10258 | emacs_cv_var___after_morecore_hook=no | ||
| 7414 | fi | 10259 | fi |
| 7415 | rm -f core conftest.err conftest.$ac_objext \ | 10260 | |
| 7416 | conftest$ac_exeext conftest.$ac_ext | 10261 | rm -rf conftest.dSYM |
| 10262 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10263 | conftest$ac_exeext conftest.$ac_ext | ||
| 7417 | fi | 10264 | fi |
| 7418 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_var___after_morecore_hook" >&5 | 10265 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
| 7419 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } | 10266 | $as_echo "$emacs_cv_var___after_morecore_hook" >&6; } |
| 7420 | if test $emacs_cv_var___after_morecore_hook = no; then | 10267 | if test $emacs_cv_var___after_morecore_hook = no; then |
| 7421 | doug_lea_malloc=no | 10268 | doug_lea_malloc=no |
| @@ -7431,7 +10278,9 @@ if test "$doug_lea_malloc" = "yes" ; then | |||
| 7431 | (Using Doug Lea's new malloc from the GNU C Library.)" | 10278 | (Using Doug Lea's new malloc from the GNU C Library.)" |
| 7432 | fi | 10279 | fi |
| 7433 | 10280 | ||
| 7434 | $as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h | 10281 | cat >>confdefs.h <<\_ACEOF |
| 10282 | #define DOUG_LEA_MALLOC 1 | ||
| 10283 | _ACEOF | ||
| 7435 | 10284 | ||
| 7436 | fi | 10285 | fi |
| 7437 | 10286 | ||
| @@ -7442,14 +10291,142 @@ fi | |||
| 7442 | 10291 | ||
| 7443 | 10292 | ||
| 7444 | 10293 | ||
| 10294 | for ac_header in stdlib.h unistd.h | ||
| 10295 | do | ||
| 10296 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 10297 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10298 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10299 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10300 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10301 | $as_echo_n "(cached) " >&6 | ||
| 10302 | fi | ||
| 10303 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10304 | $as_echo "$as_val"'` | ||
| 10305 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10306 | $as_echo "$ac_res" >&6; } | ||
| 10307 | else | ||
| 10308 | # Is the header compilable? | ||
| 10309 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 10310 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 10311 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10312 | /* confdefs.h. */ | ||
| 10313 | _ACEOF | ||
| 10314 | cat confdefs.h >>conftest.$ac_ext | ||
| 10315 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10316 | /* end confdefs.h. */ | ||
| 10317 | $ac_includes_default | ||
| 10318 | #include <$ac_header> | ||
| 10319 | _ACEOF | ||
| 10320 | rm -f conftest.$ac_objext | ||
| 10321 | if { (ac_try="$ac_compile" | ||
| 10322 | case "(($ac_try" in | ||
| 10323 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10324 | *) ac_try_echo=$ac_try;; | ||
| 10325 | esac | ||
| 10326 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10327 | $as_echo "$ac_try_echo") >&5 | ||
| 10328 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10329 | ac_status=$? | ||
| 10330 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10331 | rm -f conftest.er1 | ||
| 10332 | cat conftest.err >&5 | ||
| 10333 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10334 | (exit $ac_status); } && { | ||
| 10335 | test -z "$ac_c_werror_flag" || | ||
| 10336 | test ! -s conftest.err | ||
| 10337 | } && test -s conftest.$ac_objext; then | ||
| 10338 | ac_header_compiler=yes | ||
| 10339 | else | ||
| 10340 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10341 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7445 | 10342 | ||
| 7446 | for ac_header in $ac_header_list | 10343 | ac_header_compiler=no |
| 7447 | do : | 10344 | fi |
| 7448 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10345 | |
| 7449 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 10346 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7450 | " | 10347 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7451 | eval as_val=\$$as_ac_Header | 10348 | $as_echo "$ac_header_compiler" >&6; } |
| 7452 | if test "x$as_val" = x""yes; then : | 10349 | |
| 10350 | # Is the header present? | ||
| 10351 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 10352 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 10353 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10354 | /* confdefs.h. */ | ||
| 10355 | _ACEOF | ||
| 10356 | cat confdefs.h >>conftest.$ac_ext | ||
| 10357 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10358 | /* end confdefs.h. */ | ||
| 10359 | #include <$ac_header> | ||
| 10360 | _ACEOF | ||
| 10361 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 10362 | case "(($ac_try" in | ||
| 10363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10364 | *) ac_try_echo=$ac_try;; | ||
| 10365 | esac | ||
| 10366 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10367 | $as_echo "$ac_try_echo") >&5 | ||
| 10368 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10369 | ac_status=$? | ||
| 10370 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10371 | rm -f conftest.er1 | ||
| 10372 | cat conftest.err >&5 | ||
| 10373 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10374 | (exit $ac_status); } >/dev/null && { | ||
| 10375 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 10376 | test ! -s conftest.err | ||
| 10377 | }; then | ||
| 10378 | ac_header_preproc=yes | ||
| 10379 | else | ||
| 10380 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10381 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10382 | |||
| 10383 | ac_header_preproc=no | ||
| 10384 | fi | ||
| 10385 | |||
| 10386 | rm -f conftest.err conftest.$ac_ext | ||
| 10387 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 10388 | $as_echo "$ac_header_preproc" >&6; } | ||
| 10389 | |||
| 10390 | # So? What about this header? | ||
| 10391 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 10392 | yes:no: ) | ||
| 10393 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 10394 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 10395 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 10396 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 10397 | ac_header_preproc=yes | ||
| 10398 | ;; | ||
| 10399 | no:yes:* ) | ||
| 10400 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 10401 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 10402 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 10403 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 10404 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 10405 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 10406 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 10407 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 10408 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 10409 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 10410 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 10411 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 10412 | |||
| 10413 | ;; | ||
| 10414 | esac | ||
| 10415 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 10416 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 10417 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10418 | $as_echo_n "(cached) " >&6 | ||
| 10419 | else | ||
| 10420 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 10421 | fi | ||
| 10422 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 10423 | $as_echo "$as_val"'` | ||
| 10424 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10425 | $as_echo "$ac_res" >&6; } | ||
| 10426 | |||
| 10427 | fi | ||
| 10428 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 10429 | $as_echo "$as_val"'` = yes; then | ||
| 7453 | cat >>confdefs.h <<_ACEOF | 10430 | cat >>confdefs.h <<_ACEOF |
| 7454 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10431 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7455 | _ACEOF | 10432 | _ACEOF |
| @@ -7459,32 +10436,118 @@ fi | |||
| 7459 | done | 10436 | done |
| 7460 | 10437 | ||
| 7461 | 10438 | ||
| 10439 | for ac_func in getpagesize | ||
| 10440 | do | ||
| 10441 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 10442 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 10443 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 10444 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 10445 | $as_echo_n "(cached) " >&6 | ||
| 10446 | else | ||
| 10447 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10448 | /* confdefs.h. */ | ||
| 10449 | _ACEOF | ||
| 10450 | cat confdefs.h >>conftest.$ac_ext | ||
| 10451 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10452 | /* end confdefs.h. */ | ||
| 10453 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 10454 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 10455 | #define $ac_func innocuous_$ac_func | ||
| 10456 | |||
| 10457 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10458 | which can conflict with char $ac_func (); below. | ||
| 10459 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 10460 | <limits.h> exists even on freestanding compilers. */ | ||
| 7462 | 10461 | ||
| 10462 | #ifdef __STDC__ | ||
| 10463 | # include <limits.h> | ||
| 10464 | #else | ||
| 10465 | # include <assert.h> | ||
| 10466 | #endif | ||
| 7463 | 10467 | ||
| 10468 | #undef $ac_func | ||
| 7464 | 10469 | ||
| 10470 | /* Override any GCC internal prototype to avoid an error. | ||
| 10471 | Use char because int might match the return type of a GCC | ||
| 10472 | builtin and then its argument prototype would still apply. */ | ||
| 10473 | #ifdef __cplusplus | ||
| 10474 | extern "C" | ||
| 10475 | #endif | ||
| 10476 | char $ac_func (); | ||
| 10477 | /* The GNU C library defines this for functions which it implements | ||
| 10478 | to always fail with ENOSYS. Some functions are actually named | ||
| 10479 | something starting with __ and the normal name is an alias. */ | ||
| 10480 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 10481 | choke me | ||
| 10482 | #endif | ||
| 7465 | 10483 | ||
| 10484 | int | ||
| 10485 | main () | ||
| 10486 | { | ||
| 10487 | return $ac_func (); | ||
| 10488 | ; | ||
| 10489 | return 0; | ||
| 10490 | } | ||
| 10491 | _ACEOF | ||
| 10492 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10493 | if { (ac_try="$ac_link" | ||
| 10494 | case "(($ac_try" in | ||
| 10495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10496 | *) ac_try_echo=$ac_try;; | ||
| 10497 | esac | ||
| 10498 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10499 | $as_echo "$ac_try_echo") >&5 | ||
| 10500 | (eval "$ac_link") 2>conftest.er1 | ||
| 10501 | ac_status=$? | ||
| 10502 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10503 | rm -f conftest.er1 | ||
| 10504 | cat conftest.err >&5 | ||
| 10505 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10506 | (exit $ac_status); } && { | ||
| 10507 | test -z "$ac_c_werror_flag" || | ||
| 10508 | test ! -s conftest.err | ||
| 10509 | } && test -s conftest$ac_exeext && { | ||
| 10510 | test "$cross_compiling" = yes || | ||
| 10511 | $as_test_x conftest$ac_exeext | ||
| 10512 | }; then | ||
| 10513 | eval "$as_ac_var=yes" | ||
| 10514 | else | ||
| 10515 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10516 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7466 | 10517 | ||
| 10518 | eval "$as_ac_var=no" | ||
| 10519 | fi | ||
| 7467 | 10520 | ||
| 7468 | for ac_func in getpagesize | 10521 | rm -rf conftest.dSYM |
| 7469 | do : | 10522 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 7470 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 10523 | conftest$ac_exeext conftest.$ac_ext |
| 7471 | if test "x$ac_cv_func_getpagesize" = x""yes; then : | 10524 | fi |
| 10525 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 10526 | $as_echo "$as_val"'` | ||
| 10527 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 10528 | $as_echo "$ac_res" >&6; } | ||
| 10529 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 10530 | $as_echo "$as_val"'` = yes; then | ||
| 7472 | cat >>confdefs.h <<_ACEOF | 10531 | cat >>confdefs.h <<_ACEOF |
| 7473 | #define HAVE_GETPAGESIZE 1 | 10532 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7474 | _ACEOF | 10533 | _ACEOF |
| 7475 | 10534 | ||
| 7476 | fi | 10535 | fi |
| 7477 | done | 10536 | done |
| 7478 | 10537 | ||
| 7479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 | 10538 | { $as_echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 7480 | $as_echo_n "checking for working mmap... " >&6; } | 10539 | $as_echo_n "checking for working mmap... " >&6; } |
| 7481 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : | 10540 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 7482 | $as_echo_n "(cached) " >&6 | 10541 | $as_echo_n "(cached) " >&6 |
| 7483 | else | 10542 | else |
| 7484 | if test "$cross_compiling" = yes; then : | 10543 | if test "$cross_compiling" = yes; then |
| 7485 | ac_cv_func_mmap_fixed_mapped=no | 10544 | ac_cv_func_mmap_fixed_mapped=no |
| 7486 | else | 10545 | else |
| 7487 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10546 | cat >conftest.$ac_ext <<_ACEOF |
| 10547 | /* confdefs.h. */ | ||
| 10548 | _ACEOF | ||
| 10549 | cat confdefs.h >>conftest.$ac_ext | ||
| 10550 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7488 | /* end confdefs.h. */ | 10551 | /* end confdefs.h. */ |
| 7489 | $ac_includes_default | 10552 | $ac_includes_default |
| 7490 | /* malloc might have been renamed as rpl_malloc. */ | 10553 | /* malloc might have been renamed as rpl_malloc. */ |
| @@ -7521,6 +10584,11 @@ char *malloc (); | |||
| 7521 | 10584 | ||
| 7522 | /* This mess was copied from the GNU getpagesize.h. */ | 10585 | /* This mess was copied from the GNU getpagesize.h. */ |
| 7523 | #ifndef HAVE_GETPAGESIZE | 10586 | #ifndef HAVE_GETPAGESIZE |
| 10587 | /* Assume that all systems that can run configure have sys/param.h. */ | ||
| 10588 | # ifndef HAVE_SYS_PARAM_H | ||
| 10589 | # define HAVE_SYS_PARAM_H 1 | ||
| 10590 | # endif | ||
| 10591 | |||
| 7524 | # ifdef _SC_PAGESIZE | 10592 | # ifdef _SC_PAGESIZE |
| 7525 | # define getpagesize() sysconf(_SC_PAGESIZE) | 10593 | # define getpagesize() sysconf(_SC_PAGESIZE) |
| 7526 | # else /* no _SC_PAGESIZE */ | 10594 | # else /* no _SC_PAGESIZE */ |
| @@ -7556,7 +10624,7 @@ main () | |||
| 7556 | { | 10624 | { |
| 7557 | char *data, *data2, *data3; | 10625 | char *data, *data2, *data3; |
| 7558 | int i, pagesize; | 10626 | int i, pagesize; |
| 7559 | int fd, fd2; | 10627 | int fd; |
| 7560 | 10628 | ||
| 7561 | pagesize = getpagesize (); | 10629 | pagesize = getpagesize (); |
| 7562 | 10630 | ||
| @@ -7569,41 +10637,27 @@ main () | |||
| 7569 | umask (0); | 10637 | umask (0); |
| 7570 | fd = creat ("conftest.mmap", 0600); | 10638 | fd = creat ("conftest.mmap", 0600); |
| 7571 | if (fd < 0) | 10639 | if (fd < 0) |
| 7572 | return 2; | 10640 | return 1; |
| 7573 | if (write (fd, data, pagesize) != pagesize) | 10641 | if (write (fd, data, pagesize) != pagesize) |
| 7574 | return 3; | 10642 | return 1; |
| 7575 | close (fd); | 10643 | close (fd); |
| 7576 | 10644 | ||
| 7577 | /* Next, check that the tail of a page is zero-filled. File must have | ||
| 7578 | non-zero length, otherwise we risk SIGBUS for entire page. */ | ||
| 7579 | fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | ||
| 7580 | if (fd2 < 0) | ||
| 7581 | return 4; | ||
| 7582 | data2 = ""; | ||
| 7583 | if (write (fd2, data2, 1) != 1) | ||
| 7584 | return 5; | ||
| 7585 | data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | ||
| 7586 | if (data2 == MAP_FAILED) | ||
| 7587 | return 6; | ||
| 7588 | for (i = 0; i < pagesize; ++i) | ||
| 7589 | if (*(data2 + i)) | ||
| 7590 | return 7; | ||
| 7591 | close (fd2); | ||
| 7592 | if (munmap (data2, pagesize)) | ||
| 7593 | return 8; | ||
| 7594 | |||
| 7595 | /* Next, try to mmap the file at a fixed address which already has | 10645 | /* Next, try to mmap the file at a fixed address which already has |
| 7596 | something else allocated at it. If we can, also make sure that | 10646 | something else allocated at it. If we can, also make sure that |
| 7597 | we see the same garbage. */ | 10647 | we see the same garbage. */ |
| 7598 | fd = open ("conftest.mmap", O_RDWR); | 10648 | fd = open ("conftest.mmap", O_RDWR); |
| 7599 | if (fd < 0) | 10649 | if (fd < 0) |
| 7600 | return 9; | 10650 | return 1; |
| 10651 | data2 = (char *) malloc (2 * pagesize); | ||
| 10652 | if (!data2) | ||
| 10653 | return 1; | ||
| 10654 | data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); | ||
| 7601 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 10655 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 7602 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 10656 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 7603 | return 10; | 10657 | return 1; |
| 7604 | for (i = 0; i < pagesize; ++i) | 10658 | for (i = 0; i < pagesize; ++i) |
| 7605 | if (*(data + i) != *(data2 + i)) | 10659 | if (*(data + i) != *(data2 + i)) |
| 7606 | return 11; | 10660 | return 1; |
| 7607 | 10661 | ||
| 7608 | /* Finally, make sure that changes to the mapped area do not | 10662 | /* Finally, make sure that changes to the mapped area do not |
| 7609 | percolate back to the file as seen by read(). (This is a bug on | 10663 | percolate back to the file as seen by read(). (This is a bug on |
| @@ -7612,34 +10666,63 @@ main () | |||
| 7612 | *(data2 + i) = *(data2 + i) + 1; | 10666 | *(data2 + i) = *(data2 + i) + 1; |
| 7613 | data3 = (char *) malloc (pagesize); | 10667 | data3 = (char *) malloc (pagesize); |
| 7614 | if (!data3) | 10668 | if (!data3) |
| 7615 | return 12; | 10669 | return 1; |
| 7616 | if (read (fd, data3, pagesize) != pagesize) | 10670 | if (read (fd, data3, pagesize) != pagesize) |
| 7617 | return 13; | 10671 | return 1; |
| 7618 | for (i = 0; i < pagesize; ++i) | 10672 | for (i = 0; i < pagesize; ++i) |
| 7619 | if (*(data + i) != *(data3 + i)) | 10673 | if (*(data + i) != *(data3 + i)) |
| 7620 | return 14; | 10674 | return 1; |
| 7621 | close (fd); | 10675 | close (fd); |
| 7622 | return 0; | 10676 | return 0; |
| 7623 | } | 10677 | } |
| 7624 | _ACEOF | 10678 | _ACEOF |
| 7625 | if ac_fn_c_try_run "$LINENO"; then : | 10679 | rm -f conftest$ac_exeext |
| 10680 | if { (ac_try="$ac_link" | ||
| 10681 | case "(($ac_try" in | ||
| 10682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10683 | *) ac_try_echo=$ac_try;; | ||
| 10684 | esac | ||
| 10685 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10686 | $as_echo "$ac_try_echo") >&5 | ||
| 10687 | (eval "$ac_link") 2>&5 | ||
| 10688 | ac_status=$? | ||
| 10689 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10690 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 10691 | { (case "(($ac_try" in | ||
| 10692 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10693 | *) ac_try_echo=$ac_try;; | ||
| 10694 | esac | ||
| 10695 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10696 | $as_echo "$ac_try_echo") >&5 | ||
| 10697 | (eval "$ac_try") 2>&5 | ||
| 10698 | ac_status=$? | ||
| 10699 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10700 | (exit $ac_status); }; }; then | ||
| 7626 | ac_cv_func_mmap_fixed_mapped=yes | 10701 | ac_cv_func_mmap_fixed_mapped=yes |
| 7627 | else | 10702 | else |
| 7628 | ac_cv_func_mmap_fixed_mapped=no | 10703 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 10704 | $as_echo "$as_me: failed program was:" >&5 | ||
| 10705 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10706 | |||
| 10707 | ( exit $ac_status ) | ||
| 10708 | ac_cv_func_mmap_fixed_mapped=no | ||
| 7629 | fi | 10709 | fi |
| 7630 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 10710 | rm -rf conftest.dSYM |
| 7631 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 10711 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7632 | fi | 10712 | fi |
| 7633 | 10713 | ||
| 10714 | |||
| 7634 | fi | 10715 | fi |
| 7635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10716 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 7636 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } | 10717 | $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 7637 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10718 | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 7638 | 10719 | ||
| 7639 | $as_echo "#define HAVE_MMAP 1" >>confdefs.h | 10720 | cat >>confdefs.h <<\_ACEOF |
| 10721 | #define HAVE_MMAP 1 | ||
| 10722 | _ACEOF | ||
| 7640 | 10723 | ||
| 7641 | fi | 10724 | fi |
| 7642 | rm -f conftest.mmap conftest.txt | 10725 | rm -f conftest.mmap |
| 7643 | 10726 | ||
| 7644 | if test $use_mmap_for_buffers = yes; then | 10727 | if test $use_mmap_for_buffers = yes; then |
| 7645 | REL_ALLOC=no | 10728 | REL_ALLOC=no |
| @@ -7647,14 +10730,19 @@ fi | |||
| 7647 | 10730 | ||
| 7648 | LIBS="$libsrc_libs $LIBS" | 10731 | LIBS="$libsrc_libs $LIBS" |
| 7649 | 10732 | ||
| 7650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 | 10733 | |
| 10734 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | ||
| 7651 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10735 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
| 7652 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : | 10736 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| 7653 | $as_echo_n "(cached) " >&6 | 10737 | $as_echo_n "(cached) " >&6 |
| 7654 | else | 10738 | else |
| 7655 | ac_check_lib_save_LIBS=$LIBS | 10739 | ac_check_lib_save_LIBS=$LIBS |
| 7656 | LIBS="-ldnet $LIBS" | 10740 | LIBS="-ldnet $LIBS" |
| 7657 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10741 | cat >conftest.$ac_ext <<_ACEOF |
| 10742 | /* confdefs.h. */ | ||
| 10743 | _ACEOF | ||
| 10744 | cat confdefs.h >>conftest.$ac_ext | ||
| 10745 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7658 | /* end confdefs.h. */ | 10746 | /* end confdefs.h. */ |
| 7659 | 10747 | ||
| 7660 | /* Override any GCC internal prototype to avoid an error. | 10748 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7672,18 +10760,43 @@ return dnet_ntoa (); | |||
| 7672 | return 0; | 10760 | return 0; |
| 7673 | } | 10761 | } |
| 7674 | _ACEOF | 10762 | _ACEOF |
| 7675 | if ac_fn_c_try_link "$LINENO"; then : | 10763 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10764 | if { (ac_try="$ac_link" | ||
| 10765 | case "(($ac_try" in | ||
| 10766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10767 | *) ac_try_echo=$ac_try;; | ||
| 10768 | esac | ||
| 10769 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10770 | $as_echo "$ac_try_echo") >&5 | ||
| 10771 | (eval "$ac_link") 2>conftest.er1 | ||
| 10772 | ac_status=$? | ||
| 10773 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10774 | rm -f conftest.er1 | ||
| 10775 | cat conftest.err >&5 | ||
| 10776 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10777 | (exit $ac_status); } && { | ||
| 10778 | test -z "$ac_c_werror_flag" || | ||
| 10779 | test ! -s conftest.err | ||
| 10780 | } && test -s conftest$ac_exeext && { | ||
| 10781 | test "$cross_compiling" = yes || | ||
| 10782 | $as_test_x conftest$ac_exeext | ||
| 10783 | }; then | ||
| 7676 | ac_cv_lib_dnet_dnet_ntoa=yes | 10784 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 7677 | else | 10785 | else |
| 7678 | ac_cv_lib_dnet_dnet_ntoa=no | 10786 | $as_echo "$as_me: failed program was:" >&5 |
| 10787 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10788 | |||
| 10789 | ac_cv_lib_dnet_dnet_ntoa=no | ||
| 7679 | fi | 10790 | fi |
| 7680 | rm -f core conftest.err conftest.$ac_objext \ | 10791 | |
| 7681 | conftest$ac_exeext conftest.$ac_ext | 10792 | rm -rf conftest.dSYM |
| 10793 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10794 | conftest$ac_exeext conftest.$ac_ext | ||
| 7682 | LIBS=$ac_check_lib_save_LIBS | 10795 | LIBS=$ac_check_lib_save_LIBS |
| 7683 | fi | 10796 | fi |
| 7684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 10797 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 7685 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | 10798 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 7686 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : | 10799 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
| 7687 | cat >>confdefs.h <<_ACEOF | 10800 | cat >>confdefs.h <<_ACEOF |
| 7688 | #define HAVE_LIBDNET 1 | 10801 | #define HAVE_LIBDNET 1 |
| 7689 | _ACEOF | 10802 | _ACEOF |
| @@ -7693,14 +10806,18 @@ _ACEOF | |||
| 7693 | fi | 10806 | fi |
| 7694 | 10807 | ||
| 7695 | 10808 | ||
| 7696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 | 10809 | { $as_echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
| 7697 | $as_echo_n "checking for main in -lXbsd... " >&6; } | 10810 | $as_echo_n "checking for main in -lXbsd... " >&6; } |
| 7698 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then : | 10811 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
| 7699 | $as_echo_n "(cached) " >&6 | 10812 | $as_echo_n "(cached) " >&6 |
| 7700 | else | 10813 | else |
| 7701 | ac_check_lib_save_LIBS=$LIBS | 10814 | ac_check_lib_save_LIBS=$LIBS |
| 7702 | LIBS="-lXbsd $LIBS" | 10815 | LIBS="-lXbsd $LIBS" |
| 7703 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10816 | cat >conftest.$ac_ext <<_ACEOF |
| 10817 | /* confdefs.h. */ | ||
| 10818 | _ACEOF | ||
| 10819 | cat confdefs.h >>conftest.$ac_ext | ||
| 10820 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7704 | /* end confdefs.h. */ | 10821 | /* end confdefs.h. */ |
| 7705 | 10822 | ||
| 7706 | 10823 | ||
| @@ -7712,30 +10829,60 @@ return main (); | |||
| 7712 | return 0; | 10829 | return 0; |
| 7713 | } | 10830 | } |
| 7714 | _ACEOF | 10831 | _ACEOF |
| 7715 | if ac_fn_c_try_link "$LINENO"; then : | 10832 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10833 | if { (ac_try="$ac_link" | ||
| 10834 | case "(($ac_try" in | ||
| 10835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10836 | *) ac_try_echo=$ac_try;; | ||
| 10837 | esac | ||
| 10838 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10839 | $as_echo "$ac_try_echo") >&5 | ||
| 10840 | (eval "$ac_link") 2>conftest.er1 | ||
| 10841 | ac_status=$? | ||
| 10842 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10843 | rm -f conftest.er1 | ||
| 10844 | cat conftest.err >&5 | ||
| 10845 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10846 | (exit $ac_status); } && { | ||
| 10847 | test -z "$ac_c_werror_flag" || | ||
| 10848 | test ! -s conftest.err | ||
| 10849 | } && test -s conftest$ac_exeext && { | ||
| 10850 | test "$cross_compiling" = yes || | ||
| 10851 | $as_test_x conftest$ac_exeext | ||
| 10852 | }; then | ||
| 7716 | ac_cv_lib_Xbsd_main=yes | 10853 | ac_cv_lib_Xbsd_main=yes |
| 7717 | else | 10854 | else |
| 7718 | ac_cv_lib_Xbsd_main=no | 10855 | $as_echo "$as_me: failed program was:" >&5 |
| 10856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10857 | |||
| 10858 | ac_cv_lib_Xbsd_main=no | ||
| 7719 | fi | 10859 | fi |
| 7720 | rm -f core conftest.err conftest.$ac_objext \ | 10860 | |
| 7721 | conftest$ac_exeext conftest.$ac_ext | 10861 | rm -rf conftest.dSYM |
| 10862 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10863 | conftest$ac_exeext conftest.$ac_ext | ||
| 7722 | LIBS=$ac_check_lib_save_LIBS | 10864 | LIBS=$ac_check_lib_save_LIBS |
| 7723 | fi | 10865 | fi |
| 7724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 | 10866 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
| 7725 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } | 10867 | $as_echo "$ac_cv_lib_Xbsd_main" >&6; } |
| 7726 | if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : | 10868 | if test $ac_cv_lib_Xbsd_main = yes; then |
| 7727 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 10869 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
| 7728 | fi | 10870 | fi |
| 7729 | 10871 | ||
| 7730 | 10872 | ||
| 7731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cma_open in -lpthreads" >&5 | 10873 | |
| 10874 | { $as_echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | ||
| 7732 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } | 10875 | $as_echo_n "checking for cma_open in -lpthreads... " >&6; } |
| 7733 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then : | 10876 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
| 7734 | $as_echo_n "(cached) " >&6 | 10877 | $as_echo_n "(cached) " >&6 |
| 7735 | else | 10878 | else |
| 7736 | ac_check_lib_save_LIBS=$LIBS | 10879 | ac_check_lib_save_LIBS=$LIBS |
| 7737 | LIBS="-lpthreads $LIBS" | 10880 | LIBS="-lpthreads $LIBS" |
| 7738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10881 | cat >conftest.$ac_ext <<_ACEOF |
| 10882 | /* confdefs.h. */ | ||
| 10883 | _ACEOF | ||
| 10884 | cat confdefs.h >>conftest.$ac_ext | ||
| 10885 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7739 | /* end confdefs.h. */ | 10886 | /* end confdefs.h. */ |
| 7740 | 10887 | ||
| 7741 | /* Override any GCC internal prototype to avoid an error. | 10888 | /* Override any GCC internal prototype to avoid an error. |
| @@ -7753,18 +10900,43 @@ return cma_open (); | |||
| 7753 | return 0; | 10900 | return 0; |
| 7754 | } | 10901 | } |
| 7755 | _ACEOF | 10902 | _ACEOF |
| 7756 | if ac_fn_c_try_link "$LINENO"; then : | 10903 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10904 | if { (ac_try="$ac_link" | ||
| 10905 | case "(($ac_try" in | ||
| 10906 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10907 | *) ac_try_echo=$ac_try;; | ||
| 10908 | esac | ||
| 10909 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10910 | $as_echo "$ac_try_echo") >&5 | ||
| 10911 | (eval "$ac_link") 2>conftest.er1 | ||
| 10912 | ac_status=$? | ||
| 10913 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10914 | rm -f conftest.er1 | ||
| 10915 | cat conftest.err >&5 | ||
| 10916 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10917 | (exit $ac_status); } && { | ||
| 10918 | test -z "$ac_c_werror_flag" || | ||
| 10919 | test ! -s conftest.err | ||
| 10920 | } && test -s conftest$ac_exeext && { | ||
| 10921 | test "$cross_compiling" = yes || | ||
| 10922 | $as_test_x conftest$ac_exeext | ||
| 10923 | }; then | ||
| 7757 | ac_cv_lib_pthreads_cma_open=yes | 10924 | ac_cv_lib_pthreads_cma_open=yes |
| 7758 | else | 10925 | else |
| 7759 | ac_cv_lib_pthreads_cma_open=no | 10926 | $as_echo "$as_me: failed program was:" >&5 |
| 10927 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 10928 | |||
| 10929 | ac_cv_lib_pthreads_cma_open=no | ||
| 7760 | fi | 10930 | fi |
| 7761 | rm -f core conftest.err conftest.$ac_objext \ | 10931 | |
| 7762 | conftest$ac_exeext conftest.$ac_ext | 10932 | rm -rf conftest.dSYM |
| 10933 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10934 | conftest$ac_exeext conftest.$ac_ext | ||
| 7763 | LIBS=$ac_check_lib_save_LIBS | 10935 | LIBS=$ac_check_lib_save_LIBS |
| 7764 | fi | 10936 | fi |
| 7765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_cma_open" >&5 | 10937 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
| 7766 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } | 10938 | $as_echo "$ac_cv_lib_pthreads_cma_open" >&6; } |
| 7767 | if test "x$ac_cv_lib_pthreads_cma_open" = x""yes; then : | 10939 | if test $ac_cv_lib_pthreads_cma_open = yes; then |
| 7768 | cat >>confdefs.h <<_ACEOF | 10940 | cat >>confdefs.h <<_ACEOF |
| 7769 | #define HAVE_LIBPTHREADS 1 | 10941 | #define HAVE_LIBPTHREADS 1 |
| 7770 | _ACEOF | 10942 | _ACEOF |
| @@ -7777,9 +10949,9 @@ fi | |||
| 7777 | 10949 | ||
| 7778 | case ${host_os} in | 10950 | case ${host_os} in |
| 7779 | aix*) | 10951 | aix*) |
| 7780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -bbigtoc option" >&5 | 10952 | { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
| 7781 | $as_echo_n "checking for -bbigtoc option... " >&6; } | 10953 | $as_echo_n "checking for -bbigtoc option... " >&6; } |
| 7782 | if test "${gdb_cv_bigtoc+set}" = set; then : | 10954 | if test "${gdb_cv_bigtoc+set}" = set; then |
| 7783 | $as_echo_n "(cached) " >&6 | 10955 | $as_echo_n "(cached) " >&6 |
| 7784 | else | 10956 | else |
| 7785 | 10957 | ||
| @@ -7789,7 +10961,11 @@ else | |||
| 7789 | esac | 10961 | esac |
| 7790 | 10962 | ||
| 7791 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc | 10963 | LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc |
| 7792 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10964 | cat >conftest.$ac_ext <<_ACEOF |
| 10965 | /* confdefs.h. */ | ||
| 10966 | _ACEOF | ||
| 10967 | cat confdefs.h >>conftest.$ac_ext | ||
| 10968 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7793 | /* end confdefs.h. */ | 10969 | /* end confdefs.h. */ |
| 7794 | 10970 | ||
| 7795 | int | 10971 | int |
| @@ -7800,16 +10976,41 @@ int i; | |||
| 7800 | return 0; | 10976 | return 0; |
| 7801 | } | 10977 | } |
| 7802 | _ACEOF | 10978 | _ACEOF |
| 7803 | if ac_fn_c_try_link "$LINENO"; then : | 10979 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 7804 | 10980 | if { (ac_try="$ac_link" | |
| 10981 | case "(($ac_try" in | ||
| 10982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10983 | *) ac_try_echo=$ac_try;; | ||
| 10984 | esac | ||
| 10985 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 10986 | $as_echo "$ac_try_echo") >&5 | ||
| 10987 | (eval "$ac_link") 2>conftest.er1 | ||
| 10988 | ac_status=$? | ||
| 10989 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 10990 | rm -f conftest.er1 | ||
| 10991 | cat conftest.err >&5 | ||
| 10992 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10993 | (exit $ac_status); } && { | ||
| 10994 | test -z "$ac_c_werror_flag" || | ||
| 10995 | test ! -s conftest.err | ||
| 10996 | } && test -s conftest$ac_exeext && { | ||
| 10997 | test "$cross_compiling" = yes || | ||
| 10998 | $as_test_x conftest$ac_exeext | ||
| 10999 | }; then | ||
| 11000 | : | ||
| 7805 | else | 11001 | else |
| 7806 | gdb_cv_bigtoc= | 11002 | $as_echo "$as_me: failed program was:" >&5 |
| 11003 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11004 | |||
| 11005 | gdb_cv_bigtoc= | ||
| 7807 | fi | 11006 | fi |
| 7808 | rm -f core conftest.err conftest.$ac_objext \ | 11007 | |
| 7809 | conftest$ac_exeext conftest.$ac_ext | 11008 | rm -rf conftest.dSYM |
| 11009 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11010 | conftest$ac_exeext conftest.$ac_ext | ||
| 7810 | 11011 | ||
| 7811 | fi | 11012 | fi |
| 7812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_bigtoc" >&5 | 11013 | { $as_echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
| 7813 | $as_echo "$gdb_cv_bigtoc" >&6; } | 11014 | $as_echo "$gdb_cv_bigtoc" >&6; } |
| 7814 | ;; | 11015 | ;; |
| 7815 | esac | 11016 | esac |
| @@ -7837,9 +11038,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 7837 | fi | 11038 | fi |
| 7838 | 11039 | ||
| 7839 | if test "${opsys}" = "gnu-linux"; then | 11040 | if test "${opsys}" = "gnu-linux"; then |
| 7840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether X on GNU/Linux needs -b to link" >&5 | 11041 | { $as_echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
| 7841 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } | 11042 | $as_echo_n "checking whether X on GNU/Linux needs -b to link... " >&6; } |
| 7842 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11043 | cat >conftest.$ac_ext <<_ACEOF |
| 11044 | /* confdefs.h. */ | ||
| 11045 | _ACEOF | ||
| 11046 | cat confdefs.h >>conftest.$ac_ext | ||
| 11047 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7843 | /* end confdefs.h. */ | 11048 | /* end confdefs.h. */ |
| 7844 | 11049 | ||
| 7845 | int | 11050 | int |
| @@ -7850,13 +11055,38 @@ XOpenDisplay ("foo"); | |||
| 7850 | return 0; | 11055 | return 0; |
| 7851 | } | 11056 | } |
| 7852 | _ACEOF | 11057 | _ACEOF |
| 7853 | if ac_fn_c_try_link "$LINENO"; then : | 11058 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11059 | if { (ac_try="$ac_link" | ||
| 11060 | case "(($ac_try" in | ||
| 11061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11062 | *) ac_try_echo=$ac_try;; | ||
| 11063 | esac | ||
| 11064 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11065 | $as_echo "$ac_try_echo") >&5 | ||
| 11066 | (eval "$ac_link") 2>conftest.er1 | ||
| 11067 | ac_status=$? | ||
| 11068 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11069 | rm -f conftest.er1 | ||
| 11070 | cat conftest.err >&5 | ||
| 11071 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11072 | (exit $ac_status); } && { | ||
| 11073 | test -z "$ac_c_werror_flag" || | ||
| 11074 | test ! -s conftest.err | ||
| 11075 | } && test -s conftest$ac_exeext && { | ||
| 11076 | test "$cross_compiling" = yes || | ||
| 11077 | $as_test_x conftest$ac_exeext | ||
| 11078 | }; then | ||
| 7854 | xlinux_first_failure=no | 11079 | xlinux_first_failure=no |
| 7855 | else | 11080 | else |
| 7856 | xlinux_first_failure=yes | 11081 | $as_echo "$as_me: failed program was:" >&5 |
| 11082 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11083 | |||
| 11084 | xlinux_first_failure=yes | ||
| 7857 | fi | 11085 | fi |
| 7858 | rm -f core conftest.err conftest.$ac_objext \ | 11086 | |
| 7859 | conftest$ac_exeext conftest.$ac_ext | 11087 | rm -rf conftest.dSYM |
| 11088 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11089 | conftest$ac_exeext conftest.$ac_ext | ||
| 7860 | if test "${xlinux_first_failure}" = "yes"; then | 11090 | if test "${xlinux_first_failure}" = "yes"; then |
| 7861 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11091 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
| 7862 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11092 | OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
| @@ -7866,7 +11096,11 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7866 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 11096 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
| 7867 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 11097 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 7868 | LIBS="$LIBS -b i486-linuxaout" | 11098 | LIBS="$LIBS -b i486-linuxaout" |
| 7869 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11099 | cat >conftest.$ac_ext <<_ACEOF |
| 11100 | /* confdefs.h. */ | ||
| 11101 | _ACEOF | ||
| 11102 | cat confdefs.h >>conftest.$ac_ext | ||
| 11103 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7870 | /* end confdefs.h. */ | 11104 | /* end confdefs.h. */ |
| 7871 | 11105 | ||
| 7872 | int | 11106 | int |
| @@ -7877,13 +11111,38 @@ XOpenDisplay ("foo"); | |||
| 7877 | return 0; | 11111 | return 0; |
| 7878 | } | 11112 | } |
| 7879 | _ACEOF | 11113 | _ACEOF |
| 7880 | if ac_fn_c_try_link "$LINENO"; then : | 11114 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11115 | if { (ac_try="$ac_link" | ||
| 11116 | case "(($ac_try" in | ||
| 11117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11118 | *) ac_try_echo=$ac_try;; | ||
| 11119 | esac | ||
| 11120 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11121 | $as_echo "$ac_try_echo") >&5 | ||
| 11122 | (eval "$ac_link") 2>conftest.er1 | ||
| 11123 | ac_status=$? | ||
| 11124 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11125 | rm -f conftest.er1 | ||
| 11126 | cat conftest.err >&5 | ||
| 11127 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11128 | (exit $ac_status); } && { | ||
| 11129 | test -z "$ac_c_werror_flag" || | ||
| 11130 | test ! -s conftest.err | ||
| 11131 | } && test -s conftest$ac_exeext && { | ||
| 11132 | test "$cross_compiling" = yes || | ||
| 11133 | $as_test_x conftest$ac_exeext | ||
| 11134 | }; then | ||
| 7881 | xlinux_second_failure=no | 11135 | xlinux_second_failure=no |
| 7882 | else | 11136 | else |
| 7883 | xlinux_second_failure=yes | 11137 | $as_echo "$as_me: failed program was:" >&5 |
| 11138 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11139 | |||
| 11140 | xlinux_second_failure=yes | ||
| 7884 | fi | 11141 | fi |
| 7885 | rm -f core conftest.err conftest.$ac_objext \ | 11142 | |
| 7886 | conftest$ac_exeext conftest.$ac_ext | 11143 | rm -rf conftest.dSYM |
| 11144 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11145 | conftest$ac_exeext conftest.$ac_ext | ||
| 7887 | if test "${xlinux_second_failure}" = "yes"; then | 11146 | if test "${xlinux_second_failure}" = "yes"; then |
| 7888 | # If we get the same failure with -b, there is no use adding -b. | 11147 | # If we get the same failure with -b, there is no use adding -b. |
| 7889 | # So take it out. This plays safe. | 11148 | # So take it out. This plays safe. |
| @@ -7891,23 +11150,27 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
| 7891 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11150 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
| 7892 | CPPFLAGS="$OLD_CPPFLAGS" | 11151 | CPPFLAGS="$OLD_CPPFLAGS" |
| 7893 | LIBS="$OLD_LIBS" | 11152 | LIBS="$OLD_LIBS" |
| 7894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11153 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7895 | $as_echo "no" >&6; } | 11154 | $as_echo "no" >&6; } |
| 7896 | else | 11155 | else |
| 7897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11156 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 7898 | $as_echo "yes" >&6; } | 11157 | $as_echo "yes" >&6; } |
| 7899 | fi | 11158 | fi |
| 7900 | else | 11159 | else |
| 7901 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11160 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 7902 | $as_echo "no" >&6; } | 11161 | $as_echo "no" >&6; } |
| 7903 | fi | 11162 | fi |
| 7904 | fi | 11163 | fi |
| 7905 | 11164 | ||
| 7906 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11165 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
| 7907 | # header files included from there. | 11166 | # header files included from there. |
| 7908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xkb" >&5 | 11167 | { $as_echo "$as_me:$LINENO: checking for Xkb" >&5 |
| 7909 | $as_echo_n "checking for Xkb... " >&6; } | 11168 | $as_echo_n "checking for Xkb... " >&6; } |
| 7910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11169 | cat >conftest.$ac_ext <<_ACEOF |
| 11170 | /* confdefs.h. */ | ||
| 11171 | _ACEOF | ||
| 11172 | cat confdefs.h >>conftest.$ac_ext | ||
| 11173 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7911 | /* end confdefs.h. */ | 11174 | /* end confdefs.h. */ |
| 7912 | #include <X11/Xlib.h> | 11175 | #include <X11/Xlib.h> |
| 7913 | #include <X11/XKBlib.h> | 11176 | #include <X11/XKBlib.h> |
| @@ -7919,28 +11182,145 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | |||
| 7919 | return 0; | 11182 | return 0; |
| 7920 | } | 11183 | } |
| 7921 | _ACEOF | 11184 | _ACEOF |
| 7922 | if ac_fn_c_try_link "$LINENO"; then : | 11185 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11186 | if { (ac_try="$ac_link" | ||
| 11187 | case "(($ac_try" in | ||
| 11188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11189 | *) ac_try_echo=$ac_try;; | ||
| 11190 | esac | ||
| 11191 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11192 | $as_echo "$ac_try_echo") >&5 | ||
| 11193 | (eval "$ac_link") 2>conftest.er1 | ||
| 11194 | ac_status=$? | ||
| 11195 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11196 | rm -f conftest.er1 | ||
| 11197 | cat conftest.err >&5 | ||
| 11198 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11199 | (exit $ac_status); } && { | ||
| 11200 | test -z "$ac_c_werror_flag" || | ||
| 11201 | test ! -s conftest.err | ||
| 11202 | } && test -s conftest$ac_exeext && { | ||
| 11203 | test "$cross_compiling" = yes || | ||
| 11204 | $as_test_x conftest$ac_exeext | ||
| 11205 | }; then | ||
| 7923 | emacs_xkb=yes | 11206 | emacs_xkb=yes |
| 7924 | else | 11207 | else |
| 7925 | emacs_xkb=no | 11208 | $as_echo "$as_me: failed program was:" >&5 |
| 11209 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11210 | |||
| 11211 | emacs_xkb=no | ||
| 7926 | fi | 11212 | fi |
| 7927 | rm -f core conftest.err conftest.$ac_objext \ | 11213 | |
| 7928 | conftest$ac_exeext conftest.$ac_ext | 11214 | rm -rf conftest.dSYM |
| 7929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_xkb" >&5 | 11215 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 11216 | conftest$ac_exeext conftest.$ac_ext | ||
| 11217 | { $as_echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | ||
| 7930 | $as_echo "$emacs_xkb" >&6; } | 11218 | $as_echo "$emacs_xkb" >&6; } |
| 7931 | if test $emacs_xkb = yes; then | 11219 | if test $emacs_xkb = yes; then |
| 7932 | 11220 | ||
| 7933 | $as_echo "#define HAVE_XKBGETKEYBOARD 1" >>confdefs.h | 11221 | cat >>confdefs.h <<\_ACEOF |
| 11222 | #define HAVE_XKBGETKEYBOARD 1 | ||
| 11223 | _ACEOF | ||
| 7934 | 11224 | ||
| 7935 | fi | 11225 | fi |
| 7936 | 11226 | ||
| 7937 | for ac_func in XrmSetDatabase XScreenResourceString \ | 11227 | |
| 11228 | |||
| 11229 | |||
| 11230 | |||
| 11231 | for ac_func in XrmSetDatabase XScreenResourceString \ | ||
| 7938 | XScreenNumberOfScreen XSetWMProtocols | 11232 | XScreenNumberOfScreen XSetWMProtocols |
| 7939 | do : | 11233 | do |
| 7940 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11234 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7941 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11235 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 7942 | eval as_val=\$$as_ac_var | 11236 | $as_echo_n "checking for $ac_func... " >&6; } |
| 7943 | if test "x$as_val" = x""yes; then : | 11237 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11238 | $as_echo_n "(cached) " >&6 | ||
| 11239 | else | ||
| 11240 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11241 | /* confdefs.h. */ | ||
| 11242 | _ACEOF | ||
| 11243 | cat confdefs.h >>conftest.$ac_ext | ||
| 11244 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11245 | /* end confdefs.h. */ | ||
| 11246 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11247 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11248 | #define $ac_func innocuous_$ac_func | ||
| 11249 | |||
| 11250 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11251 | which can conflict with char $ac_func (); below. | ||
| 11252 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11253 | <limits.h> exists even on freestanding compilers. */ | ||
| 11254 | |||
| 11255 | #ifdef __STDC__ | ||
| 11256 | # include <limits.h> | ||
| 11257 | #else | ||
| 11258 | # include <assert.h> | ||
| 11259 | #endif | ||
| 11260 | |||
| 11261 | #undef $ac_func | ||
| 11262 | |||
| 11263 | /* Override any GCC internal prototype to avoid an error. | ||
| 11264 | Use char because int might match the return type of a GCC | ||
| 11265 | builtin and then its argument prototype would still apply. */ | ||
| 11266 | #ifdef __cplusplus | ||
| 11267 | extern "C" | ||
| 11268 | #endif | ||
| 11269 | char $ac_func (); | ||
| 11270 | /* The GNU C library defines this for functions which it implements | ||
| 11271 | to always fail with ENOSYS. Some functions are actually named | ||
| 11272 | something starting with __ and the normal name is an alias. */ | ||
| 11273 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11274 | choke me | ||
| 11275 | #endif | ||
| 11276 | |||
| 11277 | int | ||
| 11278 | main () | ||
| 11279 | { | ||
| 11280 | return $ac_func (); | ||
| 11281 | ; | ||
| 11282 | return 0; | ||
| 11283 | } | ||
| 11284 | _ACEOF | ||
| 11285 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11286 | if { (ac_try="$ac_link" | ||
| 11287 | case "(($ac_try" in | ||
| 11288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11289 | *) ac_try_echo=$ac_try;; | ||
| 11290 | esac | ||
| 11291 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11292 | $as_echo "$ac_try_echo") >&5 | ||
| 11293 | (eval "$ac_link") 2>conftest.er1 | ||
| 11294 | ac_status=$? | ||
| 11295 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11296 | rm -f conftest.er1 | ||
| 11297 | cat conftest.err >&5 | ||
| 11298 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11299 | (exit $ac_status); } && { | ||
| 11300 | test -z "$ac_c_werror_flag" || | ||
| 11301 | test ! -s conftest.err | ||
| 11302 | } && test -s conftest$ac_exeext && { | ||
| 11303 | test "$cross_compiling" = yes || | ||
| 11304 | $as_test_x conftest$ac_exeext | ||
| 11305 | }; then | ||
| 11306 | eval "$as_ac_var=yes" | ||
| 11307 | else | ||
| 11308 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11309 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11310 | |||
| 11311 | eval "$as_ac_var=no" | ||
| 11312 | fi | ||
| 11313 | |||
| 11314 | rm -rf conftest.dSYM | ||
| 11315 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11316 | conftest$ac_exeext conftest.$ac_ext | ||
| 11317 | fi | ||
| 11318 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11319 | $as_echo "$as_val"'` | ||
| 11320 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11321 | $as_echo "$ac_res" >&6; } | ||
| 11322 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11323 | $as_echo "$as_val"'` = yes; then | ||
| 7944 | cat >>confdefs.h <<_ACEOF | 11324 | cat >>confdefs.h <<_ACEOF |
| 7945 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11325 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7946 | _ACEOF | 11326 | _ACEOF |
| @@ -7951,12 +11331,16 @@ done | |||
| 7951 | fi | 11331 | fi |
| 7952 | 11332 | ||
| 7953 | if test "${window_system}" = "x11"; then | 11333 | if test "${window_system}" = "x11"; then |
| 7954 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 version 6" >&5 | 11334 | { $as_echo "$as_me:$LINENO: checking X11 version 6" >&5 |
| 7955 | $as_echo_n "checking X11 version 6... " >&6; } | 11335 | $as_echo_n "checking X11 version 6... " >&6; } |
| 7956 | if test "${emacs_cv_x11_version_6+set}" = set; then : | 11336 | if test "${emacs_cv_x11_version_6+set}" = set; then |
| 7957 | $as_echo_n "(cached) " >&6 | 11337 | $as_echo_n "(cached) " >&6 |
| 7958 | else | 11338 | else |
| 7959 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11339 | cat >conftest.$ac_ext <<_ACEOF |
| 11340 | /* confdefs.h. */ | ||
| 11341 | _ACEOF | ||
| 11342 | cat confdefs.h >>conftest.$ac_ext | ||
| 11343 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7960 | /* end confdefs.h. */ | 11344 | /* end confdefs.h. */ |
| 7961 | #include <X11/Xlib.h> | 11345 | #include <X11/Xlib.h> |
| 7962 | int | 11346 | int |
| @@ -7970,23 +11354,50 @@ fail; | |||
| 7970 | return 0; | 11354 | return 0; |
| 7971 | } | 11355 | } |
| 7972 | _ACEOF | 11356 | _ACEOF |
| 7973 | if ac_fn_c_try_link "$LINENO"; then : | 11357 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11358 | if { (ac_try="$ac_link" | ||
| 11359 | case "(($ac_try" in | ||
| 11360 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11361 | *) ac_try_echo=$ac_try;; | ||
| 11362 | esac | ||
| 11363 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11364 | $as_echo "$ac_try_echo") >&5 | ||
| 11365 | (eval "$ac_link") 2>conftest.er1 | ||
| 11366 | ac_status=$? | ||
| 11367 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11368 | rm -f conftest.er1 | ||
| 11369 | cat conftest.err >&5 | ||
| 11370 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11371 | (exit $ac_status); } && { | ||
| 11372 | test -z "$ac_c_werror_flag" || | ||
| 11373 | test ! -s conftest.err | ||
| 11374 | } && test -s conftest$ac_exeext && { | ||
| 11375 | test "$cross_compiling" = yes || | ||
| 11376 | $as_test_x conftest$ac_exeext | ||
| 11377 | }; then | ||
| 7974 | emacs_cv_x11_version_6=yes | 11378 | emacs_cv_x11_version_6=yes |
| 7975 | else | 11379 | else |
| 7976 | emacs_cv_x11_version_6=no | 11380 | $as_echo "$as_me: failed program was:" >&5 |
| 11381 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11382 | |||
| 11383 | emacs_cv_x11_version_6=no | ||
| 7977 | fi | 11384 | fi |
| 7978 | rm -f core conftest.err conftest.$ac_objext \ | 11385 | |
| 7979 | conftest$ac_exeext conftest.$ac_ext | 11386 | rm -rf conftest.dSYM |
| 11387 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11388 | conftest$ac_exeext conftest.$ac_ext | ||
| 7980 | fi | 11389 | fi |
| 7981 | 11390 | ||
| 7982 | if test $emacs_cv_x11_version_6 = yes; then | 11391 | if test $emacs_cv_x11_version_6 = yes; then |
| 7983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 11392 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 7984 | $as_echo "6 or newer" >&6; } | 11393 | $as_echo "6 or newer" >&6; } |
| 7985 | 11394 | ||
| 7986 | $as_echo "#define HAVE_X11R6 1" >>confdefs.h | 11395 | cat >>confdefs.h <<\_ACEOF |
| 11396 | #define HAVE_X11R6 1 | ||
| 11397 | _ACEOF | ||
| 7987 | 11398 | ||
| 7988 | else | 11399 | else |
| 7989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 11400 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 7990 | $as_echo "before 6" >&6; } | 11401 | $as_echo "before 6" >&6; } |
| 7991 | fi | 11402 | fi |
| 7992 | fi | 11403 | fi |
| @@ -8004,9 +11415,9 @@ if test "${HAVE_X11}" = "yes" || test "${NS_IMPL_GNUSTEP}" = "yes"; then | |||
| 8004 | 11415 | ||
| 8005 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11416 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8006 | set dummy pkg-config; ac_word=$2 | 11417 | set dummy pkg-config; ac_word=$2 |
| 8007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11418 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8008 | $as_echo_n "checking for $ac_word... " >&6; } | 11419 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8009 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11420 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8010 | $as_echo_n "(cached) " >&6 | 11421 | $as_echo_n "(cached) " >&6 |
| 8011 | else | 11422 | else |
| 8012 | case $PKG_CONFIG in | 11423 | case $PKG_CONFIG in |
| @@ -8019,14 +11430,14 @@ for as_dir in $PATH | |||
| 8019 | do | 11430 | do |
| 8020 | IFS=$as_save_IFS | 11431 | IFS=$as_save_IFS |
| 8021 | test -z "$as_dir" && as_dir=. | 11432 | test -z "$as_dir" && as_dir=. |
| 8022 | for ac_exec_ext in '' $ac_executable_extensions; do | 11433 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8023 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11434 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8024 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11435 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8025 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11436 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8026 | break 2 | 11437 | break 2 |
| 8027 | fi | 11438 | fi |
| 8028 | done | 11439 | done |
| 8029 | done | 11440 | done |
| 8030 | IFS=$as_save_IFS | 11441 | IFS=$as_save_IFS |
| 8031 | 11442 | ||
| 8032 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11443 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8035,10 +11446,10 @@ esac | |||
| 8035 | fi | 11446 | fi |
| 8036 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11447 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8037 | if test -n "$PKG_CONFIG"; then | 11448 | if test -n "$PKG_CONFIG"; then |
| 8038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11449 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8039 | $as_echo "$PKG_CONFIG" >&6; } | 11450 | $as_echo "$PKG_CONFIG" >&6; } |
| 8040 | else | 11451 | else |
| 8041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11452 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8042 | $as_echo "no" >&6; } | 11453 | $as_echo "no" >&6; } |
| 8043 | fi | 11454 | fi |
| 8044 | 11455 | ||
| @@ -8049,27 +11460,27 @@ fi | |||
| 8049 | else | 11460 | else |
| 8050 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11461 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8051 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11462 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $RSVG_MODULE" >&5 | 11463 | { $as_echo "$as_me:$LINENO: checking for $RSVG_MODULE" >&5 |
| 8053 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } | 11464 | $as_echo_n "checking for $RSVG_MODULE... " >&6; } |
| 8054 | 11465 | ||
| 8055 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then | 11466 | if $PKG_CONFIG --exists "$RSVG_MODULE" 2>&5; then |
| 8056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11467 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8057 | $as_echo "yes" >&6; } | 11468 | $as_echo "yes" >&6; } |
| 8058 | succeeded=yes | 11469 | succeeded=yes |
| 8059 | 11470 | ||
| 8060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_CFLAGS" >&5 | 11471 | { $as_echo "$as_me:$LINENO: checking RSVG_CFLAGS" >&5 |
| 8061 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } | 11472 | $as_echo_n "checking RSVG_CFLAGS... " >&6; } |
| 8062 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11473 | RSVG_CFLAGS=`$PKG_CONFIG --cflags "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_CFLAGS" >&5 | 11474 | { $as_echo "$as_me:$LINENO: result: $RSVG_CFLAGS" >&5 |
| 8064 | $as_echo "$RSVG_CFLAGS" >&6; } | 11475 | $as_echo "$RSVG_CFLAGS" >&6; } |
| 8065 | 11476 | ||
| 8066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking RSVG_LIBS" >&5 | 11477 | { $as_echo "$as_me:$LINENO: checking RSVG_LIBS" >&5 |
| 8067 | $as_echo_n "checking RSVG_LIBS... " >&6; } | 11478 | $as_echo_n "checking RSVG_LIBS... " >&6; } |
| 8068 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` | 11479 | RSVG_LIBS=`$PKG_CONFIG --libs "$RSVG_MODULE"|sed -e 's,///*,/,g'` |
| 8069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG_LIBS" >&5 | 11480 | { $as_echo "$as_me:$LINENO: result: $RSVG_LIBS" >&5 |
| 8070 | $as_echo "$RSVG_LIBS" >&6; } | 11481 | $as_echo "$RSVG_LIBS" >&6; } |
| 8071 | else | 11482 | else |
| 8072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11483 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8073 | $as_echo "no" >&6; } | 11484 | $as_echo "no" >&6; } |
| 8074 | RSVG_CFLAGS="" | 11485 | RSVG_CFLAGS="" |
| 8075 | RSVG_LIBS="" | 11486 | RSVG_LIBS="" |
| @@ -8099,7 +11510,9 @@ $as_echo "no" >&6; } | |||
| 8099 | if test ".${RSVG_CFLAGS}" != "."; then | 11510 | if test ".${RSVG_CFLAGS}" != "."; then |
| 8100 | HAVE_RSVG=yes | 11511 | HAVE_RSVG=yes |
| 8101 | 11512 | ||
| 8102 | $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 11513 | cat >>confdefs.h <<\_ACEOF |
| 11514 | #define HAVE_RSVG 1 | ||
| 11515 | _ACEOF | ||
| 8103 | 11516 | ||
| 8104 | CFLAGS="$CFLAGS $RSVG_CFLAGS" | 11517 | CFLAGS="$CFLAGS $RSVG_CFLAGS" |
| 8105 | LIBS="$RSVG_LIBS $LIBS" | 11518 | LIBS="$RSVG_LIBS $LIBS" |
| @@ -8119,9 +11532,9 @@ if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | |||
| 8119 | 11532 | ||
| 8120 | # Extract the first word of "pkg-config", so it can be a program name with args. | 11533 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8121 | set dummy pkg-config; ac_word=$2 | 11534 | set dummy pkg-config; ac_word=$2 |
| 8122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 11535 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8123 | $as_echo_n "checking for $ac_word... " >&6; } | 11536 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8124 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 11537 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8125 | $as_echo_n "(cached) " >&6 | 11538 | $as_echo_n "(cached) " >&6 |
| 8126 | else | 11539 | else |
| 8127 | case $PKG_CONFIG in | 11540 | case $PKG_CONFIG in |
| @@ -8134,14 +11547,14 @@ for as_dir in $PATH | |||
| 8134 | do | 11547 | do |
| 8135 | IFS=$as_save_IFS | 11548 | IFS=$as_save_IFS |
| 8136 | test -z "$as_dir" && as_dir=. | 11549 | test -z "$as_dir" && as_dir=. |
| 8137 | for ac_exec_ext in '' $ac_executable_extensions; do | 11550 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8138 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 11551 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8139 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 11552 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8140 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 11553 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8141 | break 2 | 11554 | break 2 |
| 8142 | fi | 11555 | fi |
| 8143 | done | 11556 | done |
| 8144 | done | 11557 | done |
| 8145 | IFS=$as_save_IFS | 11558 | IFS=$as_save_IFS |
| 8146 | 11559 | ||
| 8147 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 11560 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8150,10 +11563,10 @@ esac | |||
| 8150 | fi | 11563 | fi |
| 8151 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 11564 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8152 | if test -n "$PKG_CONFIG"; then | 11565 | if test -n "$PKG_CONFIG"; then |
| 8153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 11566 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8154 | $as_echo "$PKG_CONFIG" >&6; } | 11567 | $as_echo "$PKG_CONFIG" >&6; } |
| 8155 | else | 11568 | else |
| 8156 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11569 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8157 | $as_echo "no" >&6; } | 11570 | $as_echo "no" >&6; } |
| 8158 | fi | 11571 | fi |
| 8159 | 11572 | ||
| @@ -8164,27 +11577,27 @@ fi | |||
| 8164 | else | 11577 | else |
| 8165 | PKG_CONFIG_MIN_VERSION=0.9.0 | 11578 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8166 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 11579 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 11580 | { $as_echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
| 8168 | $as_echo_n "checking for $GTK_MODULES... " >&6; } | 11581 | $as_echo_n "checking for $GTK_MODULES... " >&6; } |
| 8169 | 11582 | ||
| 8170 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 11583 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
| 8171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11584 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8172 | $as_echo "yes" >&6; } | 11585 | $as_echo "yes" >&6; } |
| 8173 | succeeded=yes | 11586 | succeeded=yes |
| 8174 | 11587 | ||
| 8175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 11588 | { $as_echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
| 8176 | $as_echo_n "checking GTK_CFLAGS... " >&6; } | 11589 | $as_echo_n "checking GTK_CFLAGS... " >&6; } |
| 8177 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11590 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 11591 | { $as_echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
| 8179 | $as_echo "$GTK_CFLAGS" >&6; } | 11592 | $as_echo "$GTK_CFLAGS" >&6; } |
| 8180 | 11593 | ||
| 8181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 11594 | { $as_echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
| 8182 | $as_echo_n "checking GTK_LIBS... " >&6; } | 11595 | $as_echo_n "checking GTK_LIBS... " >&6; } |
| 8183 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 11596 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` |
| 8184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 11597 | { $as_echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
| 8185 | $as_echo "$GTK_LIBS" >&6; } | 11598 | $as_echo "$GTK_LIBS" >&6; } |
| 8186 | else | 11599 | else |
| 8187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11600 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8188 | $as_echo "no" >&6; } | 11601 | $as_echo "no" >&6; } |
| 8189 | GTK_CFLAGS="" | 11602 | GTK_CFLAGS="" |
| 8190 | GTK_LIBS="" | 11603 | GTK_LIBS="" |
| @@ -8209,7 +11622,9 @@ $as_echo "no" >&6; } | |||
| 8209 | fi | 11622 | fi |
| 8210 | 11623 | ||
| 8211 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 11624 | if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
| 8212 | as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | 11625 | { { $as_echo "$as_me:$LINENO: error: $GTK_PKG_ERRORS" >&5 |
| 11626 | $as_echo "$as_me: error: $GTK_PKG_ERRORS" >&2;} | ||
| 11627 | { (exit 1); exit 1; }; } | ||
| 8213 | fi | 11628 | fi |
| 8214 | fi | 11629 | fi |
| 8215 | 11630 | ||
| @@ -8223,12 +11638,101 @@ if test x"$pkg_check_gtk" = xyes; then | |||
| 8223 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 11638 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 8224 | LIBS="$GTK_LIBS $LIBS" | 11639 | LIBS="$GTK_LIBS $LIBS" |
| 8225 | GTK_COMPILES=no | 11640 | GTK_COMPILES=no |
| 8226 | for ac_func in gtk_main | 11641 | |
| 8227 | do : | 11642 | for ac_func in gtk_main |
| 8228 | ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11643 | do |
| 8229 | if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11644 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11645 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11646 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11647 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11648 | $as_echo_n "(cached) " >&6 | ||
| 11649 | else | ||
| 11650 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11651 | /* confdefs.h. */ | ||
| 11652 | _ACEOF | ||
| 11653 | cat confdefs.h >>conftest.$ac_ext | ||
| 11654 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11655 | /* end confdefs.h. */ | ||
| 11656 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11657 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11658 | #define $ac_func innocuous_$ac_func | ||
| 11659 | |||
| 11660 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11661 | which can conflict with char $ac_func (); below. | ||
| 11662 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11663 | <limits.h> exists even on freestanding compilers. */ | ||
| 11664 | |||
| 11665 | #ifdef __STDC__ | ||
| 11666 | # include <limits.h> | ||
| 11667 | #else | ||
| 11668 | # include <assert.h> | ||
| 11669 | #endif | ||
| 11670 | |||
| 11671 | #undef $ac_func | ||
| 11672 | |||
| 11673 | /* Override any GCC internal prototype to avoid an error. | ||
| 11674 | Use char because int might match the return type of a GCC | ||
| 11675 | builtin and then its argument prototype would still apply. */ | ||
| 11676 | #ifdef __cplusplus | ||
| 11677 | extern "C" | ||
| 11678 | #endif | ||
| 11679 | char $ac_func (); | ||
| 11680 | /* The GNU C library defines this for functions which it implements | ||
| 11681 | to always fail with ENOSYS. Some functions are actually named | ||
| 11682 | something starting with __ and the normal name is an alias. */ | ||
| 11683 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11684 | choke me | ||
| 11685 | #endif | ||
| 11686 | |||
| 11687 | int | ||
| 11688 | main () | ||
| 11689 | { | ||
| 11690 | return $ac_func (); | ||
| 11691 | ; | ||
| 11692 | return 0; | ||
| 11693 | } | ||
| 11694 | _ACEOF | ||
| 11695 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11696 | if { (ac_try="$ac_link" | ||
| 11697 | case "(($ac_try" in | ||
| 11698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11699 | *) ac_try_echo=$ac_try;; | ||
| 11700 | esac | ||
| 11701 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11702 | $as_echo "$ac_try_echo") >&5 | ||
| 11703 | (eval "$ac_link") 2>conftest.er1 | ||
| 11704 | ac_status=$? | ||
| 11705 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11706 | rm -f conftest.er1 | ||
| 11707 | cat conftest.err >&5 | ||
| 11708 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11709 | (exit $ac_status); } && { | ||
| 11710 | test -z "$ac_c_werror_flag" || | ||
| 11711 | test ! -s conftest.err | ||
| 11712 | } && test -s conftest$ac_exeext && { | ||
| 11713 | test "$cross_compiling" = yes || | ||
| 11714 | $as_test_x conftest$ac_exeext | ||
| 11715 | }; then | ||
| 11716 | eval "$as_ac_var=yes" | ||
| 11717 | else | ||
| 11718 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11719 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11720 | |||
| 11721 | eval "$as_ac_var=no" | ||
| 11722 | fi | ||
| 11723 | |||
| 11724 | rm -rf conftest.dSYM | ||
| 11725 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11726 | conftest$ac_exeext conftest.$ac_ext | ||
| 11727 | fi | ||
| 11728 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11729 | $as_echo "$as_val"'` | ||
| 11730 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11731 | $as_echo "$ac_res" >&6; } | ||
| 11732 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11733 | $as_echo "$as_val"'` = yes; then | ||
| 8230 | cat >>confdefs.h <<_ACEOF | 11734 | cat >>confdefs.h <<_ACEOF |
| 8231 | #define HAVE_GTK_MAIN 1 | 11735 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8232 | _ACEOF | 11736 | _ACEOF |
| 8233 | GTK_COMPILES=yes | 11737 | GTK_COMPILES=yes |
| 8234 | fi | 11738 | fi |
| @@ -8236,19 +11740,23 @@ done | |||
| 8236 | 11740 | ||
| 8237 | if test "${GTK_COMPILES}" != "yes"; then | 11741 | if test "${GTK_COMPILES}" != "yes"; then |
| 8238 | if test "$USE_X_TOOLKIT" != "maybe"; then | 11742 | if test "$USE_X_TOOLKIT" != "maybe"; then |
| 8239 | as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 11743 | { { $as_echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 |
| 11744 | $as_echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | ||
| 11745 | { (exit 1); exit 1; }; }; | ||
| 8240 | fi | 11746 | fi |
| 8241 | else | 11747 | else |
| 8242 | HAVE_GTK=yes | 11748 | HAVE_GTK=yes |
| 8243 | 11749 | ||
| 8244 | $as_echo "#define USE_GTK 1" >>confdefs.h | 11750 | cat >>confdefs.h <<\_ACEOF |
| 11751 | #define USE_GTK 1 | ||
| 11752 | _ACEOF | ||
| 8245 | 11753 | ||
| 8246 | GTK_OBJ=gtkutil.o | 11754 | GTK_OBJ=gtkutil.o |
| 8247 | USE_X_TOOLKIT=none | 11755 | USE_X_TOOLKIT=none |
| 8248 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then | 11756 | if $PKG_CONFIG --atleast-version=2.10 gtk+-2.0; then |
| 8249 | : | 11757 | : |
| 8250 | else | 11758 | else |
| 8251 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your version of Gtk+ will have problems with | 11759 | { $as_echo "$as_me:$LINENO: WARNING: Your version of Gtk+ will have problems with |
| 8252 | closing open displays. This is no problem if you just use | 11760 | closing open displays. This is no problem if you just use |
| 8253 | one display, but if you use more than one and close one of them | 11761 | one display, but if you use more than one and close one of them |
| 8254 | Emacs may crash." >&5 | 11762 | Emacs may crash." >&5 |
| @@ -8271,12 +11779,101 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 8271 | fi | 11779 | fi |
| 8272 | 11780 | ||
| 8273 | HAVE_GTK_MULTIDISPLAY=no | 11781 | HAVE_GTK_MULTIDISPLAY=no |
| 8274 | for ac_func in gdk_display_open | 11782 | |
| 8275 | do : | 11783 | for ac_func in gdk_display_open |
| 8276 | ac_fn_c_check_func "$LINENO" "gdk_display_open" "ac_cv_func_gdk_display_open" | 11784 | do |
| 8277 | if test "x$ac_cv_func_gdk_display_open" = x""yes; then : | 11785 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11786 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11787 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11788 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11789 | $as_echo_n "(cached) " >&6 | ||
| 11790 | else | ||
| 11791 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11792 | /* confdefs.h. */ | ||
| 11793 | _ACEOF | ||
| 11794 | cat confdefs.h >>conftest.$ac_ext | ||
| 11795 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11796 | /* end confdefs.h. */ | ||
| 11797 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11798 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11799 | #define $ac_func innocuous_$ac_func | ||
| 11800 | |||
| 11801 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11802 | which can conflict with char $ac_func (); below. | ||
| 11803 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11804 | <limits.h> exists even on freestanding compilers. */ | ||
| 11805 | |||
| 11806 | #ifdef __STDC__ | ||
| 11807 | # include <limits.h> | ||
| 11808 | #else | ||
| 11809 | # include <assert.h> | ||
| 11810 | #endif | ||
| 11811 | |||
| 11812 | #undef $ac_func | ||
| 11813 | |||
| 11814 | /* Override any GCC internal prototype to avoid an error. | ||
| 11815 | Use char because int might match the return type of a GCC | ||
| 11816 | builtin and then its argument prototype would still apply. */ | ||
| 11817 | #ifdef __cplusplus | ||
| 11818 | extern "C" | ||
| 11819 | #endif | ||
| 11820 | char $ac_func (); | ||
| 11821 | /* The GNU C library defines this for functions which it implements | ||
| 11822 | to always fail with ENOSYS. Some functions are actually named | ||
| 11823 | something starting with __ and the normal name is an alias. */ | ||
| 11824 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11825 | choke me | ||
| 11826 | #endif | ||
| 11827 | |||
| 11828 | int | ||
| 11829 | main () | ||
| 11830 | { | ||
| 11831 | return $ac_func (); | ||
| 11832 | ; | ||
| 11833 | return 0; | ||
| 11834 | } | ||
| 11835 | _ACEOF | ||
| 11836 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11837 | if { (ac_try="$ac_link" | ||
| 11838 | case "(($ac_try" in | ||
| 11839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11840 | *) ac_try_echo=$ac_try;; | ||
| 11841 | esac | ||
| 11842 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11843 | $as_echo "$ac_try_echo") >&5 | ||
| 11844 | (eval "$ac_link") 2>conftest.er1 | ||
| 11845 | ac_status=$? | ||
| 11846 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11847 | rm -f conftest.er1 | ||
| 11848 | cat conftest.err >&5 | ||
| 11849 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11850 | (exit $ac_status); } && { | ||
| 11851 | test -z "$ac_c_werror_flag" || | ||
| 11852 | test ! -s conftest.err | ||
| 11853 | } && test -s conftest$ac_exeext && { | ||
| 11854 | test "$cross_compiling" = yes || | ||
| 11855 | $as_test_x conftest$ac_exeext | ||
| 11856 | }; then | ||
| 11857 | eval "$as_ac_var=yes" | ||
| 11858 | else | ||
| 11859 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11860 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11861 | |||
| 11862 | eval "$as_ac_var=no" | ||
| 11863 | fi | ||
| 11864 | |||
| 11865 | rm -rf conftest.dSYM | ||
| 11866 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11867 | conftest$ac_exeext conftest.$ac_ext | ||
| 11868 | fi | ||
| 11869 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 11870 | $as_echo "$as_val"'` | ||
| 11871 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 11872 | $as_echo "$ac_res" >&6; } | ||
| 11873 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 11874 | $as_echo "$as_val"'` = yes; then | ||
| 8278 | cat >>confdefs.h <<_ACEOF | 11875 | cat >>confdefs.h <<_ACEOF |
| 8279 | #define HAVE_GDK_DISPLAY_OPEN 1 | 11876 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8280 | _ACEOF | 11877 | _ACEOF |
| 8281 | HAVE_GTK_MULTIDISPLAY=yes | 11878 | HAVE_GTK_MULTIDISPLAY=yes |
| 8282 | fi | 11879 | fi |
| @@ -8284,27 +11881,170 @@ done | |||
| 8284 | 11881 | ||
| 8285 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 11882 | if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
| 8286 | 11883 | ||
| 8287 | $as_echo "#define HAVE_GTK_MULTIDISPLAY 1" >>confdefs.h | 11884 | cat >>confdefs.h <<\_ACEOF |
| 11885 | #define HAVE_GTK_MULTIDISPLAY 1 | ||
| 11886 | _ACEOF | ||
| 8288 | 11887 | ||
| 8289 | fi | 11888 | fi |
| 8290 | 11889 | ||
| 8291 | HAVE_GTK_FILE_SELECTION=no | 11890 | HAVE_GTK_FILE_SELECTION=no |
| 8292 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_SELECTION" "ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" "$ac_includes_default | 11891 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_SELECTION is declared" >&5 |
| 11892 | $as_echo_n "checking whether GTK_TYPE_FILE_SELECTION is declared... " >&6; } | ||
| 11893 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_SELECTION+set}" = set; then | ||
| 11894 | $as_echo_n "(cached) " >&6 | ||
| 11895 | else | ||
| 11896 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11897 | /* confdefs.h. */ | ||
| 11898 | _ACEOF | ||
| 11899 | cat confdefs.h >>conftest.$ac_ext | ||
| 11900 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11901 | /* end confdefs.h. */ | ||
| 11902 | $ac_includes_default | ||
| 8293 | #include <gtk/gtk.h> | 11903 | #include <gtk/gtk.h> |
| 8294 | " | 11904 | |
| 8295 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" = x""yes; then : | 11905 | int |
| 11906 | main () | ||
| 11907 | { | ||
| 11908 | #ifndef GTK_TYPE_FILE_SELECTION | ||
| 11909 | (void) GTK_TYPE_FILE_SELECTION; | ||
| 11910 | #endif | ||
| 11911 | |||
| 11912 | ; | ||
| 11913 | return 0; | ||
| 11914 | } | ||
| 11915 | _ACEOF | ||
| 11916 | rm -f conftest.$ac_objext | ||
| 11917 | if { (ac_try="$ac_compile" | ||
| 11918 | case "(($ac_try" in | ||
| 11919 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11920 | *) ac_try_echo=$ac_try;; | ||
| 11921 | esac | ||
| 11922 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 11923 | $as_echo "$ac_try_echo") >&5 | ||
| 11924 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11925 | ac_status=$? | ||
| 11926 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 11927 | rm -f conftest.er1 | ||
| 11928 | cat conftest.err >&5 | ||
| 11929 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11930 | (exit $ac_status); } && { | ||
| 11931 | test -z "$ac_c_werror_flag" || | ||
| 11932 | test ! -s conftest.err | ||
| 11933 | } && test -s conftest.$ac_objext; then | ||
| 11934 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=yes | ||
| 11935 | else | ||
| 11936 | $as_echo "$as_me: failed program was:" >&5 | ||
| 11937 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 11938 | |||
| 11939 | ac_cv_have_decl_GTK_TYPE_FILE_SELECTION=no | ||
| 11940 | fi | ||
| 11941 | |||
| 11942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11943 | fi | ||
| 11944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&5 | ||
| 11945 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_SELECTION" >&6; } | ||
| 11946 | if test $ac_cv_have_decl_GTK_TYPE_FILE_SELECTION = yes; then | ||
| 8296 | HAVE_GTK_FILE_SELECTION=yes | 11947 | HAVE_GTK_FILE_SELECTION=yes |
| 8297 | else | 11948 | else |
| 8298 | HAVE_GTK_FILE_SELECTION=no | 11949 | HAVE_GTK_FILE_SELECTION=no |
| 8299 | fi | 11950 | fi |
| 8300 | 11951 | ||
| 8301 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then | 11952 | if test "$HAVE_GTK_FILE_SELECTION" = yes; then |
| 8302 | for ac_func in gtk_file_selection_new | 11953 | |
| 8303 | do : | 11954 | for ac_func in gtk_file_selection_new |
| 8304 | ac_fn_c_check_func "$LINENO" "gtk_file_selection_new" "ac_cv_func_gtk_file_selection_new" | 11955 | do |
| 8305 | if test "x$ac_cv_func_gtk_file_selection_new" = x""yes; then : | 11956 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11957 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11958 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 11959 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 11960 | $as_echo_n "(cached) " >&6 | ||
| 11961 | else | ||
| 11962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11963 | /* confdefs.h. */ | ||
| 11964 | _ACEOF | ||
| 11965 | cat confdefs.h >>conftest.$ac_ext | ||
| 11966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11967 | /* end confdefs.h. */ | ||
| 11968 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 11969 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 11970 | #define $ac_func innocuous_$ac_func | ||
| 11971 | |||
| 11972 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11973 | which can conflict with char $ac_func (); below. | ||
| 11974 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 11975 | <limits.h> exists even on freestanding compilers. */ | ||
| 11976 | |||
| 11977 | #ifdef __STDC__ | ||
| 11978 | # include <limits.h> | ||
| 11979 | #else | ||
| 11980 | # include <assert.h> | ||
| 11981 | #endif | ||
| 11982 | |||
| 11983 | #undef $ac_func | ||
| 11984 | |||
| 11985 | /* Override any GCC internal prototype to avoid an error. | ||
| 11986 | Use char because int might match the return type of a GCC | ||
| 11987 | builtin and then its argument prototype would still apply. */ | ||
| 11988 | #ifdef __cplusplus | ||
| 11989 | extern "C" | ||
| 11990 | #endif | ||
| 11991 | char $ac_func (); | ||
| 11992 | /* The GNU C library defines this for functions which it implements | ||
| 11993 | to always fail with ENOSYS. Some functions are actually named | ||
| 11994 | something starting with __ and the normal name is an alias. */ | ||
| 11995 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 11996 | choke me | ||
| 11997 | #endif | ||
| 11998 | |||
| 11999 | int | ||
| 12000 | main () | ||
| 12001 | { | ||
| 12002 | return $ac_func (); | ||
| 12003 | ; | ||
| 12004 | return 0; | ||
| 12005 | } | ||
| 12006 | _ACEOF | ||
| 12007 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12008 | if { (ac_try="$ac_link" | ||
| 12009 | case "(($ac_try" in | ||
| 12010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12011 | *) ac_try_echo=$ac_try;; | ||
| 12012 | esac | ||
| 12013 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12014 | $as_echo "$ac_try_echo") >&5 | ||
| 12015 | (eval "$ac_link") 2>conftest.er1 | ||
| 12016 | ac_status=$? | ||
| 12017 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12018 | rm -f conftest.er1 | ||
| 12019 | cat conftest.err >&5 | ||
| 12020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12021 | (exit $ac_status); } && { | ||
| 12022 | test -z "$ac_c_werror_flag" || | ||
| 12023 | test ! -s conftest.err | ||
| 12024 | } && test -s conftest$ac_exeext && { | ||
| 12025 | test "$cross_compiling" = yes || | ||
| 12026 | $as_test_x conftest$ac_exeext | ||
| 12027 | }; then | ||
| 12028 | eval "$as_ac_var=yes" | ||
| 12029 | else | ||
| 12030 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12031 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12032 | |||
| 12033 | eval "$as_ac_var=no" | ||
| 12034 | fi | ||
| 12035 | |||
| 12036 | rm -rf conftest.dSYM | ||
| 12037 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12038 | conftest$ac_exeext conftest.$ac_ext | ||
| 12039 | fi | ||
| 12040 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12041 | $as_echo "$as_val"'` | ||
| 12042 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12043 | $as_echo "$ac_res" >&6; } | ||
| 12044 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12045 | $as_echo "$as_val"'` = yes; then | ||
| 8306 | cat >>confdefs.h <<_ACEOF | 12046 | cat >>confdefs.h <<_ACEOF |
| 8307 | #define HAVE_GTK_FILE_SELECTION_NEW 1 | 12047 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8308 | _ACEOF | 12048 | _ACEOF |
| 8309 | HAVE_GTK_FILE_SELECTION=yes | 12049 | HAVE_GTK_FILE_SELECTION=yes |
| 8310 | else | 12050 | else |
| @@ -8315,22 +12055,163 @@ done | |||
| 8315 | fi | 12055 | fi |
| 8316 | 12056 | ||
| 8317 | HAVE_GTK_FILE_CHOOSER=no | 12057 | HAVE_GTK_FILE_CHOOSER=no |
| 8318 | ac_fn_c_check_decl "$LINENO" "GTK_TYPE_FILE_CHOOSER" "ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" "$ac_includes_default | 12058 | { $as_echo "$as_me:$LINENO: checking whether GTK_TYPE_FILE_CHOOSER is declared" >&5 |
| 12059 | $as_echo_n "checking whether GTK_TYPE_FILE_CHOOSER is declared... " >&6; } | ||
| 12060 | if test "${ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER+set}" = set; then | ||
| 12061 | $as_echo_n "(cached) " >&6 | ||
| 12062 | else | ||
| 12063 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12064 | /* confdefs.h. */ | ||
| 12065 | _ACEOF | ||
| 12066 | cat confdefs.h >>conftest.$ac_ext | ||
| 12067 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12068 | /* end confdefs.h. */ | ||
| 12069 | $ac_includes_default | ||
| 8319 | #include <gtk/gtk.h> | 12070 | #include <gtk/gtk.h> |
| 8320 | " | 12071 | |
| 8321 | if test "x$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" = x""yes; then : | 12072 | int |
| 12073 | main () | ||
| 12074 | { | ||
| 12075 | #ifndef GTK_TYPE_FILE_CHOOSER | ||
| 12076 | (void) GTK_TYPE_FILE_CHOOSER; | ||
| 12077 | #endif | ||
| 12078 | |||
| 12079 | ; | ||
| 12080 | return 0; | ||
| 12081 | } | ||
| 12082 | _ACEOF | ||
| 12083 | rm -f conftest.$ac_objext | ||
| 12084 | if { (ac_try="$ac_compile" | ||
| 12085 | case "(($ac_try" in | ||
| 12086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12087 | *) ac_try_echo=$ac_try;; | ||
| 12088 | esac | ||
| 12089 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12090 | $as_echo "$ac_try_echo") >&5 | ||
| 12091 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12092 | ac_status=$? | ||
| 12093 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12094 | rm -f conftest.er1 | ||
| 12095 | cat conftest.err >&5 | ||
| 12096 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12097 | (exit $ac_status); } && { | ||
| 12098 | test -z "$ac_c_werror_flag" || | ||
| 12099 | test ! -s conftest.err | ||
| 12100 | } && test -s conftest.$ac_objext; then | ||
| 12101 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=yes | ||
| 12102 | else | ||
| 12103 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12104 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12105 | |||
| 12106 | ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER=no | ||
| 12107 | fi | ||
| 12108 | |||
| 12109 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12110 | fi | ||
| 12111 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&5 | ||
| 12112 | $as_echo "$ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER" >&6; } | ||
| 12113 | if test $ac_cv_have_decl_GTK_TYPE_FILE_CHOOSER = yes; then | ||
| 8322 | HAVE_GTK_FILE_CHOOSER=yes | 12114 | HAVE_GTK_FILE_CHOOSER=yes |
| 8323 | else | 12115 | else |
| 8324 | HAVE_GTK_FILE_CHOOSER=no | 12116 | HAVE_GTK_FILE_CHOOSER=no |
| 8325 | fi | 12117 | fi |
| 8326 | 12118 | ||
| 8327 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12119 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8328 | for ac_func in gtk_file_chooser_dialog_new | 12120 | |
| 8329 | do : | 12121 | for ac_func in gtk_file_chooser_dialog_new |
| 8330 | ac_fn_c_check_func "$LINENO" "gtk_file_chooser_dialog_new" "ac_cv_func_gtk_file_chooser_dialog_new" | 12122 | do |
| 8331 | if test "x$ac_cv_func_gtk_file_chooser_dialog_new" = x""yes; then : | 12123 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12124 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 12125 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12126 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12127 | $as_echo_n "(cached) " >&6 | ||
| 12128 | else | ||
| 12129 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12130 | /* confdefs.h. */ | ||
| 12131 | _ACEOF | ||
| 12132 | cat confdefs.h >>conftest.$ac_ext | ||
| 12133 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12134 | /* end confdefs.h. */ | ||
| 12135 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12136 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12137 | #define $ac_func innocuous_$ac_func | ||
| 12138 | |||
| 12139 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12140 | which can conflict with char $ac_func (); below. | ||
| 12141 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12142 | <limits.h> exists even on freestanding compilers. */ | ||
| 12143 | |||
| 12144 | #ifdef __STDC__ | ||
| 12145 | # include <limits.h> | ||
| 12146 | #else | ||
| 12147 | # include <assert.h> | ||
| 12148 | #endif | ||
| 12149 | |||
| 12150 | #undef $ac_func | ||
| 12151 | |||
| 12152 | /* Override any GCC internal prototype to avoid an error. | ||
| 12153 | Use char because int might match the return type of a GCC | ||
| 12154 | builtin and then its argument prototype would still apply. */ | ||
| 12155 | #ifdef __cplusplus | ||
| 12156 | extern "C" | ||
| 12157 | #endif | ||
| 12158 | char $ac_func (); | ||
| 12159 | /* The GNU C library defines this for functions which it implements | ||
| 12160 | to always fail with ENOSYS. Some functions are actually named | ||
| 12161 | something starting with __ and the normal name is an alias. */ | ||
| 12162 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12163 | choke me | ||
| 12164 | #endif | ||
| 12165 | |||
| 12166 | int | ||
| 12167 | main () | ||
| 12168 | { | ||
| 12169 | return $ac_func (); | ||
| 12170 | ; | ||
| 12171 | return 0; | ||
| 12172 | } | ||
| 12173 | _ACEOF | ||
| 12174 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12175 | if { (ac_try="$ac_link" | ||
| 12176 | case "(($ac_try" in | ||
| 12177 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12178 | *) ac_try_echo=$ac_try;; | ||
| 12179 | esac | ||
| 12180 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12181 | $as_echo "$ac_try_echo") >&5 | ||
| 12182 | (eval "$ac_link") 2>conftest.er1 | ||
| 12183 | ac_status=$? | ||
| 12184 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12185 | rm -f conftest.er1 | ||
| 12186 | cat conftest.err >&5 | ||
| 12187 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12188 | (exit $ac_status); } && { | ||
| 12189 | test -z "$ac_c_werror_flag" || | ||
| 12190 | test ! -s conftest.err | ||
| 12191 | } && test -s conftest$ac_exeext && { | ||
| 12192 | test "$cross_compiling" = yes || | ||
| 12193 | $as_test_x conftest$ac_exeext | ||
| 12194 | }; then | ||
| 12195 | eval "$as_ac_var=yes" | ||
| 12196 | else | ||
| 12197 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12198 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12199 | |||
| 12200 | eval "$as_ac_var=no" | ||
| 12201 | fi | ||
| 12202 | |||
| 12203 | rm -rf conftest.dSYM | ||
| 12204 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12205 | conftest$ac_exeext conftest.$ac_ext | ||
| 12206 | fi | ||
| 12207 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12208 | $as_echo "$as_val"'` | ||
| 12209 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12210 | $as_echo "$ac_res" >&6; } | ||
| 12211 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12212 | $as_echo "$as_val"'` = yes; then | ||
| 8332 | cat >>confdefs.h <<_ACEOF | 12213 | cat >>confdefs.h <<_ACEOF |
| 8333 | #define HAVE_GTK_FILE_CHOOSER_DIALOG_NEW 1 | 12214 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8334 | _ACEOF | 12215 | _ACEOF |
| 8335 | HAVE_GTK_FILE_CHOOSER=yes | 12216 | HAVE_GTK_FILE_CHOOSER=yes |
| 8336 | else | 12217 | else |
| @@ -8343,18 +12224,153 @@ done | |||
| 8343 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ | 12224 | if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
| 8344 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12225 | && test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8345 | 12226 | ||
| 8346 | $as_echo "#define HAVE_GTK_FILE_BOTH 1" >>confdefs.h | 12227 | cat >>confdefs.h <<\_ACEOF |
| 12228 | #define HAVE_GTK_FILE_BOTH 1 | ||
| 12229 | _ACEOF | ||
| 8347 | 12230 | ||
| 8348 | fi | 12231 | fi |
| 8349 | 12232 | ||
| 8350 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then | 12233 | if test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
| 8351 | HAVE_GTK_AND_PTHREAD=no | 12234 | HAVE_GTK_AND_PTHREAD=no |
| 8352 | for ac_header in pthread.h | 12235 | |
| 8353 | do : | 12236 | for ac_header in pthread.h |
| 8354 | ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 12237 | do |
| 8355 | if test "x$ac_cv_header_pthread_h" = x""yes; then : | 12238 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12239 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12240 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12241 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12242 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12243 | $as_echo_n "(cached) " >&6 | ||
| 12244 | fi | ||
| 12245 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12246 | $as_echo "$as_val"'` | ||
| 12247 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12248 | $as_echo "$ac_res" >&6; } | ||
| 12249 | else | ||
| 12250 | # Is the header compilable? | ||
| 12251 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 12252 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 12253 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12254 | /* confdefs.h. */ | ||
| 12255 | _ACEOF | ||
| 12256 | cat confdefs.h >>conftest.$ac_ext | ||
| 12257 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12258 | /* end confdefs.h. */ | ||
| 12259 | $ac_includes_default | ||
| 12260 | #include <$ac_header> | ||
| 12261 | _ACEOF | ||
| 12262 | rm -f conftest.$ac_objext | ||
| 12263 | if { (ac_try="$ac_compile" | ||
| 12264 | case "(($ac_try" in | ||
| 12265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12266 | *) ac_try_echo=$ac_try;; | ||
| 12267 | esac | ||
| 12268 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12269 | $as_echo "$ac_try_echo") >&5 | ||
| 12270 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12271 | ac_status=$? | ||
| 12272 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12273 | rm -f conftest.er1 | ||
| 12274 | cat conftest.err >&5 | ||
| 12275 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12276 | (exit $ac_status); } && { | ||
| 12277 | test -z "$ac_c_werror_flag" || | ||
| 12278 | test ! -s conftest.err | ||
| 12279 | } && test -s conftest.$ac_objext; then | ||
| 12280 | ac_header_compiler=yes | ||
| 12281 | else | ||
| 12282 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12283 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12284 | |||
| 12285 | ac_header_compiler=no | ||
| 12286 | fi | ||
| 12287 | |||
| 12288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 12289 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 12290 | $as_echo "$ac_header_compiler" >&6; } | ||
| 12291 | |||
| 12292 | # Is the header present? | ||
| 12293 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 12294 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 12295 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12296 | /* confdefs.h. */ | ||
| 12297 | _ACEOF | ||
| 12298 | cat confdefs.h >>conftest.$ac_ext | ||
| 12299 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12300 | /* end confdefs.h. */ | ||
| 12301 | #include <$ac_header> | ||
| 12302 | _ACEOF | ||
| 12303 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 12304 | case "(($ac_try" in | ||
| 12305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12306 | *) ac_try_echo=$ac_try;; | ||
| 12307 | esac | ||
| 12308 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12309 | $as_echo "$ac_try_echo") >&5 | ||
| 12310 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12311 | ac_status=$? | ||
| 12312 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12313 | rm -f conftest.er1 | ||
| 12314 | cat conftest.err >&5 | ||
| 12315 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12316 | (exit $ac_status); } >/dev/null && { | ||
| 12317 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 12318 | test ! -s conftest.err | ||
| 12319 | }; then | ||
| 12320 | ac_header_preproc=yes | ||
| 12321 | else | ||
| 12322 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12323 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12324 | |||
| 12325 | ac_header_preproc=no | ||
| 12326 | fi | ||
| 12327 | |||
| 12328 | rm -f conftest.err conftest.$ac_ext | ||
| 12329 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 12330 | $as_echo "$ac_header_preproc" >&6; } | ||
| 12331 | |||
| 12332 | # So? What about this header? | ||
| 12333 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 12334 | yes:no: ) | ||
| 12335 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 12336 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 12337 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 12338 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 12339 | ac_header_preproc=yes | ||
| 12340 | ;; | ||
| 12341 | no:yes:* ) | ||
| 12342 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 12343 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 12344 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 12345 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 12346 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 12347 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 12348 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 12349 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 12350 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12351 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 12352 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 12353 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 12354 | |||
| 12355 | ;; | ||
| 12356 | esac | ||
| 12357 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12358 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 12359 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12360 | $as_echo_n "(cached) " >&6 | ||
| 12361 | else | ||
| 12362 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 12363 | fi | ||
| 12364 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 12365 | $as_echo "$as_val"'` | ||
| 12366 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12367 | $as_echo "$ac_res" >&6; } | ||
| 12368 | |||
| 12369 | fi | ||
| 12370 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 12371 | $as_echo "$as_val"'` = yes; then | ||
| 8356 | cat >>confdefs.h <<_ACEOF | 12372 | cat >>confdefs.h <<_ACEOF |
| 8357 | #define HAVE_PTHREAD_H 1 | 12373 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8358 | _ACEOF | 12374 | _ACEOF |
| 8359 | 12375 | ||
| 8360 | fi | 12376 | fi |
| @@ -8362,14 +12378,18 @@ fi | |||
| 8362 | done | 12378 | done |
| 8363 | 12379 | ||
| 8364 | if test "$ac_cv_header_pthread_h"; then | 12380 | if test "$ac_cv_header_pthread_h"; then |
| 8365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 | 12381 | { $as_echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
| 8366 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } | 12382 | $as_echo_n "checking for pthread_self in -lpthread... " >&6; } |
| 8367 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then : | 12383 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
| 8368 | $as_echo_n "(cached) " >&6 | 12384 | $as_echo_n "(cached) " >&6 |
| 8369 | else | 12385 | else |
| 8370 | ac_check_lib_save_LIBS=$LIBS | 12386 | ac_check_lib_save_LIBS=$LIBS |
| 8371 | LIBS="-lpthread $LIBS" | 12387 | LIBS="-lpthread $LIBS" |
| 8372 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12388 | cat >conftest.$ac_ext <<_ACEOF |
| 12389 | /* confdefs.h. */ | ||
| 12390 | _ACEOF | ||
| 12391 | cat confdefs.h >>conftest.$ac_ext | ||
| 12392 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8373 | /* end confdefs.h. */ | 12393 | /* end confdefs.h. */ |
| 8374 | 12394 | ||
| 8375 | /* Override any GCC internal prototype to avoid an error. | 12395 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8387,18 +12407,43 @@ return pthread_self (); | |||
| 8387 | return 0; | 12407 | return 0; |
| 8388 | } | 12408 | } |
| 8389 | _ACEOF | 12409 | _ACEOF |
| 8390 | if ac_fn_c_try_link "$LINENO"; then : | 12410 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12411 | if { (ac_try="$ac_link" | ||
| 12412 | case "(($ac_try" in | ||
| 12413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12414 | *) ac_try_echo=$ac_try;; | ||
| 12415 | esac | ||
| 12416 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12417 | $as_echo "$ac_try_echo") >&5 | ||
| 12418 | (eval "$ac_link") 2>conftest.er1 | ||
| 12419 | ac_status=$? | ||
| 12420 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12421 | rm -f conftest.er1 | ||
| 12422 | cat conftest.err >&5 | ||
| 12423 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12424 | (exit $ac_status); } && { | ||
| 12425 | test -z "$ac_c_werror_flag" || | ||
| 12426 | test ! -s conftest.err | ||
| 12427 | } && test -s conftest$ac_exeext && { | ||
| 12428 | test "$cross_compiling" = yes || | ||
| 12429 | $as_test_x conftest$ac_exeext | ||
| 12430 | }; then | ||
| 8391 | ac_cv_lib_pthread_pthread_self=yes | 12431 | ac_cv_lib_pthread_pthread_self=yes |
| 8392 | else | 12432 | else |
| 8393 | ac_cv_lib_pthread_pthread_self=no | 12433 | $as_echo "$as_me: failed program was:" >&5 |
| 12434 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12435 | |||
| 12436 | ac_cv_lib_pthread_pthread_self=no | ||
| 8394 | fi | 12437 | fi |
| 8395 | rm -f core conftest.err conftest.$ac_objext \ | 12438 | |
| 8396 | conftest$ac_exeext conftest.$ac_ext | 12439 | rm -rf conftest.dSYM |
| 12440 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12441 | conftest$ac_exeext conftest.$ac_ext | ||
| 8397 | LIBS=$ac_check_lib_save_LIBS | 12442 | LIBS=$ac_check_lib_save_LIBS |
| 8398 | fi | 12443 | fi |
| 8399 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12444 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
| 8400 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } | 12445 | $as_echo "$ac_cv_lib_pthread_pthread_self" >&6; } |
| 8401 | if test "x$ac_cv_lib_pthread_pthread_self" = x""yes; then : | 12446 | if test $ac_cv_lib_pthread_pthread_self = yes; then |
| 8402 | HAVE_GTK_AND_PTHREAD=yes | 12447 | HAVE_GTK_AND_PTHREAD=yes |
| 8403 | fi | 12448 | fi |
| 8404 | 12449 | ||
| @@ -8409,7 +12454,9 @@ fi | |||
| 8409 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; | 12454 | *) GTK_LIBS="$GTK_LIBS -lpthread" ;; |
| 8410 | esac | 12455 | esac |
| 8411 | 12456 | ||
| 8412 | $as_echo "#define HAVE_GTK_AND_PTHREAD 1" >>confdefs.h | 12457 | cat >>confdefs.h <<\_ACEOF |
| 12458 | #define HAVE_GTK_AND_PTHREAD 1 | ||
| 12459 | _ACEOF | ||
| 8413 | 12460 | ||
| 8414 | fi | 12461 | fi |
| 8415 | fi | 12462 | fi |
| @@ -8423,9 +12470,9 @@ if test "${with_dbus}" = "yes"; then | |||
| 8423 | 12470 | ||
| 8424 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12471 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8425 | set dummy pkg-config; ac_word=$2 | 12472 | set dummy pkg-config; ac_word=$2 |
| 8426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12473 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8427 | $as_echo_n "checking for $ac_word... " >&6; } | 12474 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8428 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12475 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8429 | $as_echo_n "(cached) " >&6 | 12476 | $as_echo_n "(cached) " >&6 |
| 8430 | else | 12477 | else |
| 8431 | case $PKG_CONFIG in | 12478 | case $PKG_CONFIG in |
| @@ -8438,14 +12485,14 @@ for as_dir in $PATH | |||
| 8438 | do | 12485 | do |
| 8439 | IFS=$as_save_IFS | 12486 | IFS=$as_save_IFS |
| 8440 | test -z "$as_dir" && as_dir=. | 12487 | test -z "$as_dir" && as_dir=. |
| 8441 | for ac_exec_ext in '' $ac_executable_extensions; do | 12488 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8442 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12489 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8443 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12490 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8444 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12491 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8445 | break 2 | 12492 | break 2 |
| 8446 | fi | 12493 | fi |
| 8447 | done | 12494 | done |
| 8448 | done | 12495 | done |
| 8449 | IFS=$as_save_IFS | 12496 | IFS=$as_save_IFS |
| 8450 | 12497 | ||
| 8451 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12498 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8454,10 +12501,10 @@ esac | |||
| 8454 | fi | 12501 | fi |
| 8455 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12502 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8456 | if test -n "$PKG_CONFIG"; then | 12503 | if test -n "$PKG_CONFIG"; then |
| 8457 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12504 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8458 | $as_echo "$PKG_CONFIG" >&6; } | 12505 | $as_echo "$PKG_CONFIG" >&6; } |
| 8459 | else | 12506 | else |
| 8460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12507 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8461 | $as_echo "no" >&6; } | 12508 | $as_echo "no" >&6; } |
| 8462 | fi | 12509 | fi |
| 8463 | 12510 | ||
| @@ -8468,27 +12515,27 @@ fi | |||
| 8468 | else | 12515 | else |
| 8469 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12516 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8470 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12517 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8471 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 1.0" >&5 | 12518 | { $as_echo "$as_me:$LINENO: checking for dbus-1 >= 1.0" >&5 |
| 8472 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } | 12519 | $as_echo_n "checking for dbus-1 >= 1.0... " >&6; } |
| 8473 | 12520 | ||
| 8474 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then | 12521 | if $PKG_CONFIG --exists "dbus-1 >= 1.0" 2>&5; then |
| 8475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12522 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8476 | $as_echo "yes" >&6; } | 12523 | $as_echo "yes" >&6; } |
| 8477 | succeeded=yes | 12524 | succeeded=yes |
| 8478 | 12525 | ||
| 8479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_CFLAGS" >&5 | 12526 | { $as_echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5 |
| 8480 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } | 12527 | $as_echo_n "checking DBUS_CFLAGS... " >&6; } |
| 8481 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12528 | DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_CFLAGS" >&5 | 12529 | { $as_echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5 |
| 8483 | $as_echo "$DBUS_CFLAGS" >&6; } | 12530 | $as_echo "$DBUS_CFLAGS" >&6; } |
| 8484 | 12531 | ||
| 8485 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBUS_LIBS" >&5 | 12532 | { $as_echo "$as_me:$LINENO: checking DBUS_LIBS" >&5 |
| 8486 | $as_echo_n "checking DBUS_LIBS... " >&6; } | 12533 | $as_echo_n "checking DBUS_LIBS... " >&6; } |
| 8487 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` | 12534 | DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0"|sed -e 's,///*,/,g'` |
| 8488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_LIBS" >&5 | 12535 | { $as_echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5 |
| 8489 | $as_echo "$DBUS_LIBS" >&6; } | 12536 | $as_echo "$DBUS_LIBS" >&6; } |
| 8490 | else | 12537 | else |
| 8491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12538 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8492 | $as_echo "no" >&6; } | 12539 | $as_echo "no" >&6; } |
| 8493 | DBUS_CFLAGS="" | 12540 | DBUS_CFLAGS="" |
| 8494 | DBUS_LIBS="" | 12541 | DBUS_LIBS="" |
| @@ -8515,14 +12562,105 @@ $as_echo "no" >&6; } | |||
| 8515 | if test "$HAVE_DBUS" = yes; then | 12562 | if test "$HAVE_DBUS" = yes; then |
| 8516 | LIBS="$LIBS $DBUS_LIBS" | 12563 | LIBS="$LIBS $DBUS_LIBS" |
| 8517 | 12564 | ||
| 8518 | $as_echo "#define HAVE_DBUS 1" >>confdefs.h | 12565 | cat >>confdefs.h <<\_ACEOF |
| 12566 | #define HAVE_DBUS 1 | ||
| 12567 | _ACEOF | ||
| 12568 | |||
| 8519 | 12569 | ||
| 8520 | for ac_func in dbus_watch_get_unix_fd | 12570 | for ac_func in dbus_watch_get_unix_fd |
| 8521 | do : | 12571 | do |
| 8522 | ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd" | 12572 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8523 | if test "x$ac_cv_func_dbus_watch_get_unix_fd" = x""yes; then : | 12573 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 12574 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 12575 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 12576 | $as_echo_n "(cached) " >&6 | ||
| 12577 | else | ||
| 12578 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12579 | /* confdefs.h. */ | ||
| 12580 | _ACEOF | ||
| 12581 | cat confdefs.h >>conftest.$ac_ext | ||
| 12582 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12583 | /* end confdefs.h. */ | ||
| 12584 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 12585 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 12586 | #define $ac_func innocuous_$ac_func | ||
| 12587 | |||
| 12588 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 12589 | which can conflict with char $ac_func (); below. | ||
| 12590 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 12591 | <limits.h> exists even on freestanding compilers. */ | ||
| 12592 | |||
| 12593 | #ifdef __STDC__ | ||
| 12594 | # include <limits.h> | ||
| 12595 | #else | ||
| 12596 | # include <assert.h> | ||
| 12597 | #endif | ||
| 12598 | |||
| 12599 | #undef $ac_func | ||
| 12600 | |||
| 12601 | /* Override any GCC internal prototype to avoid an error. | ||
| 12602 | Use char because int might match the return type of a GCC | ||
| 12603 | builtin and then its argument prototype would still apply. */ | ||
| 12604 | #ifdef __cplusplus | ||
| 12605 | extern "C" | ||
| 12606 | #endif | ||
| 12607 | char $ac_func (); | ||
| 12608 | /* The GNU C library defines this for functions which it implements | ||
| 12609 | to always fail with ENOSYS. Some functions are actually named | ||
| 12610 | something starting with __ and the normal name is an alias. */ | ||
| 12611 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 12612 | choke me | ||
| 12613 | #endif | ||
| 12614 | |||
| 12615 | int | ||
| 12616 | main () | ||
| 12617 | { | ||
| 12618 | return $ac_func (); | ||
| 12619 | ; | ||
| 12620 | return 0; | ||
| 12621 | } | ||
| 12622 | _ACEOF | ||
| 12623 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 12624 | if { (ac_try="$ac_link" | ||
| 12625 | case "(($ac_try" in | ||
| 12626 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12627 | *) ac_try_echo=$ac_try;; | ||
| 12628 | esac | ||
| 12629 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12630 | $as_echo "$ac_try_echo") >&5 | ||
| 12631 | (eval "$ac_link") 2>conftest.er1 | ||
| 12632 | ac_status=$? | ||
| 12633 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12634 | rm -f conftest.er1 | ||
| 12635 | cat conftest.err >&5 | ||
| 12636 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12637 | (exit $ac_status); } && { | ||
| 12638 | test -z "$ac_c_werror_flag" || | ||
| 12639 | test ! -s conftest.err | ||
| 12640 | } && test -s conftest$ac_exeext && { | ||
| 12641 | test "$cross_compiling" = yes || | ||
| 12642 | $as_test_x conftest$ac_exeext | ||
| 12643 | }; then | ||
| 12644 | eval "$as_ac_var=yes" | ||
| 12645 | else | ||
| 12646 | $as_echo "$as_me: failed program was:" >&5 | ||
| 12647 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12648 | |||
| 12649 | eval "$as_ac_var=no" | ||
| 12650 | fi | ||
| 12651 | |||
| 12652 | rm -rf conftest.dSYM | ||
| 12653 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12654 | conftest$ac_exeext conftest.$ac_ext | ||
| 12655 | fi | ||
| 12656 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 12657 | $as_echo "$as_val"'` | ||
| 12658 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 12659 | $as_echo "$ac_res" >&6; } | ||
| 12660 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 12661 | $as_echo "$as_val"'` = yes; then | ||
| 8524 | cat >>confdefs.h <<_ACEOF | 12662 | cat >>confdefs.h <<_ACEOF |
| 8525 | #define HAVE_DBUS_WATCH_GET_UNIX_FD 1 | 12663 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 8526 | _ACEOF | 12664 | _ACEOF |
| 8527 | 12665 | ||
| 8528 | fi | 12666 | fi |
| @@ -8540,9 +12678,9 @@ if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then | |||
| 8540 | 12678 | ||
| 8541 | # Extract the first word of "pkg-config", so it can be a program name with args. | 12679 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 8542 | set dummy pkg-config; ac_word=$2 | 12680 | set dummy pkg-config; ac_word=$2 |
| 8543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 12681 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 8544 | $as_echo_n "checking for $ac_word... " >&6; } | 12682 | $as_echo_n "checking for $ac_word... " >&6; } |
| 8545 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 12683 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 8546 | $as_echo_n "(cached) " >&6 | 12684 | $as_echo_n "(cached) " >&6 |
| 8547 | else | 12685 | else |
| 8548 | case $PKG_CONFIG in | 12686 | case $PKG_CONFIG in |
| @@ -8555,14 +12693,14 @@ for as_dir in $PATH | |||
| 8555 | do | 12693 | do |
| 8556 | IFS=$as_save_IFS | 12694 | IFS=$as_save_IFS |
| 8557 | test -z "$as_dir" && as_dir=. | 12695 | test -z "$as_dir" && as_dir=. |
| 8558 | for ac_exec_ext in '' $ac_executable_extensions; do | 12696 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 8559 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 12697 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 8560 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12698 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 8561 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12699 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 8562 | break 2 | 12700 | break 2 |
| 8563 | fi | 12701 | fi |
| 8564 | done | 12702 | done |
| 8565 | done | 12703 | done |
| 8566 | IFS=$as_save_IFS | 12704 | IFS=$as_save_IFS |
| 8567 | 12705 | ||
| 8568 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12706 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -8571,10 +12709,10 @@ esac | |||
| 8571 | fi | 12709 | fi |
| 8572 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12710 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 8573 | if test -n "$PKG_CONFIG"; then | 12711 | if test -n "$PKG_CONFIG"; then |
| 8574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 12712 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 8575 | $as_echo "$PKG_CONFIG" >&6; } | 12713 | $as_echo "$PKG_CONFIG" >&6; } |
| 8576 | else | 12714 | else |
| 8577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12715 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8578 | $as_echo "no" >&6; } | 12716 | $as_echo "no" >&6; } |
| 8579 | fi | 12717 | fi |
| 8580 | 12718 | ||
| @@ -8585,27 +12723,27 @@ fi | |||
| 8585 | else | 12723 | else |
| 8586 | PKG_CONFIG_MIN_VERSION=0.9.0 | 12724 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 8587 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12725 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 8588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.13" >&5 | 12726 | { $as_echo "$as_me:$LINENO: checking for gconf-2.0 >= 2.13" >&5 |
| 8589 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } | 12727 | $as_echo_n "checking for gconf-2.0 >= 2.13... " >&6; } |
| 8590 | 12728 | ||
| 8591 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then | 12729 | if $PKG_CONFIG --exists "gconf-2.0 >= 2.13" 2>&5; then |
| 8592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12730 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 8593 | $as_echo "yes" >&6; } | 12731 | $as_echo "yes" >&6; } |
| 8594 | succeeded=yes | 12732 | succeeded=yes |
| 8595 | 12733 | ||
| 8596 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5 | 12734 | { $as_echo "$as_me:$LINENO: checking GCONF_CFLAGS" >&5 |
| 8597 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } | 12735 | $as_echo_n "checking GCONF_CFLAGS... " >&6; } |
| 8598 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12736 | GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5 | 12737 | { $as_echo "$as_me:$LINENO: result: $GCONF_CFLAGS" >&5 |
| 8600 | $as_echo "$GCONF_CFLAGS" >&6; } | 12738 | $as_echo "$GCONF_CFLAGS" >&6; } |
| 8601 | 12739 | ||
| 8602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5 | 12740 | { $as_echo "$as_me:$LINENO: checking GCONF_LIBS" >&5 |
| 8603 | $as_echo_n "checking GCONF_LIBS... " >&6; } | 12741 | $as_echo_n "checking GCONF_LIBS... " >&6; } |
| 8604 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` | 12742 | GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.13"|sed -e 's,///*,/,g'` |
| 8605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5 | 12743 | { $as_echo "$as_me:$LINENO: result: $GCONF_LIBS" >&5 |
| 8606 | $as_echo "$GCONF_LIBS" >&6; } | 12744 | $as_echo "$GCONF_LIBS" >&6; } |
| 8607 | else | 12745 | else |
| 8608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12746 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8609 | $as_echo "no" >&6; } | 12747 | $as_echo "no" >&6; } |
| 8610 | GCONF_CFLAGS="" | 12748 | GCONF_CFLAGS="" |
| 8611 | GCONF_LIBS="" | 12749 | GCONF_LIBS="" |
| @@ -8631,7 +12769,9 @@ $as_echo "no" >&6; } | |||
| 8631 | 12769 | ||
| 8632 | if test "$HAVE_GCONF" = yes; then | 12770 | if test "$HAVE_GCONF" = yes; then |
| 8633 | 12771 | ||
| 8634 | $as_echo "#define HAVE_GCONF 1" >>confdefs.h | 12772 | cat >>confdefs.h <<\_ACEOF |
| 12773 | #define HAVE_GCONF 1 | ||
| 12774 | _ACEOF | ||
| 8635 | 12775 | ||
| 8636 | fi | 12776 | fi |
| 8637 | fi | 12777 | fi |
| @@ -8639,14 +12779,18 @@ fi | |||
| 8639 | HAVE_LIBSELINUX=no | 12779 | HAVE_LIBSELINUX=no |
| 8640 | LIBSELINUX_LIBS= | 12780 | LIBSELINUX_LIBS= |
| 8641 | if test "${with_selinux}" = "yes"; then | 12781 | if test "${with_selinux}" = "yes"; then |
| 8642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgetfilecon in -lselinux" >&5 | 12782 | { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 |
| 8643 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | 12783 | $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } |
| 8644 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then : | 12784 | if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then |
| 8645 | $as_echo_n "(cached) " >&6 | 12785 | $as_echo_n "(cached) " >&6 |
| 8646 | else | 12786 | else |
| 8647 | ac_check_lib_save_LIBS=$LIBS | 12787 | ac_check_lib_save_LIBS=$LIBS |
| 8648 | LIBS="-lselinux $LIBS" | 12788 | LIBS="-lselinux $LIBS" |
| 8649 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12789 | cat >conftest.$ac_ext <<_ACEOF |
| 12790 | /* confdefs.h. */ | ||
| 12791 | _ACEOF | ||
| 12792 | cat confdefs.h >>conftest.$ac_ext | ||
| 12793 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8650 | /* end confdefs.h. */ | 12794 | /* end confdefs.h. */ |
| 8651 | 12795 | ||
| 8652 | /* Override any GCC internal prototype to avoid an error. | 12796 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8664,18 +12808,43 @@ return lgetfilecon (); | |||
| 8664 | return 0; | 12808 | return 0; |
| 8665 | } | 12809 | } |
| 8666 | _ACEOF | 12810 | _ACEOF |
| 8667 | if ac_fn_c_try_link "$LINENO"; then : | 12811 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12812 | if { (ac_try="$ac_link" | ||
| 12813 | case "(($ac_try" in | ||
| 12814 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12815 | *) ac_try_echo=$ac_try;; | ||
| 12816 | esac | ||
| 12817 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12818 | $as_echo "$ac_try_echo") >&5 | ||
| 12819 | (eval "$ac_link") 2>conftest.er1 | ||
| 12820 | ac_status=$? | ||
| 12821 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12822 | rm -f conftest.er1 | ||
| 12823 | cat conftest.err >&5 | ||
| 12824 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12825 | (exit $ac_status); } && { | ||
| 12826 | test -z "$ac_c_werror_flag" || | ||
| 12827 | test ! -s conftest.err | ||
| 12828 | } && test -s conftest$ac_exeext && { | ||
| 12829 | test "$cross_compiling" = yes || | ||
| 12830 | $as_test_x conftest$ac_exeext | ||
| 12831 | }; then | ||
| 8668 | ac_cv_lib_selinux_lgetfilecon=yes | 12832 | ac_cv_lib_selinux_lgetfilecon=yes |
| 8669 | else | 12833 | else |
| 8670 | ac_cv_lib_selinux_lgetfilecon=no | 12834 | $as_echo "$as_me: failed program was:" >&5 |
| 12835 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12836 | |||
| 12837 | ac_cv_lib_selinux_lgetfilecon=no | ||
| 8671 | fi | 12838 | fi |
| 8672 | rm -f core conftest.err conftest.$ac_objext \ | 12839 | |
| 8673 | conftest$ac_exeext conftest.$ac_ext | 12840 | rm -rf conftest.dSYM |
| 12841 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12842 | conftest$ac_exeext conftest.$ac_ext | ||
| 8674 | LIBS=$ac_check_lib_save_LIBS | 12843 | LIBS=$ac_check_lib_save_LIBS |
| 8675 | fi | 12844 | fi |
| 8676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | 12845 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 |
| 8677 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | 12846 | $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } |
| 8678 | if test "x$ac_cv_lib_selinux_lgetfilecon" = x""yes; then : | 12847 | if test $ac_cv_lib_selinux_lgetfilecon = yes; then |
| 8679 | HAVE_LIBSELINUX=yes | 12848 | HAVE_LIBSELINUX=yes |
| 8680 | else | 12849 | else |
| 8681 | HAVE_LIBSELINUX=no | 12850 | HAVE_LIBSELINUX=no |
| @@ -8683,7 +12852,9 @@ fi | |||
| 8683 | 12852 | ||
| 8684 | if test "$HAVE_LIBSELINUX" = yes; then | 12853 | if test "$HAVE_LIBSELINUX" = yes; then |
| 8685 | 12854 | ||
| 8686 | $as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h | 12855 | cat >>confdefs.h <<\_ACEOF |
| 12856 | #define HAVE_LIBSELINUX 1 | ||
| 12857 | _ACEOF | ||
| 8687 | 12858 | ||
| 8688 | LIBSELINUX_LIBS=-lselinux | 12859 | LIBSELINUX_LIBS=-lselinux |
| 8689 | fi | 12860 | fi |
| @@ -8694,12 +12865,16 @@ HAVE_XAW3D=no | |||
| 8694 | LUCID_LIBW= | 12865 | LUCID_LIBW= |
| 8695 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 12866 | if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8696 | if test "$with_xaw3d" != no; then | 12867 | if test "$with_xaw3d" != no; then |
| 8697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 12868 | { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
| 8698 | $as_echo_n "checking for xaw3d... " >&6; } | 12869 | $as_echo_n "checking for xaw3d... " >&6; } |
| 8699 | if test "${emacs_cv_xaw3d+set}" = set; then : | 12870 | if test "${emacs_cv_xaw3d+set}" = set; then |
| 8700 | $as_echo_n "(cached) " >&6 | 12871 | $as_echo_n "(cached) " >&6 |
| 8701 | else | 12872 | else |
| 8702 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12873 | cat >conftest.$ac_ext <<_ACEOF |
| 12874 | /* confdefs.h. */ | ||
| 12875 | _ACEOF | ||
| 12876 | cat confdefs.h >>conftest.$ac_ext | ||
| 12877 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8703 | /* end confdefs.h. */ | 12878 | /* end confdefs.h. */ |
| 8704 | 12879 | ||
| 8705 | #include <X11/Intrinsic.h> | 12880 | #include <X11/Intrinsic.h> |
| @@ -8712,36 +12887,67 @@ main () | |||
| 8712 | return 0; | 12887 | return 0; |
| 8713 | } | 12888 | } |
| 8714 | _ACEOF | 12889 | _ACEOF |
| 8715 | if ac_fn_c_try_link "$LINENO"; then : | 12890 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12891 | if { (ac_try="$ac_link" | ||
| 12892 | case "(($ac_try" in | ||
| 12893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12894 | *) ac_try_echo=$ac_try;; | ||
| 12895 | esac | ||
| 12896 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12897 | $as_echo "$ac_try_echo") >&5 | ||
| 12898 | (eval "$ac_link") 2>conftest.er1 | ||
| 12899 | ac_status=$? | ||
| 12900 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12901 | rm -f conftest.er1 | ||
| 12902 | cat conftest.err >&5 | ||
| 12903 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12904 | (exit $ac_status); } && { | ||
| 12905 | test -z "$ac_c_werror_flag" || | ||
| 12906 | test ! -s conftest.err | ||
| 12907 | } && test -s conftest$ac_exeext && { | ||
| 12908 | test "$cross_compiling" = yes || | ||
| 12909 | $as_test_x conftest$ac_exeext | ||
| 12910 | }; then | ||
| 8716 | emacs_cv_xaw3d=yes | 12911 | emacs_cv_xaw3d=yes |
| 8717 | else | 12912 | else |
| 8718 | emacs_cv_xaw3d=no | 12913 | $as_echo "$as_me: failed program was:" >&5 |
| 12914 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12915 | |||
| 12916 | emacs_cv_xaw3d=no | ||
| 8719 | fi | 12917 | fi |
| 8720 | rm -f core conftest.err conftest.$ac_objext \ | 12918 | |
| 8721 | conftest$ac_exeext conftest.$ac_ext | 12919 | rm -rf conftest.dSYM |
| 12920 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12921 | conftest$ac_exeext conftest.$ac_ext | ||
| 8722 | fi | 12922 | fi |
| 8723 | 12923 | ||
| 8724 | else | 12924 | else |
| 8725 | emacs_cv_xaw3d=no | 12925 | emacs_cv_xaw3d=no |
| 8726 | fi | 12926 | fi |
| 8727 | if test $emacs_cv_xaw3d = yes; then | 12927 | if test $emacs_cv_xaw3d = yes; then |
| 8728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 12928 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8729 | $as_echo "yes; using Lucid toolkit" >&6; } | 12929 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8730 | USE_X_TOOLKIT=LUCID | 12930 | USE_X_TOOLKIT=LUCID |
| 8731 | HAVE_XAW3D=yes | 12931 | HAVE_XAW3D=yes |
| 8732 | LUCID_LIBW=-lXaw3d | 12932 | LUCID_LIBW=-lXaw3d |
| 8733 | 12933 | ||
| 8734 | $as_echo "#define HAVE_XAW3D 1" >>confdefs.h | 12934 | cat >>confdefs.h <<\_ACEOF |
| 12935 | #define HAVE_XAW3D 1 | ||
| 12936 | _ACEOF | ||
| 8735 | 12937 | ||
| 8736 | else | 12938 | else |
| 8737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12939 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 8738 | $as_echo "no" >&6; } | 12940 | $as_echo "no" >&6; } |
| 8739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXaw" >&5 | 12941 | { $as_echo "$as_me:$LINENO: checking for libXaw" >&5 |
| 8740 | $as_echo_n "checking for libXaw... " >&6; } | 12942 | $as_echo_n "checking for libXaw... " >&6; } |
| 8741 | if test "${emacs_cv_xaw+set}" = set; then : | 12943 | if test "${emacs_cv_xaw+set}" = set; then |
| 8742 | $as_echo_n "(cached) " >&6 | 12944 | $as_echo_n "(cached) " >&6 |
| 8743 | else | 12945 | else |
| 8744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12946 | cat >conftest.$ac_ext <<_ACEOF |
| 12947 | /* confdefs.h. */ | ||
| 12948 | _ACEOF | ||
| 12949 | cat confdefs.h >>conftest.$ac_ext | ||
| 12950 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8745 | /* end confdefs.h. */ | 12951 | /* end confdefs.h. */ |
| 8746 | 12952 | ||
| 8747 | #include <X11/Intrinsic.h> | 12953 | #include <X11/Intrinsic.h> |
| @@ -8754,24 +12960,51 @@ main () | |||
| 8754 | return 0; | 12960 | return 0; |
| 8755 | } | 12961 | } |
| 8756 | _ACEOF | 12962 | _ACEOF |
| 8757 | if ac_fn_c_try_link "$LINENO"; then : | 12963 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12964 | if { (ac_try="$ac_link" | ||
| 12965 | case "(($ac_try" in | ||
| 12966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12967 | *) ac_try_echo=$ac_try;; | ||
| 12968 | esac | ||
| 12969 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 12970 | $as_echo "$ac_try_echo") >&5 | ||
| 12971 | (eval "$ac_link") 2>conftest.er1 | ||
| 12972 | ac_status=$? | ||
| 12973 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 12974 | rm -f conftest.er1 | ||
| 12975 | cat conftest.err >&5 | ||
| 12976 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12977 | (exit $ac_status); } && { | ||
| 12978 | test -z "$ac_c_werror_flag" || | ||
| 12979 | test ! -s conftest.err | ||
| 12980 | } && test -s conftest$ac_exeext && { | ||
| 12981 | test "$cross_compiling" = yes || | ||
| 12982 | $as_test_x conftest$ac_exeext | ||
| 12983 | }; then | ||
| 8758 | emacs_cv_xaw=yes | 12984 | emacs_cv_xaw=yes |
| 8759 | else | 12985 | else |
| 8760 | emacs_cv_xaw=no | 12986 | $as_echo "$as_me: failed program was:" >&5 |
| 12987 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12988 | |||
| 12989 | emacs_cv_xaw=no | ||
| 8761 | fi | 12990 | fi |
| 8762 | rm -f core conftest.err conftest.$ac_objext \ | 12991 | |
| 8763 | conftest$ac_exeext conftest.$ac_ext | 12992 | rm -rf conftest.dSYM |
| 12993 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12994 | conftest$ac_exeext conftest.$ac_ext | ||
| 8764 | fi | 12995 | fi |
| 8765 | 12996 | ||
| 8766 | if test $emacs_cv_xaw = yes; then | 12997 | if test $emacs_cv_xaw = yes; then |
| 8767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 12998 | { $as_echo "$as_me:$LINENO: result: yes; using Lucid toolkit" >&5 |
| 8768 | $as_echo "yes; using Lucid toolkit" >&6; } | 12999 | $as_echo "yes; using Lucid toolkit" >&6; } |
| 8769 | USE_X_TOOLKIT=LUCID | 13000 | USE_X_TOOLKIT=LUCID |
| 8770 | LUCID_LIBW=-lXaw | 13001 | LUCID_LIBW=-lXaw |
| 8771 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 13002 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 8772 | as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 13003 | { { $as_echo "$as_me:$LINENO: error: Lucid toolkit requires X11/Xaw include files" >&5 |
| 13004 | $as_echo "$as_me: error: Lucid toolkit requires X11/Xaw include files" >&2;} | ||
| 13005 | { (exit 1); exit 1; }; } | ||
| 8773 | else | 13006 | else |
| 8774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 13007 | { $as_echo "$as_me:$LINENO: result: no; do not use toolkit by default" >&5 |
| 8775 | $as_echo "no; do not use toolkit by default" >&6; } | 13008 | $as_echo "no; do not use toolkit by default" >&6; } |
| 8776 | USE_X_TOOLKIT=none | 13009 | USE_X_TOOLKIT=none |
| 8777 | fi | 13010 | fi |
| @@ -8782,12 +13015,16 @@ fi | |||
| 8782 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 13015 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
| 8783 | 13016 | ||
| 8784 | if test "${USE_X_TOOLKIT}" != "none"; then | 13017 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 toolkit version" >&5 | 13018 | { $as_echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
| 8786 | $as_echo_n "checking X11 toolkit version... " >&6; } | 13019 | $as_echo_n "checking X11 toolkit version... " >&6; } |
| 8787 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then : | 13020 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
| 8788 | $as_echo_n "(cached) " >&6 | 13021 | $as_echo_n "(cached) " >&6 |
| 8789 | else | 13022 | else |
| 8790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13023 | cat >conftest.$ac_ext <<_ACEOF |
| 13024 | /* confdefs.h. */ | ||
| 13025 | _ACEOF | ||
| 13026 | cat confdefs.h >>conftest.$ac_ext | ||
| 13027 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8791 | /* end confdefs.h. */ | 13028 | /* end confdefs.h. */ |
| 8792 | #include <X11/Intrinsic.h> | 13029 | #include <X11/Intrinsic.h> |
| 8793 | int | 13030 | int |
| @@ -8801,24 +13038,51 @@ fail; | |||
| 8801 | return 0; | 13038 | return 0; |
| 8802 | } | 13039 | } |
| 8803 | _ACEOF | 13040 | _ACEOF |
| 8804 | if ac_fn_c_try_link "$LINENO"; then : | 13041 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13042 | if { (ac_try="$ac_link" | ||
| 13043 | case "(($ac_try" in | ||
| 13044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13045 | *) ac_try_echo=$ac_try;; | ||
| 13046 | esac | ||
| 13047 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13048 | $as_echo "$ac_try_echo") >&5 | ||
| 13049 | (eval "$ac_link") 2>conftest.er1 | ||
| 13050 | ac_status=$? | ||
| 13051 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13052 | rm -f conftest.er1 | ||
| 13053 | cat conftest.err >&5 | ||
| 13054 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13055 | (exit $ac_status); } && { | ||
| 13056 | test -z "$ac_c_werror_flag" || | ||
| 13057 | test ! -s conftest.err | ||
| 13058 | } && test -s conftest$ac_exeext && { | ||
| 13059 | test "$cross_compiling" = yes || | ||
| 13060 | $as_test_x conftest$ac_exeext | ||
| 13061 | }; then | ||
| 8805 | emacs_cv_x11_toolkit_version_6=yes | 13062 | emacs_cv_x11_toolkit_version_6=yes |
| 8806 | else | 13063 | else |
| 8807 | emacs_cv_x11_toolkit_version_6=no | 13064 | $as_echo "$as_me: failed program was:" >&5 |
| 13065 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13066 | |||
| 13067 | emacs_cv_x11_toolkit_version_6=no | ||
| 8808 | fi | 13068 | fi |
| 8809 | rm -f core conftest.err conftest.$ac_objext \ | 13069 | |
| 8810 | conftest$ac_exeext conftest.$ac_ext | 13070 | rm -rf conftest.dSYM |
| 13071 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13072 | conftest$ac_exeext conftest.$ac_ext | ||
| 8811 | fi | 13073 | fi |
| 8812 | 13074 | ||
| 8813 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13075 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
| 8814 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13076 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 8815 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: 6 or newer" >&5 | 13077 | { $as_echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 8816 | $as_echo "6 or newer" >&6; } | 13078 | $as_echo "6 or newer" >&6; } |
| 8817 | 13079 | ||
| 8818 | $as_echo "#define HAVE_X11XTR6 1" >>confdefs.h | 13080 | cat >>confdefs.h <<\_ACEOF |
| 13081 | #define HAVE_X11XTR6 1 | ||
| 13082 | _ACEOF | ||
| 8819 | 13083 | ||
| 8820 | else | 13084 | else |
| 8821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: before 6" >&5 | 13085 | { $as_echo "$as_me:$LINENO: result: before 6" >&5 |
| 8822 | $as_echo "before 6" >&6; } | 13086 | $as_echo "before 6" >&6; } |
| 8823 | fi | 13087 | fi |
| 8824 | 13088 | ||
| @@ -8828,14 +13092,19 @@ $as_echo "before 6" >&6; } | |||
| 8828 | else | 13092 | else |
| 8829 | LIBS="-lXt $LIBS" | 13093 | LIBS="-lXt $LIBS" |
| 8830 | fi | 13094 | fi |
| 8831 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13095 | |
| 13096 | { $as_echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | ||
| 8832 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } | 13097 | $as_echo_n "checking for XmuConvertStandardSelection in -lXmu... " >&6; } |
| 8833 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then : | 13098 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
| 8834 | $as_echo_n "(cached) " >&6 | 13099 | $as_echo_n "(cached) " >&6 |
| 8835 | else | 13100 | else |
| 8836 | ac_check_lib_save_LIBS=$LIBS | 13101 | ac_check_lib_save_LIBS=$LIBS |
| 8837 | LIBS="-lXmu $LIBS" | 13102 | LIBS="-lXmu $LIBS" |
| 8838 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13103 | cat >conftest.$ac_ext <<_ACEOF |
| 13104 | /* confdefs.h. */ | ||
| 13105 | _ACEOF | ||
| 13106 | cat confdefs.h >>conftest.$ac_ext | ||
| 13107 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8839 | /* end confdefs.h. */ | 13108 | /* end confdefs.h. */ |
| 8840 | 13109 | ||
| 8841 | /* Override any GCC internal prototype to avoid an error. | 13110 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8853,18 +13122,43 @@ return XmuConvertStandardSelection (); | |||
| 8853 | return 0; | 13122 | return 0; |
| 8854 | } | 13123 | } |
| 8855 | _ACEOF | 13124 | _ACEOF |
| 8856 | if ac_fn_c_try_link "$LINENO"; then : | 13125 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13126 | if { (ac_try="$ac_link" | ||
| 13127 | case "(($ac_try" in | ||
| 13128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13129 | *) ac_try_echo=$ac_try;; | ||
| 13130 | esac | ||
| 13131 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13132 | $as_echo "$ac_try_echo") >&5 | ||
| 13133 | (eval "$ac_link") 2>conftest.er1 | ||
| 13134 | ac_status=$? | ||
| 13135 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13136 | rm -f conftest.er1 | ||
| 13137 | cat conftest.err >&5 | ||
| 13138 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13139 | (exit $ac_status); } && { | ||
| 13140 | test -z "$ac_c_werror_flag" || | ||
| 13141 | test ! -s conftest.err | ||
| 13142 | } && test -s conftest$ac_exeext && { | ||
| 13143 | test "$cross_compiling" = yes || | ||
| 13144 | $as_test_x conftest$ac_exeext | ||
| 13145 | }; then | ||
| 8857 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13146 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
| 8858 | else | 13147 | else |
| 8859 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13148 | $as_echo "$as_me: failed program was:" >&5 |
| 13149 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13150 | |||
| 13151 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | ||
| 8860 | fi | 13152 | fi |
| 8861 | rm -f core conftest.err conftest.$ac_objext \ | 13153 | |
| 8862 | conftest$ac_exeext conftest.$ac_ext | 13154 | rm -rf conftest.dSYM |
| 13155 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13156 | conftest$ac_exeext conftest.$ac_ext | ||
| 8863 | LIBS=$ac_check_lib_save_LIBS | 13157 | LIBS=$ac_check_lib_save_LIBS |
| 8864 | fi | 13158 | fi |
| 8865 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13159 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
| 8866 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } | 13160 | $as_echo "$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
| 8867 | if test "x$ac_cv_lib_Xmu_XmuConvertStandardSelection" = x""yes; then : | 13161 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
| 8868 | cat >>confdefs.h <<_ACEOF | 13162 | cat >>confdefs.h <<_ACEOF |
| 8869 | #define HAVE_LIBXMU 1 | 13163 | #define HAVE_LIBXMU 1 |
| 8870 | _ACEOF | 13164 | _ACEOF |
| @@ -8879,14 +13173,19 @@ fi | |||
| 8879 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13173 | # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
| 8880 | if test "${HAVE_X11}" = "yes"; then | 13174 | if test "${HAVE_X11}" = "yes"; then |
| 8881 | if test "${USE_X_TOOLKIT}" != "none"; then | 13175 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 8882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 | 13176 | |
| 13177 | { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | ||
| 8883 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | 13178 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
| 8884 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then : | 13179 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
| 8885 | $as_echo_n "(cached) " >&6 | 13180 | $as_echo_n "(cached) " >&6 |
| 8886 | else | 13181 | else |
| 8887 | ac_check_lib_save_LIBS=$LIBS | 13182 | ac_check_lib_save_LIBS=$LIBS |
| 8888 | LIBS="-lXext $LIBS" | 13183 | LIBS="-lXext $LIBS" |
| 8889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13184 | cat >conftest.$ac_ext <<_ACEOF |
| 13185 | /* confdefs.h. */ | ||
| 13186 | _ACEOF | ||
| 13187 | cat confdefs.h >>conftest.$ac_ext | ||
| 13188 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8890 | /* end confdefs.h. */ | 13189 | /* end confdefs.h. */ |
| 8891 | 13190 | ||
| 8892 | /* Override any GCC internal prototype to avoid an error. | 13191 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8904,18 +13203,43 @@ return XShapeQueryExtension (); | |||
| 8904 | return 0; | 13203 | return 0; |
| 8905 | } | 13204 | } |
| 8906 | _ACEOF | 13205 | _ACEOF |
| 8907 | if ac_fn_c_try_link "$LINENO"; then : | 13206 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13207 | if { (ac_try="$ac_link" | ||
| 13208 | case "(($ac_try" in | ||
| 13209 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13210 | *) ac_try_echo=$ac_try;; | ||
| 13211 | esac | ||
| 13212 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13213 | $as_echo "$ac_try_echo") >&5 | ||
| 13214 | (eval "$ac_link") 2>conftest.er1 | ||
| 13215 | ac_status=$? | ||
| 13216 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13217 | rm -f conftest.er1 | ||
| 13218 | cat conftest.err >&5 | ||
| 13219 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13220 | (exit $ac_status); } && { | ||
| 13221 | test -z "$ac_c_werror_flag" || | ||
| 13222 | test ! -s conftest.err | ||
| 13223 | } && test -s conftest$ac_exeext && { | ||
| 13224 | test "$cross_compiling" = yes || | ||
| 13225 | $as_test_x conftest$ac_exeext | ||
| 13226 | }; then | ||
| 8908 | ac_cv_lib_Xext_XShapeQueryExtension=yes | 13227 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
| 8909 | else | 13228 | else |
| 8910 | ac_cv_lib_Xext_XShapeQueryExtension=no | 13229 | $as_echo "$as_me: failed program was:" >&5 |
| 13230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13231 | |||
| 13232 | ac_cv_lib_Xext_XShapeQueryExtension=no | ||
| 8911 | fi | 13233 | fi |
| 8912 | rm -f core conftest.err conftest.$ac_objext \ | 13234 | |
| 8913 | conftest$ac_exeext conftest.$ac_ext | 13235 | rm -rf conftest.dSYM |
| 13236 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13237 | conftest$ac_exeext conftest.$ac_ext | ||
| 8914 | LIBS=$ac_check_lib_save_LIBS | 13238 | LIBS=$ac_check_lib_save_LIBS |
| 8915 | fi | 13239 | fi |
| 8916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13240 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
| 8917 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | 13241 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
| 8918 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then : | 13242 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
| 8919 | cat >>confdefs.h <<_ACEOF | 13243 | cat >>confdefs.h <<_ACEOF |
| 8920 | #define HAVE_LIBXEXT 1 | 13244 | #define HAVE_LIBXEXT 1 |
| 8921 | _ACEOF | 13245 | _ACEOF |
| @@ -8929,12 +13253,16 @@ fi | |||
| 8929 | 13253 | ||
| 8930 | LIBXP= | 13254 | LIBXP= |
| 8931 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13255 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 8932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif version 2.1" >&5 | 13256 | { $as_echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
| 8933 | $as_echo_n "checking for Motif version 2.1... " >&6; } | 13257 | $as_echo_n "checking for Motif version 2.1... " >&6; } |
| 8934 | if test "${emacs_cv_motif_version_2_1+set}" = set; then : | 13258 | if test "${emacs_cv_motif_version_2_1+set}" = set; then |
| 8935 | $as_echo_n "(cached) " >&6 | 13259 | $as_echo_n "(cached) " >&6 |
| 8936 | else | 13260 | else |
| 8937 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13261 | cat >conftest.$ac_ext <<_ACEOF |
| 13262 | /* confdefs.h. */ | ||
| 13263 | _ACEOF | ||
| 13264 | cat confdefs.h >>conftest.$ac_ext | ||
| 13265 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8938 | /* end confdefs.h. */ | 13266 | /* end confdefs.h. */ |
| 8939 | #include <Xm/Xm.h> | 13267 | #include <Xm/Xm.h> |
| 8940 | int | 13268 | int |
| @@ -8949,25 +13277,50 @@ Motif version prior to 2.1. | |||
| 8949 | return 0; | 13277 | return 0; |
| 8950 | } | 13278 | } |
| 8951 | _ACEOF | 13279 | _ACEOF |
| 8952 | if ac_fn_c_try_compile "$LINENO"; then : | 13280 | rm -f conftest.$ac_objext |
| 13281 | if { (ac_try="$ac_compile" | ||
| 13282 | case "(($ac_try" in | ||
| 13283 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13284 | *) ac_try_echo=$ac_try;; | ||
| 13285 | esac | ||
| 13286 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13287 | $as_echo "$ac_try_echo") >&5 | ||
| 13288 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13289 | ac_status=$? | ||
| 13290 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13291 | rm -f conftest.er1 | ||
| 13292 | cat conftest.err >&5 | ||
| 13293 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13294 | (exit $ac_status); } && { | ||
| 13295 | test -z "$ac_c_werror_flag" || | ||
| 13296 | test ! -s conftest.err | ||
| 13297 | } && test -s conftest.$ac_objext; then | ||
| 8953 | emacs_cv_motif_version_2_1=yes | 13298 | emacs_cv_motif_version_2_1=yes |
| 8954 | else | 13299 | else |
| 8955 | emacs_cv_motif_version_2_1=no | 13300 | $as_echo "$as_me: failed program was:" >&5 |
| 13301 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13302 | |||
| 13303 | emacs_cv_motif_version_2_1=no | ||
| 8956 | fi | 13304 | fi |
| 13305 | |||
| 8957 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8958 | fi | 13307 | fi |
| 8959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_motif_version_2_1" >&5 | 13308 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
| 8960 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } | 13309 | $as_echo "$emacs_cv_motif_version_2_1" >&6; } |
| 8961 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 13310 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
| 8962 | if test $emacs_cv_motif_version_2_1 = yes; then | 13311 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 8963 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpCreateContext in -lXp" >&5 | 13312 | { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
| 8964 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } | 13313 | $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } |
| 8965 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then : | 13314 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
| 8966 | $as_echo_n "(cached) " >&6 | 13315 | $as_echo_n "(cached) " >&6 |
| 8967 | else | 13316 | else |
| 8968 | ac_check_lib_save_LIBS=$LIBS | 13317 | ac_check_lib_save_LIBS=$LIBS |
| 8969 | LIBS="-lXp $LIBS" | 13318 | LIBS="-lXp $LIBS" |
| 8970 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13319 | cat >conftest.$ac_ext <<_ACEOF |
| 13320 | /* confdefs.h. */ | ||
| 13321 | _ACEOF | ||
| 13322 | cat confdefs.h >>conftest.$ac_ext | ||
| 13323 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8971 | /* end confdefs.h. */ | 13324 | /* end confdefs.h. */ |
| 8972 | 13325 | ||
| 8973 | /* Override any GCC internal prototype to avoid an error. | 13326 | /* Override any GCC internal prototype to avoid an error. |
| @@ -8985,25 +13338,50 @@ return XpCreateContext (); | |||
| 8985 | return 0; | 13338 | return 0; |
| 8986 | } | 13339 | } |
| 8987 | _ACEOF | 13340 | _ACEOF |
| 8988 | if ac_fn_c_try_link "$LINENO"; then : | 13341 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13342 | if { (ac_try="$ac_link" | ||
| 13343 | case "(($ac_try" in | ||
| 13344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13345 | *) ac_try_echo=$ac_try;; | ||
| 13346 | esac | ||
| 13347 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13348 | $as_echo "$ac_try_echo") >&5 | ||
| 13349 | (eval "$ac_link") 2>conftest.er1 | ||
| 13350 | ac_status=$? | ||
| 13351 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13352 | rm -f conftest.er1 | ||
| 13353 | cat conftest.err >&5 | ||
| 13354 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13355 | (exit $ac_status); } && { | ||
| 13356 | test -z "$ac_c_werror_flag" || | ||
| 13357 | test ! -s conftest.err | ||
| 13358 | } && test -s conftest$ac_exeext && { | ||
| 13359 | test "$cross_compiling" = yes || | ||
| 13360 | $as_test_x conftest$ac_exeext | ||
| 13361 | }; then | ||
| 8989 | ac_cv_lib_Xp_XpCreateContext=yes | 13362 | ac_cv_lib_Xp_XpCreateContext=yes |
| 8990 | else | 13363 | else |
| 8991 | ac_cv_lib_Xp_XpCreateContext=no | 13364 | $as_echo "$as_me: failed program was:" >&5 |
| 13365 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13366 | |||
| 13367 | ac_cv_lib_Xp_XpCreateContext=no | ||
| 8992 | fi | 13368 | fi |
| 8993 | rm -f core conftest.err conftest.$ac_objext \ | 13369 | |
| 8994 | conftest$ac_exeext conftest.$ac_ext | 13370 | rm -rf conftest.dSYM |
| 13371 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13372 | conftest$ac_exeext conftest.$ac_ext | ||
| 8995 | LIBS=$ac_check_lib_save_LIBS | 13373 | LIBS=$ac_check_lib_save_LIBS |
| 8996 | fi | 13374 | fi |
| 8997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13375 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
| 8998 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } | 13376 | $as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } |
| 8999 | if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then : | 13377 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
| 9000 | LIBXP=-lXp | 13378 | LIBXP=-lXp |
| 9001 | fi | 13379 | fi |
| 9002 | 13380 | ||
| 9003 | else | 13381 | else |
| 9004 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LessTif where some systems put it" >&5 | 13382 | { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
| 9005 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } | 13383 | $as_echo_n "checking for LessTif where some systems put it... " >&6; } |
| 9006 | if test "${emacs_cv_lesstif+set}" = set; then : | 13384 | if test "${emacs_cv_lesstif+set}" = set; then |
| 9007 | $as_echo_n "(cached) " >&6 | 13385 | $as_echo_n "(cached) " >&6 |
| 9008 | else | 13386 | else |
| 9009 | # We put this in CFLAGS temporarily to precede other -I options | 13387 | # We put this in CFLAGS temporarily to precede other -I options |
| @@ -9013,7 +13391,11 @@ else | |||
| 9013 | OLD_CFLAGS=$CFLAGS | 13391 | OLD_CFLAGS=$CFLAGS |
| 9014 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" | 13392 | CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" |
| 9015 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" | 13393 | CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS" |
| 9016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13394 | cat >conftest.$ac_ext <<_ACEOF |
| 13395 | /* confdefs.h. */ | ||
| 13396 | _ACEOF | ||
| 13397 | cat confdefs.h >>conftest.$ac_ext | ||
| 13398 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9017 | /* end confdefs.h. */ | 13399 | /* end confdefs.h. */ |
| 9018 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> | 13400 | #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> |
| 9019 | int | 13401 | int |
| @@ -9024,14 +13406,35 @@ int x = 5; | |||
| 9024 | return 0; | 13406 | return 0; |
| 9025 | } | 13407 | } |
| 9026 | _ACEOF | 13408 | _ACEOF |
| 9027 | if ac_fn_c_try_compile "$LINENO"; then : | 13409 | rm -f conftest.$ac_objext |
| 13410 | if { (ac_try="$ac_compile" | ||
| 13411 | case "(($ac_try" in | ||
| 13412 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13413 | *) ac_try_echo=$ac_try;; | ||
| 13414 | esac | ||
| 13415 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13416 | $as_echo "$ac_try_echo") >&5 | ||
| 13417 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13418 | ac_status=$? | ||
| 13419 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13420 | rm -f conftest.er1 | ||
| 13421 | cat conftest.err >&5 | ||
| 13422 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13423 | (exit $ac_status); } && { | ||
| 13424 | test -z "$ac_c_werror_flag" || | ||
| 13425 | test ! -s conftest.err | ||
| 13426 | } && test -s conftest.$ac_objext; then | ||
| 9028 | emacs_cv_lesstif=yes | 13427 | emacs_cv_lesstif=yes |
| 9029 | else | 13428 | else |
| 9030 | emacs_cv_lesstif=no | 13429 | $as_echo "$as_me: failed program was:" >&5 |
| 13430 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13431 | |||
| 13432 | emacs_cv_lesstif=no | ||
| 9031 | fi | 13433 | fi |
| 13434 | |||
| 9032 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13435 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9033 | fi | 13436 | fi |
| 9034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_lesstif" >&5 | 13437 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
| 9035 | $as_echo "$emacs_cv_lesstif" >&6; } | 13438 | $as_echo "$emacs_cv_lesstif" >&6; } |
| 9036 | if test $emacs_cv_lesstif = yes; then | 13439 | if test $emacs_cv_lesstif = yes; then |
| 9037 | # Make sure this -I option remains in CPPFLAGS after it is set | 13440 | # Make sure this -I option remains in CPPFLAGS after it is set |
| @@ -9050,31 +13453,44 @@ fi | |||
| 9050 | 13453 | ||
| 9051 | 13454 | ||
| 9052 | 13455 | ||
| 13456 | |||
| 9053 | USE_TOOLKIT_SCROLL_BARS=no | 13457 | USE_TOOLKIT_SCROLL_BARS=no |
| 9054 | if test "${with_toolkit_scroll_bars}" != "no"; then | 13458 | if test "${with_toolkit_scroll_bars}" != "no"; then |
| 9055 | if test "${USE_X_TOOLKIT}" != "none"; then | 13459 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 9056 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13460 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 9057 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13461 | cat >>confdefs.h <<\_ACEOF |
| 13462 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13463 | _ACEOF | ||
| 9058 | 13464 | ||
| 9059 | HAVE_XAW3D=no | 13465 | HAVE_XAW3D=no |
| 9060 | USE_TOOLKIT_SCROLL_BARS=yes | 13466 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9061 | elif test "${HAVE_XAW3D}" = "yes"; then | 13467 | elif test "${HAVE_XAW3D}" = "yes"; then |
| 9062 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13468 | cat >>confdefs.h <<\_ACEOF |
| 13469 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13470 | _ACEOF | ||
| 9063 | 13471 | ||
| 9064 | USE_TOOLKIT_SCROLL_BARS=yes | 13472 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9065 | fi | 13473 | fi |
| 9066 | elif test "${HAVE_GTK}" = "yes"; then | 13474 | elif test "${HAVE_GTK}" = "yes"; then |
| 9067 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13475 | cat >>confdefs.h <<\_ACEOF |
| 13476 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13477 | _ACEOF | ||
| 9068 | 13478 | ||
| 9069 | USE_TOOLKIT_SCROLL_BARS=yes | 13479 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9070 | elif test "${HAVE_NS}" = "yes"; then | 13480 | elif test "${HAVE_NS}" = "yes"; then |
| 9071 | $as_echo "#define USE_TOOLKIT_SCROLL_BARS 1" >>confdefs.h | 13481 | cat >>confdefs.h <<\_ACEOF |
| 13482 | #define USE_TOOLKIT_SCROLL_BARS 1 | ||
| 13483 | _ACEOF | ||
| 9072 | 13484 | ||
| 9073 | USE_TOOLKIT_SCROLL_BARS=yes | 13485 | USE_TOOLKIT_SCROLL_BARS=yes |
| 9074 | fi | 13486 | fi |
| 9075 | fi | 13487 | fi |
| 9076 | 13488 | ||
| 9077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13489 | cat >conftest.$ac_ext <<_ACEOF |
| 13490 | /* confdefs.h. */ | ||
| 13491 | _ACEOF | ||
| 13492 | cat confdefs.h >>conftest.$ac_ext | ||
| 13493 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9078 | /* end confdefs.h. */ | 13494 | /* end confdefs.h. */ |
| 9079 | 13495 | ||
| 9080 | #include <X11/Xlib.h> | 13496 | #include <X11/Xlib.h> |
| @@ -9087,20 +13503,45 @@ XIMProc callback; | |||
| 9087 | return 0; | 13503 | return 0; |
| 9088 | } | 13504 | } |
| 9089 | _ACEOF | 13505 | _ACEOF |
| 9090 | if ac_fn_c_try_compile "$LINENO"; then : | 13506 | rm -f conftest.$ac_objext |
| 13507 | if { (ac_try="$ac_compile" | ||
| 13508 | case "(($ac_try" in | ||
| 13509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13510 | *) ac_try_echo=$ac_try;; | ||
| 13511 | esac | ||
| 13512 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13513 | $as_echo "$ac_try_echo") >&5 | ||
| 13514 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13515 | ac_status=$? | ||
| 13516 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13517 | rm -f conftest.er1 | ||
| 13518 | cat conftest.err >&5 | ||
| 13519 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13520 | (exit $ac_status); } && { | ||
| 13521 | test -z "$ac_c_werror_flag" || | ||
| 13522 | test ! -s conftest.err | ||
| 13523 | } && test -s conftest.$ac_objext; then | ||
| 9091 | HAVE_XIM=yes | 13524 | HAVE_XIM=yes |
| 9092 | 13525 | ||
| 9093 | $as_echo "#define HAVE_XIM 1" >>confdefs.h | 13526 | cat >>confdefs.h <<\_ACEOF |
| 13527 | #define HAVE_XIM 1 | ||
| 13528 | _ACEOF | ||
| 9094 | 13529 | ||
| 9095 | else | 13530 | else |
| 9096 | HAVE_XIM=no | 13531 | $as_echo "$as_me: failed program was:" >&5 |
| 13532 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13533 | |||
| 13534 | HAVE_XIM=no | ||
| 9097 | fi | 13535 | fi |
| 13536 | |||
| 9098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13537 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9099 | 13538 | ||
| 9100 | 13539 | ||
| 9101 | if test "${with_xim}" != "no"; then | 13540 | if test "${with_xim}" != "no"; then |
| 9102 | 13541 | ||
| 9103 | $as_echo "#define USE_XIM 1" >>confdefs.h | 13542 | cat >>confdefs.h <<\_ACEOF |
| 13543 | #define USE_XIM 1 | ||
| 13544 | _ACEOF | ||
| 9104 | 13545 | ||
| 9105 | fi | 13546 | fi |
| 9106 | 13547 | ||
| @@ -9110,7 +13551,11 @@ if test "${HAVE_XIM}" != "no"; then | |||
| 9110 | if test "$GCC" = yes; then | 13551 | if test "$GCC" = yes; then |
| 9111 | CFLAGS="$CFLAGS --pedantic-errors" | 13552 | CFLAGS="$CFLAGS --pedantic-errors" |
| 9112 | fi | 13553 | fi |
| 9113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13554 | cat >conftest.$ac_ext <<_ACEOF |
| 13555 | /* confdefs.h. */ | ||
| 13556 | _ACEOF | ||
| 13557 | cat confdefs.h >>conftest.$ac_ext | ||
| 13558 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9114 | /* end confdefs.h. */ | 13559 | /* end confdefs.h. */ |
| 9115 | 13560 | ||
| 9116 | #include <X11/Xlib.h> | 13561 | #include <X11/Xlib.h> |
| @@ -9136,15 +13581,43 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | |||
| 9136 | return 0; | 13581 | return 0; |
| 9137 | } | 13582 | } |
| 9138 | _ACEOF | 13583 | _ACEOF |
| 9139 | if ac_fn_c_try_compile "$LINENO"; then : | 13584 | rm -f conftest.$ac_objext |
| 13585 | if { (ac_try="$ac_compile" | ||
| 13586 | case "(($ac_try" in | ||
| 13587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13588 | *) ac_try_echo=$ac_try;; | ||
| 13589 | esac | ||
| 13590 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13591 | $as_echo "$ac_try_echo") >&5 | ||
| 13592 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13593 | ac_status=$? | ||
| 13594 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13595 | rm -f conftest.er1 | ||
| 13596 | cat conftest.err >&5 | ||
| 13597 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13598 | (exit $ac_status); } && { | ||
| 13599 | test -z "$ac_c_werror_flag" || | ||
| 13600 | test ! -s conftest.err | ||
| 13601 | } && test -s conftest.$ac_objext; then | ||
| 9140 | emacs_cv_arg6_star=yes | 13602 | emacs_cv_arg6_star=yes |
| 13603 | else | ||
| 13604 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13605 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13606 | |||
| 13607 | |||
| 9141 | fi | 13608 | fi |
| 13609 | |||
| 9142 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13610 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9143 | if test "$emacs_cv_arg6_star" = yes; then | 13611 | |
| 9144 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer*" >>confdefs.h | 13612 | if test "$emacs_cv_arg6_star" = yes; then |
| 13613 | cat >>confdefs.h <<\_ACEOF | ||
| 13614 | #define XRegisterIMInstantiateCallback_arg6 XPointer* | ||
| 13615 | _ACEOF | ||
| 9145 | 13616 | ||
| 9146 | else | 13617 | else |
| 9147 | $as_echo "#define XRegisterIMInstantiateCallback_arg6 XPointer" >>confdefs.h | 13618 | cat >>confdefs.h <<\_ACEOF |
| 13619 | #define XRegisterIMInstantiateCallback_arg6 XPointer | ||
| 13620 | _ACEOF | ||
| 9148 | 13621 | ||
| 9149 | fi | 13622 | fi |
| 9150 | CFLAGS=$late_CFLAGS | 13623 | CFLAGS=$late_CFLAGS |
| @@ -9161,9 +13634,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9161 | 13634 | ||
| 9162 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13635 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9163 | set dummy pkg-config; ac_word=$2 | 13636 | set dummy pkg-config; ac_word=$2 |
| 9164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13637 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9165 | $as_echo_n "checking for $ac_word... " >&6; } | 13638 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9166 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13639 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9167 | $as_echo_n "(cached) " >&6 | 13640 | $as_echo_n "(cached) " >&6 |
| 9168 | else | 13641 | else |
| 9169 | case $PKG_CONFIG in | 13642 | case $PKG_CONFIG in |
| @@ -9176,14 +13649,14 @@ for as_dir in $PATH | |||
| 9176 | do | 13649 | do |
| 9177 | IFS=$as_save_IFS | 13650 | IFS=$as_save_IFS |
| 9178 | test -z "$as_dir" && as_dir=. | 13651 | test -z "$as_dir" && as_dir=. |
| 9179 | for ac_exec_ext in '' $ac_executable_extensions; do | 13652 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9180 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13653 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9181 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13654 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9182 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13655 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9183 | break 2 | 13656 | break 2 |
| 9184 | fi | 13657 | fi |
| 9185 | done | 13658 | done |
| 9186 | done | 13659 | done |
| 9187 | IFS=$as_save_IFS | 13660 | IFS=$as_save_IFS |
| 9188 | 13661 | ||
| 9189 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13662 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9192,10 +13665,10 @@ esac | |||
| 9192 | fi | 13665 | fi |
| 9193 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13666 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9194 | if test -n "$PKG_CONFIG"; then | 13667 | if test -n "$PKG_CONFIG"; then |
| 9195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13668 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9196 | $as_echo "$PKG_CONFIG" >&6; } | 13669 | $as_echo "$PKG_CONFIG" >&6; } |
| 9197 | else | 13670 | else |
| 9198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13671 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9199 | $as_echo "no" >&6; } | 13672 | $as_echo "no" >&6; } |
| 9200 | fi | 13673 | fi |
| 9201 | 13674 | ||
| @@ -9206,27 +13679,27 @@ fi | |||
| 9206 | else | 13679 | else |
| 9207 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13680 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9208 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13681 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.2.0" >&5 | 13682 | { $as_echo "$as_me:$LINENO: checking for fontconfig >= 2.2.0" >&5 |
| 9210 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } | 13683 | $as_echo_n "checking for fontconfig >= 2.2.0... " >&6; } |
| 9211 | 13684 | ||
| 9212 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then | 13685 | if $PKG_CONFIG --exists "fontconfig >= 2.2.0" 2>&5; then |
| 9213 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13686 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9214 | $as_echo "yes" >&6; } | 13687 | $as_echo "yes" >&6; } |
| 9215 | succeeded=yes | 13688 | succeeded=yes |
| 9216 | 13689 | ||
| 9217 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_CFLAGS" >&5 | 13690 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_CFLAGS" >&5 |
| 9218 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } | 13691 | $as_echo_n "checking FONTCONFIG_CFLAGS... " >&6; } |
| 9219 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13692 | FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9220 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CFLAGS" >&5 | 13693 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_CFLAGS" >&5 |
| 9221 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } | 13694 | $as_echo "$FONTCONFIG_CFLAGS" >&6; } |
| 9222 | 13695 | ||
| 9223 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking FONTCONFIG_LIBS" >&5 | 13696 | { $as_echo "$as_me:$LINENO: checking FONTCONFIG_LIBS" >&5 |
| 9224 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } | 13697 | $as_echo_n "checking FONTCONFIG_LIBS... " >&6; } |
| 9225 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` | 13698 | FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2.0"|sed -e 's,///*,/,g'` |
| 9226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_LIBS" >&5 | 13699 | { $as_echo "$as_me:$LINENO: result: $FONTCONFIG_LIBS" >&5 |
| 9227 | $as_echo "$FONTCONFIG_LIBS" >&6; } | 13700 | $as_echo "$FONTCONFIG_LIBS" >&6; } |
| 9228 | else | 13701 | else |
| 9229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13702 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9230 | $as_echo "no" >&6; } | 13703 | $as_echo "no" >&6; } |
| 9231 | FONTCONFIG_CFLAGS="" | 13704 | FONTCONFIG_CFLAGS="" |
| 9232 | FONTCONFIG_LIBS="" | 13705 | FONTCONFIG_LIBS="" |
| @@ -9263,9 +13736,9 @@ $as_echo "no" >&6; } | |||
| 9263 | 13736 | ||
| 9264 | # Extract the first word of "pkg-config", so it can be a program name with args. | 13737 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9265 | set dummy pkg-config; ac_word=$2 | 13738 | set dummy pkg-config; ac_word=$2 |
| 9266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 13739 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9267 | $as_echo_n "checking for $ac_word... " >&6; } | 13740 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9268 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 13741 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9269 | $as_echo_n "(cached) " >&6 | 13742 | $as_echo_n "(cached) " >&6 |
| 9270 | else | 13743 | else |
| 9271 | case $PKG_CONFIG in | 13744 | case $PKG_CONFIG in |
| @@ -9278,14 +13751,14 @@ for as_dir in $PATH | |||
| 9278 | do | 13751 | do |
| 9279 | IFS=$as_save_IFS | 13752 | IFS=$as_save_IFS |
| 9280 | test -z "$as_dir" && as_dir=. | 13753 | test -z "$as_dir" && as_dir=. |
| 9281 | for ac_exec_ext in '' $ac_executable_extensions; do | 13754 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9282 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 13755 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9283 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 13756 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9284 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 13757 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9285 | break 2 | 13758 | break 2 |
| 9286 | fi | 13759 | fi |
| 9287 | done | 13760 | done |
| 9288 | done | 13761 | done |
| 9289 | IFS=$as_save_IFS | 13762 | IFS=$as_save_IFS |
| 9290 | 13763 | ||
| 9291 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 13764 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9294,10 +13767,10 @@ esac | |||
| 9294 | fi | 13767 | fi |
| 9295 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 13768 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9296 | if test -n "$PKG_CONFIG"; then | 13769 | if test -n "$PKG_CONFIG"; then |
| 9297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 13770 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9298 | $as_echo "$PKG_CONFIG" >&6; } | 13771 | $as_echo "$PKG_CONFIG" >&6; } |
| 9299 | else | 13772 | else |
| 9300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13773 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9301 | $as_echo "no" >&6; } | 13774 | $as_echo "no" >&6; } |
| 9302 | fi | 13775 | fi |
| 9303 | 13776 | ||
| @@ -9308,27 +13781,27 @@ fi | |||
| 9308 | else | 13781 | else |
| 9309 | PKG_CONFIG_MIN_VERSION=0.9.0 | 13782 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9310 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 13783 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9311 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xft >= 0.13.0" >&5 | 13784 | { $as_echo "$as_me:$LINENO: checking for xft >= 0.13.0" >&5 |
| 9312 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } | 13785 | $as_echo_n "checking for xft >= 0.13.0... " >&6; } |
| 9313 | 13786 | ||
| 9314 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then | 13787 | if $PKG_CONFIG --exists "xft >= 0.13.0" 2>&5; then |
| 9315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13788 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9316 | $as_echo "yes" >&6; } | 13789 | $as_echo "yes" >&6; } |
| 9317 | succeeded=yes | 13790 | succeeded=yes |
| 9318 | 13791 | ||
| 9319 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_CFLAGS" >&5 | 13792 | { $as_echo "$as_me:$LINENO: checking XFT_CFLAGS" >&5 |
| 9320 | $as_echo_n "checking XFT_CFLAGS... " >&6; } | 13793 | $as_echo_n "checking XFT_CFLAGS... " >&6; } |
| 9321 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13794 | XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_CFLAGS" >&5 | 13795 | { $as_echo "$as_me:$LINENO: result: $XFT_CFLAGS" >&5 |
| 9323 | $as_echo "$XFT_CFLAGS" >&6; } | 13796 | $as_echo "$XFT_CFLAGS" >&6; } |
| 9324 | 13797 | ||
| 9325 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFT_LIBS" >&5 | 13798 | { $as_echo "$as_me:$LINENO: checking XFT_LIBS" >&5 |
| 9326 | $as_echo_n "checking XFT_LIBS... " >&6; } | 13799 | $as_echo_n "checking XFT_LIBS... " >&6; } |
| 9327 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` | 13800 | XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` |
| 9328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFT_LIBS" >&5 | 13801 | { $as_echo "$as_me:$LINENO: result: $XFT_LIBS" >&5 |
| 9329 | $as_echo "$XFT_LIBS" >&6; } | 13802 | $as_echo "$XFT_LIBS" >&6; } |
| 9330 | else | 13803 | else |
| 9331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13804 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9332 | $as_echo "no" >&6; } | 13805 | $as_echo "no" >&6; } |
| 9333 | XFT_CFLAGS="" | 13806 | XFT_CFLAGS="" |
| 9334 | XFT_LIBS="" | 13807 | XFT_LIBS="" |
| @@ -9355,14 +13828,18 @@ $as_echo "no" >&6; } | |||
| 9355 | ## Because xftfont.c uses XRenderQueryExtension, we also | 13828 | ## Because xftfont.c uses XRenderQueryExtension, we also |
| 9356 | ## need to link to -lXrender. | 13829 | ## need to link to -lXrender. |
| 9357 | HAVE_XRENDER=no | 13830 | HAVE_XRENDER=no |
| 9358 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 | 13831 | { $as_echo "$as_me:$LINENO: checking for XRenderQueryExtension in -lXrender" >&5 |
| 9359 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } | 13832 | $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } |
| 9360 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : | 13833 | if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then |
| 9361 | $as_echo_n "(cached) " >&6 | 13834 | $as_echo_n "(cached) " >&6 |
| 9362 | else | 13835 | else |
| 9363 | ac_check_lib_save_LIBS=$LIBS | 13836 | ac_check_lib_save_LIBS=$LIBS |
| 9364 | LIBS="-lXrender $LIBS" | 13837 | LIBS="-lXrender $LIBS" |
| 9365 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13838 | cat >conftest.$ac_ext <<_ACEOF |
| 13839 | /* confdefs.h. */ | ||
| 13840 | _ACEOF | ||
| 13841 | cat confdefs.h >>conftest.$ac_ext | ||
| 13842 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9366 | /* end confdefs.h. */ | 13843 | /* end confdefs.h. */ |
| 9367 | 13844 | ||
| 9368 | /* Override any GCC internal prototype to avoid an error. | 13845 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9380,18 +13857,43 @@ return XRenderQueryExtension (); | |||
| 9380 | return 0; | 13857 | return 0; |
| 9381 | } | 13858 | } |
| 9382 | _ACEOF | 13859 | _ACEOF |
| 9383 | if ac_fn_c_try_link "$LINENO"; then : | 13860 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13861 | if { (ac_try="$ac_link" | ||
| 13862 | case "(($ac_try" in | ||
| 13863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13864 | *) ac_try_echo=$ac_try;; | ||
| 13865 | esac | ||
| 13866 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13867 | $as_echo "$ac_try_echo") >&5 | ||
| 13868 | (eval "$ac_link") 2>conftest.er1 | ||
| 13869 | ac_status=$? | ||
| 13870 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13871 | rm -f conftest.er1 | ||
| 13872 | cat conftest.err >&5 | ||
| 13873 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13874 | (exit $ac_status); } && { | ||
| 13875 | test -z "$ac_c_werror_flag" || | ||
| 13876 | test ! -s conftest.err | ||
| 13877 | } && test -s conftest$ac_exeext && { | ||
| 13878 | test "$cross_compiling" = yes || | ||
| 13879 | $as_test_x conftest$ac_exeext | ||
| 13880 | }; then | ||
| 9384 | ac_cv_lib_Xrender_XRenderQueryExtension=yes | 13881 | ac_cv_lib_Xrender_XRenderQueryExtension=yes |
| 9385 | else | 13882 | else |
| 9386 | ac_cv_lib_Xrender_XRenderQueryExtension=no | 13883 | $as_echo "$as_me: failed program was:" >&5 |
| 13884 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13885 | |||
| 13886 | ac_cv_lib_Xrender_XRenderQueryExtension=no | ||
| 9387 | fi | 13887 | fi |
| 9388 | rm -f core conftest.err conftest.$ac_objext \ | 13888 | |
| 9389 | conftest$ac_exeext conftest.$ac_ext | 13889 | rm -rf conftest.dSYM |
| 13890 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13891 | conftest$ac_exeext conftest.$ac_ext | ||
| 9390 | LIBS=$ac_check_lib_save_LIBS | 13892 | LIBS=$ac_check_lib_save_LIBS |
| 9391 | fi | 13893 | fi |
| 9392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 | 13894 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 |
| 9393 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } | 13895 | $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } |
| 9394 | if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : | 13896 | if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then |
| 9395 | HAVE_XRENDER=yes | 13897 | HAVE_XRENDER=yes |
| 9396 | fi | 13898 | fi |
| 9397 | 13899 | ||
| @@ -9403,16 +13905,146 @@ fi | |||
| 9403 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 13905 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 9404 | XFT_LIBS="-lXrender $XFT_LIBS" | 13906 | XFT_LIBS="-lXrender $XFT_LIBS" |
| 9405 | LIBS="$XFT_LIBS $LIBS" | 13907 | LIBS="$XFT_LIBS $LIBS" |
| 9406 | ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" | 13908 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then |
| 9407 | if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then : | 13909 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 |
| 9408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 | 13910 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } |
| 13911 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 13912 | $as_echo_n "(cached) " >&6 | ||
| 13913 | fi | ||
| 13914 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 13915 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 13916 | else | ||
| 13917 | # Is the header compilable? | ||
| 13918 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h usability" >&5 | ||
| 13919 | $as_echo_n "checking X11/Xft/Xft.h usability... " >&6; } | ||
| 13920 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13921 | /* confdefs.h. */ | ||
| 13922 | _ACEOF | ||
| 13923 | cat confdefs.h >>conftest.$ac_ext | ||
| 13924 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13925 | /* end confdefs.h. */ | ||
| 13926 | $ac_includes_default | ||
| 13927 | #include <X11/Xft/Xft.h> | ||
| 13928 | _ACEOF | ||
| 13929 | rm -f conftest.$ac_objext | ||
| 13930 | if { (ac_try="$ac_compile" | ||
| 13931 | case "(($ac_try" in | ||
| 13932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13933 | *) ac_try_echo=$ac_try;; | ||
| 13934 | esac | ||
| 13935 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13936 | $as_echo "$ac_try_echo") >&5 | ||
| 13937 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13938 | ac_status=$? | ||
| 13939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13940 | rm -f conftest.er1 | ||
| 13941 | cat conftest.err >&5 | ||
| 13942 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13943 | (exit $ac_status); } && { | ||
| 13944 | test -z "$ac_c_werror_flag" || | ||
| 13945 | test ! -s conftest.err | ||
| 13946 | } && test -s conftest.$ac_objext; then | ||
| 13947 | ac_header_compiler=yes | ||
| 13948 | else | ||
| 13949 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13950 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13951 | |||
| 13952 | ac_header_compiler=no | ||
| 13953 | fi | ||
| 13954 | |||
| 13955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 13956 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 13957 | $as_echo "$ac_header_compiler" >&6; } | ||
| 13958 | |||
| 13959 | # Is the header present? | ||
| 13960 | { $as_echo "$as_me:$LINENO: checking X11/Xft/Xft.h presence" >&5 | ||
| 13961 | $as_echo_n "checking X11/Xft/Xft.h presence... " >&6; } | ||
| 13962 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13963 | /* confdefs.h. */ | ||
| 13964 | _ACEOF | ||
| 13965 | cat confdefs.h >>conftest.$ac_ext | ||
| 13966 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13967 | /* end confdefs.h. */ | ||
| 13968 | #include <X11/Xft/Xft.h> | ||
| 13969 | _ACEOF | ||
| 13970 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 13971 | case "(($ac_try" in | ||
| 13972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13973 | *) ac_try_echo=$ac_try;; | ||
| 13974 | esac | ||
| 13975 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 13976 | $as_echo "$ac_try_echo") >&5 | ||
| 13977 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 13978 | ac_status=$? | ||
| 13979 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 13980 | rm -f conftest.er1 | ||
| 13981 | cat conftest.err >&5 | ||
| 13982 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13983 | (exit $ac_status); } >/dev/null && { | ||
| 13984 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 13985 | test ! -s conftest.err | ||
| 13986 | }; then | ||
| 13987 | ac_header_preproc=yes | ||
| 13988 | else | ||
| 13989 | $as_echo "$as_me: failed program was:" >&5 | ||
| 13990 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13991 | |||
| 13992 | ac_header_preproc=no | ||
| 13993 | fi | ||
| 13994 | |||
| 13995 | rm -f conftest.err conftest.$ac_ext | ||
| 13996 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 13997 | $as_echo "$ac_header_preproc" >&6; } | ||
| 13998 | |||
| 13999 | # So? What about this header? | ||
| 14000 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14001 | yes:no: ) | ||
| 14002 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14003 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14004 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&5 | ||
| 14005 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the compiler's result" >&2;} | ||
| 14006 | ac_header_preproc=yes | ||
| 14007 | ;; | ||
| 14008 | no:yes:* ) | ||
| 14009 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&5 | ||
| 14010 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: present but cannot be compiled" >&2;} | ||
| 14011 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&5 | ||
| 14012 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: check for missing prerequisite headers?" >&2;} | ||
| 14013 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&5 | ||
| 14014 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: see the Autoconf documentation" >&2;} | ||
| 14015 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14016 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14017 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&5 | ||
| 14018 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result" >&2;} | ||
| 14019 | { $as_echo "$as_me:$LINENO: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&5 | ||
| 14020 | $as_echo "$as_me: WARNING: X11/Xft/Xft.h: in the future, the compiler will take precedence" >&2;} | ||
| 14021 | |||
| 14022 | ;; | ||
| 14023 | esac | ||
| 14024 | { $as_echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 | ||
| 14025 | $as_echo_n "checking for X11/Xft/Xft.h... " >&6; } | ||
| 14026 | if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then | ||
| 14027 | $as_echo_n "(cached) " >&6 | ||
| 14028 | else | ||
| 14029 | ac_cv_header_X11_Xft_Xft_h=$ac_header_preproc | ||
| 14030 | fi | ||
| 14031 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5 | ||
| 14032 | $as_echo "$ac_cv_header_X11_Xft_Xft_h" >&6; } | ||
| 14033 | |||
| 14034 | fi | ||
| 14035 | if test $ac_cv_header_X11_Xft_Xft_h = yes; then | ||
| 14036 | { $as_echo "$as_me:$LINENO: checking for XftFontOpen in -lXft" >&5 | ||
| 9409 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } | 14037 | $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } |
| 9410 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : | 14038 | if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then |
| 9411 | $as_echo_n "(cached) " >&6 | 14039 | $as_echo_n "(cached) " >&6 |
| 9412 | else | 14040 | else |
| 9413 | ac_check_lib_save_LIBS=$LIBS | 14041 | ac_check_lib_save_LIBS=$LIBS |
| 9414 | LIBS="-lXft $XFT_LIBS $LIBS" | 14042 | LIBS="-lXft $XFT_LIBS $LIBS" |
| 9415 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14043 | cat >conftest.$ac_ext <<_ACEOF |
| 14044 | /* confdefs.h. */ | ||
| 14045 | _ACEOF | ||
| 14046 | cat confdefs.h >>conftest.$ac_ext | ||
| 14047 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9416 | /* end confdefs.h. */ | 14048 | /* end confdefs.h. */ |
| 9417 | 14049 | ||
| 9418 | /* Override any GCC internal prototype to avoid an error. | 14050 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9430,18 +14062,43 @@ return XftFontOpen (); | |||
| 9430 | return 0; | 14062 | return 0; |
| 9431 | } | 14063 | } |
| 9432 | _ACEOF | 14064 | _ACEOF |
| 9433 | if ac_fn_c_try_link "$LINENO"; then : | 14065 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14066 | if { (ac_try="$ac_link" | ||
| 14067 | case "(($ac_try" in | ||
| 14068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14069 | *) ac_try_echo=$ac_try;; | ||
| 14070 | esac | ||
| 14071 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14072 | $as_echo "$ac_try_echo") >&5 | ||
| 14073 | (eval "$ac_link") 2>conftest.er1 | ||
| 14074 | ac_status=$? | ||
| 14075 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14076 | rm -f conftest.er1 | ||
| 14077 | cat conftest.err >&5 | ||
| 14078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14079 | (exit $ac_status); } && { | ||
| 14080 | test -z "$ac_c_werror_flag" || | ||
| 14081 | test ! -s conftest.err | ||
| 14082 | } && test -s conftest$ac_exeext && { | ||
| 14083 | test "$cross_compiling" = yes || | ||
| 14084 | $as_test_x conftest$ac_exeext | ||
| 14085 | }; then | ||
| 9434 | ac_cv_lib_Xft_XftFontOpen=yes | 14086 | ac_cv_lib_Xft_XftFontOpen=yes |
| 9435 | else | 14087 | else |
| 9436 | ac_cv_lib_Xft_XftFontOpen=no | 14088 | $as_echo "$as_me: failed program was:" >&5 |
| 14089 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14090 | |||
| 14091 | ac_cv_lib_Xft_XftFontOpen=no | ||
| 9437 | fi | 14092 | fi |
| 9438 | rm -f core conftest.err conftest.$ac_objext \ | 14093 | |
| 9439 | conftest$ac_exeext conftest.$ac_ext | 14094 | rm -rf conftest.dSYM |
| 14095 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14096 | conftest$ac_exeext conftest.$ac_ext | ||
| 9440 | LIBS=$ac_check_lib_save_LIBS | 14097 | LIBS=$ac_check_lib_save_LIBS |
| 9441 | fi | 14098 | fi |
| 9442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 | 14099 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftFontOpen" >&5 |
| 9443 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } | 14100 | $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } |
| 9444 | if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : | 14101 | if test $ac_cv_lib_Xft_XftFontOpen = yes; then |
| 9445 | HAVE_XFT=yes | 14102 | HAVE_XFT=yes |
| 9446 | fi | 14103 | fi |
| 9447 | 14104 | ||
| @@ -9451,7 +14108,9 @@ fi | |||
| 9451 | 14108 | ||
| 9452 | if test "${HAVE_XFT}" = "yes"; then | 14109 | if test "${HAVE_XFT}" = "yes"; then |
| 9453 | 14110 | ||
| 9454 | $as_echo "#define HAVE_XFT 1" >>confdefs.h | 14111 | cat >>confdefs.h <<\_ACEOF |
| 14112 | #define HAVE_XFT 1 | ||
| 14113 | _ACEOF | ||
| 9455 | 14114 | ||
| 9456 | 14115 | ||
| 9457 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" | 14116 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" |
| @@ -9480,7 +14139,9 @@ $as_echo "#define HAVE_XFT 1" >>confdefs.h | |||
| 9480 | HAVE_LIBOTF=no | 14139 | HAVE_LIBOTF=no |
| 9481 | if test "${HAVE_FREETYPE}" = "yes"; then | 14140 | if test "${HAVE_FREETYPE}" = "yes"; then |
| 9482 | 14141 | ||
| 9483 | $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | 14142 | cat >>confdefs.h <<\_ACEOF |
| 14143 | #define HAVE_FREETYPE 1 | ||
| 14144 | _ACEOF | ||
| 9484 | 14145 | ||
| 9485 | if test "${with_libotf}" != "no"; then | 14146 | if test "${with_libotf}" != "no"; then |
| 9486 | 14147 | ||
| @@ -9488,9 +14149,9 @@ $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h | |||
| 9488 | 14149 | ||
| 9489 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14150 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9490 | set dummy pkg-config; ac_word=$2 | 14151 | set dummy pkg-config; ac_word=$2 |
| 9491 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14152 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9492 | $as_echo_n "checking for $ac_word... " >&6; } | 14153 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9493 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14154 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9494 | $as_echo_n "(cached) " >&6 | 14155 | $as_echo_n "(cached) " >&6 |
| 9495 | else | 14156 | else |
| 9496 | case $PKG_CONFIG in | 14157 | case $PKG_CONFIG in |
| @@ -9503,14 +14164,14 @@ for as_dir in $PATH | |||
| 9503 | do | 14164 | do |
| 9504 | IFS=$as_save_IFS | 14165 | IFS=$as_save_IFS |
| 9505 | test -z "$as_dir" && as_dir=. | 14166 | test -z "$as_dir" && as_dir=. |
| 9506 | for ac_exec_ext in '' $ac_executable_extensions; do | 14167 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9507 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14168 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9508 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14169 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9509 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14170 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9510 | break 2 | 14171 | break 2 |
| 9511 | fi | 14172 | fi |
| 9512 | done | 14173 | done |
| 9513 | done | 14174 | done |
| 9514 | IFS=$as_save_IFS | 14175 | IFS=$as_save_IFS |
| 9515 | 14176 | ||
| 9516 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14177 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9519,10 +14180,10 @@ esac | |||
| 9519 | fi | 14180 | fi |
| 9520 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14181 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9521 | if test -n "$PKG_CONFIG"; then | 14182 | if test -n "$PKG_CONFIG"; then |
| 9522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14183 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9523 | $as_echo "$PKG_CONFIG" >&6; } | 14184 | $as_echo "$PKG_CONFIG" >&6; } |
| 9524 | else | 14185 | else |
| 9525 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14186 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9526 | $as_echo "no" >&6; } | 14187 | $as_echo "no" >&6; } |
| 9527 | fi | 14188 | fi |
| 9528 | 14189 | ||
| @@ -9533,27 +14194,27 @@ fi | |||
| 9533 | else | 14194 | else |
| 9534 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14195 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9535 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14196 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9536 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libotf" >&5 | 14197 | { $as_echo "$as_me:$LINENO: checking for libotf" >&5 |
| 9537 | $as_echo_n "checking for libotf... " >&6; } | 14198 | $as_echo_n "checking for libotf... " >&6; } |
| 9538 | 14199 | ||
| 9539 | if $PKG_CONFIG --exists "libotf" 2>&5; then | 14200 | if $PKG_CONFIG --exists "libotf" 2>&5; then |
| 9540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14201 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9541 | $as_echo "yes" >&6; } | 14202 | $as_echo "yes" >&6; } |
| 9542 | succeeded=yes | 14203 | succeeded=yes |
| 9543 | 14204 | ||
| 9544 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_CFLAGS" >&5 | 14205 | { $as_echo "$as_me:$LINENO: checking LIBOTF_CFLAGS" >&5 |
| 9545 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } | 14206 | $as_echo_n "checking LIBOTF_CFLAGS... " >&6; } |
| 9546 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` | 14207 | LIBOTF_CFLAGS=`$PKG_CONFIG --cflags "libotf"|sed -e 's,///*,/,g'` |
| 9547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_CFLAGS" >&5 | 14208 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_CFLAGS" >&5 |
| 9548 | $as_echo "$LIBOTF_CFLAGS" >&6; } | 14209 | $as_echo "$LIBOTF_CFLAGS" >&6; } |
| 9549 | 14210 | ||
| 9550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBOTF_LIBS" >&5 | 14211 | { $as_echo "$as_me:$LINENO: checking LIBOTF_LIBS" >&5 |
| 9551 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } | 14212 | $as_echo_n "checking LIBOTF_LIBS... " >&6; } |
| 9552 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` | 14213 | LIBOTF_LIBS=`$PKG_CONFIG --libs "libotf"|sed -e 's,///*,/,g'` |
| 9553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBOTF_LIBS" >&5 | 14214 | { $as_echo "$as_me:$LINENO: result: $LIBOTF_LIBS" >&5 |
| 9554 | $as_echo "$LIBOTF_LIBS" >&6; } | 14215 | $as_echo "$LIBOTF_LIBS" >&6; } |
| 9555 | else | 14216 | else |
| 9556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14217 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9557 | $as_echo "no" >&6; } | 14218 | $as_echo "no" >&6; } |
| 9558 | LIBOTF_CFLAGS="" | 14219 | LIBOTF_CFLAGS="" |
| 9559 | LIBOTF_LIBS="" | 14220 | LIBOTF_LIBS="" |
| @@ -9579,16 +14240,22 @@ $as_echo "no" >&6; } | |||
| 9579 | 14240 | ||
| 9580 | if test "$HAVE_LIBOTF" = "yes"; then | 14241 | if test "$HAVE_LIBOTF" = "yes"; then |
| 9581 | 14242 | ||
| 9582 | $as_echo "#define HAVE_LIBOTF 1" >>confdefs.h | 14243 | cat >>confdefs.h <<\_ACEOF |
| 14244 | #define HAVE_LIBOTF 1 | ||
| 14245 | _ACEOF | ||
| 9583 | 14246 | ||
| 9584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OTF_get_variation_glyphs in -lotf" >&5 | 14247 | { $as_echo "$as_me:$LINENO: checking for OTF_get_variation_glyphs in -lotf" >&5 |
| 9585 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } | 14248 | $as_echo_n "checking for OTF_get_variation_glyphs in -lotf... " >&6; } |
| 9586 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then : | 14249 | if test "${ac_cv_lib_otf_OTF_get_variation_glyphs+set}" = set; then |
| 9587 | $as_echo_n "(cached) " >&6 | 14250 | $as_echo_n "(cached) " >&6 |
| 9588 | else | 14251 | else |
| 9589 | ac_check_lib_save_LIBS=$LIBS | 14252 | ac_check_lib_save_LIBS=$LIBS |
| 9590 | LIBS="-lotf $LIBS" | 14253 | LIBS="-lotf $LIBS" |
| 9591 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14254 | cat >conftest.$ac_ext <<_ACEOF |
| 14255 | /* confdefs.h. */ | ||
| 14256 | _ACEOF | ||
| 14257 | cat confdefs.h >>conftest.$ac_ext | ||
| 14258 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9592 | /* end confdefs.h. */ | 14259 | /* end confdefs.h. */ |
| 9593 | 14260 | ||
| 9594 | /* Override any GCC internal prototype to avoid an error. | 14261 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9606,18 +14273,43 @@ return OTF_get_variation_glyphs (); | |||
| 9606 | return 0; | 14273 | return 0; |
| 9607 | } | 14274 | } |
| 9608 | _ACEOF | 14275 | _ACEOF |
| 9609 | if ac_fn_c_try_link "$LINENO"; then : | 14276 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14277 | if { (ac_try="$ac_link" | ||
| 14278 | case "(($ac_try" in | ||
| 14279 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14280 | *) ac_try_echo=$ac_try;; | ||
| 14281 | esac | ||
| 14282 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14283 | $as_echo "$ac_try_echo") >&5 | ||
| 14284 | (eval "$ac_link") 2>conftest.er1 | ||
| 14285 | ac_status=$? | ||
| 14286 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14287 | rm -f conftest.er1 | ||
| 14288 | cat conftest.err >&5 | ||
| 14289 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14290 | (exit $ac_status); } && { | ||
| 14291 | test -z "$ac_c_werror_flag" || | ||
| 14292 | test ! -s conftest.err | ||
| 14293 | } && test -s conftest$ac_exeext && { | ||
| 14294 | test "$cross_compiling" = yes || | ||
| 14295 | $as_test_x conftest$ac_exeext | ||
| 14296 | }; then | ||
| 9610 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes | 14297 | ac_cv_lib_otf_OTF_get_variation_glyphs=yes |
| 9611 | else | 14298 | else |
| 9612 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | 14299 | $as_echo "$as_me: failed program was:" >&5 |
| 14300 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14301 | |||
| 14302 | ac_cv_lib_otf_OTF_get_variation_glyphs=no | ||
| 9613 | fi | 14303 | fi |
| 9614 | rm -f core conftest.err conftest.$ac_objext \ | 14304 | |
| 9615 | conftest$ac_exeext conftest.$ac_ext | 14305 | rm -rf conftest.dSYM |
| 14306 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14307 | conftest$ac_exeext conftest.$ac_ext | ||
| 9616 | LIBS=$ac_check_lib_save_LIBS | 14308 | LIBS=$ac_check_lib_save_LIBS |
| 9617 | fi | 14309 | fi |
| 9618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 | 14310 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_otf_OTF_get_variation_glyphs" >&5 |
| 9619 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } | 14311 | $as_echo "$ac_cv_lib_otf_OTF_get_variation_glyphs" >&6; } |
| 9620 | if test "x$ac_cv_lib_otf_OTF_get_variation_glyphs" = x""yes; then : | 14312 | if test $ac_cv_lib_otf_OTF_get_variation_glyphs = yes; then |
| 9621 | HAVE_OTF_GET_VARIATION_GLYPHS=yes | 14313 | HAVE_OTF_GET_VARIATION_GLYPHS=yes |
| 9622 | else | 14314 | else |
| 9623 | HAVE_OTF_GET_VARIATION_GLYPHS=no | 14315 | HAVE_OTF_GET_VARIATION_GLYPHS=no |
| @@ -9625,7 +14317,9 @@ fi | |||
| 9625 | 14317 | ||
| 9626 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then | 14318 | if test "${HAVE_OTF_GET_VARIATION_GLYPHS}" = "yes"; then |
| 9627 | 14319 | ||
| 9628 | $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | 14320 | cat >>confdefs.h <<\_ACEOF |
| 14321 | #define HAVE_OTF_GET_VARIATION_GLYPHS 1 | ||
| 14322 | _ACEOF | ||
| 9629 | 14323 | ||
| 9630 | fi | 14324 | fi |
| 9631 | fi | 14325 | fi |
| @@ -9640,9 +14334,9 @@ $as_echo "#define HAVE_OTF_GET_VARIATION_GLYPHS 1" >>confdefs.h | |||
| 9640 | 14334 | ||
| 9641 | # Extract the first word of "pkg-config", so it can be a program name with args. | 14335 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 9642 | set dummy pkg-config; ac_word=$2 | 14336 | set dummy pkg-config; ac_word=$2 |
| 9643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 14337 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 9644 | $as_echo_n "checking for $ac_word... " >&6; } | 14338 | $as_echo_n "checking for $ac_word... " >&6; } |
| 9645 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | 14339 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 9646 | $as_echo_n "(cached) " >&6 | 14340 | $as_echo_n "(cached) " >&6 |
| 9647 | else | 14341 | else |
| 9648 | case $PKG_CONFIG in | 14342 | case $PKG_CONFIG in |
| @@ -9655,14 +14349,14 @@ for as_dir in $PATH | |||
| 9655 | do | 14349 | do |
| 9656 | IFS=$as_save_IFS | 14350 | IFS=$as_save_IFS |
| 9657 | test -z "$as_dir" && as_dir=. | 14351 | test -z "$as_dir" && as_dir=. |
| 9658 | for ac_exec_ext in '' $ac_executable_extensions; do | 14352 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 9659 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 14353 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 9660 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14354 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 9661 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14355 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 9662 | break 2 | 14356 | break 2 |
| 9663 | fi | 14357 | fi |
| 9664 | done | 14358 | done |
| 9665 | done | 14359 | done |
| 9666 | IFS=$as_save_IFS | 14360 | IFS=$as_save_IFS |
| 9667 | 14361 | ||
| 9668 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 14362 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| @@ -9671,10 +14365,10 @@ esac | |||
| 9671 | fi | 14365 | fi |
| 9672 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 14366 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 9673 | if test -n "$PKG_CONFIG"; then | 14367 | if test -n "$PKG_CONFIG"; then |
| 9674 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 14368 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 9675 | $as_echo "$PKG_CONFIG" >&6; } | 14369 | $as_echo "$PKG_CONFIG" >&6; } |
| 9676 | else | 14370 | else |
| 9677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14371 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9678 | $as_echo "no" >&6; } | 14372 | $as_echo "no" >&6; } |
| 9679 | fi | 14373 | fi |
| 9680 | 14374 | ||
| @@ -9685,27 +14379,27 @@ fi | |||
| 9685 | else | 14379 | else |
| 9686 | PKG_CONFIG_MIN_VERSION=0.9.0 | 14380 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 9687 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 14381 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 9688 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m17n-flt" >&5 | 14382 | { $as_echo "$as_me:$LINENO: checking for m17n-flt" >&5 |
| 9689 | $as_echo_n "checking for m17n-flt... " >&6; } | 14383 | $as_echo_n "checking for m17n-flt... " >&6; } |
| 9690 | 14384 | ||
| 9691 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then | 14385 | if $PKG_CONFIG --exists "m17n-flt" 2>&5; then |
| 9692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14386 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9693 | $as_echo "yes" >&6; } | 14387 | $as_echo "yes" >&6; } |
| 9694 | succeeded=yes | 14388 | succeeded=yes |
| 9695 | 14389 | ||
| 9696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_CFLAGS" >&5 | 14390 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_CFLAGS" >&5 |
| 9697 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } | 14391 | $as_echo_n "checking M17N_FLT_CFLAGS... " >&6; } |
| 9698 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` | 14392 | M17N_FLT_CFLAGS=`$PKG_CONFIG --cflags "m17n-flt"|sed -e 's,///*,/,g'` |
| 9699 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_CFLAGS" >&5 | 14393 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_CFLAGS" >&5 |
| 9700 | $as_echo "$M17N_FLT_CFLAGS" >&6; } | 14394 | $as_echo "$M17N_FLT_CFLAGS" >&6; } |
| 9701 | 14395 | ||
| 9702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking M17N_FLT_LIBS" >&5 | 14396 | { $as_echo "$as_me:$LINENO: checking M17N_FLT_LIBS" >&5 |
| 9703 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } | 14397 | $as_echo_n "checking M17N_FLT_LIBS... " >&6; } |
| 9704 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` | 14398 | M17N_FLT_LIBS=`$PKG_CONFIG --libs "m17n-flt"|sed -e 's,///*,/,g'` |
| 9705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M17N_FLT_LIBS" >&5 | 14399 | { $as_echo "$as_me:$LINENO: result: $M17N_FLT_LIBS" >&5 |
| 9706 | $as_echo "$M17N_FLT_LIBS" >&6; } | 14400 | $as_echo "$M17N_FLT_LIBS" >&6; } |
| 9707 | else | 14401 | else |
| 9708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14402 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9709 | $as_echo "no" >&6; } | 14403 | $as_echo "no" >&6; } |
| 9710 | M17N_FLT_CFLAGS="" | 14404 | M17N_FLT_CFLAGS="" |
| 9711 | M17N_FLT_LIBS="" | 14405 | M17N_FLT_LIBS="" |
| @@ -9731,7 +14425,9 @@ $as_echo "no" >&6; } | |||
| 9731 | 14425 | ||
| 9732 | if test "$HAVE_M17N_FLT" = "yes"; then | 14426 | if test "$HAVE_M17N_FLT" = "yes"; then |
| 9733 | 14427 | ||
| 9734 | $as_echo "#define HAVE_M17N_FLT 1" >>confdefs.h | 14428 | cat >>confdefs.h <<\_ACEOF |
| 14429 | #define HAVE_M17N_FLT 1 | ||
| 14430 | _ACEOF | ||
| 9735 | 14431 | ||
| 9736 | fi | 14432 | fi |
| 9737 | fi | 14433 | fi |
| @@ -9758,16 +14454,146 @@ HAVE_XPM=no | |||
| 9758 | LIBXPM= | 14454 | LIBXPM= |
| 9759 | if test "${HAVE_X11}" = "yes"; then | 14455 | if test "${HAVE_X11}" = "yes"; then |
| 9760 | if test "${with_xpm}" != "no"; then | 14456 | if test "${with_xpm}" != "no"; then |
| 9761 | ac_fn_c_check_header_mongrel "$LINENO" "X11/xpm.h" "ac_cv_header_X11_xpm_h" "$ac_includes_default" | 14457 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 9762 | if test "x$ac_cv_header_X11_xpm_h" = x""yes; then : | 14458 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
| 9763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14459 | $as_echo_n "checking for X11/xpm.h... " >&6; } |
| 14460 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14461 | $as_echo_n "(cached) " >&6 | ||
| 14462 | fi | ||
| 14463 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14464 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14465 | else | ||
| 14466 | # Is the header compilable? | ||
| 14467 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | ||
| 14468 | $as_echo_n "checking X11/xpm.h usability... " >&6; } | ||
| 14469 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14470 | /* confdefs.h. */ | ||
| 14471 | _ACEOF | ||
| 14472 | cat confdefs.h >>conftest.$ac_ext | ||
| 14473 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14474 | /* end confdefs.h. */ | ||
| 14475 | $ac_includes_default | ||
| 14476 | #include <X11/xpm.h> | ||
| 14477 | _ACEOF | ||
| 14478 | rm -f conftest.$ac_objext | ||
| 14479 | if { (ac_try="$ac_compile" | ||
| 14480 | case "(($ac_try" in | ||
| 14481 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14482 | *) ac_try_echo=$ac_try;; | ||
| 14483 | esac | ||
| 14484 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14485 | $as_echo "$ac_try_echo") >&5 | ||
| 14486 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14487 | ac_status=$? | ||
| 14488 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14489 | rm -f conftest.er1 | ||
| 14490 | cat conftest.err >&5 | ||
| 14491 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14492 | (exit $ac_status); } && { | ||
| 14493 | test -z "$ac_c_werror_flag" || | ||
| 14494 | test ! -s conftest.err | ||
| 14495 | } && test -s conftest.$ac_objext; then | ||
| 14496 | ac_header_compiler=yes | ||
| 14497 | else | ||
| 14498 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14499 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14500 | |||
| 14501 | ac_header_compiler=no | ||
| 14502 | fi | ||
| 14503 | |||
| 14504 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14505 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14506 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14507 | |||
| 14508 | # Is the header present? | ||
| 14509 | { $as_echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | ||
| 14510 | $as_echo_n "checking X11/xpm.h presence... " >&6; } | ||
| 14511 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14512 | /* confdefs.h. */ | ||
| 14513 | _ACEOF | ||
| 14514 | cat confdefs.h >>conftest.$ac_ext | ||
| 14515 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14516 | /* end confdefs.h. */ | ||
| 14517 | #include <X11/xpm.h> | ||
| 14518 | _ACEOF | ||
| 14519 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14520 | case "(($ac_try" in | ||
| 14521 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14522 | *) ac_try_echo=$ac_try;; | ||
| 14523 | esac | ||
| 14524 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14525 | $as_echo "$ac_try_echo") >&5 | ||
| 14526 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14527 | ac_status=$? | ||
| 14528 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14529 | rm -f conftest.er1 | ||
| 14530 | cat conftest.err >&5 | ||
| 14531 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14532 | (exit $ac_status); } >/dev/null && { | ||
| 14533 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14534 | test ! -s conftest.err | ||
| 14535 | }; then | ||
| 14536 | ac_header_preproc=yes | ||
| 14537 | else | ||
| 14538 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14539 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14540 | |||
| 14541 | ac_header_preproc=no | ||
| 14542 | fi | ||
| 14543 | |||
| 14544 | rm -f conftest.err conftest.$ac_ext | ||
| 14545 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14546 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14547 | |||
| 14548 | # So? What about this header? | ||
| 14549 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14550 | yes:no: ) | ||
| 14551 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14552 | $as_echo "$as_me: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14553 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the compiler's result" >&5 | ||
| 14554 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the compiler's result" >&2;} | ||
| 14555 | ac_header_preproc=yes | ||
| 14556 | ;; | ||
| 14557 | no:yes:* ) | ||
| 14558 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: present but cannot be compiled" >&5 | ||
| 14559 | $as_echo "$as_me: WARNING: X11/xpm.h: present but cannot be compiled" >&2;} | ||
| 14560 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&5 | ||
| 14561 | $as_echo "$as_me: WARNING: X11/xpm.h: check for missing prerequisite headers?" >&2;} | ||
| 14562 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: see the Autoconf documentation" >&5 | ||
| 14563 | $as_echo "$as_me: WARNING: X11/xpm.h: see the Autoconf documentation" >&2;} | ||
| 14564 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14565 | $as_echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14566 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | ||
| 14567 | $as_echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 14568 | { $as_echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | ||
| 14569 | $as_echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 14570 | |||
| 14571 | ;; | ||
| 14572 | esac | ||
| 14573 | { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | ||
| 14574 | $as_echo_n "checking for X11/xpm.h... " >&6; } | ||
| 14575 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | ||
| 14576 | $as_echo_n "(cached) " >&6 | ||
| 14577 | else | ||
| 14578 | ac_cv_header_X11_xpm_h=$ac_header_preproc | ||
| 14579 | fi | ||
| 14580 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | ||
| 14581 | $as_echo "$ac_cv_header_X11_xpm_h" >&6; } | ||
| 14582 | |||
| 14583 | fi | ||
| 14584 | if test $ac_cv_header_X11_xpm_h = yes; then | ||
| 14585 | { $as_echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | ||
| 9764 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } | 14586 | $as_echo_n "checking for XpmReadFileToPixmap in -lXpm... " >&6; } |
| 9765 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then : | 14587 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
| 9766 | $as_echo_n "(cached) " >&6 | 14588 | $as_echo_n "(cached) " >&6 |
| 9767 | else | 14589 | else |
| 9768 | ac_check_lib_save_LIBS=$LIBS | 14590 | ac_check_lib_save_LIBS=$LIBS |
| 9769 | LIBS="-lXpm -lX11 $LIBS" | 14591 | LIBS="-lXpm -lX11 $LIBS" |
| 9770 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14592 | cat >conftest.$ac_ext <<_ACEOF |
| 14593 | /* confdefs.h. */ | ||
| 14594 | _ACEOF | ||
| 14595 | cat confdefs.h >>conftest.$ac_ext | ||
| 14596 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9771 | /* end confdefs.h. */ | 14597 | /* end confdefs.h. */ |
| 9772 | 14598 | ||
| 9773 | /* Override any GCC internal prototype to avoid an error. | 14599 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9785,18 +14611,43 @@ return XpmReadFileToPixmap (); | |||
| 9785 | return 0; | 14611 | return 0; |
| 9786 | } | 14612 | } |
| 9787 | _ACEOF | 14613 | _ACEOF |
| 9788 | if ac_fn_c_try_link "$LINENO"; then : | 14614 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14615 | if { (ac_try="$ac_link" | ||
| 14616 | case "(($ac_try" in | ||
| 14617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14618 | *) ac_try_echo=$ac_try;; | ||
| 14619 | esac | ||
| 14620 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14621 | $as_echo "$ac_try_echo") >&5 | ||
| 14622 | (eval "$ac_link") 2>conftest.er1 | ||
| 14623 | ac_status=$? | ||
| 14624 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14625 | rm -f conftest.er1 | ||
| 14626 | cat conftest.err >&5 | ||
| 14627 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14628 | (exit $ac_status); } && { | ||
| 14629 | test -z "$ac_c_werror_flag" || | ||
| 14630 | test ! -s conftest.err | ||
| 14631 | } && test -s conftest$ac_exeext && { | ||
| 14632 | test "$cross_compiling" = yes || | ||
| 14633 | $as_test_x conftest$ac_exeext | ||
| 14634 | }; then | ||
| 9789 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14635 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
| 9790 | else | 14636 | else |
| 9791 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14637 | $as_echo "$as_me: failed program was:" >&5 |
| 14638 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14639 | |||
| 14640 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | ||
| 9792 | fi | 14641 | fi |
| 9793 | rm -f core conftest.err conftest.$ac_objext \ | 14642 | |
| 9794 | conftest$ac_exeext conftest.$ac_ext | 14643 | rm -rf conftest.dSYM |
| 14644 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14645 | conftest$ac_exeext conftest.$ac_ext | ||
| 9795 | LIBS=$ac_check_lib_save_LIBS | 14646 | LIBS=$ac_check_lib_save_LIBS |
| 9796 | fi | 14647 | fi |
| 9797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14648 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
| 9798 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } | 14649 | $as_echo "$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
| 9799 | if test "x$ac_cv_lib_Xpm_XpmReadFileToPixmap" = x""yes; then : | 14650 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
| 9800 | HAVE_XPM=yes | 14651 | HAVE_XPM=yes |
| 9801 | fi | 14652 | fi |
| 9802 | 14653 | ||
| @@ -9804,9 +14655,13 @@ fi | |||
| 9804 | 14655 | ||
| 9805 | 14656 | ||
| 9806 | if test "${HAVE_XPM}" = "yes"; then | 14657 | if test "${HAVE_XPM}" = "yes"; then |
| 9807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14658 | { $as_echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 9808 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } | 14659 | $as_echo_n "checking for XpmReturnAllocPixels preprocessor define... " >&6; } |
| 9809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14660 | cat >conftest.$ac_ext <<_ACEOF |
| 14661 | /* confdefs.h. */ | ||
| 14662 | _ACEOF | ||
| 14663 | cat confdefs.h >>conftest.$ac_ext | ||
| 14664 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9810 | /* end confdefs.h. */ | 14665 | /* end confdefs.h. */ |
| 9811 | #include "X11/xpm.h" | 14666 | #include "X11/xpm.h" |
| 9812 | #ifndef XpmReturnAllocPixels | 14667 | #ifndef XpmReturnAllocPixels |
| @@ -9815,7 +14670,7 @@ no_return_alloc_pixels | |||
| 9815 | 14670 | ||
| 9816 | _ACEOF | 14671 | _ACEOF |
| 9817 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14672 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9818 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then : | 14673 | $EGREP "no_return_alloc_pixels" >/dev/null 2>&1; then |
| 9819 | HAVE_XPM=no | 14674 | HAVE_XPM=no |
| 9820 | else | 14675 | else |
| 9821 | HAVE_XPM=yes | 14676 | HAVE_XPM=yes |
| @@ -9824,10 +14679,10 @@ rm -f conftest* | |||
| 9824 | 14679 | ||
| 9825 | 14680 | ||
| 9826 | if test "${HAVE_XPM}" = "yes"; then | 14681 | if test "${HAVE_XPM}" = "yes"; then |
| 9827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14682 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 9828 | $as_echo "yes" >&6; } | 14683 | $as_echo "yes" >&6; } |
| 9829 | else | 14684 | else |
| 9830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14685 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 9831 | $as_echo "no" >&6; } | 14686 | $as_echo "no" >&6; } |
| 9832 | fi | 14687 | fi |
| 9833 | fi | 14688 | fi |
| @@ -9835,7 +14690,9 @@ $as_echo "no" >&6; } | |||
| 9835 | 14690 | ||
| 9836 | if test "${HAVE_XPM}" = "yes"; then | 14691 | if test "${HAVE_XPM}" = "yes"; then |
| 9837 | 14692 | ||
| 9838 | $as_echo "#define HAVE_XPM 1" >>confdefs.h | 14693 | cat >>confdefs.h <<\_ACEOF |
| 14694 | #define HAVE_XPM 1 | ||
| 14695 | _ACEOF | ||
| 9839 | 14696 | ||
| 9840 | LIBXPM=-lXpm | 14697 | LIBXPM=-lXpm |
| 9841 | fi | 14698 | fi |
| @@ -9847,16 +14704,146 @@ HAVE_JPEG=no | |||
| 9847 | LIBJPEG= | 14704 | LIBJPEG= |
| 9848 | if test "${HAVE_X11}" = "yes"; then | 14705 | if test "${HAVE_X11}" = "yes"; then |
| 9849 | if test "${with_jpeg}" != "no"; then | 14706 | if test "${with_jpeg}" != "no"; then |
| 9850 | ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default" | 14707 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 9851 | if test "x$ac_cv_header_jerror_h" = x""yes; then : | 14708 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 |
| 9852 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14709 | $as_echo_n "checking for jerror.h... " >&6; } |
| 14710 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14711 | $as_echo_n "(cached) " >&6 | ||
| 14712 | fi | ||
| 14713 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14714 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14715 | else | ||
| 14716 | # Is the header compilable? | ||
| 14717 | { $as_echo "$as_me:$LINENO: checking jerror.h usability" >&5 | ||
| 14718 | $as_echo_n "checking jerror.h usability... " >&6; } | ||
| 14719 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14720 | /* confdefs.h. */ | ||
| 14721 | _ACEOF | ||
| 14722 | cat confdefs.h >>conftest.$ac_ext | ||
| 14723 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14724 | /* end confdefs.h. */ | ||
| 14725 | $ac_includes_default | ||
| 14726 | #include <jerror.h> | ||
| 14727 | _ACEOF | ||
| 14728 | rm -f conftest.$ac_objext | ||
| 14729 | if { (ac_try="$ac_compile" | ||
| 14730 | case "(($ac_try" in | ||
| 14731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14732 | *) ac_try_echo=$ac_try;; | ||
| 14733 | esac | ||
| 14734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14735 | $as_echo "$ac_try_echo") >&5 | ||
| 14736 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14737 | ac_status=$? | ||
| 14738 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14739 | rm -f conftest.er1 | ||
| 14740 | cat conftest.err >&5 | ||
| 14741 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14742 | (exit $ac_status); } && { | ||
| 14743 | test -z "$ac_c_werror_flag" || | ||
| 14744 | test ! -s conftest.err | ||
| 14745 | } && test -s conftest.$ac_objext; then | ||
| 14746 | ac_header_compiler=yes | ||
| 14747 | else | ||
| 14748 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14749 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14750 | |||
| 14751 | ac_header_compiler=no | ||
| 14752 | fi | ||
| 14753 | |||
| 14754 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 14755 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 14756 | $as_echo "$ac_header_compiler" >&6; } | ||
| 14757 | |||
| 14758 | # Is the header present? | ||
| 14759 | { $as_echo "$as_me:$LINENO: checking jerror.h presence" >&5 | ||
| 14760 | $as_echo_n "checking jerror.h presence... " >&6; } | ||
| 14761 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14762 | /* confdefs.h. */ | ||
| 14763 | _ACEOF | ||
| 14764 | cat confdefs.h >>conftest.$ac_ext | ||
| 14765 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14766 | /* end confdefs.h. */ | ||
| 14767 | #include <jerror.h> | ||
| 14768 | _ACEOF | ||
| 14769 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 14770 | case "(($ac_try" in | ||
| 14771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14772 | *) ac_try_echo=$ac_try;; | ||
| 14773 | esac | ||
| 14774 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14775 | $as_echo "$ac_try_echo") >&5 | ||
| 14776 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14777 | ac_status=$? | ||
| 14778 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14779 | rm -f conftest.er1 | ||
| 14780 | cat conftest.err >&5 | ||
| 14781 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14782 | (exit $ac_status); } >/dev/null && { | ||
| 14783 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 14784 | test ! -s conftest.err | ||
| 14785 | }; then | ||
| 14786 | ac_header_preproc=yes | ||
| 14787 | else | ||
| 14788 | $as_echo "$as_me: failed program was:" >&5 | ||
| 14789 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14790 | |||
| 14791 | ac_header_preproc=no | ||
| 14792 | fi | ||
| 14793 | |||
| 14794 | rm -f conftest.err conftest.$ac_ext | ||
| 14795 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 14796 | $as_echo "$ac_header_preproc" >&6; } | ||
| 14797 | |||
| 14798 | # So? What about this header? | ||
| 14799 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 14800 | yes:no: ) | ||
| 14801 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 14802 | $as_echo "$as_me: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 14803 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the compiler's result" >&5 | ||
| 14804 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the compiler's result" >&2;} | ||
| 14805 | ac_header_preproc=yes | ||
| 14806 | ;; | ||
| 14807 | no:yes:* ) | ||
| 14808 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: present but cannot be compiled" >&5 | ||
| 14809 | $as_echo "$as_me: WARNING: jerror.h: present but cannot be compiled" >&2;} | ||
| 14810 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: check for missing prerequisite headers?" >&5 | ||
| 14811 | $as_echo "$as_me: WARNING: jerror.h: check for missing prerequisite headers?" >&2;} | ||
| 14812 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: see the Autoconf documentation" >&5 | ||
| 14813 | $as_echo "$as_me: WARNING: jerror.h: see the Autoconf documentation" >&2;} | ||
| 14814 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 14815 | $as_echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 14816 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | ||
| 14817 | $as_echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | ||
| 14818 | { $as_echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | ||
| 14819 | $as_echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | ||
| 14820 | |||
| 14821 | ;; | ||
| 14822 | esac | ||
| 14823 | { $as_echo "$as_me:$LINENO: checking for jerror.h" >&5 | ||
| 14824 | $as_echo_n "checking for jerror.h... " >&6; } | ||
| 14825 | if test "${ac_cv_header_jerror_h+set}" = set; then | ||
| 14826 | $as_echo_n "(cached) " >&6 | ||
| 14827 | else | ||
| 14828 | ac_cv_header_jerror_h=$ac_header_preproc | ||
| 14829 | fi | ||
| 14830 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | ||
| 14831 | $as_echo "$ac_cv_header_jerror_h" >&6; } | ||
| 14832 | |||
| 14833 | fi | ||
| 14834 | if test $ac_cv_header_jerror_h = yes; then | ||
| 14835 | { $as_echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | ||
| 9853 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } | 14836 | $as_echo_n "checking for jpeg_destroy_compress in -ljpeg... " >&6; } |
| 9854 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then : | 14837 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
| 9855 | $as_echo_n "(cached) " >&6 | 14838 | $as_echo_n "(cached) " >&6 |
| 9856 | else | 14839 | else |
| 9857 | ac_check_lib_save_LIBS=$LIBS | 14840 | ac_check_lib_save_LIBS=$LIBS |
| 9858 | LIBS="-ljpeg $LIBS" | 14841 | LIBS="-ljpeg $LIBS" |
| 9859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14842 | cat >conftest.$ac_ext <<_ACEOF |
| 14843 | /* confdefs.h. */ | ||
| 14844 | _ACEOF | ||
| 14845 | cat confdefs.h >>conftest.$ac_ext | ||
| 14846 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9860 | /* end confdefs.h. */ | 14847 | /* end confdefs.h. */ |
| 9861 | 14848 | ||
| 9862 | /* Override any GCC internal prototype to avoid an error. | 14849 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9874,18 +14861,43 @@ return jpeg_destroy_compress (); | |||
| 9874 | return 0; | 14861 | return 0; |
| 9875 | } | 14862 | } |
| 9876 | _ACEOF | 14863 | _ACEOF |
| 9877 | if ac_fn_c_try_link "$LINENO"; then : | 14864 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14865 | if { (ac_try="$ac_link" | ||
| 14866 | case "(($ac_try" in | ||
| 14867 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14868 | *) ac_try_echo=$ac_try;; | ||
| 14869 | esac | ||
| 14870 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14871 | $as_echo "$ac_try_echo") >&5 | ||
| 14872 | (eval "$ac_link") 2>conftest.er1 | ||
| 14873 | ac_status=$? | ||
| 14874 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14875 | rm -f conftest.er1 | ||
| 14876 | cat conftest.err >&5 | ||
| 14877 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14878 | (exit $ac_status); } && { | ||
| 14879 | test -z "$ac_c_werror_flag" || | ||
| 14880 | test ! -s conftest.err | ||
| 14881 | } && test -s conftest$ac_exeext && { | ||
| 14882 | test "$cross_compiling" = yes || | ||
| 14883 | $as_test_x conftest$ac_exeext | ||
| 14884 | }; then | ||
| 9878 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 14885 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
| 9879 | else | 14886 | else |
| 9880 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | 14887 | $as_echo "$as_me: failed program was:" >&5 |
| 14888 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14889 | |||
| 14890 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | ||
| 9881 | fi | 14891 | fi |
| 9882 | rm -f core conftest.err conftest.$ac_objext \ | 14892 | |
| 9883 | conftest$ac_exeext conftest.$ac_ext | 14893 | rm -rf conftest.dSYM |
| 14894 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14895 | conftest$ac_exeext conftest.$ac_ext | ||
| 9884 | LIBS=$ac_check_lib_save_LIBS | 14896 | LIBS=$ac_check_lib_save_LIBS |
| 9885 | fi | 14897 | fi |
| 9886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 14898 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
| 9887 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } | 14899 | $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
| 9888 | if test "x$ac_cv_lib_jpeg_jpeg_destroy_compress" = x""yes; then : | 14900 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
| 9889 | HAVE_JPEG=yes | 14901 | HAVE_JPEG=yes |
| 9890 | fi | 14902 | fi |
| 9891 | 14903 | ||
| @@ -9894,21 +14906,30 @@ fi | |||
| 9894 | 14906 | ||
| 9895 | fi | 14907 | fi |
| 9896 | 14908 | ||
| 9897 | if test "${HAVE_JPEG}" = "yes"; then | ||
| 9898 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | ||
| 9899 | 14909 | ||
| 9900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14910 | if test "${HAVE_JPEG}" = "yes"; then |
| 14911 | cat >>confdefs.h <<\_ACEOF | ||
| 14912 | #define HAVE_JPEG 1 | ||
| 14913 | _ACEOF | ||
| 14914 | |||
| 14915 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14916 | /* confdefs.h. */ | ||
| 14917 | _ACEOF | ||
| 14918 | cat confdefs.h >>conftest.$ac_ext | ||
| 14919 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9901 | /* end confdefs.h. */ | 14920 | /* end confdefs.h. */ |
| 9902 | #include <jpeglib.h> | 14921 | #include <jpeglib.h> |
| 9903 | version=JPEG_LIB_VERSION | 14922 | version=JPEG_LIB_VERSION |
| 9904 | 14923 | ||
| 9905 | _ACEOF | 14924 | _ACEOF |
| 9906 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14925 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9907 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then : | 14926 | $EGREP "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then |
| 9908 | $as_echo "#define HAVE_JPEG 1" >>confdefs.h | 14927 | cat >>confdefs.h <<\_ACEOF |
| 14928 | #define HAVE_JPEG 1 | ||
| 14929 | _ACEOF | ||
| 9909 | 14930 | ||
| 9910 | else | 14931 | else |
| 9911 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libjpeg found, but not version 6b or later" >&5 | 14932 | { $as_echo "$as_me:$LINENO: WARNING: libjpeg found, but not version 6b or later" >&5 |
| 9912 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} | 14933 | $as_echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} |
| 9913 | HAVE_JPEG=no | 14934 | HAVE_JPEG=no |
| 9914 | fi | 14935 | fi |
| @@ -9928,12 +14949,144 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9928 | if test "${with_png}" != "no"; then | 14949 | if test "${with_png}" != "no"; then |
| 9929 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h | 14950 | # Debian unstable as of July 2003 has multiple libpngs, and puts png.h |
| 9930 | # in /usr/include/libpng. | 14951 | # in /usr/include/libpng. |
| 9931 | for ac_header in png.h libpng/png.h | 14952 | |
| 9932 | do : | 14953 | |
| 9933 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14954 | for ac_header in png.h libpng/png.h |
| 9934 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 14955 | do |
| 9935 | eval as_val=\$$as_ac_Header | 14956 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9936 | if test "x$as_val" = x""yes; then : | 14957 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14958 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 14959 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 14960 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 14961 | $as_echo_n "(cached) " >&6 | ||
| 14962 | fi | ||
| 14963 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 14964 | $as_echo "$as_val"'` | ||
| 14965 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 14966 | $as_echo "$ac_res" >&6; } | ||
| 14967 | else | ||
| 14968 | # Is the header compilable? | ||
| 14969 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 14970 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 14971 | cat >conftest.$ac_ext <<_ACEOF | ||
| 14972 | /* confdefs.h. */ | ||
| 14973 | _ACEOF | ||
| 14974 | cat confdefs.h >>conftest.$ac_ext | ||
| 14975 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 14976 | /* end confdefs.h. */ | ||
| 14977 | $ac_includes_default | ||
| 14978 | #include <$ac_header> | ||
| 14979 | _ACEOF | ||
| 14980 | rm -f conftest.$ac_objext | ||
| 14981 | if { (ac_try="$ac_compile" | ||
| 14982 | case "(($ac_try" in | ||
| 14983 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14984 | *) ac_try_echo=$ac_try;; | ||
| 14985 | esac | ||
| 14986 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 14987 | $as_echo "$ac_try_echo") >&5 | ||
| 14988 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14989 | ac_status=$? | ||
| 14990 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 14991 | rm -f conftest.er1 | ||
| 14992 | cat conftest.err >&5 | ||
| 14993 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14994 | (exit $ac_status); } && { | ||
| 14995 | test -z "$ac_c_werror_flag" || | ||
| 14996 | test ! -s conftest.err | ||
| 14997 | } && test -s conftest.$ac_objext; then | ||
| 14998 | ac_header_compiler=yes | ||
| 14999 | else | ||
| 15000 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15001 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15002 | |||
| 15003 | ac_header_compiler=no | ||
| 15004 | fi | ||
| 15005 | |||
| 15006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15007 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15008 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15009 | |||
| 15010 | # Is the header present? | ||
| 15011 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 15012 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 15013 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15014 | /* confdefs.h. */ | ||
| 15015 | _ACEOF | ||
| 15016 | cat confdefs.h >>conftest.$ac_ext | ||
| 15017 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15018 | /* end confdefs.h. */ | ||
| 15019 | #include <$ac_header> | ||
| 15020 | _ACEOF | ||
| 15021 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15022 | case "(($ac_try" in | ||
| 15023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15024 | *) ac_try_echo=$ac_try;; | ||
| 15025 | esac | ||
| 15026 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15027 | $as_echo "$ac_try_echo") >&5 | ||
| 15028 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15029 | ac_status=$? | ||
| 15030 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15031 | rm -f conftest.er1 | ||
| 15032 | cat conftest.err >&5 | ||
| 15033 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15034 | (exit $ac_status); } >/dev/null && { | ||
| 15035 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15036 | test ! -s conftest.err | ||
| 15037 | }; then | ||
| 15038 | ac_header_preproc=yes | ||
| 15039 | else | ||
| 15040 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15041 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15042 | |||
| 15043 | ac_header_preproc=no | ||
| 15044 | fi | ||
| 15045 | |||
| 15046 | rm -f conftest.err conftest.$ac_ext | ||
| 15047 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15048 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15049 | |||
| 15050 | # So? What about this header? | ||
| 15051 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15052 | yes:no: ) | ||
| 15053 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15054 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15055 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 15056 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 15057 | ac_header_preproc=yes | ||
| 15058 | ;; | ||
| 15059 | no:yes:* ) | ||
| 15060 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 15061 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 15062 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 15063 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 15064 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 15065 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 15066 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15067 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15068 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 15069 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 15070 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 15071 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 15072 | |||
| 15073 | ;; | ||
| 15074 | esac | ||
| 15075 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 15076 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 15077 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 15078 | $as_echo_n "(cached) " >&6 | ||
| 15079 | else | ||
| 15080 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 15081 | fi | ||
| 15082 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 15083 | $as_echo "$as_val"'` | ||
| 15084 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 15085 | $as_echo "$ac_res" >&6; } | ||
| 15086 | |||
| 15087 | fi | ||
| 15088 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 15089 | $as_echo "$as_val"'` = yes; then | ||
| 9937 | cat >>confdefs.h <<_ACEOF | 15090 | cat >>confdefs.h <<_ACEOF |
| 9938 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 15091 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 9939 | _ACEOF | 15092 | _ACEOF |
| @@ -9943,14 +15096,18 @@ fi | |||
| 9943 | done | 15096 | done |
| 9944 | 15097 | ||
| 9945 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 15098 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
| 9946 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_channels in -lpng" >&5 | 15099 | { $as_echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
| 9947 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } | 15100 | $as_echo_n "checking for png_get_channels in -lpng... " >&6; } |
| 9948 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then : | 15101 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
| 9949 | $as_echo_n "(cached) " >&6 | 15102 | $as_echo_n "(cached) " >&6 |
| 9950 | else | 15103 | else |
| 9951 | ac_check_lib_save_LIBS=$LIBS | 15104 | ac_check_lib_save_LIBS=$LIBS |
| 9952 | LIBS="-lpng -lz -lm $LIBS" | 15105 | LIBS="-lpng -lz -lm $LIBS" |
| 9953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15106 | cat >conftest.$ac_ext <<_ACEOF |
| 15107 | /* confdefs.h. */ | ||
| 15108 | _ACEOF | ||
| 15109 | cat confdefs.h >>conftest.$ac_ext | ||
| 15110 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 9954 | /* end confdefs.h. */ | 15111 | /* end confdefs.h. */ |
| 9955 | 15112 | ||
| 9956 | /* Override any GCC internal prototype to avoid an error. | 15113 | /* Override any GCC internal prototype to avoid an error. |
| @@ -9968,18 +15125,43 @@ return png_get_channels (); | |||
| 9968 | return 0; | 15125 | return 0; |
| 9969 | } | 15126 | } |
| 9970 | _ACEOF | 15127 | _ACEOF |
| 9971 | if ac_fn_c_try_link "$LINENO"; then : | 15128 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15129 | if { (ac_try="$ac_link" | ||
| 15130 | case "(($ac_try" in | ||
| 15131 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15132 | *) ac_try_echo=$ac_try;; | ||
| 15133 | esac | ||
| 15134 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15135 | $as_echo "$ac_try_echo") >&5 | ||
| 15136 | (eval "$ac_link") 2>conftest.er1 | ||
| 15137 | ac_status=$? | ||
| 15138 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15139 | rm -f conftest.er1 | ||
| 15140 | cat conftest.err >&5 | ||
| 15141 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15142 | (exit $ac_status); } && { | ||
| 15143 | test -z "$ac_c_werror_flag" || | ||
| 15144 | test ! -s conftest.err | ||
| 15145 | } && test -s conftest$ac_exeext && { | ||
| 15146 | test "$cross_compiling" = yes || | ||
| 15147 | $as_test_x conftest$ac_exeext | ||
| 15148 | }; then | ||
| 9972 | ac_cv_lib_png_png_get_channels=yes | 15149 | ac_cv_lib_png_png_get_channels=yes |
| 9973 | else | 15150 | else |
| 9974 | ac_cv_lib_png_png_get_channels=no | 15151 | $as_echo "$as_me: failed program was:" >&5 |
| 15152 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15153 | |||
| 15154 | ac_cv_lib_png_png_get_channels=no | ||
| 9975 | fi | 15155 | fi |
| 9976 | rm -f core conftest.err conftest.$ac_objext \ | 15156 | |
| 9977 | conftest$ac_exeext conftest.$ac_ext | 15157 | rm -rf conftest.dSYM |
| 15158 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15159 | conftest$ac_exeext conftest.$ac_ext | ||
| 9978 | LIBS=$ac_check_lib_save_LIBS | 15160 | LIBS=$ac_check_lib_save_LIBS |
| 9979 | fi | 15161 | fi |
| 9980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_get_channels" >&5 | 15162 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
| 9981 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } | 15163 | $as_echo "$ac_cv_lib_png_png_get_channels" >&6; } |
| 9982 | if test "x$ac_cv_lib_png_png_get_channels" = x""yes; then : | 15164 | if test $ac_cv_lib_png_png_get_channels = yes; then |
| 9983 | HAVE_PNG=yes | 15165 | HAVE_PNG=yes |
| 9984 | fi | 15166 | fi |
| 9985 | 15167 | ||
| @@ -9988,7 +15170,9 @@ fi | |||
| 9988 | 15170 | ||
| 9989 | if test "${HAVE_PNG}" = "yes"; then | 15171 | if test "${HAVE_PNG}" = "yes"; then |
| 9990 | 15172 | ||
| 9991 | $as_echo "#define HAVE_PNG 1" >>confdefs.h | 15173 | cat >>confdefs.h <<\_ACEOF |
| 15174 | #define HAVE_PNG 1 | ||
| 15175 | _ACEOF | ||
| 9992 | 15176 | ||
| 9993 | LIBPNG="-lpng -lz -lm" | 15177 | LIBPNG="-lpng -lz -lm" |
| 9994 | fi | 15178 | fi |
| @@ -10000,19 +15184,149 @@ HAVE_TIFF=no | |||
| 10000 | LIBTIFF= | 15184 | LIBTIFF= |
| 10001 | if test "${HAVE_X11}" = "yes"; then | 15185 | if test "${HAVE_X11}" = "yes"; then |
| 10002 | if test "${with_tiff}" != "no"; then | 15186 | if test "${with_tiff}" != "no"; then |
| 10003 | ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | 15187 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 10004 | if test "x$ac_cv_header_tiffio_h" = x""yes; then : | 15188 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
| 15189 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15190 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15191 | $as_echo_n "(cached) " >&6 | ||
| 15192 | fi | ||
| 15193 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15194 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15195 | else | ||
| 15196 | # Is the header compilable? | ||
| 15197 | { $as_echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | ||
| 15198 | $as_echo_n "checking tiffio.h usability... " >&6; } | ||
| 15199 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15200 | /* confdefs.h. */ | ||
| 15201 | _ACEOF | ||
| 15202 | cat confdefs.h >>conftest.$ac_ext | ||
| 15203 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15204 | /* end confdefs.h. */ | ||
| 15205 | $ac_includes_default | ||
| 15206 | #include <tiffio.h> | ||
| 15207 | _ACEOF | ||
| 15208 | rm -f conftest.$ac_objext | ||
| 15209 | if { (ac_try="$ac_compile" | ||
| 15210 | case "(($ac_try" in | ||
| 15211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15212 | *) ac_try_echo=$ac_try;; | ||
| 15213 | esac | ||
| 15214 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15215 | $as_echo "$ac_try_echo") >&5 | ||
| 15216 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15217 | ac_status=$? | ||
| 15218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15219 | rm -f conftest.er1 | ||
| 15220 | cat conftest.err >&5 | ||
| 15221 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15222 | (exit $ac_status); } && { | ||
| 15223 | test -z "$ac_c_werror_flag" || | ||
| 15224 | test ! -s conftest.err | ||
| 15225 | } && test -s conftest.$ac_objext; then | ||
| 15226 | ac_header_compiler=yes | ||
| 15227 | else | ||
| 15228 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15229 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15230 | |||
| 15231 | ac_header_compiler=no | ||
| 15232 | fi | ||
| 15233 | |||
| 15234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15235 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15236 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15237 | |||
| 15238 | # Is the header present? | ||
| 15239 | { $as_echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | ||
| 15240 | $as_echo_n "checking tiffio.h presence... " >&6; } | ||
| 15241 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15242 | /* confdefs.h. */ | ||
| 15243 | _ACEOF | ||
| 15244 | cat confdefs.h >>conftest.$ac_ext | ||
| 15245 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15246 | /* end confdefs.h. */ | ||
| 15247 | #include <tiffio.h> | ||
| 15248 | _ACEOF | ||
| 15249 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15250 | case "(($ac_try" in | ||
| 15251 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15252 | *) ac_try_echo=$ac_try;; | ||
| 15253 | esac | ||
| 15254 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15255 | $as_echo "$ac_try_echo") >&5 | ||
| 15256 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15257 | ac_status=$? | ||
| 15258 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15259 | rm -f conftest.er1 | ||
| 15260 | cat conftest.err >&5 | ||
| 15261 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15262 | (exit $ac_status); } >/dev/null && { | ||
| 15263 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15264 | test ! -s conftest.err | ||
| 15265 | }; then | ||
| 15266 | ac_header_preproc=yes | ||
| 15267 | else | ||
| 15268 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15269 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15270 | |||
| 15271 | ac_header_preproc=no | ||
| 15272 | fi | ||
| 15273 | |||
| 15274 | rm -f conftest.err conftest.$ac_ext | ||
| 15275 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15276 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15277 | |||
| 15278 | # So? What about this header? | ||
| 15279 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15280 | yes:no: ) | ||
| 15281 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15282 | $as_echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15283 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5 | ||
| 15284 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;} | ||
| 15285 | ac_header_preproc=yes | ||
| 15286 | ;; | ||
| 15287 | no:yes:* ) | ||
| 15288 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5 | ||
| 15289 | $as_echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;} | ||
| 15290 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5 | ||
| 15291 | $as_echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;} | ||
| 15292 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5 | ||
| 15293 | $as_echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;} | ||
| 15294 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15295 | $as_echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15296 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | ||
| 15297 | $as_echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | ||
| 15298 | { $as_echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | ||
| 15299 | $as_echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | ||
| 15300 | |||
| 15301 | ;; | ||
| 15302 | esac | ||
| 15303 | { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5 | ||
| 15304 | $as_echo_n "checking for tiffio.h... " >&6; } | ||
| 15305 | if test "${ac_cv_header_tiffio_h+set}" = set; then | ||
| 15306 | $as_echo_n "(cached) " >&6 | ||
| 15307 | else | ||
| 15308 | ac_cv_header_tiffio_h=$ac_header_preproc | ||
| 15309 | fi | ||
| 15310 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | ||
| 15311 | $as_echo "$ac_cv_header_tiffio_h" >&6; } | ||
| 15312 | |||
| 15313 | fi | ||
| 15314 | if test $ac_cv_header_tiffio_h = yes; then | ||
| 10005 | tifflibs="-lz -lm" | 15315 | tifflibs="-lz -lm" |
| 10006 | # At least one tiff package requires the jpeg library. | 15316 | # At least one tiff package requires the jpeg library. |
| 10007 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 15317 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 10008 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFGetVersion in -ltiff" >&5 | 15318 | { $as_echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
| 10009 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } | 15319 | $as_echo_n "checking for TIFFGetVersion in -ltiff... " >&6; } |
| 10010 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then : | 15320 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
| 10011 | $as_echo_n "(cached) " >&6 | 15321 | $as_echo_n "(cached) " >&6 |
| 10012 | else | 15322 | else |
| 10013 | ac_check_lib_save_LIBS=$LIBS | 15323 | ac_check_lib_save_LIBS=$LIBS |
| 10014 | LIBS="-ltiff $tifflibs $LIBS" | 15324 | LIBS="-ltiff $tifflibs $LIBS" |
| 10015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15325 | cat >conftest.$ac_ext <<_ACEOF |
| 15326 | /* confdefs.h. */ | ||
| 15327 | _ACEOF | ||
| 15328 | cat confdefs.h >>conftest.$ac_ext | ||
| 15329 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10016 | /* end confdefs.h. */ | 15330 | /* end confdefs.h. */ |
| 10017 | 15331 | ||
| 10018 | /* Override any GCC internal prototype to avoid an error. | 15332 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10030,18 +15344,43 @@ return TIFFGetVersion (); | |||
| 10030 | return 0; | 15344 | return 0; |
| 10031 | } | 15345 | } |
| 10032 | _ACEOF | 15346 | _ACEOF |
| 10033 | if ac_fn_c_try_link "$LINENO"; then : | 15347 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15348 | if { (ac_try="$ac_link" | ||
| 15349 | case "(($ac_try" in | ||
| 15350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15351 | *) ac_try_echo=$ac_try;; | ||
| 15352 | esac | ||
| 15353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15354 | $as_echo "$ac_try_echo") >&5 | ||
| 15355 | (eval "$ac_link") 2>conftest.er1 | ||
| 15356 | ac_status=$? | ||
| 15357 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15358 | rm -f conftest.er1 | ||
| 15359 | cat conftest.err >&5 | ||
| 15360 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15361 | (exit $ac_status); } && { | ||
| 15362 | test -z "$ac_c_werror_flag" || | ||
| 15363 | test ! -s conftest.err | ||
| 15364 | } && test -s conftest$ac_exeext && { | ||
| 15365 | test "$cross_compiling" = yes || | ||
| 15366 | $as_test_x conftest$ac_exeext | ||
| 15367 | }; then | ||
| 10034 | ac_cv_lib_tiff_TIFFGetVersion=yes | 15368 | ac_cv_lib_tiff_TIFFGetVersion=yes |
| 10035 | else | 15369 | else |
| 10036 | ac_cv_lib_tiff_TIFFGetVersion=no | 15370 | $as_echo "$as_me: failed program was:" >&5 |
| 15371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15372 | |||
| 15373 | ac_cv_lib_tiff_TIFFGetVersion=no | ||
| 10037 | fi | 15374 | fi |
| 10038 | rm -f core conftest.err conftest.$ac_objext \ | 15375 | |
| 10039 | conftest$ac_exeext conftest.$ac_ext | 15376 | rm -rf conftest.dSYM |
| 15377 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15378 | conftest$ac_exeext conftest.$ac_ext | ||
| 10040 | LIBS=$ac_check_lib_save_LIBS | 15379 | LIBS=$ac_check_lib_save_LIBS |
| 10041 | fi | 15380 | fi |
| 10042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 15381 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
| 10043 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } | 15382 | $as_echo "$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
| 10044 | if test "x$ac_cv_lib_tiff_TIFFGetVersion" = x""yes; then : | 15383 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
| 10045 | HAVE_TIFF=yes | 15384 | HAVE_TIFF=yes |
| 10046 | fi | 15385 | fi |
| 10047 | 15386 | ||
| @@ -10052,7 +15391,9 @@ fi | |||
| 10052 | 15391 | ||
| 10053 | if test "${HAVE_TIFF}" = "yes"; then | 15392 | if test "${HAVE_TIFF}" = "yes"; then |
| 10054 | 15393 | ||
| 10055 | $as_echo "#define HAVE_TIFF 1" >>confdefs.h | 15394 | cat >>confdefs.h <<\_ACEOF |
| 15395 | #define HAVE_TIFF 1 | ||
| 15396 | _ACEOF | ||
| 10056 | 15397 | ||
| 10057 | LIBTIFF=-ltiff | 15398 | LIBTIFF=-ltiff |
| 10058 | fi | 15399 | fi |
| @@ -10063,18 +15404,148 @@ fi | |||
| 10063 | HAVE_GIF=no | 15404 | HAVE_GIF=no |
| 10064 | LIBGIF= | 15405 | LIBGIF= |
| 10065 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | 15406 | if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then |
| 10066 | ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" | 15407 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 10067 | if test "x$ac_cv_header_gif_lib_h" = x""yes; then : | 15408 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 15409 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15410 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15411 | $as_echo_n "(cached) " >&6 | ||
| 15412 | fi | ||
| 15413 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15414 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15415 | else | ||
| 15416 | # Is the header compilable? | ||
| 15417 | { $as_echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | ||
| 15418 | $as_echo_n "checking gif_lib.h usability... " >&6; } | ||
| 15419 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15420 | /* confdefs.h. */ | ||
| 15421 | _ACEOF | ||
| 15422 | cat confdefs.h >>conftest.$ac_ext | ||
| 15423 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15424 | /* end confdefs.h. */ | ||
| 15425 | $ac_includes_default | ||
| 15426 | #include <gif_lib.h> | ||
| 15427 | _ACEOF | ||
| 15428 | rm -f conftest.$ac_objext | ||
| 15429 | if { (ac_try="$ac_compile" | ||
| 15430 | case "(($ac_try" in | ||
| 15431 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15432 | *) ac_try_echo=$ac_try;; | ||
| 15433 | esac | ||
| 15434 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15435 | $as_echo "$ac_try_echo") >&5 | ||
| 15436 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15437 | ac_status=$? | ||
| 15438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15439 | rm -f conftest.er1 | ||
| 15440 | cat conftest.err >&5 | ||
| 15441 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15442 | (exit $ac_status); } && { | ||
| 15443 | test -z "$ac_c_werror_flag" || | ||
| 15444 | test ! -s conftest.err | ||
| 15445 | } && test -s conftest.$ac_objext; then | ||
| 15446 | ac_header_compiler=yes | ||
| 15447 | else | ||
| 15448 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15449 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15450 | |||
| 15451 | ac_header_compiler=no | ||
| 15452 | fi | ||
| 15453 | |||
| 15454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15455 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15456 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15457 | |||
| 15458 | # Is the header present? | ||
| 15459 | { $as_echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | ||
| 15460 | $as_echo_n "checking gif_lib.h presence... " >&6; } | ||
| 15461 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15462 | /* confdefs.h. */ | ||
| 15463 | _ACEOF | ||
| 15464 | cat confdefs.h >>conftest.$ac_ext | ||
| 15465 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15466 | /* end confdefs.h. */ | ||
| 15467 | #include <gif_lib.h> | ||
| 15468 | _ACEOF | ||
| 15469 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15470 | case "(($ac_try" in | ||
| 15471 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15472 | *) ac_try_echo=$ac_try;; | ||
| 15473 | esac | ||
| 15474 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15475 | $as_echo "$ac_try_echo") >&5 | ||
| 15476 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15477 | ac_status=$? | ||
| 15478 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15479 | rm -f conftest.er1 | ||
| 15480 | cat conftest.err >&5 | ||
| 15481 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15482 | (exit $ac_status); } >/dev/null && { | ||
| 15483 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15484 | test ! -s conftest.err | ||
| 15485 | }; then | ||
| 15486 | ac_header_preproc=yes | ||
| 15487 | else | ||
| 15488 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15489 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15490 | |||
| 15491 | ac_header_preproc=no | ||
| 15492 | fi | ||
| 15493 | |||
| 15494 | rm -f conftest.err conftest.$ac_ext | ||
| 15495 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15496 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15497 | |||
| 15498 | # So? What about this header? | ||
| 15499 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15500 | yes:no: ) | ||
| 15501 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15502 | $as_echo "$as_me: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15503 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the compiler's result" >&5 | ||
| 15504 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the compiler's result" >&2;} | ||
| 15505 | ac_header_preproc=yes | ||
| 15506 | ;; | ||
| 15507 | no:yes:* ) | ||
| 15508 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: present but cannot be compiled" >&5 | ||
| 15509 | $as_echo "$as_me: WARNING: gif_lib.h: present but cannot be compiled" >&2;} | ||
| 15510 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: check for missing prerequisite headers?" >&5 | ||
| 15511 | $as_echo "$as_me: WARNING: gif_lib.h: check for missing prerequisite headers?" >&2;} | ||
| 15512 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: see the Autoconf documentation" >&5 | ||
| 15513 | $as_echo "$as_me: WARNING: gif_lib.h: see the Autoconf documentation" >&2;} | ||
| 15514 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15515 | $as_echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15516 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | ||
| 15517 | $as_echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | ||
| 15518 | { $as_echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | ||
| 15519 | $as_echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | ||
| 15520 | |||
| 15521 | ;; | ||
| 15522 | esac | ||
| 15523 | { $as_echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | ||
| 15524 | $as_echo_n "checking for gif_lib.h... " >&6; } | ||
| 15525 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | ||
| 15526 | $as_echo_n "(cached) " >&6 | ||
| 15527 | else | ||
| 15528 | ac_cv_header_gif_lib_h=$ac_header_preproc | ||
| 15529 | fi | ||
| 15530 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | ||
| 15531 | $as_echo "$ac_cv_header_gif_lib_h" >&6; } | ||
| 15532 | |||
| 15533 | fi | ||
| 15534 | if test $ac_cv_header_gif_lib_h = yes; then | ||
| 10068 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15535 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 10069 | # Earlier versions can crash Emacs. | 15536 | # Earlier versions can crash Emacs. |
| 10070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 | 15537 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lgif" >&5 |
| 10071 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } | 15538 | $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } |
| 10072 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : | 15539 | if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then |
| 10073 | $as_echo_n "(cached) " >&6 | 15540 | $as_echo_n "(cached) " >&6 |
| 10074 | else | 15541 | else |
| 10075 | ac_check_lib_save_LIBS=$LIBS | 15542 | ac_check_lib_save_LIBS=$LIBS |
| 10076 | LIBS="-lgif $LIBS" | 15543 | LIBS="-lgif $LIBS" |
| 10077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15544 | cat >conftest.$ac_ext <<_ACEOF |
| 15545 | /* confdefs.h. */ | ||
| 15546 | _ACEOF | ||
| 15547 | cat confdefs.h >>conftest.$ac_ext | ||
| 15548 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10078 | /* end confdefs.h. */ | 15549 | /* end confdefs.h. */ |
| 10079 | 15550 | ||
| 10080 | /* Override any GCC internal prototype to avoid an error. | 15551 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10092,18 +15563,43 @@ return EGifPutExtensionLast (); | |||
| 10092 | return 0; | 15563 | return 0; |
| 10093 | } | 15564 | } |
| 10094 | _ACEOF | 15565 | _ACEOF |
| 10095 | if ac_fn_c_try_link "$LINENO"; then : | 15566 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15567 | if { (ac_try="$ac_link" | ||
| 15568 | case "(($ac_try" in | ||
| 15569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15570 | *) ac_try_echo=$ac_try;; | ||
| 15571 | esac | ||
| 15572 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15573 | $as_echo "$ac_try_echo") >&5 | ||
| 15574 | (eval "$ac_link") 2>conftest.er1 | ||
| 15575 | ac_status=$? | ||
| 15576 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15577 | rm -f conftest.er1 | ||
| 15578 | cat conftest.err >&5 | ||
| 15579 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15580 | (exit $ac_status); } && { | ||
| 15581 | test -z "$ac_c_werror_flag" || | ||
| 15582 | test ! -s conftest.err | ||
| 15583 | } && test -s conftest$ac_exeext && { | ||
| 15584 | test "$cross_compiling" = yes || | ||
| 15585 | $as_test_x conftest$ac_exeext | ||
| 15586 | }; then | ||
| 10096 | ac_cv_lib_gif_EGifPutExtensionLast=yes | 15587 | ac_cv_lib_gif_EGifPutExtensionLast=yes |
| 10097 | else | 15588 | else |
| 10098 | ac_cv_lib_gif_EGifPutExtensionLast=no | 15589 | $as_echo "$as_me: failed program was:" >&5 |
| 15590 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15591 | |||
| 15592 | ac_cv_lib_gif_EGifPutExtensionLast=no | ||
| 10099 | fi | 15593 | fi |
| 10100 | rm -f core conftest.err conftest.$ac_objext \ | 15594 | |
| 10101 | conftest$ac_exeext conftest.$ac_ext | 15595 | rm -rf conftest.dSYM |
| 15596 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15597 | conftest$ac_exeext conftest.$ac_ext | ||
| 10102 | LIBS=$ac_check_lib_save_LIBS | 15598 | LIBS=$ac_check_lib_save_LIBS |
| 10103 | fi | 15599 | fi |
| 10104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 | 15600 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 |
| 10105 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } | 15601 | $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } |
| 10106 | if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : | 15602 | if test $ac_cv_lib_gif_EGifPutExtensionLast = yes; then |
| 10107 | HAVE_GIF=yes | 15603 | HAVE_GIF=yes |
| 10108 | else | 15604 | else |
| 10109 | HAVE_GIF=maybe | 15605 | HAVE_GIF=maybe |
| @@ -10117,14 +15613,18 @@ fi | |||
| 10117 | LIBGIF=-lgif | 15613 | LIBGIF=-lgif |
| 10118 | elif test "$HAVE_GIF" = maybe; then | 15614 | elif test "$HAVE_GIF" = maybe; then |
| 10119 | # If gif_lib.h but no libgif, try libungif. | 15615 | # If gif_lib.h but no libgif, try libungif. |
| 10120 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 | 15616 | { $as_echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
| 10121 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } | 15617 | $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } |
| 10122 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : | 15618 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
| 10123 | $as_echo_n "(cached) " >&6 | 15619 | $as_echo_n "(cached) " >&6 |
| 10124 | else | 15620 | else |
| 10125 | ac_check_lib_save_LIBS=$LIBS | 15621 | ac_check_lib_save_LIBS=$LIBS |
| 10126 | LIBS="-lungif $LIBS" | 15622 | LIBS="-lungif $LIBS" |
| 10127 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15623 | cat >conftest.$ac_ext <<_ACEOF |
| 15624 | /* confdefs.h. */ | ||
| 15625 | _ACEOF | ||
| 15626 | cat confdefs.h >>conftest.$ac_ext | ||
| 15627 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10128 | /* end confdefs.h. */ | 15628 | /* end confdefs.h. */ |
| 10129 | 15629 | ||
| 10130 | /* Override any GCC internal prototype to avoid an error. | 15630 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10142,18 +15642,43 @@ return EGifPutExtensionLast (); | |||
| 10142 | return 0; | 15642 | return 0; |
| 10143 | } | 15643 | } |
| 10144 | _ACEOF | 15644 | _ACEOF |
| 10145 | if ac_fn_c_try_link "$LINENO"; then : | 15645 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15646 | if { (ac_try="$ac_link" | ||
| 15647 | case "(($ac_try" in | ||
| 15648 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15649 | *) ac_try_echo=$ac_try;; | ||
| 15650 | esac | ||
| 15651 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15652 | $as_echo "$ac_try_echo") >&5 | ||
| 15653 | (eval "$ac_link") 2>conftest.er1 | ||
| 15654 | ac_status=$? | ||
| 15655 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15656 | rm -f conftest.er1 | ||
| 15657 | cat conftest.err >&5 | ||
| 15658 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15659 | (exit $ac_status); } && { | ||
| 15660 | test -z "$ac_c_werror_flag" || | ||
| 15661 | test ! -s conftest.err | ||
| 15662 | } && test -s conftest$ac_exeext && { | ||
| 15663 | test "$cross_compiling" = yes || | ||
| 15664 | $as_test_x conftest$ac_exeext | ||
| 15665 | }; then | ||
| 10146 | ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15666 | ac_cv_lib_ungif_EGifPutExtensionLast=yes |
| 10147 | else | 15667 | else |
| 10148 | ac_cv_lib_ungif_EGifPutExtensionLast=no | 15668 | $as_echo "$as_me: failed program was:" >&5 |
| 15669 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15670 | |||
| 15671 | ac_cv_lib_ungif_EGifPutExtensionLast=no | ||
| 10149 | fi | 15672 | fi |
| 10150 | rm -f core conftest.err conftest.$ac_objext \ | 15673 | |
| 10151 | conftest$ac_exeext conftest.$ac_ext | 15674 | rm -rf conftest.dSYM |
| 15675 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15676 | conftest$ac_exeext conftest.$ac_ext | ||
| 10152 | LIBS=$ac_check_lib_save_LIBS | 15677 | LIBS=$ac_check_lib_save_LIBS |
| 10153 | fi | 15678 | fi |
| 10154 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15679 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
| 10155 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } | 15680 | $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 10156 | if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : | 15681 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
| 10157 | HAVE_GIF=yes | 15682 | HAVE_GIF=yes |
| 10158 | else | 15683 | else |
| 10159 | HAVE_GIF=no | 15684 | HAVE_GIF=no |
| @@ -10164,7 +15689,9 @@ fi | |||
| 10164 | 15689 | ||
| 10165 | if test "${HAVE_GIF}" = "yes"; then | 15690 | if test "${HAVE_GIF}" = "yes"; then |
| 10166 | 15691 | ||
| 10167 | $as_echo "#define HAVE_GIF 1" >>confdefs.h | 15692 | cat >>confdefs.h <<\_ACEOF |
| 15693 | #define HAVE_GIF 1 | ||
| 15694 | _ACEOF | ||
| 10168 | 15695 | ||
| 10169 | fi | 15696 | fi |
| 10170 | fi | 15697 | fi |
| @@ -10185,12 +15712,19 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 10185 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 15712 | MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
| 10186 | 15713 | ||
| 10187 | if test "X${MISSING}" != X; then | 15714 | if test "X${MISSING}" != X; then |
| 10188 | as_fn_error "The following required libraries were not found: | 15715 | { { $as_echo "$as_me:$LINENO: error: The following required libraries were not found: |
| 15716 | $MISSING | ||
| 15717 | Maybe some development libraries/packages are missing? | ||
| 15718 | If you don't want to link with them give | ||
| 15719 | $WITH_NO | ||
| 15720 | as options to configure" >&5 | ||
| 15721 | $as_echo "$as_me: error: The following required libraries were not found: | ||
| 10189 | $MISSING | 15722 | $MISSING |
| 10190 | Maybe some development libraries/packages are missing? | 15723 | Maybe some development libraries/packages are missing? |
| 10191 | If you don't want to link with them give | 15724 | If you don't want to link with them give |
| 10192 | $WITH_NO | 15725 | $WITH_NO |
| 10193 | as options to configure" "$LINENO" 5 | 15726 | as options to configure" >&2;} |
| 15727 | { (exit 1); exit 1; }; } | ||
| 10194 | fi | 15728 | fi |
| 10195 | fi | 15729 | fi |
| 10196 | 15730 | ||
| @@ -10198,16 +15732,146 @@ fi | |||
| 10198 | HAVE_GPM=no | 15732 | HAVE_GPM=no |
| 10199 | LIBGPM= | 15733 | LIBGPM= |
| 10200 | if test "${with_gpm}" != "no"; then | 15734 | if test "${with_gpm}" != "no"; then |
| 10201 | ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" | 15735 | if test "${ac_cv_header_gpm_h+set}" = set; then |
| 10202 | if test "x$ac_cv_header_gpm_h" = x""yes; then : | 15736 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 |
| 10203 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 | 15737 | $as_echo_n "checking for gpm.h... " >&6; } |
| 15738 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15739 | $as_echo_n "(cached) " >&6 | ||
| 15740 | fi | ||
| 15741 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15742 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15743 | else | ||
| 15744 | # Is the header compilable? | ||
| 15745 | { $as_echo "$as_me:$LINENO: checking gpm.h usability" >&5 | ||
| 15746 | $as_echo_n "checking gpm.h usability... " >&6; } | ||
| 15747 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15748 | /* confdefs.h. */ | ||
| 15749 | _ACEOF | ||
| 15750 | cat confdefs.h >>conftest.$ac_ext | ||
| 15751 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15752 | /* end confdefs.h. */ | ||
| 15753 | $ac_includes_default | ||
| 15754 | #include <gpm.h> | ||
| 15755 | _ACEOF | ||
| 15756 | rm -f conftest.$ac_objext | ||
| 15757 | if { (ac_try="$ac_compile" | ||
| 15758 | case "(($ac_try" in | ||
| 15759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15760 | *) ac_try_echo=$ac_try;; | ||
| 15761 | esac | ||
| 15762 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15763 | $as_echo "$ac_try_echo") >&5 | ||
| 15764 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15765 | ac_status=$? | ||
| 15766 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15767 | rm -f conftest.er1 | ||
| 15768 | cat conftest.err >&5 | ||
| 15769 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15770 | (exit $ac_status); } && { | ||
| 15771 | test -z "$ac_c_werror_flag" || | ||
| 15772 | test ! -s conftest.err | ||
| 15773 | } && test -s conftest.$ac_objext; then | ||
| 15774 | ac_header_compiler=yes | ||
| 15775 | else | ||
| 15776 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15777 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15778 | |||
| 15779 | ac_header_compiler=no | ||
| 15780 | fi | ||
| 15781 | |||
| 15782 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15783 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15784 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15785 | |||
| 15786 | # Is the header present? | ||
| 15787 | { $as_echo "$as_me:$LINENO: checking gpm.h presence" >&5 | ||
| 15788 | $as_echo_n "checking gpm.h presence... " >&6; } | ||
| 15789 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15790 | /* confdefs.h. */ | ||
| 15791 | _ACEOF | ||
| 15792 | cat confdefs.h >>conftest.$ac_ext | ||
| 15793 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15794 | /* end confdefs.h. */ | ||
| 15795 | #include <gpm.h> | ||
| 15796 | _ACEOF | ||
| 15797 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 15798 | case "(($ac_try" in | ||
| 15799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15800 | *) ac_try_echo=$ac_try;; | ||
| 15801 | esac | ||
| 15802 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15803 | $as_echo "$ac_try_echo") >&5 | ||
| 15804 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15805 | ac_status=$? | ||
| 15806 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15807 | rm -f conftest.er1 | ||
| 15808 | cat conftest.err >&5 | ||
| 15809 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15810 | (exit $ac_status); } >/dev/null && { | ||
| 15811 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 15812 | test ! -s conftest.err | ||
| 15813 | }; then | ||
| 15814 | ac_header_preproc=yes | ||
| 15815 | else | ||
| 15816 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15817 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15818 | |||
| 15819 | ac_header_preproc=no | ||
| 15820 | fi | ||
| 15821 | |||
| 15822 | rm -f conftest.err conftest.$ac_ext | ||
| 15823 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 15824 | $as_echo "$ac_header_preproc" >&6; } | ||
| 15825 | |||
| 15826 | # So? What about this header? | ||
| 15827 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 15828 | yes:no: ) | ||
| 15829 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 15830 | $as_echo "$as_me: WARNING: gpm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 15831 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the compiler's result" >&5 | ||
| 15832 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the compiler's result" >&2;} | ||
| 15833 | ac_header_preproc=yes | ||
| 15834 | ;; | ||
| 15835 | no:yes:* ) | ||
| 15836 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: present but cannot be compiled" >&5 | ||
| 15837 | $as_echo "$as_me: WARNING: gpm.h: present but cannot be compiled" >&2;} | ||
| 15838 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: check for missing prerequisite headers?" >&5 | ||
| 15839 | $as_echo "$as_me: WARNING: gpm.h: check for missing prerequisite headers?" >&2;} | ||
| 15840 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: see the Autoconf documentation" >&5 | ||
| 15841 | $as_echo "$as_me: WARNING: gpm.h: see the Autoconf documentation" >&2;} | ||
| 15842 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 15843 | $as_echo "$as_me: WARNING: gpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 15844 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: proceeding with the preprocessor's result" >&5 | ||
| 15845 | $as_echo "$as_me: WARNING: gpm.h: proceeding with the preprocessor's result" >&2;} | ||
| 15846 | { $as_echo "$as_me:$LINENO: WARNING: gpm.h: in the future, the compiler will take precedence" >&5 | ||
| 15847 | $as_echo "$as_me: WARNING: gpm.h: in the future, the compiler will take precedence" >&2;} | ||
| 15848 | |||
| 15849 | ;; | ||
| 15850 | esac | ||
| 15851 | { $as_echo "$as_me:$LINENO: checking for gpm.h" >&5 | ||
| 15852 | $as_echo_n "checking for gpm.h... " >&6; } | ||
| 15853 | if test "${ac_cv_header_gpm_h+set}" = set; then | ||
| 15854 | $as_echo_n "(cached) " >&6 | ||
| 15855 | else | ||
| 15856 | ac_cv_header_gpm_h=$ac_header_preproc | ||
| 15857 | fi | ||
| 15858 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gpm_h" >&5 | ||
| 15859 | $as_echo "$ac_cv_header_gpm_h" >&6; } | ||
| 15860 | |||
| 15861 | fi | ||
| 15862 | if test $ac_cv_header_gpm_h = yes; then | ||
| 15863 | { $as_echo "$as_me:$LINENO: checking for Gpm_Open in -lgpm" >&5 | ||
| 10204 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } | 15864 | $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } |
| 10205 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : | 15865 | if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then |
| 10206 | $as_echo_n "(cached) " >&6 | 15866 | $as_echo_n "(cached) " >&6 |
| 10207 | else | 15867 | else |
| 10208 | ac_check_lib_save_LIBS=$LIBS | 15868 | ac_check_lib_save_LIBS=$LIBS |
| 10209 | LIBS="-lgpm $LIBS" | 15869 | LIBS="-lgpm $LIBS" |
| 10210 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15870 | cat >conftest.$ac_ext <<_ACEOF |
| 15871 | /* confdefs.h. */ | ||
| 15872 | _ACEOF | ||
| 15873 | cat confdefs.h >>conftest.$ac_ext | ||
| 15874 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10211 | /* end confdefs.h. */ | 15875 | /* end confdefs.h. */ |
| 10212 | 15876 | ||
| 10213 | /* Override any GCC internal prototype to avoid an error. | 15877 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10225,18 +15889,43 @@ return Gpm_Open (); | |||
| 10225 | return 0; | 15889 | return 0; |
| 10226 | } | 15890 | } |
| 10227 | _ACEOF | 15891 | _ACEOF |
| 10228 | if ac_fn_c_try_link "$LINENO"; then : | 15892 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15893 | if { (ac_try="$ac_link" | ||
| 15894 | case "(($ac_try" in | ||
| 15895 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15896 | *) ac_try_echo=$ac_try;; | ||
| 15897 | esac | ||
| 15898 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15899 | $as_echo "$ac_try_echo") >&5 | ||
| 15900 | (eval "$ac_link") 2>conftest.er1 | ||
| 15901 | ac_status=$? | ||
| 15902 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15903 | rm -f conftest.er1 | ||
| 15904 | cat conftest.err >&5 | ||
| 15905 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15906 | (exit $ac_status); } && { | ||
| 15907 | test -z "$ac_c_werror_flag" || | ||
| 15908 | test ! -s conftest.err | ||
| 15909 | } && test -s conftest$ac_exeext && { | ||
| 15910 | test "$cross_compiling" = yes || | ||
| 15911 | $as_test_x conftest$ac_exeext | ||
| 15912 | }; then | ||
| 10229 | ac_cv_lib_gpm_Gpm_Open=yes | 15913 | ac_cv_lib_gpm_Gpm_Open=yes |
| 10230 | else | 15914 | else |
| 10231 | ac_cv_lib_gpm_Gpm_Open=no | 15915 | $as_echo "$as_me: failed program was:" >&5 |
| 15916 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15917 | |||
| 15918 | ac_cv_lib_gpm_Gpm_Open=no | ||
| 10232 | fi | 15919 | fi |
| 10233 | rm -f core conftest.err conftest.$ac_objext \ | 15920 | |
| 10234 | conftest$ac_exeext conftest.$ac_ext | 15921 | rm -rf conftest.dSYM |
| 15922 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15923 | conftest$ac_exeext conftest.$ac_ext | ||
| 10235 | LIBS=$ac_check_lib_save_LIBS | 15924 | LIBS=$ac_check_lib_save_LIBS |
| 10236 | fi | 15925 | fi |
| 10237 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 | 15926 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpm_Gpm_Open" >&5 |
| 10238 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } | 15927 | $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } |
| 10239 | if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : | 15928 | if test $ac_cv_lib_gpm_Gpm_Open = yes; then |
| 10240 | HAVE_GPM=yes | 15929 | HAVE_GPM=yes |
| 10241 | fi | 15930 | fi |
| 10242 | 15931 | ||
| @@ -10246,42 +15935,184 @@ fi | |||
| 10246 | 15935 | ||
| 10247 | if test "${HAVE_GPM}" = "yes"; then | 15936 | if test "${HAVE_GPM}" = "yes"; then |
| 10248 | 15937 | ||
| 10249 | $as_echo "#define HAVE_GPM 1" >>confdefs.h | 15938 | cat >>confdefs.h <<\_ACEOF |
| 15939 | #define HAVE_GPM 1 | ||
| 15940 | _ACEOF | ||
| 10250 | 15941 | ||
| 10251 | LIBGPM=-lgpm | 15942 | LIBGPM=-lgpm |
| 10252 | fi | 15943 | fi |
| 10253 | fi | 15944 | fi |
| 10254 | 15945 | ||
| 10255 | 15946 | ||
| 10256 | ac_fn_c_check_header_mongrel "$LINENO" "malloc/malloc.h" "ac_cv_header_malloc_malloc_h" "$ac_includes_default" | 15947 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 10257 | if test "x$ac_cv_header_malloc_malloc_h" = x""yes; then : | 15948 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
| 15949 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 15950 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 15951 | $as_echo_n "(cached) " >&6 | ||
| 15952 | fi | ||
| 15953 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 15954 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 15955 | else | ||
| 15956 | # Is the header compilable? | ||
| 15957 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | ||
| 15958 | $as_echo_n "checking malloc/malloc.h usability... " >&6; } | ||
| 15959 | cat >conftest.$ac_ext <<_ACEOF | ||
| 15960 | /* confdefs.h. */ | ||
| 15961 | _ACEOF | ||
| 15962 | cat confdefs.h >>conftest.$ac_ext | ||
| 15963 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 15964 | /* end confdefs.h. */ | ||
| 15965 | $ac_includes_default | ||
| 15966 | #include <malloc/malloc.h> | ||
| 15967 | _ACEOF | ||
| 15968 | rm -f conftest.$ac_objext | ||
| 15969 | if { (ac_try="$ac_compile" | ||
| 15970 | case "(($ac_try" in | ||
| 15971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15972 | *) ac_try_echo=$ac_try;; | ||
| 15973 | esac | ||
| 15974 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 15975 | $as_echo "$ac_try_echo") >&5 | ||
| 15976 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15977 | ac_status=$? | ||
| 15978 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 15979 | rm -f conftest.er1 | ||
| 15980 | cat conftest.err >&5 | ||
| 15981 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15982 | (exit $ac_status); } && { | ||
| 15983 | test -z "$ac_c_werror_flag" || | ||
| 15984 | test ! -s conftest.err | ||
| 15985 | } && test -s conftest.$ac_objext; then | ||
| 15986 | ac_header_compiler=yes | ||
| 15987 | else | ||
| 15988 | $as_echo "$as_me: failed program was:" >&5 | ||
| 15989 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 15990 | |||
| 15991 | ac_header_compiler=no | ||
| 15992 | fi | ||
| 15993 | |||
| 15994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 15995 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 15996 | $as_echo "$ac_header_compiler" >&6; } | ||
| 15997 | |||
| 15998 | # Is the header present? | ||
| 15999 | { $as_echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | ||
| 16000 | $as_echo_n "checking malloc/malloc.h presence... " >&6; } | ||
| 16001 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16002 | /* confdefs.h. */ | ||
| 16003 | _ACEOF | ||
| 16004 | cat confdefs.h >>conftest.$ac_ext | ||
| 16005 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16006 | /* end confdefs.h. */ | ||
| 16007 | #include <malloc/malloc.h> | ||
| 16008 | _ACEOF | ||
| 16009 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16010 | case "(($ac_try" in | ||
| 16011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16012 | *) ac_try_echo=$ac_try;; | ||
| 16013 | esac | ||
| 16014 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16015 | $as_echo "$ac_try_echo") >&5 | ||
| 16016 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16017 | ac_status=$? | ||
| 16018 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16019 | rm -f conftest.er1 | ||
| 16020 | cat conftest.err >&5 | ||
| 16021 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16022 | (exit $ac_status); } >/dev/null && { | ||
| 16023 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16024 | test ! -s conftest.err | ||
| 16025 | }; then | ||
| 16026 | ac_header_preproc=yes | ||
| 16027 | else | ||
| 16028 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16029 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16030 | |||
| 16031 | ac_header_preproc=no | ||
| 16032 | fi | ||
| 16033 | |||
| 16034 | rm -f conftest.err conftest.$ac_ext | ||
| 16035 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16036 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16037 | |||
| 16038 | # So? What about this header? | ||
| 16039 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16040 | yes:no: ) | ||
| 16041 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16042 | $as_echo "$as_me: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16043 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&5 | ||
| 16044 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the compiler's result" >&2;} | ||
| 16045 | ac_header_preproc=yes | ||
| 16046 | ;; | ||
| 16047 | no:yes:* ) | ||
| 16048 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: present but cannot be compiled" >&5 | ||
| 16049 | $as_echo "$as_me: WARNING: malloc/malloc.h: present but cannot be compiled" >&2;} | ||
| 16050 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&5 | ||
| 16051 | $as_echo "$as_me: WARNING: malloc/malloc.h: check for missing prerequisite headers?" >&2;} | ||
| 16052 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: see the Autoconf documentation" >&5 | ||
| 16053 | $as_echo "$as_me: WARNING: malloc/malloc.h: see the Autoconf documentation" >&2;} | ||
| 16054 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16055 | $as_echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16056 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | ||
| 16057 | $as_echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | ||
| 16058 | { $as_echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | ||
| 16059 | $as_echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | ||
| 10258 | 16060 | ||
| 10259 | $as_echo "#define HAVE_MALLOC_MALLOC_H 1" >>confdefs.h | 16061 | ;; |
| 16062 | esac | ||
| 16063 | { $as_echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | ||
| 16064 | $as_echo_n "checking for malloc/malloc.h... " >&6; } | ||
| 16065 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | ||
| 16066 | $as_echo_n "(cached) " >&6 | ||
| 16067 | else | ||
| 16068 | ac_cv_header_malloc_malloc_h=$ac_header_preproc | ||
| 16069 | fi | ||
| 16070 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | ||
| 16071 | $as_echo "$ac_cv_header_malloc_malloc_h" >&6; } | ||
| 16072 | |||
| 16073 | fi | ||
| 16074 | if test $ac_cv_header_malloc_malloc_h = yes; then | ||
| 16075 | |||
| 16076 | cat >>confdefs.h <<\_ACEOF | ||
| 16077 | #define HAVE_MALLOC_MALLOC_H 1 | ||
| 16078 | _ACEOF | ||
| 10260 | 16079 | ||
| 10261 | fi | 16080 | fi |
| 10262 | 16081 | ||
| 10263 | 16082 | ||
| 10264 | 16083 | ||
| 16084 | C_SWITCH_X_SYSTEM= | ||
| 10265 | ### Use NeXTstep API to implement GUI. | 16085 | ### Use NeXTstep API to implement GUI. |
| 10266 | if test "${HAVE_NS}" = "yes"; then | 16086 | if test "${HAVE_NS}" = "yes"; then |
| 10267 | 16087 | ||
| 10268 | $as_echo "#define HAVE_NS 1" >>confdefs.h | 16088 | cat >>confdefs.h <<\_ACEOF |
| 16089 | #define HAVE_NS 1 | ||
| 16090 | _ACEOF | ||
| 10269 | 16091 | ||
| 10270 | if test "${NS_IMPL_COCOA}" = "yes"; then | 16092 | if test "${NS_IMPL_COCOA}" = "yes"; then |
| 10271 | 16093 | ||
| 10272 | $as_echo "#define NS_IMPL_COCOA 1" >>confdefs.h | 16094 | cat >>confdefs.h <<\_ACEOF |
| 16095 | #define NS_IMPL_COCOA 1 | ||
| 16096 | _ACEOF | ||
| 10273 | 16097 | ||
| 10274 | GNU_OBJC_CFLAGS= | 16098 | GNU_OBJC_CFLAGS= |
| 10275 | fi | 16099 | fi |
| 10276 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 16100 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 10277 | 16101 | ||
| 10278 | $as_echo "#define NS_IMPL_GNUSTEP 1" >>confdefs.h | 16102 | cat >>confdefs.h <<\_ACEOF |
| 16103 | #define NS_IMPL_GNUSTEP 1 | ||
| 16104 | _ACEOF | ||
| 10279 | 16105 | ||
| 16106 | # See also .m.o rule in Makefile.in */ | ||
| 16107 | # FIXME: are all these flags really needed? Document here why. */ | ||
| 16108 | C_SWITCH_X_SYSTEM="-D_REENTRANT -fPIC -fno-strict-aliasing" | ||
| 10280 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" | 16109 | GNU_OBJC_CFLAGS="-fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE" |
| 10281 | fi | 16110 | fi |
| 10282 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then | 16111 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 10283 | 16112 | ||
| 10284 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 16113 | cat >>confdefs.h <<\_ACEOF |
| 16114 | #define NS_HAVE_NSINTEGER 1 | ||
| 16115 | _ACEOF | ||
| 10285 | 16116 | ||
| 10286 | fi | 16117 | fi |
| 10287 | # We also have mouse menus. | 16118 | # We also have mouse menus. |
| @@ -10294,16 +16125,146 @@ fi | |||
| 10294 | HAVE_X_SM=no | 16125 | HAVE_X_SM=no |
| 10295 | LIBXSM= | 16126 | LIBXSM= |
| 10296 | if test "${HAVE_X11}" = "yes"; then | 16127 | if test "${HAVE_X11}" = "yes"; then |
| 10297 | ac_fn_c_check_header_mongrel "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "$ac_includes_default" | 16128 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 10298 | if test "x$ac_cv_header_X11_SM_SMlib_h" = x""yes; then : | 16129 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
| 10299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 | 16130 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } |
| 16131 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16132 | $as_echo_n "(cached) " >&6 | ||
| 16133 | fi | ||
| 16134 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16135 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16136 | else | ||
| 16137 | # Is the header compilable? | ||
| 16138 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | ||
| 16139 | $as_echo_n "checking X11/SM/SMlib.h usability... " >&6; } | ||
| 16140 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16141 | /* confdefs.h. */ | ||
| 16142 | _ACEOF | ||
| 16143 | cat confdefs.h >>conftest.$ac_ext | ||
| 16144 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16145 | /* end confdefs.h. */ | ||
| 16146 | $ac_includes_default | ||
| 16147 | #include <X11/SM/SMlib.h> | ||
| 16148 | _ACEOF | ||
| 16149 | rm -f conftest.$ac_objext | ||
| 16150 | if { (ac_try="$ac_compile" | ||
| 16151 | case "(($ac_try" in | ||
| 16152 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16153 | *) ac_try_echo=$ac_try;; | ||
| 16154 | esac | ||
| 16155 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16156 | $as_echo "$ac_try_echo") >&5 | ||
| 16157 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16158 | ac_status=$? | ||
| 16159 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16160 | rm -f conftest.er1 | ||
| 16161 | cat conftest.err >&5 | ||
| 16162 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16163 | (exit $ac_status); } && { | ||
| 16164 | test -z "$ac_c_werror_flag" || | ||
| 16165 | test ! -s conftest.err | ||
| 16166 | } && test -s conftest.$ac_objext; then | ||
| 16167 | ac_header_compiler=yes | ||
| 16168 | else | ||
| 16169 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16170 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16171 | |||
| 16172 | ac_header_compiler=no | ||
| 16173 | fi | ||
| 16174 | |||
| 16175 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16176 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 16177 | $as_echo "$ac_header_compiler" >&6; } | ||
| 16178 | |||
| 16179 | # Is the header present? | ||
| 16180 | { $as_echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | ||
| 16181 | $as_echo_n "checking X11/SM/SMlib.h presence... " >&6; } | ||
| 16182 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16183 | /* confdefs.h. */ | ||
| 16184 | _ACEOF | ||
| 16185 | cat confdefs.h >>conftest.$ac_ext | ||
| 16186 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16187 | /* end confdefs.h. */ | ||
| 16188 | #include <X11/SM/SMlib.h> | ||
| 16189 | _ACEOF | ||
| 16190 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 16191 | case "(($ac_try" in | ||
| 16192 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16193 | *) ac_try_echo=$ac_try;; | ||
| 16194 | esac | ||
| 16195 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16196 | $as_echo "$ac_try_echo") >&5 | ||
| 16197 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16198 | ac_status=$? | ||
| 16199 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16200 | rm -f conftest.er1 | ||
| 16201 | cat conftest.err >&5 | ||
| 16202 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16203 | (exit $ac_status); } >/dev/null && { | ||
| 16204 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 16205 | test ! -s conftest.err | ||
| 16206 | }; then | ||
| 16207 | ac_header_preproc=yes | ||
| 16208 | else | ||
| 16209 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16210 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16211 | |||
| 16212 | ac_header_preproc=no | ||
| 16213 | fi | ||
| 16214 | |||
| 16215 | rm -f conftest.err conftest.$ac_ext | ||
| 16216 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 16217 | $as_echo "$ac_header_preproc" >&6; } | ||
| 16218 | |||
| 16219 | # So? What about this header? | ||
| 16220 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 16221 | yes:no: ) | ||
| 16222 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 16223 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 16224 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&5 | ||
| 16225 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the compiler's result" >&2;} | ||
| 16226 | ac_header_preproc=yes | ||
| 16227 | ;; | ||
| 16228 | no:yes:* ) | ||
| 16229 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&5 | ||
| 16230 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: present but cannot be compiled" >&2;} | ||
| 16231 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&5 | ||
| 16232 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: check for missing prerequisite headers?" >&2;} | ||
| 16233 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&5 | ||
| 16234 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: see the Autoconf documentation" >&2;} | ||
| 16235 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 16236 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 16237 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | ||
| 16238 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | ||
| 16239 | { $as_echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | ||
| 16240 | $as_echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | ||
| 16241 | |||
| 16242 | ;; | ||
| 16243 | esac | ||
| 16244 | { $as_echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | ||
| 16245 | $as_echo_n "checking for X11/SM/SMlib.h... " >&6; } | ||
| 16246 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | ||
| 16247 | $as_echo_n "(cached) " >&6 | ||
| 16248 | else | ||
| 16249 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | ||
| 16250 | fi | ||
| 16251 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | ||
| 16252 | $as_echo "$ac_cv_header_X11_SM_SMlib_h" >&6; } | ||
| 16253 | |||
| 16254 | fi | ||
| 16255 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then | ||
| 16256 | { $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | ||
| 10300 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } | 16257 | $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } |
| 10301 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then : | 16258 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
| 10302 | $as_echo_n "(cached) " >&6 | 16259 | $as_echo_n "(cached) " >&6 |
| 10303 | else | 16260 | else |
| 10304 | ac_check_lib_save_LIBS=$LIBS | 16261 | ac_check_lib_save_LIBS=$LIBS |
| 10305 | LIBS="-lSM -lICE $LIBS" | 16262 | LIBS="-lSM -lICE $LIBS" |
| 10306 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16263 | cat >conftest.$ac_ext <<_ACEOF |
| 16264 | /* confdefs.h. */ | ||
| 16265 | _ACEOF | ||
| 16266 | cat confdefs.h >>conftest.$ac_ext | ||
| 16267 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10307 | /* end confdefs.h. */ | 16268 | /* end confdefs.h. */ |
| 10308 | 16269 | ||
| 10309 | /* Override any GCC internal prototype to avoid an error. | 16270 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10321,18 +16282,43 @@ return SmcOpenConnection (); | |||
| 10321 | return 0; | 16282 | return 0; |
| 10322 | } | 16283 | } |
| 10323 | _ACEOF | 16284 | _ACEOF |
| 10324 | if ac_fn_c_try_link "$LINENO"; then : | 16285 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16286 | if { (ac_try="$ac_link" | ||
| 16287 | case "(($ac_try" in | ||
| 16288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16289 | *) ac_try_echo=$ac_try;; | ||
| 16290 | esac | ||
| 16291 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16292 | $as_echo "$ac_try_echo") >&5 | ||
| 16293 | (eval "$ac_link") 2>conftest.er1 | ||
| 16294 | ac_status=$? | ||
| 16295 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16296 | rm -f conftest.er1 | ||
| 16297 | cat conftest.err >&5 | ||
| 16298 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16299 | (exit $ac_status); } && { | ||
| 16300 | test -z "$ac_c_werror_flag" || | ||
| 16301 | test ! -s conftest.err | ||
| 16302 | } && test -s conftest$ac_exeext && { | ||
| 16303 | test "$cross_compiling" = yes || | ||
| 16304 | $as_test_x conftest$ac_exeext | ||
| 16305 | }; then | ||
| 10325 | ac_cv_lib_SM_SmcOpenConnection=yes | 16306 | ac_cv_lib_SM_SmcOpenConnection=yes |
| 10326 | else | 16307 | else |
| 10327 | ac_cv_lib_SM_SmcOpenConnection=no | 16308 | $as_echo "$as_me: failed program was:" >&5 |
| 16309 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16310 | |||
| 16311 | ac_cv_lib_SM_SmcOpenConnection=no | ||
| 10328 | fi | 16312 | fi |
| 10329 | rm -f core conftest.err conftest.$ac_objext \ | 16313 | |
| 10330 | conftest$ac_exeext conftest.$ac_ext | 16314 | rm -rf conftest.dSYM |
| 16315 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16316 | conftest$ac_exeext conftest.$ac_ext | ||
| 10331 | LIBS=$ac_check_lib_save_LIBS | 16317 | LIBS=$ac_check_lib_save_LIBS |
| 10332 | fi | 16318 | fi |
| 10333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 16319 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
| 10334 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } | 16320 | $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
| 10335 | if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then : | 16321 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
| 10336 | HAVE_X_SM=yes | 16322 | HAVE_X_SM=yes |
| 10337 | fi | 16323 | fi |
| 10338 | 16324 | ||
| @@ -10342,7 +16328,9 @@ fi | |||
| 10342 | 16328 | ||
| 10343 | if test "${HAVE_X_SM}" = "yes"; then | 16329 | if test "${HAVE_X_SM}" = "yes"; then |
| 10344 | 16330 | ||
| 10345 | $as_echo "#define HAVE_X_SM 1" >>confdefs.h | 16331 | cat >>confdefs.h <<\_ACEOF |
| 16332 | #define HAVE_X_SM 1 | ||
| 16333 | _ACEOF | ||
| 10346 | 16334 | ||
| 10347 | LIBXSM="-lSM -lICE" | 16335 | LIBXSM="-lSM -lICE" |
| 10348 | case "$LIBS" in | 16336 | case "$LIBS" in |
| @@ -10354,12 +16342,16 @@ fi | |||
| 10354 | 16342 | ||
| 10355 | 16343 | ||
| 10356 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 16344 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 10357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 16345 | { $as_echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
| 10358 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 16346 | $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
| 10359 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then : | 16347 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
| 10360 | $as_echo_n "(cached) " >&6 | 16348 | $as_echo_n "(cached) " >&6 |
| 10361 | else | 16349 | else |
| 10362 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16350 | cat >conftest.$ac_ext <<_ACEOF |
| 16351 | /* confdefs.h. */ | ||
| 16352 | _ACEOF | ||
| 16353 | cat confdefs.h >>conftest.$ac_ext | ||
| 16354 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10363 | /* end confdefs.h. */ | 16355 | /* end confdefs.h. */ |
| 10364 | #include <netdb.h> | 16356 | #include <netdb.h> |
| 10365 | int | 16357 | int |
| @@ -10370,30 +16362,61 @@ return h_errno; | |||
| 10370 | return 0; | 16362 | return 0; |
| 10371 | } | 16363 | } |
| 10372 | _ACEOF | 16364 | _ACEOF |
| 10373 | if ac_fn_c_try_link "$LINENO"; then : | 16365 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16366 | if { (ac_try="$ac_link" | ||
| 16367 | case "(($ac_try" in | ||
| 16368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16369 | *) ac_try_echo=$ac_try;; | ||
| 16370 | esac | ||
| 16371 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16372 | $as_echo "$ac_try_echo") >&5 | ||
| 16373 | (eval "$ac_link") 2>conftest.er1 | ||
| 16374 | ac_status=$? | ||
| 16375 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16376 | rm -f conftest.er1 | ||
| 16377 | cat conftest.err >&5 | ||
| 16378 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16379 | (exit $ac_status); } && { | ||
| 16380 | test -z "$ac_c_werror_flag" || | ||
| 16381 | test ! -s conftest.err | ||
| 16382 | } && test -s conftest$ac_exeext && { | ||
| 16383 | test "$cross_compiling" = yes || | ||
| 16384 | $as_test_x conftest$ac_exeext | ||
| 16385 | }; then | ||
| 10374 | emacs_cv_netdb_declares_h_errno=yes | 16386 | emacs_cv_netdb_declares_h_errno=yes |
| 10375 | else | 16387 | else |
| 10376 | emacs_cv_netdb_declares_h_errno=no | 16388 | $as_echo "$as_me: failed program was:" >&5 |
| 16389 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16390 | |||
| 16391 | emacs_cv_netdb_declares_h_errno=no | ||
| 10377 | fi | 16392 | fi |
| 10378 | rm -f core conftest.err conftest.$ac_objext \ | 16393 | |
| 10379 | conftest$ac_exeext conftest.$ac_ext | 16394 | rm -rf conftest.dSYM |
| 16395 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16396 | conftest$ac_exeext conftest.$ac_ext | ||
| 10380 | fi | 16397 | fi |
| 10381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_netdb_declares_h_errno" >&5 | 16398 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 10382 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } | 16399 | $as_echo "$emacs_cv_netdb_declares_h_errno" >&6; } |
| 10383 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 16400 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 10384 | 16401 | ||
| 10385 | $as_echo "#define HAVE_H_ERRNO 1" >>confdefs.h | 16402 | cat >>confdefs.h <<\_ACEOF |
| 16403 | #define HAVE_H_ERRNO 1 | ||
| 16404 | _ACEOF | ||
| 10386 | 16405 | ||
| 10387 | fi | 16406 | fi |
| 10388 | 16407 | ||
| 10389 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 16408 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 10390 | # for constant arguments. Useless! | 16409 | # for constant arguments. Useless! |
| 10391 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 | 16410 | { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 10392 | $as_echo_n "checking for working alloca.h... " >&6; } | 16411 | $as_echo_n "checking for working alloca.h... " >&6; } |
| 10393 | if test "${ac_cv_working_alloca_h+set}" = set; then : | 16412 | if test "${ac_cv_working_alloca_h+set}" = set; then |
| 10394 | $as_echo_n "(cached) " >&6 | 16413 | $as_echo_n "(cached) " >&6 |
| 10395 | else | 16414 | else |
| 10396 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16415 | cat >conftest.$ac_ext <<_ACEOF |
| 16416 | /* confdefs.h. */ | ||
| 16417 | _ACEOF | ||
| 16418 | cat confdefs.h >>conftest.$ac_ext | ||
| 16419 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10397 | /* end confdefs.h. */ | 16420 | /* end confdefs.h. */ |
| 10398 | #include <alloca.h> | 16421 | #include <alloca.h> |
| 10399 | int | 16422 | int |
| @@ -10405,28 +16428,59 @@ char *p = (char *) alloca (2 * sizeof (int)); | |||
| 10405 | return 0; | 16428 | return 0; |
| 10406 | } | 16429 | } |
| 10407 | _ACEOF | 16430 | _ACEOF |
| 10408 | if ac_fn_c_try_link "$LINENO"; then : | 16431 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16432 | if { (ac_try="$ac_link" | ||
| 16433 | case "(($ac_try" in | ||
| 16434 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16435 | *) ac_try_echo=$ac_try;; | ||
| 16436 | esac | ||
| 16437 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16438 | $as_echo "$ac_try_echo") >&5 | ||
| 16439 | (eval "$ac_link") 2>conftest.er1 | ||
| 16440 | ac_status=$? | ||
| 16441 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16442 | rm -f conftest.er1 | ||
| 16443 | cat conftest.err >&5 | ||
| 16444 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16445 | (exit $ac_status); } && { | ||
| 16446 | test -z "$ac_c_werror_flag" || | ||
| 16447 | test ! -s conftest.err | ||
| 16448 | } && test -s conftest$ac_exeext && { | ||
| 16449 | test "$cross_compiling" = yes || | ||
| 16450 | $as_test_x conftest$ac_exeext | ||
| 16451 | }; then | ||
| 10409 | ac_cv_working_alloca_h=yes | 16452 | ac_cv_working_alloca_h=yes |
| 10410 | else | 16453 | else |
| 10411 | ac_cv_working_alloca_h=no | 16454 | $as_echo "$as_me: failed program was:" >&5 |
| 16455 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16456 | |||
| 16457 | ac_cv_working_alloca_h=no | ||
| 10412 | fi | 16458 | fi |
| 10413 | rm -f core conftest.err conftest.$ac_objext \ | 16459 | |
| 10414 | conftest$ac_exeext conftest.$ac_ext | 16460 | rm -rf conftest.dSYM |
| 16461 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16462 | conftest$ac_exeext conftest.$ac_ext | ||
| 10415 | fi | 16463 | fi |
| 10416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 | 16464 | { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 10417 | $as_echo "$ac_cv_working_alloca_h" >&6; } | 16465 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
| 10418 | if test $ac_cv_working_alloca_h = yes; then | 16466 | if test $ac_cv_working_alloca_h = yes; then |
| 10419 | 16467 | ||
| 10420 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h | 16468 | cat >>confdefs.h <<\_ACEOF |
| 16469 | #define HAVE_ALLOCA_H 1 | ||
| 16470 | _ACEOF | ||
| 10421 | 16471 | ||
| 10422 | fi | 16472 | fi |
| 10423 | 16473 | ||
| 10424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 | 16474 | { $as_echo "$as_me:$LINENO: checking for alloca" >&5 |
| 10425 | $as_echo_n "checking for alloca... " >&6; } | 16475 | $as_echo_n "checking for alloca... " >&6; } |
| 10426 | if test "${ac_cv_func_alloca_works+set}" = set; then : | 16476 | if test "${ac_cv_func_alloca_works+set}" = set; then |
| 10427 | $as_echo_n "(cached) " >&6 | 16477 | $as_echo_n "(cached) " >&6 |
| 10428 | else | 16478 | else |
| 10429 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16479 | cat >conftest.$ac_ext <<_ACEOF |
| 16480 | /* confdefs.h. */ | ||
| 16481 | _ACEOF | ||
| 16482 | cat confdefs.h >>conftest.$ac_ext | ||
| 16483 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10430 | /* end confdefs.h. */ | 16484 | /* end confdefs.h. */ |
| 10431 | #ifdef __GNUC__ | 16485 | #ifdef __GNUC__ |
| 10432 | # define alloca __builtin_alloca | 16486 | # define alloca __builtin_alloca |
| @@ -10458,20 +16512,47 @@ char *p = (char *) alloca (1); | |||
| 10458 | return 0; | 16512 | return 0; |
| 10459 | } | 16513 | } |
| 10460 | _ACEOF | 16514 | _ACEOF |
| 10461 | if ac_fn_c_try_link "$LINENO"; then : | 16515 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16516 | if { (ac_try="$ac_link" | ||
| 16517 | case "(($ac_try" in | ||
| 16518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16519 | *) ac_try_echo=$ac_try;; | ||
| 16520 | esac | ||
| 16521 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16522 | $as_echo "$ac_try_echo") >&5 | ||
| 16523 | (eval "$ac_link") 2>conftest.er1 | ||
| 16524 | ac_status=$? | ||
| 16525 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16526 | rm -f conftest.er1 | ||
| 16527 | cat conftest.err >&5 | ||
| 16528 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16529 | (exit $ac_status); } && { | ||
| 16530 | test -z "$ac_c_werror_flag" || | ||
| 16531 | test ! -s conftest.err | ||
| 16532 | } && test -s conftest$ac_exeext && { | ||
| 16533 | test "$cross_compiling" = yes || | ||
| 16534 | $as_test_x conftest$ac_exeext | ||
| 16535 | }; then | ||
| 10462 | ac_cv_func_alloca_works=yes | 16536 | ac_cv_func_alloca_works=yes |
| 10463 | else | 16537 | else |
| 10464 | ac_cv_func_alloca_works=no | 16538 | $as_echo "$as_me: failed program was:" >&5 |
| 16539 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16540 | |||
| 16541 | ac_cv_func_alloca_works=no | ||
| 10465 | fi | 16542 | fi |
| 10466 | rm -f core conftest.err conftest.$ac_objext \ | 16543 | |
| 10467 | conftest$ac_exeext conftest.$ac_ext | 16544 | rm -rf conftest.dSYM |
| 16545 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16546 | conftest$ac_exeext conftest.$ac_ext | ||
| 10468 | fi | 16547 | fi |
| 10469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 | 16548 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 10470 | $as_echo "$ac_cv_func_alloca_works" >&6; } | 16549 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
| 10471 | 16550 | ||
| 10472 | if test $ac_cv_func_alloca_works = yes; then | 16551 | if test $ac_cv_func_alloca_works = yes; then |
| 10473 | 16552 | ||
| 10474 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h | 16553 | cat >>confdefs.h <<\_ACEOF |
| 16554 | #define HAVE_ALLOCA 1 | ||
| 16555 | _ACEOF | ||
| 10475 | 16556 | ||
| 10476 | else | 16557 | else |
| 10477 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 16558 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
| @@ -10481,15 +16562,21 @@ else | |||
| 10481 | 16562 | ||
| 10482 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext | 16563 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 10483 | 16564 | ||
| 10484 | $as_echo "#define C_ALLOCA 1" >>confdefs.h | 16565 | cat >>confdefs.h <<\_ACEOF |
| 16566 | #define C_ALLOCA 1 | ||
| 16567 | _ACEOF | ||
| 10485 | 16568 | ||
| 10486 | 16569 | ||
| 10487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 | 16570 | { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 10488 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } | 16571 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
| 10489 | if test "${ac_cv_os_cray+set}" = set; then : | 16572 | if test "${ac_cv_os_cray+set}" = set; then |
| 10490 | $as_echo_n "(cached) " >&6 | 16573 | $as_echo_n "(cached) " >&6 |
| 10491 | else | 16574 | else |
| 10492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16575 | cat >conftest.$ac_ext <<_ACEOF |
| 16576 | /* confdefs.h. */ | ||
| 16577 | _ACEOF | ||
| 16578 | cat confdefs.h >>conftest.$ac_ext | ||
| 16579 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10493 | /* end confdefs.h. */ | 16580 | /* end confdefs.h. */ |
| 10494 | #if defined CRAY && ! defined CRAY2 | 16581 | #if defined CRAY && ! defined CRAY2 |
| 10495 | webecray | 16582 | webecray |
| @@ -10499,7 +16586,7 @@ wenotbecray | |||
| 10499 | 16586 | ||
| 10500 | _ACEOF | 16587 | _ACEOF |
| 10501 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16588 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 10502 | $EGREP "webecray" >/dev/null 2>&1; then : | 16589 | $EGREP "webecray" >/dev/null 2>&1; then |
| 10503 | ac_cv_os_cray=yes | 16590 | ac_cv_os_cray=yes |
| 10504 | else | 16591 | else |
| 10505 | ac_cv_os_cray=no | 16592 | ac_cv_os_cray=no |
| @@ -10507,14 +16594,100 @@ fi | |||
| 10507 | rm -f conftest* | 16594 | rm -f conftest* |
| 10508 | 16595 | ||
| 10509 | fi | 16596 | fi |
| 10510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 | 16597 | { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 10511 | $as_echo "$ac_cv_os_cray" >&6; } | 16598 | $as_echo "$ac_cv_os_cray" >&6; } |
| 10512 | if test $ac_cv_os_cray = yes; then | 16599 | if test $ac_cv_os_cray = yes; then |
| 10513 | for ac_func in _getb67 GETB67 getb67; do | 16600 | for ac_func in _getb67 GETB67 getb67; do |
| 10514 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16601 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10515 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16602 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10516 | eval as_val=\$$as_ac_var | 16603 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10517 | if test "x$as_val" = x""yes; then : | 16604 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16605 | $as_echo_n "(cached) " >&6 | ||
| 16606 | else | ||
| 16607 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16608 | /* confdefs.h. */ | ||
| 16609 | _ACEOF | ||
| 16610 | cat confdefs.h >>conftest.$ac_ext | ||
| 16611 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16612 | /* end confdefs.h. */ | ||
| 16613 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 16614 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 16615 | #define $ac_func innocuous_$ac_func | ||
| 16616 | |||
| 16617 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 16618 | which can conflict with char $ac_func (); below. | ||
| 16619 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 16620 | <limits.h> exists even on freestanding compilers. */ | ||
| 16621 | |||
| 16622 | #ifdef __STDC__ | ||
| 16623 | # include <limits.h> | ||
| 16624 | #else | ||
| 16625 | # include <assert.h> | ||
| 16626 | #endif | ||
| 16627 | |||
| 16628 | #undef $ac_func | ||
| 16629 | |||
| 16630 | /* Override any GCC internal prototype to avoid an error. | ||
| 16631 | Use char because int might match the return type of a GCC | ||
| 16632 | builtin and then its argument prototype would still apply. */ | ||
| 16633 | #ifdef __cplusplus | ||
| 16634 | extern "C" | ||
| 16635 | #endif | ||
| 16636 | char $ac_func (); | ||
| 16637 | /* The GNU C library defines this for functions which it implements | ||
| 16638 | to always fail with ENOSYS. Some functions are actually named | ||
| 16639 | something starting with __ and the normal name is an alias. */ | ||
| 16640 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 16641 | choke me | ||
| 16642 | #endif | ||
| 16643 | |||
| 16644 | int | ||
| 16645 | main () | ||
| 16646 | { | ||
| 16647 | return $ac_func (); | ||
| 16648 | ; | ||
| 16649 | return 0; | ||
| 16650 | } | ||
| 16651 | _ACEOF | ||
| 16652 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16653 | if { (ac_try="$ac_link" | ||
| 16654 | case "(($ac_try" in | ||
| 16655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16656 | *) ac_try_echo=$ac_try;; | ||
| 16657 | esac | ||
| 16658 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16659 | $as_echo "$ac_try_echo") >&5 | ||
| 16660 | (eval "$ac_link") 2>conftest.er1 | ||
| 16661 | ac_status=$? | ||
| 16662 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16663 | rm -f conftest.er1 | ||
| 16664 | cat conftest.err >&5 | ||
| 16665 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16666 | (exit $ac_status); } && { | ||
| 16667 | test -z "$ac_c_werror_flag" || | ||
| 16668 | test ! -s conftest.err | ||
| 16669 | } && test -s conftest$ac_exeext && { | ||
| 16670 | test "$cross_compiling" = yes || | ||
| 16671 | $as_test_x conftest$ac_exeext | ||
| 16672 | }; then | ||
| 16673 | eval "$as_ac_var=yes" | ||
| 16674 | else | ||
| 16675 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16676 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16677 | |||
| 16678 | eval "$as_ac_var=no" | ||
| 16679 | fi | ||
| 16680 | |||
| 16681 | rm -rf conftest.dSYM | ||
| 16682 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16683 | conftest$ac_exeext conftest.$ac_ext | ||
| 16684 | fi | ||
| 16685 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 16686 | $as_echo "$as_val"'` | ||
| 16687 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 16688 | $as_echo "$ac_res" >&6; } | ||
| 16689 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 16690 | $as_echo "$as_val"'` = yes; then | ||
| 10518 | 16691 | ||
| 10519 | cat >>confdefs.h <<_ACEOF | 16692 | cat >>confdefs.h <<_ACEOF |
| 10520 | #define CRAY_STACKSEG_END $ac_func | 16693 | #define CRAY_STACKSEG_END $ac_func |
| @@ -10526,15 +16699,19 @@ fi | |||
| 10526 | done | 16699 | done |
| 10527 | fi | 16700 | fi |
| 10528 | 16701 | ||
| 10529 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 | 16702 | { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 10530 | $as_echo_n "checking stack direction for C alloca... " >&6; } | 16703 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
| 10531 | if test "${ac_cv_c_stack_direction+set}" = set; then : | 16704 | if test "${ac_cv_c_stack_direction+set}" = set; then |
| 10532 | $as_echo_n "(cached) " >&6 | 16705 | $as_echo_n "(cached) " >&6 |
| 10533 | else | 16706 | else |
| 10534 | if test "$cross_compiling" = yes; then : | 16707 | if test "$cross_compiling" = yes; then |
| 10535 | ac_cv_c_stack_direction=0 | 16708 | ac_cv_c_stack_direction=0 |
| 10536 | else | 16709 | else |
| 10537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16710 | cat >conftest.$ac_ext <<_ACEOF |
| 16711 | /* confdefs.h. */ | ||
| 16712 | _ACEOF | ||
| 16713 | cat confdefs.h >>conftest.$ac_ext | ||
| 16714 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10538 | /* end confdefs.h. */ | 16715 | /* end confdefs.h. */ |
| 10539 | $ac_includes_default | 16716 | $ac_includes_default |
| 10540 | int | 16717 | int |
| @@ -10557,18 +16734,46 @@ main () | |||
| 10557 | return find_stack_direction () < 0; | 16734 | return find_stack_direction () < 0; |
| 10558 | } | 16735 | } |
| 10559 | _ACEOF | 16736 | _ACEOF |
| 10560 | if ac_fn_c_try_run "$LINENO"; then : | 16737 | rm -f conftest$ac_exeext |
| 16738 | if { (ac_try="$ac_link" | ||
| 16739 | case "(($ac_try" in | ||
| 16740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16741 | *) ac_try_echo=$ac_try;; | ||
| 16742 | esac | ||
| 16743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16744 | $as_echo "$ac_try_echo") >&5 | ||
| 16745 | (eval "$ac_link") 2>&5 | ||
| 16746 | ac_status=$? | ||
| 16747 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16748 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 16749 | { (case "(($ac_try" in | ||
| 16750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16751 | *) ac_try_echo=$ac_try;; | ||
| 16752 | esac | ||
| 16753 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16754 | $as_echo "$ac_try_echo") >&5 | ||
| 16755 | (eval "$ac_try") 2>&5 | ||
| 16756 | ac_status=$? | ||
| 16757 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16758 | (exit $ac_status); }; }; then | ||
| 10561 | ac_cv_c_stack_direction=1 | 16759 | ac_cv_c_stack_direction=1 |
| 10562 | else | 16760 | else |
| 10563 | ac_cv_c_stack_direction=-1 | 16761 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 16762 | $as_echo "$as_me: failed program was:" >&5 | ||
| 16763 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16764 | |||
| 16765 | ( exit $ac_status ) | ||
| 16766 | ac_cv_c_stack_direction=-1 | ||
| 10564 | fi | 16767 | fi |
| 10565 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 16768 | rm -rf conftest.dSYM |
| 10566 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 16769 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 10567 | fi | 16770 | fi |
| 10568 | 16771 | ||
| 16772 | |||
| 10569 | fi | 16773 | fi |
| 10570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 | 16774 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 10571 | $as_echo "$ac_cv_c_stack_direction" >&6; } | 16775 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
| 16776 | |||
| 10572 | cat >>confdefs.h <<_ACEOF | 16777 | cat >>confdefs.h <<_ACEOF |
| 10573 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 16778 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
| 10574 | _ACEOF | 16779 | _ACEOF |
| @@ -10578,19 +16783,26 @@ fi | |||
| 10578 | 16783 | ||
| 10579 | 16784 | ||
| 10580 | if test x"$ac_cv_func_alloca_works" != xyes; then | 16785 | if test x"$ac_cv_func_alloca_works" != xyes; then |
| 10581 | as_fn_error "a system implementation of alloca is required " "$LINENO" 5 | 16786 | { { $as_echo "$as_me:$LINENO: error: a system implementation of alloca is required " >&5 |
| 16787 | $as_echo "$as_me: error: a system implementation of alloca is required " >&2;} | ||
| 16788 | { (exit 1); exit 1; }; } | ||
| 10582 | fi | 16789 | fi |
| 10583 | 16790 | ||
| 10584 | # fmod, logb, and frexp are found in -lm on most systems. | 16791 | # fmod, logb, and frexp are found in -lm on most systems. |
| 10585 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 16792 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 10586 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 16793 | |
| 16794 | { $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | ||
| 10587 | $as_echo_n "checking for sqrt in -lm... " >&6; } | 16795 | $as_echo_n "checking for sqrt in -lm... " >&6; } |
| 10588 | if test "${ac_cv_lib_m_sqrt+set}" = set; then : | 16796 | if test "${ac_cv_lib_m_sqrt+set}" = set; then |
| 10589 | $as_echo_n "(cached) " >&6 | 16797 | $as_echo_n "(cached) " >&6 |
| 10590 | else | 16798 | else |
| 10591 | ac_check_lib_save_LIBS=$LIBS | 16799 | ac_check_lib_save_LIBS=$LIBS |
| 10592 | LIBS="-lm $LIBS" | 16800 | LIBS="-lm $LIBS" |
| 10593 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16801 | cat >conftest.$ac_ext <<_ACEOF |
| 16802 | /* confdefs.h. */ | ||
| 16803 | _ACEOF | ||
| 16804 | cat confdefs.h >>conftest.$ac_ext | ||
| 16805 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10594 | /* end confdefs.h. */ | 16806 | /* end confdefs.h. */ |
| 10595 | 16807 | ||
| 10596 | /* Override any GCC internal prototype to avoid an error. | 16808 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10608,18 +16820,43 @@ return sqrt (); | |||
| 10608 | return 0; | 16820 | return 0; |
| 10609 | } | 16821 | } |
| 10610 | _ACEOF | 16822 | _ACEOF |
| 10611 | if ac_fn_c_try_link "$LINENO"; then : | 16823 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16824 | if { (ac_try="$ac_link" | ||
| 16825 | case "(($ac_try" in | ||
| 16826 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16827 | *) ac_try_echo=$ac_try;; | ||
| 16828 | esac | ||
| 16829 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16830 | $as_echo "$ac_try_echo") >&5 | ||
| 16831 | (eval "$ac_link") 2>conftest.er1 | ||
| 16832 | ac_status=$? | ||
| 16833 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16834 | rm -f conftest.er1 | ||
| 16835 | cat conftest.err >&5 | ||
| 16836 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16837 | (exit $ac_status); } && { | ||
| 16838 | test -z "$ac_c_werror_flag" || | ||
| 16839 | test ! -s conftest.err | ||
| 16840 | } && test -s conftest$ac_exeext && { | ||
| 16841 | test "$cross_compiling" = yes || | ||
| 16842 | $as_test_x conftest$ac_exeext | ||
| 16843 | }; then | ||
| 10612 | ac_cv_lib_m_sqrt=yes | 16844 | ac_cv_lib_m_sqrt=yes |
| 10613 | else | 16845 | else |
| 10614 | ac_cv_lib_m_sqrt=no | 16846 | $as_echo "$as_me: failed program was:" >&5 |
| 16847 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16848 | |||
| 16849 | ac_cv_lib_m_sqrt=no | ||
| 10615 | fi | 16850 | fi |
| 10616 | rm -f core conftest.err conftest.$ac_objext \ | 16851 | |
| 10617 | conftest$ac_exeext conftest.$ac_ext | 16852 | rm -rf conftest.dSYM |
| 16853 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16854 | conftest$ac_exeext conftest.$ac_ext | ||
| 10618 | LIBS=$ac_check_lib_save_LIBS | 16855 | LIBS=$ac_check_lib_save_LIBS |
| 10619 | fi | 16856 | fi |
| 10620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 | 16857 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
| 10621 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } | 16858 | $as_echo "$ac_cv_lib_m_sqrt" >&6; } |
| 10622 | if test "x$ac_cv_lib_m_sqrt" = x""yes; then : | 16859 | if test $ac_cv_lib_m_sqrt = yes; then |
| 10623 | cat >>confdefs.h <<_ACEOF | 16860 | cat >>confdefs.h <<_ACEOF |
| 10624 | #define HAVE_LIBM 1 | 16861 | #define HAVE_LIBM 1 |
| 10625 | _ACEOF | 16862 | _ACEOF |
| @@ -10631,14 +16868,18 @@ fi | |||
| 10631 | 16868 | ||
| 10632 | # Check for mail-locking functions in a "mail" library. Probably this should | 16869 | # Check for mail-locking functions in a "mail" library. Probably this should |
| 10633 | # have the same check as for liblockfile below. | 16870 | # have the same check as for liblockfile below. |
| 10634 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -lmail" >&5 | 16871 | { $as_echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
| 10635 | $as_echo_n "checking for maillock in -lmail... " >&6; } | 16872 | $as_echo_n "checking for maillock in -lmail... " >&6; } |
| 10636 | if test "${ac_cv_lib_mail_maillock+set}" = set; then : | 16873 | if test "${ac_cv_lib_mail_maillock+set}" = set; then |
| 10637 | $as_echo_n "(cached) " >&6 | 16874 | $as_echo_n "(cached) " >&6 |
| 10638 | else | 16875 | else |
| 10639 | ac_check_lib_save_LIBS=$LIBS | 16876 | ac_check_lib_save_LIBS=$LIBS |
| 10640 | LIBS="-lmail $LIBS" | 16877 | LIBS="-lmail $LIBS" |
| 10641 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16878 | cat >conftest.$ac_ext <<_ACEOF |
| 16879 | /* confdefs.h. */ | ||
| 16880 | _ACEOF | ||
| 16881 | cat confdefs.h >>conftest.$ac_ext | ||
| 16882 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10642 | /* end confdefs.h. */ | 16883 | /* end confdefs.h. */ |
| 10643 | 16884 | ||
| 10644 | /* Override any GCC internal prototype to avoid an error. | 16885 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10656,18 +16897,43 @@ return maillock (); | |||
| 10656 | return 0; | 16897 | return 0; |
| 10657 | } | 16898 | } |
| 10658 | _ACEOF | 16899 | _ACEOF |
| 10659 | if ac_fn_c_try_link "$LINENO"; then : | 16900 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16901 | if { (ac_try="$ac_link" | ||
| 16902 | case "(($ac_try" in | ||
| 16903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16904 | *) ac_try_echo=$ac_try;; | ||
| 16905 | esac | ||
| 16906 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16907 | $as_echo "$ac_try_echo") >&5 | ||
| 16908 | (eval "$ac_link") 2>conftest.er1 | ||
| 16909 | ac_status=$? | ||
| 16910 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16911 | rm -f conftest.er1 | ||
| 16912 | cat conftest.err >&5 | ||
| 16913 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16914 | (exit $ac_status); } && { | ||
| 16915 | test -z "$ac_c_werror_flag" || | ||
| 16916 | test ! -s conftest.err | ||
| 16917 | } && test -s conftest$ac_exeext && { | ||
| 16918 | test "$cross_compiling" = yes || | ||
| 16919 | $as_test_x conftest$ac_exeext | ||
| 16920 | }; then | ||
| 10660 | ac_cv_lib_mail_maillock=yes | 16921 | ac_cv_lib_mail_maillock=yes |
| 10661 | else | 16922 | else |
| 10662 | ac_cv_lib_mail_maillock=no | 16923 | $as_echo "$as_me: failed program was:" >&5 |
| 16924 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16925 | |||
| 16926 | ac_cv_lib_mail_maillock=no | ||
| 10663 | fi | 16927 | fi |
| 10664 | rm -f core conftest.err conftest.$ac_objext \ | 16928 | |
| 10665 | conftest$ac_exeext conftest.$ac_ext | 16929 | rm -rf conftest.dSYM |
| 16930 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16931 | conftest$ac_exeext conftest.$ac_ext | ||
| 10666 | LIBS=$ac_check_lib_save_LIBS | 16932 | LIBS=$ac_check_lib_save_LIBS |
| 10667 | fi | 16933 | fi |
| 10668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mail_maillock" >&5 | 16934 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
| 10669 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } | 16935 | $as_echo "$ac_cv_lib_mail_maillock" >&6; } |
| 10670 | if test "x$ac_cv_lib_mail_maillock" = x""yes; then : | 16936 | if test $ac_cv_lib_mail_maillock = yes; then |
| 10671 | have_mail=yes | 16937 | have_mail=yes |
| 10672 | else | 16938 | else |
| 10673 | have_mail=no | 16939 | have_mail=no |
| @@ -10677,19 +16943,25 @@ if test $have_mail = yes; then | |||
| 10677 | LIBS_MAIL=-lmail | 16943 | LIBS_MAIL=-lmail |
| 10678 | LIBS="$LIBS_MAIL $LIBS" | 16944 | LIBS="$LIBS_MAIL $LIBS" |
| 10679 | 16945 | ||
| 10680 | $as_echo "#define HAVE_LIBMAIL 1" >>confdefs.h | 16946 | cat >>confdefs.h <<\_ACEOF |
| 16947 | #define HAVE_LIBMAIL 1 | ||
| 16948 | _ACEOF | ||
| 10681 | 16949 | ||
| 10682 | else | 16950 | else |
| 10683 | LIBS_MAIL= | 16951 | LIBS_MAIL= |
| 10684 | fi | 16952 | fi |
| 10685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 | 16953 | { $as_echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
| 10686 | $as_echo_n "checking for maillock in -llockfile... " >&6; } | 16954 | $as_echo_n "checking for maillock in -llockfile... " >&6; } |
| 10687 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : | 16955 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
| 10688 | $as_echo_n "(cached) " >&6 | 16956 | $as_echo_n "(cached) " >&6 |
| 10689 | else | 16957 | else |
| 10690 | ac_check_lib_save_LIBS=$LIBS | 16958 | ac_check_lib_save_LIBS=$LIBS |
| 10691 | LIBS="-llockfile $LIBS" | 16959 | LIBS="-llockfile $LIBS" |
| 10692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16960 | cat >conftest.$ac_ext <<_ACEOF |
| 16961 | /* confdefs.h. */ | ||
| 16962 | _ACEOF | ||
| 16963 | cat confdefs.h >>conftest.$ac_ext | ||
| 16964 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10693 | /* end confdefs.h. */ | 16965 | /* end confdefs.h. */ |
| 10694 | 16966 | ||
| 10695 | /* Override any GCC internal prototype to avoid an error. | 16967 | /* Override any GCC internal prototype to avoid an error. |
| @@ -10707,18 +16979,43 @@ return maillock (); | |||
| 10707 | return 0; | 16979 | return 0; |
| 10708 | } | 16980 | } |
| 10709 | _ACEOF | 16981 | _ACEOF |
| 10710 | if ac_fn_c_try_link "$LINENO"; then : | 16982 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16983 | if { (ac_try="$ac_link" | ||
| 16984 | case "(($ac_try" in | ||
| 16985 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16986 | *) ac_try_echo=$ac_try;; | ||
| 16987 | esac | ||
| 16988 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 16989 | $as_echo "$ac_try_echo") >&5 | ||
| 16990 | (eval "$ac_link") 2>conftest.er1 | ||
| 16991 | ac_status=$? | ||
| 16992 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 16993 | rm -f conftest.er1 | ||
| 16994 | cat conftest.err >&5 | ||
| 16995 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16996 | (exit $ac_status); } && { | ||
| 16997 | test -z "$ac_c_werror_flag" || | ||
| 16998 | test ! -s conftest.err | ||
| 16999 | } && test -s conftest$ac_exeext && { | ||
| 17000 | test "$cross_compiling" = yes || | ||
| 17001 | $as_test_x conftest$ac_exeext | ||
| 17002 | }; then | ||
| 10711 | ac_cv_lib_lockfile_maillock=yes | 17003 | ac_cv_lib_lockfile_maillock=yes |
| 10712 | else | 17004 | else |
| 10713 | ac_cv_lib_lockfile_maillock=no | 17005 | $as_echo "$as_me: failed program was:" >&5 |
| 17006 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17007 | |||
| 17008 | ac_cv_lib_lockfile_maillock=no | ||
| 10714 | fi | 17009 | fi |
| 10715 | rm -f core conftest.err conftest.$ac_objext \ | 17010 | |
| 10716 | conftest$ac_exeext conftest.$ac_ext | 17011 | rm -rf conftest.dSYM |
| 17012 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17013 | conftest$ac_exeext conftest.$ac_ext | ||
| 10717 | LIBS=$ac_check_lib_save_LIBS | 17014 | LIBS=$ac_check_lib_save_LIBS |
| 10718 | fi | 17015 | fi |
| 10719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 | 17016 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
| 10720 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } | 17017 | $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } |
| 10721 | if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : | 17018 | if test $ac_cv_lib_lockfile_maillock = yes; then |
| 10722 | have_lockfile=yes | 17019 | have_lockfile=yes |
| 10723 | else | 17020 | else |
| 10724 | have_lockfile=no | 17021 | have_lockfile=no |
| @@ -10728,7 +17025,9 @@ if test $have_lockfile = yes; then | |||
| 10728 | LIBS_MAIL=-llockfile | 17025 | LIBS_MAIL=-llockfile |
| 10729 | LIBS="$LIBS_MAIL $LIBS" | 17026 | LIBS="$LIBS_MAIL $LIBS" |
| 10730 | 17027 | ||
| 10731 | $as_echo "#define HAVE_LIBLOCKFILE 1" >>confdefs.h | 17028 | cat >>confdefs.h <<\_ACEOF |
| 17029 | #define HAVE_LIBLOCKFILE 1 | ||
| 17030 | _ACEOF | ||
| 10732 | 17031 | ||
| 10733 | else | 17032 | else |
| 10734 | # If we have the shared liblockfile, assume we must use it for mail | 17033 | # If we have the shared liblockfile, assume we must use it for mail |
| @@ -10736,9 +17035,9 @@ else | |||
| 10736 | # (no liblockfile.a installed), ensure that we don't need to. | 17035 | # (no liblockfile.a installed), ensure that we don't need to. |
| 10737 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 17036 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 10738 | set dummy liblockfile.so; ac_word=$2 | 17037 | set dummy liblockfile.so; ac_word=$2 |
| 10739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 17038 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 10740 | $as_echo_n "checking for $ac_word... " >&6; } | 17039 | $as_echo_n "checking for $ac_word... " >&6; } |
| 10741 | if test "${ac_cv_prog_liblockfile+set}" = set; then : | 17040 | if test "${ac_cv_prog_liblockfile+set}" = set; then |
| 10742 | $as_echo_n "(cached) " >&6 | 17041 | $as_echo_n "(cached) " >&6 |
| 10743 | else | 17042 | else |
| 10744 | if test -n "$liblockfile"; then | 17043 | if test -n "$liblockfile"; then |
| @@ -10750,14 +17049,14 @@ for as_dir in $as_dummy | |||
| 10750 | do | 17049 | do |
| 10751 | IFS=$as_save_IFS | 17050 | IFS=$as_save_IFS |
| 10752 | test -z "$as_dir" && as_dir=. | 17051 | test -z "$as_dir" && as_dir=. |
| 10753 | for ac_exec_ext in '' $ac_executable_extensions; do | 17052 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10754 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17053 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10755 | ac_cv_prog_liblockfile="yes" | 17054 | ac_cv_prog_liblockfile="yes" |
| 10756 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17055 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10757 | break 2 | 17056 | break 2 |
| 10758 | fi | 17057 | fi |
| 10759 | done | 17058 | done |
| 10760 | done | 17059 | done |
| 10761 | IFS=$as_save_IFS | 17060 | IFS=$as_save_IFS |
| 10762 | 17061 | ||
| 10763 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 17062 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
| @@ -10765,37 +17064,263 @@ fi | |||
| 10765 | fi | 17064 | fi |
| 10766 | liblockfile=$ac_cv_prog_liblockfile | 17065 | liblockfile=$ac_cv_prog_liblockfile |
| 10767 | if test -n "$liblockfile"; then | 17066 | if test -n "$liblockfile"; then |
| 10768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblockfile" >&5 | 17067 | { $as_echo "$as_me:$LINENO: result: $liblockfile" >&5 |
| 10769 | $as_echo "$liblockfile" >&6; } | 17068 | $as_echo "$liblockfile" >&6; } |
| 10770 | else | 17069 | else |
| 10771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 17070 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 10772 | $as_echo "no" >&6; } | 17071 | $as_echo "no" >&6; } |
| 10773 | fi | 17072 | fi |
| 10774 | 17073 | ||
| 10775 | 17074 | ||
| 10776 | if test $ac_cv_prog_liblockfile = yes; then | 17075 | if test $ac_cv_prog_liblockfile = yes; then |
| 10777 | as_fn_error "Shared liblockfile found but can't link against it. | 17076 | { { $as_echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
| 10778 | This probably means that movemail could lose mail. | 17077 | This probably means that movemail could lose mail. |
| 10779 | There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 17078 | There may be a \`development' package to install containing liblockfile." >&5 |
| 17079 | $as_echo "$as_me: error: Shared liblockfile found but can't link against it. | ||
| 17080 | This probably means that movemail could lose mail. | ||
| 17081 | There may be a \`development' package to install containing liblockfile." >&2;} | ||
| 17082 | { (exit 1); exit 1; }; } | ||
| 10780 | fi | 17083 | fi |
| 10781 | fi | 17084 | fi |
| 17085 | |||
| 10782 | for ac_func in touchlock | 17086 | for ac_func in touchlock |
| 10783 | do : | 17087 | do |
| 10784 | ac_fn_c_check_func "$LINENO" "touchlock" "ac_cv_func_touchlock" | 17088 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10785 | if test "x$ac_cv_func_touchlock" = x""yes; then : | 17089 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17090 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 17091 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17092 | $as_echo_n "(cached) " >&6 | ||
| 17093 | else | ||
| 17094 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17095 | /* confdefs.h. */ | ||
| 17096 | _ACEOF | ||
| 17097 | cat confdefs.h >>conftest.$ac_ext | ||
| 17098 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17099 | /* end confdefs.h. */ | ||
| 17100 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17101 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17102 | #define $ac_func innocuous_$ac_func | ||
| 17103 | |||
| 17104 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17105 | which can conflict with char $ac_func (); below. | ||
| 17106 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17107 | <limits.h> exists even on freestanding compilers. */ | ||
| 17108 | |||
| 17109 | #ifdef __STDC__ | ||
| 17110 | # include <limits.h> | ||
| 17111 | #else | ||
| 17112 | # include <assert.h> | ||
| 17113 | #endif | ||
| 17114 | |||
| 17115 | #undef $ac_func | ||
| 17116 | |||
| 17117 | /* Override any GCC internal prototype to avoid an error. | ||
| 17118 | Use char because int might match the return type of a GCC | ||
| 17119 | builtin and then its argument prototype would still apply. */ | ||
| 17120 | #ifdef __cplusplus | ||
| 17121 | extern "C" | ||
| 17122 | #endif | ||
| 17123 | char $ac_func (); | ||
| 17124 | /* The GNU C library defines this for functions which it implements | ||
| 17125 | to always fail with ENOSYS. Some functions are actually named | ||
| 17126 | something starting with __ and the normal name is an alias. */ | ||
| 17127 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17128 | choke me | ||
| 17129 | #endif | ||
| 17130 | |||
| 17131 | int | ||
| 17132 | main () | ||
| 17133 | { | ||
| 17134 | return $ac_func (); | ||
| 17135 | ; | ||
| 17136 | return 0; | ||
| 17137 | } | ||
| 17138 | _ACEOF | ||
| 17139 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17140 | if { (ac_try="$ac_link" | ||
| 17141 | case "(($ac_try" in | ||
| 17142 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17143 | *) ac_try_echo=$ac_try;; | ||
| 17144 | esac | ||
| 17145 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17146 | $as_echo "$ac_try_echo") >&5 | ||
| 17147 | (eval "$ac_link") 2>conftest.er1 | ||
| 17148 | ac_status=$? | ||
| 17149 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17150 | rm -f conftest.er1 | ||
| 17151 | cat conftest.err >&5 | ||
| 17152 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17153 | (exit $ac_status); } && { | ||
| 17154 | test -z "$ac_c_werror_flag" || | ||
| 17155 | test ! -s conftest.err | ||
| 17156 | } && test -s conftest$ac_exeext && { | ||
| 17157 | test "$cross_compiling" = yes || | ||
| 17158 | $as_test_x conftest$ac_exeext | ||
| 17159 | }; then | ||
| 17160 | eval "$as_ac_var=yes" | ||
| 17161 | else | ||
| 17162 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17163 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17164 | |||
| 17165 | eval "$as_ac_var=no" | ||
| 17166 | fi | ||
| 17167 | |||
| 17168 | rm -rf conftest.dSYM | ||
| 17169 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17170 | conftest$ac_exeext conftest.$ac_ext | ||
| 17171 | fi | ||
| 17172 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17173 | $as_echo "$as_val"'` | ||
| 17174 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17175 | $as_echo "$ac_res" >&6; } | ||
| 17176 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17177 | $as_echo "$as_val"'` = yes; then | ||
| 10786 | cat >>confdefs.h <<_ACEOF | 17178 | cat >>confdefs.h <<_ACEOF |
| 10787 | #define HAVE_TOUCHLOCK 1 | 17179 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10788 | _ACEOF | 17180 | _ACEOF |
| 10789 | 17181 | ||
| 10790 | fi | 17182 | fi |
| 10791 | done | 17183 | done |
| 10792 | 17184 | ||
| 17185 | |||
| 10793 | for ac_header in maillock.h | 17186 | for ac_header in maillock.h |
| 10794 | do : | 17187 | do |
| 10795 | ac_fn_c_check_header_mongrel "$LINENO" "maillock.h" "ac_cv_header_maillock_h" "$ac_includes_default" | 17188 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10796 | if test "x$ac_cv_header_maillock_h" = x""yes; then : | 17189 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17190 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17191 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17192 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17193 | $as_echo_n "(cached) " >&6 | ||
| 17194 | fi | ||
| 17195 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17196 | $as_echo "$as_val"'` | ||
| 17197 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17198 | $as_echo "$ac_res" >&6; } | ||
| 17199 | else | ||
| 17200 | # Is the header compilable? | ||
| 17201 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17202 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17203 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17204 | /* confdefs.h. */ | ||
| 17205 | _ACEOF | ||
| 17206 | cat confdefs.h >>conftest.$ac_ext | ||
| 17207 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17208 | /* end confdefs.h. */ | ||
| 17209 | $ac_includes_default | ||
| 17210 | #include <$ac_header> | ||
| 17211 | _ACEOF | ||
| 17212 | rm -f conftest.$ac_objext | ||
| 17213 | if { (ac_try="$ac_compile" | ||
| 17214 | case "(($ac_try" in | ||
| 17215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17216 | *) ac_try_echo=$ac_try;; | ||
| 17217 | esac | ||
| 17218 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17219 | $as_echo "$ac_try_echo") >&5 | ||
| 17220 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17221 | ac_status=$? | ||
| 17222 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17223 | rm -f conftest.er1 | ||
| 17224 | cat conftest.err >&5 | ||
| 17225 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17226 | (exit $ac_status); } && { | ||
| 17227 | test -z "$ac_c_werror_flag" || | ||
| 17228 | test ! -s conftest.err | ||
| 17229 | } && test -s conftest.$ac_objext; then | ||
| 17230 | ac_header_compiler=yes | ||
| 17231 | else | ||
| 17232 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17233 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17234 | |||
| 17235 | ac_header_compiler=no | ||
| 17236 | fi | ||
| 17237 | |||
| 17238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17239 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17240 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17241 | |||
| 17242 | # Is the header present? | ||
| 17243 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17244 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17245 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17246 | /* confdefs.h. */ | ||
| 17247 | _ACEOF | ||
| 17248 | cat confdefs.h >>conftest.$ac_ext | ||
| 17249 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17250 | /* end confdefs.h. */ | ||
| 17251 | #include <$ac_header> | ||
| 17252 | _ACEOF | ||
| 17253 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17254 | case "(($ac_try" in | ||
| 17255 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17256 | *) ac_try_echo=$ac_try;; | ||
| 17257 | esac | ||
| 17258 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17259 | $as_echo "$ac_try_echo") >&5 | ||
| 17260 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17261 | ac_status=$? | ||
| 17262 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17263 | rm -f conftest.er1 | ||
| 17264 | cat conftest.err >&5 | ||
| 17265 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17266 | (exit $ac_status); } >/dev/null && { | ||
| 17267 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17268 | test ! -s conftest.err | ||
| 17269 | }; then | ||
| 17270 | ac_header_preproc=yes | ||
| 17271 | else | ||
| 17272 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17273 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17274 | |||
| 17275 | ac_header_preproc=no | ||
| 17276 | fi | ||
| 17277 | |||
| 17278 | rm -f conftest.err conftest.$ac_ext | ||
| 17279 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17280 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17281 | |||
| 17282 | # So? What about this header? | ||
| 17283 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17284 | yes:no: ) | ||
| 17285 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17286 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17287 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17288 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17289 | ac_header_preproc=yes | ||
| 17290 | ;; | ||
| 17291 | no:yes:* ) | ||
| 17292 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17293 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17294 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17295 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17296 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17297 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17298 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17299 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17300 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17301 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17302 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17303 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17304 | |||
| 17305 | ;; | ||
| 17306 | esac | ||
| 17307 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17308 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17309 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17310 | $as_echo_n "(cached) " >&6 | ||
| 17311 | else | ||
| 17312 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17313 | fi | ||
| 17314 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17315 | $as_echo "$as_val"'` | ||
| 17316 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17317 | $as_echo "$ac_res" >&6; } | ||
| 17318 | |||
| 17319 | fi | ||
| 17320 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17321 | $as_echo "$as_val"'` = yes; then | ||
| 10797 | cat >>confdefs.h <<_ACEOF | 17322 | cat >>confdefs.h <<_ACEOF |
| 10798 | #define HAVE_MAILLOCK_H 1 | 17323 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10799 | _ACEOF | 17324 | _ACEOF |
| 10800 | 17325 | ||
| 10801 | fi | 17326 | fi |
| @@ -10804,6 +17329,77 @@ done | |||
| 10804 | 17329 | ||
| 10805 | 17330 | ||
| 10806 | 17331 | ||
| 17332 | |||
| 17333 | |||
| 17334 | |||
| 17335 | |||
| 17336 | |||
| 17337 | |||
| 17338 | |||
| 17339 | |||
| 17340 | |||
| 17341 | |||
| 17342 | |||
| 17343 | |||
| 17344 | |||
| 17345 | |||
| 17346 | |||
| 17347 | |||
| 17348 | |||
| 17349 | |||
| 17350 | |||
| 17351 | |||
| 17352 | |||
| 17353 | |||
| 17354 | |||
| 17355 | |||
| 17356 | |||
| 17357 | |||
| 17358 | |||
| 17359 | |||
| 17360 | |||
| 17361 | |||
| 17362 | |||
| 17363 | |||
| 17364 | |||
| 17365 | |||
| 17366 | |||
| 17367 | |||
| 17368 | |||
| 17369 | |||
| 17370 | |||
| 17371 | |||
| 17372 | |||
| 17373 | |||
| 17374 | |||
| 17375 | |||
| 17376 | |||
| 17377 | |||
| 17378 | |||
| 17379 | |||
| 17380 | |||
| 17381 | |||
| 17382 | |||
| 17383 | |||
| 17384 | |||
| 17385 | |||
| 17386 | |||
| 17387 | |||
| 17388 | |||
| 17389 | |||
| 17390 | |||
| 17391 | |||
| 17392 | |||
| 17393 | |||
| 17394 | |||
| 17395 | |||
| 17396 | |||
| 17397 | |||
| 17398 | |||
| 17399 | |||
| 17400 | |||
| 17401 | |||
| 17402 | |||
| 10807 | for ac_func in gethostname getdomainname dup2 \ | 17403 | for ac_func in gethostname getdomainname dup2 \ |
| 10808 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ | 17404 | rename closedir mkdir rmdir sysinfo getrusage get_current_dir_name \ |
| 10809 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ | 17405 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime setsid \ |
| @@ -10814,11 +17410,97 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \ | |||
| 10814 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 17410 | gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
| 10815 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 17411 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
| 10816 | cfmakeraw cfsetspeed | 17412 | cfmakeraw cfsetspeed |
| 10817 | do : | 17413 | do |
| 10818 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17414 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10819 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17415 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10820 | eval as_val=\$$as_ac_var | 17416 | $as_echo_n "checking for $ac_func... " >&6; } |
| 10821 | if test "x$as_val" = x""yes; then : | 17417 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17418 | $as_echo_n "(cached) " >&6 | ||
| 17419 | else | ||
| 17420 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17421 | /* confdefs.h. */ | ||
| 17422 | _ACEOF | ||
| 17423 | cat confdefs.h >>conftest.$ac_ext | ||
| 17424 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17425 | /* end confdefs.h. */ | ||
| 17426 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17427 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17428 | #define $ac_func innocuous_$ac_func | ||
| 17429 | |||
| 17430 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17431 | which can conflict with char $ac_func (); below. | ||
| 17432 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17433 | <limits.h> exists even on freestanding compilers. */ | ||
| 17434 | |||
| 17435 | #ifdef __STDC__ | ||
| 17436 | # include <limits.h> | ||
| 17437 | #else | ||
| 17438 | # include <assert.h> | ||
| 17439 | #endif | ||
| 17440 | |||
| 17441 | #undef $ac_func | ||
| 17442 | |||
| 17443 | /* Override any GCC internal prototype to avoid an error. | ||
| 17444 | Use char because int might match the return type of a GCC | ||
| 17445 | builtin and then its argument prototype would still apply. */ | ||
| 17446 | #ifdef __cplusplus | ||
| 17447 | extern "C" | ||
| 17448 | #endif | ||
| 17449 | char $ac_func (); | ||
| 17450 | /* The GNU C library defines this for functions which it implements | ||
| 17451 | to always fail with ENOSYS. Some functions are actually named | ||
| 17452 | something starting with __ and the normal name is an alias. */ | ||
| 17453 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17454 | choke me | ||
| 17455 | #endif | ||
| 17456 | |||
| 17457 | int | ||
| 17458 | main () | ||
| 17459 | { | ||
| 17460 | return $ac_func (); | ||
| 17461 | ; | ||
| 17462 | return 0; | ||
| 17463 | } | ||
| 17464 | _ACEOF | ||
| 17465 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17466 | if { (ac_try="$ac_link" | ||
| 17467 | case "(($ac_try" in | ||
| 17468 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17469 | *) ac_try_echo=$ac_try;; | ||
| 17470 | esac | ||
| 17471 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17472 | $as_echo "$ac_try_echo") >&5 | ||
| 17473 | (eval "$ac_link") 2>conftest.er1 | ||
| 17474 | ac_status=$? | ||
| 17475 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17476 | rm -f conftest.er1 | ||
| 17477 | cat conftest.err >&5 | ||
| 17478 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17479 | (exit $ac_status); } && { | ||
| 17480 | test -z "$ac_c_werror_flag" || | ||
| 17481 | test ! -s conftest.err | ||
| 17482 | } && test -s conftest$ac_exeext && { | ||
| 17483 | test "$cross_compiling" = yes || | ||
| 17484 | $as_test_x conftest$ac_exeext | ||
| 17485 | }; then | ||
| 17486 | eval "$as_ac_var=yes" | ||
| 17487 | else | ||
| 17488 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17489 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17490 | |||
| 17491 | eval "$as_ac_var=no" | ||
| 17492 | fi | ||
| 17493 | |||
| 17494 | rm -rf conftest.dSYM | ||
| 17495 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17496 | conftest$ac_exeext conftest.$ac_ext | ||
| 17497 | fi | ||
| 17498 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17499 | $as_echo "$as_val"'` | ||
| 17500 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17501 | $as_echo "$ac_res" >&6; } | ||
| 17502 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17503 | $as_echo "$as_val"'` = yes; then | ||
| 10822 | cat >>confdefs.h <<_ACEOF | 17504 | cat >>confdefs.h <<_ACEOF |
| 10823 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17505 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10824 | _ACEOF | 17506 | _ACEOF |
| @@ -10827,12 +17509,294 @@ fi | |||
| 10827 | done | 17509 | done |
| 10828 | 17510 | ||
| 10829 | 17511 | ||
| 17512 | |||
| 10830 | for ac_header in sys/un.h | 17513 | for ac_header in sys/un.h |
| 10831 | do : | 17514 | do |
| 10832 | ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" | 17515 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10833 | if test "x$ac_cv_header_sys_un_h" = x""yes; then : | 17516 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17517 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17518 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17519 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17520 | $as_echo_n "(cached) " >&6 | ||
| 17521 | fi | ||
| 17522 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17523 | $as_echo "$as_val"'` | ||
| 17524 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17525 | $as_echo "$ac_res" >&6; } | ||
| 17526 | else | ||
| 17527 | # Is the header compilable? | ||
| 17528 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17529 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17530 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17531 | /* confdefs.h. */ | ||
| 17532 | _ACEOF | ||
| 17533 | cat confdefs.h >>conftest.$ac_ext | ||
| 17534 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17535 | /* end confdefs.h. */ | ||
| 17536 | $ac_includes_default | ||
| 17537 | #include <$ac_header> | ||
| 17538 | _ACEOF | ||
| 17539 | rm -f conftest.$ac_objext | ||
| 17540 | if { (ac_try="$ac_compile" | ||
| 17541 | case "(($ac_try" in | ||
| 17542 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17543 | *) ac_try_echo=$ac_try;; | ||
| 17544 | esac | ||
| 17545 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17546 | $as_echo "$ac_try_echo") >&5 | ||
| 17547 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17548 | ac_status=$? | ||
| 17549 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17550 | rm -f conftest.er1 | ||
| 17551 | cat conftest.err >&5 | ||
| 17552 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17553 | (exit $ac_status); } && { | ||
| 17554 | test -z "$ac_c_werror_flag" || | ||
| 17555 | test ! -s conftest.err | ||
| 17556 | } && test -s conftest.$ac_objext; then | ||
| 17557 | ac_header_compiler=yes | ||
| 17558 | else | ||
| 17559 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17560 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17561 | |||
| 17562 | ac_header_compiler=no | ||
| 17563 | fi | ||
| 17564 | |||
| 17565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17566 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17567 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17568 | |||
| 17569 | # Is the header present? | ||
| 17570 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17571 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17572 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17573 | /* confdefs.h. */ | ||
| 17574 | _ACEOF | ||
| 17575 | cat confdefs.h >>conftest.$ac_ext | ||
| 17576 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17577 | /* end confdefs.h. */ | ||
| 17578 | #include <$ac_header> | ||
| 17579 | _ACEOF | ||
| 17580 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17581 | case "(($ac_try" in | ||
| 17582 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17583 | *) ac_try_echo=$ac_try;; | ||
| 17584 | esac | ||
| 17585 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17586 | $as_echo "$ac_try_echo") >&5 | ||
| 17587 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17588 | ac_status=$? | ||
| 17589 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17590 | rm -f conftest.er1 | ||
| 17591 | cat conftest.err >&5 | ||
| 17592 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17593 | (exit $ac_status); } >/dev/null && { | ||
| 17594 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17595 | test ! -s conftest.err | ||
| 17596 | }; then | ||
| 17597 | ac_header_preproc=yes | ||
| 17598 | else | ||
| 17599 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17600 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17601 | |||
| 17602 | ac_header_preproc=no | ||
| 17603 | fi | ||
| 17604 | |||
| 17605 | rm -f conftest.err conftest.$ac_ext | ||
| 17606 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17607 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17608 | |||
| 17609 | # So? What about this header? | ||
| 17610 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17611 | yes:no: ) | ||
| 17612 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17613 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17614 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17615 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17616 | ac_header_preproc=yes | ||
| 17617 | ;; | ||
| 17618 | no:yes:* ) | ||
| 17619 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17620 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17621 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17622 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17623 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17624 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17625 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17626 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17627 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17628 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17629 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17630 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17631 | |||
| 17632 | ;; | ||
| 17633 | esac | ||
| 17634 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17635 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17636 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17637 | $as_echo_n "(cached) " >&6 | ||
| 17638 | else | ||
| 17639 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17640 | fi | ||
| 17641 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17642 | $as_echo "$as_val"'` | ||
| 17643 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17644 | $as_echo "$ac_res" >&6; } | ||
| 17645 | |||
| 17646 | fi | ||
| 17647 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17648 | $as_echo "$as_val"'` = yes; then | ||
| 17649 | cat >>confdefs.h <<_ACEOF | ||
| 17650 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 17651 | _ACEOF | ||
| 17652 | |||
| 17653 | fi | ||
| 17654 | |||
| 17655 | done | ||
| 17656 | |||
| 17657 | |||
| 17658 | |||
| 17659 | |||
| 17660 | |||
| 17661 | |||
| 17662 | for ac_header in $ac_header_list | ||
| 17663 | do | ||
| 17664 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 17665 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17666 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17667 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17669 | $as_echo_n "(cached) " >&6 | ||
| 17670 | fi | ||
| 17671 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17672 | $as_echo "$as_val"'` | ||
| 17673 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17674 | $as_echo "$ac_res" >&6; } | ||
| 17675 | else | ||
| 17676 | # Is the header compilable? | ||
| 17677 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17678 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 17679 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17680 | /* confdefs.h. */ | ||
| 17681 | _ACEOF | ||
| 17682 | cat confdefs.h >>conftest.$ac_ext | ||
| 17683 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17684 | /* end confdefs.h. */ | ||
| 17685 | $ac_includes_default | ||
| 17686 | #include <$ac_header> | ||
| 17687 | _ACEOF | ||
| 17688 | rm -f conftest.$ac_objext | ||
| 17689 | if { (ac_try="$ac_compile" | ||
| 17690 | case "(($ac_try" in | ||
| 17691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17692 | *) ac_try_echo=$ac_try;; | ||
| 17693 | esac | ||
| 17694 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17695 | $as_echo "$ac_try_echo") >&5 | ||
| 17696 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17697 | ac_status=$? | ||
| 17698 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17699 | rm -f conftest.er1 | ||
| 17700 | cat conftest.err >&5 | ||
| 17701 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17702 | (exit $ac_status); } && { | ||
| 17703 | test -z "$ac_c_werror_flag" || | ||
| 17704 | test ! -s conftest.err | ||
| 17705 | } && test -s conftest.$ac_objext; then | ||
| 17706 | ac_header_compiler=yes | ||
| 17707 | else | ||
| 17708 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17709 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17710 | |||
| 17711 | ac_header_compiler=no | ||
| 17712 | fi | ||
| 17713 | |||
| 17714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17715 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17716 | $as_echo "$ac_header_compiler" >&6; } | ||
| 17717 | |||
| 17718 | # Is the header present? | ||
| 17719 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17720 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 17721 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17722 | /* confdefs.h. */ | ||
| 17723 | _ACEOF | ||
| 17724 | cat confdefs.h >>conftest.$ac_ext | ||
| 17725 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17726 | /* end confdefs.h. */ | ||
| 17727 | #include <$ac_header> | ||
| 17728 | _ACEOF | ||
| 17729 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 17730 | case "(($ac_try" in | ||
| 17731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17732 | *) ac_try_echo=$ac_try;; | ||
| 17733 | esac | ||
| 17734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17735 | $as_echo "$ac_try_echo") >&5 | ||
| 17736 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17737 | ac_status=$? | ||
| 17738 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17739 | rm -f conftest.er1 | ||
| 17740 | cat conftest.err >&5 | ||
| 17741 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17742 | (exit $ac_status); } >/dev/null && { | ||
| 17743 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 17744 | test ! -s conftest.err | ||
| 17745 | }; then | ||
| 17746 | ac_header_preproc=yes | ||
| 17747 | else | ||
| 17748 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17749 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17750 | |||
| 17751 | ac_header_preproc=no | ||
| 17752 | fi | ||
| 17753 | |||
| 17754 | rm -f conftest.err conftest.$ac_ext | ||
| 17755 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17756 | $as_echo "$ac_header_preproc" >&6; } | ||
| 17757 | |||
| 17758 | # So? What about this header? | ||
| 17759 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 17760 | yes:no: ) | ||
| 17761 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17762 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17763 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 17764 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 17765 | ac_header_preproc=yes | ||
| 17766 | ;; | ||
| 17767 | no:yes:* ) | ||
| 17768 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17769 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17770 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17771 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17772 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 17773 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 17774 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 17775 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 17776 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17777 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17778 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 17779 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 17780 | |||
| 17781 | ;; | ||
| 17782 | esac | ||
| 17783 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17784 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 17785 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17786 | $as_echo_n "(cached) " >&6 | ||
| 17787 | else | ||
| 17788 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 17789 | fi | ||
| 17790 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 17791 | $as_echo "$as_val"'` | ||
| 17792 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17793 | $as_echo "$ac_res" >&6; } | ||
| 17794 | |||
| 17795 | fi | ||
| 17796 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 17797 | $as_echo "$as_val"'` = yes; then | ||
| 10834 | cat >>confdefs.h <<_ACEOF | 17798 | cat >>confdefs.h <<_ACEOF |
| 10835 | #define HAVE_SYS_UN_H 1 | 17799 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 10836 | _ACEOF | 17800 | _ACEOF |
| 10837 | 17801 | ||
| 10838 | fi | 17802 | fi |
| @@ -10845,12 +17809,100 @@ done | |||
| 10845 | 17809 | ||
| 10846 | 17810 | ||
| 10847 | 17811 | ||
| 10848 | for ac_func in $ac_func_list | 17812 | |
| 10849 | do : | 17813 | |
| 10850 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17814 | for ac_func in $ac_func_list |
| 10851 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 17815 | do |
| 10852 | eval as_val=\$$as_ac_var | 17816 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10853 | if test "x$as_val" = x""yes; then : | 17817 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17818 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 17819 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 17820 | $as_echo_n "(cached) " >&6 | ||
| 17821 | else | ||
| 17822 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17823 | /* confdefs.h. */ | ||
| 17824 | _ACEOF | ||
| 17825 | cat confdefs.h >>conftest.$ac_ext | ||
| 17826 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17827 | /* end confdefs.h. */ | ||
| 17828 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 17829 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 17830 | #define $ac_func innocuous_$ac_func | ||
| 17831 | |||
| 17832 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 17833 | which can conflict with char $ac_func (); below. | ||
| 17834 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 17835 | <limits.h> exists even on freestanding compilers. */ | ||
| 17836 | |||
| 17837 | #ifdef __STDC__ | ||
| 17838 | # include <limits.h> | ||
| 17839 | #else | ||
| 17840 | # include <assert.h> | ||
| 17841 | #endif | ||
| 17842 | |||
| 17843 | #undef $ac_func | ||
| 17844 | |||
| 17845 | /* Override any GCC internal prototype to avoid an error. | ||
| 17846 | Use char because int might match the return type of a GCC | ||
| 17847 | builtin and then its argument prototype would still apply. */ | ||
| 17848 | #ifdef __cplusplus | ||
| 17849 | extern "C" | ||
| 17850 | #endif | ||
| 17851 | char $ac_func (); | ||
| 17852 | /* The GNU C library defines this for functions which it implements | ||
| 17853 | to always fail with ENOSYS. Some functions are actually named | ||
| 17854 | something starting with __ and the normal name is an alias. */ | ||
| 17855 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 17856 | choke me | ||
| 17857 | #endif | ||
| 17858 | |||
| 17859 | int | ||
| 17860 | main () | ||
| 17861 | { | ||
| 17862 | return $ac_func (); | ||
| 17863 | ; | ||
| 17864 | return 0; | ||
| 17865 | } | ||
| 17866 | _ACEOF | ||
| 17867 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17868 | if { (ac_try="$ac_link" | ||
| 17869 | case "(($ac_try" in | ||
| 17870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17871 | *) ac_try_echo=$ac_try;; | ||
| 17872 | esac | ||
| 17873 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 17874 | $as_echo "$ac_try_echo") >&5 | ||
| 17875 | (eval "$ac_link") 2>conftest.er1 | ||
| 17876 | ac_status=$? | ||
| 17877 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17878 | rm -f conftest.er1 | ||
| 17879 | cat conftest.err >&5 | ||
| 17880 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17881 | (exit $ac_status); } && { | ||
| 17882 | test -z "$ac_c_werror_flag" || | ||
| 17883 | test ! -s conftest.err | ||
| 17884 | } && test -s conftest$ac_exeext && { | ||
| 17885 | test "$cross_compiling" = yes || | ||
| 17886 | $as_test_x conftest$ac_exeext | ||
| 17887 | }; then | ||
| 17888 | eval "$as_ac_var=yes" | ||
| 17889 | else | ||
| 17890 | $as_echo "$as_me: failed program was:" >&5 | ||
| 17891 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17892 | |||
| 17893 | eval "$as_ac_var=no" | ||
| 17894 | fi | ||
| 17895 | |||
| 17896 | rm -rf conftest.dSYM | ||
| 17897 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17898 | conftest$ac_exeext conftest.$ac_ext | ||
| 17899 | fi | ||
| 17900 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 17901 | $as_echo "$as_val"'` | ||
| 17902 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 17903 | $as_echo "$ac_res" >&6; } | ||
| 17904 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 17905 | $as_echo "$as_val"'` = yes; then | ||
| 10854 | cat >>confdefs.h <<_ACEOF | 17906 | cat >>confdefs.h <<_ACEOF |
| 10855 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17907 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 10856 | _ACEOF | 17908 | _ACEOF |
| @@ -10862,15 +17914,31 @@ done | |||
| 10862 | 17914 | ||
| 10863 | 17915 | ||
| 10864 | 17916 | ||
| 10865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5 | 17917 | |
| 17918 | |||
| 17919 | |||
| 17920 | |||
| 17921 | |||
| 17922 | |||
| 17923 | |||
| 17924 | |||
| 17925 | |||
| 17926 | |||
| 17927 | |||
| 17928 | |||
| 17929 | { $as_echo "$as_me:$LINENO: checking for working mktime" >&5 | ||
| 10866 | $as_echo_n "checking for working mktime... " >&6; } | 17930 | $as_echo_n "checking for working mktime... " >&6; } |
| 10867 | if test "${ac_cv_func_working_mktime+set}" = set; then : | 17931 | if test "${ac_cv_func_working_mktime+set}" = set; then |
| 10868 | $as_echo_n "(cached) " >&6 | 17932 | $as_echo_n "(cached) " >&6 |
| 10869 | else | 17933 | else |
| 10870 | if test "$cross_compiling" = yes; then : | 17934 | if test "$cross_compiling" = yes; then |
| 10871 | ac_cv_func_working_mktime=no | 17935 | ac_cv_func_working_mktime=no |
| 10872 | else | 17936 | else |
| 10873 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17937 | cat >conftest.$ac_ext <<_ACEOF |
| 17938 | /* confdefs.h. */ | ||
| 17939 | _ACEOF | ||
| 17940 | cat confdefs.h >>conftest.$ac_ext | ||
| 17941 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 10874 | /* end confdefs.h. */ | 17942 | /* end confdefs.h. */ |
| 10875 | /* Test program from Paul Eggert and Tony Leneis. */ | 17943 | /* Test program from Paul Eggert and Tony Leneis. */ |
| 10876 | #ifdef TIME_WITH_SYS_TIME | 17944 | #ifdef TIME_WITH_SYS_TIME |
| @@ -11067,17 +18135,44 @@ main () | |||
| 11067 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); | 18135 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| 11068 | } | 18136 | } |
| 11069 | _ACEOF | 18137 | _ACEOF |
| 11070 | if ac_fn_c_try_run "$LINENO"; then : | 18138 | rm -f conftest$ac_exeext |
| 18139 | if { (ac_try="$ac_link" | ||
| 18140 | case "(($ac_try" in | ||
| 18141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18142 | *) ac_try_echo=$ac_try;; | ||
| 18143 | esac | ||
| 18144 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18145 | $as_echo "$ac_try_echo") >&5 | ||
| 18146 | (eval "$ac_link") 2>&5 | ||
| 18147 | ac_status=$? | ||
| 18148 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18149 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 18150 | { (case "(($ac_try" in | ||
| 18151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18152 | *) ac_try_echo=$ac_try;; | ||
| 18153 | esac | ||
| 18154 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18155 | $as_echo "$ac_try_echo") >&5 | ||
| 18156 | (eval "$ac_try") 2>&5 | ||
| 18157 | ac_status=$? | ||
| 18158 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18159 | (exit $ac_status); }; }; then | ||
| 11071 | ac_cv_func_working_mktime=yes | 18160 | ac_cv_func_working_mktime=yes |
| 11072 | else | 18161 | else |
| 11073 | ac_cv_func_working_mktime=no | 18162 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 18163 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18164 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18165 | |||
| 18166 | ( exit $ac_status ) | ||
| 18167 | ac_cv_func_working_mktime=no | ||
| 11074 | fi | 18168 | fi |
| 11075 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18169 | rm -rf conftest.dSYM |
| 11076 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 18170 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11077 | fi | 18171 | fi |
| 11078 | 18172 | ||
| 18173 | |||
| 11079 | fi | 18174 | fi |
| 11080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5 | 18175 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 |
| 11081 | $as_echo "$ac_cv_func_working_mktime" >&6; } | 18176 | $as_echo "$ac_cv_func_working_mktime" >&6; } |
| 11082 | if test $ac_cv_func_working_mktime = no; then | 18177 | if test $ac_cv_func_working_mktime = no; then |
| 11083 | case " $LIBOBJS " in | 18178 | case " $LIBOBJS " in |
| @@ -11090,7 +18185,9 @@ fi | |||
| 11090 | 18185 | ||
| 11091 | if test "$ac_cv_func_working_mktime" = no; then | 18186 | if test "$ac_cv_func_working_mktime" = no; then |
| 11092 | 18187 | ||
| 11093 | $as_echo "#define BROKEN_MKTIME 1" >>confdefs.h | 18188 | cat >>confdefs.h <<\_ACEOF |
| 18189 | #define BROKEN_MKTIME 1 | ||
| 18190 | _ACEOF | ||
| 11094 | 18191 | ||
| 11095 | fi | 18192 | fi |
| 11096 | 18193 | ||
| @@ -11098,13 +18195,99 @@ ac_have_func=no # yes means we've found a way to get the load average. | |||
| 11098 | 18195 | ||
| 11099 | # Make sure getloadavg.c is where it belongs, at configure-time. | 18196 | # Make sure getloadavg.c is where it belongs, at configure-time. |
| 11100 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 18197 | test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
| 11101 | as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 18198 | { { $as_echo "$as_me:$LINENO: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&5 |
| 18199 | $as_echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2;} | ||
| 18200 | { (exit 1); exit 1; }; } | ||
| 11102 | 18201 | ||
| 11103 | ac_save_LIBS=$LIBS | 18202 | ac_save_LIBS=$LIBS |
| 11104 | 18203 | ||
| 11105 | # Check for getloadavg, but be sure not to touch the cache variable. | 18204 | # Check for getloadavg, but be sure not to touch the cache variable. |
| 11106 | (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18205 | ({ $as_echo "$as_me:$LINENO: checking for getloadavg" >&5 |
| 11107 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18206 | $as_echo_n "checking for getloadavg... " >&6; } |
| 18207 | if test "${ac_cv_func_getloadavg+set}" = set; then | ||
| 18208 | $as_echo_n "(cached) " >&6 | ||
| 18209 | else | ||
| 18210 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18211 | /* confdefs.h. */ | ||
| 18212 | _ACEOF | ||
| 18213 | cat confdefs.h >>conftest.$ac_ext | ||
| 18214 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18215 | /* end confdefs.h. */ | ||
| 18216 | /* Define getloadavg to an innocuous variant, in case <limits.h> declares getloadavg. | ||
| 18217 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18218 | #define getloadavg innocuous_getloadavg | ||
| 18219 | |||
| 18220 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18221 | which can conflict with char getloadavg (); below. | ||
| 18222 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18223 | <limits.h> exists even on freestanding compilers. */ | ||
| 18224 | |||
| 18225 | #ifdef __STDC__ | ||
| 18226 | # include <limits.h> | ||
| 18227 | #else | ||
| 18228 | # include <assert.h> | ||
| 18229 | #endif | ||
| 18230 | |||
| 18231 | #undef getloadavg | ||
| 18232 | |||
| 18233 | /* Override any GCC internal prototype to avoid an error. | ||
| 18234 | Use char because int might match the return type of a GCC | ||
| 18235 | builtin and then its argument prototype would still apply. */ | ||
| 18236 | #ifdef __cplusplus | ||
| 18237 | extern "C" | ||
| 18238 | #endif | ||
| 18239 | char getloadavg (); | ||
| 18240 | /* The GNU C library defines this for functions which it implements | ||
| 18241 | to always fail with ENOSYS. Some functions are actually named | ||
| 18242 | something starting with __ and the normal name is an alias. */ | ||
| 18243 | #if defined __stub_getloadavg || defined __stub___getloadavg | ||
| 18244 | choke me | ||
| 18245 | #endif | ||
| 18246 | |||
| 18247 | int | ||
| 18248 | main () | ||
| 18249 | { | ||
| 18250 | return getloadavg (); | ||
| 18251 | ; | ||
| 18252 | return 0; | ||
| 18253 | } | ||
| 18254 | _ACEOF | ||
| 18255 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18256 | if { (ac_try="$ac_link" | ||
| 18257 | case "(($ac_try" in | ||
| 18258 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18259 | *) ac_try_echo=$ac_try;; | ||
| 18260 | esac | ||
| 18261 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18262 | $as_echo "$ac_try_echo") >&5 | ||
| 18263 | (eval "$ac_link") 2>conftest.er1 | ||
| 18264 | ac_status=$? | ||
| 18265 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18266 | rm -f conftest.er1 | ||
| 18267 | cat conftest.err >&5 | ||
| 18268 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18269 | (exit $ac_status); } && { | ||
| 18270 | test -z "$ac_c_werror_flag" || | ||
| 18271 | test ! -s conftest.err | ||
| 18272 | } && test -s conftest$ac_exeext && { | ||
| 18273 | test "$cross_compiling" = yes || | ||
| 18274 | $as_test_x conftest$ac_exeext | ||
| 18275 | }; then | ||
| 18276 | ac_cv_func_getloadavg=yes | ||
| 18277 | else | ||
| 18278 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18279 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18280 | |||
| 18281 | ac_cv_func_getloadavg=no | ||
| 18282 | fi | ||
| 18283 | |||
| 18284 | rm -rf conftest.dSYM | ||
| 18285 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18286 | conftest$ac_exeext conftest.$ac_ext | ||
| 18287 | fi | ||
| 18288 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | ||
| 18289 | $as_echo "$ac_cv_func_getloadavg" >&6; } | ||
| 18290 | if test $ac_cv_func_getloadavg = yes; then | ||
| 11108 | exit 0 | 18291 | exit 0 |
| 11109 | else | 18292 | else |
| 11110 | exit 1 | 18293 | exit 1 |
| @@ -11112,12 +18295,101 @@ fi | |||
| 11112 | ) && ac_have_func=yes | 18295 | ) && ac_have_func=yes |
| 11113 | 18296 | ||
| 11114 | # On HPUX9, an unprivileged user can get load averages through this function. | 18297 | # On HPUX9, an unprivileged user can get load averages through this function. |
| 18298 | |||
| 11115 | for ac_func in pstat_getdynamic | 18299 | for ac_func in pstat_getdynamic |
| 11116 | do : | 18300 | do |
| 11117 | ac_fn_c_check_func "$LINENO" "pstat_getdynamic" "ac_cv_func_pstat_getdynamic" | 18301 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11118 | if test "x$ac_cv_func_pstat_getdynamic" = x""yes; then : | 18302 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18303 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18304 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18305 | $as_echo_n "(cached) " >&6 | ||
| 18306 | else | ||
| 18307 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18308 | /* confdefs.h. */ | ||
| 18309 | _ACEOF | ||
| 18310 | cat confdefs.h >>conftest.$ac_ext | ||
| 18311 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18312 | /* end confdefs.h. */ | ||
| 18313 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18314 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18315 | #define $ac_func innocuous_$ac_func | ||
| 18316 | |||
| 18317 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18318 | which can conflict with char $ac_func (); below. | ||
| 18319 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18320 | <limits.h> exists even on freestanding compilers. */ | ||
| 18321 | |||
| 18322 | #ifdef __STDC__ | ||
| 18323 | # include <limits.h> | ||
| 18324 | #else | ||
| 18325 | # include <assert.h> | ||
| 18326 | #endif | ||
| 18327 | |||
| 18328 | #undef $ac_func | ||
| 18329 | |||
| 18330 | /* Override any GCC internal prototype to avoid an error. | ||
| 18331 | Use char because int might match the return type of a GCC | ||
| 18332 | builtin and then its argument prototype would still apply. */ | ||
| 18333 | #ifdef __cplusplus | ||
| 18334 | extern "C" | ||
| 18335 | #endif | ||
| 18336 | char $ac_func (); | ||
| 18337 | /* The GNU C library defines this for functions which it implements | ||
| 18338 | to always fail with ENOSYS. Some functions are actually named | ||
| 18339 | something starting with __ and the normal name is an alias. */ | ||
| 18340 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18341 | choke me | ||
| 18342 | #endif | ||
| 18343 | |||
| 18344 | int | ||
| 18345 | main () | ||
| 18346 | { | ||
| 18347 | return $ac_func (); | ||
| 18348 | ; | ||
| 18349 | return 0; | ||
| 18350 | } | ||
| 18351 | _ACEOF | ||
| 18352 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18353 | if { (ac_try="$ac_link" | ||
| 18354 | case "(($ac_try" in | ||
| 18355 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18356 | *) ac_try_echo=$ac_try;; | ||
| 18357 | esac | ||
| 18358 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18359 | $as_echo "$ac_try_echo") >&5 | ||
| 18360 | (eval "$ac_link") 2>conftest.er1 | ||
| 18361 | ac_status=$? | ||
| 18362 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18363 | rm -f conftest.er1 | ||
| 18364 | cat conftest.err >&5 | ||
| 18365 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18366 | (exit $ac_status); } && { | ||
| 18367 | test -z "$ac_c_werror_flag" || | ||
| 18368 | test ! -s conftest.err | ||
| 18369 | } && test -s conftest$ac_exeext && { | ||
| 18370 | test "$cross_compiling" = yes || | ||
| 18371 | $as_test_x conftest$ac_exeext | ||
| 18372 | }; then | ||
| 18373 | eval "$as_ac_var=yes" | ||
| 18374 | else | ||
| 18375 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18376 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18377 | |||
| 18378 | eval "$as_ac_var=no" | ||
| 18379 | fi | ||
| 18380 | |||
| 18381 | rm -rf conftest.dSYM | ||
| 18382 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18383 | conftest$ac_exeext conftest.$ac_ext | ||
| 18384 | fi | ||
| 18385 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18386 | $as_echo "$as_val"'` | ||
| 18387 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18388 | $as_echo "$ac_res" >&6; } | ||
| 18389 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18390 | $as_echo "$as_val"'` = yes; then | ||
| 11119 | cat >>confdefs.h <<_ACEOF | 18391 | cat >>confdefs.h <<_ACEOF |
| 11120 | #define HAVE_PSTAT_GETDYNAMIC 1 | 18392 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11121 | _ACEOF | 18393 | _ACEOF |
| 11122 | 18394 | ||
| 11123 | fi | 18395 | fi |
| @@ -11125,14 +18397,19 @@ done | |||
| 11125 | 18397 | ||
| 11126 | 18398 | ||
| 11127 | # Solaris has libkstat which does not require root. | 18399 | # Solaris has libkstat which does not require root. |
| 11128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 | 18400 | |
| 18401 | { $as_echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | ||
| 11129 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } | 18402 | $as_echo_n "checking for kstat_open in -lkstat... " >&6; } |
| 11130 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : | 18403 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
| 11131 | $as_echo_n "(cached) " >&6 | 18404 | $as_echo_n "(cached) " >&6 |
| 11132 | else | 18405 | else |
| 11133 | ac_check_lib_save_LIBS=$LIBS | 18406 | ac_check_lib_save_LIBS=$LIBS |
| 11134 | LIBS="-lkstat $LIBS" | 18407 | LIBS="-lkstat $LIBS" |
| 11135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18408 | cat >conftest.$ac_ext <<_ACEOF |
| 18409 | /* confdefs.h. */ | ||
| 18410 | _ACEOF | ||
| 18411 | cat confdefs.h >>conftest.$ac_ext | ||
| 18412 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11136 | /* end confdefs.h. */ | 18413 | /* end confdefs.h. */ |
| 11137 | 18414 | ||
| 11138 | /* Override any GCC internal prototype to avoid an error. | 18415 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11150,18 +18427,43 @@ return kstat_open (); | |||
| 11150 | return 0; | 18427 | return 0; |
| 11151 | } | 18428 | } |
| 11152 | _ACEOF | 18429 | _ACEOF |
| 11153 | if ac_fn_c_try_link "$LINENO"; then : | 18430 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18431 | if { (ac_try="$ac_link" | ||
| 18432 | case "(($ac_try" in | ||
| 18433 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18434 | *) ac_try_echo=$ac_try;; | ||
| 18435 | esac | ||
| 18436 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18437 | $as_echo "$ac_try_echo") >&5 | ||
| 18438 | (eval "$ac_link") 2>conftest.er1 | ||
| 18439 | ac_status=$? | ||
| 18440 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18441 | rm -f conftest.er1 | ||
| 18442 | cat conftest.err >&5 | ||
| 18443 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18444 | (exit $ac_status); } && { | ||
| 18445 | test -z "$ac_c_werror_flag" || | ||
| 18446 | test ! -s conftest.err | ||
| 18447 | } && test -s conftest$ac_exeext && { | ||
| 18448 | test "$cross_compiling" = yes || | ||
| 18449 | $as_test_x conftest$ac_exeext | ||
| 18450 | }; then | ||
| 11154 | ac_cv_lib_kstat_kstat_open=yes | 18451 | ac_cv_lib_kstat_kstat_open=yes |
| 11155 | else | 18452 | else |
| 11156 | ac_cv_lib_kstat_kstat_open=no | 18453 | $as_echo "$as_me: failed program was:" >&5 |
| 18454 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18455 | |||
| 18456 | ac_cv_lib_kstat_kstat_open=no | ||
| 11157 | fi | 18457 | fi |
| 11158 | rm -f core conftest.err conftest.$ac_objext \ | 18458 | |
| 11159 | conftest$ac_exeext conftest.$ac_ext | 18459 | rm -rf conftest.dSYM |
| 18460 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18461 | conftest$ac_exeext conftest.$ac_ext | ||
| 11160 | LIBS=$ac_check_lib_save_LIBS | 18462 | LIBS=$ac_check_lib_save_LIBS |
| 11161 | fi | 18463 | fi |
| 11162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 | 18464 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
| 11163 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } | 18465 | $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } |
| 11164 | if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : | 18466 | if test $ac_cv_lib_kstat_kstat_open = yes; then |
| 11165 | cat >>confdefs.h <<_ACEOF | 18467 | cat >>confdefs.h <<_ACEOF |
| 11166 | #define HAVE_LIBKSTAT 1 | 18468 | #define HAVE_LIBKSTAT 1 |
| 11167 | _ACEOF | 18469 | _ACEOF |
| @@ -11177,14 +18479,18 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | |||
| 11177 | # to get the right answer into the cache. | 18479 | # to get the right answer into the cache. |
| 11178 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 18480 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
| 11179 | if test $ac_have_func = no; then | 18481 | if test $ac_have_func = no; then |
| 11180 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 | 18482 | { $as_echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
| 11181 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } | 18483 | $as_echo_n "checking for elf_begin in -lelf... " >&6; } |
| 11182 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then : | 18484 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
| 11183 | $as_echo_n "(cached) " >&6 | 18485 | $as_echo_n "(cached) " >&6 |
| 11184 | else | 18486 | else |
| 11185 | ac_check_lib_save_LIBS=$LIBS | 18487 | ac_check_lib_save_LIBS=$LIBS |
| 11186 | LIBS="-lelf $LIBS" | 18488 | LIBS="-lelf $LIBS" |
| 11187 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18489 | cat >conftest.$ac_ext <<_ACEOF |
| 18490 | /* confdefs.h. */ | ||
| 18491 | _ACEOF | ||
| 18492 | cat confdefs.h >>conftest.$ac_ext | ||
| 18493 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11188 | /* end confdefs.h. */ | 18494 | /* end confdefs.h. */ |
| 11189 | 18495 | ||
| 11190 | /* Override any GCC internal prototype to avoid an error. | 18496 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11202,31 +18508,60 @@ return elf_begin (); | |||
| 11202 | return 0; | 18508 | return 0; |
| 11203 | } | 18509 | } |
| 11204 | _ACEOF | 18510 | _ACEOF |
| 11205 | if ac_fn_c_try_link "$LINENO"; then : | 18511 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18512 | if { (ac_try="$ac_link" | ||
| 18513 | case "(($ac_try" in | ||
| 18514 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18515 | *) ac_try_echo=$ac_try;; | ||
| 18516 | esac | ||
| 18517 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18518 | $as_echo "$ac_try_echo") >&5 | ||
| 18519 | (eval "$ac_link") 2>conftest.er1 | ||
| 18520 | ac_status=$? | ||
| 18521 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18522 | rm -f conftest.er1 | ||
| 18523 | cat conftest.err >&5 | ||
| 18524 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18525 | (exit $ac_status); } && { | ||
| 18526 | test -z "$ac_c_werror_flag" || | ||
| 18527 | test ! -s conftest.err | ||
| 18528 | } && test -s conftest$ac_exeext && { | ||
| 18529 | test "$cross_compiling" = yes || | ||
| 18530 | $as_test_x conftest$ac_exeext | ||
| 18531 | }; then | ||
| 11206 | ac_cv_lib_elf_elf_begin=yes | 18532 | ac_cv_lib_elf_elf_begin=yes |
| 11207 | else | 18533 | else |
| 11208 | ac_cv_lib_elf_elf_begin=no | 18534 | $as_echo "$as_me: failed program was:" >&5 |
| 18535 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18536 | |||
| 18537 | ac_cv_lib_elf_elf_begin=no | ||
| 11209 | fi | 18538 | fi |
| 11210 | rm -f core conftest.err conftest.$ac_objext \ | 18539 | |
| 11211 | conftest$ac_exeext conftest.$ac_ext | 18540 | rm -rf conftest.dSYM |
| 18541 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18542 | conftest$ac_exeext conftest.$ac_ext | ||
| 11212 | LIBS=$ac_check_lib_save_LIBS | 18543 | LIBS=$ac_check_lib_save_LIBS |
| 11213 | fi | 18544 | fi |
| 11214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 | 18545 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
| 11215 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } | 18546 | $as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
| 11216 | if test "x$ac_cv_lib_elf_elf_begin" = x""yes; then : | 18547 | if test $ac_cv_lib_elf_elf_begin = yes; then |
| 11217 | LIBS="-lelf $LIBS" | 18548 | LIBS="-lelf $LIBS" |
| 11218 | fi | 18549 | fi |
| 11219 | 18550 | ||
| 11220 | fi | 18551 | fi |
| 11221 | if test $ac_have_func = no; then | 18552 | if test $ac_have_func = no; then |
| 11222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5 | 18553 | { $as_echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
| 11223 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } | 18554 | $as_echo_n "checking for kvm_open in -lkvm... " >&6; } |
| 11224 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then : | 18555 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
| 11225 | $as_echo_n "(cached) " >&6 | 18556 | $as_echo_n "(cached) " >&6 |
| 11226 | else | 18557 | else |
| 11227 | ac_check_lib_save_LIBS=$LIBS | 18558 | ac_check_lib_save_LIBS=$LIBS |
| 11228 | LIBS="-lkvm $LIBS" | 18559 | LIBS="-lkvm $LIBS" |
| 11229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18560 | cat >conftest.$ac_ext <<_ACEOF |
| 18561 | /* confdefs.h. */ | ||
| 18562 | _ACEOF | ||
| 18563 | cat confdefs.h >>conftest.$ac_ext | ||
| 18564 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11230 | /* end confdefs.h. */ | 18565 | /* end confdefs.h. */ |
| 11231 | 18566 | ||
| 11232 | /* Override any GCC internal prototype to avoid an error. | 18567 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11244,30 +18579,59 @@ return kvm_open (); | |||
| 11244 | return 0; | 18579 | return 0; |
| 11245 | } | 18580 | } |
| 11246 | _ACEOF | 18581 | _ACEOF |
| 11247 | if ac_fn_c_try_link "$LINENO"; then : | 18582 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18583 | if { (ac_try="$ac_link" | ||
| 18584 | case "(($ac_try" in | ||
| 18585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18586 | *) ac_try_echo=$ac_try;; | ||
| 18587 | esac | ||
| 18588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18589 | $as_echo "$ac_try_echo") >&5 | ||
| 18590 | (eval "$ac_link") 2>conftest.er1 | ||
| 18591 | ac_status=$? | ||
| 18592 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18593 | rm -f conftest.er1 | ||
| 18594 | cat conftest.err >&5 | ||
| 18595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18596 | (exit $ac_status); } && { | ||
| 18597 | test -z "$ac_c_werror_flag" || | ||
| 18598 | test ! -s conftest.err | ||
| 18599 | } && test -s conftest$ac_exeext && { | ||
| 18600 | test "$cross_compiling" = yes || | ||
| 18601 | $as_test_x conftest$ac_exeext | ||
| 18602 | }; then | ||
| 11248 | ac_cv_lib_kvm_kvm_open=yes | 18603 | ac_cv_lib_kvm_kvm_open=yes |
| 11249 | else | 18604 | else |
| 11250 | ac_cv_lib_kvm_kvm_open=no | 18605 | $as_echo "$as_me: failed program was:" >&5 |
| 18606 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18607 | |||
| 18608 | ac_cv_lib_kvm_kvm_open=no | ||
| 11251 | fi | 18609 | fi |
| 11252 | rm -f core conftest.err conftest.$ac_objext \ | 18610 | |
| 11253 | conftest$ac_exeext conftest.$ac_ext | 18611 | rm -rf conftest.dSYM |
| 18612 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18613 | conftest$ac_exeext conftest.$ac_ext | ||
| 11254 | LIBS=$ac_check_lib_save_LIBS | 18614 | LIBS=$ac_check_lib_save_LIBS |
| 11255 | fi | 18615 | fi |
| 11256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18616 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
| 11257 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } | 18617 | $as_echo "$ac_cv_lib_kvm_kvm_open" >&6; } |
| 11258 | if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then : | 18618 | if test $ac_cv_lib_kvm_kvm_open = yes; then |
| 11259 | LIBS="-lkvm $LIBS" | 18619 | LIBS="-lkvm $LIBS" |
| 11260 | fi | 18620 | fi |
| 11261 | 18621 | ||
| 11262 | # Check for the 4.4BSD definition of getloadavg. | 18622 | # Check for the 4.4BSD definition of getloadavg. |
| 11263 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lutil" >&5 | 18623 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
| 11264 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } | 18624 | $as_echo_n "checking for getloadavg in -lutil... " >&6; } |
| 11265 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then : | 18625 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
| 11266 | $as_echo_n "(cached) " >&6 | 18626 | $as_echo_n "(cached) " >&6 |
| 11267 | else | 18627 | else |
| 11268 | ac_check_lib_save_LIBS=$LIBS | 18628 | ac_check_lib_save_LIBS=$LIBS |
| 11269 | LIBS="-lutil $LIBS" | 18629 | LIBS="-lutil $LIBS" |
| 11270 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18630 | cat >conftest.$ac_ext <<_ACEOF |
| 18631 | /* confdefs.h. */ | ||
| 18632 | _ACEOF | ||
| 18633 | cat confdefs.h >>conftest.$ac_ext | ||
| 18634 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11271 | /* end confdefs.h. */ | 18635 | /* end confdefs.h. */ |
| 11272 | 18636 | ||
| 11273 | /* Override any GCC internal prototype to avoid an error. | 18637 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11285,18 +18649,43 @@ return getloadavg (); | |||
| 11285 | return 0; | 18649 | return 0; |
| 11286 | } | 18650 | } |
| 11287 | _ACEOF | 18651 | _ACEOF |
| 11288 | if ac_fn_c_try_link "$LINENO"; then : | 18652 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18653 | if { (ac_try="$ac_link" | ||
| 18654 | case "(($ac_try" in | ||
| 18655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18656 | *) ac_try_echo=$ac_try;; | ||
| 18657 | esac | ||
| 18658 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18659 | $as_echo "$ac_try_echo") >&5 | ||
| 18660 | (eval "$ac_link") 2>conftest.er1 | ||
| 18661 | ac_status=$? | ||
| 18662 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18663 | rm -f conftest.er1 | ||
| 18664 | cat conftest.err >&5 | ||
| 18665 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18666 | (exit $ac_status); } && { | ||
| 18667 | test -z "$ac_c_werror_flag" || | ||
| 18668 | test ! -s conftest.err | ||
| 18669 | } && test -s conftest$ac_exeext && { | ||
| 18670 | test "$cross_compiling" = yes || | ||
| 18671 | $as_test_x conftest$ac_exeext | ||
| 18672 | }; then | ||
| 11289 | ac_cv_lib_util_getloadavg=yes | 18673 | ac_cv_lib_util_getloadavg=yes |
| 11290 | else | 18674 | else |
| 11291 | ac_cv_lib_util_getloadavg=no | 18675 | $as_echo "$as_me: failed program was:" >&5 |
| 18676 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18677 | |||
| 18678 | ac_cv_lib_util_getloadavg=no | ||
| 11292 | fi | 18679 | fi |
| 11293 | rm -f core conftest.err conftest.$ac_objext \ | 18680 | |
| 11294 | conftest$ac_exeext conftest.$ac_ext | 18681 | rm -rf conftest.dSYM |
| 18682 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18683 | conftest$ac_exeext conftest.$ac_ext | ||
| 11295 | LIBS=$ac_check_lib_save_LIBS | 18684 | LIBS=$ac_check_lib_save_LIBS |
| 11296 | fi | 18685 | fi |
| 11297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getloadavg" >&5 | 18686 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
| 11298 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } | 18687 | $as_echo "$ac_cv_lib_util_getloadavg" >&6; } |
| 11299 | if test "x$ac_cv_lib_util_getloadavg" = x""yes; then : | 18688 | if test $ac_cv_lib_util_getloadavg = yes; then |
| 11300 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 18689 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
| 11301 | fi | 18690 | fi |
| 11302 | 18691 | ||
| @@ -11307,14 +18696,18 @@ if test $ac_have_func = no; then | |||
| 11307 | # Since it is not a standard part of AIX, it might be installed locally. | 18696 | # Since it is not a standard part of AIX, it might be installed locally. |
| 11308 | ac_getloadavg_LIBS=$LIBS | 18697 | ac_getloadavg_LIBS=$LIBS |
| 11309 | LIBS="-L/usr/local/lib $LIBS" | 18698 | LIBS="-L/usr/local/lib $LIBS" |
| 11310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5 | 18699 | { $as_echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
| 11311 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } | 18700 | $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; } |
| 11312 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then : | 18701 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
| 11313 | $as_echo_n "(cached) " >&6 | 18702 | $as_echo_n "(cached) " >&6 |
| 11314 | else | 18703 | else |
| 11315 | ac_check_lib_save_LIBS=$LIBS | 18704 | ac_check_lib_save_LIBS=$LIBS |
| 11316 | LIBS="-lgetloadavg $LIBS" | 18705 | LIBS="-lgetloadavg $LIBS" |
| 11317 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18706 | cat >conftest.$ac_ext <<_ACEOF |
| 18707 | /* confdefs.h. */ | ||
| 18708 | _ACEOF | ||
| 18709 | cat confdefs.h >>conftest.$ac_ext | ||
| 18710 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11318 | /* end confdefs.h. */ | 18711 | /* end confdefs.h. */ |
| 11319 | 18712 | ||
| 11320 | /* Override any GCC internal prototype to avoid an error. | 18713 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11332,18 +18725,43 @@ return getloadavg (); | |||
| 11332 | return 0; | 18725 | return 0; |
| 11333 | } | 18726 | } |
| 11334 | _ACEOF | 18727 | _ACEOF |
| 11335 | if ac_fn_c_try_link "$LINENO"; then : | 18728 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18729 | if { (ac_try="$ac_link" | ||
| 18730 | case "(($ac_try" in | ||
| 18731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18732 | *) ac_try_echo=$ac_try;; | ||
| 18733 | esac | ||
| 18734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18735 | $as_echo "$ac_try_echo") >&5 | ||
| 18736 | (eval "$ac_link") 2>conftest.er1 | ||
| 18737 | ac_status=$? | ||
| 18738 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18739 | rm -f conftest.er1 | ||
| 18740 | cat conftest.err >&5 | ||
| 18741 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18742 | (exit $ac_status); } && { | ||
| 18743 | test -z "$ac_c_werror_flag" || | ||
| 18744 | test ! -s conftest.err | ||
| 18745 | } && test -s conftest$ac_exeext && { | ||
| 18746 | test "$cross_compiling" = yes || | ||
| 18747 | $as_test_x conftest$ac_exeext | ||
| 18748 | }; then | ||
| 11336 | ac_cv_lib_getloadavg_getloadavg=yes | 18749 | ac_cv_lib_getloadavg_getloadavg=yes |
| 11337 | else | 18750 | else |
| 11338 | ac_cv_lib_getloadavg_getloadavg=no | 18751 | $as_echo "$as_me: failed program was:" >&5 |
| 18752 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18753 | |||
| 18754 | ac_cv_lib_getloadavg_getloadavg=no | ||
| 11339 | fi | 18755 | fi |
| 11340 | rm -f core conftest.err conftest.$ac_objext \ | 18756 | |
| 11341 | conftest$ac_exeext conftest.$ac_ext | 18757 | rm -rf conftest.dSYM |
| 18758 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18759 | conftest$ac_exeext conftest.$ac_ext | ||
| 11342 | LIBS=$ac_check_lib_save_LIBS | 18760 | LIBS=$ac_check_lib_save_LIBS |
| 11343 | fi | 18761 | fi |
| 11344 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 18762 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
| 11345 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } | 18763 | $as_echo "$ac_cv_lib_getloadavg_getloadavg" >&6; } |
| 11346 | if test "x$ac_cv_lib_getloadavg_getloadavg" = x""yes; then : | 18764 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
| 11347 | LIBS="-lgetloadavg $LIBS" | 18765 | LIBS="-lgetloadavg $LIBS" |
| 11348 | else | 18766 | else |
| 11349 | LIBS=$ac_getloadavg_LIBS | 18767 | LIBS=$ac_getloadavg_LIBS |
| @@ -11353,12 +18771,101 @@ fi | |||
| 11353 | 18771 | ||
| 11354 | # Make sure it is really in the library, if we think we found it, | 18772 | # Make sure it is really in the library, if we think we found it, |
| 11355 | # otherwise set up the replacement function. | 18773 | # otherwise set up the replacement function. |
| 18774 | |||
| 11356 | for ac_func in getloadavg | 18775 | for ac_func in getloadavg |
| 11357 | do : | 18776 | do |
| 11358 | ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 18777 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11359 | if test "x$ac_cv_func_getloadavg" = x""yes; then : | 18778 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18779 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 18780 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 18781 | $as_echo_n "(cached) " >&6 | ||
| 18782 | else | ||
| 18783 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18784 | /* confdefs.h. */ | ||
| 18785 | _ACEOF | ||
| 18786 | cat confdefs.h >>conftest.$ac_ext | ||
| 18787 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18788 | /* end confdefs.h. */ | ||
| 18789 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 18790 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 18791 | #define $ac_func innocuous_$ac_func | ||
| 18792 | |||
| 18793 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 18794 | which can conflict with char $ac_func (); below. | ||
| 18795 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 18796 | <limits.h> exists even on freestanding compilers. */ | ||
| 18797 | |||
| 18798 | #ifdef __STDC__ | ||
| 18799 | # include <limits.h> | ||
| 18800 | #else | ||
| 18801 | # include <assert.h> | ||
| 18802 | #endif | ||
| 18803 | |||
| 18804 | #undef $ac_func | ||
| 18805 | |||
| 18806 | /* Override any GCC internal prototype to avoid an error. | ||
| 18807 | Use char because int might match the return type of a GCC | ||
| 18808 | builtin and then its argument prototype would still apply. */ | ||
| 18809 | #ifdef __cplusplus | ||
| 18810 | extern "C" | ||
| 18811 | #endif | ||
| 18812 | char $ac_func (); | ||
| 18813 | /* The GNU C library defines this for functions which it implements | ||
| 18814 | to always fail with ENOSYS. Some functions are actually named | ||
| 18815 | something starting with __ and the normal name is an alias. */ | ||
| 18816 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 18817 | choke me | ||
| 18818 | #endif | ||
| 18819 | |||
| 18820 | int | ||
| 18821 | main () | ||
| 18822 | { | ||
| 18823 | return $ac_func (); | ||
| 18824 | ; | ||
| 18825 | return 0; | ||
| 18826 | } | ||
| 18827 | _ACEOF | ||
| 18828 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 18829 | if { (ac_try="$ac_link" | ||
| 18830 | case "(($ac_try" in | ||
| 18831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18832 | *) ac_try_echo=$ac_try;; | ||
| 18833 | esac | ||
| 18834 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18835 | $as_echo "$ac_try_echo") >&5 | ||
| 18836 | (eval "$ac_link") 2>conftest.er1 | ||
| 18837 | ac_status=$? | ||
| 18838 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18839 | rm -f conftest.er1 | ||
| 18840 | cat conftest.err >&5 | ||
| 18841 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18842 | (exit $ac_status); } && { | ||
| 18843 | test -z "$ac_c_werror_flag" || | ||
| 18844 | test ! -s conftest.err | ||
| 18845 | } && test -s conftest$ac_exeext && { | ||
| 18846 | test "$cross_compiling" = yes || | ||
| 18847 | $as_test_x conftest$ac_exeext | ||
| 18848 | }; then | ||
| 18849 | eval "$as_ac_var=yes" | ||
| 18850 | else | ||
| 18851 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18852 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18853 | |||
| 18854 | eval "$as_ac_var=no" | ||
| 18855 | fi | ||
| 18856 | |||
| 18857 | rm -rf conftest.dSYM | ||
| 18858 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18859 | conftest$ac_exeext conftest.$ac_ext | ||
| 18860 | fi | ||
| 18861 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 18862 | $as_echo "$as_val"'` | ||
| 18863 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 18864 | $as_echo "$ac_res" >&6; } | ||
| 18865 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 18866 | $as_echo "$as_val"'` = yes; then | ||
| 11360 | cat >>confdefs.h <<_ACEOF | 18867 | cat >>confdefs.h <<_ACEOF |
| 11361 | #define HAVE_GETLOADAVG 1 | 18868 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11362 | _ACEOF | 18869 | _ACEOF |
| 11363 | 18870 | ||
| 11364 | else | 18871 | else |
| @@ -11369,24 +18876,159 @@ else | |||
| 11369 | esac | 18876 | esac |
| 11370 | 18877 | ||
| 11371 | 18878 | ||
| 11372 | $as_echo "#define C_GETLOADAVG 1" >>confdefs.h | 18879 | cat >>confdefs.h <<\_ACEOF |
| 18880 | #define C_GETLOADAVG 1 | ||
| 18881 | _ACEOF | ||
| 11373 | 18882 | ||
| 11374 | # Figure out what our getloadavg.c needs. | 18883 | # Figure out what our getloadavg.c needs. |
| 11375 | ac_have_func=no | 18884 | ac_have_func=no |
| 11376 | ac_fn_c_check_header_mongrel "$LINENO" "sys/dg_sys_info.h" "ac_cv_header_sys_dg_sys_info_h" "$ac_includes_default" | 18885 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 11377 | if test "x$ac_cv_header_sys_dg_sys_info_h" = x""yes; then : | 18886 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
| 18887 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 18888 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 18889 | $as_echo_n "(cached) " >&6 | ||
| 18890 | fi | ||
| 18891 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 18892 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 18893 | else | ||
| 18894 | # Is the header compilable? | ||
| 18895 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | ||
| 18896 | $as_echo_n "checking sys/dg_sys_info.h usability... " >&6; } | ||
| 18897 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18898 | /* confdefs.h. */ | ||
| 18899 | _ACEOF | ||
| 18900 | cat confdefs.h >>conftest.$ac_ext | ||
| 18901 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18902 | /* end confdefs.h. */ | ||
| 18903 | $ac_includes_default | ||
| 18904 | #include <sys/dg_sys_info.h> | ||
| 18905 | _ACEOF | ||
| 18906 | rm -f conftest.$ac_objext | ||
| 18907 | if { (ac_try="$ac_compile" | ||
| 18908 | case "(($ac_try" in | ||
| 18909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18910 | *) ac_try_echo=$ac_try;; | ||
| 18911 | esac | ||
| 18912 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18913 | $as_echo "$ac_try_echo") >&5 | ||
| 18914 | (eval "$ac_compile") 2>conftest.er1 | ||
| 18915 | ac_status=$? | ||
| 18916 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18917 | rm -f conftest.er1 | ||
| 18918 | cat conftest.err >&5 | ||
| 18919 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18920 | (exit $ac_status); } && { | ||
| 18921 | test -z "$ac_c_werror_flag" || | ||
| 18922 | test ! -s conftest.err | ||
| 18923 | } && test -s conftest.$ac_objext; then | ||
| 18924 | ac_header_compiler=yes | ||
| 18925 | else | ||
| 18926 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18927 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18928 | |||
| 18929 | ac_header_compiler=no | ||
| 18930 | fi | ||
| 18931 | |||
| 18932 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 18933 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 18934 | $as_echo "$ac_header_compiler" >&6; } | ||
| 18935 | |||
| 18936 | # Is the header present? | ||
| 18937 | { $as_echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | ||
| 18938 | $as_echo_n "checking sys/dg_sys_info.h presence... " >&6; } | ||
| 18939 | cat >conftest.$ac_ext <<_ACEOF | ||
| 18940 | /* confdefs.h. */ | ||
| 18941 | _ACEOF | ||
| 18942 | cat confdefs.h >>conftest.$ac_ext | ||
| 18943 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 18944 | /* end confdefs.h. */ | ||
| 18945 | #include <sys/dg_sys_info.h> | ||
| 18946 | _ACEOF | ||
| 18947 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 18948 | case "(($ac_try" in | ||
| 18949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18950 | *) ac_try_echo=$ac_try;; | ||
| 18951 | esac | ||
| 18952 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 18953 | $as_echo "$ac_try_echo") >&5 | ||
| 18954 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 18955 | ac_status=$? | ||
| 18956 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 18957 | rm -f conftest.er1 | ||
| 18958 | cat conftest.err >&5 | ||
| 18959 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18960 | (exit $ac_status); } >/dev/null && { | ||
| 18961 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 18962 | test ! -s conftest.err | ||
| 18963 | }; then | ||
| 18964 | ac_header_preproc=yes | ||
| 18965 | else | ||
| 18966 | $as_echo "$as_me: failed program was:" >&5 | ||
| 18967 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 18968 | |||
| 18969 | ac_header_preproc=no | ||
| 18970 | fi | ||
| 18971 | |||
| 18972 | rm -f conftest.err conftest.$ac_ext | ||
| 18973 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 18974 | $as_echo "$ac_header_preproc" >&6; } | ||
| 18975 | |||
| 18976 | # So? What about this header? | ||
| 18977 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 18978 | yes:no: ) | ||
| 18979 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 18980 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 18981 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5 | ||
| 18982 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;} | ||
| 18983 | ac_header_preproc=yes | ||
| 18984 | ;; | ||
| 18985 | no:yes:* ) | ||
| 18986 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | ||
| 18987 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | ||
| 18988 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | ||
| 18989 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | ||
| 18990 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5 | ||
| 18991 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;} | ||
| 18992 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 18993 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 18994 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 18995 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | ||
| 18996 | { $as_echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | ||
| 18997 | $as_echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | ||
| 18998 | |||
| 18999 | ;; | ||
| 19000 | esac | ||
| 19001 | { $as_echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 19002 | $as_echo_n "checking for sys/dg_sys_info.h... " >&6; } | ||
| 19003 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 19004 | $as_echo_n "(cached) " >&6 | ||
| 19005 | else | ||
| 19006 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | ||
| 19007 | fi | ||
| 19008 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 19009 | $as_echo "$ac_cv_header_sys_dg_sys_info_h" >&6; } | ||
| 19010 | |||
| 19011 | fi | ||
| 19012 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | ||
| 11378 | ac_have_func=yes | 19013 | ac_have_func=yes |
| 11379 | 19014 | ||
| 11380 | $as_echo "#define DGUX 1" >>confdefs.h | 19015 | cat >>confdefs.h <<\_ACEOF |
| 19016 | #define DGUX 1 | ||
| 19017 | _ACEOF | ||
| 19018 | |||
| 11381 | 19019 | ||
| 11382 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dg_sys_info in -ldgc" >&5 | 19020 | { $as_echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
| 11383 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } | 19021 | $as_echo_n "checking for dg_sys_info in -ldgc... " >&6; } |
| 11384 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then : | 19022 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
| 11385 | $as_echo_n "(cached) " >&6 | 19023 | $as_echo_n "(cached) " >&6 |
| 11386 | else | 19024 | else |
| 11387 | ac_check_lib_save_LIBS=$LIBS | 19025 | ac_check_lib_save_LIBS=$LIBS |
| 11388 | LIBS="-ldgc $LIBS" | 19026 | LIBS="-ldgc $LIBS" |
| 11389 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19027 | cat >conftest.$ac_ext <<_ACEOF |
| 19028 | /* confdefs.h. */ | ||
| 19029 | _ACEOF | ||
| 19030 | cat confdefs.h >>conftest.$ac_ext | ||
| 19031 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11390 | /* end confdefs.h. */ | 19032 | /* end confdefs.h. */ |
| 11391 | 19033 | ||
| 11392 | /* Override any GCC internal prototype to avoid an error. | 19034 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11404,18 +19046,43 @@ return dg_sys_info (); | |||
| 11404 | return 0; | 19046 | return 0; |
| 11405 | } | 19047 | } |
| 11406 | _ACEOF | 19048 | _ACEOF |
| 11407 | if ac_fn_c_try_link "$LINENO"; then : | 19049 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19050 | if { (ac_try="$ac_link" | ||
| 19051 | case "(($ac_try" in | ||
| 19052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19053 | *) ac_try_echo=$ac_try;; | ||
| 19054 | esac | ||
| 19055 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19056 | $as_echo "$ac_try_echo") >&5 | ||
| 19057 | (eval "$ac_link") 2>conftest.er1 | ||
| 19058 | ac_status=$? | ||
| 19059 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19060 | rm -f conftest.er1 | ||
| 19061 | cat conftest.err >&5 | ||
| 19062 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19063 | (exit $ac_status); } && { | ||
| 19064 | test -z "$ac_c_werror_flag" || | ||
| 19065 | test ! -s conftest.err | ||
| 19066 | } && test -s conftest$ac_exeext && { | ||
| 19067 | test "$cross_compiling" = yes || | ||
| 19068 | $as_test_x conftest$ac_exeext | ||
| 19069 | }; then | ||
| 11408 | ac_cv_lib_dgc_dg_sys_info=yes | 19070 | ac_cv_lib_dgc_dg_sys_info=yes |
| 11409 | else | 19071 | else |
| 11410 | ac_cv_lib_dgc_dg_sys_info=no | 19072 | $as_echo "$as_me: failed program was:" >&5 |
| 19073 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19074 | |||
| 19075 | ac_cv_lib_dgc_dg_sys_info=no | ||
| 11411 | fi | 19076 | fi |
| 11412 | rm -f core conftest.err conftest.$ac_objext \ | 19077 | |
| 11413 | conftest$ac_exeext conftest.$ac_ext | 19078 | rm -rf conftest.dSYM |
| 19079 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19080 | conftest$ac_exeext conftest.$ac_ext | ||
| 11414 | LIBS=$ac_check_lib_save_LIBS | 19081 | LIBS=$ac_check_lib_save_LIBS |
| 11415 | fi | 19082 | fi |
| 11416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 19083 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
| 11417 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } | 19084 | $as_echo "$ac_cv_lib_dgc_dg_sys_info" >&6; } |
| 11418 | if test "x$ac_cv_lib_dgc_dg_sys_info" = x""yes; then : | 19085 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
| 11419 | cat >>confdefs.h <<_ACEOF | 19086 | cat >>confdefs.h <<_ACEOF |
| 11420 | #define HAVE_LIBDGC 1 | 19087 | #define HAVE_LIBDGC 1 |
| 11421 | _ACEOF | 19088 | _ACEOF |
| @@ -11428,18 +19095,230 @@ fi | |||
| 11428 | 19095 | ||
| 11429 | 19096 | ||
| 11430 | 19097 | ||
| 11431 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" | 19098 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 11432 | if test "x$ac_cv_header_locale_h" = x""yes; then : | 19099 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 |
| 19100 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19101 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19102 | $as_echo_n "(cached) " >&6 | ||
| 19103 | fi | ||
| 19104 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19105 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 19106 | else | ||
| 19107 | # Is the header compilable? | ||
| 19108 | { $as_echo "$as_me:$LINENO: checking locale.h usability" >&5 | ||
| 19109 | $as_echo_n "checking locale.h usability... " >&6; } | ||
| 19110 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19111 | /* confdefs.h. */ | ||
| 19112 | _ACEOF | ||
| 19113 | cat confdefs.h >>conftest.$ac_ext | ||
| 19114 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19115 | /* end confdefs.h. */ | ||
| 19116 | $ac_includes_default | ||
| 19117 | #include <locale.h> | ||
| 19118 | _ACEOF | ||
| 19119 | rm -f conftest.$ac_objext | ||
| 19120 | if { (ac_try="$ac_compile" | ||
| 19121 | case "(($ac_try" in | ||
| 19122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19123 | *) ac_try_echo=$ac_try;; | ||
| 19124 | esac | ||
| 19125 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19126 | $as_echo "$ac_try_echo") >&5 | ||
| 19127 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19128 | ac_status=$? | ||
| 19129 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19130 | rm -f conftest.er1 | ||
| 19131 | cat conftest.err >&5 | ||
| 19132 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19133 | (exit $ac_status); } && { | ||
| 19134 | test -z "$ac_c_werror_flag" || | ||
| 19135 | test ! -s conftest.err | ||
| 19136 | } && test -s conftest.$ac_objext; then | ||
| 19137 | ac_header_compiler=yes | ||
| 19138 | else | ||
| 19139 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19140 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19141 | |||
| 19142 | ac_header_compiler=no | ||
| 19143 | fi | ||
| 19144 | |||
| 19145 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19146 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19147 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19148 | |||
| 19149 | # Is the header present? | ||
| 19150 | { $as_echo "$as_me:$LINENO: checking locale.h presence" >&5 | ||
| 19151 | $as_echo_n "checking locale.h presence... " >&6; } | ||
| 19152 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19153 | /* confdefs.h. */ | ||
| 19154 | _ACEOF | ||
| 19155 | cat confdefs.h >>conftest.$ac_ext | ||
| 19156 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19157 | /* end confdefs.h. */ | ||
| 19158 | #include <locale.h> | ||
| 19159 | _ACEOF | ||
| 19160 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19161 | case "(($ac_try" in | ||
| 19162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19163 | *) ac_try_echo=$ac_try;; | ||
| 19164 | esac | ||
| 19165 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19166 | $as_echo "$ac_try_echo") >&5 | ||
| 19167 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19168 | ac_status=$? | ||
| 19169 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19170 | rm -f conftest.er1 | ||
| 19171 | cat conftest.err >&5 | ||
| 19172 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19173 | (exit $ac_status); } >/dev/null && { | ||
| 19174 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19175 | test ! -s conftest.err | ||
| 19176 | }; then | ||
| 19177 | ac_header_preproc=yes | ||
| 19178 | else | ||
| 19179 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19180 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19181 | |||
| 19182 | ac_header_preproc=no | ||
| 19183 | fi | ||
| 19184 | |||
| 19185 | rm -f conftest.err conftest.$ac_ext | ||
| 19186 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19187 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19188 | |||
| 19189 | # So? What about this header? | ||
| 19190 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19191 | yes:no: ) | ||
| 19192 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19193 | $as_echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19194 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5 | ||
| 19195 | $as_echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;} | ||
| 19196 | ac_header_preproc=yes | ||
| 19197 | ;; | ||
| 19198 | no:yes:* ) | ||
| 19199 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | ||
| 19200 | $as_echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | ||
| 19201 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | ||
| 19202 | $as_echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | ||
| 19203 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5 | ||
| 19204 | $as_echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;} | ||
| 19205 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19206 | $as_echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19207 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 19208 | $as_echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | ||
| 19209 | { $as_echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | ||
| 19210 | $as_echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | ||
| 19211 | |||
| 19212 | ;; | ||
| 19213 | esac | ||
| 19214 | { $as_echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 19215 | $as_echo_n "checking for locale.h... " >&6; } | ||
| 19216 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 19217 | $as_echo_n "(cached) " >&6 | ||
| 19218 | else | ||
| 19219 | ac_cv_header_locale_h=$ac_header_preproc | ||
| 19220 | fi | ||
| 19221 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 19222 | $as_echo "$ac_cv_header_locale_h" >&6; } | ||
| 11433 | 19223 | ||
| 11434 | fi | 19224 | fi |
| 11435 | 19225 | ||
| 11436 | 19226 | ||
| 19227 | |||
| 11437 | for ac_func in setlocale | 19228 | for ac_func in setlocale |
| 11438 | do : | 19229 | do |
| 11439 | ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" | 19230 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11440 | if test "x$ac_cv_func_setlocale" = x""yes; then : | 19231 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 19232 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 19233 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19234 | $as_echo_n "(cached) " >&6 | ||
| 19235 | else | ||
| 19236 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19237 | /* confdefs.h. */ | ||
| 19238 | _ACEOF | ||
| 19239 | cat confdefs.h >>conftest.$ac_ext | ||
| 19240 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19241 | /* end confdefs.h. */ | ||
| 19242 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 19243 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 19244 | #define $ac_func innocuous_$ac_func | ||
| 19245 | |||
| 19246 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 19247 | which can conflict with char $ac_func (); below. | ||
| 19248 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 19249 | <limits.h> exists even on freestanding compilers. */ | ||
| 19250 | |||
| 19251 | #ifdef __STDC__ | ||
| 19252 | # include <limits.h> | ||
| 19253 | #else | ||
| 19254 | # include <assert.h> | ||
| 19255 | #endif | ||
| 19256 | |||
| 19257 | #undef $ac_func | ||
| 19258 | |||
| 19259 | /* Override any GCC internal prototype to avoid an error. | ||
| 19260 | Use char because int might match the return type of a GCC | ||
| 19261 | builtin and then its argument prototype would still apply. */ | ||
| 19262 | #ifdef __cplusplus | ||
| 19263 | extern "C" | ||
| 19264 | #endif | ||
| 19265 | char $ac_func (); | ||
| 19266 | /* The GNU C library defines this for functions which it implements | ||
| 19267 | to always fail with ENOSYS. Some functions are actually named | ||
| 19268 | something starting with __ and the normal name is an alias. */ | ||
| 19269 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 19270 | choke me | ||
| 19271 | #endif | ||
| 19272 | |||
| 19273 | int | ||
| 19274 | main () | ||
| 19275 | { | ||
| 19276 | return $ac_func (); | ||
| 19277 | ; | ||
| 19278 | return 0; | ||
| 19279 | } | ||
| 19280 | _ACEOF | ||
| 19281 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 19282 | if { (ac_try="$ac_link" | ||
| 19283 | case "(($ac_try" in | ||
| 19284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19285 | *) ac_try_echo=$ac_try;; | ||
| 19286 | esac | ||
| 19287 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19288 | $as_echo "$ac_try_echo") >&5 | ||
| 19289 | (eval "$ac_link") 2>conftest.er1 | ||
| 19290 | ac_status=$? | ||
| 19291 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19292 | rm -f conftest.er1 | ||
| 19293 | cat conftest.err >&5 | ||
| 19294 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19295 | (exit $ac_status); } && { | ||
| 19296 | test -z "$ac_c_werror_flag" || | ||
| 19297 | test ! -s conftest.err | ||
| 19298 | } && test -s conftest$ac_exeext && { | ||
| 19299 | test "$cross_compiling" = yes || | ||
| 19300 | $as_test_x conftest$ac_exeext | ||
| 19301 | }; then | ||
| 19302 | eval "$as_ac_var=yes" | ||
| 19303 | else | ||
| 19304 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19305 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19306 | |||
| 19307 | eval "$as_ac_var=no" | ||
| 19308 | fi | ||
| 19309 | |||
| 19310 | rm -rf conftest.dSYM | ||
| 19311 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19312 | conftest$ac_exeext conftest.$ac_ext | ||
| 19313 | fi | ||
| 19314 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 19315 | $as_echo "$as_val"'` | ||
| 19316 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19317 | $as_echo "$ac_res" >&6; } | ||
| 19318 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 19319 | $as_echo "$as_val"'` = yes; then | ||
| 11441 | cat >>confdefs.h <<_ACEOF | 19320 | cat >>confdefs.h <<_ACEOF |
| 11442 | #define HAVE_SETLOCALE 1 | 19321 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11443 | _ACEOF | 19322 | _ACEOF |
| 11444 | 19323 | ||
| 11445 | fi | 19324 | fi |
| @@ -11452,19 +19331,151 @@ done | |||
| 11452 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | 19331 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then |
| 11453 | ac_have_func=yes | 19332 | ac_have_func=yes |
| 11454 | 19333 | ||
| 11455 | $as_echo "#define SVR4 1" >>confdefs.h | 19334 | cat >>confdefs.h <<\_ACEOF |
| 19335 | #define SVR4 1 | ||
| 19336 | _ACEOF | ||
| 11456 | 19337 | ||
| 11457 | fi | 19338 | fi |
| 11458 | 19339 | ||
| 11459 | if test $ac_have_func = no; then | 19340 | if test $ac_have_func = no; then |
| 11460 | ac_fn_c_check_header_mongrel "$LINENO" "inq_stats/cpustats.h" "ac_cv_header_inq_stats_cpustats_h" "$ac_includes_default" | 19341 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 11461 | if test "x$ac_cv_header_inq_stats_cpustats_h" = x""yes; then : | 19342 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
| 19343 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19344 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19345 | $as_echo_n "(cached) " >&6 | ||
| 19346 | fi | ||
| 19347 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19348 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19349 | else | ||
| 19350 | # Is the header compilable? | ||
| 19351 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | ||
| 19352 | $as_echo_n "checking inq_stats/cpustats.h usability... " >&6; } | ||
| 19353 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19354 | /* confdefs.h. */ | ||
| 19355 | _ACEOF | ||
| 19356 | cat confdefs.h >>conftest.$ac_ext | ||
| 19357 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19358 | /* end confdefs.h. */ | ||
| 19359 | $ac_includes_default | ||
| 19360 | #include <inq_stats/cpustats.h> | ||
| 19361 | _ACEOF | ||
| 19362 | rm -f conftest.$ac_objext | ||
| 19363 | if { (ac_try="$ac_compile" | ||
| 19364 | case "(($ac_try" in | ||
| 19365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19366 | *) ac_try_echo=$ac_try;; | ||
| 19367 | esac | ||
| 19368 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19369 | $as_echo "$ac_try_echo") >&5 | ||
| 19370 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19371 | ac_status=$? | ||
| 19372 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19373 | rm -f conftest.er1 | ||
| 19374 | cat conftest.err >&5 | ||
| 19375 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19376 | (exit $ac_status); } && { | ||
| 19377 | test -z "$ac_c_werror_flag" || | ||
| 19378 | test ! -s conftest.err | ||
| 19379 | } && test -s conftest.$ac_objext; then | ||
| 19380 | ac_header_compiler=yes | ||
| 19381 | else | ||
| 19382 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19384 | |||
| 19385 | ac_header_compiler=no | ||
| 19386 | fi | ||
| 19387 | |||
| 19388 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19389 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19390 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19391 | |||
| 19392 | # Is the header present? | ||
| 19393 | { $as_echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | ||
| 19394 | $as_echo_n "checking inq_stats/cpustats.h presence... " >&6; } | ||
| 19395 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19396 | /* confdefs.h. */ | ||
| 19397 | _ACEOF | ||
| 19398 | cat confdefs.h >>conftest.$ac_ext | ||
| 19399 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19400 | /* end confdefs.h. */ | ||
| 19401 | #include <inq_stats/cpustats.h> | ||
| 19402 | _ACEOF | ||
| 19403 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19404 | case "(($ac_try" in | ||
| 19405 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19406 | *) ac_try_echo=$ac_try;; | ||
| 19407 | esac | ||
| 19408 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19409 | $as_echo "$ac_try_echo") >&5 | ||
| 19410 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19411 | ac_status=$? | ||
| 19412 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19413 | rm -f conftest.er1 | ||
| 19414 | cat conftest.err >&5 | ||
| 19415 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19416 | (exit $ac_status); } >/dev/null && { | ||
| 19417 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19418 | test ! -s conftest.err | ||
| 19419 | }; then | ||
| 19420 | ac_header_preproc=yes | ||
| 19421 | else | ||
| 19422 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19423 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19424 | |||
| 19425 | ac_header_preproc=no | ||
| 19426 | fi | ||
| 19427 | |||
| 19428 | rm -f conftest.err conftest.$ac_ext | ||
| 19429 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19430 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19431 | |||
| 19432 | # So? What about this header? | ||
| 19433 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19434 | yes:no: ) | ||
| 19435 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19436 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19437 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19438 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19439 | ac_header_preproc=yes | ||
| 19440 | ;; | ||
| 19441 | no:yes:* ) | ||
| 19442 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | ||
| 19443 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19444 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19445 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19446 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19447 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19448 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19449 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19450 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19451 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19452 | { $as_echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19453 | $as_echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19454 | |||
| 19455 | ;; | ||
| 19456 | esac | ||
| 19457 | { $as_echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 19458 | $as_echo_n "checking for inq_stats/cpustats.h... " >&6; } | ||
| 19459 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 19460 | $as_echo_n "(cached) " >&6 | ||
| 19461 | else | ||
| 19462 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | ||
| 19463 | fi | ||
| 19464 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 19465 | $as_echo "$ac_cv_header_inq_stats_cpustats_h" >&6; } | ||
| 19466 | |||
| 19467 | fi | ||
| 19468 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | ||
| 11462 | ac_have_func=yes | 19469 | ac_have_func=yes |
| 11463 | 19470 | ||
| 11464 | $as_echo "#define UMAX 1" >>confdefs.h | 19471 | cat >>confdefs.h <<\_ACEOF |
| 19472 | #define UMAX 1 | ||
| 19473 | _ACEOF | ||
| 11465 | 19474 | ||
| 11466 | 19475 | ||
| 11467 | $as_echo "#define UMAX4_3 1" >>confdefs.h | 19476 | cat >>confdefs.h <<\_ACEOF |
| 19477 | #define UMAX4_3 1 | ||
| 19478 | _ACEOF | ||
| 11468 | 19479 | ||
| 11469 | fi | 19480 | fi |
| 11470 | 19481 | ||
| @@ -11472,9 +19483,137 @@ fi | |||
| 11472 | fi | 19483 | fi |
| 11473 | 19484 | ||
| 11474 | if test $ac_have_func = no; then | 19485 | if test $ac_have_func = no; then |
| 11475 | ac_fn_c_check_header_mongrel "$LINENO" "sys/cpustats.h" "ac_cv_header_sys_cpustats_h" "$ac_includes_default" | 19486 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 11476 | if test "x$ac_cv_header_sys_cpustats_h" = x""yes; then : | 19487 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
| 11477 | ac_have_func=yes; $as_echo "#define UMAX 1" >>confdefs.h | 19488 | $as_echo_n "checking for sys/cpustats.h... " >&6; } |
| 19489 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19490 | $as_echo_n "(cached) " >&6 | ||
| 19491 | fi | ||
| 19492 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19493 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19494 | else | ||
| 19495 | # Is the header compilable? | ||
| 19496 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | ||
| 19497 | $as_echo_n "checking sys/cpustats.h usability... " >&6; } | ||
| 19498 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19499 | /* confdefs.h. */ | ||
| 19500 | _ACEOF | ||
| 19501 | cat confdefs.h >>conftest.$ac_ext | ||
| 19502 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19503 | /* end confdefs.h. */ | ||
| 19504 | $ac_includes_default | ||
| 19505 | #include <sys/cpustats.h> | ||
| 19506 | _ACEOF | ||
| 19507 | rm -f conftest.$ac_objext | ||
| 19508 | if { (ac_try="$ac_compile" | ||
| 19509 | case "(($ac_try" in | ||
| 19510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19511 | *) ac_try_echo=$ac_try;; | ||
| 19512 | esac | ||
| 19513 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19514 | $as_echo "$ac_try_echo") >&5 | ||
| 19515 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19516 | ac_status=$? | ||
| 19517 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19518 | rm -f conftest.er1 | ||
| 19519 | cat conftest.err >&5 | ||
| 19520 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19521 | (exit $ac_status); } && { | ||
| 19522 | test -z "$ac_c_werror_flag" || | ||
| 19523 | test ! -s conftest.err | ||
| 19524 | } && test -s conftest.$ac_objext; then | ||
| 19525 | ac_header_compiler=yes | ||
| 19526 | else | ||
| 19527 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19528 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19529 | |||
| 19530 | ac_header_compiler=no | ||
| 19531 | fi | ||
| 19532 | |||
| 19533 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19534 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19535 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19536 | |||
| 19537 | # Is the header present? | ||
| 19538 | { $as_echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | ||
| 19539 | $as_echo_n "checking sys/cpustats.h presence... " >&6; } | ||
| 19540 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19541 | /* confdefs.h. */ | ||
| 19542 | _ACEOF | ||
| 19543 | cat confdefs.h >>conftest.$ac_ext | ||
| 19544 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19545 | /* end confdefs.h. */ | ||
| 19546 | #include <sys/cpustats.h> | ||
| 19547 | _ACEOF | ||
| 19548 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19549 | case "(($ac_try" in | ||
| 19550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19551 | *) ac_try_echo=$ac_try;; | ||
| 19552 | esac | ||
| 19553 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19554 | $as_echo "$ac_try_echo") >&5 | ||
| 19555 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19556 | ac_status=$? | ||
| 19557 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19558 | rm -f conftest.er1 | ||
| 19559 | cat conftest.err >&5 | ||
| 19560 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19561 | (exit $ac_status); } >/dev/null && { | ||
| 19562 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19563 | test ! -s conftest.err | ||
| 19564 | }; then | ||
| 19565 | ac_header_preproc=yes | ||
| 19566 | else | ||
| 19567 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19568 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19569 | |||
| 19570 | ac_header_preproc=no | ||
| 19571 | fi | ||
| 19572 | |||
| 19573 | rm -f conftest.err conftest.$ac_ext | ||
| 19574 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19575 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19576 | |||
| 19577 | # So? What about this header? | ||
| 19578 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19579 | yes:no: ) | ||
| 19580 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19581 | $as_echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19582 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&5 | ||
| 19583 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the compiler's result" >&2;} | ||
| 19584 | ac_header_preproc=yes | ||
| 19585 | ;; | ||
| 19586 | no:yes:* ) | ||
| 19587 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | ||
| 19588 | $as_echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | ||
| 19589 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 19590 | $as_echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 19591 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: see the Autoconf documentation" >&5 | ||
| 19592 | $as_echo "$as_me: WARNING: sys/cpustats.h: see the Autoconf documentation" >&2;} | ||
| 19593 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19594 | $as_echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19595 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 19596 | $as_echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | ||
| 19597 | { $as_echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | ||
| 19598 | $as_echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | ||
| 19599 | |||
| 19600 | ;; | ||
| 19601 | esac | ||
| 19602 | { $as_echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 19603 | $as_echo_n "checking for sys/cpustats.h... " >&6; } | ||
| 19604 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 19605 | $as_echo_n "(cached) " >&6 | ||
| 19606 | else | ||
| 19607 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | ||
| 19608 | fi | ||
| 19609 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 19610 | $as_echo "$ac_cv_header_sys_cpustats_h" >&6; } | ||
| 19611 | |||
| 19612 | fi | ||
| 19613 | if test $ac_cv_header_sys_cpustats_h = yes; then | ||
| 19614 | ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | ||
| 19615 | #define UMAX 1 | ||
| 19616 | _ACEOF | ||
| 11478 | 19617 | ||
| 11479 | fi | 19618 | fi |
| 11480 | 19619 | ||
| @@ -11482,12 +19621,145 @@ fi | |||
| 11482 | fi | 19621 | fi |
| 11483 | 19622 | ||
| 11484 | if test $ac_have_func = no; then | 19623 | if test $ac_have_func = no; then |
| 11485 | for ac_header in mach/mach.h | 19624 | |
| 11486 | do : | 19625 | for ac_header in mach/mach.h |
| 11487 | ac_fn_c_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default" | 19626 | do |
| 11488 | if test "x$ac_cv_header_mach_mach_h" = x""yes; then : | 19627 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19628 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19629 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19630 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19631 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19632 | $as_echo_n "(cached) " >&6 | ||
| 19633 | fi | ||
| 19634 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19635 | $as_echo "$as_val"'` | ||
| 19636 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19637 | $as_echo "$ac_res" >&6; } | ||
| 19638 | else | ||
| 19639 | # Is the header compilable? | ||
| 19640 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19641 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19642 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19643 | /* confdefs.h. */ | ||
| 19644 | _ACEOF | ||
| 19645 | cat confdefs.h >>conftest.$ac_ext | ||
| 19646 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19647 | /* end confdefs.h. */ | ||
| 19648 | $ac_includes_default | ||
| 19649 | #include <$ac_header> | ||
| 19650 | _ACEOF | ||
| 19651 | rm -f conftest.$ac_objext | ||
| 19652 | if { (ac_try="$ac_compile" | ||
| 19653 | case "(($ac_try" in | ||
| 19654 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19655 | *) ac_try_echo=$ac_try;; | ||
| 19656 | esac | ||
| 19657 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19658 | $as_echo "$ac_try_echo") >&5 | ||
| 19659 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19660 | ac_status=$? | ||
| 19661 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19662 | rm -f conftest.er1 | ||
| 19663 | cat conftest.err >&5 | ||
| 19664 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19665 | (exit $ac_status); } && { | ||
| 19666 | test -z "$ac_c_werror_flag" || | ||
| 19667 | test ! -s conftest.err | ||
| 19668 | } && test -s conftest.$ac_objext; then | ||
| 19669 | ac_header_compiler=yes | ||
| 19670 | else | ||
| 19671 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19672 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19673 | |||
| 19674 | ac_header_compiler=no | ||
| 19675 | fi | ||
| 19676 | |||
| 19677 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19678 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19679 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19680 | |||
| 19681 | # Is the header present? | ||
| 19682 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19683 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19684 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19685 | /* confdefs.h. */ | ||
| 19686 | _ACEOF | ||
| 19687 | cat confdefs.h >>conftest.$ac_ext | ||
| 19688 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19689 | /* end confdefs.h. */ | ||
| 19690 | #include <$ac_header> | ||
| 19691 | _ACEOF | ||
| 19692 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19693 | case "(($ac_try" in | ||
| 19694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19695 | *) ac_try_echo=$ac_try;; | ||
| 19696 | esac | ||
| 19697 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19698 | $as_echo "$ac_try_echo") >&5 | ||
| 19699 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19700 | ac_status=$? | ||
| 19701 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19702 | rm -f conftest.er1 | ||
| 19703 | cat conftest.err >&5 | ||
| 19704 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19705 | (exit $ac_status); } >/dev/null && { | ||
| 19706 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19707 | test ! -s conftest.err | ||
| 19708 | }; then | ||
| 19709 | ac_header_preproc=yes | ||
| 19710 | else | ||
| 19711 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19712 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19713 | |||
| 19714 | ac_header_preproc=no | ||
| 19715 | fi | ||
| 19716 | |||
| 19717 | rm -f conftest.err conftest.$ac_ext | ||
| 19718 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19719 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19720 | |||
| 19721 | # So? What about this header? | ||
| 19722 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19723 | yes:no: ) | ||
| 19724 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19725 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19726 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19727 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19728 | ac_header_preproc=yes | ||
| 19729 | ;; | ||
| 19730 | no:yes:* ) | ||
| 19731 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19732 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19733 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19734 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19735 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19736 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19737 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19738 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19739 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19740 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19741 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19742 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19743 | |||
| 19744 | ;; | ||
| 19745 | esac | ||
| 19746 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19747 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19748 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19749 | $as_echo_n "(cached) " >&6 | ||
| 19750 | else | ||
| 19751 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19752 | fi | ||
| 19753 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19754 | $as_echo "$as_val"'` | ||
| 19755 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19756 | $as_echo "$ac_res" >&6; } | ||
| 19757 | |||
| 19758 | fi | ||
| 19759 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19760 | $as_echo "$as_val"'` = yes; then | ||
| 11489 | cat >>confdefs.h <<_ACEOF | 19761 | cat >>confdefs.h <<_ACEOF |
| 11490 | #define HAVE_MACH_MACH_H 1 | 19762 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11491 | _ACEOF | 19763 | _ACEOF |
| 11492 | 19764 | ||
| 11493 | fi | 19765 | fi |
| @@ -11496,23 +19768,253 @@ done | |||
| 11496 | 19768 | ||
| 11497 | fi | 19769 | fi |
| 11498 | 19770 | ||
| 19771 | |||
| 11499 | for ac_header in nlist.h | 19772 | for ac_header in nlist.h |
| 11500 | do : | 19773 | do |
| 11501 | ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" | 19774 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11502 | if test "x$ac_cv_header_nlist_h" = x""yes; then : | 19775 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19776 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19777 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19778 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19779 | $as_echo_n "(cached) " >&6 | ||
| 19780 | fi | ||
| 19781 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19782 | $as_echo "$as_val"'` | ||
| 19783 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19784 | $as_echo "$ac_res" >&6; } | ||
| 19785 | else | ||
| 19786 | # Is the header compilable? | ||
| 19787 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 19788 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 19789 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19790 | /* confdefs.h. */ | ||
| 19791 | _ACEOF | ||
| 19792 | cat confdefs.h >>conftest.$ac_ext | ||
| 19793 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19794 | /* end confdefs.h. */ | ||
| 19795 | $ac_includes_default | ||
| 19796 | #include <$ac_header> | ||
| 19797 | _ACEOF | ||
| 19798 | rm -f conftest.$ac_objext | ||
| 19799 | if { (ac_try="$ac_compile" | ||
| 19800 | case "(($ac_try" in | ||
| 19801 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19802 | *) ac_try_echo=$ac_try;; | ||
| 19803 | esac | ||
| 19804 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19805 | $as_echo "$ac_try_echo") >&5 | ||
| 19806 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19807 | ac_status=$? | ||
| 19808 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19809 | rm -f conftest.er1 | ||
| 19810 | cat conftest.err >&5 | ||
| 19811 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19812 | (exit $ac_status); } && { | ||
| 19813 | test -z "$ac_c_werror_flag" || | ||
| 19814 | test ! -s conftest.err | ||
| 19815 | } && test -s conftest.$ac_objext; then | ||
| 19816 | ac_header_compiler=yes | ||
| 19817 | else | ||
| 19818 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19819 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19820 | |||
| 19821 | ac_header_compiler=no | ||
| 19822 | fi | ||
| 19823 | |||
| 19824 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 19825 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 19826 | $as_echo "$ac_header_compiler" >&6; } | ||
| 19827 | |||
| 19828 | # Is the header present? | ||
| 19829 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 19830 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 19831 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19832 | /* confdefs.h. */ | ||
| 19833 | _ACEOF | ||
| 19834 | cat confdefs.h >>conftest.$ac_ext | ||
| 19835 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19836 | /* end confdefs.h. */ | ||
| 19837 | #include <$ac_header> | ||
| 19838 | _ACEOF | ||
| 19839 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 19840 | case "(($ac_try" in | ||
| 19841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19842 | *) ac_try_echo=$ac_try;; | ||
| 19843 | esac | ||
| 19844 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19845 | $as_echo "$ac_try_echo") >&5 | ||
| 19846 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19847 | ac_status=$? | ||
| 19848 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19849 | rm -f conftest.er1 | ||
| 19850 | cat conftest.err >&5 | ||
| 19851 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19852 | (exit $ac_status); } >/dev/null && { | ||
| 19853 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 19854 | test ! -s conftest.err | ||
| 19855 | }; then | ||
| 19856 | ac_header_preproc=yes | ||
| 19857 | else | ||
| 19858 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19859 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19860 | |||
| 19861 | ac_header_preproc=no | ||
| 19862 | fi | ||
| 19863 | |||
| 19864 | rm -f conftest.err conftest.$ac_ext | ||
| 19865 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 19866 | $as_echo "$ac_header_preproc" >&6; } | ||
| 19867 | |||
| 19868 | # So? What about this header? | ||
| 19869 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 19870 | yes:no: ) | ||
| 19871 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 19872 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 19873 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 19874 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 19875 | ac_header_preproc=yes | ||
| 19876 | ;; | ||
| 19877 | no:yes:* ) | ||
| 19878 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 19879 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 19880 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 19881 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 19882 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 19883 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 19884 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 19885 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 19886 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 19887 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 19888 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 19889 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 19890 | |||
| 19891 | ;; | ||
| 19892 | esac | ||
| 19893 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 19894 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 19895 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 19896 | $as_echo_n "(cached) " >&6 | ||
| 19897 | else | ||
| 19898 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 19899 | fi | ||
| 19900 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 19901 | $as_echo "$as_val"'` | ||
| 19902 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 19903 | $as_echo "$ac_res" >&6; } | ||
| 19904 | |||
| 19905 | fi | ||
| 19906 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 19907 | $as_echo "$as_val"'` = yes; then | ||
| 11503 | cat >>confdefs.h <<_ACEOF | 19908 | cat >>confdefs.h <<_ACEOF |
| 11504 | #define HAVE_NLIST_H 1 | 19909 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11505 | _ACEOF | 19910 | _ACEOF |
| 11506 | ac_fn_c_check_member "$LINENO" "struct nlist" "n_un.n_name" "ac_cv_member_struct_nlist_n_un_n_name" "#include <nlist.h> | 19911 | { $as_echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
| 11507 | " | 19912 | $as_echo_n "checking for struct nlist.n_un.n_name... " >&6; } |
| 11508 | if test "x$ac_cv_member_struct_nlist_n_un_n_name" = x""yes; then : | 19913 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
| 19914 | $as_echo_n "(cached) " >&6 | ||
| 19915 | else | ||
| 19916 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19917 | /* confdefs.h. */ | ||
| 19918 | _ACEOF | ||
| 19919 | cat confdefs.h >>conftest.$ac_ext | ||
| 19920 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19921 | /* end confdefs.h. */ | ||
| 19922 | #include <nlist.h> | ||
| 19923 | |||
| 19924 | int | ||
| 19925 | main () | ||
| 19926 | { | ||
| 19927 | static struct nlist ac_aggr; | ||
| 19928 | if (ac_aggr.n_un.n_name) | ||
| 19929 | return 0; | ||
| 19930 | ; | ||
| 19931 | return 0; | ||
| 19932 | } | ||
| 19933 | _ACEOF | ||
| 19934 | rm -f conftest.$ac_objext | ||
| 19935 | if { (ac_try="$ac_compile" | ||
| 19936 | case "(($ac_try" in | ||
| 19937 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19938 | *) ac_try_echo=$ac_try;; | ||
| 19939 | esac | ||
| 19940 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19941 | $as_echo "$ac_try_echo") >&5 | ||
| 19942 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19943 | ac_status=$? | ||
| 19944 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19945 | rm -f conftest.er1 | ||
| 19946 | cat conftest.err >&5 | ||
| 19947 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19948 | (exit $ac_status); } && { | ||
| 19949 | test -z "$ac_c_werror_flag" || | ||
| 19950 | test ! -s conftest.err | ||
| 19951 | } && test -s conftest.$ac_objext; then | ||
| 19952 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 19953 | else | ||
| 19954 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19955 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19956 | |||
| 19957 | cat >conftest.$ac_ext <<_ACEOF | ||
| 19958 | /* confdefs.h. */ | ||
| 19959 | _ACEOF | ||
| 19960 | cat confdefs.h >>conftest.$ac_ext | ||
| 19961 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 19962 | /* end confdefs.h. */ | ||
| 19963 | #include <nlist.h> | ||
| 19964 | |||
| 19965 | int | ||
| 19966 | main () | ||
| 19967 | { | ||
| 19968 | static struct nlist ac_aggr; | ||
| 19969 | if (sizeof ac_aggr.n_un.n_name) | ||
| 19970 | return 0; | ||
| 19971 | ; | ||
| 19972 | return 0; | ||
| 19973 | } | ||
| 19974 | _ACEOF | ||
| 19975 | rm -f conftest.$ac_objext | ||
| 19976 | if { (ac_try="$ac_compile" | ||
| 19977 | case "(($ac_try" in | ||
| 19978 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19979 | *) ac_try_echo=$ac_try;; | ||
| 19980 | esac | ||
| 19981 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 19982 | $as_echo "$ac_try_echo") >&5 | ||
| 19983 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19984 | ac_status=$? | ||
| 19985 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 19986 | rm -f conftest.er1 | ||
| 19987 | cat conftest.err >&5 | ||
| 19988 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19989 | (exit $ac_status); } && { | ||
| 19990 | test -z "$ac_c_werror_flag" || | ||
| 19991 | test ! -s conftest.err | ||
| 19992 | } && test -s conftest.$ac_objext; then | ||
| 19993 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 19994 | else | ||
| 19995 | $as_echo "$as_me: failed program was:" >&5 | ||
| 19996 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 19997 | |||
| 19998 | ac_cv_member_struct_nlist_n_un_n_name=no | ||
| 19999 | fi | ||
| 20000 | |||
| 20001 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20002 | fi | ||
| 20003 | |||
| 20004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20005 | fi | ||
| 20006 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | ||
| 20007 | $as_echo "$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | ||
| 20008 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | ||
| 11509 | 20009 | ||
| 11510 | cat >>confdefs.h <<_ACEOF | 20010 | cat >>confdefs.h <<_ACEOF |
| 11511 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 20011 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
| 11512 | _ACEOF | 20012 | _ACEOF |
| 11513 | 20013 | ||
| 11514 | 20014 | ||
| 11515 | $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h | 20015 | cat >>confdefs.h <<\_ACEOF |
| 20016 | #define NLIST_NAME_UNION 1 | ||
| 20017 | _ACEOF | ||
| 11516 | 20018 | ||
| 11517 | fi | 20019 | fi |
| 11518 | 20020 | ||
| @@ -11526,12 +20028,16 @@ done | |||
| 11526 | 20028 | ||
| 11527 | 20029 | ||
| 11528 | # Some definitions of getloadavg require that the program be installed setgid. | 20030 | # Some definitions of getloadavg require that the program be installed setgid. |
| 11529 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getloadavg requires setgid" >&5 | 20031 | { $as_echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
| 11530 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } | 20032 | $as_echo_n "checking whether getloadavg requires setgid... " >&6; } |
| 11531 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then : | 20033 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
| 11532 | $as_echo_n "(cached) " >&6 | 20034 | $as_echo_n "(cached) " >&6 |
| 11533 | else | 20035 | else |
| 11534 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20036 | cat >conftest.$ac_ext <<_ACEOF |
| 20037 | /* confdefs.h. */ | ||
| 20038 | _ACEOF | ||
| 20039 | cat confdefs.h >>conftest.$ac_ext | ||
| 20040 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11535 | /* end confdefs.h. */ | 20041 | /* end confdefs.h. */ |
| 11536 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" | 20042 | #include "$srcdir/$ac_config_libobj_dir/getloadavg.c" |
| 11537 | #ifdef LDAV_PRIVILEGED | 20043 | #ifdef LDAV_PRIVILEGED |
| @@ -11539,7 +20045,7 @@ Yowza Am I SETGID yet | |||
| 11539 | #endif | 20045 | #endif |
| 11540 | _ACEOF | 20046 | _ACEOF |
| 11541 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 20047 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 11542 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then : | 20048 | $EGREP "Yowza Am I SETGID yet" >/dev/null 2>&1; then |
| 11543 | ac_cv_func_getloadavg_setgid=yes | 20049 | ac_cv_func_getloadavg_setgid=yes |
| 11544 | else | 20050 | else |
| 11545 | ac_cv_func_getloadavg_setgid=no | 20051 | ac_cv_func_getloadavg_setgid=no |
| @@ -11547,21 +20053,23 @@ fi | |||
| 11547 | rm -f conftest* | 20053 | rm -f conftest* |
| 11548 | 20054 | ||
| 11549 | fi | 20055 | fi |
| 11550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getloadavg_setgid" >&5 | 20056 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
| 11551 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } | 20057 | $as_echo "$ac_cv_func_getloadavg_setgid" >&6; } |
| 11552 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20058 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11553 | NEED_SETGID=true | 20059 | NEED_SETGID=true |
| 11554 | 20060 | ||
| 11555 | $as_echo "#define GETLOADAVG_PRIVILEGED 1" >>confdefs.h | 20061 | cat >>confdefs.h <<\_ACEOF |
| 20062 | #define GETLOADAVG_PRIVILEGED 1 | ||
| 20063 | _ACEOF | ||
| 11556 | 20064 | ||
| 11557 | else | 20065 | else |
| 11558 | NEED_SETGID=false | 20066 | NEED_SETGID=false |
| 11559 | fi | 20067 | fi |
| 11560 | 20068 | ||
| 11561 | if test $ac_cv_func_getloadavg_setgid = yes; then | 20069 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 11562 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking group of /dev/kmem" >&5 | 20070 | { $as_echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
| 11563 | $as_echo_n "checking group of /dev/kmem... " >&6; } | 20071 | $as_echo_n "checking group of /dev/kmem... " >&6; } |
| 11564 | if test "${ac_cv_group_kmem+set}" = set; then : | 20072 | if test "${ac_cv_group_kmem+set}" = set; then |
| 11565 | $as_echo_n "(cached) " >&6 | 20073 | $as_echo_n "(cached) " >&6 |
| 11566 | else | 20074 | else |
| 11567 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 20075 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
| @@ -11574,7 +20082,7 @@ else | |||
| 11574 | / /s/.* //;p;'` | 20082 | / /s/.* //;p;'` |
| 11575 | 20083 | ||
| 11576 | fi | 20084 | fi |
| 11577 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_group_kmem" >&5 | 20085 | { $as_echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
| 11578 | $as_echo "$ac_cv_group_kmem" >&6; } | 20086 | $as_echo "$ac_cv_group_kmem" >&6; } |
| 11579 | KMEM_GROUP=$ac_cv_group_kmem | 20087 | KMEM_GROUP=$ac_cv_group_kmem |
| 11580 | fi | 20088 | fi |
| @@ -11587,13 +20095,17 @@ LIBS=$ac_save_LIBS | |||
| 11587 | 20095 | ||
| 11588 | 20096 | ||
| 11589 | 20097 | ||
| 11590 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 20098 | { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 11591 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } | 20099 | $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
| 11592 | if test "${ac_cv_sys_largefile_source+set}" = set; then : | 20100 | if test "${ac_cv_sys_largefile_source+set}" = set; then |
| 11593 | $as_echo_n "(cached) " >&6 | 20101 | $as_echo_n "(cached) " >&6 |
| 11594 | else | 20102 | else |
| 11595 | while :; do | 20103 | while :; do |
| 11596 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20104 | cat >conftest.$ac_ext <<_ACEOF |
| 20105 | /* confdefs.h. */ | ||
| 20106 | _ACEOF | ||
| 20107 | cat confdefs.h >>conftest.$ac_ext | ||
| 20108 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11597 | /* end confdefs.h. */ | 20109 | /* end confdefs.h. */ |
| 11598 | #include <sys/types.h> /* for off_t */ | 20110 | #include <sys/types.h> /* for off_t */ |
| 11599 | #include <stdio.h> | 20111 | #include <stdio.h> |
| @@ -11606,12 +20118,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11606 | return 0; | 20118 | return 0; |
| 11607 | } | 20119 | } |
| 11608 | _ACEOF | 20120 | _ACEOF |
| 11609 | if ac_fn_c_try_link "$LINENO"; then : | 20121 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20122 | if { (ac_try="$ac_link" | ||
| 20123 | case "(($ac_try" in | ||
| 20124 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20125 | *) ac_try_echo=$ac_try;; | ||
| 20126 | esac | ||
| 20127 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20128 | $as_echo "$ac_try_echo") >&5 | ||
| 20129 | (eval "$ac_link") 2>conftest.er1 | ||
| 20130 | ac_status=$? | ||
| 20131 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20132 | rm -f conftest.er1 | ||
| 20133 | cat conftest.err >&5 | ||
| 20134 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20135 | (exit $ac_status); } && { | ||
| 20136 | test -z "$ac_c_werror_flag" || | ||
| 20137 | test ! -s conftest.err | ||
| 20138 | } && test -s conftest$ac_exeext && { | ||
| 20139 | test "$cross_compiling" = yes || | ||
| 20140 | $as_test_x conftest$ac_exeext | ||
| 20141 | }; then | ||
| 11610 | ac_cv_sys_largefile_source=no; break | 20142 | ac_cv_sys_largefile_source=no; break |
| 20143 | else | ||
| 20144 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20145 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20146 | |||
| 20147 | |||
| 11611 | fi | 20148 | fi |
| 11612 | rm -f core conftest.err conftest.$ac_objext \ | 20149 | |
| 11613 | conftest$ac_exeext conftest.$ac_ext | 20150 | rm -rf conftest.dSYM |
| 11614 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20151 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 20152 | conftest$ac_exeext conftest.$ac_ext | ||
| 20153 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20154 | /* confdefs.h. */ | ||
| 20155 | _ACEOF | ||
| 20156 | cat confdefs.h >>conftest.$ac_ext | ||
| 20157 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11615 | /* end confdefs.h. */ | 20158 | /* end confdefs.h. */ |
| 11616 | #define _LARGEFILE_SOURCE 1 | 20159 | #define _LARGEFILE_SOURCE 1 |
| 11617 | #include <sys/types.h> /* for off_t */ | 20160 | #include <sys/types.h> /* for off_t */ |
| @@ -11625,16 +20168,43 @@ int (*fp) (FILE *, off_t, int) = fseeko; | |||
| 11625 | return 0; | 20168 | return 0; |
| 11626 | } | 20169 | } |
| 11627 | _ACEOF | 20170 | _ACEOF |
| 11628 | if ac_fn_c_try_link "$LINENO"; then : | 20171 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20172 | if { (ac_try="$ac_link" | ||
| 20173 | case "(($ac_try" in | ||
| 20174 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20175 | *) ac_try_echo=$ac_try;; | ||
| 20176 | esac | ||
| 20177 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20178 | $as_echo "$ac_try_echo") >&5 | ||
| 20179 | (eval "$ac_link") 2>conftest.er1 | ||
| 20180 | ac_status=$? | ||
| 20181 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20182 | rm -f conftest.er1 | ||
| 20183 | cat conftest.err >&5 | ||
| 20184 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20185 | (exit $ac_status); } && { | ||
| 20186 | test -z "$ac_c_werror_flag" || | ||
| 20187 | test ! -s conftest.err | ||
| 20188 | } && test -s conftest$ac_exeext && { | ||
| 20189 | test "$cross_compiling" = yes || | ||
| 20190 | $as_test_x conftest$ac_exeext | ||
| 20191 | }; then | ||
| 11629 | ac_cv_sys_largefile_source=1; break | 20192 | ac_cv_sys_largefile_source=1; break |
| 20193 | else | ||
| 20194 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20196 | |||
| 20197 | |||
| 11630 | fi | 20198 | fi |
| 11631 | rm -f core conftest.err conftest.$ac_objext \ | 20199 | |
| 11632 | conftest$ac_exeext conftest.$ac_ext | 20200 | rm -rf conftest.dSYM |
| 20201 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20202 | conftest$ac_exeext conftest.$ac_ext | ||
| 11633 | ac_cv_sys_largefile_source=unknown | 20203 | ac_cv_sys_largefile_source=unknown |
| 11634 | break | 20204 | break |
| 11635 | done | 20205 | done |
| 11636 | fi | 20206 | fi |
| 11637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 | 20207 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
| 11638 | $as_echo "$ac_cv_sys_largefile_source" >&6; } | 20208 | $as_echo "$ac_cv_sys_largefile_source" >&6; } |
| 11639 | case $ac_cv_sys_largefile_source in #( | 20209 | case $ac_cv_sys_largefile_source in #( |
| 11640 | no | unknown) ;; | 20210 | no | unknown) ;; |
| @@ -11651,7 +20221,9 @@ rm -rf conftest* | |||
| 11651 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 20221 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
| 11652 | if test $ac_cv_sys_largefile_source != unknown; then | 20222 | if test $ac_cv_sys_largefile_source != unknown; then |
| 11653 | 20223 | ||
| 11654 | $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h | 20224 | cat >>confdefs.h <<\_ACEOF |
| 20225 | #define HAVE_FSEEKO 1 | ||
| 20226 | _ACEOF | ||
| 11655 | 20227 | ||
| 11656 | fi | 20228 | fi |
| 11657 | 20229 | ||
| @@ -11679,12 +20251,145 @@ fi | |||
| 11679 | 20251 | ||
| 11680 | 20252 | ||
| 11681 | GETOPT_H= | 20253 | GETOPT_H= |
| 11682 | for ac_header in getopt.h | 20254 | |
| 11683 | do : | 20255 | for ac_header in getopt.h |
| 11684 | ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" | 20256 | do |
| 11685 | if test "x$ac_cv_header_getopt_h" = x""yes; then : | 20257 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20258 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20259 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20260 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20261 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20262 | $as_echo_n "(cached) " >&6 | ||
| 20263 | fi | ||
| 20264 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20265 | $as_echo "$as_val"'` | ||
| 20266 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20267 | $as_echo "$ac_res" >&6; } | ||
| 20268 | else | ||
| 20269 | # Is the header compilable? | ||
| 20270 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 20271 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 20272 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20273 | /* confdefs.h. */ | ||
| 20274 | _ACEOF | ||
| 20275 | cat confdefs.h >>conftest.$ac_ext | ||
| 20276 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20277 | /* end confdefs.h. */ | ||
| 20278 | $ac_includes_default | ||
| 20279 | #include <$ac_header> | ||
| 20280 | _ACEOF | ||
| 20281 | rm -f conftest.$ac_objext | ||
| 20282 | if { (ac_try="$ac_compile" | ||
| 20283 | case "(($ac_try" in | ||
| 20284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20285 | *) ac_try_echo=$ac_try;; | ||
| 20286 | esac | ||
| 20287 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20288 | $as_echo "$ac_try_echo") >&5 | ||
| 20289 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20290 | ac_status=$? | ||
| 20291 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20292 | rm -f conftest.er1 | ||
| 20293 | cat conftest.err >&5 | ||
| 20294 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20295 | (exit $ac_status); } && { | ||
| 20296 | test -z "$ac_c_werror_flag" || | ||
| 20297 | test ! -s conftest.err | ||
| 20298 | } && test -s conftest.$ac_objext; then | ||
| 20299 | ac_header_compiler=yes | ||
| 20300 | else | ||
| 20301 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20302 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20303 | |||
| 20304 | ac_header_compiler=no | ||
| 20305 | fi | ||
| 20306 | |||
| 20307 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20308 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 20309 | $as_echo "$ac_header_compiler" >&6; } | ||
| 20310 | |||
| 20311 | # Is the header present? | ||
| 20312 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 20313 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 20314 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20315 | /* confdefs.h. */ | ||
| 20316 | _ACEOF | ||
| 20317 | cat confdefs.h >>conftest.$ac_ext | ||
| 20318 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20319 | /* end confdefs.h. */ | ||
| 20320 | #include <$ac_header> | ||
| 20321 | _ACEOF | ||
| 20322 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 20323 | case "(($ac_try" in | ||
| 20324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20325 | *) ac_try_echo=$ac_try;; | ||
| 20326 | esac | ||
| 20327 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20328 | $as_echo "$ac_try_echo") >&5 | ||
| 20329 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20330 | ac_status=$? | ||
| 20331 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20332 | rm -f conftest.er1 | ||
| 20333 | cat conftest.err >&5 | ||
| 20334 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20335 | (exit $ac_status); } >/dev/null && { | ||
| 20336 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 20337 | test ! -s conftest.err | ||
| 20338 | }; then | ||
| 20339 | ac_header_preproc=yes | ||
| 20340 | else | ||
| 20341 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20342 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20343 | |||
| 20344 | ac_header_preproc=no | ||
| 20345 | fi | ||
| 20346 | |||
| 20347 | rm -f conftest.err conftest.$ac_ext | ||
| 20348 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 20349 | $as_echo "$ac_header_preproc" >&6; } | ||
| 20350 | |||
| 20351 | # So? What about this header? | ||
| 20352 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 20353 | yes:no: ) | ||
| 20354 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 20355 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 20356 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 20357 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 20358 | ac_header_preproc=yes | ||
| 20359 | ;; | ||
| 20360 | no:yes:* ) | ||
| 20361 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 20362 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 20363 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 20364 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 20365 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 20366 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 20367 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 20368 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 20369 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 20370 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 20371 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 20372 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 20373 | |||
| 20374 | ;; | ||
| 20375 | esac | ||
| 20376 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 20377 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 20378 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20379 | $as_echo_n "(cached) " >&6 | ||
| 20380 | else | ||
| 20381 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 20382 | fi | ||
| 20383 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 20384 | $as_echo "$as_val"'` | ||
| 20385 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20386 | $as_echo "$ac_res" >&6; } | ||
| 20387 | |||
| 20388 | fi | ||
| 20389 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 20390 | $as_echo "$as_val"'` = yes; then | ||
| 11686 | cat >>confdefs.h <<_ACEOF | 20391 | cat >>confdefs.h <<_ACEOF |
| 11687 | #define HAVE_GETOPT_H 1 | 20392 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 11688 | _ACEOF | 20393 | _ACEOF |
| 11689 | 20394 | ||
| 11690 | else | 20395 | else |
| @@ -11694,12 +20399,101 @@ fi | |||
| 11694 | done | 20399 | done |
| 11695 | 20400 | ||
| 11696 | if test -z "$GETOPT_H"; then | 20401 | if test -z "$GETOPT_H"; then |
| 11697 | for ac_func in getopt_long_only | 20402 | |
| 11698 | do : | 20403 | for ac_func in getopt_long_only |
| 11699 | ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" | 20404 | do |
| 11700 | if test "x$ac_cv_func_getopt_long_only" = x""yes; then : | 20405 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 20406 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 20407 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20408 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20409 | $as_echo_n "(cached) " >&6 | ||
| 20410 | else | ||
| 20411 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20412 | /* confdefs.h. */ | ||
| 20413 | _ACEOF | ||
| 20414 | cat confdefs.h >>conftest.$ac_ext | ||
| 20415 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20416 | /* end confdefs.h. */ | ||
| 20417 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20418 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20419 | #define $ac_func innocuous_$ac_func | ||
| 20420 | |||
| 20421 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20422 | which can conflict with char $ac_func (); below. | ||
| 20423 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20424 | <limits.h> exists even on freestanding compilers. */ | ||
| 20425 | |||
| 20426 | #ifdef __STDC__ | ||
| 20427 | # include <limits.h> | ||
| 20428 | #else | ||
| 20429 | # include <assert.h> | ||
| 20430 | #endif | ||
| 20431 | |||
| 20432 | #undef $ac_func | ||
| 20433 | |||
| 20434 | /* Override any GCC internal prototype to avoid an error. | ||
| 20435 | Use char because int might match the return type of a GCC | ||
| 20436 | builtin and then its argument prototype would still apply. */ | ||
| 20437 | #ifdef __cplusplus | ||
| 20438 | extern "C" | ||
| 20439 | #endif | ||
| 20440 | char $ac_func (); | ||
| 20441 | /* The GNU C library defines this for functions which it implements | ||
| 20442 | to always fail with ENOSYS. Some functions are actually named | ||
| 20443 | something starting with __ and the normal name is an alias. */ | ||
| 20444 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20445 | choke me | ||
| 20446 | #endif | ||
| 20447 | |||
| 20448 | int | ||
| 20449 | main () | ||
| 20450 | { | ||
| 20451 | return $ac_func (); | ||
| 20452 | ; | ||
| 20453 | return 0; | ||
| 20454 | } | ||
| 20455 | _ACEOF | ||
| 20456 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20457 | if { (ac_try="$ac_link" | ||
| 20458 | case "(($ac_try" in | ||
| 20459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20460 | *) ac_try_echo=$ac_try;; | ||
| 20461 | esac | ||
| 20462 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20463 | $as_echo "$ac_try_echo") >&5 | ||
| 20464 | (eval "$ac_link") 2>conftest.er1 | ||
| 20465 | ac_status=$? | ||
| 20466 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20467 | rm -f conftest.er1 | ||
| 20468 | cat conftest.err >&5 | ||
| 20469 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20470 | (exit $ac_status); } && { | ||
| 20471 | test -z "$ac_c_werror_flag" || | ||
| 20472 | test ! -s conftest.err | ||
| 20473 | } && test -s conftest$ac_exeext && { | ||
| 20474 | test "$cross_compiling" = yes || | ||
| 20475 | $as_test_x conftest$ac_exeext | ||
| 20476 | }; then | ||
| 20477 | eval "$as_ac_var=yes" | ||
| 20478 | else | ||
| 20479 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20480 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20481 | |||
| 20482 | eval "$as_ac_var=no" | ||
| 20483 | fi | ||
| 20484 | |||
| 20485 | rm -rf conftest.dSYM | ||
| 20486 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20487 | conftest$ac_exeext conftest.$ac_ext | ||
| 20488 | fi | ||
| 20489 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20490 | $as_echo "$as_val"'` | ||
| 20491 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20492 | $as_echo "$ac_res" >&6; } | ||
| 20493 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20494 | $as_echo "$as_val"'` = yes; then | ||
| 11701 | cat >>confdefs.h <<_ACEOF | 20495 | cat >>confdefs.h <<_ACEOF |
| 11702 | #define HAVE_GETOPT_LONG_ONLY 1 | 20496 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11703 | _ACEOF | 20497 | _ACEOF |
| 11704 | 20498 | ||
| 11705 | else | 20499 | else |
| @@ -11710,31 +20504,139 @@ done | |||
| 11710 | fi | 20504 | fi |
| 11711 | 20505 | ||
| 11712 | if test -z "$GETOPT_H"; then | 20506 | if test -z "$GETOPT_H"; then |
| 11713 | ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include <getopt.h> | 20507 | { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
| 11714 | " | 20508 | $as_echo_n "checking whether optreset is declared... " >&6; } |
| 11715 | if test "x$ac_cv_have_decl_optreset" = x""yes; then : | 20509 | if test "${ac_cv_have_decl_optreset+set}" = set; then |
| 20510 | $as_echo_n "(cached) " >&6 | ||
| 20511 | else | ||
| 20512 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20513 | /* confdefs.h. */ | ||
| 20514 | _ACEOF | ||
| 20515 | cat confdefs.h >>conftest.$ac_ext | ||
| 20516 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20517 | /* end confdefs.h. */ | ||
| 20518 | #include <getopt.h> | ||
| 20519 | |||
| 20520 | int | ||
| 20521 | main () | ||
| 20522 | { | ||
| 20523 | #ifndef optreset | ||
| 20524 | (void) optreset; | ||
| 20525 | #endif | ||
| 20526 | |||
| 20527 | ; | ||
| 20528 | return 0; | ||
| 20529 | } | ||
| 20530 | _ACEOF | ||
| 20531 | rm -f conftest.$ac_objext | ||
| 20532 | if { (ac_try="$ac_compile" | ||
| 20533 | case "(($ac_try" in | ||
| 20534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20535 | *) ac_try_echo=$ac_try;; | ||
| 20536 | esac | ||
| 20537 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20538 | $as_echo "$ac_try_echo") >&5 | ||
| 20539 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20540 | ac_status=$? | ||
| 20541 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20542 | rm -f conftest.er1 | ||
| 20543 | cat conftest.err >&5 | ||
| 20544 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20545 | (exit $ac_status); } && { | ||
| 20546 | test -z "$ac_c_werror_flag" || | ||
| 20547 | test ! -s conftest.err | ||
| 20548 | } && test -s conftest.$ac_objext; then | ||
| 20549 | ac_cv_have_decl_optreset=yes | ||
| 20550 | else | ||
| 20551 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20552 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20553 | |||
| 20554 | ac_cv_have_decl_optreset=no | ||
| 20555 | fi | ||
| 20556 | |||
| 20557 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20558 | fi | ||
| 20559 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | ||
| 20560 | $as_echo "$ac_cv_have_decl_optreset" >&6; } | ||
| 20561 | if test $ac_cv_have_decl_optreset = yes; then | ||
| 11716 | GETOPT_H=getopt.h | 20562 | GETOPT_H=getopt.h |
| 11717 | fi | 20563 | fi |
| 11718 | 20564 | ||
| 11719 | fi | 20565 | fi |
| 11720 | 20566 | ||
| 11721 | if test -z "$GETOPT_H"; then | 20567 | if test -z "$GETOPT_H"; then |
| 11722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 | 20568 | { $as_echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
| 11723 | $as_echo_n "checking for working GNU getopt function... " >&6; } | 20569 | $as_echo_n "checking for working GNU getopt function... " >&6; } |
| 11724 | if test "${gl_cv_func_gnu_getopt+set}" = set; then : | 20570 | if test "${gl_cv_func_gnu_getopt+set}" = set; then |
| 11725 | $as_echo_n "(cached) " >&6 | 20571 | $as_echo_n "(cached) " >&6 |
| 11726 | else | 20572 | else |
| 11727 | if test "$cross_compiling" = yes; then : | 20573 | if test "$cross_compiling" = yes; then |
| 11728 | ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include <getopt.h> | 20574 | { $as_echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
| 11729 | " | 20575 | $as_echo_n "checking whether getopt_clip is declared... " >&6; } |
| 11730 | if test "x$ac_cv_have_decl_getopt_clip" = x""yes; then : | 20576 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
| 20577 | $as_echo_n "(cached) " >&6 | ||
| 20578 | else | ||
| 20579 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20580 | /* confdefs.h. */ | ||
| 20581 | _ACEOF | ||
| 20582 | cat confdefs.h >>conftest.$ac_ext | ||
| 20583 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20584 | /* end confdefs.h. */ | ||
| 20585 | #include <getopt.h> | ||
| 20586 | |||
| 20587 | int | ||
| 20588 | main () | ||
| 20589 | { | ||
| 20590 | #ifndef getopt_clip | ||
| 20591 | (void) getopt_clip; | ||
| 20592 | #endif | ||
| 20593 | |||
| 20594 | ; | ||
| 20595 | return 0; | ||
| 20596 | } | ||
| 20597 | _ACEOF | ||
| 20598 | rm -f conftest.$ac_objext | ||
| 20599 | if { (ac_try="$ac_compile" | ||
| 20600 | case "(($ac_try" in | ||
| 20601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20602 | *) ac_try_echo=$ac_try;; | ||
| 20603 | esac | ||
| 20604 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20605 | $as_echo "$ac_try_echo") >&5 | ||
| 20606 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20607 | ac_status=$? | ||
| 20608 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20609 | rm -f conftest.er1 | ||
| 20610 | cat conftest.err >&5 | ||
| 20611 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20612 | (exit $ac_status); } && { | ||
| 20613 | test -z "$ac_c_werror_flag" || | ||
| 20614 | test ! -s conftest.err | ||
| 20615 | } && test -s conftest.$ac_objext; then | ||
| 20616 | ac_cv_have_decl_getopt_clip=yes | ||
| 20617 | else | ||
| 20618 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20619 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20620 | |||
| 20621 | ac_cv_have_decl_getopt_clip=no | ||
| 20622 | fi | ||
| 20623 | |||
| 20624 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20625 | fi | ||
| 20626 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | ||
| 20627 | $as_echo "$ac_cv_have_decl_getopt_clip" >&6; } | ||
| 20628 | if test $ac_cv_have_decl_getopt_clip = yes; then | ||
| 11731 | gl_cv_func_gnu_getopt=no | 20629 | gl_cv_func_gnu_getopt=no |
| 11732 | else | 20630 | else |
| 11733 | gl_cv_func_gnu_getopt=yes | 20631 | gl_cv_func_gnu_getopt=yes |
| 11734 | fi | 20632 | fi |
| 11735 | 20633 | ||
| 11736 | else | 20634 | else |
| 11737 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20635 | cat >conftest.$ac_ext <<_ACEOF |
| 20636 | /* confdefs.h. */ | ||
| 20637 | _ACEOF | ||
| 20638 | cat confdefs.h >>conftest.$ac_ext | ||
| 20639 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11738 | /* end confdefs.h. */ | 20640 | /* end confdefs.h. */ |
| 11739 | #include <getopt.h> | 20641 | #include <getopt.h> |
| 11740 | int | 20642 | int |
| @@ -11751,17 +20653,44 @@ main () | |||
| 11751 | return 0; | 20653 | return 0; |
| 11752 | } | 20654 | } |
| 11753 | _ACEOF | 20655 | _ACEOF |
| 11754 | if ac_fn_c_try_run "$LINENO"; then : | 20656 | rm -f conftest$ac_exeext |
| 20657 | if { (ac_try="$ac_link" | ||
| 20658 | case "(($ac_try" in | ||
| 20659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20660 | *) ac_try_echo=$ac_try;; | ||
| 20661 | esac | ||
| 20662 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20663 | $as_echo "$ac_try_echo") >&5 | ||
| 20664 | (eval "$ac_link") 2>&5 | ||
| 20665 | ac_status=$? | ||
| 20666 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20667 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 20668 | { (case "(($ac_try" in | ||
| 20669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20670 | *) ac_try_echo=$ac_try;; | ||
| 20671 | esac | ||
| 20672 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20673 | $as_echo "$ac_try_echo") >&5 | ||
| 20674 | (eval "$ac_try") 2>&5 | ||
| 20675 | ac_status=$? | ||
| 20676 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20677 | (exit $ac_status); }; }; then | ||
| 11755 | gl_cv_func_gnu_getopt=yes | 20678 | gl_cv_func_gnu_getopt=yes |
| 11756 | else | 20679 | else |
| 11757 | gl_cv_func_gnu_getopt=no | 20680 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 20681 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20682 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20683 | |||
| 20684 | ( exit $ac_status ) | ||
| 20685 | gl_cv_func_gnu_getopt=no | ||
| 11758 | fi | 20686 | fi |
| 11759 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20687 | rm -rf conftest.dSYM |
| 11760 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 20688 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 11761 | fi | 20689 | fi |
| 11762 | 20690 | ||
| 20691 | |||
| 11763 | fi | 20692 | fi |
| 11764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gnu_getopt" >&5 | 20693 | { $as_echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 |
| 11765 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } | 20694 | $as_echo "$gl_cv_func_gnu_getopt" >&6; } |
| 11766 | if test "$gl_cv_func_gnu_getopt" = "no"; then | 20695 | if test "$gl_cv_func_gnu_getopt" = "no"; then |
| 11767 | GETOPT_H=getopt.h | 20696 | GETOPT_H=getopt.h |
| @@ -11770,12 +20699,14 @@ $as_echo "$gl_cv_func_gnu_getopt" >&6; } | |||
| 11770 | 20699 | ||
| 11771 | 20700 | ||
| 11772 | 20701 | ||
| 11773 | if test -n "$GETOPT_H"; then : | 20702 | if test -n "$GETOPT_H"; then |
| 11774 | 20703 | ||
| 11775 | 20704 | ||
| 11776 | GETOPT_H=getopt.h | 20705 | GETOPT_H=getopt.h |
| 11777 | 20706 | ||
| 11778 | $as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h | 20707 | cat >>confdefs.h <<\_ACEOF |
| 20708 | #define __GETOPT_PREFIX rpl_ | ||
| 20709 | _ACEOF | ||
| 11779 | 20710 | ||
| 11780 | 20711 | ||
| 11781 | 20712 | ||
| @@ -11786,13 +20717,18 @@ fi | |||
| 11786 | 20717 | ||
| 11787 | 20718 | ||
| 11788 | 20719 | ||
| 11789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 20720 | |
| 20721 | { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
| 11790 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 20722 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
| 11791 | if test "${ac_cv_func_getpgrp_void+set}" = set; then : | 20723 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
| 11792 | $as_echo_n "(cached) " >&6 | 20724 | $as_echo_n "(cached) " >&6 |
| 11793 | else | 20725 | else |
| 11794 | # Use it with a single arg. | 20726 | # Use it with a single arg. |
| 11795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20727 | cat >conftest.$ac_ext <<_ACEOF |
| 20728 | /* confdefs.h. */ | ||
| 20729 | _ACEOF | ||
| 20730 | cat confdefs.h >>conftest.$ac_ext | ||
| 20731 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11796 | /* end confdefs.h. */ | 20732 | /* end confdefs.h. */ |
| 11797 | $ac_includes_default | 20733 | $ac_includes_default |
| 11798 | int | 20734 | int |
| @@ -11803,41 +20739,157 @@ getpgrp (0); | |||
| 11803 | return 0; | 20739 | return 0; |
| 11804 | } | 20740 | } |
| 11805 | _ACEOF | 20741 | _ACEOF |
| 11806 | if ac_fn_c_try_compile "$LINENO"; then : | 20742 | rm -f conftest.$ac_objext |
| 20743 | if { (ac_try="$ac_compile" | ||
| 20744 | case "(($ac_try" in | ||
| 20745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20746 | *) ac_try_echo=$ac_try;; | ||
| 20747 | esac | ||
| 20748 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20749 | $as_echo "$ac_try_echo") >&5 | ||
| 20750 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20751 | ac_status=$? | ||
| 20752 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20753 | rm -f conftest.er1 | ||
| 20754 | cat conftest.err >&5 | ||
| 20755 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20756 | (exit $ac_status); } && { | ||
| 20757 | test -z "$ac_c_werror_flag" || | ||
| 20758 | test ! -s conftest.err | ||
| 20759 | } && test -s conftest.$ac_objext; then | ||
| 11807 | ac_cv_func_getpgrp_void=no | 20760 | ac_cv_func_getpgrp_void=no |
| 11808 | else | 20761 | else |
| 11809 | ac_cv_func_getpgrp_void=yes | 20762 | $as_echo "$as_me: failed program was:" >&5 |
| 20763 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20764 | |||
| 20765 | ac_cv_func_getpgrp_void=yes | ||
| 11810 | fi | 20766 | fi |
| 20767 | |||
| 11811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20768 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11812 | 20769 | ||
| 11813 | fi | 20770 | fi |
| 11814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 20771 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
| 11815 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 20772 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
| 11816 | if test $ac_cv_func_getpgrp_void = yes; then | 20773 | if test $ac_cv_func_getpgrp_void = yes; then |
| 11817 | 20774 | ||
| 11818 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 20775 | cat >>confdefs.h <<\_ACEOF |
| 20776 | #define GETPGRP_VOID 1 | ||
| 20777 | _ACEOF | ||
| 11819 | 20778 | ||
| 11820 | fi | 20779 | fi |
| 11821 | 20780 | ||
| 11822 | 20781 | ||
| 20782 | |||
| 11823 | for ac_func in strftime | 20783 | for ac_func in strftime |
| 11824 | do : | 20784 | do |
| 11825 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 20785 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11826 | if test "x$ac_cv_func_strftime" = x""yes; then : | 20786 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 20787 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20788 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20789 | $as_echo_n "(cached) " >&6 | ||
| 20790 | else | ||
| 20791 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20792 | /* confdefs.h. */ | ||
| 20793 | _ACEOF | ||
| 20794 | cat confdefs.h >>conftest.$ac_ext | ||
| 20795 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20796 | /* end confdefs.h. */ | ||
| 20797 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20798 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20799 | #define $ac_func innocuous_$ac_func | ||
| 20800 | |||
| 20801 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20802 | which can conflict with char $ac_func (); below. | ||
| 20803 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20804 | <limits.h> exists even on freestanding compilers. */ | ||
| 20805 | |||
| 20806 | #ifdef __STDC__ | ||
| 20807 | # include <limits.h> | ||
| 20808 | #else | ||
| 20809 | # include <assert.h> | ||
| 20810 | #endif | ||
| 20811 | |||
| 20812 | #undef $ac_func | ||
| 20813 | |||
| 20814 | /* Override any GCC internal prototype to avoid an error. | ||
| 20815 | Use char because int might match the return type of a GCC | ||
| 20816 | builtin and then its argument prototype would still apply. */ | ||
| 20817 | #ifdef __cplusplus | ||
| 20818 | extern "C" | ||
| 20819 | #endif | ||
| 20820 | char $ac_func (); | ||
| 20821 | /* The GNU C library defines this for functions which it implements | ||
| 20822 | to always fail with ENOSYS. Some functions are actually named | ||
| 20823 | something starting with __ and the normal name is an alias. */ | ||
| 20824 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 20825 | choke me | ||
| 20826 | #endif | ||
| 20827 | |||
| 20828 | int | ||
| 20829 | main () | ||
| 20830 | { | ||
| 20831 | return $ac_func (); | ||
| 20832 | ; | ||
| 20833 | return 0; | ||
| 20834 | } | ||
| 20835 | _ACEOF | ||
| 20836 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 20837 | if { (ac_try="$ac_link" | ||
| 20838 | case "(($ac_try" in | ||
| 20839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20840 | *) ac_try_echo=$ac_try;; | ||
| 20841 | esac | ||
| 20842 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20843 | $as_echo "$ac_try_echo") >&5 | ||
| 20844 | (eval "$ac_link") 2>conftest.er1 | ||
| 20845 | ac_status=$? | ||
| 20846 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20847 | rm -f conftest.er1 | ||
| 20848 | cat conftest.err >&5 | ||
| 20849 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20850 | (exit $ac_status); } && { | ||
| 20851 | test -z "$ac_c_werror_flag" || | ||
| 20852 | test ! -s conftest.err | ||
| 20853 | } && test -s conftest$ac_exeext && { | ||
| 20854 | test "$cross_compiling" = yes || | ||
| 20855 | $as_test_x conftest$ac_exeext | ||
| 20856 | }; then | ||
| 20857 | eval "$as_ac_var=yes" | ||
| 20858 | else | ||
| 20859 | $as_echo "$as_me: failed program was:" >&5 | ||
| 20860 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20861 | |||
| 20862 | eval "$as_ac_var=no" | ||
| 20863 | fi | ||
| 20864 | |||
| 20865 | rm -rf conftest.dSYM | ||
| 20866 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20867 | conftest$ac_exeext conftest.$ac_ext | ||
| 20868 | fi | ||
| 20869 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 20870 | $as_echo "$as_val"'` | ||
| 20871 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 20872 | $as_echo "$ac_res" >&6; } | ||
| 20873 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 20874 | $as_echo "$as_val"'` = yes; then | ||
| 11827 | cat >>confdefs.h <<_ACEOF | 20875 | cat >>confdefs.h <<_ACEOF |
| 11828 | #define HAVE_STRFTIME 1 | 20876 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11829 | _ACEOF | 20877 | _ACEOF |
| 11830 | 20878 | ||
| 11831 | else | 20879 | else |
| 11832 | # strftime is in -lintl on SCO UNIX. | 20880 | # strftime is in -lintl on SCO UNIX. |
| 11833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 20881 | { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 11834 | $as_echo_n "checking for strftime in -lintl... " >&6; } | 20882 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
| 11835 | if test "${ac_cv_lib_intl_strftime+set}" = set; then : | 20883 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
| 11836 | $as_echo_n "(cached) " >&6 | 20884 | $as_echo_n "(cached) " >&6 |
| 11837 | else | 20885 | else |
| 11838 | ac_check_lib_save_LIBS=$LIBS | 20886 | ac_check_lib_save_LIBS=$LIBS |
| 11839 | LIBS="-lintl $LIBS" | 20887 | LIBS="-lintl $LIBS" |
| 11840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20888 | cat >conftest.$ac_ext <<_ACEOF |
| 20889 | /* confdefs.h. */ | ||
| 20890 | _ACEOF | ||
| 20891 | cat confdefs.h >>conftest.$ac_ext | ||
| 20892 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11841 | /* end confdefs.h. */ | 20893 | /* end confdefs.h. */ |
| 11842 | 20894 | ||
| 11843 | /* Override any GCC internal prototype to avoid an error. | 20895 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11855,19 +20907,46 @@ return strftime (); | |||
| 11855 | return 0; | 20907 | return 0; |
| 11856 | } | 20908 | } |
| 11857 | _ACEOF | 20909 | _ACEOF |
| 11858 | if ac_fn_c_try_link "$LINENO"; then : | 20910 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20911 | if { (ac_try="$ac_link" | ||
| 20912 | case "(($ac_try" in | ||
| 20913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20914 | *) ac_try_echo=$ac_try;; | ||
| 20915 | esac | ||
| 20916 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 20917 | $as_echo "$ac_try_echo") >&5 | ||
| 20918 | (eval "$ac_link") 2>conftest.er1 | ||
| 20919 | ac_status=$? | ||
| 20920 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 20921 | rm -f conftest.er1 | ||
| 20922 | cat conftest.err >&5 | ||
| 20923 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20924 | (exit $ac_status); } && { | ||
| 20925 | test -z "$ac_c_werror_flag" || | ||
| 20926 | test ! -s conftest.err | ||
| 20927 | } && test -s conftest$ac_exeext && { | ||
| 20928 | test "$cross_compiling" = yes || | ||
| 20929 | $as_test_x conftest$ac_exeext | ||
| 20930 | }; then | ||
| 11859 | ac_cv_lib_intl_strftime=yes | 20931 | ac_cv_lib_intl_strftime=yes |
| 11860 | else | 20932 | else |
| 11861 | ac_cv_lib_intl_strftime=no | 20933 | $as_echo "$as_me: failed program was:" >&5 |
| 20934 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 20935 | |||
| 20936 | ac_cv_lib_intl_strftime=no | ||
| 11862 | fi | 20937 | fi |
| 11863 | rm -f core conftest.err conftest.$ac_objext \ | 20938 | |
| 11864 | conftest$ac_exeext conftest.$ac_ext | 20939 | rm -rf conftest.dSYM |
| 20940 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20941 | conftest$ac_exeext conftest.$ac_ext | ||
| 11865 | LIBS=$ac_check_lib_save_LIBS | 20942 | LIBS=$ac_check_lib_save_LIBS |
| 11866 | fi | 20943 | fi |
| 11867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 20944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 11868 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 20945 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
| 11869 | if test "x$ac_cv_lib_intl_strftime" = x""yes; then : | 20946 | if test $ac_cv_lib_intl_strftime = yes; then |
| 11870 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 20947 | cat >>confdefs.h <<\_ACEOF |
| 20948 | #define HAVE_STRFTIME 1 | ||
| 20949 | _ACEOF | ||
| 11871 | 20950 | ||
| 11872 | LIBS="-lintl $LIBS" | 20951 | LIBS="-lintl $LIBS" |
| 11873 | fi | 20952 | fi |
| @@ -11877,12 +20956,101 @@ done | |||
| 11877 | 20956 | ||
| 11878 | 20957 | ||
| 11879 | # UNIX98 PTYs. | 20958 | # UNIX98 PTYs. |
| 20959 | |||
| 11880 | for ac_func in grantpt | 20960 | for ac_func in grantpt |
| 11881 | do : | 20961 | do |
| 11882 | ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt" | 20962 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11883 | if test "x$ac_cv_func_grantpt" = x""yes; then : | 20963 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 20964 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 20965 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 20966 | $as_echo_n "(cached) " >&6 | ||
| 20967 | else | ||
| 20968 | cat >conftest.$ac_ext <<_ACEOF | ||
| 20969 | /* confdefs.h. */ | ||
| 20970 | _ACEOF | ||
| 20971 | cat confdefs.h >>conftest.$ac_ext | ||
| 20972 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 20973 | /* end confdefs.h. */ | ||
| 20974 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 20975 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 20976 | #define $ac_func innocuous_$ac_func | ||
| 20977 | |||
| 20978 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 20979 | which can conflict with char $ac_func (); below. | ||
| 20980 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 20981 | <limits.h> exists even on freestanding compilers. */ | ||
| 20982 | |||
| 20983 | #ifdef __STDC__ | ||
| 20984 | # include <limits.h> | ||
| 20985 | #else | ||
| 20986 | # include <assert.h> | ||
| 20987 | #endif | ||
| 20988 | |||
| 20989 | #undef $ac_func | ||
| 20990 | |||
| 20991 | /* Override any GCC internal prototype to avoid an error. | ||
| 20992 | Use char because int might match the return type of a GCC | ||
| 20993 | builtin and then its argument prototype would still apply. */ | ||
| 20994 | #ifdef __cplusplus | ||
| 20995 | extern "C" | ||
| 20996 | #endif | ||
| 20997 | char $ac_func (); | ||
| 20998 | /* The GNU C library defines this for functions which it implements | ||
| 20999 | to always fail with ENOSYS. Some functions are actually named | ||
| 21000 | something starting with __ and the normal name is an alias. */ | ||
| 21001 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21002 | choke me | ||
| 21003 | #endif | ||
| 21004 | |||
| 21005 | int | ||
| 21006 | main () | ||
| 21007 | { | ||
| 21008 | return $ac_func (); | ||
| 21009 | ; | ||
| 21010 | return 0; | ||
| 21011 | } | ||
| 21012 | _ACEOF | ||
| 21013 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21014 | if { (ac_try="$ac_link" | ||
| 21015 | case "(($ac_try" in | ||
| 21016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21017 | *) ac_try_echo=$ac_try;; | ||
| 21018 | esac | ||
| 21019 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21020 | $as_echo "$ac_try_echo") >&5 | ||
| 21021 | (eval "$ac_link") 2>conftest.er1 | ||
| 21022 | ac_status=$? | ||
| 21023 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21024 | rm -f conftest.er1 | ||
| 21025 | cat conftest.err >&5 | ||
| 21026 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21027 | (exit $ac_status); } && { | ||
| 21028 | test -z "$ac_c_werror_flag" || | ||
| 21029 | test ! -s conftest.err | ||
| 21030 | } && test -s conftest$ac_exeext && { | ||
| 21031 | test "$cross_compiling" = yes || | ||
| 21032 | $as_test_x conftest$ac_exeext | ||
| 21033 | }; then | ||
| 21034 | eval "$as_ac_var=yes" | ||
| 21035 | else | ||
| 21036 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21037 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21038 | |||
| 21039 | eval "$as_ac_var=no" | ||
| 21040 | fi | ||
| 21041 | |||
| 21042 | rm -rf conftest.dSYM | ||
| 21043 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21044 | conftest$ac_exeext conftest.$ac_ext | ||
| 21045 | fi | ||
| 21046 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21047 | $as_echo "$as_val"'` | ||
| 21048 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21049 | $as_echo "$ac_res" >&6; } | ||
| 21050 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21051 | $as_echo "$as_val"'` = yes; then | ||
| 11884 | cat >>confdefs.h <<_ACEOF | 21052 | cat >>confdefs.h <<_ACEOF |
| 11885 | #define HAVE_GRANTPT 1 | 21053 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11886 | _ACEOF | 21054 | _ACEOF |
| 11887 | 21055 | ||
| 11888 | fi | 21056 | fi |
| @@ -11890,12 +21058,101 @@ done | |||
| 11890 | 21058 | ||
| 11891 | 21059 | ||
| 11892 | # PTY-related GNU extensions. | 21060 | # PTY-related GNU extensions. |
| 21061 | |||
| 11893 | for ac_func in getpt | 21062 | for ac_func in getpt |
| 11894 | do : | 21063 | do |
| 11895 | ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt" | 21064 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11896 | if test "x$ac_cv_func_getpt" = x""yes; then : | 21065 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21066 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 21067 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 21068 | $as_echo_n "(cached) " >&6 | ||
| 21069 | else | ||
| 21070 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21071 | /* confdefs.h. */ | ||
| 21072 | _ACEOF | ||
| 21073 | cat confdefs.h >>conftest.$ac_ext | ||
| 21074 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21075 | /* end confdefs.h. */ | ||
| 21076 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 21077 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21078 | #define $ac_func innocuous_$ac_func | ||
| 21079 | |||
| 21080 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21081 | which can conflict with char $ac_func (); below. | ||
| 21082 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21083 | <limits.h> exists even on freestanding compilers. */ | ||
| 21084 | |||
| 21085 | #ifdef __STDC__ | ||
| 21086 | # include <limits.h> | ||
| 21087 | #else | ||
| 21088 | # include <assert.h> | ||
| 21089 | #endif | ||
| 21090 | |||
| 21091 | #undef $ac_func | ||
| 21092 | |||
| 21093 | /* Override any GCC internal prototype to avoid an error. | ||
| 21094 | Use char because int might match the return type of a GCC | ||
| 21095 | builtin and then its argument prototype would still apply. */ | ||
| 21096 | #ifdef __cplusplus | ||
| 21097 | extern "C" | ||
| 21098 | #endif | ||
| 21099 | char $ac_func (); | ||
| 21100 | /* The GNU C library defines this for functions which it implements | ||
| 21101 | to always fail with ENOSYS. Some functions are actually named | ||
| 21102 | something starting with __ and the normal name is an alias. */ | ||
| 21103 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 21104 | choke me | ||
| 21105 | #endif | ||
| 21106 | |||
| 21107 | int | ||
| 21108 | main () | ||
| 21109 | { | ||
| 21110 | return $ac_func (); | ||
| 21111 | ; | ||
| 21112 | return 0; | ||
| 21113 | } | ||
| 21114 | _ACEOF | ||
| 21115 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21116 | if { (ac_try="$ac_link" | ||
| 21117 | case "(($ac_try" in | ||
| 21118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21119 | *) ac_try_echo=$ac_try;; | ||
| 21120 | esac | ||
| 21121 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21122 | $as_echo "$ac_try_echo") >&5 | ||
| 21123 | (eval "$ac_link") 2>conftest.er1 | ||
| 21124 | ac_status=$? | ||
| 21125 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21126 | rm -f conftest.er1 | ||
| 21127 | cat conftest.err >&5 | ||
| 21128 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21129 | (exit $ac_status); } && { | ||
| 21130 | test -z "$ac_c_werror_flag" || | ||
| 21131 | test ! -s conftest.err | ||
| 21132 | } && test -s conftest$ac_exeext && { | ||
| 21133 | test "$cross_compiling" = yes || | ||
| 21134 | $as_test_x conftest$ac_exeext | ||
| 21135 | }; then | ||
| 21136 | eval "$as_ac_var=yes" | ||
| 21137 | else | ||
| 21138 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21140 | |||
| 21141 | eval "$as_ac_var=no" | ||
| 21142 | fi | ||
| 21143 | |||
| 21144 | rm -rf conftest.dSYM | ||
| 21145 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21146 | conftest$ac_exeext conftest.$ac_ext | ||
| 21147 | fi | ||
| 21148 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 21149 | $as_echo "$as_val"'` | ||
| 21150 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 21151 | $as_echo "$ac_res" >&6; } | ||
| 21152 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 21153 | $as_echo "$as_val"'` = yes; then | ||
| 11897 | cat >>confdefs.h <<_ACEOF | 21154 | cat >>confdefs.h <<_ACEOF |
| 11898 | #define HAVE_GETPT 1 | 21155 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 11899 | _ACEOF | 21156 | _ACEOF |
| 11900 | 21157 | ||
| 11901 | fi | 21158 | fi |
| @@ -11908,13 +21165,17 @@ done | |||
| 11908 | # than to expect to find it in ncurses. | 21165 | # than to expect to find it in ncurses. |
| 11909 | # Also we need tputs and frieds to be able to build at all. | 21166 | # Also we need tputs and frieds to be able to build at all. |
| 11910 | have_tputs_et_al=true | 21167 | have_tputs_et_al=true |
| 11911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tputs" >&5 | 21168 | { $as_echo "$as_me:$LINENO: checking for library containing tputs" >&5 |
| 11912 | $as_echo_n "checking for library containing tputs... " >&6; } | 21169 | $as_echo_n "checking for library containing tputs... " >&6; } |
| 11913 | if test "${ac_cv_search_tputs+set}" = set; then : | 21170 | if test "${ac_cv_search_tputs+set}" = set; then |
| 11914 | $as_echo_n "(cached) " >&6 | 21171 | $as_echo_n "(cached) " >&6 |
| 11915 | else | 21172 | else |
| 11916 | ac_func_search_save_LIBS=$LIBS | 21173 | ac_func_search_save_LIBS=$LIBS |
| 11917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21174 | cat >conftest.$ac_ext <<_ACEOF |
| 21175 | /* confdefs.h. */ | ||
| 21176 | _ACEOF | ||
| 21177 | cat confdefs.h >>conftest.$ac_ext | ||
| 21178 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11918 | /* end confdefs.h. */ | 21179 | /* end confdefs.h. */ |
| 11919 | 21180 | ||
| 11920 | /* Override any GCC internal prototype to avoid an error. | 21181 | /* Override any GCC internal prototype to avoid an error. |
| @@ -11939,27 +21200,54 @@ for ac_lib in '' ncurses terminfo termcap; do | |||
| 11939 | ac_res=-l$ac_lib | 21200 | ac_res=-l$ac_lib |
| 11940 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21201 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 11941 | fi | 21202 | fi |
| 11942 | if ac_fn_c_try_link "$LINENO"; then : | 21203 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21204 | if { (ac_try="$ac_link" | ||
| 21205 | case "(($ac_try" in | ||
| 21206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21207 | *) ac_try_echo=$ac_try;; | ||
| 21208 | esac | ||
| 21209 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21210 | $as_echo "$ac_try_echo") >&5 | ||
| 21211 | (eval "$ac_link") 2>conftest.er1 | ||
| 21212 | ac_status=$? | ||
| 21213 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21214 | rm -f conftest.er1 | ||
| 21215 | cat conftest.err >&5 | ||
| 21216 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21217 | (exit $ac_status); } && { | ||
| 21218 | test -z "$ac_c_werror_flag" || | ||
| 21219 | test ! -s conftest.err | ||
| 21220 | } && test -s conftest$ac_exeext && { | ||
| 21221 | test "$cross_compiling" = yes || | ||
| 21222 | $as_test_x conftest$ac_exeext | ||
| 21223 | }; then | ||
| 11943 | ac_cv_search_tputs=$ac_res | 21224 | ac_cv_search_tputs=$ac_res |
| 21225 | else | ||
| 21226 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21227 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21228 | |||
| 21229 | |||
| 11944 | fi | 21230 | fi |
| 11945 | rm -f core conftest.err conftest.$ac_objext \ | 21231 | |
| 11946 | conftest$ac_exeext | 21232 | rm -rf conftest.dSYM |
| 11947 | if test "${ac_cv_search_tputs+set}" = set; then : | 21233 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21234 | conftest$ac_exeext | ||
| 21235 | if test "${ac_cv_search_tputs+set}" = set; then | ||
| 11948 | break | 21236 | break |
| 11949 | fi | 21237 | fi |
| 11950 | done | 21238 | done |
| 11951 | if test "${ac_cv_search_tputs+set}" = set; then : | 21239 | if test "${ac_cv_search_tputs+set}" = set; then |
| 11952 | 21240 | : | |
| 11953 | else | 21241 | else |
| 11954 | ac_cv_search_tputs=no | 21242 | ac_cv_search_tputs=no |
| 11955 | fi | 21243 | fi |
| 11956 | rm conftest.$ac_ext | 21244 | rm conftest.$ac_ext |
| 11957 | LIBS=$ac_func_search_save_LIBS | 21245 | LIBS=$ac_func_search_save_LIBS |
| 11958 | fi | 21246 | fi |
| 11959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tputs" >&5 | 21247 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_tputs" >&5 |
| 11960 | $as_echo "$ac_cv_search_tputs" >&6; } | 21248 | $as_echo "$ac_cv_search_tputs" >&6; } |
| 11961 | ac_res=$ac_cv_search_tputs | 21249 | ac_res=$ac_cv_search_tputs |
| 11962 | if test "$ac_res" != no; then : | 21250 | if test "$ac_res" != no; then |
| 11963 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21251 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 11964 | 21252 | ||
| 11965 | else | 21253 | else |
| @@ -11967,19 +21255,29 @@ else | |||
| 11967 | fi | 21255 | fi |
| 11968 | 21256 | ||
| 11969 | if test "$have_tputs_et_al" != true; then | 21257 | if test "$have_tputs_et_al" != true; then |
| 11970 | as_fn_error "I couldn't find termcap functions (tputs and friends). | 21258 | { { $as_echo "$as_me:$LINENO: error: I couldn't find termcap functions (tputs and friends). |
| 11971 | Maybe some development libraries/packages are missing? Try installing | 21259 | Maybe some development libraries/packages are missing? Try installing |
| 11972 | libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 21260 | libncurses-dev(el), libterminfo-dev(el) or similar." >&5 |
| 21261 | $as_echo "$as_me: error: I couldn't find termcap functions (tputs and friends). | ||
| 21262 | Maybe some development libraries/packages are missing? Try installing | ||
| 21263 | libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | ||
| 21264 | { (exit 1); exit 1; }; } | ||
| 11973 | fi | 21265 | fi |
| 11974 | # Must define this when any termcap library is found. | 21266 | # Must define this when any termcap library is found. |
| 11975 | 21267 | ||
| 11976 | $as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h | 21268 | cat >>confdefs.h <<\_ACEOF |
| 21269 | #define HAVE_LIBNCURSES 1 | ||
| 21270 | _ACEOF | ||
| 11977 | 21271 | ||
| 11978 | 21272 | ||
| 11979 | # Do we have res_init, for detecting changes in /etc/resolv.conf? | 21273 | # Do we have res_init, for detecting changes in /etc/resolv.conf? |
| 11980 | 21274 | ||
| 11981 | resolv=no | 21275 | resolv=no |
| 11982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21276 | cat >conftest.$ac_ext <<_ACEOF |
| 21277 | /* confdefs.h. */ | ||
| 21278 | _ACEOF | ||
| 21279 | cat confdefs.h >>conftest.$ac_ext | ||
| 21280 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 11983 | /* end confdefs.h. */ | 21281 | /* end confdefs.h. */ |
| 11984 | #include <netinet/in.h> | 21282 | #include <netinet/in.h> |
| 11985 | #include <arpa/nameser.h> | 21283 | #include <arpa/nameser.h> |
| @@ -11992,19 +21290,48 @@ return res_init(); | |||
| 11992 | return 0; | 21290 | return 0; |
| 11993 | } | 21291 | } |
| 11994 | _ACEOF | 21292 | _ACEOF |
| 11995 | if ac_fn_c_try_link "$LINENO"; then : | 21293 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21294 | if { (ac_try="$ac_link" | ||
| 21295 | case "(($ac_try" in | ||
| 21296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21297 | *) ac_try_echo=$ac_try;; | ||
| 21298 | esac | ||
| 21299 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21300 | $as_echo "$ac_try_echo") >&5 | ||
| 21301 | (eval "$ac_link") 2>conftest.er1 | ||
| 21302 | ac_status=$? | ||
| 21303 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21304 | rm -f conftest.er1 | ||
| 21305 | cat conftest.err >&5 | ||
| 21306 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21307 | (exit $ac_status); } && { | ||
| 21308 | test -z "$ac_c_werror_flag" || | ||
| 21309 | test ! -s conftest.err | ||
| 21310 | } && test -s conftest$ac_exeext && { | ||
| 21311 | test "$cross_compiling" = yes || | ||
| 21312 | $as_test_x conftest$ac_exeext | ||
| 21313 | }; then | ||
| 11996 | have_res_init=yes | 21314 | have_res_init=yes |
| 11997 | else | 21315 | else |
| 11998 | have_res_init=no | 21316 | $as_echo "$as_me: failed program was:" >&5 |
| 21317 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21318 | |||
| 21319 | have_res_init=no | ||
| 11999 | fi | 21320 | fi |
| 12000 | rm -f core conftest.err conftest.$ac_objext \ | 21321 | |
| 12001 | conftest$ac_exeext conftest.$ac_ext | 21322 | rm -rf conftest.dSYM |
| 21323 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21324 | conftest$ac_exeext conftest.$ac_ext | ||
| 12002 | if test "$have_res_init" = no; then | 21325 | if test "$have_res_init" = no; then |
| 12003 | OLIBS="$LIBS" | 21326 | OLIBS="$LIBS" |
| 12004 | LIBS="$LIBS -lresolv" | 21327 | LIBS="$LIBS -lresolv" |
| 12005 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init with -lresolv" >&5 | 21328 | { $as_echo "$as_me:$LINENO: checking for res_init with -lresolv" >&5 |
| 12006 | $as_echo_n "checking for res_init with -lresolv... " >&6; } | 21329 | $as_echo_n "checking for res_init with -lresolv... " >&6; } |
| 12007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21330 | cat >conftest.$ac_ext <<_ACEOF |
| 21331 | /* confdefs.h. */ | ||
| 21332 | _ACEOF | ||
| 21333 | cat confdefs.h >>conftest.$ac_ext | ||
| 21334 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12008 | /* end confdefs.h. */ | 21335 | /* end confdefs.h. */ |
| 12009 | #include <netinet/in.h> | 21336 | #include <netinet/in.h> |
| 12010 | #include <arpa/nameser.h> | 21337 | #include <arpa/nameser.h> |
| @@ -12017,14 +21344,39 @@ return res_init(); | |||
| 12017 | return 0; | 21344 | return 0; |
| 12018 | } | 21345 | } |
| 12019 | _ACEOF | 21346 | _ACEOF |
| 12020 | if ac_fn_c_try_link "$LINENO"; then : | 21347 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21348 | if { (ac_try="$ac_link" | ||
| 21349 | case "(($ac_try" in | ||
| 21350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21351 | *) ac_try_echo=$ac_try;; | ||
| 21352 | esac | ||
| 21353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21354 | $as_echo "$ac_try_echo") >&5 | ||
| 21355 | (eval "$ac_link") 2>conftest.er1 | ||
| 21356 | ac_status=$? | ||
| 21357 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21358 | rm -f conftest.er1 | ||
| 21359 | cat conftest.err >&5 | ||
| 21360 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21361 | (exit $ac_status); } && { | ||
| 21362 | test -z "$ac_c_werror_flag" || | ||
| 21363 | test ! -s conftest.err | ||
| 21364 | } && test -s conftest$ac_exeext && { | ||
| 21365 | test "$cross_compiling" = yes || | ||
| 21366 | $as_test_x conftest$ac_exeext | ||
| 21367 | }; then | ||
| 12021 | have_res_init=yes | 21368 | have_res_init=yes |
| 12022 | else | 21369 | else |
| 12023 | have_res_init=no | 21370 | $as_echo "$as_me: failed program was:" >&5 |
| 21371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21372 | |||
| 21373 | have_res_init=no | ||
| 12024 | fi | 21374 | fi |
| 12025 | rm -f core conftest.err conftest.$ac_objext \ | 21375 | |
| 12026 | conftest$ac_exeext conftest.$ac_ext | 21376 | rm -rf conftest.dSYM |
| 12027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_res_init" >&5 | 21377 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 21378 | conftest$ac_exeext conftest.$ac_ext | ||
| 21379 | { $as_echo "$as_me:$LINENO: result: $have_res_init" >&5 | ||
| 12028 | $as_echo "$have_res_init" >&6; } | 21380 | $as_echo "$have_res_init" >&6; } |
| 12029 | if test "$have_res_init" = yes ; then | 21381 | if test "$have_res_init" = yes ; then |
| 12030 | resolv=yes | 21382 | resolv=yes |
| @@ -12034,7 +21386,9 @@ fi | |||
| 12034 | 21386 | ||
| 12035 | if test "$have_res_init" = yes; then | 21387 | if test "$have_res_init" = yes; then |
| 12036 | 21388 | ||
| 12037 | $as_echo "#define HAVE_RES_INIT 1" >>confdefs.h | 21389 | cat >>confdefs.h <<\_ACEOF |
| 21390 | #define HAVE_RES_INIT 1 | ||
| 21391 | _ACEOF | ||
| 12038 | 21392 | ||
| 12039 | fi | 21393 | fi |
| 12040 | 21394 | ||
| @@ -12042,22 +21396,194 @@ fi | |||
| 12042 | LIBHESIOD= | 21396 | LIBHESIOD= |
| 12043 | if test "$with_hesiod" != no ; then | 21397 | if test "$with_hesiod" != no ; then |
| 12044 | # Don't set $LIBS here -- see comments above. FIXME which comments? | 21398 | # Don't set $LIBS here -- see comments above. FIXME which comments? |
| 12045 | ac_fn_c_check_func "$LINENO" "res_send" "ac_cv_func_res_send" | 21399 | { $as_echo "$as_me:$LINENO: checking for res_send" >&5 |
| 12046 | if test "x$ac_cv_func_res_send" = x""yes; then : | 21400 | $as_echo_n "checking for res_send... " >&6; } |
| 21401 | if test "${ac_cv_func_res_send+set}" = set; then | ||
| 21402 | $as_echo_n "(cached) " >&6 | ||
| 21403 | else | ||
| 21404 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21405 | /* confdefs.h. */ | ||
| 21406 | _ACEOF | ||
| 21407 | cat confdefs.h >>conftest.$ac_ext | ||
| 21408 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21409 | /* end confdefs.h. */ | ||
| 21410 | /* Define res_send to an innocuous variant, in case <limits.h> declares res_send. | ||
| 21411 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21412 | #define res_send innocuous_res_send | ||
| 21413 | |||
| 21414 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21415 | which can conflict with char res_send (); below. | ||
| 21416 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21417 | <limits.h> exists even on freestanding compilers. */ | ||
| 21418 | |||
| 21419 | #ifdef __STDC__ | ||
| 21420 | # include <limits.h> | ||
| 21421 | #else | ||
| 21422 | # include <assert.h> | ||
| 21423 | #endif | ||
| 12047 | 21424 | ||
| 21425 | #undef res_send | ||
| 21426 | |||
| 21427 | /* Override any GCC internal prototype to avoid an error. | ||
| 21428 | Use char because int might match the return type of a GCC | ||
| 21429 | builtin and then its argument prototype would still apply. */ | ||
| 21430 | #ifdef __cplusplus | ||
| 21431 | extern "C" | ||
| 21432 | #endif | ||
| 21433 | char res_send (); | ||
| 21434 | /* The GNU C library defines this for functions which it implements | ||
| 21435 | to always fail with ENOSYS. Some functions are actually named | ||
| 21436 | something starting with __ and the normal name is an alias. */ | ||
| 21437 | #if defined __stub_res_send || defined __stub___res_send | ||
| 21438 | choke me | ||
| 21439 | #endif | ||
| 21440 | |||
| 21441 | int | ||
| 21442 | main () | ||
| 21443 | { | ||
| 21444 | return res_send (); | ||
| 21445 | ; | ||
| 21446 | return 0; | ||
| 21447 | } | ||
| 21448 | _ACEOF | ||
| 21449 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21450 | if { (ac_try="$ac_link" | ||
| 21451 | case "(($ac_try" in | ||
| 21452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21453 | *) ac_try_echo=$ac_try;; | ||
| 21454 | esac | ||
| 21455 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21456 | $as_echo "$ac_try_echo") >&5 | ||
| 21457 | (eval "$ac_link") 2>conftest.er1 | ||
| 21458 | ac_status=$? | ||
| 21459 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21460 | rm -f conftest.er1 | ||
| 21461 | cat conftest.err >&5 | ||
| 21462 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21463 | (exit $ac_status); } && { | ||
| 21464 | test -z "$ac_c_werror_flag" || | ||
| 21465 | test ! -s conftest.err | ||
| 21466 | } && test -s conftest$ac_exeext && { | ||
| 21467 | test "$cross_compiling" = yes || | ||
| 21468 | $as_test_x conftest$ac_exeext | ||
| 21469 | }; then | ||
| 21470 | ac_cv_func_res_send=yes | ||
| 21471 | else | ||
| 21472 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21473 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21474 | |||
| 21475 | ac_cv_func_res_send=no | ||
| 21476 | fi | ||
| 21477 | |||
| 21478 | rm -rf conftest.dSYM | ||
| 21479 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21480 | conftest$ac_exeext conftest.$ac_ext | ||
| 21481 | fi | ||
| 21482 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | ||
| 21483 | $as_echo "$ac_cv_func_res_send" >&6; } | ||
| 21484 | if test $ac_cv_func_res_send = yes; then | ||
| 21485 | : | ||
| 21486 | else | ||
| 21487 | { $as_echo "$as_me:$LINENO: checking for __res_send" >&5 | ||
| 21488 | $as_echo_n "checking for __res_send... " >&6; } | ||
| 21489 | if test "${ac_cv_func___res_send+set}" = set; then | ||
| 21490 | $as_echo_n "(cached) " >&6 | ||
| 21491 | else | ||
| 21492 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21493 | /* confdefs.h. */ | ||
| 21494 | _ACEOF | ||
| 21495 | cat confdefs.h >>conftest.$ac_ext | ||
| 21496 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21497 | /* end confdefs.h. */ | ||
| 21498 | /* Define __res_send to an innocuous variant, in case <limits.h> declares __res_send. | ||
| 21499 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21500 | #define __res_send innocuous___res_send | ||
| 21501 | |||
| 21502 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21503 | which can conflict with char __res_send (); below. | ||
| 21504 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21505 | <limits.h> exists even on freestanding compilers. */ | ||
| 21506 | |||
| 21507 | #ifdef __STDC__ | ||
| 21508 | # include <limits.h> | ||
| 21509 | #else | ||
| 21510 | # include <assert.h> | ||
| 21511 | #endif | ||
| 21512 | |||
| 21513 | #undef __res_send | ||
| 21514 | |||
| 21515 | /* Override any GCC internal prototype to avoid an error. | ||
| 21516 | Use char because int might match the return type of a GCC | ||
| 21517 | builtin and then its argument prototype would still apply. */ | ||
| 21518 | #ifdef __cplusplus | ||
| 21519 | extern "C" | ||
| 21520 | #endif | ||
| 21521 | char __res_send (); | ||
| 21522 | /* The GNU C library defines this for functions which it implements | ||
| 21523 | to always fail with ENOSYS. Some functions are actually named | ||
| 21524 | something starting with __ and the normal name is an alias. */ | ||
| 21525 | #if defined __stub___res_send || defined __stub_____res_send | ||
| 21526 | choke me | ||
| 21527 | #endif | ||
| 21528 | |||
| 21529 | int | ||
| 21530 | main () | ||
| 21531 | { | ||
| 21532 | return __res_send (); | ||
| 21533 | ; | ||
| 21534 | return 0; | ||
| 21535 | } | ||
| 21536 | _ACEOF | ||
| 21537 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21538 | if { (ac_try="$ac_link" | ||
| 21539 | case "(($ac_try" in | ||
| 21540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21541 | *) ac_try_echo=$ac_try;; | ||
| 21542 | esac | ||
| 21543 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21544 | $as_echo "$ac_try_echo") >&5 | ||
| 21545 | (eval "$ac_link") 2>conftest.er1 | ||
| 21546 | ac_status=$? | ||
| 21547 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21548 | rm -f conftest.er1 | ||
| 21549 | cat conftest.err >&5 | ||
| 21550 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21551 | (exit $ac_status); } && { | ||
| 21552 | test -z "$ac_c_werror_flag" || | ||
| 21553 | test ! -s conftest.err | ||
| 21554 | } && test -s conftest$ac_exeext && { | ||
| 21555 | test "$cross_compiling" = yes || | ||
| 21556 | $as_test_x conftest$ac_exeext | ||
| 21557 | }; then | ||
| 21558 | ac_cv_func___res_send=yes | ||
| 12048 | else | 21559 | else |
| 12049 | ac_fn_c_check_func "$LINENO" "__res_send" "ac_cv_func___res_send" | 21560 | $as_echo "$as_me: failed program was:" >&5 |
| 12050 | if test "x$ac_cv_func___res_send" = x""yes; then : | 21561 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21562 | |||
| 21563 | ac_cv_func___res_send=no | ||
| 21564 | fi | ||
| 12051 | 21565 | ||
| 21566 | rm -rf conftest.dSYM | ||
| 21567 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21568 | conftest$ac_exeext conftest.$ac_ext | ||
| 21569 | fi | ||
| 21570 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | ||
| 21571 | $as_echo "$ac_cv_func___res_send" >&6; } | ||
| 21572 | if test $ac_cv_func___res_send = yes; then | ||
| 21573 | : | ||
| 12052 | else | 21574 | else |
| 12053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5 | 21575 | { $as_echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
| 12054 | $as_echo_n "checking for res_send in -lresolv... " >&6; } | 21576 | $as_echo_n "checking for res_send in -lresolv... " >&6; } |
| 12055 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then : | 21577 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
| 12056 | $as_echo_n "(cached) " >&6 | 21578 | $as_echo_n "(cached) " >&6 |
| 12057 | else | 21579 | else |
| 12058 | ac_check_lib_save_LIBS=$LIBS | 21580 | ac_check_lib_save_LIBS=$LIBS |
| 12059 | LIBS="-lresolv $LIBS" | 21581 | LIBS="-lresolv $LIBS" |
| 12060 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21582 | cat >conftest.$ac_ext <<_ACEOF |
| 21583 | /* confdefs.h. */ | ||
| 21584 | _ACEOF | ||
| 21585 | cat confdefs.h >>conftest.$ac_ext | ||
| 21586 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12061 | /* end confdefs.h. */ | 21587 | /* end confdefs.h. */ |
| 12062 | 21588 | ||
| 12063 | /* Override any GCC internal prototype to avoid an error. | 21589 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12075,28 +21601,57 @@ return res_send (); | |||
| 12075 | return 0; | 21601 | return 0; |
| 12076 | } | 21602 | } |
| 12077 | _ACEOF | 21603 | _ACEOF |
| 12078 | if ac_fn_c_try_link "$LINENO"; then : | 21604 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21605 | if { (ac_try="$ac_link" | ||
| 21606 | case "(($ac_try" in | ||
| 21607 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21608 | *) ac_try_echo=$ac_try;; | ||
| 21609 | esac | ||
| 21610 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21611 | $as_echo "$ac_try_echo") >&5 | ||
| 21612 | (eval "$ac_link") 2>conftest.er1 | ||
| 21613 | ac_status=$? | ||
| 21614 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21615 | rm -f conftest.er1 | ||
| 21616 | cat conftest.err >&5 | ||
| 21617 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21618 | (exit $ac_status); } && { | ||
| 21619 | test -z "$ac_c_werror_flag" || | ||
| 21620 | test ! -s conftest.err | ||
| 21621 | } && test -s conftest$ac_exeext && { | ||
| 21622 | test "$cross_compiling" = yes || | ||
| 21623 | $as_test_x conftest$ac_exeext | ||
| 21624 | }; then | ||
| 12079 | ac_cv_lib_resolv_res_send=yes | 21625 | ac_cv_lib_resolv_res_send=yes |
| 12080 | else | 21626 | else |
| 12081 | ac_cv_lib_resolv_res_send=no | 21627 | $as_echo "$as_me: failed program was:" >&5 |
| 21628 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21629 | |||
| 21630 | ac_cv_lib_resolv_res_send=no | ||
| 12082 | fi | 21631 | fi |
| 12083 | rm -f core conftest.err conftest.$ac_objext \ | 21632 | |
| 12084 | conftest$ac_exeext conftest.$ac_ext | 21633 | rm -rf conftest.dSYM |
| 21634 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21635 | conftest$ac_exeext conftest.$ac_ext | ||
| 12085 | LIBS=$ac_check_lib_save_LIBS | 21636 | LIBS=$ac_check_lib_save_LIBS |
| 12086 | fi | 21637 | fi |
| 12087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5 | 21638 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
| 12088 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } | 21639 | $as_echo "$ac_cv_lib_resolv_res_send" >&6; } |
| 12089 | if test "x$ac_cv_lib_resolv_res_send" = x""yes; then : | 21640 | if test $ac_cv_lib_resolv_res_send = yes; then |
| 12090 | resolv=yes | 21641 | resolv=yes |
| 12091 | else | 21642 | else |
| 12092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5 | 21643 | { $as_echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
| 12093 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } | 21644 | $as_echo_n "checking for __res_send in -lresolv... " >&6; } |
| 12094 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then : | 21645 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
| 12095 | $as_echo_n "(cached) " >&6 | 21646 | $as_echo_n "(cached) " >&6 |
| 12096 | else | 21647 | else |
| 12097 | ac_check_lib_save_LIBS=$LIBS | 21648 | ac_check_lib_save_LIBS=$LIBS |
| 12098 | LIBS="-lresolv $LIBS" | 21649 | LIBS="-lresolv $LIBS" |
| 12099 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21650 | cat >conftest.$ac_ext <<_ACEOF |
| 21651 | /* confdefs.h. */ | ||
| 21652 | _ACEOF | ||
| 21653 | cat confdefs.h >>conftest.$ac_ext | ||
| 21654 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12100 | /* end confdefs.h. */ | 21655 | /* end confdefs.h. */ |
| 12101 | 21656 | ||
| 12102 | /* Override any GCC internal prototype to avoid an error. | 21657 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12114,18 +21669,43 @@ return __res_send (); | |||
| 12114 | return 0; | 21669 | return 0; |
| 12115 | } | 21670 | } |
| 12116 | _ACEOF | 21671 | _ACEOF |
| 12117 | if ac_fn_c_try_link "$LINENO"; then : | 21672 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21673 | if { (ac_try="$ac_link" | ||
| 21674 | case "(($ac_try" in | ||
| 21675 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21676 | *) ac_try_echo=$ac_try;; | ||
| 21677 | esac | ||
| 21678 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21679 | $as_echo "$ac_try_echo") >&5 | ||
| 21680 | (eval "$ac_link") 2>conftest.er1 | ||
| 21681 | ac_status=$? | ||
| 21682 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21683 | rm -f conftest.er1 | ||
| 21684 | cat conftest.err >&5 | ||
| 21685 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21686 | (exit $ac_status); } && { | ||
| 21687 | test -z "$ac_c_werror_flag" || | ||
| 21688 | test ! -s conftest.err | ||
| 21689 | } && test -s conftest$ac_exeext && { | ||
| 21690 | test "$cross_compiling" = yes || | ||
| 21691 | $as_test_x conftest$ac_exeext | ||
| 21692 | }; then | ||
| 12118 | ac_cv_lib_resolv___res_send=yes | 21693 | ac_cv_lib_resolv___res_send=yes |
| 12119 | else | 21694 | else |
| 12120 | ac_cv_lib_resolv___res_send=no | 21695 | $as_echo "$as_me: failed program was:" >&5 |
| 21696 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21697 | |||
| 21698 | ac_cv_lib_resolv___res_send=no | ||
| 12121 | fi | 21699 | fi |
| 12122 | rm -f core conftest.err conftest.$ac_objext \ | 21700 | |
| 12123 | conftest$ac_exeext conftest.$ac_ext | 21701 | rm -rf conftest.dSYM |
| 21702 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21703 | conftest$ac_exeext conftest.$ac_ext | ||
| 12124 | LIBS=$ac_check_lib_save_LIBS | 21704 | LIBS=$ac_check_lib_save_LIBS |
| 12125 | fi | 21705 | fi |
| 12126 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_send" >&5 | 21706 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
| 12127 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } | 21707 | $as_echo "$ac_cv_lib_resolv___res_send" >&6; } |
| 12128 | if test "x$ac_cv_lib_resolv___res_send" = x""yes; then : | 21708 | if test $ac_cv_lib_resolv___res_send = yes; then |
| 12129 | resolv=yes | 21709 | resolv=yes |
| 12130 | fi | 21710 | fi |
| 12131 | 21711 | ||
| @@ -12140,18 +21720,106 @@ fi | |||
| 12140 | else | 21720 | else |
| 12141 | RESOLVLIB= | 21721 | RESOLVLIB= |
| 12142 | fi | 21722 | fi |
| 12143 | ac_fn_c_check_func "$LINENO" "hes_getmailhost" "ac_cv_func_hes_getmailhost" | 21723 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
| 12144 | if test "x$ac_cv_func_hes_getmailhost" = x""yes; then : | 21724 | $as_echo_n "checking for hes_getmailhost... " >&6; } |
| 21725 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then | ||
| 21726 | $as_echo_n "(cached) " >&6 | ||
| 21727 | else | ||
| 21728 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21729 | /* confdefs.h. */ | ||
| 21730 | _ACEOF | ||
| 21731 | cat confdefs.h >>conftest.$ac_ext | ||
| 21732 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21733 | /* end confdefs.h. */ | ||
| 21734 | /* Define hes_getmailhost to an innocuous variant, in case <limits.h> declares hes_getmailhost. | ||
| 21735 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 21736 | #define hes_getmailhost innocuous_hes_getmailhost | ||
| 21737 | |||
| 21738 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 21739 | which can conflict with char hes_getmailhost (); below. | ||
| 21740 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 21741 | <limits.h> exists even on freestanding compilers. */ | ||
| 21742 | |||
| 21743 | #ifdef __STDC__ | ||
| 21744 | # include <limits.h> | ||
| 21745 | #else | ||
| 21746 | # include <assert.h> | ||
| 21747 | #endif | ||
| 21748 | |||
| 21749 | #undef hes_getmailhost | ||
| 21750 | |||
| 21751 | /* Override any GCC internal prototype to avoid an error. | ||
| 21752 | Use char because int might match the return type of a GCC | ||
| 21753 | builtin and then its argument prototype would still apply. */ | ||
| 21754 | #ifdef __cplusplus | ||
| 21755 | extern "C" | ||
| 21756 | #endif | ||
| 21757 | char hes_getmailhost (); | ||
| 21758 | /* The GNU C library defines this for functions which it implements | ||
| 21759 | to always fail with ENOSYS. Some functions are actually named | ||
| 21760 | something starting with __ and the normal name is an alias. */ | ||
| 21761 | #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost | ||
| 21762 | choke me | ||
| 21763 | #endif | ||
| 21764 | |||
| 21765 | int | ||
| 21766 | main () | ||
| 21767 | { | ||
| 21768 | return hes_getmailhost (); | ||
| 21769 | ; | ||
| 21770 | return 0; | ||
| 21771 | } | ||
| 21772 | _ACEOF | ||
| 21773 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 21774 | if { (ac_try="$ac_link" | ||
| 21775 | case "(($ac_try" in | ||
| 21776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21777 | *) ac_try_echo=$ac_try;; | ||
| 21778 | esac | ||
| 21779 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21780 | $as_echo "$ac_try_echo") >&5 | ||
| 21781 | (eval "$ac_link") 2>conftest.er1 | ||
| 21782 | ac_status=$? | ||
| 21783 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21784 | rm -f conftest.er1 | ||
| 21785 | cat conftest.err >&5 | ||
| 21786 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21787 | (exit $ac_status); } && { | ||
| 21788 | test -z "$ac_c_werror_flag" || | ||
| 21789 | test ! -s conftest.err | ||
| 21790 | } && test -s conftest$ac_exeext && { | ||
| 21791 | test "$cross_compiling" = yes || | ||
| 21792 | $as_test_x conftest$ac_exeext | ||
| 21793 | }; then | ||
| 21794 | ac_cv_func_hes_getmailhost=yes | ||
| 21795 | else | ||
| 21796 | $as_echo "$as_me: failed program was:" >&5 | ||
| 21797 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12145 | 21798 | ||
| 21799 | ac_cv_func_hes_getmailhost=no | ||
| 21800 | fi | ||
| 21801 | |||
| 21802 | rm -rf conftest.dSYM | ||
| 21803 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21804 | conftest$ac_exeext conftest.$ac_ext | ||
| 21805 | fi | ||
| 21806 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | ||
| 21807 | $as_echo "$ac_cv_func_hes_getmailhost" >&6; } | ||
| 21808 | if test $ac_cv_func_hes_getmailhost = yes; then | ||
| 21809 | : | ||
| 12146 | else | 21810 | else |
| 12147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_getmailhost in -lhesiod" >&5 | 21811 | { $as_echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
| 12148 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } | 21812 | $as_echo_n "checking for hes_getmailhost in -lhesiod... " >&6; } |
| 12149 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then : | 21813 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
| 12150 | $as_echo_n "(cached) " >&6 | 21814 | $as_echo_n "(cached) " >&6 |
| 12151 | else | 21815 | else |
| 12152 | ac_check_lib_save_LIBS=$LIBS | 21816 | ac_check_lib_save_LIBS=$LIBS |
| 12153 | LIBS="-lhesiod $RESOLVLIB $LIBS" | 21817 | LIBS="-lhesiod $RESOLVLIB $LIBS" |
| 12154 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21818 | cat >conftest.$ac_ext <<_ACEOF |
| 21819 | /* confdefs.h. */ | ||
| 21820 | _ACEOF | ||
| 21821 | cat confdefs.h >>conftest.$ac_ext | ||
| 21822 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12155 | /* end confdefs.h. */ | 21823 | /* end confdefs.h. */ |
| 12156 | 21824 | ||
| 12157 | /* Override any GCC internal prototype to avoid an error. | 21825 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12169,18 +21837,43 @@ return hes_getmailhost (); | |||
| 12169 | return 0; | 21837 | return 0; |
| 12170 | } | 21838 | } |
| 12171 | _ACEOF | 21839 | _ACEOF |
| 12172 | if ac_fn_c_try_link "$LINENO"; then : | 21840 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21841 | if { (ac_try="$ac_link" | ||
| 21842 | case "(($ac_try" in | ||
| 21843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21844 | *) ac_try_echo=$ac_try;; | ||
| 21845 | esac | ||
| 21846 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21847 | $as_echo "$ac_try_echo") >&5 | ||
| 21848 | (eval "$ac_link") 2>conftest.er1 | ||
| 21849 | ac_status=$? | ||
| 21850 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21851 | rm -f conftest.er1 | ||
| 21852 | cat conftest.err >&5 | ||
| 21853 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21854 | (exit $ac_status); } && { | ||
| 21855 | test -z "$ac_c_werror_flag" || | ||
| 21856 | test ! -s conftest.err | ||
| 21857 | } && test -s conftest$ac_exeext && { | ||
| 21858 | test "$cross_compiling" = yes || | ||
| 21859 | $as_test_x conftest$ac_exeext | ||
| 21860 | }; then | ||
| 12173 | ac_cv_lib_hesiod_hes_getmailhost=yes | 21861 | ac_cv_lib_hesiod_hes_getmailhost=yes |
| 12174 | else | 21862 | else |
| 12175 | ac_cv_lib_hesiod_hes_getmailhost=no | 21863 | $as_echo "$as_me: failed program was:" >&5 |
| 21864 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21865 | |||
| 21866 | ac_cv_lib_hesiod_hes_getmailhost=no | ||
| 12176 | fi | 21867 | fi |
| 12177 | rm -f core conftest.err conftest.$ac_objext \ | 21868 | |
| 12178 | conftest$ac_exeext conftest.$ac_ext | 21869 | rm -rf conftest.dSYM |
| 21870 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21871 | conftest$ac_exeext conftest.$ac_ext | ||
| 12179 | LIBS=$ac_check_lib_save_LIBS | 21872 | LIBS=$ac_check_lib_save_LIBS |
| 12180 | fi | 21873 | fi |
| 12181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 21874 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 12182 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } | 21875 | $as_echo "$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
| 12183 | if test "x$ac_cv_lib_hesiod_hes_getmailhost" = x""yes; then : | 21876 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
| 12184 | hesiod=yes | 21877 | hesiod=yes |
| 12185 | else | 21878 | else |
| 12186 | : | 21879 | : |
| @@ -12191,7 +21884,9 @@ fi | |||
| 12191 | 21884 | ||
| 12192 | if test x"$hesiod" = xyes; then | 21885 | if test x"$hesiod" = xyes; then |
| 12193 | 21886 | ||
| 12194 | $as_echo "#define HAVE_LIBHESIOD 1" >>confdefs.h | 21887 | cat >>confdefs.h <<\_ACEOF |
| 21888 | #define HAVE_LIBHESIOD 1 | ||
| 21889 | _ACEOF | ||
| 12195 | 21890 | ||
| 12196 | LIBHESIOD=-lhesiod | 21891 | LIBHESIOD=-lhesiod |
| 12197 | fi | 21892 | fi |
| @@ -12201,7 +21896,9 @@ fi | |||
| 12201 | # Do we need libresolv (due to res_init or Hesiod)? | 21896 | # Do we need libresolv (due to res_init or Hesiod)? |
| 12202 | if test "$resolv" = yes ; then | 21897 | if test "$resolv" = yes ; then |
| 12203 | 21898 | ||
| 12204 | $as_echo "#define HAVE_LIBRESOLV 1" >>confdefs.h | 21899 | cat >>confdefs.h <<\_ACEOF |
| 21900 | #define HAVE_LIBRESOLV 1 | ||
| 21901 | _ACEOF | ||
| 12205 | 21902 | ||
| 12206 | LIBRESOLV=-lresolv | 21903 | LIBRESOLV=-lresolv |
| 12207 | else | 21904 | else |
| @@ -12217,14 +21914,18 @@ DESLIB= | |||
| 12217 | KRB4LIB= | 21914 | KRB4LIB= |
| 12218 | 21915 | ||
| 12219 | if test "${with_kerberos}" != no; then | 21916 | if test "${with_kerberos}" != no; then |
| 12220 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 | 21917 | { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
| 12221 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } | 21918 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
| 12222 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then : | 21919 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
| 12223 | $as_echo_n "(cached) " >&6 | 21920 | $as_echo_n "(cached) " >&6 |
| 12224 | else | 21921 | else |
| 12225 | ac_check_lib_save_LIBS=$LIBS | 21922 | ac_check_lib_save_LIBS=$LIBS |
| 12226 | LIBS="-lcom_err $LIBS" | 21923 | LIBS="-lcom_err $LIBS" |
| 12227 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21924 | cat >conftest.$ac_ext <<_ACEOF |
| 21925 | /* confdefs.h. */ | ||
| 21926 | _ACEOF | ||
| 21927 | cat confdefs.h >>conftest.$ac_ext | ||
| 21928 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12228 | /* end confdefs.h. */ | 21929 | /* end confdefs.h. */ |
| 12229 | 21930 | ||
| 12230 | /* Override any GCC internal prototype to avoid an error. | 21931 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12242,18 +21943,43 @@ return com_err (); | |||
| 12242 | return 0; | 21943 | return 0; |
| 12243 | } | 21944 | } |
| 12244 | _ACEOF | 21945 | _ACEOF |
| 12245 | if ac_fn_c_try_link "$LINENO"; then : | 21946 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21947 | if { (ac_try="$ac_link" | ||
| 21948 | case "(($ac_try" in | ||
| 21949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21950 | *) ac_try_echo=$ac_try;; | ||
| 21951 | esac | ||
| 21952 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 21953 | $as_echo "$ac_try_echo") >&5 | ||
| 21954 | (eval "$ac_link") 2>conftest.er1 | ||
| 21955 | ac_status=$? | ||
| 21956 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21957 | rm -f conftest.er1 | ||
| 21958 | cat conftest.err >&5 | ||
| 21959 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21960 | (exit $ac_status); } && { | ||
| 21961 | test -z "$ac_c_werror_flag" || | ||
| 21962 | test ! -s conftest.err | ||
| 21963 | } && test -s conftest$ac_exeext && { | ||
| 21964 | test "$cross_compiling" = yes || | ||
| 21965 | $as_test_x conftest$ac_exeext | ||
| 21966 | }; then | ||
| 12246 | ac_cv_lib_com_err_com_err=yes | 21967 | ac_cv_lib_com_err_com_err=yes |
| 12247 | else | 21968 | else |
| 12248 | ac_cv_lib_com_err_com_err=no | 21969 | $as_echo "$as_me: failed program was:" >&5 |
| 21970 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21971 | |||
| 21972 | ac_cv_lib_com_err_com_err=no | ||
| 12249 | fi | 21973 | fi |
| 12250 | rm -f core conftest.err conftest.$ac_objext \ | 21974 | |
| 12251 | conftest$ac_exeext conftest.$ac_ext | 21975 | rm -rf conftest.dSYM |
| 21976 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21977 | conftest$ac_exeext conftest.$ac_ext | ||
| 12252 | LIBS=$ac_check_lib_save_LIBS | 21978 | LIBS=$ac_check_lib_save_LIBS |
| 12253 | fi | 21979 | fi |
| 12254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 | 21980 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
| 12255 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } | 21981 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
| 12256 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : | 21982 | if test $ac_cv_lib_com_err_com_err = yes; then |
| 12257 | have_com_err=yes | 21983 | have_com_err=yes |
| 12258 | else | 21984 | else |
| 12259 | have_com_err=no | 21985 | have_com_err=no |
| @@ -12263,17 +21989,23 @@ fi | |||
| 12263 | COM_ERRLIB=-lcom_err | 21989 | COM_ERRLIB=-lcom_err |
| 12264 | LIBS="$COM_ERRLIB $LIBS" | 21990 | LIBS="$COM_ERRLIB $LIBS" |
| 12265 | 21991 | ||
| 12266 | $as_echo "#define HAVE_LIBCOM_ERR 1" >>confdefs.h | 21992 | cat >>confdefs.h <<\_ACEOF |
| 21993 | #define HAVE_LIBCOM_ERR 1 | ||
| 21994 | _ACEOF | ||
| 12267 | 21995 | ||
| 12268 | fi | 21996 | fi |
| 12269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 21997 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 12270 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } | 21998 | $as_echo_n "checking for mit_des_cbc_encrypt in -lcrypto... " >&6; } |
| 12271 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then : | 21999 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12272 | $as_echo_n "(cached) " >&6 | 22000 | $as_echo_n "(cached) " >&6 |
| 12273 | else | 22001 | else |
| 12274 | ac_check_lib_save_LIBS=$LIBS | 22002 | ac_check_lib_save_LIBS=$LIBS |
| 12275 | LIBS="-lcrypto $LIBS" | 22003 | LIBS="-lcrypto $LIBS" |
| 12276 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22004 | cat >conftest.$ac_ext <<_ACEOF |
| 22005 | /* confdefs.h. */ | ||
| 22006 | _ACEOF | ||
| 22007 | cat confdefs.h >>conftest.$ac_ext | ||
| 22008 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12277 | /* end confdefs.h. */ | 22009 | /* end confdefs.h. */ |
| 12278 | 22010 | ||
| 12279 | /* Override any GCC internal prototype to avoid an error. | 22011 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12291,18 +22023,43 @@ return mit_des_cbc_encrypt (); | |||
| 12291 | return 0; | 22023 | return 0; |
| 12292 | } | 22024 | } |
| 12293 | _ACEOF | 22025 | _ACEOF |
| 12294 | if ac_fn_c_try_link "$LINENO"; then : | 22026 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22027 | if { (ac_try="$ac_link" | ||
| 22028 | case "(($ac_try" in | ||
| 22029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22030 | *) ac_try_echo=$ac_try;; | ||
| 22031 | esac | ||
| 22032 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22033 | $as_echo "$ac_try_echo") >&5 | ||
| 22034 | (eval "$ac_link") 2>conftest.er1 | ||
| 22035 | ac_status=$? | ||
| 22036 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22037 | rm -f conftest.er1 | ||
| 22038 | cat conftest.err >&5 | ||
| 22039 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22040 | (exit $ac_status); } && { | ||
| 22041 | test -z "$ac_c_werror_flag" || | ||
| 22042 | test ! -s conftest.err | ||
| 22043 | } && test -s conftest$ac_exeext && { | ||
| 22044 | test "$cross_compiling" = yes || | ||
| 22045 | $as_test_x conftest$ac_exeext | ||
| 22046 | }; then | ||
| 12295 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 22047 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
| 12296 | else | 22048 | else |
| 12297 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 22049 | $as_echo "$as_me: failed program was:" >&5 |
| 22050 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22051 | |||
| 22052 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | ||
| 12298 | fi | 22053 | fi |
| 12299 | rm -f core conftest.err conftest.$ac_objext \ | 22054 | |
| 12300 | conftest$ac_exeext conftest.$ac_ext | 22055 | rm -rf conftest.dSYM |
| 22056 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22057 | conftest$ac_exeext conftest.$ac_ext | ||
| 12301 | LIBS=$ac_check_lib_save_LIBS | 22058 | LIBS=$ac_check_lib_save_LIBS |
| 12302 | fi | 22059 | fi |
| 12303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 22060 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
| 12304 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } | 22061 | $as_echo "$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
| 12305 | if test "x$ac_cv_lib_crypto_mit_des_cbc_encrypt" = x""yes; then : | 22062 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
| 12306 | have_crypto=yes | 22063 | have_crypto=yes |
| 12307 | else | 22064 | else |
| 12308 | have_crypto=no | 22065 | have_crypto=no |
| @@ -12312,17 +22069,23 @@ fi | |||
| 12312 | CRYPTOLIB=-lcrypto | 22069 | CRYPTOLIB=-lcrypto |
| 12313 | LIBS="$CRYPTOLIB $LIBS" | 22070 | LIBS="$CRYPTOLIB $LIBS" |
| 12314 | 22071 | ||
| 12315 | $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h | 22072 | cat >>confdefs.h <<\_ACEOF |
| 22073 | #define HAVE_LIBCRYPTO 1 | ||
| 22074 | _ACEOF | ||
| 12316 | 22075 | ||
| 12317 | fi | 22076 | fi |
| 12318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 22077 | { $as_echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 12319 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } | 22078 | $as_echo_n "checking for mit_des_cbc_encrypt in -lk5crypto... " >&6; } |
| 12320 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then : | 22079 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
| 12321 | $as_echo_n "(cached) " >&6 | 22080 | $as_echo_n "(cached) " >&6 |
| 12322 | else | 22081 | else |
| 12323 | ac_check_lib_save_LIBS=$LIBS | 22082 | ac_check_lib_save_LIBS=$LIBS |
| 12324 | LIBS="-lk5crypto $LIBS" | 22083 | LIBS="-lk5crypto $LIBS" |
| 12325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22084 | cat >conftest.$ac_ext <<_ACEOF |
| 22085 | /* confdefs.h. */ | ||
| 22086 | _ACEOF | ||
| 22087 | cat confdefs.h >>conftest.$ac_ext | ||
| 22088 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12326 | /* end confdefs.h. */ | 22089 | /* end confdefs.h. */ |
| 12327 | 22090 | ||
| 12328 | /* Override any GCC internal prototype to avoid an error. | 22091 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12340,18 +22103,43 @@ return mit_des_cbc_encrypt (); | |||
| 12340 | return 0; | 22103 | return 0; |
| 12341 | } | 22104 | } |
| 12342 | _ACEOF | 22105 | _ACEOF |
| 12343 | if ac_fn_c_try_link "$LINENO"; then : | 22106 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22107 | if { (ac_try="$ac_link" | ||
| 22108 | case "(($ac_try" in | ||
| 22109 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22110 | *) ac_try_echo=$ac_try;; | ||
| 22111 | esac | ||
| 22112 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22113 | $as_echo "$ac_try_echo") >&5 | ||
| 22114 | (eval "$ac_link") 2>conftest.er1 | ||
| 22115 | ac_status=$? | ||
| 22116 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22117 | rm -f conftest.er1 | ||
| 22118 | cat conftest.err >&5 | ||
| 22119 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22120 | (exit $ac_status); } && { | ||
| 22121 | test -z "$ac_c_werror_flag" || | ||
| 22122 | test ! -s conftest.err | ||
| 22123 | } && test -s conftest$ac_exeext && { | ||
| 22124 | test "$cross_compiling" = yes || | ||
| 22125 | $as_test_x conftest$ac_exeext | ||
| 22126 | }; then | ||
| 12344 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 22127 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
| 12345 | else | 22128 | else |
| 12346 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 22129 | $as_echo "$as_me: failed program was:" >&5 |
| 22130 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22131 | |||
| 22132 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | ||
| 12347 | fi | 22133 | fi |
| 12348 | rm -f core conftest.err conftest.$ac_objext \ | 22134 | |
| 12349 | conftest$ac_exeext conftest.$ac_ext | 22135 | rm -rf conftest.dSYM |
| 22136 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22137 | conftest$ac_exeext conftest.$ac_ext | ||
| 12350 | LIBS=$ac_check_lib_save_LIBS | 22138 | LIBS=$ac_check_lib_save_LIBS |
| 12351 | fi | 22139 | fi |
| 12352 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 22140 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
| 12353 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } | 22141 | $as_echo "$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
| 12354 | if test "x$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" = x""yes; then : | 22142 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
| 12355 | have_k5crypto=yes | 22143 | have_k5crypto=yes |
| 12356 | else | 22144 | else |
| 12357 | have_k5crypto=no | 22145 | have_k5crypto=no |
| @@ -12361,17 +22149,23 @@ fi | |||
| 12361 | CRYPTOLIB=-lk5crypto | 22149 | CRYPTOLIB=-lk5crypto |
| 12362 | LIBS="$CRYPTOLIB $LIBS" | 22150 | LIBS="$CRYPTOLIB $LIBS" |
| 12363 | 22151 | ||
| 12364 | $as_echo "#define HAVE_LIBK5CRYPTO 1" >>confdefs.h | 22152 | cat >>confdefs.h <<\_ACEOF |
| 22153 | #define HAVE_LIBK5CRYPTO 1 | ||
| 22154 | _ACEOF | ||
| 12365 | 22155 | ||
| 12366 | fi | 22156 | fi |
| 12367 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5 | 22157 | { $as_echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
| 12368 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } | 22158 | $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; } |
| 12369 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then : | 22159 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
| 12370 | $as_echo_n "(cached) " >&6 | 22160 | $as_echo_n "(cached) " >&6 |
| 12371 | else | 22161 | else |
| 12372 | ac_check_lib_save_LIBS=$LIBS | 22162 | ac_check_lib_save_LIBS=$LIBS |
| 12373 | LIBS="-lkrb5 $LIBS" | 22163 | LIBS="-lkrb5 $LIBS" |
| 12374 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22164 | cat >conftest.$ac_ext <<_ACEOF |
| 22165 | /* confdefs.h. */ | ||
| 22166 | _ACEOF | ||
| 22167 | cat confdefs.h >>conftest.$ac_ext | ||
| 22168 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12375 | /* end confdefs.h. */ | 22169 | /* end confdefs.h. */ |
| 12376 | 22170 | ||
| 12377 | /* Override any GCC internal prototype to avoid an error. | 22171 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12389,18 +22183,43 @@ return krb5_init_context (); | |||
| 12389 | return 0; | 22183 | return 0; |
| 12390 | } | 22184 | } |
| 12391 | _ACEOF | 22185 | _ACEOF |
| 12392 | if ac_fn_c_try_link "$LINENO"; then : | 22186 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22187 | if { (ac_try="$ac_link" | ||
| 22188 | case "(($ac_try" in | ||
| 22189 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22190 | *) ac_try_echo=$ac_try;; | ||
| 22191 | esac | ||
| 22192 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22193 | $as_echo "$ac_try_echo") >&5 | ||
| 22194 | (eval "$ac_link") 2>conftest.er1 | ||
| 22195 | ac_status=$? | ||
| 22196 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22197 | rm -f conftest.er1 | ||
| 22198 | cat conftest.err >&5 | ||
| 22199 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22200 | (exit $ac_status); } && { | ||
| 22201 | test -z "$ac_c_werror_flag" || | ||
| 22202 | test ! -s conftest.err | ||
| 22203 | } && test -s conftest$ac_exeext && { | ||
| 22204 | test "$cross_compiling" = yes || | ||
| 22205 | $as_test_x conftest$ac_exeext | ||
| 22206 | }; then | ||
| 12393 | ac_cv_lib_krb5_krb5_init_context=yes | 22207 | ac_cv_lib_krb5_krb5_init_context=yes |
| 12394 | else | 22208 | else |
| 12395 | ac_cv_lib_krb5_krb5_init_context=no | 22209 | $as_echo "$as_me: failed program was:" >&5 |
| 22210 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22211 | |||
| 22212 | ac_cv_lib_krb5_krb5_init_context=no | ||
| 12396 | fi | 22213 | fi |
| 12397 | rm -f core conftest.err conftest.$ac_objext \ | 22214 | |
| 12398 | conftest$ac_exeext conftest.$ac_ext | 22215 | rm -rf conftest.dSYM |
| 22216 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22217 | conftest$ac_exeext conftest.$ac_ext | ||
| 12399 | LIBS=$ac_check_lib_save_LIBS | 22218 | LIBS=$ac_check_lib_save_LIBS |
| 12400 | fi | 22219 | fi |
| 12401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 22220 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
| 12402 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } | 22221 | $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; } |
| 12403 | if test "x$ac_cv_lib_krb5_krb5_init_context" = x""yes; then : | 22222 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
| 12404 | have_krb5=yes | 22223 | have_krb5=yes |
| 12405 | else | 22224 | else |
| 12406 | have_krb5=no | 22225 | have_krb5=no |
| @@ -12410,18 +22229,24 @@ fi | |||
| 12410 | KRB5LIB=-lkrb5 | 22229 | KRB5LIB=-lkrb5 |
| 12411 | LIBS="$KRB5LIB $LIBS" | 22230 | LIBS="$KRB5LIB $LIBS" |
| 12412 | 22231 | ||
| 12413 | $as_echo "#define HAVE_LIBKRB5 1" >>confdefs.h | 22232 | cat >>confdefs.h <<\_ACEOF |
| 22233 | #define HAVE_LIBKRB5 1 | ||
| 22234 | _ACEOF | ||
| 12414 | 22235 | ||
| 12415 | fi | 22236 | fi |
| 12416 | if test "${with_kerberos5}" = no; then | 22237 | if test "${with_kerberos5}" = no; then |
| 12417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes425" >&5 | 22238 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
| 12418 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } | 22239 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
| 12419 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then : | 22240 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
| 12420 | $as_echo_n "(cached) " >&6 | 22241 | $as_echo_n "(cached) " >&6 |
| 12421 | else | 22242 | else |
| 12422 | ac_check_lib_save_LIBS=$LIBS | 22243 | ac_check_lib_save_LIBS=$LIBS |
| 12423 | LIBS="-ldes425 $LIBS" | 22244 | LIBS="-ldes425 $LIBS" |
| 12424 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22245 | cat >conftest.$ac_ext <<_ACEOF |
| 22246 | /* confdefs.h. */ | ||
| 22247 | _ACEOF | ||
| 22248 | cat confdefs.h >>conftest.$ac_ext | ||
| 22249 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12425 | /* end confdefs.h. */ | 22250 | /* end confdefs.h. */ |
| 12426 | 22251 | ||
| 12427 | /* Override any GCC internal prototype to avoid an error. | 22252 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12439,18 +22264,43 @@ return des_cbc_encrypt (); | |||
| 12439 | return 0; | 22264 | return 0; |
| 12440 | } | 22265 | } |
| 12441 | _ACEOF | 22266 | _ACEOF |
| 12442 | if ac_fn_c_try_link "$LINENO"; then : | 22267 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22268 | if { (ac_try="$ac_link" | ||
| 22269 | case "(($ac_try" in | ||
| 22270 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22271 | *) ac_try_echo=$ac_try;; | ||
| 22272 | esac | ||
| 22273 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22274 | $as_echo "$ac_try_echo") >&5 | ||
| 22275 | (eval "$ac_link") 2>conftest.er1 | ||
| 22276 | ac_status=$? | ||
| 22277 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22278 | rm -f conftest.er1 | ||
| 22279 | cat conftest.err >&5 | ||
| 22280 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22281 | (exit $ac_status); } && { | ||
| 22282 | test -z "$ac_c_werror_flag" || | ||
| 22283 | test ! -s conftest.err | ||
| 22284 | } && test -s conftest$ac_exeext && { | ||
| 22285 | test "$cross_compiling" = yes || | ||
| 22286 | $as_test_x conftest$ac_exeext | ||
| 22287 | }; then | ||
| 12443 | ac_cv_lib_des425_des_cbc_encrypt=yes | 22288 | ac_cv_lib_des425_des_cbc_encrypt=yes |
| 12444 | else | 22289 | else |
| 12445 | ac_cv_lib_des425_des_cbc_encrypt=no | 22290 | $as_echo "$as_me: failed program was:" >&5 |
| 22291 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22292 | |||
| 22293 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
| 12446 | fi | 22294 | fi |
| 12447 | rm -f core conftest.err conftest.$ac_objext \ | 22295 | |
| 12448 | conftest$ac_exeext conftest.$ac_ext | 22296 | rm -rf conftest.dSYM |
| 22297 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22298 | conftest$ac_exeext conftest.$ac_ext | ||
| 12449 | LIBS=$ac_check_lib_save_LIBS | 22299 | LIBS=$ac_check_lib_save_LIBS |
| 12450 | fi | 22300 | fi |
| 12451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22301 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
| 12452 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } | 22302 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
| 12453 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then : | 22303 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
| 12454 | have_des425=yes | 22304 | have_des425=yes |
| 12455 | else | 22305 | else |
| 12456 | have_des425=no | 22306 | have_des425=no |
| @@ -12460,17 +22310,23 @@ fi | |||
| 12460 | DESLIB=-ldes425 | 22310 | DESLIB=-ldes425 |
| 12461 | LIBS="$DESLIB $LIBS" | 22311 | LIBS="$DESLIB $LIBS" |
| 12462 | 22312 | ||
| 12463 | $as_echo "#define HAVE_LIBDES425 1" >>confdefs.h | 22313 | cat >>confdefs.h <<\_ACEOF |
| 22314 | #define HAVE_LIBDES425 1 | ||
| 22315 | _ACEOF | ||
| 12464 | 22316 | ||
| 12465 | else | 22317 | else |
| 12466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 22318 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
| 12467 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 22319 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
| 12468 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then : | 22320 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
| 12469 | $as_echo_n "(cached) " >&6 | 22321 | $as_echo_n "(cached) " >&6 |
| 12470 | else | 22322 | else |
| 12471 | ac_check_lib_save_LIBS=$LIBS | 22323 | ac_check_lib_save_LIBS=$LIBS |
| 12472 | LIBS="-ldes $LIBS" | 22324 | LIBS="-ldes $LIBS" |
| 12473 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22325 | cat >conftest.$ac_ext <<_ACEOF |
| 22326 | /* confdefs.h. */ | ||
| 22327 | _ACEOF | ||
| 22328 | cat confdefs.h >>conftest.$ac_ext | ||
| 22329 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12474 | /* end confdefs.h. */ | 22330 | /* end confdefs.h. */ |
| 12475 | 22331 | ||
| 12476 | /* Override any GCC internal prototype to avoid an error. | 22332 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12488,18 +22344,43 @@ return des_cbc_encrypt (); | |||
| 12488 | return 0; | 22344 | return 0; |
| 12489 | } | 22345 | } |
| 12490 | _ACEOF | 22346 | _ACEOF |
| 12491 | if ac_fn_c_try_link "$LINENO"; then : | 22347 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22348 | if { (ac_try="$ac_link" | ||
| 22349 | case "(($ac_try" in | ||
| 22350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22351 | *) ac_try_echo=$ac_try;; | ||
| 22352 | esac | ||
| 22353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22354 | $as_echo "$ac_try_echo") >&5 | ||
| 22355 | (eval "$ac_link") 2>conftest.er1 | ||
| 22356 | ac_status=$? | ||
| 22357 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22358 | rm -f conftest.er1 | ||
| 22359 | cat conftest.err >&5 | ||
| 22360 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22361 | (exit $ac_status); } && { | ||
| 22362 | test -z "$ac_c_werror_flag" || | ||
| 22363 | test ! -s conftest.err | ||
| 22364 | } && test -s conftest$ac_exeext && { | ||
| 22365 | test "$cross_compiling" = yes || | ||
| 22366 | $as_test_x conftest$ac_exeext | ||
| 22367 | }; then | ||
| 12492 | ac_cv_lib_des_des_cbc_encrypt=yes | 22368 | ac_cv_lib_des_des_cbc_encrypt=yes |
| 12493 | else | 22369 | else |
| 12494 | ac_cv_lib_des_des_cbc_encrypt=no | 22370 | $as_echo "$as_me: failed program was:" >&5 |
| 22371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22372 | |||
| 22373 | ac_cv_lib_des_des_cbc_encrypt=no | ||
| 12495 | fi | 22374 | fi |
| 12496 | rm -f core conftest.err conftest.$ac_objext \ | 22375 | |
| 12497 | conftest$ac_exeext conftest.$ac_ext | 22376 | rm -rf conftest.dSYM |
| 22377 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22378 | conftest$ac_exeext conftest.$ac_ext | ||
| 12498 | LIBS=$ac_check_lib_save_LIBS | 22379 | LIBS=$ac_check_lib_save_LIBS |
| 12499 | fi | 22380 | fi |
| 12500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22381 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
| 12501 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 22382 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
| 12502 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = x""yes; then : | 22383 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
| 12503 | have_des=yes | 22384 | have_des=yes |
| 12504 | else | 22385 | else |
| 12505 | have_des=no | 22386 | have_des=no |
| @@ -12509,18 +22390,24 @@ fi | |||
| 12509 | DESLIB=-ldes | 22390 | DESLIB=-ldes |
| 12510 | LIBS="$DESLIB $LIBS" | 22391 | LIBS="$DESLIB $LIBS" |
| 12511 | 22392 | ||
| 12512 | $as_echo "#define HAVE_LIBDES 1" >>confdefs.h | 22393 | cat >>confdefs.h <<\_ACEOF |
| 22394 | #define HAVE_LIBDES 1 | ||
| 22395 | _ACEOF | ||
| 12513 | 22396 | ||
| 12514 | fi | 22397 | fi |
| 12515 | fi | 22398 | fi |
| 12516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb4" >&5 | 22399 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
| 12517 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } | 22400 | $as_echo_n "checking for krb_get_cred in -lkrb4... " >&6; } |
| 12518 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then : | 22401 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
| 12519 | $as_echo_n "(cached) " >&6 | 22402 | $as_echo_n "(cached) " >&6 |
| 12520 | else | 22403 | else |
| 12521 | ac_check_lib_save_LIBS=$LIBS | 22404 | ac_check_lib_save_LIBS=$LIBS |
| 12522 | LIBS="-lkrb4 $LIBS" | 22405 | LIBS="-lkrb4 $LIBS" |
| 12523 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22406 | cat >conftest.$ac_ext <<_ACEOF |
| 22407 | /* confdefs.h. */ | ||
| 22408 | _ACEOF | ||
| 22409 | cat confdefs.h >>conftest.$ac_ext | ||
| 22410 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12524 | /* end confdefs.h. */ | 22411 | /* end confdefs.h. */ |
| 12525 | 22412 | ||
| 12526 | /* Override any GCC internal prototype to avoid an error. | 22413 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12538,18 +22425,43 @@ return krb_get_cred (); | |||
| 12538 | return 0; | 22425 | return 0; |
| 12539 | } | 22426 | } |
| 12540 | _ACEOF | 22427 | _ACEOF |
| 12541 | if ac_fn_c_try_link "$LINENO"; then : | 22428 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22429 | if { (ac_try="$ac_link" | ||
| 22430 | case "(($ac_try" in | ||
| 22431 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22432 | *) ac_try_echo=$ac_try;; | ||
| 22433 | esac | ||
| 22434 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22435 | $as_echo "$ac_try_echo") >&5 | ||
| 22436 | (eval "$ac_link") 2>conftest.er1 | ||
| 22437 | ac_status=$? | ||
| 22438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22439 | rm -f conftest.er1 | ||
| 22440 | cat conftest.err >&5 | ||
| 22441 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22442 | (exit $ac_status); } && { | ||
| 22443 | test -z "$ac_c_werror_flag" || | ||
| 22444 | test ! -s conftest.err | ||
| 22445 | } && test -s conftest$ac_exeext && { | ||
| 22446 | test "$cross_compiling" = yes || | ||
| 22447 | $as_test_x conftest$ac_exeext | ||
| 22448 | }; then | ||
| 12542 | ac_cv_lib_krb4_krb_get_cred=yes | 22449 | ac_cv_lib_krb4_krb_get_cred=yes |
| 12543 | else | 22450 | else |
| 12544 | ac_cv_lib_krb4_krb_get_cred=no | 22451 | $as_echo "$as_me: failed program was:" >&5 |
| 22452 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22453 | |||
| 22454 | ac_cv_lib_krb4_krb_get_cred=no | ||
| 12545 | fi | 22455 | fi |
| 12546 | rm -f core conftest.err conftest.$ac_objext \ | 22456 | |
| 12547 | conftest$ac_exeext conftest.$ac_ext | 22457 | rm -rf conftest.dSYM |
| 22458 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22459 | conftest$ac_exeext conftest.$ac_ext | ||
| 12548 | LIBS=$ac_check_lib_save_LIBS | 22460 | LIBS=$ac_check_lib_save_LIBS |
| 12549 | fi | 22461 | fi |
| 12550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22462 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
| 12551 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } | 22463 | $as_echo "$ac_cv_lib_krb4_krb_get_cred" >&6; } |
| 12552 | if test "x$ac_cv_lib_krb4_krb_get_cred" = x""yes; then : | 22464 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
| 12553 | have_krb4=yes | 22465 | have_krb4=yes |
| 12554 | else | 22466 | else |
| 12555 | have_krb4=no | 22467 | have_krb4=no |
| @@ -12559,17 +22471,23 @@ fi | |||
| 12559 | KRB4LIB=-lkrb4 | 22471 | KRB4LIB=-lkrb4 |
| 12560 | LIBS="$KRB4LIB $LIBS" | 22472 | LIBS="$KRB4LIB $LIBS" |
| 12561 | 22473 | ||
| 12562 | $as_echo "#define HAVE_LIBKRB4 1" >>confdefs.h | 22474 | cat >>confdefs.h <<\_ACEOF |
| 22475 | #define HAVE_LIBKRB4 1 | ||
| 22476 | _ACEOF | ||
| 12563 | 22477 | ||
| 12564 | else | 22478 | else |
| 12565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_get_cred in -lkrb" >&5 | 22479 | { $as_echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
| 12566 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } | 22480 | $as_echo_n "checking for krb_get_cred in -lkrb... " >&6; } |
| 12567 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then : | 22481 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
| 12568 | $as_echo_n "(cached) " >&6 | 22482 | $as_echo_n "(cached) " >&6 |
| 12569 | else | 22483 | else |
| 12570 | ac_check_lib_save_LIBS=$LIBS | 22484 | ac_check_lib_save_LIBS=$LIBS |
| 12571 | LIBS="-lkrb $LIBS" | 22485 | LIBS="-lkrb $LIBS" |
| 12572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22486 | cat >conftest.$ac_ext <<_ACEOF |
| 22487 | /* confdefs.h. */ | ||
| 22488 | _ACEOF | ||
| 22489 | cat confdefs.h >>conftest.$ac_ext | ||
| 22490 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12573 | /* end confdefs.h. */ | 22491 | /* end confdefs.h. */ |
| 12574 | 22492 | ||
| 12575 | /* Override any GCC internal prototype to avoid an error. | 22493 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12587,18 +22505,43 @@ return krb_get_cred (); | |||
| 12587 | return 0; | 22505 | return 0; |
| 12588 | } | 22506 | } |
| 12589 | _ACEOF | 22507 | _ACEOF |
| 12590 | if ac_fn_c_try_link "$LINENO"; then : | 22508 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22509 | if { (ac_try="$ac_link" | ||
| 22510 | case "(($ac_try" in | ||
| 22511 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22512 | *) ac_try_echo=$ac_try;; | ||
| 22513 | esac | ||
| 22514 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22515 | $as_echo "$ac_try_echo") >&5 | ||
| 22516 | (eval "$ac_link") 2>conftest.er1 | ||
| 22517 | ac_status=$? | ||
| 22518 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22519 | rm -f conftest.er1 | ||
| 22520 | cat conftest.err >&5 | ||
| 22521 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22522 | (exit $ac_status); } && { | ||
| 22523 | test -z "$ac_c_werror_flag" || | ||
| 22524 | test ! -s conftest.err | ||
| 22525 | } && test -s conftest$ac_exeext && { | ||
| 22526 | test "$cross_compiling" = yes || | ||
| 22527 | $as_test_x conftest$ac_exeext | ||
| 22528 | }; then | ||
| 12591 | ac_cv_lib_krb_krb_get_cred=yes | 22529 | ac_cv_lib_krb_krb_get_cred=yes |
| 12592 | else | 22530 | else |
| 12593 | ac_cv_lib_krb_krb_get_cred=no | 22531 | $as_echo "$as_me: failed program was:" >&5 |
| 22532 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22533 | |||
| 22534 | ac_cv_lib_krb_krb_get_cred=no | ||
| 12594 | fi | 22535 | fi |
| 12595 | rm -f core conftest.err conftest.$ac_objext \ | 22536 | |
| 12596 | conftest$ac_exeext conftest.$ac_ext | 22537 | rm -rf conftest.dSYM |
| 22538 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22539 | conftest$ac_exeext conftest.$ac_ext | ||
| 12597 | LIBS=$ac_check_lib_save_LIBS | 22540 | LIBS=$ac_check_lib_save_LIBS |
| 12598 | fi | 22541 | fi |
| 12599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22542 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
| 12600 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } | 22543 | $as_echo "$ac_cv_lib_krb_krb_get_cred" >&6; } |
| 12601 | if test "x$ac_cv_lib_krb_krb_get_cred" = x""yes; then : | 22544 | if test $ac_cv_lib_krb_krb_get_cred = yes; then |
| 12602 | have_krb=yes | 22545 | have_krb=yes |
| 12603 | else | 22546 | else |
| 12604 | have_krb=no | 22547 | have_krb=no |
| @@ -12608,23 +22551,253 @@ fi | |||
| 12608 | KRB4LIB=-lkrb | 22551 | KRB4LIB=-lkrb |
| 12609 | LIBS="$KRB4LIB $LIBS" | 22552 | LIBS="$KRB4LIB $LIBS" |
| 12610 | 22553 | ||
| 12611 | $as_echo "#define HAVE_LIBKRB 1" >>confdefs.h | 22554 | cat >>confdefs.h <<\_ACEOF |
| 22555 | #define HAVE_LIBKRB 1 | ||
| 22556 | _ACEOF | ||
| 12612 | 22557 | ||
| 12613 | fi | 22558 | fi |
| 12614 | fi | 22559 | fi |
| 12615 | fi | 22560 | fi |
| 12616 | 22561 | ||
| 12617 | if test "${with_kerberos5}" != no; then | 22562 | if test "${with_kerberos5}" != no; then |
| 12618 | for ac_header in krb5.h | 22563 | |
| 12619 | do : | 22564 | for ac_header in krb5.h |
| 12620 | ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 22565 | do |
| 12621 | if test "x$ac_cv_header_krb5_h" = x""yes; then : | 22566 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 22567 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22568 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22569 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22570 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22571 | $as_echo_n "(cached) " >&6 | ||
| 22572 | fi | ||
| 22573 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22574 | $as_echo "$as_val"'` | ||
| 22575 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22576 | $as_echo "$ac_res" >&6; } | ||
| 22577 | else | ||
| 22578 | # Is the header compilable? | ||
| 22579 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22580 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22581 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22582 | /* confdefs.h. */ | ||
| 22583 | _ACEOF | ||
| 22584 | cat confdefs.h >>conftest.$ac_ext | ||
| 22585 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22586 | /* end confdefs.h. */ | ||
| 22587 | $ac_includes_default | ||
| 22588 | #include <$ac_header> | ||
| 22589 | _ACEOF | ||
| 22590 | rm -f conftest.$ac_objext | ||
| 22591 | if { (ac_try="$ac_compile" | ||
| 22592 | case "(($ac_try" in | ||
| 22593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22594 | *) ac_try_echo=$ac_try;; | ||
| 22595 | esac | ||
| 22596 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22597 | $as_echo "$ac_try_echo") >&5 | ||
| 22598 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22599 | ac_status=$? | ||
| 22600 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22601 | rm -f conftest.er1 | ||
| 22602 | cat conftest.err >&5 | ||
| 22603 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22604 | (exit $ac_status); } && { | ||
| 22605 | test -z "$ac_c_werror_flag" || | ||
| 22606 | test ! -s conftest.err | ||
| 22607 | } && test -s conftest.$ac_objext; then | ||
| 22608 | ac_header_compiler=yes | ||
| 22609 | else | ||
| 22610 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22611 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22612 | |||
| 22613 | ac_header_compiler=no | ||
| 22614 | fi | ||
| 22615 | |||
| 22616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22617 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22618 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22619 | |||
| 22620 | # Is the header present? | ||
| 22621 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22622 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22623 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22624 | /* confdefs.h. */ | ||
| 22625 | _ACEOF | ||
| 22626 | cat confdefs.h >>conftest.$ac_ext | ||
| 22627 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22628 | /* end confdefs.h. */ | ||
| 22629 | #include <$ac_header> | ||
| 22630 | _ACEOF | ||
| 22631 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22632 | case "(($ac_try" in | ||
| 22633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22634 | *) ac_try_echo=$ac_try;; | ||
| 22635 | esac | ||
| 22636 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22637 | $as_echo "$ac_try_echo") >&5 | ||
| 22638 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22639 | ac_status=$? | ||
| 22640 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22641 | rm -f conftest.er1 | ||
| 22642 | cat conftest.err >&5 | ||
| 22643 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22644 | (exit $ac_status); } >/dev/null && { | ||
| 22645 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 22646 | test ! -s conftest.err | ||
| 22647 | }; then | ||
| 22648 | ac_header_preproc=yes | ||
| 22649 | else | ||
| 22650 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22651 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22652 | |||
| 22653 | ac_header_preproc=no | ||
| 22654 | fi | ||
| 22655 | |||
| 22656 | rm -f conftest.err conftest.$ac_ext | ||
| 22657 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 22658 | $as_echo "$ac_header_preproc" >&6; } | ||
| 22659 | |||
| 22660 | # So? What about this header? | ||
| 22661 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 22662 | yes:no: ) | ||
| 22663 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 22664 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 22665 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 22666 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 22667 | ac_header_preproc=yes | ||
| 22668 | ;; | ||
| 22669 | no:yes:* ) | ||
| 22670 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 22671 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 22672 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 22673 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 22674 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 22675 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 22676 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 22677 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 22678 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 22679 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 22680 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 22681 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 22682 | |||
| 22683 | ;; | ||
| 22684 | esac | ||
| 22685 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22686 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22687 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22688 | $as_echo_n "(cached) " >&6 | ||
| 22689 | else | ||
| 22690 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 22691 | fi | ||
| 22692 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22693 | $as_echo "$as_val"'` | ||
| 22694 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22695 | $as_echo "$ac_res" >&6; } | ||
| 22696 | |||
| 22697 | fi | ||
| 22698 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 22699 | $as_echo "$as_val"'` = yes; then | ||
| 12622 | cat >>confdefs.h <<_ACEOF | 22700 | cat >>confdefs.h <<_ACEOF |
| 12623 | #define HAVE_KRB5_H 1 | 22701 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12624 | _ACEOF | 22702 | _ACEOF |
| 12625 | ac_fn_c_check_member "$LINENO" "krb5_error" "text" "ac_cv_member_krb5_error_text" "#include <krb5.h> | 22703 | { $as_echo "$as_me:$LINENO: checking for krb5_error.text" >&5 |
| 12626 | " | 22704 | $as_echo_n "checking for krb5_error.text... " >&6; } |
| 12627 | if test "x$ac_cv_member_krb5_error_text" = x""yes; then : | 22705 | if test "${ac_cv_member_krb5_error_text+set}" = set; then |
| 22706 | $as_echo_n "(cached) " >&6 | ||
| 22707 | else | ||
| 22708 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22709 | /* confdefs.h. */ | ||
| 22710 | _ACEOF | ||
| 22711 | cat confdefs.h >>conftest.$ac_ext | ||
| 22712 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22713 | /* end confdefs.h. */ | ||
| 22714 | #include <krb5.h> | ||
| 22715 | |||
| 22716 | int | ||
| 22717 | main () | ||
| 22718 | { | ||
| 22719 | static krb5_error ac_aggr; | ||
| 22720 | if (ac_aggr.text) | ||
| 22721 | return 0; | ||
| 22722 | ; | ||
| 22723 | return 0; | ||
| 22724 | } | ||
| 22725 | _ACEOF | ||
| 22726 | rm -f conftest.$ac_objext | ||
| 22727 | if { (ac_try="$ac_compile" | ||
| 22728 | case "(($ac_try" in | ||
| 22729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22730 | *) ac_try_echo=$ac_try;; | ||
| 22731 | esac | ||
| 22732 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22733 | $as_echo "$ac_try_echo") >&5 | ||
| 22734 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22735 | ac_status=$? | ||
| 22736 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22737 | rm -f conftest.er1 | ||
| 22738 | cat conftest.err >&5 | ||
| 22739 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22740 | (exit $ac_status); } && { | ||
| 22741 | test -z "$ac_c_werror_flag" || | ||
| 22742 | test ! -s conftest.err | ||
| 22743 | } && test -s conftest.$ac_objext; then | ||
| 22744 | ac_cv_member_krb5_error_text=yes | ||
| 22745 | else | ||
| 22746 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22747 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22748 | |||
| 22749 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22750 | /* confdefs.h. */ | ||
| 22751 | _ACEOF | ||
| 22752 | cat confdefs.h >>conftest.$ac_ext | ||
| 22753 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22754 | /* end confdefs.h. */ | ||
| 22755 | #include <krb5.h> | ||
| 22756 | |||
| 22757 | int | ||
| 22758 | main () | ||
| 22759 | { | ||
| 22760 | static krb5_error ac_aggr; | ||
| 22761 | if (sizeof ac_aggr.text) | ||
| 22762 | return 0; | ||
| 22763 | ; | ||
| 22764 | return 0; | ||
| 22765 | } | ||
| 22766 | _ACEOF | ||
| 22767 | rm -f conftest.$ac_objext | ||
| 22768 | if { (ac_try="$ac_compile" | ||
| 22769 | case "(($ac_try" in | ||
| 22770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22771 | *) ac_try_echo=$ac_try;; | ||
| 22772 | esac | ||
| 22773 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22774 | $as_echo "$ac_try_echo") >&5 | ||
| 22775 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22776 | ac_status=$? | ||
| 22777 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22778 | rm -f conftest.er1 | ||
| 22779 | cat conftest.err >&5 | ||
| 22780 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22781 | (exit $ac_status); } && { | ||
| 22782 | test -z "$ac_c_werror_flag" || | ||
| 22783 | test ! -s conftest.err | ||
| 22784 | } && test -s conftest.$ac_objext; then | ||
| 22785 | ac_cv_member_krb5_error_text=yes | ||
| 22786 | else | ||
| 22787 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22788 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22789 | |||
| 22790 | ac_cv_member_krb5_error_text=no | ||
| 22791 | fi | ||
| 22792 | |||
| 22793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22794 | fi | ||
| 22795 | |||
| 22796 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22797 | fi | ||
| 22798 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_text" >&5 | ||
| 22799 | $as_echo "$ac_cv_member_krb5_error_text" >&6; } | ||
| 22800 | if test $ac_cv_member_krb5_error_text = yes; then | ||
| 12628 | 22801 | ||
| 12629 | cat >>confdefs.h <<_ACEOF | 22802 | cat >>confdefs.h <<_ACEOF |
| 12630 | #define HAVE_KRB5_ERROR_TEXT 1 | 22803 | #define HAVE_KRB5_ERROR_TEXT 1 |
| @@ -12632,9 +22805,104 @@ _ACEOF | |||
| 12632 | 22805 | ||
| 12633 | 22806 | ||
| 12634 | fi | 22807 | fi |
| 12635 | ac_fn_c_check_member "$LINENO" "krb5_error" "e_text" "ac_cv_member_krb5_error_e_text" "#include <krb5.h> | 22808 | { $as_echo "$as_me:$LINENO: checking for krb5_error.e_text" >&5 |
| 12636 | " | 22809 | $as_echo_n "checking for krb5_error.e_text... " >&6; } |
| 12637 | if test "x$ac_cv_member_krb5_error_e_text" = x""yes; then : | 22810 | if test "${ac_cv_member_krb5_error_e_text+set}" = set; then |
| 22811 | $as_echo_n "(cached) " >&6 | ||
| 22812 | else | ||
| 22813 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22814 | /* confdefs.h. */ | ||
| 22815 | _ACEOF | ||
| 22816 | cat confdefs.h >>conftest.$ac_ext | ||
| 22817 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22818 | /* end confdefs.h. */ | ||
| 22819 | #include <krb5.h> | ||
| 22820 | |||
| 22821 | int | ||
| 22822 | main () | ||
| 22823 | { | ||
| 22824 | static krb5_error ac_aggr; | ||
| 22825 | if (ac_aggr.e_text) | ||
| 22826 | return 0; | ||
| 22827 | ; | ||
| 22828 | return 0; | ||
| 22829 | } | ||
| 22830 | _ACEOF | ||
| 22831 | rm -f conftest.$ac_objext | ||
| 22832 | if { (ac_try="$ac_compile" | ||
| 22833 | case "(($ac_try" in | ||
| 22834 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22835 | *) ac_try_echo=$ac_try;; | ||
| 22836 | esac | ||
| 22837 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22838 | $as_echo "$ac_try_echo") >&5 | ||
| 22839 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22840 | ac_status=$? | ||
| 22841 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22842 | rm -f conftest.er1 | ||
| 22843 | cat conftest.err >&5 | ||
| 22844 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22845 | (exit $ac_status); } && { | ||
| 22846 | test -z "$ac_c_werror_flag" || | ||
| 22847 | test ! -s conftest.err | ||
| 22848 | } && test -s conftest.$ac_objext; then | ||
| 22849 | ac_cv_member_krb5_error_e_text=yes | ||
| 22850 | else | ||
| 22851 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22852 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22853 | |||
| 22854 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22855 | /* confdefs.h. */ | ||
| 22856 | _ACEOF | ||
| 22857 | cat confdefs.h >>conftest.$ac_ext | ||
| 22858 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22859 | /* end confdefs.h. */ | ||
| 22860 | #include <krb5.h> | ||
| 22861 | |||
| 22862 | int | ||
| 22863 | main () | ||
| 22864 | { | ||
| 22865 | static krb5_error ac_aggr; | ||
| 22866 | if (sizeof ac_aggr.e_text) | ||
| 22867 | return 0; | ||
| 22868 | ; | ||
| 22869 | return 0; | ||
| 22870 | } | ||
| 22871 | _ACEOF | ||
| 22872 | rm -f conftest.$ac_objext | ||
| 22873 | if { (ac_try="$ac_compile" | ||
| 22874 | case "(($ac_try" in | ||
| 22875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22876 | *) ac_try_echo=$ac_try;; | ||
| 22877 | esac | ||
| 22878 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22879 | $as_echo "$ac_try_echo") >&5 | ||
| 22880 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22881 | ac_status=$? | ||
| 22882 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22883 | rm -f conftest.er1 | ||
| 22884 | cat conftest.err >&5 | ||
| 22885 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22886 | (exit $ac_status); } && { | ||
| 22887 | test -z "$ac_c_werror_flag" || | ||
| 22888 | test ! -s conftest.err | ||
| 22889 | } && test -s conftest.$ac_objext; then | ||
| 22890 | ac_cv_member_krb5_error_e_text=yes | ||
| 22891 | else | ||
| 22892 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22893 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22894 | |||
| 22895 | ac_cv_member_krb5_error_e_text=no | ||
| 22896 | fi | ||
| 22897 | |||
| 22898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22899 | fi | ||
| 22900 | |||
| 22901 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22902 | fi | ||
| 22903 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_krb5_error_e_text" >&5 | ||
| 22904 | $as_echo "$ac_cv_member_krb5_error_e_text" >&6; } | ||
| 22905 | if test $ac_cv_member_krb5_error_e_text = yes; then | ||
| 12638 | 22906 | ||
| 12639 | cat >>confdefs.h <<_ACEOF | 22907 | cat >>confdefs.h <<_ACEOF |
| 12640 | #define HAVE_KRB5_ERROR_E_TEXT 1 | 22908 | #define HAVE_KRB5_ERROR_E_TEXT 1 |
| @@ -12648,30 +22916,429 @@ fi | |||
| 12648 | done | 22916 | done |
| 12649 | 22917 | ||
| 12650 | else | 22918 | else |
| 12651 | for ac_header in des.h | 22919 | |
| 12652 | do : | 22920 | for ac_header in des.h |
| 12653 | ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default" | 22921 | do |
| 12654 | if test "x$ac_cv_header_des_h" = x""yes; then : | 22922 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 22923 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22924 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 22925 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 22926 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 22927 | $as_echo_n "(cached) " >&6 | ||
| 22928 | fi | ||
| 22929 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 22930 | $as_echo "$as_val"'` | ||
| 22931 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 22932 | $as_echo "$ac_res" >&6; } | ||
| 22933 | else | ||
| 22934 | # Is the header compilable? | ||
| 22935 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 22936 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 22937 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22938 | /* confdefs.h. */ | ||
| 22939 | _ACEOF | ||
| 22940 | cat confdefs.h >>conftest.$ac_ext | ||
| 22941 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22942 | /* end confdefs.h. */ | ||
| 22943 | $ac_includes_default | ||
| 22944 | #include <$ac_header> | ||
| 22945 | _ACEOF | ||
| 22946 | rm -f conftest.$ac_objext | ||
| 22947 | if { (ac_try="$ac_compile" | ||
| 22948 | case "(($ac_try" in | ||
| 22949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22950 | *) ac_try_echo=$ac_try;; | ||
| 22951 | esac | ||
| 22952 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22953 | $as_echo "$ac_try_echo") >&5 | ||
| 22954 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22955 | ac_status=$? | ||
| 22956 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22957 | rm -f conftest.er1 | ||
| 22958 | cat conftest.err >&5 | ||
| 22959 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22960 | (exit $ac_status); } && { | ||
| 22961 | test -z "$ac_c_werror_flag" || | ||
| 22962 | test ! -s conftest.err | ||
| 22963 | } && test -s conftest.$ac_objext; then | ||
| 22964 | ac_header_compiler=yes | ||
| 22965 | else | ||
| 22966 | $as_echo "$as_me: failed program was:" >&5 | ||
| 22967 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 22968 | |||
| 22969 | ac_header_compiler=no | ||
| 22970 | fi | ||
| 22971 | |||
| 22972 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22973 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 22974 | $as_echo "$ac_header_compiler" >&6; } | ||
| 22975 | |||
| 22976 | # Is the header present? | ||
| 22977 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 22978 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 22979 | cat >conftest.$ac_ext <<_ACEOF | ||
| 22980 | /* confdefs.h. */ | ||
| 22981 | _ACEOF | ||
| 22982 | cat confdefs.h >>conftest.$ac_ext | ||
| 22983 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 22984 | /* end confdefs.h. */ | ||
| 22985 | #include <$ac_header> | ||
| 22986 | _ACEOF | ||
| 22987 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 22988 | case "(($ac_try" in | ||
| 22989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22990 | *) ac_try_echo=$ac_try;; | ||
| 22991 | esac | ||
| 22992 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 22993 | $as_echo "$ac_try_echo") >&5 | ||
| 22994 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 22995 | ac_status=$? | ||
| 22996 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 22997 | rm -f conftest.er1 | ||
| 22998 | cat conftest.err >&5 | ||
| 22999 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23000 | (exit $ac_status); } >/dev/null && { | ||
| 23001 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23002 | test ! -s conftest.err | ||
| 23003 | }; then | ||
| 23004 | ac_header_preproc=yes | ||
| 23005 | else | ||
| 23006 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23007 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23008 | |||
| 23009 | ac_header_preproc=no | ||
| 23010 | fi | ||
| 23011 | |||
| 23012 | rm -f conftest.err conftest.$ac_ext | ||
| 23013 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23014 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23015 | |||
| 23016 | # So? What about this header? | ||
| 23017 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23018 | yes:no: ) | ||
| 23019 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23020 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23021 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23022 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23023 | ac_header_preproc=yes | ||
| 23024 | ;; | ||
| 23025 | no:yes:* ) | ||
| 23026 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23027 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23028 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23029 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23030 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23031 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23032 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23033 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23034 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23035 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23036 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23037 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23038 | |||
| 23039 | ;; | ||
| 23040 | esac | ||
| 23041 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23042 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23043 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23044 | $as_echo_n "(cached) " >&6 | ||
| 23045 | else | ||
| 23046 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23047 | fi | ||
| 23048 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23049 | $as_echo "$as_val"'` | ||
| 23050 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23051 | $as_echo "$ac_res" >&6; } | ||
| 23052 | |||
| 23053 | fi | ||
| 23054 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23055 | $as_echo "$as_val"'` = yes; then | ||
| 12655 | cat >>confdefs.h <<_ACEOF | 23056 | cat >>confdefs.h <<_ACEOF |
| 12656 | #define HAVE_DES_H 1 | 23057 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23058 | _ACEOF | ||
| 23059 | |||
| 23060 | else | ||
| 23061 | |||
| 23062 | for ac_header in kerberosIV/des.h | ||
| 23063 | do | ||
| 23064 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23065 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23066 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23067 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23068 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23069 | $as_echo_n "(cached) " >&6 | ||
| 23070 | fi | ||
| 23071 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23072 | $as_echo "$as_val"'` | ||
| 23073 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23074 | $as_echo "$ac_res" >&6; } | ||
| 23075 | else | ||
| 23076 | # Is the header compilable? | ||
| 23077 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23078 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23079 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23080 | /* confdefs.h. */ | ||
| 23081 | _ACEOF | ||
| 23082 | cat confdefs.h >>conftest.$ac_ext | ||
| 23083 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23084 | /* end confdefs.h. */ | ||
| 23085 | $ac_includes_default | ||
| 23086 | #include <$ac_header> | ||
| 23087 | _ACEOF | ||
| 23088 | rm -f conftest.$ac_objext | ||
| 23089 | if { (ac_try="$ac_compile" | ||
| 23090 | case "(($ac_try" in | ||
| 23091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23092 | *) ac_try_echo=$ac_try;; | ||
| 23093 | esac | ||
| 23094 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23095 | $as_echo "$ac_try_echo") >&5 | ||
| 23096 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23097 | ac_status=$? | ||
| 23098 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23099 | rm -f conftest.er1 | ||
| 23100 | cat conftest.err >&5 | ||
| 23101 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23102 | (exit $ac_status); } && { | ||
| 23103 | test -z "$ac_c_werror_flag" || | ||
| 23104 | test ! -s conftest.err | ||
| 23105 | } && test -s conftest.$ac_objext; then | ||
| 23106 | ac_header_compiler=yes | ||
| 23107 | else | ||
| 23108 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23109 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23110 | |||
| 23111 | ac_header_compiler=no | ||
| 23112 | fi | ||
| 23113 | |||
| 23114 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23115 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23116 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23117 | |||
| 23118 | # Is the header present? | ||
| 23119 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23120 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23121 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23122 | /* confdefs.h. */ | ||
| 12657 | _ACEOF | 23123 | _ACEOF |
| 23124 | cat confdefs.h >>conftest.$ac_ext | ||
| 23125 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23126 | /* end confdefs.h. */ | ||
| 23127 | #include <$ac_header> | ||
| 23128 | _ACEOF | ||
| 23129 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23130 | case "(($ac_try" in | ||
| 23131 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23132 | *) ac_try_echo=$ac_try;; | ||
| 23133 | esac | ||
| 23134 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23135 | $as_echo "$ac_try_echo") >&5 | ||
| 23136 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23137 | ac_status=$? | ||
| 23138 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23139 | rm -f conftest.er1 | ||
| 23140 | cat conftest.err >&5 | ||
| 23141 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23142 | (exit $ac_status); } >/dev/null && { | ||
| 23143 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23144 | test ! -s conftest.err | ||
| 23145 | }; then | ||
| 23146 | ac_header_preproc=yes | ||
| 23147 | else | ||
| 23148 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23149 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23150 | |||
| 23151 | ac_header_preproc=no | ||
| 23152 | fi | ||
| 12658 | 23153 | ||
| 23154 | rm -f conftest.err conftest.$ac_ext | ||
| 23155 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23156 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23157 | |||
| 23158 | # So? What about this header? | ||
| 23159 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23160 | yes:no: ) | ||
| 23161 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23162 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23163 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23164 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23165 | ac_header_preproc=yes | ||
| 23166 | ;; | ||
| 23167 | no:yes:* ) | ||
| 23168 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23169 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23170 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23171 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23172 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23173 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23174 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23175 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23176 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23177 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23178 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23179 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23180 | |||
| 23181 | ;; | ||
| 23182 | esac | ||
| 23183 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23184 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23185 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23186 | $as_echo_n "(cached) " >&6 | ||
| 12659 | else | 23187 | else |
| 12660 | for ac_header in kerberosIV/des.h | 23188 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12661 | do : | 23189 | fi |
| 12662 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/des.h" "ac_cv_header_kerberosIV_des_h" "$ac_includes_default" | 23190 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12663 | if test "x$ac_cv_header_kerberosIV_des_h" = x""yes; then : | 23191 | $as_echo "$as_val"'` |
| 23192 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23193 | $as_echo "$ac_res" >&6; } | ||
| 23194 | |||
| 23195 | fi | ||
| 23196 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23197 | $as_echo "$as_val"'` = yes; then | ||
| 12664 | cat >>confdefs.h <<_ACEOF | 23198 | cat >>confdefs.h <<_ACEOF |
| 12665 | #define HAVE_KERBEROSIV_DES_H 1 | 23199 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 23200 | _ACEOF | ||
| 23201 | |||
| 23202 | else | ||
| 23203 | |||
| 23204 | for ac_header in kerberos/des.h | ||
| 23205 | do | ||
| 23206 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 23207 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23208 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23209 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23210 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23211 | $as_echo_n "(cached) " >&6 | ||
| 23212 | fi | ||
| 23213 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23214 | $as_echo "$as_val"'` | ||
| 23215 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23216 | $as_echo "$ac_res" >&6; } | ||
| 23217 | else | ||
| 23218 | # Is the header compilable? | ||
| 23219 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23220 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23221 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23222 | /* confdefs.h. */ | ||
| 23223 | _ACEOF | ||
| 23224 | cat confdefs.h >>conftest.$ac_ext | ||
| 23225 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23226 | /* end confdefs.h. */ | ||
| 23227 | $ac_includes_default | ||
| 23228 | #include <$ac_header> | ||
| 23229 | _ACEOF | ||
| 23230 | rm -f conftest.$ac_objext | ||
| 23231 | if { (ac_try="$ac_compile" | ||
| 23232 | case "(($ac_try" in | ||
| 23233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23234 | *) ac_try_echo=$ac_try;; | ||
| 23235 | esac | ||
| 23236 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23237 | $as_echo "$ac_try_echo") >&5 | ||
| 23238 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23239 | ac_status=$? | ||
| 23240 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23241 | rm -f conftest.er1 | ||
| 23242 | cat conftest.err >&5 | ||
| 23243 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23244 | (exit $ac_status); } && { | ||
| 23245 | test -z "$ac_c_werror_flag" || | ||
| 23246 | test ! -s conftest.err | ||
| 23247 | } && test -s conftest.$ac_objext; then | ||
| 23248 | ac_header_compiler=yes | ||
| 23249 | else | ||
| 23250 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23251 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23252 | |||
| 23253 | ac_header_compiler=no | ||
| 23254 | fi | ||
| 23255 | |||
| 23256 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23257 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23258 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23259 | |||
| 23260 | # Is the header present? | ||
| 23261 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23262 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23263 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23264 | /* confdefs.h. */ | ||
| 12666 | _ACEOF | 23265 | _ACEOF |
| 23266 | cat confdefs.h >>conftest.$ac_ext | ||
| 23267 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23268 | /* end confdefs.h. */ | ||
| 23269 | #include <$ac_header> | ||
| 23270 | _ACEOF | ||
| 23271 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23272 | case "(($ac_try" in | ||
| 23273 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23274 | *) ac_try_echo=$ac_try;; | ||
| 23275 | esac | ||
| 23276 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23277 | $as_echo "$ac_try_echo") >&5 | ||
| 23278 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23279 | ac_status=$? | ||
| 23280 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23281 | rm -f conftest.er1 | ||
| 23282 | cat conftest.err >&5 | ||
| 23283 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23284 | (exit $ac_status); } >/dev/null && { | ||
| 23285 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23286 | test ! -s conftest.err | ||
| 23287 | }; then | ||
| 23288 | ac_header_preproc=yes | ||
| 23289 | else | ||
| 23290 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23291 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23292 | |||
| 23293 | ac_header_preproc=no | ||
| 23294 | fi | ||
| 12667 | 23295 | ||
| 23296 | rm -f conftest.err conftest.$ac_ext | ||
| 23297 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23298 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23299 | |||
| 23300 | # So? What about this header? | ||
| 23301 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23302 | yes:no: ) | ||
| 23303 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23304 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23305 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23306 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23307 | ac_header_preproc=yes | ||
| 23308 | ;; | ||
| 23309 | no:yes:* ) | ||
| 23310 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23311 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23312 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23313 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23314 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23315 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23316 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23317 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23318 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23319 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23320 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23321 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23322 | |||
| 23323 | ;; | ||
| 23324 | esac | ||
| 23325 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23326 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23327 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23328 | $as_echo_n "(cached) " >&6 | ||
| 12668 | else | 23329 | else |
| 12669 | for ac_header in kerberos/des.h | 23330 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12670 | do : | 23331 | fi |
| 12671 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/des.h" "ac_cv_header_kerberos_des_h" "$ac_includes_default" | 23332 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
| 12672 | if test "x$ac_cv_header_kerberos_des_h" = x""yes; then : | 23333 | $as_echo "$as_val"'` |
| 23334 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23335 | $as_echo "$ac_res" >&6; } | ||
| 23336 | |||
| 23337 | fi | ||
| 23338 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23339 | $as_echo "$as_val"'` = yes; then | ||
| 12673 | cat >>confdefs.h <<_ACEOF | 23340 | cat >>confdefs.h <<_ACEOF |
| 12674 | #define HAVE_KERBEROS_DES_H 1 | 23341 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12675 | _ACEOF | 23342 | _ACEOF |
| 12676 | 23343 | ||
| 12677 | fi | 23344 | fi |
| @@ -12686,30 +23353,429 @@ fi | |||
| 12686 | 23353 | ||
| 12687 | done | 23354 | done |
| 12688 | 23355 | ||
| 12689 | for ac_header in krb.h | 23356 | |
| 12690 | do : | 23357 | for ac_header in krb.h |
| 12691 | ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default" | 23358 | do |
| 12692 | if test "x$ac_cv_header_krb_h" = x""yes; then : | 23359 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23360 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23361 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23362 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23363 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23364 | $as_echo_n "(cached) " >&6 | ||
| 23365 | fi | ||
| 23366 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23367 | $as_echo "$as_val"'` | ||
| 23368 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23369 | $as_echo "$ac_res" >&6; } | ||
| 23370 | else | ||
| 23371 | # Is the header compilable? | ||
| 23372 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23373 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23374 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23375 | /* confdefs.h. */ | ||
| 23376 | _ACEOF | ||
| 23377 | cat confdefs.h >>conftest.$ac_ext | ||
| 23378 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23379 | /* end confdefs.h. */ | ||
| 23380 | $ac_includes_default | ||
| 23381 | #include <$ac_header> | ||
| 23382 | _ACEOF | ||
| 23383 | rm -f conftest.$ac_objext | ||
| 23384 | if { (ac_try="$ac_compile" | ||
| 23385 | case "(($ac_try" in | ||
| 23386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23387 | *) ac_try_echo=$ac_try;; | ||
| 23388 | esac | ||
| 23389 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23390 | $as_echo "$ac_try_echo") >&5 | ||
| 23391 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23392 | ac_status=$? | ||
| 23393 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23394 | rm -f conftest.er1 | ||
| 23395 | cat conftest.err >&5 | ||
| 23396 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23397 | (exit $ac_status); } && { | ||
| 23398 | test -z "$ac_c_werror_flag" || | ||
| 23399 | test ! -s conftest.err | ||
| 23400 | } && test -s conftest.$ac_objext; then | ||
| 23401 | ac_header_compiler=yes | ||
| 23402 | else | ||
| 23403 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23404 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23405 | |||
| 23406 | ac_header_compiler=no | ||
| 23407 | fi | ||
| 23408 | |||
| 23409 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23410 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23411 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23412 | |||
| 23413 | # Is the header present? | ||
| 23414 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23415 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23416 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23417 | /* confdefs.h. */ | ||
| 23418 | _ACEOF | ||
| 23419 | cat confdefs.h >>conftest.$ac_ext | ||
| 23420 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23421 | /* end confdefs.h. */ | ||
| 23422 | #include <$ac_header> | ||
| 23423 | _ACEOF | ||
| 23424 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23425 | case "(($ac_try" in | ||
| 23426 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23427 | *) ac_try_echo=$ac_try;; | ||
| 23428 | esac | ||
| 23429 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23430 | $as_echo "$ac_try_echo") >&5 | ||
| 23431 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23432 | ac_status=$? | ||
| 23433 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23434 | rm -f conftest.er1 | ||
| 23435 | cat conftest.err >&5 | ||
| 23436 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23437 | (exit $ac_status); } >/dev/null && { | ||
| 23438 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23439 | test ! -s conftest.err | ||
| 23440 | }; then | ||
| 23441 | ac_header_preproc=yes | ||
| 23442 | else | ||
| 23443 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23444 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23445 | |||
| 23446 | ac_header_preproc=no | ||
| 23447 | fi | ||
| 23448 | |||
| 23449 | rm -f conftest.err conftest.$ac_ext | ||
| 23450 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23451 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23452 | |||
| 23453 | # So? What about this header? | ||
| 23454 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23455 | yes:no: ) | ||
| 23456 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23457 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23458 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23459 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23460 | ac_header_preproc=yes | ||
| 23461 | ;; | ||
| 23462 | no:yes:* ) | ||
| 23463 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23464 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23465 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23466 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23467 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23468 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23469 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23470 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23471 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23472 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23473 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23474 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23475 | |||
| 23476 | ;; | ||
| 23477 | esac | ||
| 23478 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23479 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23480 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23481 | $as_echo_n "(cached) " >&6 | ||
| 23482 | else | ||
| 23483 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23484 | fi | ||
| 23485 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23486 | $as_echo "$as_val"'` | ||
| 23487 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23488 | $as_echo "$ac_res" >&6; } | ||
| 23489 | |||
| 23490 | fi | ||
| 23491 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23492 | $as_echo "$as_val"'` = yes; then | ||
| 12693 | cat >>confdefs.h <<_ACEOF | 23493 | cat >>confdefs.h <<_ACEOF |
| 12694 | #define HAVE_KRB_H 1 | 23494 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12695 | _ACEOF | 23495 | _ACEOF |
| 12696 | 23496 | ||
| 12697 | else | 23497 | else |
| 12698 | for ac_header in kerberosIV/krb.h | 23498 | |
| 12699 | do : | 23499 | for ac_header in kerberosIV/krb.h |
| 12700 | ac_fn_c_check_header_mongrel "$LINENO" "kerberosIV/krb.h" "ac_cv_header_kerberosIV_krb_h" "$ac_includes_default" | 23500 | do |
| 12701 | if test "x$ac_cv_header_kerberosIV_krb_h" = x""yes; then : | 23501 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23502 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23503 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23504 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23505 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23506 | $as_echo_n "(cached) " >&6 | ||
| 23507 | fi | ||
| 23508 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23509 | $as_echo "$as_val"'` | ||
| 23510 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23511 | $as_echo "$ac_res" >&6; } | ||
| 23512 | else | ||
| 23513 | # Is the header compilable? | ||
| 23514 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23515 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23516 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23517 | /* confdefs.h. */ | ||
| 23518 | _ACEOF | ||
| 23519 | cat confdefs.h >>conftest.$ac_ext | ||
| 23520 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23521 | /* end confdefs.h. */ | ||
| 23522 | $ac_includes_default | ||
| 23523 | #include <$ac_header> | ||
| 23524 | _ACEOF | ||
| 23525 | rm -f conftest.$ac_objext | ||
| 23526 | if { (ac_try="$ac_compile" | ||
| 23527 | case "(($ac_try" in | ||
| 23528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23529 | *) ac_try_echo=$ac_try;; | ||
| 23530 | esac | ||
| 23531 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23532 | $as_echo "$ac_try_echo") >&5 | ||
| 23533 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23534 | ac_status=$? | ||
| 23535 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23536 | rm -f conftest.er1 | ||
| 23537 | cat conftest.err >&5 | ||
| 23538 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23539 | (exit $ac_status); } && { | ||
| 23540 | test -z "$ac_c_werror_flag" || | ||
| 23541 | test ! -s conftest.err | ||
| 23542 | } && test -s conftest.$ac_objext; then | ||
| 23543 | ac_header_compiler=yes | ||
| 23544 | else | ||
| 23545 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23546 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23547 | |||
| 23548 | ac_header_compiler=no | ||
| 23549 | fi | ||
| 23550 | |||
| 23551 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23552 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23553 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23554 | |||
| 23555 | # Is the header present? | ||
| 23556 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23557 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23558 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23559 | /* confdefs.h. */ | ||
| 23560 | _ACEOF | ||
| 23561 | cat confdefs.h >>conftest.$ac_ext | ||
| 23562 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23563 | /* end confdefs.h. */ | ||
| 23564 | #include <$ac_header> | ||
| 23565 | _ACEOF | ||
| 23566 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23567 | case "(($ac_try" in | ||
| 23568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23569 | *) ac_try_echo=$ac_try;; | ||
| 23570 | esac | ||
| 23571 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23572 | $as_echo "$ac_try_echo") >&5 | ||
| 23573 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23574 | ac_status=$? | ||
| 23575 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23576 | rm -f conftest.er1 | ||
| 23577 | cat conftest.err >&5 | ||
| 23578 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23579 | (exit $ac_status); } >/dev/null && { | ||
| 23580 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23581 | test ! -s conftest.err | ||
| 23582 | }; then | ||
| 23583 | ac_header_preproc=yes | ||
| 23584 | else | ||
| 23585 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23586 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23587 | |||
| 23588 | ac_header_preproc=no | ||
| 23589 | fi | ||
| 23590 | |||
| 23591 | rm -f conftest.err conftest.$ac_ext | ||
| 23592 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23593 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23594 | |||
| 23595 | # So? What about this header? | ||
| 23596 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23597 | yes:no: ) | ||
| 23598 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23599 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23600 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23601 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23602 | ac_header_preproc=yes | ||
| 23603 | ;; | ||
| 23604 | no:yes:* ) | ||
| 23605 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23606 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23607 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23608 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23609 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23610 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23611 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23612 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23613 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23614 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23615 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23616 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23617 | |||
| 23618 | ;; | ||
| 23619 | esac | ||
| 23620 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23621 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23622 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23623 | $as_echo_n "(cached) " >&6 | ||
| 23624 | else | ||
| 23625 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23626 | fi | ||
| 23627 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23628 | $as_echo "$as_val"'` | ||
| 23629 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23630 | $as_echo "$ac_res" >&6; } | ||
| 23631 | |||
| 23632 | fi | ||
| 23633 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23634 | $as_echo "$as_val"'` = yes; then | ||
| 12702 | cat >>confdefs.h <<_ACEOF | 23635 | cat >>confdefs.h <<_ACEOF |
| 12703 | #define HAVE_KERBEROSIV_KRB_H 1 | 23636 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12704 | _ACEOF | 23637 | _ACEOF |
| 12705 | 23638 | ||
| 12706 | else | 23639 | else |
| 12707 | for ac_header in kerberos/krb.h | 23640 | |
| 12708 | do : | 23641 | for ac_header in kerberos/krb.h |
| 12709 | ac_fn_c_check_header_mongrel "$LINENO" "kerberos/krb.h" "ac_cv_header_kerberos_krb_h" "$ac_includes_default" | 23642 | do |
| 12710 | if test "x$ac_cv_header_kerberos_krb_h" = x""yes; then : | 23643 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23644 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23645 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23646 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23647 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23648 | $as_echo_n "(cached) " >&6 | ||
| 23649 | fi | ||
| 23650 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23651 | $as_echo "$as_val"'` | ||
| 23652 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23653 | $as_echo "$ac_res" >&6; } | ||
| 23654 | else | ||
| 23655 | # Is the header compilable? | ||
| 23656 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23657 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23658 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23659 | /* confdefs.h. */ | ||
| 23660 | _ACEOF | ||
| 23661 | cat confdefs.h >>conftest.$ac_ext | ||
| 23662 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23663 | /* end confdefs.h. */ | ||
| 23664 | $ac_includes_default | ||
| 23665 | #include <$ac_header> | ||
| 23666 | _ACEOF | ||
| 23667 | rm -f conftest.$ac_objext | ||
| 23668 | if { (ac_try="$ac_compile" | ||
| 23669 | case "(($ac_try" in | ||
| 23670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23671 | *) ac_try_echo=$ac_try;; | ||
| 23672 | esac | ||
| 23673 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23674 | $as_echo "$ac_try_echo") >&5 | ||
| 23675 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23676 | ac_status=$? | ||
| 23677 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23678 | rm -f conftest.er1 | ||
| 23679 | cat conftest.err >&5 | ||
| 23680 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23681 | (exit $ac_status); } && { | ||
| 23682 | test -z "$ac_c_werror_flag" || | ||
| 23683 | test ! -s conftest.err | ||
| 23684 | } && test -s conftest.$ac_objext; then | ||
| 23685 | ac_header_compiler=yes | ||
| 23686 | else | ||
| 23687 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23688 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23689 | |||
| 23690 | ac_header_compiler=no | ||
| 23691 | fi | ||
| 23692 | |||
| 23693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23694 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23695 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23696 | |||
| 23697 | # Is the header present? | ||
| 23698 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23699 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23700 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23701 | /* confdefs.h. */ | ||
| 23702 | _ACEOF | ||
| 23703 | cat confdefs.h >>conftest.$ac_ext | ||
| 23704 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23705 | /* end confdefs.h. */ | ||
| 23706 | #include <$ac_header> | ||
| 23707 | _ACEOF | ||
| 23708 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23709 | case "(($ac_try" in | ||
| 23710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23711 | *) ac_try_echo=$ac_try;; | ||
| 23712 | esac | ||
| 23713 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23714 | $as_echo "$ac_try_echo") >&5 | ||
| 23715 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23716 | ac_status=$? | ||
| 23717 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23718 | rm -f conftest.er1 | ||
| 23719 | cat conftest.err >&5 | ||
| 23720 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23721 | (exit $ac_status); } >/dev/null && { | ||
| 23722 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23723 | test ! -s conftest.err | ||
| 23724 | }; then | ||
| 23725 | ac_header_preproc=yes | ||
| 23726 | else | ||
| 23727 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23728 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23729 | |||
| 23730 | ac_header_preproc=no | ||
| 23731 | fi | ||
| 23732 | |||
| 23733 | rm -f conftest.err conftest.$ac_ext | ||
| 23734 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23735 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23736 | |||
| 23737 | # So? What about this header? | ||
| 23738 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23739 | yes:no: ) | ||
| 23740 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23741 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23742 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23743 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23744 | ac_header_preproc=yes | ||
| 23745 | ;; | ||
| 23746 | no:yes:* ) | ||
| 23747 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23748 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23749 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23750 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23751 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23752 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23753 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23754 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23755 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23756 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23757 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23758 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23759 | |||
| 23760 | ;; | ||
| 23761 | esac | ||
| 23762 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23763 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23764 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23765 | $as_echo_n "(cached) " >&6 | ||
| 23766 | else | ||
| 23767 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23768 | fi | ||
| 23769 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23770 | $as_echo "$as_val"'` | ||
| 23771 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23772 | $as_echo "$ac_res" >&6; } | ||
| 23773 | |||
| 23774 | fi | ||
| 23775 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23776 | $as_echo "$as_val"'` = yes; then | ||
| 12711 | cat >>confdefs.h <<_ACEOF | 23777 | cat >>confdefs.h <<_ACEOF |
| 12712 | #define HAVE_KERBEROS_KRB_H 1 | 23778 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12713 | _ACEOF | 23779 | _ACEOF |
| 12714 | 23780 | ||
| 12715 | fi | 23781 | fi |
| @@ -12725,12 +23791,145 @@ fi | |||
| 12725 | done | 23791 | done |
| 12726 | 23792 | ||
| 12727 | fi | 23793 | fi |
| 12728 | for ac_header in com_err.h | 23794 | |
| 12729 | do : | 23795 | for ac_header in com_err.h |
| 12730 | ac_fn_c_check_header_mongrel "$LINENO" "com_err.h" "ac_cv_header_com_err_h" "$ac_includes_default" | 23796 | do |
| 12731 | if test "x$ac_cv_header_com_err_h" = x""yes; then : | 23797 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 23798 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23799 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23800 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23801 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23802 | $as_echo_n "(cached) " >&6 | ||
| 23803 | fi | ||
| 23804 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23805 | $as_echo "$as_val"'` | ||
| 23806 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23807 | $as_echo "$ac_res" >&6; } | ||
| 23808 | else | ||
| 23809 | # Is the header compilable? | ||
| 23810 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 23811 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 23812 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23813 | /* confdefs.h. */ | ||
| 23814 | _ACEOF | ||
| 23815 | cat confdefs.h >>conftest.$ac_ext | ||
| 23816 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23817 | /* end confdefs.h. */ | ||
| 23818 | $ac_includes_default | ||
| 23819 | #include <$ac_header> | ||
| 23820 | _ACEOF | ||
| 23821 | rm -f conftest.$ac_objext | ||
| 23822 | if { (ac_try="$ac_compile" | ||
| 23823 | case "(($ac_try" in | ||
| 23824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23825 | *) ac_try_echo=$ac_try;; | ||
| 23826 | esac | ||
| 23827 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23828 | $as_echo "$ac_try_echo") >&5 | ||
| 23829 | (eval "$ac_compile") 2>conftest.er1 | ||
| 23830 | ac_status=$? | ||
| 23831 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23832 | rm -f conftest.er1 | ||
| 23833 | cat conftest.err >&5 | ||
| 23834 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23835 | (exit $ac_status); } && { | ||
| 23836 | test -z "$ac_c_werror_flag" || | ||
| 23837 | test ! -s conftest.err | ||
| 23838 | } && test -s conftest.$ac_objext; then | ||
| 23839 | ac_header_compiler=yes | ||
| 23840 | else | ||
| 23841 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23842 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23843 | |||
| 23844 | ac_header_compiler=no | ||
| 23845 | fi | ||
| 23846 | |||
| 23847 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 23848 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 23849 | $as_echo "$ac_header_compiler" >&6; } | ||
| 23850 | |||
| 23851 | # Is the header present? | ||
| 23852 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 23853 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 23854 | cat >conftest.$ac_ext <<_ACEOF | ||
| 23855 | /* confdefs.h. */ | ||
| 23856 | _ACEOF | ||
| 23857 | cat confdefs.h >>conftest.$ac_ext | ||
| 23858 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 23859 | /* end confdefs.h. */ | ||
| 23860 | #include <$ac_header> | ||
| 23861 | _ACEOF | ||
| 23862 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 23863 | case "(($ac_try" in | ||
| 23864 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23865 | *) ac_try_echo=$ac_try;; | ||
| 23866 | esac | ||
| 23867 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23868 | $as_echo "$ac_try_echo") >&5 | ||
| 23869 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 23870 | ac_status=$? | ||
| 23871 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23872 | rm -f conftest.er1 | ||
| 23873 | cat conftest.err >&5 | ||
| 23874 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23875 | (exit $ac_status); } >/dev/null && { | ||
| 23876 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 23877 | test ! -s conftest.err | ||
| 23878 | }; then | ||
| 23879 | ac_header_preproc=yes | ||
| 23880 | else | ||
| 23881 | $as_echo "$as_me: failed program was:" >&5 | ||
| 23882 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 23883 | |||
| 23884 | ac_header_preproc=no | ||
| 23885 | fi | ||
| 23886 | |||
| 23887 | rm -f conftest.err conftest.$ac_ext | ||
| 23888 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 23889 | $as_echo "$ac_header_preproc" >&6; } | ||
| 23890 | |||
| 23891 | # So? What about this header? | ||
| 23892 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 23893 | yes:no: ) | ||
| 23894 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 23895 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 23896 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 23897 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 23898 | ac_header_preproc=yes | ||
| 23899 | ;; | ||
| 23900 | no:yes:* ) | ||
| 23901 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 23902 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 23903 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 23904 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 23905 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 23906 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 23907 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 23908 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 23909 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 23910 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 23911 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 23912 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 23913 | |||
| 23914 | ;; | ||
| 23915 | esac | ||
| 23916 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 23917 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 23918 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 23919 | $as_echo_n "(cached) " >&6 | ||
| 23920 | else | ||
| 23921 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 23922 | fi | ||
| 23923 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 23924 | $as_echo "$as_val"'` | ||
| 23925 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 23926 | $as_echo "$ac_res" >&6; } | ||
| 23927 | |||
| 23928 | fi | ||
| 23929 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 23930 | $as_echo "$as_val"'` = yes; then | ||
| 12732 | cat >>confdefs.h <<_ACEOF | 23931 | cat >>confdefs.h <<_ACEOF |
| 12733 | #define HAVE_COM_ERR_H 1 | 23932 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12734 | _ACEOF | 23933 | _ACEOF |
| 12735 | 23934 | ||
| 12736 | fi | 23935 | fi |
| @@ -12747,14 +23946,19 @@ fi | |||
| 12747 | 23946 | ||
| 12748 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 23947 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 12749 | # to return localized messages. | 23948 | # to return localized messages. |
| 12750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 | 23949 | |
| 23950 | { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | ||
| 12751 | $as_echo_n "checking for dgettext in -lintl... " >&6; } | 23951 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
| 12752 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then : | 23952 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
| 12753 | $as_echo_n "(cached) " >&6 | 23953 | $as_echo_n "(cached) " >&6 |
| 12754 | else | 23954 | else |
| 12755 | ac_check_lib_save_LIBS=$LIBS | 23955 | ac_check_lib_save_LIBS=$LIBS |
| 12756 | LIBS="-lintl $LIBS" | 23956 | LIBS="-lintl $LIBS" |
| 12757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23957 | cat >conftest.$ac_ext <<_ACEOF |
| 23958 | /* confdefs.h. */ | ||
| 23959 | _ACEOF | ||
| 23960 | cat confdefs.h >>conftest.$ac_ext | ||
| 23961 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12758 | /* end confdefs.h. */ | 23962 | /* end confdefs.h. */ |
| 12759 | 23963 | ||
| 12760 | /* Override any GCC internal prototype to avoid an error. | 23964 | /* Override any GCC internal prototype to avoid an error. |
| @@ -12772,18 +23976,43 @@ return dgettext (); | |||
| 12772 | return 0; | 23976 | return 0; |
| 12773 | } | 23977 | } |
| 12774 | _ACEOF | 23978 | _ACEOF |
| 12775 | if ac_fn_c_try_link "$LINENO"; then : | 23979 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 23980 | if { (ac_try="$ac_link" | ||
| 23981 | case "(($ac_try" in | ||
| 23982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 23983 | *) ac_try_echo=$ac_try;; | ||
| 23984 | esac | ||
| 23985 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 23986 | $as_echo "$ac_try_echo") >&5 | ||
| 23987 | (eval "$ac_link") 2>conftest.er1 | ||
| 23988 | ac_status=$? | ||
| 23989 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 23990 | rm -f conftest.er1 | ||
| 23991 | cat conftest.err >&5 | ||
| 23992 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 23993 | (exit $ac_status); } && { | ||
| 23994 | test -z "$ac_c_werror_flag" || | ||
| 23995 | test ! -s conftest.err | ||
| 23996 | } && test -s conftest$ac_exeext && { | ||
| 23997 | test "$cross_compiling" = yes || | ||
| 23998 | $as_test_x conftest$ac_exeext | ||
| 23999 | }; then | ||
| 12776 | ac_cv_lib_intl_dgettext=yes | 24000 | ac_cv_lib_intl_dgettext=yes |
| 12777 | else | 24001 | else |
| 12778 | ac_cv_lib_intl_dgettext=no | 24002 | $as_echo "$as_me: failed program was:" >&5 |
| 24003 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24004 | |||
| 24005 | ac_cv_lib_intl_dgettext=no | ||
| 12779 | fi | 24006 | fi |
| 12780 | rm -f core conftest.err conftest.$ac_objext \ | 24007 | |
| 12781 | conftest$ac_exeext conftest.$ac_ext | 24008 | rm -rf conftest.dSYM |
| 24009 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24010 | conftest$ac_exeext conftest.$ac_ext | ||
| 12782 | LIBS=$ac_check_lib_save_LIBS | 24011 | LIBS=$ac_check_lib_save_LIBS |
| 12783 | fi | 24012 | fi |
| 12784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 | 24013 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
| 12785 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } | 24014 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
| 12786 | if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : | 24015 | if test $ac_cv_lib_intl_dgettext = yes; then |
| 12787 | cat >>confdefs.h <<_ACEOF | 24016 | cat >>confdefs.h <<_ACEOF |
| 12788 | #define HAVE_LIBINTL 1 | 24017 | #define HAVE_LIBINTL 1 |
| 12789 | _ACEOF | 24018 | _ACEOF |
| @@ -12793,17 +24022,21 @@ _ACEOF | |||
| 12793 | fi | 24022 | fi |
| 12794 | 24023 | ||
| 12795 | 24024 | ||
| 12796 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 | 24025 | { $as_echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
| 12797 | $as_echo_n "checking whether localtime caches TZ... " >&6; } | 24026 | $as_echo_n "checking whether localtime caches TZ... " >&6; } |
| 12798 | if test "${emacs_cv_localtime_cache+set}" = set; then : | 24027 | if test "${emacs_cv_localtime_cache+set}" = set; then |
| 12799 | $as_echo_n "(cached) " >&6 | 24028 | $as_echo_n "(cached) " >&6 |
| 12800 | else | 24029 | else |
| 12801 | if test x$ac_cv_func_tzset = xyes; then | 24030 | if test x$ac_cv_func_tzset = xyes; then |
| 12802 | if test "$cross_compiling" = yes; then : | 24031 | if test "$cross_compiling" = yes; then |
| 12803 | # If we have tzset, assume the worst when cross-compiling. | 24032 | # If we have tzset, assume the worst when cross-compiling. |
| 12804 | emacs_cv_localtime_cache=yes | 24033 | emacs_cv_localtime_cache=yes |
| 12805 | else | 24034 | else |
| 12806 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24035 | cat >conftest.$ac_ext <<_ACEOF |
| 24036 | /* confdefs.h. */ | ||
| 24037 | _ACEOF | ||
| 24038 | cat confdefs.h >>conftest.$ac_ext | ||
| 24039 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12807 | /* end confdefs.h. */ | 24040 | /* end confdefs.h. */ |
| 12808 | #include <time.h> | 24041 | #include <time.h> |
| 12809 | extern char **environ; | 24042 | extern char **environ; |
| @@ -12835,48 +24068,170 @@ main() | |||
| 12835 | exit (0); | 24068 | exit (0); |
| 12836 | } | 24069 | } |
| 12837 | _ACEOF | 24070 | _ACEOF |
| 12838 | if ac_fn_c_try_run "$LINENO"; then : | 24071 | rm -f conftest$ac_exeext |
| 24072 | if { (ac_try="$ac_link" | ||
| 24073 | case "(($ac_try" in | ||
| 24074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24075 | *) ac_try_echo=$ac_try;; | ||
| 24076 | esac | ||
| 24077 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24078 | $as_echo "$ac_try_echo") >&5 | ||
| 24079 | (eval "$ac_link") 2>&5 | ||
| 24080 | ac_status=$? | ||
| 24081 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24082 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 24083 | { (case "(($ac_try" in | ||
| 24084 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24085 | *) ac_try_echo=$ac_try;; | ||
| 24086 | esac | ||
| 24087 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24088 | $as_echo "$ac_try_echo") >&5 | ||
| 24089 | (eval "$ac_try") 2>&5 | ||
| 24090 | ac_status=$? | ||
| 24091 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24092 | (exit $ac_status); }; }; then | ||
| 12839 | emacs_cv_localtime_cache=no | 24093 | emacs_cv_localtime_cache=no |
| 12840 | else | 24094 | else |
| 12841 | emacs_cv_localtime_cache=yes | 24095 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 24096 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24097 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24098 | |||
| 24099 | ( exit $ac_status ) | ||
| 24100 | emacs_cv_localtime_cache=yes | ||
| 12842 | fi | 24101 | fi |
| 12843 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 24102 | rm -rf conftest.dSYM |
| 12844 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 24103 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 12845 | fi | 24104 | fi |
| 12846 | 24105 | ||
| 24106 | |||
| 12847 | else | 24107 | else |
| 12848 | # If we lack tzset, report that localtime does not cache TZ, | 24108 | # If we lack tzset, report that localtime does not cache TZ, |
| 12849 | # since we can't invalidate the cache if we don't have tzset. | 24109 | # since we can't invalidate the cache if we don't have tzset. |
| 12850 | emacs_cv_localtime_cache=no | 24110 | emacs_cv_localtime_cache=no |
| 12851 | fi | 24111 | fi |
| 12852 | fi | 24112 | fi |
| 12853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_localtime_cache" >&5 | 24113 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
| 12854 | $as_echo "$emacs_cv_localtime_cache" >&6; } | 24114 | $as_echo "$emacs_cv_localtime_cache" >&6; } |
| 12855 | if test $emacs_cv_localtime_cache = yes; then | 24115 | if test $emacs_cv_localtime_cache = yes; then |
| 12856 | 24116 | ||
| 12857 | $as_echo "#define LOCALTIME_CACHE 1" >>confdefs.h | 24117 | cat >>confdefs.h <<\_ACEOF |
| 24118 | #define LOCALTIME_CACHE 1 | ||
| 24119 | _ACEOF | ||
| 12858 | 24120 | ||
| 12859 | fi | 24121 | fi |
| 12860 | 24122 | ||
| 12861 | if test "x$HAVE_TIMEVAL" = xyes; then | 24123 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 12862 | for ac_func in gettimeofday | 24124 | |
| 12863 | do : | 24125 | for ac_func in gettimeofday |
| 12864 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" | 24126 | do |
| 12865 | if test "x$ac_cv_func_gettimeofday" = x""yes; then : | 24127 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 24128 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 24129 | $as_echo_n "checking for $ac_func... " >&6; } | ||
| 24130 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24131 | $as_echo_n "(cached) " >&6 | ||
| 24132 | else | ||
| 24133 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24134 | /* confdefs.h. */ | ||
| 24135 | _ACEOF | ||
| 24136 | cat confdefs.h >>conftest.$ac_ext | ||
| 24137 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24138 | /* end confdefs.h. */ | ||
| 24139 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 24140 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24141 | #define $ac_func innocuous_$ac_func | ||
| 24142 | |||
| 24143 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24144 | which can conflict with char $ac_func (); below. | ||
| 24145 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24146 | <limits.h> exists even on freestanding compilers. */ | ||
| 24147 | |||
| 24148 | #ifdef __STDC__ | ||
| 24149 | # include <limits.h> | ||
| 24150 | #else | ||
| 24151 | # include <assert.h> | ||
| 24152 | #endif | ||
| 24153 | |||
| 24154 | #undef $ac_func | ||
| 24155 | |||
| 24156 | /* Override any GCC internal prototype to avoid an error. | ||
| 24157 | Use char because int might match the return type of a GCC | ||
| 24158 | builtin and then its argument prototype would still apply. */ | ||
| 24159 | #ifdef __cplusplus | ||
| 24160 | extern "C" | ||
| 24161 | #endif | ||
| 24162 | char $ac_func (); | ||
| 24163 | /* The GNU C library defines this for functions which it implements | ||
| 24164 | to always fail with ENOSYS. Some functions are actually named | ||
| 24165 | something starting with __ and the normal name is an alias. */ | ||
| 24166 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 24167 | choke me | ||
| 24168 | #endif | ||
| 24169 | |||
| 24170 | int | ||
| 24171 | main () | ||
| 24172 | { | ||
| 24173 | return $ac_func (); | ||
| 24174 | ; | ||
| 24175 | return 0; | ||
| 24176 | } | ||
| 24177 | _ACEOF | ||
| 24178 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24179 | if { (ac_try="$ac_link" | ||
| 24180 | case "(($ac_try" in | ||
| 24181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24182 | *) ac_try_echo=$ac_try;; | ||
| 24183 | esac | ||
| 24184 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24185 | $as_echo "$ac_try_echo") >&5 | ||
| 24186 | (eval "$ac_link") 2>conftest.er1 | ||
| 24187 | ac_status=$? | ||
| 24188 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24189 | rm -f conftest.er1 | ||
| 24190 | cat conftest.err >&5 | ||
| 24191 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24192 | (exit $ac_status); } && { | ||
| 24193 | test -z "$ac_c_werror_flag" || | ||
| 24194 | test ! -s conftest.err | ||
| 24195 | } && test -s conftest$ac_exeext && { | ||
| 24196 | test "$cross_compiling" = yes || | ||
| 24197 | $as_test_x conftest$ac_exeext | ||
| 24198 | }; then | ||
| 24199 | eval "$as_ac_var=yes" | ||
| 24200 | else | ||
| 24201 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24202 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24203 | |||
| 24204 | eval "$as_ac_var=no" | ||
| 24205 | fi | ||
| 24206 | |||
| 24207 | rm -rf conftest.dSYM | ||
| 24208 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24209 | conftest$ac_exeext conftest.$ac_ext | ||
| 24210 | fi | ||
| 24211 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 24212 | $as_echo "$as_val"'` | ||
| 24213 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24214 | $as_echo "$ac_res" >&6; } | ||
| 24215 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 24216 | $as_echo "$as_val"'` = yes; then | ||
| 12866 | cat >>confdefs.h <<_ACEOF | 24217 | cat >>confdefs.h <<_ACEOF |
| 12867 | #define HAVE_GETTIMEOFDAY 1 | 24218 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12868 | _ACEOF | 24219 | _ACEOF |
| 12869 | 24220 | ||
| 12870 | fi | 24221 | fi |
| 12871 | done | 24222 | done |
| 12872 | 24223 | ||
| 12873 | if test $ac_cv_func_gettimeofday = yes; then | 24224 | if test $ac_cv_func_gettimeofday = yes; then |
| 12874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday can accept two arguments" >&5 | 24225 | { $as_echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
| 12875 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } | 24226 | $as_echo_n "checking whether gettimeofday can accept two arguments... " >&6; } |
| 12876 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then : | 24227 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
| 12877 | $as_echo_n "(cached) " >&6 | 24228 | $as_echo_n "(cached) " >&6 |
| 12878 | else | 24229 | else |
| 12879 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 24230 | cat >conftest.$ac_ext <<_ACEOF |
| 24231 | /* confdefs.h. */ | ||
| 24232 | _ACEOF | ||
| 24233 | cat confdefs.h >>conftest.$ac_ext | ||
| 24234 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 12880 | /* end confdefs.h. */ | 24235 | /* end confdefs.h. */ |
| 12881 | 24236 | ||
| 12882 | #ifdef TIME_WITH_SYS_TIME | 24237 | #ifdef TIME_WITH_SYS_TIME |
| @@ -12898,35 +24253,268 @@ struct timeval time; | |||
| 12898 | return 0; | 24253 | return 0; |
| 12899 | } | 24254 | } |
| 12900 | _ACEOF | 24255 | _ACEOF |
| 12901 | if ac_fn_c_try_compile "$LINENO"; then : | 24256 | rm -f conftest.$ac_objext |
| 24257 | if { (ac_try="$ac_compile" | ||
| 24258 | case "(($ac_try" in | ||
| 24259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24260 | *) ac_try_echo=$ac_try;; | ||
| 24261 | esac | ||
| 24262 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24263 | $as_echo "$ac_try_echo") >&5 | ||
| 24264 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24265 | ac_status=$? | ||
| 24266 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24267 | rm -f conftest.er1 | ||
| 24268 | cat conftest.err >&5 | ||
| 24269 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24270 | (exit $ac_status); } && { | ||
| 24271 | test -z "$ac_c_werror_flag" || | ||
| 24272 | test ! -s conftest.err | ||
| 24273 | } && test -s conftest.$ac_objext; then | ||
| 12902 | emacs_cv_gettimeofday_two_arguments=yes | 24274 | emacs_cv_gettimeofday_two_arguments=yes |
| 12903 | else | 24275 | else |
| 12904 | emacs_cv_gettimeofday_two_arguments=no | 24276 | $as_echo "$as_me: failed program was:" >&5 |
| 24277 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24278 | |||
| 24279 | emacs_cv_gettimeofday_two_arguments=no | ||
| 12905 | fi | 24280 | fi |
| 24281 | |||
| 12906 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24282 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12907 | fi | 24283 | fi |
| 12908 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24284 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 12909 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } | 24285 | $as_echo "$emacs_cv_gettimeofday_two_arguments" >&6; } |
| 12910 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 24286 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 12911 | 24287 | ||
| 12912 | $as_echo "#define GETTIMEOFDAY_ONE_ARGUMENT 1" >>confdefs.h | 24288 | cat >>confdefs.h <<\_ACEOF |
| 24289 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 | ||
| 24290 | _ACEOF | ||
| 12913 | 24291 | ||
| 12914 | fi | 24292 | fi |
| 12915 | fi | 24293 | fi |
| 12916 | fi | 24294 | fi |
| 12917 | 24295 | ||
| 12918 | ok_so_far=yes | 24296 | ok_so_far=yes |
| 12919 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" | 24297 | { $as_echo "$as_me:$LINENO: checking for socket" >&5 |
| 12920 | if test "x$ac_cv_func_socket" = x""yes; then : | 24298 | $as_echo_n "checking for socket... " >&6; } |
| 24299 | if test "${ac_cv_func_socket+set}" = set; then | ||
| 24300 | $as_echo_n "(cached) " >&6 | ||
| 24301 | else | ||
| 24302 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24303 | /* confdefs.h. */ | ||
| 24304 | _ACEOF | ||
| 24305 | cat confdefs.h >>conftest.$ac_ext | ||
| 24306 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24307 | /* end confdefs.h. */ | ||
| 24308 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. | ||
| 24309 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 24310 | #define socket innocuous_socket | ||
| 24311 | |||
| 24312 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 24313 | which can conflict with char socket (); below. | ||
| 24314 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 24315 | <limits.h> exists even on freestanding compilers. */ | ||
| 24316 | |||
| 24317 | #ifdef __STDC__ | ||
| 24318 | # include <limits.h> | ||
| 24319 | #else | ||
| 24320 | # include <assert.h> | ||
| 24321 | #endif | ||
| 24322 | |||
| 24323 | #undef socket | ||
| 24324 | |||
| 24325 | /* Override any GCC internal prototype to avoid an error. | ||
| 24326 | Use char because int might match the return type of a GCC | ||
| 24327 | builtin and then its argument prototype would still apply. */ | ||
| 24328 | #ifdef __cplusplus | ||
| 24329 | extern "C" | ||
| 24330 | #endif | ||
| 24331 | char socket (); | ||
| 24332 | /* The GNU C library defines this for functions which it implements | ||
| 24333 | to always fail with ENOSYS. Some functions are actually named | ||
| 24334 | something starting with __ and the normal name is an alias. */ | ||
| 24335 | #if defined __stub_socket || defined __stub___socket | ||
| 24336 | choke me | ||
| 24337 | #endif | ||
| 24338 | |||
| 24339 | int | ||
| 24340 | main () | ||
| 24341 | { | ||
| 24342 | return socket (); | ||
| 24343 | ; | ||
| 24344 | return 0; | ||
| 24345 | } | ||
| 24346 | _ACEOF | ||
| 24347 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 24348 | if { (ac_try="$ac_link" | ||
| 24349 | case "(($ac_try" in | ||
| 24350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24351 | *) ac_try_echo=$ac_try;; | ||
| 24352 | esac | ||
| 24353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24354 | $as_echo "$ac_try_echo") >&5 | ||
| 24355 | (eval "$ac_link") 2>conftest.er1 | ||
| 24356 | ac_status=$? | ||
| 24357 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24358 | rm -f conftest.er1 | ||
| 24359 | cat conftest.err >&5 | ||
| 24360 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24361 | (exit $ac_status); } && { | ||
| 24362 | test -z "$ac_c_werror_flag" || | ||
| 24363 | test ! -s conftest.err | ||
| 24364 | } && test -s conftest$ac_exeext && { | ||
| 24365 | test "$cross_compiling" = yes || | ||
| 24366 | $as_test_x conftest$ac_exeext | ||
| 24367 | }; then | ||
| 24368 | ac_cv_func_socket=yes | ||
| 24369 | else | ||
| 24370 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24371 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24372 | |||
| 24373 | ac_cv_func_socket=no | ||
| 24374 | fi | ||
| 12921 | 24375 | ||
| 24376 | rm -rf conftest.dSYM | ||
| 24377 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 24378 | conftest$ac_exeext conftest.$ac_ext | ||
| 24379 | fi | ||
| 24380 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | ||
| 24381 | $as_echo "$ac_cv_func_socket" >&6; } | ||
| 24382 | if test $ac_cv_func_socket = yes; then | ||
| 24383 | : | ||
| 12922 | else | 24384 | else |
| 12923 | ok_so_far=no | 24385 | ok_so_far=no |
| 12924 | fi | 24386 | fi |
| 12925 | 24387 | ||
| 12926 | if test $ok_so_far = yes; then | 24388 | if test $ok_so_far = yes; then |
| 12927 | ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" | 24389 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 12928 | if test "x$ac_cv_header_netinet_in_h" = x""yes; then : | 24390 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
| 24391 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24392 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24393 | $as_echo_n "(cached) " >&6 | ||
| 24394 | fi | ||
| 24395 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24396 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 24397 | else | ||
| 24398 | # Is the header compilable? | ||
| 24399 | { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | ||
| 24400 | $as_echo_n "checking netinet/in.h usability... " >&6; } | ||
| 24401 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24402 | /* confdefs.h. */ | ||
| 24403 | _ACEOF | ||
| 24404 | cat confdefs.h >>conftest.$ac_ext | ||
| 24405 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24406 | /* end confdefs.h. */ | ||
| 24407 | $ac_includes_default | ||
| 24408 | #include <netinet/in.h> | ||
| 24409 | _ACEOF | ||
| 24410 | rm -f conftest.$ac_objext | ||
| 24411 | if { (ac_try="$ac_compile" | ||
| 24412 | case "(($ac_try" in | ||
| 24413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24414 | *) ac_try_echo=$ac_try;; | ||
| 24415 | esac | ||
| 24416 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24417 | $as_echo "$ac_try_echo") >&5 | ||
| 24418 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24419 | ac_status=$? | ||
| 24420 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24421 | rm -f conftest.er1 | ||
| 24422 | cat conftest.err >&5 | ||
| 24423 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24424 | (exit $ac_status); } && { | ||
| 24425 | test -z "$ac_c_werror_flag" || | ||
| 24426 | test ! -s conftest.err | ||
| 24427 | } && test -s conftest.$ac_objext; then | ||
| 24428 | ac_header_compiler=yes | ||
| 24429 | else | ||
| 24430 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24431 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24432 | |||
| 24433 | ac_header_compiler=no | ||
| 24434 | fi | ||
| 24435 | |||
| 24436 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24437 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24438 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24439 | |||
| 24440 | # Is the header present? | ||
| 24441 | { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | ||
| 24442 | $as_echo_n "checking netinet/in.h presence... " >&6; } | ||
| 24443 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24444 | /* confdefs.h. */ | ||
| 24445 | _ACEOF | ||
| 24446 | cat confdefs.h >>conftest.$ac_ext | ||
| 24447 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24448 | /* end confdefs.h. */ | ||
| 24449 | #include <netinet/in.h> | ||
| 24450 | _ACEOF | ||
| 24451 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24452 | case "(($ac_try" in | ||
| 24453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24454 | *) ac_try_echo=$ac_try;; | ||
| 24455 | esac | ||
| 24456 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24457 | $as_echo "$ac_try_echo") >&5 | ||
| 24458 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24459 | ac_status=$? | ||
| 24460 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24461 | rm -f conftest.er1 | ||
| 24462 | cat conftest.err >&5 | ||
| 24463 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24464 | (exit $ac_status); } >/dev/null && { | ||
| 24465 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24466 | test ! -s conftest.err | ||
| 24467 | }; then | ||
| 24468 | ac_header_preproc=yes | ||
| 24469 | else | ||
| 24470 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24471 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24472 | |||
| 24473 | ac_header_preproc=no | ||
| 24474 | fi | ||
| 24475 | |||
| 24476 | rm -f conftest.err conftest.$ac_ext | ||
| 24477 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24478 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24479 | |||
| 24480 | # So? What about this header? | ||
| 24481 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24482 | yes:no: ) | ||
| 24483 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24484 | $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24485 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 | ||
| 24486 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} | ||
| 24487 | ac_header_preproc=yes | ||
| 24488 | ;; | ||
| 24489 | no:yes:* ) | ||
| 24490 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 | ||
| 24491 | $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} | ||
| 24492 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 | ||
| 24493 | $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} | ||
| 24494 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 | ||
| 24495 | $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} | ||
| 24496 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24497 | $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24498 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | ||
| 24499 | $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | ||
| 24500 | { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | ||
| 24501 | $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | ||
| 24502 | |||
| 24503 | ;; | ||
| 24504 | esac | ||
| 24505 | { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | ||
| 24506 | $as_echo_n "checking for netinet/in.h... " >&6; } | ||
| 24507 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | ||
| 24508 | $as_echo_n "(cached) " >&6 | ||
| 24509 | else | ||
| 24510 | ac_cv_header_netinet_in_h=$ac_header_preproc | ||
| 24511 | fi | ||
| 24512 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | ||
| 24513 | $as_echo "$ac_cv_header_netinet_in_h" >&6; } | ||
| 12929 | 24514 | ||
| 24515 | fi | ||
| 24516 | if test $ac_cv_header_netinet_in_h = yes; then | ||
| 24517 | : | ||
| 12930 | else | 24518 | else |
| 12931 | ok_so_far=no | 24519 | ok_so_far=no |
| 12932 | fi | 24520 | fi |
| @@ -12934,9 +24522,135 @@ fi | |||
| 12934 | 24522 | ||
| 12935 | fi | 24523 | fi |
| 12936 | if test $ok_so_far = yes; then | 24524 | if test $ok_so_far = yes; then |
| 12937 | ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" | 24525 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 12938 | if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : | 24526 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
| 24527 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24528 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24529 | $as_echo_n "(cached) " >&6 | ||
| 24530 | fi | ||
| 24531 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24532 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 24533 | else | ||
| 24534 | # Is the header compilable? | ||
| 24535 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | ||
| 24536 | $as_echo_n "checking arpa/inet.h usability... " >&6; } | ||
| 24537 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24538 | /* confdefs.h. */ | ||
| 24539 | _ACEOF | ||
| 24540 | cat confdefs.h >>conftest.$ac_ext | ||
| 24541 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24542 | /* end confdefs.h. */ | ||
| 24543 | $ac_includes_default | ||
| 24544 | #include <arpa/inet.h> | ||
| 24545 | _ACEOF | ||
| 24546 | rm -f conftest.$ac_objext | ||
| 24547 | if { (ac_try="$ac_compile" | ||
| 24548 | case "(($ac_try" in | ||
| 24549 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24550 | *) ac_try_echo=$ac_try;; | ||
| 24551 | esac | ||
| 24552 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24553 | $as_echo "$ac_try_echo") >&5 | ||
| 24554 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24555 | ac_status=$? | ||
| 24556 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24557 | rm -f conftest.er1 | ||
| 24558 | cat conftest.err >&5 | ||
| 24559 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24560 | (exit $ac_status); } && { | ||
| 24561 | test -z "$ac_c_werror_flag" || | ||
| 24562 | test ! -s conftest.err | ||
| 24563 | } && test -s conftest.$ac_objext; then | ||
| 24564 | ac_header_compiler=yes | ||
| 24565 | else | ||
| 24566 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24567 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24568 | |||
| 24569 | ac_header_compiler=no | ||
| 24570 | fi | ||
| 24571 | |||
| 24572 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24573 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24574 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24575 | |||
| 24576 | # Is the header present? | ||
| 24577 | { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | ||
| 24578 | $as_echo_n "checking arpa/inet.h presence... " >&6; } | ||
| 24579 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24580 | /* confdefs.h. */ | ||
| 24581 | _ACEOF | ||
| 24582 | cat confdefs.h >>conftest.$ac_ext | ||
| 24583 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24584 | /* end confdefs.h. */ | ||
| 24585 | #include <arpa/inet.h> | ||
| 24586 | _ACEOF | ||
| 24587 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24588 | case "(($ac_try" in | ||
| 24589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24590 | *) ac_try_echo=$ac_try;; | ||
| 24591 | esac | ||
| 24592 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24593 | $as_echo "$ac_try_echo") >&5 | ||
| 24594 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24595 | ac_status=$? | ||
| 24596 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24597 | rm -f conftest.er1 | ||
| 24598 | cat conftest.err >&5 | ||
| 24599 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24600 | (exit $ac_status); } >/dev/null && { | ||
| 24601 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24602 | test ! -s conftest.err | ||
| 24603 | }; then | ||
| 24604 | ac_header_preproc=yes | ||
| 24605 | else | ||
| 24606 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24607 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24608 | |||
| 24609 | ac_header_preproc=no | ||
| 24610 | fi | ||
| 24611 | |||
| 24612 | rm -f conftest.err conftest.$ac_ext | ||
| 24613 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24614 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24615 | |||
| 24616 | # So? What about this header? | ||
| 24617 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24618 | yes:no: ) | ||
| 24619 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24620 | $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24621 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 | ||
| 24622 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} | ||
| 24623 | ac_header_preproc=yes | ||
| 24624 | ;; | ||
| 24625 | no:yes:* ) | ||
| 24626 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 | ||
| 24627 | $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} | ||
| 24628 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 | ||
| 24629 | $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} | ||
| 24630 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 | ||
| 24631 | $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} | ||
| 24632 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24633 | $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24634 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | ||
| 24635 | $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | ||
| 24636 | { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | ||
| 24637 | $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | ||
| 24638 | |||
| 24639 | ;; | ||
| 24640 | esac | ||
| 24641 | { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | ||
| 24642 | $as_echo_n "checking for arpa/inet.h... " >&6; } | ||
| 24643 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | ||
| 24644 | $as_echo_n "(cached) " >&6 | ||
| 24645 | else | ||
| 24646 | ac_cv_header_arpa_inet_h=$ac_header_preproc | ||
| 24647 | fi | ||
| 24648 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | ||
| 24649 | $as_echo "$ac_cv_header_arpa_inet_h" >&6; } | ||
| 12939 | 24650 | ||
| 24651 | fi | ||
| 24652 | if test $ac_cv_header_arpa_inet_h = yes; then | ||
| 24653 | : | ||
| 12940 | else | 24654 | else |
| 12941 | ok_so_far=no | 24655 | ok_so_far=no |
| 12942 | fi | 24656 | fi |
| @@ -12945,16 +24659,151 @@ fi | |||
| 12945 | fi | 24659 | fi |
| 12946 | if test $ok_so_far = yes; then | 24660 | if test $ok_so_far = yes; then |
| 12947 | 24661 | ||
| 12948 | $as_echo "#define HAVE_INET_SOCKETS 1" >>confdefs.h | 24662 | cat >>confdefs.h <<\_ACEOF |
| 24663 | #define HAVE_INET_SOCKETS 1 | ||
| 24664 | _ACEOF | ||
| 12949 | 24665 | ||
| 12950 | fi | 24666 | fi |
| 12951 | 24667 | ||
| 24668 | |||
| 12952 | for ac_header in sys/ioctl.h | 24669 | for ac_header in sys/ioctl.h |
| 12953 | do : | 24670 | do |
| 12954 | ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" | 24671 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12955 | if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : | 24672 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 24673 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24674 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24675 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24676 | $as_echo_n "(cached) " >&6 | ||
| 24677 | fi | ||
| 24678 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24679 | $as_echo "$as_val"'` | ||
| 24680 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24681 | $as_echo "$ac_res" >&6; } | ||
| 24682 | else | ||
| 24683 | # Is the header compilable? | ||
| 24684 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24685 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24686 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24687 | /* confdefs.h. */ | ||
| 24688 | _ACEOF | ||
| 24689 | cat confdefs.h >>conftest.$ac_ext | ||
| 24690 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24691 | /* end confdefs.h. */ | ||
| 24692 | $ac_includes_default | ||
| 24693 | #include <$ac_header> | ||
| 24694 | _ACEOF | ||
| 24695 | rm -f conftest.$ac_objext | ||
| 24696 | if { (ac_try="$ac_compile" | ||
| 24697 | case "(($ac_try" in | ||
| 24698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24699 | *) ac_try_echo=$ac_try;; | ||
| 24700 | esac | ||
| 24701 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24702 | $as_echo "$ac_try_echo") >&5 | ||
| 24703 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24704 | ac_status=$? | ||
| 24705 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24706 | rm -f conftest.er1 | ||
| 24707 | cat conftest.err >&5 | ||
| 24708 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24709 | (exit $ac_status); } && { | ||
| 24710 | test -z "$ac_c_werror_flag" || | ||
| 24711 | test ! -s conftest.err | ||
| 24712 | } && test -s conftest.$ac_objext; then | ||
| 24713 | ac_header_compiler=yes | ||
| 24714 | else | ||
| 24715 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24716 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24717 | |||
| 24718 | ac_header_compiler=no | ||
| 24719 | fi | ||
| 24720 | |||
| 24721 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24722 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24723 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24724 | |||
| 24725 | # Is the header present? | ||
| 24726 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 24727 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 24728 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24729 | /* confdefs.h. */ | ||
| 24730 | _ACEOF | ||
| 24731 | cat confdefs.h >>conftest.$ac_ext | ||
| 24732 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24733 | /* end confdefs.h. */ | ||
| 24734 | #include <$ac_header> | ||
| 24735 | _ACEOF | ||
| 24736 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 24737 | case "(($ac_try" in | ||
| 24738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24739 | *) ac_try_echo=$ac_try;; | ||
| 24740 | esac | ||
| 24741 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24742 | $as_echo "$ac_try_echo") >&5 | ||
| 24743 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 24744 | ac_status=$? | ||
| 24745 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24746 | rm -f conftest.er1 | ||
| 24747 | cat conftest.err >&5 | ||
| 24748 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24749 | (exit $ac_status); } >/dev/null && { | ||
| 24750 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 24751 | test ! -s conftest.err | ||
| 24752 | }; then | ||
| 24753 | ac_header_preproc=yes | ||
| 24754 | else | ||
| 24755 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24756 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24757 | |||
| 24758 | ac_header_preproc=no | ||
| 24759 | fi | ||
| 24760 | |||
| 24761 | rm -f conftest.err conftest.$ac_ext | ||
| 24762 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 24763 | $as_echo "$ac_header_preproc" >&6; } | ||
| 24764 | |||
| 24765 | # So? What about this header? | ||
| 24766 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 24767 | yes:no: ) | ||
| 24768 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 24769 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 24770 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 24771 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 24772 | ac_header_preproc=yes | ||
| 24773 | ;; | ||
| 24774 | no:yes:* ) | ||
| 24775 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 24776 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 24777 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 24778 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 24779 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 24780 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 24781 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 24782 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 24783 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 24784 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 24785 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 24786 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 24787 | |||
| 24788 | ;; | ||
| 24789 | esac | ||
| 24790 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24791 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24792 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24793 | $as_echo_n "(cached) " >&6 | ||
| 24794 | else | ||
| 24795 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 24796 | fi | ||
| 24797 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24798 | $as_echo "$as_val"'` | ||
| 24799 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24800 | $as_echo "$ac_res" >&6; } | ||
| 24801 | |||
| 24802 | fi | ||
| 24803 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 24804 | $as_echo "$as_val"'` = yes; then | ||
| 12956 | cat >>confdefs.h <<_ACEOF | 24805 | cat >>confdefs.h <<_ACEOF |
| 12957 | #define HAVE_SYS_IOCTL_H 1 | 24806 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 12958 | _ACEOF | 24807 | _ACEOF |
| 12959 | 24808 | ||
| 12960 | fi | 24809 | fi |
| @@ -12964,26 +24813,123 @@ done | |||
| 12964 | 24813 | ||
| 12965 | if test -f /usr/lpp/X11/bin/smt.exp; then | 24814 | if test -f /usr/lpp/X11/bin/smt.exp; then |
| 12966 | 24815 | ||
| 12967 | $as_echo "#define HAVE_AIX_SMT_EXP 1" >>confdefs.h | 24816 | cat >>confdefs.h <<\_ACEOF |
| 24817 | #define HAVE_AIX_SMT_EXP 1 | ||
| 24818 | _ACEOF | ||
| 12968 | 24819 | ||
| 12969 | fi | 24820 | fi |
| 12970 | 24821 | ||
| 12971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports dynamic ptys" >&5 | 24822 | { $as_echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
| 12972 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } | 24823 | $as_echo_n "checking whether system supports dynamic ptys... " >&6; } |
| 12973 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 24824 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 12974 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 24825 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| 12975 | $as_echo "yes" >&6; } | 24826 | $as_echo "yes" >&6; } |
| 12976 | 24827 | ||
| 12977 | $as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h | 24828 | cat >>confdefs.h <<\_ACEOF |
| 24829 | #define HAVE_DEV_PTMX 1 | ||
| 24830 | _ACEOF | ||
| 12978 | 24831 | ||
| 12979 | else | 24832 | else |
| 12980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 24833 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
| 12981 | $as_echo "no" >&6; } | 24834 | $as_echo "no" >&6; } |
| 12982 | fi | 24835 | fi |
| 12983 | 24836 | ||
| 12984 | ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" | 24837 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
| 12985 | if test "x$ac_cv_type_pid_t" = x""yes; then : | 24838 | $as_echo_n "checking for pid_t... " >&6; } |
| 24839 | if test "${ac_cv_type_pid_t+set}" = set; then | ||
| 24840 | $as_echo_n "(cached) " >&6 | ||
| 24841 | else | ||
| 24842 | ac_cv_type_pid_t=no | ||
| 24843 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24844 | /* confdefs.h. */ | ||
| 24845 | _ACEOF | ||
| 24846 | cat confdefs.h >>conftest.$ac_ext | ||
| 24847 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24848 | /* end confdefs.h. */ | ||
| 24849 | $ac_includes_default | ||
| 24850 | int | ||
| 24851 | main () | ||
| 24852 | { | ||
| 24853 | if (sizeof (pid_t)) | ||
| 24854 | return 0; | ||
| 24855 | ; | ||
| 24856 | return 0; | ||
| 24857 | } | ||
| 24858 | _ACEOF | ||
| 24859 | rm -f conftest.$ac_objext | ||
| 24860 | if { (ac_try="$ac_compile" | ||
| 24861 | case "(($ac_try" in | ||
| 24862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24863 | *) ac_try_echo=$ac_try;; | ||
| 24864 | esac | ||
| 24865 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24866 | $as_echo "$ac_try_echo") >&5 | ||
| 24867 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24868 | ac_status=$? | ||
| 24869 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24870 | rm -f conftest.er1 | ||
| 24871 | cat conftest.err >&5 | ||
| 24872 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24873 | (exit $ac_status); } && { | ||
| 24874 | test -z "$ac_c_werror_flag" || | ||
| 24875 | test ! -s conftest.err | ||
| 24876 | } && test -s conftest.$ac_objext; then | ||
| 24877 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24878 | /* confdefs.h. */ | ||
| 24879 | _ACEOF | ||
| 24880 | cat confdefs.h >>conftest.$ac_ext | ||
| 24881 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24882 | /* end confdefs.h. */ | ||
| 24883 | $ac_includes_default | ||
| 24884 | int | ||
| 24885 | main () | ||
| 24886 | { | ||
| 24887 | if (sizeof ((pid_t))) | ||
| 24888 | return 0; | ||
| 24889 | ; | ||
| 24890 | return 0; | ||
| 24891 | } | ||
| 24892 | _ACEOF | ||
| 24893 | rm -f conftest.$ac_objext | ||
| 24894 | if { (ac_try="$ac_compile" | ||
| 24895 | case "(($ac_try" in | ||
| 24896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24897 | *) ac_try_echo=$ac_try;; | ||
| 24898 | esac | ||
| 24899 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24900 | $as_echo "$ac_try_echo") >&5 | ||
| 24901 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24902 | ac_status=$? | ||
| 24903 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24904 | rm -f conftest.er1 | ||
| 24905 | cat conftest.err >&5 | ||
| 24906 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24907 | (exit $ac_status); } && { | ||
| 24908 | test -z "$ac_c_werror_flag" || | ||
| 24909 | test ! -s conftest.err | ||
| 24910 | } && test -s conftest.$ac_objext; then | ||
| 24911 | : | ||
| 24912 | else | ||
| 24913 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24914 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 12986 | 24915 | ||
| 24916 | ac_cv_type_pid_t=yes | ||
| 24917 | fi | ||
| 24918 | |||
| 24919 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24920 | else | ||
| 24921 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24922 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24923 | |||
| 24924 | |||
| 24925 | fi | ||
| 24926 | |||
| 24927 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24928 | fi | ||
| 24929 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | ||
| 24930 | $as_echo "$ac_cv_type_pid_t" >&6; } | ||
| 24931 | if test $ac_cv_type_pid_t = yes; then | ||
| 24932 | : | ||
| 12987 | else | 24933 | else |
| 12988 | 24934 | ||
| 12989 | cat >>confdefs.h <<_ACEOF | 24935 | cat >>confdefs.h <<_ACEOF |
| @@ -12992,24 +24938,245 @@ _ACEOF | |||
| 12992 | 24938 | ||
| 12993 | fi | 24939 | fi |
| 12994 | 24940 | ||
| 24941 | |||
| 12995 | for ac_header in vfork.h | 24942 | for ac_header in vfork.h |
| 12996 | do : | 24943 | do |
| 12997 | ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" | 24944 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12998 | if test "x$ac_cv_header_vfork_h" = x""yes; then : | 24945 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 24946 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 24947 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 24948 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 24949 | $as_echo_n "(cached) " >&6 | ||
| 24950 | fi | ||
| 24951 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 24952 | $as_echo "$as_val"'` | ||
| 24953 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 24954 | $as_echo "$ac_res" >&6; } | ||
| 24955 | else | ||
| 24956 | # Is the header compilable? | ||
| 24957 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 24958 | $as_echo_n "checking $ac_header usability... " >&6; } | ||
| 24959 | cat >conftest.$ac_ext <<_ACEOF | ||
| 24960 | /* confdefs.h. */ | ||
| 24961 | _ACEOF | ||
| 24962 | cat confdefs.h >>conftest.$ac_ext | ||
| 24963 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 24964 | /* end confdefs.h. */ | ||
| 24965 | $ac_includes_default | ||
| 24966 | #include <$ac_header> | ||
| 24967 | _ACEOF | ||
| 24968 | rm -f conftest.$ac_objext | ||
| 24969 | if { (ac_try="$ac_compile" | ||
| 24970 | case "(($ac_try" in | ||
| 24971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 24972 | *) ac_try_echo=$ac_try;; | ||
| 24973 | esac | ||
| 24974 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 24975 | $as_echo "$ac_try_echo") >&5 | ||
| 24976 | (eval "$ac_compile") 2>conftest.er1 | ||
| 24977 | ac_status=$? | ||
| 24978 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 24979 | rm -f conftest.er1 | ||
| 24980 | cat conftest.err >&5 | ||
| 24981 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 24982 | (exit $ac_status); } && { | ||
| 24983 | test -z "$ac_c_werror_flag" || | ||
| 24984 | test ! -s conftest.err | ||
| 24985 | } && test -s conftest.$ac_objext; then | ||
| 24986 | ac_header_compiler=yes | ||
| 24987 | else | ||
| 24988 | $as_echo "$as_me: failed program was:" >&5 | ||
| 24989 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 24990 | |||
| 24991 | ac_header_compiler=no | ||
| 24992 | fi | ||
| 24993 | |||
| 24994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 24995 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 24996 | $as_echo "$ac_header_compiler" >&6; } | ||
| 24997 | |||
| 24998 | # Is the header present? | ||
| 24999 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 25000 | $as_echo_n "checking $ac_header presence... " >&6; } | ||
| 25001 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25002 | /* confdefs.h. */ | ||
| 25003 | _ACEOF | ||
| 25004 | cat confdefs.h >>conftest.$ac_ext | ||
| 25005 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25006 | /* end confdefs.h. */ | ||
| 25007 | #include <$ac_header> | ||
| 25008 | _ACEOF | ||
| 25009 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
| 25010 | case "(($ac_try" in | ||
| 25011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25012 | *) ac_try_echo=$ac_try;; | ||
| 25013 | esac | ||
| 25014 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25015 | $as_echo "$ac_try_echo") >&5 | ||
| 25016 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 25017 | ac_status=$? | ||
| 25018 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25019 | rm -f conftest.er1 | ||
| 25020 | cat conftest.err >&5 | ||
| 25021 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25022 | (exit $ac_status); } >/dev/null && { | ||
| 25023 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
| 25024 | test ! -s conftest.err | ||
| 25025 | }; then | ||
| 25026 | ac_header_preproc=yes | ||
| 25027 | else | ||
| 25028 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25029 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25030 | |||
| 25031 | ac_header_preproc=no | ||
| 25032 | fi | ||
| 25033 | |||
| 25034 | rm -f conftest.err conftest.$ac_ext | ||
| 25035 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 25036 | $as_echo "$ac_header_preproc" >&6; } | ||
| 25037 | |||
| 25038 | # So? What about this header? | ||
| 25039 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
| 25040 | yes:no: ) | ||
| 25041 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 25042 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 25043 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
| 25044 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
| 25045 | ac_header_preproc=yes | ||
| 25046 | ;; | ||
| 25047 | no:yes:* ) | ||
| 25048 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 25049 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 25050 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 25051 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 25052 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
| 25053 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
| 25054 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
| 25055 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
| 25056 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 25057 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 25058 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
| 25059 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
| 25060 | |||
| 25061 | ;; | ||
| 25062 | esac | ||
| 25063 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 25064 | $as_echo_n "checking for $ac_header... " >&6; } | ||
| 25065 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
| 25066 | $as_echo_n "(cached) " >&6 | ||
| 25067 | else | ||
| 25068 | eval "$as_ac_Header=\$ac_header_preproc" | ||
| 25069 | fi | ||
| 25070 | ac_res=`eval 'as_val=${'$as_ac_Header'} | ||
| 25071 | $as_echo "$as_val"'` | ||
| 25072 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25073 | $as_echo "$ac_res" >&6; } | ||
| 25074 | |||
| 25075 | fi | ||
| 25076 | if test `eval 'as_val=${'$as_ac_Header'} | ||
| 25077 | $as_echo "$as_val"'` = yes; then | ||
| 12999 | cat >>confdefs.h <<_ACEOF | 25078 | cat >>confdefs.h <<_ACEOF |
| 13000 | #define HAVE_VFORK_H 1 | 25079 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13001 | _ACEOF | 25080 | _ACEOF |
| 13002 | 25081 | ||
| 13003 | fi | 25082 | fi |
| 13004 | 25083 | ||
| 13005 | done | 25084 | done |
| 13006 | 25085 | ||
| 25086 | |||
| 25087 | |||
| 13007 | for ac_func in fork vfork | 25088 | for ac_func in fork vfork |
| 13008 | do : | 25089 | do |
| 13009 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 25090 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13010 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 25091 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 13011 | eval as_val=\$$as_ac_var | 25092 | $as_echo_n "checking for $ac_func... " >&6; } |
| 13012 | if test "x$as_val" = x""yes; then : | 25093 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 25094 | $as_echo_n "(cached) " >&6 | ||
| 25095 | else | ||
| 25096 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25097 | /* confdefs.h. */ | ||
| 25098 | _ACEOF | ||
| 25099 | cat confdefs.h >>conftest.$ac_ext | ||
| 25100 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25101 | /* end confdefs.h. */ | ||
| 25102 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
| 25103 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
| 25104 | #define $ac_func innocuous_$ac_func | ||
| 25105 | |||
| 25106 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 25107 | which can conflict with char $ac_func (); below. | ||
| 25108 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 25109 | <limits.h> exists even on freestanding compilers. */ | ||
| 25110 | |||
| 25111 | #ifdef __STDC__ | ||
| 25112 | # include <limits.h> | ||
| 25113 | #else | ||
| 25114 | # include <assert.h> | ||
| 25115 | #endif | ||
| 25116 | |||
| 25117 | #undef $ac_func | ||
| 25118 | |||
| 25119 | /* Override any GCC internal prototype to avoid an error. | ||
| 25120 | Use char because int might match the return type of a GCC | ||
| 25121 | builtin and then its argument prototype would still apply. */ | ||
| 25122 | #ifdef __cplusplus | ||
| 25123 | extern "C" | ||
| 25124 | #endif | ||
| 25125 | char $ac_func (); | ||
| 25126 | /* The GNU C library defines this for functions which it implements | ||
| 25127 | to always fail with ENOSYS. Some functions are actually named | ||
| 25128 | something starting with __ and the normal name is an alias. */ | ||
| 25129 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
| 25130 | choke me | ||
| 25131 | #endif | ||
| 25132 | |||
| 25133 | int | ||
| 25134 | main () | ||
| 25135 | { | ||
| 25136 | return $ac_func (); | ||
| 25137 | ; | ||
| 25138 | return 0; | ||
| 25139 | } | ||
| 25140 | _ACEOF | ||
| 25141 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 25142 | if { (ac_try="$ac_link" | ||
| 25143 | case "(($ac_try" in | ||
| 25144 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25145 | *) ac_try_echo=$ac_try;; | ||
| 25146 | esac | ||
| 25147 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25148 | $as_echo "$ac_try_echo") >&5 | ||
| 25149 | (eval "$ac_link") 2>conftest.er1 | ||
| 25150 | ac_status=$? | ||
| 25151 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25152 | rm -f conftest.er1 | ||
| 25153 | cat conftest.err >&5 | ||
| 25154 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25155 | (exit $ac_status); } && { | ||
| 25156 | test -z "$ac_c_werror_flag" || | ||
| 25157 | test ! -s conftest.err | ||
| 25158 | } && test -s conftest$ac_exeext && { | ||
| 25159 | test "$cross_compiling" = yes || | ||
| 25160 | $as_test_x conftest$ac_exeext | ||
| 25161 | }; then | ||
| 25162 | eval "$as_ac_var=yes" | ||
| 25163 | else | ||
| 25164 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25165 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25166 | |||
| 25167 | eval "$as_ac_var=no" | ||
| 25168 | fi | ||
| 25169 | |||
| 25170 | rm -rf conftest.dSYM | ||
| 25171 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25172 | conftest$ac_exeext conftest.$ac_ext | ||
| 25173 | fi | ||
| 25174 | ac_res=`eval 'as_val=${'$as_ac_var'} | ||
| 25175 | $as_echo "$as_val"'` | ||
| 25176 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
| 25177 | $as_echo "$ac_res" >&6; } | ||
| 25178 | if test `eval 'as_val=${'$as_ac_var'} | ||
| 25179 | $as_echo "$as_val"'` = yes; then | ||
| 13013 | cat >>confdefs.h <<_ACEOF | 25180 | cat >>confdefs.h <<_ACEOF |
| 13014 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 25181 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13015 | _ACEOF | 25182 | _ACEOF |
| @@ -13018,15 +25185,19 @@ fi | |||
| 13018 | done | 25185 | done |
| 13019 | 25186 | ||
| 13020 | if test "x$ac_cv_func_fork" = xyes; then | 25187 | if test "x$ac_cv_func_fork" = xyes; then |
| 13021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 | 25188 | { $as_echo "$as_me:$LINENO: checking for working fork" >&5 |
| 13022 | $as_echo_n "checking for working fork... " >&6; } | 25189 | $as_echo_n "checking for working fork... " >&6; } |
| 13023 | if test "${ac_cv_func_fork_works+set}" = set; then : | 25190 | if test "${ac_cv_func_fork_works+set}" = set; then |
| 13024 | $as_echo_n "(cached) " >&6 | 25191 | $as_echo_n "(cached) " >&6 |
| 13025 | else | 25192 | else |
| 13026 | if test "$cross_compiling" = yes; then : | 25193 | if test "$cross_compiling" = yes; then |
| 13027 | ac_cv_func_fork_works=cross | 25194 | ac_cv_func_fork_works=cross |
| 13028 | else | 25195 | else |
| 13029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25196 | cat >conftest.$ac_ext <<_ACEOF |
| 25197 | /* confdefs.h. */ | ||
| 25198 | _ACEOF | ||
| 25199 | cat confdefs.h >>conftest.$ac_ext | ||
| 25200 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13030 | /* end confdefs.h. */ | 25201 | /* end confdefs.h. */ |
| 13031 | $ac_includes_default | 25202 | $ac_includes_default |
| 13032 | int | 25203 | int |
| @@ -13040,17 +25211,44 @@ main () | |||
| 13040 | return 0; | 25211 | return 0; |
| 13041 | } | 25212 | } |
| 13042 | _ACEOF | 25213 | _ACEOF |
| 13043 | if ac_fn_c_try_run "$LINENO"; then : | 25214 | rm -f conftest$ac_exeext |
| 25215 | if { (ac_try="$ac_link" | ||
| 25216 | case "(($ac_try" in | ||
| 25217 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25218 | *) ac_try_echo=$ac_try;; | ||
| 25219 | esac | ||
| 25220 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25221 | $as_echo "$ac_try_echo") >&5 | ||
| 25222 | (eval "$ac_link") 2>&5 | ||
| 25223 | ac_status=$? | ||
| 25224 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25225 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25226 | { (case "(($ac_try" in | ||
| 25227 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25228 | *) ac_try_echo=$ac_try;; | ||
| 25229 | esac | ||
| 25230 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25231 | $as_echo "$ac_try_echo") >&5 | ||
| 25232 | (eval "$ac_try") 2>&5 | ||
| 25233 | ac_status=$? | ||
| 25234 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25235 | (exit $ac_status); }; }; then | ||
| 13044 | ac_cv_func_fork_works=yes | 25236 | ac_cv_func_fork_works=yes |
| 13045 | else | 25237 | else |
| 13046 | ac_cv_func_fork_works=no | 25238 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25239 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25240 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25241 | |||
| 25242 | ( exit $ac_status ) | ||
| 25243 | ac_cv_func_fork_works=no | ||
| 13047 | fi | 25244 | fi |
| 13048 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25245 | rm -rf conftest.dSYM |
| 13049 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25246 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13050 | fi | 25247 | fi |
| 13051 | 25248 | ||
| 25249 | |||
| 13052 | fi | 25250 | fi |
| 13053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 | 25251 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
| 13054 | $as_echo "$ac_cv_func_fork_works" >&6; } | 25252 | $as_echo "$ac_cv_func_fork_works" >&6; } |
| 13055 | 25253 | ||
| 13056 | else | 25254 | else |
| @@ -13066,20 +25264,24 @@ if test "x$ac_cv_func_fork_works" = xcross; then | |||
| 13066 | ac_cv_func_fork_works=yes | 25264 | ac_cv_func_fork_works=yes |
| 13067 | ;; | 25265 | ;; |
| 13068 | esac | 25266 | esac |
| 13069 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25267 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
| 13070 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25268 | $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
| 13071 | fi | 25269 | fi |
| 13072 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25270 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13073 | if test "x$ac_cv_func_vfork" = xyes; then | 25271 | if test "x$ac_cv_func_vfork" = xyes; then |
| 13074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 | 25272 | { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 |
| 13075 | $as_echo_n "checking for working vfork... " >&6; } | 25273 | $as_echo_n "checking for working vfork... " >&6; } |
| 13076 | if test "${ac_cv_func_vfork_works+set}" = set; then : | 25274 | if test "${ac_cv_func_vfork_works+set}" = set; then |
| 13077 | $as_echo_n "(cached) " >&6 | 25275 | $as_echo_n "(cached) " >&6 |
| 13078 | else | 25276 | else |
| 13079 | if test "$cross_compiling" = yes; then : | 25277 | if test "$cross_compiling" = yes; then |
| 13080 | ac_cv_func_vfork_works=cross | 25278 | ac_cv_func_vfork_works=cross |
| 13081 | else | 25279 | else |
| 13082 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25280 | cat >conftest.$ac_ext <<_ACEOF |
| 25281 | /* confdefs.h. */ | ||
| 25282 | _ACEOF | ||
| 25283 | cat confdefs.h >>conftest.$ac_ext | ||
| 25284 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13083 | /* end confdefs.h. */ | 25285 | /* end confdefs.h. */ |
| 13084 | /* Thanks to Paul Eggert for this test. */ | 25286 | /* Thanks to Paul Eggert for this test. */ |
| 13085 | $ac_includes_default | 25287 | $ac_includes_default |
| @@ -13171,48 +25373,85 @@ main () | |||
| 13171 | } | 25373 | } |
| 13172 | } | 25374 | } |
| 13173 | _ACEOF | 25375 | _ACEOF |
| 13174 | if ac_fn_c_try_run "$LINENO"; then : | 25376 | rm -f conftest$ac_exeext |
| 25377 | if { (ac_try="$ac_link" | ||
| 25378 | case "(($ac_try" in | ||
| 25379 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25380 | *) ac_try_echo=$ac_try;; | ||
| 25381 | esac | ||
| 25382 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25383 | $as_echo "$ac_try_echo") >&5 | ||
| 25384 | (eval "$ac_link") 2>&5 | ||
| 25385 | ac_status=$? | ||
| 25386 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25387 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
| 25388 | { (case "(($ac_try" in | ||
| 25389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25390 | *) ac_try_echo=$ac_try;; | ||
| 25391 | esac | ||
| 25392 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25393 | $as_echo "$ac_try_echo") >&5 | ||
| 25394 | (eval "$ac_try") 2>&5 | ||
| 25395 | ac_status=$? | ||
| 25396 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25397 | (exit $ac_status); }; }; then | ||
| 13175 | ac_cv_func_vfork_works=yes | 25398 | ac_cv_func_vfork_works=yes |
| 13176 | else | 25399 | else |
| 13177 | ac_cv_func_vfork_works=no | 25400 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 25401 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25402 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25403 | |||
| 25404 | ( exit $ac_status ) | ||
| 25405 | ac_cv_func_vfork_works=no | ||
| 13178 | fi | 25406 | fi |
| 13179 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25407 | rm -rf conftest.dSYM |
| 13180 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 25408 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13181 | fi | 25409 | fi |
| 13182 | 25410 | ||
| 25411 | |||
| 13183 | fi | 25412 | fi |
| 13184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 | 25413 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
| 13185 | $as_echo "$ac_cv_func_vfork_works" >&6; } | 25414 | $as_echo "$ac_cv_func_vfork_works" >&6; } |
| 13186 | 25415 | ||
| 13187 | fi; | 25416 | fi; |
| 13188 | if test "x$ac_cv_func_fork_works" = xcross; then | 25417 | if test "x$ac_cv_func_fork_works" = xcross; then |
| 13189 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 25418 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 13190 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25419 | { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
| 13191 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} | 25420 | $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
| 13192 | fi | 25421 | fi |
| 13193 | 25422 | ||
| 13194 | if test "x$ac_cv_func_vfork_works" = xyes; then | 25423 | if test "x$ac_cv_func_vfork_works" = xyes; then |
| 13195 | 25424 | ||
| 13196 | $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h | 25425 | cat >>confdefs.h <<\_ACEOF |
| 25426 | #define HAVE_WORKING_VFORK 1 | ||
| 25427 | _ACEOF | ||
| 13197 | 25428 | ||
| 13198 | else | 25429 | else |
| 13199 | 25430 | ||
| 13200 | $as_echo "#define vfork fork" >>confdefs.h | 25431 | cat >>confdefs.h <<\_ACEOF |
| 25432 | #define vfork fork | ||
| 25433 | _ACEOF | ||
| 13201 | 25434 | ||
| 13202 | fi | 25435 | fi |
| 13203 | if test "x$ac_cv_func_fork_works" = xyes; then | 25436 | if test "x$ac_cv_func_fork_works" = xyes; then |
| 13204 | 25437 | ||
| 13205 | $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 25438 | cat >>confdefs.h <<\_ACEOF |
| 25439 | #define HAVE_WORKING_FORK 1 | ||
| 25440 | _ACEOF | ||
| 13206 | 25441 | ||
| 13207 | fi | 25442 | fi |
| 13208 | 25443 | ||
| 13209 | 25444 | ||
| 13210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 | 25445 | { $as_echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
| 13211 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } | 25446 | $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } |
| 13212 | if test "${emacs_cv_langinfo_codeset+set}" = set; then : | 25447 | if test "${emacs_cv_langinfo_codeset+set}" = set; then |
| 13213 | $as_echo_n "(cached) " >&6 | 25448 | $as_echo_n "(cached) " >&6 |
| 13214 | else | 25449 | else |
| 13215 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25450 | cat >conftest.$ac_ext <<_ACEOF |
| 25451 | /* confdefs.h. */ | ||
| 25452 | _ACEOF | ||
| 25453 | cat confdefs.h >>conftest.$ac_ext | ||
| 25454 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13216 | /* end confdefs.h. */ | 25455 | /* end confdefs.h. */ |
| 13217 | #include <langinfo.h> | 25456 | #include <langinfo.h> |
| 13218 | int | 25457 | int |
| @@ -13223,25 +25462,145 @@ char* cs = nl_langinfo(CODESET); | |||
| 13223 | return 0; | 25462 | return 0; |
| 13224 | } | 25463 | } |
| 13225 | _ACEOF | 25464 | _ACEOF |
| 13226 | if ac_fn_c_try_link "$LINENO"; then : | 25465 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 25466 | if { (ac_try="$ac_link" | ||
| 25467 | case "(($ac_try" in | ||
| 25468 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25469 | *) ac_try_echo=$ac_try;; | ||
| 25470 | esac | ||
| 25471 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25472 | $as_echo "$ac_try_echo") >&5 | ||
| 25473 | (eval "$ac_link") 2>conftest.er1 | ||
| 25474 | ac_status=$? | ||
| 25475 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25476 | rm -f conftest.er1 | ||
| 25477 | cat conftest.err >&5 | ||
| 25478 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25479 | (exit $ac_status); } && { | ||
| 25480 | test -z "$ac_c_werror_flag" || | ||
| 25481 | test ! -s conftest.err | ||
| 25482 | } && test -s conftest$ac_exeext && { | ||
| 25483 | test "$cross_compiling" = yes || | ||
| 25484 | $as_test_x conftest$ac_exeext | ||
| 25485 | }; then | ||
| 13227 | emacs_cv_langinfo_codeset=yes | 25486 | emacs_cv_langinfo_codeset=yes |
| 13228 | else | 25487 | else |
| 13229 | emacs_cv_langinfo_codeset=no | 25488 | $as_echo "$as_me: failed program was:" >&5 |
| 25489 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25490 | |||
| 25491 | emacs_cv_langinfo_codeset=no | ||
| 13230 | fi | 25492 | fi |
| 13231 | rm -f core conftest.err conftest.$ac_objext \ | 25493 | |
| 13232 | conftest$ac_exeext conftest.$ac_ext | 25494 | rm -rf conftest.dSYM |
| 25495 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 25496 | conftest$ac_exeext conftest.$ac_ext | ||
| 13233 | 25497 | ||
| 13234 | fi | 25498 | fi |
| 13235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_langinfo_codeset" >&5 | 25499 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
| 13236 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } | 25500 | $as_echo "$emacs_cv_langinfo_codeset" >&6; } |
| 13237 | if test $emacs_cv_langinfo_codeset = yes; then | 25501 | if test $emacs_cv_langinfo_codeset = yes; then |
| 13238 | 25502 | ||
| 13239 | $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h | 25503 | cat >>confdefs.h <<\_ACEOF |
| 25504 | #define HAVE_LANGINFO_CODESET 1 | ||
| 25505 | _ACEOF | ||
| 25506 | |||
| 25507 | fi | ||
| 25508 | |||
| 25509 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | ||
| 25510 | $as_echo_n "checking for size_t... " >&6; } | ||
| 25511 | if test "${ac_cv_type_size_t+set}" = set; then | ||
| 25512 | $as_echo_n "(cached) " >&6 | ||
| 25513 | else | ||
| 25514 | ac_cv_type_size_t=no | ||
| 25515 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25516 | /* confdefs.h. */ | ||
| 25517 | _ACEOF | ||
| 25518 | cat confdefs.h >>conftest.$ac_ext | ||
| 25519 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25520 | /* end confdefs.h. */ | ||
| 25521 | $ac_includes_default | ||
| 25522 | int | ||
| 25523 | main () | ||
| 25524 | { | ||
| 25525 | if (sizeof (size_t)) | ||
| 25526 | return 0; | ||
| 25527 | ; | ||
| 25528 | return 0; | ||
| 25529 | } | ||
| 25530 | _ACEOF | ||
| 25531 | rm -f conftest.$ac_objext | ||
| 25532 | if { (ac_try="$ac_compile" | ||
| 25533 | case "(($ac_try" in | ||
| 25534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25535 | *) ac_try_echo=$ac_try;; | ||
| 25536 | esac | ||
| 25537 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25538 | $as_echo "$ac_try_echo") >&5 | ||
| 25539 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25540 | ac_status=$? | ||
| 25541 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25542 | rm -f conftest.er1 | ||
| 25543 | cat conftest.err >&5 | ||
| 25544 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25545 | (exit $ac_status); } && { | ||
| 25546 | test -z "$ac_c_werror_flag" || | ||
| 25547 | test ! -s conftest.err | ||
| 25548 | } && test -s conftest.$ac_objext; then | ||
| 25549 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25550 | /* confdefs.h. */ | ||
| 25551 | _ACEOF | ||
| 25552 | cat confdefs.h >>conftest.$ac_ext | ||
| 25553 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 25554 | /* end confdefs.h. */ | ||
| 25555 | $ac_includes_default | ||
| 25556 | int | ||
| 25557 | main () | ||
| 25558 | { | ||
| 25559 | if (sizeof ((size_t))) | ||
| 25560 | return 0; | ||
| 25561 | ; | ||
| 25562 | return 0; | ||
| 25563 | } | ||
| 25564 | _ACEOF | ||
| 25565 | rm -f conftest.$ac_objext | ||
| 25566 | if { (ac_try="$ac_compile" | ||
| 25567 | case "(($ac_try" in | ||
| 25568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25569 | *) ac_try_echo=$ac_try;; | ||
| 25570 | esac | ||
| 25571 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25572 | $as_echo "$ac_try_echo") >&5 | ||
| 25573 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25574 | ac_status=$? | ||
| 25575 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25576 | rm -f conftest.er1 | ||
| 25577 | cat conftest.err >&5 | ||
| 25578 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25579 | (exit $ac_status); } && { | ||
| 25580 | test -z "$ac_c_werror_flag" || | ||
| 25581 | test ! -s conftest.err | ||
| 25582 | } && test -s conftest.$ac_objext; then | ||
| 25583 | : | ||
| 25584 | else | ||
| 25585 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25586 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25587 | |||
| 25588 | ac_cv_type_size_t=yes | ||
| 25589 | fi | ||
| 25590 | |||
| 25591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 25592 | else | ||
| 25593 | $as_echo "$as_me: failed program was:" >&5 | ||
| 25594 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25595 | |||
| 13240 | 25596 | ||
| 13241 | fi | 25597 | fi |
| 13242 | 25598 | ||
| 13243 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" | 25599 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13244 | if test "x$ac_cv_type_size_t" = x""yes; then : | 25600 | fi |
| 25601 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | ||
| 25602 | $as_echo "$ac_cv_type_size_t" >&6; } | ||
| 25603 | if test $ac_cv_type_size_t = yes; then | ||
| 13245 | 25604 | ||
| 13246 | cat >>confdefs.h <<_ACEOF | 25605 | cat >>confdefs.h <<_ACEOF |
| 13247 | #define HAVE_SIZE_T 1 | 25606 | #define HAVE_SIZE_T 1 |
| @@ -13251,12 +25610,16 @@ _ACEOF | |||
| 13251 | fi | 25610 | fi |
| 13252 | 25611 | ||
| 13253 | 25612 | ||
| 13254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 | 25613 | { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
| 13255 | $as_echo_n "checking for mbstate_t... " >&6; } | 25614 | $as_echo_n "checking for mbstate_t... " >&6; } |
| 13256 | if test "${ac_cv_type_mbstate_t+set}" = set; then : | 25615 | if test "${ac_cv_type_mbstate_t+set}" = set; then |
| 13257 | $as_echo_n "(cached) " >&6 | 25616 | $as_echo_n "(cached) " >&6 |
| 13258 | else | 25617 | else |
| 13259 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25618 | cat >conftest.$ac_ext <<_ACEOF |
| 25619 | /* confdefs.h. */ | ||
| 25620 | _ACEOF | ||
| 25621 | cat confdefs.h >>conftest.$ac_ext | ||
| 25622 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13260 | /* end confdefs.h. */ | 25623 | /* end confdefs.h. */ |
| 13261 | $ac_includes_default | 25624 | $ac_includes_default |
| 13262 | # include <wchar.h> | 25625 | # include <wchar.h> |
| @@ -13268,31 +25631,60 @@ mbstate_t x; return sizeof x; | |||
| 13268 | return 0; | 25631 | return 0; |
| 13269 | } | 25632 | } |
| 13270 | _ACEOF | 25633 | _ACEOF |
| 13271 | if ac_fn_c_try_compile "$LINENO"; then : | 25634 | rm -f conftest.$ac_objext |
| 25635 | if { (ac_try="$ac_compile" | ||
| 25636 | case "(($ac_try" in | ||
| 25637 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25638 | *) ac_try_echo=$ac_try;; | ||
| 25639 | esac | ||
| 25640 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25641 | $as_echo "$ac_try_echo") >&5 | ||
| 25642 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25643 | ac_status=$? | ||
| 25644 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25645 | rm -f conftest.er1 | ||
| 25646 | cat conftest.err >&5 | ||
| 25647 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25648 | (exit $ac_status); } && { | ||
| 25649 | test -z "$ac_c_werror_flag" || | ||
| 25650 | test ! -s conftest.err | ||
| 25651 | } && test -s conftest.$ac_objext; then | ||
| 13272 | ac_cv_type_mbstate_t=yes | 25652 | ac_cv_type_mbstate_t=yes |
| 13273 | else | 25653 | else |
| 13274 | ac_cv_type_mbstate_t=no | 25654 | $as_echo "$as_me: failed program was:" >&5 |
| 25655 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25656 | |||
| 25657 | ac_cv_type_mbstate_t=no | ||
| 13275 | fi | 25658 | fi |
| 25659 | |||
| 13276 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25660 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13277 | fi | 25661 | fi |
| 13278 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 | 25662 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
| 13279 | $as_echo "$ac_cv_type_mbstate_t" >&6; } | 25663 | $as_echo "$ac_cv_type_mbstate_t" >&6; } |
| 13280 | if test $ac_cv_type_mbstate_t = yes; then | 25664 | if test $ac_cv_type_mbstate_t = yes; then |
| 13281 | 25665 | ||
| 13282 | $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h | 25666 | cat >>confdefs.h <<\_ACEOF |
| 25667 | #define HAVE_MBSTATE_T 1 | ||
| 25668 | _ACEOF | ||
| 13283 | 25669 | ||
| 13284 | else | 25670 | else |
| 13285 | 25671 | ||
| 13286 | $as_echo "#define mbstate_t int" >>confdefs.h | 25672 | cat >>confdefs.h <<\_ACEOF |
| 25673 | #define mbstate_t int | ||
| 25674 | _ACEOF | ||
| 13287 | 25675 | ||
| 13288 | fi | 25676 | fi |
| 13289 | 25677 | ||
| 13290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5 | 25678 | { $as_echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
| 13291 | $as_echo_n "checking for C restrict keyword... " >&6; } | 25679 | $as_echo_n "checking for C restrict keyword... " >&6; } |
| 13292 | if test "${emacs_cv_c_restrict+set}" = set; then : | 25680 | if test "${emacs_cv_c_restrict+set}" = set; then |
| 13293 | $as_echo_n "(cached) " >&6 | 25681 | $as_echo_n "(cached) " >&6 |
| 13294 | else | 25682 | else |
| 13295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25683 | cat >conftest.$ac_ext <<_ACEOF |
| 25684 | /* confdefs.h. */ | ||
| 25685 | _ACEOF | ||
| 25686 | cat confdefs.h >>conftest.$ac_ext | ||
| 25687 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13296 | /* end confdefs.h. */ | 25688 | /* end confdefs.h. */ |
| 13297 | void fred (int *restrict x); | 25689 | void fred (int *restrict x); |
| 13298 | int | 25690 | int |
| @@ -13303,10 +25695,34 @@ main () | |||
| 13303 | return 0; | 25695 | return 0; |
| 13304 | } | 25696 | } |
| 13305 | _ACEOF | 25697 | _ACEOF |
| 13306 | if ac_fn_c_try_compile "$LINENO"; then : | 25698 | rm -f conftest.$ac_objext |
| 25699 | if { (ac_try="$ac_compile" | ||
| 25700 | case "(($ac_try" in | ||
| 25701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25702 | *) ac_try_echo=$ac_try;; | ||
| 25703 | esac | ||
| 25704 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25705 | $as_echo "$ac_try_echo") >&5 | ||
| 25706 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25707 | ac_status=$? | ||
| 25708 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25709 | rm -f conftest.er1 | ||
| 25710 | cat conftest.err >&5 | ||
| 25711 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25712 | (exit $ac_status); } && { | ||
| 25713 | test -z "$ac_c_werror_flag" || | ||
| 25714 | test ! -s conftest.err | ||
| 25715 | } && test -s conftest.$ac_objext; then | ||
| 13307 | emacs_cv_c_restrict=yes | 25716 | emacs_cv_c_restrict=yes |
| 13308 | else | 25717 | else |
| 13309 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25718 | $as_echo "$as_me: failed program was:" >&5 |
| 25719 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25720 | |||
| 25721 | cat >conftest.$ac_ext <<_ACEOF | ||
| 25722 | /* confdefs.h. */ | ||
| 25723 | _ACEOF | ||
| 25724 | cat confdefs.h >>conftest.$ac_ext | ||
| 25725 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13310 | /* end confdefs.h. */ | 25726 | /* end confdefs.h. */ |
| 13311 | void fred (int *__restrict x); | 25727 | void fred (int *__restrict x); |
| 13312 | int | 25728 | int |
| @@ -13317,16 +25733,38 @@ main () | |||
| 13317 | return 0; | 25733 | return 0; |
| 13318 | } | 25734 | } |
| 13319 | _ACEOF | 25735 | _ACEOF |
| 13320 | if ac_fn_c_try_compile "$LINENO"; then : | 25736 | rm -f conftest.$ac_objext |
| 25737 | if { (ac_try="$ac_compile" | ||
| 25738 | case "(($ac_try" in | ||
| 25739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25740 | *) ac_try_echo=$ac_try;; | ||
| 25741 | esac | ||
| 25742 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25743 | $as_echo "$ac_try_echo") >&5 | ||
| 25744 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25745 | ac_status=$? | ||
| 25746 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25747 | rm -f conftest.er1 | ||
| 25748 | cat conftest.err >&5 | ||
| 25749 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25750 | (exit $ac_status); } && { | ||
| 25751 | test -z "$ac_c_werror_flag" || | ||
| 25752 | test ! -s conftest.err | ||
| 25753 | } && test -s conftest.$ac_objext; then | ||
| 13321 | emacs_cv_c_restrict=__restrict | 25754 | emacs_cv_c_restrict=__restrict |
| 13322 | else | 25755 | else |
| 13323 | emacs_cv_c_restrict=no | 25756 | $as_echo "$as_me: failed program was:" >&5 |
| 25757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25758 | |||
| 25759 | emacs_cv_c_restrict=no | ||
| 13324 | fi | 25760 | fi |
| 25761 | |||
| 13325 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25762 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13326 | fi | 25763 | fi |
| 25764 | |||
| 13327 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25765 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13328 | fi | 25766 | fi |
| 13329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict" >&5 | 25767 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
| 13330 | $as_echo "$emacs_cv_c_restrict" >&6; } | 25768 | $as_echo "$emacs_cv_c_restrict" >&6; } |
| 13331 | case "$emacs_cv_c_restrict" in | 25769 | case "$emacs_cv_c_restrict" in |
| 13332 | yes) emacs_restrict=restrict;; | 25770 | yes) emacs_restrict=restrict;; |
| @@ -13341,12 +25779,16 @@ _ACEOF | |||
| 13341 | 25779 | ||
| 13342 | fi | 25780 | fi |
| 13343 | 25781 | ||
| 13344 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restricted array declarations" >&5 | 25782 | { $as_echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
| 13345 | $as_echo_n "checking for C restricted array declarations... " >&6; } | 25783 | $as_echo_n "checking for C restricted array declarations... " >&6; } |
| 13346 | if test "${emacs_cv_c_restrict_arr+set}" = set; then : | 25784 | if test "${emacs_cv_c_restrict_arr+set}" = set; then |
| 13347 | $as_echo_n "(cached) " >&6 | 25785 | $as_echo_n "(cached) " >&6 |
| 13348 | else | 25786 | else |
| 13349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25787 | cat >conftest.$ac_ext <<_ACEOF |
| 25788 | /* confdefs.h. */ | ||
| 25789 | _ACEOF | ||
| 25790 | cat confdefs.h >>conftest.$ac_ext | ||
| 25791 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13350 | /* end confdefs.h. */ | 25792 | /* end confdefs.h. */ |
| 13351 | void fred (int x[__restrict]); | 25793 | void fred (int x[__restrict]); |
| 13352 | int | 25794 | int |
| @@ -13357,18 +25799,41 @@ main () | |||
| 13357 | return 0; | 25799 | return 0; |
| 13358 | } | 25800 | } |
| 13359 | _ACEOF | 25801 | _ACEOF |
| 13360 | if ac_fn_c_try_compile "$LINENO"; then : | 25802 | rm -f conftest.$ac_objext |
| 25803 | if { (ac_try="$ac_compile" | ||
| 25804 | case "(($ac_try" in | ||
| 25805 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 25806 | *) ac_try_echo=$ac_try;; | ||
| 25807 | esac | ||
| 25808 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
| 25809 | $as_echo "$ac_try_echo") >&5 | ||
| 25810 | (eval "$ac_compile") 2>conftest.er1 | ||
| 25811 | ac_status=$? | ||
| 25812 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 25813 | rm -f conftest.er1 | ||
| 25814 | cat conftest.err >&5 | ||
| 25815 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 25816 | (exit $ac_status); } && { | ||
| 25817 | test -z "$ac_c_werror_flag" || | ||
| 25818 | test ! -s conftest.err | ||
| 25819 | } && test -s conftest.$ac_objext; then | ||
| 13361 | emacs_cv_c_restrict_arr=yes | 25820 | emacs_cv_c_restrict_arr=yes |
| 13362 | else | 25821 | else |
| 13363 | emacs_cv_c_restrict_arr=no | 25822 | $as_echo "$as_me: failed program was:" >&5 |
| 25823 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 25824 | |||
| 25825 | emacs_cv_c_restrict_arr=no | ||
| 13364 | fi | 25826 | fi |
| 25827 | |||
| 13365 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13366 | fi | 25829 | fi |
| 13367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_c_restrict_arr" >&5 | 25830 | { $as_echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
| 13368 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } | 25831 | $as_echo "$emacs_cv_c_restrict_arr" >&6; } |
| 13369 | if test "$emacs_cv_c_restrict_arr" = yes; then | 25832 | if test "$emacs_cv_c_restrict_arr" = yes; then |
| 13370 | 25833 | ||
| 13371 | $as_echo "#define __restrict_arr __restrict" >>confdefs.h | 25834 | cat >>confdefs.h <<\_ACEOF |
| 25835 | #define __restrict_arr __restrict | ||
| 25836 | _ACEOF | ||
| 13372 | 25837 | ||
| 13373 | fi | 25838 | fi |
| 13374 | 25839 | ||
| @@ -13382,10 +25847,12 @@ CPPFLAGS="$REAL_CPPFLAGS" | |||
| 13382 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 25847 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
| 13383 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 25848 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
| 13384 | if test x"${version}" = x; then | 25849 | if test x"${version}" = x; then |
| 13385 | as_fn_error "can't find current emacs version in \`${srcdir}/lisp/version.el'." "$LINENO" 5 | 25850 | { { $as_echo "$as_me:$LINENO: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
| 25851 | $as_echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | ||
| 25852 | { (exit 1); exit 1; }; } | ||
| 13386 | fi | 25853 | fi |
| 13387 | if test x"${version}" != x"$PACKAGE_VERSION"; then | 25854 | if test x"${version}" != x"$PACKAGE_VERSION"; then |
| 13388 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 | 25855 | { $as_echo "$as_me:$LINENO: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&5 |
| 13389 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} | 25856 | $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/lisp/version.el'." >&2;} |
| 13390 | fi | 25857 | fi |
| 13391 | 25858 | ||
| @@ -13436,6 +25903,7 @@ fi | |||
| 13436 | 25903 | ||
| 13437 | 25904 | ||
| 13438 | 25905 | ||
| 25906 | |||
| 13439 | cat >>confdefs.h <<_ACEOF | 25907 | cat >>confdefs.h <<_ACEOF |
| 13440 | #define EMACS_CONFIGURATION "${canonical}" | 25908 | #define EMACS_CONFIGURATION "${canonical}" |
| 13441 | _ACEOF | 25909 | _ACEOF |
| @@ -13475,7 +25943,9 @@ XMENU_OBJ= | |||
| 13475 | XOBJ= | 25943 | XOBJ= |
| 13476 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 25944 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 13477 | 25945 | ||
| 13478 | $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h | 25946 | cat >>confdefs.h <<\_ACEOF |
| 25947 | #define HAVE_X_WINDOWS 1 | ||
| 25948 | _ACEOF | ||
| 13479 | 25949 | ||
| 13480 | XMENU_OBJ=xmenu.o | 25950 | XMENU_OBJ=xmenu.o |
| 13481 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 25951 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
| @@ -13487,43 +25957,59 @@ WIDGET_OBJ= | |||
| 13487 | if test "${USE_X_TOOLKIT}" != "none" ; then | 25957 | if test "${USE_X_TOOLKIT}" != "none" ; then |
| 13488 | WIDGET_OBJ=widget.o | 25958 | WIDGET_OBJ=widget.o |
| 13489 | 25959 | ||
| 13490 | $as_echo "#define USE_X_TOOLKIT 1" >>confdefs.h | 25960 | cat >>confdefs.h <<\_ACEOF |
| 25961 | #define USE_X_TOOLKIT 1 | ||
| 25962 | _ACEOF | ||
| 13491 | 25963 | ||
| 13492 | if test "${USE_X_TOOLKIT}" = "LUCID"; then | 25964 | if test "${USE_X_TOOLKIT}" = "LUCID"; then |
| 13493 | 25965 | ||
| 13494 | $as_echo "#define USE_LUCID 1" >>confdefs.h | 25966 | cat >>confdefs.h <<\_ACEOF |
| 25967 | #define USE_LUCID 1 | ||
| 25968 | _ACEOF | ||
| 13495 | 25969 | ||
| 13496 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then | 25970 | elif test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 13497 | 25971 | ||
| 13498 | $as_echo "#define USE_MOTIF 1" >>confdefs.h | 25972 | cat >>confdefs.h <<\_ACEOF |
| 25973 | #define USE_MOTIF 1 | ||
| 25974 | _ACEOF | ||
| 13499 | 25975 | ||
| 13500 | fi | 25976 | fi |
| 13501 | fi | 25977 | fi |
| 13502 | 25978 | ||
| 13503 | if test "${HAVE_X11}" = "yes" ; then | 25979 | if test "${HAVE_X11}" = "yes" ; then |
| 13504 | 25980 | ||
| 13505 | $as_echo "#define HAVE_X11 1" >>confdefs.h | 25981 | cat >>confdefs.h <<\_ACEOF |
| 25982 | #define HAVE_X11 1 | ||
| 25983 | _ACEOF | ||
| 13506 | 25984 | ||
| 13507 | fi | 25985 | fi |
| 13508 | if test "${HAVE_MENUS}" = "yes" ; then | 25986 | if test "${HAVE_MENUS}" = "yes" ; then |
| 13509 | 25987 | ||
| 13510 | $as_echo "#define HAVE_MENUS 1" >>confdefs.h | 25988 | cat >>confdefs.h <<\_ACEOF |
| 25989 | #define HAVE_MENUS 1 | ||
| 25990 | _ACEOF | ||
| 13511 | 25991 | ||
| 13512 | fi | 25992 | fi |
| 13513 | if test "${GNU_MALLOC}" = "yes" ; then | 25993 | if test "${GNU_MALLOC}" = "yes" ; then |
| 13514 | 25994 | ||
| 13515 | $as_echo "#define GNU_MALLOC 1" >>confdefs.h | 25995 | cat >>confdefs.h <<\_ACEOF |
| 25996 | #define GNU_MALLOC 1 | ||
| 25997 | _ACEOF | ||
| 13516 | 25998 | ||
| 13517 | fi | 25999 | fi |
| 13518 | if test "${REL_ALLOC}" = "yes" ; then | 26000 | if test "${REL_ALLOC}" = "yes" ; then |
| 13519 | 26001 | ||
| 13520 | $as_echo "#define REL_ALLOC 1" >>confdefs.h | 26002 | cat >>confdefs.h <<\_ACEOF |
| 26003 | #define REL_ALLOC 1 | ||
| 26004 | _ACEOF | ||
| 13521 | 26005 | ||
| 13522 | fi | 26006 | fi |
| 13523 | 26007 | ||
| 13524 | 26008 | ||
| 13525 | 26009 | ||
| 13526 | 26010 | ||
| 26011 | |||
| 26012 | |||
| 13527 | #### Report on what we decided to do. | 26013 | #### Report on what we decided to do. |
| 13528 | #### Report GTK as a toolkit, even if it doesn't use Xt. | 26014 | #### Report GTK as a toolkit, even if it doesn't use Xt. |
| 13529 | #### It makes printing result more understandable as using GTK sets | 26015 | #### It makes printing result more understandable as using GTK sets |
| @@ -13625,12 +26111,16 @@ cpp_undefs="`echo $srcdir $configuration $canonical unix | | |||
| 13625 | ## from Makefile.c can correctly provide the arg `-traditional' to the | 26111 | ## from Makefile.c can correctly provide the arg `-traditional' to the |
| 13626 | ## C preprocessor. | 26112 | ## C preprocessor. |
| 13627 | 26113 | ||
| 13628 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26114 | cat >conftest.$ac_ext <<_ACEOF |
| 26115 | /* confdefs.h. */ | ||
| 26116 | _ACEOF | ||
| 26117 | cat confdefs.h >>conftest.$ac_ext | ||
| 26118 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13629 | /* end confdefs.h. */ | 26119 | /* end confdefs.h. */ |
| 13630 | yes..yes | 26120 | yes..yes |
| 13631 | _ACEOF | 26121 | _ACEOF |
| 13632 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 26122 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 13633 | $EGREP "yes..yes" >/dev/null 2>&1; then : | 26123 | $EGREP "yes..yes" >/dev/null 2>&1; then |
| 13634 | CPP_NEED_TRADITIONAL=no | 26124 | CPP_NEED_TRADITIONAL=no |
| 13635 | else | 26125 | else |
| 13636 | CPP_NEED_TRADITIONAL=yes | 26126 | CPP_NEED_TRADITIONAL=yes |
| @@ -13669,13 +26159,13 @@ _ACEOF | |||
| 13669 | case $ac_val in #( | 26159 | case $ac_val in #( |
| 13670 | *${as_nl}*) | 26160 | *${as_nl}*) |
| 13671 | case $ac_var in #( | 26161 | case $ac_var in #( |
| 13672 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 26162 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 13673 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 26163 | $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 13674 | esac | 26164 | esac |
| 13675 | case $ac_var in #( | 26165 | case $ac_var in #( |
| 13676 | _ | IFS | as_nl) ;; #( | 26166 | _ | IFS | as_nl) ;; #( |
| 13677 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 26167 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 13678 | *) { eval $ac_var=; unset $ac_var;} ;; | 26168 | *) $as_unset $ac_var ;; |
| 13679 | esac ;; | 26169 | esac ;; |
| 13680 | esac | 26170 | esac |
| 13681 | done | 26171 | done |
| @@ -13683,8 +26173,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13683 | (set) 2>&1 | | 26173 | (set) 2>&1 | |
| 13684 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 26174 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 13685 | *${as_nl}ac_space=\ *) | 26175 | *${as_nl}ac_space=\ *) |
| 13686 | # `set' does not quote correctly, so add quotes: double-quote | 26176 | # `set' does not quote correctly, so add quotes (double-quote |
| 13687 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 26177 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 13688 | sed -n \ | 26178 | sed -n \ |
| 13689 | "s/'/'\\\\''/g; | 26179 | "s/'/'\\\\''/g; |
| 13690 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 26180 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| @@ -13707,11 +26197,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
| 13707 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 26197 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 13708 | if test -w "$cache_file"; then | 26198 | if test -w "$cache_file"; then |
| 13709 | test "x$cache_file" != "x/dev/null" && | 26199 | test "x$cache_file" != "x/dev/null" && |
| 13710 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 26200 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 13711 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 26201 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
| 13712 | cat confcache >$cache_file | 26202 | cat confcache >$cache_file |
| 13713 | else | 26203 | else |
| 13714 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 26204 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 13715 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 26205 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 13716 | fi | 26206 | fi |
| 13717 | fi | 26207 | fi |
| @@ -13731,8 +26221,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |||
| 13731 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 26221 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 13732 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 26222 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 13733 | # will be set to the directory where LIBOBJS objects are built. | 26223 | # will be set to the directory where LIBOBJS objects are built. |
| 13734 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 26224 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 13735 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 26225 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 13736 | done | 26226 | done |
| 13737 | LIBOBJS=$ac_libobjs | 26227 | LIBOBJS=$ac_libobjs |
| 13738 | 26228 | ||
| @@ -13744,10 +26234,9 @@ LTLIBOBJS=$ac_ltlibobjs | |||
| 13744 | ac_write_fail=0 | 26234 | ac_write_fail=0 |
| 13745 | ac_clean_files_save=$ac_clean_files | 26235 | ac_clean_files_save=$ac_clean_files |
| 13746 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 26236 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 13747 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 26237 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| 13748 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 26238 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 13749 | as_write_fail=0 | 26239 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 13750 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
| 13751 | #! $SHELL | 26240 | #! $SHELL |
| 13752 | # Generated by $as_me. | 26241 | # Generated by $as_me. |
| 13753 | # Run this file to recreate the current configuration. | 26242 | # Run this file to recreate the current configuration. |
| @@ -13757,18 +26246,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |||
| 13757 | debug=false | 26246 | debug=false |
| 13758 | ac_cs_recheck=false | 26247 | ac_cs_recheck=false |
| 13759 | ac_cs_silent=false | 26248 | ac_cs_silent=false |
| 13760 | |||
| 13761 | SHELL=\${CONFIG_SHELL-$SHELL} | 26249 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 13762 | export SHELL | 26250 | _ACEOF |
| 13763 | _ASEOF | 26251 | |
| 13764 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 26252 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 13765 | ## -------------------- ## | 26253 | ## --------------------- ## |
| 13766 | ## M4sh Initialization. ## | 26254 | ## M4sh Initialization. ## |
| 13767 | ## -------------------- ## | 26255 | ## --------------------- ## |
| 13768 | 26256 | ||
| 13769 | # Be more Bourne compatible | 26257 | # Be more Bourne compatible |
| 13770 | DUALCASE=1; export DUALCASE # for MKS sh | 26258 | DUALCASE=1; export DUALCASE # for MKS sh |
| 13771 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 26259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 13772 | emulate sh | 26260 | emulate sh |
| 13773 | NULLCMD=: | 26261 | NULLCMD=: |
| 13774 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 26262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| @@ -13776,15 +26264,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |||
| 13776 | alias -g '${1+"$@"}'='"$@"' | 26264 | alias -g '${1+"$@"}'='"$@"' |
| 13777 | setopt NO_GLOB_SUBST | 26265 | setopt NO_GLOB_SUBST |
| 13778 | else | 26266 | else |
| 13779 | case `(set -o) 2>/dev/null` in #( | 26267 | case `(set -o) 2>/dev/null` in |
| 13780 | *posix*) : | 26268 | *posix*) set -o posix ;; |
| 13781 | set -o posix ;; #( | ||
| 13782 | *) : | ||
| 13783 | ;; | ||
| 13784 | esac | 26269 | esac |
| 26270 | |||
| 13785 | fi | 26271 | fi |
| 13786 | 26272 | ||
| 13787 | 26273 | ||
| 26274 | |||
| 26275 | |||
| 26276 | # PATH needs CR | ||
| 26277 | # Avoid depending upon Character Ranges. | ||
| 26278 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 26279 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 26280 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 26281 | as_cr_digits='0123456789' | ||
| 26282 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 26283 | |||
| 13788 | as_nl=' | 26284 | as_nl=' |
| 13789 | ' | 26285 | ' |
| 13790 | export as_nl | 26286 | export as_nl |
| @@ -13792,13 +26288,7 @@ export as_nl | |||
| 13792 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 26288 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 13793 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 26289 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13794 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 26290 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 13795 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 26291 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 13796 | # but without wasting forks for bash or zsh. | ||
| 13797 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
| 13798 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13799 | as_echo='print -r --' | ||
| 13800 | as_echo_n='print -rn --' | ||
| 13801 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
| 13802 | as_echo='printf %s\n' | 26292 | as_echo='printf %s\n' |
| 13803 | as_echo_n='printf %s' | 26293 | as_echo_n='printf %s' |
| 13804 | else | 26294 | else |
| @@ -13809,7 +26299,7 @@ else | |||
| 13809 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 26299 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 13810 | as_echo_n_body='eval | 26300 | as_echo_n_body='eval |
| 13811 | arg=$1; | 26301 | arg=$1; |
| 13812 | case $arg in #( | 26302 | case $arg in |
| 13813 | *"$as_nl"*) | 26303 | *"$as_nl"*) |
| 13814 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 26304 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 13815 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 26305 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| @@ -13832,6 +26322,13 @@ if test "${PATH_SEPARATOR+set}" != set; then | |||
| 13832 | } | 26322 | } |
| 13833 | fi | 26323 | fi |
| 13834 | 26324 | ||
| 26325 | # Support unset when possible. | ||
| 26326 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
| 26327 | as_unset=unset | ||
| 26328 | else | ||
| 26329 | as_unset=false | ||
| 26330 | fi | ||
| 26331 | |||
| 13835 | 26332 | ||
| 13836 | # IFS | 26333 | # IFS |
| 13837 | # We need space, tab and new line, in precisely that order. Quoting is | 26334 | # We need space, tab and new line, in precisely that order. Quoting is |
| @@ -13841,15 +26338,15 @@ fi | |||
| 13841 | IFS=" "" $as_nl" | 26338 | IFS=" "" $as_nl" |
| 13842 | 26339 | ||
| 13843 | # Find who we are. Look in the path if we contain no directory separator. | 26340 | # Find who we are. Look in the path if we contain no directory separator. |
| 13844 | case $0 in #(( | 26341 | case $0 in |
| 13845 | *[\\/]* ) as_myself=$0 ;; | 26342 | *[\\/]* ) as_myself=$0 ;; |
| 13846 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26343 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13847 | for as_dir in $PATH | 26344 | for as_dir in $PATH |
| 13848 | do | 26345 | do |
| 13849 | IFS=$as_save_IFS | 26346 | IFS=$as_save_IFS |
| 13850 | test -z "$as_dir" && as_dir=. | 26347 | test -z "$as_dir" && as_dir=. |
| 13851 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26348 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 13852 | done | 26349 | done |
| 13853 | IFS=$as_save_IFS | 26350 | IFS=$as_save_IFS |
| 13854 | 26351 | ||
| 13855 | ;; | 26352 | ;; |
| @@ -13861,16 +26358,12 @@ if test "x$as_myself" = x; then | |||
| 13861 | fi | 26358 | fi |
| 13862 | if test ! -f "$as_myself"; then | 26359 | if test ! -f "$as_myself"; then |
| 13863 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 26360 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 13864 | exit 1 | 26361 | { (exit 1); exit 1; } |
| 13865 | fi | 26362 | fi |
| 13866 | 26363 | ||
| 13867 | # Unset variables that we do not need and which cause bugs (e.g. in | 26364 | # Work around bugs in pre-3.0 UWIN ksh. |
| 13868 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 26365 | for as_var in ENV MAIL MAILPATH |
| 13869 | # suppresses any "Segmentation fault" message there. '((' could | 26366 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 13870 | # trigger a bug in pdksh 5.2.14. | ||
| 13871 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
| 13872 | do eval test x\${$as_var+set} = xset \ | ||
| 13873 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
| 13874 | done | 26367 | done |
| 13875 | PS1='$ ' | 26368 | PS1='$ ' |
| 13876 | PS2='> ' | 26369 | PS2='> ' |
| @@ -13882,89 +26375,7 @@ export LC_ALL | |||
| 13882 | LANGUAGE=C | 26375 | LANGUAGE=C |
| 13883 | export LANGUAGE | 26376 | export LANGUAGE |
| 13884 | 26377 | ||
| 13885 | # CDPATH. | 26378 | # Required to use basename. |
| 13886 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
| 13887 | |||
| 13888 | |||
| 13889 | # as_fn_error ERROR [LINENO LOG_FD] | ||
| 13890 | # --------------------------------- | ||
| 13891 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
| 13892 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
| 13893 | # script with status $?, using 1 if that was 0. | ||
| 13894 | as_fn_error () | ||
| 13895 | { | ||
| 13896 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
| 13897 | if test "$3"; then | ||
| 13898 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
| 13899 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
| 13900 | fi | ||
| 13901 | $as_echo "$as_me: error: $1" >&2 | ||
| 13902 | as_fn_exit $as_status | ||
| 13903 | } # as_fn_error | ||
| 13904 | |||
| 13905 | |||
| 13906 | # as_fn_set_status STATUS | ||
| 13907 | # ----------------------- | ||
| 13908 | # Set $? to STATUS, without forking. | ||
| 13909 | as_fn_set_status () | ||
| 13910 | { | ||
| 13911 | return $1 | ||
| 13912 | } # as_fn_set_status | ||
| 13913 | |||
| 13914 | # as_fn_exit STATUS | ||
| 13915 | # ----------------- | ||
| 13916 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
| 13917 | as_fn_exit () | ||
| 13918 | { | ||
| 13919 | set +e | ||
| 13920 | as_fn_set_status $1 | ||
| 13921 | exit $1 | ||
| 13922 | } # as_fn_exit | ||
| 13923 | |||
| 13924 | # as_fn_unset VAR | ||
| 13925 | # --------------- | ||
| 13926 | # Portably unset VAR. | ||
| 13927 | as_fn_unset () | ||
| 13928 | { | ||
| 13929 | { eval $1=; unset $1;} | ||
| 13930 | } | ||
| 13931 | as_unset=as_fn_unset | ||
| 13932 | # as_fn_append VAR VALUE | ||
| 13933 | # ---------------------- | ||
| 13934 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
| 13935 | # advantage of any shell optimizations that allow amortized linear growth over | ||
| 13936 | # repeated appends, instead of the typical quadratic growth present in naive | ||
| 13937 | # implementations. | ||
| 13938 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
| 13939 | eval 'as_fn_append () | ||
| 13940 | { | ||
| 13941 | eval $1+=\$2 | ||
| 13942 | }' | ||
| 13943 | else | ||
| 13944 | as_fn_append () | ||
| 13945 | { | ||
| 13946 | eval $1=\$$1\$2 | ||
| 13947 | } | ||
| 13948 | fi # as_fn_append | ||
| 13949 | |||
| 13950 | # as_fn_arith ARG... | ||
| 13951 | # ------------------ | ||
| 13952 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
| 13953 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
| 13954 | # must be portable across $(()) and expr. | ||
| 13955 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
| 13956 | eval 'as_fn_arith () | ||
| 13957 | { | ||
| 13958 | as_val=$(( $* )) | ||
| 13959 | }' | ||
| 13960 | else | ||
| 13961 | as_fn_arith () | ||
| 13962 | { | ||
| 13963 | as_val=`expr "$@" || test $? -eq 1` | ||
| 13964 | } | ||
| 13965 | fi # as_fn_arith | ||
| 13966 | |||
| 13967 | |||
| 13968 | if expr a : '\(a\)' >/dev/null 2>&1 && | 26379 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 13969 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 26380 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 13970 | as_expr=expr | 26381 | as_expr=expr |
| @@ -13978,12 +26389,8 @@ else | |||
| 13978 | as_basename=false | 26389 | as_basename=false |
| 13979 | fi | 26390 | fi |
| 13980 | 26391 | ||
| 13981 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 13982 | as_dirname=dirname | ||
| 13983 | else | ||
| 13984 | as_dirname=false | ||
| 13985 | fi | ||
| 13986 | 26392 | ||
| 26393 | # Name of the executable. | ||
| 13987 | as_me=`$as_basename -- "$0" || | 26394 | as_me=`$as_basename -- "$0" || |
| 13988 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 26395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 13989 | X"$0" : 'X\(//\)$' \| \ | 26396 | X"$0" : 'X\(//\)$' \| \ |
| @@ -14003,25 +26410,76 @@ $as_echo X/"$0" | | |||
| 14003 | } | 26410 | } |
| 14004 | s/.*/./; q'` | 26411 | s/.*/./; q'` |
| 14005 | 26412 | ||
| 14006 | # Avoid depending upon Character Ranges. | 26413 | # CDPATH. |
| 14007 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 26414 | $as_unset CDPATH |
| 14008 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 26415 | |
| 14009 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 26416 | |
| 14010 | as_cr_digits='0123456789' | 26417 | |
| 14011 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 26418 | as_lineno_1=$LINENO |
| 26419 | as_lineno_2=$LINENO | ||
| 26420 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 26421 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 26422 | |||
| 26423 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
| 26424 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
| 26425 | # line-number line after each line using $LINENO; the second 'sed' | ||
| 26426 | # does the real work. The second script uses 'N' to pair each | ||
| 26427 | # line-number line with the line containing $LINENO, and appends | ||
| 26428 | # trailing '-' during substitution so that $LINENO is not a special | ||
| 26429 | # case at line end. | ||
| 26430 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
| 26431 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
| 26432 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
| 26433 | sed -n ' | ||
| 26434 | p | ||
| 26435 | /[$]LINENO/= | ||
| 26436 | ' <$as_myself | | ||
| 26437 | sed ' | ||
| 26438 | s/[$]LINENO.*/&-/ | ||
| 26439 | t lineno | ||
| 26440 | b | ||
| 26441 | :lineno | ||
| 26442 | N | ||
| 26443 | :loop | ||
| 26444 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
| 26445 | t loop | ||
| 26446 | s/-\n.*// | ||
| 26447 | ' >$as_me.lineno && | ||
| 26448 | chmod +x "$as_me.lineno" || | ||
| 26449 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
| 26450 | { (exit 1); exit 1; }; } | ||
| 26451 | |||
| 26452 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
| 26453 | # (the dirname of $[0] is not the place where we might find the | ||
| 26454 | # original and so on. Autoconf is especially sensitive to this). | ||
| 26455 | . "./$as_me.lineno" | ||
| 26456 | # Exit status is that of the last command. | ||
| 26457 | exit | ||
| 26458 | } | ||
| 26459 | |||
| 26460 | |||
| 26461 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
| 26462 | as_dirname=dirname | ||
| 26463 | else | ||
| 26464 | as_dirname=false | ||
| 26465 | fi | ||
| 14012 | 26466 | ||
| 14013 | ECHO_C= ECHO_N= ECHO_T= | 26467 | ECHO_C= ECHO_N= ECHO_T= |
| 14014 | case `echo -n x` in #((((( | 26468 | case `echo -n x` in |
| 14015 | -n*) | 26469 | -n*) |
| 14016 | case `echo 'xy\c'` in | 26470 | case `echo 'x\c'` in |
| 14017 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 26471 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 14018 | xy) ECHO_C='\c';; | 26472 | *) ECHO_C='\c';; |
| 14019 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
| 14020 | ECHO_T=' ';; | ||
| 14021 | esac;; | 26473 | esac;; |
| 14022 | *) | 26474 | *) |
| 14023 | ECHO_N='-n';; | 26475 | ECHO_N='-n';; |
| 14024 | esac | 26476 | esac |
| 26477 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
| 26478 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 26479 | as_expr=expr | ||
| 26480 | else | ||
| 26481 | as_expr=false | ||
| 26482 | fi | ||
| 14025 | 26483 | ||
| 14026 | rm -f conf$$ conf$$.exe conf$$.file | 26484 | rm -f conf$$ conf$$.exe conf$$.file |
| 14027 | if test -d conf$$.dir; then | 26485 | if test -d conf$$.dir; then |
| @@ -14050,56 +26508,8 @@ fi | |||
| 14050 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 26508 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 14051 | rmdir conf$$.dir 2>/dev/null | 26509 | rmdir conf$$.dir 2>/dev/null |
| 14052 | 26510 | ||
| 14053 | |||
| 14054 | # as_fn_mkdir_p | ||
| 14055 | # ------------- | ||
| 14056 | # Create "$as_dir" as a directory, including parents if necessary. | ||
| 14057 | as_fn_mkdir_p () | ||
| 14058 | { | ||
| 14059 | |||
| 14060 | case $as_dir in #( | ||
| 14061 | -*) as_dir=./$as_dir;; | ||
| 14062 | esac | ||
| 14063 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
| 14064 | as_dirs= | ||
| 14065 | while :; do | ||
| 14066 | case $as_dir in #( | ||
| 14067 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 14068 | *) as_qdir=$as_dir;; | ||
| 14069 | esac | ||
| 14070 | as_dirs="'$as_qdir' $as_dirs" | ||
| 14071 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 14072 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 14073 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 14074 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 14075 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 14076 | $as_echo X"$as_dir" | | ||
| 14077 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 14078 | s//\1/ | ||
| 14079 | q | ||
| 14080 | } | ||
| 14081 | /^X\(\/\/\)[^/].*/{ | ||
| 14082 | s//\1/ | ||
| 14083 | q | ||
| 14084 | } | ||
| 14085 | /^X\(\/\/\)$/{ | ||
| 14086 | s//\1/ | ||
| 14087 | q | ||
| 14088 | } | ||
| 14089 | /^X\(\/\).*/{ | ||
| 14090 | s//\1/ | ||
| 14091 | q | ||
| 14092 | } | ||
| 14093 | s/.*/./; q'` | ||
| 14094 | test -d "$as_dir" && break | ||
| 14095 | done | ||
| 14096 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 14097 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
| 14098 | |||
| 14099 | |||
| 14100 | } # as_fn_mkdir_p | ||
| 14101 | if mkdir -p . 2>/dev/null; then | 26511 | if mkdir -p . 2>/dev/null; then |
| 14102 | as_mkdir_p='mkdir -p "$as_dir"' | 26512 | as_mkdir_p=: |
| 14103 | else | 26513 | else |
| 14104 | test -d ./-p && rmdir ./-p | 26514 | test -d ./-p && rmdir ./-p |
| 14105 | as_mkdir_p=false | 26515 | as_mkdir_p=false |
| @@ -14118,10 +26528,10 @@ else | |||
| 14118 | if test -d "$1"; then | 26528 | if test -d "$1"; then |
| 14119 | test -d "$1/."; | 26529 | test -d "$1/."; |
| 14120 | else | 26530 | else |
| 14121 | case $1 in #( | 26531 | case $1 in |
| 14122 | -*)set "./$1";; | 26532 | -*)set "./$1";; |
| 14123 | esac; | 26533 | esac; |
| 14124 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 26534 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 14125 | ???[sx]*):;;*)false;;esac;fi | 26535 | ???[sx]*):;;*)false;;esac;fi |
| 14126 | '\'' sh | 26536 | '\'' sh |
| 14127 | ' | 26537 | ' |
| @@ -14136,19 +26546,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
| 14136 | 26546 | ||
| 14137 | 26547 | ||
| 14138 | exec 6>&1 | 26548 | exec 6>&1 |
| 14139 | ## ----------------------------------- ## | ||
| 14140 | ## Main body of $CONFIG_STATUS script. ## | ||
| 14141 | ## ----------------------------------- ## | ||
| 14142 | _ASEOF | ||
| 14143 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
| 14144 | 26549 | ||
| 14145 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26550 | # Save the log message, to keep $[0] and so on meaningful, and to |
| 14146 | # Save the log message, to keep $0 and so on meaningful, and to | ||
| 14147 | # report actual input values of CONFIG_FILES etc. instead of their | 26551 | # report actual input values of CONFIG_FILES etc. instead of their |
| 14148 | # values after options handling. | 26552 | # values after options handling. |
| 14149 | ac_log=" | 26553 | ac_log=" |
| 14150 | This file was extended by emacs $as_me 24.0.50, which was | 26554 | This file was extended by emacs $as_me 24.0.50, which was |
| 14151 | generated by GNU Autoconf 2.65. Invocation command line was | 26555 | generated by GNU Autoconf 2.62. Invocation command line was |
| 14152 | 26556 | ||
| 14153 | CONFIG_FILES = $CONFIG_FILES | 26557 | CONFIG_FILES = $CONFIG_FILES |
| 14154 | CONFIG_HEADERS = $CONFIG_HEADERS | 26558 | CONFIG_HEADERS = $CONFIG_HEADERS |
| @@ -14161,15 +26565,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
| 14161 | 26565 | ||
| 14162 | _ACEOF | 26566 | _ACEOF |
| 14163 | 26567 | ||
| 14164 | case $ac_config_files in *" | ||
| 14165 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
| 14166 | esac | ||
| 14167 | |||
| 14168 | case $ac_config_headers in *" | ||
| 14169 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
| 14170 | esac | ||
| 14171 | |||
| 14172 | |||
| 14173 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26568 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14174 | # Files that config.status was made for. | 26569 | # Files that config.status was made for. |
| 14175 | config_files="$ac_config_files" | 26570 | config_files="$ac_config_files" |
| @@ -14180,22 +26575,19 @@ _ACEOF | |||
| 14180 | 26575 | ||
| 14181 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 26576 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14182 | ac_cs_usage="\ | 26577 | ac_cs_usage="\ |
| 14183 | \`$as_me' instantiates files and other configuration actions | 26578 | \`$as_me' instantiates files from templates according to the |
| 14184 | from templates according to the current configuration. Unless the files | 26579 | current configuration. |
| 14185 | and actions are specified as TAGs, all are instantiated by default. | ||
| 14186 | 26580 | ||
| 14187 | Usage: $0 [OPTION]... [TAG]... | 26581 | Usage: $0 [OPTIONS] [FILE]... |
| 14188 | 26582 | ||
| 14189 | -h, --help print this help, then exit | 26583 | -h, --help print this help, then exit |
| 14190 | -V, --version print version number and configuration settings, then exit | 26584 | -V, --version print version number and configuration settings, then exit |
| 14191 | --config print configuration, then exit | 26585 | -q, --quiet do not print progress messages |
| 14192 | -q, --quiet, --silent | ||
| 14193 | do not print progress messages | ||
| 14194 | -d, --debug don't remove temporary files | 26586 | -d, --debug don't remove temporary files |
| 14195 | --recheck update $as_me by reconfiguring in the same conditions | 26587 | --recheck update $as_me by reconfiguring in the same conditions |
| 14196 | --file=FILE[:TEMPLATE] | 26588 | --file=FILE[:TEMPLATE] |
| 14197 | instantiate the configuration file FILE | 26589 | instantiate the configuration file FILE |
| 14198 | --header=FILE[:TEMPLATE] | 26590 | --header=FILE[:TEMPLATE] |
| 14199 | instantiate the configuration header FILE | 26591 | instantiate the configuration header FILE |
| 14200 | 26592 | ||
| 14201 | Configuration files: | 26593 | Configuration files: |
| @@ -14207,17 +26599,16 @@ $config_headers | |||
| 14207 | Configuration commands: | 26599 | Configuration commands: |
| 14208 | $config_commands | 26600 | $config_commands |
| 14209 | 26601 | ||
| 14210 | Report bugs to the package provider." | 26602 | Report bugs to <bug-autoconf@gnu.org>." |
| 14211 | 26603 | ||
| 14212 | _ACEOF | 26604 | _ACEOF |
| 14213 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 26605 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 14214 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
| 14215 | ac_cs_version="\\ | 26606 | ac_cs_version="\\ |
| 14216 | emacs config.status 24.0.50 | 26607 | emacs config.status 24.0.50 |
| 14217 | configured by $0, generated by GNU Autoconf 2.65, | 26608 | configured by $0, generated by GNU Autoconf 2.62, |
| 14218 | with options \\"\$ac_cs_config\\" | 26609 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14219 | 26610 | ||
| 14220 | Copyright (C) 2009 Free Software Foundation, Inc. | 26611 | Copyright (C) 2008 Free Software Foundation, Inc. |
| 14221 | This config.status script is free software; the Free Software Foundation | 26612 | This config.status script is free software; the Free Software Foundation |
| 14222 | gives unlimited permission to copy, distribute and modify it." | 26613 | gives unlimited permission to copy, distribute and modify it." |
| 14223 | 26614 | ||
| @@ -14251,8 +26642,6 @@ do | |||
| 14251 | ac_cs_recheck=: ;; | 26642 | ac_cs_recheck=: ;; |
| 14252 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 26643 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14253 | $as_echo "$ac_cs_version"; exit ;; | 26644 | $as_echo "$ac_cs_version"; exit ;; |
| 14254 | --config | --confi | --conf | --con | --co | --c ) | ||
| 14255 | $as_echo "$ac_cs_config"; exit ;; | ||
| 14256 | --debug | --debu | --deb | --de | --d | -d ) | 26645 | --debug | --debu | --deb | --de | --d | -d ) |
| 14257 | debug=: ;; | 26646 | debug=: ;; |
| 14258 | --file | --fil | --fi | --f ) | 26647 | --file | --fil | --fi | --f ) |
| @@ -14260,19 +26649,20 @@ do | |||
| 14260 | case $ac_optarg in | 26649 | case $ac_optarg in |
| 14261 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26650 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14262 | esac | 26651 | esac |
| 14263 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 26652 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| 14264 | ac_need_defaults=false;; | 26653 | ac_need_defaults=false;; |
| 14265 | --header | --heade | --head | --hea ) | 26654 | --header | --heade | --head | --hea ) |
| 14266 | $ac_shift | 26655 | $ac_shift |
| 14267 | case $ac_optarg in | 26656 | case $ac_optarg in |
| 14268 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 26657 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 14269 | esac | 26658 | esac |
| 14270 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 26659 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
| 14271 | ac_need_defaults=false;; | 26660 | ac_need_defaults=false;; |
| 14272 | --he | --h) | 26661 | --he | --h) |
| 14273 | # Conflict between --help and --header | 26662 | # Conflict between --help and --header |
| 14274 | as_fn_error "ambiguous option: \`$1' | 26663 | { $as_echo "$as_me: error: ambiguous option: $1 |
| 14275 | Try \`$0 --help' for more information.";; | 26664 | Try \`$0 --help' for more information." >&2 |
| 26665 | { (exit 1); exit 1; }; };; | ||
| 14276 | --help | --hel | -h ) | 26666 | --help | --hel | -h ) |
| 14277 | $as_echo "$ac_cs_usage"; exit ;; | 26667 | $as_echo "$ac_cs_usage"; exit ;; |
| 14278 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 26668 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| @@ -14280,10 +26670,11 @@ Try \`$0 --help' for more information.";; | |||
| 14280 | ac_cs_silent=: ;; | 26670 | ac_cs_silent=: ;; |
| 14281 | 26671 | ||
| 14282 | # This is an error. | 26672 | # This is an error. |
| 14283 | -*) as_fn_error "unrecognized option: \`$1' | 26673 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
| 14284 | Try \`$0 --help' for more information." ;; | 26674 | Try \`$0 --help' for more information." >&2 |
| 26675 | { (exit 1); exit 1; }; } ;; | ||
| 14285 | 26676 | ||
| 14286 | *) as_fn_append ac_config_targets " $1" | 26677 | *) ac_config_targets="$ac_config_targets $1" |
| 14287 | ac_need_defaults=false ;; | 26678 | ac_need_defaults=false ;; |
| 14288 | 26679 | ||
| 14289 | esac | 26680 | esac |
| @@ -14348,7 +26739,9 @@ do | |||
| 14348 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 26739 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 14349 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 26740 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
| 14350 | 26741 | ||
| 14351 | *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 26742 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 26743 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
| 26744 | { (exit 1); exit 1; }; };; | ||
| 14352 | esac | 26745 | esac |
| 14353 | done | 26746 | done |
| 14354 | 26747 | ||
| @@ -14375,7 +26768,7 @@ $debug || | |||
| 14375 | trap 'exit_status=$? | 26768 | trap 'exit_status=$? |
| 14376 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 26769 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 14377 | ' 0 | 26770 | ' 0 |
| 14378 | trap 'as_fn_exit 1' 1 2 13 15 | 26771 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 14379 | } | 26772 | } |
| 14380 | # Create a (secure) tmp directory for tmp files. | 26773 | # Create a (secure) tmp directory for tmp files. |
| 14381 | 26774 | ||
| @@ -14386,7 +26779,11 @@ $debug || | |||
| 14386 | { | 26779 | { |
| 14387 | tmp=./conf$$-$RANDOM | 26780 | tmp=./conf$$-$RANDOM |
| 14388 | (umask 077 && mkdir "$tmp") | 26781 | (umask 077 && mkdir "$tmp") |
| 14389 | } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | 26782 | } || |
| 26783 | { | ||
| 26784 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 | ||
| 26785 | { (exit 1); exit 1; } | ||
| 26786 | } | ||
| 14390 | 26787 | ||
| 14391 | # Set up the scripts for CONFIG_FILES section. | 26788 | # Set up the scripts for CONFIG_FILES section. |
| 14392 | # No need to generate them if there are no CONFIG_FILES. | 26789 | # No need to generate them if there are no CONFIG_FILES. |
| @@ -14394,16 +26791,10 @@ $debug || | |||
| 14394 | if test -n "$CONFIG_FILES"; then | 26791 | if test -n "$CONFIG_FILES"; then |
| 14395 | 26792 | ||
| 14396 | 26793 | ||
| 14397 | ac_cr=`echo X | tr X '\015'` | 26794 | ac_cr=' ' |
| 14398 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
| 14399 | # But we know of no other shell where ac_cr would be empty at this | ||
| 14400 | # point, so we can use a bashism as a fallback. | ||
| 14401 | if test "x$ac_cr" = x; then | ||
| 14402 | eval ac_cr=\$\'\\r\' | ||
| 14403 | fi | ||
| 14404 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 26795 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 14405 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 26796 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 14406 | ac_cs_awk_cr='\r' | 26797 | ac_cs_awk_cr='\\r' |
| 14407 | else | 26798 | else |
| 14408 | ac_cs_awk_cr=$ac_cr | 26799 | ac_cs_awk_cr=$ac_cr |
| 14409 | fi | 26800 | fi |
| @@ -14417,18 +26808,23 @@ _ACEOF | |||
| 14417 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 26808 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 14418 | echo "_ACEOF" | 26809 | echo "_ACEOF" |
| 14419 | } >conf$$subs.sh || | 26810 | } >conf$$subs.sh || |
| 14420 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26811 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26812 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26813 | { (exit 1); exit 1; }; } | ||
| 14421 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | 26814 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| 14422 | ac_delim='%!_!# ' | 26815 | ac_delim='%!_!# ' |
| 14423 | for ac_last_try in false false false false false :; do | 26816 | for ac_last_try in false false false false false :; do |
| 14424 | . ./conf$$subs.sh || | 26817 | . ./conf$$subs.sh || |
| 14425 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26818 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26819 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26820 | { (exit 1); exit 1; }; } | ||
| 14426 | 26821 | ||
| 14427 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 26822 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then |
| 14428 | if test $ac_delim_n = $ac_delim_num; then | ||
| 14429 | break | 26823 | break |
| 14430 | elif $ac_last_try; then | 26824 | elif $ac_last_try; then |
| 14431 | as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | 26825 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 26826 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 26827 | { (exit 1); exit 1; }; } | ||
| 14432 | else | 26828 | else |
| 14433 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26829 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14434 | fi | 26830 | fi |
| @@ -14450,7 +26846,7 @@ s/'"$ac_delim"'$// | |||
| 14450 | t delim | 26846 | t delim |
| 14451 | :nl | 26847 | :nl |
| 14452 | h | 26848 | h |
| 14453 | s/\(.\{148\}\)..*/\1/ | 26849 | s/\(.\{148\}\).*/\1/ |
| 14454 | t more1 | 26850 | t more1 |
| 14455 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 26851 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 14456 | p | 26852 | p |
| @@ -14464,7 +26860,7 @@ s/.\{148\}// | |||
| 14464 | t nl | 26860 | t nl |
| 14465 | :delim | 26861 | :delim |
| 14466 | h | 26862 | h |
| 14467 | s/\(.\{148\}\)..*/\1/ | 26863 | s/\(.\{148\}\).*/\1/ |
| 14468 | t more2 | 26864 | t more2 |
| 14469 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 26865 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 14470 | p | 26866 | p |
| @@ -14517,7 +26913,9 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |||
| 14517 | else | 26913 | else |
| 14518 | cat | 26914 | cat |
| 14519 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 26915 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| 14520 | || as_fn_error "could not setup config files machinery" "$LINENO" 5 | 26916 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| 26917 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | ||
| 26918 | { (exit 1); exit 1; }; } | ||
| 14521 | _ACEOF | 26919 | _ACEOF |
| 14522 | 26920 | ||
| 14523 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 26921 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
| @@ -14558,7 +26956,9 @@ for ac_last_try in false false :; do | |||
| 14558 | if test -z "$ac_t"; then | 26956 | if test -z "$ac_t"; then |
| 14559 | break | 26957 | break |
| 14560 | elif $ac_last_try; then | 26958 | elif $ac_last_try; then |
| 14561 | as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | 26959 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
| 26960 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | ||
| 26961 | { (exit 1); exit 1; }; } | ||
| 14562 | else | 26962 | else |
| 14563 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 26963 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 14564 | fi | 26964 | fi |
| @@ -14624,9 +27024,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14624 | } | 27024 | } |
| 14625 | split(mac1, mac2, "(") #) | 27025 | split(mac1, mac2, "(") #) |
| 14626 | macro = mac2[1] | 27026 | macro = mac2[1] |
| 14627 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14628 | if (D_is_set[macro]) { | 27027 | if (D_is_set[macro]) { |
| 14629 | # Preserve the white space surrounding the "#". | 27028 | # Preserve the white space surrounding the "#". |
| 27029 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
| 14630 | print prefix "define", macro P[macro] D[macro] | 27030 | print prefix "define", macro P[macro] D[macro] |
| 14631 | next | 27031 | next |
| 14632 | } else { | 27032 | } else { |
| @@ -14634,7 +27034,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14634 | # in the case of _POSIX_SOURCE, which is predefined and required | 27034 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 14635 | # on some systems where configure will not decide to define it. | 27035 | # on some systems where configure will not decide to define it. |
| 14636 | if (defundef == "undef") { | 27036 | if (defundef == "undef") { |
| 14637 | print "/*", prefix defundef, macro, "*/" | 27037 | print "/*", line, "*/" |
| 14638 | next | 27038 | next |
| 14639 | } | 27039 | } |
| 14640 | } | 27040 | } |
| @@ -14643,7 +27043,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14643 | _ACAWK | 27043 | _ACAWK |
| 14644 | _ACEOF | 27044 | _ACEOF |
| 14645 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 27045 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 14646 | as_fn_error "could not setup config headers machinery" "$LINENO" 5 | 27046 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
| 27047 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | ||
| 27048 | { (exit 1); exit 1; }; } | ||
| 14647 | fi # test -n "$CONFIG_HEADERS" | 27049 | fi # test -n "$CONFIG_HEADERS" |
| 14648 | 27050 | ||
| 14649 | 27051 | ||
| @@ -14656,7 +27058,9 @@ do | |||
| 14656 | esac | 27058 | esac |
| 14657 | case $ac_mode$ac_tag in | 27059 | case $ac_mode$ac_tag in |
| 14658 | :[FHL]*:*);; | 27060 | :[FHL]*:*);; |
| 14659 | :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | 27061 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 27062 | $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
| 27063 | { (exit 1); exit 1; }; };; | ||
| 14660 | :[FH]-) ac_tag=-:-;; | 27064 | :[FH]-) ac_tag=-:-;; |
| 14661 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 27065 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 14662 | esac | 27066 | esac |
| @@ -14684,10 +27088,12 @@ do | |||
| 14684 | [\\/$]*) false;; | 27088 | [\\/$]*) false;; |
| 14685 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 27089 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 14686 | esac || | 27090 | esac || |
| 14687 | as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 27091 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 27092 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
| 27093 | { (exit 1); exit 1; }; };; | ||
| 14688 | esac | 27094 | esac |
| 14689 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 27095 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 14690 | as_fn_append ac_file_inputs " '$ac_f'" | 27096 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
| 14691 | done | 27097 | done |
| 14692 | 27098 | ||
| 14693 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 27099 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| @@ -14698,7 +27104,7 @@ do | |||
| 14698 | `' by configure.' | 27104 | `' by configure.' |
| 14699 | if test x"$ac_file" != x-; then | 27105 | if test x"$ac_file" != x-; then |
| 14700 | configure_input="$ac_file. $configure_input" | 27106 | configure_input="$ac_file. $configure_input" |
| 14701 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 27107 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 14702 | $as_echo "$as_me: creating $ac_file" >&6;} | 27108 | $as_echo "$as_me: creating $ac_file" >&6;} |
| 14703 | fi | 27109 | fi |
| 14704 | # Neutralize special characters interpreted by sed in replacement strings. | 27110 | # Neutralize special characters interpreted by sed in replacement strings. |
| @@ -14711,7 +27117,9 @@ $as_echo "$as_me: creating $ac_file" >&6;} | |||
| 14711 | 27117 | ||
| 14712 | case $ac_tag in | 27118 | case $ac_tag in |
| 14713 | *:-:* | *:-) cat >"$tmp/stdin" \ | 27119 | *:-:* | *:-) cat >"$tmp/stdin" \ |
| 14714 | || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | 27120 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27121 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27122 | { (exit 1); exit 1; }; } ;; | ||
| 14715 | esac | 27123 | esac |
| 14716 | ;; | 27124 | ;; |
| 14717 | esac | 27125 | esac |
| @@ -14739,7 +27147,47 @@ $as_echo X"$ac_file" | | |||
| 14739 | q | 27147 | q |
| 14740 | } | 27148 | } |
| 14741 | s/.*/./; q'` | 27149 | s/.*/./; q'` |
| 14742 | as_dir="$ac_dir"; as_fn_mkdir_p | 27150 | { as_dir="$ac_dir" |
| 27151 | case $as_dir in #( | ||
| 27152 | -*) as_dir=./$as_dir;; | ||
| 27153 | esac | ||
| 27154 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
| 27155 | as_dirs= | ||
| 27156 | while :; do | ||
| 27157 | case $as_dir in #( | ||
| 27158 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
| 27159 | *) as_qdir=$as_dir;; | ||
| 27160 | esac | ||
| 27161 | as_dirs="'$as_qdir' $as_dirs" | ||
| 27162 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 27163 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 27164 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 27165 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 27166 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
| 27167 | $as_echo X"$as_dir" | | ||
| 27168 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 27169 | s//\1/ | ||
| 27170 | q | ||
| 27171 | } | ||
| 27172 | /^X\(\/\/\)[^/].*/{ | ||
| 27173 | s//\1/ | ||
| 27174 | q | ||
| 27175 | } | ||
| 27176 | /^X\(\/\/\)$/{ | ||
| 27177 | s//\1/ | ||
| 27178 | q | ||
| 27179 | } | ||
| 27180 | /^X\(\/\).*/{ | ||
| 27181 | s//\1/ | ||
| 27182 | q | ||
| 27183 | } | ||
| 27184 | s/.*/./; q'` | ||
| 27185 | test -d "$as_dir" && break | ||
| 27186 | done | ||
| 27187 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
| 27188 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
| 27189 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
| 27190 | { (exit 1); exit 1; }; }; } | ||
| 14743 | ac_builddir=. | 27191 | ac_builddir=. |
| 14744 | 27192 | ||
| 14745 | case "$ac_dir" in | 27193 | case "$ac_dir" in |
| @@ -14791,6 +27239,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |||
| 14791 | # If the template does not know about datarootdir, expand it. | 27239 | # If the template does not know about datarootdir, expand it. |
| 14792 | # FIXME: This hack should be removed a few years after 2.60. | 27240 | # FIXME: This hack should be removed a few years after 2.60. |
| 14793 | ac_datarootdir_hack=; ac_datarootdir_seen= | 27241 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 27242 | |||
| 14794 | ac_sed_dataroot=' | 27243 | ac_sed_dataroot=' |
| 14795 | /datarootdir/ { | 27244 | /datarootdir/ { |
| 14796 | p | 27245 | p |
| @@ -14800,11 +27249,12 @@ ac_sed_dataroot=' | |||
| 14800 | /@docdir@/p | 27249 | /@docdir@/p |
| 14801 | /@infodir@/p | 27250 | /@infodir@/p |
| 14802 | /@localedir@/p | 27251 | /@localedir@/p |
| 14803 | /@mandir@/p' | 27252 | /@mandir@/p |
| 27253 | ' | ||
| 14804 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 27254 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 14805 | *datarootdir*) ac_datarootdir_seen=yes;; | 27255 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 14806 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 27256 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 14807 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 27257 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 14808 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 27258 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 14809 | _ACEOF | 27259 | _ACEOF |
| 14810 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 27260 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| @@ -14814,7 +27264,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |||
| 14814 | s&@infodir@&$infodir&g | 27264 | s&@infodir@&$infodir&g |
| 14815 | s&@localedir@&$localedir&g | 27265 | s&@localedir@&$localedir&g |
| 14816 | s&@mandir@&$mandir&g | 27266 | s&@mandir@&$mandir&g |
| 14817 | s&\\\${datarootdir}&$datarootdir&g' ;; | 27267 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 14818 | esac | 27268 | esac |
| 14819 | _ACEOF | 27269 | _ACEOF |
| 14820 | 27270 | ||
| @@ -14842,12 +27292,14 @@ s&@INSTALL@&$ac_INSTALL&;t t | |||
| 14842 | $ac_datarootdir_hack | 27292 | $ac_datarootdir_hack |
| 14843 | " | 27293 | " |
| 14844 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | 27294 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| 14845 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27295 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27296 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27297 | { (exit 1); exit 1; }; } | ||
| 14846 | 27298 | ||
| 14847 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 27299 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 14848 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 27300 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 14849 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 27301 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 14850 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27302 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 14851 | which seems to be undefined. Please make sure it is defined." >&5 | 27303 | which seems to be undefined. Please make sure it is defined." >&5 |
| 14852 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 27304 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 14853 | which seems to be undefined. Please make sure it is defined." >&2;} | 27305 | which seems to be undefined. Please make sure it is defined." >&2;} |
| @@ -14857,7 +27309,9 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 14857 | -) cat "$tmp/out" && rm -f "$tmp/out";; | 27309 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
| 14858 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 27310 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| 14859 | esac \ | 27311 | esac \ |
| 14860 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27312 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27313 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27314 | { (exit 1); exit 1; }; } | ||
| 14861 | ;; | 27315 | ;; |
| 14862 | :H) | 27316 | :H) |
| 14863 | # | 27317 | # |
| @@ -14868,23 +27322,29 @@ which seems to be undefined. Please make sure it is defined." >&2;} | |||
| 14868 | $as_echo "/* $configure_input */" \ | 27322 | $as_echo "/* $configure_input */" \ |
| 14869 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 27323 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
| 14870 | } >"$tmp/config.h" \ | 27324 | } >"$tmp/config.h" \ |
| 14871 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27325 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27326 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27327 | { (exit 1); exit 1; }; } | ||
| 14872 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 27328 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
| 14873 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 27329 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 14874 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 27330 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
| 14875 | else | 27331 | else |
| 14876 | rm -f "$ac_file" | 27332 | rm -f "$ac_file" |
| 14877 | mv "$tmp/config.h" "$ac_file" \ | 27333 | mv "$tmp/config.h" "$ac_file" \ |
| 14878 | || as_fn_error "could not create $ac_file" "$LINENO" 5 | 27334 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| 27335 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | ||
| 27336 | { (exit 1); exit 1; }; } | ||
| 14879 | fi | 27337 | fi |
| 14880 | else | 27338 | else |
| 14881 | $as_echo "/* $configure_input */" \ | 27339 | $as_echo "/* $configure_input */" \ |
| 14882 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 27340 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
| 14883 | || as_fn_error "could not create -" "$LINENO" 5 | 27341 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
| 27342 | $as_echo "$as_me: error: could not create -" >&2;} | ||
| 27343 | { (exit 1); exit 1; }; } | ||
| 14884 | fi | 27344 | fi |
| 14885 | ;; | 27345 | ;; |
| 14886 | 27346 | ||
| 14887 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 27347 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
| 14888 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 27348 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
| 14889 | ;; | 27349 | ;; |
| 14890 | esac | 27350 | esac |
| @@ -14955,12 +27415,15 @@ fi | |||
| 14955 | done # for ac_tag | 27415 | done # for ac_tag |
| 14956 | 27416 | ||
| 14957 | 27417 | ||
| 14958 | as_fn_exit 0 | 27418 | { (exit 0); exit 0; } |
| 14959 | _ACEOF | 27419 | _ACEOF |
| 27420 | chmod +x $CONFIG_STATUS | ||
| 14960 | ac_clean_files=$ac_clean_files_save | 27421 | ac_clean_files=$ac_clean_files_save |
| 14961 | 27422 | ||
| 14962 | test $ac_write_fail = 0 || | 27423 | test $ac_write_fail = 0 || |
| 14963 | as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 27424 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| 27425 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | ||
| 27426 | { (exit 1); exit 1; }; } | ||
| 14964 | 27427 | ||
| 14965 | 27428 | ||
| 14966 | # configure is writing to config.log, and then calls config.status. | 27429 | # configure is writing to config.log, and then calls config.status. |
| @@ -14981,11 +27444,11 @@ if test "$no_create" != yes; then | |||
| 14981 | exec 5>>config.log | 27444 | exec 5>>config.log |
| 14982 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 27445 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 14983 | # would make configure fail if this is the last instruction. | 27446 | # would make configure fail if this is the last instruction. |
| 14984 | $ac_cs_success || as_fn_exit $? | 27447 | $ac_cs_success || { (exit 1); exit 1; } |
| 14985 | fi | 27448 | fi |
| 14986 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 27449 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 14987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 27450 | { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 |
| 14988 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 27451 | $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} |
| 14989 | fi | 27452 | fi |
| 14990 | 27453 | ||
| 14991 | 27454 | ||
diff --git a/src/config.in b/src/config.in index 8c4b81a189e..cb898e5278f 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -318,10 +318,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 318 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ | 318 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ |
| 319 | #undef HAVE_KERBEROS_KRB_H | 319 | #undef HAVE_KERBEROS_KRB_H |
| 320 | 320 | ||
| 321 | /* Define to 1 if `e_text' is a member of `krb5_error'. */ | 321 | /* Define to 1 if `e_text' is member of `krb5_error'. */ |
| 322 | #undef HAVE_KRB5_ERROR_E_TEXT | 322 | #undef HAVE_KRB5_ERROR_E_TEXT |
| 323 | 323 | ||
| 324 | /* Define to 1 if `text' is a member of `krb5_error'. */ | 324 | /* Define to 1 if `text' is member of `krb5_error'. */ |
| 325 | #undef HAVE_KRB5_ERROR_TEXT | 325 | #undef HAVE_KRB5_ERROR_TEXT |
| 326 | 326 | ||
| 327 | /* Define to 1 if you have the <krb5.h> header file. */ | 327 | /* Define to 1 if you have the <krb5.h> header file. */ |
| @@ -609,25 +609,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 609 | /* Define to 1 if you have the `strsignal' function. */ | 609 | /* Define to 1 if you have the `strsignal' function. */ |
| 610 | #undef HAVE_STRSIGNAL | 610 | #undef HAVE_STRSIGNAL |
| 611 | 611 | ||
| 612 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ | 612 | /* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ |
| 613 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR | 613 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR |
| 614 | 614 | ||
| 615 | /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */ | 615 | /* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ |
| 616 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR | 616 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR |
| 617 | 617 | ||
| 618 | /* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */ | 618 | /* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ |
| 619 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS | 619 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS |
| 620 | 620 | ||
| 621 | /* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */ | 621 | /* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ |
| 622 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR | 622 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR |
| 623 | 623 | ||
| 624 | /* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */ | 624 | /* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ |
| 625 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK | 625 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK |
| 626 | 626 | ||
| 627 | /* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */ | 627 | /* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ |
| 628 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME | 628 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME |
| 629 | 629 | ||
| 630 | /* Define to 1 if `tm_zone' is a member of `struct tm'. */ | 630 | /* Define to 1 if `tm_zone' is member of `struct tm'. */ |
| 631 | #undef HAVE_STRUCT_TM_TM_ZONE | 631 | #undef HAVE_STRUCT_TM_TM_ZONE |
| 632 | 632 | ||
| 633 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ | 633 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ |
| @@ -854,9 +854,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 854 | /* Define to the one symbol short name of this package. */ | 854 | /* Define to the one symbol short name of this package. */ |
| 855 | #undef PACKAGE_TARNAME | 855 | #undef PACKAGE_TARNAME |
| 856 | 856 | ||
| 857 | /* Define to the home page for this package. */ | ||
| 858 | #undef PACKAGE_URL | ||
| 859 | |||
| 860 | /* Define to the version of this package. */ | 857 | /* Define to the version of this package. */ |
| 861 | #undef PACKAGE_VERSION | 858 | #undef PACKAGE_VERSION |
| 862 | 859 | ||
| @@ -913,28 +910,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 913 | /* Define to 1 if using the Motif X toolkit. */ | 910 | /* Define to 1 if using the Motif X toolkit. */ |
| 914 | #undef USE_MOTIF | 911 | #undef USE_MOTIF |
| 915 | 912 | ||
| 916 | /* Enable extensions on AIX 3, Interix. */ | ||
| 917 | #ifndef _ALL_SOURCE | ||
| 918 | # undef _ALL_SOURCE | ||
| 919 | #endif | ||
| 920 | /* Enable GNU extensions on systems that have them. */ | ||
| 921 | #ifndef _GNU_SOURCE | ||
| 922 | # undef _GNU_SOURCE | ||
| 923 | #endif | ||
| 924 | /* Enable threading extensions on Solaris. */ | ||
| 925 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 926 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 927 | #endif | ||
| 928 | /* Enable extensions on HP NonStop. */ | ||
| 929 | #ifndef _TANDEM_SOURCE | ||
| 930 | # undef _TANDEM_SOURCE | ||
| 931 | #endif | ||
| 932 | /* Enable general extensions on Solaris. */ | ||
| 933 | #ifndef __EXTENSIONS__ | ||
| 934 | # undef __EXTENSIONS__ | ||
| 935 | #endif | ||
| 936 | |||
| 937 | |||
| 938 | /* Define to 1 if we should use toolkit scroll bars. */ | 913 | /* Define to 1 if we should use toolkit scroll bars. */ |
| 939 | #undef USE_TOOLKIT_SCROLL_BARS | 914 | #undef USE_TOOLKIT_SCROLL_BARS |
| 940 | 915 | ||
| @@ -970,6 +945,28 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 970 | /* Define to 1 if you need to in order for `stat' and other things to work. */ | 945 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 971 | #undef _POSIX_SOURCE | 946 | #undef _POSIX_SOURCE |
| 972 | 947 | ||
| 948 | /* Enable extensions on AIX 3, Interix. */ | ||
| 949 | #ifndef _ALL_SOURCE | ||
| 950 | # undef _ALL_SOURCE | ||
| 951 | #endif | ||
| 952 | /* Enable GNU extensions on systems that have them. */ | ||
| 953 | #ifndef _GNU_SOURCE | ||
| 954 | # undef _GNU_SOURCE | ||
| 955 | #endif | ||
| 956 | /* Enable threading extensions on Solaris. */ | ||
| 957 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 958 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 959 | #endif | ||
| 960 | /* Enable extensions on HP NonStop. */ | ||
| 961 | #ifndef _TANDEM_SOURCE | ||
| 962 | # undef _TANDEM_SOURCE | ||
| 963 | #endif | ||
| 964 | /* Enable general extensions on Solaris. */ | ||
| 965 | #ifndef __EXTENSIONS__ | ||
| 966 | # undef __EXTENSIONS__ | ||
| 967 | #endif | ||
| 968 | |||
| 969 | |||
| 973 | /* Define to rpl_ if the getopt replacement functions and variables should be | 970 | /* Define to rpl_ if the getopt replacement functions and variables should be |
| 974 | used. */ | 971 | used. */ |
| 975 | #undef __GETOPT_PREFIX | 972 | #undef __GETOPT_PREFIX |
| @@ -1069,9 +1066,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1069 | parallel this exactly since GNUstep is multi-OS. */ | 1066 | parallel this exactly since GNUstep is multi-OS. */ |
| 1070 | #ifdef HAVE_NS | 1067 | #ifdef HAVE_NS |
| 1071 | # ifdef NS_IMPL_GNUSTEP | 1068 | # ifdef NS_IMPL_GNUSTEP |
| 1072 | /* See also .m.o rule in Makefile.in */ | ||
| 1073 | /* FIXME: are all these flags really needed? Document here why. */ | ||
| 1074 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing | ||
| 1075 | /* GNUstep needs a bit more pure memory. Of the existing knobs, | 1069 | /* GNUstep needs a bit more pure memory. Of the existing knobs, |
| 1076 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ | 1070 | SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ |
| 1077 | # define SYSTEM_PURESIZE_EXTRA 30000 | 1071 | # define SYSTEM_PURESIZE_EXTRA 30000 |